From caeb2ff801927c91384f00260c815f2112228d7e Mon Sep 17 00:00:00 2001 From: Sylvain Wallez Date: Wed, 29 Mar 2023 18:41:34 +0200 Subject: [PATCH 01/17] OpenAPI converter: initial commit, still WIP --- openapi-converter/.gitignore | 2 + openapi-converter/Cargo.lock | 372 ++ openapi-converter/Cargo.toml | 5 + openapi-converter/README.md | 7 + openapi-converter/clients_schema/Cargo.toml | 15 + .../clients_schema/src/builtins.rs | 36 + openapi-converter/clients_schema/src/lib.rs | 774 +++ .../openapi_to_clients_schema/Cargo.toml | 30 + .../fixtures/enterprise-search.json | 1423 +++++ .../fixtures/tests/enums.json | 15 + .../fixtures/tests/flatten-union.json | 66 + .../fixtures/tests/names.json | 32 + .../fixtures/tests/recursive-refs.json | 61 + .../fixtures/tests/scalars.json | 63 + .../fixtures/tests/structural-union.json | 75 + ...-of-variants-external-with-properties.json | 58 + .../tests/union-of-variants-external.json | 44 + .../tests/union-of-variants-internal.json | 58 + .../fixtures/tests/xof.json | 130 + .../fixtures/workplace-search.json | 4862 +++++++++++++++++ .../src/endpoints.rs | 18 + .../openapi_to_clients_schema/src/lib.rs | 67 + .../openapi_to_clients_schema/src/main.rs | 61 + .../openapi_to_clients_schema/src/openapi.rs | 408 ++ .../openapi_to_clients_schema/src/types.rs | 542 ++ 25 files changed, 9224 insertions(+) create mode 100644 openapi-converter/.gitignore create mode 100644 openapi-converter/Cargo.lock create mode 100644 openapi-converter/Cargo.toml create mode 100644 openapi-converter/README.md create mode 100644 openapi-converter/clients_schema/Cargo.toml create mode 100644 openapi-converter/clients_schema/src/builtins.rs create mode 100644 openapi-converter/clients_schema/src/lib.rs create mode 100644 openapi-converter/openapi_to_clients_schema/Cargo.toml create mode 100644 openapi-converter/openapi_to_clients_schema/fixtures/enterprise-search.json create mode 100644 openapi-converter/openapi_to_clients_schema/fixtures/tests/enums.json create mode 100644 openapi-converter/openapi_to_clients_schema/fixtures/tests/flatten-union.json create mode 100644 openapi-converter/openapi_to_clients_schema/fixtures/tests/names.json create mode 100644 openapi-converter/openapi_to_clients_schema/fixtures/tests/recursive-refs.json create mode 100644 openapi-converter/openapi_to_clients_schema/fixtures/tests/scalars.json create mode 100644 openapi-converter/openapi_to_clients_schema/fixtures/tests/structural-union.json create mode 100644 openapi-converter/openapi_to_clients_schema/fixtures/tests/union-of-variants-external-with-properties.json create mode 100644 openapi-converter/openapi_to_clients_schema/fixtures/tests/union-of-variants-external.json create mode 100644 openapi-converter/openapi_to_clients_schema/fixtures/tests/union-of-variants-internal.json create mode 100644 openapi-converter/openapi_to_clients_schema/fixtures/tests/xof.json create mode 100644 openapi-converter/openapi_to_clients_schema/fixtures/workplace-search.json create mode 100644 openapi-converter/openapi_to_clients_schema/src/endpoints.rs create mode 100644 openapi-converter/openapi_to_clients_schema/src/lib.rs create mode 100644 openapi-converter/openapi_to_clients_schema/src/main.rs create mode 100644 openapi-converter/openapi_to_clients_schema/src/openapi.rs create mode 100644 openapi-converter/openapi_to_clients_schema/src/types.rs diff --git a/openapi-converter/.gitignore b/openapi-converter/.gitignore new file mode 100644 index 0000000000..ee44a96390 --- /dev/null +++ b/openapi-converter/.gitignore @@ -0,0 +1,2 @@ +.idea +target diff --git a/openapi-converter/Cargo.lock b/openapi-converter/Cargo.lock new file mode 100644 index 0000000000..400705447f --- /dev/null +++ b/openapi-converter/Cargo.lock @@ -0,0 +1,372 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "anyhow" +version = "1.0.70" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4" + +[[package]] +name = "autocfg" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" + +[[package]] +name = "cfg-if" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" + +[[package]] +name = "clients_schema" +version = "0.1.0" +dependencies = [ + "once_cell", + "serde", + "serde_ignored", + "serde_json", + "serde_path_to_error", + "typed-builder", +] + +[[package]] +name = "convert_case" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "either_n" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c91ae510829160d5cfb19eb4ae7b6e01d44b767ca8f727c6cee936e53cc9ae5" + +[[package]] +name = "hashbrown" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" + +[[package]] +name = "indexmap" +version = "1.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" +dependencies = [ + "autocfg", + "hashbrown", + "serde", +] + +[[package]] +name = "itoa" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" + +[[package]] +name = "lazy_static" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" + +[[package]] +name = "log" +version = "0.4.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "nu-ansi-term" +version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" +dependencies = [ + "overload", + "winapi", +] + +[[package]] +name = "once_cell" +version = "1.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" + +[[package]] +name = "openapi_to_clients_schema" +version = "0.1.0" +dependencies = [ + "anyhow", + "clients_schema", + "convert_case", + "either_n", + "indexmap", + "openapiv3", + "serde", + "serde_ignored", + "serde_json", + "serde_path_to_error", + "tracing", + "tracing-subscriber", +] + +[[package]] +name = "openapiv3" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b1a9f106eb0a780abd17ba9fca8e0843e3461630bcbe2af0ad4d5d3ba4e9aa4" +dependencies = [ + "indexmap", + "serde", + "serde_json", +] + +[[package]] +name = "overload" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" + +[[package]] +name = "pin-project-lite" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" + +[[package]] +name = "proc-macro2" +version = "1.0.54" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e472a104799c74b514a57226160104aa483546de37e839ec50e3c2e41dd87534" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "ryu" +version = "1.0.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041" + +[[package]] +name = "serde" +version = "1.0.159" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c04e8343c3daeec41f58990b9d77068df31209f2af111e059e9fe9646693065" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.159" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c614d17805b093df4b147b51339e7e44bf05ef59fba1e45d83500bcfb4d8585" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.11", +] + +[[package]] +name = "serde_ignored" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94eb4a4087ba8bdf14a9208ac44fddbf55c01a6195f7edfc511ddaff6cae45a6" +dependencies = [ + "serde", +] + +[[package]] +name = "serde_json" +version = "1.0.95" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d721eca97ac802aa7777b701877c8004d950fc142651367300d21c1cc0194744" +dependencies = [ + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "serde_path_to_error" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7f05c1d5476066defcdfacce1f52fc3cae3af1d3089727100c02ae92e5abbe0" +dependencies = [ + "serde", +] + +[[package]] +name = "sharded-slab" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "smallvec" +version = "1.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" + +[[package]] +name = "syn" +version = "1.0.109" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "2.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21e3787bb71465627110e7d87ed4faaa36c1f61042ee67badb9e2ef173accc40" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "thread_local" +version = "1.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" +dependencies = [ + "cfg-if", + "once_cell", +] + +[[package]] +name = "tracing" +version = "0.1.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" +dependencies = [ + "cfg-if", + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4017f8f45139870ca7e672686113917c71c7a6e02d4924eda67186083c03081a" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "tracing-core" +version = "0.1.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a" +dependencies = [ + "once_cell", + "valuable", +] + +[[package]] +name = "tracing-log" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" +dependencies = [ + "lazy_static", + "log", + "tracing-core", +] + +[[package]] +name = "tracing-subscriber" +version = "0.3.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6176eae26dd70d0c919749377897b54a9276bd7061339665dd68777926b5a70" +dependencies = [ + "nu-ansi-term", + "sharded-slab", + "smallvec", + "thread_local", + "tracing-core", + "tracing-log", +] + +[[package]] +name = "typed-builder" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47a126a40dbff39e8320900cd61b8de053a2706e1f782cd27145792feb8fd41e" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "unicode-ident" +version = "1.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4" + +[[package]] +name = "unicode-segmentation" +version = "1.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" + +[[package]] +name = "valuable" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" diff --git a/openapi-converter/Cargo.toml b/openapi-converter/Cargo.toml new file mode 100644 index 0000000000..608211dedb --- /dev/null +++ b/openapi-converter/Cargo.toml @@ -0,0 +1,5 @@ +[workspace] +members = [ + "clients_schema", + "openapi_to_clients_schema", +] diff --git a/openapi-converter/README.md b/openapi-converter/README.md new file mode 100644 index 0000000000..15c935ae56 --- /dev/null +++ b/openapi-converter/README.md @@ -0,0 +1,7 @@ +# Elasticsearch Rust client generator and other code-generation utilities written in Rust. + +Workspace members: + +* [`clients_schema`](./clients_schema/): a Rust implementation of the [Elasticsearch specification schema](https://github.com/elastic/elasticsearch-specification/blob/main/compiler/src/model/metamodel.ts) metamodel. +* [`openapi_to_clients_schema`](./openapi_to_clients_schema): translate an OpenAPI specification to an Elasticsearch + schema that can be used as input for code generation. diff --git a/openapi-converter/clients_schema/Cargo.toml b/openapi-converter/clients_schema/Cargo.toml new file mode 100644 index 0000000000..381bbe8bbb --- /dev/null +++ b/openapi-converter/clients_schema/Cargo.toml @@ -0,0 +1,15 @@ +[package] +name = "clients_schema" +version = "0.1.0" +edition = "2021" +publish = false + +[dependencies] +serde = {version = "1.0", features=["derive"]} +serde_json = "1.0" +typed-builder = "0.11" +once_cell = "1.16" + +[dev-dependencies] +serde_path_to_error = "0.1" +serde_ignored = "0.1" diff --git a/openapi-converter/clients_schema/src/builtins.rs b/openapi-converter/clients_schema/src/builtins.rs new file mode 100644 index 0000000000..ed574896b1 --- /dev/null +++ b/openapi-converter/clients_schema/src/builtins.rs @@ -0,0 +1,36 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +use crate::TypeName; +use once_cell::sync::Lazy; + +pub static STRING: Lazy = Lazy::new(|| TypeName::new("_builtins", "string")); +pub static BOOLEAN: Lazy = Lazy::new(|| TypeName::new("_builtins", "boolean")); +pub static OBJECT: Lazy = Lazy::new(|| TypeName::new("_builtins", "object")); +pub static BINARY: Lazy = Lazy::new(|| TypeName::new("_builtins", "binary")); +pub static VOID: Lazy = Lazy::new(|| TypeName::new("_builtins", "void")); +pub static NUMBER: Lazy = Lazy::new(|| TypeName::new("_builtins", "number")); +pub static BYTE: Lazy = Lazy::new(|| TypeName::new("_builtins", "byte")); +pub static INTEGER: Lazy = Lazy::new(|| TypeName::new("_builtins", "integer")); +pub static LONG: Lazy = Lazy::new(|| TypeName::new("_builtins", "long")); +pub static FLOAT: Lazy = Lazy::new(|| TypeName::new("_builtins", "float")); +pub static DOUBLE: Lazy = Lazy::new(|| TypeName::new("_builtins", "double")); +pub static NULL: Lazy = Lazy::new(|| TypeName::new("_builtins", "null")); +pub static DICTIONARY: Lazy = Lazy::new(|| TypeName::new("_builtins", "Dictionary")); +pub static USER_DEFINED: Lazy = Lazy::new(|| TypeName::new("_builtins", "UserDefined")); + +pub static ADDITIONAL_PROPERTIES: Lazy = Lazy::new(|| TypeName::new("_spec_utils", "AdditionalProperties")); diff --git a/openapi-converter/clients_schema/src/lib.rs b/openapi-converter/clients_schema/src/lib.rs new file mode 100644 index 0000000000..7399869252 --- /dev/null +++ b/openapi-converter/clients_schema/src/lib.rs @@ -0,0 +1,774 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +// Re-export crates whose types we expose publicly +pub use once_cell; + +// Child modules +pub mod builtins; + +use once_cell::sync::Lazy; +use serde::{Deserialize, Serialize}; + +#[allow(clippy::trivially_copy_pass_by_ref)] // needs to match signature for use in serde attribute +#[inline] +const fn is_false(v: &bool) -> bool { + !(*v) +} + +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, PartialOrd, Hash)] +pub struct TypeName { + pub namespace: String, + pub name: String +} + +impl TypeName { + pub fn new(namespace: &str, name: &str) -> TypeName { + TypeName { + namespace: String::from(namespace), + name: name.into(), + } + } +} +/// +/// Type of a value. Used both for property types and nested type definitions. +/// +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, PartialOrd)] +#[serde(tag = "kind", rename_all="snake_case")] +pub enum ValueOf { + InstanceOf(InstanceOf), + ArrayOf(ArrayOf), + UnionOf(UnionOf), + DictionaryOf(DictionaryOf), + UserDefinedValue(UserDefinedValue), + LiteralValue(LiteralValue) +} + +impl ValueOf { + pub fn instance_of(name: TypeName) -> ValueOf { + ValueOf::InstanceOf(InstanceOf::new(name)) + } +} + +impl From for ValueOf { + fn from(name: TypeName) -> Self { + ValueOf::InstanceOf(InstanceOf::new(name)) + } +} + +impl From<&TypeName> for ValueOf { + fn from(name: &TypeName) -> Self { + ValueOf::InstanceOf(InstanceOf::new(name.clone())) + } +} + +impl From<&Lazy> for ValueOf { + fn from(name: &Lazy) -> Self { + ValueOf::InstanceOf(InstanceOf::new((*name).clone())) + } +} + +/// +/// A single value +/// +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, PartialOrd)] +pub struct InstanceOf { + #[serde(rename="type")] + pub typ: TypeName, + + /// generic parameters: either concrete types or open parameters from the enclosing type + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub generics: Vec +} + +impl InstanceOf { + pub fn new(name: TypeName) -> InstanceOf { + InstanceOf { + typ: name, + generics: Vec::default(), + } + } +} + +/// +/// An array +/// +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, PartialOrd)] +pub struct ArrayOf { + pub value: Box +} + +/// +/// One of several possible types which don't necessarily have a common superclass +/// +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, PartialOrd)] +pub struct UnionOf { + pub items: Vec +} + +/// +/// A dictionary (or map). The key is a string or a number (or a union thereof), possibly through an alias. +/// +/// If `singleKey` is true, then this dictionary can only have a single key. This is a common pattern in ES APIs, +/// used to associate a value to a field name or some other identifier. +/// +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, PartialOrd)] +#[serde(rename_all = "camelCase")] +pub struct DictionaryOf { + pub key: Box, + pub value: Box, + pub single_key: bool, +} + +/// +/// A user defined value. To be used when bubbling a generic parameter up to the top-level class is +/// inconvenient or impossible (e.g. for lists of user-defined values of possibly different types). +/// +/// Clients will allow providing a serializer/deserializer when reading/writing properties of this type, +/// and should also accept raw json. +/// +/// Think twice before using this as it defeats the purpose of a strongly typed API, and deserialization +/// will also require to buffer raw JSON data which may have performance implications. +/// +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, PartialOrd)] +#[serde(rename_all = "camelCase")] +pub struct UserDefinedValue { +} + +/// +/// A literal value. This is used for tagged unions, where each type member of a union has a 'type' +/// attribute that defines its kind. This metamodel heavily uses this approach with its 'kind' attributes. +/// +/// It may later be used to set a property to a constant value, which is why it accepts not only strings but also +/// other primitive types. +/// +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, PartialOrd)] +#[serde(rename_all = "camelCase")] +pub struct LiteralValue { + pub value: LiteralValueValue +} + +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, PartialOrd)] +#[serde(untagged)] +pub enum LiteralValueValue { + String(String), + Number(f64), + Boolean(bool) +} + +//-------------------------------------------------------------------------------------------- + +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "snake_case")] +pub enum Stability { + Stable, + Beta, + Experimental, +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "snake_case")] +pub enum Visibility { + Public, + FeatureFlag, + Private, +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct Deprecation { + pub version: String, + pub description: String, +} + +/// +/// An interface or request interface property. +/// +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct Property { + pub name: String, + + #[serde(rename="type")] + pub typ: ValueOf, + + pub required: bool, + + #[serde(skip_serializing_if = "Option::is_none")] + pub description: Option, + + #[serde(skip_serializing_if = "Option::is_none")] + pub doc_url: Option, + + #[serde(skip_serializing_if = "Option::is_none")] + pub doc_id: Option, + + #[serde(skip_serializing_if = "Option::is_none")] + pub since: Option, + + #[serde(skip_serializing_if = "Option::is_none")] + pub server_default: Option, + + #[serde(skip_serializing_if = "Option::is_none")] + pub deprecation: Option, + + #[serde(skip_serializing_if = "Option::is_none")] + pub stability: Option, + + /// If specified takes precedence over `name` when generating code. `name` is always the value + /// to be sent over the wire + #[serde(skip_serializing_if = "Option::is_none")] + pub codegen_name: Option, + + /// An optional set of aliases for `name` + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub aliases: Vec, + + /// If the enclosing class is a variants container, is this a property of the container and not a variant? + #[serde(default, skip_serializing_if = "is_false")] + pub container_property: bool, + + /// If this property has a quirk that needs special attention, give a short explanation about it + #[serde(skip_serializing_if = "Option::is_none")] + pub es_quirk: Option, +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ServerDefault { + Boolean(bool), + String(String), + Number(f64), + StringArray(Vec), + NumberArray(Vec), +} + +//-------------------------------------------------------------------------------------------- + +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "snake_case", tag="kind")] +pub enum Variants { + ExternalTag(ExternalTag), + InternalTag(InternalTag), + Container(Container), +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct ExternalTag { + #[serde(default)] + pub non_exhaustive: bool +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct InternalTag { + #[serde(default)] + pub non_exhaustive: bool, + + /// Name of the property that holds the variant tag + pub tag: String, + + /// Default value for the variant tag if it's missing + #[serde(skip_serializing_if = "Option::is_none")] + pub default_tag: Option, +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct Container { + #[serde(default)] + pub non_exhaustive: bool, +} + +/// +/// Inherits clause (aka extends or implements) for an interface or request +/// +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct Inherits { + #[serde(rename="type")] + pub typ: TypeName, + + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub generics: Vec, +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "snake_case", tag="kind")] +pub enum TypeDefinition { + Interface(Interface), + Request(Request), + Response(Response), + Enum(Enum), + TypeAlias(TypeAlias), +} + +impl TypeDefinition { + pub fn type_alias(name: TypeName, value: ValueOf) -> TypeDefinition { + TypeDefinition::TypeAlias(TypeAlias::new(name, value)) + } +} + +impl TypeDefinition { + pub fn name(&self) -> &TypeName { + use TypeDefinition::*; + match self { + Interface(x) => &x.base.name, + Request(x) => &x.base.name, + Response(x) => &x.base.name, + Enum(x) => &x.base.name, + TypeAlias(x) => &x.base.name, + } + } +} + +/// +/// Common attributes for all type definitions +/// +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct BaseType { + pub name: TypeName, + + #[serde(skip_serializing_if = "Option::is_none")] + pub description: Option, + + /// Link to public documentation + #[serde(skip_serializing_if = "Option::is_none")] + pub doc_url: Option, + + #[serde(skip_serializing_if = "Option::is_none")] + pub doc_id: Option, + + #[serde(skip_serializing_if = "Option::is_none")] + pub deprecation: Option, + + /// If this endpoint has a quirk that needs special attention, give a short explanation about it + #[serde(skip_serializing_if = "Option::is_none")] + pub es_quirk: Option, + + /// Variant name for externally tagged variants + #[serde(skip_serializing_if = "Option::is_none")] + pub variant_name: Option, + + /// Additional identifiers for use by code generators. Usage depends on the actual type: + /// - on unions (modeled as alias(union_of)), these are identifiers for the union members + /// - for additional properties, this is the name of the dict that holds these properties + /// - for additional property, this is the name of the key and value fields that hold the + /// additional property + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub codegen_names: Vec, + + /// Location of an item. The path is relative to the "specification" directory, e.g "_types/common.ts#L1-L2" + #[serde(skip_serializing_if = "Option::is_none")] + pub spec_location: Option, +} + +impl BaseType { + pub fn new(name: TypeName) -> BaseType { + BaseType { + name, + codegen_names: Default::default(), + doc_id: None, + doc_url: None, + deprecation: None, + es_quirk: None, + description: None, + variant_name: None, + spec_location: None + } + } +} + +/// +/// An interface type +/// +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct Interface { + #[serde(flatten)] + pub base: BaseType, + + /// Open generic parameters. The name is that of the parameter, the namespace is an arbitrary value that allows + /// this fully qualified type name to be used when this open generic parameter is used in property's type. + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub generics: Vec, + + #[serde(skip_serializing_if = "Option::is_none")] + pub inherits: Option, + + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub implements: Vec, + + /// Behaviors directly implemented by this interface + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub behaviors: Vec, + + /// Behaviors attached to this interface, coming from the interface itself (see `behaviors`) + /// or from inherits and implements ancestors + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub attached_behaviors: Vec, + + pub properties: Vec, + + /// The property that can be used as a shortcut for the entire data structure in the JSON. + #[serde(skip_serializing_if = "Option::is_none")] + pub shortcut_property: Option, + + // Identify containers + #[serde(skip_serializing_if = "Option::is_none")] + pub variants: Option +} + +/// +/// A request type +/// +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +// Note: does not extend Interface as properties are split across path, query and body +pub struct Request { + #[serde(flatten)] + pub base: BaseType, + + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub generics: Vec, + + /// The parent defines additional body properties that are added to the body, that has to be a PropertyBody + pub inherits: Option, + + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub implements: Vec, + + /// URL path properties + pub path: Vec, + + /// Query string properties + pub query: Vec, + + /// Body type. Most often a list of properties (that can extend those of the inherited class, see above), except for a + /// few specific cases that use other types such as bulk (array) or create (generic parameter). Or NoBody for requests + /// that don't have a body. + pub body: Body, + + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub behaviors: Vec, + + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub attached_behaviors: Vec, +} + +/// +/// A response type +/// +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct Response { + #[serde(flatten)] + pub base: BaseType, + + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub generics: Vec, + + pub body: Body, + + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub behaviors: Vec, + + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub attached_behaviors: Vec, + + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub exceptions: Vec, +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct ResponseException { + #[serde(skip_serializing_if = "Option::is_none")] + pub description: Option, + + pub body: Body, + + pub status_codes: Vec +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "snake_case", tag="kind")] +pub enum Body { + Value(ValueBody), + Properties(PropertiesBody), + NoBody(NoBody) +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct ValueBody { + pub value: ValueOf, + + #[serde(skip_serializing_if = "Option::is_none")] + pub codegen_name: Option, +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct PropertiesBody { + pub properties: Vec, +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct NoBody { +} + +/// +/// An enumeration member. +/// +/// When enumeration members can become ambiguous when translated to an identifier, the `name` property will be a good +/// identifier name, and `stringValue` will be the string value to use on the wire. +/// See DateMathTimeUnit for an example of this, which have members for "m" (minute) and "M" (month). +/// +#[derive(Debug, Clone, Serialize, Deserialize, Default)] +#[serde(rename_all = "camelCase")] +pub struct EnumMember { + /// The identifier to use for this enum + pub name: String, + + /// An optional set of aliases for `name` + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub aliases: Vec, + + /// If specified takes precedence over `name` when generating code. `name` is always the value + /// to be sent over the wire + #[serde(skip_serializing_if = "Option::is_none")] + pub codegen_name: Option, + + #[serde(skip_serializing_if = "Option::is_none")] + pub description: Option, + + #[serde(skip_serializing_if = "Option::is_none")] + pub deprecation: Option, + + #[serde(skip_serializing_if = "Option::is_none")] + pub since: Option +} + +impl From<&str> for EnumMember { + fn from(name: &str) -> Self { + EnumMember { + name: name.to_string(), + ..Default::default() + } + } +} + +/// +/// An enumeration +/// +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct Enum { + #[serde(flatten)] + pub base: BaseType, + + /// If the enum is open, it means that other than the specified values it can accept an arbitrary value. + /// If this property is not present, it means that the enum is not open (in other words, is closed). + #[serde(default)] + pub is_open: bool, + + pub members: Vec +} + +/// +/// An alias for an existing type. +/// +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct TypeAlias { + #[serde(flatten)] + pub base: BaseType, + + #[serde(rename="type")] + pub typ: ValueOf, + + /// generic parameters: either concrete types or open parameters from the enclosing type + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub generics: Vec, + + /// Only applicable to `union_of` aliases: identify typed_key unions (external) and variant inventories (internal) + #[serde(default, skip_serializing_if = "Option::is_none")] + pub variants: Option, +} + +impl TypeAlias { + pub fn new(name: TypeName, typ: ValueOf) -> TypeAlias { + TypeAlias { + base: BaseType::new(name), + typ, + variants: Default::default(), + generics: Default::default(), + } + } +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "snake_case", tag="kind")] +pub enum TypeAliasVariants { + ExternalTag(ExternalTag), + InternalTag(InternalTag), +} + +//------------------------------------------------------------------------------------------------------------ + +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct Endpoint { + pub name: String, + + pub description: String, + + #[serde(skip_serializing_if = "Option::is_none")] + pub doc_url: Option, + + #[serde(skip_serializing_if = "Option::is_none")] + pub doc_id: Option, + + #[serde(skip_serializing_if = "Option::is_none")] + pub deprecation: Option, + + /// If missing, there is not yet a request definition for this endpoint. + #[serde(skip_serializing_if = "Option::is_none")] + pub request: Option, + + pub request_body_required: bool, // Not sure this is useful + + /// If missing, there is not yet a response definition for this endpoint. + #[serde(skip_serializing_if = "Option::is_none")] + pub response: Option, + + pub urls: Vec, + + /// The version when this endpoint reached its current stability level. + /// Missing data means "forever", i.e. before any of the target client versions produced from this spec. + /// + #[serde(skip_serializing_if = "Option::is_none")] + pub since: Option, + + #[serde(skip_serializing_if = "Option::is_none")] + pub stability: Option, + + #[serde(skip_serializing_if = "Option::is_none")] + pub visibility: Option, + + #[serde(skip_serializing_if = "Option::is_none")] + pub feature_flag: Option, + + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub request_media_type: Vec, + + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub response_media_type: Vec, + + #[serde(skip_serializing_if = "Option::is_none")] + pub privileges: Option, +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct Privileges { + #[serde(default)] + pub index: Vec, + + #[serde(default)] + pub cluster: Vec +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct UrlTemplate { + pub path: String, + + pub methods: Vec, + + #[serde(skip_serializing_if = "Option::is_none")] + pub deprecation: Option, +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct ModelInfo { + pub title: String, + pub license: License, +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct License { + pub name: String, + pub url: String, +} + +#[derive(Debug, Clone, Serialize, Deserialize, Default)] +#[serde(rename_all = "camelCase")] +pub struct Model { + #[serde(rename="_info", skip_serializing_if = "Option::is_none")] + pub info: Option, + + pub types: Vec, + + pub endpoints: Vec, +} + +impl Model { + pub fn from_reader(r: impl std::io::Read) -> Result { + serde_json::from_reader(r) + } +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + /// Loads the Elasticsearch schema. Assumes the elasticsearch-specification project has been + /// checked out as a sibling of this one. + fn load_schema() { + println!("{:?}", std::env::current_dir()); + let file = std::fs::File::open("../../elasticsearch-specification/output/schema/schema.json").unwrap(); + + let jd = &mut serde_json::Deserializer::from_reader(file); + let result = serde_path_to_error::deserialize::<_, Model>(jd); + + let result = result.map_err(|e| { + println!("Error at path {}", e.path()); + e.into_inner() + }).unwrap(); + + // Simple smoke test + let search_req = TypeName { + namespace: "_global.search".into(), + name: "Request".into(), + }; + + let search_type = result.types.iter().find(|t| t.name() == &search_req).unwrap(); + + match search_type { + TypeDefinition::Request(r) => assert_eq!(true, !r.path.is_empty()), + _ => panic!("Expecting a Request") + }; + } +} diff --git a/openapi-converter/openapi_to_clients_schema/Cargo.toml b/openapi-converter/openapi_to_clients_schema/Cargo.toml new file mode 100644 index 0000000000..6ca9f90703 --- /dev/null +++ b/openapi-converter/openapi_to_clients_schema/Cargo.toml @@ -0,0 +1,30 @@ +[package] +name = "openapi_to_clients_schema" +version = "0.1.0" +edition = "2021" +publish = false + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] +clients_schema = {path="../clients_schema"} + +serde = {version = "1.0", features=["derive"]} +serde_json = "1.0" +serde_path_to_error = "0.1" +serde_ignored = "0.1" +openapiv3 = "1.0" +anyhow = "1.0" +indexmap = "1.9" +convert_case = "0.6" +either_n = "0.2.0" + +tracing = "0.1.37" +tracing-subscriber = "0.3.16" + +# Some json schema implementations +#boon = "0.3.1" +#jsonschema-transpiler = "1.10.0" +#serde_valid = "0.13.0" +#jsonschema-valid = "0.5.1" +#jsonschema = { version = "0.16.1", features=[]} diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/enterprise-search.json b/openapi-converter/openapi_to_clients_schema/fixtures/enterprise-search.json new file mode 100644 index 0000000000..bd9001aa57 --- /dev/null +++ b/openapi-converter/openapi_to_clients_schema/fixtures/enterprise-search.json @@ -0,0 +1,1423 @@ +{ + "openapi": "3.0.2", + "info": { + "title": "Enterprise Search API V1", + "description": "A set of solution-wide APIs for managing Elastic Enterprise Search", + "version": "v1", + "license": { + "name": "Apache 2.0", + "url": "http://www.apache.org/licenses/LICENSE-2.0.html" + } + }, + "servers": [ + { + "url": "{schemes}://{host}:{port}", + "variables": { + "schemes": { + "enum": [ + "http", + "https" + ], + "default": "http" + }, + "host": { + "default": "localhost", + "description": "The host running Enterprise Search" + }, + "port": { + "default": "3002" + } + } + } + ], + "components": { + "securitySchemes": { + "bearer_auth": { + "type": "apiKey", + "in": "header", + "name": "Authorization" + }, + "basic_auth": { + "type": "http", + "scheme": "basic" + } + }, + "schemas": { + "version": { + "type": "object", + "additionalProperties": false, + "required": [ + "build_date", + "build_hash", + "number" + ], + "properties": { + "number": { + "type": "string" + }, + "build_hash": { + "type": "string" + }, + "build_date": { + "type": "string", + "nullable": true + } + } + }, + "memory_usage": { + "type": "object", + "additionalProperties": false, + "required": [ + "heap_committed", + "heap_init", + "heap_max", + "heap_used", + "non_heap_committed", + "non_heap_init", + "object_pending_finalization_count" + ], + "properties": { + "heap_init": { + "type": "integer" + }, + "heap_used": { + "type": "integer" + }, + "heap_committed": { + "type": "integer" + }, + "heap_max": { + "type": "integer" + }, + "non_heap_init": { + "type": "integer" + }, + "non_heap_committed": { + "type": "integer" + }, + "object_pending_finalization_count": { + "type": "integer" + } + } + }, + "thread_stats": { + "type": "object", + "additionalProperties": false, + "required": [ + "daemon_thread_count", + "peak_thread_count", + "thread_count", + "total_started_thread_count" + ], + "properties": { + "thread_count": { + "type": "integer" + }, + "peak_thread_count": { + "type": "integer" + }, + "total_started_thread_count": { + "type": "integer" + }, + "daemon_thread_count": { + "type": "integer" + } + } + }, + "jvm_gc_collector_info": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "collection_count": { + "type": "integer" + }, + "collection_time": { + "type": "integer" + } + } + } + }, + "java_gc_info": { + "type": "object", + "additionalProperties": false, + "required": [ + "collection_count", + "collection_time", + "garbage_collectors" + ], + "properties": { + "collection_count": { + "type": "integer" + }, + "collection_time": { + "type": "integer" + }, + "garbage_collectors": { + "$ref": "#/components/schemas/jvm_gc_collector_info" + } + } + }, + "jvm_info": { + "type": "object", + "additionalProperties": false, + "required": [ + "memory_pools", + "memory_usage", + "pid", + "threads", + "gc", + "uptime", + "vm_name", + "vm_vendor", + "vm_version" + ], + "properties": { + "pid": { + "type": "integer" + }, + "uptime": { + "type": "integer" + }, + "memory_usage": { + "$ref": "#/components/schemas/memory_usage" + }, + "memory_pools": { + "type": "array", + "items": { + "type": "string" + } + }, + "threads": { + "$ref": "#/components/schemas/thread_stats" + }, + "vm_version": { + "type": "string" + }, + "vm_vendor": { + "type": "string" + }, + "vm_name": { + "type": "string" + }, + "gc": { + "$ref": "#/components/schemas/java_gc_info" + } + } + }, + "sidecar_info": { + "type": "object", + "additionalProperties": false, + "required": [ + "alive" + ], + "properties": { + "pid": { + "type": "integer" + }, + "alive": { + "type": "boolean" + }, + "restart_count": { + "type": "integer" + }, + "seconds_since_last_restart": { + "type": "integer" + } + } + }, + "system_info": { + "type": "object", + "additionalProperties": false, + "required": [ + "java_version", + "jruby_version", + "os_name", + "os_version" + ], + "properties": { + "java_version": { + "type": "string" + }, + "jruby_version": { + "type": "string" + }, + "os_name": { + "type": "string" + }, + "os_version": { + "type": "string" + } + } + }, + "esqueues_me_job_info": { + "type": "object", + "additionalProperties": false, + "required": [ + "created_at", + "scheduled_at", + "processing_started_at", + "processing_latency", + "time_since_last_scheduled", + "time_since_last_processed", + "total_processed" + ], + "properties": { + "created_at": { + "type": "string", + "format": "date-time" + }, + "scheduled_at": { + "type": "string", + "format": "date-time" + }, + "processing_started_at": { + "type": "string", + "format": "date-time" + }, + "processing_latency": { + "type": "integer" + }, + "time_since_last_scheduled": { + "type": "integer" + }, + "time_since_last_processed": { + "type": "integer" + }, + "total_processed": { + "type": "integer" + } + } + }, + "esqueues_me_info": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/esqueues_me_job_info" + }, + "properties": { + "instance": { + "$ref": "#/components/schemas/esqueues_me_job_info" + } + } + }, + "crawler_workers_pool_info": { + "type": "object", + "additionalProperties": false, + "required": [ + "pool_size", + "active", + "available" + ], + "properties": { + "pool_size": { + "type": "integer" + }, + "active": { + "type": "integer" + }, + "available": { + "type": "integer" + } + } + }, + "crawler_info": { + "type": "object", + "additionalProperties": false, + "required": [ + "running", + "workers" + ], + "properties": { + "running": { + "type": "boolean" + }, + "workers": { + "$ref": "#/components/schemas/crawler_workers_pool_info" + } + } + }, + "storage_summary": { + "type": "object", + "additionalProperties": false, + "required": [ + "index_count", + "size_in_bytes" + ], + "properties": { + "index_count": { + "type": "integer", + "format": "int64" + }, + "size_in_bytes": { + "type": "integer", + "format": "int64" + } + } + }, + "index_info": { + "type": "object", + "additionalProperties": false, + "required": [ + "name", + "size_in_bytes" + ], + "properties": { + "name": { + "type": "string" + }, + "size_in_bytes": { + "type": "integer", + "format": "int64" + } + } + }, + "storage_cleanup_response": { + "type": "object", + "additionalProperties": false, + "required": [ + "indices", + "index_count" + ], + "properties": { + "indices": { + "type": "array", + "items": { + "type": "string" + } + }, + "index_count": { + "type": "integer", + "format": "int64" + } + } + }, + "storage_response": { + "type": "object", + "additionalProperties": false, + "required": [ + "indices", + "summary" + ], + "properties": { + "indices": { + "type": "array", + "items": { + "$ref": "#/components/schemas/index_info" + } + }, + "summary": { + "$ref": "#/components/schemas/storage_summary" + } + } + }, + "health_response": { + "type": "object", + "additionalProperties": false, + "required": [ + "filebeat", + "jvm", + "name", + "system", + "version", + "cluster_uuid" + ], + "properties": { + "name": { + "type": "string" + }, + "cluster_uuid": { + "type": "string" + }, + "version": { + "$ref": "#/components/schemas/version" + }, + "jvm": { + "$ref": "#/components/schemas/jvm_info" + }, + "filebeat": { + "$ref": "#/components/schemas/sidecar_info" + }, + "metricbeat": { + "$ref": "#/components/schemas/sidecar_info" + }, + "system": { + "$ref": "#/components/schemas/system_info" + }, + "esqueues_me": { + "$ref": "#/components/schemas/esqueues_me_info" + }, + "crawler": { + "$ref": "#/components/schemas/crawler_info" + } + } + }, + "timer": { + "type": "object", + "additionalProperties": false, + "required": [ + "max", + "mean", + "sum" + ], + "properties": { + "sum": { + "type": "number" + }, + "max": { + "type": "number" + }, + "mean": { + "type": "number" + } + } + }, + "app_metrics": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/timer" + } + ] + } + }, + "connections": { + "type": "object", + "required": [ + "current", + "max", + "total" + ], + "additionalProperties": false, + "properties": { + "current": { + "type": "integer", + "format": "int64" + }, + "max": { + "type": "integer", + "format": "int64" + }, + "total": { + "type": "integer", + "format": "int64" + } + } + }, + "request_duration_ms": { + "type": "object", + "required": [ + "max", + "mean", + "std_dev" + ], + "additionalProperties": false, + "properties": { + "max": { + "type": "integer", + "format": "int64" + }, + "mean": { + "type": "number", + "format": "double" + }, + "std_dev": { + "type": "number", + "format": "double" + } + } + }, + "network_bytes": { + "type": "object", + "required": [ + "received_total", + "received_rate", + "sent_total", + "sent_rate" + ], + "additionalProperties": false, + "properties": { + "received_total": { + "type": "integer", + "format": "int64" + }, + "received_rate": { + "type": "integer", + "format": "int64" + }, + "sent_total": { + "type": "integer", + "format": "int64" + }, + "sent_rate": { + "type": "integer", + "format": "int64" + } + } + }, + "responses": { + "type": "object", + "required": [ + "1xx", + "2xx", + "3xx", + "4xx", + "5xx" + ], + "additionalProperties": false, + "properties": { + "1xx": { + "type": "integer", + "format": "int64" + }, + "2xx": { + "type": "integer", + "format": "int64" + }, + "3xx": { + "type": "integer", + "format": "int64" + }, + "4xx": { + "type": "integer", + "format": "int64" + }, + "5xx": { + "type": "integer", + "format": "int64" + } + } + }, + "http_stats": { + "type": "object", + "required": [ + "connections", + "request_duration_ms", + "network_bytes", + "responses" + ], + "additionalProperties": false, + "properties": { + "connections": { + "$ref": "#/components/schemas/connections" + }, + "request_duration_ms": { + "$ref": "#/components/schemas/request_duration_ms" + }, + "network_bytes": { + "$ref": "#/components/schemas/network_bytes" + }, + "responses": { + "$ref": "#/components/schemas/responses" + } + } + }, + "app_stats": { + "type": "object", + "additionalProperties": false, + "required": [ + "end", + "metrics", + "pid", + "start" + ], + "properties": { + "pid": { + "type": "integer" + }, + "start": { + "type": "string" + }, + "end": { + "type": "string" + }, + "metrics": { + "$ref": "#/components/schemas/app_metrics" + } + } + }, + "queue_progress": { + "type": "object", + "additionalProperties": false, + "required": [ + "pending" + ], + "properties": { + "pending": { + "type": "integer" + } + } + }, + "queue_stats": { + "type": "object", + "required": [ + "failed" + ], + "properties": { + "failed": { + "type": "array", + "items": { + "type": "object" + } + } + }, + "additionalProperties": { + "$ref": "#/components/schemas/queue_progress" + } + }, + "connector_pool": { + "type": "object", + "additionalProperties": false, + "required": [ + "busy", + "idle", + "queue_depth", + "running", + "size", + "total_completed", + "total_scheduled" + ], + "properties": { + "running": { + "type": "boolean" + }, + "queue_depth": { + "type": "integer" + }, + "size": { + "type": "integer" + }, + "busy": { + "type": "integer" + }, + "idle": { + "type": "integer" + }, + "total_scheduled": { + "type": "integer" + }, + "total_completed": { + "type": "integer" + } + } + }, + "connector_pools": { + "type": "object", + "additionalProperties": false, + "required": [ + "extract_worker_pool", + "publish_worker_pool", + "subextract_worker_pool" + ], + "properties": { + "extract_worker_pool": { + "$ref": "#/components/schemas/connector_pool" + }, + "subextract_worker_pool": { + "$ref": "#/components/schemas/connector_pool" + }, + "publish_worker_pool": { + "$ref": "#/components/schemas/connector_pool" + } + } + }, + "job_types": { + "type": "object", + "additionalProperties": false, + "required": [ + "delete", + "full", + "incremental", + "permissions" + ], + "properties": { + "full": { + "type": "integer" + }, + "incremental": { + "type": "integer" + }, + "delete": { + "type": "integer" + }, + "permissions": { + "type": "integer" + } + } + }, + "job_store": { + "type": "object", + "additionalProperties": false, + "required": [ + "job_types", + "waiting", + "working" + ], + "properties": { + "waiting": { + "type": "integer" + }, + "working": { + "type": "integer" + }, + "job_types": { + "$ref": "#/components/schemas/job_types" + } + } + }, + "connector_stats": { + "type": "object", + "additionalProperties": false, + "required": [ + "alive", + "job_store", + "pool" + ], + "properties": { + "alive": { + "type": "boolean" + }, + "pool": { + "$ref": "#/components/schemas/connector_pools" + }, + "job_store": { + "$ref": "#/components/schemas/job_store" + } + } + }, + "app_search_product_usage_info": { + "type": "object", + "additionalProperties": false, + "required": [ + "total_engines" + ], + "properties": { + "total_engines": { + "type": "integer" + } + } + }, + "workplace_search_product_usage_info": { + "type": "object", + "additionalProperties": false, + "required": [ + "total_org_sources", + "total_private_sources", + "total_queries_last_30_days" + ], + "properties": { + "total_org_sources": { + "type": "integer" + }, + "total_private_sources": { + "type": "integer" + }, + "total_queries_last_30_days": { + "type": "integer" + } + } + }, + "enterprise_search_product_usage_info": { + "type": "object", + "additionalProperties": false, + "required": [ + "total_search_indices" + ], + "properties": { + "total_search_indices": { + "type": "integer" + } + } + }, + "product_usage_info": { + "type": "object", + "additionalProperties": false, + "required": [ + "app_search", + "workplace_search", + "enterprise_search" + ], + "properties": { + "app_search": { + "$ref": "#/components/schemas/app_search_product_usage_info" + }, + "workplace_search": { + "$ref": "#/components/schemas/workplace_search_product_usage_info" + }, + "enterprise_search": { + "$ref": "#/components/schemas/enterprise_search_product_usage_info" + } + } + }, + "crawler_crawl_requests_stats": { + "type": "object", + "additionalProperties": false, + "required": [ + "pending", + "active", + "successful", + "failed" + ], + "properties": { + "pending": { + "type": "integer" + }, + "active": { + "type": "integer" + }, + "successful": { + "type": "integer" + }, + "failed": { + "type": "integer" + } + } + }, + "crawler_global_stats": { + "type": "object", + "additionalProperties": false, + "required": [ + "crawl_requests" + ], + "properties": { + "crawl_requests": { + "$ref": "#/components/schemas/crawler_crawl_requests_stats" + } + } + }, + "crawler_denied_urls_info": { + "type": "object", + "additionalProperties": { + "type": "integer" + } + }, + "crawler_status_codes_info": { + "type": "object", + "additionalProperties": { + "type": "integer" + } + }, + "crawler_workers_info": { + "type": "object", + "additionalProperties": false, + "required": [ + "pool_size", + "active", + "available" + ], + "properties": { + "pool_size": { + "type": "integer" + }, + "active": { + "type": "integer" + }, + "available": { + "type": "integer" + } + } + }, + "crawler_queue_sizes_info": { + "type": "object", + "additionalProperties": false, + "required": [ + "primary", + "purge" + ], + "properties": { + "primary": { + "type": "integer" + }, + "purge": { + "type": "integer" + } + } + }, + "crawler_node_stats": { + "type": "object", + "additionalProperties": false, + "required": [ + "pages_visited", + "urls_allowed", + "urls_denied", + "status_codes", + "queue_size", + "active_threads", + "workers" + ], + "properties": { + "active_threads": { + "type": "integer" + }, + "pages_visited": { + "type": "integer" + }, + "urls_allowed": { + "type": "integer" + }, + "queue_size": { + "$ref": "#/components/schemas/crawler_queue_sizes_info" + }, + "urls_denied": { + "$ref": "#/components/schemas/crawler_denied_urls_info" + }, + "status_codes": { + "$ref": "#/components/schemas/crawler_status_codes_info" + }, + "workers": { + "$ref": "#/components/schemas/crawler_workers_info" + } + } + }, + "crawler_stats": { + "type": "object", + "additionalProperties": false, + "required": [ + "global", + "node" + ], + "properties": { + "global": { + "$ref": "#/components/schemas/crawler_global_stats" + }, + "node": { + "$ref": "#/components/schemas/crawler_node_stats" + } + } + }, + "stats_response": { + "type": "object", + "additionalProperties": false, + "required": [ + "cluster_uuid", + "http", + "app", + "queues", + "connectors" + ], + "properties": { + "cluster_uuid": { + "type": "string" + }, + "http": { + "$ref": "#/components/schemas/http_stats" + }, + "app": { + "$ref": "#/components/schemas/app_stats" + }, + "queues": { + "$ref": "#/components/schemas/queue_stats" + }, + "connectors": { + "$ref": "#/components/schemas/connector_stats" + }, + "crawler": { + "$ref": "#/components/schemas/crawler_stats" + }, + "product_usage": { + "$ref": "#/components/schemas/product_usage_info" + } + } + }, + "read_only_state": { + "type": "object", + "additionalProperties": false, + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + } + } + } + }, + "parameters": { + "force": { + "description": "The value for the \"force\" flag", + "in": "query", + "name": "force", + "schema": { + "type": "boolean" + } + }, + "included_stats": { + "name": "include", + "in": "query", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "required": false, + "style": "form", + "explode": false, + "description": "Comma-separated list of stats to return" + } + } + }, + "security": [ + { + "basic_auth": [ + + ] + }, + { + "bearer_auth": [ + + ] + } + ], + "paths": { + "/api/ent/v1/internal/health": { + "get": { + "summary": "Get information on the health of a deployment and basic statistics around resource usage", + "tags": [ + "Health API" + ], + "description": "Get information on the health of a deployment and basic statistics around resource usage", + "operationId": "getHealth", + "security": [ + { + "basic_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/enterprise-search/current/monitoring-apis.html#health-api-example" + }, + "responses": { + "401": { + "description": "unauthorized" + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/health_response" + } + } + } + } + } + } + }, + "/api/ent/v1/internal/read_only_mode": { + "get": { + "summary": "Get the read-only flag's state", + "tags": [ + "Read-Only API" + ], + "description": "Get the read-only flag's state", + "operationId": "getReadOnly", + "security": [ + { + "basic_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/enterprise-search/current/read-only-api.html#getting-read-only-state" + }, + "responses": { + "401": { + "description": "unauthorized" + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/read_only_state" + } + } + } + } + } + }, + "put": { + "summary": "Update the read-only flag's state", + "tags": [ + "Read-Only API" + ], + "description": "Update the read-only flag's state", + "operationId": "putReadOnly", + "security": [ + { + "basic_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/enterprise-search/current/read-only-api.html#setting-read-only-state" + }, + "parameters": [ + + ], + "responses": { + "401": { + "description": "unauthorized" + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/read_only_state" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/read_only_state" + } + } + }, + "required": true + } + } + }, + "/api/ent/v1/internal/stats": { + "get": { + "summary": "Get information about the resource usage of the application, the state of different internal queues, etc.", + "tags": [ + "Stats API" + ], + "description": "Get information about the resource usage of the application, the state of different internal queues, etc.", + "operationId": "getStats", + "security": [ + { + "basic_auth": [ + + ] + } + ], + "parameters": [ + { + "name": "include", + "in": "query", + "required": false, + "$ref": "#/components/parameters/included_stats" + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/enterprise-search/current/monitoring-apis.html#stats-api-example" + }, + "responses": { + "401": { + "description": "unauthorized" + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/stats_response" + } + } + } + } + } + } + }, + "/api/ent/v1/internal/storage": { + "get": { + "summary": "Get information on the application indices and the space used", + "tags": [ + "Storage API" + ], + "description": "Get information on the application indices and the space used", + "operationId": "getStorage", + "security": [ + { + "basic_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/enterprise-search/current/storage-api.html#get-storage-api" + }, + "responses": { + "401": { + "description": "unauthorized" + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/storage_response" + } + } + } + } + } + } + }, + "/api/ent/v1/internal/storage/stale": { + "get": { + "summary": "Get information on the outdated application indices", + "tags": [ + "Storage API" + ], + "description": "Get information on the outdated application indices", + "operationId": "getStaleStorage", + "security": [ + { + "basic_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/enterprise-search/current/storage-api.html#get-stale-storage-api" + }, + "responses": { + "401": { + "description": "unauthorized" + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/storage_response" + } + } + } + } + } + }, + "delete": { + "summary": "Cleanup outdated application indices", + "tags": [ + "Storage API" + ], + "description": "Cleanup outdated application indices", + "operationId": "deleteStaleStorage", + "security": [ + { + "basic_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/enterprise-search/current/storage-api.html#delete-stale-storage-api" + }, + "parameters": [ + { + "name": "force", + "in": "query", + "description": "The value for the \"force\" flag", + "$ref": "#/components/parameters/force", + "required": false, + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "401": { + "description": "unauthorized" + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/storage_cleanup_response" + } + } + } + } + } + } + }, + "/api/ent/v1/internal/version": { + "get": { + "summary": "Get version information for this server", + "tags": [ + "Version API" + ], + "description": "Get version information for this server", + "operationId": "getVersion", + "security": [ + { + "basic_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/enterprise-search/current/monitoring-apis.html#monitoring-apis-version-api" + }, + "responses": { + "401": { + "description": "unauthorized" + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/version" + } + } + } + } + } + } + } + }, + "tags": [ + { + "name": "Health API", + "description": "An API for quickly getting information on the health of a deployment and basic statistics around resource usage", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/enterprise-search/current/monitoring-apis.html#health-api" + } + }, + { + "name": "Version API", + "description": "An API for getting version information for this server", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/enterprise-search/current/monitoring-apis.html#monitoring-apis-version-api" + } + }, + { + "name": "Stats API", + "description": "A dedicated API for getting information about the resource usage of the application, the state of different internal queues, etc.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/enterprise-search/current/monitoring-apis.html#stats-api" + } + }, + { + "name": "Read-Only API", + "description": "An API endpoint for managing the read-only mode for a deployment", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/enterprise-search/current/read-only-api.html" + } + }, + { + "name": "Storage API", + "description": "An API endpoint for managing storage for a deployment", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/enterprise-search/current/storage-api.html" + } + } + ] +} \ No newline at end of file diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/tests/enums.json b/openapi-converter/openapi_to_clients_schema/fixtures/tests/enums.json new file mode 100644 index 0000000000..9ae49918a6 --- /dev/null +++ b/openapi-converter/openapi_to_clients_schema/fixtures/tests/enums.json @@ -0,0 +1,15 @@ +{ + "$schema": "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json", + "components": { + "schemas": { + "Test": { + "enum": [ + "one1", + "TWO", + "Three_and_four" + ], + "type": "string" + } + } + } +} diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/tests/flatten-union.json b/openapi-converter/openapi_to_clients_schema/fixtures/tests/flatten-union.json new file mode 100644 index 0000000000..1de56f3dc9 --- /dev/null +++ b/openapi-converter/openapi_to_clients_schema/fixtures/tests/flatten-union.json @@ -0,0 +1,66 @@ +{ + "$schema": "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json", + "components": { + "schemas": { + "TestCase": { + "properties": { + "multi_type_union_list": { + "type": [ + "number", + "string" + ] + }, + "multi_type_union_one_of": { + "oneOf": [ + { + "type": [ + "number", + "string" + ] + } + ] + }, + "multi_type_union_one_of_and_list": { + "oneOf": [ + { + "type": [ + "number" + ] + }, + { + "type": [ + "string" + ] + } + ] + }, + "scalar": { + "type": "number" + }, + "single_type_union_list": { + "type": [ + "number" + ] + }, + "single_type_union_one_of": { + "oneOf": [ + { + "type": "number" + } + ] + }, + "single_type_union_one_of_and_list": { + "oneOf": [ + { + "type": [ + "number" + ] + } + ] + } + }, + "type": "object" + } + } + } +} diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/tests/names.json b/openapi-converter/openapi_to_clients_schema/fixtures/tests/names.json new file mode 100644 index 0000000000..c849137cde --- /dev/null +++ b/openapi-converter/openapi_to_clients_schema/fixtures/tests/names.json @@ -0,0 +1,32 @@ +{ + "$schema": "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json", + "components": { + "schemas": { + "test": { + "properties": { + "Name6": { + "type": "boolean" + }, + "NameFive": { + "type": "boolean" + }, + "name": { + "type": "boolean" + }, + "name1": { + "type": "boolean" + }, + "nameThree": { + "type": "boolean" + }, + "name_2": { + "type": "boolean" + }, + "name_four": { + "type": "boolean" + } + } + } + } + } +} diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/tests/recursive-refs.json b/openapi-converter/openapi_to_clients_schema/fixtures/tests/recursive-refs.json new file mode 100644 index 0000000000..f02106abd9 --- /dev/null +++ b/openapi-converter/openapi_to_clients_schema/fixtures/tests/recursive-refs.json @@ -0,0 +1,61 @@ +{ + "$schema": "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json", + "components": { + "schemas": { + "Logic": { + "oneOf": [ + { + "properties": { + "value": { + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "properties": { + "and": { + "items": { + "$ref": "#/components/schemas/Logic" + }, + "type": "array" + } + }, + "required": [ + "and" + ], + "type": "object" + }, + { + "properties": { + "or": { + "items": { + "$ref": "#/components/schemas/Logic" + }, + "type": "array" + } + }, + "required": [ + "or" + ], + "type": "object" + }, + { + "properties": { + "not": { + "$ref": "#/components/schemas/Logic" + } + }, + "required": [ + "not" + ], + "type": "object" + } + ] + } + } + } +} diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/tests/scalars.json b/openapi-converter/openapi_to_clients_schema/fixtures/tests/scalars.json new file mode 100644 index 0000000000..b4c0f92572 --- /dev/null +++ b/openapi-converter/openapi_to_clients_schema/fixtures/tests/scalars.json @@ -0,0 +1,63 @@ +{ + "$schema": "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json", + "components": { + "schemas": { + "TestCase": { + "additionalProperties": false, + "properties": { + "array_of_scalars": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "array_or_scalar": { + "oneOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + }, + "integer": { + "type": "integer" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "union_of_scalars": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "string", + "integer", + "number", + "boolean", + "array_of_scalars", + "union_of_scalars", + "array_or_scalar" + ], + "type": "object" + } + } + } +} diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/tests/structural-union.json b/openapi-converter/openapi_to_clients_schema/fixtures/tests/structural-union.json new file mode 100644 index 0000000000..0ea6440d27 --- /dev/null +++ b/openapi-converter/openapi_to_clients_schema/fixtures/tests/structural-union.json @@ -0,0 +1,75 @@ +{ + "$schema": "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json", + "components": { + "schemas": { + "InlineScript": { + "allOf": [ + { + "$ref": "#/components/schemas/_ScriptParams" + }, + { + "properties": { + "lang": { + "$ref": "#/components/schemas/ScriptLanguage" + }, + "options": { + "additionalProperties": { + "type": "string" + } + }, + "source": { + "type": "string" + } + } + } + ] + }, + "Script": { + "oneOf": [ + { + "$ref": "#/components/schemas/InlineScript" + }, + { + "$ref": "#/components/schemas/StoredScriptId" + } + ] + }, + "ScriptLanguage": { + "enum": [ + "painless", + "expression", + "mustache", + "java" + ], + "type": "string" + }, + "StoredScriptId": { + "allOf": [ + { + "$ref": "#/components/schemas/_ScriptParams" + }, + { + "additionalProperties": false, + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ] + } + ] + }, + "_ScriptParams": { + "additionalProperties": false, + "properties": { + "params": { + "additionalProperties": true + } + }, + "type": "object" + } + } + } +} diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/tests/union-of-variants-external-with-properties.json b/openapi-converter/openapi_to_clients_schema/fixtures/tests/union-of-variants-external-with-properties.json new file mode 100644 index 0000000000..5814ef1932 --- /dev/null +++ b/openapi-converter/openapi_to_clients_schema/fixtures/tests/union-of-variants-external-with-properties.json @@ -0,0 +1,58 @@ +{ + "$schema": "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json", + "components": { + "schemas": { + "TestCase": { + "allOf": [ + { + "properties": { + "optional": { + "type": "number" + }, + "required": { + "type": "number" + } + }, + "required": [ + "required" + ] + }, + { + "oneOf": [ + { + "properties": { + "one": { + "type": "number" + } + }, + "required": [ + "one" + ] + }, + { + "properties": { + "two": { + "type": "boolean" + } + }, + "required": [ + "two" + ] + }, + { + "properties": { + "three": { + "type": "string" + } + }, + "required": [ + "three" + ] + } + ] + } + ] + } + } + } +} diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/tests/union-of-variants-external.json b/openapi-converter/openapi_to_clients_schema/fixtures/tests/union-of-variants-external.json new file mode 100644 index 0000000000..2a647b8d1e --- /dev/null +++ b/openapi-converter/openapi_to_clients_schema/fixtures/tests/union-of-variants-external.json @@ -0,0 +1,44 @@ +{ + "$schema": "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json", + "components": { + "schemas": { + "TestCase": { + "oneOf": [ + { + "properties": { + "one": { + "type": "number" + } + }, + "required": [ + "one" + ], + "type": "object" + }, + { + "properties": { + "two": { + "type": "boolean" + } + }, + "required": [ + "two" + ], + "type": "object" + }, + { + "properties": { + "three": { + "type": "string" + } + }, + "required": [ + "three" + ], + "type": "object" + } + ] + } + } + } +} diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/tests/union-of-variants-internal.json b/openapi-converter/openapi_to_clients_schema/fixtures/tests/union-of-variants-internal.json new file mode 100644 index 0000000000..f88dc50c4f --- /dev/null +++ b/openapi-converter/openapi_to_clients_schema/fixtures/tests/union-of-variants-internal.json @@ -0,0 +1,58 @@ +{ + "$schema": "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json", + "components": { + "schemas": { + "Variant": { + "discriminator": { + "mapping": { + "variant1": "#/components/schemas/Variant1", + "variant2": "#/components/schemas/Variant2" + }, + "propertyName": "type" + }, + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "Variant1": { + "allOf": [ + { + "$ref": "#/components/schemas/Variant" + }, + { + "properties": { + "variant1": { + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "Variant2": { + "allOf": [ + { + "$ref": "#/components/schemas/Variant" + }, + { + "properties": { + "variant2": { + "type": "boolean" + } + }, + "required": [ + "variant2" + ], + "type": "object" + } + ] + } + } + } +} diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/tests/xof.json b/openapi-converter/openapi_to_clients_schema/fixtures/tests/xof.json new file mode 100644 index 0000000000..191aa5ee11 --- /dev/null +++ b/openapi-converter/openapi_to_clients_schema/fixtures/tests/xof.json @@ -0,0 +1,130 @@ +{ + "$schema": "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json", + "components": { + "schemas": { + "Schema1": { + "properties": { + "schema1": { + "type": "integer" + } + }, + "type": "object" + }, + "Schema2": { + "properties": { + "schema2": { + "type": "integer" + } + }, + "type": "object" + }, + "Schema3": { + "properties": { + "schema3": { + "type": "integer" + } + }, + "type": "object" + }, + "Schema4": { + "properties": { + "schema4": { + "type": "integer" + } + }, + "required": [ + "schema4" + ], + "type": "object" + }, + "Schema5": { + "properties": { + "schema5": { + "type": "integer" + } + }, + "required": [ + "schema5" + ], + "type": "object" + }, + "SchemaCombined1": { + "allOf": [ + { + "$ref": "#/components/schemas/Schema1" + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/Schema2" + }, + { + "$ref": "#/components/schemas/Schema3" + } + ] + } + ] + }, + "SchemaCombined2": { + "allOf": [ + { + "$ref": "#/components/schemas/Schema4" + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/Schema5" + } + ] + } + ] + }, + "TestCase1": { + "oneOf": [ + { + "$ref": "#/components/schemas/Schema1" + }, + { + "$ref": "#/components/schemas/Schema2" + }, + { + "$ref": "#/components/schemas/Schema4" + } + ] + }, + "TestCase2": { + "allOf": [ + { + "oneOf": [ + { + "$ref": "#/components/schemas/Schema1" + }, + { + "$ref": "#/components/schemas/Schema2" + }, + { + "$ref": "#/components/schemas/Schema4" + } + ] + }, + { + "$ref": "#/components/schemas/Schema3" + }, + { + "$ref": "#/components/schemas/Schema5" + } + ] + }, + "Testcase3": { + "oneOf": [ + { + "$ref": "#/components/schemas/SchemaCombined1" + }, + { + "$ref": "#/components/schemas/SchemaCombined2" + } + ] + } + } + } +} diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/workplace-search.json b/openapi-converter/openapi_to_clients_schema/fixtures/workplace-search.json new file mode 100644 index 0000000000..d8787ad8e1 --- /dev/null +++ b/openapi-converter/openapi_to_clients_schema/fixtures/workplace-search.json @@ -0,0 +1,4862 @@ +{ + "openapi": "3.0.2", + "info": { + "title": "Workplace Search API", + "description": "A set of product-specific APIs for Elastic Workplace Search", + "version": "v1", + "license": { + "name": "Apache 2.0", + "url": "http://www.apache.org/licenses/LICENSE-2.0.html" + } + }, + "servers": [ + { + "url": "{schemes}://{host}:{port}", + "variables": { + "schemes": { + "enum": [ + "http", + "https" + ], + "default": "http" + }, + "host": { + "default": "localhost", + "description": "The host running Enterprise Search" + }, + "port": { + "default": "3002" + } + } + } + ], + "components": { + "securitySchemes": { + "bearer_auth": { + "type": "apiKey", + "in": "header", + "name": "Authorization" + }, + "basic_auth": { + "type": "http", + "scheme": "basic" + } + }, + "schemas": { + "document_id": { + "type": "string", + "minLength": 1, + "maxLength": 487 + }, + "last_updated": { + "type": "string", + "format": "date-time" + }, + "errors": { + "type": "array", + "minItems": 0, + "items": { + "type": "string" + } + }, + "errors_response": { + "type": "object", + "required": [ + "errors" + ], + "additionalProperties": false, + "properties": { + "errors": { + "$ref": "#/components/schemas/errors" + } + } + }, + "meta_page": { + "type": "object", + "required": [ + "page" + ], + "properties": { + "page": { + "type": "object", + "required": [ + "current", + "total_pages", + "total_results", + "size" + ], + "properties": { + "current": { + "type": "integer" + }, + "total_pages": { + "type": "integer" + }, + "total_results": { + "type": "integer" + }, + "size": { + "type": "integer" + } + } + } + } + }, + "upload_icons_response": { + "type": "object", + "required": [ + "results" + ], + "additionalProperties": false, + "properties": { + "results": { + "type": "object", + "additionalProperties": false, + "properties": { + "main_icon": { + "type": "string" + }, + "alt_icon": { + "type": "string" + } + } + } + } + }, + "permission": { + "type": "string", + "maxLength": 256, + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-document-permissions.html", + "description": "Document level security restricts which documents a user is able to return in search results" + } + }, + "external_user_property": { + "type": "object", + "required": [ + "attribute_name", + "attribute_value" + ], + "additionalProperties": false, + "properties": { + "attribute_name": { + "type": "string", + "enum": [ + "_elasticsearch_username" + ] + }, + "attribute_value": { + "type": "string", + "maxLength": 256 + } + }, + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-external-identities-api.html", + "description": "Arbitrary properties of the user in the external system" + } + }, + "permissions": { + "type": "array", + "description": "List of permissions", + "items": { + "$ref": "#/components/schemas/permission" + } + }, + "external_user_properties": { + "type": "array", + "maxItems": 1024, + "description": "List of external user properties", + "items": { + "$ref": "#/components/schemas/external_user_property" + } + }, + "external_identity": { + "type": "object", + "required": [ + "content_source_id", + "external_user_id" + ], + "properties": { + "content_source_id": { + "type": "string" + }, + "external_user_id": { + "type": "string" + }, + "external_user_properties": { + "$ref": "#/components/schemas/external_user_properties" + }, + "permissions": { + "$ref": "#/components/schemas/permissions" + } + } + }, + "list_external_identities_response": { + "type": "object", + "required": [ + "meta", + "results" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/meta_page" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/external_identity" + } + } + } + }, + "delete_external_identities_response": { + "type": "string", + "enum": [ + "ok" + ] + }, + "document": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/document_id" + }, + "last_updated": { + "$ref": "#/components/schemas/last_updated" + }, + "_allow_permissions": { + "$ref": "#/components/schemas/permissions" + }, + "_deny_permissions": { + "$ref": "#/components/schemas/permissions" + } + }, + "additionalProperties": true + }, + "document_bulk_create_response": { + "type": "object", + "required": [ + "results" + ], + "properties": { + "results": { + "type": "array", + "items": { + "type": "object", + "required": [ + "id", + "errors" + ], + "properties": { + "id": { + "$ref": "#/components/schemas/document_id" + }, + "errors": { + "$ref": "#/components/schemas/errors" + } + } + } + } + } + }, + "document_bulk_delete_response": { + "type": "object", + "required": [ + "results" + ], + "properties": { + "results": { + "type": "array", + "items": { + "type": "object", + "required": [ + "id", + "success" + ], + "properties": { + "id": { + "$ref": "#/components/schemas/document_id" + }, + "success": { + "type": "boolean" + } + } + } + } + } + }, + "document_ids": { + "type": "array", + "minItems": 1, + "maxItems": 100, + "items": { + "$ref": "#/components/schemas/document_id" + } + }, + "bulk_documents": { + "type": "array", + "minItems": 1, + "maxItems": 100, + "items": { + "$ref": "#/components/schemas/document" + } + }, + "delete_documents_by_query_response": { + "type": "object", + "required": [ + "total", + "deleted", + "failures" + ], + "properties": { + "total": { + "type": "integer" + }, + "deleted": { + "type": "integer" + }, + "failures": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } + } + } + }, + "record_deleted_response": { + "type": "object", + "required": [ + "deleted" + ], + "properties": { + "deleted": { + "type": "boolean", + "enum": [ + true + ] + } + } + }, + "single_document_response": { + "type": "object", + "required": [ + "id", + "source", + "content_source_id", + "last_updated" + ], + "additionalProperties": true, + "properties": { + "id": { + "type": "string" + }, + "source": { + "type": "string" + }, + "content_source_id": { + "type": "string" + }, + "last_updated": { + "type": "string", + "format": "date-time" + }, + "_allow_permissions": { + "$ref": "#/components/schemas/permissions" + }, + "_deny_permissions": { + "$ref": "#/components/schemas/permissions" + } + } + }, + "document_list_response": { + "type": "object", + "required": [ + "meta", + "results" + ], + "additionalProperties": false, + "properties": { + "meta": { + "type": "object", + "required": [ + "page", + "cursor", + "warnings" + ], + "additionalProperties": false, + "properties": { + "page": { + "type": "object", + "required": [ + "current", + "total_pages", + "total_results", + "size" + ], + "properties": { + "current": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "integer" + } + ] + }, + "total_pages": { + "type": "integer" + }, + "total_results": { + "type": "integer" + }, + "size": { + "type": "integer" + } + } + }, + "cursor": { + "type": "object", + "required": [ + "current", + "next" + ], + "properties": { + "current": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "next": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + } + } + }, + "warnings": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/single_document_response" + } + } + } + }, + "list_content_sources_response": { + "type": "object", + "required": [ + "meta", + "results" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/meta_page" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/content_source" + } + } + } + }, + "content_source_partial_create_response": { + "description": "Returned when a create request successfully created a content source, but failed to fully configure it as requested", + "type": "object", + "required": [ + "created", + "errors" + ], + "additionalProperties": false, + "properties": { + "created": { + "$ref": "#/components/schemas/content_source", + "description": "The state of the newly created content source" + }, + "errors": { + "$ref": "#/components/schemas/errors", + "description": "Errors that occurred while attempting to configure and finalize the content source. Correct these errors, and follow up with an \"update\" request." + } + } + }, + "content_source_partial_update_response": { + "description": "Returned when an update request partially updated a content source, but failed to fully configure it as requested", + "type": "object", + "required": [ + "updated", + "errors" + ], + "additionalProperties": false, + "properties": { + "updated": { + "$ref": "#/components/schemas/content_source", + "description": "The state of the updated content source" + }, + "errors": { + "$ref": "#/components/schemas/errors", + "description": "Errors that occurred while attempting to configure and finalize the content source. Correct these errors, and follow up with another \"update\" request." + } + } + }, + "whoami_response": { + "type": "object", + "required": [ + "username", + "email" + ], + "additionalProperties": false, + "properties": { + "username": { + "type": "string" + }, + "email": { + "type": "string" + }, + "access_token": { + "type": "string" + } + } + }, + "sync_job_definition": { + "type": "object", + "required": [ + "id", + "job_type", + "status", + "created_at", + "last_updated_at" + ], + "additionalProperties": false, + "properties": { + "id": { + "type": "string" + }, + "job_type": { + "type": "string", + "enum": [ + "full", + "incremental", + "delete", + "permissions" + ] + }, + "status": { + "type": "string", + "enum": [ + "enqueued", + "running", + "suspended", + "failed", + "complete" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "last_updated_at": { + "type": "string", + "format": "date-time" + } + } + }, + "started_sync_jobs": { + "type": "object", + "required": [ + "started" + ], + "additionalProperties": false, + "properties": { + "started": { + "type": "array", + "items": { + "$ref": "#/components/schemas/sync_job_definition" + } + } + } + }, + "interrupted_sync_jobs": { + "type": "object", + "required": [ + "interrupted" + ], + "additionalProperties": false, + "properties": { + "interrupted": { + "type": "array", + "items": { + "$ref": "#/components/schemas/sync_job_definition" + } + } + } + }, + "sync_jobs_command_response": { + "type": "object", + "required": [ + "results" + ], + "additionalProperties": false, + "properties": { + "results": { + "oneOf": [ + { + "$ref": "#/components/schemas/started_sync_jobs" + }, + { + "$ref": "#/components/schemas/interrupted_sync_jobs" + } + ] + } + } + }, + "automatic_query_refinement_details_response": { + "type": "object", + "required": [ + "overrides", + "defaults", + "results" + ], + "additionalProperties": false, + "properties": { + "overrides": { + "type": "array", + "items": { + "$ref": "#/components/schemas/content_source_automatic_query_refinement" + } + }, + "defaults": { + "type": "array", + "items": { + "$ref": "#/components/schemas/content_source_enabled_automatic_query_refinement" + } + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/content_source_enabled_automatic_query_refinement" + } + } + } + }, + "content_source_enabled_automatic_query_refinement": { + "type": "object", + "required": [ + "field", + "query_expansion_phrases", + "is_person" + ], + "properties": { + "field": { + "type": "string" + }, + "query_expansion_phrases": { + "type": "array", + "items": { + "type": "string" + } + }, + "is_person": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "triggers_blocklist_definition": { + "type": "array", + "items": { + "type": "string" + } + }, + "triggers_blocklist_wrapper_definition": { + "type": "object", + "required": [ + "blocklist" + ], + "additionalProperties": false, + "properties": { + "blocklist": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "filter_value": { + "description": "A value to filter on", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "array_or_singular_filter_value": { + "oneOf": [ + { + "$ref": "#/components/schemas/filter_value" + }, + { + "type": "array", + "maxItems": 1024, + "items": { + "$ref": "#/components/schemas/filter_value" + } + } + ] + }, + "range_filter": { + "type": "object", + "minProperties": 1, + "additionalProperties": false, + "properties": { + "from": { + "description": "The start of the range, inclusive", + "$ref": "#/components/schemas/filter_value" + }, + "to": { + "description": "The end of the range, exclusive", + "$ref": "#/components/schemas/filter_value" + } + } + }, + "geo_range_filter": { + "type": "object", + "description": "A range filter with a geographic center", + "minProperties": 3, + "additionalProperties": false, + "required": [ + "unit", + "center" + ], + "properties": { + "unit": { + "description": "The base unit of measurement [mm, cm, m (meters), km, in, ft, yd, or mi (miles)]", + "$ref": "#/components/schemas/geo_unit_enum" + }, + "center": { + "description": "The mode of the distribution as a \"lat, lon\" string, \"POINT(lon lat)\" WKT POINT string, Geohash string, or [lon, lat] array", + "$ref": "#/components/schemas/geo_point" + }, + "from": { + "description": "Inclusive lower bound of the range. Is required if to is not provided", + "$ref": "#/components/schemas/filter_value" + }, + "to": { + "description": "Exclusive upper bound of the range. Is required if from is not provided", + "$ref": "#/components/schemas/filter_value" + } + } + }, + "geo_distance_filter": { + "type": "object", + "additionalProperties": false, + "required": [ + "unit", + "center", + "distance" + ], + "properties": { + "unit": { + "description": "The base unit of measurement [mm, cm, m (meters), km, in, ft, yd, or mi (miles)]", + "$ref": "#/components/schemas/geo_unit_enum" + }, + "center": { + "description": "The mode of the distribution as a \"lat, lon\" string, \"POINT(lon lat)\" WKT POINT string, Geohash string, or [lon, lat] array", + "$ref": "#/components/schemas/geo_point" + }, + "distance": { + "description": "A number representing the distance unit", + "type": "number", + "minimum": 0, + "maximum": 1.7976931348623157e+308 + } + } + }, + "geo_point": { + "type": "object", + "anyOf": [ + { + "type": "string", + "pattern": "(\\A\\s*(?[-+]?\\d*\\.?\\d+)\\s*,\\s*(?[-+]?\\d*\\.?\\d+)\\s*\\z)" + }, + { + "type": "string", + "pattern": "(?i-mx:\\A\\s*POINT\\s*\\(\\s*(?[-+]?\\d*\\.?\\d+)\\s+(?[-+]?\\d*\\.?\\d+)\\s*\\)\\s*\\z)" + }, + { + "type": "string", + "pattern": "(\\A[0-9b-hjkmnp-z]+\\z)" + }, + { + "type": "array", + "minItems": 2, + "maxItems": 2, + "additionalItems": false, + "items": [ + { + "type": "number", + "minimum": -180, + "maximum": 180 + }, + { + "type": "number", + "minimum": -90, + "maximum": 90 + } + ] + } + ] + }, + "filter": { + "type": "object", + "minProperties": 0, + "maxProperties": 1, + "not": { + "minProperties": 1, + "additionalProperties": false, + "properties": { + "any": { +}, + "all": { +}, + "none": { +} + } + }, + "additionalProperties": { + "oneOf": [ + { + "$ref": "#/components/schemas/array_or_singular_filter_value" + }, + { + "$ref": "#/components/schemas/range_filter" + }, + { + "$ref": "#/components/schemas/geo_range_filter" + }, + { + "$ref": "#/components/schemas/geo_distance_filter" + } + ] + } + }, + "filter_clauses": { + "type": "object", + "minProperties": 1, + "additionalProperties": false, + "properties": { + "any": { + "$ref": "#/components/schemas/array_or_singular_filter_clauses_or_filter" + }, + "all": { + "$ref": "#/components/schemas/array_or_singular_filter_clauses_or_filter" + }, + "none": { + "$ref": "#/components/schemas/array_or_singular_filter_clauses_or_filter" + } + } + }, + "array_or_singular_filter_clauses_or_filter": { + "oneOf": [ + { + "$ref": "#/components/schemas/filter_clauses_or_filter" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/filter_clauses_or_filter" + } + } + ] + }, + "filter_clauses_or_filter": { + "oneOf": [ + { + "$ref": "#/components/schemas/filter_clauses" + }, + { + "$ref": "#/components/schemas/filter" + } + ] + }, + "geo_unit_enum": { + "enum": [ + "m", + "mi", + "in", + "ft", + "yd", + "km", + "cm", + "mm" + ] + }, + "sort": { + "type": "object", + "description": "Field and direction to sort on", + "minProperties": 1, + "maxProperties": 1, + "additionalProperties": { + "enum": [ + "asc", + "desc" + ] + } + }, + "facet_sort": { + "type": "object", + "description": "Facet field to sort on and sort by count and/or value", + "minProperties": 1, + "maxProperties": 1, + "properties": { + "count": { + "enum": [ + "asc", + "desc" + ] + }, + "value": { + "enum": [ + "asc", + "desc" + ] + } + }, + "additionalProperties": false + }, + "facet_value": { + "type": "object", + "description": "Facet by a field value", + "properties": { + "type": { + "enum": [ + "value" + ] + }, + "name": { + "type": "string" + }, + "size": { + "type": "integer", + "minimum": 1, + "maximum": 250, + "default": 10 + }, + "sort": { + "$ref": "#/components/schemas/facet_sort" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "facet_range_item": { + "type": "object", + "description": "The range for a facet's bucket", + "properties": { + "from": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "to": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "name": { + "type": "string" + } + }, + "anyOf": [ + { + "required": [ + "from" + ] + }, + { + "required": [ + "to" + ] + } + ], + "additionalProperties": false + }, + "facet_range": { + "type": "object", + "description": "Faceting into buckets by a range of values", + "properties": { + "type": { + "enum": [ + "range" + ] + }, + "name": { + "type": "string" + }, + "ranges": { + "type": "array", + "items": { + "$ref": "#/components/schemas/facet_range_item" + }, + "minItems": 1 + }, + "center": { + "$ref": "#/components/schemas/geo_point" + }, + "unit": { + "$ref": "#/components/schemas/geo_unit_enum" + } + }, + "additionalProperties": false, + "required": [ + "type", + "ranges" + ] + }, + "facet_item": { + "anyOf": [ + { + "$ref": "#/components/schemas/facet_range" + }, + { + "$ref": "#/components/schemas/facet_value" + } + ] + }, + "boost_value_itemtype": { + "oneOf": [ + { + "$ref": "#/components/schemas/filter_value" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/filter_value" + } + } + ] + }, + "boost_is_value_type": { + "properties": { + "type": { + "enum": [ + "value" + ] + } + } + }, + "boost_is_functional_type": { + "properties": { + "type": { + "enum": [ + "functional" + ] + } + } + }, + "boost_is_proximity_type": { + "properties": { + "type": { + "enum": [ + "proximity" + ] + } + } + }, + "boost_value_requirements": { + "anyOf": [ + { + "not": { + "$ref": "#/components/schemas/boost_is_value_type" + } + }, + { + "required": [ + "value" + ], + "not": { + "anyOf": [ + { + "required": [ + "function" + ] + }, + { + "required": [ + "center" + ] + } + ] + } + } + ] + }, + "boost_functional_requirements": { + "anyOf": [ + { + "not": { + "$ref": "#/components/schemas/boost_is_functional_type" + } + }, + { + "required": [ + "function" + ], + "properties": { + "function": { + "enum": [ + "linear", + "exponential", + "logarithmic" + ] + } + }, + "not": { + "anyOf": [ + { + "required": [ + "value" + ] + }, + { + "required": [ + "center" + ] + } + ] + } + } + ] + }, + "boost_proximity_requirements": { + "anyOf": [ + { + "not": { + "$ref": "#/components/schemas/boost_is_proximity_type" + } + }, + { + "required": [ + "center", + "function" + ], + "properties": { + "center": { + "anyOf": [ + { + "$ref": "#/components/schemas/filter_value" + }, + { + "$ref": "#/components/schemas/geo_point" + } + ] + }, + "function": { + "enum": [ + "linear", + "exponential", + "gaussian" + ] + } + } + } + ] + }, + "boost_item": { + "type": "object", + "description": "Field and type of boost with tuning parameters", + "properties": { + "type": { + "enum": [ + "value", + "functional", + "proximity" + ] + }, + "value": { + "$ref": "#/components/schemas/boost_value_itemtype" + }, + "function": { + "enum": [ + "linear", + "exponential", + "logarithmic", + "gaussian" + ] + }, + "operation": { + "type": "string", + "enum": [ + "add", + "multiply" + ], + "default": "add" + }, + "factor": { + "type": "number", + "default": 1.0, + "minimum": 0.0, + "maximum": 10.0 + }, + "center": { + "anyOf": [ + { + "$ref": "#/components/schemas/filter_value" + }, + { + "$ref": "#/components/schemas/geo_point" + } + ] + } + }, + "allOf": [ + { + "$ref": "#/components/schemas/boost_proximity_requirements" + }, + { + "$ref": "#/components/schemas/boost_functional_requirements" + }, + { + "$ref": "#/components/schemas/boost_value_requirements" + } + ], + "required": [ + "type" + ], + "additionalProperties": false + }, + "search_api_query": { + "type": "object", + "additionalProperties": false, + "properties": { + "query": { + "type": "string", + "maxLength": 128, + "default": "", + "description": "A string or number used to find related documents" + }, + "automatic_query_refinement": { + "type": "boolean", + "default": true, + "description": "Set to false to not automatically refine the query by keywords" + }, + "page": { + "type": "object", + "description": "Paging controls for the result set", + "additionalProperties": false, + "default": { +}, + "properties": { + "size": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 10 + }, + "current": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 1 + } + } + }, + "search_fields": { + "type": "object", + "description": "Restrict the fulltext search to only specific fields", + "minProperties": 1, + "additionalProperties": { + "type": "object", + "additionalProperties": false, + "properties": { + "weight": { + "type": "integer", + "minimum": 0, + "maximum": 1000 + } + } + } + }, + "result_fields": { + "type": "object", + "description": "Restrict the result fields for each item to the specified fields", + "minProperties": 1, + "additionalProperties": { + "type": "object", + "minProperties": 1, + "additionalProperties": false, + "properties": { + "raw": { + "type": "object", + "additionalProperties": false, + "properties": { + "size": { + "type": "integer", + "minimum": 20, + "maximum": 1000 + } + } + }, + "snippet": { + "type": "object", + "additionalProperties": false, + "properties": { + "size": { + "type": "integer", + "default": 100, + "minimum": 20, + "maximum": 1000 + }, + "fallback": { + "type": "boolean", + "default": false + } + } + } + } + } + }, + "filters": { + "$ref": "#/components/schemas/filter_clauses_or_filter" + }, + "sort": { + "default": { + "_score": "desc" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/sort" + }, + { + "type": "array", + "maxItems": 10, + "items": { + "$ref": "#/components/schemas/sort" + } + } + ] + }, + "facets": { + "type": "object", + "additionalProperties": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/facet_item" + } + }, + { + "$ref": "#/components/schemas/facet_item" + } + ] + } + }, + "boosts": { + "type": "object", + "additionalProperties": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/boost_item" + } + }, + { + "$ref": "#/components/schemas/boost_item" + } + ] + } + }, + "source_type": { + "enum": [ + "standard", + "remote", + "all" + ], + "description": "Optional parameter to search standard, remote only, or all available sources", + "default": "standard" + }, + "timeout": { + "type": "integer", + "description": "Optional timeout in ms for searching remote sources", + "minimum": 1 + }, + "content_sources": { + "type": "array", + "description": "Optional list of content source ids to only return results from", + "minItems": 1, + "items": { + "type": "string" + } + } + } + }, + "documents_api_query": { + "type": "object", + "additionalProperties": false, + "properties": { + "page": { + "type": "object", + "description": "Paging controls for the result set", + "additionalProperties": false, + "default": { +}, + "properties": { + "size": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 10 + }, + "current": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 1 + } + } + }, + "filters": { + "$ref": "#/components/schemas/filter_clauses_or_filter" + }, + "sort": { + "default": { + "_score": "desc" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/sort" + }, + { + "type": "array", + "maxItems": 10, + "items": { + "$ref": "#/components/schemas/sort" + } + } + ] + }, + "cursor": { + "type": "string", + "pattern": "^[a-zA-Z0-9+/]+=*$" + } + } + }, + "query_refinement_item": { + "type": "object", + "description": "Specifics regarding how this part of the query was refined", + "properties": { + "term": { + "type": "string", + "description": "The term(s) used for the trigger" + }, + "position": { + "type": "array", + "maxItems": 2, + "minItems": 2, + "items": { + "type": "number" + }, + "description": "The start and end position the term(s) exist in the original query" + }, + "trigger_type": { + "type": "string", + "description": "The type of trigger created" + }, + "trigger_filter_type": { + "type": "string", + "description": "The type of filter created from this trigger" + }, + "filter": { + "$ref": "#/components/schemas/filter" + } + } + }, + "search_api_result_item": { + "type": "object", + "description": "A single search result item", + "properties": { + "_meta": { + "type": "object", + "description": "Metadata about this specific result item", + "properties": { + "source": { + "type": "string" + }, + "last_updated": { + "type": "string" + }, + "content_source_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "score": { + "type": "number" + } + } + } + }, + "additionalProperties": { + "type": "object", + "properties": { + "raw": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "snippet": { + "type": "string", + "nullable": true + } + } + } + }, + "search_api_query_refinement": { + "type": "object", + "description": "Metadata regarding automatic refinements made to the query", + "properties": { + "submitted_query": { + "type": "string" + }, + "decorated_query_html": { + "type": "string" + }, + "refinements": { + "type": "array", + "items": { + "$ref": "#/components/schemas/query_refinement_item" + } + } + }, + "required": [ + "submitted_query", + "decorated_query_html", + "refinements" + ] + }, + "search_api_meta_content_source": { + "description": "a content source used in the search query", + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "service_type": { + "type": "string" + } + } + }, + "search_api_meta_content_sources": { + "description": "content sources used in the search query", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/search_api_meta_content_source" + } + }, + "search_facet_response_item": { + "description": "A single facet that was returned from the query", + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "value", + "range" + ] + }, + "data": { + "type": "array", + "description": "array of facets and counts for this field", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "count": { + "type": "integer" + }, + "key": { + "type": "string" + }, + "from": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "to": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "count" + ] + } + } + } + }, + "search_facets_response": { + "description": "facets returned from the query", + "oneOf": [ + { + "$ref": "#/components/schemas/search_facet_response_item" + }, + { + "type": "array", + "maxItems": 1024, + "items": { + "$ref": "#/components/schemas/search_facet_response_item" + } + } + ] + }, + "search_api_endpoint_response": { + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "page": { + "type": "object", + "required": [ + "current", + "total_pages", + "total_results", + "size" + ], + "properties": { + "current": { + "type": "integer" + }, + "total_pages": { + "type": "integer" + }, + "total_results": { + "type": "integer" + }, + "size": { + "type": "integer" + } + } + }, + "request_id": { + "type": "string", + "description": "Internal request ID for this query instance" + }, + "warnings": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Any warnings that the query generated" + }, + "query_refinements": { + "$ref": "#/components/schemas/search_api_query_refinement" + }, + "content_sources": { + "$ref": "#/components/schemas/search_api_meta_content_sources" + }, + "timeout": { + "type": "integer", + "description": "Remote source query timeout value used" + } + }, + "required": [ + "page", + "request_id" + ] + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/search_api_result_item" + } + }, + "facets": { + "$ref": "#/components/schemas/search_facets_response" + } + }, + "required": [ + "meta", + "results" + ] + }, + "event_is_click_type": { + "properties": { + "type": { + "enum": [ + "click" + ] + } + } + }, + "event_is_feedback_type": { + "properties": { + "type": { + "enum": [ + "feedback" + ] + } + } + }, + "event_click_requirements": { + "anyOf": [ + { + "not": { + "$ref": "#/components/schemas/event_is_click_type" + } + }, + { + "required": [ + "event" + ], + "not": { + "anyOf": [ + { + "required": [ + "score" + ] + } + ] + } + } + ] + }, + "event_feedback_requirements": { + "anyOf": [ + { + "not": { + "$ref": "#/components/schemas/event_is_feedback_type" + } + }, + { + "required": [ + "score" + ], + "not": { + "anyOf": [ + { + "required": [ + "event" + ] + } + ] + } + } + ] + }, + "analytics_event": { + "description": "Workplace Search analytics event", + "type": "object", + "additionalProperties": false, + "required": [ + "type", + "query_id", + "page", + "content_source_id", + "document_id", + "rank" + ], + "allOf": [ + { + "$ref": "#/components/schemas/event_click_requirements" + }, + { + "$ref": "#/components/schemas/event_feedback_requirements" + } + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "click", + "feedback" + ] + }, + "query_id": { + "type": "string", + "minLength": 1, + "maxLength": 128, + "description": "query identifier for the event" + }, + "page": { + "type": "integer", + "minimum": 1, + "description": "page number of the document in the query result set" + }, + "content_source_id": { + "type": "string", + "minLength": 1, + "maxLength": 128, + "description": "content source identifier for the event document" + }, + "document_id": { + "type": "string", + "minLength": 1, + "maxLength": 128, + "description": "document identifier for the event" + }, + "rank": { + "type": "integer", + "minimum": 0, + "description": "rank of the document in the overall result set" + }, + "event": { + "type": "string", + "minLength": 1, + "maxLength": 128, + "default": "api", + "description": "the target identifier for a click event" + }, + "score": { + "type": "integer", + "enum": [ + -1, + 1 + ], + "description": "the feedback score, constrained to the values -1 or 1" + } + } + }, + "search_group": { + "type": "object", + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "content_source_detail": { + "type": "object", + "additionalProperties": true + }, + "content_source_schema": { + "type": "object", + "additionalProperties": { + "type": "string", + "enum": [ + "text", + "geolocation", + "number", + "date" + ] + } + }, + "content_source_display_detail": { + "type": "object", + "required": [ + "label", + "field_name" + ], + "properties": { + "label": { + "type": "string" + }, + "field_name": { + "type": "string" + } + } + }, + "content_source_display": { + "type": "object", + "required": [ + "title_field", + "url_field" + ], + "additionalProperties": false, + "properties": { + "title_field": { + "type": "string" + }, + "url_field": { + "type": "string" + }, + "color": { + "type": "string", + "pattern": "^#[a-fA-F0-9]{6}$" + }, + "description_field": { + "type": "string", + "nullable": true + }, + "subtitle_field": { + "type": "string", + "nullable": true + }, + "type_field": { + "type": "string", + "nullable": true + }, + "media_type_field": { + "type": "string", + "nullable": true + }, + "created_by_field": { + "type": "string", + "nullable": true + }, + "updated_by_field": { + "type": "string", + "nullable": true + }, + "detail_fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/content_source_display_detail" + } + } + } + }, + "content_source_indexing_response": { + "type": "object", + "nullable": true, + "description": "Rules for indexing the content for this Content Source", + "required": [ + "default_action" + ], + "additionalProperties": false, + "properties": { + "enabled": { + "type": "boolean" + }, + "features": { + "$ref": "#/components/schemas/content_source_indexing_features" + }, + "default_action": { + "type": "string", + "enum": [ + "include", + "exclude" + ] + }, + "rules": { + "type": "array", + "minItems": 0, + "items": { + "$ref": "#/components/schemas/content_source_indexing_rule" + } + }, + "schedule": { + "$ref": "#/components/schemas/content_source_schedule_response" + } + } + }, + "content_source_indexing_features": { + "type": "object", + "required": [ + "thumbnails", + "content_extraction" + ], + "additionalProperties": false, + "properties": { + "thumbnails": { + "type": "object", + "required": [ + "enabled" + ], + "additionalProperties": false, + "properties": { + "enabled": { + "type": "boolean" + } + } + }, + "content_extraction": { + "type": "object", + "required": [ + "enabled" + ], + "additionalProperties": false, + "properties": { + "enabled": { + "type": "boolean" + } + } + } + } + }, + "content_source_indexing_rule": { + "type": "object", + "description": "An indexing rule to index or omit the content for this Content Source", + "properties": { + "exclude": { + "type": "string" + }, + "include": { + "type": "string" + }, + "filter_type": { + "type": "string", + "enum": [ + "object_type", + "path_template", + "file_extension" + ] + }, + "fields": { + "nullable": true, + "type": "array", + "items": { + "$ref": "#/components/schemas/content_source_indexing_rules_field" + } + } + }, + "minProperties": 1, + "maxProperties": 3, + "additionalProperties": false + }, + "content_source_indexing_rules_field": { + "type": "object", + "description": "A field to define remote data capture", + "required": [ + "remote", + "target" + ], + "properties": { + "remote": { + "type": "string" + }, + "target": { + "type": "string" + } + }, + "additionalProperties": false + }, + "content_source_schedule_response": { + "type": "object", + "nullable": true, + "description": "Schedule defining when and how often the content source should be synchronized", + "additionalProperties": false, + "properties": { + "full": { + "type": "string", + "description": "How often a full data synchronization should be performed, as an ISO-8601 duration" + }, + "incremental": { + "type": "string", + "description": "How often to synchronize new changes, as an ISO-8601 duration" + }, + "delete": { + "type": "string", + "description": "How often to purge deleted documents, as an ISO-8601 duration" + }, + "permissions": { + "type": "string", + "description": "How often to update user permissions, as an ISO-8601 duration" + }, + "blocked_windows": { + "type": "array", + "minItems": 0, + "items": { + "$ref": "#/components/schemas/content_source_job_type_window" + } + }, + "estimates": { + "type": "object", + "description": "Estimates of when the next sync of each type will be run and average execution time", + "additionalProperties": false, + "properties": { + "full": { + "$ref": "#/components/schemas/content_source_schedule_estimates" + }, + "incremental": { + "$ref": "#/components/schemas/content_source_schedule_estimates" + }, + "delete": { + "$ref": "#/components/schemas/content_source_schedule_estimates" + }, + "permissions": { + "$ref": "#/components/schemas/content_source_schedule_estimates" + } + } + } + } + }, + "content_source_schedule_estimates": { + "type": "object", + "additionalProperties": false, + "properties": { + "last_run": { + "type": "string", + "description": "The last run time" + }, + "duration": { + "type": "string", + "description": "The average execution time of the last 5 completed jobs, in ISO-8601 format" + }, + "next_start": { + "type": "string", + "description": "The estimated next execution time" + } + } + }, + "content_source_job_type_window": { + "type": "object", + "description": "A time window that applies to a specific type of job", + "required": [ + "job_type", + "day" + ], + "properties": { + "job_type": { + "type": "string", + "enum": [ + "full", + "incremental", + "delete", + "permissions", + "all" + ] + }, + "day": { + "type": "string", + "enum": [ + "all", + "sunday", + "monday", + "tuesday", + "wednesday", + "thursday", + "friday", + "saturday" + ] + }, + "start": { + "type": "string", + "description": "The start of the time window, in the format of HH:mm:ssZ" + }, + "end": { + "type": "string", + "description": "The end of the time window, in the format of HH:mm:ssZ" + } + }, + "additionalProperties": false + }, + "content_source_facets": { + "type": "object", + "nullable": true, + "description": "Facet customizations", + "required": [ + "overrides" + ], + "additionalProperties": false, + "properties": { + "overrides": { + "type": "array", + "minItems": 0, + "items": { + "$ref": "#/components/schemas/content_source_facet" + } + } + } + }, + "content_source_facet": { + "type": "object", + "required": [ + "field", + "enabled" + ], + "properties": { + "field": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "display_name": { + "type": "string", + "nullable": true + }, + "transform": { + "type": "string", + "enum": [ + "capitalize", + "titleize", + "mime_type", + null + ], + "nullable": true + } + } + }, + "content_source_automatic_query_refinements": { + "type": "object", + "nullable": true, + "description": "Automatic query refinement customizations", + "required": [ + "overrides" + ], + "additionalProperties": false, + "properties": { + "overrides": { + "type": "array", + "minItems": 0, + "items": { + "$ref": "#/components/schemas/content_source_automatic_query_refinement" + } + } + } + }, + "content_source_automatic_query_refinement": { + "type": "object", + "required": [ + "field", + "enabled", + "query_expansion_phrases" + ], + "properties": { + "field": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "query_expansion_phrases": { + "type": "array", + "items": { + "type": "string" + } + }, + "is_person": { + "type": "boolean", + "default": false + } + } + }, + "content_source": { + "description": "Workplace Search Content Source", + "type": "object", + "required": [ + "id", + "service_type", + "created_at", + "last_updated_at", + "is_remote", + "details", + "groups", + "name", + "context", + "is_searchable" + ], + "additionalProperties": false, + "properties": { + "id": { + "type": "string", + "description": "The Content Source Identifier." + }, + "service_type": { + "type": "string", + "description": "The Content Source's Service Type. For example, for Google Drive the Service Type is \"google_drive\"." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date/time at which this Content Source was originally created." + }, + "last_updated_at": { + "type": "string", + "format": "date-time", + "description": "The date/time at which this Content Source was last updated." + }, + "is_remote": { + "type": "boolean", + "description": "Whether or not this Content Source is a \"remote\" content source. See https://www.elastic.co/guide/en/workplace-search/current/workplace-search-content-sources.html#remote" + }, + "details": { + "type": "array", + "minItems": 0, + "items": { + "$ref": "#/components/schemas/content_source_detail" + }, + "description": "A list of key/value metadata for the Content Source and the account which authenticated/connected it." + }, + "groups": { + "type": "array", + "minItems": 0, + "items": { + "$ref": "#/components/schemas/search_group" + }, + "description": "A list of Workplace Search Group names and IDs which have access to this Content Source." + }, + "name": { + "type": "string", + "description": "The human readable display name of this Content Source." + }, + "schema": { + "$ref": "#/components/schemas/content_source_schema", + "description": "The schema that each document in this Content Source must adhere to." + }, + "display": { + "$ref": "#/components/schemas/content_source_display", + "description": "The display details which governs which fields are displayed, and in what order, in the search results." + }, + "context": { + "type": "string", + "enum": [ + "organization", + "private" + ], + "description": "Can be either \"organization\" or \"private.\" This specifies whether this Content Source is available to groups of users, or a single user." + }, + "is_searchable": { + "type": "boolean", + "description": "Whether or not this Content Source can currently be searched over on the search page." + }, + "indexing": { + "$ref": "#/components/schemas/content_source_indexing_response" + }, + "facets": { + "$ref": "#/components/schemas/content_source_facets" + }, + "automatic_query_refinement": { + "$ref": "#/components/schemas/content_source_automatic_query_refinements" + }, + "document_count": { + "type": "integer", + "description": "How many documents are currently indexed in this Content Source. Note, this field is not applicable to Remote Content Sources." + }, + "last_indexed_at": { + "type": "string", + "format": "date-time", + "nullable": true, + "description": "The date/time when documents were last indexed into this Content Source. This may be \"null\" if documents have not yet been indexed. Note, this field is not applicable to Remote Content Sources." + } + } + }, + "content_source_indexing": { + "type": "object", + "nullable": true, + "description": "Rules for indexing the content for this Content Source", + "required": [ + "default_action" + ], + "additionalProperties": false, + "properties": { + "enabled": { + "type": "boolean" + }, + "features": { + "$ref": "#/components/schemas/content_source_indexing_features" + }, + "default_action": { + "type": "string", + "enum": [ + "include", + "exclude" + ] + }, + "rules": { + "type": "array", + "minItems": 0, + "items": { + "$ref": "#/components/schemas/content_source_indexing_rule" + } + }, + "schedule": { + "$ref": "#/components/schemas/content_source_schedule" + } + } + }, + "content_source_schedule": { + "type": "object", + "nullable": true, + "description": "Schedule defining when and how often the content source should be synchronized", + "additionalProperties": false, + "properties": { + "full": { + "type": "string", + "description": "How often a full data synchronization should be performed, as an ISO-8601 duration" + }, + "incremental": { + "type": "string", + "description": "How often to synchronize new changes, as an ISO-8601 duration" + }, + "delete": { + "type": "string", + "description": "How often to purge deleted documents, as an ISO-8601 duration" + }, + "permissions": { + "type": "string", + "description": "How often to update user permissions, as an ISO-8601 duration" + }, + "blocked_windows": { + "type": "array", + "minItems": 0, + "items": { + "$ref": "#/components/schemas/content_source_job_type_window" + } + } + } + }, + "content_source_create_definition": { + "description": "Definition to create a Workplace Search Content Source", + "type": "object", + "required": [ + "name" + ], + "additionalProperties": false, + "properties": { + "name": { + "type": "string", + "pattern": "^[\\w\\s.()'\\-\\/]*$", + "maxLength": 64, + "description": "The human readable display name for this Content Source." + }, + "schema": { + "$ref": "#/components/schemas/content_source_schema", + "description": "The schema that each document in this Content Source will adhere to." + }, + "display": { + "$ref": "#/components/schemas/content_source_display", + "description": "The display details which governs which fields will be displayed, and in what order, in the search results." + }, + "is_searchable": { + "type": "boolean", + "description": "Whether or not this Content Source will be searchable on the search page." + }, + "indexing": { + "$ref": "#/components/schemas/content_source_indexing" + }, + "facets": { + "$ref": "#/components/schemas/content_source_facets" + }, + "automatic_query_refinement": { + "$ref": "#/components/schemas/content_source_automatic_query_refinements" + } + } + }, + "content_source_update_definition": { + "description": "Definition to update a Workplace Search Content Source", + "type": "object", + "required": [ + "name", + "is_searchable" + ], + "additionalProperties": false, + "properties": { + "name": { + "type": "string", + "pattern": "^[\\w\\s.()'\\-\\/]*$", + "maxLength": 64, + "description": "The human readable display name for this Content Source." + }, + "schema": { + "$ref": "#/components/schemas/content_source_schema", + "description": "The schema that each document in this Content Source will adhere to." + }, + "display": { + "$ref": "#/components/schemas/content_source_display", + "description": "The display details which governs which fields will be displayed, and in what order, in the search results." + }, + "is_searchable": { + "type": "boolean", + "description": "Whether or not this Content Source will be searchable on the search page." + }, + "indexing": { + "$ref": "#/components/schemas/content_source_indexing" + }, + "facets": { + "$ref": "#/components/schemas/content_source_facets" + }, + "automatic_query_refinement": { + "$ref": "#/components/schemas/content_source_automatic_query_refinements" + } + } + }, + "abstract_sync_command": { + "required": [ + "command" + ] + }, + "start_sync_command": { + "allOf": [ + { + "$ref": "#/components/schemas/abstract_sync_command" + }, + { + "type": "object", + "description": "Command to start a synchronisation job for Content Source", + "properties": { + "force_interrupt": { + "type": "boolean" + }, + "command": { + "type": "string", + "enum": [ + "start" + ] + } + }, + "additionalProperties": false + } + ] + }, + "interrupt_sync_command": { + "allOf": [ + { + "$ref": "#/components/schemas/abstract_sync_command" + }, + { + "type": "object", + "description": "Command to interrupt a synchronisation job for Content Source", + "properties": { + "command": { + "type": "string", + "enum": [ + "interrupt" + ] + } + }, + "additionalProperties": false + } + ] + }, + "sync_jobs_command": { + "anyOf": [ + { + "$ref": "#/components/schemas/start_sync_command" + }, + { + "$ref": "#/components/schemas/interrupt_sync_command" + } + ] + }, + "synonyms_page": { + "type": "object", + "description": "Paging controls for the result set", + "additionalProperties": false, + "default": { +}, + "properties": { + "size": { + "type": "integer", + "minimum": 1, + "maximum": 25, + "default": 25 + }, + "current": { + "type": "integer", + "minimum": 1, + "default": 1 + } + } + }, + "synonyms_terms_filter": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "minItems": 1, + "items": { + "type": "string" + } + } + ] + }, + "synonyms_filter": { + "type": "object", + "description": "Filters to apply to the listing", + "additionalProperties": false, + "properties": { + "terms": { + "$ref": "#/components/schemas/synonyms_terms_filter" + } + } + }, + "synonyms_sort": { + "type": "object", + "description": "Field and direction to sort on", + "additionalProperties": false, + "properties": { + "created_at": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + }, + "updated_at": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + } + } + }, + "synonyms_list_definition": { + "type": "object", + "description": "", + "additionalProperties": false, + "properties": { + "page": { + "$ref": "#/components/schemas/synonyms_page" + }, + "sort": { + "$ref": "#/components/schemas/synonyms_sort" + }, + "filter": { + "$ref": "#/components/schemas/synonyms_filter" + } + } + }, + "bulk_synonym_sets": { + "description": "An array of sets to be created", + "type": "array", + "minItems": 1, + "maxItems": 100, + "items": { + "$ref": "#/components/schemas/single_synonym_set_object" + } + }, + "single_synonym_set_object": { + "description": "A single synonym set", + "type": "object", + "additionalProperties": false, + "properties": { + "synonyms": { + "$ref": "#/components/schemas/single_synonym_set" + } + } + }, + "single_synonym_set": { + "description": "A list of terms for this synonym set", + "type": "array", + "minItems": 2, + "items": { + "type": "string" + } + }, + "synonyms_create_definition": { + "type": "object", + "additionalProperties": false, + "properties": { + "synonyms": { + "$ref": "#/components/schemas/single_synonym_set" + }, + "synonym_sets": { + "$ref": "#/components/schemas/bulk_synonym_sets" + } + }, + "oneOf": [ + { + "required": [ + "synonyms" + ] + }, + { + "required": [ + "synonym_sets" + ] + } + ] + }, + "synonyms_update_definition": { + "type": "object", + "additionalProperties": false, + "properties": { + "synonyms": { + "description": "A list of terms for this synonym set", + "type": "array", + "minItems": 2, + "items": { + "type": "string" + } + } + }, + "required": [ + "synonyms" + ] + }, + "single_synonym_set_response": { + "type": "object", + "description": "A representation of a synonym set", + "properties": { + "id": { + "type": "string", + "description": "The id of the synonym set" + }, + "synonyms": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The synonym terms for the set" + }, + "created_at": { + "type": "string", + "description": "The timestamp in ISO format when the set was created" + }, + "updated_at": { + "type": "string", + "description": "The timestamp in ISO format when the set was last updated" + } + } + }, + "list_synonym_set_response": { + "type": "object", + "description": "A list of synonym sets with metadata", + "properties": { + "meta": { + "type": "object", + "properties": { + "page": { + "type": "object", + "required": [ + "current", + "total_pages", + "total_results", + "size" + ], + "properties": { + "current": { + "type": "integer" + }, + "total_pages": { + "type": "integer" + }, + "total_results": { + "type": "integer" + }, + "size": { + "type": "integer" + } + } + }, + "filter": { + "type": "object", + "description": "Filters used for the listing", + "properties": { + "terms": { + "oneOf": [ + { + "type": "string", + "description": "The filter used (if any)" + }, + { + "type": "array", + "description": "Filter terms used (if any)", + "items": { + "type": "string" + } + } + ] + } + } + }, + "sort": { + "type": "object", + "description": "Any sorting applied to the result set", + "properties": { + "created_at": { + "enum": [ + "asc", + "desc" + ] + }, + "updated_at": { + "enum": [ + "asc", + "desc" + ] + } + } + } + } + }, + "results": { + "type": "array", + "description": "The synonym list results", + "items": { + "$ref": "#/components/schemas/single_synonym_set_response" + } + } + } + }, + "created_synonym_set_response": { + "type": "object", + "description": "A created synonym set with possible error information", + "properties": { + "id": { + "type": "string", + "description": "The id of the created set, or null if invalid" + }, + "synonyms": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The synonym terms for the set" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + }, + "description": "An optional array of error messages, if any" + } + } + }, + "batch_synonym_sets_response": { + "type": "object", + "description": "Response from a request to create a batch of synonym sets", + "properties": { + "has_errors": { + "type": "boolean", + "description": "True if any of the requested synonym sets have errors" + }, + "synonym_sets": { + "type": "array", + "description": "The synonym sets requested to be created", + "items": { + "$ref": "#/components/schemas/created_synonym_set_response" + } + } + } + }, + "content_source_icon_definition": { + "description": "Definition to upload Workplace Search Custom Source icons", + "type": "object", + "minProperties": 1, + "additionalProperties": false, + "properties": { + "main_icon": { + "type": "string", + "format": "byte", + "nullable": true + }, + "alt_icon": { + "type": "string", + "format": "byte", + "nullable": true + } + } + }, + "external_identity_create_definition": { + "description": "Definition to create Workplace Search External User Identity", + "type": "object", + "required": [ + "external_user_id", + "external_user_properties", + "permissions" + ], + "additionalProperties": false, + "properties": { + "external_user_id": { + "type": "string", + "minItems": 1 + }, + "external_user_properties": { + "type": "array", + "minItems": 0, + "maxItems": 1024, + "items": { + "$ref": "#/components/schemas/external_user_property" + }, + "description": "A list of external user properties, where each property is an object with an attribute_name and attribute_value." + }, + "permissions": { + "type": "array", + "minItems": 0, + "items": { + "$ref": "#/components/schemas/permission" + }, + "description": "A list of user permissions." + } + } + }, + "external_identity_update_definition": { + "description": "Definition to update Workplace Search External User Identity", + "type": "object", + "required": [ + "external_user_id" + ], + "minProperties": 2, + "additionalProperties": false, + "properties": { + "external_user_id": { + "type": "string", + "minItems": 1 + }, + "external_user_properties": { + "type": "array", + "nullable": true, + "minItems": 0, + "maxItems": 1024, + "items": { + "$ref": "#/components/schemas/external_user_property" + }, + "description": "A list of external user properties, where each property is an object with an attribute_name and attribute_value." + }, + "permissions": { + "type": "array", + "nullable": true, + "minItems": 0, + "items": { + "$ref": "#/components/schemas/permission" + }, + "description": "A list of user permissions." + } + } + }, + "range": { + "type": "object", + "minProperties": 1, + "additionalProperties": false, + "properties": { + "from": { + "description": "The start of the range, inclusive", + "type": "string" + }, + "to": { + "description": "The end of the range, exclusive", + "type": "string" + } + } + }, + "documents_delete_definition": { + "description": "Definition to delete documents by query in a content source", + "type": "object", + "additionalProperties": false, + "properties": { + "filters": { + "type": "object", + "additionalProperties": false, + "properties": { + "last_updated": { + "description": "The range filter for field last_updated", + "$ref": "#/components/schemas/range" + } + } + } + } + } + }, + "parameters": { + "content_source_id": { + "name": "content_source_id", + "schema": { + "type": "string" + }, + "in": "path", + "required": true, + "description": "Unique ID for a Custom API source, provided upon creation of a Custom API Source" + }, + "current_page": { + "name": "current_page", + "in": "query", + "schema": { + "type": "integer" + }, + "required": false, + "x-codegen-param-name": "currentPage", + "description": "Which page of results to request" + }, + "page_size": { + "name": "page_size", + "in": "query", + "schema": { + "type": "integer" + }, + "required": false, + "x-codegen-param-name": "pageSize", + "description": "The number of results to return in a page" + }, + "external_user_id": { + "name": "external_user_id", + "schema": { + "type": "string" + }, + "in": "path", + "required": true, + "description": "Unique identifier of an external user, such as username or email address." + }, + "document_id": { + "name": "id", + "schema": { + "type": "string", + "minLength": 1, + "maxLength": 487 + }, + "in": "path", + "required": true, + "description": "Unique ID for a content source document. Provided upon or returned at creation." + }, + "job_type": { + "name": "job_type", + "schema": { + "type": "array", + "collectionFormat": "csv", + "items": { + "enum": [ + "full", + "incremental", + "delete", + "permissions" + ] + } + }, + "in": "query", + "required": false, + "description": "The type of sync job to consider" + }, + "synonym_set_id": { + "description": "Synonym Set ID", + "in": "path", + "name": "synonym_set_id", + "required": true, + "schema": { + "type": "string" + } + } + } + }, + "security": [ + { + "basic_auth": [ + + ] + }, + { + "bearer_auth": [ + + ] + } + ], + "paths": { + "/api/ws/v1/sources": { + "post": { + "summary": "Create a content source", + "tags": [ + "Content Sources API" + ], + "description": "Create a custom content source", + "operationId": "createContentSource", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-content-sources-api.html#create-content-source-api" + }, + "parameters": [ + + ], + "responses": { + "400": { + "description": "bad request", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/errors_response" + }, + { + "$ref": "#/components/schemas/content_source_partial_create_response" + } + ] + } + } + } + }, + "401": { + "description": "unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/content_source" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/content_source_create_definition" + } + } + }, + "required": true + } + }, + "get": { + "summary": "Retrieves all content sources", + "tags": [ + "Content Sources API" + ], + "description": "Retrieves all content sources", + "operationId": "listContentSources", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-content-sources-api.html#list-content-sources-api" + }, + "parameters": [ + { + "name": "page[current]", + "in": "query", + "$ref": "#/components/parameters/current_page", + "required": false, + "schema": { + "type": ["integer"] + } + }, + { + "name": "page[size]", + "in": "query", + "$ref": "#/components/parameters/page_size", + "required": false, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "401": { + "description": "unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/list_content_sources_response" + } + } + } + } + } + } + }, + "/api/ws/v1/sources/{content_source_id}": { + "get": { + "summary": "Retrieves a content source by ID", + "tags": [ + "Content Sources API" + ], + "description": "Retrieves a content source by ID", + "operationId": "getContentSource", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "parameters": [ + { + "name": "content_source_id", + "in": "path", + "$ref": "#/components/parameters/content_source_id", + "required": true + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-content-sources-api.html#get-content-source-api" + }, + "responses": { + "401": { + "description": "unauthorized" + }, + "404": { + "description": "not found" + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/content_source" + } + } + } + } + } + }, + "put": { + "summary": "Update a content source", + "tags": [ + "Content Sources API" + ], + "description": "Update a content source", + "operationId": "putContentSource", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-content-sources-api.html#update-content-source-api" + }, + "parameters": [ + { + "name": "content_source_id", + "in": "path", + "$ref": "#/components/parameters/content_source_id", + "required": true + } + ], + "responses": { + "400": { + "description": "bad request", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/errors_response" + }, + { + "$ref": "#/components/schemas/content_source_partial_update_response" + } + ] + } + } + } + }, + "401": { + "description": "unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/content_source" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/content_source_update_definition" + } + } + }, + "required": true + } + }, + "delete": { + "summary": "Deletes a content source by ID", + "tags": [ + "Content Sources API" + ], + "description": "Deletes a content source by ID", + "operationId": "deleteContentSource", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-content-sources-api.html#remove-content-source-api" + }, + "parameters": [ + { + "name": "content_source_id", + "in": "path", + "$ref": "#/components/parameters/content_source_id", + "required": true + } + ], + "responses": { + "401": { + "description": "unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "404": { + "description": "not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "400": { + "description": "bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/record_deleted_response" + } + } + } + } + } + } + }, + "/api/ws/v1/sources/{content_source_id}/icon": { + "put": { + "summary": "Upload content source icons", + "tags": [ + "Content Sources API" + ], + "description": "Upload content source icons", + "operationId": "putContentSourceIcons", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-content-sources-api.html#upload-content-source-icon-api" + }, + "parameters": [ + { + "name": "content_source_id", + "in": "path", + "$ref": "#/components/parameters/content_source_id", + "required": true + } + ], + "responses": { + "400": { + "description": "bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "401": { + "description": "unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/upload_icons_response" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/content_source_icon_definition" + } + } + }, + "required": true + } + } + }, + "/api/ws/v1/sources/{content_source_id}/documents": { + "delete": { + "summary": "Deletes documents by query in a custom content source", + "tags": [ + "Documents API" + ], + "description": "Deletes documents by query in a custom content source", + "operationId": "deleteDocumentsByQuery", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-custom-sources-api.html#delete-documents-by-query" + }, + "parameters": [ + { + "name": "content_source_id", + "in": "path", + "$ref": "#/components/parameters/content_source_id", + "required": true + } + ], + "responses": { + "401": { + "description": "unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "404": { + "description": "not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/delete_documents_by_query_response" + } + } + } + }, + "400": { + "description": "bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/documents_delete_definition" + } + } + } + } + }, + "post": { + "summary": "Lists documents from a custom content source", + "tags": [ + "Documents API" + ], + "description": "Lists documents from a custom content source", + "operationId": "listDocuments", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-custom-sources-api.html#list-documents" + }, + "parameters": [ + { + "name": "content_source_id", + "in": "path", + "$ref": "#/components/parameters/content_source_id", + "required": true + } + ], + "responses": { + "401": { + "description": "unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "404": { + "description": "not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/document_list_response" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/documents_api_query" + } + } + } + } + } + }, + "/api/ws/v1/sources/{content_source_id}/documents/bulk_create": { + "post": { + "summary": "Indexes one or more new documents into a custom content source, or updates one or more existing documents", + "tags": [ + "Documents API" + ], + "description": "Indexes one or more new documents into a custom content source, or updates one or more existing documents", + "operationId": "indexDocuments", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-custom-sources-api.html#index-and-update" + }, + "parameters": [ + { + "name": "content_source_id", + "in": "path", + "$ref": "#/components/parameters/content_source_id", + "required": true + } + ], + "x-codegen-request-body-name": "documents", + "responses": { + "400": { + "description": "bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "413": { + "description": "payload too large", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "401": { + "description": "unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "404": { + "description": "not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/document_bulk_create_response" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/bulk_documents" + } + } + }, + "required": true + } + } + }, + "/api/ws/v1/sources/{content_source_id}/documents/bulk_destroy": { + "post": { + "summary": "Deletes a list of documents from a custom content source", + "tags": [ + "Documents API" + ], + "description": "Remove documents from a Custom API Source", + "operationId": "deleteDocuments", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-custom-sources-api.html#delete-by-id" + }, + "parameters": [ + { + "name": "content_source_id", + "in": "path", + "$ref": "#/components/parameters/content_source_id", + "required": true + } + ], + "x-codegen-request-body-name": "document_ids", + "responses": { + "400": { + "description": "bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "413": { + "description": "payload too large", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "401": { + "description": "unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "404": { + "description": "not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/document_bulk_delete_response" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/document_ids" + } + } + }, + "required": true + } + } + }, + "/api/ws/v1/sources/{content_source_id}/documents/{document_id}": { + "get": { + "summary": "Retrieves a document by ID from the specified content source", + "tags": [ + "Documents API" + ], + "description": "Retrieves a document by ID from the specified content source", + "operationId": "getDocument", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-content-sources-api.html#get-document-by-id-api" + }, + "parameters": [ + { + "name": "content_source_id", + "in": "path", + "$ref": "#/components/parameters/content_source_id", + "required": true + }, + { + "name": "document_id", + "in": "path", + "$ref": "#/components/parameters/document_id", + "required": true + } + ], + "responses": { + "401": { + "description": "unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "404": { + "description": "not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/single_document_response" + } + } + } + } + } + } + }, + "/api/ws/v1/sources/{content_source_id}/external_identities": { + "get": { + "summary": "Retrieves all external identities", + "tags": [ + "External Identities API" + ], + "description": "Retrieves all external identities", + "operationId": "listExternalIdentities", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-external-identities-api.html#list-external-identities" + }, + "parameters": [ + { + "name": "content_source_id", + "in": "path", + "$ref": "#/components/parameters/content_source_id", + "required": true + }, + { + "name": "page[current]", + "in": "query", + "$ref": "#/components/parameters/current_page", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "page[size]", + "in": "query", + "$ref": "#/components/parameters/page_size", + "required": false, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "401": { + "description": "unauthorized" + }, + "404": { + "description": "not found" + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/list_external_identities_response" + } + } + } + } + } + }, + "post": { + "summary": "Adds a new external identity", + "tags": [ + "External Identities API" + ], + "description": "Adds a new external identity", + "operationId": "createExternalIdentity", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-external-identities-api.html#add-external-identity" + }, + "parameters": [ + { + "name": "content_source_id", + "in": "path", + "$ref": "#/components/parameters/content_source_id", + "required": true + } + ], + "responses": { + "400": { + "description": "bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response", + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "401": { + "description": "unauthorized" + }, + "404": { + "description": "not found" + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/external_identity" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/external_identity_create_definition" + } + } + }, + "required": true + } + } + }, + "/api/ws/v1/sources/{content_source_id}/external_identities/{external_user_id}": { + "get": { + "summary": "Retrieves an external identity", + "tags": [ + "External Identities API" + ], + "description": "Retrieves an external identity", + "operationId": "getExternalIdentity", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-external-identities-api.html#show-external-identity" + }, + "parameters": [ + { + "name": "content_source_id", + "in": "path", + "$ref": "#/components/parameters/content_source_id", + "required": true + }, + { + "name": "external_user_id", + "in": "path", + "$ref": "#/components/parameters/external_user_id", + "required": true + } + ], + "responses": { + "401": { + "description": "unauthorized" + }, + "404": { + "description": "not found" + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/external_identity" + } + } + } + } + } + }, + "put": { + "summary": "Updates an external identity", + "tags": [ + "External Identities API" + ], + "description": "Updates an external identity", + "operationId": "putExternalIdentity", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-external-identities-api.html#update-external-identity" + }, + "parameters": [ + { + "name": "content_source_id", + "in": "path", + "$ref": "#/components/parameters/content_source_id", + "required": true + }, + { + "name": "external_user_id", + "in": "path", + "$ref": "#/components/parameters/external_user_id", + "required": true + } + ], + "responses": { + "401": { + "description": "unauthorized" + }, + "404": { + "description": "not found" + }, + "400": { + "description": "bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/external_identity" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/external_identity_update_definition" + } + } + }, + "required": true + } + }, + "delete": { + "summary": "Deletes an external identity", + "tags": [ + "External Identities API" + ], + "description": "Deletes an external identity", + "operationId": "deleteExternalIdentity", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-external-identities-api.html#remove-external-identity" + }, + "parameters": [ + { + "name": "content_source_id", + "in": "path", + "$ref": "#/components/parameters/content_source_id", + "required": true + }, + { + "name": "external_user_id", + "in": "path", + "$ref": "#/components/parameters/external_user_id", + "required": true + } + ], + "responses": { + "401": { + "description": "unauthorized" + }, + "404": { + "description": "not found" + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/delete_external_identities_response" + } + } + } + } + } + } + }, + "/api/ws/v1/sources/{content_source_id}/sync/jobs": { + "post": { + "summary": "Issue commands to a Content Source's sync jobs", + "tags": [ + "Sync Jobs API" + ], + "description": "Control a content source's sync jobs", + "operationId": "commandSyncJobs", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-sync-jobs-api.html#command-sync-jobs-api" + }, + "parameters": [ + { + "name": "content_source_id", + "in": "path", + "$ref": "#/components/parameters/content_source_id", + "required": true + }, + { + "name": "job_type", + "in": "query", + "$ref": "#/components/parameters/job_type", + "required": false, + "schema": { + "type": "array" + } + } + ], + "responses": { + "401": { + "description": "unauthorized" + }, + "402": { + "description": "payment required" + }, + "404": { + "description": "not found" + }, + "400": { + "description": "bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/sync_jobs_command_response" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/sync_jobs_command" + } + } + }, + "required": true + } + } + }, + "/api/ws/v1/synonyms/{synonym_set_id}": { + "get": { + "summary": "Retrieve a synonym set by ID", + "tags": [ + "Synonyms API" + ], + "description": "Retrieve a synonym set by ID", + "operationId": "getSynonymSet", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-synonyms-api.html#show-synonym" + }, + "parameters": [ + { + "name": "synonym_set_id", + "in": "path", + "$ref": "#/components/parameters/synonym_set_id", + "required": true + } + ], + "responses": { + "401": { + "description": "unauthorized" + }, + "404": { + "description": "not found" + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/single_synonym_set_response" + } + } + } + } + } + }, + "put": { + "summary": "Update a synonym set", + "tags": [ + "Synonyms API" + ], + "description": "Update a synonym set", + "operationId": "putSynonymSet", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-synonyms-api.html#update-synonym" + }, + "parameters": [ + { + "name": "synonym_set_id", + "in": "path", + "$ref": "#/components/parameters/synonym_set_id", + "required": true + } + ], + "responses": { + "400": { + "description": "bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "401": { + "description": "unauthorized" + }, + "404": { + "description": "not found" + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/single_synonym_set_response" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/synonyms_update_definition" + } + } + }, + "required": true + } + }, + "delete": { + "summary": "Delete a synonym set", + "tags": [ + "Synonyms API" + ], + "description": "Delete a synonym set", + "operationId": "deleteSynonymSet", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-synonyms-api.html#delete-synonym" + }, + "parameters": [ + { + "name": "synonym_set_id", + "in": "path", + "$ref": "#/components/parameters/synonym_set_id", + "required": true + } + ], + "responses": { + "401": { + "description": "unauthorized" + }, + "404": { + "description": "not found" + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/record_deleted_response" + } + } + } + } + } + } + }, + "/api/ws/v1/synonyms": { + "get": { + "summary": "Retrieves all synonym sets", + "tags": [ + "Synonyms API" + ], + "description": "Retrieve a list of synonym sets", + "operationId": "listSynonymSets", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-synonyms-api.html#list-synonyms" + }, + "parameters": [ + + ], + "responses": { + "400": { + "description": "bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "401": { + "description": "unauthorized" + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/list_synonym_set_response" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/synonyms_list_definition" + } + } + } + } + }, + "post": { + "summary": "Create a batch of synonym sets", + "tags": [ + "Synonyms API" + ], + "description": "Create batched synonym sets", + "operationId": "createBatchSynonymSets", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-synonyms-api.html#create-synonyms" + }, + "parameters": [ + + ], + "responses": { + "400": { + "description": "bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "401": { + "description": "unauthorized" + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/batch_synonym_sets_response" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/synonyms_create_definition" + } + } + }, + "required": true + } + } + }, + "/api/ws/v1/automatic_query_refinement": { + "get": { + "summary": "Get current triggers blocklist", + "description": "Get current triggers blocklist", + "operationId": "getTriggersBlocklist", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/automatic-query-refinement-blocklist.html" + }, + "responses": { + "401": { + "description": "unauthorized" + }, + "404": { + "description": "not found" + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/triggers_blocklist_wrapper_definition" + } + } + } + } + } + }, + "put": { + "summary": "Update current triggers blocklist", + "description": "Update current triggers blocklist", + "operationId": "putTriggersBlocklist", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/automatic-query-refinement-blocklist.html" + }, + "parameters": [ + + ], + "responses": { + "401": { + "description": "unauthorized" + }, + "404": { + "description": "not found" + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "example": { + "blocklist": [ + "one", + "two", + "three" + ] + }, + "schema": { + "$ref": "#/components/schemas/triggers_blocklist_wrapper_definition" + } + } + } + }, + "400": { + "description": "bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + } + } + } + }, + "/api/ws/v1/sources/{content_source_id}/automatic_query_refinement": { + "get": { + "summary": "Retrieves a content source's automatic query refinement details", + "tags": [ + "Content Sources API" + ], + "description": "Retrieves a content source's automatic query refinement details", + "operationId": "getAutoQueryRefinementDetails", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "parameters": [ + { + "name": "content_source_id", + "in": "path", + "$ref": "#/components/parameters/content_source_id", + "required": true + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-content-sources-api.html#get-automatic-query-refinement-details-api" + }, + "responses": { + "401": { + "description": "unauthorized" + }, + "404": { + "description": "not found" + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/automatic_query_refinement_details_response" + } + } + } + } + } + } + }, + "/api/ws/v1/whoami": { + "get": { + "summary": "Get the authenticated user", + "description": "Get the authenticated user", + "operationId": "getCurrentUser", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-user-api.html#get-current-user-api" + }, + "responses": { + "401": { + "description": "unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/whoami_response" + } + } + } + } + } + } + }, + "/api/ws/v1/analytics/event": { + "post": { + "summary": "Capture click and feedback analytic events", + "tags": [ + "Analytics API" + ], + "description": "Capture Analytic events for click and feedback", + "operationId": "createAnalyticsEvent", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "parameters": [ + + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-analytics-api.html" + }, + "responses": { + "400": { + "description": "bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "401": { + "description": "unauthorized" + }, + "200": { + "description": "ok" + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/analytics_event" + } + } + }, + "required": true + } + } + }, + "/api/ws/v1/search": { + "post": { + "summary": "Search across available sources with various query tuning options", + "tags": [ + "Search API" + ], + "description": "Issue a Search Query", + "operationId": "search", + "security": [ + { + "bearer_auth": [ + + ] + } + ], + "parameters": [ + + ], + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-search-api.html" + }, + "responses": { + "400": { + "description": "bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errors_response" + } + } + } + }, + "401": { + "description": "unauthorized" + }, + "200": { + "description": "ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/search_api_endpoint_response" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/search_api_query" + } + } + }, + "required": true + } + } + } + }, + "tags": [ + { + "name": "Documents API", + "description": "Index, update, and destroy documents from a Custom API Source", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-custom-sources-api.html" + } + }, + { + "name": "Search API", + "description": "Comprehensive endpoint to issue search queries and retrieve results", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-search-api.html" + } + }, + { + "name": "Analytics API", + "description": "Allows logging of analytic events for click and feedback results via API", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-analytics-api.html" + } + }, + { + "name": "External Identities API", + "description": "Add, remove, and list mappings between External Source Identities and Internal Users", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-external-identities-api.html" + } + }, + { + "name": "Content Sources API", + "description": "Add, update, remove, list, and show Content Sources", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-content-sources-api.html" + } + }, + { + "name": "Sync Jobs API", + "description": "Interact with Content Source sync jobs", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-sync-jobs-api.html" + } + }, + { + "name": "Synonyms API", + "description": "Add, update, remove, list, and show Synonyms", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-synonyms-api.html" + } + } + ] +} diff --git a/openapi-converter/openapi_to_clients_schema/src/endpoints.rs b/openapi-converter/openapi_to_clients_schema/src/endpoints.rs new file mode 100644 index 0000000000..468c24678e --- /dev/null +++ b/openapi-converter/openapi_to_clients_schema/src/endpoints.rs @@ -0,0 +1,18 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +// TODO diff --git a/openapi-converter/openapi_to_clients_schema/src/lib.rs b/openapi-converter/openapi_to_clients_schema/src/lib.rs new file mode 100644 index 0000000000..f93ff73cff --- /dev/null +++ b/openapi-converter/openapi_to_clients_schema/src/lib.rs @@ -0,0 +1,67 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +pub mod openapi; +pub mod types; +pub mod endpoints; + +use std::convert::Into; +use tracing::warn; +use clients_schema::Model; +use openapi::OpenAPI; + +/// +/// Generate a schema.json from an OpenAPI schema +/// +pub fn generate(open_api: &OpenAPI) -> anyhow::Result { + + let mut json_schema = clients_schema::Model::default(); + + generate_types(open_api, &mut json_schema)?; + + // endpoints + // for (id, path) in &open_api.paths.paths { + // let endpoint = generate_endpoint(open_api, id, path)?; + // json_schema.endpoints.push(endpoint); + // } + + Ok(json_schema) +} + +/// +/// Generate all types from OpenAPI components +/// +fn generate_types( + open_api: &OpenAPI, + model: &mut Model +) -> anyhow::Result<()> { + + if let Some(ref components) = open_api.components { + let mut types = types::Types::default(); + for (id, schema) in &components.schemas { + let result = types::generate_type(open_api, &id, &schema.into(), &mut types); + + if let Err(err) = result { + warn!("Problem with type '{id}'\n {err}\n Definition: {:?}", &schema); + } + } + let _ = types.check_tracker(); // TODO: actually fail + model.types = types.types(); + } + + Ok(()) +} diff --git a/openapi-converter/openapi_to_clients_schema/src/main.rs b/openapi-converter/openapi_to_clients_schema/src/main.rs new file mode 100644 index 0000000000..87be8dec54 --- /dev/null +++ b/openapi-converter/openapi_to_clients_schema/src/main.rs @@ -0,0 +1,61 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +use std::collections::BTreeSet; +use openapi_to_clients_schema::openapi::OpenAPI; +use tracing::{Level, info}; +use tracing_subscriber::FmtSubscriber; +use std::path::PathBuf; + +fn main() -> anyhow::Result<()> { + + let subscriber = FmtSubscriber::builder() + .with_max_level(Level::TRACE) + .finish(); + tracing::subscriber::set_global_default(subscriber)?; + + //let file = "../../ent-search/swagger/v1/enterprise-search.json"; + //let file = "../../ent-search/swagger/v1/workplace-search.json"; + let file = "./openapi_to_clients_schema/fixtures/workplace-search.json"; + + let src = PathBuf::from(file); + let dest = src.with_extension("schema.json"); + + info!("Loading OpenAPI from {file}"); + + let file = std::fs::File::open(file)?; + + let json_deser = &mut serde_json::Deserializer::from_reader(file); + + // Track unused fields, to find any additional stuff the OpenAPI model would miss + let mut unused = BTreeSet::new(); + + let open_api: openapiv3::OpenAPI = serde_ignored::deserialize(json_deser, |path| { + unused.insert(path.to_string()); + })?; + + if !unused.is_empty() { + println!("Unused fields in the OpenAPI schema: {:?}", unused); + } + + let sch_json = openapi_to_clients_schema::generate(&OpenAPI(open_api))?; + let output = std::fs::File::create(dest)?; + serde_json::to_writer_pretty(output, &sch_json)?; + + Ok(()) +} + diff --git a/openapi-converter/openapi_to_clients_schema/src/openapi.rs b/openapi-converter/openapi_to_clients_schema/src/openapi.rs new file mode 100644 index 0000000000..0209ebe6ce --- /dev/null +++ b/openapi-converter/openapi_to_clients_schema/src/openapi.rs @@ -0,0 +1,408 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +//! OpenAPI schema utilities + +use std::fmt::Debug; +use openapiv3::*; +use std::ops::Deref; +use anyhow::{anyhow, bail}; +use serde_json::Value as JsonValue; +use tracing::info; + +/// A wrapper around an openapi schema, also providing helper methods to explore it. +pub struct OpenAPI(pub openapiv3::OpenAPI); + +impl Deref for OpenAPI { + type Target = openapiv3::OpenAPI; + + fn deref(&self) -> &Self::Target { + &self.0 + } +} + +impl OpenAPI { + + /// + /// Get the schema for a reference, if it exists, and follows references until we find a schema + /// + pub fn ref_to_schema(&self, reference: &str) -> anyhow::Result<&Schema> { + + if let Some(name) = reference.strip_prefix("#/components/schemas/") { + match self.components.as_ref().unwrap().schemas.get(name) { + Some(ReferenceOr::Item(sch)) => return Ok(sch), + Some(ReferenceOr::Reference { reference }) => return self.ref_to_schema(reference), + _ => {}, + } + } + + bail!("No schema definition found for {reference}") + } + + /// + /// Get the schema for a reference or schema + /// + pub fn get_schema<'a>(&'a self, r_or_s: &'a ReferenceOr) -> anyhow::Result<&'a Schema> { + match r_or_s { + ReferenceOr::Reference { reference } => self.ref_to_schema(&reference), + ReferenceOr::Item(schema) => Ok(&schema), + } + } + + /// + /// Is this type nullable? + /// + pub fn is_nullable(&self, id: &str) -> bool { + self.components + .as_ref() + .and_then(|c| c.schemas.get(id)) + .map(|s| match s { + ReferenceOr::Reference { reference: _r } => false, + ReferenceOr::Item(item) => item.schema_data.nullable + }) + .unwrap_or_default() + } + + /// + /// Is this a `not` schema? + /// + pub fn is_not(&self, r_or_s: &ReferenceOr) -> bool { + if let Ok(schema) = self.get_schema(r_or_s) { + if let SchemaKind::Not {..} = schema.schema_kind { + return true; + } + } + false + } + + /// + /// Merge a series of schemas and return a single combined schema that is guaranteed to not be an `Any`. + /// Used to resolve `allOf` directives. + /// + pub fn merge_schemas(&self, schemas: &Vec>, data: &SchemaData) -> anyhow::Result { + let mut merged = AnySchema::default(); + for schema in schemas { + merged = self.merge_in_any(merged, schema)?; + } + + Ok(Schema { + schema_data: data.clone(), + schema_kind: any_to_schema(merged)?, + }) + } + + fn merge_in_any(&self, acc: AnySchema, schema: &ReferenceOr) -> anyhow::Result { + + let schema = self.get_schema(schema)?; + + match &schema.schema_kind { + SchemaKind::AllOf { all_of } | SchemaKind::Any(AnySchema{ all_of, .. }) if !all_of.is_empty() => { + let mut result = acc; + for schema in all_of { + result = self.merge_in_any(result, &schema)?; + } + return Ok(result); + }, + _ => {}, + } + + let schema = schema_to_any(&schema.schema_kind)?; + + let result = AnySchema { + typ: merge_option(acc.typ, schema.typ)?, + + any_of: merge_vec(acc.any_of, schema.any_of), + one_of: merge_vec(acc.one_of, schema.one_of), + all_of: merge_vec(acc.all_of, schema.all_of), + not: merge_option(acc.not, schema.not)?, + + // Structure properties + additional_properties: merge_option(acc.additional_properties, schema.additional_properties)?, + items: merge_option(acc.items, schema.items)?, + + unique_items: merge_option(acc.unique_items, schema.unique_items)?, + properties: Default::default(), + max_properties: merge_option(acc.max_properties, schema.max_properties)?, + min_properties: merge_option(acc.min_properties, schema.min_properties)?, + + // Scalar properties + required: merge_vec(acc.required, schema.required), + format: merge_option(acc.format, schema.format)?, + exclusive_maximum: merge_option(acc.exclusive_maximum, schema.exclusive_maximum)?, + exclusive_minimum: merge_option(acc.exclusive_minimum, schema.exclusive_minimum)?, + + maximum: merge_option(acc.maximum, schema.maximum)?, + max_items: merge_option(acc.max_items, schema.max_items)?, + max_length: merge_option(acc.max_length, schema.max_length)?, + + minimum: merge_option(acc.minimum, schema.minimum)?, + min_items: merge_option(acc.min_items, schema.min_items)?, + min_length: merge_option(acc.min_length, schema.min_length)?, + + pattern: merge_option(acc.pattern, schema.pattern)?, + multiple_of: merge_option(acc.multiple_of, schema.multiple_of)?, + enumeration: merge_vec(acc.enumeration, schema.enumeration), + }; + + Ok(result) + } +} + +/// +/// Converts a schema to the "any" form that has all properties of an OpenAPI schema. +/// Used for schema merging operations +/// +pub fn schema_to_any(schema: &SchemaKind) -> anyhow::Result { + // TODO: could return Cow to reduce cloning + + match schema { + SchemaKind::Type(typ) => match typ { + Type::String(x) => Ok(AnySchema { + typ: Some("string".into()), + format: format_to_string(&x.format), + pattern: x.pattern.clone(), + enumeration: x.enumeration.iter() + // turn Vec> into Vec + .filter_map(|e| e.as_ref().map(|s| JsonValue::String(s.clone()))) + .collect(), + max_length: x.max_length, + min_length: x.min_length, + ..AnySchema::default() + }), + Type::Number(x) => Ok(AnySchema { + typ: Some("number".into()), + format: format_to_string(&x.format), + multiple_of: x.multiple_of, + exclusive_minimum: Some(x.exclusive_minimum), + exclusive_maximum: Some(x.exclusive_maximum), + minimum: x.minimum, + maximum: x.maximum, + enumeration: x.enumeration.iter() + .filter_map(|e| *e) + .filter_map(|s| serde_json::Number::from_f64(s)) + .map(|s| JsonValue::Number(s)) + .collect(), + ..AnySchema::default() + }), + Type::Integer(x) => Ok(AnySchema { + typ: Some("integer".into()), + format: format_to_string(&x.format), + multiple_of: x.multiple_of.map(|x| x as f64), + exclusive_minimum: Some(x.exclusive_minimum), + exclusive_maximum: Some(x.exclusive_maximum), + minimum: x.minimum.map(|x| x as f64), + maximum: x.maximum.map(|x| x as f64), + enumeration: x.enumeration.iter() + .filter_map(|e| *e) + .map(|s| JsonValue::Number(s.into())) + .collect(), + ..AnySchema::default() + }), + Type::Object(x) => Ok(AnySchema { + typ: Some("object".into()), + properties: x.properties.clone(), + required: x.required.clone(), + additional_properties: x.additional_properties.clone(), + min_properties: x.min_properties, + max_properties: x.max_properties, + ..AnySchema::default() + }), + Type::Array(x) => Ok(AnySchema { + typ: Some("array".into()), + items: x.items.clone(), + min_items: x.min_items, + max_items: x.max_items, + unique_items: Some(x.unique_items), + ..AnySchema::default() + }), + Type::Boolean { .. } => Ok(AnySchema { + typ: Some("boolean".into()), + ..AnySchema::default() + }), + } + + SchemaKind::OneOf { one_of } => Ok(AnySchema { + one_of: one_of.clone(), + ..AnySchema::default() + }), + + SchemaKind::AllOf { all_of } => Ok(AnySchema { + all_of: all_of.clone(), + ..AnySchema::default() + }), + + SchemaKind::AnyOf { any_of } => Ok(AnySchema { + any_of: any_of.clone(), + ..AnySchema::default() + }), + + SchemaKind::Not { not } => Ok(AnySchema { + not: Some(not.clone()), + ..AnySchema::default() + }), + + SchemaKind::Any(any) => Ok(any.clone()), + } +} + + +/// +/// Concatenates two vectors and returns the resulting vector +/// +fn merge_vec(mut vec1: Vec, mut vec2: Vec) -> Vec { + vec1.append(&mut vec2); + vec1 +} + +/// +/// Merge two options. Fails if both options are set and have different values. +/// +fn merge_option(opt1: Option, opt2: Option) -> anyhow::Result> { + match (&opt1, &opt2) { + (Some(v1), Some(v2)) if v1 == v2 => bail!("Merge conflict: {opt1:?} and {opt2:?}"), + _ => Ok(opt1.or(opt2)) + } +} + +pub fn any_to_schema(any: AnySchema) -> anyhow::Result { + + // TODO: SchemaData.default could be used for disambiguation + let typ: Option<&str> = if let Some(typ) = &any.typ { + Some(typ) + } else if any.additional_properties.is_some() || + !any.properties.is_empty() || + !any.required.is_empty() { + Some("object") + } else if let Some(JsonValue::String(_)) = any.enumeration.get(0) { + Some("string") + } else { + // TODO: add more heuristics + None + }; + + let typ = typ.ok_or_else(|| anyhow!("Cannot infer schema type in {:?}", any))?; + + match typ { + + "object" => Ok(SchemaKind::Type(Type::Object(ObjectType { + properties: any.properties, + required: any.required, + additional_properties: any.additional_properties, + min_properties: any.min_properties, + max_properties: any.max_properties, + }))), + + "string" => Ok(SchemaKind::Type(Type::String(StringType { + format: as_unknown_or_empty(any.format), + pattern: any.pattern, + enumeration: any.enumeration.iter() + .map(|v| if let JsonValue::String(s) = v { Some(s.clone()) } else { None }) + .collect(), + min_length: any.min_length, + max_length: any.max_length, + }))), + + "integer" => Ok(SchemaKind::Type(Type::Integer(IntegerType { + format: as_unknown_or_empty(any.format), + multiple_of: any.multiple_of.map(|f| f as i64), + exclusive_minimum: any.exclusive_minimum.unwrap_or(false), + exclusive_maximum: any.exclusive_maximum.unwrap_or(false), + minimum: any.minimum.map(|f| f as i64), + maximum: any.maximum.map(|f| f as i64), + enumeration: vec![], // TODO: not supported in schema.json + }))), + + "number" => Ok(SchemaKind::Type(Type::Number(NumberType { + format: as_unknown_or_empty(any.format), + multiple_of: any.multiple_of, + exclusive_minimum: any.exclusive_minimum.unwrap_or(false), + exclusive_maximum: any.exclusive_maximum.unwrap_or(false), + minimum: any.minimum, + maximum: any.maximum, + enumeration: vec![], // TODO: not supported in schema.json + }))), + + "boolean" => Ok(SchemaKind::Type(Type::Boolean { + })), + + "array" => Ok(SchemaKind::Type(Type::Array(ArrayType { + items: any.items, + min_items: any.min_items, + max_items: any.max_items, + unique_items: any.unique_items.unwrap_or(false), + }))), + + _ => bail!("Unknown type {typ} in {any:?}"), + } +} + +fn as_unknown_or_empty(value: Option) -> VariantOrUnknownOrEmpty { + if let Some(value) = value { + VariantOrUnknownOrEmpty::Unknown(value) + } else { + VariantOrUnknownOrEmpty::Empty + } +} + +fn format_to_string(value: &VariantOrUnknownOrEmpty) -> Option { + match value { + VariantOrUnknownOrEmpty::Item(i) => Some(format!("{i:?}")), + VariantOrUnknownOrEmpty::Unknown(s) => Some(s.clone()), + VariantOrUnknownOrEmpty::Empty => None, + } +} + +/// A wrapper around either a type name reference or a type schema reference. +/// +/// The `openapiv3` crate doesn't use `ReferenceOr` in a consistent way. For top-level types, is uses +/// `ReferenceOr` whereas for deeper levels of the hierarchy it uses `ReferenceOr>` and +/// `Box` because of the recursive nature of the type. +/// +/// This makes it impractical to have functions that operate on all shapes. `RefOrSchema` solves this by holding only +/// references and providing easy conversion with `From` implementations for all variants. +/// +pub enum RefOrSchema<'a> { + Ref(&'a str), + Schema(&'a Schema), +} + +impl <'a> From<&'a ReferenceOr> for RefOrSchema<'a> { + fn from(value: &'a ReferenceOr) -> Self { + match value { + ReferenceOr::Reference { reference } => RefOrSchema::Ref(reference), + ReferenceOr::Item(schema) => RefOrSchema::Schema(schema), + } + } +} + +impl <'a> From<&'a ReferenceOr>> for RefOrSchema<'a> { + fn from(value: &'a ReferenceOr>) -> Self { + match value { + ReferenceOr::Reference { reference } => RefOrSchema::Ref(reference), + ReferenceOr::Item(schema) => RefOrSchema::Schema(schema), + } + } +} + +impl <'a> From<&'a Box>> for RefOrSchema<'a> { + fn from(value: &'a Box>) -> Self { + match value.as_ref() { + ReferenceOr::Reference { reference } => RefOrSchema::Ref(reference), + ReferenceOr::Item(schema) => RefOrSchema::Schema(schema), + } + } +} diff --git a/openapi-converter/openapi_to_clients_schema/src/types.rs b/openapi-converter/openapi_to_clients_schema/src/types.rs new file mode 100644 index 0000000000..f10479812c --- /dev/null +++ b/openapi-converter/openapi_to_clients_schema/src/types.rs @@ -0,0 +1,542 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +use clients_schema::*; +use openapiv3::*; +use indexmap::IndexMap; +use std::collections::{BTreeMap, HashSet}; +use anyhow::{anyhow, bail}; +use tracing::{error, info}; +use crate::openapi; +use crate::openapi::{OpenAPI, RefOrSchema}; + +#[derive(Default)] +pub struct Types { + types: BTreeMap, + tracker: HashSet, +} + +impl Types { + + pub fn track(&mut self, id: &str) { + self.tracker.insert(id.to_string()); + } + + pub fn get(&self, id: &str) -> Option<&TypeDefinition> { + self.types.get(id) + } + + pub fn add(&mut self, id: &str, type_def: TypeDefinition) { + //info!("Adding type '{id}'"); + self.types.insert(id.to_string(), type_def); + } + + pub fn types(self) -> Vec { + self.types.into_values().collect() + } + + pub fn check_tracker(&self) -> anyhow::Result<()> { + info!("Generated {} types", self.types.len()); + let mut failed = false; + for id in self.tracker.iter() { + if !self.types.contains_key(id) { + error!("Type '{id}' tracked but but not generated."); + failed = true; + } + } + + if failed { + Err(anyhow!("Some tracked types were not generated - check the logs")) + } else { + Ok(()) + } + } +} + +/// +/// Generate a top-level type, which can be an alias or a type definition +/// +pub fn generate_type ( + open_api: &OpenAPI, + id: &str, + definition: &RefOrSchema, + types: &mut Types +) -> anyhow::Result { + + //info!("Generating type '{id}'"); + types.track(id); + match definition { + RefOrSchema::Ref(ref_id) => { + // Type alias + let type_name = ref_to_typename(id); + types.add(id, TypeDefinition::type_alias( + type_name.clone(), + ref_to_typename(&ref_id).into() + )); + Ok(type_name) + } + RefOrSchema::Schema(schema) => { + // Type definition + generate_type_for_schema(open_api, id, schema, types) + } + } +} + +/// +/// Generate a type definition from an OpenAPI component schema. +/// This can result in several types if the schema contains anonymous nested structures +/// +fn generate_type_for_schema( + open_api: &OpenAPI, + id: &str, + schema: &Schema, + types: &mut Types +) -> anyhow::Result { + + if let Some(typedef) = types.get(id) { + //info!("Type '{id}' already generated"); + return Ok(typedef.name().clone()); + } + + types.track(id); + + // Build the common "base" fields from the OpenApi schema_data + let type_name = id_to_typename(id); + let data = &schema.schema_data; + let mut base = BaseType::new(type_name.clone()); + base.description = data.description.clone(); + if data.deprecated { + base.deprecation = Some(Deprecation {version: "".into(), description: "".into()}) + } + if let Some(ref docs) = data.external_docs { + base.doc_url = Some(docs.url.clone()) + } + + // TODO: data.readonly/writeonly -> OverloadOf? + // TODO: data.default -> serverDefault + // TODO: data.extensions -> see what's there, fail on unknown ones + for (k, v) in &data.extensions { + info!("{id} - extension {k} = {v}"); + } + + if data.discriminator.is_some() { + // FIXME: data.discriminator -> internally tagged variant + + bail!("Discriminator in schema {} has to become an internally tagged variant", id); + } + + use openapiv3::SchemaKind::*; + match &schema.schema_kind { + Type(t) => { + // Type alias to a primitive type or enum + generate_schema_kind_type(open_api, id, t, base, types)?; + } + Not {..} => { + bail!("Unsupported schema kind for '{}' - {:?}", id, schema.schema_kind); + }, + Any(any) => { + let not_any = Schema { + schema_data: data.clone(), + schema_kind: openapi::any_to_schema(any.clone())? + }; + generate_type_for_schema(open_api, id, ¬_any, types)?; + }, + // Definitions: + // - oneOf: validates the value against exactly one of the subschemas + // - anyOf: validates the value against any (one or more) of the subschemas + // - allOf – validates the value against all the subschemas + // + // AnyOf sits in between oneOf and allOf and doesn't have a direct equivalence in schema.json + // We choose to handle it like a oneOf, even if oneOf is more constrained, as allOf is used for + // composition/inheritance. + AllOf {all_of} => { + let merged = open_api.merge_schemas(&all_of, &data)?; + generate_type_for_schema(open_api, id, &merged, types)?; + } + AnyOf {any_of: one_of} | OneOf {one_of} => { + generate_schema_kind_one_of(open_api, id, one_of, &data.discriminator, base, types)?; + } + } + + Ok(type_name) +} + +/// +/// Generate the TypeDefinition for an openapi::SchemaKind::Type +/// - `id`: name of the enclosing OpenApi type +/// - `t`: the OpenApi type definition +/// - `base`: common fields for the type definition +/// - `types`: the target schema types, where the generated definition will be added, along with any synthetic types +/// that may be needed to represent nested structures. +/// +fn generate_schema_kind_type( + open_api: &OpenAPI, + id: &str, + t: &openapiv3::Type, + base: BaseType, + types: &mut Types +) -> anyhow::Result<()> { + + fn alias(base: BaseType, name: TypeName) -> TypeDefinition { + TypeDefinition::TypeAlias(TypeAlias { + base, + generics: Vec::default(), + typ: name.into(), + variants: None, + }) + } + + use openapiv3::Type::*; + + match t { + //--------------------------------------------------------------------- + String(string) if !string.enumeration.is_empty() => { + // Enumeration + + let members = string.enumeration.iter() + .filter_map(|name| name.as_ref()) // filter empty options. Why are they here? + .map(|name| name.as_str().into()) + .collect(); + + let enum_def = TypeDefinition::Enum(clients_schema::Enum { + base, + members, + is_open: false + }); + + types.add(id, enum_def); + }, + + //--------------------------------------------------------------------- + String(_) => types.add(id, alias(base, builtins::STRING.clone())), + + //--------------------------------------------------------------------- + Boolean {} => types.add(id, alias(base, builtins::BOOLEAN.clone())), + + //--------------------------------------------------------------------- + Integer(_) => + // OpenAPI Integer and Number accept an enumeration, but since it's just a list of valid + // values with no identifier, we can't produce an enum out of that list. + // TODO: choose int/long depending on min/max values + types.add(id, alias(base, builtins::LONG.clone())), + + //--------------------------------------------------------------------- + Number(_) => { + // TODO: choose float/double depending on min/max values + types.add(id, alias(base, builtins::DOUBLE.clone())); + } + + //--------------------------------------------------------------------- + Array(array) => { + // NOTE: array.unique_items indicates a Set. We don't have that in schema.json, and it actually + // doesn't exist in the JSON data model + let items = array.items.as_ref().ok_or(anyhow!("Array type in '{}' has no items", id))?; + + let value = generate_value_of(open_api, items.into(), || format!("{}_arrayitem", id), types)?; + let alias_def = TypeDefinition::TypeAlias(TypeAlias { + base, + typ: ValueOf::ArrayOf(ArrayOf { value: Box::new(value) }), + generics: Vec::default(), + variants: None, + }); + + types.add(id, alias_def); + }, + + //--------------------------------------------------------------------- + Object(obj) => { + if let (0, Some(ref value)) = (obj.properties.len(), &obj.additional_properties) { + // No fixed properties: it's a dictionary + generate_dictionary_def(open_api, id, base, value, types)?; + + } else { + // Regular type + generate_interface_def(open_api, id, base, &obj.required, &obj.properties, &obj.additional_properties, types)?; + } + }, + } + + Ok(()) +} + +fn generate_union_of( + open_api: &OpenAPI, + id: &str, + items: &Vec>, + types: &mut Types +) -> anyhow::Result { + // Open API items are ref_or_schema that we turn into a value_of + // If producing that value_of requires the creation of a synthetic type, it will be + // named by appending the item number to the type name (e.g. "foo_1") + let items = items.iter() + .enumerate() + .map(|(idx, item)| generate_value_of( + open_api, + item.into(), || format!("{}_{}", id, idx), + types + )) + .collect::, _>>()?; + + Ok(UnionOf { + items, + }) +} + +fn generate_schema_kind_one_of( + open_api: &OpenAPI, + id: &str, + one_of: &Vec>, + discriminator: &Option, + base: BaseType, + types: &mut Types +) -> anyhow::Result<()> { + + let filtered = one_of.iter().filter(|s| !open_api.is_not(s)).collect::>(); + if filtered.len() == 1 { + return generate_type(open_api, id, &filtered[0].into(), types).map(|_| ()); + } + + // Union type + + let union_of = generate_union_of(open_api, id, one_of, types)?; + + let mut variants: Option = None; + + // TODO: do we want to allow untagged unions (those that are disambiguated by inspecting property names)? + + if let Some(discriminator) = discriminator { + variants = Some(TypeAliasVariants::InternalTag(InternalTag { + default_tag: None, + tag: discriminator.property_name.clone(), + non_exhaustive: false, + })); + + // FIXME: need to set mappings, by setting the discriminator property in every variant to either + // the type name or the key of in discriminator.mapping + } + + let type_alias = TypeAlias { + base, + typ: ValueOf::UnionOf(union_of), + generics: Vec::default(), + variants: variants, // May be set below + }; + types.add(id, TypeDefinition::TypeAlias(type_alias)); + + Ok(()) +} + +fn generate_dictionary_def( + open_api: &OpenAPI, + id: &str, + base: BaseType, + value: &AdditionalProperties, + types: &mut Types +) -> anyhow::Result<()> { + let dict = TypeDefinition::TypeAlias(TypeAlias { + base, + generics: Vec::default(), + variants: None, + typ: ValueOf::InstanceOf(InstanceOf { + typ: builtins::DICTIONARY.clone(), + generics: vec![ + ValueOf::instance_of(builtins::STRING.clone()), + match value { + AdditionalProperties::Any(_) => + (&builtins::USER_DEFINED).into(), + + AdditionalProperties::Schema(schema) => + generate_value_of(open_api, schema.into(), || format!("{}_value", id), types)? + }, + ] + }), + }); + + types.add(id, dict); + Ok(()) +} + +fn generate_interface_def( + open_api: &OpenAPI, + id: &str, + base: BaseType, + required: &Vec, + properties: &IndexMap>>, + additional_properties: &Option, + types: &mut Types +) -> anyhow::Result<()> { + // Regular type + + // FIXME: max_properties -- if == 1 indicates a container + + let required: HashSet<_> = required.iter().collect(); + if required.len() != required.len() { + bail!("'required' in {id} has duplicate entries"); + } + + let mut props = Vec::new(); + for (name, value) in properties { + let property = Property { + name: name.clone(), + typ: generate_value_of(open_api, value.into(), || format!("{}_{}", id, name), types)?, + required: required.contains(&name), + doc_id: None, + doc_url: None, + codegen_name: None, // FIXME: extension in workplace search + description: None, + aliases: Vec::default(), + deprecation: None, + stability: None, + since: None, + container_property: false, + es_quirk: None, + server_default: None, + }; + + props.push(property); + }; + + let mut typedef = Interface { + base, + properties: props, + generics: Vec::default(), + behaviors: Vec::default(), + attached_behaviors: Vec::default(), + inherits: None, + implements: Vec::default(), + variants: None, + shortcut_property: None, + }; + + if let Some(props) = additional_properties { + let prop_value: ValueOf = match props { + AdditionalProperties::Any(_) => (&builtins::USER_DEFINED).into(), + AdditionalProperties::Schema(schema) => generate_value_of(open_api, schema.into(), || format!("{id}_props"), types)?, + }; + typedef.behaviors.push(clients_schema::Inherits { + typ: builtins::ADDITIONAL_PROPERTIES.clone(), + generics: vec![prop_value], + }) + }; + + types.add(id, TypeDefinition::Interface(typedef)); + Ok(()) +} + +/// +/// Generate a value_of for a reference or a schema. If the schema doesn't denote one that can be represented as a +/// value_of, a synthetic type is produced. +/// +fn generate_value_of( + open_api: &OpenAPI, + value: RefOrSchema, + id_gen: impl Fn() -> String, + types: &mut Types +) -> anyhow::Result { + + match value { + RefOrSchema::Ref(reference) => { + Ok(ref_to_typename(reference).into()) + }, + RefOrSchema::Schema(schema) => { + generate_value_for_schema(open_api, schema, id_gen, types) + } + } +} + +fn generate_value_for_schema( + open_api: &OpenAPI, + schema: &Schema, + id_gen: impl Fn() -> String, + types: &mut Types +) -> anyhow::Result { + + use openapiv3::SchemaKind::*; + match &schema.schema_kind { + Type(typ) => { + use openapiv3::Type::*; + match typ { + String(string) if string.enumeration.is_empty() => { + Ok((&builtins::STRING).into()) + } + String(_) => { + let type_name = generate_type_for_schema(open_api, &id_gen(), &schema, types)?; + Ok(type_name.into()) + } + Number(_) => { + // TODO: choose float/double depending on min/max values + // (see also generate_schema_kind_type) + Ok((&builtins::DOUBLE).into()) + } + Integer(_) => { + // TODO: choose int/long depending on min/max values + // (see also generate_schema_kind_type) + Ok((&builtins::LONG).into()) + } + Object(_) => { + let type_name = generate_type_for_schema(open_api, &id_gen(), &schema, types)?; + Ok(type_name.into()) + } + Array(array) => { + let item = array.items.as_ref().ok_or(anyhow!("Array type in '{}' has no items", id_gen()))?; + let item = generate_value_of(open_api, item.into(), id_gen, types)?; + Ok(ValueOf::ArrayOf(ArrayOf {value: Box::new(item)})) + } + Boolean { .. } => { + Ok((&builtins::BOOLEAN).into()) + } + } + }, + // Do not factorize below to keep exhaustiveness, if some specific handling is needed/possible + OneOf { .. } => { + let type_name = generate_type_for_schema(open_api, &id_gen(), schema, types)?; + Ok(type_name.into()) + } + AllOf { .. } => { + let type_name = generate_type_for_schema(open_api, &id_gen(), schema, types)?; + Ok(type_name.into()) + } + AnyOf { .. } => { + let type_name = generate_type_for_schema(open_api, &id_gen(), schema, types)?; + Ok(type_name.into()) + } + Not { .. } => { + Ok((&builtins::VOID).into()) + } + Any(AnySchema{ typ: Some(typ), .. }) if typ == "null" => { + Ok((&builtins::NULL).into()) + }, + Any(_) => { + let type_name = generate_type_for_schema(open_api, &id_gen(), &schema, types)?; + Ok(type_name.into()) + } + } +} + +fn id_to_typename(id: &str) -> TypeName { + use convert_case::{Case, Casing}; + + TypeName { + namespace: "_global".into(), + name: id.to_case(Case::UpperCamel), + } +} + +fn ref_to_typename(ref_id: &str) -> TypeName { + let id = ref_id.trim_start_matches("#/components/schemas/"); + id_to_typename(id) +} From 2de00f1e2238c84475bc510a6dd805ec0801cc70 Mon Sep 17 00:00:00 2001 From: Sylvain Wallez Date: Wed, 5 Jul 2023 21:08:07 +0200 Subject: [PATCH 02/17] Initial commit for schema to openapi converter --- .editorconfig | 13 -- openapi-converter/Cargo.lock | 71 ++++++++ openapi-converter/Cargo.toml | 1 + openapi-converter/clients_schema/Cargo.toml | 1 + openapi-converter/clients_schema/src/lib.rs | 59 ++++++- .../clients_schema_to_openapi/Cargo.toml | 25 +++ .../clients_schema_to_openapi/src/lib.rs | 67 ++++++++ .../clients_schema_to_openapi/src/main.rs | 7 + .../clients_schema_to_openapi/src/paths.rs | 154 ++++++++++++++++++ .../clients_schema_to_openapi/src/schemas.rs | 7 + 10 files changed, 391 insertions(+), 14 deletions(-) delete mode 100644 .editorconfig create mode 100644 openapi-converter/clients_schema_to_openapi/Cargo.toml create mode 100644 openapi-converter/clients_schema_to_openapi/src/lib.rs create mode 100644 openapi-converter/clients_schema_to_openapi/src/main.rs create mode 100644 openapi-converter/clients_schema_to_openapi/src/paths.rs create mode 100644 openapi-converter/clients_schema_to_openapi/src/schemas.rs diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index 5d12634847..0000000000 --- a/.editorconfig +++ /dev/null @@ -1,13 +0,0 @@ -# editorconfig.org -root = true - -[*] -indent_style = space -indent_size = 2 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true - -[*.md] -trim_trailing_whitespace = false diff --git a/openapi-converter/Cargo.lock b/openapi-converter/Cargo.lock index 400705447f..a216eaf9ab 100644 --- a/openapi-converter/Cargo.lock +++ b/openapi-converter/Cargo.lock @@ -2,6 +2,15 @@ # It is not intended for manual editing. version = 3 +[[package]] +name = "aho-corasick" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41" +dependencies = [ + "memchr", +] + [[package]] name = "anyhow" version = "1.0.70" @@ -24,6 +33,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" name = "clients_schema" version = "0.1.0" dependencies = [ + "anyhow", "once_cell", "serde", "serde_ignored", @@ -32,6 +42,26 @@ dependencies = [ "typed-builder", ] +[[package]] +name = "clients_schema_to_openapi" +version = "0.1.0" +dependencies = [ + "anyhow", + "clients_schema", + "convert_case", + "either_n", + "indexmap", + "maplit", + "openapiv3", + "regex", + "serde", + "serde_ignored", + "serde_json", + "serde_path_to_error", + "tracing", + "tracing-subscriber", +] + [[package]] name = "convert_case" version = "0.6.0" @@ -85,6 +115,18 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "maplit" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" + +[[package]] +name = "memchr" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" + [[package]] name = "nu-ansi-term" version = "0.46.0" @@ -160,6 +202,35 @@ dependencies = [ "proc-macro2", ] +[[package]] +name = "regex" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89089e897c013b3deb627116ae56a6955a72b8bed395c9526af31c9fe528b484" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa250384981ea14565685dea16a9ccc4d1c541a13f82b9c168572264d1df8c56" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ab07dc67230e4a4718e70fd5c20055a4334b121f1f9db8fe63ef39ce9b8c846" + [[package]] name = "ryu" version = "1.0.13" diff --git a/openapi-converter/Cargo.toml b/openapi-converter/Cargo.toml index 608211dedb..9d4d059b69 100644 --- a/openapi-converter/Cargo.toml +++ b/openapi-converter/Cargo.toml @@ -2,4 +2,5 @@ members = [ "clients_schema", "openapi_to_clients_schema", + "clients_schema_to_openapi" ] diff --git a/openapi-converter/clients_schema/Cargo.toml b/openapi-converter/clients_schema/Cargo.toml index 381bbe8bbb..44a38dffb7 100644 --- a/openapi-converter/clients_schema/Cargo.toml +++ b/openapi-converter/clients_schema/Cargo.toml @@ -9,6 +9,7 @@ serde = {version = "1.0", features=["derive"]} serde_json = "1.0" typed-builder = "0.11" once_cell = "1.16" +anyhow = "1.0" [dev-dependencies] serde_path_to_error = "0.1" diff --git a/openapi-converter/clients_schema/src/lib.rs b/openapi-converter/clients_schema/src/lib.rs index 7399869252..ae790cbe33 100644 --- a/openapi-converter/clients_schema/src/lib.rs +++ b/openapi-converter/clients_schema/src/lib.rs @@ -15,6 +15,9 @@ // specific language governing permissions and limitations // under the License. +use std::collections::HashMap; +use std::fmt::{Display, Formatter}; +use anyhow::bail; // Re-export crates whose types we expose publicly pub use once_cell; @@ -30,7 +33,7 @@ const fn is_false(v: &bool) -> bool { !(*v) } -#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, PartialOrd, Hash)] +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, PartialOrd, Hash)] pub struct TypeName { pub namespace: String, pub name: String @@ -44,6 +47,14 @@ impl TypeName { } } } + +impl Display for TypeName { + fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { + write!(f, "{}:{}", self.namespace, self.name) + } +} + + /// /// Type of a value. Used both for property types and nested type definitions. /// @@ -737,6 +748,10 @@ impl Model { pub fn from_reader(r: impl std::io::Read) -> Result { serde_json::from_reader(r) } + + pub fn type_registry(&self) -> TypeRegistry { + TypeRegistry::new(self) + } } #[cfg(test)] @@ -772,3 +787,45 @@ mod tests { }; } } + +pub struct TypeRegistry<'a> { + types: HashMap<&'a TypeName, &'a TypeDefinition> +} + +impl<'a> TypeRegistry<'a> { + pub fn new(model: &Model) -> TypeRegistry { + let types = model.types.iter() + .map(|typedef| (typedef.name(), typedef)) + .collect::>(); + + TypeRegistry{ types } + } + + pub fn get(&self, name: &TypeName) -> anyhow::Result<&'a TypeDefinition> { + match self.types.get(name) { + Some(typedef) => Ok(typedef), + None => bail!("No definition for type {}", name), + } + } + + // pub fn get_interface(&self, name: &TypeName) -> anyhow::Result<&'a Interface> { + // match self.get(name)? { + // TypeDefinition::Interface(itf) => Ok(itf), + // _ => bail!("Type {} is not an interface", name), + // } + // } + + pub fn get_request(&self, name: &TypeName) -> anyhow::Result<&'a Request> { + match self.get(name)? { + TypeDefinition::Request(req) => Ok(req), + _ => bail!("Type {} is not a request", name), + } + } + + pub fn get_resppnse(&self, name: &TypeName) -> anyhow::Result<&'a Response> { + match self.get(name)? { + TypeDefinition::Response(resp) => Ok(resp), + _ => bail!("Type {} is not a response", name), + } + } +} diff --git a/openapi-converter/clients_schema_to_openapi/Cargo.toml b/openapi-converter/clients_schema_to_openapi/Cargo.toml new file mode 100644 index 0000000000..88933866dc --- /dev/null +++ b/openapi-converter/clients_schema_to_openapi/Cargo.toml @@ -0,0 +1,25 @@ +[package] +name = "clients_schema_to_openapi" +version = "0.1.0" +edition = "2021" +publish = false + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] +clients_schema = {path="../clients_schema"} + +serde = {version = "1.0", features=["derive"]} +serde_json = "1.0" +serde_path_to_error = "0.1" +serde_ignored = "0.1" +openapiv3 = "1.0" +anyhow = "1.0" +indexmap = "1.9" +convert_case = "0.6" +either_n = "0.2.0" +regex = "1.8" +maplit = "1.0" + +tracing = "0.1.37" +tracing-subscriber = "0.3.16" diff --git a/openapi-converter/clients_schema_to_openapi/src/lib.rs b/openapi-converter/clients_schema_to_openapi/src/lib.rs new file mode 100644 index 0000000000..9f059fc481 --- /dev/null +++ b/openapi-converter/clients_schema_to_openapi/src/lib.rs @@ -0,0 +1,67 @@ +mod paths; +mod schemas; + +use std::io::Write; +use std::path::Path; + +use clients_schema::{Model, Property, TypeDefinition, TypeName, TypeRegistry, ValueOf}; + +pub fn convert_schema(path: impl AsRef, out: impl Write) -> anyhow::Result<()> { + let file = std::fs::File::open(path)?; + + let model: Model = serde_json::from_reader(file)?; + let types = model.type_registry(); + + let mut openapi = openapiv3::OpenAPI::default(); + + openapi.openapi = "3.1.0".into(); + + openapi.info = openapiv3::Info { + title: "Elasticsearch API".to_string(), + description: None, + terms_of_service: None, + contact: None, + license: license(&model), + version: "".to_string(), + extensions: Default::default(), + }; + + // Endpoints + let paths = paths::build_paths(&model.endpoints, &types)?; + + openapi.paths = openapiv3::Paths { + paths: paths, + extensions: Default::default(), + }; + + // Types + let components = openapiv3::Components { + security_schemes: Default::default(), + responses: Default::default(), + parameters: Default::default(), + examples: Default::default(), + request_bodies: Default::default(), + headers: Default::default(), + schemas: Default::default(), + links: Default::default(), + callbacks: Default::default(), + extensions: Default::default(), + }; + + openapi.components = Some(components); + + serde_json::to_writer_pretty(out, &openapi)?; + Ok(()) +} + +fn license(model: &Model) -> Option { + if let Some(info) = &model.info { + Some(openapiv3::License { + name: info.license.name.clone(), + url: Some(info.license.url.clone()), + extensions: Default::default(), + }) + } else { + None + } +} diff --git a/openapi-converter/clients_schema_to_openapi/src/main.rs b/openapi-converter/clients_schema_to_openapi/src/main.rs new file mode 100644 index 0000000000..21935133df --- /dev/null +++ b/openapi-converter/clients_schema_to_openapi/src/main.rs @@ -0,0 +1,7 @@ +fn main() { + clients_schema_to_openapi::convert_schema( + "../../elasticsearch-specification/output/schema/schema.json", + std::io::stdout() + ).unwrap(); + +} diff --git a/openapi-converter/clients_schema_to_openapi/src/paths.rs b/openapi-converter/clients_schema_to_openapi/src/paths.rs new file mode 100644 index 0000000000..d21d0f2315 --- /dev/null +++ b/openapi-converter/clients_schema_to_openapi/src/paths.rs @@ -0,0 +1,154 @@ +use std::collections::{HashMap, HashSet}; +use anyhow::{anyhow, bail}; +use indexmap::IndexMap; +use openapiv3::{ExternalDocumentation, Parameter, ParameterData, ParameterSchemaOrContent, PathItem, PathStyle, QueryStyle, ReferenceOr, Schema}; +use regex::Regex; + +use clients_schema::{Property, TypeDefinition, TypeName, TypeRegistry, ValueOf}; +use crate::schemas; + + +pub fn build_paths(endpoints: &Vec, types: &TypeRegistry) + -> anyhow::Result>> { + let mut paths = IndexMap::new(); + + for endpoint in endpoints { + if endpoint.request.is_none() || endpoint.response.is_none() { + tracing::warn!("Endpoint {} is missing either request or response", &endpoint.name); + continue; + } + + let request = types.get_request(endpoint.request.as_ref().unwrap())?; + + fn find_property<'a>(name: &str, props: &'a Vec) -> anyhow::Result<&'a Property> { + props.iter() + .find(|p| p.name == name) + .ok_or_else(|| anyhow!("Property {} not found in request ", name)) + } + + fn parameter_data(prop: &Property) -> anyhow::Result { + Ok(ParameterData { + name: prop.name.clone(), + description: prop.description.clone(), + required: prop.required, + deprecated: Some(prop.deprecation.is_some()), + format: ParameterSchemaOrContent::Schema(schemas::for_value_of(&prop.typ)?), + example: None, + examples: Default::default(), + explode: None, // Defaults to simple, i.e. comma-separated values for arrays + extensions: Default::default(), + }) + } + + for url_template in &endpoint.urls { + + //----- Path and query parameters + + let mut parameters = Vec::new(); + let mut operation_path = url_template.path.clone(); + + // Path parameters + + for path_variable in get_path_parameters(&operation_path) { + let parameter = Parameter::Path { + parameter_data: parameter_data(find_property(path_variable, &request.path)?)?, + // Simple (the default) maps array to comma-separated values, which is ES behavior + // See https://www.rfc-editor.org/rfc/rfc6570#section-3.2.2 + style: PathStyle::Simple, + }; + + parameters.push(ReferenceOr::Item(parameter)); + } + + // Query parameters + + for query_prop in &request.query { + let parameter = Parameter::Query { + parameter_data: parameter_data(query_prop)?, + allow_reserved: false, + style: QueryStyle::Form, + allow_empty_value: None, + }; + + parameters.push(ReferenceOr::Item(parameter)); + } + + // Add query parameter names to the path template + // See https://www.rfc-editor.org/rfc/rfc6570#section-3.2.8 + if !&request.query.is_empty() { + let params = &request.query.iter().map(|p| p.name.as_str()).collect::>().join(","); + operation_path = format!("{operation_path}{{?{params}}}"); + } + + // Create the operation, it will be repeated if we have several methods + // LATER: we could also register the operation as a component and reference it several times + let operation = openapiv3::Operation { + tags: vec![], + summary: None, + description: Some(endpoint.description.clone()), + external_docs: endpoint.doc_url.as_ref().map(|url| ExternalDocumentation { + description: None, + url: url.clone(), + extensions: Default::default(), + }), + operation_id: None, + parameters: parameters, + request_body: None, // TODO + responses: Default::default(), // TODO + deprecated: endpoint.deprecation.is_some(), + security: None, + servers: vec![], + extensions: Default::default(), // FIXME: translate availability? + }; + + let mut path = PathItem { + summary: None, + description: None, + get: None, + put: None, + post: None, + delete: None, + options: None, + head: None, + patch: None, + trace: None, + servers: vec![], + parameters: vec![], + extensions: Default::default(), + }; + + for method in &url_template.methods { + match method.as_str() { + "HEAD" => path.get = Some(operation.clone()), + "GET" => path.get = Some(operation.clone()), + "POST" => path.post = Some(operation.clone()), + "PUT" => path.put = Some(operation.clone()), + "DELETE" => path.put = Some(operation.clone()), + _ => bail!("Unsupported method: {}", method), + } + } + + paths.insert(operation_path, ReferenceOr::Item(path)); + } + } + + Ok(paths) +} + +fn get_path_parameters (template: &str) -> Vec<&str> { + let regex = Regex::new(r"\{([^}]*)\}").unwrap(); + regex + .find_iter(template) + .map(|m| &template[m.start()+1 .. m.end()-1]) + .collect() +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn test_path_parameters() { + assert_eq!(get_path_parameters("/{index}/{id}"), vec!{"index", "id"}) + } +} diff --git a/openapi-converter/clients_schema_to_openapi/src/schemas.rs b/openapi-converter/clients_schema_to_openapi/src/schemas.rs new file mode 100644 index 0000000000..0cc7625a30 --- /dev/null +++ b/openapi-converter/clients_schema_to_openapi/src/schemas.rs @@ -0,0 +1,7 @@ +use openapiv3::{ReferenceOr, Schema}; +use clients_schema::ValueOf; + +pub fn for_value_of(value_of: &ValueOf) -> anyhow::Result> { + // TODO + Ok(ReferenceOr::ref_("foo")) +} From 7e3bb9c79f8fd84dbecdf760bb2ac703d568ce88 Mon Sep 17 00:00:00 2001 From: Sylvain Wallez Date: Sat, 8 Jul 2023 17:28:26 +0200 Subject: [PATCH 03/17] Working conversion with still a few TODO --- openapi-converter/clients_schema/src/lib.rs | 6 +- .../src/components.rs | 44 ++ .../clients_schema_to_openapi/src/lib.rs | 112 ++-- .../clients_schema_to_openapi/src/main.rs | 19 +- .../clients_schema_to_openapi/src/paths.rs | 316 +++++++---- .../clients_schema_to_openapi/src/schemas.rs | 510 +++++++++++++++++- 6 files changed, 837 insertions(+), 170 deletions(-) create mode 100644 openapi-converter/clients_schema_to_openapi/src/components.rs diff --git a/openapi-converter/clients_schema/src/lib.rs b/openapi-converter/clients_schema/src/lib.rs index ae790cbe33..15c3131345 100644 --- a/openapi-converter/clients_schema/src/lib.rs +++ b/openapi-converter/clients_schema/src/lib.rs @@ -750,7 +750,7 @@ impl Model { } pub fn type_registry(&self) -> TypeRegistry { - TypeRegistry::new(self) + TypeRegistry::new(&self.types) } } @@ -793,8 +793,8 @@ pub struct TypeRegistry<'a> { } impl<'a> TypeRegistry<'a> { - pub fn new(model: &Model) -> TypeRegistry { - let types = model.types.iter() + pub fn new(types_vec: &Vec) -> TypeRegistry { + let types = types_vec.iter() .map(|typedef| (typedef.name(), typedef)) .collect::>(); diff --git a/openapi-converter/clients_schema_to_openapi/src/components.rs b/openapi-converter/clients_schema_to_openapi/src/components.rs new file mode 100644 index 0000000000..29856c0788 --- /dev/null +++ b/openapi-converter/clients_schema_to_openapi/src/components.rs @@ -0,0 +1,44 @@ +use openapiv3::{Components, Parameter, ReferenceOr, RequestBody, Response, Schema, StatusCode}; +use clients_schema::{TypeDefinition, TypeName, TypeRegistry}; +use crate::schemas::SchemaName; + +pub struct TypesAndComponents<'a> { + pub types: TypeRegistry<'a>, + pub components: &'a mut Components, +} + +impl <'a> TypesAndComponents<'a> { + pub fn new(types_vec: &'a Vec, components: &'a mut Components) -> TypesAndComponents<'a> { + TypesAndComponents { + types: TypeRegistry::new(types_vec), + components, + } + } + + pub fn add_request_body(&mut self, endpoint: &str, body: RequestBody,) -> ReferenceOr { + self.components.request_bodies.insert(endpoint.to_string(), ReferenceOr::Item(body)); + ReferenceOr::Reference { + reference: format!("#/components/requestBodies/{}", endpoint) + } + } + + pub fn add_parameter(&mut self, endpoint: &str, param: Parameter) -> ReferenceOr { + let result = ReferenceOr::Reference { + reference: format!("#/components/parameters/{}#{}", endpoint, ¶m.parameter_data_ref().name) + }; + self.components.parameters.insert(format!("{}#{}", endpoint, ¶m.parameter_data_ref().name), ReferenceOr::Item(param)); + result + } + + pub fn add_response(&mut self, endpoint: &str, status: StatusCode, response: Response) -> ReferenceOr { + self.components.responses.insert(format!("{}#{}", endpoint, status), ReferenceOr::Item(response)); + ReferenceOr::Reference { + reference: format!("#/components/responses/{}#{}", endpoint, status) + } + } + + pub fn add_schema(&mut self, name: &TypeName, schema: ReferenceOr) -> ReferenceOr { + self.components.schemas.insert(name.schema_name(), schema); + name.schema_ref() + } +} diff --git a/openapi-converter/clients_schema_to_openapi/src/lib.rs b/openapi-converter/clients_schema_to_openapi/src/lib.rs index 9f059fc481..c825ccb36b 100644 --- a/openapi-converter/clients_schema_to_openapi/src/lib.rs +++ b/openapi-converter/clients_schema_to_openapi/src/lib.rs @@ -1,67 +1,91 @@ mod paths; mod schemas; +mod components; use std::io::Write; use std::path::Path; +use openapiv3::{Components, OpenAPI}; -use clients_schema::{Model, Property, TypeDefinition, TypeName, TypeRegistry, ValueOf}; +use clients_schema::{Endpoint, Model}; +use crate::components::TypesAndComponents; -pub fn convert_schema(path: impl AsRef, out: impl Write) -> anyhow::Result<()> { +pub fn convert_schema_file(path: impl AsRef, endpoint_filter: fn(e: &Endpoint) -> bool, out: impl Write) -> anyhow::Result<()> { let file = std::fs::File::open(path)?; - let model: Model = serde_json::from_reader(file)?; - let types = model.type_registry(); - - let mut openapi = openapiv3::OpenAPI::default(); - openapi.openapi = "3.1.0".into(); + let openapi = convert_schema(&model, endpoint_filter)?; - openapi.info = openapiv3::Info { - title: "Elasticsearch API".to_string(), - description: None, - terms_of_service: None, - contact: None, - license: license(&model), - version: "".to_string(), - extensions: Default::default(), - }; + serde_json::to_writer_pretty(out, &openapi)?; + Ok(()) +} - // Endpoints - let paths = paths::build_paths(&model.endpoints, &types)?; +pub fn convert_schema(model: &Model, endpoint_filter: fn(e: &Endpoint) -> bool) -> anyhow::Result { - openapi.paths = openapiv3::Paths { - paths: paths, + let mut openapi = OpenAPI { + openapi: "3.0.3".into(), + info: info(model), + servers: vec![], + paths: Default::default(), + components: Some(Components { + security_schemes: Default::default(), + // Filled from endpoints + responses: Default::default(), + // Filled from endpoints + // TODO: add common request parameters and common cat parameters? + parameters: Default::default(), + examples: Default::default(), + // Filled from endpoints + request_bodies: Default::default(), + headers: Default::default(), + // Filled with type definitions + schemas: Default::default(), + links: Default::default(), + callbacks: Default::default(), + extensions: Default::default(), + }), + security: None, + tags: vec![], + external_docs: None, extensions: Default::default(), }; - // Types - let components = openapiv3::Components { - security_schemes: Default::default(), - responses: Default::default(), - parameters: Default::default(), - examples: Default::default(), - request_bodies: Default::default(), - headers: Default::default(), - schemas: Default::default(), - links: Default::default(), - callbacks: Default::default(), - extensions: Default::default(), - }; + let mut tac = TypesAndComponents::new(&model.types, openapi.components.as_mut().unwrap()); - openapi.components = Some(components); + // Endpoints + for endpoint in model.endpoints.iter().filter(|e| endpoint_filter(e)) { + paths::add_endpoint(endpoint, &mut tac, &mut openapi.paths)?; + } + //let paths = paths::build_paths(model.endpoints, &types)?; - serde_json::to_writer_pretty(out, &openapi)?; - Ok(()) + //openapi.paths = openapiv3::Paths { + // paths: paths, + // extensions: Default::default(), + //}; + + Ok(openapi) } -fn license(model: &Model) -> Option { - if let Some(info) = &model.info { - Some(openapiv3::License { - name: info.license.name.clone(), - url: Some(info.license.url.clone()), - extensions: Default::default(), - }) +fn info(model: &Model) -> openapiv3::Info { + let (title, license) = if let Some(info) = &model.info { + ( + info.title.clone(), + Some(openapiv3::License { + name: info.license.name.clone(), + url: Some(info.license.url.clone()), + extensions: Default::default(), + }) + ) } else { - None + ("".to_string(), None) + }; + + openapiv3::Info { + title, + description: None, + terms_of_service: None, + contact: None, + license, + version: "".to_string(), // TODO + extensions: Default::default(), } } diff --git a/openapi-converter/clients_schema_to_openapi/src/main.rs b/openapi-converter/clients_schema_to_openapi/src/main.rs index 21935133df..fac749b699 100644 --- a/openapi-converter/clients_schema_to_openapi/src/main.rs +++ b/openapi-converter/clients_schema_to_openapi/src/main.rs @@ -1,7 +1,18 @@ -fn main() { - clients_schema_to_openapi::convert_schema( - "../../elasticsearch-specification/output/schema/schema.json", +use tracing::Level; +use tracing_subscriber::FmtSubscriber; + +fn main() -> anyhow::Result<()> { + + let subscriber = FmtSubscriber::builder() + .with_max_level(Level::TRACE) + .finish(); + tracing::subscriber::set_global_default(subscriber)?; + + clients_schema_to_openapi::convert_schema_file( + "../output/schema/schema-no-generics.json", + |e| e.name == "search", std::io::stdout() - ).unwrap(); + )?; + Ok(()) } diff --git a/openapi-converter/clients_schema_to_openapi/src/paths.rs b/openapi-converter/clients_schema_to_openapi/src/paths.rs index d21d0f2315..de4baa1f85 100644 --- a/openapi-converter/clients_schema_to_openapi/src/paths.rs +++ b/openapi-converter/clients_schema_to_openapi/src/paths.rs @@ -1,138 +1,226 @@ -use std::collections::{HashMap, HashSet}; +use std::collections::HashMap; use anyhow::{anyhow, bail}; -use indexmap::IndexMap; -use openapiv3::{ExternalDocumentation, Parameter, ParameterData, ParameterSchemaOrContent, PathItem, PathStyle, QueryStyle, ReferenceOr, Schema}; -use regex::Regex; +use indexmap::indexmap; -use clients_schema::{Property, TypeDefinition, TypeName, TypeRegistry, ValueOf}; -use crate::schemas; +use openapiv3::{ExternalDocumentation, MediaType, Parameter, ParameterData, ParameterSchemaOrContent, PathItem, Paths, PathStyle, QueryStyle, ReferenceOr, RequestBody, Response, Responses, StatusCode}; +use regex::Regex; +use clients_schema::Property; +use crate::components::TypesAndComponents; -pub fn build_paths(endpoints: &Vec, types: &TypeRegistry) - -> anyhow::Result>> { - let mut paths = IndexMap::new(); +/// Add an endpoint to the OpenAPI schema. This will result in the addition of a number of elements to the +/// openapi schema's `paths` and `components` sections. +/// +pub fn add_endpoint(endpoint: &clients_schema::Endpoint, tac: &mut TypesAndComponents, out: &mut Paths) -> anyhow::Result<()> { - for endpoint in endpoints { - if endpoint.request.is_none() || endpoint.response.is_none() { - tracing::warn!("Endpoint {} is missing either request or response", &endpoint.name); - continue; - } + if endpoint.request.is_none() || endpoint.response.is_none() { + tracing::warn!("Endpoint {} is missing either request or response", &endpoint.name); + return Ok(()); + } - let request = types.get_request(endpoint.request.as_ref().unwrap())?; + // Will we produce multiple paths? If true, we will register components for reuse across paths + let is_multipath = endpoint.urls.len() > 1 || endpoint.urls.iter().find(|u| u.methods.len() > 1).is_some(); + + let request = tac.types.get_request(endpoint.request.as_ref().unwrap())?; + + fn parameter_data(prop: &Property, tac: &mut TypesAndComponents) -> anyhow::Result { + Ok(ParameterData { + name: prop.name.clone(), + description: prop.description.clone(), + required: prop.required, + deprecated: Some(prop.deprecation.is_some()), + format: ParameterSchemaOrContent::Schema(tac.convert_value_of(&prop.typ)?), + example: None, + examples: Default::default(), + explode: None, // Defaults to simple, i.e. comma-separated values for arrays + extensions: Default::default(), + }) + } - fn find_property<'a>(name: &str, props: &'a Vec) -> anyhow::Result<&'a Property> { - props.iter() - .find(|p| p.name == name) - .ok_or_else(|| anyhow!("Property {} not found in request ", name)) + //----- Prepare path parameters + + let mut path_params = HashMap::new(); + for prop in request.path.iter() { + let parameter = Parameter::Path { + parameter_data: parameter_data(prop, tac)?, + // Simple (the default) maps array to comma-separated values, which is ES behavior + // See https://www.rfc-editor.org/rfc/rfc6570#section-3.2.2 + style: PathStyle::Simple, + }; + + // Reuse reference if multiple paths, and inline otherwise + path_params.insert(prop.name.clone(), if is_multipath { + tac.add_parameter(&endpoint.name, parameter) + } else { + ReferenceOr::Item(parameter) + }); + }; + + //----- Prepare query parameters + + let mut query_params = Vec::new(); + for prop in request.query.iter() { + let parameter = Parameter::Query { + parameter_data: parameter_data(prop, tac)?, + allow_reserved: false, + style: QueryStyle::Form, + allow_empty_value: None, + }; + + query_params.push(if is_multipath { + tac.add_parameter(&endpoint.name, parameter) + } else { + ReferenceOr::Item(parameter) + }); + }; + + //---- Prepare request body + + let request_body = tac.convert_request(request)?.map(|schema| { + let media = MediaType { + schema: Some(schema), + example: None, + examples: Default::default(), + encoding: Default::default(), + extensions: Default::default(), + }; + + let body = RequestBody { + description: None, + // FIXME: nd-json requests + content: indexmap!{ "application/json".to_string() => media }, + required: endpoint.request_body_required, + extensions: Default::default(), + }; + + if is_multipath { + tac.add_request_body(&endpoint.name, body) + } else { + ReferenceOr::Item(body) } - - fn parameter_data(prop: &Property) -> anyhow::Result { - Ok(ParameterData { - name: prop.name.clone(), - description: prop.description.clone(), - required: prop.required, - deprecated: Some(prop.deprecation.is_some()), - format: ParameterSchemaOrContent::Schema(schemas::for_value_of(&prop.typ)?), + }); + + //---- Prepare request responses + + // FIXME: buggy for responses with no body + // TODO: handle binary responses + let response_def = tac.types.get_resppnse(endpoint.response.as_ref().unwrap())?; + let response = Response { + description: "".to_string(), + headers: Default::default(), + content: indexmap! { + "application/json".to_string() => MediaType { + schema: tac.convert_response(response_def)?, example: None, examples: Default::default(), - explode: None, // Defaults to simple, i.e. comma-separated values for arrays + encoding: Default::default(), extensions: Default::default(), - }) - } - - for url_template in &endpoint.urls { - - //----- Path and query parameters - - let mut parameters = Vec::new(); - let mut operation_path = url_template.path.clone(); - - // Path parameters - - for path_variable in get_path_parameters(&operation_path) { - let parameter = Parameter::Path { - parameter_data: parameter_data(find_property(path_variable, &request.path)?)?, - // Simple (the default) maps array to comma-separated values, which is ES behavior - // See https://www.rfc-editor.org/rfc/rfc6570#section-3.2.2 - style: PathStyle::Simple, - }; - - parameters.push(ReferenceOr::Item(parameter)); } + }, + links: Default::default(), + extensions: Default::default(), + }; + let response = if is_multipath { + tac.add_response(&endpoint.name, StatusCode::Code(200), response) + } else { + ReferenceOr::Item(response) + }; + + let responses = indexmap! { + StatusCode::Code(200) => response + // TODO: add error responses + }; + + //---- Build a path for each url + method + let mut operation_counter = 0; + + for url_template in &endpoint.urls { + + // Path and query parameters + + let mut parameters = Vec::new(); + + for path_variable in get_path_parameters(&url_template.path) { + let parameter = path_params.get(path_variable) + .ok_or_else(|| anyhow!("Missing path parameter definition {} for endpoint {}", + path_variable, &endpoint.name) + )?; + parameters.push(parameter.clone()); + } - // Query parameters - - for query_prop in &request.query { - let parameter = Parameter::Query { - parameter_data: parameter_data(query_prop)?, - allow_reserved: false, - style: QueryStyle::Form, - allow_empty_value: None, - }; - - parameters.push(ReferenceOr::Item(parameter)); - } + parameters.append(&mut query_params.clone()); - // Add query parameter names to the path template - // See https://www.rfc-editor.org/rfc/rfc6570#section-3.2.8 - if !&request.query.is_empty() { - let params = &request.query.iter().map(|p| p.name.as_str()).collect::>().join(","); - operation_path = format!("{operation_path}{{?{params}}}"); - } - - // Create the operation, it will be repeated if we have several methods - // LATER: we could also register the operation as a component and reference it several times - let operation = openapiv3::Operation { - tags: vec![], - summary: None, - description: Some(endpoint.description.clone()), - external_docs: endpoint.doc_url.as_ref().map(|url| ExternalDocumentation { - description: None, - url: url.clone(), - extensions: Default::default(), - }), - operation_id: None, - parameters: parameters, - request_body: None, // TODO - responses: Default::default(), // TODO - deprecated: endpoint.deprecation.is_some(), - security: None, - servers: vec![], - extensions: Default::default(), // FIXME: translate availability? - }; - - let mut path = PathItem { - summary: None, + // Create the operation, it will be repeated if we have several methods + let operation = openapiv3::Operation { + tags: vec![], + summary: None, + description: Some(endpoint.description.clone()), + external_docs: endpoint.doc_url.as_ref().map(|url| ExternalDocumentation { description: None, - get: None, - put: None, - post: None, - delete: None, - options: None, - head: None, - patch: None, - trace: None, - servers: vec![], - parameters: vec![], + url: url.clone(), + extensions: Default::default(), + }), + operation_id: None, // set in clone_operation below with operation_counter + parameters, + request_body: request_body.clone(), + responses: Responses { + default: None, + responses: responses.clone(), extensions: Default::default(), - }; - - for method in &url_template.methods { - match method.as_str() { - "HEAD" => path.get = Some(operation.clone()), - "GET" => path.get = Some(operation.clone()), - "POST" => path.post = Some(operation.clone()), - "PUT" => path.put = Some(operation.clone()), - "DELETE" => path.put = Some(operation.clone()), - _ => bail!("Unsupported method: {}", method), - } + }, + deprecated: endpoint.deprecation.is_some(), + security: None, + servers: vec![], + extensions: Default::default(), // FIXME: translate availability? + }; + + let mut path = PathItem { + summary: None, + description: None, + get: None, + put: None, + post: None, + delete: None, + options: None, + head: None, + patch: None, + trace: None, + servers: vec![], + parameters: vec![], + extensions: Default::default(), + }; + + let mut clone_operation = || { + let mut clone = operation.clone(); + clone.operation_id = Some(format!("{}#{}", endpoint.name, operation_counter)); + operation_counter += 1; + Some(clone) + }; + + for method in &url_template.methods { + match method.as_str() { + "HEAD" => path.get = clone_operation(), + "GET" => path.get = clone_operation(), + "POST" => path.post = clone_operation(), + "PUT" => path.put = clone_operation(), + "DELETE" => path.put = clone_operation(), + _ => bail!("Unsupported method: {}", method), } + } - paths.insert(operation_path, ReferenceOr::Item(path)); + let mut operation_path = url_template.path.clone(); + + // Add query parameter names to the path template + // See https://www.rfc-editor.org/rfc/rfc6570#section-3.2.8 + if !&request.query.is_empty() { + let params = &request.query.iter().map(|p| p.name.as_str()).collect::>().join(","); + operation_path = format!("{operation_path}{{?{params}}}"); } + + out.paths.insert(operation_path, ReferenceOr::Item(path)); } - Ok(paths) + Ok(()) } fn get_path_parameters (template: &str) -> Vec<&str> { diff --git a/openapi-converter/clients_schema_to_openapi/src/schemas.rs b/openapi-converter/clients_schema_to_openapi/src/schemas.rs index 0cc7625a30..1ca6505150 100644 --- a/openapi-converter/clients_schema_to_openapi/src/schemas.rs +++ b/openapi-converter/clients_schema_to_openapi/src/schemas.rs @@ -1,7 +1,507 @@ -use openapiv3::{ReferenceOr, Schema}; -use clients_schema::ValueOf; +use anyhow::bail; +use indexmap::IndexMap; +use openapiv3::{AdditionalProperties, ArrayType, Discriminator, ExternalDocumentation, NumberType, ObjectType, ReferenceOr, Schema, SchemaData, SchemaKind, StringType, Type}; +use clients_schema::{Body, Enum, Interface, LiteralValueValue, PropertiesBody, Property, Request, Response, TypeAlias, TypeAliasVariants, TypeDefinition, TypeName, ValueOf}; -pub fn for_value_of(value_of: &ValueOf) -> anyhow::Result> { - // TODO - Ok(ReferenceOr::ref_("foo")) +use crate::components::TypesAndComponents; + +// A placeholder in components.schema to handle recursive types +const SCHEMA_PLACEHOLDER: ReferenceOr = ReferenceOr::Reference { + reference: String::new() +}; + +pub trait ReferenceOrBoxed { + fn boxed(self) -> ReferenceOr>; +} + +impl ReferenceOrBoxed for ReferenceOr { + fn boxed(self) -> ReferenceOr> { + match self { + ReferenceOr::Item(t) => ReferenceOr::Item(Box::new(t)), + ReferenceOr::Reference { reference } => ReferenceOr::Reference { reference }, + } + } +} + +pub trait SchemaName { + fn schema_name(&self) -> String; + fn schema_ref(&self) -> ReferenceOr; +} + +impl SchemaName for TypeName { + fn schema_name(&self) -> String { + format!("{}", self) + } + + fn schema_ref(&self) -> ReferenceOr { + ReferenceOr::Reference { + reference: format!("#/components/schemas/{}", self) + } + } +} + +pub trait IntoSchema { + fn into_schema(self) -> ReferenceOr; + fn into_schema_with_base(self, base: &clients_schema::BaseType) -> ReferenceOr where Self: Sized { + let mut result = self.into_schema(); + if let ReferenceOr::Item(ref mut schema) = &mut result { + fill_data_with_base(&mut schema.schema_data, base); + } + result + } + + fn into_schema_with_data_fn(self, f: fn (&mut SchemaData) -> ()) -> ReferenceOr where Self: Sized { + let mut result = self.into_schema(); + if let ReferenceOr::Item(ref mut schema) = &mut result { + f(&mut schema.schema_data); + } + result + } +} + +impl IntoSchema for SchemaKind { + fn into_schema(self) -> ReferenceOr { + ReferenceOr::Item(Schema { + schema_data: Default::default(), + schema_kind: self, + }) + } +} + +impl IntoSchema for Type { + fn into_schema(self) -> ReferenceOr { + ReferenceOr::Item(Schema { + schema_kind: SchemaKind::Type(self), + schema_data: Default::default(), + }) + } +} + +impl IntoSchema for ObjectType { + fn into_schema(self) -> ReferenceOr { + ReferenceOr::Item(Schema { + schema_kind: SchemaKind::Type(Type::Object(self)), + schema_data: Default::default(), + }) + } } + +impl <'a> TypesAndComponents<'a> { + + pub fn convert_value_of(&mut self, value_of: &ValueOf) -> anyhow::Result> { + + Ok(match value_of { + // + // Instance_of + ValueOf::InstanceOf(instance) => { + // Do not care about generics, we work with an expanded schema + self.for_type_name(&instance.typ)? + }, + + // + // Array + ValueOf::ArrayOf(array) => { + ReferenceOr::Item(Schema { + schema_data: Default::default(), + schema_kind: SchemaKind::Type(Type::Array(ArrayType { + items: Some(self.convert_value_of(&array.value)?.boxed()), + min_items: None, + max_items: None, + unique_items: false, + })) + }) + }, + + // + // Union + ValueOf::UnionOf(union) => { + let mut items = Vec::new(); + for item in &union.items { + items.push(self.convert_value_of(item)?) + } + + ReferenceOr::Item(Schema { + schema_data: Default::default(), + schema_kind: SchemaKind::OneOf { + one_of: items, + } + }) + }, + + // + // Dictionary + // See https://swagger.io/docs/specification/data-models/dictionaries/ + ValueOf::DictionaryOf(dict) => { + ObjectType { + properties: Default::default(), + required: vec![], + additional_properties: Some(AdditionalProperties::Schema(Box::new(self.convert_value_of(&dict.value)?))), + // Single key dictionaries have exactly one property + min_properties: if dict.single_key { Some(1) } else { None }, + max_properties: if dict.single_key { Some(1) } else { None }, + }.into_schema() + }, + + // + // User defined value + ValueOf::UserDefinedValue(_) => { + ReferenceOr::Item(Schema { + schema_data: Default::default(), + // FIXME: not the right way to represent an arbitrary value + schema_kind: SchemaKind::Type(Type::Object(ObjectType::default())) + }) + }, + + // + // Literal value + ValueOf::LiteralValue(literal) => { + let str_value = match &literal.value { + LiteralValueValue::String(s) => s.clone(), + LiteralValueValue::Number(n) => n.to_string(), + LiteralValueValue::Boolean(b) => b.to_string(), + }; + + ReferenceOr::Item(Schema { + // Note: the enclosing property will add "required: true" + schema_data: Default::default(), + schema_kind: SchemaKind::Type(Type::String(StringType { + format: Default::default(), + pattern: None, + enumeration: vec![Some(str_value)], + min_length: None, + max_length: None, + })), + }) + } + }) + } + + // + // Return the reference for a type name, registering it if needed + // + pub fn for_type_name(&mut self, type_name: &TypeName) -> anyhow::Result> { + let schema_name = type_name.schema_name(); + + if self.components.schemas.contains_key(&schema_name) { + // Has already been processed + return Ok(type_name.schema_ref()); + } + + // Builtin types + if type_name.namespace == "_builtins" { + return match type_name.name.as_str() { + "string" => { + Ok(Type::String(StringType { + format: Default::default(), + pattern: None, + enumeration: vec![], + min_length: None, + max_length: None, + }).into_schema()) + }, + "boolean" => { + Ok(Type::Boolean {}.into_schema()) + }, + "number" => { + Ok(Type::Number(NumberType::default()).into_schema()) + }, + "void" => { + // Empty object + Ok(ObjectType::default().into_schema()) + }, + "null" => { + // Note that there is no null type; instead, the nullable attribute is used as a modifier of the base type. + // https://swagger.io/docs/specification/data-models/data-types/ + // FIXME: null should be handled in unions by setting "nullable" to the resulting schema + + Ok(Type::String(StringType { + format: Default::default(), + pattern: None, + enumeration: vec![], + min_length: None, + max_length: None, + }).into_schema_with_data_fn(|data| { data.nullable = true; })) + } + _ => bail!("unknown builtin type: {}", type_name), + } + } + + if type_name.namespace == "_types" { + match type_name.name.as_str() { + "double" | "long" | "integer" | "float" => { + return Ok(Type::Number(NumberType::default()).into_schema()); + }, + _ => {}, + } + } + + // Store a placeholder, it will avoid infinite loops with recursive types + self.components.schemas.insert(schema_name, SCHEMA_PLACEHOLDER); + + let typedef = self.types.get(type_name)?; + use TypeDefinition::*; + let schema = match typedef { + // Request and response may not have a body (and a schema) and so have dedicated methods below + Request(_) => bail!("Requests should be handled using for_request"), + Response(_) => bail!("Responses should be handled using for_request"), + + Enum(enumm) => self.convert_enum(enumm)?, + Interface(itf) => self.convert_interface_definition(itf)?, + TypeAlias(alias) => self.convert_type_alias(alias)?, + }; + + Ok(self.add_schema(type_name, schema)) + } + + // Returns the schema, if any, for a request body + pub fn convert_request(&mut self, request: &Request) -> anyhow::Result>> { + self.for_body(&request.body) + } + + pub fn convert_response(&mut self, response: &Response) -> anyhow::Result>> { + self.for_body(&response.body) + } + + fn for_body(&mut self, body: &Body) -> anyhow::Result>> { + + let result = match body { + Body::NoBody(_) => None, + Body::Value(value_body) => Some(self.convert_value_of(&value_body.value)?), // TODO codegen_name? + Body::Properties(PropertiesBody { properties }) => { + Some(ObjectType { + properties: self.convert_properties(properties.iter())?, + required: self.required_properties(properties.iter()), + additional_properties: None, + min_properties: None, + max_properties: None, + }.into_schema()) + } + }; + + Ok(result) + } + + fn convert_property(&mut self, prop: &Property) -> anyhow::Result> { + let mut result = self.convert_value_of(&prop.typ)?; + if let ReferenceOr::Item(ref mut schema) = &mut result { + fill_data_with_prop(&mut schema.schema_data, prop); + } + Ok(result) + } + + fn convert_properties<'b> (&mut self, props: impl Iterator) -> anyhow::Result>>> { + let mut result = IndexMap::new(); + for prop in props { + result.insert(prop.name.clone(), self.convert_property(prop)?.boxed()); + } + Ok(result) + } + + fn required_properties<'b> (&mut self, props: impl Iterator) -> Vec { + props.filter_map(|prop| prop.required.then(|| prop.name.clone())).collect() + } + + // + // Register an interface definition and return the schema reference. + // + fn convert_interface_definition(&mut self, itf: &Interface) -> anyhow::Result> { + + let mut schema = if let Some(container) = &itf.variants { + // TODO: interface definition container.non_exhaustive + let _non_exhaustive = container.non_exhaustive; + + // Split container properties and variants + let container_props = itf.properties.iter().filter(|p| p.container_property).collect::>(); + let variant_props = itf.properties.iter().filter(|p| !p.container_property).collect::>(); + + // A container is represented by an object will all optional properties and exactly one that + // needs to be set. + let mut schema = ObjectType { + properties: self.convert_properties(variant_props.iter().map(|p| *p))?, + required: vec![], + additional_properties: None, + min_properties: Some(1), + max_properties: Some(1), + }.into_schema(); + + if !container_props.is_empty() { + // Create a schema for the container property, and group it in an "allOf" with variants + let container_props_schema = ObjectType { + properties: self.convert_properties(container_props.iter().map(|p| *p))?, + required: self.required_properties(container_props.iter().map(|p| *p)), + additional_properties: None, + min_properties: None, + max_properties: None, + }.into_schema(); + + schema = SchemaKind::AllOf { + all_of: vec![container_props_schema, schema], + }.into_schema(); + } + + fill_schema_with_base(&mut schema, &itf.base); + schema + + } else { + let schema = ObjectType { + properties: self.convert_properties(itf.properties.iter())?, + required: self.required_properties(itf.properties.iter()), + additional_properties: None, + min_properties: None, + max_properties: None, + }.into_schema(); + + schema + }; + + // Inheritance + if let Some(inherit) = &itf.inherits { + schema = SchemaKind::AllOf { + all_of: vec![self.for_type_name(&inherit.typ)?, schema], + }.into_schema(); + } + + // Behaviors + for bh in &itf.implements { + match bh.typ.name.as_str() { + name @ ("AdditionalProperty" | "AdditionalProperties") => { + let single = name == "AdditionalProperty"; + let value_schema = self.convert_value_of(&bh.generics[1])?; + + schema = ObjectType { + properties: Default::default(), + required: vec![], + additional_properties: Some(AdditionalProperties::Schema(Box::new(value_schema))), + min_properties: if single { Some(1) } else { None }, + max_properties: if single { Some(1) } else { None }, + }.into_schema(); + } + _ => bail!("Unknown behavior {}", &bh.typ) + } + } + Ok(schema) + // FIXME: implements + } + + // + // Register a type alias and return the schema reference. + // + fn convert_type_alias(&mut self, alias: &TypeAlias) -> anyhow::Result> { + + let mut schema = self.convert_value_of(&alias.typ)?; + + // Add docs, etc. + if let ReferenceOr::Item(ref mut schema) = &mut schema { + schema.schema_data = convert_base_type(&alias.base); + } + + match &alias.variants { + None => {}, + Some(TypeAliasVariants::ExternalTag(_tag)) => { + // TODO: typed-keys: add an extension to identify it? + }, + Some(TypeAliasVariants::InternalTag(tag)) => { + if let ReferenceOr::Item(ref mut schema) = &mut schema { + // TODO: add tag.default_tag as an extension + schema.schema_data.discriminator = Some(Discriminator { + property_name: tag.tag.clone(), + mapping: Default::default(), + extensions: Default::default(), + }); + } + }, + }; + + Ok(schema) + } + + // + // Register an enumeration and return the schema reference. + // + fn convert_enum(&mut self, enumm: &Enum) -> anyhow::Result> { + + // TODO: enum.is_open + + let enum_values = enumm.members.iter().map(|m| { + Some(m.name.clone()) + }).collect::>(); + + let schema = ReferenceOr::Item(Schema { + schema_data: convert_base_type(&enumm.base), + schema_kind: SchemaKind::Type(Type::String(StringType { + format: Default::default(), + pattern: None, + enumeration: enum_values, + min_length: None, + max_length: None, + })), + }); + + Ok(schema) + } +} + +// +// Convert common type information. +// +fn convert_base_type(base: &clients_schema::BaseType) -> SchemaData { + let mut result = SchemaData::default(); + fill_data_with_base(&mut result, base); + return result; +} + +fn fill_schema_with_base(schema: &mut ReferenceOr, base: &clients_schema::BaseType) { + if let ReferenceOr::Item(ref mut schema) = schema { + fill_data_with_base(&mut schema.schema_data, base); + } +} + +fn fill_data_with_base(data: &mut SchemaData, base: &clients_schema::BaseType) { + // SchemaData { + // nullable: false, + // read_only: false, + // write_only: false, + // deprecated: false, + // external_docs: Default::default(), + // example: None, + // title: None, + // description: base.description.clone(), + // discriminator: None, + // default: None, + // extensions: Default::default(), + // } + + let external_docs = base.doc_url.as_ref().map(|url| ExternalDocumentation { + description: None, + url: url.clone(), + extensions: Default::default(), + }); + + data.external_docs = external_docs; + data.deprecated = base.deprecation.is_some(); + data.description = base.description.clone(); + // TODO: base.deprecation as extension + // TODO: base.spec_location as extension? + // TODO: base.doc_id as extension + // TODO: base.variant_name as extension? (used for external_variants) + // TODO: base.codegen_names as extension? +} + +fn fill_data_with_prop(data: &mut SchemaData, prop: &Property) { + let external_docs = prop.doc_url.as_ref().map(|url| ExternalDocumentation { + description: None, + url: url.clone(), + extensions: Default::default(), + }); + data.external_docs = external_docs; + data.deprecated = prop.deprecation.is_some(); + data.description = prop.description.clone(); + // TODO: prop.aliases as extensions + // TODO: prop.server_default as extension + // TODO: prop.availability as extension + // TODO: prop.doc_id as extension (new representation of since and stability) + // TODO: prop.es_quirk as extension? + // TODO: prop.codegen_name as extension? + // TODO: prop.deprecation as extension +} + From 71c112d163b4b1bc44f5c98cce1b6e82c97cb2d9 Mon Sep 17 00:00:00 2001 From: Sylvain Wallez Date: Wed, 16 Aug 2023 17:15:11 +0200 Subject: [PATCH 04/17] Refactoring & more schema features coverage --- openapi-converter/Cargo.lock | 29 + .../clients_schema_to_openapi/Cargo.toml | 2 + .../src/components.rs | 2 +- .../clients_schema_to_openapi/src/lib.rs | 25 +- .../clients_schema_to_openapi/src/main.rs | 13 +- .../clients_schema_to_openapi/src/paths.rs | 9 +- .../clients_schema_to_openapi/src/schemas.rs | 212 +- .../clients_schema_to_openapi/src/utils.rs | 138 + .../fixtures/enterprise-search.json | 1423 ----- ...-of-variants-external-with-properties.json | 58 - .../fixtures/workplace-search.json | 4862 ----------------- 11 files changed, 274 insertions(+), 6499 deletions(-) create mode 100644 openapi-converter/clients_schema_to_openapi/src/utils.rs diff --git a/openapi-converter/Cargo.lock b/openapi-converter/Cargo.lock index a216eaf9ab..08a0723242 100644 --- a/openapi-converter/Cargo.lock +++ b/openapi-converter/Cargo.lock @@ -17,6 +17,34 @@ version = "1.0.70" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4" +[[package]] +name = "argh" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab257697eb9496bf75526f0217b5ed64636a9cfafa78b8365c71bd283fcef93e" +dependencies = [ + "argh_derive", + "argh_shared", +] + +[[package]] +name = "argh_derive" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b382dbd3288e053331f03399e1db106c9fb0d8562ad62cb04859ae926f324fa6" +dependencies = [ + "argh_shared", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "argh_shared" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64cb94155d965e3d37ffbbe7cc5b82c3dd79dd33bd48e536f73d2cfb8d85506f" + [[package]] name = "autocfg" version = "1.1.0" @@ -47,6 +75,7 @@ name = "clients_schema_to_openapi" version = "0.1.0" dependencies = [ "anyhow", + "argh", "clients_schema", "convert_case", "either_n", diff --git a/openapi-converter/clients_schema_to_openapi/Cargo.toml b/openapi-converter/clients_schema_to_openapi/Cargo.toml index 88933866dc..fc83bf16ae 100644 --- a/openapi-converter/clients_schema_to_openapi/Cargo.toml +++ b/openapi-converter/clients_schema_to_openapi/Cargo.toml @@ -21,5 +21,7 @@ either_n = "0.2.0" regex = "1.8" maplit = "1.0" +argh = "0.1" + tracing = "0.1.37" tracing-subscriber = "0.3.16" diff --git a/openapi-converter/clients_schema_to_openapi/src/components.rs b/openapi-converter/clients_schema_to_openapi/src/components.rs index 29856c0788..4c997bc1e5 100644 --- a/openapi-converter/clients_schema_to_openapi/src/components.rs +++ b/openapi-converter/clients_schema_to_openapi/src/components.rs @@ -1,6 +1,6 @@ use openapiv3::{Components, Parameter, ReferenceOr, RequestBody, Response, Schema, StatusCode}; use clients_schema::{TypeDefinition, TypeName, TypeRegistry}; -use crate::schemas::SchemaName; +use crate::utils::SchemaName; pub struct TypesAndComponents<'a> { pub types: TypeRegistry<'a>, diff --git a/openapi-converter/clients_schema_to_openapi/src/lib.rs b/openapi-converter/clients_schema_to_openapi/src/lib.rs index c825ccb36b..654c4bec30 100644 --- a/openapi-converter/clients_schema_to_openapi/src/lib.rs +++ b/openapi-converter/clients_schema_to_openapi/src/lib.rs @@ -1,8 +1,10 @@ mod paths; mod schemas; mod components; +mod utils; -use std::io::Write; +use std::collections::HashSet; +use std::io::{BufWriter, Write}; use std::path::Path; use openapiv3::{Components, OpenAPI}; @@ -10,12 +12,25 @@ use clients_schema::{Endpoint, Model}; use crate::components::TypesAndComponents; pub fn convert_schema_file(path: impl AsRef, endpoint_filter: fn(e: &Endpoint) -> bool, out: impl Write) -> anyhow::Result<()> { - let file = std::fs::File::open(path)?; - let model: Model = serde_json::from_reader(file)?; - let openapi = convert_schema(&model, endpoint_filter)?; + // Parsing from a string is faster than using a buffered reader when there is a need for look-ahead + // See https://github.com/serde-rs/json/issues/160 + let json = &std::fs::read_to_string(path)?; + let json_deser = &mut serde_json::Deserializer::from_str(&json); + + let mut unused = HashSet::new(); + let model: Model = serde_ignored::deserialize(json_deser, |path| { + if let serde_ignored::Path::Map {parent: _, key} = path { + unused.insert(key); + } + })?; + if !unused.is_empty() { + let msg = unused.into_iter().collect::>().join(", "); + tracing::warn!("Unknown fields found in schema.json: {}", msg); + } - serde_json::to_writer_pretty(out, &openapi)?; + let openapi = convert_schema(&model, endpoint_filter)?; + //serde_json::to_writer_pretty(BufWriter::new(out), &openapi)?; Ok(()) } diff --git a/openapi-converter/clients_schema_to_openapi/src/main.rs b/openapi-converter/clients_schema_to_openapi/src/main.rs index fac749b699..d70c5b7b73 100644 --- a/openapi-converter/clients_schema_to_openapi/src/main.rs +++ b/openapi-converter/clients_schema_to_openapi/src/main.rs @@ -1,16 +1,27 @@ use tracing::Level; +use tracing_subscriber::fmt::format::FmtSpan; use tracing_subscriber::FmtSubscriber; +use argh::FromArgs; + + + + fn main() -> anyhow::Result<()> { + + let subscriber = FmtSubscriber::builder() + .with_writer(std::io::stderr) .with_max_level(Level::TRACE) + .with_span_events(FmtSpan::EXIT) .finish(); tracing::subscriber::set_global_default(subscriber)?; clients_schema_to_openapi::convert_schema_file( "../output/schema/schema-no-generics.json", - |e| e.name == "search", + |e| true, + //|e| e.name == "search", std::io::stdout() )?; diff --git a/openapi-converter/clients_schema_to_openapi/src/paths.rs b/openapi-converter/clients_schema_to_openapi/src/paths.rs index de4baa1f85..d050d358df 100644 --- a/openapi-converter/clients_schema_to_openapi/src/paths.rs +++ b/openapi-converter/clients_schema_to_openapi/src/paths.rs @@ -13,8 +13,13 @@ use crate::components::TypesAndComponents; /// pub fn add_endpoint(endpoint: &clients_schema::Endpoint, tac: &mut TypesAndComponents, out: &mut Paths) -> anyhow::Result<()> { - if endpoint.request.is_none() || endpoint.response.is_none() { - tracing::warn!("Endpoint {} is missing either request or response", &endpoint.name); + if endpoint.request.is_none() { + tracing::warn!("Endpoint {} is missing a request -- ignored", &endpoint.name); + return Ok(()); + } + + if endpoint.response.is_none() { + tracing::warn!("Endpoint {} is missing a response -- ignored", &endpoint.name); return Ok(()); } diff --git a/openapi-converter/clients_schema_to_openapi/src/schemas.rs b/openapi-converter/clients_schema_to_openapi/src/schemas.rs index 1ca6505150..f4b7d40091 100644 --- a/openapi-converter/clients_schema_to_openapi/src/schemas.rs +++ b/openapi-converter/clients_schema_to_openapi/src/schemas.rs @@ -4,90 +4,26 @@ use openapiv3::{AdditionalProperties, ArrayType, Discriminator, ExternalDocument use clients_schema::{Body, Enum, Interface, LiteralValueValue, PropertiesBody, Property, Request, Response, TypeAlias, TypeAliasVariants, TypeDefinition, TypeName, ValueOf}; use crate::components::TypesAndComponents; +use crate::utils::{ IntoSchema, SchemaName, ReferenceOrBoxed }; // A placeholder in components.schema to handle recursive types const SCHEMA_PLACEHOLDER: ReferenceOr = ReferenceOr::Reference { reference: String::new() }; -pub trait ReferenceOrBoxed { - fn boxed(self) -> ReferenceOr>; -} - -impl ReferenceOrBoxed for ReferenceOr { - fn boxed(self) -> ReferenceOr> { - match self { - ReferenceOr::Item(t) => ReferenceOr::Item(Box::new(t)), - ReferenceOr::Reference { reference } => ReferenceOr::Reference { reference }, - } - } -} - -pub trait SchemaName { - fn schema_name(&self) -> String; - fn schema_ref(&self) -> ReferenceOr; -} - -impl SchemaName for TypeName { - fn schema_name(&self) -> String { - format!("{}", self) - } - - fn schema_ref(&self) -> ReferenceOr { - ReferenceOr::Reference { - reference: format!("#/components/schemas/{}", self) - } - } -} - -pub trait IntoSchema { - fn into_schema(self) -> ReferenceOr; - fn into_schema_with_base(self, base: &clients_schema::BaseType) -> ReferenceOr where Self: Sized { - let mut result = self.into_schema(); - if let ReferenceOr::Item(ref mut schema) = &mut result { - fill_data_with_base(&mut schema.schema_data, base); - } - result - } - - fn into_schema_with_data_fn(self, f: fn (&mut SchemaData) -> ()) -> ReferenceOr where Self: Sized { - let mut result = self.into_schema(); - if let ReferenceOr::Item(ref mut schema) = &mut result { - f(&mut schema.schema_data); - } - result - } -} - -impl IntoSchema for SchemaKind { - fn into_schema(self) -> ReferenceOr { - ReferenceOr::Item(Schema { - schema_data: Default::default(), - schema_kind: self, - }) - } -} - -impl IntoSchema for Type { - fn into_schema(self) -> ReferenceOr { - ReferenceOr::Item(Schema { - schema_kind: SchemaKind::Type(self), - schema_data: Default::default(), - }) - } -} - -impl IntoSchema for ObjectType { - fn into_schema(self) -> ReferenceOr { - ReferenceOr::Item(Schema { - schema_kind: SchemaKind::Type(Type::Object(self)), - schema_data: Default::default(), - }) - } -} - +/// +/// Convert `schema.json` type and value definitions to OpenAPI schemas: +/// +/// The `convert_*` functions return a concrete schema and not a reference and do not store them in +/// the OpenAPI `components.schema`. This is the role of `for_type_name` hat creates and stores the +/// schema and returns a reference. +/// impl <'a> TypesAndComponents<'a> { + /// + /// Convert a value. Returns a schema reference and not a concrete schema, as values can + /// be simple references to types. + /// pub fn convert_value_of(&mut self, value_of: &ValueOf) -> anyhow::Result> { Ok(match value_of { @@ -139,7 +75,7 @@ impl <'a> TypesAndComponents<'a> { // Single key dictionaries have exactly one property min_properties: if dict.single_key { Some(1) } else { None }, max_properties: if dict.single_key { Some(1) } else { None }, - }.into_schema() + }.into_schema_ref() }, // @@ -176,9 +112,9 @@ impl <'a> TypesAndComponents<'a> { }) } - // - // Return the reference for a type name, registering it if needed - // + /// + /// Return the reference for a type name, registering it if needed + /// pub fn for_type_name(&mut self, type_name: &TypeName) -> anyhow::Result> { let schema_name = type_name.schema_name(); @@ -197,17 +133,17 @@ impl <'a> TypesAndComponents<'a> { enumeration: vec![], min_length: None, max_length: None, - }).into_schema()) + }).into_schema_ref()) }, "boolean" => { - Ok(Type::Boolean {}.into_schema()) + Ok(Type::Boolean {}.into_schema_ref()) }, "number" => { - Ok(Type::Number(NumberType::default()).into_schema()) + Ok(Type::Number(NumberType::default()).into_schema_ref()) }, "void" => { // Empty object - Ok(ObjectType::default().into_schema()) + Ok(ObjectType::default().into_schema_ref()) }, "null" => { // Note that there is no null type; instead, the nullable attribute is used as a modifier of the base type. @@ -220,7 +156,11 @@ impl <'a> TypesAndComponents<'a> { enumeration: vec![], min_length: None, max_length: None, - }).into_schema_with_data_fn(|data| { data.nullable = true; })) + }).into_schema_ref_with_data_fn(|data| { data.nullable = true; })) + }, + "binary" => { + // FIXME: must be handled in requests and responses + Ok(ObjectType::default().into_schema_ref()) } _ => bail!("unknown builtin type: {}", type_name), } @@ -229,7 +169,7 @@ impl <'a> TypesAndComponents<'a> { if type_name.namespace == "_types" { match type_name.name.as_str() { "double" | "long" | "integer" | "float" => { - return Ok(Type::Number(NumberType::default()).into_schema()); + return Ok(Type::Number(NumberType::default()).into_schema_ref()); }, _ => {}, } @@ -245,9 +185,9 @@ impl <'a> TypesAndComponents<'a> { Request(_) => bail!("Requests should be handled using for_request"), Response(_) => bail!("Responses should be handled using for_request"), - Enum(enumm) => self.convert_enum(enumm)?, - Interface(itf) => self.convert_interface_definition(itf)?, - TypeAlias(alias) => self.convert_type_alias(alias)?, + Enum(enumm) => self.convert_enum(enumm)?.into_schema_ref(), + Interface(itf) => self.convert_interface_definition(itf)?.into_schema_ref(), + TypeAlias(alias) => self.convert_type_alias(alias)?.into_schema_ref(), }; Ok(self.add_schema(type_name, schema)) @@ -274,7 +214,7 @@ impl <'a> TypesAndComponents<'a> { additional_properties: None, min_properties: None, max_properties: None, - }.into_schema()) + }.into_schema_ref()) } }; @@ -283,6 +223,7 @@ impl <'a> TypesAndComponents<'a> { fn convert_property(&mut self, prop: &Property) -> anyhow::Result> { let mut result = self.convert_value_of(&prop.typ)?; + // TODO: how can we just wrap a reference so that we can add docs? if let ReferenceOr::Item(ref mut schema) = &mut result { fill_data_with_prop(&mut schema.schema_data, prop); } @@ -301,10 +242,10 @@ impl <'a> TypesAndComponents<'a> { props.filter_map(|prop| prop.required.then(|| prop.name.clone())).collect() } - // - // Register an interface definition and return the schema reference. - // - fn convert_interface_definition(&mut self, itf: &Interface) -> anyhow::Result> { + /// + /// Convert an interface definition into a schema + /// + fn convert_interface_definition(&mut self, itf: &Interface) -> anyhow::Result { let mut schema = if let Some(container) = &itf.variants { // TODO: interface definition container.non_exhaustive @@ -332,10 +273,10 @@ impl <'a> TypesAndComponents<'a> { additional_properties: None, min_properties: None, max_properties: None, - }.into_schema(); + }.into_schema_ref(); schema = SchemaKind::AllOf { - all_of: vec![container_props_schema, schema], + all_of: vec![container_props_schema, schema.into_schema_ref()], }.into_schema(); } @@ -357,7 +298,7 @@ impl <'a> TypesAndComponents<'a> { // Inheritance if let Some(inherit) = &itf.inherits { schema = SchemaKind::AllOf { - all_of: vec![self.for_type_name(&inherit.typ)?, schema], + all_of: vec![self.for_type_name(&inherit.typ)?, schema.into_schema_ref()], }.into_schema(); } @@ -380,20 +321,15 @@ impl <'a> TypesAndComponents<'a> { } } Ok(schema) - // FIXME: implements } - // - // Register a type alias and return the schema reference. - // - fn convert_type_alias(&mut self, alias: &TypeAlias) -> anyhow::Result> { - - let mut schema = self.convert_value_of(&alias.typ)?; - - // Add docs, etc. - if let ReferenceOr::Item(ref mut schema) = &mut schema { - schema.schema_data = convert_base_type(&alias.base); - } + /// + /// Creates alias an alias that references another type. + /// + fn convert_type_alias(&mut self, alias: &TypeAlias) -> anyhow::Result { + let mut schema = self + .convert_value_of(&alias.typ)? + .into_schema_with_base(&alias.base); match &alias.variants { None => {}, @@ -401,24 +337,22 @@ impl <'a> TypesAndComponents<'a> { // TODO: typed-keys: add an extension to identify it? }, Some(TypeAliasVariants::InternalTag(tag)) => { - if let ReferenceOr::Item(ref mut schema) = &mut schema { - // TODO: add tag.default_tag as an extension - schema.schema_data.discriminator = Some(Discriminator { - property_name: tag.tag.clone(), - mapping: Default::default(), - extensions: Default::default(), - }); - } + // TODO: add tag.default_tag as an extension + schema.schema_data.discriminator = Some(Discriminator { + property_name: tag.tag.clone(), + mapping: Default::default(), + extensions: Default::default(), + }); }, }; Ok(schema) } - // - // Register an enumeration and return the schema reference. - // - fn convert_enum(&mut self, enumm: &Enum) -> anyhow::Result> { + /// + /// Register an enumeration and return the schema reference. + /// + fn convert_enum(&mut self, enumm: &Enum) -> anyhow::Result { // TODO: enum.is_open @@ -426,37 +360,21 @@ impl <'a> TypesAndComponents<'a> { Some(m.name.clone()) }).collect::>(); - let schema = ReferenceOr::Item(Schema { - schema_data: convert_base_type(&enumm.base), - schema_kind: SchemaKind::Type(Type::String(StringType { - format: Default::default(), - pattern: None, - enumeration: enum_values, - min_length: None, - max_length: None, - })), - }); - - Ok(schema) + Ok(StringType { + format: Default::default(), + pattern: None, + enumeration: enum_values, + min_length: None, + max_length: None, + }.into_schema_with_base(&enumm.base)) } } -// -// Convert common type information. -// -fn convert_base_type(base: &clients_schema::BaseType) -> SchemaData { - let mut result = SchemaData::default(); - fill_data_with_base(&mut result, base); - return result; -} - -fn fill_schema_with_base(schema: &mut ReferenceOr, base: &clients_schema::BaseType) { - if let ReferenceOr::Item(ref mut schema) = schema { - fill_data_with_base(&mut schema.schema_data, base); - } +fn fill_schema_with_base(schema: &mut Schema, base: &clients_schema::BaseType) { + fill_data_with_base(&mut schema.schema_data, base); } -fn fill_data_with_base(data: &mut SchemaData, base: &clients_schema::BaseType) { +pub fn fill_data_with_base(data: &mut SchemaData, base: &clients_schema::BaseType) { // SchemaData { // nullable: false, // read_only: false, diff --git a/openapi-converter/clients_schema_to_openapi/src/utils.rs b/openapi-converter/clients_schema_to_openapi/src/utils.rs new file mode 100644 index 0000000000..be4e49e20d --- /dev/null +++ b/openapi-converter/clients_schema_to_openapi/src/utils.rs @@ -0,0 +1,138 @@ +use openapiv3::{ObjectType, ReferenceOr, Schema, SchemaData, SchemaKind, StringType, Type}; +use clients_schema::TypeName; + +/// +/// Extensions to `ReferenceOr` to ease conversion to boxed versions. +/// +pub trait ReferenceOrBoxed { + fn boxed(self) -> ReferenceOr>; +} + +impl ReferenceOrBoxed for ReferenceOr { + fn boxed(self) -> ReferenceOr> { + match self { + ReferenceOr::Item(t) => ReferenceOr::Item(Box::new(t)), + ReferenceOr::Reference { reference } => ReferenceOr::Reference { reference }, + } + } +} + +/// +/// Extension to `TypeName` to return its name as an OpenAPI schema +/// +pub trait SchemaName { + /// Name in the `#/components/schema` section + fn schema_name(&self) -> String; + /// Full reference + fn schema_ref(&self) -> ReferenceOr; +} + +impl SchemaName for TypeName { + fn schema_name(&self) -> String { + format!("{}", self) + } + + fn schema_ref(&self) -> ReferenceOr { + ReferenceOr::Reference { + reference: format!("#/components/schemas/{}", self) + } + } +} + +/// +/// Convenience extensions to turn OpenAPI type declarations into a `ReferenceOr`. +/// This avoids a lot of boiler plate when creating schema objects. +/// +pub trait IntoSchema { + fn into_schema_ref(self) -> ReferenceOr where Self: Sized{ + ReferenceOr::Item(self.into_schema()) + } + + fn into_schema_ref_with_base(self, base: &clients_schema::BaseType) -> ReferenceOr where Self: Sized { + let mut result = self.into_schema_ref(); + if let ReferenceOr::Item(ref mut schema) = &mut result { + crate::schemas::fill_data_with_base(&mut schema.schema_data, base); + } + result + } + + fn into_schema_ref_with_data_fn(self, f: fn (&mut SchemaData) -> ()) -> ReferenceOr where Self: Sized { + let mut result = self.into_schema_ref(); + if let ReferenceOr::Item(ref mut schema) = &mut result { + f(&mut schema.schema_data); + } + result + } + + fn into_schema_with_base(self, base: &clients_schema::BaseType) -> Schema where Self: Sized { + let mut schema = self.into_schema(); + crate::schemas::fill_data_with_base(&mut schema.schema_data, base); + schema + } + + fn into_schema_with_data_fn(self, f: fn (&mut SchemaData) -> ()) -> Schema where Self: Sized { + let mut schema = self.into_schema(); + f(&mut schema.schema_data); + schema + } + + fn into_schema(self) -> Schema; +} + +impl IntoSchema for Schema { + fn into_schema(self) -> Schema { + self + } +} + +impl IntoSchema for ReferenceOr { + fn into_schema_ref(self) -> ReferenceOr where Self: Sized { + self + } + + fn into_schema(self) -> Schema { + match self { + ReferenceOr::Item(schema) => schema, + ReferenceOr::Reference { .. } => SchemaKind::AllOf { + all_of: vec![self] + }.into_schema() + } + } +} + + +impl IntoSchema for SchemaKind { + fn into_schema(self) -> Schema { + Schema { + schema_data: Default::default(), + schema_kind: self, + } + } +} + +impl IntoSchema for Type { + fn into_schema(self) -> Schema { + Schema { + schema_kind: SchemaKind::Type(self), + schema_data: Default::default(), + } + } +} + +impl IntoSchema for ObjectType { + fn into_schema(self) -> Schema { + Schema { + schema_kind: SchemaKind::Type(Type::Object(self)), + schema_data: Default::default(), + } + } +} + +impl IntoSchema for StringType { + fn into_schema(self) -> Schema { + Schema { + schema_kind: SchemaKind::Type(Type::String(self)), + schema_data: Default::default(), + } + } +} diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/enterprise-search.json b/openapi-converter/openapi_to_clients_schema/fixtures/enterprise-search.json index bd9001aa57..e69de29bb2 100644 --- a/openapi-converter/openapi_to_clients_schema/fixtures/enterprise-search.json +++ b/openapi-converter/openapi_to_clients_schema/fixtures/enterprise-search.json @@ -1,1423 +0,0 @@ -{ - "openapi": "3.0.2", - "info": { - "title": "Enterprise Search API V1", - "description": "A set of solution-wide APIs for managing Elastic Enterprise Search", - "version": "v1", - "license": { - "name": "Apache 2.0", - "url": "http://www.apache.org/licenses/LICENSE-2.0.html" - } - }, - "servers": [ - { - "url": "{schemes}://{host}:{port}", - "variables": { - "schemes": { - "enum": [ - "http", - "https" - ], - "default": "http" - }, - "host": { - "default": "localhost", - "description": "The host running Enterprise Search" - }, - "port": { - "default": "3002" - } - } - } - ], - "components": { - "securitySchemes": { - "bearer_auth": { - "type": "apiKey", - "in": "header", - "name": "Authorization" - }, - "basic_auth": { - "type": "http", - "scheme": "basic" - } - }, - "schemas": { - "version": { - "type": "object", - "additionalProperties": false, - "required": [ - "build_date", - "build_hash", - "number" - ], - "properties": { - "number": { - "type": "string" - }, - "build_hash": { - "type": "string" - }, - "build_date": { - "type": "string", - "nullable": true - } - } - }, - "memory_usage": { - "type": "object", - "additionalProperties": false, - "required": [ - "heap_committed", - "heap_init", - "heap_max", - "heap_used", - "non_heap_committed", - "non_heap_init", - "object_pending_finalization_count" - ], - "properties": { - "heap_init": { - "type": "integer" - }, - "heap_used": { - "type": "integer" - }, - "heap_committed": { - "type": "integer" - }, - "heap_max": { - "type": "integer" - }, - "non_heap_init": { - "type": "integer" - }, - "non_heap_committed": { - "type": "integer" - }, - "object_pending_finalization_count": { - "type": "integer" - } - } - }, - "thread_stats": { - "type": "object", - "additionalProperties": false, - "required": [ - "daemon_thread_count", - "peak_thread_count", - "thread_count", - "total_started_thread_count" - ], - "properties": { - "thread_count": { - "type": "integer" - }, - "peak_thread_count": { - "type": "integer" - }, - "total_started_thread_count": { - "type": "integer" - }, - "daemon_thread_count": { - "type": "integer" - } - } - }, - "jvm_gc_collector_info": { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": { - "collection_count": { - "type": "integer" - }, - "collection_time": { - "type": "integer" - } - } - } - }, - "java_gc_info": { - "type": "object", - "additionalProperties": false, - "required": [ - "collection_count", - "collection_time", - "garbage_collectors" - ], - "properties": { - "collection_count": { - "type": "integer" - }, - "collection_time": { - "type": "integer" - }, - "garbage_collectors": { - "$ref": "#/components/schemas/jvm_gc_collector_info" - } - } - }, - "jvm_info": { - "type": "object", - "additionalProperties": false, - "required": [ - "memory_pools", - "memory_usage", - "pid", - "threads", - "gc", - "uptime", - "vm_name", - "vm_vendor", - "vm_version" - ], - "properties": { - "pid": { - "type": "integer" - }, - "uptime": { - "type": "integer" - }, - "memory_usage": { - "$ref": "#/components/schemas/memory_usage" - }, - "memory_pools": { - "type": "array", - "items": { - "type": "string" - } - }, - "threads": { - "$ref": "#/components/schemas/thread_stats" - }, - "vm_version": { - "type": "string" - }, - "vm_vendor": { - "type": "string" - }, - "vm_name": { - "type": "string" - }, - "gc": { - "$ref": "#/components/schemas/java_gc_info" - } - } - }, - "sidecar_info": { - "type": "object", - "additionalProperties": false, - "required": [ - "alive" - ], - "properties": { - "pid": { - "type": "integer" - }, - "alive": { - "type": "boolean" - }, - "restart_count": { - "type": "integer" - }, - "seconds_since_last_restart": { - "type": "integer" - } - } - }, - "system_info": { - "type": "object", - "additionalProperties": false, - "required": [ - "java_version", - "jruby_version", - "os_name", - "os_version" - ], - "properties": { - "java_version": { - "type": "string" - }, - "jruby_version": { - "type": "string" - }, - "os_name": { - "type": "string" - }, - "os_version": { - "type": "string" - } - } - }, - "esqueues_me_job_info": { - "type": "object", - "additionalProperties": false, - "required": [ - "created_at", - "scheduled_at", - "processing_started_at", - "processing_latency", - "time_since_last_scheduled", - "time_since_last_processed", - "total_processed" - ], - "properties": { - "created_at": { - "type": "string", - "format": "date-time" - }, - "scheduled_at": { - "type": "string", - "format": "date-time" - }, - "processing_started_at": { - "type": "string", - "format": "date-time" - }, - "processing_latency": { - "type": "integer" - }, - "time_since_last_scheduled": { - "type": "integer" - }, - "time_since_last_processed": { - "type": "integer" - }, - "total_processed": { - "type": "integer" - } - } - }, - "esqueues_me_info": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/esqueues_me_job_info" - }, - "properties": { - "instance": { - "$ref": "#/components/schemas/esqueues_me_job_info" - } - } - }, - "crawler_workers_pool_info": { - "type": "object", - "additionalProperties": false, - "required": [ - "pool_size", - "active", - "available" - ], - "properties": { - "pool_size": { - "type": "integer" - }, - "active": { - "type": "integer" - }, - "available": { - "type": "integer" - } - } - }, - "crawler_info": { - "type": "object", - "additionalProperties": false, - "required": [ - "running", - "workers" - ], - "properties": { - "running": { - "type": "boolean" - }, - "workers": { - "$ref": "#/components/schemas/crawler_workers_pool_info" - } - } - }, - "storage_summary": { - "type": "object", - "additionalProperties": false, - "required": [ - "index_count", - "size_in_bytes" - ], - "properties": { - "index_count": { - "type": "integer", - "format": "int64" - }, - "size_in_bytes": { - "type": "integer", - "format": "int64" - } - } - }, - "index_info": { - "type": "object", - "additionalProperties": false, - "required": [ - "name", - "size_in_bytes" - ], - "properties": { - "name": { - "type": "string" - }, - "size_in_bytes": { - "type": "integer", - "format": "int64" - } - } - }, - "storage_cleanup_response": { - "type": "object", - "additionalProperties": false, - "required": [ - "indices", - "index_count" - ], - "properties": { - "indices": { - "type": "array", - "items": { - "type": "string" - } - }, - "index_count": { - "type": "integer", - "format": "int64" - } - } - }, - "storage_response": { - "type": "object", - "additionalProperties": false, - "required": [ - "indices", - "summary" - ], - "properties": { - "indices": { - "type": "array", - "items": { - "$ref": "#/components/schemas/index_info" - } - }, - "summary": { - "$ref": "#/components/schemas/storage_summary" - } - } - }, - "health_response": { - "type": "object", - "additionalProperties": false, - "required": [ - "filebeat", - "jvm", - "name", - "system", - "version", - "cluster_uuid" - ], - "properties": { - "name": { - "type": "string" - }, - "cluster_uuid": { - "type": "string" - }, - "version": { - "$ref": "#/components/schemas/version" - }, - "jvm": { - "$ref": "#/components/schemas/jvm_info" - }, - "filebeat": { - "$ref": "#/components/schemas/sidecar_info" - }, - "metricbeat": { - "$ref": "#/components/schemas/sidecar_info" - }, - "system": { - "$ref": "#/components/schemas/system_info" - }, - "esqueues_me": { - "$ref": "#/components/schemas/esqueues_me_info" - }, - "crawler": { - "$ref": "#/components/schemas/crawler_info" - } - } - }, - "timer": { - "type": "object", - "additionalProperties": false, - "required": [ - "max", - "mean", - "sum" - ], - "properties": { - "sum": { - "type": "number" - }, - "max": { - "type": "number" - }, - "mean": { - "type": "number" - } - } - }, - "app_metrics": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/timer" - } - ] - } - }, - "connections": { - "type": "object", - "required": [ - "current", - "max", - "total" - ], - "additionalProperties": false, - "properties": { - "current": { - "type": "integer", - "format": "int64" - }, - "max": { - "type": "integer", - "format": "int64" - }, - "total": { - "type": "integer", - "format": "int64" - } - } - }, - "request_duration_ms": { - "type": "object", - "required": [ - "max", - "mean", - "std_dev" - ], - "additionalProperties": false, - "properties": { - "max": { - "type": "integer", - "format": "int64" - }, - "mean": { - "type": "number", - "format": "double" - }, - "std_dev": { - "type": "number", - "format": "double" - } - } - }, - "network_bytes": { - "type": "object", - "required": [ - "received_total", - "received_rate", - "sent_total", - "sent_rate" - ], - "additionalProperties": false, - "properties": { - "received_total": { - "type": "integer", - "format": "int64" - }, - "received_rate": { - "type": "integer", - "format": "int64" - }, - "sent_total": { - "type": "integer", - "format": "int64" - }, - "sent_rate": { - "type": "integer", - "format": "int64" - } - } - }, - "responses": { - "type": "object", - "required": [ - "1xx", - "2xx", - "3xx", - "4xx", - "5xx" - ], - "additionalProperties": false, - "properties": { - "1xx": { - "type": "integer", - "format": "int64" - }, - "2xx": { - "type": "integer", - "format": "int64" - }, - "3xx": { - "type": "integer", - "format": "int64" - }, - "4xx": { - "type": "integer", - "format": "int64" - }, - "5xx": { - "type": "integer", - "format": "int64" - } - } - }, - "http_stats": { - "type": "object", - "required": [ - "connections", - "request_duration_ms", - "network_bytes", - "responses" - ], - "additionalProperties": false, - "properties": { - "connections": { - "$ref": "#/components/schemas/connections" - }, - "request_duration_ms": { - "$ref": "#/components/schemas/request_duration_ms" - }, - "network_bytes": { - "$ref": "#/components/schemas/network_bytes" - }, - "responses": { - "$ref": "#/components/schemas/responses" - } - } - }, - "app_stats": { - "type": "object", - "additionalProperties": false, - "required": [ - "end", - "metrics", - "pid", - "start" - ], - "properties": { - "pid": { - "type": "integer" - }, - "start": { - "type": "string" - }, - "end": { - "type": "string" - }, - "metrics": { - "$ref": "#/components/schemas/app_metrics" - } - } - }, - "queue_progress": { - "type": "object", - "additionalProperties": false, - "required": [ - "pending" - ], - "properties": { - "pending": { - "type": "integer" - } - } - }, - "queue_stats": { - "type": "object", - "required": [ - "failed" - ], - "properties": { - "failed": { - "type": "array", - "items": { - "type": "object" - } - } - }, - "additionalProperties": { - "$ref": "#/components/schemas/queue_progress" - } - }, - "connector_pool": { - "type": "object", - "additionalProperties": false, - "required": [ - "busy", - "idle", - "queue_depth", - "running", - "size", - "total_completed", - "total_scheduled" - ], - "properties": { - "running": { - "type": "boolean" - }, - "queue_depth": { - "type": "integer" - }, - "size": { - "type": "integer" - }, - "busy": { - "type": "integer" - }, - "idle": { - "type": "integer" - }, - "total_scheduled": { - "type": "integer" - }, - "total_completed": { - "type": "integer" - } - } - }, - "connector_pools": { - "type": "object", - "additionalProperties": false, - "required": [ - "extract_worker_pool", - "publish_worker_pool", - "subextract_worker_pool" - ], - "properties": { - "extract_worker_pool": { - "$ref": "#/components/schemas/connector_pool" - }, - "subextract_worker_pool": { - "$ref": "#/components/schemas/connector_pool" - }, - "publish_worker_pool": { - "$ref": "#/components/schemas/connector_pool" - } - } - }, - "job_types": { - "type": "object", - "additionalProperties": false, - "required": [ - "delete", - "full", - "incremental", - "permissions" - ], - "properties": { - "full": { - "type": "integer" - }, - "incremental": { - "type": "integer" - }, - "delete": { - "type": "integer" - }, - "permissions": { - "type": "integer" - } - } - }, - "job_store": { - "type": "object", - "additionalProperties": false, - "required": [ - "job_types", - "waiting", - "working" - ], - "properties": { - "waiting": { - "type": "integer" - }, - "working": { - "type": "integer" - }, - "job_types": { - "$ref": "#/components/schemas/job_types" - } - } - }, - "connector_stats": { - "type": "object", - "additionalProperties": false, - "required": [ - "alive", - "job_store", - "pool" - ], - "properties": { - "alive": { - "type": "boolean" - }, - "pool": { - "$ref": "#/components/schemas/connector_pools" - }, - "job_store": { - "$ref": "#/components/schemas/job_store" - } - } - }, - "app_search_product_usage_info": { - "type": "object", - "additionalProperties": false, - "required": [ - "total_engines" - ], - "properties": { - "total_engines": { - "type": "integer" - } - } - }, - "workplace_search_product_usage_info": { - "type": "object", - "additionalProperties": false, - "required": [ - "total_org_sources", - "total_private_sources", - "total_queries_last_30_days" - ], - "properties": { - "total_org_sources": { - "type": "integer" - }, - "total_private_sources": { - "type": "integer" - }, - "total_queries_last_30_days": { - "type": "integer" - } - } - }, - "enterprise_search_product_usage_info": { - "type": "object", - "additionalProperties": false, - "required": [ - "total_search_indices" - ], - "properties": { - "total_search_indices": { - "type": "integer" - } - } - }, - "product_usage_info": { - "type": "object", - "additionalProperties": false, - "required": [ - "app_search", - "workplace_search", - "enterprise_search" - ], - "properties": { - "app_search": { - "$ref": "#/components/schemas/app_search_product_usage_info" - }, - "workplace_search": { - "$ref": "#/components/schemas/workplace_search_product_usage_info" - }, - "enterprise_search": { - "$ref": "#/components/schemas/enterprise_search_product_usage_info" - } - } - }, - "crawler_crawl_requests_stats": { - "type": "object", - "additionalProperties": false, - "required": [ - "pending", - "active", - "successful", - "failed" - ], - "properties": { - "pending": { - "type": "integer" - }, - "active": { - "type": "integer" - }, - "successful": { - "type": "integer" - }, - "failed": { - "type": "integer" - } - } - }, - "crawler_global_stats": { - "type": "object", - "additionalProperties": false, - "required": [ - "crawl_requests" - ], - "properties": { - "crawl_requests": { - "$ref": "#/components/schemas/crawler_crawl_requests_stats" - } - } - }, - "crawler_denied_urls_info": { - "type": "object", - "additionalProperties": { - "type": "integer" - } - }, - "crawler_status_codes_info": { - "type": "object", - "additionalProperties": { - "type": "integer" - } - }, - "crawler_workers_info": { - "type": "object", - "additionalProperties": false, - "required": [ - "pool_size", - "active", - "available" - ], - "properties": { - "pool_size": { - "type": "integer" - }, - "active": { - "type": "integer" - }, - "available": { - "type": "integer" - } - } - }, - "crawler_queue_sizes_info": { - "type": "object", - "additionalProperties": false, - "required": [ - "primary", - "purge" - ], - "properties": { - "primary": { - "type": "integer" - }, - "purge": { - "type": "integer" - } - } - }, - "crawler_node_stats": { - "type": "object", - "additionalProperties": false, - "required": [ - "pages_visited", - "urls_allowed", - "urls_denied", - "status_codes", - "queue_size", - "active_threads", - "workers" - ], - "properties": { - "active_threads": { - "type": "integer" - }, - "pages_visited": { - "type": "integer" - }, - "urls_allowed": { - "type": "integer" - }, - "queue_size": { - "$ref": "#/components/schemas/crawler_queue_sizes_info" - }, - "urls_denied": { - "$ref": "#/components/schemas/crawler_denied_urls_info" - }, - "status_codes": { - "$ref": "#/components/schemas/crawler_status_codes_info" - }, - "workers": { - "$ref": "#/components/schemas/crawler_workers_info" - } - } - }, - "crawler_stats": { - "type": "object", - "additionalProperties": false, - "required": [ - "global", - "node" - ], - "properties": { - "global": { - "$ref": "#/components/schemas/crawler_global_stats" - }, - "node": { - "$ref": "#/components/schemas/crawler_node_stats" - } - } - }, - "stats_response": { - "type": "object", - "additionalProperties": false, - "required": [ - "cluster_uuid", - "http", - "app", - "queues", - "connectors" - ], - "properties": { - "cluster_uuid": { - "type": "string" - }, - "http": { - "$ref": "#/components/schemas/http_stats" - }, - "app": { - "$ref": "#/components/schemas/app_stats" - }, - "queues": { - "$ref": "#/components/schemas/queue_stats" - }, - "connectors": { - "$ref": "#/components/schemas/connector_stats" - }, - "crawler": { - "$ref": "#/components/schemas/crawler_stats" - }, - "product_usage": { - "$ref": "#/components/schemas/product_usage_info" - } - } - }, - "read_only_state": { - "type": "object", - "additionalProperties": false, - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean" - } - } - } - }, - "parameters": { - "force": { - "description": "The value for the \"force\" flag", - "in": "query", - "name": "force", - "schema": { - "type": "boolean" - } - }, - "included_stats": { - "name": "include", - "in": "query", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "required": false, - "style": "form", - "explode": false, - "description": "Comma-separated list of stats to return" - } - } - }, - "security": [ - { - "basic_auth": [ - - ] - }, - { - "bearer_auth": [ - - ] - } - ], - "paths": { - "/api/ent/v1/internal/health": { - "get": { - "summary": "Get information on the health of a deployment and basic statistics around resource usage", - "tags": [ - "Health API" - ], - "description": "Get information on the health of a deployment and basic statistics around resource usage", - "operationId": "getHealth", - "security": [ - { - "basic_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/enterprise-search/current/monitoring-apis.html#health-api-example" - }, - "responses": { - "401": { - "description": "unauthorized" - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/health_response" - } - } - } - } - } - } - }, - "/api/ent/v1/internal/read_only_mode": { - "get": { - "summary": "Get the read-only flag's state", - "tags": [ - "Read-Only API" - ], - "description": "Get the read-only flag's state", - "operationId": "getReadOnly", - "security": [ - { - "basic_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/enterprise-search/current/read-only-api.html#getting-read-only-state" - }, - "responses": { - "401": { - "description": "unauthorized" - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/read_only_state" - } - } - } - } - } - }, - "put": { - "summary": "Update the read-only flag's state", - "tags": [ - "Read-Only API" - ], - "description": "Update the read-only flag's state", - "operationId": "putReadOnly", - "security": [ - { - "basic_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/enterprise-search/current/read-only-api.html#setting-read-only-state" - }, - "parameters": [ - - ], - "responses": { - "401": { - "description": "unauthorized" - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/read_only_state" - } - } - } - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/read_only_state" - } - } - }, - "required": true - } - } - }, - "/api/ent/v1/internal/stats": { - "get": { - "summary": "Get information about the resource usage of the application, the state of different internal queues, etc.", - "tags": [ - "Stats API" - ], - "description": "Get information about the resource usage of the application, the state of different internal queues, etc.", - "operationId": "getStats", - "security": [ - { - "basic_auth": [ - - ] - } - ], - "parameters": [ - { - "name": "include", - "in": "query", - "required": false, - "$ref": "#/components/parameters/included_stats" - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/enterprise-search/current/monitoring-apis.html#stats-api-example" - }, - "responses": { - "401": { - "description": "unauthorized" - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/stats_response" - } - } - } - } - } - } - }, - "/api/ent/v1/internal/storage": { - "get": { - "summary": "Get information on the application indices and the space used", - "tags": [ - "Storage API" - ], - "description": "Get information on the application indices and the space used", - "operationId": "getStorage", - "security": [ - { - "basic_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/enterprise-search/current/storage-api.html#get-storage-api" - }, - "responses": { - "401": { - "description": "unauthorized" - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/storage_response" - } - } - } - } - } - } - }, - "/api/ent/v1/internal/storage/stale": { - "get": { - "summary": "Get information on the outdated application indices", - "tags": [ - "Storage API" - ], - "description": "Get information on the outdated application indices", - "operationId": "getStaleStorage", - "security": [ - { - "basic_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/enterprise-search/current/storage-api.html#get-stale-storage-api" - }, - "responses": { - "401": { - "description": "unauthorized" - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/storage_response" - } - } - } - } - } - }, - "delete": { - "summary": "Cleanup outdated application indices", - "tags": [ - "Storage API" - ], - "description": "Cleanup outdated application indices", - "operationId": "deleteStaleStorage", - "security": [ - { - "basic_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/enterprise-search/current/storage-api.html#delete-stale-storage-api" - }, - "parameters": [ - { - "name": "force", - "in": "query", - "description": "The value for the \"force\" flag", - "$ref": "#/components/parameters/force", - "required": false, - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "401": { - "description": "unauthorized" - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/storage_cleanup_response" - } - } - } - } - } - } - }, - "/api/ent/v1/internal/version": { - "get": { - "summary": "Get version information for this server", - "tags": [ - "Version API" - ], - "description": "Get version information for this server", - "operationId": "getVersion", - "security": [ - { - "basic_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/enterprise-search/current/monitoring-apis.html#monitoring-apis-version-api" - }, - "responses": { - "401": { - "description": "unauthorized" - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/version" - } - } - } - } - } - } - } - }, - "tags": [ - { - "name": "Health API", - "description": "An API for quickly getting information on the health of a deployment and basic statistics around resource usage", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/enterprise-search/current/monitoring-apis.html#health-api" - } - }, - { - "name": "Version API", - "description": "An API for getting version information for this server", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/enterprise-search/current/monitoring-apis.html#monitoring-apis-version-api" - } - }, - { - "name": "Stats API", - "description": "A dedicated API for getting information about the resource usage of the application, the state of different internal queues, etc.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/enterprise-search/current/monitoring-apis.html#stats-api" - } - }, - { - "name": "Read-Only API", - "description": "An API endpoint for managing the read-only mode for a deployment", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/enterprise-search/current/read-only-api.html" - } - }, - { - "name": "Storage API", - "description": "An API endpoint for managing storage for a deployment", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/enterprise-search/current/storage-api.html" - } - } - ] -} \ No newline at end of file diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/tests/union-of-variants-external-with-properties.json b/openapi-converter/openapi_to_clients_schema/fixtures/tests/union-of-variants-external-with-properties.json index 5814ef1932..e69de29bb2 100644 --- a/openapi-converter/openapi_to_clients_schema/fixtures/tests/union-of-variants-external-with-properties.json +++ b/openapi-converter/openapi_to_clients_schema/fixtures/tests/union-of-variants-external-with-properties.json @@ -1,58 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json", - "components": { - "schemas": { - "TestCase": { - "allOf": [ - { - "properties": { - "optional": { - "type": "number" - }, - "required": { - "type": "number" - } - }, - "required": [ - "required" - ] - }, - { - "oneOf": [ - { - "properties": { - "one": { - "type": "number" - } - }, - "required": [ - "one" - ] - }, - { - "properties": { - "two": { - "type": "boolean" - } - }, - "required": [ - "two" - ] - }, - { - "properties": { - "three": { - "type": "string" - } - }, - "required": [ - "three" - ] - } - ] - } - ] - } - } - } -} diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/workplace-search.json b/openapi-converter/openapi_to_clients_schema/fixtures/workplace-search.json index d8787ad8e1..e69de29bb2 100644 --- a/openapi-converter/openapi_to_clients_schema/fixtures/workplace-search.json +++ b/openapi-converter/openapi_to_clients_schema/fixtures/workplace-search.json @@ -1,4862 +0,0 @@ -{ - "openapi": "3.0.2", - "info": { - "title": "Workplace Search API", - "description": "A set of product-specific APIs for Elastic Workplace Search", - "version": "v1", - "license": { - "name": "Apache 2.0", - "url": "http://www.apache.org/licenses/LICENSE-2.0.html" - } - }, - "servers": [ - { - "url": "{schemes}://{host}:{port}", - "variables": { - "schemes": { - "enum": [ - "http", - "https" - ], - "default": "http" - }, - "host": { - "default": "localhost", - "description": "The host running Enterprise Search" - }, - "port": { - "default": "3002" - } - } - } - ], - "components": { - "securitySchemes": { - "bearer_auth": { - "type": "apiKey", - "in": "header", - "name": "Authorization" - }, - "basic_auth": { - "type": "http", - "scheme": "basic" - } - }, - "schemas": { - "document_id": { - "type": "string", - "minLength": 1, - "maxLength": 487 - }, - "last_updated": { - "type": "string", - "format": "date-time" - }, - "errors": { - "type": "array", - "minItems": 0, - "items": { - "type": "string" - } - }, - "errors_response": { - "type": "object", - "required": [ - "errors" - ], - "additionalProperties": false, - "properties": { - "errors": { - "$ref": "#/components/schemas/errors" - } - } - }, - "meta_page": { - "type": "object", - "required": [ - "page" - ], - "properties": { - "page": { - "type": "object", - "required": [ - "current", - "total_pages", - "total_results", - "size" - ], - "properties": { - "current": { - "type": "integer" - }, - "total_pages": { - "type": "integer" - }, - "total_results": { - "type": "integer" - }, - "size": { - "type": "integer" - } - } - } - } - }, - "upload_icons_response": { - "type": "object", - "required": [ - "results" - ], - "additionalProperties": false, - "properties": { - "results": { - "type": "object", - "additionalProperties": false, - "properties": { - "main_icon": { - "type": "string" - }, - "alt_icon": { - "type": "string" - } - } - } - } - }, - "permission": { - "type": "string", - "maxLength": 256, - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-document-permissions.html", - "description": "Document level security restricts which documents a user is able to return in search results" - } - }, - "external_user_property": { - "type": "object", - "required": [ - "attribute_name", - "attribute_value" - ], - "additionalProperties": false, - "properties": { - "attribute_name": { - "type": "string", - "enum": [ - "_elasticsearch_username" - ] - }, - "attribute_value": { - "type": "string", - "maxLength": 256 - } - }, - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-external-identities-api.html", - "description": "Arbitrary properties of the user in the external system" - } - }, - "permissions": { - "type": "array", - "description": "List of permissions", - "items": { - "$ref": "#/components/schemas/permission" - } - }, - "external_user_properties": { - "type": "array", - "maxItems": 1024, - "description": "List of external user properties", - "items": { - "$ref": "#/components/schemas/external_user_property" - } - }, - "external_identity": { - "type": "object", - "required": [ - "content_source_id", - "external_user_id" - ], - "properties": { - "content_source_id": { - "type": "string" - }, - "external_user_id": { - "type": "string" - }, - "external_user_properties": { - "$ref": "#/components/schemas/external_user_properties" - }, - "permissions": { - "$ref": "#/components/schemas/permissions" - } - } - }, - "list_external_identities_response": { - "type": "object", - "required": [ - "meta", - "results" - ], - "properties": { - "meta": { - "$ref": "#/components/schemas/meta_page" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/external_identity" - } - } - } - }, - "delete_external_identities_response": { - "type": "string", - "enum": [ - "ok" - ] - }, - "document": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/document_id" - }, - "last_updated": { - "$ref": "#/components/schemas/last_updated" - }, - "_allow_permissions": { - "$ref": "#/components/schemas/permissions" - }, - "_deny_permissions": { - "$ref": "#/components/schemas/permissions" - } - }, - "additionalProperties": true - }, - "document_bulk_create_response": { - "type": "object", - "required": [ - "results" - ], - "properties": { - "results": { - "type": "array", - "items": { - "type": "object", - "required": [ - "id", - "errors" - ], - "properties": { - "id": { - "$ref": "#/components/schemas/document_id" - }, - "errors": { - "$ref": "#/components/schemas/errors" - } - } - } - } - } - }, - "document_bulk_delete_response": { - "type": "object", - "required": [ - "results" - ], - "properties": { - "results": { - "type": "array", - "items": { - "type": "object", - "required": [ - "id", - "success" - ], - "properties": { - "id": { - "$ref": "#/components/schemas/document_id" - }, - "success": { - "type": "boolean" - } - } - } - } - } - }, - "document_ids": { - "type": "array", - "minItems": 1, - "maxItems": 100, - "items": { - "$ref": "#/components/schemas/document_id" - } - }, - "bulk_documents": { - "type": "array", - "minItems": 1, - "maxItems": 100, - "items": { - "$ref": "#/components/schemas/document" - } - }, - "delete_documents_by_query_response": { - "type": "object", - "required": [ - "total", - "deleted", - "failures" - ], - "properties": { - "total": { - "type": "integer" - }, - "deleted": { - "type": "integer" - }, - "failures": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": true - } - } - } - }, - "record_deleted_response": { - "type": "object", - "required": [ - "deleted" - ], - "properties": { - "deleted": { - "type": "boolean", - "enum": [ - true - ] - } - } - }, - "single_document_response": { - "type": "object", - "required": [ - "id", - "source", - "content_source_id", - "last_updated" - ], - "additionalProperties": true, - "properties": { - "id": { - "type": "string" - }, - "source": { - "type": "string" - }, - "content_source_id": { - "type": "string" - }, - "last_updated": { - "type": "string", - "format": "date-time" - }, - "_allow_permissions": { - "$ref": "#/components/schemas/permissions" - }, - "_deny_permissions": { - "$ref": "#/components/schemas/permissions" - } - } - }, - "document_list_response": { - "type": "object", - "required": [ - "meta", - "results" - ], - "additionalProperties": false, - "properties": { - "meta": { - "type": "object", - "required": [ - "page", - "cursor", - "warnings" - ], - "additionalProperties": false, - "properties": { - "page": { - "type": "object", - "required": [ - "current", - "total_pages", - "total_results", - "size" - ], - "properties": { - "current": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "integer" - } - ] - }, - "total_pages": { - "type": "integer" - }, - "total_results": { - "type": "integer" - }, - "size": { - "type": "integer" - } - } - }, - "cursor": { - "type": "object", - "required": [ - "current", - "next" - ], - "properties": { - "current": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "next": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - } - }, - "warnings": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/single_document_response" - } - } - } - }, - "list_content_sources_response": { - "type": "object", - "required": [ - "meta", - "results" - ], - "properties": { - "meta": { - "$ref": "#/components/schemas/meta_page" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/content_source" - } - } - } - }, - "content_source_partial_create_response": { - "description": "Returned when a create request successfully created a content source, but failed to fully configure it as requested", - "type": "object", - "required": [ - "created", - "errors" - ], - "additionalProperties": false, - "properties": { - "created": { - "$ref": "#/components/schemas/content_source", - "description": "The state of the newly created content source" - }, - "errors": { - "$ref": "#/components/schemas/errors", - "description": "Errors that occurred while attempting to configure and finalize the content source. Correct these errors, and follow up with an \"update\" request." - } - } - }, - "content_source_partial_update_response": { - "description": "Returned when an update request partially updated a content source, but failed to fully configure it as requested", - "type": "object", - "required": [ - "updated", - "errors" - ], - "additionalProperties": false, - "properties": { - "updated": { - "$ref": "#/components/schemas/content_source", - "description": "The state of the updated content source" - }, - "errors": { - "$ref": "#/components/schemas/errors", - "description": "Errors that occurred while attempting to configure and finalize the content source. Correct these errors, and follow up with another \"update\" request." - } - } - }, - "whoami_response": { - "type": "object", - "required": [ - "username", - "email" - ], - "additionalProperties": false, - "properties": { - "username": { - "type": "string" - }, - "email": { - "type": "string" - }, - "access_token": { - "type": "string" - } - } - }, - "sync_job_definition": { - "type": "object", - "required": [ - "id", - "job_type", - "status", - "created_at", - "last_updated_at" - ], - "additionalProperties": false, - "properties": { - "id": { - "type": "string" - }, - "job_type": { - "type": "string", - "enum": [ - "full", - "incremental", - "delete", - "permissions" - ] - }, - "status": { - "type": "string", - "enum": [ - "enqueued", - "running", - "suspended", - "failed", - "complete" - ] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "last_updated_at": { - "type": "string", - "format": "date-time" - } - } - }, - "started_sync_jobs": { - "type": "object", - "required": [ - "started" - ], - "additionalProperties": false, - "properties": { - "started": { - "type": "array", - "items": { - "$ref": "#/components/schemas/sync_job_definition" - } - } - } - }, - "interrupted_sync_jobs": { - "type": "object", - "required": [ - "interrupted" - ], - "additionalProperties": false, - "properties": { - "interrupted": { - "type": "array", - "items": { - "$ref": "#/components/schemas/sync_job_definition" - } - } - } - }, - "sync_jobs_command_response": { - "type": "object", - "required": [ - "results" - ], - "additionalProperties": false, - "properties": { - "results": { - "oneOf": [ - { - "$ref": "#/components/schemas/started_sync_jobs" - }, - { - "$ref": "#/components/schemas/interrupted_sync_jobs" - } - ] - } - } - }, - "automatic_query_refinement_details_response": { - "type": "object", - "required": [ - "overrides", - "defaults", - "results" - ], - "additionalProperties": false, - "properties": { - "overrides": { - "type": "array", - "items": { - "$ref": "#/components/schemas/content_source_automatic_query_refinement" - } - }, - "defaults": { - "type": "array", - "items": { - "$ref": "#/components/schemas/content_source_enabled_automatic_query_refinement" - } - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/content_source_enabled_automatic_query_refinement" - } - } - } - }, - "content_source_enabled_automatic_query_refinement": { - "type": "object", - "required": [ - "field", - "query_expansion_phrases", - "is_person" - ], - "properties": { - "field": { - "type": "string" - }, - "query_expansion_phrases": { - "type": "array", - "items": { - "type": "string" - } - }, - "is_person": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "triggers_blocklist_definition": { - "type": "array", - "items": { - "type": "string" - } - }, - "triggers_blocklist_wrapper_definition": { - "type": "object", - "required": [ - "blocklist" - ], - "additionalProperties": false, - "properties": { - "blocklist": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "filter_value": { - "description": "A value to filter on", - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "array_or_singular_filter_value": { - "oneOf": [ - { - "$ref": "#/components/schemas/filter_value" - }, - { - "type": "array", - "maxItems": 1024, - "items": { - "$ref": "#/components/schemas/filter_value" - } - } - ] - }, - "range_filter": { - "type": "object", - "minProperties": 1, - "additionalProperties": false, - "properties": { - "from": { - "description": "The start of the range, inclusive", - "$ref": "#/components/schemas/filter_value" - }, - "to": { - "description": "The end of the range, exclusive", - "$ref": "#/components/schemas/filter_value" - } - } - }, - "geo_range_filter": { - "type": "object", - "description": "A range filter with a geographic center", - "minProperties": 3, - "additionalProperties": false, - "required": [ - "unit", - "center" - ], - "properties": { - "unit": { - "description": "The base unit of measurement [mm, cm, m (meters), km, in, ft, yd, or mi (miles)]", - "$ref": "#/components/schemas/geo_unit_enum" - }, - "center": { - "description": "The mode of the distribution as a \"lat, lon\" string, \"POINT(lon lat)\" WKT POINT string, Geohash string, or [lon, lat] array", - "$ref": "#/components/schemas/geo_point" - }, - "from": { - "description": "Inclusive lower bound of the range. Is required if to is not provided", - "$ref": "#/components/schemas/filter_value" - }, - "to": { - "description": "Exclusive upper bound of the range. Is required if from is not provided", - "$ref": "#/components/schemas/filter_value" - } - } - }, - "geo_distance_filter": { - "type": "object", - "additionalProperties": false, - "required": [ - "unit", - "center", - "distance" - ], - "properties": { - "unit": { - "description": "The base unit of measurement [mm, cm, m (meters), km, in, ft, yd, or mi (miles)]", - "$ref": "#/components/schemas/geo_unit_enum" - }, - "center": { - "description": "The mode of the distribution as a \"lat, lon\" string, \"POINT(lon lat)\" WKT POINT string, Geohash string, or [lon, lat] array", - "$ref": "#/components/schemas/geo_point" - }, - "distance": { - "description": "A number representing the distance unit", - "type": "number", - "minimum": 0, - "maximum": 1.7976931348623157e+308 - } - } - }, - "geo_point": { - "type": "object", - "anyOf": [ - { - "type": "string", - "pattern": "(\\A\\s*(?[-+]?\\d*\\.?\\d+)\\s*,\\s*(?[-+]?\\d*\\.?\\d+)\\s*\\z)" - }, - { - "type": "string", - "pattern": "(?i-mx:\\A\\s*POINT\\s*\\(\\s*(?[-+]?\\d*\\.?\\d+)\\s+(?[-+]?\\d*\\.?\\d+)\\s*\\)\\s*\\z)" - }, - { - "type": "string", - "pattern": "(\\A[0-9b-hjkmnp-z]+\\z)" - }, - { - "type": "array", - "minItems": 2, - "maxItems": 2, - "additionalItems": false, - "items": [ - { - "type": "number", - "minimum": -180, - "maximum": 180 - }, - { - "type": "number", - "minimum": -90, - "maximum": 90 - } - ] - } - ] - }, - "filter": { - "type": "object", - "minProperties": 0, - "maxProperties": 1, - "not": { - "minProperties": 1, - "additionalProperties": false, - "properties": { - "any": { -}, - "all": { -}, - "none": { -} - } - }, - "additionalProperties": { - "oneOf": [ - { - "$ref": "#/components/schemas/array_or_singular_filter_value" - }, - { - "$ref": "#/components/schemas/range_filter" - }, - { - "$ref": "#/components/schemas/geo_range_filter" - }, - { - "$ref": "#/components/schemas/geo_distance_filter" - } - ] - } - }, - "filter_clauses": { - "type": "object", - "minProperties": 1, - "additionalProperties": false, - "properties": { - "any": { - "$ref": "#/components/schemas/array_or_singular_filter_clauses_or_filter" - }, - "all": { - "$ref": "#/components/schemas/array_or_singular_filter_clauses_or_filter" - }, - "none": { - "$ref": "#/components/schemas/array_or_singular_filter_clauses_or_filter" - } - } - }, - "array_or_singular_filter_clauses_or_filter": { - "oneOf": [ - { - "$ref": "#/components/schemas/filter_clauses_or_filter" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/filter_clauses_or_filter" - } - } - ] - }, - "filter_clauses_or_filter": { - "oneOf": [ - { - "$ref": "#/components/schemas/filter_clauses" - }, - { - "$ref": "#/components/schemas/filter" - } - ] - }, - "geo_unit_enum": { - "enum": [ - "m", - "mi", - "in", - "ft", - "yd", - "km", - "cm", - "mm" - ] - }, - "sort": { - "type": "object", - "description": "Field and direction to sort on", - "minProperties": 1, - "maxProperties": 1, - "additionalProperties": { - "enum": [ - "asc", - "desc" - ] - } - }, - "facet_sort": { - "type": "object", - "description": "Facet field to sort on and sort by count and/or value", - "minProperties": 1, - "maxProperties": 1, - "properties": { - "count": { - "enum": [ - "asc", - "desc" - ] - }, - "value": { - "enum": [ - "asc", - "desc" - ] - } - }, - "additionalProperties": false - }, - "facet_value": { - "type": "object", - "description": "Facet by a field value", - "properties": { - "type": { - "enum": [ - "value" - ] - }, - "name": { - "type": "string" - }, - "size": { - "type": "integer", - "minimum": 1, - "maximum": 250, - "default": 10 - }, - "sort": { - "$ref": "#/components/schemas/facet_sort" - } - }, - "additionalProperties": false, - "required": [ - "type" - ] - }, - "facet_range_item": { - "type": "object", - "description": "The range for a facet's bucket", - "properties": { - "from": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "to": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "name": { - "type": "string" - } - }, - "anyOf": [ - { - "required": [ - "from" - ] - }, - { - "required": [ - "to" - ] - } - ], - "additionalProperties": false - }, - "facet_range": { - "type": "object", - "description": "Faceting into buckets by a range of values", - "properties": { - "type": { - "enum": [ - "range" - ] - }, - "name": { - "type": "string" - }, - "ranges": { - "type": "array", - "items": { - "$ref": "#/components/schemas/facet_range_item" - }, - "minItems": 1 - }, - "center": { - "$ref": "#/components/schemas/geo_point" - }, - "unit": { - "$ref": "#/components/schemas/geo_unit_enum" - } - }, - "additionalProperties": false, - "required": [ - "type", - "ranges" - ] - }, - "facet_item": { - "anyOf": [ - { - "$ref": "#/components/schemas/facet_range" - }, - { - "$ref": "#/components/schemas/facet_value" - } - ] - }, - "boost_value_itemtype": { - "oneOf": [ - { - "$ref": "#/components/schemas/filter_value" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/filter_value" - } - } - ] - }, - "boost_is_value_type": { - "properties": { - "type": { - "enum": [ - "value" - ] - } - } - }, - "boost_is_functional_type": { - "properties": { - "type": { - "enum": [ - "functional" - ] - } - } - }, - "boost_is_proximity_type": { - "properties": { - "type": { - "enum": [ - "proximity" - ] - } - } - }, - "boost_value_requirements": { - "anyOf": [ - { - "not": { - "$ref": "#/components/schemas/boost_is_value_type" - } - }, - { - "required": [ - "value" - ], - "not": { - "anyOf": [ - { - "required": [ - "function" - ] - }, - { - "required": [ - "center" - ] - } - ] - } - } - ] - }, - "boost_functional_requirements": { - "anyOf": [ - { - "not": { - "$ref": "#/components/schemas/boost_is_functional_type" - } - }, - { - "required": [ - "function" - ], - "properties": { - "function": { - "enum": [ - "linear", - "exponential", - "logarithmic" - ] - } - }, - "not": { - "anyOf": [ - { - "required": [ - "value" - ] - }, - { - "required": [ - "center" - ] - } - ] - } - } - ] - }, - "boost_proximity_requirements": { - "anyOf": [ - { - "not": { - "$ref": "#/components/schemas/boost_is_proximity_type" - } - }, - { - "required": [ - "center", - "function" - ], - "properties": { - "center": { - "anyOf": [ - { - "$ref": "#/components/schemas/filter_value" - }, - { - "$ref": "#/components/schemas/geo_point" - } - ] - }, - "function": { - "enum": [ - "linear", - "exponential", - "gaussian" - ] - } - } - } - ] - }, - "boost_item": { - "type": "object", - "description": "Field and type of boost with tuning parameters", - "properties": { - "type": { - "enum": [ - "value", - "functional", - "proximity" - ] - }, - "value": { - "$ref": "#/components/schemas/boost_value_itemtype" - }, - "function": { - "enum": [ - "linear", - "exponential", - "logarithmic", - "gaussian" - ] - }, - "operation": { - "type": "string", - "enum": [ - "add", - "multiply" - ], - "default": "add" - }, - "factor": { - "type": "number", - "default": 1.0, - "minimum": 0.0, - "maximum": 10.0 - }, - "center": { - "anyOf": [ - { - "$ref": "#/components/schemas/filter_value" - }, - { - "$ref": "#/components/schemas/geo_point" - } - ] - } - }, - "allOf": [ - { - "$ref": "#/components/schemas/boost_proximity_requirements" - }, - { - "$ref": "#/components/schemas/boost_functional_requirements" - }, - { - "$ref": "#/components/schemas/boost_value_requirements" - } - ], - "required": [ - "type" - ], - "additionalProperties": false - }, - "search_api_query": { - "type": "object", - "additionalProperties": false, - "properties": { - "query": { - "type": "string", - "maxLength": 128, - "default": "", - "description": "A string or number used to find related documents" - }, - "automatic_query_refinement": { - "type": "boolean", - "default": true, - "description": "Set to false to not automatically refine the query by keywords" - }, - "page": { - "type": "object", - "description": "Paging controls for the result set", - "additionalProperties": false, - "default": { -}, - "properties": { - "size": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 10 - }, - "current": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 1 - } - } - }, - "search_fields": { - "type": "object", - "description": "Restrict the fulltext search to only specific fields", - "minProperties": 1, - "additionalProperties": { - "type": "object", - "additionalProperties": false, - "properties": { - "weight": { - "type": "integer", - "minimum": 0, - "maximum": 1000 - } - } - } - }, - "result_fields": { - "type": "object", - "description": "Restrict the result fields for each item to the specified fields", - "minProperties": 1, - "additionalProperties": { - "type": "object", - "minProperties": 1, - "additionalProperties": false, - "properties": { - "raw": { - "type": "object", - "additionalProperties": false, - "properties": { - "size": { - "type": "integer", - "minimum": 20, - "maximum": 1000 - } - } - }, - "snippet": { - "type": "object", - "additionalProperties": false, - "properties": { - "size": { - "type": "integer", - "default": 100, - "minimum": 20, - "maximum": 1000 - }, - "fallback": { - "type": "boolean", - "default": false - } - } - } - } - } - }, - "filters": { - "$ref": "#/components/schemas/filter_clauses_or_filter" - }, - "sort": { - "default": { - "_score": "desc" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/sort" - }, - { - "type": "array", - "maxItems": 10, - "items": { - "$ref": "#/components/schemas/sort" - } - } - ] - }, - "facets": { - "type": "object", - "additionalProperties": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/facet_item" - } - }, - { - "$ref": "#/components/schemas/facet_item" - } - ] - } - }, - "boosts": { - "type": "object", - "additionalProperties": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/boost_item" - } - }, - { - "$ref": "#/components/schemas/boost_item" - } - ] - } - }, - "source_type": { - "enum": [ - "standard", - "remote", - "all" - ], - "description": "Optional parameter to search standard, remote only, or all available sources", - "default": "standard" - }, - "timeout": { - "type": "integer", - "description": "Optional timeout in ms for searching remote sources", - "minimum": 1 - }, - "content_sources": { - "type": "array", - "description": "Optional list of content source ids to only return results from", - "minItems": 1, - "items": { - "type": "string" - } - } - } - }, - "documents_api_query": { - "type": "object", - "additionalProperties": false, - "properties": { - "page": { - "type": "object", - "description": "Paging controls for the result set", - "additionalProperties": false, - "default": { -}, - "properties": { - "size": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 10 - }, - "current": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 1 - } - } - }, - "filters": { - "$ref": "#/components/schemas/filter_clauses_or_filter" - }, - "sort": { - "default": { - "_score": "desc" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/sort" - }, - { - "type": "array", - "maxItems": 10, - "items": { - "$ref": "#/components/schemas/sort" - } - } - ] - }, - "cursor": { - "type": "string", - "pattern": "^[a-zA-Z0-9+/]+=*$" - } - } - }, - "query_refinement_item": { - "type": "object", - "description": "Specifics regarding how this part of the query was refined", - "properties": { - "term": { - "type": "string", - "description": "The term(s) used for the trigger" - }, - "position": { - "type": "array", - "maxItems": 2, - "minItems": 2, - "items": { - "type": "number" - }, - "description": "The start and end position the term(s) exist in the original query" - }, - "trigger_type": { - "type": "string", - "description": "The type of trigger created" - }, - "trigger_filter_type": { - "type": "string", - "description": "The type of filter created from this trigger" - }, - "filter": { - "$ref": "#/components/schemas/filter" - } - } - }, - "search_api_result_item": { - "type": "object", - "description": "A single search result item", - "properties": { - "_meta": { - "type": "object", - "description": "Metadata about this specific result item", - "properties": { - "source": { - "type": "string" - }, - "last_updated": { - "type": "string" - }, - "content_source_id": { - "type": "string" - }, - "id": { - "type": "string" - }, - "score": { - "type": "number" - } - } - } - }, - "additionalProperties": { - "type": "object", - "properties": { - "raw": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "snippet": { - "type": "string", - "nullable": true - } - } - } - }, - "search_api_query_refinement": { - "type": "object", - "description": "Metadata regarding automatic refinements made to the query", - "properties": { - "submitted_query": { - "type": "string" - }, - "decorated_query_html": { - "type": "string" - }, - "refinements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/query_refinement_item" - } - } - }, - "required": [ - "submitted_query", - "decorated_query_html", - "refinements" - ] - }, - "search_api_meta_content_source": { - "description": "a content source used in the search query", - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "service_type": { - "type": "string" - } - } - }, - "search_api_meta_content_sources": { - "description": "content sources used in the search query", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/search_api_meta_content_source" - } - }, - "search_facet_response_item": { - "description": "A single facet that was returned from the query", - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "value", - "range" - ] - }, - "data": { - "type": "array", - "description": "array of facets and counts for this field", - "items": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "count": { - "type": "integer" - }, - "key": { - "type": "string" - }, - "from": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "to": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "count" - ] - } - } - } - }, - "search_facets_response": { - "description": "facets returned from the query", - "oneOf": [ - { - "$ref": "#/components/schemas/search_facet_response_item" - }, - { - "type": "array", - "maxItems": 1024, - "items": { - "$ref": "#/components/schemas/search_facet_response_item" - } - } - ] - }, - "search_api_endpoint_response": { - "type": "object", - "properties": { - "meta": { - "type": "object", - "properties": { - "page": { - "type": "object", - "required": [ - "current", - "total_pages", - "total_results", - "size" - ], - "properties": { - "current": { - "type": "integer" - }, - "total_pages": { - "type": "integer" - }, - "total_results": { - "type": "integer" - }, - "size": { - "type": "integer" - } - } - }, - "request_id": { - "type": "string", - "description": "Internal request ID for this query instance" - }, - "warnings": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Any warnings that the query generated" - }, - "query_refinements": { - "$ref": "#/components/schemas/search_api_query_refinement" - }, - "content_sources": { - "$ref": "#/components/schemas/search_api_meta_content_sources" - }, - "timeout": { - "type": "integer", - "description": "Remote source query timeout value used" - } - }, - "required": [ - "page", - "request_id" - ] - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/search_api_result_item" - } - }, - "facets": { - "$ref": "#/components/schemas/search_facets_response" - } - }, - "required": [ - "meta", - "results" - ] - }, - "event_is_click_type": { - "properties": { - "type": { - "enum": [ - "click" - ] - } - } - }, - "event_is_feedback_type": { - "properties": { - "type": { - "enum": [ - "feedback" - ] - } - } - }, - "event_click_requirements": { - "anyOf": [ - { - "not": { - "$ref": "#/components/schemas/event_is_click_type" - } - }, - { - "required": [ - "event" - ], - "not": { - "anyOf": [ - { - "required": [ - "score" - ] - } - ] - } - } - ] - }, - "event_feedback_requirements": { - "anyOf": [ - { - "not": { - "$ref": "#/components/schemas/event_is_feedback_type" - } - }, - { - "required": [ - "score" - ], - "not": { - "anyOf": [ - { - "required": [ - "event" - ] - } - ] - } - } - ] - }, - "analytics_event": { - "description": "Workplace Search analytics event", - "type": "object", - "additionalProperties": false, - "required": [ - "type", - "query_id", - "page", - "content_source_id", - "document_id", - "rank" - ], - "allOf": [ - { - "$ref": "#/components/schemas/event_click_requirements" - }, - { - "$ref": "#/components/schemas/event_feedback_requirements" - } - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "click", - "feedback" - ] - }, - "query_id": { - "type": "string", - "minLength": 1, - "maxLength": 128, - "description": "query identifier for the event" - }, - "page": { - "type": "integer", - "minimum": 1, - "description": "page number of the document in the query result set" - }, - "content_source_id": { - "type": "string", - "minLength": 1, - "maxLength": 128, - "description": "content source identifier for the event document" - }, - "document_id": { - "type": "string", - "minLength": 1, - "maxLength": 128, - "description": "document identifier for the event" - }, - "rank": { - "type": "integer", - "minimum": 0, - "description": "rank of the document in the overall result set" - }, - "event": { - "type": "string", - "minLength": 1, - "maxLength": 128, - "default": "api", - "description": "the target identifier for a click event" - }, - "score": { - "type": "integer", - "enum": [ - -1, - 1 - ], - "description": "the feedback score, constrained to the values -1 or 1" - } - } - }, - "search_group": { - "type": "object", - "required": [ - "id", - "name" - ], - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - } - }, - "content_source_detail": { - "type": "object", - "additionalProperties": true - }, - "content_source_schema": { - "type": "object", - "additionalProperties": { - "type": "string", - "enum": [ - "text", - "geolocation", - "number", - "date" - ] - } - }, - "content_source_display_detail": { - "type": "object", - "required": [ - "label", - "field_name" - ], - "properties": { - "label": { - "type": "string" - }, - "field_name": { - "type": "string" - } - } - }, - "content_source_display": { - "type": "object", - "required": [ - "title_field", - "url_field" - ], - "additionalProperties": false, - "properties": { - "title_field": { - "type": "string" - }, - "url_field": { - "type": "string" - }, - "color": { - "type": "string", - "pattern": "^#[a-fA-F0-9]{6}$" - }, - "description_field": { - "type": "string", - "nullable": true - }, - "subtitle_field": { - "type": "string", - "nullable": true - }, - "type_field": { - "type": "string", - "nullable": true - }, - "media_type_field": { - "type": "string", - "nullable": true - }, - "created_by_field": { - "type": "string", - "nullable": true - }, - "updated_by_field": { - "type": "string", - "nullable": true - }, - "detail_fields": { - "type": "array", - "items": { - "$ref": "#/components/schemas/content_source_display_detail" - } - } - } - }, - "content_source_indexing_response": { - "type": "object", - "nullable": true, - "description": "Rules for indexing the content for this Content Source", - "required": [ - "default_action" - ], - "additionalProperties": false, - "properties": { - "enabled": { - "type": "boolean" - }, - "features": { - "$ref": "#/components/schemas/content_source_indexing_features" - }, - "default_action": { - "type": "string", - "enum": [ - "include", - "exclude" - ] - }, - "rules": { - "type": "array", - "minItems": 0, - "items": { - "$ref": "#/components/schemas/content_source_indexing_rule" - } - }, - "schedule": { - "$ref": "#/components/schemas/content_source_schedule_response" - } - } - }, - "content_source_indexing_features": { - "type": "object", - "required": [ - "thumbnails", - "content_extraction" - ], - "additionalProperties": false, - "properties": { - "thumbnails": { - "type": "object", - "required": [ - "enabled" - ], - "additionalProperties": false, - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "content_extraction": { - "type": "object", - "required": [ - "enabled" - ], - "additionalProperties": false, - "properties": { - "enabled": { - "type": "boolean" - } - } - } - } - }, - "content_source_indexing_rule": { - "type": "object", - "description": "An indexing rule to index or omit the content for this Content Source", - "properties": { - "exclude": { - "type": "string" - }, - "include": { - "type": "string" - }, - "filter_type": { - "type": "string", - "enum": [ - "object_type", - "path_template", - "file_extension" - ] - }, - "fields": { - "nullable": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/content_source_indexing_rules_field" - } - } - }, - "minProperties": 1, - "maxProperties": 3, - "additionalProperties": false - }, - "content_source_indexing_rules_field": { - "type": "object", - "description": "A field to define remote data capture", - "required": [ - "remote", - "target" - ], - "properties": { - "remote": { - "type": "string" - }, - "target": { - "type": "string" - } - }, - "additionalProperties": false - }, - "content_source_schedule_response": { - "type": "object", - "nullable": true, - "description": "Schedule defining when and how often the content source should be synchronized", - "additionalProperties": false, - "properties": { - "full": { - "type": "string", - "description": "How often a full data synchronization should be performed, as an ISO-8601 duration" - }, - "incremental": { - "type": "string", - "description": "How often to synchronize new changes, as an ISO-8601 duration" - }, - "delete": { - "type": "string", - "description": "How often to purge deleted documents, as an ISO-8601 duration" - }, - "permissions": { - "type": "string", - "description": "How often to update user permissions, as an ISO-8601 duration" - }, - "blocked_windows": { - "type": "array", - "minItems": 0, - "items": { - "$ref": "#/components/schemas/content_source_job_type_window" - } - }, - "estimates": { - "type": "object", - "description": "Estimates of when the next sync of each type will be run and average execution time", - "additionalProperties": false, - "properties": { - "full": { - "$ref": "#/components/schemas/content_source_schedule_estimates" - }, - "incremental": { - "$ref": "#/components/schemas/content_source_schedule_estimates" - }, - "delete": { - "$ref": "#/components/schemas/content_source_schedule_estimates" - }, - "permissions": { - "$ref": "#/components/schemas/content_source_schedule_estimates" - } - } - } - } - }, - "content_source_schedule_estimates": { - "type": "object", - "additionalProperties": false, - "properties": { - "last_run": { - "type": "string", - "description": "The last run time" - }, - "duration": { - "type": "string", - "description": "The average execution time of the last 5 completed jobs, in ISO-8601 format" - }, - "next_start": { - "type": "string", - "description": "The estimated next execution time" - } - } - }, - "content_source_job_type_window": { - "type": "object", - "description": "A time window that applies to a specific type of job", - "required": [ - "job_type", - "day" - ], - "properties": { - "job_type": { - "type": "string", - "enum": [ - "full", - "incremental", - "delete", - "permissions", - "all" - ] - }, - "day": { - "type": "string", - "enum": [ - "all", - "sunday", - "monday", - "tuesday", - "wednesday", - "thursday", - "friday", - "saturday" - ] - }, - "start": { - "type": "string", - "description": "The start of the time window, in the format of HH:mm:ssZ" - }, - "end": { - "type": "string", - "description": "The end of the time window, in the format of HH:mm:ssZ" - } - }, - "additionalProperties": false - }, - "content_source_facets": { - "type": "object", - "nullable": true, - "description": "Facet customizations", - "required": [ - "overrides" - ], - "additionalProperties": false, - "properties": { - "overrides": { - "type": "array", - "minItems": 0, - "items": { - "$ref": "#/components/schemas/content_source_facet" - } - } - } - }, - "content_source_facet": { - "type": "object", - "required": [ - "field", - "enabled" - ], - "properties": { - "field": { - "type": "string" - }, - "enabled": { - "type": "boolean" - }, - "display_name": { - "type": "string", - "nullable": true - }, - "transform": { - "type": "string", - "enum": [ - "capitalize", - "titleize", - "mime_type", - null - ], - "nullable": true - } - } - }, - "content_source_automatic_query_refinements": { - "type": "object", - "nullable": true, - "description": "Automatic query refinement customizations", - "required": [ - "overrides" - ], - "additionalProperties": false, - "properties": { - "overrides": { - "type": "array", - "minItems": 0, - "items": { - "$ref": "#/components/schemas/content_source_automatic_query_refinement" - } - } - } - }, - "content_source_automatic_query_refinement": { - "type": "object", - "required": [ - "field", - "enabled", - "query_expansion_phrases" - ], - "properties": { - "field": { - "type": "string" - }, - "enabled": { - "type": "boolean" - }, - "query_expansion_phrases": { - "type": "array", - "items": { - "type": "string" - } - }, - "is_person": { - "type": "boolean", - "default": false - } - } - }, - "content_source": { - "description": "Workplace Search Content Source", - "type": "object", - "required": [ - "id", - "service_type", - "created_at", - "last_updated_at", - "is_remote", - "details", - "groups", - "name", - "context", - "is_searchable" - ], - "additionalProperties": false, - "properties": { - "id": { - "type": "string", - "description": "The Content Source Identifier." - }, - "service_type": { - "type": "string", - "description": "The Content Source's Service Type. For example, for Google Drive the Service Type is \"google_drive\"." - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The date/time at which this Content Source was originally created." - }, - "last_updated_at": { - "type": "string", - "format": "date-time", - "description": "The date/time at which this Content Source was last updated." - }, - "is_remote": { - "type": "boolean", - "description": "Whether or not this Content Source is a \"remote\" content source. See https://www.elastic.co/guide/en/workplace-search/current/workplace-search-content-sources.html#remote" - }, - "details": { - "type": "array", - "minItems": 0, - "items": { - "$ref": "#/components/schemas/content_source_detail" - }, - "description": "A list of key/value metadata for the Content Source and the account which authenticated/connected it." - }, - "groups": { - "type": "array", - "minItems": 0, - "items": { - "$ref": "#/components/schemas/search_group" - }, - "description": "A list of Workplace Search Group names and IDs which have access to this Content Source." - }, - "name": { - "type": "string", - "description": "The human readable display name of this Content Source." - }, - "schema": { - "$ref": "#/components/schemas/content_source_schema", - "description": "The schema that each document in this Content Source must adhere to." - }, - "display": { - "$ref": "#/components/schemas/content_source_display", - "description": "The display details which governs which fields are displayed, and in what order, in the search results." - }, - "context": { - "type": "string", - "enum": [ - "organization", - "private" - ], - "description": "Can be either \"organization\" or \"private.\" This specifies whether this Content Source is available to groups of users, or a single user." - }, - "is_searchable": { - "type": "boolean", - "description": "Whether or not this Content Source can currently be searched over on the search page." - }, - "indexing": { - "$ref": "#/components/schemas/content_source_indexing_response" - }, - "facets": { - "$ref": "#/components/schemas/content_source_facets" - }, - "automatic_query_refinement": { - "$ref": "#/components/schemas/content_source_automatic_query_refinements" - }, - "document_count": { - "type": "integer", - "description": "How many documents are currently indexed in this Content Source. Note, this field is not applicable to Remote Content Sources." - }, - "last_indexed_at": { - "type": "string", - "format": "date-time", - "nullable": true, - "description": "The date/time when documents were last indexed into this Content Source. This may be \"null\" if documents have not yet been indexed. Note, this field is not applicable to Remote Content Sources." - } - } - }, - "content_source_indexing": { - "type": "object", - "nullable": true, - "description": "Rules for indexing the content for this Content Source", - "required": [ - "default_action" - ], - "additionalProperties": false, - "properties": { - "enabled": { - "type": "boolean" - }, - "features": { - "$ref": "#/components/schemas/content_source_indexing_features" - }, - "default_action": { - "type": "string", - "enum": [ - "include", - "exclude" - ] - }, - "rules": { - "type": "array", - "minItems": 0, - "items": { - "$ref": "#/components/schemas/content_source_indexing_rule" - } - }, - "schedule": { - "$ref": "#/components/schemas/content_source_schedule" - } - } - }, - "content_source_schedule": { - "type": "object", - "nullable": true, - "description": "Schedule defining when and how often the content source should be synchronized", - "additionalProperties": false, - "properties": { - "full": { - "type": "string", - "description": "How often a full data synchronization should be performed, as an ISO-8601 duration" - }, - "incremental": { - "type": "string", - "description": "How often to synchronize new changes, as an ISO-8601 duration" - }, - "delete": { - "type": "string", - "description": "How often to purge deleted documents, as an ISO-8601 duration" - }, - "permissions": { - "type": "string", - "description": "How often to update user permissions, as an ISO-8601 duration" - }, - "blocked_windows": { - "type": "array", - "minItems": 0, - "items": { - "$ref": "#/components/schemas/content_source_job_type_window" - } - } - } - }, - "content_source_create_definition": { - "description": "Definition to create a Workplace Search Content Source", - "type": "object", - "required": [ - "name" - ], - "additionalProperties": false, - "properties": { - "name": { - "type": "string", - "pattern": "^[\\w\\s.()'\\-\\/]*$", - "maxLength": 64, - "description": "The human readable display name for this Content Source." - }, - "schema": { - "$ref": "#/components/schemas/content_source_schema", - "description": "The schema that each document in this Content Source will adhere to." - }, - "display": { - "$ref": "#/components/schemas/content_source_display", - "description": "The display details which governs which fields will be displayed, and in what order, in the search results." - }, - "is_searchable": { - "type": "boolean", - "description": "Whether or not this Content Source will be searchable on the search page." - }, - "indexing": { - "$ref": "#/components/schemas/content_source_indexing" - }, - "facets": { - "$ref": "#/components/schemas/content_source_facets" - }, - "automatic_query_refinement": { - "$ref": "#/components/schemas/content_source_automatic_query_refinements" - } - } - }, - "content_source_update_definition": { - "description": "Definition to update a Workplace Search Content Source", - "type": "object", - "required": [ - "name", - "is_searchable" - ], - "additionalProperties": false, - "properties": { - "name": { - "type": "string", - "pattern": "^[\\w\\s.()'\\-\\/]*$", - "maxLength": 64, - "description": "The human readable display name for this Content Source." - }, - "schema": { - "$ref": "#/components/schemas/content_source_schema", - "description": "The schema that each document in this Content Source will adhere to." - }, - "display": { - "$ref": "#/components/schemas/content_source_display", - "description": "The display details which governs which fields will be displayed, and in what order, in the search results." - }, - "is_searchable": { - "type": "boolean", - "description": "Whether or not this Content Source will be searchable on the search page." - }, - "indexing": { - "$ref": "#/components/schemas/content_source_indexing" - }, - "facets": { - "$ref": "#/components/schemas/content_source_facets" - }, - "automatic_query_refinement": { - "$ref": "#/components/schemas/content_source_automatic_query_refinements" - } - } - }, - "abstract_sync_command": { - "required": [ - "command" - ] - }, - "start_sync_command": { - "allOf": [ - { - "$ref": "#/components/schemas/abstract_sync_command" - }, - { - "type": "object", - "description": "Command to start a synchronisation job for Content Source", - "properties": { - "force_interrupt": { - "type": "boolean" - }, - "command": { - "type": "string", - "enum": [ - "start" - ] - } - }, - "additionalProperties": false - } - ] - }, - "interrupt_sync_command": { - "allOf": [ - { - "$ref": "#/components/schemas/abstract_sync_command" - }, - { - "type": "object", - "description": "Command to interrupt a synchronisation job for Content Source", - "properties": { - "command": { - "type": "string", - "enum": [ - "interrupt" - ] - } - }, - "additionalProperties": false - } - ] - }, - "sync_jobs_command": { - "anyOf": [ - { - "$ref": "#/components/schemas/start_sync_command" - }, - { - "$ref": "#/components/schemas/interrupt_sync_command" - } - ] - }, - "synonyms_page": { - "type": "object", - "description": "Paging controls for the result set", - "additionalProperties": false, - "default": { -}, - "properties": { - "size": { - "type": "integer", - "minimum": 1, - "maximum": 25, - "default": 25 - }, - "current": { - "type": "integer", - "minimum": 1, - "default": 1 - } - } - }, - "synonyms_terms_filter": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "minItems": 1, - "items": { - "type": "string" - } - } - ] - }, - "synonyms_filter": { - "type": "object", - "description": "Filters to apply to the listing", - "additionalProperties": false, - "properties": { - "terms": { - "$ref": "#/components/schemas/synonyms_terms_filter" - } - } - }, - "synonyms_sort": { - "type": "object", - "description": "Field and direction to sort on", - "additionalProperties": false, - "properties": { - "created_at": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "updated_at": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - }, - "synonyms_list_definition": { - "type": "object", - "description": "", - "additionalProperties": false, - "properties": { - "page": { - "$ref": "#/components/schemas/synonyms_page" - }, - "sort": { - "$ref": "#/components/schemas/synonyms_sort" - }, - "filter": { - "$ref": "#/components/schemas/synonyms_filter" - } - } - }, - "bulk_synonym_sets": { - "description": "An array of sets to be created", - "type": "array", - "minItems": 1, - "maxItems": 100, - "items": { - "$ref": "#/components/schemas/single_synonym_set_object" - } - }, - "single_synonym_set_object": { - "description": "A single synonym set", - "type": "object", - "additionalProperties": false, - "properties": { - "synonyms": { - "$ref": "#/components/schemas/single_synonym_set" - } - } - }, - "single_synonym_set": { - "description": "A list of terms for this synonym set", - "type": "array", - "minItems": 2, - "items": { - "type": "string" - } - }, - "synonyms_create_definition": { - "type": "object", - "additionalProperties": false, - "properties": { - "synonyms": { - "$ref": "#/components/schemas/single_synonym_set" - }, - "synonym_sets": { - "$ref": "#/components/schemas/bulk_synonym_sets" - } - }, - "oneOf": [ - { - "required": [ - "synonyms" - ] - }, - { - "required": [ - "synonym_sets" - ] - } - ] - }, - "synonyms_update_definition": { - "type": "object", - "additionalProperties": false, - "properties": { - "synonyms": { - "description": "A list of terms for this synonym set", - "type": "array", - "minItems": 2, - "items": { - "type": "string" - } - } - }, - "required": [ - "synonyms" - ] - }, - "single_synonym_set_response": { - "type": "object", - "description": "A representation of a synonym set", - "properties": { - "id": { - "type": "string", - "description": "The id of the synonym set" - }, - "synonyms": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The synonym terms for the set" - }, - "created_at": { - "type": "string", - "description": "The timestamp in ISO format when the set was created" - }, - "updated_at": { - "type": "string", - "description": "The timestamp in ISO format when the set was last updated" - } - } - }, - "list_synonym_set_response": { - "type": "object", - "description": "A list of synonym sets with metadata", - "properties": { - "meta": { - "type": "object", - "properties": { - "page": { - "type": "object", - "required": [ - "current", - "total_pages", - "total_results", - "size" - ], - "properties": { - "current": { - "type": "integer" - }, - "total_pages": { - "type": "integer" - }, - "total_results": { - "type": "integer" - }, - "size": { - "type": "integer" - } - } - }, - "filter": { - "type": "object", - "description": "Filters used for the listing", - "properties": { - "terms": { - "oneOf": [ - { - "type": "string", - "description": "The filter used (if any)" - }, - { - "type": "array", - "description": "Filter terms used (if any)", - "items": { - "type": "string" - } - } - ] - } - } - }, - "sort": { - "type": "object", - "description": "Any sorting applied to the result set", - "properties": { - "created_at": { - "enum": [ - "asc", - "desc" - ] - }, - "updated_at": { - "enum": [ - "asc", - "desc" - ] - } - } - } - } - }, - "results": { - "type": "array", - "description": "The synonym list results", - "items": { - "$ref": "#/components/schemas/single_synonym_set_response" - } - } - } - }, - "created_synonym_set_response": { - "type": "object", - "description": "A created synonym set with possible error information", - "properties": { - "id": { - "type": "string", - "description": "The id of the created set, or null if invalid" - }, - "synonyms": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The synonym terms for the set" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - }, - "description": "An optional array of error messages, if any" - } - } - }, - "batch_synonym_sets_response": { - "type": "object", - "description": "Response from a request to create a batch of synonym sets", - "properties": { - "has_errors": { - "type": "boolean", - "description": "True if any of the requested synonym sets have errors" - }, - "synonym_sets": { - "type": "array", - "description": "The synonym sets requested to be created", - "items": { - "$ref": "#/components/schemas/created_synonym_set_response" - } - } - } - }, - "content_source_icon_definition": { - "description": "Definition to upload Workplace Search Custom Source icons", - "type": "object", - "minProperties": 1, - "additionalProperties": false, - "properties": { - "main_icon": { - "type": "string", - "format": "byte", - "nullable": true - }, - "alt_icon": { - "type": "string", - "format": "byte", - "nullable": true - } - } - }, - "external_identity_create_definition": { - "description": "Definition to create Workplace Search External User Identity", - "type": "object", - "required": [ - "external_user_id", - "external_user_properties", - "permissions" - ], - "additionalProperties": false, - "properties": { - "external_user_id": { - "type": "string", - "minItems": 1 - }, - "external_user_properties": { - "type": "array", - "minItems": 0, - "maxItems": 1024, - "items": { - "$ref": "#/components/schemas/external_user_property" - }, - "description": "A list of external user properties, where each property is an object with an attribute_name and attribute_value." - }, - "permissions": { - "type": "array", - "minItems": 0, - "items": { - "$ref": "#/components/schemas/permission" - }, - "description": "A list of user permissions." - } - } - }, - "external_identity_update_definition": { - "description": "Definition to update Workplace Search External User Identity", - "type": "object", - "required": [ - "external_user_id" - ], - "minProperties": 2, - "additionalProperties": false, - "properties": { - "external_user_id": { - "type": "string", - "minItems": 1 - }, - "external_user_properties": { - "type": "array", - "nullable": true, - "minItems": 0, - "maxItems": 1024, - "items": { - "$ref": "#/components/schemas/external_user_property" - }, - "description": "A list of external user properties, where each property is an object with an attribute_name and attribute_value." - }, - "permissions": { - "type": "array", - "nullable": true, - "minItems": 0, - "items": { - "$ref": "#/components/schemas/permission" - }, - "description": "A list of user permissions." - } - } - }, - "range": { - "type": "object", - "minProperties": 1, - "additionalProperties": false, - "properties": { - "from": { - "description": "The start of the range, inclusive", - "type": "string" - }, - "to": { - "description": "The end of the range, exclusive", - "type": "string" - } - } - }, - "documents_delete_definition": { - "description": "Definition to delete documents by query in a content source", - "type": "object", - "additionalProperties": false, - "properties": { - "filters": { - "type": "object", - "additionalProperties": false, - "properties": { - "last_updated": { - "description": "The range filter for field last_updated", - "$ref": "#/components/schemas/range" - } - } - } - } - } - }, - "parameters": { - "content_source_id": { - "name": "content_source_id", - "schema": { - "type": "string" - }, - "in": "path", - "required": true, - "description": "Unique ID for a Custom API source, provided upon creation of a Custom API Source" - }, - "current_page": { - "name": "current_page", - "in": "query", - "schema": { - "type": "integer" - }, - "required": false, - "x-codegen-param-name": "currentPage", - "description": "Which page of results to request" - }, - "page_size": { - "name": "page_size", - "in": "query", - "schema": { - "type": "integer" - }, - "required": false, - "x-codegen-param-name": "pageSize", - "description": "The number of results to return in a page" - }, - "external_user_id": { - "name": "external_user_id", - "schema": { - "type": "string" - }, - "in": "path", - "required": true, - "description": "Unique identifier of an external user, such as username or email address." - }, - "document_id": { - "name": "id", - "schema": { - "type": "string", - "minLength": 1, - "maxLength": 487 - }, - "in": "path", - "required": true, - "description": "Unique ID for a content source document. Provided upon or returned at creation." - }, - "job_type": { - "name": "job_type", - "schema": { - "type": "array", - "collectionFormat": "csv", - "items": { - "enum": [ - "full", - "incremental", - "delete", - "permissions" - ] - } - }, - "in": "query", - "required": false, - "description": "The type of sync job to consider" - }, - "synonym_set_id": { - "description": "Synonym Set ID", - "in": "path", - "name": "synonym_set_id", - "required": true, - "schema": { - "type": "string" - } - } - } - }, - "security": [ - { - "basic_auth": [ - - ] - }, - { - "bearer_auth": [ - - ] - } - ], - "paths": { - "/api/ws/v1/sources": { - "post": { - "summary": "Create a content source", - "tags": [ - "Content Sources API" - ], - "description": "Create a custom content source", - "operationId": "createContentSource", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-content-sources-api.html#create-content-source-api" - }, - "parameters": [ - - ], - "responses": { - "400": { - "description": "bad request", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/errors_response" - }, - { - "$ref": "#/components/schemas/content_source_partial_create_response" - } - ] - } - } - } - }, - "401": { - "description": "unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/content_source" - } - } - } - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/content_source_create_definition" - } - } - }, - "required": true - } - }, - "get": { - "summary": "Retrieves all content sources", - "tags": [ - "Content Sources API" - ], - "description": "Retrieves all content sources", - "operationId": "listContentSources", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-content-sources-api.html#list-content-sources-api" - }, - "parameters": [ - { - "name": "page[current]", - "in": "query", - "$ref": "#/components/parameters/current_page", - "required": false, - "schema": { - "type": ["integer"] - } - }, - { - "name": "page[size]", - "in": "query", - "$ref": "#/components/parameters/page_size", - "required": false, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "401": { - "description": "unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/list_content_sources_response" - } - } - } - } - } - } - }, - "/api/ws/v1/sources/{content_source_id}": { - "get": { - "summary": "Retrieves a content source by ID", - "tags": [ - "Content Sources API" - ], - "description": "Retrieves a content source by ID", - "operationId": "getContentSource", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "parameters": [ - { - "name": "content_source_id", - "in": "path", - "$ref": "#/components/parameters/content_source_id", - "required": true - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-content-sources-api.html#get-content-source-api" - }, - "responses": { - "401": { - "description": "unauthorized" - }, - "404": { - "description": "not found" - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/content_source" - } - } - } - } - } - }, - "put": { - "summary": "Update a content source", - "tags": [ - "Content Sources API" - ], - "description": "Update a content source", - "operationId": "putContentSource", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-content-sources-api.html#update-content-source-api" - }, - "parameters": [ - { - "name": "content_source_id", - "in": "path", - "$ref": "#/components/parameters/content_source_id", - "required": true - } - ], - "responses": { - "400": { - "description": "bad request", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/errors_response" - }, - { - "$ref": "#/components/schemas/content_source_partial_update_response" - } - ] - } - } - } - }, - "401": { - "description": "unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/content_source" - } - } - } - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/content_source_update_definition" - } - } - }, - "required": true - } - }, - "delete": { - "summary": "Deletes a content source by ID", - "tags": [ - "Content Sources API" - ], - "description": "Deletes a content source by ID", - "operationId": "deleteContentSource", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-content-sources-api.html#remove-content-source-api" - }, - "parameters": [ - { - "name": "content_source_id", - "in": "path", - "$ref": "#/components/parameters/content_source_id", - "required": true - } - ], - "responses": { - "401": { - "description": "unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "404": { - "description": "not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "400": { - "description": "bad request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/record_deleted_response" - } - } - } - } - } - } - }, - "/api/ws/v1/sources/{content_source_id}/icon": { - "put": { - "summary": "Upload content source icons", - "tags": [ - "Content Sources API" - ], - "description": "Upload content source icons", - "operationId": "putContentSourceIcons", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-content-sources-api.html#upload-content-source-icon-api" - }, - "parameters": [ - { - "name": "content_source_id", - "in": "path", - "$ref": "#/components/parameters/content_source_id", - "required": true - } - ], - "responses": { - "400": { - "description": "bad request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "401": { - "description": "unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/upload_icons_response" - } - } - } - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/content_source_icon_definition" - } - } - }, - "required": true - } - } - }, - "/api/ws/v1/sources/{content_source_id}/documents": { - "delete": { - "summary": "Deletes documents by query in a custom content source", - "tags": [ - "Documents API" - ], - "description": "Deletes documents by query in a custom content source", - "operationId": "deleteDocumentsByQuery", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-custom-sources-api.html#delete-documents-by-query" - }, - "parameters": [ - { - "name": "content_source_id", - "in": "path", - "$ref": "#/components/parameters/content_source_id", - "required": true - } - ], - "responses": { - "401": { - "description": "unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "404": { - "description": "not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/delete_documents_by_query_response" - } - } - } - }, - "400": { - "description": "bad request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/documents_delete_definition" - } - } - } - } - }, - "post": { - "summary": "Lists documents from a custom content source", - "tags": [ - "Documents API" - ], - "description": "Lists documents from a custom content source", - "operationId": "listDocuments", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-custom-sources-api.html#list-documents" - }, - "parameters": [ - { - "name": "content_source_id", - "in": "path", - "$ref": "#/components/parameters/content_source_id", - "required": true - } - ], - "responses": { - "401": { - "description": "unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "404": { - "description": "not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/document_list_response" - } - } - } - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/documents_api_query" - } - } - } - } - } - }, - "/api/ws/v1/sources/{content_source_id}/documents/bulk_create": { - "post": { - "summary": "Indexes one or more new documents into a custom content source, or updates one or more existing documents", - "tags": [ - "Documents API" - ], - "description": "Indexes one or more new documents into a custom content source, or updates one or more existing documents", - "operationId": "indexDocuments", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-custom-sources-api.html#index-and-update" - }, - "parameters": [ - { - "name": "content_source_id", - "in": "path", - "$ref": "#/components/parameters/content_source_id", - "required": true - } - ], - "x-codegen-request-body-name": "documents", - "responses": { - "400": { - "description": "bad request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "413": { - "description": "payload too large", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "401": { - "description": "unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "404": { - "description": "not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/document_bulk_create_response" - } - } - } - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/bulk_documents" - } - } - }, - "required": true - } - } - }, - "/api/ws/v1/sources/{content_source_id}/documents/bulk_destroy": { - "post": { - "summary": "Deletes a list of documents from a custom content source", - "tags": [ - "Documents API" - ], - "description": "Remove documents from a Custom API Source", - "operationId": "deleteDocuments", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-custom-sources-api.html#delete-by-id" - }, - "parameters": [ - { - "name": "content_source_id", - "in": "path", - "$ref": "#/components/parameters/content_source_id", - "required": true - } - ], - "x-codegen-request-body-name": "document_ids", - "responses": { - "400": { - "description": "bad request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "413": { - "description": "payload too large", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "401": { - "description": "unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "404": { - "description": "not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/document_bulk_delete_response" - } - } - } - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/document_ids" - } - } - }, - "required": true - } - } - }, - "/api/ws/v1/sources/{content_source_id}/documents/{document_id}": { - "get": { - "summary": "Retrieves a document by ID from the specified content source", - "tags": [ - "Documents API" - ], - "description": "Retrieves a document by ID from the specified content source", - "operationId": "getDocument", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-content-sources-api.html#get-document-by-id-api" - }, - "parameters": [ - { - "name": "content_source_id", - "in": "path", - "$ref": "#/components/parameters/content_source_id", - "required": true - }, - { - "name": "document_id", - "in": "path", - "$ref": "#/components/parameters/document_id", - "required": true - } - ], - "responses": { - "401": { - "description": "unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "404": { - "description": "not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/single_document_response" - } - } - } - } - } - } - }, - "/api/ws/v1/sources/{content_source_id}/external_identities": { - "get": { - "summary": "Retrieves all external identities", - "tags": [ - "External Identities API" - ], - "description": "Retrieves all external identities", - "operationId": "listExternalIdentities", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-external-identities-api.html#list-external-identities" - }, - "parameters": [ - { - "name": "content_source_id", - "in": "path", - "$ref": "#/components/parameters/content_source_id", - "required": true - }, - { - "name": "page[current]", - "in": "query", - "$ref": "#/components/parameters/current_page", - "required": false, - "schema": { - "type": "integer" - } - }, - { - "name": "page[size]", - "in": "query", - "$ref": "#/components/parameters/page_size", - "required": false, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "401": { - "description": "unauthorized" - }, - "404": { - "description": "not found" - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/list_external_identities_response" - } - } - } - } - } - }, - "post": { - "summary": "Adds a new external identity", - "tags": [ - "External Identities API" - ], - "description": "Adds a new external identity", - "operationId": "createExternalIdentity", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-external-identities-api.html#add-external-identity" - }, - "parameters": [ - { - "name": "content_source_id", - "in": "path", - "$ref": "#/components/parameters/content_source_id", - "required": true - } - ], - "responses": { - "400": { - "description": "bad request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response", - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "401": { - "description": "unauthorized" - }, - "404": { - "description": "not found" - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/external_identity" - } - } - } - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/external_identity_create_definition" - } - } - }, - "required": true - } - } - }, - "/api/ws/v1/sources/{content_source_id}/external_identities/{external_user_id}": { - "get": { - "summary": "Retrieves an external identity", - "tags": [ - "External Identities API" - ], - "description": "Retrieves an external identity", - "operationId": "getExternalIdentity", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-external-identities-api.html#show-external-identity" - }, - "parameters": [ - { - "name": "content_source_id", - "in": "path", - "$ref": "#/components/parameters/content_source_id", - "required": true - }, - { - "name": "external_user_id", - "in": "path", - "$ref": "#/components/parameters/external_user_id", - "required": true - } - ], - "responses": { - "401": { - "description": "unauthorized" - }, - "404": { - "description": "not found" - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/external_identity" - } - } - } - } - } - }, - "put": { - "summary": "Updates an external identity", - "tags": [ - "External Identities API" - ], - "description": "Updates an external identity", - "operationId": "putExternalIdentity", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-external-identities-api.html#update-external-identity" - }, - "parameters": [ - { - "name": "content_source_id", - "in": "path", - "$ref": "#/components/parameters/content_source_id", - "required": true - }, - { - "name": "external_user_id", - "in": "path", - "$ref": "#/components/parameters/external_user_id", - "required": true - } - ], - "responses": { - "401": { - "description": "unauthorized" - }, - "404": { - "description": "not found" - }, - "400": { - "description": "bad request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/external_identity" - } - } - } - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/external_identity_update_definition" - } - } - }, - "required": true - } - }, - "delete": { - "summary": "Deletes an external identity", - "tags": [ - "External Identities API" - ], - "description": "Deletes an external identity", - "operationId": "deleteExternalIdentity", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-external-identities-api.html#remove-external-identity" - }, - "parameters": [ - { - "name": "content_source_id", - "in": "path", - "$ref": "#/components/parameters/content_source_id", - "required": true - }, - { - "name": "external_user_id", - "in": "path", - "$ref": "#/components/parameters/external_user_id", - "required": true - } - ], - "responses": { - "401": { - "description": "unauthorized" - }, - "404": { - "description": "not found" - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/delete_external_identities_response" - } - } - } - } - } - } - }, - "/api/ws/v1/sources/{content_source_id}/sync/jobs": { - "post": { - "summary": "Issue commands to a Content Source's sync jobs", - "tags": [ - "Sync Jobs API" - ], - "description": "Control a content source's sync jobs", - "operationId": "commandSyncJobs", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-sync-jobs-api.html#command-sync-jobs-api" - }, - "parameters": [ - { - "name": "content_source_id", - "in": "path", - "$ref": "#/components/parameters/content_source_id", - "required": true - }, - { - "name": "job_type", - "in": "query", - "$ref": "#/components/parameters/job_type", - "required": false, - "schema": { - "type": "array" - } - } - ], - "responses": { - "401": { - "description": "unauthorized" - }, - "402": { - "description": "payment required" - }, - "404": { - "description": "not found" - }, - "400": { - "description": "bad request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/sync_jobs_command_response" - } - } - } - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/sync_jobs_command" - } - } - }, - "required": true - } - } - }, - "/api/ws/v1/synonyms/{synonym_set_id}": { - "get": { - "summary": "Retrieve a synonym set by ID", - "tags": [ - "Synonyms API" - ], - "description": "Retrieve a synonym set by ID", - "operationId": "getSynonymSet", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-synonyms-api.html#show-synonym" - }, - "parameters": [ - { - "name": "synonym_set_id", - "in": "path", - "$ref": "#/components/parameters/synonym_set_id", - "required": true - } - ], - "responses": { - "401": { - "description": "unauthorized" - }, - "404": { - "description": "not found" - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/single_synonym_set_response" - } - } - } - } - } - }, - "put": { - "summary": "Update a synonym set", - "tags": [ - "Synonyms API" - ], - "description": "Update a synonym set", - "operationId": "putSynonymSet", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-synonyms-api.html#update-synonym" - }, - "parameters": [ - { - "name": "synonym_set_id", - "in": "path", - "$ref": "#/components/parameters/synonym_set_id", - "required": true - } - ], - "responses": { - "400": { - "description": "bad request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "401": { - "description": "unauthorized" - }, - "404": { - "description": "not found" - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/single_synonym_set_response" - } - } - } - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/synonyms_update_definition" - } - } - }, - "required": true - } - }, - "delete": { - "summary": "Delete a synonym set", - "tags": [ - "Synonyms API" - ], - "description": "Delete a synonym set", - "operationId": "deleteSynonymSet", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-synonyms-api.html#delete-synonym" - }, - "parameters": [ - { - "name": "synonym_set_id", - "in": "path", - "$ref": "#/components/parameters/synonym_set_id", - "required": true - } - ], - "responses": { - "401": { - "description": "unauthorized" - }, - "404": { - "description": "not found" - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/record_deleted_response" - } - } - } - } - } - } - }, - "/api/ws/v1/synonyms": { - "get": { - "summary": "Retrieves all synonym sets", - "tags": [ - "Synonyms API" - ], - "description": "Retrieve a list of synonym sets", - "operationId": "listSynonymSets", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-synonyms-api.html#list-synonyms" - }, - "parameters": [ - - ], - "responses": { - "400": { - "description": "bad request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "401": { - "description": "unauthorized" - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/list_synonym_set_response" - } - } - } - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/synonyms_list_definition" - } - } - } - } - }, - "post": { - "summary": "Create a batch of synonym sets", - "tags": [ - "Synonyms API" - ], - "description": "Create batched synonym sets", - "operationId": "createBatchSynonymSets", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-synonyms-api.html#create-synonyms" - }, - "parameters": [ - - ], - "responses": { - "400": { - "description": "bad request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "401": { - "description": "unauthorized" - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/batch_synonym_sets_response" - } - } - } - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/synonyms_create_definition" - } - } - }, - "required": true - } - } - }, - "/api/ws/v1/automatic_query_refinement": { - "get": { - "summary": "Get current triggers blocklist", - "description": "Get current triggers blocklist", - "operationId": "getTriggersBlocklist", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/automatic-query-refinement-blocklist.html" - }, - "responses": { - "401": { - "description": "unauthorized" - }, - "404": { - "description": "not found" - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/triggers_blocklist_wrapper_definition" - } - } - } - } - } - }, - "put": { - "summary": "Update current triggers blocklist", - "description": "Update current triggers blocklist", - "operationId": "putTriggersBlocklist", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/automatic-query-refinement-blocklist.html" - }, - "parameters": [ - - ], - "responses": { - "401": { - "description": "unauthorized" - }, - "404": { - "description": "not found" - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "example": { - "blocklist": [ - "one", - "two", - "three" - ] - }, - "schema": { - "$ref": "#/components/schemas/triggers_blocklist_wrapper_definition" - } - } - } - }, - "400": { - "description": "bad request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - } - } - } - }, - "/api/ws/v1/sources/{content_source_id}/automatic_query_refinement": { - "get": { - "summary": "Retrieves a content source's automatic query refinement details", - "tags": [ - "Content Sources API" - ], - "description": "Retrieves a content source's automatic query refinement details", - "operationId": "getAutoQueryRefinementDetails", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "parameters": [ - { - "name": "content_source_id", - "in": "path", - "$ref": "#/components/parameters/content_source_id", - "required": true - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-content-sources-api.html#get-automatic-query-refinement-details-api" - }, - "responses": { - "401": { - "description": "unauthorized" - }, - "404": { - "description": "not found" - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/automatic_query_refinement_details_response" - } - } - } - } - } - } - }, - "/api/ws/v1/whoami": { - "get": { - "summary": "Get the authenticated user", - "description": "Get the authenticated user", - "operationId": "getCurrentUser", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-user-api.html#get-current-user-api" - }, - "responses": { - "401": { - "description": "unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/whoami_response" - } - } - } - } - } - } - }, - "/api/ws/v1/analytics/event": { - "post": { - "summary": "Capture click and feedback analytic events", - "tags": [ - "Analytics API" - ], - "description": "Capture Analytic events for click and feedback", - "operationId": "createAnalyticsEvent", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "parameters": [ - - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-analytics-api.html" - }, - "responses": { - "400": { - "description": "bad request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "401": { - "description": "unauthorized" - }, - "200": { - "description": "ok" - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/analytics_event" - } - } - }, - "required": true - } - } - }, - "/api/ws/v1/search": { - "post": { - "summary": "Search across available sources with various query tuning options", - "tags": [ - "Search API" - ], - "description": "Issue a Search Query", - "operationId": "search", - "security": [ - { - "bearer_auth": [ - - ] - } - ], - "parameters": [ - - ], - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-search-api.html" - }, - "responses": { - "400": { - "description": "bad request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errors_response" - } - } - } - }, - "401": { - "description": "unauthorized" - }, - "200": { - "description": "ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/search_api_endpoint_response" - } - } - } - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/search_api_query" - } - } - }, - "required": true - } - } - } - }, - "tags": [ - { - "name": "Documents API", - "description": "Index, update, and destroy documents from a Custom API Source", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-custom-sources-api.html" - } - }, - { - "name": "Search API", - "description": "Comprehensive endpoint to issue search queries and retrieve results", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-search-api.html" - } - }, - { - "name": "Analytics API", - "description": "Allows logging of analytic events for click and feedback results via API", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-analytics-api.html" - } - }, - { - "name": "External Identities API", - "description": "Add, remove, and list mappings between External Source Identities and Internal Users", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-external-identities-api.html" - } - }, - { - "name": "Content Sources API", - "description": "Add, update, remove, list, and show Content Sources", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-content-sources-api.html" - } - }, - { - "name": "Sync Jobs API", - "description": "Interact with Content Source sync jobs", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-sync-jobs-api.html" - } - }, - { - "name": "Synonyms API", - "description": "Add, update, remove, list, and show Synonyms", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/workplace-search/current/workplace-search-synonyms-api.html" - } - } - ] -} From 6ab9922dd8efde5ff50ed254485e9bbbc3755769 Mon Sep 17 00:00:00 2001 From: Sylvain Wallez Date: Wed, 16 Aug 2023 18:05:01 +0200 Subject: [PATCH 05/17] Add README, commit generated OpenAPI schema --- openapi-converter/README.md | 3 +- .../clients_schema_to_openapi/README.md | 17 + .../clients_schema_to_openapi/src/lib.rs | 2 +- .../clients_schema_to_openapi/src/main.rs | 3 +- output/openapi/elasticsearch-openapi.json | 91334 ++++++++++++++++ 5 files changed, 91356 insertions(+), 3 deletions(-) create mode 100644 openapi-converter/clients_schema_to_openapi/README.md create mode 100644 output/openapi/elasticsearch-openapi.json diff --git a/openapi-converter/README.md b/openapi-converter/README.md index 15c935ae56..e77df3dbd7 100644 --- a/openapi-converter/README.md +++ b/openapi-converter/README.md @@ -3,5 +3,6 @@ Workspace members: * [`clients_schema`](./clients_schema/): a Rust implementation of the [Elasticsearch specification schema](https://github.com/elastic/elasticsearch-specification/blob/main/compiler/src/model/metamodel.ts) metamodel. -* [`openapi_to_clients_schema`](./openapi_to_clients_schema): translate an OpenAPI specification to an Elasticsearch +* [`clients_schema_to_openapi`](./clients_schema_to_openapi): conversion of the `schema.json` format to OpenAPI. Supersedes [elasticsearch-openapi](https://github.com/elastic/elasticsearch-openapi). +* [`openapi_to_clients_schema`](./openapi_to_clients_schema): experimental, translate an OpenAPI specification to an Elasticsearch schema that can be used as input for code generation. diff --git a/openapi-converter/clients_schema_to_openapi/README.md b/openapi-converter/clients_schema_to_openapi/README.md new file mode 100644 index 0000000000..5dd42cf94d --- /dev/null +++ b/openapi-converter/clients_schema_to_openapi/README.md @@ -0,0 +1,17 @@ +# Schema.json to OpenAPI converter + +This project provides a utility to convert the [schema.json](../../output/schema) file representing the Elasticsearch API specification to OpenAPI version 3.0.3. + +The conversion pipeline is the following: + +```mermaid +flowchart LR + ts[TypeScript API] + schema[schema.json] + openapi[OpenAPI] + + ts --> schema + schema --> openapi +``` + +This is still a work in progress. The OpenAPI specification generated from the current `schema.json` can be found in the [output/openapi](../../output/openapi) directory. diff --git a/openapi-converter/clients_schema_to_openapi/src/lib.rs b/openapi-converter/clients_schema_to_openapi/src/lib.rs index 654c4bec30..c5ac0c4645 100644 --- a/openapi-converter/clients_schema_to_openapi/src/lib.rs +++ b/openapi-converter/clients_schema_to_openapi/src/lib.rs @@ -30,7 +30,7 @@ pub fn convert_schema_file(path: impl AsRef, endpoint_filter: fn(e: &Endpo } let openapi = convert_schema(&model, endpoint_filter)?; - //serde_json::to_writer_pretty(BufWriter::new(out), &openapi)?; + serde_json::to_writer_pretty(BufWriter::new(out), &openapi)?; Ok(()) } diff --git a/openapi-converter/clients_schema_to_openapi/src/main.rs b/openapi-converter/clients_schema_to_openapi/src/main.rs index d70c5b7b73..a280fd2db7 100644 --- a/openapi-converter/clients_schema_to_openapi/src/main.rs +++ b/openapi-converter/clients_schema_to_openapi/src/main.rs @@ -22,7 +22,8 @@ fn main() -> anyhow::Result<()> { "../output/schema/schema-no-generics.json", |e| true, //|e| e.name == "search", - std::io::stdout() + std::fs::File::create("../output/openapi/elasticsearch-openapi.json")? + //std::io::stdout() )?; Ok(()) diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json new file mode 100644 index 0000000000..8ea9c8ece1 --- /dev/null +++ b/output/openapi/elasticsearch-openapi.json @@ -0,0 +1,91334 @@ +{ + "openapi": "3.0.3", + "info": { + "title": "Elasticsearch Request & Response Specification", + "license": { + "name": "Apache 2.0", + "url": "https://github.com/elastic/elasticsearch-specification/blob/main/LICENSE" + }, + "version": "" + }, + "paths": { + "/_async_search/{id}": { + "put": { + "description": "Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/async-search.html" + }, + "operationId": "async_search.delete#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "A unique identifier for the async search.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_async_search/{id}{?keep_alive,typed_keys,wait_for_completion_timeout}": { + "get": { + "description": "Retrieves the results of a previously submitted async search request given its ID.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/async-search.html" + }, + "operationId": "async_search.get#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "A unique identifier for the async search.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "keep_alive", + "description": "Specifies how long the async search should be available in the cluster.\nWhen not specified, the `keep_alive` set with the corresponding submit async request will be used.\nOtherwise, it is possible to override the value and extend the validity of the request.\nWhen this period expires, the search, if still running, is cancelled.\nIf the search is completed, its saved results are deleted.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "typed_keys", + "description": "Specify whether aggregation and suggester names should be prefixed by their respective types in the response", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_completion_timeout", + "description": "Specifies to wait for the search to be completed up until the provided timeout.\nFinal results will be returned if available before the timeout expires, otherwise the currently available results will be returned once the timeout expires.\nBy default no timeout is set meaning that the currently available results will be returned without any additional wait.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/async_search._types:AsyncSearchDocumentResponseBase" + } + } + } + } + } + } + }, + "/_async_search/status/{id}": { + "get": { + "description": "Retrieves the status of a previously submitted async search request given its ID.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/async-search.html" + }, + "operationId": "async_search.status#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "A unique identifier for the async search.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/async_search.status:StatusResponseBase" + } + } + } + } + } + } + }, + "/_async_search{?wait_for_completion_timeout,keep_on_completion,keep_alive,allow_no_indices,allow_partial_search_results,analyzer,analyze_wildcard,batched_reduce_size,ccs_minimize_roundtrips,default_operator,df,docvalue_fields,expand_wildcards,explain,ignore_throttled,ignore_unavailable,lenient,max_concurrent_shard_requests,min_compatible_shard_node,preference,pre_filter_shard_size,request_cache,routing,scroll,search_type,stats,stored_fields,suggest_field,suggest_mode,suggest_size,suggest_text,terminate_after,timeout,track_total_hits,track_scores,typed_keys,rest_total_hits_as_int,version,_source,_source_excludes,_source_includes,seq_no_primary_term,q,size,from,sort}": { + "post": { + "description": "Executes a search request asynchronously.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/async-search.html" + }, + "operationId": "async_search.submit#0", + "parameters": [ + { + "$ref": "#/components/parameters/async_search.submit#wait_for_completion_timeout" + }, + { + "$ref": "#/components/parameters/async_search.submit#keep_on_completion" + }, + { + "$ref": "#/components/parameters/async_search.submit#keep_alive" + }, + { + "$ref": "#/components/parameters/async_search.submit#allow_no_indices" + }, + { + "$ref": "#/components/parameters/async_search.submit#allow_partial_search_results" + }, + { + "$ref": "#/components/parameters/async_search.submit#analyzer" + }, + { + "$ref": "#/components/parameters/async_search.submit#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/async_search.submit#batched_reduce_size" + }, + { + "$ref": "#/components/parameters/async_search.submit#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/async_search.submit#default_operator" + }, + { + "$ref": "#/components/parameters/async_search.submit#df" + }, + { + "$ref": "#/components/parameters/async_search.submit#docvalue_fields" + }, + { + "$ref": "#/components/parameters/async_search.submit#expand_wildcards" + }, + { + "$ref": "#/components/parameters/async_search.submit#explain" + }, + { + "$ref": "#/components/parameters/async_search.submit#ignore_throttled" + }, + { + "$ref": "#/components/parameters/async_search.submit#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/async_search.submit#lenient" + }, + { + "$ref": "#/components/parameters/async_search.submit#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/async_search.submit#min_compatible_shard_node" + }, + { + "$ref": "#/components/parameters/async_search.submit#preference" + }, + { + "$ref": "#/components/parameters/async_search.submit#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/async_search.submit#request_cache" + }, + { + "$ref": "#/components/parameters/async_search.submit#routing" + }, + { + "$ref": "#/components/parameters/async_search.submit#scroll" + }, + { + "$ref": "#/components/parameters/async_search.submit#search_type" + }, + { + "$ref": "#/components/parameters/async_search.submit#stats" + }, + { + "$ref": "#/components/parameters/async_search.submit#stored_fields" + }, + { + "$ref": "#/components/parameters/async_search.submit#suggest_field" + }, + { + "$ref": "#/components/parameters/async_search.submit#suggest_mode" + }, + { + "$ref": "#/components/parameters/async_search.submit#suggest_size" + }, + { + "$ref": "#/components/parameters/async_search.submit#suggest_text" + }, + { + "$ref": "#/components/parameters/async_search.submit#terminate_after" + }, + { + "$ref": "#/components/parameters/async_search.submit#timeout" + }, + { + "$ref": "#/components/parameters/async_search.submit#track_total_hits" + }, + { + "$ref": "#/components/parameters/async_search.submit#track_scores" + }, + { + "$ref": "#/components/parameters/async_search.submit#typed_keys" + }, + { + "$ref": "#/components/parameters/async_search.submit#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/async_search.submit#version" + }, + { + "$ref": "#/components/parameters/async_search.submit#_source" + }, + { + "$ref": "#/components/parameters/async_search.submit#_source_excludes" + }, + { + "$ref": "#/components/parameters/async_search.submit#_source_includes" + }, + { + "$ref": "#/components/parameters/async_search.submit#seq_no_primary_term" + }, + { + "$ref": "#/components/parameters/async_search.submit#q" + }, + { + "$ref": "#/components/parameters/async_search.submit#size" + }, + { + "$ref": "#/components/parameters/async_search.submit#from" + }, + { + "$ref": "#/components/parameters/async_search.submit#sort" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/async_search.submit" + }, + "responses": { + "200": { + "$ref": "#/components/responses/async_search.submit#200" + } + } + } + }, + "/{index}/_async_search{?wait_for_completion_timeout,keep_on_completion,keep_alive,allow_no_indices,allow_partial_search_results,analyzer,analyze_wildcard,batched_reduce_size,ccs_minimize_roundtrips,default_operator,df,docvalue_fields,expand_wildcards,explain,ignore_throttled,ignore_unavailable,lenient,max_concurrent_shard_requests,min_compatible_shard_node,preference,pre_filter_shard_size,request_cache,routing,scroll,search_type,stats,stored_fields,suggest_field,suggest_mode,suggest_size,suggest_text,terminate_after,timeout,track_total_hits,track_scores,typed_keys,rest_total_hits_as_int,version,_source,_source_excludes,_source_includes,seq_no_primary_term,q,size,from,sort}": { + "post": { + "description": "Executes a search request asynchronously.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/async-search.html" + }, + "operationId": "async_search.submit#1", + "parameters": [ + { + "$ref": "#/components/parameters/async_search.submit#index" + }, + { + "$ref": "#/components/parameters/async_search.submit#wait_for_completion_timeout" + }, + { + "$ref": "#/components/parameters/async_search.submit#keep_on_completion" + }, + { + "$ref": "#/components/parameters/async_search.submit#keep_alive" + }, + { + "$ref": "#/components/parameters/async_search.submit#allow_no_indices" + }, + { + "$ref": "#/components/parameters/async_search.submit#allow_partial_search_results" + }, + { + "$ref": "#/components/parameters/async_search.submit#analyzer" + }, + { + "$ref": "#/components/parameters/async_search.submit#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/async_search.submit#batched_reduce_size" + }, + { + "$ref": "#/components/parameters/async_search.submit#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/async_search.submit#default_operator" + }, + { + "$ref": "#/components/parameters/async_search.submit#df" + }, + { + "$ref": "#/components/parameters/async_search.submit#docvalue_fields" + }, + { + "$ref": "#/components/parameters/async_search.submit#expand_wildcards" + }, + { + "$ref": "#/components/parameters/async_search.submit#explain" + }, + { + "$ref": "#/components/parameters/async_search.submit#ignore_throttled" + }, + { + "$ref": "#/components/parameters/async_search.submit#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/async_search.submit#lenient" + }, + { + "$ref": "#/components/parameters/async_search.submit#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/async_search.submit#min_compatible_shard_node" + }, + { + "$ref": "#/components/parameters/async_search.submit#preference" + }, + { + "$ref": "#/components/parameters/async_search.submit#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/async_search.submit#request_cache" + }, + { + "$ref": "#/components/parameters/async_search.submit#routing" + }, + { + "$ref": "#/components/parameters/async_search.submit#scroll" + }, + { + "$ref": "#/components/parameters/async_search.submit#search_type" + }, + { + "$ref": "#/components/parameters/async_search.submit#stats" + }, + { + "$ref": "#/components/parameters/async_search.submit#stored_fields" + }, + { + "$ref": "#/components/parameters/async_search.submit#suggest_field" + }, + { + "$ref": "#/components/parameters/async_search.submit#suggest_mode" + }, + { + "$ref": "#/components/parameters/async_search.submit#suggest_size" + }, + { + "$ref": "#/components/parameters/async_search.submit#suggest_text" + }, + { + "$ref": "#/components/parameters/async_search.submit#terminate_after" + }, + { + "$ref": "#/components/parameters/async_search.submit#timeout" + }, + { + "$ref": "#/components/parameters/async_search.submit#track_total_hits" + }, + { + "$ref": "#/components/parameters/async_search.submit#track_scores" + }, + { + "$ref": "#/components/parameters/async_search.submit#typed_keys" + }, + { + "$ref": "#/components/parameters/async_search.submit#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/async_search.submit#version" + }, + { + "$ref": "#/components/parameters/async_search.submit#_source" + }, + { + "$ref": "#/components/parameters/async_search.submit#_source_excludes" + }, + { + "$ref": "#/components/parameters/async_search.submit#_source_includes" + }, + { + "$ref": "#/components/parameters/async_search.submit#seq_no_primary_term" + }, + { + "$ref": "#/components/parameters/async_search.submit#q" + }, + { + "$ref": "#/components/parameters/async_search.submit#size" + }, + { + "$ref": "#/components/parameters/async_search.submit#from" + }, + { + "$ref": "#/components/parameters/async_search.submit#sort" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/async_search.submit" + }, + "responses": { + "200": { + "$ref": "#/components/responses/async_search.submit#200" + } + } + } + }, + "/_autoscaling/policy/{name}": { + "put": { + "description": "Creates a new autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/autoscaling-put-autoscaling-policy.html" + }, + "operationId": "autoscaling.put_autoscaling_policy#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "the name of the autoscaling policy", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/autoscaling._types:AutoscalingPolicy" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_autoscaling/capacity": { + "get": { + "description": "Gets the current autoscaling capacity based on the configured autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/autoscaling-get-autoscaling-capacity.html" + }, + "operationId": "autoscaling.get_autoscaling_capacity#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "policies": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/autoscaling.get_autoscaling_capacity:AutoscalingDeciders" + } + } + }, + "required": [ + "policies" + ] + } + } + } + } + } + } + }, + "/_bulk{?pipeline,refresh,routing,_source,_source_excludes,_source_includes,timeout,wait_for_active_shards,require_alias}": { + "put": { + "description": "Allows to perform multiple index/update/delete operations in a single request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-bulk.html" + }, + "operationId": "bulk#1", + "parameters": [ + { + "$ref": "#/components/parameters/bulk#pipeline" + }, + { + "$ref": "#/components/parameters/bulk#refresh" + }, + { + "$ref": "#/components/parameters/bulk#routing" + }, + { + "$ref": "#/components/parameters/bulk#_source" + }, + { + "$ref": "#/components/parameters/bulk#_source_excludes" + }, + { + "$ref": "#/components/parameters/bulk#_source_includes" + }, + { + "$ref": "#/components/parameters/bulk#timeout" + }, + { + "$ref": "#/components/parameters/bulk#wait_for_active_shards" + }, + { + "$ref": "#/components/parameters/bulk#require_alias" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/bulk" + }, + "responses": { + "200": { + "$ref": "#/components/responses/bulk#200" + } + } + }, + "post": { + "description": "Allows to perform multiple index/update/delete operations in a single request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-bulk.html" + }, + "operationId": "bulk#0", + "parameters": [ + { + "$ref": "#/components/parameters/bulk#pipeline" + }, + { + "$ref": "#/components/parameters/bulk#refresh" + }, + { + "$ref": "#/components/parameters/bulk#routing" + }, + { + "$ref": "#/components/parameters/bulk#_source" + }, + { + "$ref": "#/components/parameters/bulk#_source_excludes" + }, + { + "$ref": "#/components/parameters/bulk#_source_includes" + }, + { + "$ref": "#/components/parameters/bulk#timeout" + }, + { + "$ref": "#/components/parameters/bulk#wait_for_active_shards" + }, + { + "$ref": "#/components/parameters/bulk#require_alias" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/bulk" + }, + "responses": { + "200": { + "$ref": "#/components/responses/bulk#200" + } + } + } + }, + "/{index}/_bulk{?pipeline,refresh,routing,_source,_source_excludes,_source_includes,timeout,wait_for_active_shards,require_alias}": { + "put": { + "description": "Allows to perform multiple index/update/delete operations in a single request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-bulk.html" + }, + "operationId": "bulk#3", + "parameters": [ + { + "$ref": "#/components/parameters/bulk#index" + }, + { + "$ref": "#/components/parameters/bulk#pipeline" + }, + { + "$ref": "#/components/parameters/bulk#refresh" + }, + { + "$ref": "#/components/parameters/bulk#routing" + }, + { + "$ref": "#/components/parameters/bulk#_source" + }, + { + "$ref": "#/components/parameters/bulk#_source_excludes" + }, + { + "$ref": "#/components/parameters/bulk#_source_includes" + }, + { + "$ref": "#/components/parameters/bulk#timeout" + }, + { + "$ref": "#/components/parameters/bulk#wait_for_active_shards" + }, + { + "$ref": "#/components/parameters/bulk#require_alias" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/bulk" + }, + "responses": { + "200": { + "$ref": "#/components/responses/bulk#200" + } + } + }, + "post": { + "description": "Allows to perform multiple index/update/delete operations in a single request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-bulk.html" + }, + "operationId": "bulk#2", + "parameters": [ + { + "$ref": "#/components/parameters/bulk#index" + }, + { + "$ref": "#/components/parameters/bulk#pipeline" + }, + { + "$ref": "#/components/parameters/bulk#refresh" + }, + { + "$ref": "#/components/parameters/bulk#routing" + }, + { + "$ref": "#/components/parameters/bulk#_source" + }, + { + "$ref": "#/components/parameters/bulk#_source_excludes" + }, + { + "$ref": "#/components/parameters/bulk#_source_includes" + }, + { + "$ref": "#/components/parameters/bulk#timeout" + }, + { + "$ref": "#/components/parameters/bulk#wait_for_active_shards" + }, + { + "$ref": "#/components/parameters/bulk#require_alias" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/bulk" + }, + "responses": { + "200": { + "$ref": "#/components/responses/bulk#200" + } + } + } + }, + "/_cat/aliases{?expand_wildcards}": { + "get": { + "description": "Shows information about currently configured aliases to indices including filter and routing infos.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-alias.html" + }, + "operationId": "cat.aliases#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.aliases#expand_wildcards" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.aliases#200" + } + } + } + }, + "/_cat/aliases/{name}{?expand_wildcards}": { + "get": { + "description": "Shows information about currently configured aliases to indices including filter and routing infos.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-alias.html" + }, + "operationId": "cat.aliases#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.aliases#name" + }, + { + "$ref": "#/components/parameters/cat.aliases#expand_wildcards" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.aliases#200" + } + } + } + }, + "/_cat/allocation{?bytes}": { + "get": { + "description": "Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-allocation.html" + }, + "operationId": "cat.allocation#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.allocation#bytes" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.allocation#200" + } + } + } + }, + "/_cat/allocation/{node_id}{?bytes}": { + "get": { + "description": "Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-allocation.html" + }, + "operationId": "cat.allocation#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.allocation#node_id" + }, + { + "$ref": "#/components/parameters/cat.allocation#bytes" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.allocation#200" + } + } + } + }, + "/_cat/component_templates": { + "get": { + "description": "Returns information about existing component_templates templates.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html" + }, + "operationId": "cat.component_templates#0", + "responses": { + "200": { + "$ref": "#/components/responses/cat.component_templates#200" + } + } + } + }, + "/_cat/component_templates/{name}": { + "get": { + "description": "Returns information about existing component_templates templates.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html" + }, + "operationId": "cat.component_templates#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.component_templates#name" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.component_templates#200" + } + } + } + }, + "/_cat/count": { + "get": { + "description": "Provides quick access to the document count of the entire cluster, or individual indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-count.html" + }, + "operationId": "cat.count#0", + "responses": { + "200": { + "$ref": "#/components/responses/cat.count#200" + } + } + } + }, + "/_cat/count/{index}": { + "get": { + "description": "Provides quick access to the document count of the entire cluster, or individual indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-count.html" + }, + "operationId": "cat.count#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.count#index" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.count#200" + } + } + } + }, + "/_cat/fielddata{?bytes,fields}": { + "get": { + "description": "Shows how much heap memory is currently being used by fielddata on every data node in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-fielddata.html" + }, + "operationId": "cat.fielddata#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.fielddata#bytes" + }, + { + "$ref": "#/components/parameters/cat.fielddata#fields" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.fielddata#200" + } + } + } + }, + "/_cat/fielddata/{fields}{?bytes,fields}": { + "get": { + "description": "Shows how much heap memory is currently being used by fielddata on every data node in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-fielddata.html" + }, + "operationId": "cat.fielddata#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.fielddata#fields" + }, + { + "$ref": "#/components/parameters/cat.fielddata#bytes" + }, + { + "$ref": "#/components/parameters/cat.fielddata#fields" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.fielddata#200" + } + } + } + }, + "/_cat/health{?time,ts}": { + "get": { + "description": "Returns a concise representation of the cluster health.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-health.html" + }, + "operationId": "cat.health#0", + "parameters": [ + { + "in": "query", + "name": "time", + "description": "The unit used to display time values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:TimeUnit" + }, + "style": "form" + }, + { + "in": "query", + "name": "ts", + "description": "If true, returns `HH:MM:SS` and Unix epoch timestamps.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.health:HealthRecord" + } + } + } + } + } + } + } + }, + "/_cat": { + "get": { + "description": "Returns help for the Cat APIs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat.html" + }, + "operationId": "cat.help#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.help:HelpRecord" + } + } + } + } + } + } + } + }, + "/_cat/indices{?bytes,expand_wildcards,health,include_unloaded_segments,pri,time}": { + "get": { + "description": "Returns information about indices: number of primaries and replicas, document counts, disk size, ...", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-indices.html" + }, + "operationId": "cat.indices#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.indices#bytes" + }, + { + "$ref": "#/components/parameters/cat.indices#expand_wildcards" + }, + { + "$ref": "#/components/parameters/cat.indices#health" + }, + { + "$ref": "#/components/parameters/cat.indices#include_unloaded_segments" + }, + { + "$ref": "#/components/parameters/cat.indices#pri" + }, + { + "$ref": "#/components/parameters/cat.indices#time" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.indices#200" + } + } + } + }, + "/_cat/indices/{index}{?bytes,expand_wildcards,health,include_unloaded_segments,pri,time}": { + "get": { + "description": "Returns information about indices: number of primaries and replicas, document counts, disk size, ...", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-indices.html" + }, + "operationId": "cat.indices#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.indices#index" + }, + { + "$ref": "#/components/parameters/cat.indices#bytes" + }, + { + "$ref": "#/components/parameters/cat.indices#expand_wildcards" + }, + { + "$ref": "#/components/parameters/cat.indices#health" + }, + { + "$ref": "#/components/parameters/cat.indices#include_unloaded_segments" + }, + { + "$ref": "#/components/parameters/cat.indices#pri" + }, + { + "$ref": "#/components/parameters/cat.indices#time" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.indices#200" + } + } + } + }, + "/_cat/master": { + "get": { + "description": "Returns information about the master node.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-master.html" + }, + "operationId": "cat.master#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.master:MasterRecord" + } + } + } + } + } + } + } + }, + "/_cat/ml/data_frame/analytics{?allow_no_match,bytes,h,s,time}": { + "get": { + "description": "Gets configuration and usage information about data frame analytics jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-dfanalytics.html" + }, + "operationId": "cat.ml_data_frame_analytics#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.ml_data_frame_analytics#allow_no_match" + }, + { + "$ref": "#/components/parameters/cat.ml_data_frame_analytics#bytes" + }, + { + "$ref": "#/components/parameters/cat.ml_data_frame_analytics#h" + }, + { + "$ref": "#/components/parameters/cat.ml_data_frame_analytics#s" + }, + { + "$ref": "#/components/parameters/cat.ml_data_frame_analytics#time" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.ml_data_frame_analytics#200" + } + } + } + }, + "/_cat/ml/data_frame/analytics/{id}{?allow_no_match,bytes,h,s,time}": { + "get": { + "description": "Gets configuration and usage information about data frame analytics jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-dfanalytics.html" + }, + "operationId": "cat.ml_data_frame_analytics#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.ml_data_frame_analytics#id" + }, + { + "$ref": "#/components/parameters/cat.ml_data_frame_analytics#allow_no_match" + }, + { + "$ref": "#/components/parameters/cat.ml_data_frame_analytics#bytes" + }, + { + "$ref": "#/components/parameters/cat.ml_data_frame_analytics#h" + }, + { + "$ref": "#/components/parameters/cat.ml_data_frame_analytics#s" + }, + { + "$ref": "#/components/parameters/cat.ml_data_frame_analytics#time" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.ml_data_frame_analytics#200" + } + } + } + }, + "/_cat/ml/datafeeds{?allow_no_match,h,s,time}": { + "get": { + "description": "Gets configuration and usage information about datafeeds.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-datafeeds.html" + }, + "operationId": "cat.ml_datafeeds#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.ml_datafeeds#allow_no_match" + }, + { + "$ref": "#/components/parameters/cat.ml_datafeeds#h" + }, + { + "$ref": "#/components/parameters/cat.ml_datafeeds#s" + }, + { + "$ref": "#/components/parameters/cat.ml_datafeeds#time" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.ml_datafeeds#200" + } + } + } + }, + "/_cat/ml/datafeeds/{datafeed_id}{?allow_no_match,h,s,time}": { + "get": { + "description": "Gets configuration and usage information about datafeeds.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-datafeeds.html" + }, + "operationId": "cat.ml_datafeeds#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.ml_datafeeds#datafeed_id" + }, + { + "$ref": "#/components/parameters/cat.ml_datafeeds#allow_no_match" + }, + { + "$ref": "#/components/parameters/cat.ml_datafeeds#h" + }, + { + "$ref": "#/components/parameters/cat.ml_datafeeds#s" + }, + { + "$ref": "#/components/parameters/cat.ml_datafeeds#time" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.ml_datafeeds#200" + } + } + } + }, + "/_cat/ml/anomaly_detectors{?allow_no_match,bytes,h,s,time}": { + "get": { + "description": "Gets configuration and usage information about anomaly detection jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-anomaly-detectors.html" + }, + "operationId": "cat.ml_jobs#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.ml_jobs#allow_no_match" + }, + { + "$ref": "#/components/parameters/cat.ml_jobs#bytes" + }, + { + "$ref": "#/components/parameters/cat.ml_jobs#h" + }, + { + "$ref": "#/components/parameters/cat.ml_jobs#s" + }, + { + "$ref": "#/components/parameters/cat.ml_jobs#time" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.ml_jobs#200" + } + } + } + }, + "/_cat/ml/anomaly_detectors/{job_id}{?allow_no_match,bytes,h,s,time}": { + "get": { + "description": "Gets configuration and usage information about anomaly detection jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-anomaly-detectors.html" + }, + "operationId": "cat.ml_jobs#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.ml_jobs#job_id" + }, + { + "$ref": "#/components/parameters/cat.ml_jobs#allow_no_match" + }, + { + "$ref": "#/components/parameters/cat.ml_jobs#bytes" + }, + { + "$ref": "#/components/parameters/cat.ml_jobs#h" + }, + { + "$ref": "#/components/parameters/cat.ml_jobs#s" + }, + { + "$ref": "#/components/parameters/cat.ml_jobs#time" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.ml_jobs#200" + } + } + } + }, + "/_cat/ml/trained_models{?allow_no_match,bytes,h,s,from,size}": { + "get": { + "description": "Gets configuration and usage information about inference trained models.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-trained-model.html" + }, + "operationId": "cat.ml_trained_models#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.ml_trained_models#allow_no_match" + }, + { + "$ref": "#/components/parameters/cat.ml_trained_models#bytes" + }, + { + "$ref": "#/components/parameters/cat.ml_trained_models#h" + }, + { + "$ref": "#/components/parameters/cat.ml_trained_models#s" + }, + { + "$ref": "#/components/parameters/cat.ml_trained_models#from" + }, + { + "$ref": "#/components/parameters/cat.ml_trained_models#size" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.ml_trained_models#200" + } + } + } + }, + "/_cat/ml/trained_models/{model_id}{?allow_no_match,bytes,h,s,from,size}": { + "get": { + "description": "Gets configuration and usage information about inference trained models.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-trained-model.html" + }, + "operationId": "cat.ml_trained_models#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.ml_trained_models#model_id" + }, + { + "$ref": "#/components/parameters/cat.ml_trained_models#allow_no_match" + }, + { + "$ref": "#/components/parameters/cat.ml_trained_models#bytes" + }, + { + "$ref": "#/components/parameters/cat.ml_trained_models#h" + }, + { + "$ref": "#/components/parameters/cat.ml_trained_models#s" + }, + { + "$ref": "#/components/parameters/cat.ml_trained_models#from" + }, + { + "$ref": "#/components/parameters/cat.ml_trained_models#size" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.ml_trained_models#200" + } + } + } + }, + "/_cat/nodeattrs": { + "get": { + "description": "Returns information about custom node attributes.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-nodeattrs.html" + }, + "operationId": "cat.nodeattrs#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.nodeattrs:NodeAttributesRecord" + } + } + } + } + } + } + } + }, + "/_cat/nodes{?bytes,full_id,include_unloaded_segments}": { + "get": { + "description": "Returns basic statistics about performance of cluster nodes.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-nodes.html" + }, + "operationId": "cat.nodes#0", + "parameters": [ + { + "in": "query", + "name": "bytes", + "description": "The unit used to display byte values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Bytes" + }, + "style": "form" + }, + { + "in": "query", + "name": "full_id", + "description": "If `true`, return the full node ID. If `false`, return the shortened node ID.", + "deprecated": false, + "schema": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] + }, + "style": "form" + }, + { + "in": "query", + "name": "include_unloaded_segments", + "description": "If true, the response includes information from segments that are not loaded into memory.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.nodes:NodesRecord" + } + } + } + } + } + } + } + }, + "/_cat/pending_tasks": { + "get": { + "description": "Returns a concise representation of the cluster pending tasks.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-pending-tasks.html" + }, + "operationId": "cat.pending_tasks#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.pending_tasks:PendingTasksRecord" + } + } + } + } + } + } + } + }, + "/_cat/plugins": { + "get": { + "description": "Returns information about installed plugins across nodes node.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-plugins.html" + }, + "operationId": "cat.plugins#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.plugins:PluginsRecord" + } + } + } + } + } + } + } + }, + "/_cat/recovery{?active_only,bytes,detailed}": { + "get": { + "description": "Returns information about index shard recoveries, both on-going completed.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-recovery.html" + }, + "operationId": "cat.recovery#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.recovery#active_only" + }, + { + "$ref": "#/components/parameters/cat.recovery#bytes" + }, + { + "$ref": "#/components/parameters/cat.recovery#detailed" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.recovery#200" + } + } + } + }, + "/_cat/recovery/{index}{?active_only,bytes,detailed}": { + "get": { + "description": "Returns information about index shard recoveries, both on-going completed.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-recovery.html" + }, + "operationId": "cat.recovery#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.recovery#index" + }, + { + "$ref": "#/components/parameters/cat.recovery#active_only" + }, + { + "$ref": "#/components/parameters/cat.recovery#bytes" + }, + { + "$ref": "#/components/parameters/cat.recovery#detailed" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.recovery#200" + } + } + } + }, + "/_cat/repositories": { + "get": { + "description": "Returns information about snapshot repositories registered in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-repositories.html" + }, + "operationId": "cat.repositories#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.repositories:RepositoriesRecord" + } + } + } + } + } + } + } + }, + "/_cat/segments{?bytes}": { + "get": { + "description": "Provides low-level information about the segments in the shards of an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-segments.html" + }, + "operationId": "cat.segments#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.segments#bytes" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.segments#200" + } + } + } + }, + "/_cat/segments/{index}{?bytes}": { + "get": { + "description": "Provides low-level information about the segments in the shards of an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-segments.html" + }, + "operationId": "cat.segments#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.segments#index" + }, + { + "$ref": "#/components/parameters/cat.segments#bytes" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.segments#200" + } + } + } + }, + "/_cat/shards{?bytes}": { + "get": { + "description": "Provides a detailed view of shard allocation on nodes.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-shards.html" + }, + "operationId": "cat.shards#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.shards#bytes" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.shards#200" + } + } + } + }, + "/_cat/shards/{index}{?bytes}": { + "get": { + "description": "Provides a detailed view of shard allocation on nodes.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-shards.html" + }, + "operationId": "cat.shards#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.shards#index" + }, + { + "$ref": "#/components/parameters/cat.shards#bytes" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.shards#200" + } + } + } + }, + "/_cat/snapshots{?ignore_unavailable}": { + "get": { + "description": "Returns all snapshots in a specific repository.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-snapshots.html" + }, + "operationId": "cat.snapshots#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.snapshots#ignore_unavailable" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.snapshots#200" + } + } + } + }, + "/_cat/snapshots/{repository}{?ignore_unavailable}": { + "get": { + "description": "Returns all snapshots in a specific repository.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-snapshots.html" + }, + "operationId": "cat.snapshots#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.snapshots#repository" + }, + { + "$ref": "#/components/parameters/cat.snapshots#ignore_unavailable" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.snapshots#200" + } + } + } + }, + "/_cat/tasks{?actions,detailed,node_id,parent_task_id}": { + "get": { + "description": "Returns information about the tasks currently executing on one or more nodes in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/tasks.html" + }, + "operationId": "cat.tasks#0", + "parameters": [ + { + "in": "query", + "name": "actions", + "description": "The task action names, which are used to limit the response.", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + { + "in": "query", + "name": "detailed", + "description": "If `true`, the response includes detailed information about shard recoveries.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "node_id", + "description": "Unique node identifiers, which are used to limit the response.", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + { + "in": "query", + "name": "parent_task_id", + "description": "The parent task identifier, which is used to limit the response.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.tasks:TasksRecord" + } + } + } + } + } + } + } + }, + "/_cat/templates": { + "get": { + "description": "Returns information about existing templates.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-templates.html" + }, + "operationId": "cat.templates#0", + "responses": { + "200": { + "$ref": "#/components/responses/cat.templates#200" + } + } + } + }, + "/_cat/templates/{name}": { + "get": { + "description": "Returns information about existing templates.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-templates.html" + }, + "operationId": "cat.templates#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.templates#name" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.templates#200" + } + } + } + }, + "/_cat/thread_pool{?time}": { + "get": { + "description": "Returns cluster-wide thread pool statistics per node.\nBy default the active, queue and rejected statistics are returned for all thread pools.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-thread-pool.html" + }, + "operationId": "cat.thread_pool#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.thread_pool#time" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.thread_pool#200" + } + } + } + }, + "/_cat/thread_pool/{thread_pool_patterns}{?time}": { + "get": { + "description": "Returns cluster-wide thread pool statistics per node.\nBy default the active, queue and rejected statistics are returned for all thread pools.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-thread-pool.html" + }, + "operationId": "cat.thread_pool#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.thread_pool#thread_pool_patterns" + }, + { + "$ref": "#/components/parameters/cat.thread_pool#time" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.thread_pool#200" + } + } + } + }, + "/_cat/transforms{?allow_no_match,from,h,s,time,size}": { + "get": { + "description": "Gets configuration and usage information about transforms.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-transforms.html" + }, + "operationId": "cat.transforms#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.transforms#allow_no_match" + }, + { + "$ref": "#/components/parameters/cat.transforms#from" + }, + { + "$ref": "#/components/parameters/cat.transforms#h" + }, + { + "$ref": "#/components/parameters/cat.transforms#s" + }, + { + "$ref": "#/components/parameters/cat.transforms#time" + }, + { + "$ref": "#/components/parameters/cat.transforms#size" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.transforms#200" + } + } + } + }, + "/_cat/transforms/{transform_id}{?allow_no_match,from,h,s,time,size}": { + "get": { + "description": "Gets configuration and usage information about transforms.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-transforms.html" + }, + "operationId": "cat.transforms#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.transforms#transform_id" + }, + { + "$ref": "#/components/parameters/cat.transforms#allow_no_match" + }, + { + "$ref": "#/components/parameters/cat.transforms#from" + }, + { + "$ref": "#/components/parameters/cat.transforms#h" + }, + { + "$ref": "#/components/parameters/cat.transforms#s" + }, + { + "$ref": "#/components/parameters/cat.transforms#time" + }, + { + "$ref": "#/components/parameters/cat.transforms#size" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.transforms#200" + } + } + } + }, + "/_ccr/auto_follow/{name}": { + "put": { + "description": "Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-put-auto-follow-pattern.html" + }, + "operationId": "ccr.put_auto_follow_pattern#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "The name of the collection of auto-follow patterns.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "remote_cluster": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/modules-remote-clusters.html" + }, + "description": "The remote cluster containing the leader indices to match against.", + "type": "string" + }, + "follow_index_pattern": { + "$ref": "#/components/schemas/_types:IndexPattern" + }, + "leader_index_patterns": { + "$ref": "#/components/schemas/_types:IndexPatterns" + }, + "leader_index_exclusion_patterns": { + "$ref": "#/components/schemas/_types:IndexPatterns" + }, + "max_outstanding_read_requests": { + "description": "The maximum number of outstanding reads requests from the remote cluster.", + "type": "number" + }, + "settings": { + "description": "Settings to override from the leader index. Note that certain settings can not be overrode (e.g., index.number_of_shards).", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "max_outstanding_write_requests": { + "description": "The maximum number of outstanding reads requests from the remote cluster.", + "type": "number" + }, + "read_poll_timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "max_read_request_operation_count": { + "description": "The maximum number of operations to pull per read from the remote cluster.", + "type": "number" + }, + "max_read_request_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "max_retry_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "max_write_buffer_count": { + "description": "The maximum number of operations that can be queued for writing. When this limit is reached, reads from the remote cluster will be deferred until the number of queued operations goes below the limit.", + "type": "number" + }, + "max_write_buffer_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "max_write_request_operation_count": { + "description": "The maximum number of operations per bulk write request executed on the follower.", + "type": "number" + }, + "max_write_request_size": { + "$ref": "#/components/schemas/_types:ByteSize" + } + }, + "required": [ + "remote_cluster" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/{index}/_ccr/follow{?wait_for_active_shards}": { + "put": { + "description": "Creates a new follower index configured to follow the referenced leader index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-put-follow.html" + }, + "operationId": "ccr.follow#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "The name of the follower index", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + { + "in": "query", + "name": "wait_for_active_shards", + "description": "Sets the number of shard copies that must be active before returning. Defaults to 0. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "leader_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "max_outstanding_read_requests": { + "type": "number" + }, + "max_outstanding_write_requests": { + "type": "number" + }, + "max_read_request_operation_count": { + "type": "number" + }, + "max_read_request_size": { + "type": "string" + }, + "max_retry_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "max_write_buffer_count": { + "type": "number" + }, + "max_write_buffer_size": { + "type": "string" + }, + "max_write_request_operation_count": { + "type": "number" + }, + "max_write_request_size": { + "type": "string" + }, + "read_poll_timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "remote_cluster": { + "type": "string" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "follow_index_created": { + "type": "boolean" + }, + "follow_index_shards_acked": { + "type": "boolean" + }, + "index_following_started": { + "type": "boolean" + } + }, + "required": [ + "follow_index_created", + "follow_index_shards_acked", + "index_following_started" + ] + } + } + } + } + } + } + }, + "/{index}/_ccr/info": { + "get": { + "description": "Retrieves information about all follower indices, including parameters and status for each follower index", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-get-follow-info.html" + }, + "operationId": "ccr.follow_info#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "A comma-separated list of index patterns; use `_all` to perform the operation on all indices", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "follower_indices": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ccr.follow_info:FollowerIndex" + } + } + }, + "required": [ + "follower_indices" + ] + } + } + } + } + } + } + }, + "/{index}/_ccr/stats": { + "get": { + "description": "Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-get-follow-stats.html" + }, + "operationId": "ccr.follow_stats#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "A comma-separated list of index patterns; use `_all` to perform the operation on all indices", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "indices": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ccr._types:FollowIndexStats" + } + } + }, + "required": [ + "indices" + ] + } + } + } + } + } + } + }, + "/{index}/_ccr/forget_follower": { + "post": { + "description": "Removes the follower retention leases from the leader.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-post-forget-follower.html" + }, + "operationId": "ccr.forget_follower#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "the name of the leader index for which specified follower retention leases should be removed", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "follower_cluster": { + "type": "string" + }, + "follower_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "follower_index_uuid": { + "$ref": "#/components/schemas/_types:Uuid" + }, + "leader_remote_cluster": { + "type": "string" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + } + }, + "required": [ + "_shards" + ] + } + } + } + } + } + } + }, + "/_ccr/auto_follow": { + "get": { + "description": "Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-get-auto-follow-pattern.html" + }, + "operationId": "ccr.get_auto_follow_pattern#0", + "responses": { + "200": { + "$ref": "#/components/responses/ccr.get_auto_follow_pattern#200" + } + } + } + }, + "/_ccr/auto_follow/{name}/pause": { + "post": { + "description": "Pauses an auto-follow pattern", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-pause-auto-follow-pattern.html" + }, + "operationId": "ccr.pause_auto_follow_pattern#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "The name of the auto follow pattern that should pause discovering new indices to follow.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/{index}/_ccr/pause_follow": { + "post": { + "description": "Pauses a follower index. The follower index will not fetch any additional operations from the leader index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-post-pause-follow.html" + }, + "operationId": "ccr.pause_follow#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "The name of the follower index that should pause following its leader index.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ccr/auto_follow/{name}/resume": { + "post": { + "description": "Resumes an auto-follow pattern that has been paused", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-resume-auto-follow-pattern.html" + }, + "operationId": "ccr.resume_auto_follow_pattern#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "The name of the auto follow pattern to resume discovering new indices to follow.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/{index}/_ccr/resume_follow": { + "post": { + "description": "Resumes a follower index that has been paused", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-post-resume-follow.html" + }, + "operationId": "ccr.resume_follow#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "The name of the follow index to resume following.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "max_outstanding_read_requests": { + "type": "number" + }, + "max_outstanding_write_requests": { + "type": "number" + }, + "max_read_request_operation_count": { + "type": "number" + }, + "max_read_request_size": { + "type": "string" + }, + "max_retry_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "max_write_buffer_count": { + "type": "number" + }, + "max_write_buffer_size": { + "type": "string" + }, + "max_write_request_operation_count": { + "type": "number" + }, + "max_write_request_size": { + "type": "string" + }, + "read_poll_timeout": { + "$ref": "#/components/schemas/_types:Duration" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ccr/stats": { + "get": { + "description": "Gets all stats related to cross-cluster replication.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-get-stats.html" + }, + "operationId": "ccr.stats#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "auto_follow_stats": { + "$ref": "#/components/schemas/ccr.stats:AutoFollowStats" + }, + "follow_stats": { + "$ref": "#/components/schemas/ccr.stats:FollowStats" + } + }, + "required": [ + "auto_follow_stats", + "follow_stats" + ] + } + } + } + } + } + } + }, + "/{index}/_ccr/unfollow": { + "post": { + "description": "Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-post-unfollow.html" + }, + "operationId": "ccr.unfollow#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "The name of the follower index that should be turned into a regular index.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_search/scroll": { + "put": { + "description": "Explicitly clears the search context for a scroll.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/clear-scroll-api.html" + }, + "operationId": "clear_scroll#0", + "requestBody": { + "$ref": "#/components/requestBodies/clear_scroll" + }, + "responses": { + "200": { + "$ref": "#/components/responses/clear_scroll#200" + } + } + } + }, + "/_search/scroll/{scroll_id}": { + "put": { + "description": "Explicitly clears the search context for a scroll.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/clear-scroll-api.html" + }, + "operationId": "clear_scroll#1", + "parameters": [ + { + "$ref": "#/components/parameters/clear_scroll#scroll_id" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/clear_scroll" + }, + "responses": { + "200": { + "$ref": "#/components/responses/clear_scroll#200" + } + } + } + }, + "/_pit": { + "put": { + "description": "Close a point in time", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/point-in-time-api.html" + }, + "operationId": "close_point_in_time#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "succeeded": { + "type": "boolean" + }, + "num_freed": { + "type": "number" + } + }, + "required": [ + "succeeded", + "num_freed" + ] + } + } + } + } + } + } + }, + "/_cluster/allocation/explain{?include_disk_info,include_yes_decisions}": { + "get": { + "description": "Provides explanations for shard allocations in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-allocation-explain.html" + }, + "operationId": "cluster.allocation_explain#0", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.allocation_explain#include_disk_info" + }, + { + "$ref": "#/components/parameters/cluster.allocation_explain#include_yes_decisions" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/cluster.allocation_explain" + }, + "responses": { + "200": { + "$ref": "#/components/responses/cluster.allocation_explain#200" + } + } + }, + "post": { + "description": "Provides explanations for shard allocations in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-allocation-explain.html" + }, + "operationId": "cluster.allocation_explain#1", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.allocation_explain#include_disk_info" + }, + { + "$ref": "#/components/parameters/cluster.allocation_explain#include_yes_decisions" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/cluster.allocation_explain" + }, + "responses": { + "200": { + "$ref": "#/components/responses/cluster.allocation_explain#200" + } + } + } + }, + "/_component_template/{name}{?master_timeout,timeout}": { + "put": { + "description": "Deletes a component template", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-component-template.html" + }, + "operationId": "cluster.delete_component_template#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Comma-separated list or wildcard expression of component template names used to limit the request.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_cluster/voting_config_exclusions{?wait_for_removal}": { + "put": { + "description": "Clears cluster voting config exclusions.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/voting-config-exclusions.html" + }, + "operationId": "cluster.delete_voting_config_exclusions#0", + "parameters": [ + { + "in": "query", + "name": "wait_for_removal", + "description": "Specifies whether to wait for all excluded nodes to be removed from the\ncluster before clearing the voting configuration exclusions list.\nDefaults to true, meaning that all excluded nodes must be removed from\nthe cluster before this API takes any action. If set to false then the\nvoting configuration exclusions list is cleared even if some excluded\nnodes are still in the cluster.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": {} + } + } + } + } + }, + "/_component_template/{name}{?master_timeout,local}": { + "get": { + "description": "Returns information about whether a particular component template exist", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-component-template.html" + }, + "operationId": "cluster.exists_component_template#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Comma-separated list of component template names used to limit the request.\nWildcard (*) expressions are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "local", + "description": "If true, the request retrieves information from the local node only.\nDefaults to false, which means information is retrieved from the master node.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": {} + } + } + } + } + }, + "/_component_template{?flat_settings,include_defaults,local,master_timeout}": { + "get": { + "description": "Returns one or more component templates", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-component-template.html" + }, + "operationId": "cluster.get_component_template#0", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.get_component_template#flat_settings" + }, + { + "$ref": "#/components/parameters/cluster.get_component_template#include_defaults" + }, + { + "$ref": "#/components/parameters/cluster.get_component_template#local" + }, + { + "$ref": "#/components/parameters/cluster.get_component_template#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cluster.get_component_template#200" + } + } + } + }, + "/_component_template/{name}{?flat_settings,include_defaults,local,master_timeout}": { + "get": { + "description": "Returns one or more component templates", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-component-template.html" + }, + "operationId": "cluster.get_component_template#1", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.get_component_template#name" + }, + { + "$ref": "#/components/parameters/cluster.get_component_template#flat_settings" + }, + { + "$ref": "#/components/parameters/cluster.get_component_template#include_defaults" + }, + { + "$ref": "#/components/parameters/cluster.get_component_template#local" + }, + { + "$ref": "#/components/parameters/cluster.get_component_template#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cluster.get_component_template#200" + } + } + } + }, + "/_cluster/settings{?flat_settings,include_defaults,master_timeout,timeout}": { + "get": { + "description": "Returns cluster settings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-get-settings.html" + }, + "operationId": "cluster.get_settings#0", + "parameters": [ + { + "in": "query", + "name": "flat_settings", + "description": "If `true`, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "include_defaults", + "description": "If `true`, returns default cluster settings from the local node.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "persistent": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "transient": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "defaults": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "required": [ + "persistent", + "transient" + ] + } + } + } + } + } + } + }, + "/_cluster/health{?expand_wildcards,level,local,master_timeout,timeout,wait_for_active_shards,wait_for_events,wait_for_nodes,wait_for_no_initializing_shards,wait_for_no_relocating_shards,wait_for_status}": { + "get": { + "description": "Returns basic information about the health of the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-health.html" + }, + "operationId": "cluster.health#0", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.health#expand_wildcards" + }, + { + "$ref": "#/components/parameters/cluster.health#level" + }, + { + "$ref": "#/components/parameters/cluster.health#local" + }, + { + "$ref": "#/components/parameters/cluster.health#master_timeout" + }, + { + "$ref": "#/components/parameters/cluster.health#timeout" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_active_shards" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_events" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_nodes" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_no_initializing_shards" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_no_relocating_shards" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_status" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cluster.health#200" + } + } + } + }, + "/_cluster/health/{index}{?expand_wildcards,level,local,master_timeout,timeout,wait_for_active_shards,wait_for_events,wait_for_nodes,wait_for_no_initializing_shards,wait_for_no_relocating_shards,wait_for_status}": { + "get": { + "description": "Returns basic information about the health of the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-health.html" + }, + "operationId": "cluster.health#1", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.health#index" + }, + { + "$ref": "#/components/parameters/cluster.health#expand_wildcards" + }, + { + "$ref": "#/components/parameters/cluster.health#level" + }, + { + "$ref": "#/components/parameters/cluster.health#local" + }, + { + "$ref": "#/components/parameters/cluster.health#master_timeout" + }, + { + "$ref": "#/components/parameters/cluster.health#timeout" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_active_shards" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_events" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_nodes" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_no_initializing_shards" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_no_relocating_shards" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_status" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cluster.health#200" + } + } + } + }, + "/_info/{target}": { + "get": { + "description": "Returns different information about the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-info.html" + }, + "operationId": "cluster.info#0", + "parameters": [ + { + "in": "path", + "name": "target", + "description": "Limits the information returned to the specific target. Supports a comma-separated list, such as http,ingest.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ClusterInfoTargets" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "http": { + "$ref": "#/components/schemas/nodes._types:Http" + }, + "ingest": { + "$ref": "#/components/schemas/nodes._types:Ingest" + }, + "thread_pool": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:ThreadCount" + } + }, + "script": { + "$ref": "#/components/schemas/nodes._types:Scripting" + } + }, + "required": [ + "cluster_name" + ] + } + } + } + } + } + } + }, + "/_cluster/pending_tasks{?local,master_timeout}": { + "get": { + "description": "Returns a list of any cluster-level changes (e.g. create index, update mapping,\nallocate or fail shard) which have not yet been executed.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-pending.html" + }, + "operationId": "cluster.pending_tasks#0", + "parameters": [ + { + "in": "query", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only.\nIf `false`, information is retrieved from the master node.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "tasks": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.pending_tasks:PendingTask" + } + } + }, + "required": [ + "tasks" + ] + } + } + } + } + } + } + }, + "/_cluster/voting_config_exclusions{?node_names,node_ids,timeout}": { + "post": { + "description": "Updates the cluster voting config exclusions by node ids or node names.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/voting-config-exclusions.html" + }, + "operationId": "cluster.post_voting_config_exclusions#0", + "parameters": [ + { + "in": "query", + "name": "node_names", + "description": "A comma-separated list of the names of the nodes to exclude from the\nvoting configuration. If specified, you may not also specify node_ids.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "form" + }, + { + "in": "query", + "name": "node_ids", + "description": "A comma-separated list of the persistent ids of the nodes to exclude\nfrom the voting configuration. If specified, you may not also specify node_names.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Ids" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "When adding a voting configuration exclusion, the API waits for the\nspecified nodes to be excluded from the voting configuration before\nreturning. If the timeout expires before the appropriate condition\nis satisfied, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": {} + } + } + } + } + }, + "/_component_template/{name}{?create,master_timeout}": { + "put": { + "description": "Creates or updates a component template", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-component-template.html" + }, + "operationId": "cluster.put_component_template#0", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.put_component_template#name" + }, + { + "$ref": "#/components/parameters/cluster.put_component_template#create" + }, + { + "$ref": "#/components/parameters/cluster.put_component_template#master_timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/cluster.put_component_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/cluster.put_component_template#200" + } + } + }, + "post": { + "description": "Creates or updates a component template", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-component-template.html" + }, + "operationId": "cluster.put_component_template#1", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.put_component_template#name" + }, + { + "$ref": "#/components/parameters/cluster.put_component_template#create" + }, + { + "$ref": "#/components/parameters/cluster.put_component_template#master_timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/cluster.put_component_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/cluster.put_component_template#200" + } + } + } + }, + "/_cluster/settings{?flat_settings,master_timeout,timeout}": { + "put": { + "description": "Updates the cluster settings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-update-settings.html" + }, + "operationId": "cluster.put_settings#0", + "parameters": [ + { + "in": "query", + "name": "flat_settings", + "description": "Return settings in flat format (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Explicit operation timeout for connection to master node", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Explicit operation timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "persistent": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "transient": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "persistent": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "transient": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "required": [ + "acknowledged", + "persistent", + "transient" + ] + } + } + } + } + } + } + }, + "/_remote/info": { + "get": { + "description": "Returns the information about configured remote clusters.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-remote-info.html" + }, + "operationId": "cluster.remote_info#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/cluster.remote_info:ClusterRemoteInfo" + } + } + } + } + } + } + } + }, + "/_cluster/reroute{?dry_run,explain,metric,retry_failed,master_timeout,timeout}": { + "post": { + "description": "Allows to manually change the allocation of individual shards in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-reroute.html" + }, + "operationId": "cluster.reroute#0", + "parameters": [ + { + "in": "query", + "name": "dry_run", + "description": "If true, then the request simulates the operation only and returns the resulting state.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "explain", + "description": "If true, then the response contains an explanation of why the commands can or cannot be executed.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "metric", + "description": "Limits the information returned to the specified metrics.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Metrics" + }, + "style": "form" + }, + { + "in": "query", + "name": "retry_failed", + "description": "If true, then retries allocation of shards that are blocked due to too many subsequent allocation failures.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "commands": { + "description": "Defines the commands to perform.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.reroute:Command" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "explanations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.reroute:RerouteExplanation" + } + }, + "state": { + "description": "There aren't any guarantees on the output/structure of the raw cluster state.\nHere you will find the internal representation of the cluster, which can\ndiffer from the external representation.", + "type": "object" + } + }, + "required": [ + "acknowledged" + ] + } + } + } + } + } + } + }, + "/_cluster/state{?allow_no_indices,expand_wildcards,flat_settings,ignore_unavailable,local,master_timeout,wait_for_metadata_version,wait_for_timeout}": { + "get": { + "description": "Returns a comprehensive information about the state of the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-state.html" + }, + "operationId": "cluster.state#0", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.state#allow_no_indices" + }, + { + "$ref": "#/components/parameters/cluster.state#expand_wildcards" + }, + { + "$ref": "#/components/parameters/cluster.state#flat_settings" + }, + { + "$ref": "#/components/parameters/cluster.state#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/cluster.state#local" + }, + { + "$ref": "#/components/parameters/cluster.state#master_timeout" + }, + { + "$ref": "#/components/parameters/cluster.state#wait_for_metadata_version" + }, + { + "$ref": "#/components/parameters/cluster.state#wait_for_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cluster.state#200" + } + } + } + }, + "/_cluster/state/{metric}{?allow_no_indices,expand_wildcards,flat_settings,ignore_unavailable,local,master_timeout,wait_for_metadata_version,wait_for_timeout}": { + "get": { + "description": "Returns a comprehensive information about the state of the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-state.html" + }, + "operationId": "cluster.state#1", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.state#metric" + }, + { + "$ref": "#/components/parameters/cluster.state#allow_no_indices" + }, + { + "$ref": "#/components/parameters/cluster.state#expand_wildcards" + }, + { + "$ref": "#/components/parameters/cluster.state#flat_settings" + }, + { + "$ref": "#/components/parameters/cluster.state#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/cluster.state#local" + }, + { + "$ref": "#/components/parameters/cluster.state#master_timeout" + }, + { + "$ref": "#/components/parameters/cluster.state#wait_for_metadata_version" + }, + { + "$ref": "#/components/parameters/cluster.state#wait_for_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cluster.state#200" + } + } + } + }, + "/_cluster/state/{metric}/{index}{?allow_no_indices,expand_wildcards,flat_settings,ignore_unavailable,local,master_timeout,wait_for_metadata_version,wait_for_timeout}": { + "get": { + "description": "Returns a comprehensive information about the state of the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-state.html" + }, + "operationId": "cluster.state#2", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.state#metric" + }, + { + "$ref": "#/components/parameters/cluster.state#index" + }, + { + "$ref": "#/components/parameters/cluster.state#allow_no_indices" + }, + { + "$ref": "#/components/parameters/cluster.state#expand_wildcards" + }, + { + "$ref": "#/components/parameters/cluster.state#flat_settings" + }, + { + "$ref": "#/components/parameters/cluster.state#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/cluster.state#local" + }, + { + "$ref": "#/components/parameters/cluster.state#master_timeout" + }, + { + "$ref": "#/components/parameters/cluster.state#wait_for_metadata_version" + }, + { + "$ref": "#/components/parameters/cluster.state#wait_for_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cluster.state#200" + } + } + } + }, + "/_cluster/stats{?flat_settings,timeout}": { + "get": { + "description": "Returns high-level overview of cluster statistics.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-stats.html" + }, + "operationId": "cluster.stats#0", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.stats#flat_settings" + }, + { + "$ref": "#/components/parameters/cluster.stats#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cluster.stats#200" + } + } + } + }, + "/_cluster/stats/nodes/{node_id}{?flat_settings,timeout}": { + "get": { + "description": "Returns high-level overview of cluster statistics.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-stats.html" + }, + "operationId": "cluster.stats#1", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.stats#node_id" + }, + { + "$ref": "#/components/parameters/cluster.stats#flat_settings" + }, + { + "$ref": "#/components/parameters/cluster.stats#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cluster.stats#200" + } + } + } + }, + "/_count{?allow_no_indices,analyzer,analyze_wildcard,default_operator,df,expand_wildcards,ignore_throttled,ignore_unavailable,lenient,min_score,preference,routing,terminate_after,q}": { + "get": { + "description": "Returns number of documents matching a query.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html" + }, + "operationId": "count#1", + "parameters": [ + { + "$ref": "#/components/parameters/count#allow_no_indices" + }, + { + "$ref": "#/components/parameters/count#analyzer" + }, + { + "$ref": "#/components/parameters/count#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/count#default_operator" + }, + { + "$ref": "#/components/parameters/count#df" + }, + { + "$ref": "#/components/parameters/count#expand_wildcards" + }, + { + "$ref": "#/components/parameters/count#ignore_throttled" + }, + { + "$ref": "#/components/parameters/count#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/count#lenient" + }, + { + "$ref": "#/components/parameters/count#min_score" + }, + { + "$ref": "#/components/parameters/count#preference" + }, + { + "$ref": "#/components/parameters/count#routing" + }, + { + "$ref": "#/components/parameters/count#terminate_after" + }, + { + "$ref": "#/components/parameters/count#q" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/count" + }, + "responses": { + "200": { + "$ref": "#/components/responses/count#200" + } + } + }, + "post": { + "description": "Returns number of documents matching a query.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html" + }, + "operationId": "count#0", + "parameters": [ + { + "$ref": "#/components/parameters/count#allow_no_indices" + }, + { + "$ref": "#/components/parameters/count#analyzer" + }, + { + "$ref": "#/components/parameters/count#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/count#default_operator" + }, + { + "$ref": "#/components/parameters/count#df" + }, + { + "$ref": "#/components/parameters/count#expand_wildcards" + }, + { + "$ref": "#/components/parameters/count#ignore_throttled" + }, + { + "$ref": "#/components/parameters/count#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/count#lenient" + }, + { + "$ref": "#/components/parameters/count#min_score" + }, + { + "$ref": "#/components/parameters/count#preference" + }, + { + "$ref": "#/components/parameters/count#routing" + }, + { + "$ref": "#/components/parameters/count#terminate_after" + }, + { + "$ref": "#/components/parameters/count#q" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/count" + }, + "responses": { + "200": { + "$ref": "#/components/responses/count#200" + } + } + } + }, + "/{index}/_count{?allow_no_indices,analyzer,analyze_wildcard,default_operator,df,expand_wildcards,ignore_throttled,ignore_unavailable,lenient,min_score,preference,routing,terminate_after,q}": { + "get": { + "description": "Returns number of documents matching a query.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html" + }, + "operationId": "count#3", + "parameters": [ + { + "$ref": "#/components/parameters/count#index" + }, + { + "$ref": "#/components/parameters/count#allow_no_indices" + }, + { + "$ref": "#/components/parameters/count#analyzer" + }, + { + "$ref": "#/components/parameters/count#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/count#default_operator" + }, + { + "$ref": "#/components/parameters/count#df" + }, + { + "$ref": "#/components/parameters/count#expand_wildcards" + }, + { + "$ref": "#/components/parameters/count#ignore_throttled" + }, + { + "$ref": "#/components/parameters/count#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/count#lenient" + }, + { + "$ref": "#/components/parameters/count#min_score" + }, + { + "$ref": "#/components/parameters/count#preference" + }, + { + "$ref": "#/components/parameters/count#routing" + }, + { + "$ref": "#/components/parameters/count#terminate_after" + }, + { + "$ref": "#/components/parameters/count#q" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/count" + }, + "responses": { + "200": { + "$ref": "#/components/responses/count#200" + } + } + }, + "post": { + "description": "Returns number of documents matching a query.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html" + }, + "operationId": "count#2", + "parameters": [ + { + "$ref": "#/components/parameters/count#index" + }, + { + "$ref": "#/components/parameters/count#allow_no_indices" + }, + { + "$ref": "#/components/parameters/count#analyzer" + }, + { + "$ref": "#/components/parameters/count#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/count#default_operator" + }, + { + "$ref": "#/components/parameters/count#df" + }, + { + "$ref": "#/components/parameters/count#expand_wildcards" + }, + { + "$ref": "#/components/parameters/count#ignore_throttled" + }, + { + "$ref": "#/components/parameters/count#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/count#lenient" + }, + { + "$ref": "#/components/parameters/count#min_score" + }, + { + "$ref": "#/components/parameters/count#preference" + }, + { + "$ref": "#/components/parameters/count#routing" + }, + { + "$ref": "#/components/parameters/count#terminate_after" + }, + { + "$ref": "#/components/parameters/count#q" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/count" + }, + "responses": { + "200": { + "$ref": "#/components/responses/count#200" + } + } + } + }, + "/{index}/_create/{id}{?pipeline,refresh,routing,timeout,version,version_type,wait_for_active_shards}": { + "put": { + "description": "Creates a new document in the index.\n\nReturns a 409 response when a document with a same ID already exists in the index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" + }, + "operationId": "create#0", + "parameters": [ + { + "$ref": "#/components/parameters/create#index" + }, + { + "$ref": "#/components/parameters/create#id" + }, + { + "$ref": "#/components/parameters/create#pipeline" + }, + { + "$ref": "#/components/parameters/create#refresh" + }, + { + "$ref": "#/components/parameters/create#routing" + }, + { + "$ref": "#/components/parameters/create#timeout" + }, + { + "$ref": "#/components/parameters/create#version" + }, + { + "$ref": "#/components/parameters/create#version_type" + }, + { + "$ref": "#/components/parameters/create#wait_for_active_shards" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/create" + }, + "responses": { + "200": { + "$ref": "#/components/responses/create#200" + } + } + }, + "post": { + "description": "Creates a new document in the index.\n\nReturns a 409 response when a document with a same ID already exists in the index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" + }, + "operationId": "create#1", + "parameters": [ + { + "$ref": "#/components/parameters/create#index" + }, + { + "$ref": "#/components/parameters/create#id" + }, + { + "$ref": "#/components/parameters/create#pipeline" + }, + { + "$ref": "#/components/parameters/create#refresh" + }, + { + "$ref": "#/components/parameters/create#routing" + }, + { + "$ref": "#/components/parameters/create#timeout" + }, + { + "$ref": "#/components/parameters/create#version" + }, + { + "$ref": "#/components/parameters/create#version_type" + }, + { + "$ref": "#/components/parameters/create#wait_for_active_shards" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/create" + }, + "responses": { + "200": { + "$ref": "#/components/responses/create#200" + } + } + } + }, + "/_dangling/{index_uuid}{?accept_data_loss,master_timeout,timeout}": { + "post": { + "description": "Imports the specified dangling index", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html" + }, + "operationId": "dangling_indices.import_dangling_index#0", + "parameters": [ + { + "in": "path", + "name": "index_uuid", + "description": "The UUID of the dangling index", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Uuid" + }, + "style": "simple" + }, + { + "in": "query", + "name": "accept_data_loss", + "description": "Must be set to true in order to import the dangling index", + "required": true, + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Specify timeout for connection to master", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Explicit operation timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_dangling": { + "get": { + "description": "Returns all dangling indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html" + }, + "operationId": "dangling_indices.list_dangling_indices#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "dangling_indices": { + "type": "array", + "items": { + "$ref": "#/components/schemas/dangling_indices.list_dangling_indices:DanglingIndex" + } + } + }, + "required": [ + "dangling_indices" + ] + } + } + } + } + } + } + }, + "/{index}/_doc/{id}{?if_primary_term,if_seq_no,refresh,routing,timeout,version,version_type,wait_for_active_shards}": { + "put": { + "description": "Removes a document from the index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html" + }, + "operationId": "delete#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "The name of the index", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + { + "in": "path", + "name": "id", + "description": "The document ID", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "if_primary_term", + "description": "only perform the delete operation if the last operation that has changed the document has the specified primary term", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "if_seq_no", + "description": "only perform the delete operation if the last operation that has changed the document has the specified sequence number", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "style": "form" + }, + { + "in": "query", + "name": "refresh", + "description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + { + "in": "query", + "name": "routing", + "description": "Specific routing value", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Explicit operation timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "version", + "description": "Explicit version number for concurrency control", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + }, + { + "in": "query", + "name": "version_type", + "description": "Specific version type", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionType" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_active_shards", + "description": "Sets the number of shard copies that must be active before proceeding with the delete operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:WriteResponseBase" + } + } + } + } + } + } + }, + "/{index}/_delete_by_query{?allow_no_indices,analyzer,analyze_wildcard,conflicts,default_operator,df,expand_wildcards,from,ignore_unavailable,lenient,max_docs,preference,refresh,request_cache,requests_per_second,routing,q,scroll,scroll_size,search_timeout,search_type,slices,sort,stats,terminate_after,timeout,version,wait_for_active_shards,wait_for_completion}": { + "post": { + "description": "Deletes documents matching the provided query.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html" + }, + "operationId": "delete_by_query#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "analyzer", + "description": "The analyzer to use for the query string", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "analyze_wildcard", + "description": "Specify whether wildcard and prefix queries should be analyzed (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "conflicts", + "description": "What to do when the delete by query hits version conflicts?", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Conflicts" + }, + "style": "form" + }, + { + "in": "query", + "name": "default_operator", + "description": "The default operator for query string query (AND or OR)", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "style": "form" + }, + { + "in": "query", + "name": "df", + "description": "The field to use as default where no field prefix is given in the query string", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "from", + "description": "Starting offset (default: 0)", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "lenient", + "description": "Specify whether format-based query failures (such as providing text to a numeric field) should be ignored", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "max_docs", + "description": "Maximum number of documents to process (default: all documents)", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "preference", + "description": "Specify the node or shard the operation should be performed on (default: random)", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "refresh", + "description": "Should the affected indexes be refreshed?", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "request_cache", + "description": "Specify if request cache should be used for this request or not, defaults to index level setting", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "requests_per_second", + "description": "The throttle for this request in sub-requests per second. -1 means no throttle.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "routing", + "description": "A comma-separated list of specific routing values", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + { + "in": "query", + "name": "q", + "description": "Query in the Lucene query string syntax", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "scroll", + "description": "Specify how long a consistent view of the index should be maintained for scrolled search", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "scroll_size", + "description": "Size on the scroll request powering the delete by query", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "search_timeout", + "description": "Explicit timeout for each search request. Defaults to no timeout.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "search_type", + "description": "Search operation type", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "style": "form" + }, + { + "in": "query", + "name": "slices", + "description": "The number of slices this task should be divided into. Defaults to 1, meaning the task isn't sliced into subtasks. Can be set to `auto`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Slices" + }, + "style": "form" + }, + { + "in": "query", + "name": "sort", + "description": "A comma-separated list of : pairs", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + { + "in": "query", + "name": "stats", + "description": "Specific 'tag' of the request for logging and statistical purposes", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + { + "in": "query", + "name": "terminate_after", + "description": "The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Time each individual bulk request should wait for shards that are unavailable.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "version", + "description": "Specify whether to return document version as part of a hit", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_active_shards", + "description": "Sets the number of shard copies that must be active before proceeding with the delete by query operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_completion", + "description": "Should the request should block until the delete by query is complete.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "max_docs": { + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "slice": { + "$ref": "#/components/schemas/_types:SlicedScroll" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "batches": { + "type": "number" + }, + "deleted": { + "type": "number" + }, + "failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:BulkIndexByScrollFailure" + } + }, + "noops": { + "type": "number" + }, + "requests_per_second": { + "type": "number" + }, + "retries": { + "$ref": "#/components/schemas/_types:Retries" + }, + "slice_id": { + "type": "number" + }, + "task": { + "$ref": "#/components/schemas/_types:TaskId" + }, + "throttled": { + "$ref": "#/components/schemas/_types:Duration" + }, + "throttled_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "throttled_until": { + "$ref": "#/components/schemas/_types:Duration" + }, + "throttled_until_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "timed_out": { + "type": "boolean" + }, + "took": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total": { + "type": "number" + }, + "version_conflicts": { + "type": "number" + } + } + } + } + } + } + } + } + }, + "/_delete_by_query/{task_id}/_rethrottle{?requests_per_second}": { + "post": { + "description": "Changes the number of requests per second for a particular Delete By Query operation.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html" + }, + "operationId": "delete_by_query_rethrottle#0", + "parameters": [ + { + "in": "path", + "name": "task_id", + "description": "The task id to rethrottle", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:TaskId" + }, + "style": "simple" + }, + { + "in": "query", + "name": "requests_per_second", + "description": "The throttle to set on this request in floating sub-requests per second. -1 means set no throttle.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/tasks._types:TaskListResponseBase" + } + } + } + } + } + } + }, + "/_scripts/{id}{?master_timeout,timeout}": { + "put": { + "description": "Creates or updates a script.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" + }, + "operationId": "put_script#0", + "parameters": [ + { + "$ref": "#/components/parameters/put_script#id" + }, + { + "$ref": "#/components/parameters/put_script#master_timeout" + }, + { + "$ref": "#/components/parameters/put_script#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/put_script" + }, + "responses": { + "200": { + "$ref": "#/components/responses/put_script#200" + } + } + }, + "post": { + "description": "Creates or updates a script.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" + }, + "operationId": "put_script#1", + "parameters": [ + { + "$ref": "#/components/parameters/put_script#id" + }, + { + "$ref": "#/components/parameters/put_script#master_timeout" + }, + { + "$ref": "#/components/parameters/put_script#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/put_script" + }, + "responses": { + "200": { + "$ref": "#/components/responses/put_script#200" + } + } + } + }, + "/_enrich/policy/{name}": { + "put": { + "description": "Creates a new enrich policy.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/put-enrich-policy-api.html" + }, + "operationId": "enrich.put_policy#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Name of the enrich policy to create or update.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "geo_match": { + "$ref": "#/components/schemas/enrich._types:Policy" + }, + "match": { + "$ref": "#/components/schemas/enrich._types:Policy" + }, + "range": { + "$ref": "#/components/schemas/enrich._types:Policy" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_enrich/policy/{name}/_execute{?wait_for_completion}": { + "put": { + "description": "Creates the enrich index for an existing enrich policy.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/execute-enrich-policy-api.html" + }, + "operationId": "enrich.execute_policy#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Enrich policy to execute.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "wait_for_completion", + "description": "If `true`, the request blocks other enrich policy execution requests until complete.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "status": { + "$ref": "#/components/schemas/enrich.execute_policy:ExecuteEnrichPolicyStatus" + }, + "task_id": { + "$ref": "#/components/schemas/_types:TaskId" + } + }, + "required": [ + "status" + ] + } + } + } + } + } + } + }, + "/_enrich/policy": { + "get": { + "description": "Gets information about an enrich policy.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-enrich-policy-api.html" + }, + "operationId": "enrich.get_policy#1", + "responses": { + "200": { + "$ref": "#/components/responses/enrich.get_policy#200" + } + } + } + }, + "/_enrich/_stats": { + "get": { + "description": "Gets enrich coordinator statistics and information about enrich policies that are currently executing.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-stats-api.html" + }, + "operationId": "enrich.stats#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "coordinator_stats": { + "description": "Objects containing information about each coordinating ingest node for configured enrich processors.", + "type": "array", + "items": { + "$ref": "#/components/schemas/enrich.stats:CoordinatorStats" + } + }, + "executing_policies": { + "description": "Objects containing information about each enrich policy that is currently executing.", + "type": "array", + "items": { + "$ref": "#/components/schemas/enrich.stats:ExecutingPolicy" + } + }, + "cache_stats": { + "description": "Objects containing information about the enrich cache stats on each ingest node.", + "type": "array", + "items": { + "$ref": "#/components/schemas/enrich.stats:CacheStats" + } + } + }, + "required": [ + "coordinator_stats", + "executing_policies" + ] + } + } + } + } + } + } + }, + "/_eql/search/{id}": { + "put": { + "description": "Deletes an async EQL search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html" + }, + "operationId": "eql.delete#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the search to delete.\nA search ID is provided in the EQL search API's response for an async search.\nA search ID is also provided if the request’s `keep_on_completion` parameter is `true`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_eql/search/{id}{?keep_alive,wait_for_completion_timeout}": { + "get": { + "description": "Returns async results from previously executed Event Query Language (EQL) search", + "externalDocs": { + "url": " https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/get-async-eql-search-api.html" + }, + "operationId": "eql.get#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the search.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "keep_alive", + "description": "Period for which the search and its results are stored on the cluster.\nDefaults to the keep_alive value set by the search’s EQL search API request.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_completion_timeout", + "description": "Timeout duration to wait for the request to finish.\nDefaults to no timeout, meaning the request waits for complete search results.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/eql._types:EqlSearchResponseBase" + } + } + } + } + } + } + }, + "/_eql/search/status/{id}": { + "get": { + "description": "Returns the status of a previously submitted async or stored Event Query Language (EQL) search", + "externalDocs": { + "url": " https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/get-async-eql-status-api.html" + }, + "operationId": "eql.get_status#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the search.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "is_partial": { + "description": "If true, the search request is still executing. If false, the search is completed.", + "type": "boolean" + }, + "is_running": { + "description": "If true, the response does not contain complete search results. This could be because either the search is still running (is_running status is false), or because it is already completed (is_running status is true) and results are partial due to failures or timeouts.", + "type": "boolean" + }, + "start_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "expiration_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "completion_status": { + "description": "For a completed search shows the http status code of the completed search.", + "type": "number" + } + }, + "required": [ + "id", + "is_partial", + "is_running" + ] + } + } + } + } + } + } + }, + "/{index}/_eql/search{?allow_no_indices,expand_wildcards,ignore_unavailable,keep_alive,keep_on_completion,wait_for_completion_timeout}": { + "get": { + "description": "Returns results matching a query expressed in Event Query Language (EQL)", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html" + }, + "operationId": "eql.search#0", + "parameters": [ + { + "$ref": "#/components/parameters/eql.search#index" + }, + { + "$ref": "#/components/parameters/eql.search#allow_no_indices" + }, + { + "$ref": "#/components/parameters/eql.search#expand_wildcards" + }, + { + "$ref": "#/components/parameters/eql.search#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/eql.search#keep_alive" + }, + { + "$ref": "#/components/parameters/eql.search#keep_on_completion" + }, + { + "$ref": "#/components/parameters/eql.search#wait_for_completion_timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/eql.search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/eql.search#200" + } + } + }, + "post": { + "description": "Returns results matching a query expressed in Event Query Language (EQL)", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html" + }, + "operationId": "eql.search#1", + "parameters": [ + { + "$ref": "#/components/parameters/eql.search#index" + }, + { + "$ref": "#/components/parameters/eql.search#allow_no_indices" + }, + { + "$ref": "#/components/parameters/eql.search#expand_wildcards" + }, + { + "$ref": "#/components/parameters/eql.search#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/eql.search#keep_alive" + }, + { + "$ref": "#/components/parameters/eql.search#keep_on_completion" + }, + { + "$ref": "#/components/parameters/eql.search#wait_for_completion_timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/eql.search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/eql.search#200" + } + } + } + }, + "/{index}/_doc/{id}{?preference,realtime,refresh,routing,_source,_source_excludes,_source_includes,stored_fields,version,version_type}": { + "get": { + "description": "Returns a document.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" + }, + "operationId": "get#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Name of the index that contains the document.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + { + "in": "path", + "name": "id", + "description": "Unique identifier of the document.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on. Random by default.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "realtime", + "description": "Boolean) If true, the request is real-time as opposed to near-real-time.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "refresh", + "description": "If true, Elasticsearch refreshes the affected shards to make this operation visible to search. If false, do nothing with refreshes.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "routing", + "description": "Target the specified primary shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source", + "description": "True or false to return the _source field or not, or a list of fields to return.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source_excludes", + "description": "A comma-separated list of source fields to exclude in the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source_includes", + "description": "A comma-separated list of source fields to include in the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "stored_fields", + "description": "A comma-separated list of stored fields to return in the response", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "version", + "description": "Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + }, + { + "in": "query", + "name": "version_type", + "description": "Specific version type: internal, external, external_gte.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionType" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_global.get:GetResult" + } + } + } + } + } + } + }, + "/{index}/_source/{id}{?preference,realtime,refresh,routing,_source,_source_excludes,_source_includes,version,version_type}": { + "get": { + "description": "Returns information about whether a document source exists in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" + }, + "operationId": "exists_source#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "The name of the index", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + { + "in": "path", + "name": "id", + "description": "The document ID", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "preference", + "description": "Specify the node or shard the operation should be performed on (default: random)", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "realtime", + "description": "Specify whether to perform the operation in realtime or search mode", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "refresh", + "description": "Refresh the shard containing the document before performing the operation", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "routing", + "description": "Specific routing value", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source", + "description": "True or false to return the _source field or not, or a list of fields to return", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source_excludes", + "description": "A list of fields to exclude from the returned _source field", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source_includes", + "description": "A list of fields to extract and return from the _source field", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "version", + "description": "Explicit version number for concurrency control", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + }, + { + "in": "query", + "name": "version_type", + "description": "Specific version type", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionType" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": {} + } + } + } + } + }, + "/{index}/_explain/{id}{?analyzer,analyze_wildcard,default_operator,df,lenient,preference,routing,_source,_source_excludes,_source_includes,stored_fields,q}": { + "get": { + "description": "Returns information about why a specific matches (or doesn't match) a query.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html" + }, + "operationId": "explain#0", + "parameters": [ + { + "$ref": "#/components/parameters/explain#index" + }, + { + "$ref": "#/components/parameters/explain#id" + }, + { + "$ref": "#/components/parameters/explain#analyzer" + }, + { + "$ref": "#/components/parameters/explain#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/explain#default_operator" + }, + { + "$ref": "#/components/parameters/explain#df" + }, + { + "$ref": "#/components/parameters/explain#lenient" + }, + { + "$ref": "#/components/parameters/explain#preference" + }, + { + "$ref": "#/components/parameters/explain#routing" + }, + { + "$ref": "#/components/parameters/explain#_source" + }, + { + "$ref": "#/components/parameters/explain#_source_excludes" + }, + { + "$ref": "#/components/parameters/explain#_source_includes" + }, + { + "$ref": "#/components/parameters/explain#stored_fields" + }, + { + "$ref": "#/components/parameters/explain#q" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/explain" + }, + "responses": { + "200": { + "$ref": "#/components/responses/explain#200" + } + } + }, + "post": { + "description": "Returns information about why a specific matches (or doesn't match) a query.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html" + }, + "operationId": "explain#1", + "parameters": [ + { + "$ref": "#/components/parameters/explain#index" + }, + { + "$ref": "#/components/parameters/explain#id" + }, + { + "$ref": "#/components/parameters/explain#analyzer" + }, + { + "$ref": "#/components/parameters/explain#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/explain#default_operator" + }, + { + "$ref": "#/components/parameters/explain#df" + }, + { + "$ref": "#/components/parameters/explain#lenient" + }, + { + "$ref": "#/components/parameters/explain#preference" + }, + { + "$ref": "#/components/parameters/explain#routing" + }, + { + "$ref": "#/components/parameters/explain#_source" + }, + { + "$ref": "#/components/parameters/explain#_source_excludes" + }, + { + "$ref": "#/components/parameters/explain#_source_includes" + }, + { + "$ref": "#/components/parameters/explain#stored_fields" + }, + { + "$ref": "#/components/parameters/explain#q" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/explain" + }, + "responses": { + "200": { + "$ref": "#/components/responses/explain#200" + } + } + } + }, + "/_features": { + "get": { + "description": "Gets a list of features which can be included in snapshots using the feature_states field when creating a snapshot", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-features-api.html" + }, + "operationId": "features.get_features#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "features": { + "type": "array", + "items": { + "$ref": "#/components/schemas/features._types:Feature" + } + } + }, + "required": [ + "features" + ] + } + } + } + } + } + } + }, + "/_features/_reset": { + "post": { + "description": "Resets the internal state of features, usually by deleting system indices", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + }, + "operationId": "features.reset_features#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "features": { + "type": "array", + "items": { + "$ref": "#/components/schemas/features._types:Feature" + } + } + }, + "required": [ + "features" + ] + } + } + } + } + } + } + }, + "/_field_caps{?allow_no_indices,expand_wildcards,fields,ignore_unavailable,include_unmapped,filters,types}": { + "get": { + "description": "Returns the information about the capabilities of fields among multiple indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html" + }, + "operationId": "field_caps#0", + "parameters": [ + { + "$ref": "#/components/parameters/field_caps#allow_no_indices" + }, + { + "$ref": "#/components/parameters/field_caps#expand_wildcards" + }, + { + "$ref": "#/components/parameters/field_caps#fields" + }, + { + "$ref": "#/components/parameters/field_caps#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/field_caps#include_unmapped" + }, + { + "$ref": "#/components/parameters/field_caps#filters" + }, + { + "$ref": "#/components/parameters/field_caps#types" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/field_caps" + }, + "responses": { + "200": { + "$ref": "#/components/responses/field_caps#200" + } + } + }, + "post": { + "description": "Returns the information about the capabilities of fields among multiple indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html" + }, + "operationId": "field_caps#1", + "parameters": [ + { + "$ref": "#/components/parameters/field_caps#allow_no_indices" + }, + { + "$ref": "#/components/parameters/field_caps#expand_wildcards" + }, + { + "$ref": "#/components/parameters/field_caps#fields" + }, + { + "$ref": "#/components/parameters/field_caps#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/field_caps#include_unmapped" + }, + { + "$ref": "#/components/parameters/field_caps#filters" + }, + { + "$ref": "#/components/parameters/field_caps#types" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/field_caps" + }, + "responses": { + "200": { + "$ref": "#/components/responses/field_caps#200" + } + } + } + }, + "/{index}/_field_caps{?allow_no_indices,expand_wildcards,fields,ignore_unavailable,include_unmapped,filters,types}": { + "get": { + "description": "Returns the information about the capabilities of fields among multiple indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html" + }, + "operationId": "field_caps#2", + "parameters": [ + { + "$ref": "#/components/parameters/field_caps#index" + }, + { + "$ref": "#/components/parameters/field_caps#allow_no_indices" + }, + { + "$ref": "#/components/parameters/field_caps#expand_wildcards" + }, + { + "$ref": "#/components/parameters/field_caps#fields" + }, + { + "$ref": "#/components/parameters/field_caps#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/field_caps#include_unmapped" + }, + { + "$ref": "#/components/parameters/field_caps#filters" + }, + { + "$ref": "#/components/parameters/field_caps#types" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/field_caps" + }, + "responses": { + "200": { + "$ref": "#/components/responses/field_caps#200" + } + } + }, + "post": { + "description": "Returns the information about the capabilities of fields among multiple indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html" + }, + "operationId": "field_caps#3", + "parameters": [ + { + "$ref": "#/components/parameters/field_caps#index" + }, + { + "$ref": "#/components/parameters/field_caps#allow_no_indices" + }, + { + "$ref": "#/components/parameters/field_caps#expand_wildcards" + }, + { + "$ref": "#/components/parameters/field_caps#fields" + }, + { + "$ref": "#/components/parameters/field_caps#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/field_caps#include_unmapped" + }, + { + "$ref": "#/components/parameters/field_caps#filters" + }, + { + "$ref": "#/components/parameters/field_caps#types" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/field_caps" + }, + "responses": { + "200": { + "$ref": "#/components/responses/field_caps#200" + } + } + } + }, + "/{index}/_fleet/global_checkpoints{?wait_for_advance,wait_for_index,checkpoints,timeout}": { + "get": { + "description": "Returns the current global checkpoints for an index. This API is design for internal use by the fleet server project.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-global-checkpoints.html" + }, + "operationId": "fleet.global_checkpoints#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "A single index or index alias that resolves to a single index.", + "required": true, + "deprecated": false, + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:IndexName" + }, + { + "$ref": "#/components/schemas/_types:IndexAlias" + } + ] + }, + "style": "simple" + }, + { + "in": "query", + "name": "wait_for_advance", + "description": "A boolean value which controls whether to wait (until the timeout) for the global checkpoints\nto advance past the provided `checkpoints`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_index", + "description": "A boolean value which controls whether to wait (until the timeout) for the target index to exist\nand all primary shards be active. Can only be true when `wait_for_advance` is true.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "checkpoints", + "description": "A comma separated list of previous global checkpoints. When used in combination with `wait_for_advance`,\nthe API will only return once the global checkpoints advances past the checkpoints. Providing an empty list\nwill cause Elasticsearch to immediately return the current global checkpoints.", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/fleet._types:Checkpoint" + } + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a global checkpoints to advance past `checkpoints`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "global_checkpoints": { + "type": "array", + "items": { + "$ref": "#/components/schemas/fleet._types:Checkpoint" + } + }, + "timed_out": { + "type": "boolean" + } + }, + "required": [ + "global_checkpoints", + "timed_out" + ] + } + } + } + } + } + } + }, + "/_fleet/_fleet_msearch{?allow_no_indices,ccs_minimize_roundtrips,expand_wildcards,ignore_throttled,ignore_unavailable,max_concurrent_searches,max_concurrent_shard_requests,pre_filter_shard_size,search_type,rest_total_hits_as_int,typed_keys,wait_for_checkpoints,allow_partial_search_results}": { + "get": { + "description": "Multi Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", + "operationId": "fleet.msearch#0", + "parameters": [ + { + "$ref": "#/components/parameters/fleet.msearch#allow_no_indices" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/fleet.msearch#expand_wildcards" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ignore_throttled" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/fleet.msearch#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/fleet.msearch#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/fleet.msearch#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/fleet.msearch#search_type" + }, + { + "$ref": "#/components/parameters/fleet.msearch#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/fleet.msearch#typed_keys" + }, + { + "$ref": "#/components/parameters/fleet.msearch#wait_for_checkpoints" + }, + { + "$ref": "#/components/parameters/fleet.msearch#allow_partial_search_results" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/fleet.msearch" + }, + "responses": { + "200": { + "$ref": "#/components/responses/fleet.msearch#200" + } + } + }, + "post": { + "description": "Multi Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", + "operationId": "fleet.msearch#1", + "parameters": [ + { + "$ref": "#/components/parameters/fleet.msearch#allow_no_indices" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/fleet.msearch#expand_wildcards" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ignore_throttled" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/fleet.msearch#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/fleet.msearch#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/fleet.msearch#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/fleet.msearch#search_type" + }, + { + "$ref": "#/components/parameters/fleet.msearch#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/fleet.msearch#typed_keys" + }, + { + "$ref": "#/components/parameters/fleet.msearch#wait_for_checkpoints" + }, + { + "$ref": "#/components/parameters/fleet.msearch#allow_partial_search_results" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/fleet.msearch" + }, + "responses": { + "200": { + "$ref": "#/components/responses/fleet.msearch#200" + } + } + } + }, + "/{index}/_fleet/_fleet_msearch{?allow_no_indices,ccs_minimize_roundtrips,expand_wildcards,ignore_throttled,ignore_unavailable,max_concurrent_searches,max_concurrent_shard_requests,pre_filter_shard_size,search_type,rest_total_hits_as_int,typed_keys,wait_for_checkpoints,allow_partial_search_results}": { + "get": { + "description": "Multi Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", + "operationId": "fleet.msearch#2", + "parameters": [ + { + "$ref": "#/components/parameters/fleet.msearch#index" + }, + { + "$ref": "#/components/parameters/fleet.msearch#allow_no_indices" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/fleet.msearch#expand_wildcards" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ignore_throttled" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/fleet.msearch#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/fleet.msearch#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/fleet.msearch#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/fleet.msearch#search_type" + }, + { + "$ref": "#/components/parameters/fleet.msearch#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/fleet.msearch#typed_keys" + }, + { + "$ref": "#/components/parameters/fleet.msearch#wait_for_checkpoints" + }, + { + "$ref": "#/components/parameters/fleet.msearch#allow_partial_search_results" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/fleet.msearch" + }, + "responses": { + "200": { + "$ref": "#/components/responses/fleet.msearch#200" + } + } + }, + "post": { + "description": "Multi Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", + "operationId": "fleet.msearch#3", + "parameters": [ + { + "$ref": "#/components/parameters/fleet.msearch#index" + }, + { + "$ref": "#/components/parameters/fleet.msearch#allow_no_indices" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/fleet.msearch#expand_wildcards" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ignore_throttled" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/fleet.msearch#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/fleet.msearch#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/fleet.msearch#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/fleet.msearch#search_type" + }, + { + "$ref": "#/components/parameters/fleet.msearch#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/fleet.msearch#typed_keys" + }, + { + "$ref": "#/components/parameters/fleet.msearch#wait_for_checkpoints" + }, + { + "$ref": "#/components/parameters/fleet.msearch#allow_partial_search_results" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/fleet.msearch" + }, + "responses": { + "200": { + "$ref": "#/components/responses/fleet.msearch#200" + } + } + } + }, + "/{index}/_fleet/_fleet_search{?allow_no_indices,analyzer,analyze_wildcard,batched_reduce_size,ccs_minimize_roundtrips,default_operator,df,docvalue_fields,expand_wildcards,explain,ignore_throttled,ignore_unavailable,lenient,max_concurrent_shard_requests,min_compatible_shard_node,preference,pre_filter_shard_size,request_cache,routing,scroll,search_type,stats,stored_fields,suggest_field,suggest_mode,suggest_size,suggest_text,terminate_after,timeout,track_total_hits,track_scores,typed_keys,rest_total_hits_as_int,version,_source,_source_excludes,_source_includes,seq_no_primary_term,q,size,from,sort,wait_for_checkpoints,allow_partial_search_results}": { + "get": { + "description": "Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", + "operationId": "fleet.search#0", + "parameters": [ + { + "$ref": "#/components/parameters/fleet.search#index" + }, + { + "$ref": "#/components/parameters/fleet.search#allow_no_indices" + }, + { + "$ref": "#/components/parameters/fleet.search#analyzer" + }, + { + "$ref": "#/components/parameters/fleet.search#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/fleet.search#batched_reduce_size" + }, + { + "$ref": "#/components/parameters/fleet.search#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/fleet.search#default_operator" + }, + { + "$ref": "#/components/parameters/fleet.search#df" + }, + { + "$ref": "#/components/parameters/fleet.search#docvalue_fields" + }, + { + "$ref": "#/components/parameters/fleet.search#expand_wildcards" + }, + { + "$ref": "#/components/parameters/fleet.search#explain" + }, + { + "$ref": "#/components/parameters/fleet.search#ignore_throttled" + }, + { + "$ref": "#/components/parameters/fleet.search#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/fleet.search#lenient" + }, + { + "$ref": "#/components/parameters/fleet.search#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/fleet.search#min_compatible_shard_node" + }, + { + "$ref": "#/components/parameters/fleet.search#preference" + }, + { + "$ref": "#/components/parameters/fleet.search#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/fleet.search#request_cache" + }, + { + "$ref": "#/components/parameters/fleet.search#routing" + }, + { + "$ref": "#/components/parameters/fleet.search#scroll" + }, + { + "$ref": "#/components/parameters/fleet.search#search_type" + }, + { + "$ref": "#/components/parameters/fleet.search#stats" + }, + { + "$ref": "#/components/parameters/fleet.search#stored_fields" + }, + { + "$ref": "#/components/parameters/fleet.search#suggest_field" + }, + { + "$ref": "#/components/parameters/fleet.search#suggest_mode" + }, + { + "$ref": "#/components/parameters/fleet.search#suggest_size" + }, + { + "$ref": "#/components/parameters/fleet.search#suggest_text" + }, + { + "$ref": "#/components/parameters/fleet.search#terminate_after" + }, + { + "$ref": "#/components/parameters/fleet.search#timeout" + }, + { + "$ref": "#/components/parameters/fleet.search#track_total_hits" + }, + { + "$ref": "#/components/parameters/fleet.search#track_scores" + }, + { + "$ref": "#/components/parameters/fleet.search#typed_keys" + }, + { + "$ref": "#/components/parameters/fleet.search#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/fleet.search#version" + }, + { + "$ref": "#/components/parameters/fleet.search#_source" + }, + { + "$ref": "#/components/parameters/fleet.search#_source_excludes" + }, + { + "$ref": "#/components/parameters/fleet.search#_source_includes" + }, + { + "$ref": "#/components/parameters/fleet.search#seq_no_primary_term" + }, + { + "$ref": "#/components/parameters/fleet.search#q" + }, + { + "$ref": "#/components/parameters/fleet.search#size" + }, + { + "$ref": "#/components/parameters/fleet.search#from" + }, + { + "$ref": "#/components/parameters/fleet.search#sort" + }, + { + "$ref": "#/components/parameters/fleet.search#wait_for_checkpoints" + }, + { + "$ref": "#/components/parameters/fleet.search#allow_partial_search_results" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/fleet.search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/fleet.search#200" + } + } + }, + "post": { + "description": "Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", + "operationId": "fleet.search#1", + "parameters": [ + { + "$ref": "#/components/parameters/fleet.search#index" + }, + { + "$ref": "#/components/parameters/fleet.search#allow_no_indices" + }, + { + "$ref": "#/components/parameters/fleet.search#analyzer" + }, + { + "$ref": "#/components/parameters/fleet.search#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/fleet.search#batched_reduce_size" + }, + { + "$ref": "#/components/parameters/fleet.search#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/fleet.search#default_operator" + }, + { + "$ref": "#/components/parameters/fleet.search#df" + }, + { + "$ref": "#/components/parameters/fleet.search#docvalue_fields" + }, + { + "$ref": "#/components/parameters/fleet.search#expand_wildcards" + }, + { + "$ref": "#/components/parameters/fleet.search#explain" + }, + { + "$ref": "#/components/parameters/fleet.search#ignore_throttled" + }, + { + "$ref": "#/components/parameters/fleet.search#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/fleet.search#lenient" + }, + { + "$ref": "#/components/parameters/fleet.search#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/fleet.search#min_compatible_shard_node" + }, + { + "$ref": "#/components/parameters/fleet.search#preference" + }, + { + "$ref": "#/components/parameters/fleet.search#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/fleet.search#request_cache" + }, + { + "$ref": "#/components/parameters/fleet.search#routing" + }, + { + "$ref": "#/components/parameters/fleet.search#scroll" + }, + { + "$ref": "#/components/parameters/fleet.search#search_type" + }, + { + "$ref": "#/components/parameters/fleet.search#stats" + }, + { + "$ref": "#/components/parameters/fleet.search#stored_fields" + }, + { + "$ref": "#/components/parameters/fleet.search#suggest_field" + }, + { + "$ref": "#/components/parameters/fleet.search#suggest_mode" + }, + { + "$ref": "#/components/parameters/fleet.search#suggest_size" + }, + { + "$ref": "#/components/parameters/fleet.search#suggest_text" + }, + { + "$ref": "#/components/parameters/fleet.search#terminate_after" + }, + { + "$ref": "#/components/parameters/fleet.search#timeout" + }, + { + "$ref": "#/components/parameters/fleet.search#track_total_hits" + }, + { + "$ref": "#/components/parameters/fleet.search#track_scores" + }, + { + "$ref": "#/components/parameters/fleet.search#typed_keys" + }, + { + "$ref": "#/components/parameters/fleet.search#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/fleet.search#version" + }, + { + "$ref": "#/components/parameters/fleet.search#_source" + }, + { + "$ref": "#/components/parameters/fleet.search#_source_excludes" + }, + { + "$ref": "#/components/parameters/fleet.search#_source_includes" + }, + { + "$ref": "#/components/parameters/fleet.search#seq_no_primary_term" + }, + { + "$ref": "#/components/parameters/fleet.search#q" + }, + { + "$ref": "#/components/parameters/fleet.search#size" + }, + { + "$ref": "#/components/parameters/fleet.search#from" + }, + { + "$ref": "#/components/parameters/fleet.search#sort" + }, + { + "$ref": "#/components/parameters/fleet.search#wait_for_checkpoints" + }, + { + "$ref": "#/components/parameters/fleet.search#allow_partial_search_results" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/fleet.search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/fleet.search#200" + } + } + } + }, + "/_scripts/{id}{?master_timeout}": { + "get": { + "description": "Returns a script.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" + }, + "operationId": "get_script#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Script ID", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Specify timeout for connection to master", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "found": { + "type": "boolean" + }, + "script": { + "$ref": "#/components/schemas/_types:StoredScript" + } + }, + "required": [ + "_id", + "found" + ] + } + } + } + } + } + } + }, + "/_script_context": { + "get": { + "description": "Returns all script contexts.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-contexts.html" + }, + "operationId": "get_script_context#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "contexts": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.get_script_context:Context" + } + } + }, + "required": [ + "contexts" + ] + } + } + } + } + } + } + }, + "/_script_language": { + "get": { + "description": "Returns available script types, languages and contexts", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" + }, + "operationId": "get_script_languages#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "language_contexts": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.get_script_languages:LanguageContext" + } + }, + "types_allowed": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "language_contexts", + "types_allowed" + ] + } + } + } + } + } + } + }, + "/{index}/_source/{id}{?preference,realtime,refresh,routing,_source,_source_excludes,_source_includes,stored_fields,version,version_type}": { + "get": { + "description": "Returns the source of a document.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" + }, + "operationId": "get_source#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Name of the index that contains the document.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + { + "in": "path", + "name": "id", + "description": "Unique identifier of the document.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on. Random by default.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "realtime", + "description": "Boolean) If true, the request is real-time as opposed to near-real-time.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "refresh", + "description": "If true, Elasticsearch refreshes the affected shards to make this operation visible to search. If false, do nothing with refreshes.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "routing", + "description": "Target the specified primary shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source", + "description": "True or false to return the _source field or not, or a list of fields to return.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source_excludes", + "description": "A comma-separated list of source fields to exclude in the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source_includes", + "description": "A comma-separated list of source fields to include in the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "stored_fields", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "version", + "description": "Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + }, + { + "in": "query", + "name": "version_type", + "description": "Specific version type: internal, external, external_gte.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionType" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{index}/_graph/explore{?routing,timeout}": { + "get": { + "description": "Explore extracted and summarized information about the documents and terms in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/graph-explore-api.html" + }, + "operationId": "graph.explore#0", + "parameters": [ + { + "$ref": "#/components/parameters/graph.explore#index" + }, + { + "$ref": "#/components/parameters/graph.explore#routing" + }, + { + "$ref": "#/components/parameters/graph.explore#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/graph.explore" + }, + "responses": { + "200": { + "$ref": "#/components/responses/graph.explore#200" + } + } + }, + "post": { + "description": "Explore extracted and summarized information about the documents and terms in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/graph-explore-api.html" + }, + "operationId": "graph.explore#1", + "parameters": [ + { + "$ref": "#/components/parameters/graph.explore#index" + }, + { + "$ref": "#/components/parameters/graph.explore#routing" + }, + { + "$ref": "#/components/parameters/graph.explore#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/graph.explore" + }, + "responses": { + "200": { + "$ref": "#/components/responses/graph.explore#200" + } + } + } + }, + "/_health_report{?timeout,verbose,size}": { + "get": { + "description": "Returns the health of the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/health-api.html" + }, + "operationId": "health_report#0", + "parameters": [ + { + "$ref": "#/components/parameters/health_report#timeout" + }, + { + "$ref": "#/components/parameters/health_report#verbose" + }, + { + "$ref": "#/components/parameters/health_report#size" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/health_report#200" + } + } + } + }, + "/_health_report/{feature}{?timeout,verbose,size}": { + "get": { + "description": "Returns the health of the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/health-api.html" + }, + "operationId": "health_report#1", + "parameters": [ + { + "$ref": "#/components/parameters/health_report#feature" + }, + { + "$ref": "#/components/parameters/health_report#timeout" + }, + { + "$ref": "#/components/parameters/health_report#verbose" + }, + { + "$ref": "#/components/parameters/health_report#size" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/health_report#200" + } + } + } + }, + "/_ilm/policy/{policy}{?master_timeout,timeout}": { + "put": { + "description": "Creates a lifecycle policy", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-put-lifecycle.html" + }, + "operationId": "ilm.put_lifecycle#0", + "parameters": [ + { + "in": "path", + "name": "policy", + "description": "Identifier for the policy.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "policy": { + "$ref": "#/components/schemas/ilm._types:Policy" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/{index}/_ilm/explain{?only_errors,only_managed,master_timeout,timeout}": { + "get": { + "description": "Retrieves information about the index's current lifecycle state, such as the currently executing phase, action, and step.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-explain-lifecycle.html" + }, + "operationId": "ilm.explain_lifecycle#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases to target. Supports wildcards (`*`).\nTo target all data streams and indices, use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + { + "in": "query", + "name": "only_errors", + "description": "Filters the returned indices to only indices that are managed by ILM and are in an error state, either due to an encountering an error while executing the policy, or attempting to use a policy that does not exist.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "only_managed", + "description": "Filters the returned indices to only indices that are managed by ILM.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "indices": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ilm.explain_lifecycle:LifecycleExplain" + } + } + }, + "required": [ + "indices" + ] + } + } + } + } + } + } + }, + "/_ilm/policy{?master_timeout,timeout}": { + "get": { + "description": "Returns the specified policy definition. Includes the policy version and last modified date.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-lifecycle.html" + }, + "operationId": "ilm.get_lifecycle#1", + "parameters": [ + { + "$ref": "#/components/parameters/ilm.get_lifecycle#master_timeout" + }, + { + "$ref": "#/components/parameters/ilm.get_lifecycle#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ilm.get_lifecycle#200" + } + } + } + }, + "/_ilm/status": { + "get": { + "description": "Retrieves the current index lifecycle management (ILM) status.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-status.html" + }, + "operationId": "ilm.get_status#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "operation_mode": { + "$ref": "#/components/schemas/_types:LifecycleOperationMode" + } + }, + "required": [ + "operation_mode" + ] + } + } + } + } + } + } + }, + "/_ilm/migrate_to_data_tiers{?dry_run}": { + "post": { + "description": "Migrates the indices and ILM policies away from custom node attribute allocation routing to data tiers routing", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-migrate-to-data-tiers.html" + }, + "operationId": "ilm.migrate_to_data_tiers#0", + "parameters": [ + { + "in": "query", + "name": "dry_run", + "description": "If true, simulates the migration from node attributes based allocation filters to data tiers, but does not perform the migration.\nThis provides a way to retrieve the indices and ILM policies that need to be migrated.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "legacy_template_to_delete": { + "type": "string" + }, + "node_attribute": { + "type": "string" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "dry_run": { + "type": "boolean" + }, + "removed_legacy_template": { + "type": "string" + }, + "migrated_ilm_policies": { + "type": "array", + "items": { + "type": "string" + } + }, + "migrated_indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "migrated_legacy_templates": { + "type": "array", + "items": { + "type": "string" + } + }, + "migrated_composable_templates": { + "type": "array", + "items": { + "type": "string" + } + }, + "migrated_component_templates": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "dry_run", + "removed_legacy_template", + "migrated_ilm_policies", + "migrated_indices", + "migrated_legacy_templates", + "migrated_composable_templates", + "migrated_component_templates" + ] + } + } + } + } + } + } + }, + "/_ilm/move/{index}": { + "post": { + "description": "Manually moves an index into the specified step and executes that step.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-move-to-step.html" + }, + "operationId": "ilm.move_to_step#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "The name of the index whose lifecycle step is to change", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "current_step": { + "$ref": "#/components/schemas/ilm.move_to_step:StepKey" + }, + "next_step": { + "$ref": "#/components/schemas/ilm.move_to_step:StepKey" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/{index}/_ilm/remove": { + "post": { + "description": "Removes the assigned lifecycle policy and stops managing the specified index", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-remove-policy.html" + }, + "operationId": "ilm.remove_policy#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "The name of the index to remove policy on", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "failed_indexes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "has_failures": { + "type": "boolean" + } + }, + "required": [ + "failed_indexes", + "has_failures" + ] + } + } + } + } + } + } + }, + "/{index}/_ilm/retry": { + "post": { + "description": "Retries executing the policy for an index that is in the ERROR step.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-retry-policy.html" + }, + "operationId": "ilm.retry#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "The name of the indices (comma-separated) whose failed lifecycle step is to be retry", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ilm/start{?master_timeout,timeout}": { + "post": { + "description": "Start the index lifecycle management (ILM) plugin.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-start.html" + }, + "operationId": "ilm.start#0", + "parameters": [ + { + "in": "query", + "name": "master_timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ilm/stop{?master_timeout,timeout}": { + "post": { + "description": "Halts all lifecycle management operations and stops the index lifecycle management (ILM) plugin", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-stop.html" + }, + "operationId": "ilm.stop#0", + "parameters": [ + { + "in": "query", + "name": "master_timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/{index}/_doc/{id}{?if_primary_term,if_seq_no,op_type,pipeline,refresh,routing,timeout,version,version_type,wait_for_active_shards,require_alias}": { + "put": { + "description": "Creates or updates a document in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" + }, + "operationId": "index#0", + "parameters": [ + { + "$ref": "#/components/parameters/index#index" + }, + { + "$ref": "#/components/parameters/index#id" + }, + { + "$ref": "#/components/parameters/index#if_primary_term" + }, + { + "$ref": "#/components/parameters/index#if_seq_no" + }, + { + "$ref": "#/components/parameters/index#op_type" + }, + { + "$ref": "#/components/parameters/index#pipeline" + }, + { + "$ref": "#/components/parameters/index#refresh" + }, + { + "$ref": "#/components/parameters/index#routing" + }, + { + "$ref": "#/components/parameters/index#timeout" + }, + { + "$ref": "#/components/parameters/index#version" + }, + { + "$ref": "#/components/parameters/index#version_type" + }, + { + "$ref": "#/components/parameters/index#wait_for_active_shards" + }, + { + "$ref": "#/components/parameters/index#require_alias" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/index" + }, + "responses": { + "200": { + "$ref": "#/components/responses/index#200" + } + } + }, + "post": { + "description": "Creates or updates a document in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" + }, + "operationId": "index#1", + "parameters": [ + { + "$ref": "#/components/parameters/index#index" + }, + { + "$ref": "#/components/parameters/index#id" + }, + { + "$ref": "#/components/parameters/index#if_primary_term" + }, + { + "$ref": "#/components/parameters/index#if_seq_no" + }, + { + "$ref": "#/components/parameters/index#op_type" + }, + { + "$ref": "#/components/parameters/index#pipeline" + }, + { + "$ref": "#/components/parameters/index#refresh" + }, + { + "$ref": "#/components/parameters/index#routing" + }, + { + "$ref": "#/components/parameters/index#timeout" + }, + { + "$ref": "#/components/parameters/index#version" + }, + { + "$ref": "#/components/parameters/index#version_type" + }, + { + "$ref": "#/components/parameters/index#wait_for_active_shards" + }, + { + "$ref": "#/components/parameters/index#require_alias" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/index" + }, + "responses": { + "200": { + "$ref": "#/components/responses/index#200" + } + } + } + }, + "/{index}/_doc{?if_primary_term,if_seq_no,op_type,pipeline,refresh,routing,timeout,version,version_type,wait_for_active_shards,require_alias}": { + "post": { + "description": "Creates or updates a document in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" + }, + "operationId": "index#2", + "parameters": [ + { + "$ref": "#/components/parameters/index#index" + }, + { + "$ref": "#/components/parameters/index#if_primary_term" + }, + { + "$ref": "#/components/parameters/index#if_seq_no" + }, + { + "$ref": "#/components/parameters/index#op_type" + }, + { + "$ref": "#/components/parameters/index#pipeline" + }, + { + "$ref": "#/components/parameters/index#refresh" + }, + { + "$ref": "#/components/parameters/index#routing" + }, + { + "$ref": "#/components/parameters/index#timeout" + }, + { + "$ref": "#/components/parameters/index#version" + }, + { + "$ref": "#/components/parameters/index#version_type" + }, + { + "$ref": "#/components/parameters/index#wait_for_active_shards" + }, + { + "$ref": "#/components/parameters/index#require_alias" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/index" + }, + "responses": { + "200": { + "$ref": "#/components/responses/index#200" + } + } + } + }, + "/{index}/_block/{block}{?allow_no_indices,expand_wildcards,ignore_unavailable,master_timeout,timeout}": { + "put": { + "description": "Adds a block to an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/index-modules-blocks.html" + }, + "operationId": "indices.add_block#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "A comma separated list of indices to add a block to", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + { + "in": "path", + "name": "block", + "description": "The block to add (one of read, write, read_only or metadata)", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/indices.add_block:IndicesBlockOptions" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Specify timeout for connection to master", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Explicit operation timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "shards_acknowledged": { + "type": "boolean" + }, + "indices": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.add_block:IndicesBlockStatus" + } + } + }, + "required": [ + "acknowledged", + "shards_acknowledged", + "indices" + ] + } + } + } + } + } + } + }, + "/_analyze": { + "get": { + "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-analyze.html" + }, + "operationId": "indices.analyze#0", + "requestBody": { + "$ref": "#/components/requestBodies/indices.analyze" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.analyze#200" + } + } + }, + "post": { + "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-analyze.html" + }, + "operationId": "indices.analyze#1", + "requestBody": { + "$ref": "#/components/requestBodies/indices.analyze" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.analyze#200" + } + } + } + }, + "/{index}/_analyze": { + "get": { + "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-analyze.html" + }, + "operationId": "indices.analyze#2", + "parameters": [ + { + "$ref": "#/components/parameters/indices.analyze#index" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.analyze" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.analyze#200" + } + } + }, + "post": { + "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-analyze.html" + }, + "operationId": "indices.analyze#3", + "parameters": [ + { + "$ref": "#/components/parameters/indices.analyze#index" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.analyze" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.analyze#200" + } + } + } + }, + "/_cache/clear{?allow_no_indices,expand_wildcards,fielddata,fields,ignore_unavailable,query,request}": { + "post": { + "description": "Clears all or specific caches for one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html" + }, + "operationId": "indices.clear_cache#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.clear_cache#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.clear_cache#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.clear_cache#fielddata" + }, + { + "$ref": "#/components/parameters/indices.clear_cache#fields" + }, + { + "$ref": "#/components/parameters/indices.clear_cache#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.clear_cache#query" + }, + { + "$ref": "#/components/parameters/indices.clear_cache#request" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.clear_cache#200" + } + } + } + }, + "/{index}/_cache/clear{?allow_no_indices,expand_wildcards,fielddata,fields,ignore_unavailable,query,request}": { + "post": { + "description": "Clears all or specific caches for one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html" + }, + "operationId": "indices.clear_cache#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.clear_cache#index" + }, + { + "$ref": "#/components/parameters/indices.clear_cache#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.clear_cache#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.clear_cache#fielddata" + }, + { + "$ref": "#/components/parameters/indices.clear_cache#fields" + }, + { + "$ref": "#/components/parameters/indices.clear_cache#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.clear_cache#query" + }, + { + "$ref": "#/components/parameters/indices.clear_cache#request" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.clear_cache#200" + } + } + } + }, + "/{index}/_clone/{target}{?master_timeout,timeout,wait_for_active_shards}": { + "put": { + "description": "Clones an index", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clone-index.html" + }, + "operationId": "indices.clone#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.clone#index" + }, + { + "$ref": "#/components/parameters/indices.clone#target" + }, + { + "$ref": "#/components/parameters/indices.clone#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.clone#timeout" + }, + { + "$ref": "#/components/parameters/indices.clone#wait_for_active_shards" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.clone" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.clone#200" + } + } + }, + "post": { + "description": "Clones an index", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clone-index.html" + }, + "operationId": "indices.clone#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.clone#index" + }, + { + "$ref": "#/components/parameters/indices.clone#target" + }, + { + "$ref": "#/components/parameters/indices.clone#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.clone#timeout" + }, + { + "$ref": "#/components/parameters/indices.clone#wait_for_active_shards" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.clone" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.clone#200" + } + } + } + }, + "/{index}/_close{?allow_no_indices,expand_wildcards,ignore_unavailable,master_timeout,timeout,wait_for_active_shards}": { + "post": { + "description": "Closes an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-close.html" + }, + "operationId": "indices.close#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Comma-separated list or wildcard expression of index names used to limit the request.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "indices": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.close:CloseIndexResult" + } + }, + "shards_acknowledged": { + "type": "boolean" + } + }, + "required": [ + "acknowledged", + "indices", + "shards_acknowledged" + ] + } + } + } + } + } + } + }, + "/{index}{?master_timeout,timeout,wait_for_active_shards}": { + "put": { + "description": "Creates an index with optional settings and mappings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-create-index.html" + }, + "operationId": "indices.create#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Name of the index you wish to create.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation. \nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aliases": { + "description": "Aliases for the index.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "settings": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "shards_acknowledged": { + "type": "boolean" + }, + "acknowledged": { + "type": "boolean" + } + }, + "required": [ + "index", + "shards_acknowledged", + "acknowledged" + ] + } + } + } + } + } + } + }, + "/_data_stream/{name}": { + "put": { + "description": "Creates a data stream", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" + }, + "operationId": "indices.create_data_stream#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Name of the data stream, which must meet the following criteria:\nLowercase only;\nCannot include `\\`, `/`, `*`, `?`, `\"`, `<`, `>`, `|`, `,`, `#`, `:`, or a space character;\nCannot start with `-`, `_`, `+`, or `.ds-`;\nCannot be `.` or `..`;\nCannot be longer than 255 bytes. Multi-byte characters count towards this limit faster.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DataStreamName" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_data_stream/_stats{?expand_wildcards}": { + "get": { + "description": "Provides statistics on operations happening in a data stream.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" + }, + "operationId": "indices.data_streams_stats#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.data_streams_stats#expand_wildcards" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.data_streams_stats#200" + } + } + } + }, + "/_data_stream/{name}/_stats{?expand_wildcards}": { + "get": { + "description": "Provides statistics on operations happening in a data stream.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" + }, + "operationId": "indices.data_streams_stats#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.data_streams_stats#name" + }, + { + "$ref": "#/components/parameters/indices.data_streams_stats#expand_wildcards" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.data_streams_stats#200" + } + } + } + }, + "/{index}{?allow_no_indices,expand_wildcards,ignore_unavailable,master_timeout,timeout}": { + "put": { + "description": "Deletes an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html" + }, + "operationId": "indices.delete#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Comma-separated list of indices to delete.\nYou cannot specify index aliases.\nBy default, this parameter does not support wildcards (`*`) or `_all`.\nTo use wildcards or `_all`, set the `action.destructive_requires_name` cluster setting to `false`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:IndicesResponseBase" + } + } + } + } + } + } + }, + "/{index}/_alias/{name}{?master_timeout,timeout}": { + "put": { + "description": "Creates or updates an alias.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.put_alias#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_alias#index" + }, + { + "$ref": "#/components/parameters/indices.put_alias#name" + }, + { + "$ref": "#/components/parameters/indices.put_alias#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_alias#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_alias" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_alias#200" + } + } + }, + "post": { + "description": "Creates or updates an alias.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.put_alias#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_alias#index" + }, + { + "$ref": "#/components/parameters/indices.put_alias#name" + }, + { + "$ref": "#/components/parameters/indices.put_alias#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_alias#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_alias" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_alias#200" + } + } + } + }, + "/{index}/_aliases/{name}{?master_timeout,timeout}": { + "put": { + "description": "Creates or updates an alias.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.put_alias#2", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_alias#index" + }, + { + "$ref": "#/components/parameters/indices.put_alias#name" + }, + { + "$ref": "#/components/parameters/indices.put_alias#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_alias#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_alias" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_alias#200" + } + } + }, + "post": { + "description": "Creates or updates an alias.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.put_alias#3", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_alias#index" + }, + { + "$ref": "#/components/parameters/indices.put_alias#name" + }, + { + "$ref": "#/components/parameters/indices.put_alias#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_alias#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_alias" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_alias#200" + } + } + } + }, + "/_data_stream/{name}/_lifecycle{?expand_wildcards,master_timeout,timeout}": { + "put": { + "description": "Updates the data lifecycle of the selected data streams.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/dlm-put-lifecycle.html" + }, + "operationId": "indices.put_data_lifecycle#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Comma-separated list of data streams used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DataStreamNames" + }, + "style": "simple" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `hidden`, `open`, `closed`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data_retention": { + "$ref": "#/components/schemas/_types:Duration" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_data_stream/{name}{?expand_wildcards}": { + "put": { + "description": "Deletes a data stream.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" + }, + "operationId": "indices.delete_data_stream#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Comma-separated list of data streams to delete. Wildcard (`*`) expressions are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DataStreamNames" + }, + "style": "simple" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of data stream that wildcard patterns can match. Supports comma-separated values,such as `open,hidden`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_index_template/{name}{?master_timeout,timeout}": { + "put": { + "description": "Deletes an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.delete_index_template#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_template/{name}{?master_timeout,timeout}": { + "put": { + "description": "Deletes an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.delete_template#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "The name of the legacy index template to delete.\nWildcard (`*`) expressions are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/{index}/_disk_usage{?allow_no_indices,expand_wildcards,flush,ignore_unavailable,run_expensive_tasks}": { + "post": { + "description": "Analyzes the disk usage of each field of an index or data stream", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-disk-usage.html" + }, + "operationId": "indices.disk_usage#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nIt’s recommended to execute this API with a single index (or the latest backing index of a data stream) as the API consumes resources significantly.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If false, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "flush", + "description": "If `true`, the API performs a flush before analysis.\nIf `false`, the response may not include uncommitted data.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If `true`, missing or closed indices are not included in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "run_expensive_tasks", + "description": "Analyzing field disk usage is resource-intensive.\nTo use the API, this parameter must be set to `true`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{index}/_downsample/{target_index}": { + "post": { + "description": "Downsample an index", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-downsample-data-stream.html" + }, + "operationId": "indices.downsample#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Name of the time series index to downsample.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + { + "in": "path", + "name": "target_index", + "description": "Name of the index to create.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/indices._types:DownsampleConfig" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{index}{?allow_no_indices,expand_wildcards,flat_settings,ignore_unavailable,include_defaults,local}": { + "get": { + "description": "Returns information about whether a particular index exists.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html" + }, + "operationId": "indices.exists#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases. Supports wildcards (`*`).", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "flat_settings", + "description": "If `true`, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "include_defaults", + "description": "If `true`, return all default settings in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": {} + } + } + } + } + }, + "/_alias/{name}{?allow_no_indices,expand_wildcards,ignore_unavailable,local}": { + "get": { + "description": "Returns an alias.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.get_alias#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_alias#name" + }, + { + "$ref": "#/components/parameters/indices.get_alias#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.get_alias#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_alias#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.get_alias#local" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_alias#200" + } + } + } + }, + "/{index}/_alias/{name}{?allow_no_indices,expand_wildcards,ignore_unavailable,local}": { + "get": { + "description": "Returns an alias.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.get_alias#2", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_alias#index" + }, + { + "$ref": "#/components/parameters/indices.get_alias#name" + }, + { + "$ref": "#/components/parameters/indices.get_alias#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.get_alias#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_alias#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.get_alias#local" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_alias#200" + } + } + } + }, + "/_index_template/{name}{?master_timeout}": { + "get": { + "description": "Returns information about whether a particular index template exists.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.exists_index_template#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": {} + } + } + } + } + }, + "/_template/{name}{?flat_settings,local,master_timeout}": { + "get": { + "description": "Returns an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.get_template#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_template#name" + }, + { + "$ref": "#/components/parameters/indices.get_template#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.get_template#local" + }, + { + "$ref": "#/components/parameters/indices.get_template#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_template#200" + } + } + } + }, + "/{index}/_lifecycle/explain{?include_defaults,master_timeout}": { + "get": { + "description": "Retrieves information about the index's current DLM lifecycle, such as any potential encountered error, time since creation etc.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/dlm-explain-lifecycle.html" + }, + "operationId": "indices.explain_data_lifecycle#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "The name of the index to explain", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "include_defaults", + "description": "indicates if the API should return the default values the system uses for the index's lifecycle", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Specify timeout for connection to master", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "indices": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.explain_data_lifecycle:DataLifecycleExplain" + } + } + }, + "required": [ + "indices" + ] + } + } + } + } + } + } + }, + "/{index}/_field_usage_stats{?allow_no_indices,expand_wildcards,ignore_unavailable,fields,master_timeout,timeout,wait_for_active_shards}": { + "get": { + "description": "Returns the field usage stats for each field of an index", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/field-usage-stats.html" + }, + "operationId": "indices.field_usage_stats#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Comma-separated list or wildcard expression of index names used to limit the request.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If `true`, missing or closed indices are not included in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "fields", + "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/indices.field_usage_stats:FieldsUsageBody" + } + } + } + } + } + } + }, + "/_flush{?allow_no_indices,expand_wildcards,force,ignore_unavailable,wait_if_ongoing}": { + "get": { + "description": "Performs the flush operation on one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-flush.html" + }, + "operationId": "indices.flush#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.flush#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.flush#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.flush#force" + }, + { + "$ref": "#/components/parameters/indices.flush#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.flush#wait_if_ongoing" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.flush#200" + } + } + }, + "post": { + "description": "Performs the flush operation on one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-flush.html" + }, + "operationId": "indices.flush#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.flush#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.flush#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.flush#force" + }, + { + "$ref": "#/components/parameters/indices.flush#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.flush#wait_if_ongoing" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.flush#200" + } + } + } + }, + "/{index}/_flush{?allow_no_indices,expand_wildcards,force,ignore_unavailable,wait_if_ongoing}": { + "get": { + "description": "Performs the flush operation on one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-flush.html" + }, + "operationId": "indices.flush#3", + "parameters": [ + { + "$ref": "#/components/parameters/indices.flush#index" + }, + { + "$ref": "#/components/parameters/indices.flush#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.flush#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.flush#force" + }, + { + "$ref": "#/components/parameters/indices.flush#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.flush#wait_if_ongoing" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.flush#200" + } + } + }, + "post": { + "description": "Performs the flush operation on one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-flush.html" + }, + "operationId": "indices.flush#2", + "parameters": [ + { + "$ref": "#/components/parameters/indices.flush#index" + }, + { + "$ref": "#/components/parameters/indices.flush#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.flush#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.flush#force" + }, + { + "$ref": "#/components/parameters/indices.flush#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.flush#wait_if_ongoing" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.flush#200" + } + } + } + }, + "/_forcemerge{?allow_no_indices,expand_wildcards,flush,ignore_unavailable,max_num_segments,only_expunge_deletes,wait_for_completion}": { + "post": { + "description": "Performs the force merge operation on one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html" + }, + "operationId": "indices.forcemerge#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.forcemerge#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.forcemerge#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.forcemerge#flush" + }, + { + "$ref": "#/components/parameters/indices.forcemerge#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.forcemerge#max_num_segments" + }, + { + "$ref": "#/components/parameters/indices.forcemerge#only_expunge_deletes" + }, + { + "$ref": "#/components/parameters/indices.forcemerge#wait_for_completion" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.forcemerge#200" + } + } + } + }, + "/{index}/_forcemerge{?allow_no_indices,expand_wildcards,flush,ignore_unavailable,max_num_segments,only_expunge_deletes,wait_for_completion}": { + "post": { + "description": "Performs the force merge operation on one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html" + }, + "operationId": "indices.forcemerge#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.forcemerge#index" + }, + { + "$ref": "#/components/parameters/indices.forcemerge#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.forcemerge#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.forcemerge#flush" + }, + { + "$ref": "#/components/parameters/indices.forcemerge#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.forcemerge#max_num_segments" + }, + { + "$ref": "#/components/parameters/indices.forcemerge#only_expunge_deletes" + }, + { + "$ref": "#/components/parameters/indices.forcemerge#wait_for_completion" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.forcemerge#200" + } + } + } + }, + "/{index}{?allow_no_indices,expand_wildcards,flat_settings,ignore_unavailable,include_defaults,local,master_timeout,features}": { + "get": { + "description": "Returns information about one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html" + }, + "operationId": "indices.get#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and index aliases used to limit the request.\nWildcard expressions (*) are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If false, the request returns an error if any wildcard expression, index alias, or _all value targets only\nmissing or closed indices. This behavior applies even if the request targets other open indices. For example,\na request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard expressions can match. If the request can target data streams, this argument\ndetermines whether wildcard expressions match hidden data streams. Supports comma-separated values,\nsuch as open,hidden.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "flat_settings", + "description": "If true, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If false, requests that target a missing index return an error.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "include_defaults", + "description": "If true, return all default settings in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "local", + "description": "If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "features", + "description": "Return only information on specified index features", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/indices.get:Features" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:IndexState" + } + } + } + } + } + } + } + }, + "/_alias{?allow_no_indices,expand_wildcards,ignore_unavailable,local}": { + "get": { + "description": "Returns an alias.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.get_alias#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_alias#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.get_alias#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_alias#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.get_alias#local" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_alias#200" + } + } + } + }, + "/{index}/_alias{?allow_no_indices,expand_wildcards,ignore_unavailable,local}": { + "get": { + "description": "Returns an alias.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.get_alias#3", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_alias#index" + }, + { + "$ref": "#/components/parameters/indices.get_alias#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.get_alias#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_alias#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.get_alias#local" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_alias#200" + } + } + } + }, + "/_data_stream/{name}/_lifecycle{?expand_wildcards,include_defaults}": { + "get": { + "description": "Returns the data lifecycle of the selected data streams.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/dlm-get-lifecycle.html" + }, + "operationId": "indices.get_data_lifecycle#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Comma-separated list of data streams to limit the request.\nSupports wildcards (`*`).\nTo target all data streams, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DataStreamNames" + }, + "style": "simple" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "include_defaults", + "description": "If `true`, return all default settings in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data_streams": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.get_data_lifecycle:DataStreamLifecycle" + } + } + }, + "required": [ + "data_streams" + ] + } + } + } + } + } + } + }, + "/_data_stream{?expand_wildcards,include_defaults}": { + "get": { + "description": "Returns data streams.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" + }, + "operationId": "indices.get_data_stream#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_data_stream#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_data_stream#include_defaults" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_data_stream#200" + } + } + } + }, + "/_data_stream/{name}{?expand_wildcards,include_defaults}": { + "get": { + "description": "Returns data streams.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" + }, + "operationId": "indices.get_data_stream#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_data_stream#name" + }, + { + "$ref": "#/components/parameters/indices.get_data_stream#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_data_stream#include_defaults" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_data_stream#200" + } + } + } + }, + "/_mapping/field/{fields}{?allow_no_indices,expand_wildcards,ignore_unavailable,include_defaults,local}": { + "get": { + "description": "Returns mapping for one or more fields.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html" + }, + "operationId": "indices.get_field_mapping#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_field_mapping#fields" + }, + { + "$ref": "#/components/parameters/indices.get_field_mapping#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.get_field_mapping#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_field_mapping#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.get_field_mapping#include_defaults" + }, + { + "$ref": "#/components/parameters/indices.get_field_mapping#local" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_field_mapping#200" + } + } + } + }, + "/{index}/_mapping/field/{fields}{?allow_no_indices,expand_wildcards,ignore_unavailable,include_defaults,local}": { + "get": { + "description": "Returns mapping for one or more fields.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html" + }, + "operationId": "indices.get_field_mapping#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_field_mapping#index" + }, + { + "$ref": "#/components/parameters/indices.get_field_mapping#fields" + }, + { + "$ref": "#/components/parameters/indices.get_field_mapping#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.get_field_mapping#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_field_mapping#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.get_field_mapping#include_defaults" + }, + { + "$ref": "#/components/parameters/indices.get_field_mapping#local" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_field_mapping#200" + } + } + } + }, + "/_index_template{?local,flat_settings,master_timeout,include_defaults}": { + "get": { + "description": "Returns an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.get_index_template#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_index_template#local" + }, + { + "$ref": "#/components/parameters/indices.get_index_template#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.get_index_template#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.get_index_template#include_defaults" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_index_template#200" + } + } + } + }, + "/_index_template/{name}{?local,flat_settings,master_timeout,include_defaults}": { + "get": { + "description": "Returns an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.get_index_template#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_index_template#name" + }, + { + "$ref": "#/components/parameters/indices.get_index_template#local" + }, + { + "$ref": "#/components/parameters/indices.get_index_template#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.get_index_template#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.get_index_template#include_defaults" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_index_template#200" + } + } + } + }, + "/_mapping{?allow_no_indices,expand_wildcards,ignore_unavailable,local,master_timeout}": { + "get": { + "description": "Returns mappings for one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html" + }, + "operationId": "indices.get_mapping#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_mapping#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.get_mapping#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_mapping#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.get_mapping#local" + }, + { + "$ref": "#/components/parameters/indices.get_mapping#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_mapping#200" + } + } + } + }, + "/{index}/_mapping{?allow_no_indices,expand_wildcards,ignore_unavailable,local,master_timeout}": { + "get": { + "description": "Returns mappings for one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html" + }, + "operationId": "indices.get_mapping#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_mapping#index" + }, + { + "$ref": "#/components/parameters/indices.get_mapping#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.get_mapping#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_mapping#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.get_mapping#local" + }, + { + "$ref": "#/components/parameters/indices.get_mapping#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_mapping#200" + } + } + } + }, + "/_settings{?allow_no_indices,expand_wildcards,flat_settings,ignore_unavailable,include_defaults,local,master_timeout}": { + "get": { + "description": "Returns settings for one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html" + }, + "operationId": "indices.get_settings#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_settings#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.get_settings#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_settings#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.get_settings#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.get_settings#include_defaults" + }, + { + "$ref": "#/components/parameters/indices.get_settings#local" + }, + { + "$ref": "#/components/parameters/indices.get_settings#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_settings#200" + } + } + } + }, + "/{index}/_settings{?allow_no_indices,expand_wildcards,flat_settings,ignore_unavailable,include_defaults,local,master_timeout}": { + "get": { + "description": "Returns settings for one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html" + }, + "operationId": "indices.get_settings#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_settings#index" + }, + { + "$ref": "#/components/parameters/indices.get_settings#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.get_settings#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_settings#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.get_settings#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.get_settings#include_defaults" + }, + { + "$ref": "#/components/parameters/indices.get_settings#local" + }, + { + "$ref": "#/components/parameters/indices.get_settings#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_settings#200" + } + } + } + }, + "/{index}/_settings/{name}{?allow_no_indices,expand_wildcards,flat_settings,ignore_unavailable,include_defaults,local,master_timeout}": { + "get": { + "description": "Returns settings for one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html" + }, + "operationId": "indices.get_settings#2", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_settings#index" + }, + { + "$ref": "#/components/parameters/indices.get_settings#name" + }, + { + "$ref": "#/components/parameters/indices.get_settings#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.get_settings#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_settings#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.get_settings#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.get_settings#include_defaults" + }, + { + "$ref": "#/components/parameters/indices.get_settings#local" + }, + { + "$ref": "#/components/parameters/indices.get_settings#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_settings#200" + } + } + } + }, + "/_settings/{name}{?allow_no_indices,expand_wildcards,flat_settings,ignore_unavailable,include_defaults,local,master_timeout}": { + "get": { + "description": "Returns settings for one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html" + }, + "operationId": "indices.get_settings#3", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_settings#name" + }, + { + "$ref": "#/components/parameters/indices.get_settings#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.get_settings#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_settings#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.get_settings#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.get_settings#include_defaults" + }, + { + "$ref": "#/components/parameters/indices.get_settings#local" + }, + { + "$ref": "#/components/parameters/indices.get_settings#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_settings#200" + } + } + } + }, + "/_template{?flat_settings,local,master_timeout}": { + "get": { + "description": "Returns an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.get_template#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_template#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.get_template#local" + }, + { + "$ref": "#/components/parameters/indices.get_template#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_template#200" + } + } + } + }, + "/_data_stream/_migrate/{name}": { + "post": { + "description": "Migrates an alias to a data stream", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" + }, + "operationId": "indices.migrate_to_data_stream#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Name of the index alias to convert to a data stream.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_data_stream/_modify": { + "post": { + "description": "Modifies a data stream", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" + }, + "operationId": "indices.modify_data_stream#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "actions": { + "description": "Actions to perform.", + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.modify_data_stream:Action" + } + } + }, + "required": [ + "actions" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/{index}/_open{?allow_no_indices,expand_wildcards,ignore_unavailable,master_timeout,timeout,wait_for_active_shards}": { + "post": { + "description": "Opens an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html" + }, + "operationId": "indices.open#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nBy default, you must explicitly name the indices you using to limit the request.\nTo limit a request using `_all`, `*`, or other wildcard expressions, change the `action.destructive_requires_name` setting to false.\nYou can update this setting in the `elasticsearch.yml` file or using the cluster update settings API.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "shards_acknowledged": { + "type": "boolean" + } + }, + "required": [ + "acknowledged", + "shards_acknowledged" + ] + } + } + } + } + } + } + }, + "/_data_stream/_promote/{name}": { + "post": { + "description": "Promotes a data stream from a replicated data stream managed by CCR to a regular data stream", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" + }, + "operationId": "indices.promote_data_stream#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "The name of the data stream", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_index_template/{name}{?create}": { + "put": { + "description": "Creates or updates an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.put_index_template#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_index_template#name" + }, + { + "$ref": "#/components/parameters/indices.put_index_template#create" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_index_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_index_template#200" + } + } + }, + "post": { + "description": "Creates or updates an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.put_index_template#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_index_template#name" + }, + { + "$ref": "#/components/parameters/indices.put_index_template#create" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_index_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_index_template#200" + } + } + } + }, + "/{index}/_mapping{?allow_no_indices,expand_wildcards,ignore_unavailable,master_timeout,timeout,write_index_only}": { + "put": { + "description": "Updates the index mappings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html" + }, + "operationId": "indices.put_mapping#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_mapping#index" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#timeout" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#write_index_only" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_mapping" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_mapping#200" + } + } + }, + "post": { + "description": "Updates the index mappings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html" + }, + "operationId": "indices.put_mapping#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_mapping#index" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#timeout" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#write_index_only" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_mapping" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_mapping#200" + } + } + } + }, + "/_settings{?allow_no_indices,expand_wildcards,flat_settings,ignore_unavailable,master_timeout,preserve_existing,timeout}": { + "put": { + "description": "Updates the index settings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html" + }, + "operationId": "indices.put_settings#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_settings#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.put_settings#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.put_settings#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.put_settings#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.put_settings#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_settings#preserve_existing" + }, + { + "$ref": "#/components/parameters/indices.put_settings#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_settings" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_settings#200" + } + } + } + }, + "/{index}/_settings{?allow_no_indices,expand_wildcards,flat_settings,ignore_unavailable,master_timeout,preserve_existing,timeout}": { + "put": { + "description": "Updates the index settings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html" + }, + "operationId": "indices.put_settings#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_settings#index" + }, + { + "$ref": "#/components/parameters/indices.put_settings#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.put_settings#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.put_settings#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.put_settings#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.put_settings#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_settings#preserve_existing" + }, + { + "$ref": "#/components/parameters/indices.put_settings#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_settings" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_settings#200" + } + } + } + }, + "/_template/{name}{?create,flat_settings,master_timeout,timeout,order}": { + "put": { + "description": "Creates or updates an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.put_template#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_template#name" + }, + { + "$ref": "#/components/parameters/indices.put_template#create" + }, + { + "$ref": "#/components/parameters/indices.put_template#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.put_template#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_template#timeout" + }, + { + "$ref": "#/components/parameters/indices.put_template#order" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_template#200" + } + } + }, + "post": { + "description": "Creates or updates an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.put_template#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_template#name" + }, + { + "$ref": "#/components/parameters/indices.put_template#create" + }, + { + "$ref": "#/components/parameters/indices.put_template#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.put_template#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_template#timeout" + }, + { + "$ref": "#/components/parameters/indices.put_template#order" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_template#200" + } + } + } + }, + "/_recovery{?active_only,detailed}": { + "get": { + "description": "Returns information about ongoing index shard recoveries.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html" + }, + "operationId": "indices.recovery#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.recovery#active_only" + }, + { + "$ref": "#/components/parameters/indices.recovery#detailed" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.recovery#200" + } + } + } + }, + "/{index}/_recovery{?active_only,detailed}": { + "get": { + "description": "Returns information about ongoing index shard recoveries.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html" + }, + "operationId": "indices.recovery#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.recovery#index" + }, + { + "$ref": "#/components/parameters/indices.recovery#active_only" + }, + { + "$ref": "#/components/parameters/indices.recovery#detailed" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.recovery#200" + } + } + } + }, + "/_refresh{?allow_no_indices,expand_wildcards,ignore_unavailable}": { + "get": { + "description": "Performs the refresh operation in one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html" + }, + "operationId": "indices.refresh#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.refresh#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.refresh#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.refresh#ignore_unavailable" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.refresh#200" + } + } + }, + "post": { + "description": "Performs the refresh operation in one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html" + }, + "operationId": "indices.refresh#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.refresh#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.refresh#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.refresh#ignore_unavailable" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.refresh#200" + } + } + } + }, + "/{index}/_refresh{?allow_no_indices,expand_wildcards,ignore_unavailable}": { + "get": { + "description": "Performs the refresh operation in one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html" + }, + "operationId": "indices.refresh#3", + "parameters": [ + { + "$ref": "#/components/parameters/indices.refresh#index" + }, + { + "$ref": "#/components/parameters/indices.refresh#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.refresh#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.refresh#ignore_unavailable" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.refresh#200" + } + } + }, + "post": { + "description": "Performs the refresh operation in one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html" + }, + "operationId": "indices.refresh#2", + "parameters": [ + { + "$ref": "#/components/parameters/indices.refresh#index" + }, + { + "$ref": "#/components/parameters/indices.refresh#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.refresh#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.refresh#ignore_unavailable" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.refresh#200" + } + } + } + }, + "/{index}/_reload_search_analyzers{?allow_no_indices,expand_wildcards,ignore_unavailable}": { + "get": { + "description": "Reloads an index's search analyzers and their resources.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-reload-analyzers.html" + }, + "operationId": "indices.reload_search_analyzers#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.reload_search_analyzers#index" + }, + { + "$ref": "#/components/parameters/indices.reload_search_analyzers#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.reload_search_analyzers#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.reload_search_analyzers#ignore_unavailable" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.reload_search_analyzers#200" + } + } + }, + "post": { + "description": "Reloads an index's search analyzers and their resources.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-reload-analyzers.html" + }, + "operationId": "indices.reload_search_analyzers#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.reload_search_analyzers#index" + }, + { + "$ref": "#/components/parameters/indices.reload_search_analyzers#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.reload_search_analyzers#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.reload_search_analyzers#ignore_unavailable" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.reload_search_analyzers#200" + } + } + } + }, + "/_resolve/index/{name}{?expand_wildcards}": { + "get": { + "description": "Returns information about any matching indices, aliases, and data streams", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-index-api.html" + }, + "operationId": "indices.resolve_index#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Comma-separated name(s) or index pattern(s) of the indices, aliases, and data streams to resolve.\nResources on remote clusters can be specified using the ``:`` syntax.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "indices": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.resolve_index:ResolveIndexItem" + } + }, + "aliases": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.resolve_index:ResolveIndexAliasItem" + } + }, + "data_streams": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.resolve_index:ResolveIndexDataStreamsItem" + } + } + }, + "required": [ + "indices", + "aliases", + "data_streams" + ] + } + } + } + } + } + } + }, + "/{alias}/_rollover{?dry_run,master_timeout,timeout,wait_for_active_shards}": { + "post": { + "description": "Updates an alias to point to a new index when the existing index\nis considered to be too large or too old.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-rollover-index.html" + }, + "operationId": "indices.rollover#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.rollover#alias" + }, + { + "$ref": "#/components/parameters/indices.rollover#dry_run" + }, + { + "$ref": "#/components/parameters/indices.rollover#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.rollover#timeout" + }, + { + "$ref": "#/components/parameters/indices.rollover#wait_for_active_shards" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.rollover" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.rollover#200" + } + } + } + }, + "/{alias}/_rollover/{new_index}{?dry_run,master_timeout,timeout,wait_for_active_shards}": { + "post": { + "description": "Updates an alias to point to a new index when the existing index\nis considered to be too large or too old.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-rollover-index.html" + }, + "operationId": "indices.rollover#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.rollover#alias" + }, + { + "$ref": "#/components/parameters/indices.rollover#new_index" + }, + { + "$ref": "#/components/parameters/indices.rollover#dry_run" + }, + { + "$ref": "#/components/parameters/indices.rollover#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.rollover#timeout" + }, + { + "$ref": "#/components/parameters/indices.rollover#wait_for_active_shards" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.rollover" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.rollover#200" + } + } + } + }, + "/_segments{?allow_no_indices,expand_wildcards,ignore_unavailable,verbose}": { + "get": { + "description": "Provides low-level information about segments in a Lucene index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html" + }, + "operationId": "indices.segments#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.segments#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.segments#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.segments#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.segments#verbose" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.segments#200" + } + } + } + }, + "/{index}/_segments{?allow_no_indices,expand_wildcards,ignore_unavailable,verbose}": { + "get": { + "description": "Provides low-level information about segments in a Lucene index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html" + }, + "operationId": "indices.segments#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.segments#index" + }, + { + "$ref": "#/components/parameters/indices.segments#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.segments#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.segments#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.segments#verbose" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.segments#200" + } + } + } + }, + "/_shard_stores{?allow_no_indices,expand_wildcards,ignore_unavailable,status}": { + "get": { + "description": "Provides store information for shard copies of indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html" + }, + "operationId": "indices.shard_stores#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.shard_stores#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.shard_stores#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.shard_stores#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.shard_stores#status" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.shard_stores#200" + } + } + } + }, + "/{index}/_shard_stores{?allow_no_indices,expand_wildcards,ignore_unavailable,status}": { + "get": { + "description": "Provides store information for shard copies of indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html" + }, + "operationId": "indices.shard_stores#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.shard_stores#index" + }, + { + "$ref": "#/components/parameters/indices.shard_stores#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.shard_stores#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.shard_stores#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.shard_stores#status" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.shard_stores#200" + } + } + } + }, + "/{index}/_shrink/{target}{?master_timeout,timeout,wait_for_active_shards}": { + "put": { + "description": "Allow to shrink an existing index into a new index with fewer primary shards.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-shrink-index.html" + }, + "operationId": "indices.shrink#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.shrink#index" + }, + { + "$ref": "#/components/parameters/indices.shrink#target" + }, + { + "$ref": "#/components/parameters/indices.shrink#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.shrink#timeout" + }, + { + "$ref": "#/components/parameters/indices.shrink#wait_for_active_shards" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.shrink" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.shrink#200" + } + } + }, + "post": { + "description": "Allow to shrink an existing index into a new index with fewer primary shards.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-shrink-index.html" + }, + "operationId": "indices.shrink#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.shrink#index" + }, + { + "$ref": "#/components/parameters/indices.shrink#target" + }, + { + "$ref": "#/components/parameters/indices.shrink#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.shrink#timeout" + }, + { + "$ref": "#/components/parameters/indices.shrink#wait_for_active_shards" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.shrink" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.shrink#200" + } + } + } + }, + "/_index_template/_simulate_index/{name}{?create,master_timeout,include_defaults}": { + "post": { + "description": "Simulate matching the given index name against the index templates in the system", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.simulate_index_template#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Index or template name to simulate", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "create", + "description": "If `true`, the template passed in the body is only used if no existing\ntemplates match the same index patterns. If `false`, the simulation uses\nthe template with the highest priority. Note that the template is not\npermanently added or updated in either case; it is only used for the\nsimulation.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received\nbefore the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "include_defaults", + "description": "If true, returns all relevant default configurations for the index template.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_auto_create": { + "description": "This setting overrides the value of the `action.auto_create_index` cluster setting.\nIf set to `true` in a template, then indices can be automatically created using that template even if auto-creation of indices is disabled via `actions.auto_create_index`.\nIf set to `false`, then indices or data streams matching the template must always be explicitly created, and may never be automatically created.", + "type": "boolean" + }, + "index_patterns": { + "$ref": "#/components/schemas/_types:Indices" + }, + "composed_of": { + "description": "An ordered list of component template names.\nComponent templates are merged in the order specified, meaning that the last component template specified has the highest precedence.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "template": { + "$ref": "#/components/schemas/indices.put_index_template:IndexTemplateMapping" + }, + "data_stream": { + "$ref": "#/components/schemas/indices._types:DataStreamVisibility" + }, + "priority": { + "description": "Priority to determine index template precedence when a new data stream or index is created.\nThe index template with the highest priority is chosen.\nIf no priority is specified the template is treated as though it is of priority 0 (lowest priority).\nThis number is not automatically generated by Elasticsearch.", + "type": "number" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_index_template/_simulate{?create,master_timeout,include_defaults}": { + "post": { + "description": "Simulate resolving the given template name or body", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.simulate_template#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.simulate_template#create" + }, + { + "$ref": "#/components/parameters/indices.simulate_template#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.simulate_template#include_defaults" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.simulate_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.simulate_template#200" + } + } + } + }, + "/_index_template/_simulate/{name}{?create,master_timeout,include_defaults}": { + "post": { + "description": "Simulate resolving the given template name or body", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.simulate_template#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.simulate_template#name" + }, + { + "$ref": "#/components/parameters/indices.simulate_template#create" + }, + { + "$ref": "#/components/parameters/indices.simulate_template#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.simulate_template#include_defaults" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.simulate_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.simulate_template#200" + } + } + } + }, + "/{index}/_split/{target}{?master_timeout,timeout,wait_for_active_shards}": { + "put": { + "description": "Allows you to split an existing index into a new index with more primary shards.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-split-index.html" + }, + "operationId": "indices.split#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.split#index" + }, + { + "$ref": "#/components/parameters/indices.split#target" + }, + { + "$ref": "#/components/parameters/indices.split#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.split#timeout" + }, + { + "$ref": "#/components/parameters/indices.split#wait_for_active_shards" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.split" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.split#200" + } + } + }, + "post": { + "description": "Allows you to split an existing index into a new index with more primary shards.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-split-index.html" + }, + "operationId": "indices.split#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.split#index" + }, + { + "$ref": "#/components/parameters/indices.split#target" + }, + { + "$ref": "#/components/parameters/indices.split#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.split#timeout" + }, + { + "$ref": "#/components/parameters/indices.split#wait_for_active_shards" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.split" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.split#200" + } + } + } + }, + "/_stats{?completion_fields,expand_wildcards,fielddata_fields,fields,forbid_closed_indices,groups,include_segment_file_sizes,include_unloaded_segments,level}": { + "get": { + "description": "Provides statistics on operations happening in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html" + }, + "operationId": "indices.stats#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.stats#completion_fields" + }, + { + "$ref": "#/components/parameters/indices.stats#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.stats#fielddata_fields" + }, + { + "$ref": "#/components/parameters/indices.stats#fields" + }, + { + "$ref": "#/components/parameters/indices.stats#forbid_closed_indices" + }, + { + "$ref": "#/components/parameters/indices.stats#groups" + }, + { + "$ref": "#/components/parameters/indices.stats#include_segment_file_sizes" + }, + { + "$ref": "#/components/parameters/indices.stats#include_unloaded_segments" + }, + { + "$ref": "#/components/parameters/indices.stats#level" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.stats#200" + } + } + } + }, + "/_stats/{metric}{?completion_fields,expand_wildcards,fielddata_fields,fields,forbid_closed_indices,groups,include_segment_file_sizes,include_unloaded_segments,level}": { + "get": { + "description": "Provides statistics on operations happening in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html" + }, + "operationId": "indices.stats#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.stats#metric" + }, + { + "$ref": "#/components/parameters/indices.stats#completion_fields" + }, + { + "$ref": "#/components/parameters/indices.stats#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.stats#fielddata_fields" + }, + { + "$ref": "#/components/parameters/indices.stats#fields" + }, + { + "$ref": "#/components/parameters/indices.stats#forbid_closed_indices" + }, + { + "$ref": "#/components/parameters/indices.stats#groups" + }, + { + "$ref": "#/components/parameters/indices.stats#include_segment_file_sizes" + }, + { + "$ref": "#/components/parameters/indices.stats#include_unloaded_segments" + }, + { + "$ref": "#/components/parameters/indices.stats#level" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.stats#200" + } + } + } + }, + "/{index}/_stats{?completion_fields,expand_wildcards,fielddata_fields,fields,forbid_closed_indices,groups,include_segment_file_sizes,include_unloaded_segments,level}": { + "get": { + "description": "Provides statistics on operations happening in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html" + }, + "operationId": "indices.stats#2", + "parameters": [ + { + "$ref": "#/components/parameters/indices.stats#index" + }, + { + "$ref": "#/components/parameters/indices.stats#completion_fields" + }, + { + "$ref": "#/components/parameters/indices.stats#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.stats#fielddata_fields" + }, + { + "$ref": "#/components/parameters/indices.stats#fields" + }, + { + "$ref": "#/components/parameters/indices.stats#forbid_closed_indices" + }, + { + "$ref": "#/components/parameters/indices.stats#groups" + }, + { + "$ref": "#/components/parameters/indices.stats#include_segment_file_sizes" + }, + { + "$ref": "#/components/parameters/indices.stats#include_unloaded_segments" + }, + { + "$ref": "#/components/parameters/indices.stats#level" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.stats#200" + } + } + } + }, + "/{index}/_stats/{metric}{?completion_fields,expand_wildcards,fielddata_fields,fields,forbid_closed_indices,groups,include_segment_file_sizes,include_unloaded_segments,level}": { + "get": { + "description": "Provides statistics on operations happening in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html" + }, + "operationId": "indices.stats#3", + "parameters": [ + { + "$ref": "#/components/parameters/indices.stats#index" + }, + { + "$ref": "#/components/parameters/indices.stats#metric" + }, + { + "$ref": "#/components/parameters/indices.stats#completion_fields" + }, + { + "$ref": "#/components/parameters/indices.stats#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.stats#fielddata_fields" + }, + { + "$ref": "#/components/parameters/indices.stats#fields" + }, + { + "$ref": "#/components/parameters/indices.stats#forbid_closed_indices" + }, + { + "$ref": "#/components/parameters/indices.stats#groups" + }, + { + "$ref": "#/components/parameters/indices.stats#include_segment_file_sizes" + }, + { + "$ref": "#/components/parameters/indices.stats#include_unloaded_segments" + }, + { + "$ref": "#/components/parameters/indices.stats#level" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.stats#200" + } + } + } + }, + "/{index}/_unfreeze{?allow_no_indices,expand_wildcards,ignore_unavailable,master_timeout,timeout,wait_for_active_shards}": { + "post": { + "description": "Unfreezes an index. When a frozen index is unfrozen, the index goes through the normal recovery process and becomes writeable again.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/unfreeze-index-api.html" + }, + "operationId": "indices.unfreeze#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Identifier for the index.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "shards_acknowledged": { + "type": "boolean" + } + }, + "required": [ + "acknowledged", + "shards_acknowledged" + ] + } + } + } + } + } + } + }, + "/_aliases{?master_timeout,timeout}": { + "post": { + "description": "Updates index aliases.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.update_aliases#0", + "parameters": [ + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "actions": { + "description": "Actions to perform.", + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.update_aliases:Action" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_validate/query{?allow_no_indices,all_shards,analyzer,analyze_wildcard,default_operator,df,expand_wildcards,explain,ignore_unavailable,lenient,rewrite,q}": { + "get": { + "description": "Allows a user to validate a potentially expensive query without executing it.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html" + }, + "operationId": "indices.validate_query#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.validate_query#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.validate_query#all_shards" + }, + { + "$ref": "#/components/parameters/indices.validate_query#analyzer" + }, + { + "$ref": "#/components/parameters/indices.validate_query#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/indices.validate_query#default_operator" + }, + { + "$ref": "#/components/parameters/indices.validate_query#df" + }, + { + "$ref": "#/components/parameters/indices.validate_query#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.validate_query#explain" + }, + { + "$ref": "#/components/parameters/indices.validate_query#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.validate_query#lenient" + }, + { + "$ref": "#/components/parameters/indices.validate_query#rewrite" + }, + { + "$ref": "#/components/parameters/indices.validate_query#q" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.validate_query" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.validate_query#200" + } + } + }, + "post": { + "description": "Allows a user to validate a potentially expensive query without executing it.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html" + }, + "operationId": "indices.validate_query#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.validate_query#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.validate_query#all_shards" + }, + { + "$ref": "#/components/parameters/indices.validate_query#analyzer" + }, + { + "$ref": "#/components/parameters/indices.validate_query#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/indices.validate_query#default_operator" + }, + { + "$ref": "#/components/parameters/indices.validate_query#df" + }, + { + "$ref": "#/components/parameters/indices.validate_query#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.validate_query#explain" + }, + { + "$ref": "#/components/parameters/indices.validate_query#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.validate_query#lenient" + }, + { + "$ref": "#/components/parameters/indices.validate_query#rewrite" + }, + { + "$ref": "#/components/parameters/indices.validate_query#q" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.validate_query" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.validate_query#200" + } + } + } + }, + "/{index}/_validate/query{?allow_no_indices,all_shards,analyzer,analyze_wildcard,default_operator,df,expand_wildcards,explain,ignore_unavailable,lenient,rewrite,q}": { + "get": { + "description": "Allows a user to validate a potentially expensive query without executing it.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html" + }, + "operationId": "indices.validate_query#2", + "parameters": [ + { + "$ref": "#/components/parameters/indices.validate_query#index" + }, + { + "$ref": "#/components/parameters/indices.validate_query#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.validate_query#all_shards" + }, + { + "$ref": "#/components/parameters/indices.validate_query#analyzer" + }, + { + "$ref": "#/components/parameters/indices.validate_query#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/indices.validate_query#default_operator" + }, + { + "$ref": "#/components/parameters/indices.validate_query#df" + }, + { + "$ref": "#/components/parameters/indices.validate_query#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.validate_query#explain" + }, + { + "$ref": "#/components/parameters/indices.validate_query#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.validate_query#lenient" + }, + { + "$ref": "#/components/parameters/indices.validate_query#rewrite" + }, + { + "$ref": "#/components/parameters/indices.validate_query#q" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.validate_query" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.validate_query#200" + } + } + }, + "post": { + "description": "Allows a user to validate a potentially expensive query without executing it.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html" + }, + "operationId": "indices.validate_query#3", + "parameters": [ + { + "$ref": "#/components/parameters/indices.validate_query#index" + }, + { + "$ref": "#/components/parameters/indices.validate_query#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.validate_query#all_shards" + }, + { + "$ref": "#/components/parameters/indices.validate_query#analyzer" + }, + { + "$ref": "#/components/parameters/indices.validate_query#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/indices.validate_query#default_operator" + }, + { + "$ref": "#/components/parameters/indices.validate_query#df" + }, + { + "$ref": "#/components/parameters/indices.validate_query#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.validate_query#explain" + }, + { + "$ref": "#/components/parameters/indices.validate_query#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.validate_query#lenient" + }, + { + "$ref": "#/components/parameters/indices.validate_query#rewrite" + }, + { + "$ref": "#/components/parameters/indices.validate_query#q" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.validate_query" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.validate_query#200" + } + } + } + }, + "/": { + "get": { + "description": "Returns whether the cluster is running.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html" + }, + "operationId": "ping#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": {} + } + } + } + } + }, + "/_ingest/pipeline/{id}{?master_timeout,timeout}": { + "put": { + "description": "Deletes a pipeline.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html" + }, + "operationId": "ingest.delete_pipeline#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Pipeline ID or wildcard expression of pipeline IDs used to limit the request.\nTo delete all ingest pipelines in a cluster, use a value of `*`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ingest/geoip/stats": { + "get": { + "description": "Returns statistical information about geoip databases", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/geoip-processor.html" + }, + "operationId": "ingest.geo_ip_stats#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "stats": { + "$ref": "#/components/schemas/ingest.geo_ip_stats:GeoIpDownloadStatistics" + }, + "nodes": { + "description": "Downloaded GeoIP2 databases for each node.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ingest.geo_ip_stats:GeoIpNodeDatabases" + } + } + }, + "required": [ + "stats", + "nodes" + ] + } + } + } + } + } + } + }, + "/_ingest/pipeline{?master_timeout,summary}": { + "get": { + "description": "Returns a pipeline.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-pipeline-api.html" + }, + "operationId": "ingest.get_pipeline#0", + "parameters": [ + { + "$ref": "#/components/parameters/ingest.get_pipeline#master_timeout" + }, + { + "$ref": "#/components/parameters/ingest.get_pipeline#summary" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ingest.get_pipeline#200" + } + } + } + }, + "/_ingest/pipeline/{id}{?master_timeout,summary}": { + "get": { + "description": "Returns a pipeline.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-pipeline-api.html" + }, + "operationId": "ingest.get_pipeline#1", + "parameters": [ + { + "$ref": "#/components/parameters/ingest.get_pipeline#id" + }, + { + "$ref": "#/components/parameters/ingest.get_pipeline#master_timeout" + }, + { + "$ref": "#/components/parameters/ingest.get_pipeline#summary" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ingest.get_pipeline#200" + } + } + } + }, + "/_ingest/processor/grok": { + "get": { + "description": "Returns a list of the built-in patterns.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/grok-processor.html" + }, + "operationId": "ingest.processor_grok#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "patterns": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "patterns" + ] + } + } + } + } + } + } + }, + "/_ingest/pipeline/{id}{?master_timeout,timeout,if_version}": { + "put": { + "description": "Creates or updates a pipeline.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ingest.html" + }, + "operationId": "ingest.put_pipeline#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "ID of the ingest pipeline to create or update.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "if_version", + "description": "Required version for optimistic concurrency control for pipeline updates", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "description": { + "description": "Description of the ingest pipeline.", + "type": "string" + }, + "on_failure": { + "description": "Processors to run immediately after a processor failure. Each processor supports a processor-level `on_failure` value. If a processor without an `on_failure` value fails, Elasticsearch uses this pipeline-level parameter as a fallback. The processors in this parameter run sequentially in the order specified. Elasticsearch will not attempt to run the pipeline's remaining processors.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest._types:ProcessorContainer" + } + }, + "processors": { + "description": "Processors used to perform transformations on documents before indexing. Processors run sequentially in the order specified.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest._types:ProcessorContainer" + } + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ingest/pipeline/_simulate{?verbose}": { + "get": { + "description": "Allows to simulate a pipeline with example documents.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" + }, + "operationId": "ingest.simulate#0", + "parameters": [ + { + "$ref": "#/components/parameters/ingest.simulate#verbose" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ingest.simulate" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ingest.simulate#200" + } + } + }, + "post": { + "description": "Allows to simulate a pipeline with example documents.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" + }, + "operationId": "ingest.simulate#1", + "parameters": [ + { + "$ref": "#/components/parameters/ingest.simulate#verbose" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ingest.simulate" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ingest.simulate#200" + } + } + } + }, + "/_ingest/pipeline/{id}/_simulate{?verbose}": { + "get": { + "description": "Allows to simulate a pipeline with example documents.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" + }, + "operationId": "ingest.simulate#2", + "parameters": [ + { + "$ref": "#/components/parameters/ingest.simulate#id" + }, + { + "$ref": "#/components/parameters/ingest.simulate#verbose" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ingest.simulate" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ingest.simulate#200" + } + } + }, + "post": { + "description": "Allows to simulate a pipeline with example documents.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" + }, + "operationId": "ingest.simulate#3", + "parameters": [ + { + "$ref": "#/components/parameters/ingest.simulate#id" + }, + { + "$ref": "#/components/parameters/ingest.simulate#verbose" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ingest.simulate" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ingest.simulate#200" + } + } + } + }, + "/{index}/_knn_search{?routing}": { + "get": { + "description": "Performs a kNN search.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" + }, + "operationId": "knn_search#0", + "parameters": [ + { + "$ref": "#/components/parameters/knn_search#index" + }, + { + "$ref": "#/components/parameters/knn_search#routing" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/knn_search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/knn_search#200" + } + } + }, + "post": { + "description": "Performs a kNN search.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" + }, + "operationId": "knn_search#1", + "parameters": [ + { + "$ref": "#/components/parameters/knn_search#index" + }, + { + "$ref": "#/components/parameters/knn_search#routing" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/knn_search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/knn_search#200" + } + } + } + }, + "/_license": { + "put": { + "description": "Deletes licensing information for the cluster", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-license.html" + }, + "operationId": "license.delete#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_license{?accept_enterprise,local}": { + "get": { + "description": "Retrieves licensing information for the cluster", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-license.html" + }, + "operationId": "license.get#0", + "parameters": [ + { + "in": "query", + "name": "accept_enterprise", + "description": "If `true`, this parameter returns enterprise for Enterprise license types. If `false`, this parameter returns platinum for both platinum and enterprise license types. This behavior is maintained for backwards compatibility.\nThis parameter is deprecated and will always be set to true in 8.x.", + "deprecated": true, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "local", + "description": "Specifies whether to retrieve local information. The default value is `false`, which means the information is retrieved from the master node.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "license": { + "$ref": "#/components/schemas/license.get:LicenseInformation" + } + }, + "required": [ + "license" + ] + } + } + } + } + } + } + }, + "/_license/basic_status": { + "get": { + "description": "Retrieves information about the status of the basic license.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-basic-status.html" + }, + "operationId": "license.get_basic_status#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "eligible_to_start_basic": { + "type": "boolean" + } + }, + "required": [ + "eligible_to_start_basic" + ] + } + } + } + } + } + } + }, + "/_license/trial_status": { + "get": { + "description": "Retrieves information about the status of the trial license.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-trial-status.html" + }, + "operationId": "license.get_trial_status#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "eligible_to_start_trial": { + "type": "boolean" + } + }, + "required": [ + "eligible_to_start_trial" + ] + } + } + } + } + } + } + }, + "/_license{?acknowledge}": { + "put": { + "description": "Updates the license for the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/update-license.html" + }, + "operationId": "license.post#0", + "parameters": [ + { + "$ref": "#/components/parameters/license.post#acknowledge" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/license.post" + }, + "responses": { + "200": { + "$ref": "#/components/responses/license.post#200" + } + } + }, + "post": { + "description": "Updates the license for the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/update-license.html" + }, + "operationId": "license.post#1", + "parameters": [ + { + "$ref": "#/components/parameters/license.post#acknowledge" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/license.post" + }, + "responses": { + "200": { + "$ref": "#/components/responses/license.post#200" + } + } + } + }, + "/_license/start_basic{?acknowledge}": { + "post": { + "description": "Starts an indefinite basic license.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/start-basic.html" + }, + "operationId": "license.post_start_basic#0", + "parameters": [ + { + "in": "query", + "name": "acknowledge", + "description": "whether the user has acknowledged acknowledge messages (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "basic_was_started": { + "type": "boolean" + }, + "error_message": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/license._types:LicenseType" + }, + "acknowledge": { + "type": "object", + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + "required": [ + "acknowledged", + "basic_was_started" + ] + } + } + } + } + } + } + }, + "/_license/start_trial{?acknowledge,type_query_string}": { + "post": { + "description": "starts a limited time trial license.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/start-trial.html" + }, + "operationId": "license.post_start_trial#0", + "parameters": [ + { + "in": "query", + "name": "acknowledge", + "description": "whether the user has acknowledged acknowledge messages (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "type_query_string", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "error_message": { + "type": "string" + }, + "trial_was_started": { + "type": "boolean" + }, + "type": { + "$ref": "#/components/schemas/license._types:LicenseType" + } + }, + "required": [ + "acknowledged", + "trial_was_started" + ] + } + } + } + } + } + } + }, + "/_logstash/pipeline/{id}": { + "put": { + "description": "Adds and updates Logstash Pipelines used for Central Management", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-put-pipeline.html" + }, + "operationId": "logstash.put_pipeline#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the pipeline.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/logstash._types:Pipeline" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": {} + } + } + } + } + }, + "/_logstash/pipeline": { + "get": { + "description": "Retrieves Logstash Pipelines used by Central Management", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-get-pipeline.html" + }, + "operationId": "logstash.get_pipeline#0", + "responses": { + "200": { + "$ref": "#/components/responses/logstash.get_pipeline#200" + } + } + } + }, + "/_mget{?preference,realtime,refresh,routing,_source,_source_excludes,_source_includes,stored_fields}": { + "get": { + "description": "Allows to get multiple documents in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html" + }, + "operationId": "mget#0", + "parameters": [ + { + "$ref": "#/components/parameters/mget#preference" + }, + { + "$ref": "#/components/parameters/mget#realtime" + }, + { + "$ref": "#/components/parameters/mget#refresh" + }, + { + "$ref": "#/components/parameters/mget#routing" + }, + { + "$ref": "#/components/parameters/mget#_source" + }, + { + "$ref": "#/components/parameters/mget#_source_excludes" + }, + { + "$ref": "#/components/parameters/mget#_source_includes" + }, + { + "$ref": "#/components/parameters/mget#stored_fields" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/mget" + }, + "responses": { + "200": { + "$ref": "#/components/responses/mget#200" + } + } + }, + "post": { + "description": "Allows to get multiple documents in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html" + }, + "operationId": "mget#1", + "parameters": [ + { + "$ref": "#/components/parameters/mget#preference" + }, + { + "$ref": "#/components/parameters/mget#realtime" + }, + { + "$ref": "#/components/parameters/mget#refresh" + }, + { + "$ref": "#/components/parameters/mget#routing" + }, + { + "$ref": "#/components/parameters/mget#_source" + }, + { + "$ref": "#/components/parameters/mget#_source_excludes" + }, + { + "$ref": "#/components/parameters/mget#_source_includes" + }, + { + "$ref": "#/components/parameters/mget#stored_fields" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/mget" + }, + "responses": { + "200": { + "$ref": "#/components/responses/mget#200" + } + } + } + }, + "/{index}/_mget{?preference,realtime,refresh,routing,_source,_source_excludes,_source_includes,stored_fields}": { + "get": { + "description": "Allows to get multiple documents in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html" + }, + "operationId": "mget#2", + "parameters": [ + { + "$ref": "#/components/parameters/mget#index" + }, + { + "$ref": "#/components/parameters/mget#preference" + }, + { + "$ref": "#/components/parameters/mget#realtime" + }, + { + "$ref": "#/components/parameters/mget#refresh" + }, + { + "$ref": "#/components/parameters/mget#routing" + }, + { + "$ref": "#/components/parameters/mget#_source" + }, + { + "$ref": "#/components/parameters/mget#_source_excludes" + }, + { + "$ref": "#/components/parameters/mget#_source_includes" + }, + { + "$ref": "#/components/parameters/mget#stored_fields" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/mget" + }, + "responses": { + "200": { + "$ref": "#/components/responses/mget#200" + } + } + }, + "post": { + "description": "Allows to get multiple documents in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html" + }, + "operationId": "mget#3", + "parameters": [ + { + "$ref": "#/components/parameters/mget#index" + }, + { + "$ref": "#/components/parameters/mget#preference" + }, + { + "$ref": "#/components/parameters/mget#realtime" + }, + { + "$ref": "#/components/parameters/mget#refresh" + }, + { + "$ref": "#/components/parameters/mget#routing" + }, + { + "$ref": "#/components/parameters/mget#_source" + }, + { + "$ref": "#/components/parameters/mget#_source_excludes" + }, + { + "$ref": "#/components/parameters/mget#_source_includes" + }, + { + "$ref": "#/components/parameters/mget#stored_fields" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/mget" + }, + "responses": { + "200": { + "$ref": "#/components/responses/mget#200" + } + } + } + }, + "/_migration/deprecations": { + "get": { + "description": "Retrieves information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-deprecation.html" + }, + "operationId": "migration.deprecations#0", + "responses": { + "200": { + "$ref": "#/components/responses/migration.deprecations#200" + } + } + } + }, + "/{index}/_migration/deprecations": { + "get": { + "description": "Retrieves information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-deprecation.html" + }, + "operationId": "migration.deprecations#1", + "parameters": [ + { + "$ref": "#/components/parameters/migration.deprecations#index" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/migration.deprecations#200" + } + } + } + }, + "/_migration/system_features": { + "post": { + "description": "Begin upgrades for system features", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-feature-upgrade.html" + }, + "operationId": "migration.post_feature_upgrade#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "accepted": { + "type": "boolean" + }, + "features": { + "type": "array", + "items": { + "$ref": "#/components/schemas/migration.post_feature_upgrade:MigrationFeature" + } + } + }, + "required": [ + "accepted", + "features" + ] + } + } + } + } + } + } + }, + "/_ml/trained_models/{model_id}/deployment/cache/_clear": { + "post": { + "description": "Clear the cached results from a trained model deployment", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/clear-trained-model-deployment-cache.html" + }, + "operationId": "ml.clear_trained_model_deployment_cache#0", + "parameters": [ + { + "in": "path", + "name": "model_id", + "description": "The unique identifier of the trained model.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "cleared": { + "type": "boolean" + } + }, + "required": [ + "cleared" + ] + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/_close{?allow_no_match,force,timeout}": { + "post": { + "description": "Closes one or more anomaly detection jobs. A job can be opened and closed multiple times throughout its lifecycle.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-close-job.html" + }, + "operationId": "ml.close_job#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job. It can be a job identifier, a group name, or a wildcard expression. You can close multiple anomaly detection jobs in a single API request by using a group name, a comma-separated list of jobs, or a wildcard expression. You can close all jobs by using `_all` or by specifying `*` as the job identifier.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request: contains wildcard expressions and there are no jobs that match; contains the `_all` string or no identifiers and there are no matches; or contains wildcard expressions and there are only partial matches. By default, it returns an empty jobs array when there are no matches and the subset of results when there are partial matches.\nIf `false`, the request returns a 404 status code when there are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "force", + "description": "Use to close a failed job, or to forcefully close a job which has not responded to its initial close request; the request returns without performing the associated actions such as flushing buffers and persisting the model snapshots.\nIf you want the job to be in a consistent state after the close job API returns, do not set to `true`. This parameter should be used only in situations where the job has already failed or where you are not interested in results the job might have recently produced or might produce in the future.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Controls the time to wait until a job has closed.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_no_match": { + "description": "Refer to the description for the `allow_no_match` query parameter.", + "type": "boolean" + }, + "force": { + "description": "Refer to the descriptiion for the `force` query parameter.", + "type": "boolean" + }, + "timeout": { + "$ref": "#/components/schemas/_types:Duration" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "closed": { + "type": "boolean" + } + }, + "required": [ + "closed" + ] + } + } + } + } + } + } + }, + "/_ml/calendars/{calendar_id}": { + "put": { + "description": "Instantiates a calendar.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-calendar.html" + }, + "operationId": "ml.put_calendar#0", + "parameters": [ + { + "in": "path", + "name": "calendar_id", + "description": "A string that uniquely identifies a calendar.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "job_ids": { + "description": "An array of anomaly detection job identifiers.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "description": { + "description": "A description of the calendar.", + "type": "string" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "calendar_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "description": { + "description": "A description of the calendar.", + "type": "string" + }, + "job_ids": { + "$ref": "#/components/schemas/_types:Ids" + } + }, + "required": [ + "calendar_id", + "job_ids" + ] + } + } + } + } + } + } + }, + "/_ml/calendars/{calendar_id}/events/{event_id}": { + "put": { + "description": "Deletes scheduled events from a calendar.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-delete-calendar-event.html" + }, + "operationId": "ml.delete_calendar_event#0", + "parameters": [ + { + "in": "path", + "name": "calendar_id", + "description": "The ID of the calendar to modify", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "event_id", + "description": "The ID of the event to remove from the calendar", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/calendars/{calendar_id}/jobs/{job_id}": { + "put": { + "description": "Adds an anomaly detection job to a calendar.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-calendar-job.html" + }, + "operationId": "ml.put_calendar_job#0", + "parameters": [ + { + "in": "path", + "name": "calendar_id", + "description": "A string that uniquely identifies a calendar.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "job_id", + "description": "An identifier for the anomaly detection jobs. It can be a job identifier, a group name, or a comma-separated list of jobs or groups.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "calendar_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "description": { + "description": "A description of the calendar.", + "type": "string" + }, + "job_ids": { + "$ref": "#/components/schemas/_types:Ids" + } + }, + "required": [ + "calendar_id", + "job_ids" + ] + } + } + } + } + } + } + }, + "/_ml/data_frame/analytics/{id}{?force,timeout}": { + "put": { + "description": "Deletes an existing data frame analytics job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/delete-dfanalytics.html" + }, + "operationId": "ml.delete_data_frame_analytics#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the data frame analytics job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "force", + "description": "If `true`, it deletes a job that is not stopped; this method is quicker than stopping and deleting the job.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "The time to wait for the job to be deleted.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/datafeeds/{datafeed_id}{?force}": { + "put": { + "description": "Deletes an existing datafeed.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-delete-datafeed.html" + }, + "operationId": "ml.delete_datafeed#0", + "parameters": [ + { + "in": "path", + "name": "datafeed_id", + "description": "A numerical character string that uniquely identifies the datafeed. This\nidentifier can contain lowercase alphanumeric characters (a-z and 0-9),\nhyphens, and underscores. It must start and end with alphanumeric\ncharacters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "force", + "description": "Use to forcefully delete a started datafeed; this method is quicker than\nstopping and deleting the datafeed.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/_delete_expired_data/{job_id}{?requests_per_second,timeout}": { + "put": { + "description": "Deletes expired and unused machine learning data.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-expired-data.html" + }, + "operationId": "ml.delete_expired_data#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.delete_expired_data#job_id" + }, + { + "$ref": "#/components/parameters/ml.delete_expired_data#requests_per_second" + }, + { + "$ref": "#/components/parameters/ml.delete_expired_data#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.delete_expired_data" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.delete_expired_data#200" + } + } + } + }, + "/_ml/_delete_expired_data{?requests_per_second,timeout}": { + "put": { + "description": "Deletes expired and unused machine learning data.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-expired-data.html" + }, + "operationId": "ml.delete_expired_data#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.delete_expired_data#requests_per_second" + }, + { + "$ref": "#/components/parameters/ml.delete_expired_data#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.delete_expired_data" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.delete_expired_data#200" + } + } + } + }, + "/_ml/filters/{filter_id}": { + "put": { + "description": "Instantiates a filter.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-filter.html" + }, + "operationId": "ml.put_filter#0", + "parameters": [ + { + "in": "path", + "name": "filter_id", + "description": "A string that uniquely identifies a filter.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "description": { + "description": "A description of the filter.", + "type": "string" + }, + "items": { + "description": "The items of the filter. A wildcard `*` can be used at the beginning or the end of an item.\nUp to 10000 items are allowed in each filter.", + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "filter_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "items": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "description", + "filter_id", + "items" + ] + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/_forecast{?allow_no_forecasts,timeout}": { + "put": { + "description": "Deletes forecasts from a machine learning job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html" + }, + "operationId": "ml.delete_forecast#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.delete_forecast#job_id" + }, + { + "$ref": "#/components/parameters/ml.delete_forecast#allow_no_forecasts" + }, + { + "$ref": "#/components/parameters/ml.delete_forecast#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.delete_forecast#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/_forecast/{forecast_id}{?allow_no_forecasts,timeout}": { + "put": { + "description": "Deletes forecasts from a machine learning job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html" + }, + "operationId": "ml.delete_forecast#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.delete_forecast#job_id" + }, + { + "$ref": "#/components/parameters/ml.delete_forecast#forecast_id" + }, + { + "$ref": "#/components/parameters/ml.delete_forecast#allow_no_forecasts" + }, + { + "$ref": "#/components/parameters/ml.delete_forecast#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.delete_forecast#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}{?force,delete_user_annotations,wait_for_completion}": { + "put": { + "description": "Deletes an existing anomaly detection job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html" + }, + "operationId": "ml.delete_job#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "force", + "description": "Use to forcefully delete an opened job; this method is quicker than\nclosing and deleting the job.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "delete_user_annotations", + "description": "Specifies whether annotations that have been added by the\nuser should be deleted along with any auto-generated annotations when the job is\nreset.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_completion", + "description": "Specifies whether the request should return immediately or wait until the\njob deletion completes.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}": { + "put": { + "description": "Deletes an existing model snapshot.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html" + }, + "operationId": "ml.delete_model_snapshot#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "snapshot_id", + "description": "Identifier for the model snapshot.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/trained_models/{model_id}{?force}": { + "put": { + "description": "Deletes an existing trained inference model that is currently not referenced by an ingest pipeline.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-trained-models.html" + }, + "operationId": "ml.delete_trained_model#0", + "parameters": [ + { + "in": "path", + "name": "model_id", + "description": "The unique identifier of the trained model.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "force", + "description": "Forcefully deletes a trained model that is referenced by ingest pipelines or has a started deployment.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/trained_models/{model_id}/model_aliases/{model_alias}": { + "put": { + "description": "Deletes a model alias that refers to the trained model", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-trained-models-aliases.html" + }, + "operationId": "ml.delete_trained_model_alias#0", + "parameters": [ + { + "in": "path", + "name": "model_id", + "description": "The trained model ID to which the model alias refers.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "model_alias", + "description": "The model alias to delete.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/_estimate_model_memory": { + "post": { + "description": "Estimates the model memory", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-apis.html" + }, + "operationId": "ml.estimate_model_memory#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "analysis_config": { + "$ref": "#/components/schemas/ml._types:AnalysisConfig" + }, + "max_bucket_cardinality": { + "description": "Estimates of the highest cardinality in a single bucket that is observed\nfor influencer fields over the time period that the job analyzes data.\nTo produce a good answer, values must be provided for all influencer\nfields. Providing values for fields that are not listed as `influencers`\nhas no effect on the estimation.", + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "overall_cardinality": { + "description": "Estimates of the cardinality that is observed for fields over the whole\ntime period that the job analyzes data. To produce a good answer, values\nmust be provided for fields referenced in the `by_field_name`,\n`over_field_name` and `partition_field_name` of any detectors. Providing\nvalues for other fields has no effect on the estimation. It can be\nomitted from the request if no detectors have a `by_field_name`,\n`over_field_name` or `partition_field_name`.", + "type": "object", + "additionalProperties": { + "type": "number" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "model_memory_estimate": { + "type": "string" + } + }, + "required": [ + "model_memory_estimate" + ] + } + } + } + } + } + } + }, + "/_ml/data_frame/_evaluate": { + "post": { + "description": "Evaluates the data frame analytics for an annotated index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/evaluate-dfanalytics.html" + }, + "operationId": "ml.evaluate_data_frame#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "evaluation": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationContainer" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "required": [ + "evaluation", + "index" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "classification": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummary" + }, + "outlier_detection": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeOutlierDetectionSummary" + }, + "regression": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeRegressionSummary" + } + } + } + } + } + } + } + } + }, + "/_ml/data_frame/analytics/_explain": { + "get": { + "description": "Explains a data frame analytics config.", + "externalDocs": { + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" + }, + "operationId": "ml.explain_data_frame_analytics#0", + "requestBody": { + "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" + } + } + }, + "post": { + "description": "Explains a data frame analytics config.", + "externalDocs": { + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" + }, + "operationId": "ml.explain_data_frame_analytics#1", + "requestBody": { + "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" + } + } + } + }, + "/_ml/data_frame/analytics/{id}/_explain": { + "get": { + "description": "Explains a data frame analytics config.", + "externalDocs": { + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" + }, + "operationId": "ml.explain_data_frame_analytics#2", + "parameters": [ + { + "$ref": "#/components/parameters/ml.explain_data_frame_analytics#id" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" + } + } + }, + "post": { + "description": "Explains a data frame analytics config.", + "externalDocs": { + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" + }, + "operationId": "ml.explain_data_frame_analytics#3", + "parameters": [ + { + "$ref": "#/components/parameters/ml.explain_data_frame_analytics#id" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/_flush{?advance_time,calc_interim,end,skip_time,start}": { + "post": { + "description": "Forces any buffered data to be processed by the job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html" + }, + "operationId": "ml.flush_job#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "advance_time", + "description": "Specifies to advance to a particular time value. Results are generated\nand the model is updated for data from the specified time interval.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + { + "in": "query", + "name": "calc_interim", + "description": "If true, calculates the interim results for the most recent bucket or all\nbuckets within the latency period.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "end", + "description": "When used in conjunction with `calc_interim` and `start`, specifies the\nrange of buckets on which to calculate interim results.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + { + "in": "query", + "name": "skip_time", + "description": "Specifies to skip to a particular time value. Results are not generated\nand the model is not updated for data from the specified time interval.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + { + "in": "query", + "name": "start", + "description": "When used in conjunction with `calc_interim`, specifies the range of\nbuckets on which to calculate interim results.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "advance_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "calc_interim": { + "description": "Refer to the description for the `calc_interim` query parameter.", + "type": "boolean" + }, + "end": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "skip_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "start": { + "$ref": "#/components/schemas/_types:DateTime" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "flushed": { + "type": "boolean" + }, + "last_finalized_bucket_end": { + "description": "Provides the timestamp (in milliseconds since the epoch) of the end of\nthe last bucket that was processed.", + "type": "number" + } + }, + "required": [ + "flushed" + ] + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/_forecast{?duration,expires_in,max_model_memory}": { + "post": { + "description": "Predicts the future behavior of a time series by using its historical behavior.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-forecast.html" + }, + "operationId": "ml.forecast#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job. The job must be open when you\ncreate a forecast; otherwise, an error occurs.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "duration", + "description": "A period of time that indicates how far into the future to forecast. For\nexample, `30d` corresponds to 30 days. The forecast starts at the last\nrecord that was processed.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "expires_in", + "description": "The period of time that forecast results are retained. After a forecast\nexpires, the results are deleted. If set to a value of 0, the forecast is\nnever automatically deleted.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "max_model_memory", + "description": "The maximum memory the forecast can use. If the forecast needs to use\nmore than the provided amount, it will spool to disk. Default is 20mb,\nmaximum is 500mb and minimum is 1mb. If set to 40% or more of the job’s\nconfigured memory limit, it is automatically reduced to below that\namount.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "duration": { + "$ref": "#/components/schemas/_types:Duration" + }, + "expires_in": { + "$ref": "#/components/schemas/_types:Duration" + }, + "max_model_memory": { + "description": "Refer to the description for the `max_model_memory` query parameter.", + "type": "string" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "forecast_id": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "required": [ + "acknowledged", + "forecast_id" + ] + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}{?anomaly_score,desc,end,exclude_interim,expand,from,size,sort,start}": { + "get": { + "description": "Retrieves anomaly detection job results for one or more buckets.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" + }, + "operationId": "ml.get_buckets#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_buckets#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#timestamp" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#desc" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#end" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#expand" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#from" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#size" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#sort" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_buckets" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_buckets#200" + } + } + }, + "post": { + "description": "Retrieves anomaly detection job results for one or more buckets.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" + }, + "operationId": "ml.get_buckets#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_buckets#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#timestamp" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#desc" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#end" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#expand" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#from" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#size" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#sort" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_buckets" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_buckets#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/results/buckets{?anomaly_score,desc,end,exclude_interim,expand,from,size,sort,start}": { + "get": { + "description": "Retrieves anomaly detection job results for one or more buckets.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" + }, + "operationId": "ml.get_buckets#2", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_buckets#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#desc" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#end" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#expand" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#from" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#size" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#sort" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_buckets" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_buckets#200" + } + } + }, + "post": { + "description": "Retrieves anomaly detection job results for one or more buckets.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" + }, + "operationId": "ml.get_buckets#3", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_buckets#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#desc" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#end" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#expand" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#from" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#size" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#sort" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_buckets" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_buckets#200" + } + } + } + }, + "/_ml/calendars/{calendar_id}/events{?end,from,job_id,size,start}": { + "get": { + "description": "Retrieves information about the scheduled events in calendars.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar-event.html" + }, + "operationId": "ml.get_calendar_events#0", + "parameters": [ + { + "in": "path", + "name": "calendar_id", + "description": "A string that uniquely identifies a calendar. You can get information for multiple calendars by using a comma-separated list of ids or a wildcard expression. You can get information for all calendars by using `_all` or `*` or by omitting the calendar identifier.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "end", + "description": "Specifies to get events with timestamps earlier than this time.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + { + "in": "query", + "name": "from", + "description": "Skips the specified number of events.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "job_id", + "description": "Specifies to get events for a specific anomaly detection job identifier or job group. It must be used with a calendar identifier of `_all` or `*`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "form" + }, + { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of events to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "start", + "description": "Specifies to get events with timestamps after this time.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "events": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:CalendarEvent" + } + } + }, + "required": [ + "count", + "events" + ] + } + } + } + } + } + } + }, + "/_ml/calendars{?from,size}": { + "get": { + "description": "Retrieves configuration information for calendars.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" + }, + "operationId": "ml.get_calendars#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_calendars#from" + }, + { + "$ref": "#/components/parameters/ml.get_calendars#size" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_calendars" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_calendars#200" + } + } + }, + "post": { + "description": "Retrieves configuration information for calendars.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" + }, + "operationId": "ml.get_calendars#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_calendars#from" + }, + { + "$ref": "#/components/parameters/ml.get_calendars#size" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_calendars" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_calendars#200" + } + } + } + }, + "/_ml/calendars/{calendar_id}{?from,size}": { + "get": { + "description": "Retrieves configuration information for calendars.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" + }, + "operationId": "ml.get_calendars#2", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_calendars#calendar_id" + }, + { + "$ref": "#/components/parameters/ml.get_calendars#from" + }, + { + "$ref": "#/components/parameters/ml.get_calendars#size" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_calendars" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_calendars#200" + } + } + }, + "post": { + "description": "Retrieves configuration information for calendars.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" + }, + "operationId": "ml.get_calendars#3", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_calendars#calendar_id" + }, + { + "$ref": "#/components/parameters/ml.get_calendars#from" + }, + { + "$ref": "#/components/parameters/ml.get_calendars#size" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_calendars" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_calendars#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/results/categories/{category_id}{?from,partition_field_value,size}": { + "get": { + "description": "Retrieves anomaly detection job results for one or more categories.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" + }, + "operationId": "ml.get_categories#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_categories#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_categories#category_id" + }, + { + "$ref": "#/components/parameters/ml.get_categories#from" + }, + { + "$ref": "#/components/parameters/ml.get_categories#partition_field_value" + }, + { + "$ref": "#/components/parameters/ml.get_categories#size" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_categories" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_categories#200" + } + } + }, + "post": { + "description": "Retrieves anomaly detection job results for one or more categories.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" + }, + "operationId": "ml.get_categories#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_categories#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_categories#category_id" + }, + { + "$ref": "#/components/parameters/ml.get_categories#from" + }, + { + "$ref": "#/components/parameters/ml.get_categories#partition_field_value" + }, + { + "$ref": "#/components/parameters/ml.get_categories#size" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_categories" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_categories#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/results/categories{?from,partition_field_value,size}": { + "get": { + "description": "Retrieves anomaly detection job results for one or more categories.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" + }, + "operationId": "ml.get_categories#2", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_categories#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_categories#from" + }, + { + "$ref": "#/components/parameters/ml.get_categories#partition_field_value" + }, + { + "$ref": "#/components/parameters/ml.get_categories#size" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_categories" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_categories#200" + } + } + }, + "post": { + "description": "Retrieves anomaly detection job results for one or more categories.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" + }, + "operationId": "ml.get_categories#3", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_categories#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_categories#from" + }, + { + "$ref": "#/components/parameters/ml.get_categories#partition_field_value" + }, + { + "$ref": "#/components/parameters/ml.get_categories#size" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_categories" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_categories#200" + } + } + } + }, + "/_ml/data_frame/analytics/{id}{?allow_no_match,from,size,exclude_generated}": { + "get": { + "description": "Retrieves configuration information for data frame analytics jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics.html" + }, + "operationId": "ml.get_data_frame_analytics#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics#id" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics#from" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics#size" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics#exclude_generated" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_data_frame_analytics#200" + } + } + } + }, + "/_ml/data_frame/analytics{?allow_no_match,from,size,exclude_generated}": { + "get": { + "description": "Retrieves configuration information for data frame analytics jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics.html" + }, + "operationId": "ml.get_data_frame_analytics#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics#from" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics#size" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics#exclude_generated" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_data_frame_analytics#200" + } + } + } + }, + "/_ml/data_frame/analytics/_stats{?allow_no_match,from,size,verbose}": { + "get": { + "description": "Retrieves usage information for data frame analytics jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics-stats.html" + }, + "operationId": "ml.get_data_frame_analytics_stats#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#from" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#size" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#verbose" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_data_frame_analytics_stats#200" + } + } + } + }, + "/_ml/data_frame/analytics/{id}/_stats{?allow_no_match,from,size,verbose}": { + "get": { + "description": "Retrieves usage information for data frame analytics jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics-stats.html" + }, + "operationId": "ml.get_data_frame_analytics_stats#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#id" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#from" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#size" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#verbose" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_data_frame_analytics_stats#200" + } + } + } + }, + "/_ml/datafeeds/{datafeed_id}/_stats{?allow_no_match}": { + "get": { + "description": "Retrieves usage information for datafeeds.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html" + }, + "operationId": "ml.get_datafeed_stats#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_datafeed_stats#datafeed_id" + }, + { + "$ref": "#/components/parameters/ml.get_datafeed_stats#allow_no_match" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_datafeed_stats#200" + } + } + } + }, + "/_ml/datafeeds/_stats{?allow_no_match}": { + "get": { + "description": "Retrieves usage information for datafeeds.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html" + }, + "operationId": "ml.get_datafeed_stats#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_datafeed_stats#allow_no_match" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_datafeed_stats#200" + } + } + } + }, + "/_ml/datafeeds/{datafeed_id}{?allow_no_match,exclude_generated}": { + "get": { + "description": "Retrieves configuration information for datafeeds.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html" + }, + "operationId": "ml.get_datafeeds#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_datafeeds#datafeed_id" + }, + { + "$ref": "#/components/parameters/ml.get_datafeeds#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_datafeeds#exclude_generated" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_datafeeds#200" + } + } + } + }, + "/_ml/datafeeds{?allow_no_match,exclude_generated}": { + "get": { + "description": "Retrieves configuration information for datafeeds.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html" + }, + "operationId": "ml.get_datafeeds#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_datafeeds#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_datafeeds#exclude_generated" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_datafeeds#200" + } + } + } + }, + "/_ml/filters{?from,size}": { + "get": { + "description": "Retrieves filters.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-filter.html" + }, + "operationId": "ml.get_filters#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_filters#from" + }, + { + "$ref": "#/components/parameters/ml.get_filters#size" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_filters#200" + } + } + } + }, + "/_ml/filters/{filter_id}{?from,size}": { + "get": { + "description": "Retrieves filters.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-filter.html" + }, + "operationId": "ml.get_filters#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_filters#filter_id" + }, + { + "$ref": "#/components/parameters/ml.get_filters#from" + }, + { + "$ref": "#/components/parameters/ml.get_filters#size" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_filters#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/results/influencers{?desc,end,exclude_interim,influencer_score,from,size,sort,start}": { + "get": { + "description": "Retrieves anomaly detection job results for one or more influencers.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html" + }, + "operationId": "ml.get_influencers#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_influencers#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#desc" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#end" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#influencer_score" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#from" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#size" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#sort" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_influencers" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_influencers#200" + } + } + }, + "post": { + "description": "Retrieves anomaly detection job results for one or more influencers.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html" + }, + "operationId": "ml.get_influencers#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_influencers#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#desc" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#end" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#influencer_score" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#from" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#size" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#sort" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_influencers" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_influencers#200" + } + } + } + }, + "/_ml/anomaly_detectors/_stats{?allow_no_match}": { + "get": { + "description": "Retrieves usage information for anomaly detection jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html" + }, + "operationId": "ml.get_job_stats#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_job_stats#allow_no_match" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_job_stats#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/_stats{?allow_no_match}": { + "get": { + "description": "Retrieves usage information for anomaly detection jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html" + }, + "operationId": "ml.get_job_stats#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_job_stats#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_job_stats#allow_no_match" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_job_stats#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}{?allow_no_match,exclude_generated}": { + "get": { + "description": "Retrieves configuration information for anomaly detection jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html" + }, + "operationId": "ml.get_jobs#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_jobs#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_jobs#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_jobs#exclude_generated" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_jobs#200" + } + } + } + }, + "/_ml/anomaly_detectors{?allow_no_match,exclude_generated}": { + "get": { + "description": "Retrieves configuration information for anomaly detection jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html" + }, + "operationId": "ml.get_jobs#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_jobs#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_jobs#exclude_generated" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_jobs#200" + } + } + } + }, + "/_ml/memory/_stats{?human,master_timeout,timeout}": { + "get": { + "description": "Returns information on how ML is using memory.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ml-memory.html" + }, + "operationId": "ml.get_memory_stats#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_memory_stats#human" + }, + { + "$ref": "#/components/parameters/ml.get_memory_stats#master_timeout" + }, + { + "$ref": "#/components/parameters/ml.get_memory_stats#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_memory_stats#200" + } + } + } + }, + "/_ml/memory/{node_id}/_stats{?human,master_timeout,timeout}": { + "get": { + "description": "Returns information on how ML is using memory.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ml-memory.html" + }, + "operationId": "ml.get_memory_stats#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_memory_stats#node_id" + }, + { + "$ref": "#/components/parameters/ml.get_memory_stats#human" + }, + { + "$ref": "#/components/parameters/ml.get_memory_stats#master_timeout" + }, + { + "$ref": "#/components/parameters/ml.get_memory_stats#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_memory_stats#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade/_stats{?allow_no_match}": { + "get": { + "description": "Gets stats for anomaly detection job model snapshot upgrades that are in progress.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-model-snapshot-upgrade-stats.html" + }, + "operationId": "ml.get_model_snapshot_upgrade_stats#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "snapshot_id", + "description": "A numerical character string that uniquely identifies the model snapshot. You can get information for multiple\nsnapshots by using a comma-separated list or a wildcard expression. You can get all snapshots by using `_all`,\nby specifying `*` as the snapshot ID, or by omitting the snapshot ID.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n - Contains wildcard expressions and there are no jobs that match.\n - Contains the _all string or no identifiers and there are no matches.\n - Contains wildcard expressions and there are only partial matches.\n\nThe default value is true, which returns an empty jobs array when there are no matches and the subset of results\nwhen there are partial matches. If this parameter is false, the request returns a 404 status code when there are\nno matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "model_snapshot_upgrades": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:ModelSnapshotUpgrade" + } + } + }, + "required": [ + "count", + "model_snapshot_upgrades" + ] + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}{?desc,end,from,size,sort,start}": { + "get": { + "description": "Retrieves information about model snapshots.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" + }, + "operationId": "ml.get_model_snapshots#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#snapshot_id" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#desc" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#end" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#from" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#size" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#sort" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_model_snapshots" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_model_snapshots#200" + } + } + }, + "post": { + "description": "Retrieves information about model snapshots.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" + }, + "operationId": "ml.get_model_snapshots#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#snapshot_id" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#desc" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#end" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#from" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#size" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#sort" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_model_snapshots" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_model_snapshots#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/model_snapshots{?desc,end,from,size,sort,start}": { + "get": { + "description": "Retrieves information about model snapshots.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" + }, + "operationId": "ml.get_model_snapshots#2", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#desc" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#end" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#from" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#size" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#sort" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_model_snapshots" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_model_snapshots#200" + } + } + }, + "post": { + "description": "Retrieves information about model snapshots.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" + }, + "operationId": "ml.get_model_snapshots#3", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#desc" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#end" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#from" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#size" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#sort" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_model_snapshots" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_model_snapshots#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/results/overall_buckets{?allow_no_match,bucket_span,end,exclude_interim,overall_score,start,top_n}": { + "get": { + "description": "Retrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html" + }, + "operationId": "ml.get_overall_buckets#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_overall_buckets#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#bucket_span" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#end" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#overall_score" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#start" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#top_n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_overall_buckets" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_overall_buckets#200" + } + } + }, + "post": { + "description": "Retrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html" + }, + "operationId": "ml.get_overall_buckets#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_overall_buckets#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#bucket_span" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#end" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#overall_score" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#start" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#top_n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_overall_buckets" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_overall_buckets#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/results/records{?desc,end,exclude_interim,from,record_score,size,sort,start}": { + "get": { + "description": "Retrieves anomaly records for an anomaly detection job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html" + }, + "operationId": "ml.get_records#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_records#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_records#desc" + }, + { + "$ref": "#/components/parameters/ml.get_records#end" + }, + { + "$ref": "#/components/parameters/ml.get_records#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_records#from" + }, + { + "$ref": "#/components/parameters/ml.get_records#record_score" + }, + { + "$ref": "#/components/parameters/ml.get_records#size" + }, + { + "$ref": "#/components/parameters/ml.get_records#sort" + }, + { + "$ref": "#/components/parameters/ml.get_records#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_records" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_records#200" + } + } + }, + "post": { + "description": "Retrieves anomaly records for an anomaly detection job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html" + }, + "operationId": "ml.get_records#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_records#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_records#desc" + }, + { + "$ref": "#/components/parameters/ml.get_records#end" + }, + { + "$ref": "#/components/parameters/ml.get_records#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_records#from" + }, + { + "$ref": "#/components/parameters/ml.get_records#record_score" + }, + { + "$ref": "#/components/parameters/ml.get_records#size" + }, + { + "$ref": "#/components/parameters/ml.get_records#sort" + }, + { + "$ref": "#/components/parameters/ml.get_records#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_records" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_records#200" + } + } + } + }, + "/_ml/trained_models/{model_id}{?allow_no_match,decompress_definition,exclude_generated,from,include,size,tags}": { + "get": { + "description": "Retrieves configuration information for a trained inference model.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models.html" + }, + "operationId": "ml.get_trained_models#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_trained_models#model_id" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#decompress_definition" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#exclude_generated" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#from" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#include" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#size" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#tags" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_trained_models#200" + } + } + } + }, + "/_ml/trained_models{?allow_no_match,decompress_definition,exclude_generated,from,include,size,tags}": { + "get": { + "description": "Retrieves configuration information for a trained inference model.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models.html" + }, + "operationId": "ml.get_trained_models#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_trained_models#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#decompress_definition" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#exclude_generated" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#from" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#include" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#size" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#tags" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_trained_models#200" + } + } + } + }, + "/_ml/trained_models/{model_id}/_stats{?allow_no_match,from,size}": { + "get": { + "description": "Retrieves usage information for trained inference models.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models-stats.html" + }, + "operationId": "ml.get_trained_models_stats#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_trained_models_stats#model_id" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models_stats#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models_stats#from" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models_stats#size" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_trained_models_stats#200" + } + } + } + }, + "/_ml/trained_models/_stats{?allow_no_match,from,size}": { + "get": { + "description": "Retrieves usage information for trained inference models.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models-stats.html" + }, + "operationId": "ml.get_trained_models_stats#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_trained_models_stats#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models_stats#from" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models_stats#size" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_trained_models_stats#200" + } + } + } + }, + "/_ml/trained_models/{model_id}/_infer{?timeout}": { + "post": { + "description": "Evaluate a trained model.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/infer-trained-model.html" + }, + "operationId": "ml.infer_trained_model#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.infer_trained_model#model_id" + }, + { + "$ref": "#/components/parameters/ml.infer_trained_model#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.infer_trained_model" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.infer_trained_model#200" + } + } + } + }, + "/_ml/trained_models/{model_id}/deployment/_infer{?timeout}": { + "post": { + "description": "Evaluate a trained model.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/infer-trained-model.html" + }, + "operationId": "ml.infer_trained_model#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.infer_trained_model#model_id" + }, + { + "$ref": "#/components/parameters/ml.infer_trained_model#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.infer_trained_model" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.infer_trained_model#200" + } + } + } + }, + "/_ml/info": { + "get": { + "description": "Returns defaults and limits used by machine learning.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ml-info.html" + }, + "operationId": "ml.info#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "defaults": { + "$ref": "#/components/schemas/ml.info:Defaults" + }, + "limits": { + "$ref": "#/components/schemas/ml.info:Limits" + }, + "upgrade_mode": { + "type": "boolean" + }, + "native_code": { + "$ref": "#/components/schemas/ml.info:NativeCode" + } + }, + "required": [ + "defaults", + "limits", + "upgrade_mode", + "native_code" + ] + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/_open{?timeout}": { + "post": { + "description": "Opens one or more anomaly detection jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html" + }, + "operationId": "ml.open_job#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Controls the time to wait until a job has opened.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timeout": { + "$ref": "#/components/schemas/_types:Duration" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "opened": { + "type": "boolean" + }, + "node": { + "$ref": "#/components/schemas/_types:NodeId" + } + }, + "required": [ + "opened", + "node" + ] + } + } + } + } + } + } + }, + "/_ml/calendars/{calendar_id}/events": { + "post": { + "description": "Posts scheduled events in a calendar.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-calendar-event.html" + }, + "operationId": "ml.post_calendar_events#0", + "parameters": [ + { + "in": "path", + "name": "calendar_id", + "description": "A string that uniquely identifies a calendar.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "events": { + "description": "A list of one of more scheduled events. The event’s start and end times can be specified as integer milliseconds since the epoch or as a string in ISO 8601 format.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:CalendarEvent" + } + } + }, + "required": [ + "events" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "events": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:CalendarEvent" + } + } + }, + "required": [ + "events" + ] + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/_data{?reset_end,reset_start}": { + "post": { + "description": "Sends data to an anomaly detection job for analysis.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-data.html" + }, + "operationId": "ml.post_data#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job. The job must have a state of open to receive and process the data.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "reset_end", + "description": "Specifies the end of the bucket resetting range.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + { + "in": "query", + "name": "reset_start", + "description": "Specifies the start of the bucket resetting range.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "bucket_count": { + "type": "number" + }, + "earliest_record_timestamp": { + "type": "number" + }, + "empty_bucket_count": { + "type": "number" + }, + "input_bytes": { + "type": "number" + }, + "input_field_count": { + "type": "number" + }, + "input_record_count": { + "type": "number" + }, + "invalid_date_count": { + "type": "number" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "last_data_time": { + "type": "number" + }, + "latest_record_timestamp": { + "type": "number" + }, + "missing_field_count": { + "type": "number" + }, + "out_of_order_timestamp_count": { + "type": "number" + }, + "processed_field_count": { + "type": "number" + }, + "processed_record_count": { + "type": "number" + }, + "sparse_bucket_count": { + "type": "number" + } + }, + "required": [ + "bucket_count", + "earliest_record_timestamp", + "empty_bucket_count", + "input_bytes", + "input_field_count", + "input_record_count", + "invalid_date_count", + "job_id", + "last_data_time", + "latest_record_timestamp", + "missing_field_count", + "out_of_order_timestamp_count", + "processed_field_count", + "processed_record_count", + "sparse_bucket_count" + ] + } + } + } + } + } + } + }, + "/_ml/data_frame/analytics/_preview": { + "get": { + "description": "Previews that will be analyzed given a data frame analytics config.", + "externalDocs": { + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" + }, + "operationId": "ml.preview_data_frame_analytics#0", + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_data_frame_analytics" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_data_frame_analytics#200" + } + } + }, + "post": { + "description": "Previews that will be analyzed given a data frame analytics config.", + "externalDocs": { + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" + }, + "operationId": "ml.preview_data_frame_analytics#1", + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_data_frame_analytics" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_data_frame_analytics#200" + } + } + } + }, + "/_ml/data_frame/analytics/{id}/_preview": { + "get": { + "description": "Previews that will be analyzed given a data frame analytics config.", + "externalDocs": { + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" + }, + "operationId": "ml.preview_data_frame_analytics#2", + "parameters": [ + { + "$ref": "#/components/parameters/ml.preview_data_frame_analytics#id" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_data_frame_analytics" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_data_frame_analytics#200" + } + } + }, + "post": { + "description": "Previews that will be analyzed given a data frame analytics config.", + "externalDocs": { + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" + }, + "operationId": "ml.preview_data_frame_analytics#3", + "parameters": [ + { + "$ref": "#/components/parameters/ml.preview_data_frame_analytics#id" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_data_frame_analytics" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_data_frame_analytics#200" + } + } + } + }, + "/_ml/datafeeds/{datafeed_id}/_preview{?start,end}": { + "get": { + "description": "Previews a datafeed.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" + }, + "operationId": "ml.preview_datafeed#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.preview_datafeed#datafeed_id" + }, + { + "$ref": "#/components/parameters/ml.preview_datafeed#start" + }, + { + "$ref": "#/components/parameters/ml.preview_datafeed#end" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_datafeed" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_datafeed#200" + } + } + }, + "post": { + "description": "Previews a datafeed.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" + }, + "operationId": "ml.preview_datafeed#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.preview_datafeed#datafeed_id" + }, + { + "$ref": "#/components/parameters/ml.preview_datafeed#start" + }, + { + "$ref": "#/components/parameters/ml.preview_datafeed#end" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_datafeed" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_datafeed#200" + } + } + } + }, + "/_ml/datafeeds/_preview{?start,end}": { + "get": { + "description": "Previews a datafeed.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" + }, + "operationId": "ml.preview_datafeed#2", + "parameters": [ + { + "$ref": "#/components/parameters/ml.preview_datafeed#start" + }, + { + "$ref": "#/components/parameters/ml.preview_datafeed#end" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_datafeed" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_datafeed#200" + } + } + }, + "post": { + "description": "Previews a datafeed.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" + }, + "operationId": "ml.preview_datafeed#3", + "parameters": [ + { + "$ref": "#/components/parameters/ml.preview_datafeed#start" + }, + { + "$ref": "#/components/parameters/ml.preview_datafeed#end" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_datafeed" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_datafeed#200" + } + } + } + }, + "/_ml/data_frame/analytics/{id}": { + "put": { + "description": "Instantiates a data frame analytics job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/put-dfanalytics.html" + }, + "operationId": "ml.put_data_frame_analytics#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_lazy_start": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-settings.html" + }, + "description": "Specifies whether this job can start when there is insufficient machine\nlearning node capacity for it to be immediately assigned to a node. If\nset to `false` and a machine learning node with capacity to run the job\ncannot be immediately found, the API returns an error. If set to `true`,\nthe API does not return an error; the job waits in the `starting` state\nuntil sufficient machine learning node capacity is available. This\nbehavior is also affected by the cluster-wide\n`xpack.ml.max_lazy_ml_nodes` setting.", + "type": "boolean" + }, + "analysis": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" + }, + "analyzed_fields": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" + }, + "description": { + "description": "A description of the job.", + "type": "string" + }, + "dest": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsDestination" + }, + "max_num_threads": { + "description": "The maximum number of threads to be used by the analysis. Using more\nthreads may decrease the time necessary to complete the analysis at the\ncost of using more CPU. Note that the process may use additional threads\nfor operational functionality other than the analysis itself.", + "type": "number" + }, + "model_memory_limit": { + "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try\nto create data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", + "type": "string" + }, + "source": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" + }, + "headers": { + "$ref": "#/components/schemas/_types:HttpHeaders" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "analysis", + "dest", + "source" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorization": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsAuthorization" + }, + "allow_lazy_start": { + "type": "boolean" + }, + "analysis": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" + }, + "analyzed_fields": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" + }, + "create_time": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "description": { + "type": "string" + }, + "dest": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsDestination" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max_num_threads": { + "type": "number" + }, + "model_memory_limit": { + "type": "string" + }, + "source": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "allow_lazy_start", + "analysis", + "create_time", + "dest", + "id", + "max_num_threads", + "model_memory_limit", + "source", + "version" + ] + } + } + } + } + } + } + }, + "/_ml/datafeeds/{datafeed_id}{?allow_no_indices,expand_wildcards,ignore_throttled,ignore_unavailable}": { + "put": { + "description": "Instantiates a datafeed.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html" + }, + "operationId": "ml.put_datafeed#0", + "parameters": [ + { + "in": "path", + "name": "datafeed_id", + "description": "A numerical character string that uniquely identifies the datafeed.\nThis identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores.\nIt must start and end with alphanumeric characters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If true, wildcard indices expressions that resolve into no concrete indices are ignored. This includes the `_all`\nstring or when no indices are specified.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match. If the request can target data streams, this argument determines\nwhether wildcard expressions match hidden data streams. Supports comma-separated values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_throttled", + "description": "If true, concrete, expanded, or aliased indices are ignored when frozen.", + "deprecated": true, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If true, unavailable indices (missing or closed) are ignored.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aggregations": { + "description": "If set, the datafeed performs aggregation searches.\nSupport for aggregations is limited and should be used only with low cardinality data.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "chunking_config": { + "$ref": "#/components/schemas/ml._types:ChunkingConfig" + }, + "delayed_data_check_config": { + "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "indices_options": { + "$ref": "#/components/schemas/_types:IndicesOptions" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max_empty_searches": { + "description": "If a real-time datafeed has never seen any data (including during any initial training period), it automatically\nstops and closes the associated job after this many real-time searches return no documents. In other words,\nit stops after `frequency` times `max_empty_searches` of real-time operation. If not set, a datafeed with no\nend time that sees no data remains started until it is explicitly stopped. By default, it is not set.", + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "query_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "script_fields": { + "description": "Specifies scripts that evaluate custom expressions and returns script fields to the datafeed.\nThe detector configuration objects in a job can contain functions that use these script fields.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "scroll_size": { + "description": "The size parameter that is used in Elasticsearch searches when the datafeed does not use aggregations.\nThe maximum value is the value of `index.max_result_window`, which is 10,000 by default.", + "type": "number" + }, + "headers": { + "$ref": "#/components/schemas/_types:HttpHeaders" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "authorization": { + "$ref": "#/components/schemas/ml._types:DatafeedAuthorization" + }, + "chunking_config": { + "$ref": "#/components/schemas/ml._types:ChunkingConfig" + }, + "delayed_data_check_config": { + "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" + }, + "datafeed_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "indices": { + "type": "array", + "items": { + "type": "string" + } + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "indices_options": { + "$ref": "#/components/schemas/_types:IndicesOptions" + }, + "max_empty_searches": { + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "query_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "script_fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "scroll_size": { + "type": "number" + } + }, + "required": [ + "chunking_config", + "datafeed_id", + "indices", + "job_id", + "query", + "query_delay", + "scroll_size" + ] + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}": { + "put": { + "description": "Instantiates an anomaly detection job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html" + }, + "operationId": "ml.put_job#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "The identifier for the anomaly detection job. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_lazy_open": { + "description": "Advanced configuration option. Specifies whether this job can open when there is insufficient machine learning node capacity for it to be immediately assigned to a node. By default, if a machine learning node with capacity to run the job cannot immediately be found, the open anomaly detection jobs API returns an error. However, this is also subject to the cluster-wide `xpack.ml.max_lazy_ml_nodes` setting. If this option is set to true, the open anomaly detection jobs API does not return an error and the job waits in the opening state until sufficient machine learning node capacity is available.", + "type": "boolean" + }, + "analysis_config": { + "$ref": "#/components/schemas/ml._types:AnalysisConfig" + }, + "analysis_limits": { + "$ref": "#/components/schemas/ml._types:AnalysisLimits" + }, + "background_persist_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "custom_settings": { + "$ref": "#/components/schemas/ml._types:CustomSettings" + }, + "daily_model_snapshot_retention_after_days": { + "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job. It specifies a period of time (in days) after which only the first snapshot per day is retained. This period is relative to the timestamp of the most recent snapshot for this job. Valid values range from 0 to `model_snapshot_retention_days`.", + "type": "number" + }, + "data_description": { + "$ref": "#/components/schemas/ml._types:DataDescription" + }, + "datafeed_config": { + "$ref": "#/components/schemas/ml._types:DatafeedConfig" + }, + "description": { + "description": "A description of the job.", + "type": "string" + }, + "groups": { + "description": "A list of job groups. A job can belong to no groups or many.", + "type": "array", + "items": { + "type": "string" + } + }, + "model_plot_config": { + "$ref": "#/components/schemas/ml._types:ModelPlotConfig" + }, + "model_snapshot_retention_days": { + "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job. It specifies the maximum period of time (in days) that snapshots are retained. This period is relative to the timestamp of the most recent snapshot for this job. By default, snapshots ten days older than the newest snapshot are deleted.", + "type": "number" + }, + "renormalization_window_days": { + "description": "Advanced configuration option. The period over which adjustments to the score are applied, as new data is seen. The default value is the longer of 30 days or 100 bucket spans.", + "type": "number" + }, + "results_index_name": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "results_retention_days": { + "description": "Advanced configuration option. The period of time (in days) that results are retained. Age is calculated relative to the timestamp of the latest bucket result. If this property has a non-null value, once per day at 00:30 (server time), results that are the specified number of days older than the latest bucket result are deleted from Elasticsearch. The default value is null, which means all results are retained. Annotations generated by the system also count as results for retention purposes; they are deleted after the same number of days as results. Annotations added by users are retained forever.", + "type": "number" + } + }, + "required": [ + "analysis_config", + "data_description" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_lazy_open": { + "type": "boolean" + }, + "analysis_config": { + "$ref": "#/components/schemas/ml._types:AnalysisConfigRead" + }, + "analysis_limits": { + "$ref": "#/components/schemas/ml._types:AnalysisLimits" + }, + "background_persist_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "create_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "custom_settings": { + "$ref": "#/components/schemas/ml._types:CustomSettings" + }, + "daily_model_snapshot_retention_after_days": { + "type": "number" + }, + "data_description": { + "$ref": "#/components/schemas/ml._types:DataDescription" + }, + "datafeed_config": { + "$ref": "#/components/schemas/ml._types:Datafeed" + }, + "description": { + "type": "string" + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "job_type": { + "type": "string" + }, + "job_version": { + "type": "string" + }, + "model_plot_config": { + "$ref": "#/components/schemas/ml._types:ModelPlotConfig" + }, + "model_snapshot_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "model_snapshot_retention_days": { + "type": "number" + }, + "renormalization_window_days": { + "type": "number" + }, + "results_index_name": { + "type": "string" + }, + "results_retention_days": { + "type": "number" + } + }, + "required": [ + "allow_lazy_open", + "analysis_config", + "analysis_limits", + "create_time", + "daily_model_snapshot_retention_after_days", + "data_description", + "job_id", + "job_type", + "job_version", + "model_snapshot_retention_days", + "results_index_name" + ] + } + } + } + } + } + } + }, + "/_ml/trained_models/{model_id}{?defer_definition_decompression}": { + "put": { + "description": "Creates an inference trained model.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-models.html" + }, + "operationId": "ml.put_trained_model#0", + "parameters": [ + { + "in": "path", + "name": "model_id", + "description": "The unique identifier of the trained model.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "defer_definition_decompression", + "description": "If set to `true` and a `compressed_definition` is provided, the request defers definition decompression and skips relevant validations.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "compressed_definition": { + "description": "The compressed (GZipped and Base64 encoded) inference definition of the\nmodel. If compressed_definition is specified, then definition cannot be\nspecified.", + "type": "string" + }, + "definition": { + "$ref": "#/components/schemas/ml.put_trained_model:Definition" + }, + "description": { + "description": "A human-readable description of the inference trained model.", + "type": "string" + }, + "inference_config": { + "$ref": "#/components/schemas/ml._types:InferenceConfigCreateContainer" + }, + "input": { + "$ref": "#/components/schemas/ml.put_trained_model:Input" + }, + "metadata": { + "description": "An object map that contains metadata about the model.", + "type": "object" + }, + "model_type": { + "$ref": "#/components/schemas/ml._types:TrainedModelType" + }, + "model_size_bytes": { + "description": "The estimated memory usage in bytes to keep the trained model in memory.\nThis property is supported only if defer_definition_decompression is true\nor the model definition is not supplied.", + "type": "number" + }, + "tags": { + "description": "An array of tags to organize the model.", + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ml._types:TrainedModelConfig" + } + } + } + } + } + } + }, + "/_ml/trained_models/{model_id}/model_aliases/{model_alias}{?reassign}": { + "put": { + "description": "Creates a new model alias (or reassigns an existing one) to refer to the trained model", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-models-aliases.html" + }, + "operationId": "ml.put_trained_model_alias#0", + "parameters": [ + { + "in": "path", + "name": "model_id", + "description": "The identifier for the trained model that the alias refers to.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "model_alias", + "description": "The alias to create or update. This value cannot end in numbers.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "reassign", + "description": "Specifies whether the alias gets reassigned to the specified trained\nmodel if it is already assigned to a different model. If the alias is\nalready assigned and this parameter is false, the API returns an error.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/trained_models/{model_id}/definition/{part}": { + "put": { + "description": "Creates part of a trained model definition", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-model-definition-part.html" + }, + "operationId": "ml.put_trained_model_definition_part#0", + "parameters": [ + { + "in": "path", + "name": "model_id", + "description": "The unique identifier of the trained model.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "part", + "description": "The definition part number. When the definition is loaded for inference the definition parts are streamed in the\norder of their part number. The first part must be `0` and the final part must be `total_parts - 1`.", + "required": true, + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "definition": { + "description": "The definition part for the model. Must be a base64 encoded string.", + "type": "string" + }, + "total_definition_length": { + "description": "The total uncompressed definition length in bytes. Not base64 encoded.", + "type": "number" + }, + "total_parts": { + "description": "The total number of parts that will be uploaded. Must be greater than 0.", + "type": "number" + } + }, + "required": [ + "definition", + "total_definition_length", + "total_parts" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/trained_models/{model_id}/vocabulary": { + "put": { + "description": "Creates a trained model vocabulary", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-model-vocabulary.html" + }, + "operationId": "ml.put_trained_model_vocabulary#0", + "parameters": [ + { + "in": "path", + "name": "model_id", + "description": "The unique identifier of the trained model.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "vocabulary": { + "description": "The model vocabulary, which must not be empty.", + "type": "array", + "items": { + "type": "string" + } + }, + "merges": { + "description": "The optional model merges if required by the tokenizer.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "vocabulary" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/_reset{?wait_for_completion,delete_user_annotations}": { + "post": { + "description": "Resets an existing anomaly detection job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-reset-job.html" + }, + "operationId": "ml.reset_job#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "The ID of the job to reset.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "wait_for_completion", + "description": "Should this request wait until the operation has completed before\nreturning.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "delete_user_annotations", + "description": "Specifies whether annotations that have been added by the\nuser should be deleted along with any auto-generated annotations when the job is\nreset.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert{?delete_intervening_results}": { + "post": { + "description": "Reverts to a specific snapshot.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-revert-snapshot.html" + }, + "operationId": "ml.revert_model_snapshot#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "snapshot_id", + "description": "You can specify `empty` as the . Reverting to the empty\nsnapshot means the anomaly detection job starts learning a new model from\nscratch when it is started.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "delete_intervening_results", + "description": "If true, deletes the results in the time period between the latest\nresults and the time of the reverted snapshot. It also resets the model\nto accept records for this time period. If you choose not to delete\nintervening results when reverting a snapshot, the job will not accept\ninput data that is older than the current time. If you want to resend\ndata, then delete the intervening results.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "delete_intervening_results": { + "description": "Refer to the description for the `delete_intervening_results` query parameter.", + "type": "boolean" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "model": { + "$ref": "#/components/schemas/ml._types:ModelSnapshot" + } + }, + "required": [ + "model" + ] + } + } + } + } + } + } + }, + "/_ml/set_upgrade_mode{?enabled,timeout}": { + "post": { + "description": "Sets a cluster wide upgrade_mode setting that prepares machine learning indices for an upgrade.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-set-upgrade-mode.html" + }, + "operationId": "ml.set_upgrade_mode#0", + "parameters": [ + { + "in": "query", + "name": "enabled", + "description": "When `true`, it enables `upgrade_mode` which temporarily halts all job\nand datafeed tasks and prohibits new job and datafeed tasks from\nstarting.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "The time to wait for the request to be completed.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/data_frame/analytics/{id}/_start{?timeout}": { + "post": { + "description": "Starts a data frame analytics job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/start-dfanalytics.html" + }, + "operationId": "ml.start_data_frame_analytics#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Controls the amount of time to wait until the data frame analytics job\nstarts.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "node": { + "$ref": "#/components/schemas/_types:NodeId" + } + }, + "required": [ + "acknowledged", + "node" + ] + } + } + } + } + } + } + }, + "/_ml/datafeeds/{datafeed_id}/_start{?end,start,timeout}": { + "post": { + "description": "Starts one or more datafeeds.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html" + }, + "operationId": "ml.start_datafeed#0", + "parameters": [ + { + "in": "path", + "name": "datafeed_id", + "description": "A numerical character string that uniquely identifies the datafeed. This identifier can contain lowercase\nalphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric\ncharacters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "end", + "description": "The time that the datafeed should end, which can be specified by using one of the following formats:\n\n* ISO 8601 format with milliseconds, for example `2017-01-22T06:00:00.000Z`\n* ISO 8601 format without milliseconds, for example `2017-01-22T06:00:00+00:00`\n* Milliseconds since the epoch, for example `1485061200000`\n\nDate-time arguments using either of the ISO 8601 formats must have a time zone designator, where `Z` is accepted\nas an abbreviation for UTC time. When a URL is expected (for example, in browsers), the `+` used in time zone\ndesignators must be encoded as `%2B`.\nThe end time value is exclusive. If you do not specify an end time, the datafeed\nruns continuously.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + { + "in": "query", + "name": "start", + "description": "The time that the datafeed should begin, which can be specified by using the same formats as the `end` parameter.\nThis value is inclusive.\nIf you do not specify a start time and the datafeed is associated with a new anomaly detection job, the analysis\nstarts from the earliest time for which data is available.\nIf you restart a stopped datafeed and specify a start value that is earlier than the timestamp of the latest\nprocessed record, the datafeed continues from 1 millisecond after the timestamp of the latest processed record.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait until a datafeed starts.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "end": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "start": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "timeout": { + "$ref": "#/components/schemas/_types:Duration" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "node": { + "$ref": "#/components/schemas/_types:NodeIds" + }, + "started": { + "description": "For a successful response, this value is always `true`. On failure, an exception is returned instead.", + "type": "boolean" + } + }, + "required": [ + "node", + "started" + ] + } + } + } + } + } + } + }, + "/_ml/trained_models/{model_id}/deployment/_start{?cache_size,number_of_allocations,priority,queue_capacity,threads_per_allocation,timeout,wait_for}": { + "post": { + "description": "Start a trained model deployment.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/start-trained-model-deployment.html" + }, + "operationId": "ml.start_trained_model_deployment#0", + "parameters": [ + { + "in": "path", + "name": "model_id", + "description": "The unique identifier of the trained model. Currently, only PyTorch models are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "cache_size", + "description": "The inference cache size (in memory outside the JVM heap) per node for the model.\nThe default value is the same size as the `model_size_bytes`. To disable the cache,\n`0b` can be provided.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "style": "form" + }, + { + "in": "query", + "name": "number_of_allocations", + "description": "The number of model allocations on each node where the model is deployed.\nAll allocations on a node share the same copy of the model in memory but use\na separate set of threads to evaluate the model.\nIncreasing this value generally increases the throughput.\nIf this setting is greater than the number of hardware threads\nit will automatically be changed to a value less than the number of hardware threads.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "priority", + "description": "The deployment priority.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/ml._types:TrainingPriority" + }, + "style": "form" + }, + { + "in": "query", + "name": "queue_capacity", + "description": "Specifies the number of inference requests that are allowed in the queue. After the number of requests exceeds\nthis value, new requests are rejected with a 429 error.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "threads_per_allocation", + "description": "Sets the number of threads used by each model allocation during inference. This generally increases\nthe inference speed. The inference process is a compute-bound process; any number\ngreater than the number of available hardware threads on the machine does not increase the\ninference speed. If this setting is greater than the number of hardware threads\nit will automatically be changed to a value less than the number of hardware threads.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the model to deploy.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for", + "description": "Specifies the allocation status to wait for before returning.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/ml._types:DeploymentAllocationState" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "assignment": { + "$ref": "#/components/schemas/ml._types:TrainedModelAssignment" + } + }, + "required": [ + "assignment" + ] + } + } + } + } + } + } + }, + "/_ml/data_frame/analytics/{id}/_stop{?allow_no_match,force,timeout}": { + "post": { + "description": "Stops one or more data frame analytics jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-dfanalytics.html" + }, + "operationId": "ml.stop_data_frame_analytics#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no data frame analytics\njobs that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value is true, which returns an empty data_frame_analytics\narray when there are no matches and the subset of results when there are\npartial matches. If this parameter is false, the request returns a 404\nstatus code when there are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "force", + "description": "If true, the data frame analytics job is stopped forcefully.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Controls the amount of time to wait until the data frame analytics job\nstops. Defaults to 20 seconds.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "stopped": { + "type": "boolean" + } + }, + "required": [ + "stopped" + ] + } + } + } + } + } + } + }, + "/_ml/datafeeds/{datafeed_id}/_stop{?allow_no_match,force,timeout}": { + "post": { + "description": "Stops one or more datafeeds.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-stop-datafeed.html" + }, + "operationId": "ml.stop_datafeed#0", + "parameters": [ + { + "in": "path", + "name": "datafeed_id", + "description": "Identifier for the datafeed. You can stop multiple datafeeds in a single API request by using a comma-separated\nlist of datafeeds or a wildcard expression. You can close all datafeeds by using `_all` or by specifying `*` as\nthe identifier.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n* Contains wildcard expressions and there are no datafeeds that match.\n* Contains the `_all` string or no identifiers and there are no matches.\n* Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the API returns an empty datafeeds array when there are no matches and the subset of results when\nthere are partial matches. If `false`, the API returns a 404 status code when there are no matches or only\npartial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "force", + "description": "If `true`, the datafeed is stopped forcefully.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait until a datafeed stops.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_no_match": { + "description": "Refer to the description for the `allow_no_match` query parameter.", + "type": "boolean" + }, + "force": { + "description": "Refer to the description for the `force` query parameter.", + "type": "boolean" + }, + "timeout": { + "$ref": "#/components/schemas/_types:Duration" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "stopped": { + "type": "boolean" + } + }, + "required": [ + "stopped" + ] + } + } + } + } + } + } + }, + "/_ml/trained_models/{model_id}/deployment/_stop{?allow_no_match,force}": { + "post": { + "description": "Stop a trained model deployment.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/stop-trained-model-deployment.html" + }, + "operationId": "ml.stop_trained_model_deployment#0", + "parameters": [ + { + "in": "path", + "name": "model_id", + "description": "The unique identifier of the trained model.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request: contains wildcard expressions and there are no deployments that match;\ncontains the `_all` string or no identifiers and there are no matches; or contains wildcard expressions and\nthere are only partial matches. By default, it returns an empty array when there are no matches and the subset of results when there are partial matches.\nIf `false`, the request returns a 404 status code when there are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "force", + "description": "Forcefully stops the deployment, even if it is used by ingest pipelines. You can't use these pipelines until you\nrestart the model deployment.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "stopped": { + "type": "boolean" + } + }, + "required": [ + "stopped" + ] + } + } + } + } + } + } + }, + "/_ml/data_frame/analytics/{id}/_update": { + "post": { + "description": "Updates certain properties of a data frame analytics job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/update-dfanalytics.html" + }, + "operationId": "ml.update_data_frame_analytics#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "description": { + "description": "A description of the job.", + "type": "string" + }, + "model_memory_limit": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-settings.html" + }, + "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try\nto create data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", + "type": "string" + }, + "max_num_threads": { + "description": "The maximum number of threads to be used by the analysis. Using more\nthreads may decrease the time necessary to complete the analysis at the\ncost of using more CPU. Note that the process may use additional threads\nfor operational functionality other than the analysis itself.", + "type": "number" + }, + "allow_lazy_start": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-settings.html" + }, + "description": "Specifies whether this job can start when there is insufficient machine\nlearning node capacity for it to be immediately assigned to a node.", + "type": "boolean" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorization": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsAuthorization" + }, + "allow_lazy_start": { + "type": "boolean" + }, + "analysis": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" + }, + "analyzed_fields": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" + }, + "create_time": { + "type": "number" + }, + "description": { + "type": "string" + }, + "dest": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsDestination" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max_num_threads": { + "type": "number" + }, + "model_memory_limit": { + "type": "string" + }, + "source": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "allow_lazy_start", + "analysis", + "create_time", + "dest", + "id", + "max_num_threads", + "model_memory_limit", + "source", + "version" + ] + } + } + } + } + } + } + }, + "/_ml/datafeeds/{datafeed_id}/_update{?allow_no_indices,expand_wildcards,ignore_throttled,ignore_unavailable}": { + "post": { + "description": "Updates certain properties of a datafeed.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html" + }, + "operationId": "ml.update_datafeed#0", + "parameters": [ + { + "in": "path", + "name": "datafeed_id", + "description": "A numerical character string that uniquely identifies the datafeed.\nThis identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores.\nIt must start and end with alphanumeric characters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If `true`, wildcard indices expressions that resolve into no concrete indices are ignored. This includes the\n`_all` string or when no indices are specified.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match. If the request can target data streams, this argument determines\nwhether wildcard expressions match hidden data streams. Supports comma-separated values. Valid values are:\n\n* `all`: Match any data stream or index, including hidden ones.\n* `closed`: Match closed, non-hidden indices. Also matches any non-hidden data stream. Data streams cannot be closed.\n* `hidden`: Match hidden data streams and hidden indices. Must be combined with `open`, `closed`, or both.\n* `none`: Wildcard patterns are not accepted.\n* `open`: Match open, non-hidden indices. Also matches any non-hidden data stream.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_throttled", + "description": "If `true`, concrete, expanded or aliased indices are ignored when frozen.", + "deprecated": true, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If `true`, unavailable indices (missing or closed) are ignored.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aggregations": { + "description": "If set, the datafeed performs aggregation searches. Support for aggregations is limited and should be used only\nwith low cardinality data.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "chunking_config": { + "$ref": "#/components/schemas/ml._types:ChunkingConfig" + }, + "delayed_data_check_config": { + "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "indices": { + "description": "An array of index names. Wildcards are supported. If any of the indices are in remote clusters, the machine\nlearning nodes must have the `remote_cluster_client` role.", + "type": "array", + "items": { + "type": "string" + } + }, + "indices_options": { + "$ref": "#/components/schemas/_types:IndicesOptions" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max_empty_searches": { + "description": "If a real-time datafeed has never seen any data (including during any initial training period), it automatically\nstops and closes the associated job after this many real-time searches return no documents. In other words,\nit stops after `frequency` times `max_empty_searches` of real-time operation. If not set, a datafeed with no\nend time that sees no data remains started until it is explicitly stopped. By default, it is not set.", + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "query_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "script_fields": { + "description": "Specifies scripts that evaluate custom expressions and returns script fields to the datafeed.\nThe detector configuration objects in a job can contain functions that use these script fields.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "scroll_size": { + "description": "The size parameter that is used in Elasticsearch searches when the datafeed does not use aggregations.\nThe maximum value is the value of `index.max_result_window`.", + "type": "number" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorization": { + "$ref": "#/components/schemas/ml._types:DatafeedAuthorization" + }, + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "chunking_config": { + "$ref": "#/components/schemas/ml._types:ChunkingConfig" + }, + "delayed_data_check_config": { + "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" + }, + "datafeed_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "indices": { + "type": "array", + "items": { + "type": "string" + } + }, + "indices_options": { + "$ref": "#/components/schemas/_types:IndicesOptions" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max_empty_searches": { + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "query_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "script_fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "scroll_size": { + "type": "number" + } + }, + "required": [ + "chunking_config", + "datafeed_id", + "indices", + "job_id", + "query", + "query_delay", + "scroll_size" + ] + } + } + } + } + } + } + }, + "/_ml/filters/{filter_id}/_update": { + "post": { + "description": "Updates the description of a filter, adds items, or removes items.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-filter.html" + }, + "operationId": "ml.update_filter#0", + "parameters": [ + { + "in": "path", + "name": "filter_id", + "description": "A string that uniquely identifies a filter.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "add_items": { + "description": "The items to add to the filter.", + "type": "array", + "items": { + "type": "string" + } + }, + "description": { + "description": "A description for the filter.", + "type": "string" + }, + "remove_items": { + "description": "The items to remove from the filter.", + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "filter_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "items": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "description", + "filter_id", + "items" + ] + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/_update": { + "post": { + "description": "Updates certain properties of an anomaly detection job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html" + }, + "operationId": "ml.update_job#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "Identifier for the job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_lazy_open": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-settings.html" + }, + "description": "Advanced configuration option. Specifies whether this job can open when\nthere is insufficient machine learning node capacity for it to be\nimmediately assigned to a node. If `false` and a machine learning node\nwith capacity to run the job cannot immediately be found, the open\nanomaly detection jobs API returns an error. However, this is also\nsubject to the cluster-wide `xpack.ml.max_lazy_ml_nodes` setting. If this\noption is set to `true`, the open anomaly detection jobs API does not\nreturn an error and the job waits in the opening state until sufficient\nmachine learning node capacity is available.", + "type": "boolean" + }, + "analysis_limits": { + "$ref": "#/components/schemas/ml._types:AnalysisMemoryLimit" + }, + "background_persist_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "custom_settings": { + "description": "Advanced configuration option. Contains custom meta data about the job.\nFor example, it can contain custom URL information as shown in Adding\ncustom URLs to machine learning results.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "categorization_filters": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": { + "description": "A description of the job.", + "type": "string" + }, + "model_plot_config": { + "$ref": "#/components/schemas/ml._types:ModelPlotConfig" + }, + "model_prune_window": { + "$ref": "#/components/schemas/_types:Duration" + }, + "daily_model_snapshot_retention_after_days": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/machine-learning/{branch}/ml-ad-run-jobs.html#ml-ad-model-snapshots" + }, + "description": "Advanced configuration option, which affects the automatic removal of old\nmodel snapshots for this job. It specifies a period of time (in days)\nafter which only the first snapshot per day is retained. This period is\nrelative to the timestamp of the most recent snapshot for this job. Valid\nvalues range from 0 to `model_snapshot_retention_days`. For jobs created\nbefore version 7.8.0, the default value matches\n`model_snapshot_retention_days`.", + "type": "number" + }, + "model_snapshot_retention_days": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/machine-learning/{branch}/ml-ad-run-jobs.html#ml-ad-model-snapshots" + }, + "description": "Advanced configuration option, which affects the automatic removal of old\nmodel snapshots for this job. It specifies the maximum period of time (in\ndays) that snapshots are retained. This period is relative to the\ntimestamp of the most recent snapshot for this job.", + "type": "number" + }, + "renormalization_window_days": { + "description": "Advanced configuration option. The period over which adjustments to the\nscore are applied, as new data is seen.", + "type": "number" + }, + "results_retention_days": { + "description": "Advanced configuration option. The period of time (in days) that results\nare retained. Age is calculated relative to the timestamp of the latest\nbucket result. If this property has a non-null value, once per day at\n00:30 (server time), results that are the specified number of days older\nthan the latest bucket result are deleted from Elasticsearch. The default\nvalue is null, which means all results are retained.", + "type": "number" + }, + "groups": { + "description": "A list of job groups. A job can belong to no groups or many.", + "type": "array", + "items": { + "type": "string" + } + }, + "detectors": { + "description": "An array of detector update objects.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Detector" + } + }, + "per_partition_categorization": { + "$ref": "#/components/schemas/ml._types:PerPartitionCategorization" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_lazy_open": { + "type": "boolean" + }, + "analysis_config": { + "$ref": "#/components/schemas/ml._types:AnalysisConfigRead" + }, + "analysis_limits": { + "$ref": "#/components/schemas/ml._types:AnalysisLimits" + }, + "background_persist_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "create_time": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "finished_time": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "custom_settings": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "daily_model_snapshot_retention_after_days": { + "type": "number" + }, + "data_description": { + "$ref": "#/components/schemas/ml._types:DataDescription" + }, + "datafeed_config": { + "$ref": "#/components/schemas/ml._types:Datafeed" + }, + "description": { + "type": "string" + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "job_type": { + "type": "string" + }, + "job_version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "model_plot_config": { + "$ref": "#/components/schemas/ml._types:ModelPlotConfig" + }, + "model_snapshot_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "model_snapshot_retention_days": { + "type": "number" + }, + "renormalization_window_days": { + "type": "number" + }, + "results_index_name": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "results_retention_days": { + "type": "number" + } + }, + "required": [ + "allow_lazy_open", + "analysis_config", + "analysis_limits", + "create_time", + "daily_model_snapshot_retention_after_days", + "data_description", + "job_id", + "job_type", + "job_version", + "model_snapshot_retention_days", + "results_index_name" + ] + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update": { + "post": { + "description": "Updates certain properties of a snapshot.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-snapshot.html" + }, + "operationId": "ml.update_model_snapshot#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "snapshot_id", + "description": "Identifier for the model snapshot.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "description": { + "description": "A description of the model snapshot.", + "type": "string" + }, + "retain": { + "description": "If `true`, this snapshot will not be deleted during automatic cleanup of\nsnapshots older than `model_snapshot_retention_days`. However, this\nsnapshot will be deleted when the job is deleted.", + "type": "boolean" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "model": { + "$ref": "#/components/schemas/ml._types:ModelSnapshot" + } + }, + "required": [ + "acknowledged", + "model" + ] + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade{?wait_for_completion,timeout}": { + "post": { + "description": "Upgrades a given job snapshot to the current major version.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-upgrade-job-model-snapshot.html" + }, + "operationId": "ml.upgrade_job_snapshot#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "snapshot_id", + "description": "A numerical character string that uniquely identifies the model snapshot.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "wait_for_completion", + "description": "When true, the API won’t respond until the upgrade is complete.\nOtherwise, it responds as soon as the upgrade task is assigned to a node.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Controls the time to wait for the request to complete.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "node": { + "$ref": "#/components/schemas/_types:NodeId" + }, + "completed": { + "description": "When true, this means the task is complete. When false, it is still running.", + "type": "boolean" + } + }, + "required": [ + "node", + "completed" + ] + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/_validate": { + "post": { + "description": "Validates an anomaly detection job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-jobs.html" + }, + "operationId": "ml.validate#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "analysis_config": { + "$ref": "#/components/schemas/ml._types:AnalysisConfig" + }, + "analysis_limits": { + "$ref": "#/components/schemas/ml._types:AnalysisLimits" + }, + "data_description": { + "$ref": "#/components/schemas/ml._types:DataDescription" + }, + "description": { + "type": "string" + }, + "model_plot": { + "$ref": "#/components/schemas/ml._types:ModelPlotConfig" + }, + "model_snapshot_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "model_snapshot_retention_days": { + "type": "number" + }, + "results_index_name": { + "$ref": "#/components/schemas/_types:IndexName" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/_validate/detector": { + "post": { + "description": "Validates an anomaly detection detector.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-jobs.html" + }, + "operationId": "ml.validate_detector#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ml._types:Detector" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_monitoring/bulk{?system_id,system_api_version,interval}": { + "put": { + "description": "Used by the monitoring features to send monitoring data.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/monitor-elasticsearch-cluster.html" + }, + "operationId": "monitoring.bulk#1", + "parameters": [ + { + "$ref": "#/components/parameters/monitoring.bulk#system_id" + }, + { + "$ref": "#/components/parameters/monitoring.bulk#system_api_version" + }, + { + "$ref": "#/components/parameters/monitoring.bulk#interval" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/monitoring.bulk" + }, + "responses": { + "200": { + "$ref": "#/components/responses/monitoring.bulk#200" + } + } + }, + "post": { + "description": "Used by the monitoring features to send monitoring data.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/monitor-elasticsearch-cluster.html" + }, + "operationId": "monitoring.bulk#0", + "parameters": [ + { + "$ref": "#/components/parameters/monitoring.bulk#system_id" + }, + { + "$ref": "#/components/parameters/monitoring.bulk#system_api_version" + }, + { + "$ref": "#/components/parameters/monitoring.bulk#interval" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/monitoring.bulk" + }, + "responses": { + "200": { + "$ref": "#/components/responses/monitoring.bulk#200" + } + } + } + }, + "/_monitoring/{type}/bulk{?system_id,system_api_version,interval}": { + "put": { + "description": "Used by the monitoring features to send monitoring data.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/monitor-elasticsearch-cluster.html" + }, + "operationId": "monitoring.bulk#3", + "parameters": [ + { + "$ref": "#/components/parameters/monitoring.bulk#type" + }, + { + "$ref": "#/components/parameters/monitoring.bulk#system_id" + }, + { + "$ref": "#/components/parameters/monitoring.bulk#system_api_version" + }, + { + "$ref": "#/components/parameters/monitoring.bulk#interval" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/monitoring.bulk" + }, + "responses": { + "200": { + "$ref": "#/components/responses/monitoring.bulk#200" + } + } + }, + "post": { + "description": "Used by the monitoring features to send monitoring data.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/monitor-elasticsearch-cluster.html" + }, + "operationId": "monitoring.bulk#2", + "parameters": [ + { + "$ref": "#/components/parameters/monitoring.bulk#type" + }, + { + "$ref": "#/components/parameters/monitoring.bulk#system_id" + }, + { + "$ref": "#/components/parameters/monitoring.bulk#system_api_version" + }, + { + "$ref": "#/components/parameters/monitoring.bulk#interval" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/monitoring.bulk" + }, + "responses": { + "200": { + "$ref": "#/components/responses/monitoring.bulk#200" + } + } + } + }, + "/_msearch{?allow_no_indices,ccs_minimize_roundtrips,expand_wildcards,ignore_throttled,ignore_unavailable,max_concurrent_searches,max_concurrent_shard_requests,pre_filter_shard_size,rest_total_hits_as_int,routing,search_type,typed_keys}": { + "get": { + "description": "Allows to execute several search operations in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html" + }, + "operationId": "msearch#0", + "parameters": [ + { + "$ref": "#/components/parameters/msearch#allow_no_indices" + }, + { + "$ref": "#/components/parameters/msearch#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/msearch#expand_wildcards" + }, + { + "$ref": "#/components/parameters/msearch#ignore_throttled" + }, + { + "$ref": "#/components/parameters/msearch#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/msearch#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/msearch#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/msearch#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/msearch#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/msearch#routing" + }, + { + "$ref": "#/components/parameters/msearch#search_type" + }, + { + "$ref": "#/components/parameters/msearch#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/msearch" + }, + "responses": { + "200": { + "$ref": "#/components/responses/msearch#200" + } + } + }, + "post": { + "description": "Allows to execute several search operations in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html" + }, + "operationId": "msearch#1", + "parameters": [ + { + "$ref": "#/components/parameters/msearch#allow_no_indices" + }, + { + "$ref": "#/components/parameters/msearch#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/msearch#expand_wildcards" + }, + { + "$ref": "#/components/parameters/msearch#ignore_throttled" + }, + { + "$ref": "#/components/parameters/msearch#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/msearch#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/msearch#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/msearch#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/msearch#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/msearch#routing" + }, + { + "$ref": "#/components/parameters/msearch#search_type" + }, + { + "$ref": "#/components/parameters/msearch#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/msearch" + }, + "responses": { + "200": { + "$ref": "#/components/responses/msearch#200" + } + } + } + }, + "/{index}/_msearch{?allow_no_indices,ccs_minimize_roundtrips,expand_wildcards,ignore_throttled,ignore_unavailable,max_concurrent_searches,max_concurrent_shard_requests,pre_filter_shard_size,rest_total_hits_as_int,routing,search_type,typed_keys}": { + "get": { + "description": "Allows to execute several search operations in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html" + }, + "operationId": "msearch#2", + "parameters": [ + { + "$ref": "#/components/parameters/msearch#index" + }, + { + "$ref": "#/components/parameters/msearch#allow_no_indices" + }, + { + "$ref": "#/components/parameters/msearch#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/msearch#expand_wildcards" + }, + { + "$ref": "#/components/parameters/msearch#ignore_throttled" + }, + { + "$ref": "#/components/parameters/msearch#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/msearch#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/msearch#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/msearch#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/msearch#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/msearch#routing" + }, + { + "$ref": "#/components/parameters/msearch#search_type" + }, + { + "$ref": "#/components/parameters/msearch#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/msearch" + }, + "responses": { + "200": { + "$ref": "#/components/responses/msearch#200" + } + } + }, + "post": { + "description": "Allows to execute several search operations in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html" + }, + "operationId": "msearch#3", + "parameters": [ + { + "$ref": "#/components/parameters/msearch#index" + }, + { + "$ref": "#/components/parameters/msearch#allow_no_indices" + }, + { + "$ref": "#/components/parameters/msearch#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/msearch#expand_wildcards" + }, + { + "$ref": "#/components/parameters/msearch#ignore_throttled" + }, + { + "$ref": "#/components/parameters/msearch#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/msearch#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/msearch#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/msearch#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/msearch#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/msearch#routing" + }, + { + "$ref": "#/components/parameters/msearch#search_type" + }, + { + "$ref": "#/components/parameters/msearch#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/msearch" + }, + "responses": { + "200": { + "$ref": "#/components/responses/msearch#200" + } + } + } + }, + "/_msearch/template{?ccs_minimize_roundtrips,max_concurrent_searches,search_type,rest_total_hits_as_int,typed_keys}": { + "get": { + "description": "Allows to execute several search template operations in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html" + }, + "operationId": "msearch_template#0", + "parameters": [ + { + "$ref": "#/components/parameters/msearch_template#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/msearch_template#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/msearch_template#search_type" + }, + { + "$ref": "#/components/parameters/msearch_template#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/msearch_template#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/msearch_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/msearch_template#200" + } + } + }, + "post": { + "description": "Allows to execute several search template operations in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html" + }, + "operationId": "msearch_template#1", + "parameters": [ + { + "$ref": "#/components/parameters/msearch_template#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/msearch_template#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/msearch_template#search_type" + }, + { + "$ref": "#/components/parameters/msearch_template#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/msearch_template#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/msearch_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/msearch_template#200" + } + } + } + }, + "/{index}/_msearch/template{?ccs_minimize_roundtrips,max_concurrent_searches,search_type,rest_total_hits_as_int,typed_keys}": { + "get": { + "description": "Allows to execute several search template operations in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html" + }, + "operationId": "msearch_template#2", + "parameters": [ + { + "$ref": "#/components/parameters/msearch_template#index" + }, + { + "$ref": "#/components/parameters/msearch_template#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/msearch_template#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/msearch_template#search_type" + }, + { + "$ref": "#/components/parameters/msearch_template#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/msearch_template#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/msearch_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/msearch_template#200" + } + } + }, + "post": { + "description": "Allows to execute several search template operations in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html" + }, + "operationId": "msearch_template#3", + "parameters": [ + { + "$ref": "#/components/parameters/msearch_template#index" + }, + { + "$ref": "#/components/parameters/msearch_template#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/msearch_template#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/msearch_template#search_type" + }, + { + "$ref": "#/components/parameters/msearch_template#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/msearch_template#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/msearch_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/msearch_template#200" + } + } + } + }, + "/_mtermvectors{?ids,fields,field_statistics,offsets,payloads,positions,preference,realtime,routing,term_statistics,version,version_type}": { + "get": { + "description": "Returns multiple termvectors in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" + }, + "operationId": "mtermvectors#0", + "parameters": [ + { + "$ref": "#/components/parameters/mtermvectors#ids" + }, + { + "$ref": "#/components/parameters/mtermvectors#fields" + }, + { + "$ref": "#/components/parameters/mtermvectors#field_statistics" + }, + { + "$ref": "#/components/parameters/mtermvectors#offsets" + }, + { + "$ref": "#/components/parameters/mtermvectors#payloads" + }, + { + "$ref": "#/components/parameters/mtermvectors#positions" + }, + { + "$ref": "#/components/parameters/mtermvectors#preference" + }, + { + "$ref": "#/components/parameters/mtermvectors#realtime" + }, + { + "$ref": "#/components/parameters/mtermvectors#routing" + }, + { + "$ref": "#/components/parameters/mtermvectors#term_statistics" + }, + { + "$ref": "#/components/parameters/mtermvectors#version" + }, + { + "$ref": "#/components/parameters/mtermvectors#version_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/mtermvectors" + }, + "responses": { + "200": { + "$ref": "#/components/responses/mtermvectors#200" + } + } + }, + "post": { + "description": "Returns multiple termvectors in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" + }, + "operationId": "mtermvectors#1", + "parameters": [ + { + "$ref": "#/components/parameters/mtermvectors#ids" + }, + { + "$ref": "#/components/parameters/mtermvectors#fields" + }, + { + "$ref": "#/components/parameters/mtermvectors#field_statistics" + }, + { + "$ref": "#/components/parameters/mtermvectors#offsets" + }, + { + "$ref": "#/components/parameters/mtermvectors#payloads" + }, + { + "$ref": "#/components/parameters/mtermvectors#positions" + }, + { + "$ref": "#/components/parameters/mtermvectors#preference" + }, + { + "$ref": "#/components/parameters/mtermvectors#realtime" + }, + { + "$ref": "#/components/parameters/mtermvectors#routing" + }, + { + "$ref": "#/components/parameters/mtermvectors#term_statistics" + }, + { + "$ref": "#/components/parameters/mtermvectors#version" + }, + { + "$ref": "#/components/parameters/mtermvectors#version_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/mtermvectors" + }, + "responses": { + "200": { + "$ref": "#/components/responses/mtermvectors#200" + } + } + } + }, + "/{index}/_mtermvectors{?ids,fields,field_statistics,offsets,payloads,positions,preference,realtime,routing,term_statistics,version,version_type}": { + "get": { + "description": "Returns multiple termvectors in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" + }, + "operationId": "mtermvectors#2", + "parameters": [ + { + "$ref": "#/components/parameters/mtermvectors#index" + }, + { + "$ref": "#/components/parameters/mtermvectors#ids" + }, + { + "$ref": "#/components/parameters/mtermvectors#fields" + }, + { + "$ref": "#/components/parameters/mtermvectors#field_statistics" + }, + { + "$ref": "#/components/parameters/mtermvectors#offsets" + }, + { + "$ref": "#/components/parameters/mtermvectors#payloads" + }, + { + "$ref": "#/components/parameters/mtermvectors#positions" + }, + { + "$ref": "#/components/parameters/mtermvectors#preference" + }, + { + "$ref": "#/components/parameters/mtermvectors#realtime" + }, + { + "$ref": "#/components/parameters/mtermvectors#routing" + }, + { + "$ref": "#/components/parameters/mtermvectors#term_statistics" + }, + { + "$ref": "#/components/parameters/mtermvectors#version" + }, + { + "$ref": "#/components/parameters/mtermvectors#version_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/mtermvectors" + }, + "responses": { + "200": { + "$ref": "#/components/responses/mtermvectors#200" + } + } + }, + "post": { + "description": "Returns multiple termvectors in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" + }, + "operationId": "mtermvectors#3", + "parameters": [ + { + "$ref": "#/components/parameters/mtermvectors#index" + }, + { + "$ref": "#/components/parameters/mtermvectors#ids" + }, + { + "$ref": "#/components/parameters/mtermvectors#fields" + }, + { + "$ref": "#/components/parameters/mtermvectors#field_statistics" + }, + { + "$ref": "#/components/parameters/mtermvectors#offsets" + }, + { + "$ref": "#/components/parameters/mtermvectors#payloads" + }, + { + "$ref": "#/components/parameters/mtermvectors#positions" + }, + { + "$ref": "#/components/parameters/mtermvectors#preference" + }, + { + "$ref": "#/components/parameters/mtermvectors#realtime" + }, + { + "$ref": "#/components/parameters/mtermvectors#routing" + }, + { + "$ref": "#/components/parameters/mtermvectors#term_statistics" + }, + { + "$ref": "#/components/parameters/mtermvectors#version" + }, + { + "$ref": "#/components/parameters/mtermvectors#version_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/mtermvectors" + }, + "responses": { + "200": { + "$ref": "#/components/responses/mtermvectors#200" + } + } + } + }, + "/_nodes/{node_id}/_repositories_metering/{max_archive_version}": { + "put": { + "description": "Removes the archived repositories metering information present in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-repositories-metering-archive-api.html" + }, + "operationId": "nodes.clear_repositories_metering_archive#0", + "parameters": [ + { + "in": "path", + "name": "node_id", + "description": "Comma-separated list of node IDs or names used to limit returned information.\nAll the nodes selective options are explained [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster.html#cluster-nodes).", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:NodeIds" + }, + "style": "simple" + }, + { + "in": "path", + "name": "max_archive_version", + "description": "Specifies the maximum [archive_version](https://www.elastic.co/guide/en/elasticsearch/reference/current/get-repositories-metering-api.html#get-repositories-metering-api-response-body) to be cleared from the archive.", + "required": true, + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/nodes.clear_repositories_metering_archive:ResponseBase" + } + } + } + } + } + } + }, + "/_nodes/{node_id}/_repositories_metering": { + "get": { + "description": "Returns cluster repositories metering information.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-repositories-metering-api.html" + }, + "operationId": "nodes.get_repositories_metering_info#0", + "parameters": [ + { + "in": "path", + "name": "node_id", + "description": "Comma-separated list of node IDs or names used to limit returned information.\nAll the nodes selective options are explained [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster.html#cluster-nodes).", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:NodeIds" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/nodes.get_repositories_metering_info:ResponseBase" + } + } + } + } + } + } + }, + "/_nodes/hot_threads{?ignore_idle_threads,interval,snapshots,master_timeout,threads,timeout,type,sort}": { + "get": { + "description": "Returns information about hot threads on each node in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-hot-threads.html" + }, + "operationId": "nodes.hot_threads#0", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.hot_threads#ignore_idle_threads" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#interval" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#snapshots" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#threads" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#timeout" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#type" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#sort" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.hot_threads#200" + } + } + } + }, + "/_nodes/{node_id}/hot_threads{?ignore_idle_threads,interval,snapshots,master_timeout,threads,timeout,type,sort}": { + "get": { + "description": "Returns information about hot threads on each node in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-hot-threads.html" + }, + "operationId": "nodes.hot_threads#1", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.hot_threads#node_id" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#ignore_idle_threads" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#interval" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#snapshots" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#threads" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#timeout" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#type" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#sort" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.hot_threads#200" + } + } + } + }, + "/_nodes{?flat_settings,master_timeout,timeout}": { + "get": { + "description": "Returns information about nodes in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-info.html" + }, + "operationId": "nodes.info#0", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.info#flat_settings" + }, + { + "$ref": "#/components/parameters/nodes.info#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.info#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.info#200" + } + } + } + }, + "/_nodes/{node_id}{?flat_settings,master_timeout,timeout}": { + "get": { + "description": "Returns information about nodes in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-info.html" + }, + "operationId": "nodes.info#1", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.info#node_id" + }, + { + "$ref": "#/components/parameters/nodes.info#flat_settings" + }, + { + "$ref": "#/components/parameters/nodes.info#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.info#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.info#200" + } + } + } + }, + "/_nodes/{metric}{?flat_settings,master_timeout,timeout}": { + "get": { + "description": "Returns information about nodes in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-info.html" + }, + "operationId": "nodes.info#2", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.info#metric" + }, + { + "$ref": "#/components/parameters/nodes.info#flat_settings" + }, + { + "$ref": "#/components/parameters/nodes.info#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.info#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.info#200" + } + } + } + }, + "/_nodes/{node_id}/{metric}{?flat_settings,master_timeout,timeout}": { + "get": { + "description": "Returns information about nodes in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-info.html" + }, + "operationId": "nodes.info#3", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.info#node_id" + }, + { + "$ref": "#/components/parameters/nodes.info#metric" + }, + { + "$ref": "#/components/parameters/nodes.info#flat_settings" + }, + { + "$ref": "#/components/parameters/nodes.info#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.info#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.info#200" + } + } + } + }, + "/_nodes/reload_secure_settings{?timeout}": { + "post": { + "description": "Reloads secure settings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/secure-settings.html#reloadable-secure-settings" + }, + "operationId": "nodes.reload_secure_settings#0", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.reload_secure_settings#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/nodes.reload_secure_settings" + }, + "responses": { + "200": { + "$ref": "#/components/responses/nodes.reload_secure_settings#200" + } + } + } + }, + "/_nodes/{node_id}/reload_secure_settings{?timeout}": { + "post": { + "description": "Reloads secure settings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/secure-settings.html#reloadable-secure-settings" + }, + "operationId": "nodes.reload_secure_settings#1", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.reload_secure_settings#node_id" + }, + { + "$ref": "#/components/parameters/nodes.reload_secure_settings#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/nodes.reload_secure_settings" + }, + "responses": { + "200": { + "$ref": "#/components/responses/nodes.reload_secure_settings#200" + } + } + } + }, + "/_nodes/stats{?completion_fields,fielddata_fields,fields,groups,include_segment_file_sizes,level,master_timeout,timeout,types,include_unloaded_segments}": { + "get": { + "description": "Returns statistical information about nodes in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-stats.html" + }, + "operationId": "nodes.stats#0", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.stats#completion_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fielddata_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#groups" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" + }, + { + "$ref": "#/components/parameters/nodes.stats#level" + }, + { + "$ref": "#/components/parameters/nodes.stats#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#types" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.stats#200" + } + } + } + }, + "/_nodes/{node_id}/stats{?completion_fields,fielddata_fields,fields,groups,include_segment_file_sizes,level,master_timeout,timeout,types,include_unloaded_segments}": { + "get": { + "description": "Returns statistical information about nodes in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-stats.html" + }, + "operationId": "nodes.stats#1", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.stats#node_id" + }, + { + "$ref": "#/components/parameters/nodes.stats#completion_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fielddata_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#groups" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" + }, + { + "$ref": "#/components/parameters/nodes.stats#level" + }, + { + "$ref": "#/components/parameters/nodes.stats#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#types" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.stats#200" + } + } + } + }, + "/_nodes/stats/{metric}{?completion_fields,fielddata_fields,fields,groups,include_segment_file_sizes,level,master_timeout,timeout,types,include_unloaded_segments}": { + "get": { + "description": "Returns statistical information about nodes in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-stats.html" + }, + "operationId": "nodes.stats#2", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.stats#metric" + }, + { + "$ref": "#/components/parameters/nodes.stats#completion_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fielddata_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#groups" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" + }, + { + "$ref": "#/components/parameters/nodes.stats#level" + }, + { + "$ref": "#/components/parameters/nodes.stats#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#types" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.stats#200" + } + } + } + }, + "/_nodes/{node_id}/stats/{metric}{?completion_fields,fielddata_fields,fields,groups,include_segment_file_sizes,level,master_timeout,timeout,types,include_unloaded_segments}": { + "get": { + "description": "Returns statistical information about nodes in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-stats.html" + }, + "operationId": "nodes.stats#3", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.stats#node_id" + }, + { + "$ref": "#/components/parameters/nodes.stats#metric" + }, + { + "$ref": "#/components/parameters/nodes.stats#completion_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fielddata_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#groups" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" + }, + { + "$ref": "#/components/parameters/nodes.stats#level" + }, + { + "$ref": "#/components/parameters/nodes.stats#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#types" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.stats#200" + } + } + } + }, + "/_nodes/stats/{metric}/{index_metric}{?completion_fields,fielddata_fields,fields,groups,include_segment_file_sizes,level,master_timeout,timeout,types,include_unloaded_segments}": { + "get": { + "description": "Returns statistical information about nodes in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-stats.html" + }, + "operationId": "nodes.stats#4", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.stats#metric" + }, + { + "$ref": "#/components/parameters/nodes.stats#index_metric" + }, + { + "$ref": "#/components/parameters/nodes.stats#completion_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fielddata_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#groups" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" + }, + { + "$ref": "#/components/parameters/nodes.stats#level" + }, + { + "$ref": "#/components/parameters/nodes.stats#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#types" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.stats#200" + } + } + } + }, + "/_nodes/{node_id}/stats/{metric}/{index_metric}{?completion_fields,fielddata_fields,fields,groups,include_segment_file_sizes,level,master_timeout,timeout,types,include_unloaded_segments}": { + "get": { + "description": "Returns statistical information about nodes in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-stats.html" + }, + "operationId": "nodes.stats#5", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.stats#node_id" + }, + { + "$ref": "#/components/parameters/nodes.stats#metric" + }, + { + "$ref": "#/components/parameters/nodes.stats#index_metric" + }, + { + "$ref": "#/components/parameters/nodes.stats#completion_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fielddata_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#groups" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" + }, + { + "$ref": "#/components/parameters/nodes.stats#level" + }, + { + "$ref": "#/components/parameters/nodes.stats#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#types" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.stats#200" + } + } + } + }, + "/_nodes/usage{?timeout}": { + "get": { + "description": "Returns low-level information about REST actions usage on nodes.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-usage.html" + }, + "operationId": "nodes.usage#0", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.usage#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.usage#200" + } + } + } + }, + "/_nodes/{node_id}/usage{?timeout}": { + "get": { + "description": "Returns low-level information about REST actions usage on nodes.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-usage.html" + }, + "operationId": "nodes.usage#1", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.usage#node_id" + }, + { + "$ref": "#/components/parameters/nodes.usage#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.usage#200" + } + } + } + }, + "/_nodes/usage/{metric}{?timeout}": { + "get": { + "description": "Returns low-level information about REST actions usage on nodes.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-usage.html" + }, + "operationId": "nodes.usage#2", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.usage#metric" + }, + { + "$ref": "#/components/parameters/nodes.usage#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.usage#200" + } + } + } + }, + "/_nodes/{node_id}/usage/{metric}{?timeout}": { + "get": { + "description": "Returns low-level information about REST actions usage on nodes.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-usage.html" + }, + "operationId": "nodes.usage#3", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.usage#node_id" + }, + { + "$ref": "#/components/parameters/nodes.usage#metric" + }, + { + "$ref": "#/components/parameters/nodes.usage#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.usage#200" + } + } + } + }, + "/{index}/_pit{?keep_alive,ignore_unavailable,preference,routing,expand_wildcards}": { + "post": { + "description": "Open a point in time that can be used in subsequent searches", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/point-in-time-api.html" + }, + "operationId": "open_point_in_time#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "A comma-separated list of index names to open point in time; use `_all` or empty string to perform the operation on all indices", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "keep_alive", + "description": "Specific the time to live for the point in time", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "preference", + "description": "Specify the node or shard the operation should be performed on (default: random)", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "routing", + "description": "Specific routing value", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "required": [ + "id" + ] + } + } + } + } + } + } + }, + "/_scripts/{id}/{context}{?master_timeout,timeout}": { + "put": { + "description": "Creates or updates a script.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" + }, + "operationId": "put_script#2", + "parameters": [ + { + "$ref": "#/components/parameters/put_script#id" + }, + { + "$ref": "#/components/parameters/put_script#context" + }, + { + "$ref": "#/components/parameters/put_script#master_timeout" + }, + { + "$ref": "#/components/parameters/put_script#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/put_script" + }, + "responses": { + "200": { + "$ref": "#/components/responses/put_script#200" + } + } + }, + "post": { + "description": "Creates or updates a script.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" + }, + "operationId": "put_script#3", + "parameters": [ + { + "$ref": "#/components/parameters/put_script#id" + }, + { + "$ref": "#/components/parameters/put_script#context" + }, + { + "$ref": "#/components/parameters/put_script#master_timeout" + }, + { + "$ref": "#/components/parameters/put_script#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/put_script" + }, + "responses": { + "200": { + "$ref": "#/components/responses/put_script#200" + } + } + } + }, + "/_query_rules/{ruleset_id}": { + "put": { + "description": "Creates or updates a query ruleset.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-query-ruleset.html" + }, + "operationId": "query_ruleset.put#0", + "parameters": [ + { + "in": "path", + "name": "ruleset_id", + "description": "The unique identifier of the query ruleset to be created or updated", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/query_ruleset._types:QueryRuleset" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/components/schemas/_types:Result" + } + }, + "required": [ + "result" + ] + } + } + } + } + } + } + }, + "/_query_rules{?from,size}": { + "get": { + "description": "Lists query rulesets.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-query-rulesets.html" + }, + "operationId": "query_ruleset.list#0", + "parameters": [ + { + "in": "query", + "name": "from", + "description": "Starting offset (default: 0)", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "size", + "description": "specifies a max number of results to get", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/query_ruleset.list:QueryRulesetListItem" + } + } + }, + "required": [ + "count", + "results" + ] + } + } + } + } + } + } + }, + "/_rank_eval{?allow_no_indices,expand_wildcards,ignore_unavailable,search_type}": { + "get": { + "description": "Allows to evaluate the quality of ranked search results over a set of typical search queries", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html" + }, + "operationId": "rank_eval#0", + "parameters": [ + { + "$ref": "#/components/parameters/rank_eval#allow_no_indices" + }, + { + "$ref": "#/components/parameters/rank_eval#expand_wildcards" + }, + { + "$ref": "#/components/parameters/rank_eval#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/rank_eval#search_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/rank_eval" + }, + "responses": { + "200": { + "$ref": "#/components/responses/rank_eval#200" + } + } + }, + "post": { + "description": "Allows to evaluate the quality of ranked search results over a set of typical search queries", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html" + }, + "operationId": "rank_eval#1", + "parameters": [ + { + "$ref": "#/components/parameters/rank_eval#allow_no_indices" + }, + { + "$ref": "#/components/parameters/rank_eval#expand_wildcards" + }, + { + "$ref": "#/components/parameters/rank_eval#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/rank_eval#search_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/rank_eval" + }, + "responses": { + "200": { + "$ref": "#/components/responses/rank_eval#200" + } + } + } + }, + "/{index}/_rank_eval{?allow_no_indices,expand_wildcards,ignore_unavailable,search_type}": { + "get": { + "description": "Allows to evaluate the quality of ranked search results over a set of typical search queries", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html" + }, + "operationId": "rank_eval#2", + "parameters": [ + { + "$ref": "#/components/parameters/rank_eval#index" + }, + { + "$ref": "#/components/parameters/rank_eval#allow_no_indices" + }, + { + "$ref": "#/components/parameters/rank_eval#expand_wildcards" + }, + { + "$ref": "#/components/parameters/rank_eval#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/rank_eval#search_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/rank_eval" + }, + "responses": { + "200": { + "$ref": "#/components/responses/rank_eval#200" + } + } + }, + "post": { + "description": "Allows to evaluate the quality of ranked search results over a set of typical search queries", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html" + }, + "operationId": "rank_eval#3", + "parameters": [ + { + "$ref": "#/components/parameters/rank_eval#index" + }, + { + "$ref": "#/components/parameters/rank_eval#allow_no_indices" + }, + { + "$ref": "#/components/parameters/rank_eval#expand_wildcards" + }, + { + "$ref": "#/components/parameters/rank_eval#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/rank_eval#search_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/rank_eval" + }, + "responses": { + "200": { + "$ref": "#/components/responses/rank_eval#200" + } + } + } + }, + "/_reindex{?refresh,requests_per_second,scroll,slices,timeout,wait_for_active_shards,wait_for_completion,require_alias}": { + "post": { + "description": "Allows to copy documents from one index to another, optionally filtering the source\ndocuments by a query, changing the destination index settings, or fetching the\ndocuments from a remote cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html" + }, + "operationId": "reindex#0", + "parameters": [ + { + "in": "query", + "name": "refresh", + "description": "Should the affected indexes be refreshed?", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "requests_per_second", + "description": "The throttle to set on this request in sub-requests per second. -1 means no throttle.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "scroll", + "description": "Control how long to keep the search context alive", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "slices", + "description": "The number of slices this task should be divided into. Defaults to 1, meaning the task isn't sliced into subtasks. Can be set to `auto`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Slices" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Time each individual bulk request should wait for shards that are unavailable.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_active_shards", + "description": "Sets the number of shard copies that must be active before proceeding with the reindex operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_completion", + "description": "Should the request should block until the reindex is complete.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "require_alias", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "conflicts": { + "$ref": "#/components/schemas/_types:Conflicts" + }, + "dest": { + "$ref": "#/components/schemas/_global.reindex:Destination" + }, + "max_docs": { + "type": "number" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "size": { + "type": "number" + }, + "source": { + "$ref": "#/components/schemas/_global.reindex:Source" + } + }, + "required": [ + "dest", + "source" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "batches": { + "type": "number" + }, + "created": { + "type": "number" + }, + "deleted": { + "type": "number" + }, + "failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:BulkIndexByScrollFailure" + } + }, + "noops": { + "type": "number" + }, + "retries": { + "$ref": "#/components/schemas/_types:Retries" + }, + "requests_per_second": { + "type": "number" + }, + "slice_id": { + "type": "number" + }, + "task": { + "$ref": "#/components/schemas/_types:TaskId" + }, + "throttled_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "throttled_until_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "timed_out": { + "type": "boolean" + }, + "took": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total": { + "type": "number" + }, + "updated": { + "type": "number" + }, + "version_conflicts": { + "type": "number" + } + } + } + } + } + } + } + } + }, + "/_reindex/{task_id}/_rethrottle{?requests_per_second}": { + "post": { + "description": "Changes the number of requests per second for a particular Reindex operation.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html" + }, + "operationId": "reindex_rethrottle#0", + "parameters": [ + { + "in": "path", + "name": "task_id", + "description": "The task id to rethrottle", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "requests_per_second", + "description": "The throttle to set on this request in floating sub-requests per second. -1 means set no throttle.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.reindex_rethrottle:ReindexNode" + } + } + }, + "required": [ + "nodes" + ] + } + } + } + } + } + } + }, + "/_render/template": { + "get": { + "description": "Allows to use the Mustache language to pre-render a search definition.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/render-search-template-api.html" + }, + "operationId": "render_search_template#0", + "requestBody": { + "$ref": "#/components/requestBodies/render_search_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/render_search_template#200" + } + } + }, + "post": { + "description": "Allows to use the Mustache language to pre-render a search definition.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/render-search-template-api.html" + }, + "operationId": "render_search_template#1", + "requestBody": { + "$ref": "#/components/requestBodies/render_search_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/render_search_template#200" + } + } + } + }, + "/_render/template/{id}": { + "get": { + "description": "Allows to use the Mustache language to pre-render a search definition.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/render-search-template-api.html" + }, + "operationId": "render_search_template#2", + "parameters": [ + { + "$ref": "#/components/parameters/render_search_template#id" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/render_search_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/render_search_template#200" + } + } + }, + "post": { + "description": "Allows to use the Mustache language to pre-render a search definition.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/render-search-template-api.html" + }, + "operationId": "render_search_template#3", + "parameters": [ + { + "$ref": "#/components/parameters/render_search_template#id" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/render_search_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/render_search_template#200" + } + } + } + }, + "/_rollup/job/{id}": { + "put": { + "description": "Creates a rollup job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-put-job.html" + }, + "operationId": "rollup.put_job#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the rollup job. This can be any alphanumeric string and uniquely identifies the\ndata that is associated with the rollup job. The ID is persistent; it is stored with the rolled\nup data. If you create a job, let it run for a while, then delete the job, the data that the job\nrolled up is still be associated with this job ID. You cannot create a new job with the same ID\nsince that could lead to problems with mismatched job configurations.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "cron": { + "description": "A cron string which defines the intervals when the rollup job should be executed. When the interval\ntriggers, the indexer attempts to rollup the data in the index pattern. The cron pattern is unrelated\nto the time interval of the data being rolled up. For example, you may wish to create hourly rollups\nof your document but to only run the indexer on a daily basis at midnight, as defined by the cron. The\ncron pattern is defined just like a Watcher cron schedule.", + "type": "string" + }, + "groups": { + "$ref": "#/components/schemas/rollup._types:Groupings" + }, + "index_pattern": { + "description": "The index or index pattern to roll up. Supports wildcard-style patterns (`logstash-*`). The job attempts to\nrollup the entire index or index-pattern.", + "type": "string" + }, + "metrics": { + "description": "Defines the metrics to collect for each grouping tuple. By default, only the doc_counts are collected for each\ngroup. To make rollup useful, you will often add metrics like averages, mins, maxes, etc. Metrics are defined\non a per-field basis and for each field you configure which metric should be collected.", + "type": "array", + "items": { + "$ref": "#/components/schemas/rollup._types:FieldMetric" + } + }, + "page_size": { + "description": "The number of bucket results that are processed on each iteration of the rollup indexer. A larger value tends\nto execute faster, but requires more memory during processing. This value has no effect on how the data is\nrolled up; it is merely used for tweaking the speed or memory cost of the indexer.", + "type": "number" + }, + "rollup_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "headers": { + "$ref": "#/components/schemas/_types:HttpHeaders" + } + }, + "required": [ + "cron", + "groups", + "index_pattern", + "page_size", + "rollup_index" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_rollup/job": { + "get": { + "description": "Retrieves the configuration, stats, and status of rollup jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-job.html" + }, + "operationId": "rollup.get_jobs#1", + "responses": { + "200": { + "$ref": "#/components/responses/rollup.get_jobs#200" + } + } + } + }, + "/_rollup/data/{id}": { + "get": { + "description": "Returns the capabilities of any rollup jobs that have been configured for a specific index or index pattern.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-rollup-caps.html" + }, + "operationId": "rollup.get_rollup_caps#0", + "parameters": [ + { + "$ref": "#/components/parameters/rollup.get_rollup_caps#id" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/rollup.get_rollup_caps#200" + } + } + } + }, + "/_rollup/data": { + "get": { + "description": "Returns the capabilities of any rollup jobs that have been configured for a specific index or index pattern.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-rollup-caps.html" + }, + "operationId": "rollup.get_rollup_caps#1", + "responses": { + "200": { + "$ref": "#/components/responses/rollup.get_rollup_caps#200" + } + } + } + }, + "/{index}/_rollup/data": { + "get": { + "description": "Returns the rollup capabilities of all jobs inside of a rollup index (e.g. the index where rollup data is stored).", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-rollup-index-caps.html" + }, + "operationId": "rollup.get_rollup_index_caps#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "The rollup index or index pattern to obtain rollup capabilities from.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Ids" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/rollup.get_rollup_index_caps:IndexCapabilities" + } + } + } + } + } + } + } + }, + "/{index}/_rollup_search{?rest_total_hits_as_int,typed_keys}": { + "get": { + "description": "Enables searching rolled-up data using the standard query DSL.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-search.html" + }, + "operationId": "rollup.rollup_search#0", + "parameters": [ + { + "$ref": "#/components/parameters/rollup.rollup_search#index" + }, + { + "$ref": "#/components/parameters/rollup.rollup_search#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/rollup.rollup_search#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/rollup.rollup_search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/rollup.rollup_search#200" + } + } + }, + "post": { + "description": "Enables searching rolled-up data using the standard query DSL.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-search.html" + }, + "operationId": "rollup.rollup_search#1", + "parameters": [ + { + "$ref": "#/components/parameters/rollup.rollup_search#index" + }, + { + "$ref": "#/components/parameters/rollup.rollup_search#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/rollup.rollup_search#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/rollup.rollup_search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/rollup.rollup_search#200" + } + } + } + }, + "/_rollup/job/{id}/_start": { + "post": { + "description": "Starts an existing, stopped rollup job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-start-job.html" + }, + "operationId": "rollup.start_job#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The ID of the job to start", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "started": { + "type": "boolean" + } + }, + "required": [ + "started" + ] + } + } + } + } + } + } + }, + "/_rollup/job/{id}/_stop{?timeout,wait_for_completion}": { + "post": { + "description": "Stops an existing, started rollup job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-stop-job.html" + }, + "operationId": "rollup.stop_job#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The ID of the job to stop", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Block for (at maximum) the specified duration while waiting for the job to stop. Defaults to 30s.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_completion", + "description": "True if the API should block until the job has fully stopped, false if should be executed async. Defaults to false.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "stopped": { + "type": "boolean" + } + }, + "required": [ + "stopped" + ] + } + } + } + } + } + } + }, + "/_scripts/painless/_execute": { + "get": { + "description": "Allows an arbitrary script to be executed and a result to be returned", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-execute-api.html" + }, + "operationId": "scripts_painless_execute#0", + "requestBody": { + "$ref": "#/components/requestBodies/scripts_painless_execute" + }, + "responses": { + "200": { + "$ref": "#/components/responses/scripts_painless_execute#200" + } + } + }, + "post": { + "description": "Allows an arbitrary script to be executed and a result to be returned", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-execute-api.html" + }, + "operationId": "scripts_painless_execute#1", + "requestBody": { + "$ref": "#/components/requestBodies/scripts_painless_execute" + }, + "responses": { + "200": { + "$ref": "#/components/responses/scripts_painless_execute#200" + } + } + } + }, + "/_search/scroll{?scroll,scroll_id,rest_total_hits_as_int}": { + "get": { + "description": "Allows to retrieve a large numbers of results from a single search request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" + }, + "operationId": "scroll#0", + "parameters": [ + { + "$ref": "#/components/parameters/scroll#scroll" + }, + { + "$ref": "#/components/parameters/scroll#scroll_id" + }, + { + "$ref": "#/components/parameters/scroll#rest_total_hits_as_int" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/scroll" + }, + "responses": { + "200": { + "$ref": "#/components/responses/scroll#200" + } + } + }, + "post": { + "description": "Allows to retrieve a large numbers of results from a single search request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" + }, + "operationId": "scroll#1", + "parameters": [ + { + "$ref": "#/components/parameters/scroll#scroll" + }, + { + "$ref": "#/components/parameters/scroll#scroll_id" + }, + { + "$ref": "#/components/parameters/scroll#rest_total_hits_as_int" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/scroll" + }, + "responses": { + "200": { + "$ref": "#/components/responses/scroll#200" + } + } + } + }, + "/_search/scroll/{scroll_id}{?scroll,scroll_id,rest_total_hits_as_int}": { + "get": { + "description": "Allows to retrieve a large numbers of results from a single search request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" + }, + "operationId": "scroll#2", + "parameters": [ + { + "$ref": "#/components/parameters/scroll#scroll_id" + }, + { + "$ref": "#/components/parameters/scroll#scroll" + }, + { + "$ref": "#/components/parameters/scroll#scroll_id" + }, + { + "$ref": "#/components/parameters/scroll#rest_total_hits_as_int" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/scroll" + }, + "responses": { + "200": { + "$ref": "#/components/responses/scroll#200" + } + } + }, + "post": { + "description": "Allows to retrieve a large numbers of results from a single search request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" + }, + "operationId": "scroll#3", + "parameters": [ + { + "$ref": "#/components/parameters/scroll#scroll_id" + }, + { + "$ref": "#/components/parameters/scroll#scroll" + }, + { + "$ref": "#/components/parameters/scroll#scroll_id" + }, + { + "$ref": "#/components/parameters/scroll#rest_total_hits_as_int" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/scroll" + }, + "responses": { + "200": { + "$ref": "#/components/responses/scroll#200" + } + } + } + }, + "/_search{?allow_no_indices,allow_partial_search_results,analyzer,analyze_wildcard,batched_reduce_size,ccs_minimize_roundtrips,default_operator,df,docvalue_fields,expand_wildcards,explain,ignore_throttled,ignore_unavailable,lenient,max_concurrent_shard_requests,min_compatible_shard_node,preference,pre_filter_shard_size,request_cache,routing,scroll,search_type,stats,stored_fields,suggest_field,suggest_mode,suggest_size,suggest_text,terminate_after,timeout,track_total_hits,track_scores,typed_keys,rest_total_hits_as_int,version,_source,_source_excludes,_source_includes,seq_no_primary_term,q,size,from,sort}": { + "get": { + "description": "Returns results matching a query.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" + }, + "operationId": "search#0", + "parameters": [ + { + "$ref": "#/components/parameters/search#allow_no_indices" + }, + { + "$ref": "#/components/parameters/search#allow_partial_search_results" + }, + { + "$ref": "#/components/parameters/search#analyzer" + }, + { + "$ref": "#/components/parameters/search#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/search#batched_reduce_size" + }, + { + "$ref": "#/components/parameters/search#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/search#default_operator" + }, + { + "$ref": "#/components/parameters/search#df" + }, + { + "$ref": "#/components/parameters/search#docvalue_fields" + }, + { + "$ref": "#/components/parameters/search#expand_wildcards" + }, + { + "$ref": "#/components/parameters/search#explain" + }, + { + "$ref": "#/components/parameters/search#ignore_throttled" + }, + { + "$ref": "#/components/parameters/search#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/search#lenient" + }, + { + "$ref": "#/components/parameters/search#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/search#min_compatible_shard_node" + }, + { + "$ref": "#/components/parameters/search#preference" + }, + { + "$ref": "#/components/parameters/search#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/search#request_cache" + }, + { + "$ref": "#/components/parameters/search#routing" + }, + { + "$ref": "#/components/parameters/search#scroll" + }, + { + "$ref": "#/components/parameters/search#search_type" + }, + { + "$ref": "#/components/parameters/search#stats" + }, + { + "$ref": "#/components/parameters/search#stored_fields" + }, + { + "$ref": "#/components/parameters/search#suggest_field" + }, + { + "$ref": "#/components/parameters/search#suggest_mode" + }, + { + "$ref": "#/components/parameters/search#suggest_size" + }, + { + "$ref": "#/components/parameters/search#suggest_text" + }, + { + "$ref": "#/components/parameters/search#terminate_after" + }, + { + "$ref": "#/components/parameters/search#timeout" + }, + { + "$ref": "#/components/parameters/search#track_total_hits" + }, + { + "$ref": "#/components/parameters/search#track_scores" + }, + { + "$ref": "#/components/parameters/search#typed_keys" + }, + { + "$ref": "#/components/parameters/search#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/search#version" + }, + { + "$ref": "#/components/parameters/search#_source" + }, + { + "$ref": "#/components/parameters/search#_source_excludes" + }, + { + "$ref": "#/components/parameters/search#_source_includes" + }, + { + "$ref": "#/components/parameters/search#seq_no_primary_term" + }, + { + "$ref": "#/components/parameters/search#q" + }, + { + "$ref": "#/components/parameters/search#size" + }, + { + "$ref": "#/components/parameters/search#from" + }, + { + "$ref": "#/components/parameters/search#sort" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search#200" + } + } + }, + "post": { + "description": "Returns results matching a query.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" + }, + "operationId": "search#1", + "parameters": [ + { + "$ref": "#/components/parameters/search#allow_no_indices" + }, + { + "$ref": "#/components/parameters/search#allow_partial_search_results" + }, + { + "$ref": "#/components/parameters/search#analyzer" + }, + { + "$ref": "#/components/parameters/search#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/search#batched_reduce_size" + }, + { + "$ref": "#/components/parameters/search#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/search#default_operator" + }, + { + "$ref": "#/components/parameters/search#df" + }, + { + "$ref": "#/components/parameters/search#docvalue_fields" + }, + { + "$ref": "#/components/parameters/search#expand_wildcards" + }, + { + "$ref": "#/components/parameters/search#explain" + }, + { + "$ref": "#/components/parameters/search#ignore_throttled" + }, + { + "$ref": "#/components/parameters/search#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/search#lenient" + }, + { + "$ref": "#/components/parameters/search#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/search#min_compatible_shard_node" + }, + { + "$ref": "#/components/parameters/search#preference" + }, + { + "$ref": "#/components/parameters/search#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/search#request_cache" + }, + { + "$ref": "#/components/parameters/search#routing" + }, + { + "$ref": "#/components/parameters/search#scroll" + }, + { + "$ref": "#/components/parameters/search#search_type" + }, + { + "$ref": "#/components/parameters/search#stats" + }, + { + "$ref": "#/components/parameters/search#stored_fields" + }, + { + "$ref": "#/components/parameters/search#suggest_field" + }, + { + "$ref": "#/components/parameters/search#suggest_mode" + }, + { + "$ref": "#/components/parameters/search#suggest_size" + }, + { + "$ref": "#/components/parameters/search#suggest_text" + }, + { + "$ref": "#/components/parameters/search#terminate_after" + }, + { + "$ref": "#/components/parameters/search#timeout" + }, + { + "$ref": "#/components/parameters/search#track_total_hits" + }, + { + "$ref": "#/components/parameters/search#track_scores" + }, + { + "$ref": "#/components/parameters/search#typed_keys" + }, + { + "$ref": "#/components/parameters/search#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/search#version" + }, + { + "$ref": "#/components/parameters/search#_source" + }, + { + "$ref": "#/components/parameters/search#_source_excludes" + }, + { + "$ref": "#/components/parameters/search#_source_includes" + }, + { + "$ref": "#/components/parameters/search#seq_no_primary_term" + }, + { + "$ref": "#/components/parameters/search#q" + }, + { + "$ref": "#/components/parameters/search#size" + }, + { + "$ref": "#/components/parameters/search#from" + }, + { + "$ref": "#/components/parameters/search#sort" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search#200" + } + } + } + }, + "/{index}/_search{?allow_no_indices,allow_partial_search_results,analyzer,analyze_wildcard,batched_reduce_size,ccs_minimize_roundtrips,default_operator,df,docvalue_fields,expand_wildcards,explain,ignore_throttled,ignore_unavailable,lenient,max_concurrent_shard_requests,min_compatible_shard_node,preference,pre_filter_shard_size,request_cache,routing,scroll,search_type,stats,stored_fields,suggest_field,suggest_mode,suggest_size,suggest_text,terminate_after,timeout,track_total_hits,track_scores,typed_keys,rest_total_hits_as_int,version,_source,_source_excludes,_source_includes,seq_no_primary_term,q,size,from,sort}": { + "get": { + "description": "Returns results matching a query.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" + }, + "operationId": "search#2", + "parameters": [ + { + "$ref": "#/components/parameters/search#index" + }, + { + "$ref": "#/components/parameters/search#allow_no_indices" + }, + { + "$ref": "#/components/parameters/search#allow_partial_search_results" + }, + { + "$ref": "#/components/parameters/search#analyzer" + }, + { + "$ref": "#/components/parameters/search#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/search#batched_reduce_size" + }, + { + "$ref": "#/components/parameters/search#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/search#default_operator" + }, + { + "$ref": "#/components/parameters/search#df" + }, + { + "$ref": "#/components/parameters/search#docvalue_fields" + }, + { + "$ref": "#/components/parameters/search#expand_wildcards" + }, + { + "$ref": "#/components/parameters/search#explain" + }, + { + "$ref": "#/components/parameters/search#ignore_throttled" + }, + { + "$ref": "#/components/parameters/search#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/search#lenient" + }, + { + "$ref": "#/components/parameters/search#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/search#min_compatible_shard_node" + }, + { + "$ref": "#/components/parameters/search#preference" + }, + { + "$ref": "#/components/parameters/search#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/search#request_cache" + }, + { + "$ref": "#/components/parameters/search#routing" + }, + { + "$ref": "#/components/parameters/search#scroll" + }, + { + "$ref": "#/components/parameters/search#search_type" + }, + { + "$ref": "#/components/parameters/search#stats" + }, + { + "$ref": "#/components/parameters/search#stored_fields" + }, + { + "$ref": "#/components/parameters/search#suggest_field" + }, + { + "$ref": "#/components/parameters/search#suggest_mode" + }, + { + "$ref": "#/components/parameters/search#suggest_size" + }, + { + "$ref": "#/components/parameters/search#suggest_text" + }, + { + "$ref": "#/components/parameters/search#terminate_after" + }, + { + "$ref": "#/components/parameters/search#timeout" + }, + { + "$ref": "#/components/parameters/search#track_total_hits" + }, + { + "$ref": "#/components/parameters/search#track_scores" + }, + { + "$ref": "#/components/parameters/search#typed_keys" + }, + { + "$ref": "#/components/parameters/search#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/search#version" + }, + { + "$ref": "#/components/parameters/search#_source" + }, + { + "$ref": "#/components/parameters/search#_source_excludes" + }, + { + "$ref": "#/components/parameters/search#_source_includes" + }, + { + "$ref": "#/components/parameters/search#seq_no_primary_term" + }, + { + "$ref": "#/components/parameters/search#q" + }, + { + "$ref": "#/components/parameters/search#size" + }, + { + "$ref": "#/components/parameters/search#from" + }, + { + "$ref": "#/components/parameters/search#sort" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search#200" + } + } + }, + "post": { + "description": "Returns results matching a query.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" + }, + "operationId": "search#3", + "parameters": [ + { + "$ref": "#/components/parameters/search#index" + }, + { + "$ref": "#/components/parameters/search#allow_no_indices" + }, + { + "$ref": "#/components/parameters/search#allow_partial_search_results" + }, + { + "$ref": "#/components/parameters/search#analyzer" + }, + { + "$ref": "#/components/parameters/search#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/search#batched_reduce_size" + }, + { + "$ref": "#/components/parameters/search#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/search#default_operator" + }, + { + "$ref": "#/components/parameters/search#df" + }, + { + "$ref": "#/components/parameters/search#docvalue_fields" + }, + { + "$ref": "#/components/parameters/search#expand_wildcards" + }, + { + "$ref": "#/components/parameters/search#explain" + }, + { + "$ref": "#/components/parameters/search#ignore_throttled" + }, + { + "$ref": "#/components/parameters/search#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/search#lenient" + }, + { + "$ref": "#/components/parameters/search#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/search#min_compatible_shard_node" + }, + { + "$ref": "#/components/parameters/search#preference" + }, + { + "$ref": "#/components/parameters/search#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/search#request_cache" + }, + { + "$ref": "#/components/parameters/search#routing" + }, + { + "$ref": "#/components/parameters/search#scroll" + }, + { + "$ref": "#/components/parameters/search#search_type" + }, + { + "$ref": "#/components/parameters/search#stats" + }, + { + "$ref": "#/components/parameters/search#stored_fields" + }, + { + "$ref": "#/components/parameters/search#suggest_field" + }, + { + "$ref": "#/components/parameters/search#suggest_mode" + }, + { + "$ref": "#/components/parameters/search#suggest_size" + }, + { + "$ref": "#/components/parameters/search#suggest_text" + }, + { + "$ref": "#/components/parameters/search#terminate_after" + }, + { + "$ref": "#/components/parameters/search#timeout" + }, + { + "$ref": "#/components/parameters/search#track_total_hits" + }, + { + "$ref": "#/components/parameters/search#track_scores" + }, + { + "$ref": "#/components/parameters/search#typed_keys" + }, + { + "$ref": "#/components/parameters/search#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/search#version" + }, + { + "$ref": "#/components/parameters/search#_source" + }, + { + "$ref": "#/components/parameters/search#_source_excludes" + }, + { + "$ref": "#/components/parameters/search#_source_includes" + }, + { + "$ref": "#/components/parameters/search#seq_no_primary_term" + }, + { + "$ref": "#/components/parameters/search#q" + }, + { + "$ref": "#/components/parameters/search#size" + }, + { + "$ref": "#/components/parameters/search#from" + }, + { + "$ref": "#/components/parameters/search#sort" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search#200" + } + } + } + }, + "/_application/search_application/{name}": { + "get": { + "description": "Returns the details about a search application.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-search-application.html" + }, + "operationId": "search_application.get#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "The name of the search application", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/search_application._types:SearchApplication" + } + } + } + } + } + } + }, + "/_application/analytics/{name}": { + "put": { + "description": "Creates a behavioral analytics collection.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-analytics-collection.html" + }, + "operationId": "search_application.put_behavioral_analytics#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "The name of the analytics collection to be created or updated", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/search_application.put_behavioral_analytics:AnalyticsAcknowledgeResponseBase" + } + } + } + } + } + } + }, + "/_application/analytics": { + "get": { + "description": "Returns the existing behavioral analytics collections.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-analytics-collection.html" + }, + "operationId": "search_application.get_behavioral_analytics#0", + "responses": { + "200": { + "$ref": "#/components/responses/search_application.get_behavioral_analytics#200" + } + } + } + }, + "/_application/search_application{?q,from,size}": { + "get": { + "description": "Returns the existing search applications.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-search-applications.html" + }, + "operationId": "search_application.list#0", + "parameters": [ + { + "in": "query", + "name": "q", + "description": "Query in the Lucene query string syntax\"", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "from", + "description": "Starting offset (default: 0)", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "size", + "description": "specifies a max number of results to get", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/search_application.list:SearchApplicationListItem" + } + } + }, + "required": [ + "count", + "results" + ] + } + } + } + } + } + } + }, + "/_application/search_application/{name}{?create}": { + "put": { + "description": "Creates or updates a search application.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-search-application.html" + }, + "operationId": "search_application.put#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "The name of the search application to be created or updated", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "create", + "description": "If true, requires that a search application with the specified resource_id does not already exist. (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/search_application._types:SearchApplication" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/components/schemas/_types:Result" + } + }, + "required": [ + "result" + ] + } + } + } + } + } + } + }, + "/_application/search_application/{name}/_search": { + "get": { + "description": "Perform a search against a search application", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-application-search.html" + }, + "operationId": "search_application.search#0", + "parameters": [ + { + "$ref": "#/components/parameters/search_application.search#name" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search_application.search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search_application.search#200" + } + } + }, + "post": { + "description": "Perform a search against a search application", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-application-search.html" + }, + "operationId": "search_application.search#1", + "parameters": [ + { + "$ref": "#/components/parameters/search_application.search#name" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search_application.search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search_application.search#200" + } + } + } + }, + "/{index}/_mvt/{field}/{zoom}/{x}/{y}{?exact_bounds,extent,grid_agg,grid_precision,grid_type,size,with_labels}": { + "get": { + "description": "Searches a vector tile for geospatial values. Returns results as a binary Mapbox vector tile.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-vector-tile-api.html" + }, + "operationId": "search_mvt#1", + "parameters": [ + { + "$ref": "#/components/parameters/search_mvt#index" + }, + { + "$ref": "#/components/parameters/search_mvt#field" + }, + { + "$ref": "#/components/parameters/search_mvt#zoom" + }, + { + "$ref": "#/components/parameters/search_mvt#x" + }, + { + "$ref": "#/components/parameters/search_mvt#y" + }, + { + "$ref": "#/components/parameters/search_mvt#exact_bounds" + }, + { + "$ref": "#/components/parameters/search_mvt#extent" + }, + { + "$ref": "#/components/parameters/search_mvt#grid_agg" + }, + { + "$ref": "#/components/parameters/search_mvt#grid_precision" + }, + { + "$ref": "#/components/parameters/search_mvt#grid_type" + }, + { + "$ref": "#/components/parameters/search_mvt#size" + }, + { + "$ref": "#/components/parameters/search_mvt#with_labels" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search_mvt" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search_mvt#200" + } + } + }, + "post": { + "description": "Searches a vector tile for geospatial values. Returns results as a binary Mapbox vector tile.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-vector-tile-api.html" + }, + "operationId": "search_mvt#0", + "parameters": [ + { + "$ref": "#/components/parameters/search_mvt#index" + }, + { + "$ref": "#/components/parameters/search_mvt#field" + }, + { + "$ref": "#/components/parameters/search_mvt#zoom" + }, + { + "$ref": "#/components/parameters/search_mvt#x" + }, + { + "$ref": "#/components/parameters/search_mvt#y" + }, + { + "$ref": "#/components/parameters/search_mvt#exact_bounds" + }, + { + "$ref": "#/components/parameters/search_mvt#extent" + }, + { + "$ref": "#/components/parameters/search_mvt#grid_agg" + }, + { + "$ref": "#/components/parameters/search_mvt#grid_precision" + }, + { + "$ref": "#/components/parameters/search_mvt#grid_type" + }, + { + "$ref": "#/components/parameters/search_mvt#size" + }, + { + "$ref": "#/components/parameters/search_mvt#with_labels" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search_mvt" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search_mvt#200" + } + } + } + }, + "/_search_shards{?allow_no_indices,expand_wildcards,ignore_unavailable,local,preference,routing}": { + "get": { + "description": "Returns information about the indices and shards that a search request would be executed against.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html" + }, + "operationId": "search_shards#0", + "parameters": [ + { + "$ref": "#/components/parameters/search_shards#allow_no_indices" + }, + { + "$ref": "#/components/parameters/search_shards#expand_wildcards" + }, + { + "$ref": "#/components/parameters/search_shards#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/search_shards#local" + }, + { + "$ref": "#/components/parameters/search_shards#preference" + }, + { + "$ref": "#/components/parameters/search_shards#routing" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/search_shards#200" + } + } + }, + "post": { + "description": "Returns information about the indices and shards that a search request would be executed against.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html" + }, + "operationId": "search_shards#1", + "parameters": [ + { + "$ref": "#/components/parameters/search_shards#allow_no_indices" + }, + { + "$ref": "#/components/parameters/search_shards#expand_wildcards" + }, + { + "$ref": "#/components/parameters/search_shards#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/search_shards#local" + }, + { + "$ref": "#/components/parameters/search_shards#preference" + }, + { + "$ref": "#/components/parameters/search_shards#routing" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/search_shards#200" + } + } + } + }, + "/{index}/_search_shards{?allow_no_indices,expand_wildcards,ignore_unavailable,local,preference,routing}": { + "get": { + "description": "Returns information about the indices and shards that a search request would be executed against.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html" + }, + "operationId": "search_shards#2", + "parameters": [ + { + "$ref": "#/components/parameters/search_shards#index" + }, + { + "$ref": "#/components/parameters/search_shards#allow_no_indices" + }, + { + "$ref": "#/components/parameters/search_shards#expand_wildcards" + }, + { + "$ref": "#/components/parameters/search_shards#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/search_shards#local" + }, + { + "$ref": "#/components/parameters/search_shards#preference" + }, + { + "$ref": "#/components/parameters/search_shards#routing" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/search_shards#200" + } + } + }, + "post": { + "description": "Returns information about the indices and shards that a search request would be executed against.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html" + }, + "operationId": "search_shards#3", + "parameters": [ + { + "$ref": "#/components/parameters/search_shards#index" + }, + { + "$ref": "#/components/parameters/search_shards#allow_no_indices" + }, + { + "$ref": "#/components/parameters/search_shards#expand_wildcards" + }, + { + "$ref": "#/components/parameters/search_shards#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/search_shards#local" + }, + { + "$ref": "#/components/parameters/search_shards#preference" + }, + { + "$ref": "#/components/parameters/search_shards#routing" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/search_shards#200" + } + } + } + }, + "/_search/template{?allow_no_indices,ccs_minimize_roundtrips,expand_wildcards,explain,ignore_throttled,ignore_unavailable,preference,profile,routing,scroll,search_type,rest_total_hits_as_int,typed_keys}": { + "get": { + "description": "Allows to use the Mustache language to pre-render a search definition.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html" + }, + "operationId": "search_template#0", + "parameters": [ + { + "$ref": "#/components/parameters/search_template#allow_no_indices" + }, + { + "$ref": "#/components/parameters/search_template#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/search_template#expand_wildcards" + }, + { + "$ref": "#/components/parameters/search_template#explain" + }, + { + "$ref": "#/components/parameters/search_template#ignore_throttled" + }, + { + "$ref": "#/components/parameters/search_template#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/search_template#preference" + }, + { + "$ref": "#/components/parameters/search_template#profile" + }, + { + "$ref": "#/components/parameters/search_template#routing" + }, + { + "$ref": "#/components/parameters/search_template#scroll" + }, + { + "$ref": "#/components/parameters/search_template#search_type" + }, + { + "$ref": "#/components/parameters/search_template#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/search_template#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search_template#200" + } + } + }, + "post": { + "description": "Allows to use the Mustache language to pre-render a search definition.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html" + }, + "operationId": "search_template#1", + "parameters": [ + { + "$ref": "#/components/parameters/search_template#allow_no_indices" + }, + { + "$ref": "#/components/parameters/search_template#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/search_template#expand_wildcards" + }, + { + "$ref": "#/components/parameters/search_template#explain" + }, + { + "$ref": "#/components/parameters/search_template#ignore_throttled" + }, + { + "$ref": "#/components/parameters/search_template#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/search_template#preference" + }, + { + "$ref": "#/components/parameters/search_template#profile" + }, + { + "$ref": "#/components/parameters/search_template#routing" + }, + { + "$ref": "#/components/parameters/search_template#scroll" + }, + { + "$ref": "#/components/parameters/search_template#search_type" + }, + { + "$ref": "#/components/parameters/search_template#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/search_template#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search_template#200" + } + } + } + }, + "/{index}/_search/template{?allow_no_indices,ccs_minimize_roundtrips,expand_wildcards,explain,ignore_throttled,ignore_unavailable,preference,profile,routing,scroll,search_type,rest_total_hits_as_int,typed_keys}": { + "get": { + "description": "Allows to use the Mustache language to pre-render a search definition.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html" + }, + "operationId": "search_template#2", + "parameters": [ + { + "$ref": "#/components/parameters/search_template#index" + }, + { + "$ref": "#/components/parameters/search_template#allow_no_indices" + }, + { + "$ref": "#/components/parameters/search_template#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/search_template#expand_wildcards" + }, + { + "$ref": "#/components/parameters/search_template#explain" + }, + { + "$ref": "#/components/parameters/search_template#ignore_throttled" + }, + { + "$ref": "#/components/parameters/search_template#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/search_template#preference" + }, + { + "$ref": "#/components/parameters/search_template#profile" + }, + { + "$ref": "#/components/parameters/search_template#routing" + }, + { + "$ref": "#/components/parameters/search_template#scroll" + }, + { + "$ref": "#/components/parameters/search_template#search_type" + }, + { + "$ref": "#/components/parameters/search_template#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/search_template#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search_template#200" + } + } + }, + "post": { + "description": "Allows to use the Mustache language to pre-render a search definition.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html" + }, + "operationId": "search_template#3", + "parameters": [ + { + "$ref": "#/components/parameters/search_template#index" + }, + { + "$ref": "#/components/parameters/search_template#allow_no_indices" + }, + { + "$ref": "#/components/parameters/search_template#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/search_template#expand_wildcards" + }, + { + "$ref": "#/components/parameters/search_template#explain" + }, + { + "$ref": "#/components/parameters/search_template#ignore_throttled" + }, + { + "$ref": "#/components/parameters/search_template#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/search_template#preference" + }, + { + "$ref": "#/components/parameters/search_template#profile" + }, + { + "$ref": "#/components/parameters/search_template#routing" + }, + { + "$ref": "#/components/parameters/search_template#scroll" + }, + { + "$ref": "#/components/parameters/search_template#search_type" + }, + { + "$ref": "#/components/parameters/search_template#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/search_template#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search_template#200" + } + } + } + }, + "/_searchable_snapshots/cache/stats{?master_timeout}": { + "get": { + "description": "Retrieve node-level cache statistics about searchable snapshots.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-apis.html" + }, + "operationId": "searchable_snapshots.cache_stats#0", + "parameters": [ + { + "$ref": "#/components/parameters/searchable_snapshots.cache_stats#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/searchable_snapshots.cache_stats#200" + } + } + } + }, + "/_searchable_snapshots/{node_id}/cache/stats{?master_timeout}": { + "get": { + "description": "Retrieve node-level cache statistics about searchable snapshots.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-apis.html" + }, + "operationId": "searchable_snapshots.cache_stats#1", + "parameters": [ + { + "$ref": "#/components/parameters/searchable_snapshots.cache_stats#node_id" + }, + { + "$ref": "#/components/parameters/searchable_snapshots.cache_stats#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/searchable_snapshots.cache_stats#200" + } + } + } + }, + "/_searchable_snapshots/cache/clear{?expand_wildcards,allow_no_indices,ignore_unavailable,pretty,human}": { + "post": { + "description": "Clear the cache of searchable snapshots.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-apis.html" + }, + "operationId": "searchable_snapshots.clear_cache#0", + "parameters": [ + { + "$ref": "#/components/parameters/searchable_snapshots.clear_cache#expand_wildcards" + }, + { + "$ref": "#/components/parameters/searchable_snapshots.clear_cache#allow_no_indices" + }, + { + "$ref": "#/components/parameters/searchable_snapshots.clear_cache#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/searchable_snapshots.clear_cache#pretty" + }, + { + "$ref": "#/components/parameters/searchable_snapshots.clear_cache#human" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/searchable_snapshots.clear_cache#200" + } + } + } + }, + "/{index}/_searchable_snapshots/cache/clear{?expand_wildcards,allow_no_indices,ignore_unavailable,pretty,human}": { + "post": { + "description": "Clear the cache of searchable snapshots.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-apis.html" + }, + "operationId": "searchable_snapshots.clear_cache#1", + "parameters": [ + { + "$ref": "#/components/parameters/searchable_snapshots.clear_cache#index" + }, + { + "$ref": "#/components/parameters/searchable_snapshots.clear_cache#expand_wildcards" + }, + { + "$ref": "#/components/parameters/searchable_snapshots.clear_cache#allow_no_indices" + }, + { + "$ref": "#/components/parameters/searchable_snapshots.clear_cache#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/searchable_snapshots.clear_cache#pretty" + }, + { + "$ref": "#/components/parameters/searchable_snapshots.clear_cache#human" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/searchable_snapshots.clear_cache#200" + } + } + } + }, + "/_snapshot/{repository}/{snapshot}/_mount{?master_timeout,wait_for_completion,storage}": { + "post": { + "description": "Mount a snapshot as a searchable index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-api-mount-snapshot.html" + }, + "operationId": "searchable_snapshots.mount#0", + "parameters": [ + { + "in": "path", + "name": "repository", + "description": "The name of the repository containing the snapshot of the index to mount", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "path", + "name": "snapshot", + "description": "The name of the snapshot of the index to mount", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Explicit operation timeout for connection to master node", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_completion", + "description": "Should this request wait until the operation has completed before returning", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "storage", + "description": "Selects the kind of local storage used to accelerate searches. Experimental, and defaults to `full_copy`", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "renamed_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "index_settings": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "ignore_index_settings": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "index" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "snapshot": { + "$ref": "#/components/schemas/searchable_snapshots.mount:MountedSnapshot" + } + }, + "required": [ + "snapshot" + ] + } + } + } + } + } + } + }, + "/_searchable_snapshots/stats{?level}": { + "get": { + "description": "Retrieve shard-level statistics about searchable snapshots.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-apis.html" + }, + "operationId": "searchable_snapshots.stats#0", + "parameters": [ + { + "$ref": "#/components/parameters/searchable_snapshots.stats#level" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/searchable_snapshots.stats#200" + } + } + } + }, + "/{index}/_searchable_snapshots/stats{?level}": { + "get": { + "description": "Retrieve shard-level statistics about searchable snapshots.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-apis.html" + }, + "operationId": "searchable_snapshots.stats#1", + "parameters": [ + { + "$ref": "#/components/parameters/searchable_snapshots.stats#index" + }, + { + "$ref": "#/components/parameters/searchable_snapshots.stats#level" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/searchable_snapshots.stats#200" + } + } + } + }, + "/_security/profile/_activate": { + "post": { + "description": "Creates or updates the user profile on behalf of another user.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-activate-user-profile.html" + }, + "operationId": "security.activate_user_profile#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "access_token": { + "type": "string" + }, + "grant_type": { + "$ref": "#/components/schemas/security._types:GrantType" + }, + "password": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "grant_type" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/security._types:UserProfileWithMetadata" + } + } + } + } + } + } + }, + "/_security/_authenticate": { + "get": { + "description": "Enables authentication as a user and retrieve information about the authenticated user.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html" + }, + "operationId": "security.authenticate#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "api_key": { + "$ref": "#/components/schemas/security._types:ApiKey" + }, + "authentication_realm": { + "$ref": "#/components/schemas/security._types:RealmInfo" + }, + "email": { + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "full_name": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Name" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "lookup_realm": { + "$ref": "#/components/schemas/security._types:RealmInfo" + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + }, + "enabled": { + "type": "boolean" + }, + "authentication_type": { + "type": "string" + }, + "token": { + "$ref": "#/components/schemas/security.authenticate:Token" + } + }, + "required": [ + "authentication_realm", + "lookup_realm", + "metadata", + "roles", + "username", + "enabled", + "authentication_type" + ] + } + } + } + } + } + } + }, + "/_security/user/{username}/_password{?refresh}": { + "put": { + "description": "Changes the passwords of users in the native realm and built-in users.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html" + }, + "operationId": "security.change_password#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.change_password#username" + }, + { + "$ref": "#/components/parameters/security.change_password#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.change_password" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.change_password#200" + } + } + }, + "post": { + "description": "Changes the passwords of users in the native realm and built-in users.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html" + }, + "operationId": "security.change_password#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.change_password#username" + }, + { + "$ref": "#/components/parameters/security.change_password#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.change_password" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.change_password#200" + } + } + } + }, + "/_security/user/_password{?refresh}": { + "put": { + "description": "Changes the passwords of users in the native realm and built-in users.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html" + }, + "operationId": "security.change_password#2", + "parameters": [ + { + "$ref": "#/components/parameters/security.change_password#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.change_password" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.change_password#200" + } + } + }, + "post": { + "description": "Changes the passwords of users in the native realm and built-in users.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html" + }, + "operationId": "security.change_password#3", + "parameters": [ + { + "$ref": "#/components/parameters/security.change_password#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.change_password" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.change_password#200" + } + } + } + }, + "/_security/api_key/{ids}/_clear_cache": { + "post": { + "description": "Clear a subset or all entries from the API key cache.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-api-key-cache.html" + }, + "operationId": "security.clear_api_key_cache#0", + "parameters": [ + { + "in": "path", + "name": "ids", + "description": "Comma-separated list of API key IDs to evict from the API key cache.\nTo evict all API keys, use `*`.\nDoes not support other wildcard patterns.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Ids" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_nodes": { + "$ref": "#/components/schemas/_types:NodeStatistics" + }, + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:ClusterNode" + } + } + }, + "required": [ + "_nodes", + "cluster_name", + "nodes" + ] + } + } + } + } + } + } + }, + "/_security/privilege/{application}/_clear_cache": { + "post": { + "description": "Evicts application privileges from the native application privileges cache.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-privilege-cache.html" + }, + "operationId": "security.clear_cached_privileges#0", + "parameters": [ + { + "in": "path", + "name": "application", + "description": "A comma-separated list of application names", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_nodes": { + "$ref": "#/components/schemas/_types:NodeStatistics" + }, + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:ClusterNode" + } + } + }, + "required": [ + "_nodes", + "cluster_name", + "nodes" + ] + } + } + } + } + } + } + }, + "/_security/realm/{realms}/_clear_cache{?usernames}": { + "post": { + "description": "Evicts users from the user cache. Can completely clear the cache or evict specific users.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-cache.html" + }, + "operationId": "security.clear_cached_realms#0", + "parameters": [ + { + "in": "path", + "name": "realms", + "description": "Comma-separated list of realms to clear", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + { + "in": "query", + "name": "usernames", + "description": "Comma-separated list of usernames to clear from the cache", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_nodes": { + "$ref": "#/components/schemas/_types:NodeStatistics" + }, + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:ClusterNode" + } + } + }, + "required": [ + "_nodes", + "cluster_name", + "nodes" + ] + } + } + } + } + } + } + }, + "/_security/role/{name}/_clear_cache": { + "post": { + "description": "Evicts roles from the native role cache.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-role-cache.html" + }, + "operationId": "security.clear_cached_roles#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Role name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_nodes": { + "$ref": "#/components/schemas/_types:NodeStatistics" + }, + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:ClusterNode" + } + } + }, + "required": [ + "_nodes", + "cluster_name", + "nodes" + ] + } + } + } + } + } + } + }, + "/_security/service/{namespace}/{service}/credential/token/{name}/_clear_cache": { + "post": { + "description": "Evicts tokens from the service account token caches.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-service-token-caches.html" + }, + "operationId": "security.clear_cached_service_tokens#0", + "parameters": [ + { + "in": "path", + "name": "namespace", + "description": "An identifier for the namespace", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Namespace" + }, + "style": "simple" + }, + { + "in": "path", + "name": "service", + "description": "An identifier for the service name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Service" + }, + "style": "simple" + }, + { + "in": "path", + "name": "name", + "description": "A comma-separated list of service token names", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_nodes": { + "$ref": "#/components/schemas/_types:NodeStatistics" + }, + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:ClusterNode" + } + } + }, + "required": [ + "_nodes", + "cluster_name", + "nodes" + ] + } + } + } + } + } + } + }, + "/_security/api_key{?refresh}": { + "put": { + "description": "Creates an API key for access without requiring basic authentication.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html" + }, + "operationId": "security.create_api_key#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.create_api_key#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.create_api_key" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.create_api_key#200" + } + } + }, + "post": { + "description": "Creates an API key for access without requiring basic authentication.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html" + }, + "operationId": "security.create_api_key#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.create_api_key#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.create_api_key" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.create_api_key#200" + } + } + } + }, + "/_security/service/{namespace}/{service}/credential/token/{name}{?refresh}": { + "put": { + "description": "Deletes a service account token.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-service-token.html" + }, + "operationId": "security.delete_service_token#0", + "parameters": [ + { + "in": "path", + "name": "namespace", + "description": "An identifier for the namespace", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Namespace" + }, + "style": "simple" + }, + { + "in": "path", + "name": "service", + "description": "An identifier for the service name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Service" + }, + "style": "simple" + }, + { + "in": "path", + "name": "name", + "description": "An identifier for the token name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "refresh", + "description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` (the default) then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "found": { + "type": "boolean" + } + }, + "required": [ + "found" + ] + } + } + } + } + } + } + }, + "/_security/service/{namespace}/{service}/credential/token{?refresh}": { + "post": { + "description": "Creates a service account token for access without requiring basic authentication.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-service-token.html" + }, + "operationId": "security.create_service_token#2", + "parameters": [ + { + "$ref": "#/components/parameters/security.create_service_token#namespace" + }, + { + "$ref": "#/components/parameters/security.create_service_token#service" + }, + { + "$ref": "#/components/parameters/security.create_service_token#refresh" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.create_service_token#200" + } + } + } + }, + "/_security/privilege/{application}/{name}{?refresh}": { + "put": { + "description": "Removes application privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-privilege.html" + }, + "operationId": "security.delete_privileges#0", + "parameters": [ + { + "in": "path", + "name": "application", + "description": "Application name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "path", + "name": "name", + "description": "Privilege name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + { + "in": "query", + "name": "refresh", + "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security.delete_privileges:FoundStatus" + } + } + } + } + } + } + } + } + }, + "/_security/role/{name}{?refresh}": { + "put": { + "description": "Adds and updates roles in the native realm.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html" + }, + "operationId": "security.put_role#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.put_role#name" + }, + { + "$ref": "#/components/parameters/security.put_role#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.put_role" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.put_role#200" + } + } + }, + "post": { + "description": "Adds and updates roles in the native realm.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html" + }, + "operationId": "security.put_role#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.put_role#name" + }, + { + "$ref": "#/components/parameters/security.put_role#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.put_role" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.put_role#200" + } + } + } + }, + "/_security/role_mapping/{name}{?refresh}": { + "put": { + "description": "Creates and updates role mappings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role-mapping.html" + }, + "operationId": "security.put_role_mapping#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.put_role_mapping#name" + }, + { + "$ref": "#/components/parameters/security.put_role_mapping#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.put_role_mapping" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.put_role_mapping#200" + } + } + }, + "post": { + "description": "Creates and updates role mappings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role-mapping.html" + }, + "operationId": "security.put_role_mapping#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.put_role_mapping#name" + }, + { + "$ref": "#/components/parameters/security.put_role_mapping#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.put_role_mapping" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.put_role_mapping#200" + } + } + } + }, + "/_security/user/{username}{?refresh}": { + "put": { + "description": "Adds and updates users in the native realm. These users are commonly referred to as native users.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-user.html" + }, + "operationId": "security.put_user#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.put_user#username" + }, + { + "$ref": "#/components/parameters/security.put_user#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.put_user" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.put_user#200" + } + } + }, + "post": { + "description": "Adds and updates users in the native realm. These users are commonly referred to as native users.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-user.html" + }, + "operationId": "security.put_user#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.put_user#username" + }, + { + "$ref": "#/components/parameters/security.put_user#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.put_user" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.put_user#200" + } + } + } + }, + "/_security/user/{username}/_disable{?refresh}": { + "put": { + "description": "Disables users in the native realm.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-disable-user.html" + }, + "operationId": "security.disable_user#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.disable_user#username" + }, + { + "$ref": "#/components/parameters/security.disable_user#refresh" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.disable_user#200" + } + } + }, + "post": { + "description": "Disables users in the native realm.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-disable-user.html" + }, + "operationId": "security.disable_user#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.disable_user#username" + }, + { + "$ref": "#/components/parameters/security.disable_user#refresh" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.disable_user#200" + } + } + } + }, + "/_security/profile/{uid}/_disable{?refresh}": { + "put": { + "description": "Disables a user profile so it's not visible in user profile searches.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-disable-user-profile.html" + }, + "operationId": "security.disable_user_profile#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.disable_user_profile#uid" + }, + { + "$ref": "#/components/parameters/security.disable_user_profile#refresh" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.disable_user_profile#200" + } + } + }, + "post": { + "description": "Disables a user profile so it's not visible in user profile searches.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-disable-user-profile.html" + }, + "operationId": "security.disable_user_profile#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.disable_user_profile#uid" + }, + { + "$ref": "#/components/parameters/security.disable_user_profile#refresh" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.disable_user_profile#200" + } + } + } + }, + "/_security/user/{username}/_enable{?refresh}": { + "put": { + "description": "Enables users in the native realm.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-enable-user.html" + }, + "operationId": "security.enable_user#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.enable_user#username" + }, + { + "$ref": "#/components/parameters/security.enable_user#refresh" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.enable_user#200" + } + } + }, + "post": { + "description": "Enables users in the native realm.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-enable-user.html" + }, + "operationId": "security.enable_user#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.enable_user#username" + }, + { + "$ref": "#/components/parameters/security.enable_user#refresh" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.enable_user#200" + } + } + } + }, + "/_security/profile/{uid}/_enable{?refresh}": { + "put": { + "description": "Enables a user profile so it's visible in user profile searches.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-enable-user-profile.html" + }, + "operationId": "security.enable_user_profile#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.enable_user_profile#uid" + }, + { + "$ref": "#/components/parameters/security.enable_user_profile#refresh" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.enable_user_profile#200" + } + } + }, + "post": { + "description": "Enables a user profile so it's visible in user profile searches.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-enable-user-profile.html" + }, + "operationId": "security.enable_user_profile#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.enable_user_profile#uid" + }, + { + "$ref": "#/components/parameters/security.enable_user_profile#refresh" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.enable_user_profile#200" + } + } + } + }, + "/_security/enroll/kibana": { + "get": { + "description": "Allows a kibana instance to configure itself to communicate with a secured elasticsearch cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-kibana-enrollment.html" + }, + "operationId": "security.enroll_kibana#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "token": { + "$ref": "#/components/schemas/security.enroll_kibana:Token" + }, + "http_ca": { + "type": "string" + } + }, + "required": [ + "token", + "http_ca" + ] + } + } + } + } + } + } + }, + "/_security/enroll/node": { + "get": { + "description": "Allows a new node to enroll to an existing cluster with security enabled.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-node-enrollment.html" + }, + "operationId": "security.enroll_node#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "http_ca_key": { + "type": "string" + }, + "http_ca_cert": { + "type": "string" + }, + "transport_ca_cert": { + "type": "string" + }, + "transport_key": { + "type": "string" + }, + "transport_cert": { + "type": "string" + }, + "nodes_addresses": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "http_ca_key", + "http_ca_cert", + "transport_ca_cert", + "transport_key", + "transport_cert", + "nodes_addresses" + ] + } + } + } + } + } + } + }, + "/_security/api_key{?id,name,owner,realm_name,username,with_limited_by}": { + "get": { + "description": "Retrieves information for one or more API keys.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-api-key.html" + }, + "operationId": "security.get_api_key#0", + "parameters": [ + { + "in": "query", + "name": "id", + "description": "An API key id.\nThis parameter cannot be used with any of `name`, `realm_name` or `username`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "form" + }, + { + "in": "query", + "name": "name", + "description": "An API key name.\nThis parameter cannot be used with any of `id`, `realm_name` or `username`.\nIt supports prefix search with wildcard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "form" + }, + { + "in": "query", + "name": "owner", + "description": "A boolean flag that can be used to query API keys owned by the currently authenticated user.\nThe `realm_name` or `username` parameters cannot be specified when this parameter is set to `true` as they are assumed to be the currently authenticated ones.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "realm_name", + "description": "The name of an authentication realm.\nThis parameter cannot be used with either `id` or `name` or when `owner` flag is set to `true`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "form" + }, + { + "in": "query", + "name": "username", + "description": "The username of a user.\nThis parameter cannot be used with either `id` or `name` or when `owner` flag is set to `true`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Username" + }, + "style": "form" + }, + { + "in": "query", + "name": "with_limited_by", + "description": "Return the snapshot of the owner user's role descriptors\nassociated with the API key. An API key's actual\npermission is the intersection of its assigned role\ndescriptors and the owner user's role descriptors.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "api_keys": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:ApiKey" + } + } + }, + "required": [ + "api_keys" + ] + } + } + } + } + } + } + }, + "/_security/privilege/_builtin": { + "get": { + "description": "Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-builtin-privileges.html" + }, + "operationId": "security.get_builtin_privileges#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "cluster": { + "type": "array", + "items": { + "type": "string" + } + }, + "index": { + "$ref": "#/components/schemas/_types:Indices" + } + }, + "required": [ + "cluster", + "index" + ] + } + } + } + } + } + } + }, + "/_security/privilege": { + "get": { + "description": "Retrieves application privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html" + }, + "operationId": "security.get_privileges#0", + "responses": { + "200": { + "$ref": "#/components/responses/security.get_privileges#200" + } + } + } + }, + "/_security/privilege/{application}": { + "get": { + "description": "Retrieves application privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html" + }, + "operationId": "security.get_privileges#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.get_privileges#application" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.get_privileges#200" + } + } + } + }, + "/_security/privilege/{application}/{name}": { + "get": { + "description": "Retrieves application privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html" + }, + "operationId": "security.get_privileges#2", + "parameters": [ + { + "$ref": "#/components/parameters/security.get_privileges#application" + }, + { + "$ref": "#/components/parameters/security.get_privileges#name" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.get_privileges#200" + } + } + } + }, + "/_security/role/{name}": { + "get": { + "description": "Retrieves roles in the native realm.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html" + }, + "operationId": "security.get_role#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.get_role#name" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.get_role#200" + } + } + } + }, + "/_security/role": { + "get": { + "description": "Retrieves roles in the native realm.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html" + }, + "operationId": "security.get_role#1", + "responses": { + "200": { + "$ref": "#/components/responses/security.get_role#200" + } + } + } + }, + "/_security/role_mapping/{name}": { + "get": { + "description": "Retrieves role mappings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role-mapping.html" + }, + "operationId": "security.get_role_mapping#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.get_role_mapping#name" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.get_role_mapping#200" + } + } + } + }, + "/_security/role_mapping": { + "get": { + "description": "Retrieves role mappings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role-mapping.html" + }, + "operationId": "security.get_role_mapping#1", + "responses": { + "200": { + "$ref": "#/components/responses/security.get_role_mapping#200" + } + } + } + }, + "/_security/service/{namespace}/{service}": { + "get": { + "description": "Retrieves information about service accounts.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-service-accounts.html" + }, + "operationId": "security.get_service_accounts#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.get_service_accounts#namespace" + }, + { + "$ref": "#/components/parameters/security.get_service_accounts#service" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.get_service_accounts#200" + } + } + } + }, + "/_security/service/{namespace}": { + "get": { + "description": "Retrieves information about service accounts.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-service-accounts.html" + }, + "operationId": "security.get_service_accounts#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.get_service_accounts#namespace" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.get_service_accounts#200" + } + } + } + }, + "/_security/service": { + "get": { + "description": "Retrieves information about service accounts.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-service-accounts.html" + }, + "operationId": "security.get_service_accounts#2", + "responses": { + "200": { + "$ref": "#/components/responses/security.get_service_accounts#200" + } + } + } + }, + "/_security/service/{namespace}/{service}/credential": { + "get": { + "description": "Retrieves information of all service credentials for a service account.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-service-credentials.html" + }, + "operationId": "security.get_service_credentials#0", + "parameters": [ + { + "in": "path", + "name": "namespace", + "description": "Name of the namespace.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Namespace" + }, + "style": "simple" + }, + { + "in": "path", + "name": "service", + "description": "Name of the service name.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "service_account": { + "type": "string" + }, + "count": { + "type": "number" + }, + "tokens": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:Metadata" + } + }, + "nodes_credentials": { + "$ref": "#/components/schemas/security.get_service_credentials:NodesCredentials" + } + }, + "required": [ + "service_account", + "count", + "tokens", + "nodes_credentials" + ] + } + } + } + } + } + } + }, + "/_security/oauth2/token": { + "put": { + "description": "Invalidates one or more access tokens or refresh tokens.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-token.html" + }, + "operationId": "security.invalidate_token#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "token": { + "type": "string" + }, + "refresh_token": { + "type": "string" + }, + "realm_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "error_count": { + "type": "number" + }, + "error_details": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + }, + "invalidated_tokens": { + "type": "number" + }, + "previously_invalidated_tokens": { + "type": "number" + } + }, + "required": [ + "error_count", + "invalidated_tokens", + "previously_invalidated_tokens" + ] + } + } + } + } + } + } + }, + "/_security/user/{username}{?with_profile_uid}": { + "get": { + "description": "Retrieves information about users in the native realm and built-in users.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user.html" + }, + "operationId": "security.get_user#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.get_user#username" + }, + { + "$ref": "#/components/parameters/security.get_user#with_profile_uid" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.get_user#200" + } + } + } + }, + "/_security/user{?with_profile_uid}": { + "get": { + "description": "Retrieves information about users in the native realm and built-in users.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user.html" + }, + "operationId": "security.get_user#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.get_user#with_profile_uid" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.get_user#200" + } + } + } + }, + "/_security/user/_privileges{?application,priviledge,username}": { + "get": { + "description": "Retrieves security privileges for the logged in user.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user-privileges.html" + }, + "operationId": "security.get_user_privileges#0", + "parameters": [ + { + "in": "query", + "name": "application", + "description": "The name of the application. Application privileges are always associated with exactly one application. If you do not specify this parameter, the API returns information about all privileges for all applications.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "form" + }, + { + "in": "query", + "name": "priviledge", + "description": "The name of the privilege. If you do not specify this parameter, the API returns information about all privileges for the requested application.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "form" + }, + { + "in": "query", + "name": "username", + "deprecated": false, + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Name" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "applications": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:ApplicationPrivileges" + } + }, + "cluster": { + "type": "array", + "items": { + "type": "string" + } + }, + "global": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:GlobalPrivilege" + } + }, + "indices": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:UserIndicesPrivileges" + } + }, + "run_as": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "applications", + "cluster", + "global", + "indices", + "run_as" + ] + } + } + } + } + } + } + }, + "/_security/profile/{uid}{?data}": { + "get": { + "description": "Retrieves user profiles for the given unique ID(s).", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user-profile.html" + }, + "operationId": "security.get_user_profile#0", + "parameters": [ + { + "in": "path", + "name": "uid", + "description": "A unique identifier for the user profile.", + "required": true, + "deprecated": false, + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/security._types:UserProfileId" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:UserProfileId" + } + } + ] + }, + "style": "simple" + }, + { + "in": "query", + "name": "data", + "description": "List of filters for the `data` field of the profile document.\nTo return all content use `data=*`. To return a subset of content\nuse `data=` to retrieve content nested under the specified ``.\nBy default returns no `data` content.", + "deprecated": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "profiles": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:UserProfileWithMetadata" + } + }, + "errors": { + "$ref": "#/components/schemas/security.get_user_profile:GetUserProfileErrors" + } + }, + "required": [ + "profiles" + ] + } + } + } + } + } + } + }, + "/_security/api_key/grant": { + "post": { + "description": "Creates an API key on behalf of another user.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-grant-api-key.html" + }, + "operationId": "security.grant_api_key#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "api_key": { + "$ref": "#/components/schemas/security.grant_api_key:GrantApiKey" + }, + "grant_type": { + "$ref": "#/components/schemas/security.grant_api_key:ApiKeyGrantType" + }, + "access_token": { + "description": "The user’s access token.\nIf you specify the `access_token` grant type, this parameter is required.\nIt is not valid with other grant types.", + "type": "string" + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + }, + "password": { + "$ref": "#/components/schemas/_types:Password" + }, + "run_as": { + "$ref": "#/components/schemas/_types:Username" + } + }, + "required": [ + "api_key", + "grant_type" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "api_key": { + "type": "string" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "expiration": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "encoded": { + "type": "string" + } + }, + "required": [ + "api_key", + "id", + "name", + "encoded" + ] + } + } + } + } + } + } + }, + "/_security/user/_has_privileges": { + "get": { + "description": "Determines whether the specified user has a specified list of privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html" + }, + "operationId": "security.has_privileges#0", + "requestBody": { + "$ref": "#/components/requestBodies/security.has_privileges" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.has_privileges#200" + } + } + }, + "post": { + "description": "Determines whether the specified user has a specified list of privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html" + }, + "operationId": "security.has_privileges#1", + "requestBody": { + "$ref": "#/components/requestBodies/security.has_privileges" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.has_privileges#200" + } + } + } + }, + "/_security/user/{user}/_has_privileges": { + "get": { + "description": "Determines whether the specified user has a specified list of privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html" + }, + "operationId": "security.has_privileges#2", + "parameters": [ + { + "$ref": "#/components/parameters/security.has_privileges#user" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.has_privileges" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.has_privileges#200" + } + } + }, + "post": { + "description": "Determines whether the specified user has a specified list of privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html" + }, + "operationId": "security.has_privileges#3", + "parameters": [ + { + "$ref": "#/components/parameters/security.has_privileges#user" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.has_privileges" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.has_privileges#200" + } + } + } + }, + "/_security/profile/_has_privileges": { + "get": { + "description": "Determines whether the users associated with the specified profile IDs have all the requested privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges-user-profile.html" + }, + "operationId": "security.has_privileges_user_profile#0", + "requestBody": { + "$ref": "#/components/requestBodies/security.has_privileges_user_profile" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.has_privileges_user_profile#200" + } + } + }, + "post": { + "description": "Determines whether the users associated with the specified profile IDs have all the requested privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges-user-profile.html" + }, + "operationId": "security.has_privileges_user_profile#1", + "requestBody": { + "$ref": "#/components/requestBodies/security.has_privileges_user_profile" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.has_privileges_user_profile#200" + } + } + } + }, + "/_security/api_key": { + "put": { + "description": "Invalidates one or more API keys.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-api-key.html" + }, + "operationId": "security.invalidate_api_key#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "ids": { + "description": "A list of API key ids.\nThis parameter cannot be used with any of `name`, `realm_name`, or `username`.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "owner": { + "description": "Can be used to query API keys owned by the currently authenticated user.\nThe `realm_name` or `username` parameters cannot be specified when this parameter is set to `true` as they are assumed to be the currently authenticated ones.", + "type": "boolean" + }, + "realm_name": { + "description": "The name of an authentication realm.\nThis parameter cannot be used with either `ids` or `name`, or when `owner` flag is set to `true`.", + "type": "string" + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "error_count": { + "type": "number" + }, + "error_details": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + }, + "invalidated_api_keys": { + "type": "array", + "items": { + "type": "string" + } + }, + "previously_invalidated_api_keys": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "error_count", + "invalidated_api_keys", + "previously_invalidated_api_keys" + ] + } + } + } + } + } + } + }, + "/_security/privilege{?refresh}": { + "put": { + "description": "Adds or updates application privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-privileges.html" + }, + "operationId": "security.put_privileges#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.put_privileges#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.put_privileges" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.put_privileges#200" + } + } + }, + "post": { + "description": "Adds or updates application privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-privileges.html" + }, + "operationId": "security.put_privileges#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.put_privileges#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.put_privileges" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.put_privileges#200" + } + } + } + }, + "/_security/_query/api_key{?with_limited_by}": { + "get": { + "description": "Retrieves information for API keys using a subset of query DSL", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-query-api-key.html" + }, + "operationId": "security.query_api_keys#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.query_api_keys#with_limited_by" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.query_api_keys" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.query_api_keys#200" + } + } + }, + "post": { + "description": "Retrieves information for API keys using a subset of query DSL", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-query-api-key.html" + }, + "operationId": "security.query_api_keys#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.query_api_keys#with_limited_by" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.query_api_keys" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.query_api_keys#200" + } + } + } + }, + "/_security/saml/authenticate": { + "post": { + "description": "Exchanges a SAML Response message for an Elasticsearch access token and refresh token pair", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-authenticate.html" + }, + "operationId": "security.saml_authenticate#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "content": { + "description": "The SAML response as it was sent by the user’s browser, usually a Base64 encoded XML document.", + "type": "string" + }, + "ids": { + "$ref": "#/components/schemas/_types:Ids" + }, + "realm": { + "description": "The name of the realm that should authenticate the SAML response. Useful in cases where many SAML realms are defined.", + "type": "string" + } + }, + "required": [ + "content", + "ids" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "access_token": { + "type": "string" + }, + "username": { + "type": "string" + }, + "expires_in": { + "type": "number" + }, + "refresh_token": { + "type": "string" + }, + "realm": { + "type": "string" + } + }, + "required": [ + "access_token", + "username", + "expires_in", + "refresh_token", + "realm" + ] + } + } + } + } + } + } + }, + "/_security/saml/complete_logout": { + "post": { + "description": "Verifies the logout response sent from the SAML IdP", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-complete-logout.html" + }, + "operationId": "security.saml_complete_logout#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "realm": { + "description": "The name of the SAML realm in Elasticsearch for which the configuration is used to verify the logout response.", + "type": "string" + }, + "ids": { + "$ref": "#/components/schemas/_types:Ids" + }, + "query_string": { + "description": "If the SAML IdP sends the logout response with the HTTP-Redirect binding, this field must be set to the query string of the redirect URI.", + "type": "string" + }, + "content": { + "description": "If the SAML IdP sends the logout response with the HTTP-Post binding, this field must be set to the value of the SAMLResponse form parameter from the logout response.", + "type": "string" + } + }, + "required": [ + "realm", + "ids" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": {} + } + } + } + } + }, + "/_security/saml/invalidate": { + "post": { + "description": "Consumes a SAML LogoutRequest", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-invalidate.html" + }, + "operationId": "security.saml_invalidate#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acs": { + "description": "The Assertion Consumer Service URL that matches the one of the SAML realm in Elasticsearch that should be used. You must specify either this parameter or the realm parameter.", + "type": "string" + }, + "query_string": { + "description": "The query part of the URL that the user was redirected to by the SAML IdP to initiate the Single Logout.\nThis query should include a single parameter named SAMLRequest that contains a SAML logout request that is deflated and Base64 encoded.\nIf the SAML IdP has signed the logout request, the URL should include two extra parameters named SigAlg and Signature that contain the algorithm used for the signature and the signature value itself.\nIn order for Elasticsearch to be able to verify the IdP’s signature, the value of the query_string field must be an exact match to the string provided by the browser.\nThe client application must not attempt to parse or process the string in any way.", + "type": "string" + }, + "realm": { + "description": "The name of the SAML realm in Elasticsearch the configuration. You must specify either this parameter or the acs parameter.", + "type": "string" + } + }, + "required": [ + "query_string" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "invalidated": { + "type": "number" + }, + "realm": { + "type": "string" + }, + "redirect": { + "type": "string" + } + }, + "required": [ + "invalidated", + "realm", + "redirect" + ] + } + } + } + } + } + } + }, + "/_security/saml/logout": { + "post": { + "description": "Invalidates an access token and a refresh token that were generated via the SAML Authenticate API", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-logout.html" + }, + "operationId": "security.saml_logout#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "token": { + "description": "The access token that was returned as a response to calling the SAML authenticate API.\nAlternatively, the most recent token that was received after refreshing the original one by using a refresh_token.", + "type": "string" + }, + "refresh_token": { + "description": "The refresh token that was returned as a response to calling the SAML authenticate API.\nAlternatively, the most recent refresh token that was received after refreshing the original access token.", + "type": "string" + } + }, + "required": [ + "token" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "redirect": { + "type": "string" + } + }, + "required": [ + "redirect" + ] + } + } + } + } + } + } + }, + "/_security/saml/prepare": { + "post": { + "description": "Creates a SAML authentication request", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-prepare-authentication.html" + }, + "operationId": "security.saml_prepare_authentication#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acs": { + "description": "The Assertion Consumer Service URL that matches the one of the SAML realms in Elasticsearch.\nThe realm is used to generate the authentication request. You must specify either this parameter or the realm parameter.", + "type": "string" + }, + "realm": { + "description": "The name of the SAML realm in Elasticsearch for which the configuration is used to generate the authentication request.\nYou must specify either this parameter or the acs parameter.", + "type": "string" + }, + "relay_state": { + "description": "A string that will be included in the redirect URL that this API returns as the RelayState query parameter.\nIf the Authentication Request is signed, this value is used as part of the signature computation.", + "type": "string" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "realm": { + "type": "string" + }, + "redirect": { + "type": "string" + } + }, + "required": [ + "id", + "realm", + "redirect" + ] + } + } + } + } + } + } + }, + "/_security/saml/metadata/{realm_name}": { + "get": { + "description": "Generates SAML metadata for the Elastic stack SAML 2.0 Service Provider", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-sp-metadata.html" + }, + "operationId": "security.saml_service_provider_metadata#0", + "parameters": [ + { + "in": "path", + "name": "realm_name", + "description": "The name of the SAML realm in Elasticsearch.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "metadata": { + "type": "string" + } + }, + "required": [ + "metadata" + ] + } + } + } + } + } + } + }, + "/_security/profile/_suggest{?data}": { + "get": { + "description": "Get suggestions for user profiles that match specified search criteria.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-suggest-user-profile.html" + }, + "operationId": "security.suggest_user_profiles#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.suggest_user_profiles#data" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.suggest_user_profiles" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.suggest_user_profiles#200" + } + } + }, + "post": { + "description": "Get suggestions for user profiles that match specified search criteria.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-suggest-user-profile.html" + }, + "operationId": "security.suggest_user_profiles#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.suggest_user_profiles#data" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.suggest_user_profiles" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.suggest_user_profiles#200" + } + } + } + }, + "/_security/api_key/{id}": { + "put": { + "description": "Updates attributes of an existing API key.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-api-key.html" + }, + "operationId": "security.update_api_key#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The ID of the API key to update.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "role_descriptors": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/security-api-put-role.html" + }, + "description": "An array of role descriptors for this API key. This parameter is optional. When it is not specified or is an empty array, then the API key will have a point in time snapshot of permissions of the authenticated user. If you supply role descriptors then the resultant permissions would be an intersection of API keys permissions and authenticated user’s permissions thereby limiting the access scope for API keys. The structure of role descriptor is the same as the request for create role API. For more details, see create or update roles API.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:RoleDescriptor" + } + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "updated": { + "description": "If `true`, the API key was updated.\nIf `false`, the API key didn’t change because no change was detected.", + "type": "boolean" + } + }, + "required": [ + "updated" + ] + } + } + } + } + } + } + }, + "/_security/profile/{uid}/_data{?if_seq_no,if_primary_term,refresh}": { + "put": { + "description": "Update application specific data for the user profile of the given unique ID.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-user-profile-data.html" + }, + "operationId": "security.update_user_profile_data#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.update_user_profile_data#uid" + }, + { + "$ref": "#/components/parameters/security.update_user_profile_data#if_seq_no" + }, + { + "$ref": "#/components/parameters/security.update_user_profile_data#if_primary_term" + }, + { + "$ref": "#/components/parameters/security.update_user_profile_data#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.update_user_profile_data" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.update_user_profile_data#200" + } + } + }, + "post": { + "description": "Update application specific data for the user profile of the given unique ID.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-user-profile-data.html" + }, + "operationId": "security.update_user_profile_data#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.update_user_profile_data#uid" + }, + { + "$ref": "#/components/parameters/security.update_user_profile_data#if_seq_no" + }, + { + "$ref": "#/components/parameters/security.update_user_profile_data#if_primary_term" + }, + { + "$ref": "#/components/parameters/security.update_user_profile_data#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.update_user_profile_data" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.update_user_profile_data#200" + } + } + } + }, + "/_nodes/{node_id}/shutdown{?master_timeout,timeout}": { + "put": { + "description": "Adds a node to be shut down. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current" + }, + "operationId": "shutdown.put_node#0", + "parameters": [ + { + "in": "path", + "name": "node_id", + "description": "The node id of node to be shut down", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:NodeId" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:TimeUnit" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:TimeUnit" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/shutdown._types:Type" + }, + "reason": { + "description": "A human-readable reason that the node is being shut down.\nThis field provides information for other cluster operators; it does not affect the shut down process.", + "type": "string" + }, + "allocation_delay": { + "description": "Only valid if type is restart.\nControls how long Elasticsearch will wait for the node to restart and join the cluster before reassigning its shards to other nodes.\nThis works the same as delaying allocation with the index.unassigned.node_left.delayed_timeout setting.\nIf you specify both a restart allocation delay and an index-level allocation delay, the longer of the two is used.", + "type": "string" + }, + "target_node_name": { + "description": "Only valid if type is replace.\nSpecifies the name of the node that is replacing the node being shut down.\nShards from the shut down node are only allowed to be allocated to the target node, and no other data will be allocated to the target node.\nDuring relocation of data certain allocation rules are ignored, such as disk watermarks or user attribute filtering rules.", + "type": "string" + } + }, + "required": [ + "type", + "reason" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_nodes/shutdown{?master_timeout,timeout}": { + "get": { + "description": "Retrieve status of a node or nodes that are currently marked as shutting down. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current" + }, + "operationId": "shutdown.get_node#0", + "parameters": [ + { + "$ref": "#/components/parameters/shutdown.get_node#master_timeout" + }, + { + "$ref": "#/components/parameters/shutdown.get_node#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/shutdown.get_node#200" + } + } + } + }, + "/_slm/policy/{policy_id}": { + "get": { + "description": "Retrieves one or more snapshot lifecycle policy definitions and information about the latest snapshot attempts.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get-policy.html" + }, + "operationId": "slm.get_lifecycle#0", + "parameters": [ + { + "$ref": "#/components/parameters/slm.get_lifecycle#policy_id" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/slm.get_lifecycle#200" + } + } + } + }, + "/_slm/policy/{policy_id}/_execute": { + "put": { + "description": "Immediately creates a snapshot according to the lifecycle policy, without waiting for the scheduled time.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute-lifecycle.html" + }, + "operationId": "slm.execute_lifecycle#0", + "parameters": [ + { + "in": "path", + "name": "policy_id", + "description": "The id of the snapshot lifecycle policy to be executed", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "snapshot_name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "snapshot_name" + ] + } + } + } + } + } + } + }, + "/_slm/_execute_retention": { + "post": { + "description": "Deletes any snapshots that are expired according to the policy's retention rules.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute-retention.html" + }, + "operationId": "slm.execute_retention#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_slm/policy": { + "get": { + "description": "Retrieves one or more snapshot lifecycle policy definitions and information about the latest snapshot attempts.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get-policy.html" + }, + "operationId": "slm.get_lifecycle#1", + "responses": { + "200": { + "$ref": "#/components/responses/slm.get_lifecycle#200" + } + } + } + }, + "/_slm/stats": { + "get": { + "description": "Returns global and policy-level statistics about actions taken by snapshot lifecycle management.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/slm-api-get-stats.html" + }, + "operationId": "slm.get_stats#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "retention_deletion_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "retention_deletion_time_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "retention_failed": { + "type": "number" + }, + "retention_runs": { + "type": "number" + }, + "retention_timed_out": { + "type": "number" + }, + "total_snapshots_deleted": { + "type": "number" + }, + "total_snapshot_deletion_failures": { + "type": "number" + }, + "total_snapshots_failed": { + "type": "number" + }, + "total_snapshots_taken": { + "type": "number" + }, + "policy_stats": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "retention_deletion_time", + "retention_deletion_time_millis", + "retention_failed", + "retention_runs", + "retention_timed_out", + "total_snapshots_deleted", + "total_snapshot_deletion_failures", + "total_snapshots_failed", + "total_snapshots_taken", + "policy_stats" + ] + } + } + } + } + } + } + }, + "/_slm/status": { + "get": { + "description": "Retrieves the status of snapshot lifecycle management (SLM).", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get-status.html" + }, + "operationId": "slm.get_status#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "operation_mode": { + "$ref": "#/components/schemas/_types:LifecycleOperationMode" + } + }, + "required": [ + "operation_mode" + ] + } + } + } + } + } + } + }, + "/_slm/policy/{policy_id}{?master_timeout,timeout}": { + "put": { + "description": "Creates or updates a snapshot lifecycle policy.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-put-policy.html" + }, + "operationId": "slm.put_lifecycle#0", + "parameters": [ + { + "in": "path", + "name": "policy_id", + "description": "ID for the snapshot lifecycle policy you want to create or update.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "config": { + "$ref": "#/components/schemas/slm._types:Configuration" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "repository": { + "description": "Repository used to store snapshots created by this policy. This repository must exist prior to the policy’s creation. You can create a repository using the snapshot repository API.", + "type": "string" + }, + "retention": { + "$ref": "#/components/schemas/slm._types:Retention" + }, + "schedule": { + "$ref": "#/components/schemas/watcher._types:CronExpression" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_slm/start": { + "post": { + "description": "Turns on snapshot lifecycle management (SLM).", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-start.html" + }, + "operationId": "slm.start#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_slm/stop": { + "post": { + "description": "Turns off snapshot lifecycle management (SLM).", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-stop.html" + }, + "operationId": "slm.stop#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_snapshot/{repository}/_cleanup{?master_timeout,timeout}": { + "post": { + "description": "Removes stale data from repository.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/clean-up-snapshot-repo-api.html" + }, + "operationId": "snapshot.cleanup_repository#0", + "parameters": [ + { + "in": "path", + "name": "repository", + "description": "Snapshot repository to clean up.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "results": { + "$ref": "#/components/schemas/snapshot.cleanup_repository:CleanupRepositoryResults" + } + }, + "required": [ + "results" + ] + } + } + } + } + } + } + }, + "/_snapshot/{repository}/{snapshot}/_clone/{target_snapshot}{?master_timeout,timeout}": { + "put": { + "description": "Clones indices from one snapshot into another snapshot in the same repository.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + }, + "operationId": "snapshot.clone#0", + "parameters": [ + { + "in": "path", + "name": "repository", + "description": "A repository name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "path", + "name": "snapshot", + "description": "The name of the snapshot to clone from", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "path", + "name": "target_snapshot", + "description": "The name of the cloned snapshot to create", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Explicit operation timeout for connection to master node", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "indices": { + "type": "string" + } + }, + "required": [ + "indices" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_snapshot/{repository}/{snapshot}{?master_timeout,wait_for_completion}": { + "put": { + "description": "Creates a snapshot in a repository.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + }, + "operationId": "snapshot.create#0", + "parameters": [ + { + "$ref": "#/components/parameters/snapshot.create#repository" + }, + { + "$ref": "#/components/parameters/snapshot.create#snapshot" + }, + { + "$ref": "#/components/parameters/snapshot.create#master_timeout" + }, + { + "$ref": "#/components/parameters/snapshot.create#wait_for_completion" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/snapshot.create" + }, + "responses": { + "200": { + "$ref": "#/components/responses/snapshot.create#200" + } + } + }, + "post": { + "description": "Creates a snapshot in a repository.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + }, + "operationId": "snapshot.create#1", + "parameters": [ + { + "$ref": "#/components/parameters/snapshot.create#repository" + }, + { + "$ref": "#/components/parameters/snapshot.create#snapshot" + }, + { + "$ref": "#/components/parameters/snapshot.create#master_timeout" + }, + { + "$ref": "#/components/parameters/snapshot.create#wait_for_completion" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/snapshot.create" + }, + "responses": { + "200": { + "$ref": "#/components/responses/snapshot.create#200" + } + } + } + }, + "/_snapshot/{repository}{?master_timeout,timeout,verify}": { + "put": { + "description": "Creates a repository.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + }, + "operationId": "snapshot.create_repository#0", + "parameters": [ + { + "$ref": "#/components/parameters/snapshot.create_repository#repository" + }, + { + "$ref": "#/components/parameters/snapshot.create_repository#master_timeout" + }, + { + "$ref": "#/components/parameters/snapshot.create_repository#timeout" + }, + { + "$ref": "#/components/parameters/snapshot.create_repository#verify" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/snapshot.create_repository" + }, + "responses": { + "200": { + "$ref": "#/components/responses/snapshot.create_repository#200" + } + } + }, + "post": { + "description": "Creates a repository.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + }, + "operationId": "snapshot.create_repository#1", + "parameters": [ + { + "$ref": "#/components/parameters/snapshot.create_repository#repository" + }, + { + "$ref": "#/components/parameters/snapshot.create_repository#master_timeout" + }, + { + "$ref": "#/components/parameters/snapshot.create_repository#timeout" + }, + { + "$ref": "#/components/parameters/snapshot.create_repository#verify" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/snapshot.create_repository" + }, + "responses": { + "200": { + "$ref": "#/components/responses/snapshot.create_repository#200" + } + } + } + }, + "/_snapshot/{repository}/{snapshot}{?master_timeout}": { + "put": { + "description": "Deletes one or more snapshots.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + }, + "operationId": "snapshot.delete#0", + "parameters": [ + { + "in": "path", + "name": "repository", + "description": "A repository name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "path", + "name": "snapshot", + "description": "A comma-separated list of snapshot names", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Explicit operation timeout for connection to master node", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_snapshot/{repository}{?master_timeout,timeout}": { + "put": { + "description": "Deletes a repository.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + }, + "operationId": "snapshot.delete_repository#0", + "parameters": [ + { + "in": "path", + "name": "repository", + "description": "Name of the snapshot repository to unregister. Wildcard (`*`) patterns are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Explicit operation timeout for connection to master node", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Explicit operation timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_snapshot/{repository}/{snapshot}{?ignore_unavailable,master_timeout,verbose,index_details,index_names,include_repository,sort,size,order,after,offset,from_sort_value,slm_policy_filter}": { + "get": { + "description": "Returns information about a snapshot.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + }, + "operationId": "snapshot.get#0", + "parameters": [ + { + "in": "path", + "name": "repository", + "description": "Comma-separated list of snapshot repository names used to limit the request. Wildcard (*) expressions are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "path", + "name": "snapshot", + "description": "Comma-separated list of snapshot names to retrieve. Also accepts wildcards (*).\n- To get information about all snapshots in a registered repository, use a wildcard (*) or _all.\n- To get information about any snapshots that are currently running, use _current.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If false, the request returns an error for any snapshots that are unavailable.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "verbose", + "description": "If true, returns additional information about each snapshot such as the version of Elasticsearch which took the snapshot, the start and end times of the snapshot, and the number of shards snapshotted.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "index_details", + "description": "If true, returns additional information about each index in the snapshot comprising the number of shards in the index, the total size of the index in bytes, and the maximum number of segments per shard in the index. Defaults to false, meaning that this information is omitted.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "index_names", + "description": "If true, returns the name of each index in each snapshot.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "include_repository", + "description": "If true, returns the repository name in each snapshot.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "sort", + "description": "Allows setting a sort order for the result. Defaults to start_time, i.e. sorting by snapshot start time stamp.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/snapshot._types:SnapshotSort" + }, + "style": "form" + }, + { + "in": "query", + "name": "size", + "description": "Maximum number of snapshots to return. Defaults to 0 which means return all that match the request without limit.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "order", + "description": "Sort order. Valid values are asc for ascending and desc for descending order. Defaults to asc, meaning ascending order.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SortOrder" + }, + "style": "form" + }, + { + "in": "query", + "name": "after", + "description": "Offset identifier to start pagination from as returned by the next field in the response body.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "offset", + "description": "Numeric offset to start pagination from based on the snapshots matching this request. Using a non-zero value for this parameter is mutually exclusive with using the after parameter. Defaults to 0.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "from_sort_value", + "description": "Value of the current sort column at which to start retrieval. Can either be a string snapshot- or repository name when sorting by snapshot or repository name, a millisecond time value or a number when sorting by index- or shard count.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "slm_policy_filter", + "description": "Filter snapshots by a comma-separated list of SLM policy names that snapshots belong to. Also accepts wildcards (*) and combinations of wildcards followed by exclude patterns starting with -. To include snapshots not created by an SLM policy you can use the special pattern _none that will match all snapshots without an SLM policy.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "responses": { + "type": "array", + "items": { + "$ref": "#/components/schemas/snapshot.get:SnapshotResponseItem" + } + }, + "snapshots": { + "type": "array", + "items": { + "$ref": "#/components/schemas/snapshot._types:SnapshotInfo" + } + }, + "total": { + "description": "The total number of snapshots that match the request when ignoring size limit or after query parameter.", + "type": "number" + }, + "remaining": { + "description": "The number of remaining snapshots that were not returned due to size limits and that can be fetched by additional requests using the next field value.", + "type": "number" + } + }, + "required": [ + "total", + "remaining" + ] + } + } + } + } + } + } + }, + "/_snapshot{?local,master_timeout}": { + "get": { + "description": "Returns information about a repository.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + }, + "operationId": "snapshot.get_repository#0", + "parameters": [ + { + "$ref": "#/components/parameters/snapshot.get_repository#local" + }, + { + "$ref": "#/components/parameters/snapshot.get_repository#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/snapshot.get_repository#200" + } + } + } + }, + "/_snapshot/{repository}{?local,master_timeout}": { + "get": { + "description": "Returns information about a repository.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + }, + "operationId": "snapshot.get_repository#1", + "parameters": [ + { + "$ref": "#/components/parameters/snapshot.get_repository#repository" + }, + { + "$ref": "#/components/parameters/snapshot.get_repository#local" + }, + { + "$ref": "#/components/parameters/snapshot.get_repository#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/snapshot.get_repository#200" + } + } + } + }, + "/_snapshot/{repository}/{snapshot}/_restore{?master_timeout,wait_for_completion}": { + "post": { + "description": "Restores a snapshot.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + }, + "operationId": "snapshot.restore#0", + "parameters": [ + { + "in": "path", + "name": "repository", + "description": "A repository name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "path", + "name": "snapshot", + "description": "A snapshot name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Explicit operation timeout for connection to master node", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_completion", + "description": "Should this request wait until the operation has completed before returning", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "feature_states": { + "type": "array", + "items": { + "type": "string" + } + }, + "ignore_index_settings": { + "type": "array", + "items": { + "type": "string" + } + }, + "ignore_unavailable": { + "type": "boolean" + }, + "include_aliases": { + "type": "boolean" + }, + "include_global_state": { + "type": "boolean" + }, + "index_settings": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + }, + "indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "partial": { + "type": "boolean" + }, + "rename_pattern": { + "type": "string" + }, + "rename_replacement": { + "type": "string" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "snapshot": { + "$ref": "#/components/schemas/snapshot.restore:SnapshotRestore" + } + }, + "required": [ + "snapshot" + ] + } + } + } + } + } + } + }, + "/_snapshot/_status{?ignore_unavailable,master_timeout}": { + "get": { + "description": "Returns information about the status of a snapshot.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + }, + "operationId": "snapshot.status#0", + "parameters": [ + { + "$ref": "#/components/parameters/snapshot.status#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/snapshot.status#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/snapshot.status#200" + } + } + } + }, + "/_snapshot/{repository}/_status{?ignore_unavailable,master_timeout}": { + "get": { + "description": "Returns information about the status of a snapshot.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + }, + "operationId": "snapshot.status#1", + "parameters": [ + { + "$ref": "#/components/parameters/snapshot.status#repository" + }, + { + "$ref": "#/components/parameters/snapshot.status#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/snapshot.status#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/snapshot.status#200" + } + } + } + }, + "/_snapshot/{repository}/{snapshot}/_status{?ignore_unavailable,master_timeout}": { + "get": { + "description": "Returns information about the status of a snapshot.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + }, + "operationId": "snapshot.status#2", + "parameters": [ + { + "$ref": "#/components/parameters/snapshot.status#repository" + }, + { + "$ref": "#/components/parameters/snapshot.status#snapshot" + }, + { + "$ref": "#/components/parameters/snapshot.status#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/snapshot.status#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/snapshot.status#200" + } + } + } + }, + "/_snapshot/{repository}/_verify{?master_timeout,timeout}": { + "post": { + "description": "Verifies a repository.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + }, + "operationId": "snapshot.verify_repository#0", + "parameters": [ + { + "in": "path", + "name": "repository", + "description": "A repository name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Explicit operation timeout for connection to master node", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Explicit operation timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/snapshot.verify_repository:CompactNodeInfo" + } + } + }, + "required": [ + "nodes" + ] + } + } + } + } + } + } + }, + "/_sql/close": { + "post": { + "description": "Clears the SQL cursor", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-sql-cursor-api.html" + }, + "operationId": "sql.clear_cursor#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "cursor": { + "type": "string" + } + }, + "required": [ + "cursor" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "succeeded": { + "type": "boolean" + } + }, + "required": [ + "succeeded" + ] + } + } + } + } + } + } + }, + "/_sql/async/delete/{id}": { + "put": { + "description": "Deletes an async SQL search or a stored synchronous SQL search. If the search is still running, the API cancels it.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-async-sql-search-api.html" + }, + "operationId": "sql.delete_async#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The async search ID", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_sql/async/{id}{?delimiter,format,keep_alive,wait_for_completion_timeout}": { + "get": { + "description": "Returns the current status and available results for an async SQL search or stored synchronous SQL search", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-async-sql-search-api.html" + }, + "operationId": "sql.get_async#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The async search ID", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "delimiter", + "description": "Separator for CSV results. The API only supports this parameter for CSV responses.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "format", + "description": "Format for the response. You must specify a format using this parameter or the\nAccept HTTP header. If you specify both, the API uses this parameter.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "keep_alive", + "description": "Retention period for the search and its results. Defaults\nto the `keep_alive` period for the original SQL search.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_completion_timeout", + "description": "Period to wait for complete results. Defaults to no timeout,\nmeaning the request waits for complete search results.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "is_running": { + "description": "If `true`, the search is still running. If false, the search has finished.\nThis value is only returned for async and saved synchronous searches. For\nCSV, TSV, and TXT responses, this value is returned in the `Async-partial`\nHTTP header.", + "type": "boolean" + }, + "is_partial": { + "description": "If `true`, the response does not contain complete search results. If `is_partial`\nis `true` and `is_running` is `true`, the search is still running. If `is_partial`\nis `true` but `is_running` is `false`, the results are partial due to a failure or\ntimeout. This value is only returned for async and saved synchronous searches.\nFor CSV, TSV, and TXT responses, this value is returned in the `Async-partial` HTTP header.", + "type": "boolean" + }, + "columns": { + "description": "Column headings for the search results. Each object is a column.", + "type": "array", + "items": { + "$ref": "#/components/schemas/sql:Column" + } + }, + "cursor": { + "description": "Cursor for the next set of paginated results. For CSV, TSV, and\nTXT responses, this value is returned in the `Cursor` HTTP header.", + "type": "string" + }, + "rows": { + "description": "Values for the search results.", + "type": "array", + "items": { + "$ref": "#/components/schemas/sql:Row" + } + } + }, + "required": [ + "id", + "is_running", + "is_partial", + "rows" + ] + } + } + } + } + } + } + }, + "/_sql/async/status/{id}": { + "get": { + "description": "Returns the current status of an async SQL search or a stored synchronous SQL search", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-async-sql-search-status-api.html" + }, + "operationId": "sql.get_async_status#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The async search ID", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "description": "Identifier for the search.", + "type": "string" + }, + "is_running": { + "description": "If `true`, the search is still running. If `false`, the search has finished.", + "type": "boolean" + }, + "is_partial": { + "description": "If `true`, the response does not contain complete search results. If `is_partial`\nis `true` and `is_running` is `true`, the search is still running. If `is_partial`\nis `true` but `is_running` is `false`, the results are partial due to a failure or\ntimeout.", + "type": "boolean" + }, + "start_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "expiration_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "completion_status": { + "$ref": "#/components/schemas/_types:uint" + } + }, + "required": [ + "id", + "is_running", + "is_partial", + "start_time_in_millis", + "expiration_time_in_millis" + ] + } + } + } + } + } + } + }, + "/_sql{?format}": { + "get": { + "description": "Executes a SQL request", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-search-api.html" + }, + "operationId": "sql.query#1", + "parameters": [ + { + "$ref": "#/components/parameters/sql.query#format" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/sql.query" + }, + "responses": { + "200": { + "$ref": "#/components/responses/sql.query#200" + } + } + }, + "post": { + "description": "Executes a SQL request", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-search-api.html" + }, + "operationId": "sql.query#0", + "parameters": [ + { + "$ref": "#/components/parameters/sql.query#format" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/sql.query" + }, + "responses": { + "200": { + "$ref": "#/components/responses/sql.query#200" + } + } + } + }, + "/_sql/translate": { + "get": { + "description": "Translates SQL into Elasticsearch queries", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-translate-api.html" + }, + "operationId": "sql.translate#1", + "requestBody": { + "$ref": "#/components/requestBodies/sql.translate" + }, + "responses": { + "200": { + "$ref": "#/components/responses/sql.translate#200" + } + } + }, + "post": { + "description": "Translates SQL into Elasticsearch queries", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-translate-api.html" + }, + "operationId": "sql.translate#0", + "requestBody": { + "$ref": "#/components/requestBodies/sql.translate" + }, + "responses": { + "200": { + "$ref": "#/components/responses/sql.translate#200" + } + } + } + }, + "/_ssl/certificates": { + "get": { + "description": "Retrieves information about the X.509 certificates used to encrypt communications in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-ssl.html" + }, + "operationId": "ssl.certificates#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ssl.certificates:CertificateInformation" + } + } + } + } + } + } + } + }, + "/_synonyms/{id}": { + "put": { + "description": "Creates or updates a synonyms set", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-synonyms-set.html" + }, + "operationId": "synonyms.put_synonym#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The id of the synonyms set to be created or updated", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "synonyms_set": { + "description": "The synonym set information to update", + "type": "array", + "items": { + "$ref": "#/components/schemas/synonyms._types:SynonymRule" + } + } + }, + "required": [ + "synonyms_set" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/components/schemas/_types:Result" + }, + "reload_analyzers_details": { + "$ref": "#/components/schemas/indices.reload_search_analyzers:ReloadDetails" + } + }, + "required": [ + "result", + "reload_analyzers_details" + ] + } + } + } + } + } + } + }, + "/_synonyms/{set_id}/{rule_id}": { + "put": { + "description": "Creates or updates a synonym rule in a synonym set", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-synonym-rule.html" + }, + "operationId": "synonyms.put_synonym_rule#0", + "parameters": [ + { + "in": "path", + "name": "set_id", + "description": "The id of the synonym set to be updated with the synonym rule", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "rule_id", + "description": "The id of the synonym rule to be updated or created", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "synonyms": { + "type": "array", + "items": { + "$ref": "#/components/schemas/synonyms._types:SynonymString" + } + } + }, + "required": [ + "synonyms" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/synonyms._types:SynonymsUpdateResult" + } + } + } + } + } + } + }, + "/_synonyms/{id}{?from,size}": { + "get": { + "description": "Retrieves a synonym set", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-synonyms-set.html" + }, + "operationId": "synonyms.get_synonym#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "\"The id of the synonyms set to be retrieved", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "from", + "description": "Starting offset for query rules to be retrieved", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "size", + "description": "specifies a max number of query rules to retrieve", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "synonyms_set": { + "type": "array", + "items": { + "$ref": "#/components/schemas/synonyms._types:SynonymRuleRead" + } + } + }, + "required": [ + "count", + "synonyms_set" + ] + } + } + } + } + } + } + }, + "/_synonyms{?from,size}": { + "get": { + "description": "Retrieves a summary of all defined synonym sets", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-synonyms-sets.html" + }, + "operationId": "synonyms.get_synonyms_sets#0", + "parameters": [ + { + "in": "query", + "name": "from", + "description": "Starting offset", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "size", + "description": "specifies a max number of results to get", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/synonyms.get_synonyms_sets:SynonymsSetItem" + } + } + }, + "required": [ + "count", + "results" + ] + } + } + } + } + } + } + }, + "/_tasks/_cancel{?actions,nodes,parent_task_id,wait_for_completion}": { + "post": { + "description": "Cancels a task, if it can be cancelled through an API.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/tasks.html" + }, + "operationId": "tasks.cancel#0", + "parameters": [ + { + "$ref": "#/components/parameters/tasks.cancel#actions" + }, + { + "$ref": "#/components/parameters/tasks.cancel#nodes" + }, + { + "$ref": "#/components/parameters/tasks.cancel#parent_task_id" + }, + { + "$ref": "#/components/parameters/tasks.cancel#wait_for_completion" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/tasks.cancel#200" + } + } + } + }, + "/_tasks/{task_id}/_cancel{?actions,nodes,parent_task_id,wait_for_completion}": { + "post": { + "description": "Cancels a task, if it can be cancelled through an API.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/tasks.html" + }, + "operationId": "tasks.cancel#1", + "parameters": [ + { + "$ref": "#/components/parameters/tasks.cancel#task_id" + }, + { + "$ref": "#/components/parameters/tasks.cancel#actions" + }, + { + "$ref": "#/components/parameters/tasks.cancel#nodes" + }, + { + "$ref": "#/components/parameters/tasks.cancel#parent_task_id" + }, + { + "$ref": "#/components/parameters/tasks.cancel#wait_for_completion" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/tasks.cancel#200" + } + } + } + }, + "/_tasks/{task_id}{?timeout,wait_for_completion}": { + "get": { + "description": "Returns information about a task.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/tasks.html" + }, + "operationId": "tasks.get#0", + "parameters": [ + { + "in": "path", + "name": "task_id", + "description": "Return the task with specified id (node_id:task_number)", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Explicit operation timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_completion", + "description": "Wait for the matching tasks to complete (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "completed": { + "type": "boolean" + }, + "task": { + "$ref": "#/components/schemas/tasks._types:TaskInfo" + }, + "response": { + "$ref": "#/components/schemas/tasks._types:TaskStatus" + }, + "error": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + }, + "required": [ + "completed", + "task" + ] + } + } + } + } + } + } + }, + "/_tasks{?actions,detailed,group_by,node_id,parent_task_id,master_timeout,timeout,wait_for_completion}": { + "get": { + "description": "Returns a list of tasks.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/tasks.html" + }, + "operationId": "tasks.list#0", + "parameters": [ + { + "in": "query", + "name": "actions", + "description": "Comma-separated list or wildcard expression of actions used to limit the request.", + "deprecated": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "style": "form" + }, + { + "in": "query", + "name": "detailed", + "description": "If `true`, the response includes detailed information about shard recoveries.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "group_by", + "description": "Key used to group tasks in the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/tasks._types:GroupBy" + }, + "style": "form" + }, + { + "in": "query", + "name": "node_id", + "description": "Comma-separated list of node IDs or names used to limit returned information.", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + { + "in": "query", + "name": "parent_task_id", + "description": "Parent task ID used to limit returned information. To return all tasks, omit this parameter or use a value of `-1`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_completion", + "description": "If `true`, the request blocks until the operation is complete.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/tasks._types:TaskListResponseBase" + } + } + } + } + } + } + }, + "/{index}/_terms_enum": { + "get": { + "description": "The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html" + }, + "operationId": "terms_enum#0", + "parameters": [ + { + "$ref": "#/components/parameters/terms_enum#index" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/terms_enum" + }, + "responses": { + "200": { + "$ref": "#/components/responses/terms_enum#200" + } + } + }, + "post": { + "description": "The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html" + }, + "operationId": "terms_enum#1", + "parameters": [ + { + "$ref": "#/components/parameters/terms_enum#index" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/terms_enum" + }, + "responses": { + "200": { + "$ref": "#/components/responses/terms_enum#200" + } + } + } + }, + "/{index}/_termvectors/{id}{?fields,field_statistics,offsets,payloads,positions,preference,realtime,routing,term_statistics,version,version_type}": { + "get": { + "description": "Returns information and statistics about terms in the fields of a particular document.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" + }, + "operationId": "termvectors#0", + "parameters": [ + { + "$ref": "#/components/parameters/termvectors#index" + }, + { + "$ref": "#/components/parameters/termvectors#id" + }, + { + "$ref": "#/components/parameters/termvectors#fields" + }, + { + "$ref": "#/components/parameters/termvectors#field_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#offsets" + }, + { + "$ref": "#/components/parameters/termvectors#payloads" + }, + { + "$ref": "#/components/parameters/termvectors#positions" + }, + { + "$ref": "#/components/parameters/termvectors#preference" + }, + { + "$ref": "#/components/parameters/termvectors#realtime" + }, + { + "$ref": "#/components/parameters/termvectors#routing" + }, + { + "$ref": "#/components/parameters/termvectors#term_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#version" + }, + { + "$ref": "#/components/parameters/termvectors#version_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/termvectors" + }, + "responses": { + "200": { + "$ref": "#/components/responses/termvectors#200" + } + } + }, + "post": { + "description": "Returns information and statistics about terms in the fields of a particular document.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" + }, + "operationId": "termvectors#1", + "parameters": [ + { + "$ref": "#/components/parameters/termvectors#index" + }, + { + "$ref": "#/components/parameters/termvectors#id" + }, + { + "$ref": "#/components/parameters/termvectors#fields" + }, + { + "$ref": "#/components/parameters/termvectors#field_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#offsets" + }, + { + "$ref": "#/components/parameters/termvectors#payloads" + }, + { + "$ref": "#/components/parameters/termvectors#positions" + }, + { + "$ref": "#/components/parameters/termvectors#preference" + }, + { + "$ref": "#/components/parameters/termvectors#realtime" + }, + { + "$ref": "#/components/parameters/termvectors#routing" + }, + { + "$ref": "#/components/parameters/termvectors#term_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#version" + }, + { + "$ref": "#/components/parameters/termvectors#version_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/termvectors" + }, + "responses": { + "200": { + "$ref": "#/components/responses/termvectors#200" + } + } + } + }, + "/{index}/_termvectors{?fields,field_statistics,offsets,payloads,positions,preference,realtime,routing,term_statistics,version,version_type}": { + "get": { + "description": "Returns information and statistics about terms in the fields of a particular document.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" + }, + "operationId": "termvectors#2", + "parameters": [ + { + "$ref": "#/components/parameters/termvectors#index" + }, + { + "$ref": "#/components/parameters/termvectors#fields" + }, + { + "$ref": "#/components/parameters/termvectors#field_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#offsets" + }, + { + "$ref": "#/components/parameters/termvectors#payloads" + }, + { + "$ref": "#/components/parameters/termvectors#positions" + }, + { + "$ref": "#/components/parameters/termvectors#preference" + }, + { + "$ref": "#/components/parameters/termvectors#realtime" + }, + { + "$ref": "#/components/parameters/termvectors#routing" + }, + { + "$ref": "#/components/parameters/termvectors#term_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#version" + }, + { + "$ref": "#/components/parameters/termvectors#version_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/termvectors" + }, + "responses": { + "200": { + "$ref": "#/components/responses/termvectors#200" + } + } + }, + "post": { + "description": "Returns information and statistics about terms in the fields of a particular document.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" + }, + "operationId": "termvectors#3", + "parameters": [ + { + "$ref": "#/components/parameters/termvectors#index" + }, + { + "$ref": "#/components/parameters/termvectors#fields" + }, + { + "$ref": "#/components/parameters/termvectors#field_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#offsets" + }, + { + "$ref": "#/components/parameters/termvectors#payloads" + }, + { + "$ref": "#/components/parameters/termvectors#positions" + }, + { + "$ref": "#/components/parameters/termvectors#preference" + }, + { + "$ref": "#/components/parameters/termvectors#realtime" + }, + { + "$ref": "#/components/parameters/termvectors#routing" + }, + { + "$ref": "#/components/parameters/termvectors#term_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#version" + }, + { + "$ref": "#/components/parameters/termvectors#version_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/termvectors" + }, + "responses": { + "200": { + "$ref": "#/components/responses/termvectors#200" + } + } + } + }, + "/_text_structure/find_structure{?charset,column_names,delimiter,explain,format,grok_pattern,has_header_row,line_merge_size_limit,lines_to_sample,quote,should_trim_fields,timeout,timestamp_field,timestamp_format}": { + "post": { + "description": "Finds the structure of a text file. The text file must contain data that is suitable to be ingested into Elasticsearch.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/find-structure.html" + }, + "operationId": "text_structure.find_structure#0", + "parameters": [ + { + "in": "query", + "name": "charset", + "description": "The text’s character set. It must be a character set that is supported by the JVM that Elasticsearch uses. For example, UTF-8, UTF-16LE, windows-1252, or EUC-JP. If this parameter is not specified, the structure finder chooses an appropriate character set.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "column_names", + "description": "If you have set format to delimited, you can specify the column names in a comma-separated list. If this parameter is not specified, the structure finder uses the column names from the header row of the text. If the text does not have a header role, columns are named \"column1\", \"column2\", \"column3\", etc.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "delimiter", + "description": "If you have set format to delimited, you can specify the character used to delimit the values in each row. Only a single character is supported; the delimiter cannot have multiple characters. By default, the API considers the following possibilities: comma, tab, semi-colon, and pipe (|). In this default scenario, all rows must have the same number of fields for the delimited format to be detected. If you specify a delimiter, up to 10% of the rows can have a different number of columns than the first row.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "explain", + "description": "If this parameter is set to true, the response includes a field named explanation, which is an array of strings that indicate how the structure finder produced its result.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "format", + "description": "The high level structure of the text. Valid values are ndjson, xml, delimited, and semi_structured_text. By default, the API chooses the format. In this default scenario, all rows must have the same number of fields for a delimited format to be detected. If the format is set to delimited and the delimiter is not set, however, the API tolerates up to 5% of rows that have a different number of columns than the first row.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "grok_pattern", + "description": "If you have set format to semi_structured_text, you can specify a Grok pattern that is used to extract fields from every message in the text. The name of the timestamp field in the Grok pattern must match what is specified in the timestamp_field parameter. If that parameter is not specified, the name of the timestamp field in the Grok pattern must match \"timestamp\". If grok_pattern is not specified, the structure finder creates a Grok pattern.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "has_header_row", + "description": "If you have set format to delimited, you can use this parameter to indicate whether the column names are in the first row of the text. If this parameter is not specified, the structure finder guesses based on the similarity of the first row of the text to other rows.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "line_merge_size_limit", + "description": "The maximum number of characters in a message when lines are merged to form messages while analyzing semi-structured text. If you have extremely long messages you may need to increase this, but be aware that this may lead to very long processing times if the way to group lines into messages is misdetected.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:uint" + }, + "style": "form" + }, + { + "in": "query", + "name": "lines_to_sample", + "description": "The number of lines to include in the structural analysis, starting from the beginning of the text. The minimum is 2; If the value of this parameter is greater than the number of lines in the text, the analysis proceeds (as long as there are at least two lines in the text) for all of the lines.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:uint" + }, + "style": "form" + }, + { + "in": "query", + "name": "quote", + "description": "If you have set format to delimited, you can specify the character used to quote the values in each row if they contain newlines or the delimiter character. Only a single character is supported. If this parameter is not specified, the default value is a double quote (\"). If your delimited text format does not use quoting, a workaround is to set this argument to a character that does not appear anywhere in the sample.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "should_trim_fields", + "description": "If you have set format to delimited, you can specify whether values between delimiters should have whitespace trimmed from them. If this parameter is not specified and the delimiter is pipe (|), the default value is true. Otherwise, the default value is false.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Sets the maximum amount of time that the structure analysis make take. If the analysis is still running when the timeout expires then it will be aborted.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timestamp_field", + "description": "Optional parameter to specify the timestamp field in the file", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Field" + }, + "style": "form" + }, + { + "in": "query", + "name": "timestamp_format", + "description": "The Java time format of the timestamp field in the text.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "charset": { + "type": "string" + }, + "has_header_row": { + "type": "boolean" + }, + "has_byte_order_marker": { + "type": "boolean" + }, + "format": { + "type": "string" + }, + "field_stats": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/text_structure.find_structure:FieldStat" + } + }, + "sample_start": { + "type": "string" + }, + "num_messages_analyzed": { + "type": "number" + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "quote": { + "type": "string" + }, + "delimiter": { + "type": "string" + }, + "need_client_timezone": { + "type": "boolean" + }, + "num_lines_analyzed": { + "type": "number" + }, + "column_names": { + "type": "array", + "items": { + "type": "string" + } + }, + "explanation": { + "type": "array", + "items": { + "type": "string" + } + }, + "grok_pattern": { + "type": "string" + }, + "multiline_start_pattern": { + "type": "string" + }, + "exclude_lines_pattern": { + "type": "string" + }, + "java_timestamp_formats": { + "type": "array", + "items": { + "type": "string" + } + }, + "joda_timestamp_formats": { + "type": "array", + "items": { + "type": "string" + } + }, + "timestamp_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "should_trim_fields": { + "type": "boolean" + }, + "ingest_pipeline": { + "$ref": "#/components/schemas/ingest._types:PipelineConfig" + } + }, + "required": [ + "charset", + "has_byte_order_marker", + "format", + "field_stats", + "sample_start", + "num_messages_analyzed", + "mappings", + "need_client_timezone", + "num_lines_analyzed", + "ingest_pipeline" + ] + } + } + } + } + } + } + }, + "/_transform/{transform_id}{?force,timeout}": { + "put": { + "description": "Deletes an existing transform.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-transform.html" + }, + "operationId": "transform.delete_transform#0", + "parameters": [ + { + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "force", + "description": "If this value is false, the transform must be stopped before it can be deleted. If true, the transform is\ndeleted regardless of its current state.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_transform/{transform_id}{?allow_no_match,from,size,exclude_generated}": { + "get": { + "description": "Retrieves configuration information for transforms.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html" + }, + "operationId": "transform.get_transform#0", + "parameters": [ + { + "$ref": "#/components/parameters/transform.get_transform#transform_id" + }, + { + "$ref": "#/components/parameters/transform.get_transform#allow_no_match" + }, + { + "$ref": "#/components/parameters/transform.get_transform#from" + }, + { + "$ref": "#/components/parameters/transform.get_transform#size" + }, + { + "$ref": "#/components/parameters/transform.get_transform#exclude_generated" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/transform.get_transform#200" + } + } + } + }, + "/_transform{?allow_no_match,from,size,exclude_generated}": { + "get": { + "description": "Retrieves configuration information for transforms.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html" + }, + "operationId": "transform.get_transform#1", + "parameters": [ + { + "$ref": "#/components/parameters/transform.get_transform#allow_no_match" + }, + { + "$ref": "#/components/parameters/transform.get_transform#from" + }, + { + "$ref": "#/components/parameters/transform.get_transform#size" + }, + { + "$ref": "#/components/parameters/transform.get_transform#exclude_generated" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/transform.get_transform#200" + } + } + } + }, + "/_transform/{transform_id}/_stats{?allow_no_match,from,size,timeout}": { + "get": { + "description": "Retrieves usage information for transforms.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform-stats.html" + }, + "operationId": "transform.get_transform_stats#0", + "parameters": [ + { + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform. It can be a transform identifier or a\nwildcard expression. You can get information for all transforms by using\n`_all`, by specifying `*` as the ``, or by omitting the\n``.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no transforms that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf this parameter is false, the request returns a 404 status code when\nthere are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "from", + "description": "Skips the specified number of transforms.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of transforms to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Controls the time to wait for the stats", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "transforms": { + "type": "array", + "items": { + "$ref": "#/components/schemas/transform.get_transform_stats:TransformStats" + } + } + }, + "required": [ + "count", + "transforms" + ] + } + } + } + } + } + } + }, + "/_transform/{transform_id}/_preview{?timeout}": { + "get": { + "description": "Previews a transform.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" + }, + "operationId": "transform.preview_transform#0", + "parameters": [ + { + "$ref": "#/components/parameters/transform.preview_transform#transform_id" + }, + { + "$ref": "#/components/parameters/transform.preview_transform#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/transform.preview_transform" + }, + "responses": { + "200": { + "$ref": "#/components/responses/transform.preview_transform#200" + } + } + }, + "post": { + "description": "Previews a transform.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" + }, + "operationId": "transform.preview_transform#1", + "parameters": [ + { + "$ref": "#/components/parameters/transform.preview_transform#transform_id" + }, + { + "$ref": "#/components/parameters/transform.preview_transform#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/transform.preview_transform" + }, + "responses": { + "200": { + "$ref": "#/components/responses/transform.preview_transform#200" + } + } + } + }, + "/_transform/_preview{?timeout}": { + "get": { + "description": "Previews a transform.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" + }, + "operationId": "transform.preview_transform#2", + "parameters": [ + { + "$ref": "#/components/parameters/transform.preview_transform#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/transform.preview_transform" + }, + "responses": { + "200": { + "$ref": "#/components/responses/transform.preview_transform#200" + } + } + }, + "post": { + "description": "Previews a transform.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" + }, + "operationId": "transform.preview_transform#3", + "parameters": [ + { + "$ref": "#/components/parameters/transform.preview_transform#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/transform.preview_transform" + }, + "responses": { + "200": { + "$ref": "#/components/responses/transform.preview_transform#200" + } + } + } + }, + "/_transform/{transform_id}{?defer_validation,timeout}": { + "put": { + "description": "Instantiates a transform.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html" + }, + "operationId": "transform.put_transform#0", + "parameters": [ + { + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform. This identifier can contain lowercase alphanumeric characters (a-z and 0-9),\nhyphens, and underscores. It has a 64 character limit and must start and end with alphanumeric characters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "defer_validation", + "description": "When the transform is created, a series of validations occur to ensure its success. For example, there is a\ncheck for the existence of the source indices and a check that the destination index is not part of the source\nindex pattern. You can use this parameter to skip the checks, for example when the source index does not exist\nuntil after the transform is created. The validations are always run when you start the transform, however, with\nthe exception of privilege checks.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "dest": { + "$ref": "#/components/schemas/transform._types:Destination" + }, + "description": { + "description": "Free text description of the transform.", + "type": "string" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "latest": { + "$ref": "#/components/schemas/transform._types:Latest" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "pivot": { + "$ref": "#/components/schemas/transform._types:Pivot" + }, + "retention_policy": { + "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" + }, + "settings": { + "$ref": "#/components/schemas/transform._types:Settings" + }, + "source": { + "$ref": "#/components/schemas/transform._types:Source" + }, + "sync": { + "$ref": "#/components/schemas/transform._types:SyncContainer" + } + }, + "required": [ + "dest", + "source" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_transform/{transform_id}/_reset{?force}": { + "post": { + "description": "Resets an existing transform.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/reset-transform.html" + }, + "operationId": "transform.reset_transform#0", + "parameters": [ + { + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform. This identifier can contain lowercase alphanumeric characters (a-z and 0-9),\nhyphens, and underscores. It has a 64 character limit and must start and end with alphanumeric characters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "force", + "description": "If this value is `true`, the transform is reset regardless of its current state. If it's `false`, the transform\nmust be stopped before it can be reset.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_transform/{transform_id}/_schedule_now{?timeout}": { + "post": { + "description": "Schedules now a transform.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/schedule-now-transform.html" + }, + "operationId": "transform.schedule_now_transform#0", + "parameters": [ + { + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Controls the time to wait for the scheduling to take place", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_transform/{transform_id}/_start{?timeout,from}": { + "post": { + "description": "Starts one or more transforms.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/start-transform.html" + }, + "operationId": "transform.start_transform#0", + "parameters": [ + { + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "from", + "description": "Restricts the set of transformed entities to those changed after this time. Relative times like now-30d are supported. Only applicable for continuous transforms.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_transform/{transform_id}/_stop{?allow_no_match,force,timeout,wait_for_checkpoint,wait_for_completion}": { + "post": { + "description": "Stops one or more transforms.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-transform.html" + }, + "operationId": "transform.stop_transform#0", + "parameters": [ + { + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform. To stop multiple transforms, use a comma-separated list or a wildcard expression.\nTo stop all transforms, use `_all` or `*` as the identifier.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request: contains wildcard expressions and there are no transforms that match;\ncontains the `_all` string or no identifiers and there are no matches; contains wildcard expressions and there\nare only partial matches.\n\nIf it is true, the API returns a successful acknowledgement message when there are no matches. When there are\nonly partial matches, the API stops the appropriate transforms.\n\nIf it is false, the request returns a 404 status code when there are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "force", + "description": "If it is true, the API forcefully stops the transforms.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response when `wait_for_completion` is `true`. If no response is received before the\ntimeout expires, the request returns a timeout exception. However, the request continues processing and\neventually moves the transform to a STOPPED state.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_checkpoint", + "description": "If it is true, the transform does not completely stop until the current checkpoint is completed. If it is false,\nthe transform stops as soon as possible.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_completion", + "description": "If it is true, the API blocks until the indexer state completely stops. If it is false, the API returns\nimmediately and the indexer is stopped asynchronously in the background.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_transform/{transform_id}/_update{?defer_validation,timeout}": { + "post": { + "description": "Updates certain properties of a transform.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/update-transform.html" + }, + "operationId": "transform.update_transform#0", + "parameters": [ + { + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "defer_validation", + "description": "When true, deferrable validations are not run. This behavior may be\ndesired if the source index does not exist until after the transform is\ncreated.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the\ntimeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "dest": { + "$ref": "#/components/schemas/transform._types:Destination" + }, + "description": { + "description": "Free text description of the transform.", + "type": "string" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "source": { + "$ref": "#/components/schemas/transform._types:Source" + }, + "settings": { + "$ref": "#/components/schemas/transform._types:Settings" + }, + "sync": { + "$ref": "#/components/schemas/transform._types:SyncContainer" + }, + "retention_policy": { + "description": "Defines a retention policy for the transform. Data that meets the defined\ncriteria is deleted from the destination index.", + "oneOf": [ + { + "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" + }, + { + "nullable": true, + "type": "string" + } + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorization": { + "$ref": "#/components/schemas/ml._types:TransformAuthorization" + }, + "create_time": { + "type": "number" + }, + "description": { + "type": "string" + }, + "dest": { + "$ref": "#/components/schemas/_global.reindex:Destination" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "latest": { + "$ref": "#/components/schemas/transform._types:Latest" + }, + "pivot": { + "$ref": "#/components/schemas/transform._types:Pivot" + }, + "retention_policy": { + "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" + }, + "settings": { + "$ref": "#/components/schemas/transform._types:Settings" + }, + "source": { + "$ref": "#/components/schemas/_global.reindex:Source" + }, + "sync": { + "$ref": "#/components/schemas/transform._types:SyncContainer" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + } + }, + "required": [ + "create_time", + "description", + "dest", + "id", + "settings", + "source", + "version" + ] + } + } + } + } + } + } + }, + "/_transform/_upgrade{?dry_run,timeout}": { + "post": { + "description": "Upgrades all transforms.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/upgrade-transforms.html" + }, + "operationId": "transform.upgrade_transforms#0", + "parameters": [ + { + "in": "query", + "name": "dry_run", + "description": "When true, the request checks for updates but does not run them.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and\nreturns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "needs_update": { + "description": "The number of transforms that need to be upgraded.", + "type": "number" + }, + "no_action": { + "description": "The number of transforms that don’t require upgrading.", + "type": "number" + }, + "updated": { + "description": "The number of transforms that have been upgraded.", + "type": "number" + } + }, + "required": [ + "needs_update", + "no_action", + "updated" + ] + } + } + } + } + } + } + }, + "/{index}/_update/{id}{?if_primary_term,if_seq_no,lang,refresh,require_alias,retry_on_conflict,routing,timeout,wait_for_active_shards,_source,_source_excludes,_source_includes}": { + "post": { + "description": "Updates a document with a script or partial document.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html" + }, + "operationId": "update#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "The name of the index", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + { + "in": "path", + "name": "id", + "description": "Document ID", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "if_primary_term", + "description": "Only perform the operation if the document has this primary term.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "if_seq_no", + "description": "Only perform the operation if the document has this sequence number.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "style": "form" + }, + { + "in": "query", + "name": "lang", + "description": "The script language.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "refresh", + "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search, if 'wait_for' then wait for a refresh to make this operation\nvisible to search, if 'false' do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + { + "in": "query", + "name": "require_alias", + "description": "If true, the destination must be an index alias.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "retry_on_conflict", + "description": "Specify how many times should the operation be retried when a conflict occurs.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for dynamic mapping updates and active shards.\nThis guarantees Elasticsearch waits for at least the timeout before failing.\nThe actual wait time could be longer, particularly when multiple waits occur.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operations.\nSet to 'all' or any positive integer up to the total number of shards in the index\n(number_of_replicas+1). Defaults to 1 meaning the primary shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source", + "description": "Set to false to disable source retrieval. You can also specify a comma-separated\nlist of the fields you want to retrieve.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source_excludes", + "description": "Specify the source fields you want to exclude.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source_includes", + "description": "Specify the source fields you want to retrieve.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "detect_noop": { + "description": "Set to false to disable setting 'result' in the response\nto 'noop' if no change to the document occurred.", + "type": "boolean" + }, + "doc": { + "description": "A partial update to an existing document.", + "type": "object" + }, + "doc_as_upsert": { + "description": "Set to true to use the contents of 'doc' as the value of 'upsert'", + "type": "boolean" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "scripted_upsert": { + "description": "Set to true to execute the script whether or not the document exists.", + "type": "boolean" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "upsert": { + "description": "If the document does not already exist, the contents of 'upsert' are inserted as a\nnew document. If the document exists, the 'script' is executed.", + "type": "object" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_global.update:UpdateWriteResponseBase" + } + } + } + } + } + } + }, + "/{index}/_update_by_query{?allow_no_indices,analyzer,analyze_wildcard,conflicts,default_operator,df,expand_wildcards,from,ignore_unavailable,lenient,max_docs,pipeline,preference,refresh,request_cache,requests_per_second,routing,scroll,scroll_size,search_timeout,search_type,slices,sort,stats,terminate_after,timeout,version,version_type,wait_for_active_shards,wait_for_completion}": { + "post": { + "description": "Performs an update on every document in the index without changing the source,\nfor example to pick up a mapping change.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html" + }, + "operationId": "update_by_query#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "analyzer", + "description": "The analyzer to use for the query string", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "analyze_wildcard", + "description": "Specify whether wildcard and prefix queries should be analyzed (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "conflicts", + "description": "What to do when the update by query hits version conflicts?", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Conflicts" + }, + "style": "form" + }, + { + "in": "query", + "name": "default_operator", + "description": "The default operator for query string query (AND or OR)", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "style": "form" + }, + { + "in": "query", + "name": "df", + "description": "The field to use as default where no field prefix is given in the query string", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "from", + "description": "Starting offset (default: 0)", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "lenient", + "description": "Specify whether format-based query failures (such as providing text to a numeric field) should be ignored", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "max_docs", + "description": "Maximum number of documents to process (default: all documents)", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "pipeline", + "description": "Ingest pipeline to set on index requests made by this action. (default: none)", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "preference", + "description": "Specify the node or shard the operation should be performed on (default: random)", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "refresh", + "description": "Should the affected indexes be refreshed?", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "request_cache", + "description": "Specify if request cache should be used for this request or not, defaults to index level setting", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "requests_per_second", + "description": "The throttle to set on this request in sub-requests per second. -1 means no throttle.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "routing", + "description": "A comma-separated list of specific routing values", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + { + "in": "query", + "name": "scroll", + "description": "Specify how long a consistent view of the index should be maintained for scrolled search", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "scroll_size", + "description": "Size on the scroll request powering the update by query", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "search_timeout", + "description": "Explicit timeout for each search request. Defaults to no timeout.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "search_type", + "description": "Search operation type", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "style": "form" + }, + { + "in": "query", + "name": "slices", + "description": "The number of slices this task should be divided into. Defaults to 1, meaning the task isn't sliced into subtasks. Can be set to `auto`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Slices" + }, + "style": "form" + }, + { + "in": "query", + "name": "sort", + "description": "A comma-separated list of : pairs", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + { + "in": "query", + "name": "stats", + "description": "Specific 'tag' of the request for logging and statistical purposes", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + { + "in": "query", + "name": "terminate_after", + "description": "The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Time each individual bulk request should wait for shards that are unavailable.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "version", + "description": "Specify whether to return document version as part of a hit", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "version_type", + "description": "Should the document increment the version number (internal) on hit or not (reindex)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_active_shards", + "description": "Sets the number of shard copies that must be active before proceeding with the update by query operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_completion", + "description": "Should the request should block until the update by query operation is complete.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "max_docs": { + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "slice": { + "$ref": "#/components/schemas/_types:SlicedScroll" + }, + "conflicts": { + "$ref": "#/components/schemas/_types:Conflicts" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "batches": { + "type": "number" + }, + "failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:BulkIndexByScrollFailure" + } + }, + "noops": { + "type": "number" + }, + "deleted": { + "type": "number" + }, + "requests_per_second": { + "type": "number" + }, + "retries": { + "$ref": "#/components/schemas/_types:Retries" + }, + "task": { + "$ref": "#/components/schemas/_types:TaskId" + }, + "timed_out": { + "type": "boolean" + }, + "took": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total": { + "type": "number" + }, + "updated": { + "type": "number" + }, + "version_conflicts": { + "type": "number" + }, + "throttled": { + "$ref": "#/components/schemas/_types:Duration" + }, + "throttled_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "throttled_until": { + "$ref": "#/components/schemas/_types:Duration" + }, + "throttled_until_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + } + } + } + } + } + } + } + }, + "/_update_by_query/{task_id}/_rethrottle{?requests_per_second}": { + "post": { + "description": "Changes the number of requests per second for a particular Update By Query operation.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update-by-query.html" + }, + "operationId": "update_by_query_rethrottle#0", + "parameters": [ + { + "in": "path", + "name": "task_id", + "description": "The task id to rethrottle", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "requests_per_second", + "description": "The throttle to set on this request in floating sub-requests per second. -1 means set no throttle.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.update_by_query_rethrottle:UpdateByQueryRethrottleNode" + } + } + }, + "required": [ + "nodes" + ] + } + } + } + } + } + } + }, + "/_watcher/watch/{watch_id}/_ack": { + "put": { + "description": "Acknowledges a watch, manually throttling the execution of the watch's actions.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html" + }, + "operationId": "watcher.ack_watch#0", + "parameters": [ + { + "$ref": "#/components/parameters/watcher.ack_watch#watch_id" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/watcher.ack_watch#200" + } + } + }, + "post": { + "description": "Acknowledges a watch, manually throttling the execution of the watch's actions.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html" + }, + "operationId": "watcher.ack_watch#1", + "parameters": [ + { + "$ref": "#/components/parameters/watcher.ack_watch#watch_id" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/watcher.ack_watch#200" + } + } + } + }, + "/_watcher/watch/{watch_id}/_ack/{action_id}": { + "put": { + "description": "Acknowledges a watch, manually throttling the execution of the watch's actions.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html" + }, + "operationId": "watcher.ack_watch#2", + "parameters": [ + { + "$ref": "#/components/parameters/watcher.ack_watch#watch_id" + }, + { + "$ref": "#/components/parameters/watcher.ack_watch#action_id" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/watcher.ack_watch#200" + } + } + }, + "post": { + "description": "Acknowledges a watch, manually throttling the execution of the watch's actions.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html" + }, + "operationId": "watcher.ack_watch#3", + "parameters": [ + { + "$ref": "#/components/parameters/watcher.ack_watch#watch_id" + }, + { + "$ref": "#/components/parameters/watcher.ack_watch#action_id" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/watcher.ack_watch#200" + } + } + } + }, + "/_watcher/watch/{watch_id}/_activate": { + "put": { + "description": "Activates a currently inactive watch.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html" + }, + "operationId": "watcher.activate_watch#0", + "parameters": [ + { + "$ref": "#/components/parameters/watcher.activate_watch#watch_id" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/watcher.activate_watch#200" + } + } + }, + "post": { + "description": "Activates a currently inactive watch.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html" + }, + "operationId": "watcher.activate_watch#1", + "parameters": [ + { + "$ref": "#/components/parameters/watcher.activate_watch#watch_id" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/watcher.activate_watch#200" + } + } + } + }, + "/_watcher/watch/{watch_id}/_deactivate": { + "put": { + "description": "Deactivates a currently active watch.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html" + }, + "operationId": "watcher.deactivate_watch#0", + "parameters": [ + { + "$ref": "#/components/parameters/watcher.deactivate_watch#watch_id" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/watcher.deactivate_watch#200" + } + } + }, + "post": { + "description": "Deactivates a currently active watch.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html" + }, + "operationId": "watcher.deactivate_watch#1", + "parameters": [ + { + "$ref": "#/components/parameters/watcher.deactivate_watch#watch_id" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/watcher.deactivate_watch#200" + } + } + } + }, + "/_watcher/watch/{id}": { + "get": { + "description": "Retrieves a watch by its ID.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-get-watch.html" + }, + "operationId": "watcher.get_watch#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Watch ID", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "found": { + "type": "boolean" + }, + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "status": { + "$ref": "#/components/schemas/watcher._types:WatchStatus" + }, + "watch": { + "$ref": "#/components/schemas/watcher._types:Watch" + }, + "_primary_term": { + "type": "number" + }, + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "_version": { + "$ref": "#/components/schemas/_types:VersionNumber" + } + }, + "required": [ + "found", + "_id" + ] + } + } + } + } + } + } + }, + "/_watcher/watch/{id}/_execute{?debug}": { + "put": { + "description": "Forces the execution of a stored watch.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html" + }, + "operationId": "watcher.execute_watch#0", + "parameters": [ + { + "$ref": "#/components/parameters/watcher.execute_watch#id" + }, + { + "$ref": "#/components/parameters/watcher.execute_watch#debug" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/watcher.execute_watch" + }, + "responses": { + "200": { + "$ref": "#/components/responses/watcher.execute_watch#200" + } + } + }, + "post": { + "description": "Forces the execution of a stored watch.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html" + }, + "operationId": "watcher.execute_watch#1", + "parameters": [ + { + "$ref": "#/components/parameters/watcher.execute_watch#id" + }, + { + "$ref": "#/components/parameters/watcher.execute_watch#debug" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/watcher.execute_watch" + }, + "responses": { + "200": { + "$ref": "#/components/responses/watcher.execute_watch#200" + } + } + } + }, + "/_watcher/watch/_execute{?debug}": { + "put": { + "description": "Forces the execution of a stored watch.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html" + }, + "operationId": "watcher.execute_watch#2", + "parameters": [ + { + "$ref": "#/components/parameters/watcher.execute_watch#debug" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/watcher.execute_watch" + }, + "responses": { + "200": { + "$ref": "#/components/responses/watcher.execute_watch#200" + } + } + }, + "post": { + "description": "Forces the execution of a stored watch.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html" + }, + "operationId": "watcher.execute_watch#3", + "parameters": [ + { + "$ref": "#/components/parameters/watcher.execute_watch#debug" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/watcher.execute_watch" + }, + "responses": { + "200": { + "$ref": "#/components/responses/watcher.execute_watch#200" + } + } + } + }, + "/_watcher/watch/{id}{?active,if_primary_term,if_seq_no,version}": { + "put": { + "description": "Creates a new watch, or updates an existing one.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html" + }, + "operationId": "watcher.put_watch#0", + "parameters": [ + { + "$ref": "#/components/parameters/watcher.put_watch#id" + }, + { + "$ref": "#/components/parameters/watcher.put_watch#active" + }, + { + "$ref": "#/components/parameters/watcher.put_watch#if_primary_term" + }, + { + "$ref": "#/components/parameters/watcher.put_watch#if_seq_no" + }, + { + "$ref": "#/components/parameters/watcher.put_watch#version" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/watcher.put_watch" + }, + "responses": { + "200": { + "$ref": "#/components/responses/watcher.put_watch#200" + } + } + }, + "post": { + "description": "Creates a new watch, or updates an existing one.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html" + }, + "operationId": "watcher.put_watch#1", + "parameters": [ + { + "$ref": "#/components/parameters/watcher.put_watch#id" + }, + { + "$ref": "#/components/parameters/watcher.put_watch#active" + }, + { + "$ref": "#/components/parameters/watcher.put_watch#if_primary_term" + }, + { + "$ref": "#/components/parameters/watcher.put_watch#if_seq_no" + }, + { + "$ref": "#/components/parameters/watcher.put_watch#version" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/watcher.put_watch" + }, + "responses": { + "200": { + "$ref": "#/components/responses/watcher.put_watch#200" + } + } + } + }, + "/_watcher/_query/watches": { + "get": { + "description": "Retrieves stored watches.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-query-watches.html" + }, + "operationId": "watcher.query_watches#0", + "requestBody": { + "$ref": "#/components/requestBodies/watcher.query_watches" + }, + "responses": { + "200": { + "$ref": "#/components/responses/watcher.query_watches#200" + } + } + }, + "post": { + "description": "Retrieves stored watches.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-query-watches.html" + }, + "operationId": "watcher.query_watches#1", + "requestBody": { + "$ref": "#/components/requestBodies/watcher.query_watches" + }, + "responses": { + "200": { + "$ref": "#/components/responses/watcher.query_watches#200" + } + } + } + }, + "/_watcher/_start": { + "post": { + "description": "Starts Watcher if it is not already running.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-start.html" + }, + "operationId": "watcher.start#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_watcher/stats{?emit_stacktraces,metric}": { + "get": { + "description": "Retrieves the current Watcher metrics.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html" + }, + "operationId": "watcher.stats#0", + "parameters": [ + { + "$ref": "#/components/parameters/watcher.stats#emit_stacktraces" + }, + { + "$ref": "#/components/parameters/watcher.stats#metric" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/watcher.stats#200" + } + } + } + }, + "/_watcher/stats/{metric}{?emit_stacktraces,metric}": { + "get": { + "description": "Retrieves the current Watcher metrics.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html" + }, + "operationId": "watcher.stats#1", + "parameters": [ + { + "$ref": "#/components/parameters/watcher.stats#metric" + }, + { + "$ref": "#/components/parameters/watcher.stats#emit_stacktraces" + }, + { + "$ref": "#/components/parameters/watcher.stats#metric" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/watcher.stats#200" + } + } + } + }, + "/_watcher/_stop": { + "post": { + "description": "Stops Watcher if it is running.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stop.html" + }, + "operationId": "watcher.stop#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_xpack{?categories,accept_enterprise,human}": { + "get": { + "description": "Retrieves information about the installed X-Pack features.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html" + }, + "operationId": "xpack.info#0", + "parameters": [ + { + "in": "query", + "name": "categories", + "description": "A comma-separated list of the information categories to include in the response. For example, `build,license,features`.", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + { + "in": "query", + "name": "accept_enterprise", + "description": "If this param is used it must be set to true", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "human", + "description": "Defines whether additional human-readable information is included in the response. In particular, it adds descriptions and a tag line.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "build": { + "$ref": "#/components/schemas/xpack.info:BuildInformation" + }, + "features": { + "$ref": "#/components/schemas/xpack.info:Features" + }, + "license": { + "$ref": "#/components/schemas/xpack.info:MinimalLicenseInformation" + }, + "tagline": { + "type": "string" + } + }, + "required": [ + "build", + "features", + "license", + "tagline" + ] + } + } + } + } + } + } + }, + "/_xpack/usage{?master_timeout}": { + "get": { + "description": "Retrieves usage information about the installed X-Pack features.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/usage-api.html" + }, + "operationId": "xpack.usage#0", + "parameters": [ + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aggregate_metric": { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + "analytics": { + "$ref": "#/components/schemas/xpack.usage:Analytics" + }, + "archive": { + "$ref": "#/components/schemas/xpack.usage:Archive" + }, + "watcher": { + "$ref": "#/components/schemas/xpack.usage:Watcher" + }, + "ccr": { + "$ref": "#/components/schemas/xpack.usage:Ccr" + }, + "data_frame": { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + "data_science": { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + "data_streams": { + "$ref": "#/components/schemas/xpack.usage:DataStreams" + }, + "data_tiers": { + "$ref": "#/components/schemas/xpack.usage:DataTiers" + }, + "enrich": { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + "eql": { + "$ref": "#/components/schemas/xpack.usage:Eql" + }, + "flattened": { + "$ref": "#/components/schemas/xpack.usage:Flattened" + }, + "frozen_indices": { + "$ref": "#/components/schemas/xpack.usage:FrozenIndices" + }, + "graph": { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + "health_api": { + "$ref": "#/components/schemas/xpack.usage:HealthStatistics" + }, + "ilm": { + "$ref": "#/components/schemas/xpack.usage:Ilm" + }, + "logstash": { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + "ml": { + "$ref": "#/components/schemas/xpack.usage:MachineLearning" + }, + "monitoring": { + "$ref": "#/components/schemas/xpack.usage:Monitoring" + }, + "rollup": { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + "runtime_fields": { + "$ref": "#/components/schemas/xpack.usage:RuntimeFieldTypes" + }, + "spatial": { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + "searchable_snapshots": { + "$ref": "#/components/schemas/xpack.usage:SearchableSnapshots" + }, + "security": { + "$ref": "#/components/schemas/xpack.usage:Security" + }, + "slm": { + "$ref": "#/components/schemas/xpack.usage:Slm" + }, + "sql": { + "$ref": "#/components/schemas/xpack.usage:Sql" + }, + "transform": { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + "vectors": { + "$ref": "#/components/schemas/xpack.usage:Vector" + }, + "voting_only": { + "$ref": "#/components/schemas/xpack.usage:Base" + } + }, + "required": [ + "aggregate_metric", + "analytics", + "archive", + "watcher", + "ccr", + "data_tiers", + "eql", + "frozen_indices", + "graph", + "ilm", + "logstash", + "ml", + "monitoring", + "rollup", + "spatial", + "searchable_snapshots", + "security", + "slm", + "sql", + "transform", + "voting_only" + ] + } + } + } + } + } + } + } + }, + "components": { + "responses": { + "async_search.submit#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/async_search._types:AsyncSearchDocumentResponseBase" + } + } + } + }, + "bulk#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "errors": { + "type": "boolean" + }, + "items": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.bulk:ResponseItem" + }, + "minProperties": 1, + "maxProperties": 1 + } + }, + "took": { + "type": "number" + }, + "ingest_took": { + "type": "number" + } + }, + "required": [ + "errors", + "items", + "took" + ] + } + } + } + }, + "cat.aliases#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.aliases:AliasesRecord" + } + } + } + } + }, + "cat.allocation#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.allocation:AllocationRecord" + } + } + } + } + }, + "cat.component_templates#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.component_templates:ComponentTemplate" + } + } + } + } + }, + "cat.count#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.count:CountRecord" + } + } + } + } + }, + "cat.fielddata#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.fielddata:FielddataRecord" + } + } + } + } + }, + "cat.indices#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.indices:IndicesRecord" + } + } + } + } + }, + "cat.ml_data_frame_analytics#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.ml_data_frame_analytics:DataFrameAnalyticsRecord" + } + } + } + } + }, + "cat.ml_datafeeds#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.ml_datafeeds:DatafeedsRecord" + } + } + } + } + }, + "cat.ml_jobs#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.ml_jobs:JobsRecord" + } + } + } + } + }, + "cat.ml_trained_models#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.ml_trained_models:TrainedModelsRecord" + } + } + } + } + }, + "cat.recovery#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.recovery:RecoveryRecord" + } + } + } + } + }, + "cat.segments#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.segments:SegmentsRecord" + } + } + } + } + }, + "cat.shards#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.shards:ShardsRecord" + } + } + } + } + }, + "cat.snapshots#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.snapshots:SnapshotsRecord" + } + } + } + } + }, + "cat.templates#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.templates:TemplatesRecord" + } + } + } + } + }, + "cat.thread_pool#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.thread_pool:ThreadPoolRecord" + } + } + } + } + }, + "cat.transforms#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.transforms:TransformsRecord" + } + } + } + } + }, + "ccr.get_auto_follow_pattern#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "patterns": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ccr.get_auto_follow_pattern:AutoFollowPattern" + } + } + }, + "required": [ + "patterns" + ] + } + } + } + }, + "clear_scroll#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "succeeded": { + "type": "boolean" + }, + "num_freed": { + "type": "number" + } + }, + "required": [ + "succeeded", + "num_freed" + ] + } + } + } + }, + "cluster.allocation_explain#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allocate_explanation": { + "type": "string" + }, + "allocation_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "allocation_delay_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "can_allocate": { + "$ref": "#/components/schemas/cluster.allocation_explain:Decision" + }, + "can_move_to_other_node": { + "$ref": "#/components/schemas/cluster.allocation_explain:Decision" + }, + "can_rebalance_cluster": { + "$ref": "#/components/schemas/cluster.allocation_explain:Decision" + }, + "can_rebalance_cluster_decisions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.allocation_explain:AllocationDecision" + } + }, + "can_rebalance_to_other_node": { + "$ref": "#/components/schemas/cluster.allocation_explain:Decision" + }, + "can_remain_decisions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.allocation_explain:AllocationDecision" + } + }, + "can_remain_on_current_node": { + "$ref": "#/components/schemas/cluster.allocation_explain:Decision" + }, + "cluster_info": { + "$ref": "#/components/schemas/cluster.allocation_explain:ClusterInfo" + }, + "configured_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "configured_delay_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "current_node": { + "$ref": "#/components/schemas/cluster.allocation_explain:CurrentNode" + }, + "current_state": { + "type": "string" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "move_explanation": { + "type": "string" + }, + "node_allocation_decisions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.allocation_explain:NodeAllocationExplanation" + } + }, + "primary": { + "type": "boolean" + }, + "rebalance_explanation": { + "type": "string" + }, + "remaining_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "remaining_delay_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "shard": { + "type": "number" + }, + "unassigned_info": { + "$ref": "#/components/schemas/cluster.allocation_explain:UnassignedInformation" + }, + "note": { + "type": "string" + } + }, + "required": [ + "current_state", + "index", + "primary", + "shard" + ] + } + } + } + }, + "cluster.get_component_template#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "component_templates": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster._types:ComponentTemplate" + } + } + }, + "required": [ + "component_templates" + ] + } + } + } + }, + "cluster.health#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/cluster.health:HealthResponseBody" + } + } + } + }, + "cluster.put_component_template#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "cluster.state#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "cluster.stats#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/cluster.stats:StatsResponseBase" + } + } + } + }, + "count#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + } + }, + "required": [ + "count", + "_shards" + ] + } + } + } + }, + "create#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:WriteResponseBase" + } + } + } + }, + "enrich.get_policy#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "policies": { + "type": "array", + "items": { + "$ref": "#/components/schemas/enrich._types:Summary" + } + } + }, + "required": [ + "policies" + ] + } + } + } + }, + "eql.search#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/eql._types:EqlSearchResponseBase" + } + } + } + }, + "explain#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "matched": { + "type": "boolean" + }, + "explanation": { + "$ref": "#/components/schemas/_global.explain:ExplanationDetail" + }, + "get": { + "$ref": "#/components/schemas/_types:InlineGet" + } + }, + "required": [ + "_index", + "_id", + "matched" + ] + } + } + } + }, + "field_caps#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "fields": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.field_caps:FieldCapability" + } + } + } + }, + "required": [ + "indices", + "fields" + ] + } + } + } + }, + "fleet.msearch#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "docs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.msearch:ResponseItem" + } + } + }, + "required": [ + "docs" + ] + } + } + } + }, + "fleet.search#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "took": { + "type": "number" + }, + "timed_out": { + "type": "boolean" + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "hits": { + "$ref": "#/components/schemas/_global.search._types:HitsMetadata" + }, + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:Aggregate" + } + }, + "_clusters": { + "$ref": "#/components/schemas/_types:ClusterStatistics" + }, + "fields": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "max_score": { + "type": "number" + }, + "num_reduce_phases": { + "type": "number" + }, + "profile": { + "$ref": "#/components/schemas/_global.search._types:Profile" + }, + "pit_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_scroll_id": { + "$ref": "#/components/schemas/_types:ScrollId" + }, + "suggest": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Suggest" + } + } + }, + "terminated_early": { + "type": "boolean" + } + }, + "required": [ + "took", + "timed_out", + "_shards", + "hits" + ] + } + } + } + }, + "graph.explore#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "connections": { + "type": "array", + "items": { + "$ref": "#/components/schemas/graph._types:Connection" + } + }, + "failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ShardFailure" + } + }, + "timed_out": { + "type": "boolean" + }, + "took": { + "type": "number" + }, + "vertices": { + "type": "array", + "items": { + "$ref": "#/components/schemas/graph._types:Vertex" + } + } + }, + "required": [ + "connections", + "failures", + "timed_out", + "took", + "vertices" + ] + } + } + } + }, + "health_report#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "cluster_name": { + "type": "string" + }, + "indicators": { + "$ref": "#/components/schemas/_global.health_report:Indicators" + }, + "status": { + "$ref": "#/components/schemas/_global.health_report:IndicatorHealthStatus" + } + }, + "required": [ + "cluster_name", + "indicators" + ] + } + } + } + }, + "ilm.get_lifecycle#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ilm.get_lifecycle:Lifecycle" + } + } + } + } + }, + "index#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:WriteResponseBase" + } + } + } + }, + "indices.analyze#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "detail": { + "$ref": "#/components/schemas/indices.analyze:AnalyzeDetail" + }, + "tokens": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.analyze:AnalyzeToken" + } + } + } + } + } + } + }, + "indices.clear_cache#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:ShardsOperationResponseBase" + } + } + } + }, + "indices.clone#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "shards_acknowledged": { + "type": "boolean" + } + }, + "required": [ + "acknowledged", + "index", + "shards_acknowledged" + ] + } + } + } + }, + "indices.data_streams_stats#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "backing_indices": { + "description": "Total number of backing indices for the selected data streams.", + "type": "number" + }, + "data_stream_count": { + "description": "Total number of selected data streams.", + "type": "number" + }, + "data_streams": { + "description": "Contains statistics for the selected data streams.", + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.data_streams_stats:DataStreamsStatsItem" + } + }, + "total_store_sizes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "total_store_size_bytes": { + "description": "Total size, in bytes, of all shards for the selected data streams.", + "type": "number" + } + }, + "required": [ + "_shards", + "backing_indices", + "data_stream_count", + "data_streams", + "total_store_size_bytes" + ] + } + } + } + }, + "indices.delete_alias#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "indices.exists_alias#200": { + "description": "", + "content": { + "application/json": {} + } + }, + "indices.flush#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:ShardsOperationResponseBase" + } + } + } + }, + "indices.forcemerge#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/indices.forcemerge._types:ForceMergeResponseBody" + } + } + } + }, + "indices.get_alias#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.get_alias:IndexAliases" + } + } + } + } + }, + "indices.get_data_stream#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data_streams": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices._types:DataStream" + } + } + }, + "required": [ + "data_streams" + ] + } + } + } + }, + "indices.get_field_mapping#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.get_field_mapping:TypeFieldMappings" + } + } + } + } + }, + "indices.get_index_template#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "index_templates": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.get_index_template:IndexTemplateItem" + } + } + }, + "required": [ + "index_templates" + ] + } + } + } + }, + "indices.get_mapping#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.get_mapping:IndexMappingRecord" + } + } + } + } + }, + "indices.get_settings#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:IndexState" + } + } + } + } + }, + "indices.get_template#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:TemplateMapping" + } + } + } + } + }, + "indices.put_alias#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "indices.put_index_template#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "indices.put_mapping#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:IndicesResponseBase" + } + } + } + }, + "indices.put_settings#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "indices.put_template#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "indices.recovery#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.recovery:RecoveryStatus" + } + } + } + } + }, + "indices.refresh#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:ShardsOperationResponseBase" + } + } + } + }, + "indices.reload_search_analyzers#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/indices.reload_search_analyzers:ReloadResult" + } + } + } + }, + "indices.rollover#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "conditions": { + "type": "object", + "additionalProperties": { + "type": "boolean" + } + }, + "dry_run": { + "type": "boolean" + }, + "new_index": { + "type": "string" + }, + "old_index": { + "type": "string" + }, + "rolled_over": { + "type": "boolean" + }, + "shards_acknowledged": { + "type": "boolean" + } + }, + "required": [ + "acknowledged", + "conditions", + "dry_run", + "new_index", + "old_index", + "rolled_over", + "shards_acknowledged" + ] + } + } + } + }, + "indices.segments#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "indices": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.segments:IndexSegment" + } + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + } + }, + "required": [ + "indices", + "_shards" + ] + } + } + } + }, + "indices.shard_stores#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "indices": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.shard_stores:IndicesShardStores" + } + } + }, + "required": [ + "indices" + ] + } + } + } + }, + "indices.shrink#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "shards_acknowledged": { + "type": "boolean" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "required": [ + "acknowledged", + "shards_acknowledged", + "index" + ] + } + } + } + }, + "indices.simulate_template#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "overlapping": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.simulate_template:Overlapping" + } + }, + "template": { + "$ref": "#/components/schemas/indices.simulate_template:Template" + } + }, + "required": [ + "template" + ] + } + } + } + }, + "indices.split#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "shards_acknowledged": { + "type": "boolean" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "required": [ + "acknowledged", + "shards_acknowledged", + "index" + ] + } + } + } + }, + "indices.stats#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "indices": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.stats:IndicesStats" + } + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "_all": { + "$ref": "#/components/schemas/indices.stats:IndicesStats" + } + }, + "required": [ + "_shards", + "_all" + ] + } + } + } + }, + "indices.validate_query#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "explanations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.validate_query:IndicesValidationExplanation" + } + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "valid": { + "type": "boolean" + }, + "error": { + "type": "string" + } + }, + "required": [ + "valid" + ] + } + } + } + }, + "ingest.get_pipeline#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ingest._types:Pipeline" + } + } + } + } + }, + "ingest.simulate#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "docs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest.simulate:PipelineSimulation" + } + } + }, + "required": [ + "docs" + ] + } + } + } + }, + "knn_search#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "took": { + "description": "Milliseconds it took Elasticsearch to execute the request.", + "type": "number" + }, + "timed_out": { + "description": "If true, the request timed out before completion;\nreturned results may be partial or empty.", + "type": "boolean" + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "hits": { + "$ref": "#/components/schemas/_global.search._types:HitsMetadata" + }, + "fields": { + "description": "Contains field values for the documents. These fields\nmust be specified in the request using the `fields` parameter.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "max_score": { + "description": "Highest returned document score. This value is null for requests\nthat do not sort by score.", + "type": "number" + } + }, + "required": [ + "took", + "timed_out", + "_shards", + "hits" + ] + } + } + } + }, + "license.post#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledge": { + "$ref": "#/components/schemas/license.post:Acknowledgement" + }, + "acknowledged": { + "type": "boolean" + }, + "license_status": { + "$ref": "#/components/schemas/license._types:LicenseStatus" + } + }, + "required": [ + "acknowledged", + "license_status" + ] + } + } + } + }, + "logstash.get_pipeline#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/logstash._types:Pipeline" + } + } + } + } + }, + "mget#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "docs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.mget:ResponseItem" + } + } + }, + "required": [ + "docs" + ] + } + } + } + }, + "migration.deprecations#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "cluster_settings": { + "type": "array", + "items": { + "$ref": "#/components/schemas/migration.deprecations:Deprecation" + } + }, + "index_settings": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/migration.deprecations:Deprecation" + } + } + }, + "node_settings": { + "type": "array", + "items": { + "$ref": "#/components/schemas/migration.deprecations:Deprecation" + } + }, + "ml_settings": { + "type": "array", + "items": { + "$ref": "#/components/schemas/migration.deprecations:Deprecation" + } + } + }, + "required": [ + "cluster_settings", + "index_settings", + "node_settings", + "ml_settings" + ] + } + } + } + }, + "ml.delete_expired_data#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "deleted": { + "type": "boolean" + } + }, + "required": [ + "deleted" + ] + } + } + } + }, + "ml.delete_forecast#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "ml.explain_data_frame_analytics#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "field_selection": { + "description": "An array of objects that explain selection for each field, sorted by the field names.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsFieldSelection" + } + }, + "memory_estimation": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsMemoryEstimation" + } + }, + "required": [ + "field_selection", + "memory_estimation" + ] + } + } + } + }, + "ml.get_buckets#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "buckets": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:BucketSummary" + } + }, + "count": { + "type": "number" + } + }, + "required": [ + "buckets", + "count" + ] + } + } + } + }, + "ml.get_calendars#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "calendars": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.get_calendars:Calendar" + } + }, + "count": { + "type": "number" + } + }, + "required": [ + "calendars", + "count" + ] + } + } + } + }, + "ml.get_categories#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "categories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Category" + } + }, + "count": { + "type": "number" + } + }, + "required": [ + "categories", + "count" + ] + } + } + } + }, + "ml.get_data_frame_analytics#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "data_frame_analytics": { + "description": "An array of data frame analytics job resources, which are sorted by the id value in ascending order.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSummary" + } + } + }, + "required": [ + "count", + "data_frame_analytics" + ] + } + } + } + }, + "ml.get_data_frame_analytics_stats#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "data_frame_analytics": { + "description": "An array of objects that contain usage information for data frame analytics jobs, which are sorted by the id value in ascending order.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DataframeAnalytics" + } + } + }, + "required": [ + "count", + "data_frame_analytics" + ] + } + } + } + }, + "ml.get_datafeed_stats#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "datafeeds": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DatafeedStats" + } + } + }, + "required": [ + "count", + "datafeeds" + ] + } + } + } + }, + "ml.get_datafeeds#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "datafeeds": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Datafeed" + } + } + }, + "required": [ + "count", + "datafeeds" + ] + } + } + } + }, + "ml.get_filters#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Filter" + } + } + }, + "required": [ + "count", + "filters" + ] + } + } + } + }, + "ml.get_influencers#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "influencers": { + "description": "Array of influencer objects", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Influencer" + } + } + }, + "required": [ + "count", + "influencers" + ] + } + } + } + }, + "ml.get_job_stats#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "jobs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:JobStats" + } + } + }, + "required": [ + "count", + "jobs" + ] + } + } + } + }, + "ml.get_jobs#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "jobs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Job" + } + } + }, + "required": [ + "count", + "jobs" + ] + } + } + } + }, + "ml.get_memory_stats#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_nodes": { + "$ref": "#/components/schemas/_types:NodeStatistics" + }, + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ml.get_memory_stats:Memory" + } + } + }, + "required": [ + "_nodes", + "cluster_name", + "nodes" + ] + } + } + } + }, + "ml.get_model_snapshots#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "model_snapshots": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:ModelSnapshot" + } + } + }, + "required": [ + "count", + "model_snapshots" + ] + } + } + } + }, + "ml.get_overall_buckets#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "overall_buckets": { + "description": "Array of overall bucket objects", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:OverallBucket" + } + } + }, + "required": [ + "count", + "overall_buckets" + ] + } + } + } + }, + "ml.get_records#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "records": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Anomaly" + } + } + }, + "required": [ + "count", + "records" + ] + } + } + } + }, + "ml.get_trained_models#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "trained_model_configs": { + "description": "An array of trained model resources, which are sorted by the model_id value in ascending order.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TrainedModelConfig" + } + } + }, + "required": [ + "count", + "trained_model_configs" + ] + } + } + } + }, + "ml.get_trained_models_stats#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "description": "The total number of trained model statistics that matched the requested ID patterns. Could be higher than the number of items in the trained_model_stats array as the size of the array is restricted by the supplied size parameter.", + "type": "number" + }, + "trained_model_stats": { + "description": "An array of trained model statistics, which are sorted by the model_id value in ascending order.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TrainedModelStats" + } + } + }, + "required": [ + "count", + "trained_model_stats" + ] + } + } + } + }, + "ml.infer_trained_model#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "inference_results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:InferenceResponseResult" + } + } + }, + "required": [ + "inference_results" + ] + } + } + } + }, + "ml.preview_data_frame_analytics#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "feature_values": { + "description": "An array of objects that contain feature name and value pairs. The features have been processed and indicate what will be sent to the model for training.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "required": [ + "feature_values" + ] + } + } + } + }, + "ml.preview_datafeed#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object" + } + } + } + } + }, + "monitoring.bulk#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "error": { + "$ref": "#/components/schemas/_types:ErrorCause" + }, + "errors": { + "description": "True if there is was an error", + "type": "boolean" + }, + "ignored": { + "description": "Was collection disabled?", + "type": "boolean" + }, + "took": { + "type": "number" + } + }, + "required": [ + "errors", + "ignored", + "took" + ] + } + } + } + }, + "msearch#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_global.msearch:MultiSearchResult" + } + } + } + }, + "msearch_template#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_global.msearch:MultiSearchResult" + } + } + } + }, + "mtermvectors#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "docs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.mtermvectors:TermVectorsResult" + } + } + }, + "required": [ + "docs" + ] + } + } + } + }, + "nodes.hot_threads#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "hot_threads": { + "type": "array", + "items": { + "$ref": "#/components/schemas/nodes.hot_threads:HotThread" + } + } + }, + "required": [ + "hot_threads" + ] + } + } + } + }, + "nodes.info#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/nodes.info:ResponseBase" + } + } + } + }, + "nodes.reload_secure_settings#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/nodes.reload_secure_settings:ResponseBase" + } + } + } + }, + "nodes.stats#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/nodes.stats:ResponseBase" + } + } + } + }, + "nodes.usage#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/nodes.usage:ResponseBase" + } + } + } + }, + "put_script#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "rank_eval#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "metric_score": { + "description": "The overall evaluation quality calculated by the defined metric", + "type": "number" + }, + "details": { + "description": "The details section contains one entry for every query in the original requests section, keyed by the search request id", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricDetail" + } + }, + "failures": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "required": [ + "metric_score", + "details", + "failures" + ] + } + } + } + }, + "render_search_template#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "template_output": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "required": [ + "template_output" + ] + } + } + } + }, + "rollup.get_jobs#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "jobs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/rollup.get_jobs:RollupJob" + } + } + }, + "required": [ + "jobs" + ] + } + } + } + }, + "rollup.get_rollup_caps#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/rollup.get_rollup_caps:RollupCapabilities" + } + } + } + } + }, + "rollup.rollup_search#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "took": { + "type": "number" + }, + "timed_out": { + "type": "boolean" + }, + "terminated_early": { + "type": "boolean" + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "hits": { + "$ref": "#/components/schemas/_global.search._types:HitsMetadata" + }, + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:Aggregate" + } + } + }, + "required": [ + "took", + "timed_out", + "_shards", + "hits" + ] + } + } + } + }, + "scripts_painless_execute#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "result": { + "type": "object" + } + }, + "required": [ + "result" + ] + } + } + } + }, + "scroll#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_global.search:ResponseBody" + } + } + } + }, + "search#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_global.search:ResponseBody" + } + } + } + }, + "search_application.get_behavioral_analytics#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/search_application._types:AnalyticsCollection" + } + } + } + } + }, + "search_application.search#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_global.search:ResponseBody" + } + } + } + }, + "search_mvt#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:MapboxVectorTiles" + } + } + } + }, + "search_shards#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:NodeAttributes" + } + }, + "shards": { + "type": "array", + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:NodeShard" + } + } + }, + "indices": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.search_shards:ShardStoreIndex" + } + } + }, + "required": [ + "nodes", + "shards", + "indices" + ] + } + } + } + }, + "search_template#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "took": { + "type": "number" + }, + "timed_out": { + "type": "boolean" + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "hits": { + "$ref": "#/components/schemas/_global.search._types:HitsMetadata" + }, + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:Aggregate" + } + }, + "_clusters": { + "$ref": "#/components/schemas/_types:ClusterStatistics" + }, + "fields": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "max_score": { + "type": "number" + }, + "num_reduce_phases": { + "type": "number" + }, + "profile": { + "$ref": "#/components/schemas/_global.search._types:Profile" + }, + "pit_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_scroll_id": { + "$ref": "#/components/schemas/_types:ScrollId" + }, + "suggest": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Suggest" + } + } + }, + "terminated_early": { + "type": "boolean" + } + }, + "required": [ + "took", + "timed_out", + "_shards", + "hits" + ] + } + } + } + }, + "searchable_snapshots.cache_stats#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/searchable_snapshots.cache_stats:Node" + } + } + }, + "required": [ + "nodes" + ] + } + } + } + }, + "searchable_snapshots.clear_cache#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "searchable_snapshots.stats#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "stats": { + "type": "object" + }, + "total": { + "type": "object" + } + }, + "required": [ + "stats", + "total" + ] + } + } + } + }, + "security.change_password#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "security.create_api_key#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "api_key": { + "description": "Generated API key.", + "type": "string" + }, + "expiration": { + "description": "Expiration in milliseconds for the API key.", + "type": "number" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "encoded": { + "description": "API key credentials which is the base64-encoding of\nthe UTF-8 representation of `id` and `api_key` joined\nby a colon (`:`).", + "type": "string" + } + }, + "required": [ + "api_key", + "id", + "name", + "encoded" + ] + } + } + } + }, + "security.create_service_token#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "created": { + "type": "boolean" + }, + "token": { + "$ref": "#/components/schemas/security.create_service_token:Token" + } + }, + "required": [ + "created", + "token" + ] + } + } + } + }, + "security.disable_user#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "security.disable_user_profile#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "security.enable_user#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "security.enable_user_profile#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "security.get_privileges#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security.put_privileges:Actions" + } + } + } + } + } + }, + "security.get_role#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security.get_role:Role" + } + } + } + } + }, + "security.get_role_mapping#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:RoleMapping" + } + } + } + } + }, + "security.get_service_accounts#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security.get_service_accounts:RoleDescriptorWrapper" + } + } + } + } + }, + "security.get_user#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:User" + } + } + } + } + }, + "security.has_privileges#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "application": { + "$ref": "#/components/schemas/security.has_privileges:ApplicationsPrivileges" + }, + "cluster": { + "type": "object", + "additionalProperties": { + "type": "boolean" + } + }, + "has_all_requested": { + "type": "boolean" + }, + "index": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security.has_privileges:Privileges" + } + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + } + }, + "required": [ + "application", + "cluster", + "has_all_requested", + "index", + "username" + ] + } + } + } + }, + "security.has_privileges_user_profile#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "has_privilege_uids": { + "description": "The subset of the requested profile IDs of the users that\nhave all the requested privileges.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:UserProfileId" + } + }, + "errors": { + "$ref": "#/components/schemas/security.has_privileges_user_profile:HasPrivilegesUserProfileErrors" + } + }, + "required": [ + "has_privilege_uids" + ] + } + } + } + }, + "security.put_privileges#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:CreatedStatus" + } + } + } + } + } + }, + "security.put_role#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "role": { + "$ref": "#/components/schemas/security._types:CreatedStatus" + } + }, + "required": [ + "role" + ] + } + } + } + }, + "security.put_role_mapping#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "created": { + "type": "boolean" + }, + "role_mapping": { + "$ref": "#/components/schemas/security._types:CreatedStatus" + } + }, + "required": [ + "role_mapping" + ] + } + } + } + }, + "security.put_user#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "created": { + "type": "boolean" + } + }, + "required": [ + "created" + ] + } + } + } + }, + "security.query_api_keys#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total": { + "description": "The total number of API keys found.", + "type": "number" + }, + "count": { + "description": "The number of API keys returned in the response.", + "type": "number" + }, + "api_keys": { + "description": "A list of API key information.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:ApiKey" + } + } + }, + "required": [ + "total", + "count", + "api_keys" + ] + } + } + } + }, + "security.suggest_user_profiles#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total": { + "$ref": "#/components/schemas/security.suggest_user_profiles:TotalUserProfiles" + }, + "took": { + "type": "number" + }, + "profiles": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:UserProfile" + } + } + }, + "required": [ + "total", + "took", + "profiles" + ] + } + } + } + }, + "security.update_user_profile_data#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "shutdown.get_node#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "nodes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/shutdown.get_node:NodeShutdownStatus" + } + } + }, + "required": [ + "nodes" + ] + } + } + } + }, + "slm.get_lifecycle#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/slm._types:SnapshotLifecycle" + } + } + } + } + }, + "snapshot.create#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "accepted": { + "description": "Equals `true` if the snapshot was accepted. Present when the request had `wait_for_completion` set to `false`", + "type": "boolean" + }, + "snapshot": { + "$ref": "#/components/schemas/snapshot._types:SnapshotInfo" + } + } + } + } + } + }, + "snapshot.create_repository#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "snapshot.get_repository#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/snapshot._types:Repository" + } + } + } + } + }, + "snapshot.status#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "snapshots": { + "type": "array", + "items": { + "$ref": "#/components/schemas/snapshot._types:Status" + } + } + }, + "required": [ + "snapshots" + ] + } + } + } + }, + "sql.query#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "is_running": { + "description": "If `true`, the search is still running. If false, the search has finished.\nThis value is only returned for async and saved synchronous searches. For\nCSV, TSV, and TXT responses, this value is returned in the `Async-partial`\nHTTP header.", + "type": "boolean" + }, + "is_partial": { + "description": "If `true`, the response does not contain complete search results. If `is_partial`\nis `true` and `is_running` is `true`, the search is still running. If `is_partial`\nis `true` but `is_running` is `false`, the results are partial due to a failure or\ntimeout. This value is only returned for async and saved synchronous searches.\nFor CSV, TSV, and TXT responses, this value is returned in the `Async-partial` HTTP header.", + "type": "boolean" + }, + "columns": { + "description": "Column headings for the search results. Each object is a column.", + "type": "array", + "items": { + "$ref": "#/components/schemas/sql:Column" + } + }, + "cursor": { + "description": "Cursor for the next set of paginated results. For CSV, TSV, and\nTXT responses, this value is returned in the `Cursor` HTTP header.", + "type": "string" + }, + "rows": { + "description": "Values for the search results.", + "type": "array", + "items": { + "$ref": "#/components/schemas/sql:Row" + } + } + }, + "required": [ + "rows" + ] + } + } + } + }, + "sql.translate#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "size": { + "type": "number" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + } + } + } + } + } + }, + "tasks.cancel#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/tasks._types:TaskListResponseBase" + } + } + } + }, + "terms_enum#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "terms": { + "type": "array", + "items": { + "type": "string" + } + }, + "complete": { + "type": "boolean" + } + }, + "required": [ + "_shards", + "terms", + "complete" + ] + } + } + } + }, + "termvectors#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "found": { + "type": "boolean" + }, + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "term_vectors": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.termvectors:TermVector" + } + }, + "took": { + "type": "number" + }, + "_version": { + "$ref": "#/components/schemas/_types:VersionNumber" + } + }, + "required": [ + "found", + "_id", + "_index", + "took", + "_version" + ] + } + } + } + }, + "transform.get_transform#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "transforms": { + "type": "array", + "items": { + "$ref": "#/components/schemas/transform.get_transform:TransformSummary" + } + } + }, + "required": [ + "count", + "transforms" + ] + } + } + } + }, + "transform.preview_transform#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "generated_dest_index": { + "$ref": "#/components/schemas/indices._types:IndexState" + }, + "preview": { + "type": "array", + "items": { + "type": "object" + } + } + }, + "required": [ + "generated_dest_index", + "preview" + ] + } + } + } + }, + "watcher.ack_watch#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "status": { + "$ref": "#/components/schemas/watcher._types:WatchStatus" + } + }, + "required": [ + "status" + ] + } + } + } + }, + "watcher.activate_watch#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "status": { + "$ref": "#/components/schemas/watcher._types:ActivationStatus" + } + }, + "required": [ + "status" + ] + } + } + } + }, + "watcher.deactivate_watch#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "status": { + "$ref": "#/components/schemas/watcher._types:ActivationStatus" + } + }, + "required": [ + "status" + ] + } + } + } + }, + "watcher.execute_watch#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "watch_record": { + "$ref": "#/components/schemas/watcher.execute_watch:WatchRecord" + } + }, + "required": [ + "_id", + "watch_record" + ] + } + } + } + }, + "watcher.put_watch#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "created": { + "type": "boolean" + }, + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_primary_term": { + "type": "number" + }, + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "_version": { + "$ref": "#/components/schemas/_types:VersionNumber" + } + }, + "required": [ + "created", + "_id", + "_primary_term", + "_seq_no", + "_version" + ] + } + } + } + }, + "watcher.query_watches#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "watches": { + "type": "array", + "items": { + "$ref": "#/components/schemas/watcher._types:QueryWatch" + } + } + }, + "required": [ + "count", + "watches" + ] + } + } + } + }, + "watcher.stats#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_nodes": { + "$ref": "#/components/schemas/_types:NodeStatistics" + }, + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "manually_stopped": { + "type": "boolean" + }, + "stats": { + "type": "array", + "items": { + "$ref": "#/components/schemas/watcher.stats:WatcherNodeStats" + } + } + }, + "required": [ + "_nodes", + "cluster_name", + "manually_stopped", + "stats" + ] + } + } + } + } + }, + "parameters": { + "async_search.submit#index": { + "in": "path", + "name": "index", + "description": "A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "async_search.submit#wait_for_completion_timeout": { + "in": "query", + "name": "wait_for_completion_timeout", + "description": "Blocks and waits until the search is completed up to a certain timeout.\nWhen the async search completes within the timeout, the response won’t include the ID as the results are not stored in the cluster.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "async_search.submit#keep_on_completion": { + "in": "query", + "name": "keep_on_completion", + "description": "If `true`, results are stored for later retrieval when the search completes within the `wait_for_completion_timeout`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#keep_alive": { + "in": "query", + "name": "keep_alive", + "description": "Specifies how long the async search needs to be available.\nOngoing async searches and any saved search results are deleted after this period.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "async_search.submit#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#allow_partial_search_results": { + "in": "query", + "name": "allow_partial_search_results", + "description": "Indicate if an error should be returned if there is a partial search failure or timeout", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#analyzer": { + "in": "query", + "name": "analyzer", + "description": "The analyzer to use for the query string", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "async_search.submit#analyze_wildcard": { + "in": "query", + "name": "analyze_wildcard", + "description": "Specify whether wildcard and prefix queries should be analyzed (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#batched_reduce_size": { + "in": "query", + "name": "batched_reduce_size", + "description": "Affects how often partial results become available, which happens whenever shard results are reduced.\nA partial reduction is performed every time the coordinating node has received a certain number of new shard responses (5 by default).", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "async_search.submit#ccs_minimize_roundtrips": { + "in": "query", + "name": "ccs_minimize_roundtrips", + "description": "The default value is the only supported value.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#default_operator": { + "in": "query", + "name": "default_operator", + "description": "The default operator for query string query (AND or OR)", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "style": "form" + }, + "async_search.submit#df": { + "in": "query", + "name": "df", + "description": "The field to use as default where no field prefix is given in the query string", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "async_search.submit#docvalue_fields": { + "in": "query", + "name": "docvalue_fields", + "description": "A comma-separated list of fields to return as the docvalue representation of a field for each hit", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "async_search.submit#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "async_search.submit#explain": { + "in": "query", + "name": "explain", + "description": "Specify whether to return detailed information about score computation as part of a hit", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#ignore_throttled": { + "in": "query", + "name": "ignore_throttled", + "description": "Whether specified concrete, expanded or aliased indices should be ignored when throttled", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#lenient": { + "in": "query", + "name": "lenient", + "description": "Specify whether format-based query failures (such as providing text to a numeric field) should be ignored", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#max_concurrent_shard_requests": { + "in": "query", + "name": "max_concurrent_shard_requests", + "description": "The number of concurrent shard requests per node this search executes concurrently. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "async_search.submit#min_compatible_shard_node": { + "in": "query", + "name": "min_compatible_shard_node", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "style": "form" + }, + "async_search.submit#preference": { + "in": "query", + "name": "preference", + "description": "Specify the node or shard the operation should be performed on (default: random)", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "async_search.submit#pre_filter_shard_size": { + "in": "query", + "name": "pre_filter_shard_size", + "description": "The default value cannot be changed, which enforces the execution of a pre-filter roundtrip to retrieve statistics from each shard so that the ones that surely don’t hold any document matching the query get skipped.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "async_search.submit#request_cache": { + "in": "query", + "name": "request_cache", + "description": "Specify if request cache should be used for this request or not, defaults to true", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#routing": { + "in": "query", + "name": "routing", + "description": "A comma-separated list of specific routing values", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "async_search.submit#scroll": { + "in": "query", + "name": "scroll", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "async_search.submit#search_type": { + "in": "query", + "name": "search_type", + "description": "Search operation type", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "style": "form" + }, + "async_search.submit#stats": { + "in": "query", + "name": "stats", + "description": "Specific 'tag' of the request for logging and statistical purposes", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + "async_search.submit#stored_fields": { + "in": "query", + "name": "stored_fields", + "description": "A comma-separated list of stored fields to return as part of a hit", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "async_search.submit#suggest_field": { + "in": "query", + "name": "suggest_field", + "description": "Specifies which field to use for suggestions.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Field" + }, + "style": "form" + }, + "async_search.submit#suggest_mode": { + "in": "query", + "name": "suggest_mode", + "description": "Specify suggest mode", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SuggestMode" + }, + "style": "form" + }, + "async_search.submit#suggest_size": { + "in": "query", + "name": "suggest_size", + "description": "How many suggestions to return in response", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "async_search.submit#suggest_text": { + "in": "query", + "name": "suggest_text", + "description": "The source text for which the suggestions should be returned.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "async_search.submit#terminate_after": { + "in": "query", + "name": "terminate_after", + "description": "The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "async_search.submit#timeout": { + "in": "query", + "name": "timeout", + "description": "Explicit operation timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "async_search.submit#track_total_hits": { + "in": "query", + "name": "track_total_hits", + "description": "Indicate if the number of documents that match the query should be tracked. A number can also be specified, to accurately track the total hit count up to the number.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:TrackHits" + }, + "style": "form" + }, + "async_search.submit#track_scores": { + "in": "query", + "name": "track_scores", + "description": "Whether to calculate and return scores even if they are not used for sorting", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#typed_keys": { + "in": "query", + "name": "typed_keys", + "description": "Specify whether aggregation and suggester names should be prefixed by their respective types in the response", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#rest_total_hits_as_int": { + "in": "query", + "name": "rest_total_hits_as_int", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#version": { + "in": "query", + "name": "version", + "description": "Specify whether to return document version as part of a hit", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#_source": { + "in": "query", + "name": "_source", + "description": "True or false to return the _source field or not, or a list of fields to return", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" + }, + "async_search.submit#_source_excludes": { + "in": "query", + "name": "_source_excludes", + "description": "A list of fields to exclude from the returned _source field", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "async_search.submit#_source_includes": { + "in": "query", + "name": "_source_includes", + "description": "A list of fields to extract and return from the _source field", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "async_search.submit#seq_no_primary_term": { + "in": "query", + "name": "seq_no_primary_term", + "description": "Specify whether to return sequence number and primary term of the last modification of each hit", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#q": { + "in": "query", + "name": "q", + "description": "Query in the Lucene query string syntax", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "async_search.submit#size": { + "in": "query", + "name": "size", + "description": "Number of hits to return (default: 10)", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "async_search.submit#from": { + "in": "query", + "name": "from", + "description": "Starting offset (default: 0)", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "async_search.submit#sort": { + "in": "query", + "name": "sort", + "description": "A comma-separated list of : pairs", + "deprecated": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "style": "form" + }, + "bulk#index": { + "in": "path", + "name": "index", + "description": "Default index for items which don't provide one", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "bulk#pipeline": { + "in": "query", + "name": "pipeline", + "description": "The pipeline id to preprocess incoming documents with", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "bulk#refresh": { + "in": "query", + "name": "refresh", + "description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "bulk#routing": { + "in": "query", + "name": "routing", + "description": "Specific routing value", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "bulk#_source": { + "in": "query", + "name": "_source", + "description": "True or false to return the _source field or not, or default list of fields to return, can be overridden on each sub-request", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" + }, + "bulk#_source_excludes": { + "in": "query", + "name": "_source_excludes", + "description": "Default list of fields to exclude from the returned _source field, can be overridden on each sub-request", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "bulk#_source_includes": { + "in": "query", + "name": "_source_includes", + "description": "Default list of fields to extract and return from the _source field, can be overridden on each sub-request", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "bulk#timeout": { + "in": "query", + "name": "timeout", + "description": "Explicit operation timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "bulk#wait_for_active_shards": { + "in": "query", + "name": "wait_for_active_shards", + "description": "Sets the number of shard copies that must be active before proceeding with the bulk operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + }, + "bulk#require_alias": { + "in": "query", + "name": "require_alias", + "description": "Sets require_alias for all incoming documents. Defaults to unset (false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cat.aliases#name": { + "in": "path", + "name": "name", + "description": "A comma-separated list of aliases to retrieve. Supports wildcards (`*`). To retrieve all aliases, omit this parameter or use `*` or `_all`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "cat.aliases#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "cat.allocation#node_id": { + "in": "path", + "name": "node_id", + "description": "Comma-separated list of node identifiers or names used to limit the returned information.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:NodeIds" + }, + "style": "simple" + }, + "cat.allocation#bytes": { + "in": "query", + "name": "bytes", + "description": "The unit used to display byte values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Bytes" + }, + "style": "form" + }, + "cat.component_templates#name": { + "in": "path", + "name": "name", + "description": "The name of the component template. Accepts wildcard expressions. If omitted, all component templates are returned.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "simple" + }, + "cat.count#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`). To target all data streams and indices, omit this parameter or use `*` or `_all`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "cat.fielddata#fields": { + "in": "query", + "name": "fields", + "description": "Comma-separated list of fields used to limit returned information.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "cat.fielddata#bytes": { + "in": "query", + "name": "bytes", + "description": "The unit used to display byte values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Bytes" + }, + "style": "form" + }, + "cat.indices#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`). To target all data streams and indices, omit this parameter or use `*` or `_all`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "cat.indices#bytes": { + "in": "query", + "name": "bytes", + "description": "The unit used to display byte values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Bytes" + }, + "style": "form" + }, + "cat.indices#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "The type of index that wildcard patterns can match.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "cat.indices#health": { + "in": "query", + "name": "health", + "description": "The health status used to limit returned indices. By default, the response includes indices of any health status.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:HealthStatus" + }, + "style": "form" + }, + "cat.indices#include_unloaded_segments": { + "in": "query", + "name": "include_unloaded_segments", + "description": "If true, the response includes information from segments that are not loaded into memory.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cat.indices#pri": { + "in": "query", + "name": "pri", + "description": "If true, the response only includes information from primary shards.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cat.indices#time": { + "in": "query", + "name": "time", + "description": "The unit used to display time values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:TimeUnit" + }, + "style": "form" + }, + "cat.ml_data_frame_analytics#id": { + "in": "path", + "name": "id", + "description": "The ID of the data frame analytics to fetch", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "cat.ml_data_frame_analytics#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Whether to ignore if a wildcard expression matches no configs. (This includes `_all` string or when no configs have been specified)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cat.ml_data_frame_analytics#bytes": { + "in": "query", + "name": "bytes", + "description": "The unit in which to display byte values", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Bytes" + }, + "style": "form" + }, + "cat.ml_data_frame_analytics#h": { + "in": "query", + "name": "h", + "description": "Comma-separated list of column names to display.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/cat._types:CatDfaColumns" + }, + "style": "form" + }, + "cat.ml_data_frame_analytics#s": { + "in": "query", + "name": "s", + "description": "Comma-separated list of column names or column aliases used to sort the\nresponse.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/cat._types:CatDfaColumns" + }, + "style": "form" + }, + "cat.ml_data_frame_analytics#time": { + "in": "query", + "name": "time", + "description": "Unit used to display time values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "cat.ml_datafeeds#datafeed_id": { + "in": "path", + "name": "datafeed_id", + "description": "A numerical character string that uniquely identifies the datafeed.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "cat.ml_datafeeds#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n* Contains wildcard expressions and there are no datafeeds that match.\n* Contains the `_all` string or no identifiers and there are no matches.\n* Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the API returns an empty datafeeds array when there are no matches and the subset of results when\nthere are partial matches. If `false`, the API returns a 404 status code when there are no matches or only\npartial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cat.ml_datafeeds#h": { + "in": "query", + "name": "h", + "description": "Comma-separated list of column names to display.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/cat._types:CatDatafeedColumns" + }, + "style": "form" + }, + "cat.ml_datafeeds#s": { + "in": "query", + "name": "s", + "description": "Comma-separated list of column names or column aliases used to sort the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/cat._types:CatDatafeedColumns" + }, + "style": "form" + }, + "cat.ml_datafeeds#time": { + "in": "query", + "name": "time", + "description": "The unit used to display time values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:TimeUnit" + }, + "style": "form" + }, + "cat.ml_jobs#job_id": { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "cat.ml_jobs#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n* Contains wildcard expressions and there are no jobs that match.\n* Contains the `_all` string or no identifiers and there are no matches.\n* Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the API returns an empty jobs array when there are no matches and the subset of results when there\nare partial matches. If `false`, the API returns a 404 status code when there are no matches or only partial\nmatches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cat.ml_jobs#bytes": { + "in": "query", + "name": "bytes", + "description": "The unit used to display byte values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Bytes" + }, + "style": "form" + }, + "cat.ml_jobs#h": { + "in": "query", + "name": "h", + "description": "Comma-separated list of column names to display.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/cat._types:CatAnonalyDetectorColumns" + }, + "style": "form" + }, + "cat.ml_jobs#s": { + "in": "query", + "name": "s", + "description": "Comma-separated list of column names or column aliases used to sort the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/cat._types:CatAnonalyDetectorColumns" + }, + "style": "form" + }, + "cat.ml_jobs#time": { + "in": "query", + "name": "time", + "description": "The unit used to display time values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:TimeUnit" + }, + "style": "form" + }, + "cat.ml_trained_models#model_id": { + "in": "path", + "name": "model_id", + "description": "A unique identifier for the trained model.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "cat.ml_trained_models#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request: contains wildcard expressions and there are no models that match; contains the `_all` string or no identifiers and there are no matches; contains wildcard expressions and there are only partial matches.\nIf `true`, the API returns an empty array when there are no matches and the subset of results when there are partial matches.\nIf `false`, the API returns a 404 status code when there are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cat.ml_trained_models#bytes": { + "in": "query", + "name": "bytes", + "description": "The unit used to display byte values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Bytes" + }, + "style": "form" + }, + "cat.ml_trained_models#h": { + "in": "query", + "name": "h", + "description": "A comma-separated list of column names to display.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/cat._types:CatTrainedModelsColumns" + }, + "style": "form" + }, + "cat.ml_trained_models#s": { + "in": "query", + "name": "s", + "description": "A comma-separated list of column names or aliases used to sort the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/cat._types:CatTrainedModelsColumns" + }, + "style": "form" + }, + "cat.ml_trained_models#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of transforms.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "cat.ml_trained_models#size": { + "in": "query", + "name": "size", + "description": "The maximum number of transforms to display.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "cat.recovery#index": { + "in": "path", + "name": "index", + "description": "A comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`). To target all data streams and indices, omit this parameter or use `*` or `_all`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "cat.recovery#active_only": { + "in": "query", + "name": "active_only", + "description": "If `true`, the response only includes ongoing shard recoveries.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cat.recovery#bytes": { + "in": "query", + "name": "bytes", + "description": "The unit used to display byte values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Bytes" + }, + "style": "form" + }, + "cat.recovery#detailed": { + "in": "query", + "name": "detailed", + "description": "If `true`, the response includes detailed information about shard recoveries.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cat.segments#index": { + "in": "path", + "name": "index", + "description": "A comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "cat.segments#bytes": { + "in": "query", + "name": "bytes", + "description": "The unit used to display byte values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Bytes" + }, + "style": "form" + }, + "cat.shards#index": { + "in": "path", + "name": "index", + "description": "A comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "cat.shards#bytes": { + "in": "query", + "name": "bytes", + "description": "The unit used to display byte values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Bytes" + }, + "style": "form" + }, + "cat.snapshots#repository": { + "in": "path", + "name": "repository", + "description": "A comma-separated list of snapshot repositories used to limit the request.\nAccepts wildcard expressions.\n`_all` returns all repositories.\nIf any repository fails during the request, Elasticsearch returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "cat.snapshots#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `true`, the response does not include information from unavailable snapshots.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cat.templates#name": { + "in": "path", + "name": "name", + "description": "The name of the template to return.\nAccepts wildcard expressions. If omitted, all templates are returned.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "cat.thread_pool#thread_pool_patterns": { + "in": "path", + "name": "thread_pool_patterns", + "description": "A comma-separated list of thread pool names used to limit the request.\nAccepts wildcard expressions.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "cat.thread_pool#time": { + "in": "query", + "name": "time", + "description": "The unit used to display time values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:TimeUnit" + }, + "style": "form" + }, + "cat.transforms#transform_id": { + "in": "path", + "name": "transform_id", + "description": "A transform identifier or a wildcard expression.\nIf you do not specify one of these options, the API returns information for all transforms.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "cat.transforms#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request: contains wildcard expressions and there are no transforms that match; contains the `_all` string or no identifiers and there are no matches; contains wildcard expressions and there are only partial matches.\nIf `true`, it returns an empty transforms array when there are no matches and the subset of results when there are partial matches.\nIf `false`, the request returns a 404 status code when there are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cat.transforms#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of transforms.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "cat.transforms#h": { + "in": "query", + "name": "h", + "description": "Comma-separated list of column names to display.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/cat._types:CatTransformColumns" + }, + "style": "form" + }, + "cat.transforms#s": { + "in": "query", + "name": "s", + "description": "Comma-separated list of column names or column aliases used to sort the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/cat._types:CatTransformColumns" + }, + "style": "form" + }, + "cat.transforms#time": { + "in": "query", + "name": "time", + "description": "The unit used to display time values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:TimeUnit" + }, + "style": "form" + }, + "cat.transforms#size": { + "in": "query", + "name": "size", + "description": "The maximum number of transforms to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ccr.get_auto_follow_pattern#name": { + "in": "path", + "name": "name", + "description": "Specifies the auto-follow pattern collection that you want to retrieve. If you do not specify a name, the API returns information for all collections.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "clear_scroll#scroll_id": { + "in": "path", + "name": "scroll_id", + "description": "A comma-separated list of scroll IDs to clear", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ScrollIds" + }, + "style": "simple" + }, + "cluster.allocation_explain#include_disk_info": { + "in": "query", + "name": "include_disk_info", + "description": "If true, returns information about disk usage and shard sizes.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.allocation_explain#include_yes_decisions": { + "in": "query", + "name": "include_yes_decisions", + "description": "If true, returns YES decisions in explanation.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.get_component_template#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list of component template names used to limit the request.\nWildcard (`*`) expressions are supported.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "cluster.get_component_template#flat_settings": { + "in": "query", + "name": "flat_settings", + "description": "If `true`, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.get_component_template#include_defaults": { + "in": "query", + "name": "include_defaults", + "description": "Return all default configurations for the component template (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.get_component_template#local": { + "in": "query", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only.\nIf `false`, information is retrieved from the master node.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.get_component_template#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "cluster.health#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and index aliases used to limit the request. Wildcard expressions (*) are supported. To target all data streams and indices in a cluster, omit this parameter or use _all or *.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "cluster.health#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "cluster.health#level": { + "in": "query", + "name": "level", + "description": "Can be one of cluster, indices or shards. Controls the details level of the health information returned.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Level" + }, + "style": "form" + }, + "cluster.health#local": { + "in": "query", + "name": "local", + "description": "If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.health#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "cluster.health#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "cluster.health#wait_for_active_shards": { + "in": "query", + "name": "wait_for_active_shards", + "description": "A number controlling to how many active shards to wait for, all to wait for all shards in the cluster to be active, or 0 to not wait.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + }, + "cluster.health#wait_for_events": { + "in": "query", + "name": "wait_for_events", + "description": "Can be one of immediate, urgent, high, normal, low, languid. Wait until all currently queued events with the given priority are processed.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForEvents" + }, + "style": "form" + }, + "cluster.health#wait_for_nodes": { + "in": "query", + "name": "wait_for_nodes", + "description": "The request waits until the specified number N of nodes is available. It also accepts >=N, <=N, >N and yellow > red. By default, will not wait for any status.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:HealthStatus" + }, + "style": "form" + }, + "cluster.put_component_template#name": { + "in": "path", + "name": "name", + "description": "Name of the component template to create.\nElasticsearch includes the following built-in component templates: `logs-mappings`; 'logs-settings`; `metrics-mappings`; `metrics-settings`;`synthetics-mapping`; `synthetics-settings`.\nElastic Agent uses these templates to configure backing indices for its data streams.\nIf you use Elastic Agent and want to overwrite one of these templates, set the `version` for your replacement template higher than the current version.\nIf you don’t use Elastic Agent and want to disable all built-in component and index templates, set `stack.templates.enabled` to `false` using the cluster update settings API.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "cluster.put_component_template#create": { + "in": "query", + "name": "create", + "description": "If `true`, this request cannot replace or update existing component templates.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.put_component_template#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "cluster.state#metric": { + "in": "path", + "name": "metric", + "description": "Limit the information returned to the specified metrics", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Metrics" + }, + "style": "simple" + }, + "cluster.state#index": { + "in": "path", + "name": "index", + "description": "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "cluster.state#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.state#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "cluster.state#flat_settings": { + "in": "query", + "name": "flat_settings", + "description": "Return settings in flat format (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.state#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.state#local": { + "in": "query", + "name": "local", + "description": "Return local information, do not retrieve the state from master node (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.state#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Specify timeout for connection to master", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "cluster.state#wait_for_metadata_version": { + "in": "query", + "name": "wait_for_metadata_version", + "description": "Wait for the metadata version to be equal or greater than the specified metadata version", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + }, + "cluster.state#wait_for_timeout": { + "in": "query", + "name": "wait_for_timeout", + "description": "The maximum time to wait for wait_for_metadata_version before timing out", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "cluster.stats#node_id": { + "in": "path", + "name": "node_id", + "description": "Comma-separated list of node filters used to limit returned information. Defaults to all nodes in the cluster.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:NodeIds" + }, + "style": "simple" + }, + "cluster.stats#flat_settings": { + "in": "query", + "name": "flat_settings", + "description": "If `true`, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.stats#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for each node to respond.\nIf a node does not respond before its timeout expires, the response does not include its stats.\nHowever, timed out nodes are included in the response’s `_nodes.failed` property. Defaults to no timeout.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "count#index": { + "in": "path", + "name": "index", + "description": "A comma-separated list of indices to restrict the results", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "count#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "count#analyzer": { + "in": "query", + "name": "analyzer", + "description": "The analyzer to use for the query string", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "count#analyze_wildcard": { + "in": "query", + "name": "analyze_wildcard", + "description": "Specify whether wildcard and prefix queries should be analyzed (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "count#default_operator": { + "in": "query", + "name": "default_operator", + "description": "The default operator for query string query (AND or OR)", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "style": "form" + }, + "count#df": { + "in": "query", + "name": "df", + "description": "The field to use as default where no field prefix is given in the query string", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "count#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "count#ignore_throttled": { + "in": "query", + "name": "ignore_throttled", + "description": "Whether specified concrete, expanded or aliased indices should be ignored when throttled", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "count#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "count#lenient": { + "in": "query", + "name": "lenient", + "description": "Specify whether format-based query failures (such as providing text to a numeric field) should be ignored", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "count#min_score": { + "in": "query", + "name": "min_score", + "description": "Include only documents with a specific `_score` value in the result", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "count#preference": { + "in": "query", + "name": "preference", + "description": "Specify the node or shard the operation should be performed on (default: random)", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "count#routing": { + "in": "query", + "name": "routing", + "description": "A comma-separated list of specific routing values", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "count#terminate_after": { + "in": "query", + "name": "terminate_after", + "description": "The maximum count for each shard, upon reaching which the query execution will terminate early", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "count#q": { + "in": "query", + "name": "q", + "description": "Query in the Lucene query string syntax", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "create#id": { + "in": "path", + "name": "id", + "description": "Document ID", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "create#index": { + "in": "path", + "name": "index", + "description": "The name of the index", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "create#pipeline": { + "in": "query", + "name": "pipeline", + "description": "The pipeline id to preprocess incoming documents with", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "create#refresh": { + "in": "query", + "name": "refresh", + "description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "create#routing": { + "in": "query", + "name": "routing", + "description": "Specific routing value", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "create#timeout": { + "in": "query", + "name": "timeout", + "description": "Explicit operation timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "create#version": { + "in": "query", + "name": "version", + "description": "Explicit version number for concurrency control", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + }, + "create#version_type": { + "in": "query", + "name": "version_type", + "description": "Specific version type", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionType" + }, + "style": "form" + }, + "create#wait_for_active_shards": { + "in": "query", + "name": "wait_for_active_shards", + "description": "Sets the number of shard copies that must be active before proceeding with the index operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + }, + "enrich.get_policy#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list of enrich policy names used to limit the request.\nTo return information for all enrich policies, omit this parameter.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "eql.search#index": { + "in": "path", + "name": "index", + "description": "The name of the index to scope the operation", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "eql.search#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "eql.search#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "eql.search#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If true, missing or closed indices are not included in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "eql.search#keep_alive": { + "in": "query", + "name": "keep_alive", + "description": "Period for which the search and its results are stored on the cluster.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "eql.search#keep_on_completion": { + "in": "query", + "name": "keep_on_completion", + "description": "If true, the search and its results are stored on the cluster.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "eql.search#wait_for_completion_timeout": { + "in": "query", + "name": "wait_for_completion_timeout", + "description": "Timeout duration to wait for the request to finish. Defaults to no timeout, meaning the request waits for complete search results.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "explain#id": { + "in": "path", + "name": "id", + "description": "The document ID", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "explain#index": { + "in": "path", + "name": "index", + "description": "The name of the index", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "explain#analyzer": { + "in": "query", + "name": "analyzer", + "description": "The analyzer for the query string query", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "explain#analyze_wildcard": { + "in": "query", + "name": "analyze_wildcard", + "description": "Specify whether wildcards and prefix queries in the query string query should be analyzed (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "explain#default_operator": { + "in": "query", + "name": "default_operator", + "description": "The default operator for query string query (AND or OR)", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "style": "form" + }, + "explain#df": { + "in": "query", + "name": "df", + "description": "The default field for query string query (default: _all)", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "explain#lenient": { + "in": "query", + "name": "lenient", + "description": "Specify whether format-based query failures (such as providing text to a numeric field) should be ignored", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "explain#preference": { + "in": "query", + "name": "preference", + "description": "Specify the node or shard the operation should be performed on (default: random)", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "explain#routing": { + "in": "query", + "name": "routing", + "description": "Specific routing value", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "explain#_source": { + "in": "query", + "name": "_source", + "description": "True or false to return the _source field or not, or a list of fields to return", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" + }, + "explain#_source_excludes": { + "in": "query", + "name": "_source_excludes", + "description": "A list of fields to exclude from the returned _source field", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "explain#_source_includes": { + "in": "query", + "name": "_source_includes", + "description": "A list of fields to extract and return from the _source field", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "explain#stored_fields": { + "in": "query", + "name": "stored_fields", + "description": "A comma-separated list of stored fields to return in the response", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "explain#q": { + "in": "query", + "name": "q", + "description": "Query in the Lucene query string syntax", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "field_caps#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indices, omit this parameter or use * or _all.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "field_caps#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If false, the request returns an error if any wildcard expression, index alias,\nor `_all` value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request\ntargeting `foo*,bar*` returns an error if an index starts with foo but no index starts with bar.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "field_caps#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams. Supports comma-separated values, such as `open,hidden`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "field_caps#fields": { + "in": "query", + "name": "fields", + "description": "Comma-separated list of fields to retrieve capabilities for. Wildcard (`*`) expressions are supported.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "field_caps#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `true`, missing or closed indices are not included in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "field_caps#include_unmapped": { + "in": "query", + "name": "include_unmapped", + "description": "If true, unmapped fields are included in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "field_caps#filters": { + "in": "query", + "name": "filters", + "description": "An optional set of filters: can include +metadata,-metadata,-nested,-multifield,-parent", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "field_caps#types": { + "in": "query", + "name": "types", + "description": "Only return results for fields that have one of the types in the list", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + "fleet.msearch#index": { + "in": "path", + "name": "index", + "description": "A single target to search. If the target is an index alias, it must resolve to a single index.", + "deprecated": false, + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:IndexName" + }, + { + "$ref": "#/components/schemas/_types:IndexAlias" + } + ] + }, + "style": "simple" + }, + "fleet.msearch#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.msearch#ccs_minimize_roundtrips": { + "in": "query", + "name": "ccs_minimize_roundtrips", + "description": "If true, network roundtrips between the coordinating node and remote clusters are minimized for cross-cluster search requests.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.msearch#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard expressions can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "fleet.msearch#ignore_throttled": { + "in": "query", + "name": "ignore_throttled", + "description": "If true, concrete, expanded or aliased indices are ignored when frozen.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.msearch#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If true, missing or closed indices are not included in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.msearch#max_concurrent_searches": { + "in": "query", + "name": "max_concurrent_searches", + "description": "Maximum number of concurrent searches the multi search API can execute.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "fleet.msearch#max_concurrent_shard_requests": { + "in": "query", + "name": "max_concurrent_shard_requests", + "description": "Maximum number of concurrent shard requests that each sub-search request executes per node.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "fleet.msearch#pre_filter_shard_size": { + "in": "query", + "name": "pre_filter_shard_size", + "description": "Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method i.e., if date filters are mandatory to match but the shard bounds and the query are disjoint.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "fleet.msearch#search_type": { + "in": "query", + "name": "search_type", + "description": "Indicates whether global term and document frequencies should be used when scoring returned documents.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "style": "form" + }, + "fleet.msearch#rest_total_hits_as_int": { + "in": "query", + "name": "rest_total_hits_as_int", + "description": "If true, hits.total are returned as an integer in the response. Defaults to false, which returns an object.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.msearch#typed_keys": { + "in": "query", + "name": "typed_keys", + "description": "Specifies whether aggregation and suggester names should be prefixed by their respective types in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.msearch#wait_for_checkpoints": { + "in": "query", + "name": "wait_for_checkpoints", + "description": "A comma separated list of checkpoints. When configured, the search API will only be executed on a shard\nafter the relevant checkpoint has become visible for search. Defaults to an empty list which will cause\nElasticsearch to immediately execute the search.", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/fleet._types:Checkpoint" + } + }, + "style": "form" + }, + "fleet.msearch#allow_partial_search_results": { + "in": "query", + "name": "allow_partial_search_results", + "description": "If true, returns partial results if there are shard request timeouts or [shard failures](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-replication.html#shard-failures). If false, returns\nan error with no partial results. Defaults to the configured cluster setting `search.default_allow_partial_results`\nwhich is true by default.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#index": { + "in": "path", + "name": "index", + "description": "A single target to search. If the target is an index alias, it must resolve to a single index.", + "required": true, + "deprecated": false, + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:IndexName" + }, + { + "$ref": "#/components/schemas/_types:IndexAlias" + } + ] + }, + "style": "simple" + }, + "fleet.search#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#analyzer": { + "in": "query", + "name": "analyzer", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "fleet.search#analyze_wildcard": { + "in": "query", + "name": "analyze_wildcard", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#batched_reduce_size": { + "in": "query", + "name": "batched_reduce_size", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "fleet.search#ccs_minimize_roundtrips": { + "in": "query", + "name": "ccs_minimize_roundtrips", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#default_operator": { + "in": "query", + "name": "default_operator", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "style": "form" + }, + "fleet.search#df": { + "in": "query", + "name": "df", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "fleet.search#docvalue_fields": { + "in": "query", + "name": "docvalue_fields", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "fleet.search#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "fleet.search#explain": { + "in": "query", + "name": "explain", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#ignore_throttled": { + "in": "query", + "name": "ignore_throttled", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#lenient": { + "in": "query", + "name": "lenient", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#max_concurrent_shard_requests": { + "in": "query", + "name": "max_concurrent_shard_requests", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "fleet.search#min_compatible_shard_node": { + "in": "query", + "name": "min_compatible_shard_node", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "style": "form" + }, + "fleet.search#preference": { + "in": "query", + "name": "preference", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "fleet.search#pre_filter_shard_size": { + "in": "query", + "name": "pre_filter_shard_size", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "fleet.search#request_cache": { + "in": "query", + "name": "request_cache", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#routing": { + "in": "query", + "name": "routing", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "fleet.search#scroll": { + "in": "query", + "name": "scroll", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "fleet.search#search_type": { + "in": "query", + "name": "search_type", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "style": "form" + }, + "fleet.search#stats": { + "in": "query", + "name": "stats", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + "fleet.search#stored_fields": { + "in": "query", + "name": "stored_fields", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "fleet.search#suggest_field": { + "in": "query", + "name": "suggest_field", + "description": "Specifies which field to use for suggestions.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Field" + }, + "style": "form" + }, + "fleet.search#suggest_mode": { + "in": "query", + "name": "suggest_mode", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SuggestMode" + }, + "style": "form" + }, + "fleet.search#suggest_size": { + "in": "query", + "name": "suggest_size", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "fleet.search#suggest_text": { + "in": "query", + "name": "suggest_text", + "description": "The source text for which the suggestions should be returned.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "fleet.search#terminate_after": { + "in": "query", + "name": "terminate_after", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "fleet.search#timeout": { + "in": "query", + "name": "timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "fleet.search#track_total_hits": { + "in": "query", + "name": "track_total_hits", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:TrackHits" + }, + "style": "form" + }, + "fleet.search#track_scores": { + "in": "query", + "name": "track_scores", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#typed_keys": { + "in": "query", + "name": "typed_keys", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#rest_total_hits_as_int": { + "in": "query", + "name": "rest_total_hits_as_int", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#version": { + "in": "query", + "name": "version", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#_source": { + "in": "query", + "name": "_source", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" + }, + "fleet.search#_source_excludes": { + "in": "query", + "name": "_source_excludes", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "fleet.search#_source_includes": { + "in": "query", + "name": "_source_includes", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "fleet.search#seq_no_primary_term": { + "in": "query", + "name": "seq_no_primary_term", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#q": { + "in": "query", + "name": "q", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "fleet.search#size": { + "in": "query", + "name": "size", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "fleet.search#from": { + "in": "query", + "name": "from", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "fleet.search#sort": { + "in": "query", + "name": "sort", + "deprecated": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "style": "form" + }, + "fleet.search#wait_for_checkpoints": { + "in": "query", + "name": "wait_for_checkpoints", + "description": "A comma separated list of checkpoints. When configured, the search API will only be executed on a shard\nafter the relevant checkpoint has become visible for search. Defaults to an empty list which will cause\nElasticsearch to immediately execute the search.", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/fleet._types:Checkpoint" + } + }, + "style": "form" + }, + "fleet.search#allow_partial_search_results": { + "in": "query", + "name": "allow_partial_search_results", + "description": "If true, returns partial results if there are shard request timeouts or [shard failures](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-replication.html#shard-failures). If false, returns\nan error with no partial results. Defaults to the configured cluster setting `search.default_allow_partial_results`\nwhich is true by default.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "graph.explore#index": { + "in": "path", + "name": "index", + "description": "Name of the index.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "graph.explore#routing": { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "graph.explore#timeout": { + "in": "query", + "name": "timeout", + "description": "Specifies 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.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "health_report#feature": { + "in": "path", + "name": "feature", + "description": "A feature of the cluster, as returned by the top-level health report API.", + "deprecated": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "style": "simple" + }, + "health_report#timeout": { + "in": "query", + "name": "timeout", + "description": "Explicit operation timeout.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "health_report#verbose": { + "in": "query", + "name": "verbose", + "description": "Opt-in for more information about the health of the system.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "health_report#size": { + "in": "query", + "name": "size", + "description": "Limit the number of affected resources the health report API returns.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ilm.get_lifecycle#policy": { + "in": "path", + "name": "policy", + "description": "Identifier for the policy.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "ilm.get_lifecycle#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "ilm.get_lifecycle#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "index#id": { + "in": "path", + "name": "id", + "description": "Document ID", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "index#index": { + "in": "path", + "name": "index", + "description": "The name of the index", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "index#if_primary_term": { + "in": "query", + "name": "if_primary_term", + "description": "only perform the index operation if the last operation that has changed the document has the specified primary term", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "index#if_seq_no": { + "in": "query", + "name": "if_seq_no", + "description": "only perform the index operation if the last operation that has changed the document has the specified sequence number", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "style": "form" + }, + "index#op_type": { + "in": "query", + "name": "op_type", + "description": "Explicit operation type. Defaults to `index` for requests with an explicit document ID, and to `create`for requests without an explicit document ID", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:OpType" + }, + "style": "form" + }, + "index#pipeline": { + "in": "query", + "name": "pipeline", + "description": "The pipeline id to preprocess incoming documents with", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "index#refresh": { + "in": "query", + "name": "refresh", + "description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "index#routing": { + "in": "query", + "name": "routing", + "description": "Specific routing value", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "index#timeout": { + "in": "query", + "name": "timeout", + "description": "Explicit operation timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "index#version": { + "in": "query", + "name": "version", + "description": "Explicit version number for concurrency control", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + }, + "index#version_type": { + "in": "query", + "name": "version_type", + "description": "Specific version type", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionType" + }, + "style": "form" + }, + "index#wait_for_active_shards": { + "in": "query", + "name": "wait_for_active_shards", + "description": "Sets the number of shard copies that must be active before proceeding with the index operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + }, + "index#require_alias": { + "in": "query", + "name": "require_alias", + "description": "When true, requires destination to be an alias. Default is false", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.analyze#index": { + "in": "path", + "name": "index", + "description": "Index used to derive the analyzer.\nIf specified, the `analyzer` or field parameter overrides this value.\nIf no index is specified or the index does not have a default analyzer, the analyze API uses the standard analyzer.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "indices.clear_cache#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.clear_cache#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.clear_cache#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.clear_cache#fielddata": { + "in": "query", + "name": "fielddata", + "description": "If `true`, clears the fields cache.\nUse the `fields` parameter to clear the cache of specific fields only.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.clear_cache#fields": { + "in": "query", + "name": "fields", + "description": "Comma-separated list of field names used to limit the `fielddata` parameter.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "indices.clear_cache#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.clear_cache#query": { + "in": "query", + "name": "query", + "description": "If `true`, clears the query cache.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.clear_cache#request": { + "in": "query", + "name": "request", + "description": "If `true`, clears the request cache.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.clone#index": { + "in": "path", + "name": "index", + "description": "Name of the source index to clone.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "indices.clone#target": { + "in": "path", + "name": "target", + "description": "Name of the target index to create.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "indices.clone#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.clone#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.clone#wait_for_active_shards": { + "in": "query", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + }, + "indices.data_streams_stats#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list of data streams used to limit the request.\nWildcard expressions (`*`) are supported.\nTo target all data streams in a cluster, omit this parameter or use `*`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "indices.data_streams_stats#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.delete_alias#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams or indices used to limit the request.\nSupports wildcards (`*`).", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.delete_alias#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list of aliases to remove.\nSupports wildcards (`*`). To remove all aliases, use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "indices.delete_alias#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.delete_alias#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.exists_alias#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list of aliases to check. Supports wildcards (`*`).", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "indices.exists_alias#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams or indices used to limit the request. Supports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.exists_alias#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.exists_alias#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.exists_alias#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, requests that include a missing data stream or index in the target indices or data streams return an error.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.exists_alias#local": { + "in": "query", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.flush#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases to flush.\nSupports wildcards (`*`).\nTo flush all data streams and indices, omit this parameter or use `*` or `_all`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.flush#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.flush#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.flush#force": { + "in": "query", + "name": "force", + "description": "If `true`, the request forces a flush even if there are no changes to commit to the index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.flush#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.flush#wait_if_ongoing": { + "in": "query", + "name": "wait_if_ongoing", + "description": "If `true`, the flush operation blocks until execution when another flush operation is running.\nIf `false`, Elasticsearch returns an error if you request a flush when another flush operation is running.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.forcemerge#index": { + "in": "path", + "name": "index", + "description": "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.forcemerge#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.forcemerge#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.forcemerge#flush": { + "in": "query", + "name": "flush", + "description": "Specify whether the index should be flushed after performing the operation (default: true)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.forcemerge#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.forcemerge#max_num_segments": { + "in": "query", + "name": "max_num_segments", + "description": "The number of segments the index should be merged into (default: dynamic)", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "indices.forcemerge#only_expunge_deletes": { + "in": "query", + "name": "only_expunge_deletes", + "description": "Specify whether the operation should only expunge deleted documents", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.forcemerge#wait_for_completion": { + "in": "query", + "name": "wait_for_completion", + "description": "Should the request wait until the force merge is completed.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_alias#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list of aliases to retrieve.\nSupports wildcards (`*`).\nTo retrieve all aliases, omit this parameter or use `*` or `_all`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "indices.get_alias#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams or indices used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.get_alias#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_alias#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.get_alias#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_alias#local": { + "in": "query", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_data_stream#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list of data stream names used to limit the request.\nWildcard (`*`) expressions are supported. If omitted, all data streams are returned.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DataStreamNames" + }, + "style": "simple" + }, + "indices.get_data_stream#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.get_data_stream#include_defaults": { + "in": "query", + "name": "include_defaults", + "description": "If true, returns all relevant default configurations for the index template.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_field_mapping#fields": { + "in": "path", + "name": "fields", + "description": "Comma-separated list or wildcard expression of fields used to limit returned information.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "simple" + }, + "indices.get_field_mapping#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.get_field_mapping#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_field_mapping#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.get_field_mapping#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_field_mapping#include_defaults": { + "in": "query", + "name": "include_defaults", + "description": "If `true`, return all default settings in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_field_mapping#local": { + "in": "query", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_index_template#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "indices.get_index_template#local": { + "in": "query", + "name": "local", + "description": "If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_index_template#flat_settings": { + "in": "query", + "name": "flat_settings", + "description": "If true, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_index_template#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.get_index_template#include_defaults": { + "in": "query", + "name": "include_defaults", + "description": "If true, returns all relevant default configurations for the index template.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_mapping#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.get_mapping#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_mapping#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.get_mapping#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_mapping#local": { + "in": "query", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_mapping#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.get_settings#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit\nthe request. Supports wildcards (`*`). To target all data streams and\nindices, omit this parameter or use `*` or `_all`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.get_settings#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list or wildcard expression of settings to retrieve.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "indices.get_settings#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index\nalias, or `_all` value targets only missing or closed indices. This\nbehavior applies even if the request targets other open indices. For\nexample, a request targeting `foo*,bar*` returns an error if an index\nstarts with foo but no index starts with `bar`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_settings#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.get_settings#flat_settings": { + "in": "query", + "name": "flat_settings", + "description": "If `true`, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_settings#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_settings#include_defaults": { + "in": "query", + "name": "include_defaults", + "description": "If `true`, return all default settings in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_settings#local": { + "in": "query", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only. If\n`false`, information is retrieved from the master node.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_settings#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.get_template#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list of index template names used to limit the request.\nWildcard (`*`) expressions are supported.\nTo return all index templates, omit this parameter or use a value of `_all` or `*`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "indices.get_template#flat_settings": { + "in": "query", + "name": "flat_settings", + "description": "If `true`, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_template#local": { + "in": "query", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_template#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.put_alias#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams or indices to add.\nSupports wildcards (`*`).\nWildcard patterns that match both data streams and indices return an error.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.put_alias#name": { + "in": "path", + "name": "name", + "description": "Alias to update.\nIf the alias doesn’t exist, the request creates it.\nIndex alias names support date math.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "indices.put_alias#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.put_alias#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.put_index_template#name": { + "in": "path", + "name": "name", + "description": "Index or template name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "indices.put_index_template#create": { + "in": "query", + "name": "create", + "description": "If `true`, this request cannot replace or update existing index templates.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.put_mapping#index": { + "in": "path", + "name": "index", + "description": "A comma-separated list of index names the mapping should be added to (supports wildcards); use `_all` or omit to add the mapping on all indices.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.put_mapping#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.put_mapping#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.put_mapping#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.put_mapping#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.put_mapping#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.put_mapping#write_index_only": { + "in": "query", + "name": "write_index_only", + "description": "If `true`, the mappings are applied only to the current write index for the target.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.put_settings#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit\nthe request. Supports wildcards (`*`). To target all data streams and\nindices, omit this parameter or use `*` or `_all`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.put_settings#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index\nalias, or `_all` value targets only missing or closed indices. This\nbehavior applies even if the request targets other open indices. For\nexample, a request targeting `foo*,bar*` returns an error if an index\nstarts with `foo` but no index starts with `bar`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.put_settings#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match. If the request can target\ndata streams, this argument determines whether wildcard expressions match\nhidden data streams. Supports comma-separated values, such as\n`open,hidden`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.put_settings#flat_settings": { + "in": "query", + "name": "flat_settings", + "description": "If `true`, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.put_settings#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `true`, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.put_settings#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.put_settings#preserve_existing": { + "in": "query", + "name": "preserve_existing", + "description": "If `true`, existing index settings remain unchanged.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.put_settings#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the\n timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.put_template#name": { + "in": "path", + "name": "name", + "description": "The name of the template", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "indices.put_template#create": { + "in": "query", + "name": "create", + "description": "If true, this request cannot replace or update existing index templates.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.put_template#flat_settings": { + "in": "query", + "name": "flat_settings", + "description": "If `true`, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.put_template#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.put_template#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.put_template#order": { + "in": "query", + "name": "order", + "description": "Order in which Elasticsearch applies this template if index\nmatches multiple templates.\n\nTemplates with lower 'order' values are merged first. Templates with higher\n'order' values are merged later, overriding templates with lower values.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "indices.recovery#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.recovery#active_only": { + "in": "query", + "name": "active_only", + "description": "If `true`, the response only includes ongoing shard recoveries.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.recovery#detailed": { + "in": "query", + "name": "detailed", + "description": "If `true`, the response includes detailed information about shard recoveries.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.refresh#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.refresh#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.refresh#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.refresh#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.reload_search_analyzers#index": { + "in": "path", + "name": "index", + "description": "A comma-separated list of index names to reload analyzers for", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.reload_search_analyzers#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.reload_search_analyzers#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.reload_search_analyzers#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.rollover#alias": { + "in": "path", + "name": "alias", + "description": "Name of the data stream or index alias to roll over.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexAlias" + }, + "style": "simple" + }, + "indices.rollover#new_index": { + "in": "path", + "name": "new_index", + "description": "Name of the index to create.\nSupports date math.\nData streams do not support this parameter.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "indices.rollover#dry_run": { + "in": "query", + "name": "dry_run", + "description": "If `true`, checks whether the current index satisfies the specified conditions but does not perform a rollover.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.rollover#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.rollover#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.rollover#wait_for_active_shards": { + "in": "query", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + }, + "indices.segments#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.segments#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.segments#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.segments#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.segments#verbose": { + "in": "query", + "name": "verbose", + "description": "If `true`, the request returns a verbose response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.shard_stores#index": { + "in": "path", + "name": "index", + "description": "List of data streams, indices, and aliases used to limit the request.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.shard_stores#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If false, the request returns an error if any wildcard expression, index alias, or _all\nvalue targets only missing or closed indices. This behavior applies even if the request\ntargets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.shard_stores#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match. If the request can target data streams,\nthis argument determines whether wildcard expressions match hidden data streams.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.shard_stores#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If true, missing or closed indices are not included in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.shard_stores#status": { + "in": "query", + "name": "status", + "description": "List of shard health statuses used to limit the request.", + "deprecated": false, + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/indices.shard_stores:ShardStoreStatus" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.shard_stores:ShardStoreStatus" + } + } + ] + }, + "style": "form" + }, + "indices.shrink#index": { + "in": "path", + "name": "index", + "description": "Name of the source index to shrink.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "indices.shrink#target": { + "in": "path", + "name": "target", + "description": "Name of the target index to create.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "indices.shrink#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.shrink#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.shrink#wait_for_active_shards": { + "in": "query", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + }, + "indices.simulate_template#name": { + "in": "path", + "name": "name", + "description": "Name of the index template to simulate. To test a template configuration before you add it to the cluster, omit\nthis parameter and specify the template configuration in the request body.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "indices.simulate_template#create": { + "in": "query", + "name": "create", + "description": "If true, the template passed in the body is only used if no existing templates match the same index patterns. If false, the simulation uses the template with the highest priority. Note that the template is not permanently added or updated in either case; it is only used for the simulation.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.simulate_template#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.simulate_template#include_defaults": { + "in": "query", + "name": "include_defaults", + "description": "If true, returns all relevant default configurations for the index template.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.split#index": { + "in": "path", + "name": "index", + "description": "Name of the source index to split.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "indices.split#target": { + "in": "path", + "name": "target", + "description": "Name of the target index to create.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "indices.split#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.split#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.split#wait_for_active_shards": { + "in": "query", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + }, + "indices.stats#metric": { + "in": "path", + "name": "metric", + "description": "Limit the information returned the specific metrics.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Metrics" + }, + "style": "simple" + }, + "indices.stats#index": { + "in": "path", + "name": "index", + "description": "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.stats#completion_fields": { + "in": "query", + "name": "completion_fields", + "description": "Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "indices.stats#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match. If the request can target data streams, this argument\ndetermines whether wildcard expressions match hidden data streams. Supports comma-separated values,\nsuch as `open,hidden`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.stats#fielddata_fields": { + "in": "query", + "name": "fielddata_fields", + "description": "Comma-separated list or wildcard expressions of fields to include in fielddata statistics.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "indices.stats#fields": { + "in": "query", + "name": "fields", + "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "indices.stats#forbid_closed_indices": { + "in": "query", + "name": "forbid_closed_indices", + "description": "If true, statistics are not collected from closed indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.stats#groups": { + "in": "query", + "name": "groups", + "description": "Comma-separated list of search groups to include in the search statistics.", + "deprecated": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "style": "form" + }, + "indices.stats#include_segment_file_sizes": { + "in": "query", + "name": "include_segment_file_sizes", + "description": "If true, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.stats#include_unloaded_segments": { + "in": "query", + "name": "include_unloaded_segments", + "description": "If true, the response includes information from segments that are not loaded into memory.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.stats#level": { + "in": "query", + "name": "level", + "description": "Indicates whether statistics are aggregated at the cluster, index, or shard level.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Level" + }, + "style": "form" + }, + "indices.validate_query#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams or indices, omit this parameter or use `*` or `_all`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.validate_query#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.validate_query#all_shards": { + "in": "query", + "name": "all_shards", + "description": "If `true`, the validation is executed on all shards instead of one random shard per index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.validate_query#analyzer": { + "in": "query", + "name": "analyzer", + "description": "Analyzer to use for the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "indices.validate_query#analyze_wildcard": { + "in": "query", + "name": "analyze_wildcard", + "description": "If `true`, wildcard and prefix queries are analyzed.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.validate_query#default_operator": { + "in": "query", + "name": "default_operator", + "description": "The default operator for query string query: `AND` or `OR`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "style": "form" + }, + "indices.validate_query#df": { + "in": "query", + "name": "df", + "description": "Field to use as default where no field prefix is given in the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "indices.validate_query#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.validate_query#explain": { + "in": "query", + "name": "explain", + "description": "If `true`, the response returns detailed information if an error has occurred.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.validate_query#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.validate_query#lenient": { + "in": "query", + "name": "lenient", + "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.validate_query#rewrite": { + "in": "query", + "name": "rewrite", + "description": "If `true`, returns a more detailed explanation showing the actual Lucene query that will be executed.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.validate_query#q": { + "in": "query", + "name": "q", + "description": "Query in the Lucene query string syntax.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "ingest.get_pipeline#id": { + "in": "path", + "name": "id", + "description": "Comma-separated list of pipeline IDs to retrieve.\nWildcard (`*`) expressions are supported.\nTo get all ingest pipelines, omit this parameter or use `*`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ingest.get_pipeline#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "ingest.get_pipeline#summary": { + "in": "query", + "name": "summary", + "description": "Return pipelines without their definitions (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ingest.simulate#id": { + "in": "path", + "name": "id", + "description": "Pipeline to test.\nIf you don’t specify a `pipeline` in the request body, this parameter is required.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ingest.simulate#verbose": { + "in": "query", + "name": "verbose", + "description": "If `true`, the response includes output data for each processor in the executed pipeline.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "knn_search#index": { + "in": "path", + "name": "index", + "description": "A comma-separated list of index names to search;\nuse `_all` or to perform the operation on all indices", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "knn_search#routing": { + "in": "query", + "name": "routing", + "description": "A comma-separated list of specific routing values", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "license.post#acknowledge": { + "in": "query", + "name": "acknowledge", + "description": "Specifies whether you acknowledge the license changes.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "logstash.get_pipeline#id": { + "in": "path", + "name": "id", + "description": "Comma-separated list of pipeline identifiers.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Ids" + }, + "style": "simple" + }, + "mget#index": { + "in": "path", + "name": "index", + "description": "Name of the index to retrieve documents from when `ids` are specified, or when a document in the `docs` array does not specify an index.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "mget#preference": { + "in": "query", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on. Random by default.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "mget#realtime": { + "in": "query", + "name": "realtime", + "description": "If `true`, the request is real-time as opposed to near-real-time.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "mget#refresh": { + "in": "query", + "name": "refresh", + "description": "If `true`, the request refreshes relevant shards before retrieving documents.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "mget#routing": { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "mget#_source": { + "in": "query", + "name": "_source", + "description": "True or false to return the `_source` field or not, or a list of fields to return.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" + }, + "mget#_source_excludes": { + "in": "query", + "name": "_source_excludes", + "description": "A comma-separated list of source fields to exclude from the response.\nYou can also use this parameter to exclude fields from the subset specified in `_source_includes` query parameter.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "mget#_source_includes": { + "in": "query", + "name": "_source_includes", + "description": "A comma-separated list of source fields to include in the response.\nIf this parameter is specified, only these source fields are returned. You can exclude fields from this subset using the `_source_excludes` query parameter.\nIf the `_source` parameter is `false`, this parameter is ignored.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "mget#stored_fields": { + "in": "query", + "name": "stored_fields", + "description": "If `true`, retrieves the document fields stored in the index rather than the document `_source`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "migration.deprecations#index": { + "in": "path", + "name": "index", + "description": "Comma-separate list of data streams or indices to check. Wildcard (*) expressions are supported.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "ml.delete_expired_data#job_id": { + "in": "path", + "name": "job_id", + "description": "Identifier for an anomaly detection job. It can be a job identifier, a\ngroup name, or a wildcard expression.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.delete_expired_data#requests_per_second": { + "in": "query", + "name": "requests_per_second", + "description": "The desired requests per second for the deletion processes. The default\nbehavior is no throttling.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.delete_expired_data#timeout": { + "in": "query", + "name": "timeout", + "description": "How long can the underlying delete processes run until they are canceled.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "ml.delete_forecast#job_id": { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.delete_forecast#forecast_id": { + "in": "path", + "name": "forecast_id", + "description": "A comma-separated list of forecast identifiers. If you do not specify\nthis optional parameter or if you specify `_all` or `*` the API deletes\nall forecasts from the job.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.delete_forecast#allow_no_forecasts": { + "in": "query", + "name": "allow_no_forecasts", + "description": "Specifies whether an error occurs when there are no forecasts. In\nparticular, if this parameter is set to `false` and there are no\nforecasts associated with the job, attempts to delete all forecasts\nreturn an error.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.delete_forecast#timeout": { + "in": "query", + "name": "timeout", + "description": "Specifies the period of time to wait for the completion of the delete\noperation. When this period of time elapses, the API fails and returns an\nerror.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "ml.explain_data_frame_analytics#id": { + "in": "path", + "name": "id", + "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_buckets#job_id": { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_buckets#timestamp": { + "in": "path", + "name": "timestamp", + "description": "The timestamp of a single bucket result. If you do not specify this\nparameter, the API returns information about all buckets.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "simple" + }, + "ml.get_buckets#anomaly_score": { + "in": "query", + "name": "anomaly_score", + "description": "Returns buckets with anomaly scores greater or equal than this value.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_buckets#desc": { + "in": "query", + "name": "desc", + "description": "If `true`, the buckets are sorted in descending order.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_buckets#end": { + "in": "query", + "name": "end", + "description": "Returns buckets with timestamps earlier than this time. `-1` means it is\nunset and results are not limited to specific timestamps.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "ml.get_buckets#exclude_interim": { + "in": "query", + "name": "exclude_interim", + "description": "If `true`, the output excludes interim results.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_buckets#expand": { + "in": "query", + "name": "expand", + "description": "If true, the output includes anomaly records.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_buckets#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of buckets.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_buckets#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of buckets to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_buckets#sort": { + "in": "query", + "name": "sort", + "description": "Specifies the sort field for the requested buckets.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Field" + }, + "style": "form" + }, + "ml.get_buckets#start": { + "in": "query", + "name": "start", + "description": "Returns buckets with timestamps after this time. `-1` means it is unset\nand results are not limited to specific timestamps.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "ml.get_calendars#calendar_id": { + "in": "path", + "name": "calendar_id", + "description": "A string that uniquely identifies a calendar. You can get information for multiple calendars by using a comma-separated list of ids or a wildcard expression. You can get information for all calendars by using `_all` or `*` or by omitting the calendar identifier.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_calendars#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of calendars. This parameter is supported only when you omit the calendar identifier.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_calendars#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of calendars to obtain. This parameter is supported only when you omit the calendar identifier.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_categories#job_id": { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_categories#category_id": { + "in": "path", + "name": "category_id", + "description": "Identifier for the category, which is unique in the job. If you specify\nneither the category ID nor the partition_field_value, the API returns\ninformation about all categories. If you specify only the\npartition_field_value, it returns information about all categories for\nthe specified partition.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:CategoryId" + }, + "style": "simple" + }, + "ml.get_categories#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of categories.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_categories#partition_field_value": { + "in": "query", + "name": "partition_field_value", + "description": "Only return categories for the specified partition.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "ml.get_categories#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of categories to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_data_frame_analytics#id": { + "in": "path", + "name": "id", + "description": "Identifier for the data frame analytics job. If you do not specify this\noption, the API returns information for the first hundred data frame\nanalytics jobs.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_data_frame_analytics#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no data frame analytics\njobs that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value returns an empty data_frame_analytics array when there\nare no matches and the subset of results when there are partial matches.\nIf this parameter is `false`, the request returns a 404 status code when\nthere are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_data_frame_analytics#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of data frame analytics jobs.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_data_frame_analytics#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of data frame analytics jobs to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_data_frame_analytics#exclude_generated": { + "in": "query", + "name": "exclude_generated", + "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_data_frame_analytics_stats#id": { + "in": "path", + "name": "id", + "description": "Identifier for the data frame analytics job. If you do not specify this\noption, the API returns information for the first hundred data frame\nanalytics jobs.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_data_frame_analytics_stats#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no data frame analytics\njobs that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value returns an empty data_frame_analytics array when there\nare no matches and the subset of results when there are partial matches.\nIf this parameter is `false`, the request returns a 404 status code when\nthere are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_data_frame_analytics_stats#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of data frame analytics jobs.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_data_frame_analytics_stats#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of data frame analytics jobs to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_data_frame_analytics_stats#verbose": { + "in": "query", + "name": "verbose", + "description": "Defines whether the stats response should be verbose.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_datafeed_stats#datafeed_id": { + "in": "path", + "name": "datafeed_id", + "description": "Identifier for the datafeed. It can be a datafeed identifier or a\nwildcard expression. If you do not specify one of these options, the API\nreturns information about all datafeeds.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Ids" + }, + "style": "simple" + }, + "ml.get_datafeed_stats#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no datafeeds that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value is `true`, which returns an empty `datafeeds` array\nwhen there are no matches and the subset of results when there are\npartial matches. If this parameter is `false`, the request returns a\n`404` status code when there are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_datafeeds#datafeed_id": { + "in": "path", + "name": "datafeed_id", + "description": "Identifier for the datafeed. It can be a datafeed identifier or a\nwildcard expression. If you do not specify one of these options, the API\nreturns information about all datafeeds.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Ids" + }, + "style": "simple" + }, + "ml.get_datafeeds#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no datafeeds that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value is `true`, which returns an empty `datafeeds` array\nwhen there are no matches and the subset of results when there are\npartial matches. If this parameter is `false`, the request returns a\n`404` status code when there are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_datafeeds#exclude_generated": { + "in": "query", + "name": "exclude_generated", + "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_filters#filter_id": { + "in": "path", + "name": "filter_id", + "description": "A string that uniquely identifies a filter.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Ids" + }, + "style": "simple" + }, + "ml.get_filters#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of filters.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_filters#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of filters to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_influencers#job_id": { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_influencers#desc": { + "in": "query", + "name": "desc", + "description": "If true, the results are sorted in descending order.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_influencers#end": { + "in": "query", + "name": "end", + "description": "Returns influencers with timestamps earlier than this time.\nThe default value means it is unset and results are not limited to\nspecific timestamps.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "ml.get_influencers#exclude_interim": { + "in": "query", + "name": "exclude_interim", + "description": "If true, the output excludes interim results. By default, interim results\nare included.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_influencers#influencer_score": { + "in": "query", + "name": "influencer_score", + "description": "Returns influencers with anomaly scores greater than or equal to this\nvalue.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_influencers#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of influencers.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_influencers#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of influencers to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_influencers#sort": { + "in": "query", + "name": "sort", + "description": "Specifies the sort field for the requested influencers. By default, the\ninfluencers are sorted by the `influencer_score` value.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Field" + }, + "style": "form" + }, + "ml.get_influencers#start": { + "in": "query", + "name": "start", + "description": "Returns influencers with timestamps after this time. The default value\nmeans it is unset and results are not limited to specific timestamps.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "ml.get_job_stats#job_id": { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job. It can be a job identifier, a\ngroup name, a comma-separated list of jobs, or a wildcard expression. If\nyou do not specify one of these options, the API returns information for\nall anomaly detection jobs.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_job_stats#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no jobs that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the API returns an empty `jobs` array when\nthere are no matches and the subset of results when there are partial\nmatches. If `false`, the API returns a `404` status\ncode when there are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_jobs#job_id": { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job. It can be a job identifier, a\ngroup name, or a wildcard expression. If you do not specify one of these\noptions, the API returns information for all anomaly detection jobs.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Ids" + }, + "style": "simple" + }, + "ml.get_jobs#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no jobs that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value is `true`, which returns an empty `jobs` array when\nthere are no matches and the subset of results when there are partial\nmatches. If this parameter is `false`, the request returns a `404` status\ncode when there are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_jobs#exclude_generated": { + "in": "query", + "name": "exclude_generated", + "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_memory_stats#node_id": { + "in": "path", + "name": "node_id", + "description": "The names of particular nodes in the cluster to target. For example, `nodeId1,nodeId2` or\n`ml:true`", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_memory_stats#human": { + "in": "query", + "name": "human", + "description": "Specify this query parameter to include the fields with units in the response. Otherwise only\nthe `_in_bytes` sizes are returned in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_memory_stats#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout\nexpires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "ml.get_memory_stats#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request\nfails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "ml.get_model_snapshots#job_id": { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_model_snapshots#snapshot_id": { + "in": "path", + "name": "snapshot_id", + "description": "A numerical character string that uniquely identifies the model snapshot. You can get information for multiple\nsnapshots by using a comma-separated list or a wildcard expression. You can get all snapshots by using `_all`,\nby specifying `*` as the snapshot ID, or by omitting the snapshot ID.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_model_snapshots#desc": { + "in": "query", + "name": "desc", + "description": "If true, the results are sorted in descending order.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_model_snapshots#end": { + "in": "query", + "name": "end", + "description": "Returns snapshots with timestamps earlier than this time.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "ml.get_model_snapshots#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of snapshots.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_model_snapshots#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of snapshots to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_model_snapshots#sort": { + "in": "query", + "name": "sort", + "description": "Specifies the sort field for the requested snapshots. By default, the\nsnapshots are sorted by their timestamp.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Field" + }, + "style": "form" + }, + "ml.get_model_snapshots#start": { + "in": "query", + "name": "start", + "description": "Returns snapshots with timestamps after this time.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "ml.get_overall_buckets#job_id": { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job. It can be a job identifier, a\ngroup name, a comma-separated list of jobs or groups, or a wildcard\nexpression.\n\nYou can summarize the bucket results for all anomaly detection jobs by\nusing `_all` or by specifying `*` as the ``.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_overall_buckets#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no jobs that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the request returns an empty `jobs` array when there are no\nmatches and the subset of results when there are partial matches. If this\nparameter is `false`, the request returns a `404` status code when there\nare no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_overall_buckets#bucket_span": { + "in": "query", + "name": "bucket_span", + "description": "The span of the overall buckets. Must be greater or equal to the largest\nbucket span of the specified anomaly detection jobs, which is the default\nvalue.\n\nBy default, an overall bucket has a span equal to the largest bucket span\nof the specified anomaly detection jobs. To override that behavior, use\nthe optional `bucket_span` parameter.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "ml.get_overall_buckets#end": { + "in": "query", + "name": "end", + "description": "Returns overall buckets with timestamps earlier than this time.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "ml.get_overall_buckets#exclude_interim": { + "in": "query", + "name": "exclude_interim", + "description": "If `true`, the output excludes interim results.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_overall_buckets#overall_score": { + "in": "query", + "name": "overall_score", + "description": "Returns overall buckets with overall scores greater than or equal to this\nvalue.", + "deprecated": false, + "schema": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "style": "form" + }, + "ml.get_overall_buckets#start": { + "in": "query", + "name": "start", + "description": "Returns overall buckets with timestamps after this time.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "ml.get_overall_buckets#top_n": { + "in": "query", + "name": "top_n", + "description": "The number of top anomaly detection job bucket scores to be used in the\n`overall_score` calculation.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_records#job_id": { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_records#desc": { + "in": "query", + "name": "desc", + "description": "If true, the results are sorted in descending order.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_records#end": { + "in": "query", + "name": "end", + "description": "Returns records with timestamps earlier than this time. The default value\nmeans results are not limited to specific timestamps.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "ml.get_records#exclude_interim": { + "in": "query", + "name": "exclude_interim", + "description": "If `true`, the output excludes interim results.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_records#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of records.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_records#record_score": { + "in": "query", + "name": "record_score", + "description": "Returns records with anomaly scores greater or equal than this value.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_records#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of records to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_records#sort": { + "in": "query", + "name": "sort", + "description": "Specifies the sort field for the requested records.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Field" + }, + "style": "form" + }, + "ml.get_records#start": { + "in": "query", + "name": "start", + "description": "Returns records with timestamps after this time. The default value means\nresults are not limited to specific timestamps.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "ml.get_trained_models#model_id": { + "in": "path", + "name": "model_id", + "description": "The unique identifier of the trained model.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_trained_models#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n- Contains wildcard expressions and there are no models that match.\n- Contains the _all string or no identifiers and there are no matches.\n- Contains wildcard expressions and there are only partial matches.\n\nIf true, it returns an empty array when there are no matches and the\nsubset of results when there are partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_trained_models#decompress_definition": { + "in": "query", + "name": "decompress_definition", + "description": "Specifies whether the included model definition should be returned as a\nJSON map (true) or in a custom compressed format (false).", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_trained_models#exclude_generated": { + "in": "query", + "name": "exclude_generated", + "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_trained_models#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of models.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_trained_models#include": { + "in": "query", + "name": "include", + "description": "A comma delimited string of optional fields to include in the response\nbody.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/ml._types:Include" + }, + "style": "form" + }, + "ml.get_trained_models#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of models to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_trained_models#tags": { + "in": "query", + "name": "tags", + "description": "A comma delimited string of tags. A trained model can have many tags, or\nnone. When supplied, only trained models that contain all the supplied\ntags are returned.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "ml.get_trained_models_stats#model_id": { + "in": "path", + "name": "model_id", + "description": "The unique identifier of the trained model or a model alias. It can be a\ncomma-separated list or a wildcard expression.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Ids" + }, + "style": "simple" + }, + "ml.get_trained_models_stats#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n- Contains wildcard expressions and there are no models that match.\n- Contains the _all string or no identifiers and there are no matches.\n- Contains wildcard expressions and there are only partial matches.\n\nIf true, it returns an empty array when there are no matches and the\nsubset of results when there are partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_trained_models_stats#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of models.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_trained_models_stats#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of models to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.infer_trained_model#model_id": { + "in": "path", + "name": "model_id", + "description": "The unique identifier of the trained model.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.infer_trained_model#timeout": { + "in": "query", + "name": "timeout", + "description": "Controls the amount of time to wait for inference results.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "ml.preview_data_frame_analytics#id": { + "in": "path", + "name": "id", + "description": "Identifier for the data frame analytics job.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.preview_datafeed#datafeed_id": { + "in": "path", + "name": "datafeed_id", + "description": "A numerical character string that uniquely identifies the datafeed. This identifier can contain lowercase\nalphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric\ncharacters. NOTE: If you use this path parameter, you cannot provide datafeed or anomaly detection job\nconfiguration details in the request body.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.preview_datafeed#start": { + "in": "query", + "name": "start", + "description": "The start time from where the datafeed preview should begin", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "ml.preview_datafeed#end": { + "in": "query", + "name": "end", + "description": "The end time when the datafeed preview should stop", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "monitoring.bulk#type": { + "in": "path", + "name": "type", + "description": "Default document type for items which don't provide one", + "deprecated": true, + "schema": { + "type": "string" + }, + "style": "simple" + }, + "monitoring.bulk#system_id": { + "in": "query", + "name": "system_id", + "description": "Identifier of the monitored system", + "required": true, + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "monitoring.bulk#system_api_version": { + "in": "query", + "name": "system_api_version", + "description": "", + "required": true, + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "monitoring.bulk#interval": { + "in": "query", + "name": "interval", + "description": "Collection interval (e.g., '10s' or '10000ms') of the payload", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "msearch#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and index aliases to search.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "msearch#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "msearch#ccs_minimize_roundtrips": { + "in": "query", + "name": "ccs_minimize_roundtrips", + "description": "If true, network roundtrips between the coordinating node and remote clusters are minimized for cross-cluster search requests.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "msearch#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard expressions can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "msearch#ignore_throttled": { + "in": "query", + "name": "ignore_throttled", + "description": "If true, concrete, expanded or aliased indices are ignored when frozen.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "msearch#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If true, missing or closed indices are not included in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "msearch#max_concurrent_searches": { + "in": "query", + "name": "max_concurrent_searches", + "description": "Maximum number of concurrent searches the multi search API can execute.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "msearch#max_concurrent_shard_requests": { + "in": "query", + "name": "max_concurrent_shard_requests", + "description": "Maximum number of concurrent shard requests that each sub-search request executes per node.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "msearch#pre_filter_shard_size": { + "in": "query", + "name": "pre_filter_shard_size", + "description": "Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method i.e., if date filters are mandatory to match but the shard bounds and the query are disjoint.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "msearch#rest_total_hits_as_int": { + "in": "query", + "name": "rest_total_hits_as_int", + "description": "If true, hits.total are returned as an integer in the response. Defaults to false, which returns an object.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "msearch#routing": { + "in": "query", + "name": "routing", + "description": "Custom routing value used to route search operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "msearch#search_type": { + "in": "query", + "name": "search_type", + "description": "Indicates whether global term and document frequencies should be used when scoring returned documents.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "style": "form" + }, + "msearch#typed_keys": { + "in": "query", + "name": "typed_keys", + "description": "Specifies whether aggregation and suggester names should be prefixed by their respective types in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "msearch_template#index": { + "in": "path", + "name": "index", + "description": "A comma-separated list of index names to use as default", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "msearch_template#ccs_minimize_roundtrips": { + "in": "query", + "name": "ccs_minimize_roundtrips", + "description": "Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "msearch_template#max_concurrent_searches": { + "in": "query", + "name": "max_concurrent_searches", + "description": "Controls the maximum number of concurrent searches the multi search api will execute", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "msearch_template#search_type": { + "in": "query", + "name": "search_type", + "description": "Search operation type", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "style": "form" + }, + "msearch_template#rest_total_hits_as_int": { + "in": "query", + "name": "rest_total_hits_as_int", + "description": "Indicates whether hits.total should be rendered as an integer or an object in the rest search response", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "msearch_template#typed_keys": { + "in": "query", + "name": "typed_keys", + "description": "Specify whether aggregation and suggester names should be prefixed by their respective types in the response", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "mtermvectors#index": { + "in": "path", + "name": "index", + "description": "The index in which the document resides.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "mtermvectors#ids": { + "in": "query", + "name": "ids", + "description": "A comma-separated list of documents ids. You must define ids as parameter or set \"ids\" or \"docs\" in the request body", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "style": "form" + }, + "mtermvectors#fields": { + "in": "query", + "name": "fields", + "description": "A comma-separated list of fields to return. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "mtermvectors#field_statistics": { + "in": "query", + "name": "field_statistics", + "description": "Specifies if document count, sum of document frequencies and sum of total term frequencies should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "mtermvectors#offsets": { + "in": "query", + "name": "offsets", + "description": "Specifies if term offsets should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "mtermvectors#payloads": { + "in": "query", + "name": "payloads", + "description": "Specifies if term payloads should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "mtermvectors#positions": { + "in": "query", + "name": "positions", + "description": "Specifies if term positions should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "mtermvectors#preference": { + "in": "query", + "name": "preference", + "description": "Specify the node or shard the operation should be performed on (default: random) .Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "mtermvectors#realtime": { + "in": "query", + "name": "realtime", + "description": "Specifies if requests are real-time as opposed to near-real-time (default: true).", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "mtermvectors#routing": { + "in": "query", + "name": "routing", + "description": "Specific routing value. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "mtermvectors#term_statistics": { + "in": "query", + "name": "term_statistics", + "description": "Specifies if total term frequency and document frequency should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "mtermvectors#version": { + "in": "query", + "name": "version", + "description": "Explicit version number for concurrency control", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + }, + "mtermvectors#version_type": { + "in": "query", + "name": "version_type", + "description": "Specific version type", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionType" + }, + "style": "form" + }, + "nodes.hot_threads#node_id": { + "in": "path", + "name": "node_id", + "description": "List of node IDs or names used to limit returned information.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:NodeIds" + }, + "style": "simple" + }, + "nodes.hot_threads#ignore_idle_threads": { + "in": "query", + "name": "ignore_idle_threads", + "description": "If true, known idle threads (e.g. waiting in a socket select, or to get\na task from an empty queue) are filtered out.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "nodes.hot_threads#interval": { + "in": "query", + "name": "interval", + "description": "The interval to do the second sampling of threads.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "nodes.hot_threads#snapshots": { + "in": "query", + "name": "snapshots", + "description": "Number of samples of thread stacktrace.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "nodes.hot_threads#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response\nis received before the timeout expires, the request fails and\nreturns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "nodes.hot_threads#threads": { + "in": "query", + "name": "threads", + "description": "Specifies the number of hot threads to provide information for.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "nodes.hot_threads#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received\nbefore the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "nodes.hot_threads#type": { + "in": "query", + "name": "type", + "description": "The type to sample.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ThreadType" + }, + "style": "form" + }, + "nodes.hot_threads#sort": { + "in": "query", + "name": "sort", + "description": "The sort order for 'cpu' type (default: total)", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ThreadType" + }, + "style": "form" + }, + "nodes.info#node_id": { + "in": "path", + "name": "node_id", + "description": "Comma-separated list of node IDs or names used to limit returned information.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:NodeIds" + }, + "style": "simple" + }, + "nodes.info#metric": { + "in": "path", + "name": "metric", + "description": "Limits the information returned to the specific metrics. Supports a comma-separated list, such as http,ingest.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Metrics" + }, + "style": "simple" + }, + "nodes.info#flat_settings": { + "in": "query", + "name": "flat_settings", + "description": "If true, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "nodes.info#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "nodes.info#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "nodes.reload_secure_settings#node_id": { + "in": "path", + "name": "node_id", + "description": "A comma-separated list of node IDs to span the reload/reinit call. Should stay empty because reloading usually involves all cluster nodes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:NodeIds" + }, + "style": "simple" + }, + "nodes.reload_secure_settings#timeout": { + "in": "query", + "name": "timeout", + "description": "Explicit operation timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "nodes.stats#node_id": { + "in": "path", + "name": "node_id", + "description": "Comma-separated list of node IDs or names used to limit returned information.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:NodeIds" + }, + "style": "simple" + }, + "nodes.stats#metric": { + "in": "path", + "name": "metric", + "description": "Limit the information returned to the specified metrics", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Metrics" + }, + "style": "simple" + }, + "nodes.stats#index_metric": { + "in": "path", + "name": "index_metric", + "description": "Limit the information returned for indices metric to the specific index metrics. It can be used only if indices (or all) metric is specified.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Metrics" + }, + "style": "simple" + }, + "nodes.stats#completion_fields": { + "in": "query", + "name": "completion_fields", + "description": "Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "nodes.stats#fielddata_fields": { + "in": "query", + "name": "fielddata_fields", + "description": "Comma-separated list or wildcard expressions of fields to include in fielddata statistics.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "nodes.stats#fields": { + "in": "query", + "name": "fields", + "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "nodes.stats#groups": { + "in": "query", + "name": "groups", + "description": "Comma-separated list of search groups to include in the search statistics.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "nodes.stats#include_segment_file_sizes": { + "in": "query", + "name": "include_segment_file_sizes", + "description": "If true, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "nodes.stats#level": { + "in": "query", + "name": "level", + "description": "Indicates whether statistics are aggregated at the cluster, index, or shard level.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Level" + }, + "style": "form" + }, + "nodes.stats#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "nodes.stats#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "nodes.stats#types": { + "in": "query", + "name": "types", + "description": "A comma-separated list of document types for the indexing index metric.", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + "nodes.stats#include_unloaded_segments": { + "in": "query", + "name": "include_unloaded_segments", + "description": "If set to true segment stats will include stats for segments that are not currently loaded into memory", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "nodes.usage#node_id": { + "in": "path", + "name": "node_id", + "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", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:NodeIds" + }, + "style": "simple" + }, + "nodes.usage#metric": { + "in": "path", + "name": "metric", + "description": "Limit the information returned to the specified metrics", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Metrics" + }, + "style": "simple" + }, + "nodes.usage#timeout": { + "in": "query", + "name": "timeout", + "description": "Explicit operation timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "put_script#id": { + "in": "path", + "name": "id", + "description": "Script ID", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "put_script#context": { + "in": "path", + "name": "context", + "description": "Script context", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "put_script#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Specify timeout for connection to master", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "put_script#timeout": { + "in": "query", + "name": "timeout", + "description": "Explicit operation timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "rank_eval#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and index aliases used to limit the request. Wildcard (`*`) expressions are supported.\nTo target all data streams and indices in a cluster, omit this parameter or use `_all` or `*`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "rank_eval#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "rank_eval#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "rank_eval#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `true`, missing or closed indices are not included in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "rank_eval#search_type": { + "in": "query", + "name": "search_type", + "description": "Search operation type", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "render_search_template#id": { + "in": "path", + "name": "id", + "description": "The id of the stored search template", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "rollup.get_jobs#id": { + "in": "path", + "name": "id", + "description": "The ID of the job(s) to fetch. Accepts glob patterns, or left blank for all jobs", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "rollup.get_rollup_caps#id": { + "in": "path", + "name": "id", + "description": "The ID of the index to check rollup capabilities on, or left blank for all jobs", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "rollup.rollup_search#index": { + "in": "path", + "name": "index", + "description": "The indices or index-pattern(s) (containing rollup or regular data) that should be searched", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "rollup.rollup_search#rest_total_hits_as_int": { + "in": "query", + "name": "rest_total_hits_as_int", + "description": "Indicates whether hits.total should be rendered as an integer or an object in the rest search response", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "rollup.rollup_search#typed_keys": { + "in": "query", + "name": "typed_keys", + "description": "Specify whether aggregation and suggester names should be prefixed by their respective types in the response", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "scroll#scroll_id": { + "in": "query", + "name": "scroll_id", + "description": "The scroll ID for scrolled search", + "deprecated": true, + "schema": { + "$ref": "#/components/schemas/_types:ScrollId" + }, + "style": "form" + }, + "scroll#scroll": { + "in": "query", + "name": "scroll", + "description": "Period to retain the search context for scrolling.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "scroll#rest_total_hits_as_int": { + "in": "query", + "name": "rest_total_hits_as_int", + "description": "If true, the API response’s hit.total property is returned as an integer. If false, the API response’s hit.total property is returned as an object.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*` or `_all`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "search#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#allow_partial_search_results": { + "in": "query", + "name": "allow_partial_search_results", + "description": "If true, returns partial results if there are shard request timeouts or shard failures. If false, returns an error with no partial results.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#analyzer": { + "in": "query", + "name": "analyzer", + "description": "Analyzer to use for the query string.\nThis parameter can only be used when the q query string parameter is specified.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "search#analyze_wildcard": { + "in": "query", + "name": "analyze_wildcard", + "description": "If true, wildcard and prefix queries are analyzed.\nThis parameter can only be used when the q query string parameter is specified.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#batched_reduce_size": { + "in": "query", + "name": "batched_reduce_size", + "description": "The number of shard results that should be reduced at once on the coordinating node.\nThis value should be used as a protection mechanism to reduce the memory overhead per search request if the potential number of shards in the request can be large.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "search#ccs_minimize_roundtrips": { + "in": "query", + "name": "ccs_minimize_roundtrips", + "description": "If true, network round-trips between the coordinating node and the remote clusters are minimized when executing cross-cluster search (CCS) requests.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#default_operator": { + "in": "query", + "name": "default_operator", + "description": "The default operator for query string query: AND or OR.\nThis parameter can only be used when the `q` query string parameter is specified.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "style": "form" + }, + "search#df": { + "in": "query", + "name": "df", + "description": "Field to use as default where no field prefix is given in the query string.\nThis parameter can only be used when the q query string parameter is specified.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "search#docvalue_fields": { + "in": "query", + "name": "docvalue_fields", + "description": "A comma-separated list of fields to return as the docvalue representation for each hit.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "search#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "search#explain": { + "in": "query", + "name": "explain", + "description": "If `true`, returns detailed information about score computation as part of a hit.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#ignore_throttled": { + "in": "query", + "name": "ignore_throttled", + "description": "If `true`, concrete, expanded or aliased indices will be ignored when frozen.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#lenient": { + "in": "query", + "name": "lenient", + "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.\nThis parameter can only be used when the `q` query string parameter is specified.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#max_concurrent_shard_requests": { + "in": "query", + "name": "max_concurrent_shard_requests", + "description": "Defines the number of concurrent shard requests per node this search executes concurrently.\nThis value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "search#min_compatible_shard_node": { + "in": "query", + "name": "min_compatible_shard_node", + "description": "The minimum version of the node that can handle the request\nAny handling node with a lower version will fail the request.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "style": "form" + }, + "search#preference": { + "in": "query", + "name": "preference", + "description": "Nodes and shards used for the search.\nBy default, Elasticsearch selects from eligible nodes and shards using adaptive replica selection, accounting for allocation awareness. Valid values are:\n`_only_local` to run the search only on shards on the local node;\n`_local` to, if possible, run the search on shards on the local node, or if not, select shards using the default method;\n`_only_nodes:,` to run the search on only the specified nodes IDs, where, if suitable shards exist on more than one selected node, use shards on those nodes using the default method, or if none of the specified nodes are available, select shards from any available node using the default method;\n`_prefer_nodes:,` to if possible, run the search on the specified nodes IDs, or if not, select shards using the default method;\n`_shards:,` to run the search only on the specified shards;\n`` (any string that does not start with `_`) to route searches with the same `` to the same shards in the same order.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "search#pre_filter_shard_size": { + "in": "query", + "name": "pre_filter_shard_size", + "description": "Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold.\nThis filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method (if date filters are mandatory to match but the shard bounds and the query are disjoint).\nWhen unspecified, the pre-filter phase is executed if any of these conditions is met:\nthe request targets more than 128 shards;\nthe request targets one or more read-only index;\nthe primary sort of the query targets an indexed field.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "search#request_cache": { + "in": "query", + "name": "request_cache", + "description": "If `true`, the caching of search results is enabled for requests where `size` is `0`.\nDefaults to index level settings.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#routing": { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "search#scroll": { + "in": "query", + "name": "scroll", + "description": "Period to retain the search context for scrolling. See Scroll search results.\nBy default, this value cannot exceed `1d` (24 hours).\nYou can change this limit using the `search.max_keep_alive` cluster-level setting.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "search#search_type": { + "in": "query", + "name": "search_type", + "description": "How distributed term frequencies are calculated for relevance scoring.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "style": "form" + }, + "search#stats": { + "in": "query", + "name": "stats", + "description": "Specific `tag` of the request for logging and statistical purposes.", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + "search#stored_fields": { + "in": "query", + "name": "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` parameter defaults to `false`.\nYou can pass `_source: true` to return both source fields and stored fields in the search response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "search#suggest_field": { + "in": "query", + "name": "suggest_field", + "description": "Specifies which field to use for suggestions.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Field" + }, + "style": "form" + }, + "search#suggest_mode": { + "in": "query", + "name": "suggest_mode", + "description": "Specifies the suggest mode.\nThis parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SuggestMode" + }, + "style": "form" + }, + "search#suggest_size": { + "in": "query", + "name": "suggest_size", + "description": "Number of suggestions to return.\nThis parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "search#suggest_text": { + "in": "query", + "name": "suggest_text", + "description": "The source text for which the suggestions should be returned.\nThis parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "search#terminate_after": { + "in": "query", + "name": "terminate_after", + "description": "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.\nUse with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.\nIf set to `0` (default), the query does not terminate early.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "search#timeout": { + "in": "query", + "name": "timeout", + "description": "Specifies 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.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "search#track_total_hits": { + "in": "query", + "name": "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.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:TrackHits" + }, + "style": "form" + }, + "search#track_scores": { + "in": "query", + "name": "track_scores", + "description": "If `true`, calculate and return document scores, even if the scores are not used for sorting.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#typed_keys": { + "in": "query", + "name": "typed_keys", + "description": "If `true`, aggregation and suggester names are be prefixed by their respective types in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#rest_total_hits_as_int": { + "in": "query", + "name": "rest_total_hits_as_int", + "description": "Indicates whether `hits.total` should be rendered as an integer or an object in the rest search response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#version": { + "in": "query", + "name": "version", + "description": "If `true`, returns document version as part of a hit.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#_source": { + "in": "query", + "name": "_source", + "description": "Indicates which source fields are returned for matching documents.\nThese fields are returned in the `hits._source` property of the search response.\nValid values are:\n`true` to return the entire document source;\n`false` to not return the document source;\n`` to return the source fields that are specified as a comma-separated list (supports wildcard (`*`) patterns).", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" + }, + "search#_source_excludes": { + "in": "query", + "name": "_source_excludes", + "description": "A comma-separated list of source fields to exclude from the response.\nYou can also use this parameter to exclude fields from the subset specified in `_source_includes` query parameter.\nIf the `_source` parameter is `false`, this parameter is ignored.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "search#_source_includes": { + "in": "query", + "name": "_source_includes", + "description": "A comma-separated list of source fields to include in the response.\nIf this parameter is specified, only these source fields are returned.\nYou can exclude fields from this subset using the `_source_excludes` query parameter.\nIf the `_source` parameter is `false`, this parameter is ignored.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "search#seq_no_primary_term": { + "in": "query", + "name": "seq_no_primary_term", + "description": "If `true`, returns sequence number and primary term of the last modification of each hit.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#q": { + "in": "query", + "name": "q", + "description": "Query in the Lucene query string syntax using query parameter search.\nQuery parameter searches do not support the full Elasticsearch Query DSL but are handy for testing.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "search#size": { + "in": "query", + "name": "size", + "description": "Defines the number of hits to return.\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.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "search#from": { + "in": "query", + "name": "from", + "description": "Starting document offset.\nNeeds to 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.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "search#sort": { + "in": "query", + "name": "sort", + "description": "A comma-separated list of : pairs.", + "deprecated": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "style": "form" + }, + "search_application.get_behavioral_analytics#name": { + "in": "path", + "name": "name", + "description": "A list of analytics collections to limit the returned information", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "style": "simple" + }, + "search_application.search#name": { + "in": "path", + "name": "name", + "description": "The name of the search application to be searched", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "search_mvt#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, or aliases to search", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "search_mvt#field": { + "in": "path", + "name": "field", + "description": "Field containing geospatial data to return", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Field" + }, + "style": "simple" + }, + "search_mvt#zoom": { + "in": "path", + "name": "zoom", + "description": "Zoom level for the vector tile to search", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search_mvt._types:ZoomLevel" + }, + "style": "simple" + }, + "search_mvt#x": { + "in": "path", + "name": "x", + "description": "X coordinate for the vector tile to search", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search_mvt._types:Coordinate" + }, + "style": "simple" + }, + "search_mvt#y": { + "in": "path", + "name": "y", + "description": "Y coordinate for the vector tile to search", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search_mvt._types:Coordinate" + }, + "style": "simple" + }, + "search_mvt#exact_bounds": { + "in": "query", + "name": "exact_bounds", + "description": "If false, the meta layer’s feature is the bounding box of the tile.\nIf true, the meta layer’s feature is a bounding box resulting from a\ngeo_bounds aggregation. The aggregation runs on values that intersect\nthe // tile with wrap_longitude set to false. The resulting\nbounding box may be larger than the vector tile.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search_mvt#extent": { + "in": "query", + "name": "extent", + "description": "Size, in pixels, of a side of the tile. Vector tiles are square with equal sides.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "search_mvt#grid_agg": { + "in": "query", + "name": "grid_agg", + "description": "Aggregation used to create a grid for `field`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search_mvt._types:GridAggregationType" + }, + "style": "form" + }, + "search_mvt#grid_precision": { + "in": "query", + "name": "grid_precision", + "description": "Additional zoom levels available through the aggs layer. For example, if is 7\nand grid_precision is 8, you can zoom in up to level 15. Accepts 0-8. If 0, results\ndon’t include the aggs layer.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "search_mvt#grid_type": { + "in": "query", + "name": "grid_type", + "description": "Determines the geometry type for features in the aggs layer. In the aggs layer,\neach feature represents a geotile_grid cell. If 'grid' each feature is a Polygon\nof the cells bounding box. If 'point' each feature is a Point that is the centroid\nof the cell.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search_mvt._types:GridType" + }, + "style": "form" + }, + "search_mvt#size": { + "in": "query", + "name": "size", + "description": "Maximum number of features to return in the hits layer. Accepts 0-10000.\nIf 0, results don’t include the hits layer.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "search_mvt#with_labels": { + "in": "query", + "name": "with_labels", + "description": "If `true`, the hits and aggs layers will contain additional point features representing\nsuggested label positions for the original features.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search_shards#index": { + "in": "path", + "name": "index", + "description": "A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "search_shards#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search_shards#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "search_shards#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search_shards#local": { + "in": "query", + "name": "local", + "description": "Return local information, do not retrieve the state from master node (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search_shards#preference": { + "in": "query", + "name": "preference", + "description": "Specify the node or shard the operation should be performed on (default: random)", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "search_shards#routing": { + "in": "query", + "name": "routing", + "description": "Specific routing value", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "search_template#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices,\nand aliases to search. Supports wildcards (*).", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "search_template#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search_template#ccs_minimize_roundtrips": { + "in": "query", + "name": "ccs_minimize_roundtrips", + "description": "Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search_template#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "search_template#explain": { + "in": "query", + "name": "explain", + "description": "Specify whether to return detailed information about score computation as part of a hit", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search_template#ignore_throttled": { + "in": "query", + "name": "ignore_throttled", + "description": "Whether specified concrete, expanded or aliased indices should be ignored when throttled", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search_template#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search_template#preference": { + "in": "query", + "name": "preference", + "description": "Specify the node or shard the operation should be performed on (default: random)", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "search_template#profile": { + "in": "query", + "name": "profile", + "description": "Specify whether to profile the query execution", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search_template#routing": { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "search_template#scroll": { + "in": "query", + "name": "scroll", + "description": "Specifies how long a consistent view of the index\nshould be maintained for scrolled search.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "search_template#search_type": { + "in": "query", + "name": "search_type", + "description": "The type of the search operation.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "style": "form" + }, + "search_template#rest_total_hits_as_int": { + "in": "query", + "name": "rest_total_hits_as_int", + "description": "If true, hits.total are rendered as an integer in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search_template#typed_keys": { + "in": "query", + "name": "typed_keys", + "description": "Specify whether aggregation and suggester names should be prefixed by their respective types in the response", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "searchable_snapshots.cache_stats#node_id": { + "in": "path", + "name": "node_id", + "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", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:NodeIds" + }, + "style": "simple" + }, + "searchable_snapshots.cache_stats#master_timeout": { + "in": "query", + "name": "master_timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "searchable_snapshots.clear_cache#index": { + "in": "path", + "name": "index", + "description": "A comma-separated list of index names", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "searchable_snapshots.clear_cache#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "searchable_snapshots.clear_cache#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "searchable_snapshots.clear_cache#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "searchable_snapshots.clear_cache#pretty": { + "in": "query", + "name": "pretty", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "searchable_snapshots.clear_cache#human": { + "in": "query", + "name": "human", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "searchable_snapshots.stats#index": { + "in": "path", + "name": "index", + "description": "A comma-separated list of index names", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "searchable_snapshots.stats#level": { + "in": "query", + "name": "level", + "description": "Return stats aggregated at cluster, index or shard level", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/searchable_snapshots._types:StatsLevel" + }, + "style": "form" + }, + "security.change_password#username": { + "in": "path", + "name": "username", + "description": "The user whose password you want to change. If you do not specify this\nparameter, the password is changed for the current user.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Username" + }, + "style": "simple" + }, + "security.change_password#refresh": { + "in": "query", + "name": "refresh", + "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "security.create_api_key#refresh": { + "in": "query", + "name": "refresh", + "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "security.create_service_token#namespace": { + "in": "path", + "name": "namespace", + "description": "An identifier for the namespace", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Namespace" + }, + "style": "simple" + }, + "security.create_service_token#service": { + "in": "path", + "name": "service", + "description": "An identifier for the service name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Service" + }, + "style": "simple" + }, + "security.create_service_token#name": { + "in": "path", + "name": "name", + "description": "An identifier for the token name", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "security.create_service_token#refresh": { + "in": "query", + "name": "refresh", + "description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` (the default) then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "security.disable_user#username": { + "in": "path", + "name": "username", + "description": "The username of the user to disable", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Username" + }, + "style": "simple" + }, + "security.disable_user#refresh": { + "in": "query", + "name": "refresh", + "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "security.disable_user_profile#uid": { + "in": "path", + "name": "uid", + "description": "Unique identifier for the user profile.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/security._types:UserProfileId" + }, + "style": "simple" + }, + "security.disable_user_profile#refresh": { + "in": "query", + "name": "refresh", + "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search, if 'wait_for' then wait for a refresh to make this operation\nvisible to search, if 'false' do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "security.enable_user#username": { + "in": "path", + "name": "username", + "description": "The username of the user to enable", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Username" + }, + "style": "simple" + }, + "security.enable_user#refresh": { + "in": "query", + "name": "refresh", + "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "security.enable_user_profile#uid": { + "in": "path", + "name": "uid", + "description": "Unique identifier for the user profile.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/security._types:UserProfileId" + }, + "style": "simple" + }, + "security.enable_user_profile#refresh": { + "in": "query", + "name": "refresh", + "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search, if 'wait_for' then wait for a refresh to make this operation\nvisible to search, if 'false' do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "security.get_privileges#application": { + "in": "path", + "name": "application", + "description": "Application name", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "security.get_privileges#name": { + "in": "path", + "name": "name", + "description": "Privilege name", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "security.get_role#name": { + "in": "path", + "name": "name", + "description": "The name of the role. You can specify multiple roles as a comma-separated list. If you do not specify this parameter, the API returns information about all roles.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "security.get_role_mapping#name": { + "in": "path", + "name": "name", + "description": "The distinct name that identifies the role mapping. The name is used solely as an identifier to facilitate interaction via the API; it does not affect the behavior of the mapping in any way. You can specify multiple mapping names as a comma-separated list. If you do not specify this parameter, the API returns information about all role mappings.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "security.get_service_accounts#namespace": { + "in": "path", + "name": "namespace", + "description": "Name of the namespace. Omit this parameter to retrieve information about all service accounts. If you omit this parameter, you must also omit the `service` parameter.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Namespace" + }, + "style": "simple" + }, + "security.get_service_accounts#service": { + "in": "path", + "name": "service", + "description": "Name of the service name. Omit this parameter to retrieve information about all service accounts that belong to the specified `namespace`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Service" + }, + "style": "simple" + }, + "security.get_user#username": { + "in": "path", + "name": "username", + "description": "An identifier for the user. You can specify multiple usernames as a comma-separated list. If you omit this parameter, the API retrieves information about all users.", + "deprecated": false, + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Username" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Username" + } + } + ] + }, + "style": "simple" + }, + "security.get_user#with_profile_uid": { + "in": "query", + "name": "with_profile_uid", + "description": "If true will return the User Profile ID for a user, if any.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "security.has_privileges#user": { + "in": "path", + "name": "user", + "description": "Username", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "security.put_privileges#refresh": { + "in": "query", + "name": "refresh", + "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "security.put_role#name": { + "in": "path", + "name": "name", + "description": "The name of the role.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "security.put_role#refresh": { + "in": "query", + "name": "refresh", + "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "security.put_role_mapping#name": { + "in": "path", + "name": "name", + "description": "Role-mapping name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "security.put_role_mapping#refresh": { + "in": "query", + "name": "refresh", + "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "security.put_user#username": { + "in": "path", + "name": "username", + "description": "The username of the User", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Username" + }, + "style": "simple" + }, + "security.put_user#refresh": { + "in": "query", + "name": "refresh", + "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "security.query_api_keys#with_limited_by": { + "in": "query", + "name": "with_limited_by", + "description": "Return the snapshot of the owner user's role descriptors associated with the API key. \nAn API key's actual permission is the intersection of its assigned role descriptors and the owner user's role descriptors.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "security.suggest_user_profiles#data": { + "in": "query", + "name": "data", + "description": "List of filters for the `data` field of the profile document.\nTo return all content use `data=*`. To return a subset of content\nuse `data=` to retrieve content nested under the specified ``.\nBy default returns no `data` content.", + "deprecated": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "style": "form" + }, + "security.update_user_profile_data#uid": { + "in": "path", + "name": "uid", + "description": "A unique identifier for the user profile.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/security._types:UserProfileId" + }, + "style": "simple" + }, + "security.update_user_profile_data#if_seq_no": { + "in": "query", + "name": "if_seq_no", + "description": "Only perform the operation if the document has this sequence number.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "style": "form" + }, + "security.update_user_profile_data#if_primary_term": { + "in": "query", + "name": "if_primary_term", + "description": "Only perform the operation if the document has this primary term.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "security.update_user_profile_data#refresh": { + "in": "query", + "name": "refresh", + "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search, if 'wait_for' then wait for a refresh to make this operation\nvisible to search, if 'false' do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "shutdown.get_node#node_id": { + "in": "path", + "name": "node_id", + "description": "Which node for which to retrieve the shutdown status", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:NodeIds" + }, + "style": "simple" + }, + "shutdown.get_node#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:TimeUnit" + }, + "style": "form" + }, + "shutdown.get_node#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:TimeUnit" + }, + "style": "form" + }, + "slm.get_lifecycle#policy_id": { + "in": "path", + "name": "policy_id", + "description": "Comma-separated list of snapshot lifecycle policies to retrieve", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "snapshot.create#repository": { + "in": "path", + "name": "repository", + "description": "Repository for the snapshot.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "snapshot.create#snapshot": { + "in": "path", + "name": "snapshot", + "description": "Name of the snapshot. Must be unique in the repository.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "snapshot.create#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "snapshot.create#wait_for_completion": { + "in": "query", + "name": "wait_for_completion", + "description": "If `true`, the request returns a response when the snapshot is complete. If `false`, the request returns a response when the snapshot initializes.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "snapshot.create_repository#repository": { + "in": "path", + "name": "repository", + "description": "A repository name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "snapshot.create_repository#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Explicit operation timeout for connection to master node", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "snapshot.create_repository#timeout": { + "in": "query", + "name": "timeout", + "description": "Explicit operation timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "snapshot.create_repository#verify": { + "in": "query", + "name": "verify", + "description": "Whether to verify the repository after creation", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "snapshot.get_repository#repository": { + "in": "path", + "name": "repository", + "description": "A comma-separated list of repository names", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "snapshot.get_repository#local": { + "in": "query", + "name": "local", + "description": "Return local information, do not retrieve the state from master node (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "snapshot.get_repository#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Explicit operation timeout for connection to master node", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "snapshot.status#repository": { + "in": "path", + "name": "repository", + "description": "A repository name", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "snapshot.status#snapshot": { + "in": "path", + "name": "snapshot", + "description": "A comma-separated list of snapshot names", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "snapshot.status#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrown", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "snapshot.status#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Explicit operation timeout for connection to master node", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "sql.query#format": { + "in": "query", + "name": "format", + "description": "a short version of the Accept header, e.g. json, yaml", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "tasks.cancel#task_id": { + "in": "path", + "name": "task_id", + "description": "Cancel the task with specified task id (node_id:task_number)", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:TaskId" + }, + "style": "simple" + }, + "tasks.cancel#actions": { + "in": "query", + "name": "actions", + "description": "A comma-separated list of actions that should be cancelled. Leave empty to cancel all.", + "deprecated": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "style": "form" + }, + "tasks.cancel#nodes": { + "in": "query", + "name": "nodes", + "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", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + "tasks.cancel#parent_task_id": { + "in": "query", + "name": "parent_task_id", + "description": "Cancel tasks with specified parent task id (node_id:task_number). Set to -1 to cancel all.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "tasks.cancel#wait_for_completion": { + "in": "query", + "name": "wait_for_completion", + "description": "Should the request block until the cancellation of the task and its descendant tasks is completed. Defaults to false", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "terms_enum#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and index aliases to search. Wildcard (*) expressions are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "termvectors#index": { + "in": "path", + "name": "index", + "description": "The index in which the document resides.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "termvectors#id": { + "in": "path", + "name": "id", + "description": "The id of the document, when not specified a doc param should be supplied.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "termvectors#fields": { + "in": "query", + "name": "fields", + "description": "A comma-separated list of fields to return.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "termvectors#field_statistics": { + "in": "query", + "name": "field_statistics", + "description": "Specifies if document count, sum of document frequencies and sum of total term frequencies should be returned.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "termvectors#offsets": { + "in": "query", + "name": "offsets", + "description": "Specifies if term offsets should be returned.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "termvectors#payloads": { + "in": "query", + "name": "payloads", + "description": "Specifies if term payloads should be returned.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "termvectors#positions": { + "in": "query", + "name": "positions", + "description": "Specifies if term positions should be returned.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "termvectors#preference": { + "in": "query", + "name": "preference", + "description": "Specify the node or shard the operation should be performed on (default: random).", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "termvectors#realtime": { + "in": "query", + "name": "realtime", + "description": "Specifies if request is real-time as opposed to near-real-time (default: true).", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "termvectors#routing": { + "in": "query", + "name": "routing", + "description": "Specific routing value.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "termvectors#term_statistics": { + "in": "query", + "name": "term_statistics", + "description": "Specifies if total term frequency and document frequency should be returned.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "termvectors#version": { + "in": "query", + "name": "version", + "description": "Explicit version number for concurrency control", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + }, + "termvectors#version_type": { + "in": "query", + "name": "version_type", + "description": "Specific version type", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionType" + }, + "style": "form" + }, + "transform.get_transform#transform_id": { + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform. It can be a transform identifier or a\nwildcard expression. You can get information for all transforms by using\n`_all`, by specifying `*` as the ``, or by omitting the\n``.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "transform.get_transform#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no transforms that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf this parameter is false, the request returns a 404 status code when\nthere are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "transform.get_transform#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of transforms.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "transform.get_transform#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of transforms to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "transform.get_transform#exclude_generated": { + "in": "query", + "name": "exclude_generated", + "description": "Excludes fields that were automatically added when creating the\ntransform. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "transform.preview_transform#transform_id": { + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform to preview. If you specify this path parameter, you cannot provide transform\nconfiguration details in the request body.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "transform.preview_transform#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the\ntimeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "watcher.ack_watch#watch_id": { + "in": "path", + "name": "watch_id", + "description": "Watch ID", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "watcher.ack_watch#action_id": { + "in": "path", + "name": "action_id", + "description": "A comma-separated list of the action ids to be acked", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "watcher.activate_watch#watch_id": { + "in": "path", + "name": "watch_id", + "description": "Watch ID", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "watcher.deactivate_watch#watch_id": { + "in": "path", + "name": "watch_id", + "description": "Watch ID", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "watcher.execute_watch#id": { + "in": "path", + "name": "id", + "description": "Identifier for the watch.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "watcher.execute_watch#debug": { + "in": "query", + "name": "debug", + "description": "Defines whether the watch runs in debug mode.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "watcher.put_watch#id": { + "in": "path", + "name": "id", + "description": "Watch ID", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "watcher.put_watch#active": { + "in": "query", + "name": "active", + "description": "Specify whether the watch is in/active by default", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "watcher.put_watch#if_primary_term": { + "in": "query", + "name": "if_primary_term", + "description": "only update the watch if the last operation that has changed the watch has the specified primary term", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "watcher.put_watch#if_seq_no": { + "in": "query", + "name": "if_seq_no", + "description": "only update the watch if the last operation that has changed the watch has the specified sequence number", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "style": "form" + }, + "watcher.put_watch#version": { + "in": "query", + "name": "version", + "description": "Explicit version number for concurrency control", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + }, + "watcher.stats#metric": { + "in": "query", + "name": "metric", + "description": "Defines which additional metrics are included in the response.", + "deprecated": false, + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/watcher.stats:WatcherMetric" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/watcher.stats:WatcherMetric" + } + } + ] + }, + "style": "form" + }, + "watcher.stats#emit_stacktraces": { + "in": "query", + "name": "emit_stacktraces", + "description": "Defines whether stack traces are generated for each watch that is running.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + }, + "requestBodies": { + "async_search.submit": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "collapse": { + "$ref": "#/components/schemas/_global.search._types:FieldCollapse" + }, + "explain": { + "description": "If true, returns detailed information about score computation as part of a hit.", + "type": "boolean" + }, + "ext": { + "description": "Configuration of search extensions defined by Elasticsearch plugins.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "from": { + "description": "Starting document offset. By default, you cannot page through more than 10,000\nhits using the from and size parameters. To page through more hits, use the\nsearch_after parameter.", + "type": "number" + }, + "highlight": { + "$ref": "#/components/schemas/_global.search._types:Highlight" + }, + "track_total_hits": { + "$ref": "#/components/schemas/_global.search._types:TrackHits" + }, + "indices_boost": { + "description": "Boosts the _score of documents from specified indices.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "number" + } + } + }, + "docvalue_fields": { + "description": "Array of wildcard (*) patterns. The request returns doc values for field\nnames matching these patterns in the hits.fields property of the response.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "knn": { + "description": "Defines the approximate kNN search to run.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:KnnQuery" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:KnnQuery" + } + } + ] + }, + "min_score": { + "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in the search results.", + "type": "number" + }, + "post_filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "profile": { + "type": "boolean" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "rescore": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:Rescore" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Rescore" + } + } + ] + }, + "script_fields": { + "description": "Retrieve a script evaluation (based on different fields) for each hit.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "search_after": { + "$ref": "#/components/schemas/_types:SortResults" + }, + "size": { + "description": "The number of hits to return. By default, you cannot page through more\nthan 10,000 hits using the from and size parameters. To page through more\nhits, use the search_after parameter.", + "type": "number" + }, + "slice": { + "$ref": "#/components/schemas/_types:SlicedScroll" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "fields": { + "description": "Array of wildcard (*) patterns. The request returns values for field names\nmatching these patterns in the hits.fields property of the response.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "suggest": { + "$ref": "#/components/schemas/_global.search._types:Suggester" + }, + "terminate_after": { + "description": "Maximum number of documents to collect for each shard. If a query reaches this\nlimit, Elasticsearch terminates the query early. Elasticsearch collects documents\nbefore sorting. Defaults to 0, which does not terminate query execution early.", + "type": "number" + }, + "timeout": { + "description": "Specifies the period of time to wait for a response from each shard. If no response\nis 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.", + "type": "boolean" + }, + "version": { + "description": "If true, returns document version as part of a hit.", + "type": "boolean" + }, + "seq_no_primary_term": { + "description": "If true, returns sequence number and primary term of the last modification\nof each hit. See Optimistic concurrency control.", + "type": "boolean" + }, + "stored_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "pit": { + "$ref": "#/components/schemas/_global.search._types:PointInTimeReference" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "stats": { + "description": "Stats groups to associate with the search. Each group maintains a statistics\naggregation for its associated searches. You can retrieve these stats using\nthe indices stats API.", + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "bulk": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.bulk:OperationContainer" + }, + { + "$ref": "#/components/schemas/_global.bulk:UpdateAction" + }, + { + "type": "object" + } + ] + } + } + } + }, + "required": true + }, + "clear_scroll": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "scroll_id": { + "$ref": "#/components/schemas/_types:ScrollIds" + } + } + } + } + } + }, + "cluster.allocation_explain": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "current_node": { + "description": "Specifies the node ID or the name of the node to only explain a shard that is currently located on the specified node.", + "type": "string" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "primary": { + "description": "If true, returns explanation for the primary shard for the given shard ID.", + "type": "boolean" + }, + "shard": { + "description": "Specifies the ID of the shard that you would like an explanation for.", + "type": "number" + } + } + } + } + } + }, + "cluster.put_component_template": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_auto_create": { + "description": "This setting overrides the value of the `action.auto_create_index` cluster setting.\nIf set to `true` in a template, then indices can be automatically created using that\ntemplate even if auto-creation of indices is disabled via `actions.auto_create_index`.\nIf set to `false` then data streams matching the template must always be explicitly created.", + "type": "boolean" + }, + "template": { + "$ref": "#/components/schemas/indices._types:IndexState" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + } + }, + "required": [ + "template" + ] + } + } + }, + "required": true + }, + "count": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + } + } + } + }, + "create": { + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "required": true + }, + "eql.search": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "query": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/eql-syntax.html" + }, + "description": "EQL query you wish to run.", + "type": "string" + }, + "case_sensitive": { + "type": "boolean" + }, + "event_category_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "tiebreaker_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "timestamp_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "fetch_size": { + "$ref": "#/components/schemas/_types:uint" + }, + "filter": { + "description": "Query, written in Query DSL, used to filter the events on which the EQL query runs.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + ] + }, + "keep_alive": { + "$ref": "#/components/schemas/_types:Duration" + }, + "keep_on_completion": { + "type": "boolean" + }, + "wait_for_completion_timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "size": { + "$ref": "#/components/schemas/_types:uint" + }, + "fields": { + "description": "Array of wildcard (*) patterns. The response returns values for field names matching these patterns in the fields property of each hit.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + } + ] + }, + "result_position": { + "$ref": "#/components/schemas/eql.search:ResultPosition" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + } + }, + "required": [ + "query" + ] + } + } + }, + "required": true + }, + "explain": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + } + } + } + }, + "field_caps": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "index_filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + } + } + } + } + } + }, + "fleet.msearch": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.msearch:RequestItem" + } + } + } + }, + "required": true + }, + "fleet.search": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "collapse": { + "$ref": "#/components/schemas/_global.search._types:FieldCollapse" + }, + "explain": { + "description": "If true, returns detailed information about score computation as part of a hit.", + "type": "boolean" + }, + "ext": { + "description": "Configuration of search extensions defined by Elasticsearch plugins.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "from": { + "description": "Starting document offset. By default, you cannot page through more than 10,000\nhits using the from and size parameters. To page through more hits, use the\nsearch_after parameter.", + "type": "number" + }, + "highlight": { + "$ref": "#/components/schemas/_global.search._types:Highlight" + }, + "track_total_hits": { + "$ref": "#/components/schemas/_global.search._types:TrackHits" + }, + "indices_boost": { + "description": "Boosts the _score of documents from specified indices.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "number" + } + } + }, + "docvalue_fields": { + "description": "Array of wildcard (*) patterns. The request returns doc values for field\nnames matching these patterns in the hits.fields property of the response.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "min_score": { + "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in the search results.", + "type": "number" + }, + "post_filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "profile": { + "type": "boolean" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "rescore": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:Rescore" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Rescore" + } + } + ] + }, + "script_fields": { + "description": "Retrieve a script evaluation (based on different fields) for each hit.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "search_after": { + "$ref": "#/components/schemas/_types:SortResults" + }, + "size": { + "description": "The number of hits to return. By default, you cannot page through more\nthan 10,000 hits using the from and size parameters. To page through more\nhits, use the search_after parameter.", + "type": "number" + }, + "slice": { + "$ref": "#/components/schemas/_types:SlicedScroll" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "fields": { + "description": "Array of wildcard (*) patterns. The request returns values for field names\nmatching these patterns in the hits.fields property of the response.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "suggest": { + "$ref": "#/components/schemas/_global.search._types:Suggester" + }, + "terminate_after": { + "description": "Maximum number of documents to collect for each shard. If a query reaches this\nlimit, Elasticsearch terminates the query early. Elasticsearch collects documents\nbefore sorting. Defaults to 0, which does not terminate query execution early.", + "type": "number" + }, + "timeout": { + "description": "Specifies the period of time to wait for a response from each shard. If no response\nis 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.", + "type": "boolean" + }, + "version": { + "description": "If true, returns document version as part of a hit.", + "type": "boolean" + }, + "seq_no_primary_term": { + "description": "If true, returns sequence number and primary term of the last modification\nof each hit. See Optimistic concurrency control.", + "type": "boolean" + }, + "stored_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "pit": { + "$ref": "#/components/schemas/_global.search._types:PointInTimeReference" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "stats": { + "description": "Stats groups to associate with the search. Each group maintains a statistics\naggregation for its associated searches. You can retrieve these stats using\nthe indices stats API.", + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "graph.explore": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "connections": { + "$ref": "#/components/schemas/graph._types:Hop" + }, + "controls": { + "$ref": "#/components/schemas/graph._types:ExploreControls" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "vertices": { + "description": "Specifies one or more fields that contain the terms you want to include in the graph as vertices.", + "type": "array", + "items": { + "$ref": "#/components/schemas/graph._types:VertexDefinition" + } + } + } + } + } + } + }, + "index": { + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "required": true + }, + "indices.analyze": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis-analyzers.html" + }, + "description": "The name of the analyzer that should be applied to the provided `text`.\nThis could be a built-in analyzer, or an analyzer that’s been configured in the index.", + "type": "string" + }, + "attributes": { + "description": "Array of token attributes used to filter the output of the `explain` parameter.", + "type": "array", + "items": { + "type": "string" + } + }, + "char_filter": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis-charfilters.html" + }, + "description": "Array of character filters used to preprocess characters before the tokenizer.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.analysis:CharFilter" + } + }, + "explain": { + "description": "If `true`, the response includes token attributes and additional details.", + "type": "boolean" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "filter": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis-tokenfilters.html" + }, + "description": "Array of token filters used to apply after the tokenizer.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.analysis:TokenFilter" + } + }, + "normalizer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis-normalizers.html" + }, + "description": "Normalizer to use to convert text into a single token.", + "type": "string" + }, + "text": { + "$ref": "#/components/schemas/indices.analyze:TextToAnalyze" + }, + "tokenizer": { + "$ref": "#/components/schemas/_types.analysis:Tokenizer" + } + } + } + } + } + }, + "indices.clone": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aliases": { + "description": "Aliases for the resulting index.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } + }, + "settings": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/index-modules.html#index-modules-settings" + }, + "description": "Configuration options for the target index.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } + } + } + }, + "indices.put_alias": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "index_routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "is_write_index": { + "description": "If `true`, sets the write index or data stream for the alias.\nIf an alias points to multiple indices or data streams and `is_write_index` isn’t set, the alias rejects write requests.\nIf an index alias points to one index and `is_write_index` isn’t set, the index automatically acts as the write index.\nData stream aliases don’t automatically set a write data stream, even if the alias points to one data stream.", + "type": "boolean" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "search_routing": { + "$ref": "#/components/schemas/_types:Routing" + } + } + } + } + } + }, + "indices.put_index_template": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "index_patterns": { + "$ref": "#/components/schemas/_types:Indices" + }, + "composed_of": { + "description": "An ordered list of component template names.\nComponent templates are merged in the order specified, meaning that the last component template specified has the highest precedence.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "template": { + "$ref": "#/components/schemas/indices.put_index_template:IndexTemplateMapping" + }, + "data_stream": { + "$ref": "#/components/schemas/indices._types:DataStreamVisibility" + }, + "priority": { + "description": "Priority to determine index template precedence when a new data stream or index is created.\nThe index template with the highest priority is chosen.\nIf no priority is specified the template is treated as though it is of priority 0 (lowest priority).\nThis number is not automatically generated by Elasticsearch.", + "type": "number" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + } + } + } + } + }, + "required": true + }, + "indices.put_mapping": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "date_detection": { + "description": "Controls whether dynamic date detection is enabled.", + "type": "boolean" + }, + "dynamic": { + "$ref": "#/components/schemas/_types.mapping:DynamicMapping" + }, + "dynamic_date_formats": { + "description": "If date detection is enabled then new string fields are checked\nagainst 'dynamic_date_formats' and if the value matches then\na new date field is added instead of string.", + "type": "array", + "items": { + "type": "string" + } + }, + "dynamic_templates": { + "description": "Specify dynamic templates for the mapping.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:DynamicTemplate" + } + }, + { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:DynamicTemplate" + } + } + } + ] + }, + "_field_names": { + "$ref": "#/components/schemas/_types.mapping:FieldNamesField" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "numeric_detection": { + "description": "Automatically map strings into numeric data types for all fields.", + "type": "boolean" + }, + "properties": { + "description": "Mapping for a field. For new fields, this mapping can include:\n\n- Field name\n- Field data type\n- Mapping parameters", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:Property" + } + }, + "_routing": { + "$ref": "#/components/schemas/_types.mapping:RoutingField" + }, + "_source": { + "$ref": "#/components/schemas/_types.mapping:SourceField" + }, + "runtime": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + } + } + } + } + }, + "required": true + }, + "indices.put_settings": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + } + } + }, + "required": true + }, + "indices.put_template": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aliases": { + "description": "Aliases for the index.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } + }, + "index_patterns": { + "description": "Array of wildcard expressions used to match the names\nof indices during creation.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "order": { + "description": "Order in which Elasticsearch applies this template if index\nmatches multiple templates.\n\nTemplates with lower 'order' values are merged first. Templates with higher\n'order' values are merged later, overriding templates with lower values.", + "type": "number" + }, + "settings": { + "description": "Configuration options for the index.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + } + } + } + } + }, + "required": true + }, + "indices.rollover": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aliases": { + "description": "Aliases for the target index.\nData streams do not support this parameter.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } + }, + "conditions": { + "$ref": "#/components/schemas/indices.rollover:RolloverConditions" + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "settings": { + "description": "Configuration options for the index.\nData streams do not support this parameter.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } + } + } + }, + "indices.shrink": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aliases": { + "description": "The key is the alias name.\nIndex alias names support date math.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } + }, + "settings": { + "description": "Configuration options for the target index.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } + } + } + }, + "indices.simulate_template": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/indices._types:IndexTemplate" + } + } + } + }, + "indices.split": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aliases": { + "description": "Aliases for the resulting index.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } + }, + "settings": { + "description": "Configuration options for the target index.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } + } + } + }, + "indices.validate_query": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + } + } + } + }, + "ingest.simulate": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "docs": { + "description": "Sample documents to test in the pipeline.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest.simulate:Document" + } + }, + "pipeline": { + "$ref": "#/components/schemas/ingest._types:Pipeline" + } + } + } + } + }, + "required": true + }, + "knn_search": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "docvalue_fields": { + "description": "The request returns doc values for field names matching these patterns\nin the hits.fields property of the response. Accepts wildcard (*) patterns.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "stored_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "filter": { + "description": "Query to filter the documents that can match. The kNN search will return the top\n`k` documents that also match this filter. The value can be a single query or a\nlist of queries. If `filter` isn't provided, all documents are allowed to match.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + ] + }, + "knn": { + "$ref": "#/components/schemas/_global.knn_search._types:Query" + } + }, + "required": [ + "knn" + ] + } + } + } + }, + "license.post": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "license": { + "$ref": "#/components/schemas/license._types:License" + }, + "licenses": { + "description": "A sequence of one or more JSON documents containing the license information.", + "type": "array", + "items": { + "$ref": "#/components/schemas/license._types:License" + } + } + } + } + } + } + }, + "mget": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "docs": { + "description": "The documents you want to retrieve. Required if no index is specified in the request URI.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.mget:Operation" + } + }, + "ids": { + "$ref": "#/components/schemas/_types:Ids" + } + } + } + } + }, + "required": true + }, + "ml.delete_expired_data": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "requests_per_second": { + "description": "The desired requests per second for the deletion processes. The default\nbehavior is no throttling.", + "type": "number" + }, + "timeout": { + "$ref": "#/components/schemas/_types:Duration" + } + } + } + } + } + }, + "ml.explain_data_frame_analytics": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "source": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" + }, + "dest": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsDestination" + }, + "analysis": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" + }, + "description": { + "description": "A description of the job.", + "type": "string" + }, + "model_memory_limit": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-settings.html" + }, + "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try to\ncreate data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", + "type": "string" + }, + "max_num_threads": { + "description": "The maximum number of threads to be used by the analysis. Using more\nthreads may decrease the time necessary to complete the analysis at the\ncost of using more CPU. Note that the process may use additional threads\nfor operational functionality other than the analysis itself.", + "type": "number" + }, + "analyzed_fields": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" + }, + "allow_lazy_start": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-settings.html" + }, + "description": "Specifies whether this job can start when there is insufficient machine\nlearning node capacity for it to be immediately assigned to a node.", + "type": "boolean" + } + } + } + } + } + }, + "ml.get_buckets": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "anomaly_score": { + "description": "Refer to the description for the `anomaly_score` query parameter.", + "type": "number" + }, + "desc": { + "description": "Refer to the description for the `desc` query parameter.", + "type": "boolean" + }, + "end": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "exclude_interim": { + "description": "Refer to the description for the `exclude_interim` query parameter.", + "type": "boolean" + }, + "expand": { + "description": "Refer to the description for the `expand` query parameter.", + "type": "boolean" + }, + "page": { + "$ref": "#/components/schemas/ml._types:Page" + }, + "sort": { + "$ref": "#/components/schemas/_types:Field" + }, + "start": { + "$ref": "#/components/schemas/_types:DateTime" + } + } + } + } + } + }, + "ml.get_calendars": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "page": { + "$ref": "#/components/schemas/ml._types:Page" + } + } + } + } + } + }, + "ml.get_categories": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "page": { + "$ref": "#/components/schemas/ml._types:Page" + } + } + } + } + } + }, + "ml.get_influencers": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "page": { + "$ref": "#/components/schemas/ml._types:Page" + } + } + } + } + } + }, + "ml.get_model_snapshots": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "desc": { + "description": "Refer to the description for the `desc` query parameter.", + "type": "boolean" + }, + "end": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "page": { + "$ref": "#/components/schemas/ml._types:Page" + }, + "sort": { + "$ref": "#/components/schemas/_types:Field" + }, + "start": { + "$ref": "#/components/schemas/_types:DateTime" + } + } + } + } + } + }, + "ml.get_overall_buckets": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_no_match": { + "description": "Refer to the description for the `allow_no_match` query parameter.", + "type": "boolean" + }, + "bucket_span": { + "$ref": "#/components/schemas/_types:Duration" + }, + "end": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "exclude_interim": { + "description": "Refer to the description for the `exclude_interim` query parameter.", + "type": "boolean" + }, + "overall_score": { + "description": "Refer to the description for the `overall_score` query parameter.", + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "start": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "top_n": { + "description": "Refer to the description for the `top_n` query parameter.", + "type": "number" + } + } + } + } + } + }, + "ml.get_records": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "desc": { + "description": "Refer to the description for the `desc` query parameter.", + "type": "boolean" + }, + "end": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "exclude_interim": { + "description": "Refer to the description for the `exclude_interim` query parameter.", + "type": "boolean" + }, + "page": { + "$ref": "#/components/schemas/ml._types:Page" + }, + "record_score": { + "description": "Refer to the description for the `record_score` query parameter.", + "type": "number" + }, + "sort": { + "$ref": "#/components/schemas/_types:Field" + }, + "start": { + "$ref": "#/components/schemas/_types:DateTime" + } + } + } + } + } + }, + "ml.infer_trained_model": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "docs": { + "description": "An array of objects to pass to the model for inference. The objects should contain a fields matching your\nconfigured trained model input. Typically, for NLP models, the field name is `text_field`.\nCurrently, for NLP models, only a single value is allowed.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "inference_config": { + "$ref": "#/components/schemas/ml._types:InferenceConfigUpdateContainer" + } + }, + "required": [ + "docs" + ] + } + } + }, + "required": true + }, + "ml.preview_data_frame_analytics": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "config": { + "$ref": "#/components/schemas/ml.preview_data_frame_analytics:DataframePreviewConfig" + } + } + } + } + } + }, + "ml.preview_datafeed": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "datafeed_config": { + "$ref": "#/components/schemas/ml._types:DatafeedConfig" + }, + "job_config": { + "$ref": "#/components/schemas/ml._types:JobConfig" + } + } + } + } + } + }, + "monitoring.bulk": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.bulk:OperationContainer" + }, + { + "$ref": "#/components/schemas/_global.bulk:UpdateAction" + }, + { + "type": "object" + } + ] + } + } + } + }, + "required": true + }, + "msearch": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.msearch:RequestItem" + } + } + } + }, + "required": true + }, + "msearch_template": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.msearch_template:RequestItem" + } + } + } + }, + "required": true + }, + "mtermvectors": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "docs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.mtermvectors:Operation" + } + }, + "ids": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } + } + } + } + } + } + }, + "nodes.reload_secure_settings": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "secure_settings_password": { + "$ref": "#/components/schemas/_types:Password" + } + } + } + } + } + }, + "put_script": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "script": { + "$ref": "#/components/schemas/_types:StoredScript" + } + }, + "required": [ + "script" + ] + } + } + }, + "required": true + }, + "rank_eval": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "requests": { + "description": "A set of typical search requests, together with their provided ratings.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalRequestItem" + } + }, + "metric": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetric" + } + }, + "required": [ + "requests" + ] + } + } + }, + "required": true + }, + "render_search_template": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "file": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "source": { + "type": "string" + } + } + } + } + } + }, + "rollup.rollup_search": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "size": { + "description": "Must be zero if set, as rollups work on pre-aggregated data", + "type": "number" + } + } + } + } + }, + "required": true + }, + "scripts_painless_execute": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "context": { + "type": "string" + }, + "context_setup": { + "$ref": "#/components/schemas/_global.scripts_painless_execute:PainlessContextSetup" + }, + "script": { + "$ref": "#/components/schemas/_types:InlineScript" + } + } + } + } + } + }, + "scroll": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "scroll": { + "$ref": "#/components/schemas/_types:Duration" + }, + "scroll_id": { + "$ref": "#/components/schemas/_types:ScrollId" + } + }, + "required": [ + "scroll_id" + ] + } + } + } + }, + "search": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aggregations": { + "description": "Defines the aggregations that are run as part of the search request.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "collapse": { + "$ref": "#/components/schemas/_global.search._types:FieldCollapse" + }, + "explain": { + "description": "If true, returns detailed information about score computation as part of a hit.", + "type": "boolean" + }, + "ext": { + "description": "Configuration of search extensions defined by Elasticsearch plugins.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "from": { + "description": "Starting document offset.\nNeeds to 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.", + "type": "number" + }, + "highlight": { + "$ref": "#/components/schemas/_global.search._types:Highlight" + }, + "track_total_hits": { + "$ref": "#/components/schemas/_global.search._types:TrackHits" + }, + "indices_boost": { + "description": "Boosts the _score of documents from specified indices.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "number" + } + } + }, + "docvalue_fields": { + "description": "Array of wildcard (`*`) patterns.\nThe request returns doc values for field names matching these patterns in the `hits.fields` property of the response.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "knn": { + "description": "Defines the approximate kNN search to run.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:KnnQuery" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:KnnQuery" + } + } + ] + }, + "rank": { + "$ref": "#/components/schemas/_types:RankContainer" + }, + "min_score": { + "description": "Minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in the search results.", + "type": "number" + }, + "post_filter": { + "$ref": "#/components/schemas/_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.", + "type": "boolean" + }, + "query": { + "$ref": "#/components/schemas/_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": "#/components/schemas/_global.search._types:Rescore" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Rescore" + } + } + ] + }, + "script_fields": { + "description": "Retrieve a script evaluation (based on different fields) for each hit.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "search_after": { + "$ref": "#/components/schemas/_types:SortResults" + }, + "size": { + "description": "The number of hits to return.\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.", + "type": "number" + }, + "slice": { + "$ref": "#/components/schemas/_types:SlicedScroll" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "fields": { + "description": "Array of wildcard (`*`) patterns.\nThe request returns values for field names matching these patterns in the `hits.fields` property of the response.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "suggest": { + "$ref": "#/components/schemas/_global.search._types:Suggester" + }, + "terminate_after": { + "description": "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.\nUse with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.\nIf set to `0` (default), the query does not terminate early.", + "type": "number" + }, + "timeout": { + "description": "Specifies 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.", + "type": "boolean" + }, + "version": { + "description": "If true, returns document version as part of a hit.", + "type": "boolean" + }, + "seq_no_primary_term": { + "description": "If `true`, returns sequence number and primary term of the last modification of each hit.", + "type": "boolean" + }, + "stored_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "pit": { + "$ref": "#/components/schemas/_global.search._types:PointInTimeReference" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "stats": { + "description": "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" + } + } + } + } + } + } + }, + "search_application.search": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "params": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } + } + } + }, + "search_mvt": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aggs": { + "description": "Sub-aggregations for the geotile_grid.\n\nSupports the following aggregation types:\n- avg\n- cardinality\n- max\n- min\n- sum", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "buffer": { + "description": "Size, in pixels, of a clipping buffer outside the tile. This allows renderers\nto avoid outline artifacts from geometries that extend past the extent of the tile.", + "type": "number" + }, + "exact_bounds": { + "description": "If false, the meta layer’s feature is the bounding box of the tile.\nIf true, the meta layer’s feature is a bounding box resulting from a\ngeo_bounds aggregation. The aggregation runs on values that intersect\nthe // tile with wrap_longitude set to false. The resulting\nbounding box may be larger than the vector tile.", + "type": "boolean" + }, + "extent": { + "description": "Size, in pixels, of a side of the tile. Vector tiles are square with equal sides.", + "type": "number" + }, + "fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "grid_agg": { + "$ref": "#/components/schemas/_global.search_mvt._types:GridAggregationType" + }, + "grid_precision": { + "description": "Additional zoom levels available through the aggs layer. For example, if is 7\nand grid_precision is 8, you can zoom in up to level 15. Accepts 0-8. If 0, results\ndon’t include the aggs layer.", + "type": "number" + }, + "grid_type": { + "$ref": "#/components/schemas/_global.search_mvt._types:GridType" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "size": { + "description": "Maximum number of features to return in the hits layer. Accepts 0-10000.\nIf 0, results don’t include the hits layer.", + "type": "number" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "track_total_hits": { + "$ref": "#/components/schemas/_global.search._types:TrackHits" + }, + "with_labels": { + "description": "If `true`, the hits and aggs layers will contain additional point features representing\nsuggested label positions for the original features.", + "type": "boolean" + } + } + } + } + } + }, + "search_template": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "explain": { + "type": "boolean" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "params": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "profile": { + "type": "boolean" + }, + "source": { + "description": "An inline search template. Supports the same parameters as the search API's\nrequest body. Also supports Mustache variables. If no id is specified, this\nparameter is required.", + "type": "string" + } + } + } + } + }, + "required": true + }, + "security.change_password": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "password": { + "$ref": "#/components/schemas/_types:Password" + }, + "password_hash": { + "description": "A hash of the new password value. This must be produced using the same\nhashing algorithm as has been configured for password storage. For more details,\nsee the explanation of the `xpack.security.authc.password_hashing.algorithm`\nsetting.", + "type": "string" + } + } + } + } + }, + "required": true + }, + "security.create_api_key": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "expiration": { + "$ref": "#/components/schemas/_types:Duration" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "role_descriptors": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/security-api-put-role.html" + }, + "description": "An array of role descriptors for this API key. This parameter is optional. When it is not specified or is an empty array, then the API key will have a point in time snapshot of permissions of the authenticated user. If you supply role descriptors then the resultant permissions would be an intersection of API keys permissions and authenticated user’s permissions thereby limiting the access scope for API keys. The structure of role descriptor is the same as the request for create role API. For more details, see create or update roles API.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:RoleDescriptor" + } + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + } + } + } + } + }, + "required": true + }, + "security.has_privileges": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "application": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security.has_privileges:ApplicationPrivilegesCheck" + } + }, + "cluster": { + "description": "A list of the cluster privileges that you want to check.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:ClusterPrivilege" + } + }, + "index": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security.has_privileges:IndexPrivilegesCheck" + } + } + } + } + } + }, + "required": true + }, + "security.has_privileges_user_profile": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "uids": { + "description": "A list of profile IDs. The privileges are checked for associated users of the profiles.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:UserProfileId" + } + }, + "privileges": { + "$ref": "#/components/schemas/security.has_privileges_user_profile:PrivilegesCheck" + } + }, + "required": [ + "uids", + "privileges" + ] + } + } + }, + "required": true + }, + "security.put_privileges": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security.put_privileges:Actions" + } + } + } + } + }, + "required": true + }, + "security.put_role": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "applications": { + "description": "A list of application privilege entries.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:ApplicationPrivileges" + } + }, + "cluster": { + "description": "A list of cluster privileges. These privileges define the cluster-level actions for users with this role.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:ClusterPrivilege" + } + }, + "global": { + "description": "An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware. Support for global privileges is currently limited to the management of application privileges.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "indices": { + "description": "A list of indices permissions entries.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:IndicesPrivileges" + } + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "run_as": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/run-as-privilege.html" + }, + "description": "A list of users that the owners of this role can impersonate.", + "type": "array", + "items": { + "type": "string" + } + }, + "transient_metadata": { + "$ref": "#/components/schemas/security._types:TransientMetadataConfig" + } + } + } + } + }, + "required": true + }, + "security.put_role_mapping": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "rules": { + "$ref": "#/components/schemas/security._types:RoleMappingRule" + }, + "run_as": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "security.put_user": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "username": { + "$ref": "#/components/schemas/_types:Username" + }, + "email": { + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "full_name": { + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "password": { + "$ref": "#/components/schemas/_types:Password" + }, + "password_hash": { + "type": "string" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "enabled": { + "type": "boolean" + } + } + } + } + }, + "required": true + }, + "security.query_api_keys": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "from": { + "description": "Starting document offset.\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.", + "type": "number" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "size": { + "description": "The number of hits to return.\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.", + "type": "number" + }, + "search_after": { + "$ref": "#/components/schemas/_types:SortResults" + } + } + } + } + } + }, + "security.suggest_user_profiles": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Query string used to match name-related fields in user profile documents.\nName-related fields are the user's `username`, `full_name`, and `email`.", + "type": "string" + }, + "size": { + "description": "Number of profiles to return.", + "type": "number" + }, + "data": { + "description": "List of filters for the `data` field of the profile document.\nTo return all content use `data=*`. To return a subset of content\nuse `data=` to retrieve content nested under the specified ``.\nBy default returns no `data` content.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "hint": { + "$ref": "#/components/schemas/security.suggest_user_profiles:Hint" + } + } + } + } + } + }, + "security.update_user_profile_data": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "labels": { + "description": "Searchable data that you want to associate with the user profile. This\nfield supports a nested data structure.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "data": { + "description": "Non-searchable data that you want to associate with the user profile.\nThis field supports a nested data structure.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } + } + }, + "required": true + }, + "snapshot.create": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ignore_unavailable": { + "description": "If `true`, the request ignores data streams and indices in `indices` that are missing or closed. If `false`, the request returns an error for any data stream or index that is missing or closed.", + "type": "boolean" + }, + "include_global_state": { + "description": "If `true`, the current cluster state is included in the snapshot. The cluster state includes persistent cluster settings, composable index templates, legacy index templates, ingest pipelines, and ILM policies. It also includes data stored in system indices, such as Watches and task records (configurable via `feature_states`).", + "type": "boolean" + }, + "indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "feature_states": { + "description": "Feature states to include in the snapshot. Each feature state includes one or more system indices containing related data. You can view a list of eligible features using the get features API. If `include_global_state` is `true`, all current feature states are included by default. If `include_global_state` is `false`, no feature states are included by default.", + "type": "array", + "items": { + "type": "string" + } + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "partial": { + "description": "If `true`, allows restoring a partial snapshot of indices with unavailable shards. Only shards that were successfully included in the snapshot will be restored. All missing shards will be recreated as empty. If `false`, the entire restore operation will fail if one or more indices included in the snapshot do not have all primary shards available.", + "type": "boolean" + } + } + } + } + } + }, + "snapshot.create_repository": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository": { + "$ref": "#/components/schemas/snapshot._types:Repository" + }, + "type": { + "type": "string" + }, + "settings": { + "$ref": "#/components/schemas/snapshot._types:RepositorySettings" + } + }, + "required": [ + "type", + "settings" + ] + } + } + }, + "required": true + }, + "sql.query": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "catalog": { + "description": "Default catalog (cluster) for queries. If unspecified, the queries execute on the data in the local cluster only.", + "type": "string" + }, + "columnar": { + "description": "If true, the results in a columnar fashion: one row represents all the values of a certain column from the current page of results.", + "type": "boolean" + }, + "cursor": { + "type": "string" + }, + "fetch_size": { + "description": "The maximum number of rows (or entries) to return in one response", + "type": "number" + }, + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "query": { + "description": "SQL query to execute", + "type": "string" + }, + "request_timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "page_timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" + }, + "field_multi_value_leniency": { + "description": "Throw an exception when encountering multiple values for a field (default) or be lenient and return the first value from the list (without any guarantees of what that will be - typically the first in natural ascending order).", + "type": "boolean" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "wait_for_completion_timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "params": { + "description": "Values for parameters in the query.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "keep_alive": { + "$ref": "#/components/schemas/_types:Duration" + }, + "keep_on_completion": { + "description": "If true, Elasticsearch stores synchronous searches if you also specify the wait_for_completion_timeout parameter. If false, Elasticsearch only stores async searches that don’t finish before the wait_for_completion_timeout.", + "type": "boolean" + }, + "index_using_frozen": { + "description": "If true, the search can run on frozen indices. Defaults to false.", + "type": "boolean" + } + } + } + } + }, + "required": true + }, + "sql.translate": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "fetch_size": { + "type": "number" + }, + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "query": { + "type": "string" + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" + } + }, + "required": [ + "query" + ] + } + } + }, + "required": true + }, + "terms_enum": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "size": { + "description": "How many matching terms to return.", + "type": "number" + }, + "timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "case_insensitive": { + "description": "When true the provided search string is matched against index terms without case sensitivity.", + "type": "boolean" + }, + "index_filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "string": { + "description": "The string after which terms in the index should be returned. Allows for a form of pagination if the last result from one request is passed as the search_after parameter for a subsequent request.", + "type": "string" + }, + "search_after": { + "type": "string" + } + }, + "required": [ + "field" + ] + } + } + } + }, + "termvectors": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "doc": { + "type": "object" + }, + "filter": { + "$ref": "#/components/schemas/_global.termvectors:Filter" + }, + "per_field_analyzer": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + } + } + }, + "transform.preview_transform": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "dest": { + "$ref": "#/components/schemas/transform._types:Destination" + }, + "description": { + "description": "Free text description of the transform.", + "type": "string" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "pivot": { + "$ref": "#/components/schemas/transform._types:Pivot" + }, + "source": { + "$ref": "#/components/schemas/transform._types:Source" + }, + "settings": { + "$ref": "#/components/schemas/transform._types:Settings" + }, + "sync": { + "$ref": "#/components/schemas/transform._types:SyncContainer" + }, + "retention_policy": { + "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" + }, + "latest": { + "$ref": "#/components/schemas/transform._types:Latest" + } + } + } + } + } + }, + "watcher.execute_watch": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "action_modes": { + "description": "Determines how to handle the watch actions as part of the watch execution.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/watcher._types:ActionExecutionMode" + } + }, + "alternative_input": { + "description": "When present, the watch uses this object as a payload instead of executing its own input.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "ignore_condition": { + "description": "When set to `true`, the watch execution uses the always condition. This can also be specified as an HTTP parameter.", + "type": "boolean" + }, + "record_execution": { + "description": "When set to `true`, the watch record representing the watch execution result is persisted to the `.watcher-history` index for the current time. In addition, the status of the watch is updated, possibly throttling subsequent executions. This can also be specified as an HTTP parameter.", + "type": "boolean" + }, + "simulated_actions": { + "$ref": "#/components/schemas/watcher._types:SimulatedActions" + }, + "trigger_data": { + "$ref": "#/components/schemas/watcher._types:ScheduleTriggerEvent" + }, + "watch": { + "$ref": "#/components/schemas/watcher._types:Watch" + } + } + } + } + } + }, + "watcher.put_watch": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "actions": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/watcher._types:Action" + } + }, + "condition": { + "$ref": "#/components/schemas/watcher._types:ConditionContainer" + }, + "input": { + "$ref": "#/components/schemas/watcher._types:InputContainer" + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "throttle_period": { + "type": "string" + }, + "transform": { + "$ref": "#/components/schemas/_types:TransformContainer" + }, + "trigger": { + "$ref": "#/components/schemas/watcher._types:TriggerContainer" + } + } + } + } + } + }, + "watcher.query_watches": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "from": { + "description": "The offset from the first result to fetch. Needs to be non-negative.", + "type": "number" + }, + "size": { + "description": "The number of hits to return. Needs to be non-negative.", + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "search_after": { + "$ref": "#/components/schemas/_types:SortResults" + } + } + } + } + } + } + }, + "schemas": { + "_types:Id": { + "type": "string" + }, + "_types:AcknowledgedResponseBase": { + "type": "object", + "properties": { + "acknowledged": { + "description": "For a successful response, this value is always true. On failure, an exception is returned instead.", + "type": "boolean" + } + }, + "required": [ + "acknowledged" + ] + }, + "_types:Duration": { + "externalDocs": { + "url": "https://github.com/elastic/elasticsearch/blob/{branch}/libs/core/src/main/java/org/elasticsearch/core/TimeValue.java" + }, + "description": "A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and\n`d` (days). Also accepts \"0\" without a unit and \"-1\" to indicate an unspecified value.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "string", + "enum": [ + "-1" + ] + }, + { + "type": "string", + "enum": [ + "0" + ] + } + ] + }, + "async_search._types:AsyncSearchDocumentResponseBase": { + "allOf": [ + { + "$ref": "#/components/schemas/async_search._types:AsyncSearchResponseBase" + }, + { + "type": "object", + "properties": { + "response": { + "$ref": "#/components/schemas/async_search._types:AsyncSearch" + } + }, + "required": [ + "response" + ] + } + ] + }, + "async_search._types:AsyncSearch": { + "type": "object", + "properties": { + "aggregations": { + "description": "Partial aggregations results, coming from the shards that have already completed the execution of the query.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:Aggregate" + } + }, + "_clusters": { + "$ref": "#/components/schemas/_types:ClusterStatistics" + }, + "fields": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "hits": { + "$ref": "#/components/schemas/_global.search._types:HitsMetadata" + }, + "max_score": { + "type": "number" + }, + "num_reduce_phases": { + "description": "Indicates how many reductions of the results have been performed.\nIf this number increases compared to the last retrieved results for a get asynch search request, you can expect additional results included in the search response.", + "type": "number" + }, + "profile": { + "$ref": "#/components/schemas/_global.search._types:Profile" + }, + "pit_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_scroll_id": { + "$ref": "#/components/schemas/_types:ScrollId" + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "suggest": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Suggest" + } + } + }, + "terminated_early": { + "type": "boolean" + }, + "timed_out": { + "type": "boolean" + }, + "took": { + "type": "number" + } + }, + "required": [ + "hits", + "_shards", + "timed_out", + "took" + ] + }, + "_types.aggregations:Aggregate": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:CardinalityAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:HdrPercentilesAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:HdrPercentileRanksAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:TDigestPercentilesAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:TDigestPercentileRanksAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:PercentilesBucketAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:MedianAbsoluteDeviationAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:MinAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:MaxAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:SumAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:AvgAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:WeightedAvgAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:ValueCountAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:SimpleValueAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:DerivativeAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:BucketMetricValueAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:StatsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:StatsBucketAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsBucketAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GeoBoundsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GeoCentroidAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:HistogramAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:DateHistogramAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:AutoDateHistogramAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:VariableWidthHistogramAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:StringTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:LongTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:DoubleTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:UnmappedTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:LongRareTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:StringRareTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:UnmappedRareTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:MultiTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:MissingAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:NestedAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:ReverseNestedAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GlobalAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:FilterAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:ChildrenAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:ParentAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:SamplerAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:UnmappedSamplerAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GeoHashGridAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GeoTileGridAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GeoHexGridAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:RangeAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:DateRangeAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GeoDistanceAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:IpRangeAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:IpPrefixAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:FiltersAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:AdjacencyMatrixAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:SignificantLongTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:SignificantStringTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:UnmappedSignificantTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:ScriptedMetricAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:TopHitsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:InferenceAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:StringStatsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:BoxPlotAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:TopMetricsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:TTestAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:RateAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:CumulativeCardinalityAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:MatrixStatsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GeoLineAggregate" + } + ] + }, + "_types.aggregations:CardinalityAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "value": { + "type": "number" + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types.aggregations:AggregateBase": { + "type": "object", + "properties": { + "meta": { + "$ref": "#/components/schemas/_types:Metadata" + } + } + }, + "_types:Metadata": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "_types.aggregations:HdrPercentilesAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:PercentilesAggregateBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "values": { + "$ref": "#/components/schemas/_types.aggregations:Percentiles" + } + }, + "required": [ + "values" + ] + } + ] + }, + "_types.aggregations:Percentiles": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:KeyedPercentiles" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:ArrayPercentilesItem" + } + } + ] + }, + "_types.aggregations:KeyedPercentiles": { + "type": "object", + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + } + }, + "_types.aggregations:ArrayPercentilesItem": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "value_as_string": { + "type": "string" + } + }, + "required": [ + "key", + "value" + ] + }, + "_types.aggregations:HdrPercentileRanksAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:TDigestPercentilesAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:TDigestPercentileRanksAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:PercentilesBucketAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MedianAbsoluteDeviationAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:SingleMetricAggregateBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "value": { + "description": "The metric value. A missing value generally means that there was no data to aggregate,\nunless specified otherwise.", + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "value_as_string": { + "type": "string" + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types.aggregations:MinAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MaxAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:SumAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:AvgAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:WeightedAvgAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:ValueCountAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:SimpleValueAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:DerivativeAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" + }, + { + "type": "object", + "properties": { + "normalized_value": { + "type": "number" + }, + "normalized_value_as_string": { + "type": "string" + } + } + } + ] + }, + "_types.aggregations:BucketMetricValueAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" + }, + { + "type": "object", + "properties": { + "keys": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "keys" + ] + } + ] + }, + "_types.aggregations:StatsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "min": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "max": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "avg": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "sum": { + "type": "number" + }, + "min_as_string": { + "type": "string" + }, + "max_as_string": { + "type": "string" + }, + "avg_as_string": { + "type": "string" + }, + "sum_as_string": { + "type": "string" + } + }, + "required": [ + "count", + "min", + "max", + "avg", + "sum" + ] + } + ] + }, + "_types.aggregations:StatsBucketAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:StatsAggregate" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:ExtendedStatsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:StatsAggregate" + }, + { + "type": "object", + "properties": { + "sum_of_squares": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "variance": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "variance_population": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "variance_sampling": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "std_deviation": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "std_deviation_population": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "std_deviation_sampling": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "std_deviation_bounds": { + "$ref": "#/components/schemas/_types.aggregations:StandardDeviationBounds" + }, + "sum_of_squares_as_string": { + "type": "string" + }, + "variance_as_string": { + "type": "string" + }, + "variance_population_as_string": { + "type": "string" + }, + "variance_sampling_as_string": { + "type": "string" + }, + "std_deviation_as_string": { + "type": "string" + }, + "std_deviation_bounds_as_string": { + "$ref": "#/components/schemas/_types.aggregations:StandardDeviationBoundsAsString" + } + }, + "required": [ + "sum_of_squares", + "variance", + "variance_population", + "variance_sampling", + "std_deviation", + "std_deviation_population", + "std_deviation_sampling" + ] + } + ] + }, + "_types.aggregations:StandardDeviationBounds": { + "type": "object", + "properties": { + "upper": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "lower": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "upper_population": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "lower_population": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "upper_sampling": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "lower_sampling": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + } + }, + "required": [ + "upper", + "lower", + "upper_population", + "lower_population", + "upper_sampling", + "lower_sampling" + ] + }, + "_types.aggregations:StandardDeviationBoundsAsString": { + "type": "object", + "properties": { + "upper": { + "type": "string" + }, + "lower": { + "type": "string" + }, + "upper_population": { + "type": "string" + }, + "lower_population": { + "type": "string" + }, + "upper_sampling": { + "type": "string" + }, + "lower_sampling": { + "type": "string" + } + }, + "required": [ + "upper", + "lower", + "upper_population", + "lower_population", + "upper_sampling", + "lower_sampling" + ] + }, + "_types.aggregations:ExtendedStatsBucketAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsAggregate" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:GeoBoundsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "bounds": { + "$ref": "#/components/schemas/_types:GeoBounds" + } + } + } + ] + }, + "_types:GeoBounds": { + "description": "A geo bounding box. It can be represented in various ways:\n- as 4 top/bottom/left/right coordinates\n- as 2 top_left / bottom_right points\n- as 2 top_right / bottom_left points\n- as a WKT bounding box", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:CoordsGeoBounds" + }, + { + "$ref": "#/components/schemas/_types:TopLeftBottomRightGeoBounds" + }, + { + "$ref": "#/components/schemas/_types:TopRightBottomLeftGeoBounds" + }, + { + "$ref": "#/components/schemas/_types:WktGeoBounds" + } + ] + }, + "_types:CoordsGeoBounds": { + "type": "object", + "properties": { + "top": { + "type": "number" + }, + "bottom": { + "type": "number" + }, + "left": { + "type": "number" + }, + "right": { + "type": "number" + } + }, + "required": [ + "top", + "bottom", + "left", + "right" + ] + }, + "_types:TopLeftBottomRightGeoBounds": { + "type": "object", + "properties": { + "top_left": { + "$ref": "#/components/schemas/_types:GeoLocation" + }, + "bottom_right": { + "$ref": "#/components/schemas/_types:GeoLocation" + } + }, + "required": [ + "top_left", + "bottom_right" + ] + }, + "_types:GeoLocation": { + "description": "A latitude/longitude as a 2 dimensional point. It can be represented in various ways:\n- as a `{lat, long}` object\n- as a geo hash value\n- as a `[lon, lat]` array\n- as a string in `\", \"` or WKT point formats", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:LatLonGeoLocation" + }, + { + "$ref": "#/components/schemas/_types:GeoHashLocation" + }, + { + "type": "array", + "items": { + "type": "number" + } + }, + { + "type": "string" + } + ] + }, + "_types:LatLonGeoLocation": { + "type": "object", + "properties": { + "lat": { + "description": "Latitude", + "type": "number" + }, + "lon": { + "description": "Longitude", + "type": "number" + } + }, + "required": [ + "lat", + "lon" + ] + }, + "_types:GeoHashLocation": { + "type": "object", + "properties": { + "geohash": { + "$ref": "#/components/schemas/_types:GeoHash" + } + }, + "required": [ + "geohash" + ] + }, + "_types:GeoHash": { + "type": "string" + }, + "_types:TopRightBottomLeftGeoBounds": { + "type": "object", + "properties": { + "top_right": { + "$ref": "#/components/schemas/_types:GeoLocation" + }, + "bottom_left": { + "$ref": "#/components/schemas/_types:GeoLocation" + } + }, + "required": [ + "top_right", + "bottom_left" + ] + }, + "_types:WktGeoBounds": { + "type": "object", + "properties": { + "wkt": { + "type": "string" + } + }, + "required": [ + "wkt" + ] + }, + "_types.aggregations:GeoCentroidAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "location": { + "$ref": "#/components/schemas/_types:GeoLocation" + } + }, + "required": [ + "count" + ] + } + ] + }, + "_types.aggregations:HistogramAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseHistogramBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseHistogramBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsHistogramBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsHistogramBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:HistogramBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:HistogramBucket" + } + } + ] + }, + "_types.aggregations:HistogramBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key_as_string": { + "type": "string" + }, + "key": { + "type": "number" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types.aggregations:MultiBucketBase": { + "type": "object", + "properties": { + "doc_count": { + "type": "number" + } + }, + "required": [ + "doc_count" + ] + }, + "_types.aggregations:DateHistogramAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseDateHistogramBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseDateHistogramBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsDateHistogramBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsDateHistogramBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:DateHistogramBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:DateHistogramBucket" + } + } + ] + }, + "_types.aggregations:DateHistogramBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key_as_string": { + "type": "string" + }, + "key": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types:EpochTimeUnitMillis": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:UnitMillis" + } + ] + }, + "_types:UnitMillis": { + "description": "Time unit for milliseconds", + "type": "number" + }, + "_types.aggregations:AutoDateHistogramAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseDateHistogramBucket" + }, + { + "type": "object", + "properties": { + "interval": { + "$ref": "#/components/schemas/_types:DurationLarge" + } + }, + "required": [ + "interval" + ] + } + ] + }, + "_types:DurationLarge": { + "description": "A date histogram interval. Similar to `Duration` with additional units: `w` (week), `M` (month), `q` (quarter) and\n`y` (year)", + "type": "string" + }, + "_types.aggregations:VariableWidthHistogramAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseVariableWidthHistogramBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseVariableWidthHistogramBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsVariableWidthHistogramBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsVariableWidthHistogramBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:VariableWidthHistogramBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:VariableWidthHistogramBucket" + } + } + ] + }, + "_types.aggregations:VariableWidthHistogramBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "min": { + "type": "number" + }, + "key": { + "type": "number" + }, + "max": { + "type": "number" + }, + "min_as_string": { + "type": "string" + }, + "key_as_string": { + "type": "string" + }, + "max_as_string": { + "type": "string" + } + }, + "required": [ + "min", + "key", + "max" + ] + } + ] + }, + "_types.aggregations:StringTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseStringTermsBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:TermsAggregateBaseStringTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseStringTermsBucket" + }, + { + "type": "object", + "properties": { + "doc_count_error_upper_bound": { + "type": "number" + }, + "sum_other_doc_count": { + "type": "number" + } + } + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseStringTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsStringTermsBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsStringTermsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:StringTermsBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:StringTermsBucket" + } + } + ] + }, + "_types.aggregations:StringTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:TermsBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "$ref": "#/components/schemas/_types:FieldValue" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types:FieldValue": { + "description": "A field value.", + "oneOf": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "boolean" + }, + { + "nullable": true, + "type": "string" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:TermsBucketBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "doc_count_error": { + "type": "number" + } + } + } + ] + }, + "_types.aggregations:LongTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseLongTermsBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:TermsAggregateBaseLongTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseLongTermsBucket" + }, + { + "type": "object", + "properties": { + "doc_count_error_upper_bound": { + "type": "number" + }, + "sum_other_doc_count": { + "type": "number" + } + } + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseLongTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsLongTermsBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsLongTermsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:LongTermsBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:LongTermsBucket" + } + } + ] + }, + "_types.aggregations:LongTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:TermsBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "type": "number" + }, + "key_as_string": { + "type": "string" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types.aggregations:DoubleTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseDoubleTermsBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:TermsAggregateBaseDoubleTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseDoubleTermsBucket" + }, + { + "type": "object", + "properties": { + "doc_count_error_upper_bound": { + "type": "number" + }, + "sum_other_doc_count": { + "type": "number" + } + } + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseDoubleTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsDoubleTermsBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsDoubleTermsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:DoubleTermsBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:DoubleTermsBucket" + } + } + ] + }, + "_types.aggregations:DoubleTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:TermsBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "type": "number" + }, + "key_as_string": { + "type": "string" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types.aggregations:UnmappedTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseVoid" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:TermsAggregateBaseVoid": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseVoid" + }, + { + "type": "object", + "properties": { + "doc_count_error_upper_bound": { + "type": "number" + }, + "sum_other_doc_count": { + "type": "number" + } + } + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseVoid": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsVoid" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsVoid": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_spec_utils:Void" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_spec_utils:Void" + } + } + ] + }, + "_spec_utils:Void": { + "description": "The absence of any type. This is commonly used in APIs that don't return a body.\n\nAlthough \"void\" is generally used for the unit type that has only one value, this is to be interpreted as\nthe bottom type that has no value at all. Most languages have a unit type, but few have a bottom type.\n\nSee https://en.m.wikipedia.org/wiki/Unit_type and https://en.m.wikipedia.org/wiki/Bottom_type", + "type": "object" + }, + "_types.aggregations:LongRareTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseLongRareTermsBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseLongRareTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsLongRareTermsBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsLongRareTermsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:LongRareTermsBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:LongRareTermsBucket" + } + } + ] + }, + "_types.aggregations:LongRareTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "type": "number" + }, + "key_as_string": { + "type": "string" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types.aggregations:StringRareTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseStringRareTermsBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseStringRareTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsStringRareTermsBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsStringRareTermsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:StringRareTermsBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:StringRareTermsBucket" + } + } + ] + }, + "_types.aggregations:StringRareTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "type": "string" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types.aggregations:UnmappedRareTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseVoid" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseMultiTermsBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:TermsAggregateBaseMultiTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseMultiTermsBucket" + }, + { + "type": "object", + "properties": { + "doc_count_error_upper_bound": { + "type": "number" + }, + "sum_other_doc_count": { + "type": "number" + } + } + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseMultiTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsMultiTermsBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsMultiTermsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:MultiTermsBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:MultiTermsBucket" + } + } + ] + }, + "_types.aggregations:MultiTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:FieldValue" + } + }, + "key_as_string": { + "type": "string" + }, + "doc_count_error_upper_bound": { + "type": "number" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types.aggregations:MissingAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:SingleBucketAggregateBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "doc_count": { + "type": "number" + } + }, + "required": [ + "doc_count" + ] + } + ] + }, + "_types.aggregations:NestedAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:ReverseNestedAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:GlobalAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:FilterAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:ChildrenAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:ParentAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:SamplerAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:UnmappedSamplerAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:GeoHashGridAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseGeoHashGridBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseGeoHashGridBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsGeoHashGridBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsGeoHashGridBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:GeoHashGridBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:GeoHashGridBucket" + } + } + ] + }, + "_types.aggregations:GeoHashGridBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "$ref": "#/components/schemas/_types:GeoHash" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types.aggregations:GeoTileGridAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseGeoTileGridBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseGeoTileGridBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsGeoTileGridBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsGeoTileGridBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:GeoTileGridBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:GeoTileGridBucket" + } + } + ] + }, + "_types.aggregations:GeoTileGridBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "$ref": "#/components/schemas/_types:GeoTile" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types:GeoTile": { + "description": "A map tile reference, represented as `{zoom}/{x}/{y}`", + "type": "string" + }, + "_types.aggregations:GeoHexGridAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseGeoHexGridBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseGeoHexGridBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsGeoHexGridBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsGeoHexGridBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:GeoHexGridBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:GeoHexGridBucket" + } + } + ] + }, + "_types.aggregations:GeoHexGridBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "$ref": "#/components/schemas/_types:GeoHexCell" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types:GeoHexCell": { + "description": "A map hex cell (H3) reference", + "type": "string" + }, + "_types.aggregations:RangeAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseRangeBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseRangeBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsRangeBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsRangeBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:RangeBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:RangeBucket" + } + } + ] + }, + "_types.aggregations:RangeBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "from": { + "type": "number" + }, + "to": { + "type": "number" + }, + "from_as_string": { + "type": "string" + }, + "to_as_string": { + "type": "string" + }, + "key": { + "description": "The bucket key. Present if the aggregation is _not_ keyed", + "type": "string" + } + } + } + ] + }, + "_types.aggregations:DateRangeAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:RangeAggregate" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:GeoDistanceAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:RangeAggregate" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:IpRangeAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseIpRangeBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseIpRangeBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsIpRangeBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsIpRangeBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:IpRangeBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:IpRangeBucket" + } + } + ] + }, + "_types.aggregations:IpRangeBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "from": { + "type": "string" + }, + "to": { + "type": "string" + } + } + } + ] + }, + "_types.aggregations:IpPrefixAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseIpPrefixBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseIpPrefixBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsIpPrefixBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsIpPrefixBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:IpPrefixBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:IpPrefixBucket" + } + } + ] + }, + "_types.aggregations:IpPrefixBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "is_ipv6": { + "type": "boolean" + }, + "key": { + "type": "string" + }, + "prefix_length": { + "type": "number" + }, + "netmask": { + "type": "string" + } + }, + "required": [ + "is_ipv6", + "key", + "prefix_length" + ] + } + ] + }, + "_types.aggregations:FiltersAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseFiltersBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseFiltersBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsFiltersBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsFiltersBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:FiltersBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:FiltersBucket" + } + } + ] + }, + "_types.aggregations:FiltersBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:AdjacencyMatrixAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseAdjacencyMatrixBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseAdjacencyMatrixBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsAdjacencyMatrixBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsAdjacencyMatrixBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AdjacencyMatrixBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:AdjacencyMatrixBucket" + } + } + ] + }, + "_types.aggregations:AdjacencyMatrixBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "type": "string" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types.aggregations:SignificantLongTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SignificantTermsAggregateBaseSignificantLongTermsBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:SignificantTermsAggregateBaseSignificantLongTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseSignificantLongTermsBucket" + }, + { + "type": "object", + "properties": { + "bg_count": { + "type": "number" + }, + "doc_count": { + "type": "number" + } + } + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseSignificantLongTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsSignificantLongTermsBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsSignificantLongTermsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:SignificantLongTermsBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:SignificantLongTermsBucket" + } + } + ] + }, + "_types.aggregations:SignificantLongTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SignificantTermsBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "type": "number" + }, + "key_as_string": { + "type": "string" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types.aggregations:SignificantTermsBucketBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "score": { + "type": "number" + }, + "bg_count": { + "type": "number" + } + }, + "required": [ + "score", + "bg_count" + ] + } + ] + }, + "_types.aggregations:SignificantStringTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SignificantTermsAggregateBaseSignificantStringTermsBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:SignificantTermsAggregateBaseSignificantStringTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseSignificantStringTermsBucket" + }, + { + "type": "object", + "properties": { + "bg_count": { + "type": "number" + }, + "doc_count": { + "type": "number" + } + } + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseSignificantStringTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsSignificantStringTermsBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsSignificantStringTermsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:SignificantStringTermsBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:SignificantStringTermsBucket" + } + } + ] + }, + "_types.aggregations:SignificantStringTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SignificantTermsBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "type": "string" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types.aggregations:UnmappedSignificantTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SignificantTermsAggregateBaseVoid" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:SignificantTermsAggregateBaseVoid": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseVoid" + }, + { + "type": "object", + "properties": { + "bg_count": { + "type": "number" + }, + "doc_count": { + "type": "number" + } + } + } + ] + }, + "_types.aggregations:CompositeAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseCompositeBucket" + }, + { + "type": "object", + "properties": { + "after_key": { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregateKey" + } + } + } + ] + }, + "_types.aggregations:CompositeAggregateKey": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:FieldValue" + } + }, + "_types.aggregations:MultiBucketAggregateBaseCompositeBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsCompositeBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsCompositeBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:CompositeBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:CompositeBucket" + } + } + ] + }, + "_types.aggregations:CompositeBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregateKey" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types.aggregations:FrequentItemSetsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseFrequentItemSetsBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseFrequentItemSetsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsFrequentItemSetsBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsFrequentItemSetsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsBucket" + } + } + ] + }, + "_types.aggregations:FrequentItemSetsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "support": { + "type": "number" + } + }, + "required": [ + "key", + "support" + ] + } + ] + }, + "_types.aggregations:ScriptedMetricAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "value": { + "type": "object" + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types.aggregations:TopHitsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "hits": { + "$ref": "#/components/schemas/_global.search._types:HitsMetadata" + } + }, + "required": [ + "hits" + ] + } + ] + }, + "_global.search._types:HitsMetadata": { + "type": "object", + "properties": { + "total": { + "description": "Total hit count information, present only if `track_total_hits` wasn't `false` in the search request.", + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:TotalHits" + }, + { + "type": "number" + } + ] + }, + "hits": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Hit" + } + }, + "max_score": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + } + }, + "required": [ + "hits" + ] + }, + "_global.search._types:TotalHits": { + "type": "object", + "properties": { + "relation": { + "$ref": "#/components/schemas/_global.search._types:TotalHitsRelation" + }, + "value": { + "type": "number" + } + }, + "required": [ + "relation", + "value" + ] + }, + "_global.search._types:TotalHitsRelation": { + "type": "string", + "enum": [ + "eq", + "gte" + ] + }, + "_global.search._types:Hit": { + "type": "object", + "properties": { + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_score": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "_explanation": { + "$ref": "#/components/schemas/_global.explain:Explanation" + }, + "fields": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "highlight": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "inner_hits": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.search._types:InnerHitsResult" + } + }, + "matched_queries": { + "type": "array", + "items": { + "type": "string" + } + }, + "_nested": { + "$ref": "#/components/schemas/_global.search._types:NestedIdentity" + }, + "_ignored": { + "type": "array", + "items": { + "type": "string" + } + }, + "ignored_field_values": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "_shard": { + "type": "string" + }, + "_node": { + "type": "string" + }, + "_routing": { + "type": "string" + }, + "_source": { + "type": "object" + }, + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "_primary_term": { + "type": "number" + }, + "_version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "sort": { + "$ref": "#/components/schemas/_types:SortResults" + } + }, + "required": [ + "_index", + "_id" + ] + }, + "_types:IndexName": { + "type": "string" + }, + "_global.explain:Explanation": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.explain:ExplanationDetail" + } + }, + "value": { + "type": "number" + } + }, + "required": [ + "description", + "details", + "value" + ] + }, + "_global.explain:ExplanationDetail": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.explain:ExplanationDetail" + } + }, + "value": { + "type": "number" + } + }, + "required": [ + "description", + "value" + ] + }, + "_global.search._types:InnerHitsResult": { + "type": "object", + "properties": { + "hits": { + "$ref": "#/components/schemas/_global.search._types:HitsMetadata" + } + }, + "required": [ + "hits" + ] + }, + "_global.search._types:NestedIdentity": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "offset": { + "type": "number" + }, + "_nested": { + "$ref": "#/components/schemas/_global.search._types:NestedIdentity" + } + }, + "required": [ + "field", + "offset" + ] + }, + "_types:Field": { + "description": "Path to field or array of paths. Some API's support wildcards in the path to select multiple fields.", + "type": "string" + }, + "_types:SequenceNumber": { + "type": "number" + }, + "_types:VersionNumber": { + "type": "number" + }, + "_types:SortResults": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:FieldValue" + } + }, + "_types.aggregations:InferenceAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "value": { + "$ref": "#/components/schemas/_types:FieldValue" + }, + "feature_importance": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:InferenceFeatureImportance" + } + }, + "top_classes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:InferenceTopClassEntry" + } + }, + "warning": { + "type": "string" + } + } + } + ] + }, + "_types.aggregations:InferenceFeatureImportance": { + "type": "object", + "properties": { + "feature_name": { + "type": "string" + }, + "importance": { + "type": "number" + }, + "classes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:InferenceClassImportance" + } + } + }, + "required": [ + "feature_name" + ] + }, + "_types.aggregations:InferenceClassImportance": { + "type": "object", + "properties": { + "class_name": { + "type": "string" + }, + "importance": { + "type": "number" + } + }, + "required": [ + "class_name", + "importance" + ] + }, + "_types.aggregations:InferenceTopClassEntry": { + "type": "object", + "properties": { + "class_name": { + "$ref": "#/components/schemas/_types:FieldValue" + }, + "class_probability": { + "type": "number" + }, + "class_score": { + "type": "number" + } + }, + "required": [ + "class_name", + "class_probability", + "class_score" + ] + }, + "_types.aggregations:StringStatsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "min_length": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "max_length": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "avg_length": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "entropy": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "distribution": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "min_length_as_string": { + "type": "string" + }, + "max_length_as_string": { + "type": "string" + }, + "avg_length_as_string": { + "type": "string" + } + }, + "required": [ + "count", + "min_length", + "max_length", + "avg_length", + "entropy" + ] + } + ] + }, + "_types.aggregations:BoxPlotAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "min": { + "type": "number" + }, + "max": { + "type": "number" + }, + "q1": { + "type": "number" + }, + "q2": { + "type": "number" + }, + "q3": { + "type": "number" + }, + "lower": { + "type": "number" + }, + "upper": { + "type": "number" + }, + "min_as_string": { + "type": "string" + }, + "max_as_string": { + "type": "string" + }, + "q1_as_string": { + "type": "string" + }, + "q2_as_string": { + "type": "string" + }, + "q3_as_string": { + "type": "string" + }, + "lower_as_string": { + "type": "string" + }, + "upper_as_string": { + "type": "string" + } + }, + "required": [ + "min", + "max", + "q1", + "q2", + "q3", + "lower", + "upper" + ] + } + ] + }, + "_types.aggregations:TopMetricsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "top": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:TopMetrics" + } + } + }, + "required": [ + "top" + ] + } + ] + }, + "_types.aggregations:TopMetrics": { + "type": "object", + "properties": { + "sort": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:FieldValue" + }, + { + "nullable": true, + "type": "string" + } + ] + } + }, + "metrics": { + "type": "object", + "additionalProperties": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:FieldValue" + }, + { + "nullable": true, + "type": "string" + } + ] + } + } + }, + "required": [ + "sort", + "metrics" + ] + }, + "_types.aggregations:TTestAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "value_as_string": { + "type": "string" + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types.aggregations:RateAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "value": { + "type": "number" + }, + "value_as_string": { + "type": "string" + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types.aggregations:CumulativeCardinalityAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "value": { + "type": "number" + }, + "value_as_string": { + "type": "string" + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types.aggregations:MatrixStatsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "doc_count": { + "type": "number" + }, + "fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:MatrixStatsFields" + } + } + }, + "required": [ + "doc_count" + ] + } + ] + }, + "_types.aggregations:MatrixStatsFields": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Field" + }, + "count": { + "type": "number" + }, + "mean": { + "type": "number" + }, + "variance": { + "type": "number" + }, + "skewness": { + "type": "number" + }, + "kurtosis": { + "type": "number" + }, + "covariance": { + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "correlation": { + "type": "object", + "additionalProperties": { + "type": "number" + } + } + }, + "required": [ + "name", + "count", + "mean", + "variance", + "skewness", + "kurtosis", + "covariance", + "correlation" + ] + }, + "_types.aggregations:GeoLineAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "geometry": { + "$ref": "#/components/schemas/_types:GeoLine" + }, + "properties": { + "type": "object" + } + }, + "required": [ + "type", + "geometry", + "properties" + ] + } + ] + }, + "_types:GeoLine": { + "type": "object", + "properties": { + "type": { + "description": "Always `\"LineString\"`", + "type": "string" + }, + "coordinates": { + "description": "Array of `[lon, lat]` coordinates", + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number" + } + } + } + }, + "required": [ + "type", + "coordinates" + ] + }, + "_types:ClusterStatistics": { + "type": "object", + "properties": { + "skipped": { + "type": "number" + }, + "successful": { + "type": "number" + }, + "total": { + "type": "number" + } + }, + "required": [ + "skipped", + "successful", + "total" + ] + }, + "_global.search._types:Profile": { + "type": "object", + "properties": { + "shards": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:ShardProfile" + } + } + }, + "required": [ + "shards" + ] + }, + "_global.search._types:ShardProfile": { + "type": "object", + "properties": { + "aggregations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:AggregationProfile" + } + }, + "id": { + "type": "string" + }, + "searches": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:SearchProfile" + } + }, + "fetch": { + "$ref": "#/components/schemas/_global.search._types:FetchProfile" + } + }, + "required": [ + "aggregations", + "id", + "searches" + ] + }, + "_global.search._types:AggregationProfile": { + "type": "object", + "properties": { + "breakdown": { + "$ref": "#/components/schemas/_global.search._types:AggregationBreakdown" + }, + "description": { + "type": "string" + }, + "time_in_nanos": { + "$ref": "#/components/schemas/_types:DurationValueUnitNanos" + }, + "type": { + "type": "string" + }, + "debug": { + "$ref": "#/components/schemas/_global.search._types:AggregationProfileDebug" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:AggregationProfile" + } + } + }, + "required": [ + "breakdown", + "description", + "time_in_nanos", + "type" + ] + }, + "_global.search._types:AggregationBreakdown": { + "type": "object", + "properties": { + "build_aggregation": { + "type": "number" + }, + "build_aggregation_count": { + "type": "number" + }, + "build_leaf_collector": { + "type": "number" + }, + "build_leaf_collector_count": { + "type": "number" + }, + "collect": { + "type": "number" + }, + "collect_count": { + "type": "number" + }, + "initialize": { + "type": "number" + }, + "initialize_count": { + "type": "number" + }, + "post_collection": { + "type": "number" + }, + "post_collection_count": { + "type": "number" + }, + "reduce": { + "type": "number" + }, + "reduce_count": { + "type": "number" + } + }, + "required": [ + "build_aggregation", + "build_aggregation_count", + "build_leaf_collector", + "build_leaf_collector_count", + "collect", + "collect_count", + "initialize", + "initialize_count", + "reduce", + "reduce_count" + ] + }, + "_types:DurationValueUnitNanos": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:UnitNanos" + } + ] + }, + "_types:UnitNanos": { + "description": "Time unit for nanoseconds", + "type": "number" + }, + "_global.search._types:AggregationProfileDebug": { + "type": "object", + "properties": { + "segments_with_multi_valued_ords": { + "type": "number" + }, + "collection_strategy": { + "type": "string" + }, + "segments_with_single_valued_ords": { + "type": "number" + }, + "total_buckets": { + "type": "number" + }, + "built_buckets": { + "type": "number" + }, + "result_strategy": { + "type": "string" + }, + "has_filter": { + "type": "boolean" + }, + "delegate": { + "type": "string" + }, + "delegate_debug": { + "$ref": "#/components/schemas/_global.search._types:AggregationProfileDebug" + }, + "chars_fetched": { + "type": "number" + }, + "extract_count": { + "type": "number" + }, + "extract_ns": { + "type": "number" + }, + "values_fetched": { + "type": "number" + }, + "collect_analyzed_ns": { + "type": "number" + }, + "collect_analyzed_count": { + "type": "number" + }, + "surviving_buckets": { + "type": "number" + }, + "ordinals_collectors_used": { + "type": "number" + }, + "ordinals_collectors_overhead_too_high": { + "type": "number" + }, + "string_hashing_collectors_used": { + "type": "number" + }, + "numeric_collectors_used": { + "type": "number" + }, + "empty_collectors_used": { + "type": "number" + }, + "deferred_aggregators": { + "type": "array", + "items": { + "type": "string" + } + }, + "segments_with_doc_count_field": { + "type": "number" + }, + "segments_with_deleted_docs": { + "type": "number" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:AggregationProfileDelegateDebugFilter" + } + }, + "segments_counted": { + "type": "number" + }, + "segments_collected": { + "type": "number" + }, + "map_reducer": { + "type": "string" + } + } + }, + "_global.search._types:AggregationProfileDelegateDebugFilter": { + "type": "object", + "properties": { + "results_from_metadata": { + "type": "number" + }, + "query": { + "type": "string" + }, + "specialized_for": { + "type": "string" + }, + "segments_counted_in_constant_time": { + "type": "number" + } + } + }, + "_global.search._types:SearchProfile": { + "type": "object", + "properties": { + "collector": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Collector" + } + }, + "query": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:QueryProfile" + } + }, + "rewrite_time": { + "type": "number" + } + }, + "required": [ + "collector", + "query", + "rewrite_time" + ] + }, + "_global.search._types:Collector": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "time_in_nanos": { + "$ref": "#/components/schemas/_types:DurationValueUnitNanos" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Collector" + } + } + }, + "required": [ + "name", + "reason", + "time_in_nanos" + ] + }, + "_global.search._types:QueryProfile": { + "type": "object", + "properties": { + "breakdown": { + "$ref": "#/components/schemas/_global.search._types:QueryBreakdown" + }, + "description": { + "type": "string" + }, + "time_in_nanos": { + "$ref": "#/components/schemas/_types:DurationValueUnitNanos" + }, + "type": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:QueryProfile" + } + } + }, + "required": [ + "breakdown", + "description", + "time_in_nanos", + "type" + ] + }, + "_global.search._types:QueryBreakdown": { + "type": "object", + "properties": { + "advance": { + "type": "number" + }, + "advance_count": { + "type": "number" + }, + "build_scorer": { + "type": "number" + }, + "build_scorer_count": { + "type": "number" + }, + "create_weight": { + "type": "number" + }, + "create_weight_count": { + "type": "number" + }, + "match": { + "type": "number" + }, + "match_count": { + "type": "number" + }, + "shallow_advance": { + "type": "number" + }, + "shallow_advance_count": { + "type": "number" + }, + "next_doc": { + "type": "number" + }, + "next_doc_count": { + "type": "number" + }, + "score": { + "type": "number" + }, + "score_count": { + "type": "number" + }, + "compute_max_score": { + "type": "number" + }, + "compute_max_score_count": { + "type": "number" + }, + "set_min_competitive_score": { + "type": "number" + }, + "set_min_competitive_score_count": { + "type": "number" + } + }, + "required": [ + "advance", + "advance_count", + "build_scorer", + "build_scorer_count", + "create_weight", + "create_weight_count", + "match", + "match_count", + "shallow_advance", + "shallow_advance_count", + "next_doc", + "next_doc_count", + "score", + "score_count", + "compute_max_score", + "compute_max_score_count", + "set_min_competitive_score", + "set_min_competitive_score_count" + ] + }, + "_global.search._types:FetchProfile": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "time_in_nanos": { + "$ref": "#/components/schemas/_types:DurationValueUnitNanos" + }, + "breakdown": { + "$ref": "#/components/schemas/_global.search._types:FetchProfileBreakdown" + }, + "debug": { + "$ref": "#/components/schemas/_global.search._types:FetchProfileDebug" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:FetchProfile" + } + } + }, + "required": [ + "type", + "description", + "time_in_nanos", + "breakdown" + ] + }, + "_global.search._types:FetchProfileBreakdown": { + "type": "object", + "properties": { + "load_source": { + "type": "number" + }, + "load_source_count": { + "type": "number" + }, + "load_stored_fields": { + "type": "number" + }, + "load_stored_fields_count": { + "type": "number" + }, + "next_reader": { + "type": "number" + }, + "next_reader_count": { + "type": "number" + }, + "process_count": { + "type": "number" + }, + "process": { + "type": "number" + } + } + }, + "_global.search._types:FetchProfileDebug": { + "type": "object", + "properties": { + "stored_fields": { + "type": "array", + "items": { + "type": "string" + } + }, + "fast_path": { + "type": "number" + } + } + }, + "_types:ScrollId": { + "type": "string" + }, + "_types:ShardStatistics": { + "type": "object", + "properties": { + "failed": { + "$ref": "#/components/schemas/_types:uint" + }, + "successful": { + "$ref": "#/components/schemas/_types:uint" + }, + "total": { + "$ref": "#/components/schemas/_types:uint" + }, + "failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ShardFailure" + } + }, + "skipped": { + "$ref": "#/components/schemas/_types:uint" + } + }, + "required": [ + "failed", + "successful", + "total" + ] + }, + "_types:uint": { + "type": "number" + }, + "_types:ShardFailure": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "node": { + "type": "string" + }, + "reason": { + "$ref": "#/components/schemas/_types:ErrorCause" + }, + "shard": { + "type": "number" + }, + "status": { + "type": "string" + } + }, + "required": [ + "reason", + "shard" + ] + }, + "_types:ErrorCause": { + "type": "object", + "properties": { + "type": { + "description": "The type of error", + "type": "string" + }, + "reason": { + "description": "A human-readable explanation of the error, in english", + "type": "string" + }, + "stack_trace": { + "description": "The server stack trace. Present only if the `error_trace=true` parameter was sent with the request.", + "type": "string" + }, + "caused_by": { + "$ref": "#/components/schemas/_types:ErrorCause" + }, + "root_cause": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + }, + "suppressed": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + } + }, + "required": [ + "type" + ] + }, + "_global.search._types:Suggest": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:CompletionSuggest" + }, + { + "$ref": "#/components/schemas/_global.search._types:PhraseSuggest" + }, + { + "$ref": "#/components/schemas/_global.search._types:TermSuggest" + } + ] + }, + "_global.search._types:CompletionSuggest": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.search._types:SuggestBase" + }, + { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:CompletionSuggestOption" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:CompletionSuggestOption" + } + } + ] + } + }, + "required": [ + "options" + ] + } + ] + }, + "_global.search._types:CompletionSuggestOption": { + "type": "object", + "properties": { + "collate_match": { + "type": "boolean" + }, + "contexts": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Context" + } + } + }, + "fields": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "_id": { + "type": "string" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "_routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "_score": { + "type": "number" + }, + "_source": { + "type": "object" + }, + "text": { + "type": "string" + }, + "score": { + "type": "number" + } + }, + "required": [ + "text" + ] + }, + "_global.search._types:Context": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-mlt-query.html#_document_input_parameters" + }, + "description": "Text or location that we want similar documents for or a lookup to a document's field for the text.", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/_types:GeoLocation" + } + ] + }, + "_types:Routing": { + "type": "string" + }, + "_global.search._types:SuggestBase": { + "type": "object", + "properties": { + "length": { + "type": "number" + }, + "offset": { + "type": "number" + }, + "text": { + "type": "string" + } + }, + "required": [ + "length", + "offset", + "text" + ] + }, + "_global.search._types:PhraseSuggest": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.search._types:SuggestBase" + }, + { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:PhraseSuggestOption" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:PhraseSuggestOption" + } + } + ] + } + }, + "required": [ + "options" + ] + } + ] + }, + "_global.search._types:PhraseSuggestOption": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "score": { + "type": "number" + }, + "highlighted": { + "type": "string" + }, + "collate_match": { + "type": "boolean" + } + }, + "required": [ + "text", + "score" + ] + }, + "_global.search._types:TermSuggest": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.search._types:SuggestBase" + }, + { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:TermSuggestOption" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:TermSuggestOption" + } + } + ] + } + }, + "required": [ + "options" + ] + } + ] + }, + "_global.search._types:TermSuggestOption": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "score": { + "type": "number" + }, + "freq": { + "type": "number" + }, + "highlighted": { + "type": "string" + }, + "collate_match": { + "type": "boolean" + } + }, + "required": [ + "text", + "score", + "freq" + ] + }, + "async_search._types:AsyncSearchResponseBase": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "is_partial": { + "description": "When the query is no longer running, this property indicates whether the search failed or was successfully completed on all shards.\nWhile the query is running, `is_partial` is always set to `true`.", + "type": "boolean" + }, + "is_running": { + "description": "Indicates whether the search is still running or has completed.\nNOTE: If the search failed after some shards returned their results or the node that is coordinating the async search dies, results may be partial even though `is_running` is `false`.", + "type": "boolean" + }, + "expiration_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "expiration_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "start_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "start_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + } + }, + "required": [ + "is_partial", + "is_running", + "expiration_time_in_millis", + "start_time_in_millis" + ] + }, + "_types:DateTime": { + "description": "A date and time, either as a string whose format can depend on the context (defaulting to ISO 8601), or a\nnumber of milliseconds since the Epoch. Elasticsearch accepts both as input, but will generally output a string\nrepresentation.", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + } + ] + }, + "async_search.status:StatusResponseBase": { + "allOf": [ + { + "$ref": "#/components/schemas/async_search._types:AsyncSearchResponseBase" + }, + { + "type": "object", + "properties": { + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "completion_status": { + "description": "If the async search completed, this field shows the status code of the search.\nFor example, 200 indicates that the async search was successfully completed.\n503 indicates that the async search was completed with an error.", + "type": "number" + } + }, + "required": [ + "_shards" + ] + } + ] + }, + "_types:Indices": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:IndexName" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:IndexName" + } + } + ] + }, + "_types.query_dsl:Operator": { + "type": "string", + "enum": [ + "and", + "or" + ] + }, + "_types:Fields": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Field" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + } + ] + }, + "_types:ExpandWildcards": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:ExpandWildcard" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ExpandWildcard" + } + } + ] + }, + "_types:ExpandWildcard": { + "type": "string", + "enum": [ + "all", + "open", + "closed", + "hidden", + "none" + ] + }, + "_types:VersionString": { + "type": "string" + }, + "_types:SearchType": { + "type": "string", + "enum": [ + "query_then_fetch", + "dfs_query_then_fetch" + ] + }, + "_types:SuggestMode": { + "type": "string", + "enum": [ + "missing", + "popular", + "always" + ] + }, + "_global.search._types:TrackHits": { + "description": "Number of hits matching the query to count accurately. If true, the exact\nnumber of hits is returned at the cost of some performance. If false, the\nresponse does not include the total number of hits matching the query.\nDefaults to 10,000 hits.", + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "number" + } + ] + }, + "_global.search._types:SourceConfigParam": { + "description": "Defines how to fetch a source. Fetching can be disabled entirely, or the source can be filtered.\nUsed as a query parameter along with the `_source_includes` and `_source_excludes` parameters.", + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "#/components/schemas/_types:Fields" + } + ] + }, + "_types.aggregations:AggregationContainer": { + "allOf": [ + { + "type": "object", + "properties": { + "aggregations": { + "description": "Sub-aggregations for this aggregation.\nOnly applies to bucket aggregations.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "meta": { + "$ref": "#/components/schemas/_types:Metadata" + } + } + }, + { + "type": "object", + "properties": { + "adjacency_matrix": { + "$ref": "#/components/schemas/_types.aggregations:AdjacencyMatrixAggregation" + }, + "auto_date_histogram": { + "$ref": "#/components/schemas/_types.aggregations:AutoDateHistogramAggregation" + }, + "avg": { + "$ref": "#/components/schemas/_types.aggregations:AverageAggregation" + }, + "avg_bucket": { + "$ref": "#/components/schemas/_types.aggregations:AverageBucketAggregation" + }, + "boxplot": { + "$ref": "#/components/schemas/_types.aggregations:BoxplotAggregation" + }, + "bucket_script": { + "$ref": "#/components/schemas/_types.aggregations:BucketScriptAggregation" + }, + "bucket_selector": { + "$ref": "#/components/schemas/_types.aggregations:BucketSelectorAggregation" + }, + "bucket_sort": { + "$ref": "#/components/schemas/_types.aggregations:BucketSortAggregation" + }, + "bucket_count_ks_test": { + "$ref": "#/components/schemas/_types.aggregations:BucketKsAggregation" + }, + "bucket_correlation": { + "$ref": "#/components/schemas/_types.aggregations:BucketCorrelationAggregation" + }, + "cardinality": { + "$ref": "#/components/schemas/_types.aggregations:CardinalityAggregation" + }, + "categorize_text": { + "$ref": "#/components/schemas/_types.aggregations:CategorizeTextAggregation" + }, + "children": { + "$ref": "#/components/schemas/_types.aggregations:ChildrenAggregation" + }, + "composite": { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregation" + }, + "cumulative_cardinality": { + "$ref": "#/components/schemas/_types.aggregations:CumulativeCardinalityAggregation" + }, + "cumulative_sum": { + "$ref": "#/components/schemas/_types.aggregations:CumulativeSumAggregation" + }, + "date_histogram": { + "$ref": "#/components/schemas/_types.aggregations:DateHistogramAggregation" + }, + "date_range": { + "$ref": "#/components/schemas/_types.aggregations:DateRangeAggregation" + }, + "derivative": { + "$ref": "#/components/schemas/_types.aggregations:DerivativeAggregation" + }, + "diversified_sampler": { + "$ref": "#/components/schemas/_types.aggregations:DiversifiedSamplerAggregation" + }, + "extended_stats": { + "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsAggregation" + }, + "extended_stats_bucket": { + "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsBucketAggregation" + }, + "frequent_item_sets": { + "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsAggregation" + }, + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "filters": { + "$ref": "#/components/schemas/_types.aggregations:FiltersAggregation" + }, + "geo_bounds": { + "$ref": "#/components/schemas/_types.aggregations:GeoBoundsAggregation" + }, + "geo_centroid": { + "$ref": "#/components/schemas/_types.aggregations:GeoCentroidAggregation" + }, + "geo_distance": { + "$ref": "#/components/schemas/_types.aggregations:GeoDistanceAggregation" + }, + "geohash_grid": { + "$ref": "#/components/schemas/_types.aggregations:GeoHashGridAggregation" + }, + "geo_line": { + "$ref": "#/components/schemas/_types.aggregations:GeoLineAggregation" + }, + "geotile_grid": { + "$ref": "#/components/schemas/_types.aggregations:GeoTileGridAggregation" + }, + "geohex_grid": { + "$ref": "#/components/schemas/_types.aggregations:GeohexGridAggregation" + }, + "global": { + "$ref": "#/components/schemas/_types.aggregations:GlobalAggregation" + }, + "histogram": { + "$ref": "#/components/schemas/_types.aggregations:HistogramAggregation" + }, + "ip_range": { + "$ref": "#/components/schemas/_types.aggregations:IpRangeAggregation" + }, + "ip_prefix": { + "$ref": "#/components/schemas/_types.aggregations:IpPrefixAggregation" + }, + "inference": { + "$ref": "#/components/schemas/_types.aggregations:InferenceAggregation" + }, + "line": { + "$ref": "#/components/schemas/_types.aggregations:GeoLineAggregation" + }, + "matrix_stats": { + "$ref": "#/components/schemas/_types.aggregations:MatrixStatsAggregation" + }, + "max": { + "$ref": "#/components/schemas/_types.aggregations:MaxAggregation" + }, + "max_bucket": { + "$ref": "#/components/schemas/_types.aggregations:MaxBucketAggregation" + }, + "median_absolute_deviation": { + "$ref": "#/components/schemas/_types.aggregations:MedianAbsoluteDeviationAggregation" + }, + "min": { + "$ref": "#/components/schemas/_types.aggregations:MinAggregation" + }, + "min_bucket": { + "$ref": "#/components/schemas/_types.aggregations:MinBucketAggregation" + }, + "missing": { + "$ref": "#/components/schemas/_types.aggregations:MissingAggregation" + }, + "moving_avg": { + "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregation" + }, + "moving_percentiles": { + "$ref": "#/components/schemas/_types.aggregations:MovingPercentilesAggregation" + }, + "moving_fn": { + "$ref": "#/components/schemas/_types.aggregations:MovingFunctionAggregation" + }, + "multi_terms": { + "$ref": "#/components/schemas/_types.aggregations:MultiTermsAggregation" + }, + "nested": { + "$ref": "#/components/schemas/_types.aggregations:NestedAggregation" + }, + "normalize": { + "$ref": "#/components/schemas/_types.aggregations:NormalizeAggregation" + }, + "parent": { + "$ref": "#/components/schemas/_types.aggregations:ParentAggregation" + }, + "percentile_ranks": { + "$ref": "#/components/schemas/_types.aggregations:PercentileRanksAggregation" + }, + "percentiles": { + "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregation" + }, + "percentiles_bucket": { + "$ref": "#/components/schemas/_types.aggregations:PercentilesBucketAggregation" + }, + "range": { + "$ref": "#/components/schemas/_types.aggregations:RangeAggregation" + }, + "rare_terms": { + "$ref": "#/components/schemas/_types.aggregations:RareTermsAggregation" + }, + "rate": { + "$ref": "#/components/schemas/_types.aggregations:RateAggregation" + }, + "reverse_nested": { + "$ref": "#/components/schemas/_types.aggregations:ReverseNestedAggregation" + }, + "sampler": { + "$ref": "#/components/schemas/_types.aggregations:SamplerAggregation" + }, + "scripted_metric": { + "$ref": "#/components/schemas/_types.aggregations:ScriptedMetricAggregation" + }, + "serial_diff": { + "$ref": "#/components/schemas/_types.aggregations:SerialDifferencingAggregation" + }, + "significant_terms": { + "$ref": "#/components/schemas/_types.aggregations:SignificantTermsAggregation" + }, + "significant_text": { + "$ref": "#/components/schemas/_types.aggregations:SignificantTextAggregation" + }, + "stats": { + "$ref": "#/components/schemas/_types.aggregations:StatsAggregation" + }, + "stats_bucket": { + "$ref": "#/components/schemas/_types.aggregations:StatsBucketAggregation" + }, + "string_stats": { + "$ref": "#/components/schemas/_types.aggregations:StringStatsAggregation" + }, + "sum": { + "$ref": "#/components/schemas/_types.aggregations:SumAggregation" + }, + "sum_bucket": { + "$ref": "#/components/schemas/_types.aggregations:SumBucketAggregation" + }, + "terms": { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregation" + }, + "top_hits": { + "$ref": "#/components/schemas/_types.aggregations:TopHitsAggregation" + }, + "t_test": { + "$ref": "#/components/schemas/_types.aggregations:TTestAggregation" + }, + "top_metrics": { + "$ref": "#/components/schemas/_types.aggregations:TopMetricsAggregation" + }, + "value_count": { + "$ref": "#/components/schemas/_types.aggregations:ValueCountAggregation" + }, + "weighted_avg": { + "$ref": "#/components/schemas/_types.aggregations:WeightedAverageAggregation" + }, + "variable_width_histogram": { + "$ref": "#/components/schemas/_types.aggregations:VariableWidthHistogramAggregation" + } + }, + "minProperties": 1, + "maxProperties": 1 + } + ] + }, + "_types.aggregations:AdjacencyMatrixAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "filters": { + "description": "Filters used to create buckets.\nAt least one filter is required.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + } + } + ] + }, + "_types.query_dsl:QueryContainer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl.html" + }, + "type": "object", + "properties": { + "bool": { + "$ref": "#/components/schemas/_types.query_dsl:BoolQuery" + }, + "boosting": { + "$ref": "#/components/schemas/_types.query_dsl:BoostingQuery" + }, + "common": { + "deprecated": true, + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:CommonTermsQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "combined_fields": { + "$ref": "#/components/schemas/_types.query_dsl:CombinedFieldsQuery" + }, + "constant_score": { + "$ref": "#/components/schemas/_types.query_dsl:ConstantScoreQuery" + }, + "dis_max": { + "$ref": "#/components/schemas/_types.query_dsl:DisMaxQuery" + }, + "distance_feature": { + "$ref": "#/components/schemas/_types.query_dsl:DistanceFeatureQuery" + }, + "exists": { + "$ref": "#/components/schemas/_types.query_dsl:ExistsQuery" + }, + "function_score": { + "$ref": "#/components/schemas/_types.query_dsl:FunctionScoreQuery" + }, + "fuzzy": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-fuzzy-query.html" + }, + "description": "Returns documents that contain terms similar to the search term, as measured by a Levenshtein edit distance.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:FuzzyQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "geo_bounding_box": { + "$ref": "#/components/schemas/_types.query_dsl:GeoBoundingBoxQuery" + }, + "geo_distance": { + "$ref": "#/components/schemas/_types.query_dsl:GeoDistanceQuery" + }, + "geo_polygon": { + "$ref": "#/components/schemas/_types.query_dsl:GeoPolygonQuery" + }, + "geo_shape": { + "$ref": "#/components/schemas/_types.query_dsl:GeoShapeQuery" + }, + "has_child": { + "$ref": "#/components/schemas/_types.query_dsl:HasChildQuery" + }, + "has_parent": { + "$ref": "#/components/schemas/_types.query_dsl:HasParentQuery" + }, + "ids": { + "$ref": "#/components/schemas/_types.query_dsl:IdsQuery" + }, + "intervals": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-intervals-query.html" + }, + "description": "Returns documents based on the order and proximity of matching terms.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "match": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-match-query.html" + }, + "description": "Returns documents that match a provided text, number, date or boolean value.\nThe provided text is analyzed before matching.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:MatchQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "match_all": { + "$ref": "#/components/schemas/_types.query_dsl:MatchAllQuery" + }, + "match_bool_prefix": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-match-bool-prefix-query.html" + }, + "description": "Analyzes its input and constructs a `bool` query from the terms.\nEach term except the last is used in a `term` query.\nThe last term is used in a prefix query.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:MatchBoolPrefixQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "match_none": { + "$ref": "#/components/schemas/_types.query_dsl:MatchNoneQuery" + }, + "match_phrase": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-match-query-phrase.html" + }, + "description": "Analyzes the text and creates a phrase query out of the analyzed text.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:MatchPhraseQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "match_phrase_prefix": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-match-query-phrase-prefix.html" + }, + "description": "Returns documents that contain the words of a provided text, in the same order as provided.\nThe last term of the provided text is treated as a prefix, matching any words that begin with that term.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:MatchPhrasePrefixQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "more_like_this": { + "$ref": "#/components/schemas/_types.query_dsl:MoreLikeThisQuery" + }, + "multi_match": { + "$ref": "#/components/schemas/_types.query_dsl:MultiMatchQuery" + }, + "nested": { + "$ref": "#/components/schemas/_types.query_dsl:NestedQuery" + }, + "parent_id": { + "$ref": "#/components/schemas/_types.query_dsl:ParentIdQuery" + }, + "percolate": { + "$ref": "#/components/schemas/_types.query_dsl:PercolateQuery" + }, + "pinned": { + "$ref": "#/components/schemas/_types.query_dsl:PinnedQuery" + }, + "prefix": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-prefix-query.html" + }, + "description": "Returns documents that contain a specific prefix in a provided field.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:PrefixQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "query_string": { + "$ref": "#/components/schemas/_types.query_dsl:QueryStringQuery" + }, + "range": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-range-query.html" + }, + "description": "Returns documents that contain terms within a provided range.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:RangeQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "rank_feature": { + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureQuery" + }, + "regexp": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-regexp-query.html" + }, + "description": "Returns documents that contain terms matching a regular expression.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:RegexpQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "rule_query": { + "$ref": "#/components/schemas/_types.query_dsl:RuleQuery" + }, + "script": { + "$ref": "#/components/schemas/_types.query_dsl:ScriptQuery" + }, + "script_score": { + "$ref": "#/components/schemas/_types.query_dsl:ScriptScoreQuery" + }, + "shape": { + "$ref": "#/components/schemas/_types.query_dsl:ShapeQuery" + }, + "simple_query_string": { + "$ref": "#/components/schemas/_types.query_dsl:SimpleQueryStringQuery" + }, + "span_containing": { + "$ref": "#/components/schemas/_types.query_dsl:SpanContainingQuery" + }, + "field_masking_span": { + "$ref": "#/components/schemas/_types.query_dsl:SpanFieldMaskingQuery" + }, + "span_first": { + "$ref": "#/components/schemas/_types.query_dsl:SpanFirstQuery" + }, + "span_multi": { + "$ref": "#/components/schemas/_types.query_dsl:SpanMultiTermQuery" + }, + "span_near": { + "$ref": "#/components/schemas/_types.query_dsl:SpanNearQuery" + }, + "span_not": { + "$ref": "#/components/schemas/_types.query_dsl:SpanNotQuery" + }, + "span_or": { + "$ref": "#/components/schemas/_types.query_dsl:SpanOrQuery" + }, + "span_term": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-span-term-query.html" + }, + "description": "Matches spans containing a term.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:SpanTermQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "span_within": { + "$ref": "#/components/schemas/_types.query_dsl:SpanWithinQuery" + }, + "term": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-term-query.html" + }, + "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": "#/components/schemas/_types.query_dsl:TermQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "terms": { + "$ref": "#/components/schemas/_types.query_dsl:TermsQuery" + }, + "terms_set": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-terms-set-query.html" + }, + "description": "Returns documents that contain a minimum number of exact terms in a provided field.\nTo return a document, a required number of terms must exactly match the field values, including whitespace and capitalization.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:TermsSetQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "text_expansion": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-text-expansion-query.html" + }, + "description": "Uses a natural language processing model to convert the query text into a list of token-weight pairs which are then used in a query against a rank features field.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:TextExpansionQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "wildcard": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-wildcard-query.html" + }, + "description": "Returns documents that contain terms matching a wildcard pattern.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:WildcardQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "wrapper": { + "$ref": "#/components/schemas/_types.query_dsl:WrapperQuery" + }, + "type": { + "$ref": "#/components/schemas/_types.query_dsl:TypeQuery" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_types.query_dsl:BoolQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "filter": { + "description": "The clause (query) must appear in matching documents.\nHowever, unlike `must`, the score of the query will be ignored.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + ] + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "must": { + "description": "The clause (query) must appear in matching documents and will contribute to the score.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + ] + }, + "must_not": { + "description": "The clause (query) must not appear in the matching documents.\nBecause scoring is ignored, a score of `0` is returned for all documents.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + ] + }, + "should": { + "description": "The clause (query) should appear in the matching document.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + ] + } + } + } + ] + }, + "_types:MinimumShouldMatch": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-minimum-should-match.html" + }, + "description": "The minimum number of terms that should match as integer, percentage or range", + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "_types.query_dsl:QueryBase": { + "type": "object", + "properties": { + "boost": { + "description": "Floating point number used to decrease or increase the relevance scores of the query.\nBoost values are relative to the default value of 1.0.\nA boost value between 0 and 1.0 decreases the relevance score.\nA value greater than 1.0 increases the relevance score.", + "type": "number" + }, + "_name": { + "type": "string" + } + } + }, + "_types.query_dsl:BoostingQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "negative_boost": { + "description": "Floating point number between 0 and 1.0 used to decrease the relevance scores of documents matching the `negative` query.", + "type": "number" + }, + "negative": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "positive": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "required": [ + "negative_boost", + "negative", + "positive" + ] + } + ] + }, + "_types.query_dsl:CommonTermsQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "type": "string" + }, + "cutoff_frequency": { + "type": "number" + }, + "high_freq_operator": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "low_freq_operator": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "query": { + "type": "string" + } + }, + "required": [ + "query" + ] + } + ] + }, + "_types.query_dsl:CombinedFieldsQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "fields": { + "description": "List of fields to search. Field wildcard patterns are allowed. Only `text` fields are supported, and they must all have the same search `analyzer`.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "query": { + "description": "Text to search for in the provided `fields`.\nThe `combined_fields` query analyzes the provided text before performing a search.", + "type": "string" + }, + "auto_generate_synonyms_phrase_query": { + "description": "If true, match phrase queries are automatically created for multi-term synonyms.", + "type": "boolean" + }, + "operator": { + "$ref": "#/components/schemas/_types.query_dsl:CombinedFieldsOperator" + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "zero_terms_query": { + "$ref": "#/components/schemas/_types.query_dsl:CombinedFieldsZeroTerms" + } + }, + "required": [ + "fields", + "query" + ] + } + ] + }, + "_types.query_dsl:CombinedFieldsOperator": { + "type": "string", + "enum": [ + "or", + "and" + ] + }, + "_types.query_dsl:CombinedFieldsZeroTerms": { + "type": "string", + "enum": [ + "none", + "all" + ] + }, + "_types.query_dsl:ConstantScoreQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "required": [ + "filter" + ] + } + ] + }, + "_types.query_dsl:DisMaxQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "queries": { + "description": "One or more query clauses.\nReturned documents must match one or more of these queries.\nIf a document matches multiple queries, Elasticsearch uses the highest relevance score.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "tie_breaker": { + "description": "Floating point number between 0 and 1.0 used to increase the relevance scores of documents matching multiple query clauses.", + "type": "number" + } + }, + "required": [ + "queries" + ] + } + ] + }, + "_types.query_dsl:DistanceFeatureQuery": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:GeoDistanceFeatureQuery" + }, + { + "$ref": "#/components/schemas/_types.query_dsl:DateDistanceFeatureQuery" + } + ] + }, + "_types.query_dsl:GeoDistanceFeatureQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:DistanceFeatureQueryBaseGeoLocationDistance" + }, + { + "type": "object" + } + ] + }, + "_types.query_dsl:DistanceFeatureQueryBaseGeoLocationDistance": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "origin": { + "$ref": "#/components/schemas/_types:GeoLocation" + }, + "pivot": { + "$ref": "#/components/schemas/_types:Distance" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "origin", + "pivot", + "field" + ] + } + ] + }, + "_types:Distance": { + "type": "string" + }, + "_types.query_dsl:DateDistanceFeatureQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:DistanceFeatureQueryBaseDateMathDuration" + }, + { + "type": "object" + } + ] + }, + "_types.query_dsl:DistanceFeatureQueryBaseDateMathDuration": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "origin": { + "$ref": "#/components/schemas/_types:DateMath" + }, + "pivot": { + "$ref": "#/components/schemas/_types:Duration" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "origin", + "pivot", + "field" + ] + } + ] + }, + "_types:DateMath": { + "type": "string" + }, + "_types.query_dsl:ExistsQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + } + ] + }, + "_types.query_dsl:FunctionScoreQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "boost_mode": { + "$ref": "#/components/schemas/_types.query_dsl:FunctionBoostMode" + }, + "functions": { + "description": "One or more functions that compute a new score for each document returned by the query.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FunctionScoreContainer" + } + }, + "max_boost": { + "description": "Restricts the new score to not exceed the provided limit.", + "type": "number" + }, + "min_score": { + "description": "Excludes documents that do not meet the provided score threshold.", + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "score_mode": { + "$ref": "#/components/schemas/_types.query_dsl:FunctionScoreMode" + } + } + } + ] + }, + "_types.query_dsl:FunctionBoostMode": { + "type": "string", + "enum": [ + "multiply", + "replace", + "sum", + "avg", + "max", + "min" + ] + }, + "_types.query_dsl:FunctionScoreContainer": { + "allOf": [ + { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "weight": { + "type": "number" + } + } + }, + { + "type": "object", + "properties": { + "exp": { + "$ref": "#/components/schemas/_types.query_dsl:DecayFunction" + }, + "gauss": { + "$ref": "#/components/schemas/_types.query_dsl:DecayFunction" + }, + "linear": { + "$ref": "#/components/schemas/_types.query_dsl:DecayFunction" + }, + "field_value_factor": { + "$ref": "#/components/schemas/_types.query_dsl:FieldValueFactorScoreFunction" + }, + "random_score": { + "$ref": "#/components/schemas/_types.query_dsl:RandomScoreFunction" + }, + "script_score": { + "$ref": "#/components/schemas/_types.query_dsl:ScriptScoreFunction" + } + }, + "minProperties": 1, + "maxProperties": 1 + } + ] + }, + "_types.query_dsl:DecayFunction": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:DateDecayFunction" + }, + { + "$ref": "#/components/schemas/_types.query_dsl:NumericDecayFunction" + }, + { + "$ref": "#/components/schemas/_types.query_dsl:GeoDecayFunction" + } + ] + }, + "_types.query_dsl:DateDecayFunction": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:DecayFunctionBase" + }, + { + "type": "object" + } + ] + }, + "_types.query_dsl:DecayFunctionBase": { + "type": "object", + "properties": { + "multi_value_mode": { + "$ref": "#/components/schemas/_types.query_dsl:MultiValueMode" + } + } + }, + "_types.query_dsl:MultiValueMode": { + "type": "string", + "enum": [ + "min", + "max", + "avg", + "sum" + ] + }, + "_types.query_dsl:NumericDecayFunction": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:DecayFunctionBase" + }, + { + "type": "object" + } + ] + }, + "_types.query_dsl:GeoDecayFunction": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:DecayFunctionBase" + }, + { + "type": "object" + } + ] + }, + "_types.query_dsl:FieldValueFactorScoreFunction": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "factor": { + "description": "Optional factor to multiply the field value with.", + "type": "number" + }, + "missing": { + "description": "Value used if the document doesn’t have that field.\nThe modifier and factor are still applied to it as though it were read from the document.", + "type": "number" + }, + "modifier": { + "$ref": "#/components/schemas/_types.query_dsl:FieldValueFactorModifier" + } + }, + "required": [ + "field" + ] + }, + "_types.query_dsl:FieldValueFactorModifier": { + "type": "string", + "enum": [ + "none", + "log", + "log1p", + "log2p", + "ln", + "ln1p", + "ln2p", + "square", + "sqrt", + "reciprocal" + ] + }, + "_types.query_dsl:RandomScoreFunction": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "seed": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + } + }, + "_types.query_dsl:ScriptScoreFunction": { + "type": "object", + "properties": { + "script": { + "$ref": "#/components/schemas/_types:Script" + } + }, + "required": [ + "script" + ] + }, + "_types:Script": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:InlineScript" + }, + { + "$ref": "#/components/schemas/_types:StoredScriptId" + } + ] + }, + "_types:InlineScript": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:ScriptBase" + }, + { + "type": "object", + "properties": { + "lang": { + "$ref": "#/components/schemas/_types:ScriptLanguage" + }, + "options": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "source": { + "description": "The script source.", + "type": "string" + } + }, + "required": [ + "source" + ] + } + ] + }, + "_types:ScriptLanguage": { + "type": "string", + "enum": [ + "painless", + "expression", + "mustache", + "java" + ] + }, + "_types:ScriptBase": { + "type": "object", + "properties": { + "params": { + "description": "Specifies any named parameters that are passed into the script as variables.\nUse parameters instead of hard-coded values to decrease compile time.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "_types:StoredScriptId": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:ScriptBase" + }, + { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "required": [ + "id" + ] + } + ] + }, + "_types.query_dsl:FunctionScoreMode": { + "type": "string", + "enum": [ + "multiply", + "sum", + "avg", + "first", + "max", + "min" + ] + }, + "_types.query_dsl:FuzzyQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "max_expansions": { + "description": "Maximum number of variations created.", + "type": "number" + }, + "prefix_length": { + "description": "Number of beginning characters left unchanged when creating expansions.", + "type": "number" + }, + "rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "transpositions": { + "description": "Indicates whether edits include transpositions of two adjacent characters (for example `ab` to `ba`).", + "type": "boolean" + }, + "fuzziness": { + "$ref": "#/components/schemas/_types:Fuzziness" + }, + "value": { + "description": "Term you wish to find in the provided field.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types:MultiTermQueryRewrite": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-multi-term-rewrite.html" + }, + "type": "string" + }, + "_types:Fuzziness": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/common-options.html#fuzziness" + }, + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "_types.query_dsl:GeoBoundingBoxQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/_types.query_dsl:GeoExecution" + }, + "validation_method": { + "$ref": "#/components/schemas/_types.query_dsl:GeoValidationMethod" + }, + "ignore_unmapped": { + "description": "Set to `true` to ignore an unmapped field and not match any documents for this query.\nSet to `false` to throw an exception if the field is not mapped.", + "type": "boolean" + } + } + } + ] + }, + "_types.query_dsl:GeoExecution": { + "type": "string", + "enum": [ + "memory", + "indexed" + ] + }, + "_types.query_dsl:GeoValidationMethod": { + "type": "string", + "enum": [ + "coerce", + "ignore_malformed", + "strict" + ] + }, + "_types.query_dsl:GeoDistanceQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "distance": { + "$ref": "#/components/schemas/_types:Distance" + }, + "distance_type": { + "$ref": "#/components/schemas/_types:GeoDistanceType" + }, + "validation_method": { + "$ref": "#/components/schemas/_types.query_dsl:GeoValidationMethod" + } + }, + "required": [ + "distance" + ] + } + ] + }, + "_types:GeoDistanceType": { + "type": "string", + "enum": [ + "arc", + "plane" + ] + }, + "_types.query_dsl:GeoPolygonQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "validation_method": { + "$ref": "#/components/schemas/_types.query_dsl:GeoValidationMethod" + }, + "ignore_unmapped": { + "type": "boolean" + } + } + } + ] + }, + "_types.query_dsl:GeoShapeQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "ignore_unmapped": { + "description": "Set to `true` to ignore an unmapped field and not match any documents for this query.\nSet to `false` to throw an exception if the field is not mapped.", + "type": "boolean" + } + } + } + ] + }, + "_types.query_dsl:HasChildQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "ignore_unmapped": { + "description": "Indicates whether to ignore an unmapped `type` and not return any documents instead of an error.", + "type": "boolean" + }, + "inner_hits": { + "$ref": "#/components/schemas/_global.search._types:InnerHits" + }, + "max_children": { + "description": "Maximum number of child documents that match the query allowed for a returned parent document.\nIf the parent document exceeds this limit, it is excluded from the search results.", + "type": "number" + }, + "min_children": { + "description": "Minimum number of child documents that match the query required to match the query for a returned parent document.\nIf the parent document does not meet this limit, it is excluded from the search results.", + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "score_mode": { + "$ref": "#/components/schemas/_types.query_dsl:ChildScoreMode" + }, + "type": { + "$ref": "#/components/schemas/_types:RelationName" + } + }, + "required": [ + "query", + "type" + ] + } + ] + }, + "_global.search._types:InnerHits": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "size": { + "description": "The maximum number of hits to return per `inner_hits`.", + "type": "number" + }, + "from": { + "description": "Inner hit starting document offset.", + "type": "number" + }, + "collapse": { + "$ref": "#/components/schemas/_global.search._types:FieldCollapse" + }, + "docvalue_fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "explain": { + "type": "boolean" + }, + "highlight": { + "$ref": "#/components/schemas/_global.search._types:Highlight" + }, + "ignore_unmapped": { + "type": "boolean" + }, + "script_fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "seq_no_primary_term": { + "type": "boolean" + }, + "fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "stored_field": { + "$ref": "#/components/schemas/_types:Fields" + }, + "track_scores": { + "type": "boolean" + }, + "version": { + "type": "boolean" + } + } + }, + "_types:Name": { + "type": "string" + }, + "_global.search._types:FieldCollapse": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "inner_hits": { + "description": "The number of inner hits and their sort order", + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:InnerHits" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_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": { + "$ref": "#/components/schemas/_global.search._types:FieldCollapse" + } + }, + "required": [ + "field" + ] + }, + "_types.query_dsl:FieldAndFormat": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "format": { + "description": "Format in which the values are returned.", + "type": "string" + }, + "include_unmapped": { + "type": "boolean" + } + }, + "required": [ + "field" + ] + }, + "_global.search._types:Highlight": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.search._types:HighlightBase" + }, + { + "type": "object", + "properties": { + "encoder": { + "$ref": "#/components/schemas/_global.search._types:HighlighterEncoder" + }, + "fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.search._types:HighlightField" + } + } + }, + "required": [ + "fields" + ] + } + ] + }, + "_global.search._types:HighlighterEncoder": { + "type": "string", + "enum": [ + "default", + "html" + ] + }, + "_global.search._types:HighlightField": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.search._types:HighlightBase" + }, + { + "type": "object", + "properties": { + "fragment_offset": { + "type": "number" + }, + "matched_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "analyzer": { + "$ref": "#/components/schemas/_types.analysis:Analyzer" + } + } + } + ] + }, + "_types.analysis:Analyzer": { + "discriminator": { + "propertyName": "type" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CustomAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:FingerprintAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:KeywordAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:LanguageAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:NoriAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:PatternAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:SimpleAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:StandardAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:StopAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:WhitespaceAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:IcuAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:KuromojiAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:SnowballAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:DutchAnalyzer" + } + ] + }, + "_types.analysis:CustomAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "custom" + ] + }, + "char_filter": { + "type": "array", + "items": { + "type": "string" + } + }, + "filter": { + "type": "array", + "items": { + "type": "string" + } + }, + "position_increment_gap": { + "type": "number" + }, + "position_offset_gap": { + "type": "number" + }, + "tokenizer": { + "type": "string" + } + }, + "required": [ + "type", + "tokenizer" + ] + }, + "_types.analysis:FingerprintAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "fingerprint" + ] + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "max_output_size": { + "type": "number" + }, + "preserve_original": { + "type": "boolean" + }, + "separator": { + "type": "string" + }, + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" + }, + "stopwords_path": { + "type": "string" + } + }, + "required": [ + "type", + "max_output_size", + "preserve_original", + "separator" + ] + }, + "_types.analysis:StopWords": { + "description": "Language value, such as _arabic_ or _thai_. Defaults to _english_.\nEach language value corresponds to a predefined list of stop words in Lucene. See Stop words by language for supported language values and their stop words.\nAlso accepts an array of stop words.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "_types.analysis:KeywordAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "keyword" + ] + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "type" + ] + }, + "_types.analysis:LanguageAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "language" + ] + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "language": { + "$ref": "#/components/schemas/_types.analysis:Language" + }, + "stem_exclusion": { + "type": "array", + "items": { + "type": "string" + } + }, + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" + }, + "stopwords_path": { + "type": "string" + } + }, + "required": [ + "type", + "language", + "stem_exclusion" + ] + }, + "_types.analysis:Language": { + "type": "string", + "enum": [ + "Arabic", + "Armenian", + "Basque", + "Brazilian", + "Bulgarian", + "Catalan", + "Chinese", + "Cjk", + "Czech", + "Danish", + "Dutch", + "English", + "Estonian", + "Finnish", + "French", + "Galician", + "German", + "Greek", + "Hindi", + "Hungarian", + "Indonesian", + "Irish", + "Italian", + "Latvian", + "Norwegian", + "Persian", + "Portuguese", + "Romanian", + "Russian", + "Sorani", + "Spanish", + "Swedish", + "Turkish", + "Thai" + ] + }, + "_types.analysis:NoriAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "nori" + ] + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "decompound_mode": { + "$ref": "#/components/schemas/_types.analysis:NoriDecompoundMode" + }, + "stoptags": { + "type": "array", + "items": { + "type": "string" + } + }, + "user_dictionary": { + "type": "string" + } + }, + "required": [ + "type" + ] + }, + "_types.analysis:NoriDecompoundMode": { + "type": "string", + "enum": [ + "discard", + "none", + "mixed" + ] + }, + "_types.analysis:PatternAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "pattern" + ] + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "flags": { + "type": "string" + }, + "lowercase": { + "type": "boolean" + }, + "pattern": { + "type": "string" + }, + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" + } + }, + "required": [ + "type", + "pattern" + ] + }, + "_types.analysis:SimpleAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "simple" + ] + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "type" + ] + }, + "_types.analysis:StandardAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "standard" + ] + }, + "max_token_length": { + "type": "number" + }, + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" + } + }, + "required": [ + "type" + ] + }, + "_types.analysis:StopAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "stop" + ] + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" + }, + "stopwords_path": { + "type": "string" + } + }, + "required": [ + "type" + ] + }, + "_types.analysis:WhitespaceAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "whitespace" + ] + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "type" + ] + }, + "_types.analysis:IcuAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "icu_analyzer" + ] + }, + "method": { + "$ref": "#/components/schemas/_types.analysis:IcuNormalizationType" + }, + "mode": { + "$ref": "#/components/schemas/_types.analysis:IcuNormalizationMode" + } + }, + "required": [ + "type", + "method", + "mode" + ] + }, + "_types.analysis:IcuNormalizationType": { + "type": "string", + "enum": [ + "nfc", + "nfkc", + "nfkc_cf" + ] + }, + "_types.analysis:IcuNormalizationMode": { + "type": "string", + "enum": [ + "decompose", + "compose" + ] + }, + "_types.analysis:KuromojiAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "kuromoji" + ] + }, + "mode": { + "$ref": "#/components/schemas/_types.analysis:KuromojiTokenizationMode" + }, + "user_dictionary": { + "type": "string" + } + }, + "required": [ + "type", + "mode" + ] + }, + "_types.analysis:KuromojiTokenizationMode": { + "type": "string", + "enum": [ + "normal", + "search", + "extended" + ] + }, + "_types.analysis:SnowballAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "snowball" + ] + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "language": { + "$ref": "#/components/schemas/_types.analysis:SnowballLanguage" + }, + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" + } + }, + "required": [ + "type", + "language" + ] + }, + "_types.analysis:SnowballLanguage": { + "type": "string", + "enum": [ + "Armenian", + "Basque", + "Catalan", + "Danish", + "Dutch", + "English", + "Finnish", + "French", + "German", + "German2", + "Hungarian", + "Italian", + "Kp", + "Lovins", + "Norwegian", + "Porter", + "Portuguese", + "Romanian", + "Russian", + "Spanish", + "Swedish", + "Turkish" + ] + }, + "_types.analysis:DutchAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "dutch" + ] + }, + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" + } + }, + "required": [ + "type" + ] + }, + "_global.search._types:HighlightBase": { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/_global.search._types:HighlighterType" + }, + "boundary_chars": { + "description": "A string that contains each boundary character.", + "type": "string" + }, + "boundary_max_scan": { + "description": "How far to scan for boundary characters.", + "type": "number" + }, + "boundary_scanner": { + "$ref": "#/components/schemas/_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\"`.", + "type": "string" + }, + "force_source": { + "deprecated": true, + "type": "boolean" + }, + "fragmenter": { + "$ref": "#/components/schemas/_global.search._types:HighlighterFragmenter" + }, + "fragment_size": { + "description": "The size of the highlighted fragment in characters.", + "type": "number" + }, + "highlight_filter": { + "type": "boolean" + }, + "highlight_query": { + "$ref": "#/components/schemas/_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.", + "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.", + "type": "number" + }, + "options": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "order": { + "$ref": "#/components/schemas/_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.", + "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 `` and `` 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 `` and `` 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.", + "type": "boolean" + }, + "tags_schema": { + "$ref": "#/components/schemas/_global.search._types:HighlighterTagsSchema" + } + } + }, + "_global.search._types:HighlighterType": { + "type": "string", + "enum": [ + "plain", + "fvh", + "unified" + ] + }, + "_global.search._types:BoundaryScanner": { + "type": "string", + "enum": [ + "chars", + "sentence", + "word" + ] + }, + "_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" + ] + }, + "_types:ScriptField": { + "type": "object", + "properties": { + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "ignore_failure": { + "type": "boolean" + } + }, + "required": [ + "script" + ] + }, + "_types:Sort": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:SortCombinations" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:SortCombinations" + } + } + ] + }, + "_types:SortCombinations": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Field" + }, + { + "$ref": "#/components/schemas/_types:SortOptions" + } + ] + }, + "_types:SortOptions": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/sort-search-results.html" + }, + "type": "object", + "properties": { + "_score": { + "$ref": "#/components/schemas/_types:ScoreSort" + }, + "_doc": { + "$ref": "#/components/schemas/_types:ScoreSort" + }, + "_geo_distance": { + "$ref": "#/components/schemas/_types:GeoDistanceSort" + }, + "_script": { + "$ref": "#/components/schemas/_types:ScriptSort" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_types:ScoreSort": { + "type": "object", + "properties": { + "order": { + "$ref": "#/components/schemas/_types:SortOrder" + } + } + }, + "_types:SortOrder": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + }, + "_types:GeoDistanceSort": { + "type": "object", + "properties": { + "mode": { + "$ref": "#/components/schemas/_types:SortMode" + }, + "distance_type": { + "$ref": "#/components/schemas/_types:GeoDistanceType" + }, + "ignore_unmapped": { + "type": "boolean" + }, + "order": { + "$ref": "#/components/schemas/_types:SortOrder" + }, + "unit": { + "$ref": "#/components/schemas/_types:DistanceUnit" + } + } + }, + "_types:SortMode": { + "type": "string", + "enum": [ + "min", + "max", + "sum", + "avg", + "median" + ] + }, + "_types:DistanceUnit": { + "type": "string", + "enum": [ + "in", + "ft", + "yd", + "mi", + "nmi", + "km", + "m", + "cm", + "mm" + ] + }, + "_types:ScriptSort": { + "type": "object", + "properties": { + "order": { + "$ref": "#/components/schemas/_types:SortOrder" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "type": { + "$ref": "#/components/schemas/_types:ScriptSortType" + }, + "mode": { + "$ref": "#/components/schemas/_types:SortMode" + }, + "nested": { + "$ref": "#/components/schemas/_types:NestedSortValue" + } + }, + "required": [ + "script" + ] + }, + "_types:ScriptSortType": { + "type": "string", + "enum": [ + "string", + "number", + "version" + ] + }, + "_types:NestedSortValue": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "max_children": { + "type": "number" + }, + "nested": { + "$ref": "#/components/schemas/_types:NestedSortValue" + }, + "path": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "path" + ] + }, + "_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": "#/components/schemas/_global.search._types:SourceFilter" + } + ] + }, + "_global.search._types:SourceFilter": { + "type": "object", + "properties": { + "excludes": { + "$ref": "#/components/schemas/_types:Fields" + }, + "includes": { + "$ref": "#/components/schemas/_types:Fields" + } + } + }, + "_types.query_dsl:ChildScoreMode": { + "type": "string", + "enum": [ + "none", + "avg", + "sum", + "max", + "min" + ] + }, + "_types:RelationName": { + "type": "string" + }, + "_types.query_dsl:HasParentQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "ignore_unmapped": { + "description": "Indicates whether to ignore an unmapped `parent_type` and not return any documents instead of an error.\nYou can use this parameter to query multiple indices that may not contain the `parent_type`.", + "type": "boolean" + }, + "inner_hits": { + "$ref": "#/components/schemas/_global.search._types:InnerHits" + }, + "parent_type": { + "$ref": "#/components/schemas/_types:RelationName" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "score": { + "description": "Indicates whether the relevance score of a matching parent document is aggregated into its child documents.", + "type": "boolean" + } + }, + "required": [ + "parent_type", + "query" + ] + } + ] + }, + "_types.query_dsl:IdsQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "values": { + "$ref": "#/components/schemas/_types:Ids" + } + } + } + ] + }, + "_types:Ids": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Id" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } + } + ] + }, + "_types.query_dsl:IntervalsQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "all_of": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsAllOf" + }, + "any_of": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsAnyOf" + }, + "fuzzy": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsFuzzy" + }, + "match": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsMatch" + }, + "prefix": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsPrefix" + }, + "wildcard": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsWildcard" + } + }, + "minProperties": 1, + "maxProperties": 1 + } + ] + }, + "_types.query_dsl:IntervalsAllOf": { + "type": "object", + "properties": { + "intervals": { + "description": "An array of rules to combine. All rules must produce a match in a document for the overall source to match.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + } + }, + "max_gaps": { + "description": "Maximum number of positions between the matching terms.\nIntervals produced by the rules further apart than this are not considered matches.", + "type": "number" + }, + "ordered": { + "description": "If `true`, intervals produced by the rules should appear in the order in which they are specified.", + "type": "boolean" + }, + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsFilter" + } + }, + "required": [ + "intervals" + ] + }, + "_types.query_dsl:IntervalsContainer": { + "type": "object", + "properties": { + "all_of": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsAllOf" + }, + "any_of": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsAnyOf" + }, + "fuzzy": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsFuzzy" + }, + "match": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsMatch" + }, + "prefix": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsPrefix" + }, + "wildcard": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsWildcard" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_types.query_dsl:IntervalsAnyOf": { + "type": "object", + "properties": { + "intervals": { + "description": "An array of rules to match.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + } + }, + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsFilter" + } + }, + "required": [ + "intervals" + ] + }, + "_types.query_dsl:IntervalsFilter": { + "type": "object", + "properties": { + "after": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + }, + "before": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + }, + "contained_by": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + }, + "containing": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + }, + "not_contained_by": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + }, + "not_containing": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + }, + "not_overlapping": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + }, + "overlapping": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_types.query_dsl:IntervalsFuzzy": { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html" + }, + "description": "Analyzer used to normalize the term.", + "type": "string" + }, + "fuzziness": { + "$ref": "#/components/schemas/_types:Fuzziness" + }, + "prefix_length": { + "description": "Number of beginning characters left unchanged when creating expansions.", + "type": "number" + }, + "term": { + "description": "The term to match.", + "type": "string" + }, + "transpositions": { + "description": "Indicates whether edits include transpositions of two adjacent characters (for example, `ab` to `ba`).", + "type": "boolean" + }, + "use_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "term" + ] + }, + "_types.query_dsl:IntervalsMatch": { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html" + }, + "description": "Analyzer used to analyze terms in the query.", + "type": "string" + }, + "max_gaps": { + "description": "Maximum number of positions between the matching terms.\nTerms further apart than this are not considered matches.", + "type": "number" + }, + "ordered": { + "description": "If `true`, matching terms must appear in their specified order.", + "type": "boolean" + }, + "query": { + "description": "Text you wish to find in the provided field.", + "type": "string" + }, + "use_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsFilter" + } + }, + "required": [ + "query" + ] + }, + "_types.query_dsl:IntervalsPrefix": { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html" + }, + "description": "Analyzer used to analyze the `prefix`.", + "type": "string" + }, + "prefix": { + "description": "Beginning characters of terms you wish to find in the top-level field.", + "type": "string" + }, + "use_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "prefix" + ] + }, + "_types.query_dsl:IntervalsWildcard": { + "type": "object", + "properties": { + "analyzer": { + "description": "Analyzer used to analyze the `pattern`.\nDefaults to the top-level field's analyzer.", + "type": "string" + }, + "pattern": { + "description": "Wildcard pattern used to find matching terms.", + "type": "string" + }, + "use_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "pattern" + ] + }, + "_types.query_dsl:MatchQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html" + }, + "description": "Analyzer used to convert the text in the query value into tokens.", + "type": "string" + }, + "auto_generate_synonyms_phrase_query": { + "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", + "type": "boolean" + }, + "cutoff_frequency": { + "deprecated": true, + "type": "number" + }, + "fuzziness": { + "$ref": "#/components/schemas/_types:Fuzziness" + }, + "fuzzy_rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "fuzzy_transpositions": { + "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).", + "type": "boolean" + }, + "lenient": { + "description": "If `true`, format-based errors, such as providing a text query value for a numeric field, are ignored.", + "type": "boolean" + }, + "max_expansions": { + "description": "Maximum number of terms to which the query will expand.", + "type": "number" + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "operator": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "prefix_length": { + "description": "Number of beginning characters left unchanged for fuzzy matching.", + "type": "number" + }, + "query": { + "description": "Text, number, boolean value or date you wish to find in the provided field.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "zero_terms_query": { + "$ref": "#/components/schemas/_types.query_dsl:ZeroTermsQuery" + } + }, + "required": [ + "query" + ] + } + ] + }, + "_types.query_dsl:ZeroTermsQuery": { + "type": "string", + "enum": [ + "all", + "none" + ] + }, + "_types.query_dsl:MatchAllQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object" + } + ] + }, + "_types.query_dsl:MatchBoolPrefixQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html" + }, + "description": "Analyzer used to convert the text in the query value into tokens.", + "type": "string" + }, + "fuzziness": { + "$ref": "#/components/schemas/_types:Fuzziness" + }, + "fuzzy_rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "fuzzy_transpositions": { + "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).\nCan be applied to the term subqueries constructed for all terms but the final term.", + "type": "boolean" + }, + "max_expansions": { + "description": "Maximum number of terms to which the query will expand.\nCan be applied to the term subqueries constructed for all terms but the final term.", + "type": "number" + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "operator": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "prefix_length": { + "description": "Number of beginning characters left unchanged for fuzzy matching.\nCan be applied to the term subqueries constructed for all terms but the final term.", + "type": "number" + }, + "query": { + "description": "Terms you wish to find in the provided field.\nThe last term is used in a prefix query.", + "type": "string" + } + }, + "required": [ + "query" + ] + } + ] + }, + "_types.query_dsl:MatchNoneQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object" + } + ] + }, + "_types.query_dsl:MatchPhraseQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html" + }, + "description": "Analyzer used to convert the text in the query value into tokens.", + "type": "string" + }, + "query": { + "description": "Query terms that are analyzed and turned into a phrase query.", + "type": "string" + }, + "slop": { + "description": "Maximum number of positions allowed between matching tokens.", + "type": "number" + }, + "zero_terms_query": { + "$ref": "#/components/schemas/_types.query_dsl:ZeroTermsQuery" + } + }, + "required": [ + "query" + ] + } + ] + }, + "_types.query_dsl:MatchPhrasePrefixQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html" + }, + "description": "Analyzer used to convert text in the query value into tokens.", + "type": "string" + }, + "max_expansions": { + "description": "Maximum number of terms to which the last provided term of the query value will expand.", + "type": "number" + }, + "query": { + "description": "Text you wish to find in the provided field.", + "type": "string" + }, + "slop": { + "description": "Maximum number of positions allowed between matching tokens.", + "type": "number" + }, + "zero_terms_query": { + "$ref": "#/components/schemas/_types.query_dsl:ZeroTermsQuery" + } + }, + "required": [ + "query" + ] + } + ] + }, + "_types.query_dsl:MoreLikeThisQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html" + }, + "description": "The analyzer that is used to analyze the free form text.\nDefaults to the analyzer associated with the first field in fields.", + "type": "string" + }, + "boost_terms": { + "description": "Each term in the formed query could be further boosted by their tf-idf score.\nThis sets the boost factor to use when using this feature.\nDefaults to deactivated (0).", + "type": "number" + }, + "fail_on_unsupported_field": { + "description": "Controls whether the query should fail (throw an exception) if any of the specified fields are not of the supported types (`text` or `keyword`).", + "type": "boolean" + }, + "fields": { + "description": "A list of fields to fetch and analyze the text from.\nDefaults to the `index.query.default_field` index setting, which has a default value of `*`.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "include": { + "description": "Specifies whether the input documents should also be included in the search results returned.", + "type": "boolean" + }, + "like": { + "description": "Specifies free form text and/or a single or multiple documents for which you want to find similar documents.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:Like" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:Like" + } + } + ] + }, + "max_doc_freq": { + "description": "The maximum document frequency above which the terms are ignored from the input document.", + "type": "number" + }, + "max_query_terms": { + "description": "The maximum number of query terms that can be selected.", + "type": "number" + }, + "max_word_length": { + "description": "The maximum word length above which the terms are ignored.\nDefaults to unbounded (`0`).", + "type": "number" + }, + "min_doc_freq": { + "description": "The minimum document frequency below which the terms are ignored from the input document.", + "type": "number" + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "min_term_freq": { + "description": "The minimum term frequency below which the terms are ignored from the input document.", + "type": "number" + }, + "min_word_length": { + "description": "The minimum word length below which the terms are ignored.", + "type": "number" + }, + "per_field_analyzer": { + "description": "Overrides the default analyzer.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "stop_words": { + "$ref": "#/components/schemas/_types.analysis:StopWords" + }, + "unlike": { + "description": "Used in combination with `like` to exclude documents that match a set of terms.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:Like" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:Like" + } + } + ] + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "version_type": { + "$ref": "#/components/schemas/_types:VersionType" + } + }, + "required": [ + "like" + ] + } + ] + }, + "_types.query_dsl:Like": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-mlt-query.html#_document_input_parameters" + }, + "description": "Text that we want similar documents for or a lookup to a document's field for the text.", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/_types.query_dsl:LikeDocument" + } + ] + }, + "_types.query_dsl:LikeDocument": { + "type": "object", + "properties": { + "doc": { + "description": "A document not present in the index.", + "type": "object" + }, + "fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "per_field_analyzer": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "version_type": { + "$ref": "#/components/schemas/_types:VersionType" + } + } + }, + "_types:VersionType": { + "type": "string", + "enum": [ + "internal", + "external", + "external_gte", + "force" + ] + }, + "_types.query_dsl:MultiMatchQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html" + }, + "description": "Analyzer used to convert the text in the query value into tokens.", + "type": "string" + }, + "auto_generate_synonyms_phrase_query": { + "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", + "type": "boolean" + }, + "cutoff_frequency": { + "deprecated": true, + "type": "number" + }, + "fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "fuzziness": { + "$ref": "#/components/schemas/_types:Fuzziness" + }, + "fuzzy_rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "fuzzy_transpositions": { + "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).\nCan be applied to the term subqueries constructed for all terms but the final term.", + "type": "boolean" + }, + "lenient": { + "description": "If `true`, format-based errors, such as providing a text query value for a numeric field, are ignored.", + "type": "boolean" + }, + "max_expansions": { + "description": "Maximum number of terms to which the query will expand.", + "type": "number" + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "operator": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "prefix_length": { + "description": "Number of beginning characters left unchanged for fuzzy matching.", + "type": "number" + }, + "query": { + "description": "Text, number, boolean value or date you wish to find in the provided field.", + "type": "string" + }, + "slop": { + "description": "Maximum number of positions allowed between matching tokens.", + "type": "number" + }, + "tie_breaker": { + "description": "Determines how scores for each per-term blended query and scores across groups are combined.", + "type": "number" + }, + "type": { + "$ref": "#/components/schemas/_types.query_dsl:TextQueryType" + }, + "zero_terms_query": { + "$ref": "#/components/schemas/_types.query_dsl:ZeroTermsQuery" + } + }, + "required": [ + "query" + ] + } + ] + }, + "_types.query_dsl:TextQueryType": { + "type": "string", + "enum": [ + "best_fields", + "most_fields", + "cross_fields", + "phrase", + "phrase_prefix", + "bool_prefix" + ] + }, + "_types.query_dsl:NestedQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "ignore_unmapped": { + "description": "Indicates whether to ignore an unmapped path and not return any documents instead of an error.", + "type": "boolean" + }, + "inner_hits": { + "$ref": "#/components/schemas/_global.search._types:InnerHits" + }, + "path": { + "$ref": "#/components/schemas/_types:Field" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "score_mode": { + "$ref": "#/components/schemas/_types.query_dsl:ChildScoreMode" + } + }, + "required": [ + "path", + "query" + ] + } + ] + }, + "_types.query_dsl:ParentIdQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "ignore_unmapped": { + "description": "Indicates whether to ignore an unmapped `type` and not return any documents instead of an error.", + "type": "boolean" + }, + "type": { + "$ref": "#/components/schemas/_types:RelationName" + } + } + } + ] + }, + "_types.query_dsl:PercolateQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "document": { + "description": "The source of the document being percolated.", + "type": "object" + }, + "documents": { + "description": "An array of sources of the documents being percolated.", + "type": "array", + "items": { + "type": "object" + } + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "name": { + "description": "The suffix used for the `_percolator_document_slot` field when multiple `percolate` queries are specified.", + "type": "string" + }, + "preference": { + "description": "Preference used to fetch document to percolate.", + "type": "string" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + } + }, + "required": [ + "field" + ] + } + ] + }, + "_types.query_dsl:PinnedQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "allOf": [ + { + "type": "object", + "properties": { + "organic": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "required": [ + "organic" + ] + }, + { + "type": "object", + "properties": { + "ids": { + "description": "Document IDs listed in the order they are to appear in results.\nRequired if `docs` is not specified.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "docs": { + "description": "Documents listed in the order they are to appear in results.\nRequired if `ids` is not specified.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:PinnedDoc" + } + } + }, + "minProperties": 1, + "maxProperties": 1 + } + ] + } + ] + }, + "_types.query_dsl:PinnedDoc": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "required": [ + "_id", + "_index" + ] + }, + "_types.query_dsl:PrefixQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "value": { + "description": "Beginning characters of terms you wish to find in the provided field.", + "type": "string" + }, + "case_insensitive": { + "description": "Allows ASCII case insensitive matching of the value with the indexed field values when set to `true`.\nDefault is `false` which means the case sensitivity of matching depends on the underlying field’s mapping.", + "type": "boolean" + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types.query_dsl:QueryStringQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "allow_leading_wildcard": { + "description": "If `true`, the wildcard characters `*` and `?` are allowed as the first character of the query string.", + "type": "boolean" + }, + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html" + }, + "description": "Analyzer used to convert text in the query string into tokens.", + "type": "string" + }, + "analyze_wildcard": { + "description": "If `true`, the query attempts to analyze wildcard terms in the query string.", + "type": "boolean" + }, + "auto_generate_synonyms_phrase_query": { + "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", + "type": "boolean" + }, + "default_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "default_operator": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "enable_position_increments": { + "description": "If `true`, enable position increments in queries constructed from a `query_string` search.", + "type": "boolean" + }, + "escape": { + "type": "boolean" + }, + "fields": { + "description": "Array of fields to search. Supports wildcards (`*`).", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "fuzziness": { + "$ref": "#/components/schemas/_types:Fuzziness" + }, + "fuzzy_max_expansions": { + "description": "Maximum number of terms to which the query expands for fuzzy matching.", + "type": "number" + }, + "fuzzy_prefix_length": { + "description": "Number of beginning characters left unchanged for fuzzy matching.", + "type": "number" + }, + "fuzzy_rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "fuzzy_transpositions": { + "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).", + "type": "boolean" + }, + "lenient": { + "description": "If `true`, format-based errors, such as providing a text value for a numeric field, are ignored.", + "type": "boolean" + }, + "max_determinized_states": { + "description": "Maximum number of automaton states required for the query.", + "type": "number" + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "phrase_slop": { + "description": "Maximum number of positions allowed between matching tokens for phrases.", + "type": "number" + }, + "query": { + "description": "Query string you wish to parse and use for search.", + "type": "string" + }, + "quote_analyzer": { + "description": "Analyzer used to convert quoted text in the query string into tokens.\nFor quoted text, this parameter overrides the analyzer specified in the `analyzer` parameter.", + "type": "string" + }, + "quote_field_suffix": { + "description": "Suffix appended to quoted text in the query string.\nYou can use this suffix to use a different analysis method for exact matches.", + "type": "string" + }, + "rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "tie_breaker": { + "description": "How to combine the queries generated from the individual search terms in the resulting `dis_max` query.", + "type": "number" + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" + }, + "type": { + "$ref": "#/components/schemas/_types.query_dsl:TextQueryType" + } + }, + "required": [ + "query" + ] + } + ] + }, + "_types:TimeZone": { + "type": "string" + }, + "_types.query_dsl:RangeQuery": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:DateRangeQuery" + }, + { + "$ref": "#/components/schemas/_types.query_dsl:NumberRangeQuery" + } + ] + }, + "_types.query_dsl:DateRangeQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:RangeQueryBase" + }, + { + "type": "object", + "properties": { + "gt": { + "$ref": "#/components/schemas/_types:DateMath" + }, + "gte": { + "$ref": "#/components/schemas/_types:DateMath" + }, + "lt": { + "$ref": "#/components/schemas/_types:DateMath" + }, + "lte": { + "$ref": "#/components/schemas/_types:DateMath" + }, + "from": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:DateMath" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "to": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:DateMath" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "format": { + "$ref": "#/components/schemas/_types:DateFormat" + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" + } + } + } + ] + }, + "_types:DateFormat": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-date-format.html" + }, + "type": "string" + }, + "_types.query_dsl:RangeQueryBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "relation": { + "$ref": "#/components/schemas/_types.query_dsl:RangeRelation" + } + } + } + ] + }, + "_types.query_dsl:RangeRelation": { + "type": "string", + "enum": [ + "within", + "contains", + "intersects" + ] + }, + "_types.query_dsl:NumberRangeQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:RangeQueryBase" + }, + { + "type": "object", + "properties": { + "gt": { + "description": "Greater than.", + "type": "number" + }, + "gte": { + "description": "Greater than or equal to.", + "type": "number" + }, + "lt": { + "description": "Less than.", + "type": "number" + }, + "lte": { + "description": "Less than or equal to.", + "type": "number" + }, + "from": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "to": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + } + } + } + ] + }, + "_types.query_dsl:RankFeatureQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "saturation": { + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunctionSaturation" + }, + "log": { + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunctionLogarithm" + }, + "linear": { + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunctionLinear" + }, + "sigmoid": { + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunctionSigmoid" + } + }, + "required": [ + "field" + ] + } + ] + }, + "_types.query_dsl:RankFeatureFunctionSaturation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunction" + }, + { + "type": "object", + "properties": { + "pivot": { + "description": "Configurable pivot value so that the result will be less than 0.5.", + "type": "number" + } + } + } + ] + }, + "_types.query_dsl:RankFeatureFunction": { + "type": "object" + }, + "_types.query_dsl:RankFeatureFunctionLogarithm": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunction" + }, + { + "type": "object", + "properties": { + "scaling_factor": { + "description": "Configurable scaling factor.", + "type": "number" + } + }, + "required": [ + "scaling_factor" + ] + } + ] + }, + "_types.query_dsl:RankFeatureFunctionLinear": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunction" + }, + { + "type": "object" + } + ] + }, + "_types.query_dsl:RankFeatureFunctionSigmoid": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunction" + }, + { + "type": "object", + "properties": { + "pivot": { + "description": "Configurable pivot value so that the result will be less than 0.5.", + "type": "number" + }, + "exponent": { + "description": "Configurable Exponent.", + "type": "number" + } + }, + "required": [ + "pivot", + "exponent" + ] + } + ] + }, + "_types.query_dsl:RegexpQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "case_insensitive": { + "description": "Allows case insensitive matching of the regular expression value with the indexed field values when set to `true`.\nWhen `false`, case sensitivity of matching depends on the underlying field’s mapping.", + "type": "boolean" + }, + "flags": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/regexp-syntax.html" + }, + "description": "Enables optional operators for the regular expression.", + "type": "string" + }, + "max_determinized_states": { + "description": "Maximum number of automaton states required for the query.", + "type": "number" + }, + "rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "value": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/regexp-syntax.html" + }, + "description": "Regular expression for terms you wish to find in the provided field.", + "type": "string" + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types.query_dsl:RuleQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "organic": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "ruleset_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "match_criteria": { + "type": "object" + } + }, + "required": [ + "organic", + "ruleset_id", + "match_criteria" + ] + } + ] + }, + "_types.query_dsl:ScriptQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "script": { + "$ref": "#/components/schemas/_types:Script" + } + }, + "required": [ + "script" + ] + } + ] + }, + "_types.query_dsl:ScriptScoreQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "min_score": { + "description": "Documents with a score lower than this floating point number are excluded from the search results.", + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + } + }, + "required": [ + "query", + "script" + ] + } + ] + }, + "_types.query_dsl:ShapeQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "ignore_unmapped": { + "description": "When set to `true` the query ignores an unmapped field and will not match any documents.", + "type": "boolean" + } + } + } + ] + }, + "_types.query_dsl:SimpleQueryStringQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html" + }, + "description": "Analyzer used to convert text in the query string into tokens.", + "type": "string" + }, + "analyze_wildcard": { + "description": "If `true`, the query attempts to analyze wildcard terms in the query string.", + "type": "boolean" + }, + "auto_generate_synonyms_phrase_query": { + "description": "If `true`, the parser creates a match_phrase query for each multi-position token.", + "type": "boolean" + }, + "default_operator": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "fields": { + "description": "Array of fields you wish to search.\nAccepts wildcard expressions.\nYou also can boost relevance scores for matches to particular fields using a caret (`^`) notation.\nDefaults to the `index.query.default_field index` setting, which has a default value of `*`.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "flags": { + "$ref": "#/components/schemas/_types.query_dsl:SimpleQueryStringFlags" + }, + "fuzzy_max_expansions": { + "description": "Maximum number of terms to which the query expands for fuzzy matching.", + "type": "number" + }, + "fuzzy_prefix_length": { + "description": "Number of beginning characters left unchanged for fuzzy matching.", + "type": "number" + }, + "fuzzy_transpositions": { + "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).", + "type": "boolean" + }, + "lenient": { + "description": "If `true`, format-based errors, such as providing a text value for a numeric field, are ignored.", + "type": "boolean" + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "query": { + "description": "Query string in the simple query string syntax you wish to parse and use for search.", + "type": "string" + }, + "quote_field_suffix": { + "description": "Suffix appended to quoted text in the query string.", + "type": "string" + } + }, + "required": [ + "query" + ] + } + ] + }, + "_types.query_dsl:SimpleQueryStringFlags": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-simple-query-string-query.html#supported-flags" + }, + "description": "Query flags can be either a single flag or a combination of flags, e.g. `OR|AND|PREFIX`", + "allOf": [ + { + "$ref": "#/components/schemas/_spec_utils:PipeSeparatedFlagsSimpleQueryStringFlag" + } + ] + }, + "_spec_utils:PipeSeparatedFlagsSimpleQueryStringFlag": { + "description": "A set of flags that can be represented as a single enum value or a set of values that are encoded\nas a pipe-separated string\n\nDepending on the target language, code generators can use this hint to generate language specific\nflags enum constructs and the corresponding (de-)serialization code.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:SimpleQueryStringFlag" + }, + { + "type": "string" + } + ] + }, + "_types.query_dsl:SimpleQueryStringFlag": { + "type": "string", + "enum": [ + "NONE", + "AND", + "NOT", + "OR", + "PREFIX", + "PHRASE", + "PRECEDENCE", + "ESCAPE", + "WHITESPACE", + "FUZZY", + "NEAR", + "SLOP", + "ALL" + ] + }, + "_types.query_dsl:SpanContainingQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "big": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" + }, + "little": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" + } + }, + "required": [ + "big", + "little" + ] + } + ] + }, + "_types.query_dsl:SpanQuery": { + "type": "object", + "properties": { + "span_containing": { + "$ref": "#/components/schemas/_types.query_dsl:SpanContainingQuery" + }, + "field_masking_span": { + "$ref": "#/components/schemas/_types.query_dsl:SpanFieldMaskingQuery" + }, + "span_first": { + "$ref": "#/components/schemas/_types.query_dsl:SpanFirstQuery" + }, + "span_gap": { + "$ref": "#/components/schemas/_types.query_dsl:SpanGapQuery" + }, + "span_multi": { + "$ref": "#/components/schemas/_types.query_dsl:SpanMultiTermQuery" + }, + "span_near": { + "$ref": "#/components/schemas/_types.query_dsl:SpanNearQuery" + }, + "span_not": { + "$ref": "#/components/schemas/_types.query_dsl:SpanNotQuery" + }, + "span_or": { + "$ref": "#/components/schemas/_types.query_dsl:SpanOrQuery" + }, + "span_term": { + "description": "The equivalent of the `term` query but for use with other span queries.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:SpanTermQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "span_within": { + "$ref": "#/components/schemas/_types.query_dsl:SpanWithinQuery" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_types.query_dsl:SpanFieldMaskingQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" + } + }, + "required": [ + "field", + "query" + ] + } + ] + }, + "_types.query_dsl:SpanFirstQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "end": { + "description": "Controls the maximum end position permitted in a match.", + "type": "number" + }, + "match": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" + } + }, + "required": [ + "end", + "match" + ] + } + ] + }, + "_types.query_dsl:SpanGapQuery": { + "description": "Can only be used as a clause in a span_near query.", + "type": "object", + "additionalProperties": { + "type": "number" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_types.query_dsl:SpanMultiTermQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "match": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "required": [ + "match" + ] + } + ] + }, + "_types.query_dsl:SpanNearQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "clauses": { + "description": "Array of one or more other span type queries.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" + } + }, + "in_order": { + "description": "Controls whether matches are required to be in-order.", + "type": "boolean" + }, + "slop": { + "description": "Controls the maximum number of intervening unmatched positions permitted.", + "type": "number" + } + }, + "required": [ + "clauses" + ] + } + ] + }, + "_types.query_dsl:SpanNotQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "dist": { + "description": "The number of tokens from within the include span that can’t have overlap with the exclude span.\nEquivalent to setting both `pre` and `post`.", + "type": "number" + }, + "exclude": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" + }, + "include": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" + }, + "post": { + "description": "The number of tokens after the include span that can’t have overlap with the exclude span.", + "type": "number" + }, + "pre": { + "description": "The number of tokens before the include span that can’t have overlap with the exclude span.", + "type": "number" + } + }, + "required": [ + "exclude", + "include" + ] + } + ] + }, + "_types.query_dsl:SpanOrQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "clauses": { + "description": "Array of one or more other span type queries.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" + } + } + }, + "required": [ + "clauses" + ] + } + ] + }, + "_types.query_dsl:SpanTermQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types.query_dsl:SpanWithinQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "big": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" + }, + "little": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" + } + }, + "required": [ + "big", + "little" + ] + } + ] + }, + "_types.query_dsl:TermQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "value": { + "$ref": "#/components/schemas/_types:FieldValue" + }, + "case_insensitive": { + "description": "Allows ASCII case insensitive matching of the value with the indexed field values when set to `true`.\nWhen `false`, the case sensitivity of matching depends on the underlying field’s mapping.", + "type": "boolean" + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types.query_dsl:TermsQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object" + } + ] + }, + "_types.query_dsl:TermsSetQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "minimum_should_match_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "minimum_should_match_script": { + "$ref": "#/components/schemas/_types:Script" + }, + "terms": { + "description": "Array of terms you wish to find in the provided field.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "terms" + ] + } + ] + }, + "_types.query_dsl:TextExpansionQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "model_id": { + "description": "The text expansion NLP model to use", + "type": "string" + }, + "model_text": { + "description": "The query text", + "type": "string" + } + }, + "required": [ + "model_id", + "model_text" + ] + } + ] + }, + "_types.query_dsl:WildcardQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "case_insensitive": { + "description": "Allows case insensitive matching of the pattern with the indexed field values when set to true. Default is false which means the case sensitivity of matching depends on the underlying field’s mapping.", + "type": "boolean" + }, + "rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "value": { + "description": "Wildcard pattern for terms you wish to find in the provided field. Required, when wildcard is not set.", + "type": "string" + }, + "wildcard": { + "description": "Wildcard pattern for terms you wish to find in the provided field. Required, when value is not set.", + "type": "string" + } + } + } + ] + }, + "_types.query_dsl:WrapperQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "query": { + "description": "A base64 encoded query.\nThe binary data format can be any of JSON, YAML, CBOR or SMILE encodings", + "type": "string" + } + }, + "required": [ + "query" + ] + } + ] + }, + "_types.query_dsl:TypeQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types.aggregations:BucketAggregationBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:Aggregation" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:Aggregation": { + "type": "object", + "properties": { + "meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "name": { + "type": "string" + } + } + }, + "_types.aggregations:AutoDateHistogramAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "description": "The target number of buckets.", + "type": "number" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "format": { + "description": "The date format used to format `key_as_string` in the response.\nIf no `format` is specified, the first date format specified in the field mapping is used.", + "type": "string" + }, + "minimum_interval": { + "$ref": "#/components/schemas/_types.aggregations:MinimumInterval" + }, + "missing": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "offset": { + "description": "Time zone specified as a ISO 8601 UTC offset.", + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" + } + } + } + ] + }, + "_types.aggregations:MinimumInterval": { + "type": "string", + "enum": [ + "second", + "minute", + "hour", + "day", + "month", + "year" + ] + }, + "_types.aggregations:AverageAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:FormatMetricAggregationBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "format": { + "type": "string" + } + } + } + ] + }, + "_types.aggregations:MetricAggregationBase": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "missing": { + "$ref": "#/components/schemas/_types.aggregations:Missing" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + } + } + }, + "_types.aggregations:Missing": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "_types.aggregations:AverageBucketAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:PipelineAggregationBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketPathAggregation" + }, + { + "type": "object", + "properties": { + "format": { + "description": "`DecimalFormat` pattern for the output value.\nIf specified, the formatted value is returned in the aggregation’s `value_as_string` property.", + "type": "string" + }, + "gap_policy": { + "$ref": "#/components/schemas/_types.aggregations:GapPolicy" + } + } + } + ] + }, + "_types.aggregations:GapPolicy": { + "type": "string", + "enum": [ + "skip", + "insert_zeros", + "keep_values" + ] + }, + "_types.aggregations:BucketPathAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:Aggregation" + }, + { + "type": "object", + "properties": { + "buckets_path": { + "$ref": "#/components/schemas/_types.aggregations:BucketsPath" + } + } + } + ] + }, + "_types.aggregations:BucketsPath": { + "description": "Buckets path can be expressed in different ways, and an aggregation may accept some or all of these\nforms depending on its type. Please refer to each aggregation's documentation to know what buckets\npath forms they accept.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + ] + }, + "_types.aggregations:BoxplotAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "compression": { + "description": "Limits the maximum number of nodes used by the underlying TDigest algorithm to `20 * compression`, enabling control of memory usage and approximation error.", + "type": "number" + } + } + } + ] + }, + "_types.aggregations:BucketScriptAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object", + "properties": { + "script": { + "$ref": "#/components/schemas/_types:Script" + } + } + } + ] + }, + "_types.aggregations:BucketSelectorAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object", + "properties": { + "script": { + "$ref": "#/components/schemas/_types:Script" + } + } + } + ] + }, + "_types.aggregations:BucketSortAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:Aggregation" + }, + { + "type": "object", + "properties": { + "from": { + "description": "Buckets in positions prior to `from` will be truncated.", + "type": "number" + }, + "gap_policy": { + "$ref": "#/components/schemas/_types.aggregations:GapPolicy" + }, + "size": { + "description": "The number of buckets to return.\nDefaults to all buckets of the parent aggregation.", + "type": "number" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + } + } + } + ] + }, + "_types.aggregations:BucketKsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketPathAggregation" + }, + { + "type": "object", + "properties": { + "alternative": { + "description": "A list of string values indicating which K-S test alternative to calculate. The valid values\nare: \"greater\", \"less\", \"two_sided\". This parameter is key for determining the K-S statistic used\nwhen calculating the K-S test. Default value is all possible alternative hypotheses.", + "type": "array", + "items": { + "type": "string" + } + }, + "fractions": { + "description": "A list of doubles indicating the distribution of the samples with which to compare to the `buckets_path` results.\nIn typical usage this is the overall proportion of documents in each bucket, which is compared with the actual\ndocument proportions in each bucket from the sibling aggregation counts. The default is to assume that overall\ndocuments are uniformly distributed on these buckets, which they would be if one used equal percentiles of a\nmetric to define the bucket end points.", + "type": "array", + "items": { + "type": "number" + } + }, + "sampling_method": { + "description": "Indicates the sampling methodology when calculating the K-S test. Note, this is sampling of the returned values.\nThis determines the cumulative distribution function (CDF) points used comparing the two samples. Default is\n`upper_tail`, which emphasizes the upper end of the CDF points. Valid options are: `upper_tail`, `uniform`,\nand `lower_tail`.", + "type": "string" + } + } + } + ] + }, + "_types.aggregations:BucketCorrelationAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketPathAggregation" + }, + { + "type": "object", + "properties": { + "function": { + "$ref": "#/components/schemas/_types.aggregations:BucketCorrelationFunction" + } + }, + "required": [ + "function" + ] + } + ] + }, + "_types.aggregations:BucketCorrelationFunction": { + "type": "object", + "properties": { + "count_correlation": { + "$ref": "#/components/schemas/_types.aggregations:BucketCorrelationFunctionCountCorrelation" + } + }, + "required": [ + "count_correlation" + ] + }, + "_types.aggregations:BucketCorrelationFunctionCountCorrelation": { + "type": "object", + "properties": { + "indicator": { + "$ref": "#/components/schemas/_types.aggregations:BucketCorrelationFunctionCountCorrelationIndicator" + } + }, + "required": [ + "indicator" + ] + }, + "_types.aggregations:BucketCorrelationFunctionCountCorrelationIndicator": { + "type": "object", + "properties": { + "doc_count": { + "description": "The total number of documents that initially created the expectations. It’s required to be greater\nthan or equal to the sum of all values in the buckets_path as this is the originating superset of data\nto which the term values are correlated.", + "type": "number" + }, + "expectations": { + "description": "An array of numbers with which to correlate the configured `bucket_path` values.\nThe length of this value must always equal the number of buckets returned by the `bucket_path`.", + "type": "array", + "items": { + "type": "number" + } + }, + "fractions": { + "description": "An array of fractions to use when averaging and calculating variance. This should be used if\nthe pre-calculated data and the buckets_path have known gaps. The length of fractions, if provided,\nmust equal expectations.", + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "doc_count", + "expectations" + ] + }, + "_types.aggregations:CardinalityAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "precision_threshold": { + "description": "A unique count below which counts are expected to be close to accurate.\nThis allows to trade memory for accuracy.", + "type": "number" + }, + "rehash": { + "type": "boolean" + }, + "execution_hint": { + "$ref": "#/components/schemas/_types.aggregations:CardinalityExecutionMode" + } + } + } + ] + }, + "_types.aggregations:CardinalityExecutionMode": { + "type": "string", + "enum": [ + "global_ordinals", + "segment_ordinals", + "direct", + "save_memory_heuristic", + "save_time_heuristic" + ] + }, + "_types.aggregations:CategorizeTextAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:Aggregation" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "max_unique_tokens": { + "description": "The maximum number of unique tokens at any position up to max_matched_tokens. Must be larger than 1.\nSmaller values use less memory and create fewer categories. Larger values will use more memory and\ncreate narrower categories. Max allowed value is 100.", + "type": "number" + }, + "max_matched_tokens": { + "description": "The maximum number of token positions to match on before attempting to merge categories. Larger\nvalues will use more memory and create narrower categories. Max allowed value is 100.", + "type": "number" + }, + "similarity_threshold": { + "description": "The minimum percentage of tokens that must match for text to be added to the category bucket. Must\nbe between 1 and 100. The larger the value the narrower the categories. Larger values will increase memory\nusage and create narrower categories.", + "type": "number" + }, + "categorization_filters": { + "description": "This property expects an array of regular expressions. The expressions are used to filter out matching\nsequences from the categorization field values. You can use this functionality to fine tune the categorization\nby excluding sequences from consideration when categories are defined. For example, you can exclude SQL\nstatements that appear in your log files. This property cannot be used at the same time as categorization_analyzer.\nIf you only want to define simple regular expression filters that are applied prior to tokenization, setting\nthis property is the easiest method. If you also want to customize the tokenizer or post-tokenization filtering,\nuse the categorization_analyzer property instead and include the filters as pattern_replace character filters.", + "type": "array", + "items": { + "type": "string" + } + }, + "categorization_analyzer": { + "$ref": "#/components/schemas/_types.aggregations:CategorizeTextAnalyzer" + }, + "shard_size": { + "description": "The number of categorization buckets to return from each shard before merging all the results.", + "type": "number" + }, + "size": { + "description": "The number of buckets to return.", + "type": "number" + }, + "min_doc_count": { + "description": "The minimum number of documents in a bucket to be returned to the results.", + "type": "number" + }, + "shard_min_doc_count": { + "description": "The minimum number of documents in a bucket to be returned from the shard before merging.", + "type": "number" + } + }, + "required": [ + "field" + ] + } + ] + }, + "_types.aggregations:CategorizeTextAnalyzer": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/_types.aggregations:CustomCategorizeTextAnalyzer" + } + ] + }, + "_types.aggregations:CustomCategorizeTextAnalyzer": { + "type": "object", + "properties": { + "char_filter": { + "type": "array", + "items": { + "type": "string" + } + }, + "tokenizer": { + "type": "string" + }, + "filter": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "_types.aggregations:ChildrenAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/_types:RelationName" + } + } + } + ] + }, + "_types.aggregations:CompositeAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "after": { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregateKey" + }, + "size": { + "description": "The number of composite buckets that should be returned.", + "type": "number" + }, + "sources": { + "description": "The value sources used to build composite buckets.\nKeys are returned in the order of the `sources` definition.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationSource" + } + } + } + } + } + ] + }, + "_types.aggregations:CompositeAggregationSource": { + "type": "object", + "properties": { + "terms": { + "$ref": "#/components/schemas/_types.aggregations:CompositeTermsAggregation" + }, + "histogram": { + "$ref": "#/components/schemas/_types.aggregations:CompositeHistogramAggregation" + }, + "date_histogram": { + "$ref": "#/components/schemas/_types.aggregations:CompositeDateHistogramAggregation" + }, + "geotile_grid": { + "$ref": "#/components/schemas/_types.aggregations:CompositeGeoTileGridAggregation" + } + } + }, + "_types.aggregations:CompositeTermsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:CompositeAggregationBase": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "missing_bucket": { + "type": "boolean" + }, + "missing_order": { + "$ref": "#/components/schemas/_types.aggregations:MissingOrder" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "value_type": { + "$ref": "#/components/schemas/_types.aggregations:ValueType" + }, + "order": { + "$ref": "#/components/schemas/_types:SortOrder" + } + } + }, + "_types.aggregations:MissingOrder": { + "type": "string", + "enum": [ + "first", + "last", + "default" + ] + }, + "_types.aggregations:ValueType": { + "type": "string", + "enum": [ + "string", + "long", + "double", + "number", + "date", + "date_nanos", + "ip", + "numeric", + "geo_point", + "boolean" + ] + }, + "_types.aggregations:CompositeHistogramAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationBase" + }, + { + "type": "object", + "properties": { + "interval": { + "type": "number" + } + }, + "required": [ + "interval" + ] + } + ] + }, + "_types.aggregations:CompositeDateHistogramAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationBase" + }, + { + "type": "object", + "properties": { + "format": { + "type": "string" + }, + "calendar_interval": { + "$ref": "#/components/schemas/_types:DurationLarge" + }, + "fixed_interval": { + "$ref": "#/components/schemas/_types:DurationLarge" + }, + "offset": { + "$ref": "#/components/schemas/_types:Duration" + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" + } + } + } + ] + }, + "_types.aggregations:CompositeGeoTileGridAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationBase" + }, + { + "type": "object", + "properties": { + "precision": { + "type": "number" + }, + "bounds": { + "$ref": "#/components/schemas/_types:GeoBounds" + } + } + } + ] + }, + "_types.aggregations:CumulativeCardinalityAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:CumulativeSumAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:DateHistogramAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "calendar_interval": { + "$ref": "#/components/schemas/_types.aggregations:CalendarInterval" + }, + "extended_bounds": { + "$ref": "#/components/schemas/_types.aggregations:ExtendedBoundsFieldDateMath" + }, + "hard_bounds": { + "$ref": "#/components/schemas/_types.aggregations:ExtendedBoundsFieldDateMath" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "fixed_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "format": { + "description": "The date format used to format `key_as_string` in the response.\nIf no `format` is specified, the first date format specified in the field mapping is used.", + "type": "string" + }, + "interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "min_doc_count": { + "description": "Only returns buckets that have `min_doc_count` number of documents.\nBy default, all buckets between the first bucket that matches documents and the last one are returned.", + "type": "number" + }, + "missing": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "offset": { + "$ref": "#/components/schemas/_types:Duration" + }, + "order": { + "$ref": "#/components/schemas/_types.aggregations:AggregateOrder" + }, + "params": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" + }, + "keyed": { + "description": "Set to `true` to associate a unique string key with each bucket and return the ranges as a hash rather than an array.", + "type": "boolean" + } + } + } + ] + }, + "_types.aggregations:CalendarInterval": { + "type": "string", + "enum": [ + "second", + "minute", + "hour", + "day", + "week", + "month", + "quarter", + "year" + ] + }, + "_types.aggregations:ExtendedBoundsFieldDateMath": { + "type": "object", + "properties": { + "max": { + "$ref": "#/components/schemas/_types.aggregations:FieldDateMath" + }, + "min": { + "$ref": "#/components/schemas/_types.aggregations:FieldDateMath" + } + }, + "required": [ + "max", + "min" + ] + }, + "_types.aggregations:FieldDateMath": { + "description": "A date range limit, represented either as a DateMath expression or a number expressed\naccording to the target field's precision.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:DateMath" + }, + { + "type": "number" + } + ] + }, + "_types.aggregations:AggregateOrder": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:SortOrder" + }, + "minProperties": 1, + "maxProperties": 1 + }, + { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:SortOrder" + }, + "minProperties": 1, + "maxProperties": 1 + } + } + ] + }, + "_types.aggregations:DateRangeAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "format": { + "description": "The date format used to format `from` and `to` in the response.", + "type": "string" + }, + "missing": { + "$ref": "#/components/schemas/_types.aggregations:Missing" + }, + "ranges": { + "description": "Array of date ranges.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:DateRangeExpression" + } + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" + }, + "keyed": { + "description": "Set to `true` to associate a unique string key with each bucket and returns the ranges as a hash rather than an array.", + "type": "boolean" + } + } + } + ] + }, + "_types.aggregations:DateRangeExpression": { + "type": "object", + "properties": { + "from": { + "$ref": "#/components/schemas/_types.aggregations:FieldDateMath" + }, + "key": { + "description": "Custom key to return the range with.", + "type": "string" + }, + "to": { + "$ref": "#/components/schemas/_types.aggregations:FieldDateMath" + } + } + }, + "_types.aggregations:DerivativeAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:DiversifiedSamplerAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "execution_hint": { + "$ref": "#/components/schemas/_types.aggregations:SamplerAggregationExecutionHint" + }, + "max_docs_per_value": { + "description": "Limits how many documents are permitted per choice of de-duplicating value.", + "type": "number" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "shard_size": { + "description": "Limits how many top-scoring documents are collected in the sample processed on each shard.", + "type": "number" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + } + } + } + ] + }, + "_types.aggregations:SamplerAggregationExecutionHint": { + "type": "string", + "enum": [ + "map", + "global_ordinals", + "bytes_hash" + ] + }, + "_types.aggregations:ExtendedStatsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + }, + { + "type": "object", + "properties": { + "sigma": { + "description": "The number of standard deviations above/below the mean to display.", + "type": "number" + } + } + } + ] + }, + "_types.aggregations:ExtendedStatsBucketAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object", + "properties": { + "sigma": { + "description": "The number of standard deviations above/below the mean to display.", + "type": "number" + } + } + } + ] + }, + "_types.aggregations:FrequentItemSetsAggregation": { + "type": "object", + "properties": { + "fields": { + "description": "Fields to analyze.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsField" + } + }, + "minimum_set_size": { + "description": "The minimum size of one item set.", + "type": "number" + }, + "minimum_support": { + "description": "The minimum support of one item set.", + "type": "number" + }, + "size": { + "description": "The number of top item sets to return.", + "type": "number" + }, + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "required": [ + "fields" + ] + }, + "_types.aggregations:FrequentItemSetsField": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "exclude": { + "description": "Values to exclude.\nCan be regular expression strings or arrays of strings of exact terms.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "include": { + "description": "Values to include.\nCan be regular expression strings or arrays of strings of exact terms.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + }, + "required": [ + "field" + ] + }, + "_types.aggregations:FiltersAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "filters": { + "$ref": "#/components/schemas/_types.aggregations:BucketsQueryContainer" + }, + "other_bucket": { + "description": "Set to `true` to add a bucket to the response which will contain all documents that do not match any of the given filters.", + "type": "boolean" + }, + "other_bucket_key": { + "description": "The key with which the other bucket is returned.", + "type": "string" + }, + "keyed": { + "description": "By default, the named filters aggregation returns the buckets as an object.\nSet to `false` to return the buckets as an array of objects.", + "type": "boolean" + } + } + } + ] + }, + "_types.aggregations:BucketsQueryContainer": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + ] + }, + "_types.aggregations:GeoBoundsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "wrap_longitude": { + "description": "Specifies whether the bounding box should be allowed to overlap the international date line.", + "type": "boolean" + } + } + } + ] + }, + "_types.aggregations:GeoCentroidAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "location": { + "$ref": "#/components/schemas/_types:GeoLocation" + } + } + } + ] + }, + "_types.aggregations:GeoDistanceAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "distance_type": { + "$ref": "#/components/schemas/_types:GeoDistanceType" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "origin": { + "$ref": "#/components/schemas/_types:GeoLocation" + }, + "ranges": { + "description": "An array of ranges used to bucket documents.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:AggregationRange" + } + }, + "unit": { + "$ref": "#/components/schemas/_types:DistanceUnit" + } + } + } + ] + }, + "_types.aggregations:AggregationRange": { + "type": "object", + "properties": { + "from": { + "description": "Start of the range (inclusive).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "key": { + "description": "Custom key to return the range with.", + "type": "string" + }, + "to": { + "description": "End of the range (exclusive).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + } + } + }, + "_types.aggregations:GeoHashGridAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "bounds": { + "$ref": "#/components/schemas/_types:GeoBounds" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "precision": { + "$ref": "#/components/schemas/_types:GeoHashPrecision" + }, + "shard_size": { + "description": "Allows for more accurate counting of the top cells returned in the final result the aggregation.\nDefaults to returning `max(10,(size x number-of-shards))` buckets from each shard.", + "type": "number" + }, + "size": { + "description": "The maximum number of geohash buckets to return.", + "type": "number" + } + } + } + ] + }, + "_types:GeoHashPrecision": { + "description": "A precision that can be expressed as a geohash length between 1 and 12, or a distance measure like \"1km\", \"10m\".", + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "_types.aggregations:GeoLineAggregation": { + "type": "object", + "properties": { + "point": { + "$ref": "#/components/schemas/_types.aggregations:GeoLinePoint" + }, + "sort": { + "$ref": "#/components/schemas/_types.aggregations:GeoLineSort" + }, + "include_sort": { + "description": "When `true`, returns an additional array of the sort values in the feature properties.", + "type": "boolean" + }, + "sort_order": { + "$ref": "#/components/schemas/_types:SortOrder" + }, + "size": { + "description": "The maximum length of the line represented in the aggregation.\nValid sizes are between 1 and 10000.", + "type": "number" + } + }, + "required": [ + "point", + "sort" + ] + }, + "_types.aggregations:GeoLinePoint": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + }, + "_types.aggregations:GeoLineSort": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + }, + "_types.aggregations:GeoTileGridAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "precision": { + "$ref": "#/components/schemas/_types:GeoTilePrecision" + }, + "shard_size": { + "description": "Allows for more accurate counting of the top cells returned in the final result the aggregation.\nDefaults to returning `max(10,(size x number-of-shards))` buckets from each shard.", + "type": "number" + }, + "size": { + "description": "The maximum number of buckets to return.", + "type": "number" + }, + "bounds": { + "$ref": "#/components/schemas/_types:GeoBounds" + } + } + } + ] + }, + "_types:GeoTilePrecision": { + "type": "number" + }, + "_types.aggregations:GeohexGridAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "precision": { + "description": "Integer zoom of the key used to defined cells or buckets\nin the results. Value should be between 0-15.", + "type": "number" + }, + "bounds": { + "$ref": "#/components/schemas/_types:GeoBounds" + }, + "size": { + "description": "Maximum number of buckets to return.", + "type": "number" + }, + "shard_size": { + "description": "Number of buckets returned from each shard.", + "type": "number" + } + }, + "required": [ + "field" + ] + } + ] + }, + "_types.aggregations:GlobalAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:HistogramAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "extended_bounds": { + "$ref": "#/components/schemas/_types.aggregations:ExtendedBoundsdouble" + }, + "hard_bounds": { + "$ref": "#/components/schemas/_types.aggregations:ExtendedBoundsdouble" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "interval": { + "description": "The interval for the buckets.\nMust be a positive decimal.", + "type": "number" + }, + "min_doc_count": { + "description": "Only returns buckets that have `min_doc_count` number of documents.\nBy default, the response will fill gaps in the histogram with empty buckets.", + "type": "number" + }, + "missing": { + "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", + "type": "number" + }, + "offset": { + "description": "By default, the bucket keys start with 0 and then continue in even spaced steps of `interval`.\nThe bucket boundaries can be shifted by using the `offset` option.", + "type": "number" + }, + "order": { + "$ref": "#/components/schemas/_types.aggregations:AggregateOrder" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "format": { + "type": "string" + }, + "keyed": { + "description": "If `true`, returns buckets as a hash instead of an array, keyed by the bucket keys.", + "type": "boolean" + } + } + } + ] + }, + "_types.aggregations:ExtendedBoundsdouble": { + "type": "object", + "properties": { + "max": { + "description": "Maximum value for the bound.", + "type": "number" + }, + "min": { + "description": "Minimum value for the bound.", + "type": "number" + } + }, + "required": [ + "max", + "min" + ] + }, + "_types.aggregations:IpRangeAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ranges": { + "description": "Array of IP ranges.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:IpRangeAggregationRange" + } + } + } + } + ] + }, + "_types.aggregations:IpRangeAggregationRange": { + "type": "object", + "properties": { + "from": { + "description": "Start of the range.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "mask": { + "description": "IP range defined as a CIDR mask.", + "type": "string" + }, + "to": { + "description": "End of the range.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + } + } + }, + "_types.aggregations:IpPrefixAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "prefix_length": { + "description": "Length of the network prefix. For IPv4 addresses the accepted range is [0, 32].\nFor IPv6 addresses the accepted range is [0, 128].", + "type": "number" + }, + "is_ipv6": { + "description": "Defines whether the prefix applies to IPv6 addresses.", + "type": "boolean" + }, + "append_prefix_length": { + "description": "Defines whether the prefix length is appended to IP address keys in the response.", + "type": "boolean" + }, + "keyed": { + "description": "Defines whether buckets are returned as a hash rather than an array in the response.", + "type": "boolean" + }, + "min_doc_count": { + "description": "Minimum number of documents in a bucket for it to be included in the response.", + "type": "number" + } + }, + "required": [ + "field", + "prefix_length" + ] + } + ] + }, + "_types.aggregations:InferenceAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object", + "properties": { + "model_id": { + "$ref": "#/components/schemas/_types:Name" + }, + "inference_config": { + "$ref": "#/components/schemas/_types.aggregations:InferenceConfigContainer" + } + }, + "required": [ + "model_id" + ] + } + ] + }, + "_types.aggregations:InferenceConfigContainer": { + "type": "object", + "properties": { + "regression": { + "$ref": "#/components/schemas/ml._types:RegressionInferenceOptions" + }, + "classification": { + "$ref": "#/components/schemas/ml._types:ClassificationInferenceOptions" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ml._types:RegressionInferenceOptions": { + "type": "object", + "properties": { + "results_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "num_top_feature_importance_values": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/machine-learning/{branch}/ml-feature-importance.html" + }, + "description": "Specifies the maximum number of feature importance values per document.", + "type": "number" + } + } + }, + "ml._types:ClassificationInferenceOptions": { + "type": "object", + "properties": { + "num_top_classes": { + "description": "Specifies the number of top class predictions to return. Defaults to 0.", + "type": "number" + }, + "num_top_feature_importance_values": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/machine-learning/{branch}/ml-feature-importance.html" + }, + "description": "Specifies the maximum number of feature importance values per document.", + "type": "number" + }, + "prediction_field_type": { + "description": "Specifies the type of the predicted field to write. Acceptable values are: string, number, boolean. When boolean is provided 1.0 is transformed to true and 0.0 to false.", + "type": "string" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + }, + "top_classes_results_field": { + "description": "Specifies the field to which the top classes are written. Defaults to top_classes.", + "type": "string" + } + } + }, + "_types.aggregations:MatrixStatsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MatrixAggregation" + }, + { + "type": "object", + "properties": { + "mode": { + "$ref": "#/components/schemas/_types:SortMode" + } + } + } + ] + }, + "_types.aggregations:MatrixAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:Aggregation" + }, + { + "type": "object", + "properties": { + "fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "missing": { + "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", + "type": "object", + "additionalProperties": { + "type": "number" + } + } + } + } + ] + }, + "_types.aggregations:MaxAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MaxBucketAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MedianAbsoluteDeviationAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + }, + { + "type": "object", + "properties": { + "compression": { + "description": "Limits the maximum number of nodes used by the underlying TDigest algorithm to `20 * compression`, enabling control of memory usage and approximation error.", + "type": "number" + } + } + } + ] + }, + "_types.aggregations:MinAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MinBucketAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MissingAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "missing": { + "$ref": "#/components/schemas/_types.aggregations:Missing" + } + } + } + ] + }, + "_types.aggregations:MovingAverageAggregation": { + "discriminator": { + "propertyName": "model" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:LinearMovingAverageAggregation" + }, + { + "$ref": "#/components/schemas/_types.aggregations:SimpleMovingAverageAggregation" + }, + { + "$ref": "#/components/schemas/_types.aggregations:EwmaMovingAverageAggregation" + }, + { + "$ref": "#/components/schemas/_types.aggregations:HoltMovingAverageAggregation" + }, + { + "$ref": "#/components/schemas/_types.aggregations:HoltWintersMovingAverageAggregation" + } + ] + }, + "_types.aggregations:LinearMovingAverageAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" + }, + { + "type": "object", + "properties": { + "model": { + "type": "string", + "enum": [ + "linear" + ] + }, + "settings": { + "$ref": "#/components/schemas/_types:EmptyObject" + } + }, + "required": [ + "model", + "settings" + ] + } + ] + }, + "_types:EmptyObject": { + "type": "object" + }, + "_types.aggregations:MovingAverageAggregationBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object", + "properties": { + "minimize": { + "type": "boolean" + }, + "predict": { + "type": "number" + }, + "window": { + "type": "number" + } + } + } + ] + }, + "_types.aggregations:SimpleMovingAverageAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" + }, + { + "type": "object", + "properties": { + "model": { + "type": "string", + "enum": [ + "simple" + ] + }, + "settings": { + "$ref": "#/components/schemas/_types:EmptyObject" + } + }, + "required": [ + "model", + "settings" + ] + } + ] + }, + "_types.aggregations:EwmaMovingAverageAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" + }, + { + "type": "object", + "properties": { + "model": { + "type": "string", + "enum": [ + "ewma" + ] + }, + "settings": { + "$ref": "#/components/schemas/_types.aggregations:EwmaModelSettings" + } + }, + "required": [ + "model", + "settings" + ] + } + ] + }, + "_types.aggregations:EwmaModelSettings": { + "type": "object", + "properties": { + "alpha": { + "type": "number" + } + } + }, + "_types.aggregations:HoltMovingAverageAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" + }, + { + "type": "object", + "properties": { + "model": { + "type": "string", + "enum": [ + "holt" + ] + }, + "settings": { + "$ref": "#/components/schemas/_types.aggregations:HoltLinearModelSettings" + } + }, + "required": [ + "model", + "settings" + ] + } + ] + }, + "_types.aggregations:HoltLinearModelSettings": { + "type": "object", + "properties": { + "alpha": { + "type": "number" + }, + "beta": { + "type": "number" + } + } + }, + "_types.aggregations:HoltWintersMovingAverageAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" + }, + { + "type": "object", + "properties": { + "model": { + "type": "string", + "enum": [ + "holt_winters" + ] + }, + "settings": { + "$ref": "#/components/schemas/_types.aggregations:HoltWintersModelSettings" + } + }, + "required": [ + "model", + "settings" + ] + } + ] + }, + "_types.aggregations:HoltWintersModelSettings": { + "type": "object", + "properties": { + "alpha": { + "type": "number" + }, + "beta": { + "type": "number" + }, + "gamma": { + "type": "number" + }, + "pad": { + "type": "boolean" + }, + "period": { + "type": "number" + }, + "type": { + "$ref": "#/components/schemas/_types.aggregations:HoltWintersType" + } + } + }, + "_types.aggregations:HoltWintersType": { + "type": "string", + "enum": [ + "add", + "mult" + ] + }, + "_types.aggregations:MovingPercentilesAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object", + "properties": { + "window": { + "description": "The size of window to \"slide\" across the histogram.", + "type": "number" + }, + "shift": { + "description": "By default, the window consists of the last n values excluding the current bucket.\nIncreasing `shift` by 1, moves the starting window position by 1 to the right.", + "type": "number" + }, + "keyed": { + "type": "boolean" + } + } + } + ] + }, + "_types.aggregations:MovingFunctionAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object", + "properties": { + "script": { + "description": "The script that should be executed on each window of data.", + "type": "string" + }, + "shift": { + "description": "By default, the window consists of the last n values excluding the current bucket.\nIncreasing `shift` by 1, moves the starting window position by 1 to the right.", + "type": "number" + }, + "window": { + "description": "The size of window to \"slide\" across the histogram.", + "type": "number" + } + } + } + ] + }, + "_types.aggregations:MultiTermsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "collect_mode": { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregationCollectMode" + }, + "order": { + "$ref": "#/components/schemas/_types.aggregations:AggregateOrder" + }, + "min_doc_count": { + "description": "The minimum number of documents in a bucket for it to be returned.", + "type": "number" + }, + "shard_min_doc_count": { + "description": "The minimum number of documents in a bucket on each shard for it to be returned.", + "type": "number" + }, + "shard_size": { + "description": "The number of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", + "type": "number" + }, + "show_term_doc_count_error": { + "description": "Calculates the doc count error on per term basis.", + "type": "boolean" + }, + "size": { + "description": "The number of term buckets should be returned out of the overall terms list.", + "type": "number" + }, + "terms": { + "description": "The field from which to generate sets of terms.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:MultiTermLookup" + } + } + }, + "required": [ + "terms" + ] + } + ] + }, + "_types.aggregations:TermsAggregationCollectMode": { + "type": "string", + "enum": [ + "depth_first", + "breadth_first" + ] + }, + "_types.aggregations:MultiTermLookup": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "missing": { + "$ref": "#/components/schemas/_types.aggregations:Missing" + } + }, + "required": [ + "field" + ] + }, + "_types.aggregations:NestedAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "path": { + "$ref": "#/components/schemas/_types:Field" + } + } + } + ] + }, + "_types.aggregations:NormalizeAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object", + "properties": { + "method": { + "$ref": "#/components/schemas/_types.aggregations:NormalizeMethod" + } + } + } + ] + }, + "_types.aggregations:NormalizeMethod": { + "type": "string", + "enum": [ + "rescale_0_1", + "rescale_0_100", + "percent_of_sum", + "mean", + "z-score", + "softmax" + ] + }, + "_types.aggregations:ParentAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/_types:RelationName" + } + } + } + ] + }, + "_types.aggregations:PercentileRanksAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + }, + { + "type": "object", + "properties": { + "keyed": { + "description": "By default, the aggregation associates a unique string key with each bucket and returns the ranges as a hash rather than an array.\nSet to `false` to disable this behavior.", + "type": "boolean" + }, + "values": { + "description": "An array of values for which to calculate the percentile ranks.", + "oneOf": [ + { + "type": "array", + "items": { + "type": "number" + } + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "hdr": { + "$ref": "#/components/schemas/_types.aggregations:HdrMethod" + }, + "tdigest": { + "$ref": "#/components/schemas/_types.aggregations:TDigest" + } + } + } + ] + }, + "_types.aggregations:HdrMethod": { + "type": "object", + "properties": { + "number_of_significant_value_digits": { + "description": "Specifies the resolution of values for the histogram in number of significant digits.", + "type": "number" + } + } + }, + "_types.aggregations:TDigest": { + "type": "object", + "properties": { + "compression": { + "description": "Limits the maximum number of nodes used by the underlying TDigest algorithm to `20 * compression`, enabling control of memory usage and approximation error.", + "type": "number" + } + } + }, + "_types.aggregations:PercentilesAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + }, + { + "type": "object", + "properties": { + "keyed": { + "description": "By default, the aggregation associates a unique string key with each bucket and returns the ranges as a hash rather than an array.\nSet to `false` to disable this behavior.", + "type": "boolean" + }, + "percents": { + "description": "The percentiles to calculate.", + "type": "array", + "items": { + "type": "number" + } + }, + "hdr": { + "$ref": "#/components/schemas/_types.aggregations:HdrMethod" + }, + "tdigest": { + "$ref": "#/components/schemas/_types.aggregations:TDigest" + } + } + } + ] + }, + "_types.aggregations:PercentilesBucketAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object", + "properties": { + "percents": { + "description": "The list of percentiles to calculate.", + "type": "array", + "items": { + "type": "number" + } + } + } + } + ] + }, + "_types.aggregations:RangeAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "missing": { + "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", + "type": "number" + }, + "ranges": { + "description": "An array of ranges used to bucket documents.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:AggregationRange" + } + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "keyed": { + "description": "Set to `true` to associate a unique string key with each bucket and return the ranges as a hash rather than an array.", + "type": "boolean" + }, + "format": { + "type": "string" + } + } + } + ] + }, + "_types.aggregations:RareTermsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "exclude": { + "$ref": "#/components/schemas/_types.aggregations:TermsExclude" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "include": { + "$ref": "#/components/schemas/_types.aggregations:TermsInclude" + }, + "max_doc_count": { + "description": "The maximum number of documents a term should appear in.", + "type": "number" + }, + "missing": { + "$ref": "#/components/schemas/_types.aggregations:Missing" + }, + "precision": { + "description": "The precision of the internal CuckooFilters.\nSmaller precision leads to better approximation, but higher memory usage.", + "type": "number" + }, + "value_type": { + "type": "string" + } + } + } + ] + }, + "_types.aggregations:TermsExclude": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "_types.aggregations:TermsInclude": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/components/schemas/_types.aggregations:TermsPartition" + } + ] + }, + "_types.aggregations:TermsPartition": { + "type": "object", + "properties": { + "num_partitions": { + "description": "The number of partitions.", + "type": "number" + }, + "partition": { + "description": "The partition number for this request.", + "type": "number" + } + }, + "required": [ + "num_partitions", + "partition" + ] + }, + "_types.aggregations:RateAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + }, + { + "type": "object", + "properties": { + "unit": { + "$ref": "#/components/schemas/_types.aggregations:CalendarInterval" + }, + "mode": { + "$ref": "#/components/schemas/_types.aggregations:RateMode" + } + } + } + ] + }, + "_types.aggregations:RateMode": { + "type": "string", + "enum": [ + "sum", + "value_count" + ] + }, + "_types.aggregations:ReverseNestedAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "path": { + "$ref": "#/components/schemas/_types:Field" + } + } + } + ] + }, + "_types.aggregations:SamplerAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "shard_size": { + "description": "Limits how many top-scoring documents are collected in the sample processed on each shard.", + "type": "number" + } + } + } + ] + }, + "_types.aggregations:ScriptedMetricAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "combine_script": { + "$ref": "#/components/schemas/_types:Script" + }, + "init_script": { + "$ref": "#/components/schemas/_types:Script" + }, + "map_script": { + "$ref": "#/components/schemas/_types:Script" + }, + "params": { + "description": "A global object with script parameters for `init`, `map` and `combine` scripts.\nIt is shared between the scripts.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "reduce_script": { + "$ref": "#/components/schemas/_types:Script" + } + } + } + ] + }, + "_types.aggregations:SerialDifferencingAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object", + "properties": { + "lag": { + "description": "The historical bucket to subtract from the current value.\nMust be a positive, non-zero integer.", + "type": "number" + } + } + } + ] + }, + "_types.aggregations:SignificantTermsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "background_filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "chi_square": { + "$ref": "#/components/schemas/_types.aggregations:ChiSquareHeuristic" + }, + "exclude": { + "$ref": "#/components/schemas/_types.aggregations:TermsExclude" + }, + "execution_hint": { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregationExecutionHint" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "gnd": { + "$ref": "#/components/schemas/_types.aggregations:GoogleNormalizedDistanceHeuristic" + }, + "include": { + "$ref": "#/components/schemas/_types.aggregations:TermsInclude" + }, + "jlh": { + "$ref": "#/components/schemas/_types:EmptyObject" + }, + "min_doc_count": { + "description": "Only return terms that are found in more than `min_doc_count` hits.", + "type": "number" + }, + "mutual_information": { + "$ref": "#/components/schemas/_types.aggregations:MutualInformationHeuristic" + }, + "percentage": { + "$ref": "#/components/schemas/_types.aggregations:PercentageScoreHeuristic" + }, + "script_heuristic": { + "$ref": "#/components/schemas/_types.aggregations:ScriptedHeuristic" + }, + "shard_min_doc_count": { + "description": "Regulates the certainty a shard has if the term should actually be added to the candidate list or not with respect to the `min_doc_count`.\nTerms will only be considered if their local shard frequency within the set is higher than the `shard_min_doc_count`.", + "type": "number" + }, + "shard_size": { + "description": "Can be used to control the volumes of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", + "type": "number" + }, + "size": { + "description": "The number of buckets returned out of the overall terms list.", + "type": "number" + } + } + } + ] + }, + "_types.aggregations:ChiSquareHeuristic": { + "type": "object", + "properties": { + "background_is_superset": { + "description": "Set to `false` if you defined a custom background filter that represents a different set of documents that you want to compare to.", + "type": "boolean" + }, + "include_negatives": { + "description": "Set to `false` to filter out the terms that appear less often in the subset than in documents outside the subset.", + "type": "boolean" + } + }, + "required": [ + "background_is_superset", + "include_negatives" + ] + }, + "_types.aggregations:TermsAggregationExecutionHint": { + "type": "string", + "enum": [ + "map", + "global_ordinals", + "global_ordinals_hash", + "global_ordinals_low_cardinality" + ] + }, + "_types.aggregations:GoogleNormalizedDistanceHeuristic": { + "type": "object", + "properties": { + "background_is_superset": { + "description": "Set to `false` if you defined a custom background filter that represents a different set of documents that you want to compare to.", + "type": "boolean" + } + } + }, + "_types.aggregations:MutualInformationHeuristic": { + "type": "object", + "properties": { + "background_is_superset": { + "description": "Set to `false` if you defined a custom background filter that represents a different set of documents that you want to compare to.", + "type": "boolean" + }, + "include_negatives": { + "description": "Set to `false` to filter out the terms that appear less often in the subset than in documents outside the subset.", + "type": "boolean" + } + } + }, + "_types.aggregations:PercentageScoreHeuristic": { + "type": "object" + }, + "_types.aggregations:ScriptedHeuristic": { + "type": "object", + "properties": { + "script": { + "$ref": "#/components/schemas/_types:Script" + } + }, + "required": [ + "script" + ] + }, + "_types.aggregations:SignificantTextAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "background_filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "chi_square": { + "$ref": "#/components/schemas/_types.aggregations:ChiSquareHeuristic" + }, + "exclude": { + "$ref": "#/components/schemas/_types.aggregations:TermsExclude" + }, + "execution_hint": { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregationExecutionHint" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "filter_duplicate_text": { + "description": "Whether to out duplicate text to deal with noisy data.", + "type": "boolean" + }, + "gnd": { + "$ref": "#/components/schemas/_types.aggregations:GoogleNormalizedDistanceHeuristic" + }, + "include": { + "description": "Values to include.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "jlh": { + "$ref": "#/components/schemas/_types:EmptyObject" + }, + "min_doc_count": { + "description": "Only return values that are found in more than `min_doc_count` hits.", + "type": "number" + }, + "mutual_information": { + "$ref": "#/components/schemas/_types.aggregations:MutualInformationHeuristic" + }, + "percentage": { + "$ref": "#/components/schemas/_types.aggregations:PercentageScoreHeuristic" + }, + "script_heuristic": { + "$ref": "#/components/schemas/_types.aggregations:ScriptedHeuristic" + }, + "shard_min_doc_count": { + "description": "Regulates the certainty a shard has if the values should actually be added to the candidate list or not with respect to the min_doc_count.\nValues will only be considered if their local shard frequency within the set is higher than the `shard_min_doc_count`.", + "type": "number" + }, + "shard_size": { + "description": "The number of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", + "type": "number" + }, + "size": { + "description": "The number of buckets returned out of the overall terms list.", + "type": "number" + }, + "source_fields": { + "$ref": "#/components/schemas/_types:Fields" + } + } + } + ] + }, + "_types.aggregations:StatsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:StatsBucketAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:StringStatsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "show_distribution": { + "description": "Shows the probability distribution for all characters.", + "type": "boolean" + } + } + } + ] + }, + "_types.aggregations:SumAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:SumBucketAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:TermsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "collect_mode": { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregationCollectMode" + }, + "exclude": { + "$ref": "#/components/schemas/_types.aggregations:TermsExclude" + }, + "execution_hint": { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregationExecutionHint" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "include": { + "$ref": "#/components/schemas/_types.aggregations:TermsInclude" + }, + "min_doc_count": { + "description": "Only return values that are found in more than `min_doc_count` hits.", + "type": "number" + }, + "missing": { + "$ref": "#/components/schemas/_types.aggregations:Missing" + }, + "missing_order": { + "$ref": "#/components/schemas/_types.aggregations:MissingOrder" + }, + "missing_bucket": { + "type": "boolean" + }, + "value_type": { + "description": "Coerced unmapped fields into the specified type.", + "type": "string" + }, + "order": { + "$ref": "#/components/schemas/_types.aggregations:AggregateOrder" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "shard_size": { + "description": "The number of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", + "type": "number" + }, + "show_term_doc_count_error": { + "description": "Set to `true` to return the `doc_count_error_upper_bound`, which is an upper bound to the error on the `doc_count` returned by each shard.", + "type": "boolean" + }, + "size": { + "description": "The number of buckets returned out of the overall terms list.", + "type": "number" + }, + "format": { + "type": "string" + } + } + } + ] + }, + "_types.aggregations:TopHitsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "docvalue_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "explain": { + "description": "If `true`, returns detailed information about score computation as part of a hit.", + "type": "boolean" + }, + "from": { + "description": "Starting document offset.", + "type": "number" + }, + "highlight": { + "$ref": "#/components/schemas/_global.search._types:Highlight" + }, + "script_fields": { + "description": "Returns the result of one or more script evaluations for each hit.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "size": { + "description": "The maximum number of top matching hits to return per bucket.", + "type": "number" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "stored_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "track_scores": { + "description": "If `true`, calculates and returns document scores, even if the scores are not used for sorting.", + "type": "boolean" + }, + "version": { + "description": "If `true`, returns document version as part of a hit.", + "type": "boolean" + }, + "seq_no_primary_term": { + "description": "If `true`, returns sequence number and primary term of the last modification of each hit.", + "type": "boolean" + } + } + } + ] + }, + "_types.aggregations:TTestAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:Aggregation" + }, + { + "type": "object", + "properties": { + "a": { + "$ref": "#/components/schemas/_types.aggregations:TestPopulation" + }, + "b": { + "$ref": "#/components/schemas/_types.aggregations:TestPopulation" + }, + "type": { + "$ref": "#/components/schemas/_types.aggregations:TTestType" + } + } + } + ] + }, + "_types.aggregations:TestPopulation": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "required": [ + "field" + ] + }, + "_types.aggregations:TTestType": { + "type": "string", + "enum": [ + "paired", + "homoscedastic", + "heteroscedastic" + ] + }, + "_types.aggregations:TopMetricsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "metrics": { + "description": "The fields of the top document to return.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:TopMetricsValue" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:TopMetricsValue" + } + } + ] + }, + "size": { + "description": "The number of top documents from which to return metrics.", + "type": "number" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + } + } + } + ] + }, + "_types.aggregations:TopMetricsValue": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + }, + "_types.aggregations:ValueCountAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormattableMetricAggregation" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:FormattableMetricAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "format": { + "type": "string" + } + } + } + ] + }, + "_types.aggregations:WeightedAverageAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:Aggregation" + }, + { + "type": "object", + "properties": { + "format": { + "description": "A numeric response formatter.", + "type": "string" + }, + "value": { + "$ref": "#/components/schemas/_types.aggregations:WeightedAverageValue" + }, + "value_type": { + "$ref": "#/components/schemas/_types.aggregations:ValueType" + }, + "weight": { + "$ref": "#/components/schemas/_types.aggregations:WeightedAverageValue" + } + } + } + ] + }, + "_types.aggregations:WeightedAverageValue": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "missing": { + "description": "A value or weight to use if the field is missing.", + "type": "number" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + } + } + }, + "_types.aggregations:VariableWidthHistogramAggregation": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "buckets": { + "description": "The target number of buckets.", + "type": "number" + }, + "shard_size": { + "description": "The number of buckets that the coordinating node will request from each shard.\nDefaults to `buckets * 50`.", + "type": "number" + }, + "initial_buffer": { + "description": "Specifies the number of individual documents that will be stored in memory on a shard before the initial bucketing algorithm is run.\nDefaults to `min(10 * shard_size, 50000)`.", + "type": "number" + } + } + }, + "_types:KnnQuery": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "query_vector": { + "$ref": "#/components/schemas/_types:QueryVector" + }, + "query_vector_builder": { + "$ref": "#/components/schemas/_types:QueryVectorBuilder" + }, + "k": { + "description": "The final number of nearest neighbors to return as top hits", + "type": "number" + }, + "num_candidates": { + "description": "The number of nearest neighbor candidates to consider per shard", + "type": "number" + }, + "boost": { + "description": "Boost value to apply to kNN scores", + "type": "number" + }, + "filter": { + "description": "Filters for the kNN search query", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + ] + } + }, + "required": [ + "field", + "k", + "num_candidates" + ] + }, + "_types:QueryVector": { + "type": "array", + "items": { + "type": "number" + } + }, + "_types:QueryVectorBuilder": { + "type": "object", + "properties": { + "text_embedding": { + "$ref": "#/components/schemas/_types:TextEmbedding" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_types:TextEmbedding": { + "type": "object", + "properties": { + "model_id": { + "type": "string" + }, + "model_text": { + "type": "string" + } + }, + "required": [ + "model_id", + "model_text" + ] + }, + "_global.search._types:Rescore": { + "type": "object", + "properties": { + "query": { + "$ref": "#/components/schemas/_global.search._types:RescoreQuery" + }, + "window_size": { + "type": "number" + } + }, + "required": [ + "query" + ] + }, + "_global.search._types:RescoreQuery": { + "type": "object", + "properties": { + "rescore_query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "query_weight": { + "description": "Relative importance of the original query versus the rescore query.", + "type": "number" + }, + "rescore_query_weight": { + "description": "Relative importance of the rescore query versus the original query.", + "type": "number" + }, + "score_mode": { + "$ref": "#/components/schemas/_global.search._types:ScoreMode" + } + }, + "required": [ + "rescore_query" + ] + }, + "_global.search._types:ScoreMode": { + "type": "string", + "enum": [ + "avg", + "max", + "min", + "multiply", + "total" + ] + }, + "_types:SlicedScroll": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max": { + "type": "number" + } + }, + "required": [ + "id", + "max" + ] + }, + "_global.search._types:Suggester": { + "type": "object", + "properties": { + "text": { + "description": "Global suggest text, to avoid repetition when the same text is used in several suggesters", + "type": "string" + } + } + }, + "_global.search._types:PointInTimeReference": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "keep_alive": { + "$ref": "#/components/schemas/_types:Duration" + } + }, + "required": [ + "id" + ] + }, + "_types.mapping:RuntimeFields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:RuntimeField" + } + }, + "_types.mapping:RuntimeField": { + "type": "object", + "properties": { + "fetch_fields": { + "description": "For type `lookup`", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFieldFetchFields" + } + }, + "format": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-date-format.html" + }, + "description": "A custom format for `date` type runtime fields.", + "type": "string" + }, + "input_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "target_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "type": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFieldType" + } + }, + "required": [ + "type" + ] + }, + "_types.mapping:RuntimeFieldFetchFields": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "format": { + "type": "string" + } + }, + "required": [ + "field" + ] + }, + "_types.mapping:RuntimeFieldType": { + "type": "string", + "enum": [ + "boolean", + "date", + "double", + "geo_point", + "ip", + "keyword", + "long", + "lookup" + ] + }, + "autoscaling.get_autoscaling_capacity:AutoscalingDeciders": { + "type": "object", + "properties": { + "required_capacity": { + "$ref": "#/components/schemas/autoscaling.get_autoscaling_capacity:AutoscalingCapacity" + }, + "current_capacity": { + "$ref": "#/components/schemas/autoscaling.get_autoscaling_capacity:AutoscalingCapacity" + }, + "current_nodes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/autoscaling.get_autoscaling_capacity:AutoscalingNode" + } + }, + "deciders": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/autoscaling.get_autoscaling_capacity:AutoscalingDecider" + } + } + }, + "required": [ + "required_capacity", + "current_capacity", + "current_nodes", + "deciders" + ] + }, + "autoscaling.get_autoscaling_capacity:AutoscalingCapacity": { + "type": "object", + "properties": { + "node": { + "$ref": "#/components/schemas/autoscaling.get_autoscaling_capacity:AutoscalingResources" + }, + "total": { + "$ref": "#/components/schemas/autoscaling.get_autoscaling_capacity:AutoscalingResources" + } + }, + "required": [ + "node", + "total" + ] + }, + "autoscaling.get_autoscaling_capacity:AutoscalingResources": { + "type": "object", + "properties": { + "storage": { + "type": "number" + }, + "memory": { + "type": "number" + } + }, + "required": [ + "storage", + "memory" + ] + }, + "autoscaling.get_autoscaling_capacity:AutoscalingNode": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:NodeName" + } + }, + "required": [ + "name" + ] + }, + "_types:NodeName": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/modules-node.html" + }, + "type": "string" + }, + "autoscaling.get_autoscaling_capacity:AutoscalingDecider": { + "type": "object", + "properties": { + "required_capacity": { + "$ref": "#/components/schemas/autoscaling.get_autoscaling_capacity:AutoscalingCapacity" + }, + "reason_summary": { + "type": "string" + }, + "reason_details": { + "type": "object" + } + }, + "required": [ + "required_capacity" + ] + }, + "autoscaling._types:AutoscalingPolicy": { + "type": "object", + "properties": { + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "deciders": { + "description": "Decider settings", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "required": [ + "roles", + "deciders" + ] + }, + "_types:Refresh": { + "type": "string", + "enum": [ + "true", + "false", + "wait_for" + ] + }, + "_types:WaitForActiveShards": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "#/components/schemas/_types:WaitForActiveShardOptions" + } + ] + }, + "_types:WaitForActiveShardOptions": { + "type": "string", + "enum": [ + "all", + "index-setting" + ] + }, + "_global.bulk:OperationContainer": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_global.bulk:IndexOperation" + }, + "create": { + "$ref": "#/components/schemas/_global.bulk:CreateOperation" + }, + "update": { + "$ref": "#/components/schemas/_global.bulk:UpdateOperation" + }, + "delete": { + "$ref": "#/components/schemas/_global.bulk:DeleteOperation" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_global.bulk:IndexOperation": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.bulk:WriteOperation" + }, + { + "type": "object" + } + ] + }, + "_global.bulk:WriteOperation": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.bulk:OperationBase" + }, + { + "type": "object", + "properties": { + "dynamic_templates": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "pipeline": { + "type": "string" + }, + "require_alias": { + "type": "boolean" + } + } + } + ] + }, + "_global.bulk:OperationBase": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "if_primary_term": { + "type": "number" + }, + "if_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "version_type": { + "$ref": "#/components/schemas/_types:VersionType" + } + } + }, + "_global.bulk:CreateOperation": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.bulk:WriteOperation" + }, + { + "type": "object" + } + ] + }, + "_global.bulk:UpdateOperation": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.bulk:OperationBase" + }, + { + "type": "object", + "properties": { + "require_alias": { + "type": "boolean" + }, + "retry_on_conflict": { + "type": "number" + } + } + } + ] + }, + "_global.bulk:DeleteOperation": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.bulk:OperationBase" + }, + { + "type": "object" + } + ] + }, + "_global.bulk:UpdateAction": { + "type": "object", + "properties": { + "detect_noop": { + "description": "Set to false to disable setting 'result' in the response\nto 'noop' if no change to the document occurred.", + "type": "boolean" + }, + "doc": { + "description": "A partial update to an existing document.", + "type": "object" + }, + "doc_as_upsert": { + "description": "Set to true to use the contents of 'doc' as the value of 'upsert'", + "type": "boolean" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "scripted_upsert": { + "description": "Set to true to execute the script whether or not the document exists.", + "type": "boolean" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "upsert": { + "description": "If the document does not already exist, the contents of 'upsert' are inserted as a\nnew document. If the document exists, the 'script' is executed.", + "type": "object" + } + } + }, + "_global.bulk:ResponseItem": { + "type": "object", + "properties": { + "_id": { + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "_index": { + "type": "string" + }, + "status": { + "type": "number" + }, + "error": { + "$ref": "#/components/schemas/_types:ErrorCause" + }, + "_primary_term": { + "type": "number" + }, + "result": { + "type": "string" + }, + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "_version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "forced_refresh": { + "type": "boolean" + }, + "get": { + "$ref": "#/components/schemas/_types:InlineGetDictUserDefined" + } + }, + "required": [ + "_index", + "status" + ] + }, + "_types:InlineGetDictUserDefined": { + "type": "object", + "properties": { + "fields": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "found": { + "type": "boolean" + }, + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "_primary_term": { + "type": "number" + }, + "_routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "_source": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "required": [ + "found", + "_source" + ] + }, + "_types:Names": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Name" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Name" + } + } + ] + }, + "cat.aliases:AliasesRecord": { + "type": "object", + "properties": { + "alias": { + "description": "alias name", + "type": "string" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "filter": { + "description": "filter", + "type": "string" + }, + "routing.index": { + "description": "index routing", + "type": "string" + }, + "routing.search": { + "description": "search routing", + "type": "string" + }, + "is_write_index": { + "description": "write index", + "type": "string" + } + } + }, + "_types:NodeIds": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:NodeId" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:NodeId" + } + } + ] + }, + "_types:NodeId": { + "type": "string" + }, + "_types:Bytes": { + "type": "string", + "enum": [ + "b", + "kb", + "mb", + "gb", + "tb", + "pb" + ] + }, + "cat.allocation:AllocationRecord": { + "type": "object", + "properties": { + "shards": { + "description": "Number of primary and replica shards assigned to the node.", + "type": "string" + }, + "disk.indices": { + "description": "Disk space used by the node’s shards. Does not include disk space for the translog or unassigned shards.\nIMPORTANT: This metric double-counts disk space for hard-linked files, such as those created when shrinking, splitting, or cloning an index.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:ByteSize" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "disk.used": { + "description": "Total disk space in use.\nElasticsearch retrieves this metric from the node’s operating system (OS).\nThe metric includes disk space for: Elasticsearch, including the translog and unassigned shards; the node’s operating system; any other applications or files on the node.\nUnlike `disk.indices`, this metric does not double-count disk space for hard-linked files.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:ByteSize" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "disk.avail": { + "description": "Free disk space available to Elasticsearch.\nElasticsearch retrieves this metric from the node’s operating system.\nDisk-based shard allocation uses this metric to assign shards to nodes based on available disk space.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:ByteSize" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "disk.total": { + "description": "Total disk space for the node, including in-use and available space.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:ByteSize" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "disk.percent": { + "description": "Total percentage of disk space in use. Calculated as `disk.used / disk.total`.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Percentage" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "host": { + "description": "Network host for the node. Set using the `network.host` setting.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Host" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "ip": { + "description": "IP address and port for the node.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Ip" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "node": { + "description": "Name for the node. Set using the `node.name` setting.", + "type": "string" + } + } + }, + "_types:ByteSize": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/api-conventions.html#byte-units" + }, + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "_types:Percentage": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "_types:Host": { + "type": "string" + }, + "_types:Ip": { + "type": "string" + }, + "cat.component_templates:ComponentTemplate": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "version": { + "type": "string" + }, + "alias_count": { + "type": "string" + }, + "mapping_count": { + "type": "string" + }, + "settings_count": { + "type": "string" + }, + "metadata_count": { + "type": "string" + }, + "included_in": { + "type": "string" + } + }, + "required": [ + "name", + "version", + "alias_count", + "mapping_count", + "settings_count", + "metadata_count", + "included_in" + ] + }, + "cat.count:CountRecord": { + "type": "object", + "properties": { + "epoch": { + "$ref": "#/components/schemas/_spec_utils:StringifiedEpochTimeUnitSeconds" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:TimeOfDay" + }, + "count": { + "description": "the document count", + "type": "string" + } + } + }, + "_spec_utils:StringifiedEpochTimeUnitSeconds": { + "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:EpochTimeUnitSeconds" + }, + { + "type": "string" + } + ] + }, + "_types:EpochTimeUnitSeconds": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:UnitSeconds" + } + ] + }, + "_types:UnitSeconds": { + "description": "Time unit for seconds", + "type": "number" + }, + "_types:TimeOfDay": { + "description": "Time of day, expressed as HH:MM:SS", + "type": "string" + }, + "cat.fielddata:FielddataRecord": { + "type": "object", + "properties": { + "id": { + "description": "node id", + "type": "string" + }, + "host": { + "description": "host name", + "type": "string" + }, + "ip": { + "description": "ip address", + "type": "string" + }, + "node": { + "description": "node name", + "type": "string" + }, + "field": { + "description": "field name", + "type": "string" + }, + "size": { + "description": "field data usage", + "type": "string" + } + } + }, + "_types:TimeUnit": { + "type": "string", + "enum": [ + "nanos", + "micros", + "ms", + "s", + "m", + "h", + "d" + ] + }, + "cat.health:HealthRecord": { + "type": "object", + "properties": { + "epoch": { + "$ref": "#/components/schemas/_spec_utils:StringifiedEpochTimeUnitSeconds" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:TimeOfDay" + }, + "cluster": { + "description": "cluster name", + "type": "string" + }, + "status": { + "description": "health status", + "type": "string" + }, + "node.total": { + "description": "total number of nodes", + "type": "string" + }, + "node.data": { + "description": "number of nodes that can store data", + "type": "string" + }, + "shards": { + "description": "total number of shards", + "type": "string" + }, + "pri": { + "description": "number of primary shards", + "type": "string" + }, + "relo": { + "description": "number of relocating nodes", + "type": "string" + }, + "init": { + "description": "number of initializing nodes", + "type": "string" + }, + "unassign": { + "description": "number of unassigned shards", + "type": "string" + }, + "pending_tasks": { + "description": "number of pending tasks", + "type": "string" + }, + "max_task_wait_time": { + "description": "wait time of longest task pending", + "type": "string" + }, + "active_shards_percent": { + "description": "active number of shards in percent", + "type": "string" + } + } + }, + "cat.help:HelpRecord": { + "type": "object", + "properties": { + "endpoint": { + "type": "string" + } + }, + "required": [ + "endpoint" + ] + }, + "_types:HealthStatus": { + "type": "string", + "enum": [ + "green", + "yellow", + "red" + ] + }, + "cat.indices:IndicesRecord": { + "type": "object", + "properties": { + "health": { + "description": "current health status", + "type": "string" + }, + "status": { + "description": "open/close status", + "type": "string" + }, + "index": { + "description": "index name", + "type": "string" + }, + "uuid": { + "description": "index uuid", + "type": "string" + }, + "pri": { + "description": "number of primary shards", + "type": "string" + }, + "rep": { + "description": "number of replica shards", + "type": "string" + }, + "docs.count": { + "description": "available docs", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "docs.deleted": { + "description": "deleted docs", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "creation.date": { + "description": "index creation date (millisecond value)", + "type": "string" + }, + "creation.date.string": { + "description": "index creation date (as string)", + "type": "string" + }, + "store.size": { + "description": "store size of primaries & replicas", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "pri.store.size": { + "description": "store size of primaries", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "completion.size": { + "description": "size of completion", + "type": "string" + }, + "pri.completion.size": { + "description": "size of completion", + "type": "string" + }, + "fielddata.memory_size": { + "description": "used fielddata cache", + "type": "string" + }, + "pri.fielddata.memory_size": { + "description": "used fielddata cache", + "type": "string" + }, + "fielddata.evictions": { + "description": "fielddata evictions", + "type": "string" + }, + "pri.fielddata.evictions": { + "description": "fielddata evictions", + "type": "string" + }, + "query_cache.memory_size": { + "description": "used query cache", + "type": "string" + }, + "pri.query_cache.memory_size": { + "description": "used query cache", + "type": "string" + }, + "query_cache.evictions": { + "description": "query cache evictions", + "type": "string" + }, + "pri.query_cache.evictions": { + "description": "query cache evictions", + "type": "string" + }, + "request_cache.memory_size": { + "description": "used request cache", + "type": "string" + }, + "pri.request_cache.memory_size": { + "description": "used request cache", + "type": "string" + }, + "request_cache.evictions": { + "description": "request cache evictions", + "type": "string" + }, + "pri.request_cache.evictions": { + "description": "request cache evictions", + "type": "string" + }, + "request_cache.hit_count": { + "description": "request cache hit count", + "type": "string" + }, + "pri.request_cache.hit_count": { + "description": "request cache hit count", + "type": "string" + }, + "request_cache.miss_count": { + "description": "request cache miss count", + "type": "string" + }, + "pri.request_cache.miss_count": { + "description": "request cache miss count", + "type": "string" + }, + "flush.total": { + "description": "number of flushes", + "type": "string" + }, + "pri.flush.total": { + "description": "number of flushes", + "type": "string" + }, + "flush.total_time": { + "description": "time spent in flush", + "type": "string" + }, + "pri.flush.total_time": { + "description": "time spent in flush", + "type": "string" + }, + "get.current": { + "description": "number of current get ops", + "type": "string" + }, + "pri.get.current": { + "description": "number of current get ops", + "type": "string" + }, + "get.time": { + "description": "time spent in get", + "type": "string" + }, + "pri.get.time": { + "description": "time spent in get", + "type": "string" + }, + "get.total": { + "description": "number of get ops", + "type": "string" + }, + "pri.get.total": { + "description": "number of get ops", + "type": "string" + }, + "get.exists_time": { + "description": "time spent in successful gets", + "type": "string" + }, + "pri.get.exists_time": { + "description": "time spent in successful gets", + "type": "string" + }, + "get.exists_total": { + "description": "number of successful gets", + "type": "string" + }, + "pri.get.exists_total": { + "description": "number of successful gets", + "type": "string" + }, + "get.missing_time": { + "description": "time spent in failed gets", + "type": "string" + }, + "pri.get.missing_time": { + "description": "time spent in failed gets", + "type": "string" + }, + "get.missing_total": { + "description": "number of failed gets", + "type": "string" + }, + "pri.get.missing_total": { + "description": "number of failed gets", + "type": "string" + }, + "indexing.delete_current": { + "description": "number of current deletions", + "type": "string" + }, + "pri.indexing.delete_current": { + "description": "number of current deletions", + "type": "string" + }, + "indexing.delete_time": { + "description": "time spent in deletions", + "type": "string" + }, + "pri.indexing.delete_time": { + "description": "time spent in deletions", + "type": "string" + }, + "indexing.delete_total": { + "description": "number of delete ops", + "type": "string" + }, + "pri.indexing.delete_total": { + "description": "number of delete ops", + "type": "string" + }, + "indexing.index_current": { + "description": "number of current indexing ops", + "type": "string" + }, + "pri.indexing.index_current": { + "description": "number of current indexing ops", + "type": "string" + }, + "indexing.index_time": { + "description": "time spent in indexing", + "type": "string" + }, + "pri.indexing.index_time": { + "description": "time spent in indexing", + "type": "string" + }, + "indexing.index_total": { + "description": "number of indexing ops", + "type": "string" + }, + "pri.indexing.index_total": { + "description": "number of indexing ops", + "type": "string" + }, + "indexing.index_failed": { + "description": "number of failed indexing ops", + "type": "string" + }, + "pri.indexing.index_failed": { + "description": "number of failed indexing ops", + "type": "string" + }, + "merges.current": { + "description": "number of current merges", + "type": "string" + }, + "pri.merges.current": { + "description": "number of current merges", + "type": "string" + }, + "merges.current_docs": { + "description": "number of current merging docs", + "type": "string" + }, + "pri.merges.current_docs": { + "description": "number of current merging docs", + "type": "string" + }, + "merges.current_size": { + "description": "size of current merges", + "type": "string" + }, + "pri.merges.current_size": { + "description": "size of current merges", + "type": "string" + }, + "merges.total": { + "description": "number of completed merge ops", + "type": "string" + }, + "pri.merges.total": { + "description": "number of completed merge ops", + "type": "string" + }, + "merges.total_docs": { + "description": "docs merged", + "type": "string" + }, + "pri.merges.total_docs": { + "description": "docs merged", + "type": "string" + }, + "merges.total_size": { + "description": "size merged", + "type": "string" + }, + "pri.merges.total_size": { + "description": "size merged", + "type": "string" + }, + "merges.total_time": { + "description": "time spent in merges", + "type": "string" + }, + "pri.merges.total_time": { + "description": "time spent in merges", + "type": "string" + }, + "refresh.total": { + "description": "total refreshes", + "type": "string" + }, + "pri.refresh.total": { + "description": "total refreshes", + "type": "string" + }, + "refresh.time": { + "description": "time spent in refreshes", + "type": "string" + }, + "pri.refresh.time": { + "description": "time spent in refreshes", + "type": "string" + }, + "refresh.external_total": { + "description": "total external refreshes", + "type": "string" + }, + "pri.refresh.external_total": { + "description": "total external refreshes", + "type": "string" + }, + "refresh.external_time": { + "description": "time spent in external refreshes", + "type": "string" + }, + "pri.refresh.external_time": { + "description": "time spent in external refreshes", + "type": "string" + }, + "refresh.listeners": { + "description": "number of pending refresh listeners", + "type": "string" + }, + "pri.refresh.listeners": { + "description": "number of pending refresh listeners", + "type": "string" + }, + "search.fetch_current": { + "description": "current fetch phase ops", + "type": "string" + }, + "pri.search.fetch_current": { + "description": "current fetch phase ops", + "type": "string" + }, + "search.fetch_time": { + "description": "time spent in fetch phase", + "type": "string" + }, + "pri.search.fetch_time": { + "description": "time spent in fetch phase", + "type": "string" + }, + "search.fetch_total": { + "description": "total fetch ops", + "type": "string" + }, + "pri.search.fetch_total": { + "description": "total fetch ops", + "type": "string" + }, + "search.open_contexts": { + "description": "open search contexts", + "type": "string" + }, + "pri.search.open_contexts": { + "description": "open search contexts", + "type": "string" + }, + "search.query_current": { + "description": "current query phase ops", + "type": "string" + }, + "pri.search.query_current": { + "description": "current query phase ops", + "type": "string" + }, + "search.query_time": { + "description": "time spent in query phase", + "type": "string" + }, + "pri.search.query_time": { + "description": "time spent in query phase", + "type": "string" + }, + "search.query_total": { + "description": "total query phase ops", + "type": "string" + }, + "pri.search.query_total": { + "description": "total query phase ops", + "type": "string" + }, + "search.scroll_current": { + "description": "open scroll contexts", + "type": "string" + }, + "pri.search.scroll_current": { + "description": "open scroll contexts", + "type": "string" + }, + "search.scroll_time": { + "description": "time scroll contexts held open", + "type": "string" + }, + "pri.search.scroll_time": { + "description": "time scroll contexts held open", + "type": "string" + }, + "search.scroll_total": { + "description": "completed scroll contexts", + "type": "string" + }, + "pri.search.scroll_total": { + "description": "completed scroll contexts", + "type": "string" + }, + "segments.count": { + "description": "number of segments", + "type": "string" + }, + "pri.segments.count": { + "description": "number of segments", + "type": "string" + }, + "segments.memory": { + "description": "memory used by segments", + "type": "string" + }, + "pri.segments.memory": { + "description": "memory used by segments", + "type": "string" + }, + "segments.index_writer_memory": { + "description": "memory used by index writer", + "type": "string" + }, + "pri.segments.index_writer_memory": { + "description": "memory used by index writer", + "type": "string" + }, + "segments.version_map_memory": { + "description": "memory used by version map", + "type": "string" + }, + "pri.segments.version_map_memory": { + "description": "memory used by version map", + "type": "string" + }, + "segments.fixed_bitset_memory": { + "description": "memory used by fixed bit sets for nested object field types and export type filters for types referred in _parent fields", + "type": "string" + }, + "pri.segments.fixed_bitset_memory": { + "description": "memory used by fixed bit sets for nested object field types and export type filters for types referred in _parent fields", + "type": "string" + }, + "warmer.current": { + "description": "current warmer ops", + "type": "string" + }, + "pri.warmer.current": { + "description": "current warmer ops", + "type": "string" + }, + "warmer.total": { + "description": "total warmer ops", + "type": "string" + }, + "pri.warmer.total": { + "description": "total warmer ops", + "type": "string" + }, + "warmer.total_time": { + "description": "time spent in warmers", + "type": "string" + }, + "pri.warmer.total_time": { + "description": "time spent in warmers", + "type": "string" + }, + "suggest.current": { + "description": "number of current suggest ops", + "type": "string" + }, + "pri.suggest.current": { + "description": "number of current suggest ops", + "type": "string" + }, + "suggest.time": { + "description": "time spend in suggest", + "type": "string" + }, + "pri.suggest.time": { + "description": "time spend in suggest", + "type": "string" + }, + "suggest.total": { + "description": "number of suggest ops", + "type": "string" + }, + "pri.suggest.total": { + "description": "number of suggest ops", + "type": "string" + }, + "memory.total": { + "description": "total used memory", + "type": "string" + }, + "pri.memory.total": { + "description": "total user memory", + "type": "string" + }, + "search.throttled": { + "description": "indicates if the index is search throttled", + "type": "string" + }, + "bulk.total_operations": { + "description": "number of bulk shard ops", + "type": "string" + }, + "pri.bulk.total_operations": { + "description": "number of bulk shard ops", + "type": "string" + }, + "bulk.total_time": { + "description": "time spend in shard bulk", + "type": "string" + }, + "pri.bulk.total_time": { + "description": "time spend in shard bulk", + "type": "string" + }, + "bulk.total_size_in_bytes": { + "description": "total size in bytes of shard bulk", + "type": "string" + }, + "pri.bulk.total_size_in_bytes": { + "description": "total size in bytes of shard bulk", + "type": "string" + }, + "bulk.avg_time": { + "description": "average time spend in shard bulk", + "type": "string" + }, + "pri.bulk.avg_time": { + "description": "average time spend in shard bulk", + "type": "string" + }, + "bulk.avg_size_in_bytes": { + "description": "average size in bytes of shard bulk", + "type": "string" + }, + "pri.bulk.avg_size_in_bytes": { + "description": "average size in bytes of shard bulk", + "type": "string" + } + } + }, + "cat.master:MasterRecord": { + "type": "object", + "properties": { + "id": { + "description": "node id", + "type": "string" + }, + "host": { + "description": "host name", + "type": "string" + }, + "ip": { + "description": "ip address", + "type": "string" + }, + "node": { + "description": "node name", + "type": "string" + } + } + }, + "cat._types:CatDfaColumns": { + "oneOf": [ + { + "$ref": "#/components/schemas/cat._types:CatDfaColumn" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat._types:CatDfaColumn" + } + } + ] + }, + "cat._types:CatDfaColumn": { + "type": "string", + "enum": [ + "assignment_explanation", + "create_time", + "description", + "dest_index", + "failure_reason", + "id", + "model_memory_limit", + "node.address", + "node.ephemeral_id", + "node.id", + "node.name", + "progress", + "source_index", + "state", + "type", + "version" + ] + }, + "cat.ml_data_frame_analytics:DataFrameAnalyticsRecord": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "type": { + "description": "The type of analysis that the job performs.", + "type": "string" + }, + "create_time": { + "description": "The time when the job was created.", + "type": "string" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "source_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "dest_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "description": { + "description": "A description of the job.", + "type": "string" + }, + "model_memory_limit": { + "description": "The approximate maximum amount of memory resources that are permitted for the job.", + "type": "string" + }, + "state": { + "description": "The current status of the job.", + "type": "string" + }, + "failure_reason": { + "description": "Messages about the reason why the job failed.", + "type": "string" + }, + "progress": { + "description": "The progress report for the job by phase.", + "type": "string" + }, + "assignment_explanation": { + "description": "Messages related to the selection of a node.", + "type": "string" + }, + "node.id": { + "$ref": "#/components/schemas/_types:Id" + }, + "node.name": { + "$ref": "#/components/schemas/_types:Name" + }, + "node.ephemeral_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "node.address": { + "description": "The network address of the assigned node.", + "type": "string" + } + } + }, + "cat._types:CatDatafeedColumns": { + "oneOf": [ + { + "$ref": "#/components/schemas/cat._types:CatDatafeedColumn" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat._types:CatDatafeedColumn" + } + } + ] + }, + "cat._types:CatDatafeedColumn": { + "type": "string", + "enum": [ + "ae", + "bc", + "id", + "na", + "ne", + "ni", + "nn", + "sba", + "sc", + "seah", + "st", + "s" + ] + }, + "cat.ml_datafeeds:DatafeedsRecord": { + "type": "object", + "properties": { + "id": { + "description": "The datafeed identifier.", + "type": "string" + }, + "state": { + "$ref": "#/components/schemas/ml._types:DatafeedState" + }, + "assignment_explanation": { + "description": "For started datafeeds only, contains messages relating to the selection of a node.", + "type": "string" + }, + "buckets.count": { + "description": "The number of buckets processed.", + "type": "string" + }, + "search.count": { + "description": "The number of searches run by the datafeed.", + "type": "string" + }, + "search.time": { + "description": "The total time the datafeed spent searching, in milliseconds.", + "type": "string" + }, + "search.bucket_avg": { + "description": "The average search time per bucket, in milliseconds.", + "type": "string" + }, + "search.exp_avg_hour": { + "description": "The exponential average search time per hour, in milliseconds.", + "type": "string" + }, + "node.id": { + "description": "The unique identifier of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", + "type": "string" + }, + "node.name": { + "description": "The name of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", + "type": "string" + }, + "node.ephemeral_id": { + "description": "The ephemeral identifier of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", + "type": "string" + }, + "node.address": { + "description": "The network address of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", + "type": "string" + } + } + }, + "ml._types:DatafeedState": { + "type": "string", + "enum": [ + "started", + "stopped", + "starting", + "stopping" + ] + }, + "cat._types:CatAnonalyDetectorColumns": { + "oneOf": [ + { + "$ref": "#/components/schemas/cat._types:CatAnomalyDetectorColumn" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat._types:CatAnomalyDetectorColumn" + } + } + ] + }, + "cat._types:CatAnomalyDetectorColumn": { + "type": "string", + "enum": [ + "assignment_explanation", + "buckets.count", + "buckets.time.exp_avg", + "buckets.time.exp_avg_hour", + "buckets.time.max", + "buckets.time.min", + "buckets.time.total", + "data.buckets", + "data.earliest_record", + "data.empty_buckets", + "data.input_bytes", + "data.input_fields", + "data.input_records", + "data.invalid_dates", + "data.last", + "data.last_empty_bucket", + "data.last_sparse_bucket", + "data.latest_record", + "data.missing_fields", + "data.out_of_order_timestamps", + "data.processed_fields", + "data.processed_records", + "data.sparse_buckets", + "forecasts.memory.avg", + "forecasts.memory.max", + "forecasts.memory.min", + "forecasts.memory.total", + "forecasts.records.avg", + "forecasts.records.max", + "forecasts.records.min", + "forecasts.records.total", + "forecasts.time.avg", + "forecasts.time.max", + "forecasts.time.min", + "forecasts.time.total", + "forecasts.total", + "id", + "model.bucket_allocation_failures", + "model.by_fields", + "model.bytes", + "model.bytes_exceeded", + "model.categorization_status", + "model.categorized_doc_count", + "model.dead_category_count", + "model.failed_category_count", + "model.frequent_category_count", + "model.log_time", + "model.memory_limit", + "model.memory_status", + "model.over_fields", + "model.partition_fields", + "model.rare_category_count", + "model.timestamp", + "model.total_category_count", + "node.address", + "node.ephemeral_id", + "node.id", + "node.name", + "opened_time", + "state" + ] + }, + "cat.ml_jobs:JobsRecord": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "state": { + "$ref": "#/components/schemas/ml._types:JobState" + }, + "opened_time": { + "description": "For open jobs only, the amount of time the job has been opened.", + "type": "string" + }, + "assignment_explanation": { + "description": "For open anomaly detection jobs only, contains messages relating to the selection of a node to run the job.", + "type": "string" + }, + "data.processed_records": { + "description": "The number of input documents that have been processed by the anomaly detection job.\nThis value includes documents with missing fields, since they are nonetheless analyzed.\nIf you use datafeeds and have aggregations in your search query, the `processed_record_count` is the number of aggregation results processed, not the number of Elasticsearch documents.", + "type": "string" + }, + "data.processed_fields": { + "description": "The total number of fields in all the documents that have been processed by the anomaly detection job.\nOnly fields that are specified in the detector configuration object contribute to this count.\nThe timestamp is not included in this count.", + "type": "string" + }, + "data.input_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "data.input_records": { + "description": "The number of input documents posted to the anomaly detection job.", + "type": "string" + }, + "data.input_fields": { + "description": "The total number of fields in input documents posted to the anomaly detection job.\nThis count includes fields that are not used in the analysis.\nHowever, be aware that if you are using a datafeed, it extracts only the required fields from the documents it retrieves before posting them to the job.", + "type": "string" + }, + "data.invalid_dates": { + "description": "The number of input documents with either a missing date field or a date that could not be parsed.", + "type": "string" + }, + "data.missing_fields": { + "description": "The number of input documents that are missing a field that the anomaly detection job is configured to analyze.\nInput documents with missing fields are still processed because it is possible that not all fields are missing.\nIf you are using datafeeds or posting data to the job in JSON format, a high `missing_field_count` is often not an indication of data issues.\nIt is not necessarily a cause for concern.", + "type": "string" + }, + "data.out_of_order_timestamps": { + "description": "The number of input documents that have a timestamp chronologically preceding the start of the current anomaly detection bucket offset by the latency window.\nThis information is applicable only when you provide data to the anomaly detection job by using the post data API.\nThese out of order documents are discarded, since jobs require time series data to be in ascending chronological order.", + "type": "string" + }, + "data.empty_buckets": { + "description": "The number of buckets which did not contain any data.\nIf your data contains many empty buckets, consider increasing your `bucket_span` or using functions that are tolerant to gaps in data such as mean, `non_null_sum` or `non_zero_count`.", + "type": "string" + }, + "data.sparse_buckets": { + "description": "The number of buckets that contained few data points compared to the expected number of data points.\nIf your data contains many sparse buckets, consider using a longer `bucket_span`.", + "type": "string" + }, + "data.buckets": { + "description": "The total number of buckets processed.", + "type": "string" + }, + "data.earliest_record": { + "description": "The timestamp of the earliest chronologically input document.", + "type": "string" + }, + "data.latest_record": { + "description": "The timestamp of the latest chronologically input document.", + "type": "string" + }, + "data.last": { + "description": "The timestamp at which data was last analyzed, according to server time.", + "type": "string" + }, + "data.last_empty_bucket": { + "description": "The timestamp of the last bucket that did not contain any data.", + "type": "string" + }, + "data.last_sparse_bucket": { + "description": "The timestamp of the last bucket that was considered sparse.", + "type": "string" + }, + "model.bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "model.memory_status": { + "$ref": "#/components/schemas/ml._types:MemoryStatus" + }, + "model.bytes_exceeded": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "model.memory_limit": { + "description": "The upper limit for model memory usage, checked on increasing values.", + "type": "string" + }, + "model.by_fields": { + "description": "The number of `by` field values that were analyzed by the models.\nThis value is cumulative for all detectors in the job.", + "type": "string" + }, + "model.over_fields": { + "description": "The number of `over` field values that were analyzed by the models.\nThis value is cumulative for all detectors in the job.", + "type": "string" + }, + "model.partition_fields": { + "description": "The number of `partition` field values that were analyzed by the models.\nThis value is cumulative for all detectors in the job.", + "type": "string" + }, + "model.bucket_allocation_failures": { + "description": "The number of buckets for which new entities in incoming data were not processed due to insufficient model memory.\nThis situation is also signified by a `hard_limit: memory_status` property value.", + "type": "string" + }, + "model.categorization_status": { + "$ref": "#/components/schemas/ml._types:CategorizationStatus" + }, + "model.categorized_doc_count": { + "description": "The number of documents that have had a field categorized.", + "type": "string" + }, + "model.total_category_count": { + "description": "The number of categories created by categorization.", + "type": "string" + }, + "model.frequent_category_count": { + "description": "The number of categories that match more than 1% of categorized documents.", + "type": "string" + }, + "model.rare_category_count": { + "description": "The number of categories that match just one categorized document.", + "type": "string" + }, + "model.dead_category_count": { + "description": "The number of categories created by categorization that will never be assigned again because another category’s definition makes it a superset of the dead category.\nDead categories are a side effect of the way categorization has no prior training.", + "type": "string" + }, + "model.failed_category_count": { + "description": "The number of times that categorization wanted to create a new category but couldn’t because the job had hit its `model_memory_limit`.\nThis count does not track which specific categories failed to be created.\nTherefore you cannot use this value to determine the number of unique categories that were missed.", + "type": "string" + }, + "model.log_time": { + "description": "The timestamp when the model stats were gathered, according to server time.", + "type": "string" + }, + "model.timestamp": { + "description": "The timestamp of the last record when the model stats were gathered.", + "type": "string" + }, + "forecasts.total": { + "description": "The number of individual forecasts currently available for the job.\nA value of one or more indicates that forecasts exist.", + "type": "string" + }, + "forecasts.memory.min": { + "description": "The minimum memory usage in bytes for forecasts related to the anomaly detection job.", + "type": "string" + }, + "forecasts.memory.max": { + "description": "The maximum memory usage in bytes for forecasts related to the anomaly detection job.", + "type": "string" + }, + "forecasts.memory.avg": { + "description": "The average memory usage in bytes for forecasts related to the anomaly detection job.", + "type": "string" + }, + "forecasts.memory.total": { + "description": "The total memory usage in bytes for forecasts related to the anomaly detection job.", + "type": "string" + }, + "forecasts.records.min": { + "description": "The minimum number of `model_forecast` documents written for forecasts related to the anomaly detection job.", + "type": "string" + }, + "forecasts.records.max": { + "description": "The maximum number of `model_forecast` documents written for forecasts related to the anomaly detection job.", + "type": "string" + }, + "forecasts.records.avg": { + "description": "The average number of `model_forecast` documents written for forecasts related to the anomaly detection job.", + "type": "string" + }, + "forecasts.records.total": { + "description": "The total number of `model_forecast` documents written for forecasts related to the anomaly detection job.", + "type": "string" + }, + "forecasts.time.min": { + "description": "The minimum runtime in milliseconds for forecasts related to the anomaly detection job.", + "type": "string" + }, + "forecasts.time.max": { + "description": "The maximum runtime in milliseconds for forecasts related to the anomaly detection job.", + "type": "string" + }, + "forecasts.time.avg": { + "description": "The average runtime in milliseconds for forecasts related to the anomaly detection job.", + "type": "string" + }, + "forecasts.time.total": { + "description": "The total runtime in milliseconds for forecasts related to the anomaly detection job.", + "type": "string" + }, + "node.id": { + "$ref": "#/components/schemas/_types:NodeId" + }, + "node.name": { + "description": "The name of the assigned node.", + "type": "string" + }, + "node.ephemeral_id": { + "$ref": "#/components/schemas/_types:NodeId" + }, + "node.address": { + "description": "The network address of the assigned node.", + "type": "string" + }, + "buckets.count": { + "description": "The number of bucket results produced by the job.", + "type": "string" + }, + "buckets.time.total": { + "description": "The sum of all bucket processing times, in milliseconds.", + "type": "string" + }, + "buckets.time.min": { + "description": "The minimum of all bucket processing times, in milliseconds.", + "type": "string" + }, + "buckets.time.max": { + "description": "The maximum of all bucket processing times, in milliseconds.", + "type": "string" + }, + "buckets.time.exp_avg": { + "description": "The exponential moving average of all bucket processing times, in milliseconds.", + "type": "string" + }, + "buckets.time.exp_avg_hour": { + "description": "The exponential moving average of bucket processing times calculated in a one hour time window, in milliseconds.", + "type": "string" + } + } + }, + "ml._types:JobState": { + "type": "string", + "enum": [ + "closing", + "closed", + "opened", + "failed", + "opening" + ] + }, + "ml._types:MemoryStatus": { + "type": "string", + "enum": [ + "ok", + "soft_limit", + "hard_limit" + ] + }, + "ml._types:CategorizationStatus": { + "type": "string", + "enum": [ + "ok", + "warn" + ] + }, + "cat._types:CatTrainedModelsColumns": { + "oneOf": [ + { + "$ref": "#/components/schemas/cat._types:CatTrainedModelsColumn" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat._types:CatTrainedModelsColumn" + } + } + ] + }, + "cat._types:CatTrainedModelsColumn": { + "type": "string", + "enum": [ + "create_time", + "created_by", + "data_frame_analytics_id", + "description", + "heap_size", + "id", + "ingest.count", + "ingest.current", + "ingest.failed", + "ingest.pipelines", + "ingest.time", + "license", + "operations", + "version" + ] + }, + "cat.ml_trained_models:TrainedModelsRecord": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "created_by": { + "description": "Information about the creator of the model.", + "type": "string" + }, + "heap_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "operations": { + "description": "The estimated number of operations to use the model.\nThis number helps to measure the computational complexity of the model.", + "type": "string" + }, + "license": { + "description": "The license level of the model.", + "type": "string" + }, + "create_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "description": { + "description": "A description of the model.", + "type": "string" + }, + "ingest.pipelines": { + "description": "The number of pipelines that are referencing the model.", + "type": "string" + }, + "ingest.count": { + "description": "The total number of documents that are processed by the model.", + "type": "string" + }, + "ingest.time": { + "description": "The total time spent processing documents with thie model.", + "type": "string" + }, + "ingest.current": { + "description": "The total number of documents that are currently being handled by the model.", + "type": "string" + }, + "ingest.failed": { + "description": "The total number of failed ingest attempts with the model.", + "type": "string" + }, + "data_frame.id": { + "description": "The identifier for the data frame analytics job that created the model.\nOnly displayed if the job is still available.", + "type": "string" + }, + "data_frame.create_time": { + "description": "The time the data frame analytics job was created.", + "type": "string" + }, + "data_frame.source_index": { + "description": "The source index used to train in the data frame analysis.", + "type": "string" + }, + "data_frame.analysis": { + "description": "The analysis used by the data frame to build the model.", + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "cat.nodeattrs:NodeAttributesRecord": { + "type": "object", + "properties": { + "node": { + "description": "The node name.", + "type": "string" + }, + "id": { + "description": "The unique node identifier.", + "type": "string" + }, + "pid": { + "description": "The process identifier.", + "type": "string" + }, + "host": { + "description": "The host name.", + "type": "string" + }, + "ip": { + "description": "The IP address.", + "type": "string" + }, + "port": { + "description": "The bound transport port.", + "type": "string" + }, + "attr": { + "description": "The attribute name.", + "type": "string" + }, + "value": { + "description": "The attribute value.", + "type": "string" + } + } + }, + "cat.nodes:NodesRecord": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "pid": { + "description": "The process identifier.", + "type": "string" + }, + "ip": { + "description": "The IP address.", + "type": "string" + }, + "port": { + "description": "The bound transport port.", + "type": "string" + }, + "http_address": { + "description": "The bound HTTP address.", + "type": "string" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "flavor": { + "description": "The Elasticsearch distribution flavor.", + "type": "string" + }, + "type": { + "description": "The Elasticsearch distribution type.", + "type": "string" + }, + "build": { + "description": "The Elasticsearch build hash.", + "type": "string" + }, + "jdk": { + "description": "The Java version.", + "type": "string" + }, + "disk.total": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "disk.used": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "disk.avail": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "disk.used_percent": { + "$ref": "#/components/schemas/_types:Percentage" + }, + "heap.current": { + "description": "The used heap.", + "type": "string" + }, + "heap.percent": { + "$ref": "#/components/schemas/_types:Percentage" + }, + "heap.max": { + "description": "The maximum configured heap.", + "type": "string" + }, + "ram.current": { + "description": "The used machine memory.", + "type": "string" + }, + "ram.percent": { + "$ref": "#/components/schemas/_types:Percentage" + }, + "ram.max": { + "description": "The total machine memory.", + "type": "string" + }, + "file_desc.current": { + "description": "The used file descriptors.", + "type": "string" + }, + "file_desc.percent": { + "$ref": "#/components/schemas/_types:Percentage" + }, + "file_desc.max": { + "description": "The maximum number of file descriptors.", + "type": "string" + }, + "cpu": { + "description": "The recent system CPU usage as a percentage.", + "type": "string" + }, + "load_1m": { + "description": "The load average for the most recent minute.", + "type": "string" + }, + "load_5m": { + "description": "The load average for the last five minutes.", + "type": "string" + }, + "load_15m": { + "description": "The load average for the last fifteen minutes.", + "type": "string" + }, + "uptime": { + "description": "The node uptime.", + "type": "string" + }, + "node.role": { + "description": "The roles of the node.\nReturned values include `c`(cold node), `d`(data node), `f`(frozen node), `h`(hot node), `i`(ingest node), `l`(machine learning node), `m` (master eligible node), `r`(remote cluster client node), `s`(content node), `t`(transform node), `v`(voting-only node), `w`(warm node),and `-`(coordinating node only).", + "type": "string" + }, + "master": { + "description": "Indicates whether the node is the elected master node.\nReturned values include `*`(elected master) and `-`(not elected master).", + "type": "string" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "completion.size": { + "description": "The size of completion.", + "type": "string" + }, + "fielddata.memory_size": { + "description": "The used fielddata cache.", + "type": "string" + }, + "fielddata.evictions": { + "description": "The fielddata evictions.", + "type": "string" + }, + "query_cache.memory_size": { + "description": "The used query cache.", + "type": "string" + }, + "query_cache.evictions": { + "description": "The query cache evictions.", + "type": "string" + }, + "query_cache.hit_count": { + "description": "The query cache hit counts.", + "type": "string" + }, + "query_cache.miss_count": { + "description": "The query cache miss counts.", + "type": "string" + }, + "request_cache.memory_size": { + "description": "The used request cache.", + "type": "string" + }, + "request_cache.evictions": { + "description": "The request cache evictions.", + "type": "string" + }, + "request_cache.hit_count": { + "description": "The request cache hit counts.", + "type": "string" + }, + "request_cache.miss_count": { + "description": "The request cache miss counts.", + "type": "string" + }, + "flush.total": { + "description": "The number of flushes.", + "type": "string" + }, + "flush.total_time": { + "description": "The time spent in flush.", + "type": "string" + }, + "get.current": { + "description": "The number of current get ops.", + "type": "string" + }, + "get.time": { + "description": "The time spent in get.", + "type": "string" + }, + "get.total": { + "description": "The number of get ops.", + "type": "string" + }, + "get.exists_time": { + "description": "The time spent in successful gets.", + "type": "string" + }, + "get.exists_total": { + "description": "The number of successful get operations.", + "type": "string" + }, + "get.missing_time": { + "description": "The time spent in failed gets.", + "type": "string" + }, + "get.missing_total": { + "description": "The number of failed gets.", + "type": "string" + }, + "indexing.delete_current": { + "description": "The number of current deletions.", + "type": "string" + }, + "indexing.delete_time": { + "description": "The time spent in deletions.", + "type": "string" + }, + "indexing.delete_total": { + "description": "The number of delete operations.", + "type": "string" + }, + "indexing.index_current": { + "description": "The number of current indexing operations.", + "type": "string" + }, + "indexing.index_time": { + "description": "The time spent in indexing.", + "type": "string" + }, + "indexing.index_total": { + "description": "The number of indexing operations.", + "type": "string" + }, + "indexing.index_failed": { + "description": "The number of failed indexing operations.", + "type": "string" + }, + "merges.current": { + "description": "The number of current merges.", + "type": "string" + }, + "merges.current_docs": { + "description": "The number of current merging docs.", + "type": "string" + }, + "merges.current_size": { + "description": "The size of current merges.", + "type": "string" + }, + "merges.total": { + "description": "The number of completed merge operations.", + "type": "string" + }, + "merges.total_docs": { + "description": "The docs merged.", + "type": "string" + }, + "merges.total_size": { + "description": "The size merged.", + "type": "string" + }, + "merges.total_time": { + "description": "The time spent in merges.", + "type": "string" + }, + "refresh.total": { + "description": "The total refreshes.", + "type": "string" + }, + "refresh.time": { + "description": "The time spent in refreshes.", + "type": "string" + }, + "refresh.external_total": { + "description": "The total external refreshes.", + "type": "string" + }, + "refresh.external_time": { + "description": "The time spent in external refreshes.", + "type": "string" + }, + "refresh.listeners": { + "description": "The number of pending refresh listeners.", + "type": "string" + }, + "script.compilations": { + "description": "The total script compilations.", + "type": "string" + }, + "script.cache_evictions": { + "description": "The total compiled scripts evicted from the cache.", + "type": "string" + }, + "script.compilation_limit_triggered": { + "description": "The script cache compilation limit triggered.", + "type": "string" + }, + "search.fetch_current": { + "description": "The current fetch phase operations.", + "type": "string" + }, + "search.fetch_time": { + "description": "The time spent in fetch phase.", + "type": "string" + }, + "search.fetch_total": { + "description": "The total fetch operations.", + "type": "string" + }, + "search.open_contexts": { + "description": "The open search contexts.", + "type": "string" + }, + "search.query_current": { + "description": "The current query phase operations.", + "type": "string" + }, + "search.query_time": { + "description": "The time spent in query phase.", + "type": "string" + }, + "search.query_total": { + "description": "The total query phase operations.", + "type": "string" + }, + "search.scroll_current": { + "description": "The open scroll contexts.", + "type": "string" + }, + "search.scroll_time": { + "description": "The time scroll contexts held open.", + "type": "string" + }, + "search.scroll_total": { + "description": "The completed scroll contexts.", + "type": "string" + }, + "segments.count": { + "description": "The number of segments.", + "type": "string" + }, + "segments.memory": { + "description": "The memory used by segments.", + "type": "string" + }, + "segments.index_writer_memory": { + "description": "The memory used by the index writer.", + "type": "string" + }, + "segments.version_map_memory": { + "description": "The memory used by the version map.", + "type": "string" + }, + "segments.fixed_bitset_memory": { + "description": "The memory used by fixed bit sets for nested object field types and export type filters for types referred in _parent fields.", + "type": "string" + }, + "suggest.current": { + "description": "The number of current suggest operations.", + "type": "string" + }, + "suggest.time": { + "description": "The time spend in suggest.", + "type": "string" + }, + "suggest.total": { + "description": "The number of suggest operations.", + "type": "string" + }, + "bulk.total_operations": { + "description": "The number of bulk shard operations.", + "type": "string" + }, + "bulk.total_time": { + "description": "The time spend in shard bulk.", + "type": "string" + }, + "bulk.total_size_in_bytes": { + "description": "The total size in bytes of shard bulk.", + "type": "string" + }, + "bulk.avg_time": { + "description": "The average time spend in shard bulk.", + "type": "string" + }, + "bulk.avg_size_in_bytes": { + "description": "The average size in bytes of shard bulk.", + "type": "string" + } + } + }, + "cat.pending_tasks:PendingTasksRecord": { + "type": "object", + "properties": { + "insertOrder": { + "description": "The task insertion order.", + "type": "string" + }, + "timeInQueue": { + "description": "Indicates how long the task has been in queue.", + "type": "string" + }, + "priority": { + "description": "The task priority.", + "type": "string" + }, + "source": { + "description": "The task source.", + "type": "string" + } + } + }, + "cat.plugins:PluginsRecord": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:NodeId" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "component": { + "description": "The component name.", + "type": "string" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "description": { + "description": "The plugin details.", + "type": "string" + }, + "type": { + "description": "The plugin type.", + "type": "string" + } + } + }, + "cat.recovery:RecoveryRecord": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "shard": { + "description": "The shard name.", + "type": "string" + }, + "start_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "start_time_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "stop_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "stop_time_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "type": { + "description": "The recovery type.", + "type": "string" + }, + "stage": { + "description": "The recovery stage.", + "type": "string" + }, + "source_host": { + "description": "The source host.", + "type": "string" + }, + "source_node": { + "description": "The source node name.", + "type": "string" + }, + "target_host": { + "description": "The target host.", + "type": "string" + }, + "target_node": { + "description": "The target node name.", + "type": "string" + }, + "repository": { + "description": "The repository name.", + "type": "string" + }, + "snapshot": { + "description": "The snapshot name.", + "type": "string" + }, + "files": { + "description": "The number of files to recover.", + "type": "string" + }, + "files_recovered": { + "description": "The files recovered.", + "type": "string" + }, + "files_percent": { + "$ref": "#/components/schemas/_types:Percentage" + }, + "files_total": { + "description": "The total number of files.", + "type": "string" + }, + "bytes": { + "description": "The number of bytes to recover.", + "type": "string" + }, + "bytes_recovered": { + "description": "The bytes recovered.", + "type": "string" + }, + "bytes_percent": { + "$ref": "#/components/schemas/_types:Percentage" + }, + "bytes_total": { + "description": "The total number of bytes.", + "type": "string" + }, + "translog_ops": { + "description": "The number of translog operations to recover.", + "type": "string" + }, + "translog_ops_recovered": { + "description": "The translog operations recovered.", + "type": "string" + }, + "translog_ops_percent": { + "$ref": "#/components/schemas/_types:Percentage" + } + } + }, + "cat.repositories:RepositoriesRecord": { + "type": "object", + "properties": { + "id": { + "description": "The unique repository identifier.", + "type": "string" + }, + "type": { + "description": "The repository type.", + "type": "string" + } + } + }, + "cat.segments:SegmentsRecord": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "shard": { + "description": "The shard name.", + "type": "string" + }, + "prirep": { + "description": "The shard type: `primary` or `replica`.", + "type": "string" + }, + "ip": { + "description": "The IP address of the node where it lives.", + "type": "string" + }, + "id": { + "$ref": "#/components/schemas/_types:NodeId" + }, + "segment": { + "description": "The segment name, which is derived from the segment generation and used internally to create file names in the directory of the shard.", + "type": "string" + }, + "generation": { + "description": "The segment generation number.\nElasticsearch increments this generation number for each segment written then uses this number to derive the segment name.", + "type": "string" + }, + "docs.count": { + "description": "The number of documents in the segment.\nThis excludes deleted documents and counts any nested documents separately from their parents.\nIt also excludes documents which were indexed recently and do not yet belong to a segment.", + "type": "string" + }, + "docs.deleted": { + "description": "The number of deleted documents in the segment, which might be higher or lower than the number of delete operations you have performed.\nThis number excludes deletes that were performed recently and do not yet belong to a segment.\nDeleted documents are cleaned up by the automatic merge process if it makes sense to do so.\nAlso, Elasticsearch creates extra deleted documents to internally track the recent history of operations on a shard.", + "type": "string" + }, + "size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "size.memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "committed": { + "description": "If `true`, the segment is synced to disk.\nSegments that are synced can survive a hard reboot.\nIf `false`, the data from uncommitted segments is also stored in the transaction log so that Elasticsearch is able to replay changes on the next start.", + "type": "string" + }, + "searchable": { + "description": "If `true`, the segment is searchable.\nIf `false`, the segment has most likely been written to disk but needs a refresh to be searchable.", + "type": "string" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "compound": { + "description": "If `true`, the segment is stored in a compound file.\nThis means Lucene merged all files from the segment in a single file to save file descriptors.", + "type": "string" + } + } + }, + "cat.shards:ShardsRecord": { + "type": "object", + "properties": { + "index": { + "description": "The index name.", + "type": "string" + }, + "shard": { + "description": "The shard name.", + "type": "string" + }, + "prirep": { + "description": "The shard type: `primary` or `replica`.", + "type": "string" + }, + "state": { + "description": "The shard state.\nReturned values include:\n`INITIALIZING`: The shard is recovering from a peer shard or gateway.\n`RELOCATING`: The shard is relocating.\n`STARTED`: The shard has started.\n`UNASSIGNED`: The shard is not assigned to any node.", + "type": "string" + }, + "docs": { + "description": "The number of documents in the shard.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "store": { + "description": "The disk space used by the shard.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "ip": { + "description": "The IP address of the node.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "id": { + "description": "The unique identifier for the node.", + "type": "string" + }, + "node": { + "description": "The name of node.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "sync_id": { + "description": "The sync identifier.", + "type": "string" + }, + "unassigned.reason": { + "description": "The reason for the last change to the state of an unassigned shard.\nIt does not explain why the shard is currently unassigned; use the cluster allocation explain API for that information.\nReturned values include:\n`ALLOCATION_FAILED`: Unassigned as a result of a failed allocation of the shard.\n`CLUSTER_RECOVERED`: Unassigned as a result of a full cluster recovery.\n`DANGLING_INDEX_IMPORTED`: Unassigned as a result of importing a dangling index.\n`EXISTING_INDEX_RESTORED`: Unassigned as a result of restoring into a closed index.\n`FORCED_EMPTY_PRIMARY`: The shard’s allocation was last modified by forcing an empty primary using the cluster reroute API.\n`INDEX_CLOSED`: Unassigned because the index was closed.\n`INDEX_CREATED`: Unassigned as a result of an API creation of an index.\n`INDEX_REOPENED`: Unassigned as a result of opening a closed index.\n`MANUAL_ALLOCATION`: The shard’s allocation was last modified by the cluster reroute API.\n`NEW_INDEX_RESTORED`: Unassigned as a result of restoring into a new index.\n`NODE_LEFT`: Unassigned as a result of the node hosting it leaving the cluster.\n`NODE_RESTARTING`: Similar to `NODE_LEFT`, except that the node was registered as restarting using the node shutdown API.\n`PRIMARY_FAILED`: The shard was initializing as a replica, but the primary shard failed before the initialization completed.\n`REALLOCATED_REPLICA`: A better replica location is identified and causes the existing replica allocation to be cancelled.\n`REINITIALIZED`: When a shard moves from started back to initializing.\n`REPLICA_ADDED`: Unassigned as a result of explicit addition of a replica.\n`REROUTE_CANCELLED`: Unassigned as a result of explicit cancel reroute command.", + "type": "string" + }, + "unassigned.at": { + "description": "The time at which the shard became unassigned in Coordinated Universal Time (UTC).", + "type": "string" + }, + "unassigned.for": { + "description": "The time at which the shard was requested to be unassigned in Coordinated Universal Time (UTC).", + "type": "string" + }, + "unassigned.details": { + "description": "Additional details as to why the shard became unassigned.\nIt does not explain why the shard is not assigned; use the cluster allocation explain API for that information.", + "type": "string" + }, + "recoverysource.type": { + "description": "The type of recovery source.", + "type": "string" + }, + "completion.size": { + "description": "The size of completion.", + "type": "string" + }, + "fielddata.memory_size": { + "description": "The used fielddata cache memory.", + "type": "string" + }, + "fielddata.evictions": { + "description": "The fielddata cache evictions.", + "type": "string" + }, + "query_cache.memory_size": { + "description": "The used query cache memory.", + "type": "string" + }, + "query_cache.evictions": { + "description": "The query cache evictions.", + "type": "string" + }, + "flush.total": { + "description": "The number of flushes.", + "type": "string" + }, + "flush.total_time": { + "description": "The time spent in flush.", + "type": "string" + }, + "get.current": { + "description": "The number of current get operations.", + "type": "string" + }, + "get.time": { + "description": "The time spent in get operations.", + "type": "string" + }, + "get.total": { + "description": "The number of get operations.", + "type": "string" + }, + "get.exists_time": { + "description": "The time spent in successful get operations.", + "type": "string" + }, + "get.exists_total": { + "description": "The number of successful get operations.", + "type": "string" + }, + "get.missing_time": { + "description": "The time spent in failed get operations.", + "type": "string" + }, + "get.missing_total": { + "description": "The number of failed get operations.", + "type": "string" + }, + "indexing.delete_current": { + "description": "The number of current deletion operations.", + "type": "string" + }, + "indexing.delete_time": { + "description": "The time spent in deletion operations.", + "type": "string" + }, + "indexing.delete_total": { + "description": "The number of delete operations.", + "type": "string" + }, + "indexing.index_current": { + "description": "The number of current indexing operations.", + "type": "string" + }, + "indexing.index_time": { + "description": "The time spent in indexing operations.", + "type": "string" + }, + "indexing.index_total": { + "description": "The number of indexing operations.", + "type": "string" + }, + "indexing.index_failed": { + "description": "The number of failed indexing operations.", + "type": "string" + }, + "merges.current": { + "description": "The number of current merge operations.", + "type": "string" + }, + "merges.current_docs": { + "description": "The number of current merging documents.", + "type": "string" + }, + "merges.current_size": { + "description": "The size of current merge operations.", + "type": "string" + }, + "merges.total": { + "description": "The number of completed merge operations.", + "type": "string" + }, + "merges.total_docs": { + "description": "The nuber of merged documents.", + "type": "string" + }, + "merges.total_size": { + "description": "The size of current merges.", + "type": "string" + }, + "merges.total_time": { + "description": "The time spent merging documents.", + "type": "string" + }, + "refresh.total": { + "description": "The total number of refreshes.", + "type": "string" + }, + "refresh.time": { + "description": "The time spent in refreshes.", + "type": "string" + }, + "refresh.external_total": { + "description": "The total nunber of external refreshes.", + "type": "string" + }, + "refresh.external_time": { + "description": "The time spent in external refreshes.", + "type": "string" + }, + "refresh.listeners": { + "description": "The number of pending refresh listeners.", + "type": "string" + }, + "search.fetch_current": { + "description": "The current fetch phase operations.", + "type": "string" + }, + "search.fetch_time": { + "description": "The time spent in fetch phase.", + "type": "string" + }, + "search.fetch_total": { + "description": "The total number of fetch operations.", + "type": "string" + }, + "search.open_contexts": { + "description": "The number of open search contexts.", + "type": "string" + }, + "search.query_current": { + "description": "The current query phase operations.", + "type": "string" + }, + "search.query_time": { + "description": "The time spent in query phase.", + "type": "string" + }, + "search.query_total": { + "description": "The total number of query phase operations.", + "type": "string" + }, + "search.scroll_current": { + "description": "The open scroll contexts.", + "type": "string" + }, + "search.scroll_time": { + "description": "The time scroll contexts were held open.", + "type": "string" + }, + "search.scroll_total": { + "description": "The number of completed scroll contexts.", + "type": "string" + }, + "segments.count": { + "description": "The number of segments.", + "type": "string" + }, + "segments.memory": { + "description": "The memory used by segments.", + "type": "string" + }, + "segments.index_writer_memory": { + "description": "The memory used by the index writer.", + "type": "string" + }, + "segments.version_map_memory": { + "description": "The memory used by the version map.", + "type": "string" + }, + "segments.fixed_bitset_memory": { + "description": "The memory used by fixed bit sets for nested object field types and export type filters for types referred in `_parent` fields.", + "type": "string" + }, + "seq_no.max": { + "description": "The maximum sequence number.", + "type": "string" + }, + "seq_no.local_checkpoint": { + "description": "The local checkpoint.", + "type": "string" + }, + "seq_no.global_checkpoint": { + "description": "The global checkpoint.", + "type": "string" + }, + "warmer.current": { + "description": "The number of current warmer operations.", + "type": "string" + }, + "warmer.total": { + "description": "The total number of warmer operations.", + "type": "string" + }, + "warmer.total_time": { + "description": "The time spent in warmer operations.", + "type": "string" + }, + "path.data": { + "description": "The shard data path.", + "type": "string" + }, + "path.state": { + "description": "The shard state path.", + "type": "string" + }, + "bulk.total_operations": { + "description": "The number of bulk shard operations.", + "type": "string" + }, + "bulk.total_time": { + "description": "The time spent in shard bulk operations.", + "type": "string" + }, + "bulk.total_size_in_bytes": { + "description": "The total size in bytes of shard bulk operations.", + "type": "string" + }, + "bulk.avg_time": { + "description": "The average time spent in shard bulk operations.", + "type": "string" + }, + "bulk.avg_size_in_bytes": { + "description": "The average size in bytes of shard bulk operations.", + "type": "string" + } + } + }, + "cat.snapshots:SnapshotsRecord": { + "type": "object", + "properties": { + "id": { + "description": "The unique identifier for the snapshot.", + "type": "string" + }, + "repository": { + "description": "The repository name.", + "type": "string" + }, + "status": { + "description": "The state of the snapshot process.\nReturned values include:\n`FAILED`: The snapshot process failed.\n`INCOMPATIBLE`: The snapshot process is incompatible with the current cluster version.\n`IN_PROGRESS`: The snapshot process started but has not completed.\n`PARTIAL`: The snapshot process completed with a partial success.\n`SUCCESS`: The snapshot process completed with a full success.", + "type": "string" + }, + "start_epoch": { + "$ref": "#/components/schemas/_spec_utils:StringifiedEpochTimeUnitSeconds" + }, + "start_time": { + "$ref": "#/components/schemas/watcher._types:ScheduleTimeOfDay" + }, + "end_epoch": { + "$ref": "#/components/schemas/_spec_utils:StringifiedEpochTimeUnitSeconds" + }, + "end_time": { + "$ref": "#/components/schemas/_types:TimeOfDay" + }, + "duration": { + "$ref": "#/components/schemas/_types:Duration" + }, + "indices": { + "description": "The number of indices in the snapshot.", + "type": "string" + }, + "successful_shards": { + "description": "The number of successful shards in the snapshot.", + "type": "string" + }, + "failed_shards": { + "description": "The number of failed shards in the snapshot.", + "type": "string" + }, + "total_shards": { + "description": "The total number of shards in the snapshot.", + "type": "string" + }, + "reason": { + "description": "The reason for any snapshot failures.", + "type": "string" + } + } + }, + "watcher._types:ScheduleTimeOfDay": { + "description": "A time of day, expressed either as `hh:mm`, `noon`, `midnight`, or an hour/minutes structure.", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/watcher._types:HourAndMinute" + } + ] + }, + "watcher._types:HourAndMinute": { + "type": "object", + "properties": { + "hour": { + "type": "array", + "items": { + "type": "number" + } + }, + "minute": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "hour", + "minute" + ] + }, + "cat.tasks:TasksRecord": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "action": { + "description": "The task action.", + "type": "string" + }, + "task_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "parent_task_id": { + "description": "The parent task identifier.", + "type": "string" + }, + "type": { + "description": "The task type.", + "type": "string" + }, + "start_time": { + "description": "The start time in milliseconds.", + "type": "string" + }, + "timestamp": { + "description": "The start time in `HH:MM:SS` format.", + "type": "string" + }, + "running_time_ns": { + "description": "The running time in nanoseconds.", + "type": "string" + }, + "running_time": { + "description": "The running time.", + "type": "string" + }, + "node_id": { + "$ref": "#/components/schemas/_types:NodeId" + }, + "ip": { + "description": "The IP address for the node.", + "type": "string" + }, + "port": { + "description": "The bound transport port for the node.", + "type": "string" + }, + "node": { + "description": "The node name.", + "type": "string" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "x_opaque_id": { + "description": "The X-Opaque-ID header.", + "type": "string" + }, + "description": { + "description": "The task action description.", + "type": "string" + } + } + }, + "cat.templates:TemplatesRecord": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "index_patterns": { + "description": "The template index patterns.", + "type": "string" + }, + "order": { + "description": "The template application order or priority number.", + "type": "string" + }, + "version": { + "description": "The template version.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:VersionString" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "composed_of": { + "description": "The component templates that comprise the index template.", + "type": "string" + } + } + }, + "cat.thread_pool:ThreadPoolRecord": { + "type": "object", + "properties": { + "node_name": { + "description": "The node name.", + "type": "string" + }, + "node_id": { + "$ref": "#/components/schemas/_types:NodeId" + }, + "ephemeral_node_id": { + "description": "The ephemeral node identifier.", + "type": "string" + }, + "pid": { + "description": "The process identifier.", + "type": "string" + }, + "host": { + "description": "The host name for the current node.", + "type": "string" + }, + "ip": { + "description": "The IP address for the current node.", + "type": "string" + }, + "port": { + "description": "The bound transport port for the current node.", + "type": "string" + }, + "name": { + "description": "The thread pool name.", + "type": "string" + }, + "type": { + "description": "The thread pool type.\nReturned values include `fixed`, `fixed_auto_queue_size`, `direct`, and `scaling`.", + "type": "string" + }, + "active": { + "description": "The number of active threads in the current thread pool.", + "type": "string" + }, + "pool_size": { + "description": "The number of threads in the current thread pool.", + "type": "string" + }, + "queue": { + "description": "The number of tasks currently in queue.", + "type": "string" + }, + "queue_size": { + "description": "The maximum number of tasks permitted in the queue.", + "type": "string" + }, + "rejected": { + "description": "The number of rejected tasks.", + "type": "string" + }, + "largest": { + "description": "The highest number of active threads in the current thread pool.", + "type": "string" + }, + "completed": { + "description": "The number of completed tasks.", + "type": "string" + }, + "core": { + "description": "The core number of active threads allowed in a scaling thread pool.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "max": { + "description": "The maximum number of active threads allowed in a scaling thread pool.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "size": { + "description": "The number of active threads allowed in a fixed thread pool.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "keep_alive": { + "description": "The thread keep alive time.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + } + } + }, + "cat._types:CatTransformColumns": { + "oneOf": [ + { + "$ref": "#/components/schemas/cat._types:CatTransformColumn" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat._types:CatTransformColumn" + } + } + ] + }, + "cat._types:CatTransformColumn": { + "type": "string", + "enum": [ + "changes_last_detection_time", + "checkpoint", + "checkpoint_duration_time_exp_avg", + "checkpoint_progress", + "create_time", + "delete_time", + "description", + "dest_index", + "documents_deleted", + "documents_indexed", + "docs_per_second", + "documents_processed", + "frequency", + "id", + "index_failure", + "index_time", + "index_total", + "indexed_documents_exp_avg", + "last_search_time", + "max_page_search_size", + "pages_processed", + "pipeline", + "processed_documents_exp_avg", + "processing_time", + "reason", + "search_failure", + "search_time", + "search_total", + "source_index", + "state", + "transform_type", + "trigger_count", + "version" + ] + }, + "cat.transforms:TransformsRecord": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "state": { + "description": "The status of the transform.\nReturned values include:\n`aborting`: The transform is aborting.\n`failed: The transform failed. For more information about the failure, check the `reason` field.\n`indexing`: The transform is actively processing data and creating new documents.\n`started`: The transform is running but not actively indexing data.\n`stopped`: The transform is stopped.\n`stopping`: The transform is stopping.", + "type": "string" + }, + "checkpoint": { + "description": "The sequence number for the checkpoint.", + "type": "string" + }, + "documents_processed": { + "description": "The number of documents that have been processed from the source index of the transform.", + "type": "string" + }, + "checkpoint_progress": { + "description": "The progress of the next checkpoint that is currently in progress.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "last_search_time": { + "description": "The timestamp of the last search in the source indices.\nThis field is shown only if the transform is running.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "changes_last_detection_time": { + "description": "The timestamp when changes were last detected in the source indices.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "create_time": { + "description": "The time the transform was created.", + "type": "string" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "source_index": { + "description": "The source indices for the transform.", + "type": "string" + }, + "dest_index": { + "description": "The destination index for the transform.", + "type": "string" + }, + "pipeline": { + "description": "The unique identifier for the ingest pipeline.", + "type": "string" + }, + "description": { + "description": "The description of the transform.", + "type": "string" + }, + "transform_type": { + "description": "The type of transform: `batch` or `continuous`.", + "type": "string" + }, + "frequency": { + "description": "The interval between checks for changes in the source indices when the transform is running continuously.", + "type": "string" + }, + "max_page_search_size": { + "description": "The initial page size that is used for the composite aggregation for each checkpoint.", + "type": "string" + }, + "docs_per_second": { + "description": "The number of input documents per second.", + "type": "string" + }, + "reason": { + "description": "If a transform has a `failed` state, these details describe the reason for failure.", + "type": "string" + }, + "search_total": { + "description": "The total number of search operations on the source index for the transform.", + "type": "string" + }, + "search_failure": { + "description": "The total number of search failures.", + "type": "string" + }, + "search_time": { + "description": "The total amount of search time, in milliseconds.", + "type": "string" + }, + "index_total": { + "description": "The total number of index operations done by the transform.", + "type": "string" + }, + "index_failure": { + "description": "The total number of indexing failures.", + "type": "string" + }, + "index_time": { + "description": "The total time spent indexing documents, in milliseconds.", + "type": "string" + }, + "documents_indexed": { + "description": "The number of documents that have been indexed into the destination index for the transform.", + "type": "string" + }, + "delete_time": { + "description": "The total time spent deleting documents, in milliseconds.", + "type": "string" + }, + "documents_deleted": { + "description": "The number of documents deleted from the destination index due to the retention policy for the transform.", + "type": "string" + }, + "trigger_count": { + "description": "The number of times the transform has been triggered by the scheduler.\nFor example, the scheduler triggers the transform indexer to check for updates or ingest new data at an interval specified in the `frequency` property.", + "type": "string" + }, + "pages_processed": { + "description": "The number of search or bulk index operations processed.\nDocuments are processed in batches instead of individually.", + "type": "string" + }, + "processing_time": { + "description": "The total time spent processing results, in milliseconds.", + "type": "string" + }, + "checkpoint_duration_time_exp_avg": { + "description": "The exponential moving average of the duration of the checkpoint, in milliseconds.", + "type": "string" + }, + "indexed_documents_exp_avg": { + "description": "The exponential moving average of the number of new documents that have been indexed.", + "type": "string" + }, + "processed_documents_exp_avg": { + "description": "The exponential moving average of the number of documents that have been processed.", + "type": "string" + } + } + }, + "ccr.follow_info:FollowerIndex": { + "type": "object", + "properties": { + "follower_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "leader_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "parameters": { + "$ref": "#/components/schemas/ccr.follow_info:FollowerIndexParameters" + }, + "remote_cluster": { + "$ref": "#/components/schemas/_types:Name" + }, + "status": { + "$ref": "#/components/schemas/ccr.follow_info:FollowerIndexStatus" + } + }, + "required": [ + "follower_index", + "leader_index", + "remote_cluster", + "status" + ] + }, + "ccr.follow_info:FollowerIndexParameters": { + "type": "object", + "properties": { + "max_outstanding_read_requests": { + "type": "number" + }, + "max_outstanding_write_requests": { + "type": "number" + }, + "max_read_request_operation_count": { + "type": "number" + }, + "max_read_request_size": { + "type": "string" + }, + "max_retry_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "max_write_buffer_count": { + "type": "number" + }, + "max_write_buffer_size": { + "type": "string" + }, + "max_write_request_operation_count": { + "type": "number" + }, + "max_write_request_size": { + "type": "string" + }, + "read_poll_timeout": { + "$ref": "#/components/schemas/_types:Duration" + } + }, + "required": [ + "max_outstanding_read_requests", + "max_outstanding_write_requests", + "max_read_request_operation_count", + "max_read_request_size", + "max_retry_delay", + "max_write_buffer_count", + "max_write_buffer_size", + "max_write_request_operation_count", + "max_write_request_size", + "read_poll_timeout" + ] + }, + "ccr.follow_info:FollowerIndexStatus": { + "type": "string", + "enum": [ + "active", + "paused" + ] + }, + "ccr._types:FollowIndexStats": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "shards": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ccr._types:ShardStats" + } + } + }, + "required": [ + "index", + "shards" + ] + }, + "ccr._types:ShardStats": { + "type": "object", + "properties": { + "bytes_read": { + "type": "number" + }, + "failed_read_requests": { + "type": "number" + }, + "failed_write_requests": { + "type": "number" + }, + "fatal_exception": { + "$ref": "#/components/schemas/_types:ErrorCause" + }, + "follower_aliases_version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "follower_global_checkpoint": { + "type": "number" + }, + "follower_index": { + "type": "string" + }, + "follower_mapping_version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "follower_max_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "follower_settings_version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "last_requested_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "leader_global_checkpoint": { + "type": "number" + }, + "leader_index": { + "type": "string" + }, + "leader_max_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "operations_read": { + "type": "number" + }, + "operations_written": { + "type": "number" + }, + "outstanding_read_requests": { + "type": "number" + }, + "outstanding_write_requests": { + "type": "number" + }, + "read_exceptions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ccr._types:ReadException" + } + }, + "remote_cluster": { + "type": "string" + }, + "shard_id": { + "type": "number" + }, + "successful_read_requests": { + "type": "number" + }, + "successful_write_requests": { + "type": "number" + }, + "time_since_last_read": { + "$ref": "#/components/schemas/_types:Duration" + }, + "time_since_last_read_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total_read_remote_exec_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_read_remote_exec_time_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total_read_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_read_time_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total_write_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_write_time_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "write_buffer_operation_count": { + "type": "number" + }, + "write_buffer_size_in_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + } + }, + "required": [ + "bytes_read", + "failed_read_requests", + "failed_write_requests", + "follower_aliases_version", + "follower_global_checkpoint", + "follower_index", + "follower_mapping_version", + "follower_max_seq_no", + "follower_settings_version", + "last_requested_seq_no", + "leader_global_checkpoint", + "leader_index", + "leader_max_seq_no", + "operations_read", + "operations_written", + "outstanding_read_requests", + "outstanding_write_requests", + "read_exceptions", + "remote_cluster", + "shard_id", + "successful_read_requests", + "successful_write_requests", + "time_since_last_read_millis", + "total_read_remote_exec_time_millis", + "total_read_time_millis", + "total_write_time_millis", + "write_buffer_operation_count", + "write_buffer_size_in_bytes" + ] + }, + "ccr._types:ReadException": { + "type": "object", + "properties": { + "exception": { + "$ref": "#/components/schemas/_types:ErrorCause" + }, + "from_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "retries": { + "type": "number" + } + }, + "required": [ + "exception", + "from_seq_no", + "retries" + ] + }, + "_types:DurationValueUnitMillis": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:UnitMillis" + } + ] + }, + "_types:Uuid": { + "type": "string" + }, + "ccr.get_auto_follow_pattern:AutoFollowPattern": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "pattern": { + "$ref": "#/components/schemas/ccr.get_auto_follow_pattern:AutoFollowPatternSummary" + } + }, + "required": [ + "name", + "pattern" + ] + }, + "ccr.get_auto_follow_pattern:AutoFollowPatternSummary": { + "type": "object", + "properties": { + "active": { + "type": "boolean" + }, + "remote_cluster": { + "description": "The remote cluster containing the leader indices to match against.", + "type": "string" + }, + "follow_index_pattern": { + "$ref": "#/components/schemas/_types:IndexPattern" + }, + "leader_index_patterns": { + "$ref": "#/components/schemas/_types:IndexPatterns" + }, + "leader_index_exclusion_patterns": { + "$ref": "#/components/schemas/_types:IndexPatterns" + }, + "max_outstanding_read_requests": { + "description": "The maximum number of outstanding reads requests from the remote cluster.", + "type": "number" + } + }, + "required": [ + "active", + "remote_cluster", + "leader_index_patterns", + "leader_index_exclusion_patterns", + "max_outstanding_read_requests" + ] + }, + "_types:IndexPattern": { + "type": "string" + }, + "_types:IndexPatterns": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:IndexPattern" + } + }, + "ccr.stats:AutoFollowStats": { + "type": "object", + "properties": { + "auto_followed_clusters": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ccr.stats:AutoFollowedCluster" + } + }, + "number_of_failed_follow_indices": { + "type": "number" + }, + "number_of_failed_remote_cluster_state_requests": { + "type": "number" + }, + "number_of_successful_follow_indices": { + "type": "number" + }, + "recent_auto_follow_errors": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + } + }, + "required": [ + "auto_followed_clusters", + "number_of_failed_follow_indices", + "number_of_failed_remote_cluster_state_requests", + "number_of_successful_follow_indices", + "recent_auto_follow_errors" + ] + }, + "ccr.stats:AutoFollowedCluster": { + "type": "object", + "properties": { + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "last_seen_metadata_version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "time_since_last_check_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "cluster_name", + "last_seen_metadata_version", + "time_since_last_check_millis" + ] + }, + "ccr.stats:FollowStats": { + "type": "object", + "properties": { + "indices": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ccr._types:FollowIndexStats" + } + } + }, + "required": [ + "indices" + ] + }, + "_types:ScrollIds": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:ScrollId" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ScrollId" + } + } + ] + }, + "cluster.allocation_explain:Decision": { + "type": "string", + "enum": [ + "yes", + "no", + "worse_balance", + "throttled", + "awaiting_info", + "allocation_delayed", + "no_valid_shard_copy", + "no_attempt" + ] + }, + "cluster.allocation_explain:AllocationDecision": { + "type": "object", + "properties": { + "decider": { + "type": "string" + }, + "decision": { + "$ref": "#/components/schemas/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:ClusterInfo": { + "type": "object", + "properties": { + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/cluster.allocation_explain:NodeDiskUsage" + } + }, + "shard_sizes": { + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "shard_data_set_sizes": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "shard_paths": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "reserved_sizes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.allocation_explain:ReservedSize" + } + } + }, + "required": [ + "nodes", + "shard_sizes", + "shard_paths", + "reserved_sizes" + ] + }, + "cluster.allocation_explain:NodeDiskUsage": { + "type": "object", + "properties": { + "node_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "least_available": { + "$ref": "#/components/schemas/cluster.allocation_explain:DiskUsage" + }, + "most_available": { + "$ref": "#/components/schemas/cluster.allocation_explain:DiskUsage" + } + }, + "required": [ + "node_name", + "least_available", + "most_available" + ] + }, + "cluster.allocation_explain:DiskUsage": { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "total_bytes": { + "type": "number" + }, + "used_bytes": { + "type": "number" + }, + "free_bytes": { + "type": "number" + }, + "free_disk_percent": { + "type": "number" + }, + "used_disk_percent": { + "type": "number" + } + }, + "required": [ + "path", + "total_bytes", + "used_bytes", + "free_bytes", + "free_disk_percent", + "used_disk_percent" + ] + }, + "cluster.allocation_explain:ReservedSize": { + "type": "object", + "properties": { + "node_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "path": { + "type": "string" + }, + "total": { + "type": "number" + }, + "shards": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "node_id", + "path", + "total", + "shards" + ] + }, + "cluster.allocation_explain:CurrentNode": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "attributes": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "transport_address": { + "$ref": "#/components/schemas/_types:TransportAddress" + }, + "weight_ranking": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "attributes", + "transport_address", + "weight_ranking" + ] + }, + "_types:TransportAddress": { + "type": "string" + }, + "cluster.allocation_explain:NodeAllocationExplanation": { + "type": "object", + "properties": { + "deciders": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.allocation_explain:AllocationDecision" + } + }, + "node_attributes": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "node_decision": { + "$ref": "#/components/schemas/cluster.allocation_explain:Decision" + }, + "node_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "node_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "store": { + "$ref": "#/components/schemas/cluster.allocation_explain:AllocationStore" + }, + "transport_address": { + "$ref": "#/components/schemas/_types:TransportAddress" + }, + "weight_ranking": { + "type": "number" + } + }, + "required": [ + "deciders", + "node_attributes", + "node_decision", + "node_id", + "node_name", + "transport_address", + "weight_ranking" + ] + }, + "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:UnassignedInformation": { + "type": "object", + "properties": { + "at": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "last_allocation_status": { + "type": "string" + }, + "reason": { + "$ref": "#/components/schemas/cluster.allocation_explain:UnassignedInformationReason" + }, + "details": { + "type": "string" + }, + "failed_allocation_attempts": { + "type": "number" + }, + "delayed": { + "type": "boolean" + }, + "allocation_status": { + "type": "string" + } + }, + "required": [ + "at", + "reason" + ] + }, + "cluster.allocation_explain:UnassignedInformationReason": { + "type": "string", + "enum": [ + "INDEX_CREATED", + "CLUSTER_RECOVERED", + "INDEX_REOPENED", + "DANGLING_INDEX_IMPORTED", + "NEW_INDEX_RESTORED", + "EXISTING_INDEX_RESTORED", + "REPLICA_ADDED", + "ALLOCATION_FAILED", + "NODE_LEFT", + "REROUTE_CANCELLED", + "REINITIALIZED", + "REALLOCATED_REPLICA", + "PRIMARY_FAILED", + "FORCED_EMPTY_PRIMARY", + "MANUAL_ALLOCATION" + ] + }, + "cluster._types:ComponentTemplate": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "component_template": { + "$ref": "#/components/schemas/cluster._types:ComponentTemplateNode" + } + }, + "required": [ + "name", + "component_template" + ] + }, + "cluster._types:ComponentTemplateNode": { + "type": "object", + "properties": { + "template": { + "$ref": "#/components/schemas/cluster._types:ComponentTemplateSummary" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + } + }, + "required": [ + "template" + ] + }, + "cluster._types:ComponentTemplateSummary": { + "type": "object", + "properties": { + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "settings": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + } + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "aliases": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:AliasDefinition" + } + }, + "lifecycle": { + "$ref": "#/components/schemas/indices._types:DataLifecycleWithRollover" + } + } + }, + "indices._types:IndexSettings": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + }, + "mode": { + "type": "string" + }, + "routing_path": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "soft_deletes": { + "$ref": "#/components/schemas/indices._types:SoftDeletes" + }, + "sort": { + "$ref": "#/components/schemas/indices._types:IndexSegmentSort" + }, + "number_of_shards": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "number_of_replicas": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "number_of_routing_shards": { + "type": "number" + }, + "check_on_startup": { + "$ref": "#/components/schemas/indices._types:IndexCheckOnStartup" + }, + "codec": { + "type": "string" + }, + "routing_partition_size": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" + }, + "load_fixed_bitset_filters_eagerly": { + "type": "boolean" + }, + "hidden": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] + }, + "auto_expand_replicas": { + "type": "string" + }, + "merge": { + "$ref": "#/components/schemas/indices._types:Merge" + }, + "search": { + "$ref": "#/components/schemas/indices._types:SettingsSearch" + }, + "refresh_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "max_result_window": { + "type": "number" + }, + "max_inner_result_window": { + "type": "number" + }, + "max_rescore_window": { + "type": "number" + }, + "max_docvalue_fields_search": { + "type": "number" + }, + "max_script_fields": { + "type": "number" + }, + "max_ngram_diff": { + "type": "number" + }, + "max_shingle_diff": { + "type": "number" + }, + "blocks": { + "$ref": "#/components/schemas/indices._types:IndexSettingBlocks" + }, + "max_refresh_listeners": { + "type": "number" + }, + "analyze": { + "$ref": "#/components/schemas/indices._types:SettingsAnalyze" + }, + "highlight": { + "$ref": "#/components/schemas/indices._types:SettingsHighlight" + }, + "max_terms_count": { + "type": "number" + }, + "max_regex_length": { + "type": "number" + }, + "routing": { + "$ref": "#/components/schemas/indices._types:IndexRouting" + }, + "gc_deletes": { + "$ref": "#/components/schemas/_types:Duration" + }, + "default_pipeline": { + "$ref": "#/components/schemas/_types:PipelineName" + }, + "final_pipeline": { + "$ref": "#/components/schemas/_types:PipelineName" + }, + "lifecycle": { + "$ref": "#/components/schemas/indices._types:IndexSettingsLifecycle" + }, + "provided_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "creation_date": { + "$ref": "#/components/schemas/_spec_utils:StringifiedEpochTimeUnitMillis" + }, + "creation_date_string": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "uuid": { + "$ref": "#/components/schemas/_types:Uuid" + }, + "version": { + "$ref": "#/components/schemas/indices._types:IndexVersioning" + }, + "verified_before_close": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] + }, + "format": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "max_slices_per_scroll": { + "type": "number" + }, + "translog": { + "$ref": "#/components/schemas/indices._types:Translog" + }, + "query_string": { + "$ref": "#/components/schemas/indices._types:SettingsQueryString" + }, + "priority": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "top_metrics_max_size": { + "type": "number" + }, + "analysis": { + "$ref": "#/components/schemas/indices._types:IndexSettingsAnalysis" + }, + "settings": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + }, + "time_series": { + "$ref": "#/components/schemas/indices._types:IndexSettingsTimeSeries" + }, + "shards": { + "type": "number" + }, + "queries": { + "$ref": "#/components/schemas/indices._types:Queries" + }, + "similarity": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarity" + }, + "mapping": { + "$ref": "#/components/schemas/indices._types:MappingLimitSettings" + }, + "indexing.slowlog": { + "$ref": "#/components/schemas/indices._types:IndexingSlowlogSettings" + }, + "indexing_pressure": { + "$ref": "#/components/schemas/indices._types:IndexingPressure" + }, + "store": { + "$ref": "#/components/schemas/indices._types:Storage" + } + } + }, + "indices._types:SoftDeletes": { + "type": "object", + "properties": { + "enabled": { + "description": "Indicates whether soft deletes are enabled on the index.", + "type": "boolean" + }, + "retention_lease": { + "$ref": "#/components/schemas/indices._types:RetentionLease" + } + } + }, + "indices._types:RetentionLease": { + "type": "object", + "properties": { + "period": { + "$ref": "#/components/schemas/_types:Duration" + } + }, + "required": [ + "period" + ] + }, + "indices._types:IndexSegmentSort": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Fields" + }, + "order": { + "oneOf": [ + { + "$ref": "#/components/schemas/indices._types:SegmentSortOrder" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices._types:SegmentSortOrder" + } + } + ] + }, + "mode": { + "oneOf": [ + { + "$ref": "#/components/schemas/indices._types:SegmentSortMode" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices._types:SegmentSortMode" + } + } + ] + }, + "missing": { + "oneOf": [ + { + "$ref": "#/components/schemas/indices._types:SegmentSortMissing" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices._types:SegmentSortMissing" + } + } + ] + } + } + }, + "indices._types:SegmentSortOrder": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + }, + "indices._types:SegmentSortMode": { + "type": "string", + "enum": [ + "min", + "max" + ] + }, + "indices._types:SegmentSortMissing": { + "type": "string", + "enum": [ + "_last", + "_first" + ] + }, + "indices._types:IndexCheckOnStartup": { + "type": "string", + "enum": [ + "true", + "false", + "checksum" + ] + }, + "_spec_utils:Stringifiedinteger": { + "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "indices._types:Merge": { + "type": "object", + "properties": { + "scheduler": { + "$ref": "#/components/schemas/indices._types:MergeScheduler" + } + } + }, + "indices._types:MergeScheduler": { + "type": "object", + "properties": { + "max_thread_count": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" + }, + "max_merge_count": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" + } + } + }, + "indices._types:SettingsSearch": { + "type": "object", + "properties": { + "idle": { + "$ref": "#/components/schemas/indices._types:SearchIdle" + }, + "slowlog": { + "$ref": "#/components/schemas/indices._types:SlowlogSettings" + } + } + }, + "indices._types:SearchIdle": { + "type": "object", + "properties": { + "after": { + "$ref": "#/components/schemas/_types:Duration" + } + } + }, + "indices._types:SlowlogSettings": { + "type": "object", + "properties": { + "level": { + "type": "string" + }, + "source": { + "type": "number" + }, + "reformat": { + "type": "boolean" + }, + "threshold": { + "$ref": "#/components/schemas/indices._types:SlowlogTresholds" + } + } + }, + "indices._types:SlowlogTresholds": { + "type": "object", + "properties": { + "query": { + "$ref": "#/components/schemas/indices._types:SlowlogTresholdLevels" + }, + "fetch": { + "$ref": "#/components/schemas/indices._types:SlowlogTresholdLevels" + } + } + }, + "indices._types:SlowlogTresholdLevels": { + "type": "object", + "properties": { + "warn": { + "$ref": "#/components/schemas/_types:Duration" + }, + "info": { + "$ref": "#/components/schemas/_types:Duration" + }, + "debug": { + "$ref": "#/components/schemas/_types:Duration" + }, + "trace": { + "$ref": "#/components/schemas/_types:Duration" + } + } + }, + "indices._types:IndexSettingBlocks": { + "type": "object", + "properties": { + "read_only": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + }, + "read_only_allow_delete": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + }, + "read": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + }, + "write": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + }, + "metadata": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + } + } + }, + "_spec_utils:Stringifiedboolean": { + "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] + }, + "indices._types:SettingsAnalyze": { + "type": "object", + "properties": { + "max_token_count": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" + } + } + }, + "indices._types:SettingsHighlight": { + "type": "object", + "properties": { + "max_analyzed_offset": { + "type": "number" + } + } + }, + "indices._types:IndexRouting": { + "type": "object", + "properties": { + "allocation": { + "$ref": "#/components/schemas/indices._types:IndexRoutingAllocation" + }, + "rebalance": { + "$ref": "#/components/schemas/indices._types:IndexRoutingRebalance" + } + } + }, + "indices._types:IndexRoutingAllocation": { + "type": "object", + "properties": { + "enable": { + "$ref": "#/components/schemas/indices._types:IndexRoutingAllocationOptions" + }, + "include": { + "$ref": "#/components/schemas/indices._types:IndexRoutingAllocationInclude" + }, + "initial_recovery": { + "$ref": "#/components/schemas/indices._types:IndexRoutingAllocationInitialRecovery" + }, + "disk": { + "$ref": "#/components/schemas/indices._types:IndexRoutingAllocationDisk" + } + } + }, + "indices._types:IndexRoutingAllocationOptions": { + "type": "string", + "enum": [ + "all", + "primaries", + "new_primaries", + "none" + ] + }, + "indices._types:IndexRoutingAllocationInclude": { + "type": "object", + "properties": { + "_tier_preference": { + "type": "string" + }, + "_id": { + "$ref": "#/components/schemas/_types:Id" + } + } + }, + "indices._types:IndexRoutingAllocationInitialRecovery": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + } + } + }, + "indices._types:IndexRoutingAllocationDisk": { + "type": "object", + "properties": { + "threshold_enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] + } + } + }, + "indices._types:IndexRoutingRebalance": { + "type": "object", + "properties": { + "enable": { + "$ref": "#/components/schemas/indices._types:IndexRoutingRebalanceOptions" + } + }, + "required": [ + "enable" + ] + }, + "indices._types:IndexRoutingRebalanceOptions": { + "type": "string", + "enum": [ + "all", + "primaries", + "replicas", + "none" + ] + }, + "_types:PipelineName": { + "type": "string" + }, + "indices._types:IndexSettingsLifecycle": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "indexing_complete": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + }, + "origination_date": { + "description": "If specified, this is the timestamp used to calculate the index age for its phase transitions. Use this setting\nif you create a new index that contains old data and want to use the original creation date to calculate the index\nage. Specified as a Unix epoch value in milliseconds.", + "type": "number" + }, + "parse_origination_date": { + "description": "Set to true to parse the origination date from the index name. This origination date is used to calculate the index age\nfor its phase transitions. The index name must match the pattern ^.*-{date_format}-\\\\d+, where the date_format is\nyyyy.MM.dd and the trailing digits are optional. An index that was rolled over would normally match the full format,\nfor example logs-2016.10.31-000002). If the index name doesn’t match the pattern, index creation fails.", + "type": "boolean" + }, + "step": { + "$ref": "#/components/schemas/indices._types:IndexSettingsLifecycleStep" + }, + "rollover_alias": { + "description": "The index alias to update when the index rolls over. Specify when using a policy that contains a rollover action.\nWhen the index rolls over, the alias is updated to reflect that the index is no longer the write index. For more\ninformation about rolling indices, see Rollover.", + "type": "string" + } + }, + "required": [ + "name" + ] + }, + "indices._types:IndexSettingsLifecycleStep": { + "type": "object", + "properties": { + "wait_time_threshold": { + "$ref": "#/components/schemas/_types:Duration" + } + } + }, + "_spec_utils:StringifiedEpochTimeUnitMillis": { + "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + { + "type": "string" + } + ] + }, + "indices._types:IndexVersioning": { + "type": "object", + "properties": { + "created": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "created_string": { + "type": "string" + } + } + }, + "indices._types:Translog": { + "type": "object", + "properties": { + "sync_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "durability": { + "$ref": "#/components/schemas/indices._types:TranslogDurability" + }, + "flush_threshold_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "retention": { + "$ref": "#/components/schemas/indices._types:TranslogRetention" + } + } + }, + "indices._types:TranslogDurability": { + "type": "string", + "enum": [ + "request", + "async" + ] + }, + "indices._types:TranslogRetention": { + "type": "object", + "properties": { + "size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "age": { + "$ref": "#/components/schemas/_types:Duration" + } + } + }, + "indices._types:SettingsQueryString": { + "type": "object", + "properties": { + "lenient": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + } + }, + "required": [ + "lenient" + ] + }, + "indices._types:IndexSettingsAnalysis": { + "type": "object", + "properties": { + "analyzer": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.analysis:Analyzer" + } + }, + "char_filter": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.analysis:CharFilter" + } + }, + "filter": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.analysis:TokenFilter" + } + }, + "normalizer": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.analysis:Normalizer" + } + }, + "tokenizer": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.analysis:Tokenizer" + } + } + } + }, + "_types.analysis:CharFilter": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/_types.analysis:CharFilterDefinition" + } + ] + }, + "_types.analysis:CharFilterDefinition": { + "discriminator": { + "propertyName": "type" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/_types.analysis:HtmlStripCharFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:MappingCharFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:PatternReplaceCharFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:IcuNormalizationCharFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:KuromojiIterationMarkCharFilter" + } + ] + }, + "_types.analysis:HtmlStripCharFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CharFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "html_strip" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:CharFilterBase": { + "type": "object", + "properties": { + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + } + }, + "_types.analysis:MappingCharFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CharFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "mapping" + ] + }, + "mappings": { + "type": "array", + "items": { + "type": "string" + } + }, + "mappings_path": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:PatternReplaceCharFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CharFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "pattern_replace" + ] + }, + "flags": { + "type": "string" + }, + "pattern": { + "type": "string" + }, + "replacement": { + "type": "string" + } + }, + "required": [ + "type", + "pattern" + ] + } + ] + }, + "_types.analysis:IcuNormalizationCharFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CharFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "icu_normalizer" + ] + }, + "mode": { + "$ref": "#/components/schemas/_types.analysis:IcuNormalizationMode" + }, + "name": { + "$ref": "#/components/schemas/_types.analysis:IcuNormalizationType" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:KuromojiIterationMarkCharFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CharFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "kuromoji_iteration_mark" + ] + }, + "normalize_kana": { + "type": "boolean" + }, + "normalize_kanji": { + "type": "boolean" + } + }, + "required": [ + "type", + "normalize_kana", + "normalize_kanji" + ] + } + ] + }, + "_types.analysis:TokenFilter": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterDefinition" + } + ] + }, + "_types.analysis:TokenFilterDefinition": { + "discriminator": { + "propertyName": "type" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/_types.analysis:AsciiFoldingTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:CommonGramsTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:ConditionTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:DelimitedPayloadTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:EdgeNGramTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:ElisionTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:FingerprintTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:HunspellTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:HyphenationDecompounderTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:KeepTypesTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:KeepWordsTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:KeywordMarkerTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:KStemTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:LengthTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:LimitTokenCountTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:LowercaseTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:MultiplexerTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:NGramTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:NoriPartOfSpeechTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:PatternCaptureTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:PatternReplaceTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:PorterStemTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:PredicateTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:RemoveDuplicatesTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:ReverseTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:ShingleTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:SnowballTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:StemmerOverrideTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:StemmerTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:StopTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:SynonymGraphTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:SynonymTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:TrimTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:TruncateTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:UniqueTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:UppercaseTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:WordDelimiterGraphTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:WordDelimiterTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:KuromojiStemmerTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:KuromojiReadingFormTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:KuromojiPartOfSpeechTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:IcuTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:IcuCollationTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:IcuFoldingTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:IcuNormalizationTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:IcuTransformTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:PhoneticTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:DictionaryDecompounderTokenFilter" + } + ] + }, + "_types.analysis:AsciiFoldingTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "asciifolding" + ] + }, + "preserve_original": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:TokenFilterBase": { + "type": "object", + "properties": { + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + } + }, + "_types.analysis:CommonGramsTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "common_grams" + ] + }, + "common_words": { + "type": "array", + "items": { + "type": "string" + } + }, + "common_words_path": { + "type": "string" + }, + "ignore_case": { + "type": "boolean" + }, + "query_mode": { + "type": "boolean" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:ConditionTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "condition" + ] + }, + "filter": { + "type": "array", + "items": { + "type": "string" + } + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + } + }, + "required": [ + "type", + "filter", + "script" + ] + } + ] + }, + "_types.analysis:DelimitedPayloadTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "delimited_payload" + ] + }, + "delimiter": { + "type": "string" + }, + "encoding": { + "$ref": "#/components/schemas/_types.analysis:DelimitedPayloadEncoding" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:DelimitedPayloadEncoding": { + "type": "string", + "enum": [ + "int", + "float", + "identity" + ] + }, + "_types.analysis:EdgeNGramTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "edge_ngram" + ] + }, + "max_gram": { + "type": "number" + }, + "min_gram": { + "type": "number" + }, + "side": { + "$ref": "#/components/schemas/_types.analysis:EdgeNGramSide" + }, + "preserve_original": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:EdgeNGramSide": { + "type": "string", + "enum": [ + "front", + "back" + ] + }, + "_types.analysis:ElisionTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "elision" + ] + }, + "articles": { + "type": "array", + "items": { + "type": "string" + } + }, + "articles_path": { + "type": "string" + }, + "articles_case": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:FingerprintTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "fingerprint" + ] + }, + "max_output_size": { + "type": "number" + }, + "separator": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:HunspellTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "hunspell" + ] + }, + "dedup": { + "type": "boolean" + }, + "dictionary": { + "type": "string" + }, + "locale": { + "type": "string" + }, + "longest_only": { + "type": "boolean" + } + }, + "required": [ + "type", + "locale" + ] + } + ] + }, + "_types.analysis:HyphenationDecompounderTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CompoundWordTokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "hyphenation_decompounder" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:CompoundWordTokenFilterBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "hyphenation_patterns_path": { + "type": "string" + }, + "max_subword_size": { + "type": "number" + }, + "min_subword_size": { + "type": "number" + }, + "min_word_size": { + "type": "number" + }, + "only_longest_match": { + "type": "boolean" + }, + "word_list": { + "type": "array", + "items": { + "type": "string" + } + }, + "word_list_path": { + "type": "string" + } + } + } + ] + }, + "_types.analysis:KeepTypesTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "keep_types" + ] + }, + "mode": { + "$ref": "#/components/schemas/_types.analysis:KeepTypesMode" + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:KeepTypesMode": { + "type": "string", + "enum": [ + "include", + "exclude" + ] + }, + "_types.analysis:KeepWordsTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "keep" + ] + }, + "keep_words": { + "type": "array", + "items": { + "type": "string" + } + }, + "keep_words_case": { + "type": "boolean" + }, + "keep_words_path": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:KeywordMarkerTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "keyword_marker" + ] + }, + "ignore_case": { + "type": "boolean" + }, + "keywords": { + "type": "array", + "items": { + "type": "string" + } + }, + "keywords_path": { + "type": "string" + }, + "keywords_pattern": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:KStemTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "kstem" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:LengthTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "length" + ] + }, + "max": { + "type": "number" + }, + "min": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:LimitTokenCountTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "limit" + ] + }, + "consume_all_tokens": { + "type": "boolean" + }, + "max_token_count": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:LowercaseTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "lowercase" + ] + }, + "language": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:MultiplexerTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "multiplexer" + ] + }, + "filters": { + "type": "array", + "items": { + "type": "string" + } + }, + "preserve_original": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + } + }, + "required": [ + "type", + "filters" + ] + } + ] + }, + "_types.analysis:NGramTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "ngram" + ] + }, + "max_gram": { + "type": "number" + }, + "min_gram": { + "type": "number" + }, + "preserve_original": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:NoriPartOfSpeechTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "nori_part_of_speech" + ] + }, + "stoptags": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:PatternCaptureTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "pattern_capture" + ] + }, + "patterns": { + "type": "array", + "items": { + "type": "string" + } + }, + "preserve_original": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + } + }, + "required": [ + "type", + "patterns" + ] + } + ] + }, + "_types.analysis:PatternReplaceTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "pattern_replace" + ] + }, + "all": { + "type": "boolean" + }, + "flags": { + "type": "string" + }, + "pattern": { + "type": "string" + }, + "replacement": { + "type": "string" + } + }, + "required": [ + "type", + "pattern" + ] + } + ] + }, + "_types.analysis:PorterStemTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "porter_stem" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:PredicateTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "predicate_token_filter" + ] + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + } + }, + "required": [ + "type", + "script" + ] + } + ] + }, + "_types.analysis:RemoveDuplicatesTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "remove_duplicates" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:ReverseTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "reverse" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:ShingleTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "shingle" + ] + }, + "filler_token": { + "type": "string" + }, + "max_shingle_size": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "min_shingle_size": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "output_unigrams": { + "type": "boolean" + }, + "output_unigrams_if_no_shingles": { + "type": "boolean" + }, + "token_separator": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:SnowballTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "snowball" + ] + }, + "language": { + "$ref": "#/components/schemas/_types.analysis:SnowballLanguage" + } + }, + "required": [ + "type", + "language" + ] + } + ] + }, + "_types.analysis:StemmerOverrideTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "stemmer_override" + ] + }, + "rules": { + "type": "array", + "items": { + "type": "string" + } + }, + "rules_path": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:StemmerTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "stemmer" + ] + }, + "language": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:StopTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "stop" + ] + }, + "ignore_case": { + "type": "boolean" + }, + "remove_trailing": { + "type": "boolean" + }, + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" + }, + "stopwords_path": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:SynonymGraphTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "synonym_graph" + ] + }, + "expand": { + "type": "boolean" + }, + "format": { + "$ref": "#/components/schemas/_types.analysis:SynonymFormat" + }, + "lenient": { + "type": "boolean" + }, + "synonyms": { + "type": "array", + "items": { + "type": "string" + } + }, + "synonyms_path": { + "type": "string" + }, + "tokenizer": { + "type": "string" + }, + "updateable": { + "type": "boolean" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:SynonymFormat": { + "type": "string", + "enum": [ + "solr", + "wordnet" + ] + }, + "_types.analysis:SynonymTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "synonym" + ] + }, + "expand": { + "type": "boolean" + }, + "format": { + "$ref": "#/components/schemas/_types.analysis:SynonymFormat" + }, + "lenient": { + "type": "boolean" + }, + "synonyms": { + "type": "array", + "items": { + "type": "string" + } + }, + "synonyms_path": { + "type": "string" + }, + "tokenizer": { + "type": "string" + }, + "updateable": { + "type": "boolean" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:TrimTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "trim" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:TruncateTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "truncate" + ] + }, + "length": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:UniqueTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "unique" + ] + }, + "only_on_same_position": { + "type": "boolean" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:UppercaseTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "uppercase" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:WordDelimiterGraphTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "word_delimiter_graph" + ] + }, + "adjust_offsets": { + "type": "boolean" + }, + "catenate_all": { + "type": "boolean" + }, + "catenate_numbers": { + "type": "boolean" + }, + "catenate_words": { + "type": "boolean" + }, + "generate_number_parts": { + "type": "boolean" + }, + "generate_word_parts": { + "type": "boolean" + }, + "ignore_keywords": { + "type": "boolean" + }, + "preserve_original": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + }, + "protected_words": { + "type": "array", + "items": { + "type": "string" + } + }, + "protected_words_path": { + "type": "string" + }, + "split_on_case_change": { + "type": "boolean" + }, + "split_on_numerics": { + "type": "boolean" + }, + "stem_english_possessive": { + "type": "boolean" + }, + "type_table": { + "type": "array", + "items": { + "type": "string" + } + }, + "type_table_path": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:WordDelimiterTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "word_delimiter" + ] + }, + "catenate_all": { + "type": "boolean" + }, + "catenate_numbers": { + "type": "boolean" + }, + "catenate_words": { + "type": "boolean" + }, + "generate_number_parts": { + "type": "boolean" + }, + "generate_word_parts": { + "type": "boolean" + }, + "preserve_original": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + }, + "protected_words": { + "type": "array", + "items": { + "type": "string" + } + }, + "protected_words_path": { + "type": "string" + }, + "split_on_case_change": { + "type": "boolean" + }, + "split_on_numerics": { + "type": "boolean" + }, + "stem_english_possessive": { + "type": "boolean" + }, + "type_table": { + "type": "array", + "items": { + "type": "string" + } + }, + "type_table_path": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:KuromojiStemmerTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "kuromoji_stemmer" + ] + }, + "minimum_length": { + "type": "number" + } + }, + "required": [ + "type", + "minimum_length" + ] + } + ] + }, + "_types.analysis:KuromojiReadingFormTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "kuromoji_readingform" + ] + }, + "use_romaji": { + "type": "boolean" + } + }, + "required": [ + "type", + "use_romaji" + ] + } + ] + }, + "_types.analysis:KuromojiPartOfSpeechTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "kuromoji_part_of_speech" + ] + }, + "stoptags": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "type", + "stoptags" + ] + } + ] + }, + "_types.analysis:IcuTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "icu_tokenizer" + ] + }, + "rule_files": { + "type": "string" + } + }, + "required": [ + "type", + "rule_files" + ] + } + ] + }, + "_types.analysis:TokenizerBase": { + "type": "object", + "properties": { + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + } + }, + "_types.analysis:IcuCollationTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "icu_collation" + ] + }, + "alternate": { + "$ref": "#/components/schemas/_types.analysis:IcuCollationAlternate" + }, + "caseFirst": { + "$ref": "#/components/schemas/_types.analysis:IcuCollationCaseFirst" + }, + "caseLevel": { + "type": "boolean" + }, + "country": { + "type": "string" + }, + "decomposition": { + "$ref": "#/components/schemas/_types.analysis:IcuCollationDecomposition" + }, + "hiraganaQuaternaryMode": { + "type": "boolean" + }, + "language": { + "type": "string" + }, + "numeric": { + "type": "boolean" + }, + "rules": { + "type": "string" + }, + "strength": { + "$ref": "#/components/schemas/_types.analysis:IcuCollationStrength" + }, + "variableTop": { + "type": "string" + }, + "variant": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:IcuCollationAlternate": { + "type": "string", + "enum": [ + "shifted", + "non-ignorable" + ] + }, + "_types.analysis:IcuCollationCaseFirst": { + "type": "string", + "enum": [ + "lower", + "upper" + ] + }, + "_types.analysis:IcuCollationDecomposition": { + "type": "string", + "enum": [ + "no", + "identical" + ] + }, + "_types.analysis:IcuCollationStrength": { + "type": "string", + "enum": [ + "primary", + "secondary", + "tertiary", + "quaternary", + "identical" + ] + }, + "_types.analysis:IcuFoldingTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "icu_folding" + ] + }, + "unicode_set_filter": { + "type": "string" + } + }, + "required": [ + "type", + "unicode_set_filter" + ] + } + ] + }, + "_types.analysis:IcuNormalizationTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "icu_normalizer" + ] + }, + "name": { + "$ref": "#/components/schemas/_types.analysis:IcuNormalizationType" + } + }, + "required": [ + "type", + "name" + ] + } + ] + }, + "_types.analysis:IcuTransformTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "icu_transform" + ] + }, + "dir": { + "$ref": "#/components/schemas/_types.analysis:IcuTransformDirection" + }, + "id": { + "type": "string" + } + }, + "required": [ + "type", + "id" + ] + } + ] + }, + "_types.analysis:IcuTransformDirection": { + "type": "string", + "enum": [ + "forward", + "reverse" + ] + }, + "_types.analysis:PhoneticTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "phonetic" + ] + }, + "encoder": { + "$ref": "#/components/schemas/_types.analysis:PhoneticEncoder" + }, + "languageset": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.analysis:PhoneticLanguage" + } + }, + "max_code_len": { + "type": "number" + }, + "name_type": { + "$ref": "#/components/schemas/_types.analysis:PhoneticNameType" + }, + "replace": { + "type": "boolean" + }, + "rule_type": { + "$ref": "#/components/schemas/_types.analysis:PhoneticRuleType" + } + }, + "required": [ + "type", + "encoder", + "languageset", + "name_type", + "rule_type" + ] + } + ] + }, + "_types.analysis:PhoneticEncoder": { + "type": "string", + "enum": [ + "metaphone", + "double_metaphone", + "soundex", + "refined_soundex", + "caverphone1", + "caverphone2", + "cologne", + "nysiis", + "koelnerphonetik", + "haasephonetik", + "beider_morse", + "daitch_mokotoff" + ] + }, + "_types.analysis:PhoneticLanguage": { + "type": "string", + "enum": [ + "any", + "common", + "cyrillic", + "english", + "french", + "german", + "hebrew", + "hungarian", + "polish", + "romanian", + "russian", + "spanish" + ] + }, + "_types.analysis:PhoneticNameType": { + "type": "string", + "enum": [ + "generic", + "ashkenazi", + "sephardic" + ] + }, + "_types.analysis:PhoneticRuleType": { + "type": "string", + "enum": [ + "approx", + "exact" + ] + }, + "_types.analysis:DictionaryDecompounderTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CompoundWordTokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "dictionary_decompounder" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:Normalizer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis-normalizers.html" + }, + "discriminator": { + "propertyName": "type" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/_types.analysis:LowercaseNormalizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:CustomNormalizer" + } + ] + }, + "_types.analysis:LowercaseNormalizer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "lowercase" + ] + } + }, + "required": [ + "type" + ] + }, + "_types.analysis:CustomNormalizer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "custom" + ] + }, + "char_filter": { + "type": "array", + "items": { + "type": "string" + } + }, + "filter": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "type" + ] + }, + "_types.analysis:Tokenizer": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/_types.analysis:TokenizerDefinition" + } + ] + }, + "_types.analysis:TokenizerDefinition": { + "discriminator": { + "propertyName": "type" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CharGroupTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:EdgeNGramTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:KeywordTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:LetterTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:LowercaseTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:NGramTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:NoriTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:PathHierarchyTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:StandardTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:UaxEmailUrlTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:WhitespaceTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:KuromojiTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:PatternTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:IcuTokenizer" + } + ] + }, + "_types.analysis:CharGroupTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "char_group" + ] + }, + "tokenize_on_chars": { + "type": "array", + "items": { + "type": "string" + } + }, + "max_token_length": { + "type": "number" + } + }, + "required": [ + "type", + "tokenize_on_chars" + ] + } + ] + }, + "_types.analysis:EdgeNGramTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "edge_ngram" + ] + }, + "custom_token_chars": { + "type": "string" + }, + "max_gram": { + "type": "number" + }, + "min_gram": { + "type": "number" + }, + "token_chars": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.analysis:TokenChar" + } + } + }, + "required": [ + "type", + "max_gram", + "min_gram", + "token_chars" + ] + } + ] + }, + "_types.analysis:TokenChar": { + "type": "string", + "enum": [ + "letter", + "digit", + "whitespace", + "punctuation", + "symbol", + "custom" + ] + }, + "_types.analysis:KeywordTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "keyword" + ] + }, + "buffer_size": { + "type": "number" + } + }, + "required": [ + "type", + "buffer_size" + ] + } + ] + }, + "_types.analysis:LetterTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "letter" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:LowercaseTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "lowercase" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:NGramTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "ngram" + ] + }, + "custom_token_chars": { + "type": "string" + }, + "max_gram": { + "type": "number" + }, + "min_gram": { + "type": "number" + }, + "token_chars": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.analysis:TokenChar" + } + } + }, + "required": [ + "type", + "max_gram", + "min_gram", + "token_chars" + ] + } + ] + }, + "_types.analysis:NoriTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "nori_tokenizer" + ] + }, + "decompound_mode": { + "$ref": "#/components/schemas/_types.analysis:NoriDecompoundMode" + }, + "discard_punctuation": { + "type": "boolean" + }, + "user_dictionary": { + "type": "string" + }, + "user_dictionary_rules": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:PathHierarchyTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "path_hierarchy" + ] + }, + "buffer_size": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" + }, + "delimiter": { + "type": "string" + }, + "replacement": { + "type": "string" + }, + "reverse": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + }, + "skip": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" + } + }, + "required": [ + "type", + "buffer_size", + "delimiter", + "replacement", + "reverse", + "skip" + ] + } + ] + }, + "_types.analysis:StandardTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "standard" + ] + }, + "max_token_length": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:UaxEmailUrlTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "uax_url_email" + ] + }, + "max_token_length": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:WhitespaceTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "whitespace" + ] + }, + "max_token_length": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:KuromojiTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "kuromoji_tokenizer" + ] + }, + "discard_punctuation": { + "type": "boolean" + }, + "mode": { + "$ref": "#/components/schemas/_types.analysis:KuromojiTokenizationMode" + }, + "nbest_cost": { + "type": "number" + }, + "nbest_examples": { + "type": "string" + }, + "user_dictionary": { + "type": "string" + }, + "user_dictionary_rules": { + "type": "array", + "items": { + "type": "string" + } + }, + "discard_compound_token": { + "type": "boolean" + } + }, + "required": [ + "type", + "mode" + ] + } + ] + }, + "_types.analysis:PatternTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "pattern" + ] + }, + "flags": { + "type": "string" + }, + "group": { + "type": "number" + }, + "pattern": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "indices._types:IndexSettingsTimeSeries": { + "type": "object", + "properties": { + "end_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "start_time": { + "$ref": "#/components/schemas/_types:DateTime" + } + } + }, + "indices._types:Queries": { + "type": "object", + "properties": { + "cache": { + "$ref": "#/components/schemas/indices._types:CacheQueries" + } + } + }, + "indices._types:CacheQueries": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ] + }, + "indices._types:SettingsSimilarity": { + "type": "object", + "properties": { + "bm25": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarityBm25" + }, + "dfi": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarityDfi" + }, + "dfr": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarityDfr" + }, + "ib": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarityIb" + }, + "lmd": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarityLmd" + }, + "lmj": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarityLmj" + }, + "scripted_tfidf": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarityScriptedTfidf" + } + } + }, + "indices._types:SettingsSimilarityBm25": { + "type": "object", + "properties": { + "b": { + "type": "number" + }, + "discount_overlaps": { + "type": "boolean" + }, + "k1": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "BM25" + ] + } + }, + "required": [ + "b", + "discount_overlaps", + "k1", + "type" + ] + }, + "indices._types:SettingsSimilarityDfi": { + "type": "object", + "properties": { + "independence_measure": { + "$ref": "#/components/schemas/_types:DFIIndependenceMeasure" + }, + "type": { + "type": "string", + "enum": [ + "DFI" + ] + } + }, + "required": [ + "independence_measure", + "type" + ] + }, + "_types:DFIIndependenceMeasure": { + "type": "string", + "enum": [ + "standardized", + "saturated", + "chisquared" + ] + }, + "indices._types:SettingsSimilarityDfr": { + "type": "object", + "properties": { + "after_effect": { + "$ref": "#/components/schemas/_types:DFRAfterEffect" + }, + "basic_model": { + "$ref": "#/components/schemas/_types:DFRBasicModel" + }, + "normalization": { + "$ref": "#/components/schemas/_types:Normalization" + }, + "type": { + "type": "string", + "enum": [ + "DFR" + ] + } + }, + "required": [ + "after_effect", + "basic_model", + "normalization", + "type" + ] + }, + "_types:DFRAfterEffect": { + "type": "string", + "enum": [ + "no", + "b", + "l" + ] + }, + "_types:DFRBasicModel": { + "type": "string", + "enum": [ + "be", + "d", + "g", + "if", + "in", + "ine", + "p" + ] + }, + "_types:Normalization": { + "type": "string", + "enum": [ + "no", + "h1", + "h2", + "h3", + "z" + ] + }, + "indices._types:SettingsSimilarityIb": { + "type": "object", + "properties": { + "distribution": { + "$ref": "#/components/schemas/_types:IBDistribution" + }, + "lambda": { + "$ref": "#/components/schemas/_types:IBLambda" + }, + "normalization": { + "$ref": "#/components/schemas/_types:Normalization" + }, + "type": { + "type": "string", + "enum": [ + "IB" + ] + } + }, + "required": [ + "distribution", + "lambda", + "normalization", + "type" + ] + }, + "_types:IBDistribution": { + "type": "string", + "enum": [ + "ll", + "spl" + ] + }, + "_types:IBLambda": { + "type": "string", + "enum": [ + "df", + "ttf" + ] + }, + "indices._types:SettingsSimilarityLmd": { + "type": "object", + "properties": { + "mu": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "LMDirichlet" + ] + } + }, + "required": [ + "mu", + "type" + ] + }, + "indices._types:SettingsSimilarityLmj": { + "type": "object", + "properties": { + "lambda": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "LMJelinekMercer" + ] + } + }, + "required": [ + "lambda", + "type" + ] + }, + "indices._types:SettingsSimilarityScriptedTfidf": { + "type": "object", + "properties": { + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "type": { + "type": "string", + "enum": [ + "scripted" + ] + } + }, + "required": [ + "script", + "type" + ] + }, + "indices._types:MappingLimitSettings": { + "type": "object", + "properties": { + "coerce": { + "type": "boolean" + }, + "total_fields": { + "$ref": "#/components/schemas/indices._types:MappingLimitSettingsTotalFields" + }, + "depth": { + "$ref": "#/components/schemas/indices._types:MappingLimitSettingsDepth" + }, + "nested_fields": { + "$ref": "#/components/schemas/indices._types:MappingLimitSettingsNestedFields" + }, + "nested_objects": { + "$ref": "#/components/schemas/indices._types:MappingLimitSettingsNestedObjects" + }, + "field_name_length": { + "$ref": "#/components/schemas/indices._types:MappingLimitSettingsFieldNameLength" + }, + "dimension_fields": { + "$ref": "#/components/schemas/indices._types:MappingLimitSettingsDimensionFields" + }, + "ignore_malformed": { + "type": "boolean" + } + } + }, + "indices._types:MappingLimitSettingsTotalFields": { + "type": "object", + "properties": { + "limit": { + "description": "The maximum number of fields in an index. Field and object mappings, as well as field aliases count towards this limit.\nThe limit is in place to prevent mappings and searches from becoming too large. Higher values can lead to performance\ndegradations and memory issues, especially in clusters with a high load or few resources.", + "type": "number" + } + } + }, + "indices._types:MappingLimitSettingsDepth": { + "type": "object", + "properties": { + "limit": { + "description": "The maximum depth for a field, which is measured as the number of inner objects. For instance, if all fields are defined\nat the root object level, then the depth is 1. If there is one object mapping, then the depth is 2, etc.", + "type": "number" + } + } + }, + "indices._types:MappingLimitSettingsNestedFields": { + "type": "object", + "properties": { + "limit": { + "description": "The maximum number of distinct nested mappings in an index. The nested type should only be used in special cases, when\narrays of objects need to be queried independently of each other. To safeguard against poorly designed mappings, this\nsetting limits the number of unique nested types per index.", + "type": "number" + } + } + }, + "indices._types:MappingLimitSettingsNestedObjects": { + "type": "object", + "properties": { + "limit": { + "description": "The maximum number of nested JSON objects that a single document can contain across all nested types. This limit helps\nto prevent out of memory errors when a document contains too many nested objects.", + "type": "number" + } + } + }, + "indices._types:MappingLimitSettingsFieldNameLength": { + "type": "object", + "properties": { + "limit": { + "description": "Setting for the maximum length of a field name. This setting isn’t really something that addresses mappings explosion but\nmight still be useful if you want to limit the field length. It usually shouldn’t be necessary to set this setting. The\ndefault is okay unless a user starts to add a huge number of fields with really long names. Default is `Long.MAX_VALUE` (no limit).", + "type": "number" + } + } + }, + "indices._types:MappingLimitSettingsDimensionFields": { + "type": "object", + "properties": { + "limit": { + "description": "[preview] This functionality is in technical preview and may be changed or removed in a future release. Elastic will\napply best effort to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.", + "type": "number" + } + } + }, + "indices._types:IndexingSlowlogSettings": { + "type": "object", + "properties": { + "level": { + "type": "string" + }, + "source": { + "type": "number" + }, + "reformat": { + "type": "boolean" + }, + "threshold": { + "$ref": "#/components/schemas/indices._types:IndexingSlowlogTresholds" + } + } + }, + "indices._types:IndexingSlowlogTresholds": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/indices._types:SlowlogTresholdLevels" + } + } + }, + "indices._types:IndexingPressure": { + "type": "object", + "properties": { + "memory": { + "$ref": "#/components/schemas/indices._types:IndexingPressureMemory" + } + }, + "required": [ + "memory" + ] + }, + "indices._types:IndexingPressureMemory": { + "type": "object", + "properties": { + "limit": { + "description": "Number of outstanding bytes that may be consumed by indexing requests. When this limit is reached or exceeded,\nthe node will reject new coordinating and primary operations. When replica operations consume 1.5x this limit,\nthe node will reject new replica operations. Defaults to 10% of the heap.", + "type": "number" + } + } + }, + "indices._types:Storage": { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/indices._types:StorageType" + }, + "allow_mmap": { + "description": "You can restrict the use of the mmapfs and the related hybridfs store type via the setting node.store.allow_mmap.\nThis is a boolean setting indicating whether or not memory-mapping is allowed. The default is to allow it. This\nsetting is useful, for example, if you are in an environment where you can not control the ability to create a lot\nof memory maps so you need disable the ability to use memory-mapping.", + "type": "boolean" + } + }, + "required": [ + "type" + ] + }, + "indices._types:StorageType": { + "type": "string", + "enum": [ + "fs", + "niofs", + "mmapfs", + "hybridfs" + ] + }, + "_types.mapping:TypeMapping": { + "type": "object", + "properties": { + "all_field": { + "$ref": "#/components/schemas/_types.mapping:AllField" + }, + "date_detection": { + "type": "boolean" + }, + "dynamic": { + "$ref": "#/components/schemas/_types.mapping:DynamicMapping" + }, + "dynamic_date_formats": { + "type": "array", + "items": { + "type": "string" + } + }, + "dynamic_templates": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:DynamicTemplate" + } + } + }, + "_field_names": { + "$ref": "#/components/schemas/_types.mapping:FieldNamesField" + }, + "index_field": { + "$ref": "#/components/schemas/_types.mapping:IndexField" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "numeric_detection": { + "type": "boolean" + }, + "properties": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:Property" + } + }, + "_routing": { + "$ref": "#/components/schemas/_types.mapping:RoutingField" + }, + "_size": { + "$ref": "#/components/schemas/_types.mapping:SizeField" + }, + "_source": { + "$ref": "#/components/schemas/_types.mapping:SourceField" + }, + "runtime": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:RuntimeField" + } + }, + "enabled": { + "type": "boolean" + }, + "_data_stream_timestamp": { + "$ref": "#/components/schemas/_types.mapping:DataStreamTimestamp" + } + } + }, + "_types.mapping:AllField": { + "type": "object", + "properties": { + "analyzer": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "omit_norms": { + "type": "boolean" + }, + "search_analyzer": { + "type": "string" + }, + "similarity": { + "type": "string" + }, + "store": { + "type": "boolean" + }, + "store_term_vector_offsets": { + "type": "boolean" + }, + "store_term_vector_payloads": { + "type": "boolean" + }, + "store_term_vector_positions": { + "type": "boolean" + }, + "store_term_vectors": { + "type": "boolean" + } + }, + "required": [ + "analyzer", + "enabled", + "omit_norms", + "search_analyzer", + "similarity", + "store", + "store_term_vector_offsets", + "store_term_vector_payloads", + "store_term_vector_positions", + "store_term_vectors" + ] + }, + "_types.mapping:DynamicMapping": { + "type": "string", + "enum": [ + "strict", + "runtime", + "true", + "false" + ] + }, + "_types.mapping:DynamicTemplate": { + "type": "object", + "properties": { + "mapping": { + "$ref": "#/components/schemas/_types.mapping:Property" + }, + "match": { + "type": "string" + }, + "match_mapping_type": { + "type": "string" + }, + "match_pattern": { + "$ref": "#/components/schemas/_types.mapping:MatchType" + }, + "path_match": { + "type": "string" + }, + "path_unmatch": { + "type": "string" + }, + "unmatch": { + "type": "string" + } + } + }, + "_types.mapping:Property": { + "discriminator": { + "propertyName": "type" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/_types.mapping:BinaryProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:BooleanProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:DynamicProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:JoinProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:KeywordProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:MatchOnlyTextProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:PercolatorProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:RankFeatureProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:RankFeaturesProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:SearchAsYouTypeProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:TextProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:VersionProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:WildcardProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:DateNanosProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:DateProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:AggregateMetricDoubleProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:DenseVectorProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:FlattenedProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:NestedProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:ObjectProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:CompletionProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:ConstantKeywordProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:FieldAliasProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:HistogramProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:IpProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:Murmur3HashProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:TokenCountProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:GeoPointProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:GeoShapeProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:PointProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:ShapeProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:ByteNumberProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:DoubleNumberProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:FloatNumberProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:HalfFloatNumberProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:IntegerNumberProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:LongNumberProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:ScaledFloatNumberProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:ShortNumberProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:UnsignedLongNumberProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:DateRangeProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:DoubleRangeProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:FloatRangeProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:IntegerRangeProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:IpRangeProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:LongRangeProperty" + } + ] + }, + "_types.mapping:BinaryProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "binary" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:DocValuesPropertyBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" + }, + { + "type": "object", + "properties": { + "doc_values": { + "type": "boolean" + } + } + } + ] + }, + "_types.mapping:CorePropertyBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "copy_to": { + "$ref": "#/components/schemas/_types:Fields" + }, + "similarity": { + "type": "string" + }, + "store": { + "type": "boolean" + } + } + } + ] + }, + "_types.mapping:PropertyBase": { + "type": "object", + "properties": { + "meta": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-meta-field.html" + }, + "description": "Metadata about the field.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:Property" + } + }, + "ignore_above": { + "type": "number" + }, + "dynamic": { + "$ref": "#/components/schemas/_types.mapping:DynamicMapping" + }, + "fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:Property" + } + } + } + }, + "_types.mapping:BooleanProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "fielddata": { + "$ref": "#/components/schemas/indices._types:NumericFielddata" + }, + "index": { + "type": "boolean" + }, + "null_value": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "boolean" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "indices._types:NumericFielddata": { + "type": "object", + "properties": { + "format": { + "$ref": "#/components/schemas/indices._types:NumericFielddataFormat" + } + }, + "required": [ + "format" + ] + }, + "indices._types:NumericFielddataFormat": { + "type": "string", + "enum": [ + "array", + "disabled" + ] + }, + "_types.mapping:DynamicProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "{dynamic_property}" + ] + }, + "enabled": { + "type": "boolean" + }, + "null_value": { + "$ref": "#/components/schemas/_types:FieldValue" + }, + "boost": { + "type": "number" + }, + "coerce": { + "type": "boolean" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "on_script_error": { + "$ref": "#/components/schemas/_types.mapping:OnScriptError" + }, + "ignore_malformed": { + "type": "boolean" + }, + "time_series_metric": { + "$ref": "#/components/schemas/_types.mapping:TimeSeriesMetricType" + }, + "analyzer": { + "type": "string" + }, + "eager_global_ordinals": { + "type": "boolean" + }, + "index": { + "type": "boolean" + }, + "index_options": { + "$ref": "#/components/schemas/_types.mapping:IndexOptions" + }, + "index_phrases": { + "type": "boolean" + }, + "index_prefixes": { + "$ref": "#/components/schemas/_types.mapping:TextIndexPrefixes" + }, + "norms": { + "type": "boolean" + }, + "position_increment_gap": { + "type": "number" + }, + "search_analyzer": { + "type": "string" + }, + "search_quote_analyzer": { + "type": "string" + }, + "term_vector": { + "$ref": "#/components/schemas/_types.mapping:TermVectorOption" + }, + "format": { + "type": "string" + }, + "precision_step": { + "type": "number" + }, + "locale": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:OnScriptError": { + "type": "string", + "enum": [ + "fail", + "continue" + ] + }, + "_types.mapping:TimeSeriesMetricType": { + "type": "string", + "enum": [ + "gauge", + "counter", + "summary", + "histogram", + "position" + ] + }, + "_types.mapping:IndexOptions": { + "type": "string", + "enum": [ + "docs", + "freqs", + "positions", + "offsets" + ] + }, + "_types.mapping:TextIndexPrefixes": { + "type": "object", + "properties": { + "max_chars": { + "type": "number" + }, + "min_chars": { + "type": "number" + } + }, + "required": [ + "max_chars", + "min_chars" + ] + }, + "_types.mapping:TermVectorOption": { + "type": "string", + "enum": [ + "no", + "yes", + "with_offsets", + "with_positions", + "with_positions_offsets", + "with_positions_offsets_payloads", + "with_positions_payloads" + ] + }, + "_types.mapping:JoinProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "relations": { + "type": "object", + "additionalProperties": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:RelationName" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:RelationName" + } + } + ] + } + }, + "eager_global_ordinals": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "join" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:KeywordProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "eager_global_ordinals": { + "type": "boolean" + }, + "index": { + "type": "boolean" + }, + "index_options": { + "$ref": "#/components/schemas/_types.mapping:IndexOptions" + }, + "normalizer": { + "type": "string" + }, + "norms": { + "type": "boolean" + }, + "null_value": { + "type": "string" + }, + "split_queries_on_whitespace": { + "type": "boolean" + }, + "time_series_dimension": { + "description": "For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.", + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "keyword" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:MatchOnlyTextProperty": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "match_only_text" + ] + }, + "fields": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/multi-fields.html" + }, + "description": "Multi-fields allow the same string value to be indexed in multiple ways for different purposes, such as one\nfield for search and a multi-field for sorting and aggregations, or the same string value analyzed by different analyzers.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:Property" + } + }, + "meta": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-meta-field.html" + }, + "description": "Metadata about the field.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "copy_to": { + "$ref": "#/components/schemas/_types:Fields" + } + }, + "required": [ + "type" + ] + }, + "_types.mapping:PercolatorProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "percolator" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:RankFeatureProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "positive_score_impact": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "rank_feature" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:RankFeaturesProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "rank_features" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:SearchAsYouTypeProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "type": "string" + }, + "index": { + "type": "boolean" + }, + "index_options": { + "$ref": "#/components/schemas/_types.mapping:IndexOptions" + }, + "max_shingle_size": { + "type": "number" + }, + "norms": { + "type": "boolean" + }, + "search_analyzer": { + "type": "string" + }, + "search_quote_analyzer": { + "type": "string" + }, + "term_vector": { + "$ref": "#/components/schemas/_types.mapping:TermVectorOption" + }, + "type": { + "type": "string", + "enum": [ + "search_as_you_type" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:TextProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "type": "string" + }, + "boost": { + "type": "number" + }, + "eager_global_ordinals": { + "type": "boolean" + }, + "fielddata": { + "type": "boolean" + }, + "fielddata_frequency_filter": { + "$ref": "#/components/schemas/indices._types:FielddataFrequencyFilter" + }, + "index": { + "type": "boolean" + }, + "index_options": { + "$ref": "#/components/schemas/_types.mapping:IndexOptions" + }, + "index_phrases": { + "type": "boolean" + }, + "index_prefixes": { + "$ref": "#/components/schemas/_types.mapping:TextIndexPrefixes" + }, + "norms": { + "type": "boolean" + }, + "position_increment_gap": { + "type": "number" + }, + "search_analyzer": { + "type": "string" + }, + "search_quote_analyzer": { + "type": "string" + }, + "term_vector": { + "$ref": "#/components/schemas/_types.mapping:TermVectorOption" + }, + "type": { + "type": "string", + "enum": [ + "text" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "indices._types:FielddataFrequencyFilter": { + "type": "object", + "properties": { + "max": { + "type": "number" + }, + "min": { + "type": "number" + }, + "min_segment_size": { + "type": "number" + } + }, + "required": [ + "max", + "min", + "min_segment_size" + ] + }, + "_types.mapping:VersionProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "version" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:WildcardProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "wildcard" + ] + }, + "null_value": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:DateNanosProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "format": { + "type": "string" + }, + "ignore_malformed": { + "type": "boolean" + }, + "index": { + "type": "boolean" + }, + "null_value": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "precision_step": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "date_nanos" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:DateProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "fielddata": { + "$ref": "#/components/schemas/indices._types:NumericFielddata" + }, + "format": { + "type": "string" + }, + "ignore_malformed": { + "type": "boolean" + }, + "index": { + "type": "boolean" + }, + "null_value": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "precision_step": { + "type": "number" + }, + "locale": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "date" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:AggregateMetricDoubleProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "aggregate_metric_double" + ] + }, + "default_metric": { + "type": "string" + }, + "metrics": { + "type": "array", + "items": { + "type": "string" + } + }, + "time_series_metric": { + "$ref": "#/components/schemas/_types.mapping:TimeSeriesMetricType" + } + }, + "required": [ + "type", + "default_metric", + "metrics" + ] + } + ] + }, + "_types.mapping:DenseVectorProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "dense_vector" + ] + }, + "dims": { + "type": "number" + }, + "similarity": { + "type": "string" + }, + "index": { + "type": "boolean" + }, + "index_options": { + "$ref": "#/components/schemas/_types.mapping:DenseVectorIndexOptions" + } + }, + "required": [ + "type", + "dims" + ] + } + ] + }, + "_types.mapping:DenseVectorIndexOptions": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "m": { + "type": "number" + }, + "ef_construction": { + "type": "number" + } + }, + "required": [ + "type", + "m", + "ef_construction" + ] + }, + "_types.mapping:FlattenedProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "depth_limit": { + "type": "number" + }, + "doc_values": { + "type": "boolean" + }, + "eager_global_ordinals": { + "type": "boolean" + }, + "index": { + "type": "boolean" + }, + "index_options": { + "$ref": "#/components/schemas/_types.mapping:IndexOptions" + }, + "null_value": { + "type": "string" + }, + "similarity": { + "type": "string" + }, + "split_queries_on_whitespace": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "flattened" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:NestedProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" + }, + { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "include_in_parent": { + "type": "boolean" + }, + "include_in_root": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "nested" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:ObjectProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" + }, + { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "object" + ] + } + } + } + ] + }, + "_types.mapping:CompletionProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "type": "string" + }, + "contexts": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.mapping:SuggestContext" + } + }, + "max_input_length": { + "type": "number" + }, + "preserve_position_increments": { + "type": "boolean" + }, + "preserve_separators": { + "type": "boolean" + }, + "search_analyzer": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "completion" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:SuggestContext": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "path": { + "$ref": "#/components/schemas/_types:Field" + }, + "type": { + "type": "string" + }, + "precision": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "name", + "type" + ] + }, + "_types.mapping:ConstantKeywordProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "value": { + "type": "object" + }, + "type": { + "type": "string", + "enum": [ + "constant_keyword" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:FieldAliasProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "path": { + "$ref": "#/components/schemas/_types:Field" + }, + "type": { + "type": "string", + "enum": [ + "alias" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:HistogramProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "ignore_malformed": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "histogram" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:IpProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "index": { + "type": "boolean" + }, + "ignore_malformed": { + "type": "boolean" + }, + "null_value": { + "type": "string" + }, + "on_script_error": { + "$ref": "#/components/schemas/_types.mapping:OnScriptError" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "time_series_dimension": { + "description": "For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.", + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "ip" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:Murmur3HashProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "murmur3" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:TokenCountProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "type": "string" + }, + "boost": { + "type": "number" + }, + "index": { + "type": "boolean" + }, + "null_value": { + "type": "number" + }, + "enable_position_increments": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "token_count" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:GeoPointProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "ignore_malformed": { + "type": "boolean" + }, + "ignore_z_value": { + "type": "boolean" + }, + "null_value": { + "$ref": "#/components/schemas/_types:GeoLocation" + }, + "type": { + "type": "string", + "enum": [ + "geo_point" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:GeoShapeProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "coerce": { + "type": "boolean" + }, + "ignore_malformed": { + "type": "boolean" + }, + "ignore_z_value": { + "type": "boolean" + }, + "orientation": { + "$ref": "#/components/schemas/_types.mapping:GeoOrientation" + }, + "strategy": { + "$ref": "#/components/schemas/_types.mapping:GeoStrategy" + }, + "type": { + "type": "string", + "enum": [ + "geo_shape" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:GeoOrientation": { + "type": "string", + "enum": [ + "right", + "left" + ] + }, + "_types.mapping:GeoStrategy": { + "type": "string", + "enum": [ + "recursive", + "term" + ] + }, + "_types.mapping:PointProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "ignore_malformed": { + "type": "boolean" + }, + "ignore_z_value": { + "type": "boolean" + }, + "null_value": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "point" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:ShapeProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "coerce": { + "type": "boolean" + }, + "ignore_malformed": { + "type": "boolean" + }, + "ignore_z_value": { + "type": "boolean" + }, + "orientation": { + "$ref": "#/components/schemas/_types.mapping:GeoOrientation" + }, + "type": { + "type": "string", + "enum": [ + "shape" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:ByteNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "byte" + ] + }, + "null_value": { + "$ref": "#/components/schemas/_types:byte" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types:byte": { + "type": "number" + }, + "_types.mapping:NumberPropertyBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "coerce": { + "type": "boolean" + }, + "ignore_malformed": { + "type": "boolean" + }, + "index": { + "type": "boolean" + }, + "on_script_error": { + "$ref": "#/components/schemas/_types.mapping:OnScriptError" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "time_series_metric": { + "$ref": "#/components/schemas/_types.mapping:TimeSeriesMetricType" + }, + "time_series_dimension": { + "description": "For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.", + "type": "boolean" + } + } + } + ] + }, + "_types.mapping:DoubleNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "double" + ] + }, + "null_value": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:FloatNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "float" + ] + }, + "null_value": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:HalfFloatNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "half_float" + ] + }, + "null_value": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:IntegerNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "integer" + ] + }, + "null_value": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:LongNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "long" + ] + }, + "null_value": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:ScaledFloatNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "scaled_float" + ] + }, + "null_value": { + "type": "number" + }, + "scaling_factor": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:ShortNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "short" + ] + }, + "null_value": { + "$ref": "#/components/schemas/_types:short" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types:short": { + "type": "number" + }, + "_types.mapping:UnsignedLongNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "unsigned_long" + ] + }, + "null_value": { + "$ref": "#/components/schemas/_types:ulong" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types:ulong": { + "type": "number" + }, + "_types.mapping:DateRangeProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" + }, + { + "type": "object", + "properties": { + "format": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "date_range" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:RangePropertyBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "coerce": { + "type": "boolean" + }, + "index": { + "type": "boolean" + } + } + } + ] + }, + "_types.mapping:DoubleRangeProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "double_range" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:FloatRangeProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "float_range" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:IntegerRangeProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "integer_range" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:IpRangeProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "ip_range" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:LongRangeProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "long_range" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:MatchType": { + "type": "string", + "enum": [ + "simple", + "regex" + ] + }, + "_types.mapping:FieldNamesField": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ] + }, + "_types.mapping:IndexField": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ] + }, + "_types.mapping:RoutingField": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + }, + "required": [ + "required" + ] + }, + "_types.mapping:SizeField": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ] + }, + "_types.mapping:SourceField": { + "type": "object", + "properties": { + "compress": { + "type": "boolean" + }, + "compress_threshold": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "excludes": { + "type": "array", + "items": { + "type": "string" + } + }, + "includes": { + "type": "array", + "items": { + "type": "string" + } + }, + "mode": { + "$ref": "#/components/schemas/_types.mapping:SourceFieldMode" + } + } + }, + "_types.mapping:SourceFieldMode": { + "type": "string", + "enum": [ + "disabled", + "stored", + "synthetic" + ] + }, + "_types.mapping:DataStreamTimestamp": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ] + }, + "indices._types:AliasDefinition": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "index_routing": { + "description": "Value used to route indexing operations to a specific shard.\nIf specified, this overwrites the `routing` value for indexing operations.", + "type": "string" + }, + "is_write_index": { + "description": "If `true`, the index is the write index for the alias.", + "type": "boolean" + }, + "routing": { + "description": "Value used to route indexing and search operations to a specific shard.", + "type": "string" + }, + "search_routing": { + "description": "Value used to route search operations to a specific shard.\nIf specified, this overwrites the `routing` value for search operations.", + "type": "string" + }, + "is_hidden": { + "description": "If `true`, the alias is hidden.\nAll indices for the alias must have the same `is_hidden` value.", + "type": "boolean" + } + } + }, + "indices._types:DataLifecycleWithRollover": { + "type": "object", + "properties": { + "data_retention": { + "$ref": "#/components/schemas/_types:Duration" + }, + "rollover": { + "$ref": "#/components/schemas/indices._types:DlmRolloverConditions" + } + } + }, + "indices._types:DlmRolloverConditions": { + "type": "object", + "properties": { + "min_age": { + "$ref": "#/components/schemas/_types:Duration" + }, + "max_age": { + "type": "string" + }, + "min_docs": { + "type": "number" + }, + "max_docs": { + "type": "number" + }, + "min_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "max_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "min_primary_shard_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "max_primary_shard_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "min_primary_shard_docs": { + "type": "number" + }, + "max_primary_shard_docs": { + "type": "number" + } + } + }, + "_types:Level": { + "type": "string", + "enum": [ + "cluster", + "indices", + "shards" + ] + }, + "_types:WaitForEvents": { + "type": "string", + "enum": [ + "immediate", + "urgent", + "high", + "normal", + "low", + "languid" + ] + }, + "cluster.health:HealthResponseBody": { + "type": "object", + "properties": { + "active_primary_shards": { + "description": "The number of active primary shards.", + "type": "number" + }, + "active_shards": { + "description": "The total number of active primary and replica shards.", + "type": "number" + }, + "active_shards_percent_as_number": { + "$ref": "#/components/schemas/_types:Percentage" + }, + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "delayed_unassigned_shards": { + "description": "The number of shards whose allocation has been delayed by the timeout settings.", + "type": "number" + }, + "indices": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/cluster.health:IndexHealthStats" + } + }, + "initializing_shards": { + "description": "The number of shards that are under initialization.", + "type": "number" + }, + "number_of_data_nodes": { + "description": "The number of nodes that are dedicated data nodes.", + "type": "number" + }, + "number_of_in_flight_fetch": { + "description": "The number of unfinished fetches.", + "type": "number" + }, + "number_of_nodes": { + "description": "The number of nodes within the cluster.", + "type": "number" + }, + "number_of_pending_tasks": { + "description": "The number of cluster-level changes that have not yet been executed.", + "type": "number" + }, + "relocating_shards": { + "description": "The number of shards that are under relocation.", + "type": "number" + }, + "status": { + "$ref": "#/components/schemas/_types:HealthStatus" + }, + "task_max_waiting_in_queue": { + "$ref": "#/components/schemas/_types:Duration" + }, + "task_max_waiting_in_queue_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "timed_out": { + "description": "If false the response returned within the period of time that is specified by the timeout parameter (30s by default)", + "type": "boolean" + }, + "unassigned_shards": { + "description": "The number of shards that are not allocated.", + "type": "number" + } + }, + "required": [ + "active_primary_shards", + "active_shards", + "active_shards_percent_as_number", + "cluster_name", + "delayed_unassigned_shards", + "initializing_shards", + "number_of_data_nodes", + "number_of_in_flight_fetch", + "number_of_nodes", + "number_of_pending_tasks", + "relocating_shards", + "status", + "task_max_waiting_in_queue_millis", + "timed_out", + "unassigned_shards" + ] + }, + "cluster.health:IndexHealthStats": { + "type": "object", + "properties": { + "active_primary_shards": { + "type": "number" + }, + "active_shards": { + "type": "number" + }, + "initializing_shards": { + "type": "number" + }, + "number_of_replicas": { + "type": "number" + }, + "number_of_shards": { + "type": "number" + }, + "relocating_shards": { + "type": "number" + }, + "shards": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/cluster.health:ShardHealthStats" + } + }, + "status": { + "$ref": "#/components/schemas/_types:HealthStatus" + }, + "unassigned_shards": { + "type": "number" + } + }, + "required": [ + "active_primary_shards", + "active_shards", + "initializing_shards", + "number_of_replicas", + "number_of_shards", + "relocating_shards", + "status", + "unassigned_shards" + ] + }, + "cluster.health:ShardHealthStats": { + "type": "object", + "properties": { + "active_shards": { + "type": "number" + }, + "initializing_shards": { + "type": "number" + }, + "primary_active": { + "type": "boolean" + }, + "relocating_shards": { + "type": "number" + }, + "status": { + "$ref": "#/components/schemas/_types:HealthStatus" + }, + "unassigned_shards": { + "type": "number" + } + }, + "required": [ + "active_shards", + "initializing_shards", + "primary_active", + "relocating_shards", + "status", + "unassigned_shards" + ] + }, + "_types:ClusterInfoTargets": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:ClusterInfoTarget" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ClusterInfoTarget" + } + } + ] + }, + "_types:ClusterInfoTarget": { + "type": "string", + "enum": [ + "_all", + "http", + "ingest", + "thread_pool", + "script" + ] + }, + "nodes._types:Http": { + "type": "object", + "properties": { + "current_open": { + "type": "number" + }, + "total_opened": { + "type": "number" + }, + "clients": { + "type": "array", + "items": { + "$ref": "#/components/schemas/nodes._types:Client" + } + } + } + }, + "nodes._types:Client": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "agent": { + "type": "string" + }, + "local_address": { + "type": "string" + }, + "remote_address": { + "type": "string" + }, + "last_uri": { + "type": "string" + }, + "opened_time_millis": { + "type": "number" + }, + "closed_time_millis": { + "type": "number" + }, + "last_request_time_millis": { + "type": "number" + }, + "request_count": { + "type": "number" + }, + "request_size_bytes": { + "type": "number" + }, + "x_opaque_id": { + "type": "string" + } + } + }, + "nodes._types:Ingest": { + "type": "object", + "properties": { + "pipelines": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:IngestTotal" + } + }, + "total": { + "$ref": "#/components/schemas/nodes._types:IngestTotal" + } + } + }, + "nodes._types:IngestTotal": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "current": { + "type": "number" + }, + "failed": { + "type": "number" + }, + "processors": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:KeyedProcessor" + } + } + }, + "time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + } + }, + "nodes._types:KeyedProcessor": { + "type": "object", + "properties": { + "stats": { + "$ref": "#/components/schemas/nodes._types:Processor" + }, + "type": { + "type": "string" + } + } + }, + "nodes._types:Processor": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "current": { + "type": "number" + }, + "failed": { + "type": "number" + }, + "time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + } + }, + "nodes._types:ThreadCount": { + "type": "object", + "properties": { + "active": { + "type": "number" + }, + "completed": { + "type": "number" + }, + "largest": { + "type": "number" + }, + "queue": { + "type": "number" + }, + "rejected": { + "type": "number" + }, + "threads": { + "type": "number" + } + } + }, + "nodes._types:Scripting": { + "type": "object", + "properties": { + "cache_evictions": { + "type": "number" + }, + "compilations": { + "type": "number" + }, + "compilations_history": { + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "compilation_limit_triggered": { + "type": "number" + }, + "contexts": { + "type": "array", + "items": { + "$ref": "#/components/schemas/nodes._types:Context" + } + } + } + }, + "nodes._types:Context": { + "type": "object", + "properties": { + "context": { + "type": "string" + }, + "compilations": { + "type": "number" + }, + "cache_evictions": { + "type": "number" + }, + "compilation_limit_triggered": { + "type": "number" + } + } + }, + "cluster.pending_tasks:PendingTask": { + "type": "object", + "properties": { + "executing": { + "description": "Indicates whether the pending tasks are currently executing or not.", + "type": "boolean" + }, + "insert_order": { + "description": "The number that represents when the task has been inserted into the task queue.", + "type": "number" + }, + "priority": { + "description": "The priority of the pending task.\nThe valid priorities in descending priority order are: `IMMEDIATE` > `URGENT` > `HIGH` > `NORMAL` > `LOW` > `LANGUID`.", + "type": "string" + }, + "source": { + "description": "A general description of the cluster task that may include a reason and origin.", + "type": "string" + }, + "time_in_queue": { + "$ref": "#/components/schemas/_types:Duration" + }, + "time_in_queue_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "executing", + "insert_order", + "priority", + "source", + "time_in_queue_millis" + ] + }, + "indices._types:IndexState": { + "type": "object", + "properties": { + "aliases": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "settings": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + }, + "defaults": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + }, + "data_stream": { + "$ref": "#/components/schemas/_types:DataStreamName" + }, + "lifecycle": { + "$ref": "#/components/schemas/indices._types:DataLifecycle" + } + } + }, + "indices._types:Alias": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "index_routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "is_hidden": { + "description": "If `true`, the alias is hidden.\nAll indices for the alias must have the same `is_hidden` value.", + "type": "boolean" + }, + "is_write_index": { + "description": "If `true`, the index is the write index for the alias.", + "type": "boolean" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "search_routing": { + "$ref": "#/components/schemas/_types:Routing" + } + } + }, + "_types:DataStreamName": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-create-data-stream.html#indices-create-data-stream-api-path-params" + }, + "type": "string" + }, + "indices._types:DataLifecycle": { + "type": "object", + "properties": { + "data_retention": { + "$ref": "#/components/schemas/_types:Duration" + } + } + }, + "cluster.remote_info:ClusterRemoteInfo": { + "discriminator": { + "propertyName": "mode" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/cluster.remote_info:ClusterRemoteSniffInfo" + }, + { + "$ref": "#/components/schemas/cluster.remote_info:ClusterRemoteProxyInfo" + } + ] + }, + "cluster.remote_info:ClusterRemoteSniffInfo": { + "type": "object", + "properties": { + "mode": { + "type": "string", + "enum": [ + "sniff" + ] + }, + "connected": { + "type": "boolean" + }, + "max_connections_per_cluster": { + "type": "number" + }, + "num_nodes_connected": { + "type": "number" + }, + "initial_connect_timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "skip_unavailable": { + "type": "boolean" + }, + "seeds": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "mode", + "connected", + "max_connections_per_cluster", + "num_nodes_connected", + "initial_connect_timeout", + "skip_unavailable", + "seeds" + ] + }, + "cluster.remote_info:ClusterRemoteProxyInfo": { + "type": "object", + "properties": { + "mode": { + "type": "string", + "enum": [ + "proxy" + ] + }, + "connected": { + "type": "boolean" + }, + "initial_connect_timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "skip_unavailable": { + "type": "boolean" + }, + "proxy_address": { + "type": "string" + }, + "server_name": { + "type": "string" + }, + "num_proxy_sockets_connected": { + "type": "number" + }, + "max_proxy_socket_connections": { + "type": "number" + } + }, + "required": [ + "mode", + "connected", + "initial_connect_timeout", + "skip_unavailable", + "proxy_address", + "server_name", + "num_proxy_sockets_connected", + "max_proxy_socket_connections" + ] + }, + "_types:Metrics": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "cluster.reroute:Command": { + "type": "object", + "properties": { + "cancel": { + "$ref": "#/components/schemas/cluster.reroute:CommandCancelAction" + }, + "move": { + "$ref": "#/components/schemas/cluster.reroute:CommandMoveAction" + }, + "allocate_replica": { + "$ref": "#/components/schemas/cluster.reroute:CommandAllocateReplicaAction" + }, + "allocate_stale_primary": { + "$ref": "#/components/schemas/cluster.reroute:CommandAllocatePrimaryAction" + }, + "allocate_empty_primary": { + "$ref": "#/components/schemas/cluster.reroute:CommandAllocatePrimaryAction" + } + } + }, + "cluster.reroute:CommandCancelAction": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "shard": { + "type": "number" + }, + "node": { + "type": "string" + }, + "allow_primary": { + "type": "boolean" + } + }, + "required": [ + "index", + "shard", + "node" + ] + }, + "cluster.reroute:CommandMoveAction": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "shard": { + "type": "number" + }, + "from_node": { + "description": "The node to move the shard from", + "type": "string" + }, + "to_node": { + "description": "The node to move the shard to", + "type": "string" + } + }, + "required": [ + "index", + "shard", + "from_node", + "to_node" + ] + }, + "cluster.reroute:CommandAllocateReplicaAction": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "shard": { + "type": "number" + }, + "node": { + "type": "string" + } + }, + "required": [ + "index", + "shard", + "node" + ] + }, + "cluster.reroute:CommandAllocatePrimaryAction": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "shard": { + "type": "number" + }, + "node": { + "type": "string" + }, + "accept_data_loss": { + "description": "If a node which has a copy of the data rejoins the cluster later on, that data will be deleted. To ensure that these implications are well-understood, this command requires the flag accept_data_loss to be explicitly set to true", + "type": "boolean" + } + }, + "required": [ + "index", + "shard", + "node", + "accept_data_loss" + ] + }, + "cluster.reroute:RerouteExplanation": { + "type": "object", + "properties": { + "command": { + "type": "string" + }, + "decisions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.reroute:RerouteDecision" + } + }, + "parameters": { + "$ref": "#/components/schemas/cluster.reroute:RerouteParameters" + } + }, + "required": [ + "command", + "decisions", + "parameters" + ] + }, + "cluster.reroute:RerouteDecision": { + "type": "object", + "properties": { + "decider": { + "type": "string" + }, + "decision": { + "type": "string" + }, + "explanation": { + "type": "string" + } + }, + "required": [ + "decider", + "decision", + "explanation" + ] + }, + "cluster.reroute:RerouteParameters": { + "type": "object", + "properties": { + "allow_primary": { + "type": "boolean" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "node": { + "$ref": "#/components/schemas/_types:NodeName" + }, + "shard": { + "type": "number" + }, + "from_node": { + "$ref": "#/components/schemas/_types:NodeName" + }, + "to_node": { + "$ref": "#/components/schemas/_types:NodeName" + } + }, + "required": [ + "allow_primary", + "index", + "node", + "shard" + ] + }, + "cluster.stats:StatsResponseBase": { + "allOf": [ + { + "$ref": "#/components/schemas/nodes._types:NodesResponseBase" + }, + { + "type": "object", + "properties": { + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "cluster_uuid": { + "$ref": "#/components/schemas/_types:Uuid" + }, + "indices": { + "$ref": "#/components/schemas/cluster.stats:ClusterIndices" + }, + "nodes": { + "$ref": "#/components/schemas/cluster.stats:ClusterNodes" + }, + "status": { + "$ref": "#/components/schemas/_types:HealthStatus" + }, + "timestamp": { + "description": "Unix timestamp, in milliseconds, for the last time the cluster statistics were refreshed.", + "type": "number" + } + }, + "required": [ + "cluster_name", + "cluster_uuid", + "indices", + "nodes", + "status", + "timestamp" + ] + } + ] + }, + "cluster.stats:ClusterIndices": { + "type": "object", + "properties": { + "analysis": { + "$ref": "#/components/schemas/cluster.stats:CharFilterTypes" + }, + "completion": { + "$ref": "#/components/schemas/_types:CompletionStats" + }, + "count": { + "description": "Total number of indices with shards assigned to selected nodes.", + "type": "number" + }, + "docs": { + "$ref": "#/components/schemas/_types:DocStats" + }, + "fielddata": { + "$ref": "#/components/schemas/_types:FielddataStats" + }, + "query_cache": { + "$ref": "#/components/schemas/_types:QueryCacheStats" + }, + "segments": { + "$ref": "#/components/schemas/_types:SegmentsStats" + }, + "shards": { + "$ref": "#/components/schemas/cluster.stats:ClusterIndicesShards" + }, + "store": { + "$ref": "#/components/schemas/_types:StoreStats" + }, + "mappings": { + "$ref": "#/components/schemas/cluster.stats:FieldTypesMappings" + }, + "versions": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analyzer-anatomy.html" + }, + "description": "Contains statistics about analyzers and analyzer components used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:IndicesVersions" + } + } + }, + "required": [ + "analysis", + "completion", + "count", + "docs", + "fielddata", + "query_cache", + "segments", + "shards", + "store", + "mappings" + ] + }, + "cluster.stats:CharFilterTypes": { + "type": "object", + "properties": { + "analyzer_types": { + "description": "Contains statistics about analyzer types used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + }, + "built_in_analyzers": { + "description": "Contains statistics about built-in analyzers used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + }, + "built_in_char_filters": { + "description": "Contains statistics about built-in character filters used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + }, + "built_in_filters": { + "description": "Contains statistics about built-in token filters used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + }, + "built_in_tokenizers": { + "description": "Contains statistics about built-in tokenizers used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + }, + "char_filter_types": { + "description": "Contains statistics about character filter types used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + }, + "filter_types": { + "description": "Contains statistics about token filter types used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + }, + "tokenizer_types": { + "description": "Contains statistics about tokenizer types used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + } + }, + "required": [ + "analyzer_types", + "built_in_analyzers", + "built_in_char_filters", + "built_in_filters", + "built_in_tokenizers", + "char_filter_types", + "filter_types", + "tokenizer_types" + ] + }, + "cluster.stats:FieldTypes": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "count": { + "description": "The number of occurrences of the field type in selected nodes.", + "type": "number" + }, + "index_count": { + "description": "The number of indices containing the field type in selected nodes.", + "type": "number" + }, + "indexed_vector_count": { + "description": "For dense_vector field types, number of indexed vector types in selected nodes.", + "type": "number" + }, + "indexed_vector_dim_max": { + "description": "For dense_vector field types, the maximum dimension of all indexed vector types in selected nodes.", + "type": "number" + }, + "indexed_vector_dim_min": { + "description": "For dense_vector field types, the minimum dimension of all indexed vector types in selected nodes.", + "type": "number" + }, + "script_count": { + "description": "The number of fields that declare a script.", + "type": "number" + } + }, + "required": [ + "name", + "count", + "index_count" + ] + }, + "_types:CompletionStats": { + "type": "object", + "properties": { + "size_in_bytes": { + "description": "Total amount, in bytes, of memory used for completion across all shards assigned to selected nodes.", + "type": "number" + }, + "size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:FieldSizeUsage" + } + } + }, + "required": [ + "size_in_bytes" + ] + }, + "_types:FieldSizeUsage": { + "type": "object", + "properties": { + "size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "size_in_bytes": { + "type": "number" + } + }, + "required": [ + "size_in_bytes" + ] + }, + "_types:DocStats": { + "type": "object", + "properties": { + "count": { + "description": "Total number of non-deleted documents across all primary shards assigned to selected nodes.\nThis number is based on documents in Lucene segments and may include documents from nested fields.", + "type": "number" + }, + "deleted": { + "description": "Total number of deleted documents across all primary shards assigned to selected nodes.\nThis number is based on documents in Lucene segments.\nElasticsearch reclaims the disk space of deleted Lucene documents when a segment is merged.", + "type": "number" + } + }, + "required": [ + "count" + ] + }, + "_types:FielddataStats": { + "type": "object", + "properties": { + "evictions": { + "type": "number" + }, + "memory_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "memory_size_in_bytes": { + "type": "number" + }, + "fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:FieldMemoryUsage" + } + } + }, + "required": [ + "memory_size_in_bytes" + ] + }, + "_types:FieldMemoryUsage": { + "type": "object", + "properties": { + "memory_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "memory_size_in_bytes": { + "type": "number" + } + }, + "required": [ + "memory_size_in_bytes" + ] + }, + "_types:QueryCacheStats": { + "type": "object", + "properties": { + "cache_count": { + "description": "Total number of entries added to the query cache across all shards assigned to selected nodes.\nThis number includes current and evicted entries.", + "type": "number" + }, + "cache_size": { + "description": "Total number of entries currently in the query cache across all shards assigned to selected nodes.", + "type": "number" + }, + "evictions": { + "description": "Total number of query cache evictions across all shards assigned to selected nodes.", + "type": "number" + }, + "hit_count": { + "description": "Total count of query cache hits across all shards assigned to selected nodes.", + "type": "number" + }, + "memory_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "memory_size_in_bytes": { + "description": "Total amount, in bytes, of memory used for the query cache across all shards assigned to selected nodes.", + "type": "number" + }, + "miss_count": { + "description": "Total count of query cache misses across all shards assigned to selected nodes.", + "type": "number" + }, + "total_count": { + "description": "Total count of hits and misses in the query cache across all shards assigned to selected nodes.", + "type": "number" + } + }, + "required": [ + "cache_count", + "cache_size", + "evictions", + "hit_count", + "memory_size_in_bytes", + "miss_count", + "total_count" + ] + }, + "_types:SegmentsStats": { + "type": "object", + "properties": { + "count": { + "description": "Total number of segments across all shards assigned to selected nodes.", + "type": "number" + }, + "doc_values_memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "doc_values_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used for doc values across all shards assigned to selected nodes.", + "type": "number" + }, + "file_sizes": { + "description": "This object is not populated by the cluster stats API.\nTo get information on segment files, use the node stats API.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.stats:ShardFileSizeInfo" + } + }, + "fixed_bit_set": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "fixed_bit_set_memory_in_bytes": { + "description": "Total amount of memory, in bytes, used by fixed bit sets across all shards assigned to selected nodes.", + "type": "number" + }, + "index_writer_memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "index_writer_max_memory_in_bytes": { + "type": "number" + }, + "index_writer_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used by all index writers across all shards assigned to selected nodes.", + "type": "number" + }, + "max_unsafe_auto_id_timestamp": { + "description": "Unix timestamp, in milliseconds, of the most recently retried indexing request.", + "type": "number" + }, + "memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "memory_in_bytes": { + "description": "Total amount, in bytes, of memory used for segments across all shards assigned to selected nodes.", + "type": "number" + }, + "norms_memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "norms_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used for normalization factors across all shards assigned to selected nodes.", + "type": "number" + }, + "points_memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "points_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used for points across all shards assigned to selected nodes.", + "type": "number" + }, + "stored_memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "stored_fields_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used for stored fields across all shards assigned to selected nodes.", + "type": "number" + }, + "terms_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used for terms across all shards assigned to selected nodes.", + "type": "number" + }, + "terms_memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "term_vectory_memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "term_vectors_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used for term vectors across all shards assigned to selected nodes.", + "type": "number" + }, + "version_map_memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "version_map_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used by all version maps across all shards assigned to selected nodes.", + "type": "number" + } + }, + "required": [ + "count", + "doc_values_memory_in_bytes", + "file_sizes", + "fixed_bit_set_memory_in_bytes", + "index_writer_memory_in_bytes", + "max_unsafe_auto_id_timestamp", + "memory_in_bytes", + "norms_memory_in_bytes", + "points_memory_in_bytes", + "stored_fields_memory_in_bytes", + "terms_memory_in_bytes", + "term_vectors_memory_in_bytes", + "version_map_memory_in_bytes" + ] + }, + "indices.stats:ShardFileSizeInfo": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "size_in_bytes": { + "type": "number" + }, + "min_size_in_bytes": { + "type": "number" + }, + "max_size_in_bytes": { + "type": "number" + }, + "average_size_in_bytes": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "description", + "size_in_bytes" + ] + }, + "cluster.stats:ClusterIndicesShards": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/cluster.stats:ClusterIndicesShardsIndex" + }, + "primaries": { + "description": "Number of primary shards assigned to selected nodes.", + "type": "number" + }, + "replication": { + "description": "Ratio of replica shards to primary shards across all selected nodes.", + "type": "number" + }, + "total": { + "description": "Total number of shards assigned to selected nodes.", + "type": "number" + } + } + }, + "cluster.stats:ClusterIndicesShardsIndex": { + "type": "object", + "properties": { + "primaries": { + "$ref": "#/components/schemas/cluster.stats:ClusterShardMetrics" + }, + "replication": { + "$ref": "#/components/schemas/cluster.stats:ClusterShardMetrics" + }, + "shards": { + "$ref": "#/components/schemas/cluster.stats:ClusterShardMetrics" + } + }, + "required": [ + "primaries", + "replication", + "shards" + ] + }, + "cluster.stats:ClusterShardMetrics": { + "type": "object", + "properties": { + "avg": { + "description": "Mean number of shards in an index, counting only shards assigned to selected nodes.", + "type": "number" + }, + "max": { + "description": "Maximum number of shards in an index, counting only shards assigned to selected nodes.", + "type": "number" + }, + "min": { + "description": "Minimum number of shards in an index, counting only shards assigned to selected nodes.", + "type": "number" + } + }, + "required": [ + "avg", + "max", + "min" + ] + }, + "_types:StoreStats": { + "type": "object", + "properties": { + "size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "size_in_bytes": { + "description": "Total size, in bytes, of all shards assigned to selected nodes.", + "type": "number" + }, + "reserved": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "reserved_in_bytes": { + "description": "A prediction, in bytes, of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.", + "type": "number" + }, + "total_data_set_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "total_data_set_size_in_bytes": { + "description": "Total data set size, in bytes, of all shards assigned to selected nodes.\nThis includes the size of shards not stored fully on the nodes, such as the cache for partially mounted indices.", + "type": "number" + } + }, + "required": [ + "size_in_bytes", + "reserved_in_bytes" + ] + }, + "cluster.stats:FieldTypesMappings": { + "type": "object", + "properties": { + "field_types": { + "description": "Contains statistics about field data types used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + }, + "runtime_field_types": { + "description": "Contains statistics about runtime field data types used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:RuntimeFieldTypes" + } + }, + "total_field_count": { + "description": "Total number of fields in all non-system indices.", + "type": "number" + }, + "total_deduplicated_field_count": { + "description": "Total number of fields in all non-system indices, accounting for mapping deduplication.", + "type": "number" + }, + "total_deduplicated_mapping_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "total_deduplicated_mapping_size_in_bytes": { + "description": "Total size of all mappings, in bytes, after deduplication and compression.", + "type": "number" + } + }, + "required": [ + "field_types" + ] + }, + "cluster.stats:RuntimeFieldTypes": { + "type": "object", + "properties": { + "chars_max": { + "description": "Maximum number of characters for a single runtime field script.", + "type": "number" + }, + "chars_total": { + "description": "Total number of characters for the scripts that define the current runtime field data type.", + "type": "number" + }, + "count": { + "description": "Number of runtime fields mapped to the field data type in selected nodes.", + "type": "number" + }, + "doc_max": { + "description": "Maximum number of accesses to doc_values for a single runtime field script", + "type": "number" + }, + "doc_total": { + "description": "Total number of accesses to doc_values for the scripts that define the current runtime field data type.", + "type": "number" + }, + "index_count": { + "description": "Number of indices containing a mapping of the runtime field data type in selected nodes.", + "type": "number" + }, + "lang": { + "description": "Script languages used for the runtime fields scripts.", + "type": "array", + "items": { + "type": "string" + } + }, + "lines_max": { + "description": "Maximum number of lines for a single runtime field script.", + "type": "number" + }, + "lines_total": { + "description": "Total number of lines for the scripts that define the current runtime field data type.", + "type": "number" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "scriptless_count": { + "description": "Number of runtime fields that don’t declare a script.", + "type": "number" + }, + "shadowed_count": { + "description": "Number of runtime fields that shadow an indexed field.", + "type": "number" + }, + "source_max": { + "description": "Maximum number of accesses to _source for a single runtime field script.", + "type": "number" + }, + "source_total": { + "description": "Total number of accesses to _source for the scripts that define the current runtime field data type.", + "type": "number" + } + }, + "required": [ + "chars_max", + "chars_total", + "count", + "doc_max", + "doc_total", + "index_count", + "lang", + "lines_max", + "lines_total", + "name", + "scriptless_count", + "shadowed_count", + "source_max", + "source_total" + ] + }, + "cluster.stats:IndicesVersions": { + "type": "object", + "properties": { + "index_count": { + "type": "number" + }, + "primary_shard_count": { + "type": "number" + }, + "total_primary_bytes": { + "type": "number" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "index_count", + "primary_shard_count", + "total_primary_bytes", + "version" + ] + }, + "cluster.stats:ClusterNodes": { + "type": "object", + "properties": { + "count": { + "$ref": "#/components/schemas/cluster.stats:ClusterNodeCount" + }, + "discovery_types": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/modules-discovery-hosts-providers.html" + }, + "description": "Contains statistics about the discovery types used by selected nodes.", + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "fs": { + "$ref": "#/components/schemas/cluster.stats:ClusterFileSystem" + }, + "indexing_pressure": { + "$ref": "#/components/schemas/cluster.stats:IndexingPressure" + }, + "ingest": { + "$ref": "#/components/schemas/cluster.stats:ClusterIngest" + }, + "jvm": { + "$ref": "#/components/schemas/cluster.stats:ClusterJvm" + }, + "network_types": { + "$ref": "#/components/schemas/cluster.stats:ClusterNetworkTypes" + }, + "os": { + "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystem" + }, + "packaging_types": { + "description": "Contains statistics about Elasticsearch distributions installed on selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:NodePackagingType" + } + }, + "plugins": { + "description": "Contains statistics about installed plugins and modules by selected nodes.\nIf no plugins or modules are installed, this array is empty.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:PluginStats" + } + }, + "process": { + "$ref": "#/components/schemas/cluster.stats:ClusterProcess" + }, + "versions": { + "description": "Array of Elasticsearch versions used on selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:VersionString" + } + } + }, + "required": [ + "count", + "discovery_types", + "fs", + "indexing_pressure", + "ingest", + "jvm", + "network_types", + "os", + "packaging_types", + "plugins", + "process", + "versions" + ] + }, + "cluster.stats:ClusterNodeCount": { + "type": "object", + "properties": { + "coordinating_only": { + "type": "number" + }, + "data": { + "type": "number" + }, + "data_cold": { + "type": "number" + }, + "data_content": { + "type": "number" + }, + "data_frozen": { + "type": "number" + }, + "data_hot": { + "type": "number" + }, + "data_warm": { + "type": "number" + }, + "ingest": { + "type": "number" + }, + "master": { + "type": "number" + }, + "ml": { + "type": "number" + }, + "remote_cluster_client": { + "type": "number" + }, + "total": { + "type": "number" + }, + "transform": { + "type": "number" + }, + "voting_only": { + "type": "number" + } + }, + "required": [ + "coordinating_only", + "data", + "data_cold", + "data_content", + "data_hot", + "data_warm", + "ingest", + "master", + "ml", + "remote_cluster_client", + "total", + "transform", + "voting_only" + ] + }, + "cluster.stats:ClusterFileSystem": { + "type": "object", + "properties": { + "available_in_bytes": { + "description": "Total number of bytes available to JVM in file stores across all selected nodes.\nDepending on operating system or process-level restrictions, this number may be less than `nodes.fs.free_in_byes`.\nThis is the actual amount of free disk space the selected Elasticsearch nodes can use.", + "type": "number" + }, + "free_in_bytes": { + "description": "Total number of unallocated bytes in file stores across all selected nodes.", + "type": "number" + }, + "total_in_bytes": { + "description": "Total size, in bytes, of all file stores across all selected nodes.", + "type": "number" + } + }, + "required": [ + "available_in_bytes", + "free_in_bytes", + "total_in_bytes" + ] + }, + "cluster.stats:IndexingPressure": { + "type": "object", + "properties": { + "memory": { + "$ref": "#/components/schemas/cluster.stats:IndexingPressureMemory" + } + }, + "required": [ + "memory" + ] + }, + "cluster.stats:IndexingPressureMemory": { + "type": "object", + "properties": { + "current": { + "$ref": "#/components/schemas/cluster.stats:IndexingPressureMemorySummary" + }, + "limit_in_bytes": { + "type": "number" + }, + "total": { + "$ref": "#/components/schemas/cluster.stats:IndexingPressureMemorySummary" + } + }, + "required": [ + "current", + "limit_in_bytes", + "total" + ] + }, + "cluster.stats:IndexingPressureMemorySummary": { + "type": "object", + "properties": { + "all_in_bytes": { + "type": "number" + }, + "combined_coordinating_and_primary_in_bytes": { + "type": "number" + }, + "coordinating_in_bytes": { + "type": "number" + }, + "coordinating_rejections": { + "type": "number" + }, + "primary_in_bytes": { + "type": "number" + }, + "primary_rejections": { + "type": "number" + }, + "replica_in_bytes": { + "type": "number" + }, + "replica_rejections": { + "type": "number" + } + }, + "required": [ + "all_in_bytes", + "combined_coordinating_and_primary_in_bytes", + "coordinating_in_bytes", + "primary_in_bytes", + "replica_in_bytes" + ] + }, + "cluster.stats:ClusterIngest": { + "type": "object", + "properties": { + "number_of_pipelines": { + "type": "number" + }, + "processor_stats": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/cluster.stats:ClusterProcessor" + } + } + }, + "required": [ + "number_of_pipelines", + "processor_stats" + ] + }, + "cluster.stats:ClusterProcessor": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "current": { + "type": "number" + }, + "failed": { + "type": "number" + }, + "time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "count", + "current", + "failed", + "time_in_millis" + ] + }, + "cluster.stats:ClusterJvm": { + "type": "object", + "properties": { + "max_uptime_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "mem": { + "$ref": "#/components/schemas/cluster.stats:ClusterJvmMemory" + }, + "threads": { + "description": "Number of active threads in use by JVM across all selected nodes.", + "type": "number" + }, + "versions": { + "description": "Contains statistics about the JVM versions used by selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:ClusterJvmVersion" + } + } + }, + "required": [ + "max_uptime_in_millis", + "mem", + "threads", + "versions" + ] + }, + "cluster.stats:ClusterJvmMemory": { + "type": "object", + "properties": { + "heap_max_in_bytes": { + "description": "Maximum amount of memory, in bytes, available for use by the heap across all selected nodes.", + "type": "number" + }, + "heap_used_in_bytes": { + "description": "Memory, in bytes, currently in use by the heap across all selected nodes.", + "type": "number" + } + }, + "required": [ + "heap_max_in_bytes", + "heap_used_in_bytes" + ] + }, + "cluster.stats:ClusterJvmVersion": { + "type": "object", + "properties": { + "bundled_jdk": { + "description": "Always `true`. All distributions come with a bundled Java Development Kit (JDK).", + "type": "boolean" + }, + "count": { + "description": "Total number of selected nodes using JVM.", + "type": "number" + }, + "using_bundled_jdk": { + "description": "If `true`, a bundled JDK is in use by JVM.", + "type": "boolean" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "vm_name": { + "description": "Name of the JVM.", + "type": "string" + }, + "vm_vendor": { + "description": "Vendor of the JVM.", + "type": "string" + }, + "vm_version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "bundled_jdk", + "count", + "using_bundled_jdk", + "version", + "vm_name", + "vm_vendor", + "vm_version" + ] + }, + "cluster.stats:ClusterNetworkTypes": { + "type": "object", + "properties": { + "http_types": { + "description": "Contains statistics about the HTTP network types used by selected nodes.", + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "transport_types": { + "description": "Contains statistics about the transport network types used by selected nodes.", + "type": "object", + "additionalProperties": { + "type": "number" + } + } + }, + "required": [ + "http_types", + "transport_types" + ] + }, + "cluster.stats:ClusterOperatingSystem": { + "type": "object", + "properties": { + "allocated_processors": { + "description": "Number of processors used to calculate thread pool size across all selected nodes.\nThis number can be set with the processors setting of a node and defaults to the number of processors reported by the operating system.\nIn both cases, this number will never be larger than 32.", + "type": "number" + }, + "architectures": { + "description": "Contains statistics about processor architectures (for example, x86_64 or aarch64) used by selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystemArchitecture" + } + }, + "available_processors": { + "description": "Number of processors available to JVM across all selected nodes.", + "type": "number" + }, + "mem": { + "$ref": "#/components/schemas/cluster.stats:OperatingSystemMemoryInfo" + }, + "names": { + "description": "Contains statistics about operating systems used by selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystemName" + } + }, + "pretty_names": { + "description": "Contains statistics about operating systems used by selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystemPrettyName" + } + } + }, + "required": [ + "allocated_processors", + "available_processors", + "mem", + "names", + "pretty_names" + ] + }, + "cluster.stats:ClusterOperatingSystemArchitecture": { + "type": "object", + "properties": { + "arch": { + "description": "Name of an architecture used by one or more selected nodes.", + "type": "string" + }, + "count": { + "description": "Number of selected nodes using the architecture.", + "type": "number" + } + }, + "required": [ + "arch", + "count" + ] + }, + "cluster.stats:OperatingSystemMemoryInfo": { + "type": "object", + "properties": { + "adjusted_total_in_bytes": { + "description": "Total amount, in bytes, of memory across all selected nodes, but using the value specified using the `es.total_memory_bytes` system property instead of measured total memory for those nodes where that system property was set.", + "type": "number" + }, + "free_in_bytes": { + "description": "Amount, in bytes, of free physical memory across all selected nodes.", + "type": "number" + }, + "free_percent": { + "description": "Percentage of free physical memory across all selected nodes.", + "type": "number" + }, + "total_in_bytes": { + "description": "Total amount, in bytes, of physical memory across all selected nodes.", + "type": "number" + }, + "used_in_bytes": { + "description": "Amount, in bytes, of physical memory in use across all selected nodes.", + "type": "number" + }, + "used_percent": { + "description": "Percentage of physical memory in use across all selected nodes.", + "type": "number" + } + }, + "required": [ + "free_in_bytes", + "free_percent", + "total_in_bytes", + "used_in_bytes", + "used_percent" + ] + }, + "cluster.stats:ClusterOperatingSystemName": { + "type": "object", + "properties": { + "count": { + "description": "Number of selected nodes using the operating system.", + "type": "number" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "count", + "name" + ] + }, + "cluster.stats:ClusterOperatingSystemPrettyName": { + "type": "object", + "properties": { + "count": { + "description": "Number of selected nodes using the operating system.", + "type": "number" + }, + "pretty_name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "count", + "pretty_name" + ] + }, + "cluster.stats:NodePackagingType": { + "type": "object", + "properties": { + "count": { + "description": "Number of selected nodes using the distribution flavor and file type.", + "type": "number" + }, + "flavor": { + "description": "Type of Elasticsearch distribution. This is always `default`.", + "type": "string" + }, + "type": { + "description": "File type (such as `tar` or `zip`) used for the distribution package.", + "type": "string" + } + }, + "required": [ + "count", + "flavor", + "type" + ] + }, + "_types:PluginStats": { + "type": "object", + "properties": { + "classname": { + "type": "string" + }, + "description": { + "type": "string" + }, + "elasticsearch_version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "extended_plugins": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_native_controller": { + "type": "boolean" + }, + "java_version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "licensed": { + "type": "boolean" + } + }, + "required": [ + "classname", + "description", + "elasticsearch_version", + "extended_plugins", + "has_native_controller", + "java_version", + "name", + "version", + "licensed" + ] + }, + "cluster.stats:ClusterProcess": { + "type": "object", + "properties": { + "cpu": { + "$ref": "#/components/schemas/cluster.stats:ClusterProcessCpu" + }, + "open_file_descriptors": { + "$ref": "#/components/schemas/cluster.stats:ClusterProcessOpenFileDescriptors" + } + }, + "required": [ + "cpu", + "open_file_descriptors" + ] + }, + "cluster.stats:ClusterProcessCpu": { + "type": "object", + "properties": { + "percent": { + "description": "Percentage of CPU used across all selected nodes.\nReturns `-1` if not supported.", + "type": "number" + } + }, + "required": [ + "percent" + ] + }, + "cluster.stats:ClusterProcessOpenFileDescriptors": { + "type": "object", + "properties": { + "avg": { + "description": "Average number of concurrently open file descriptors.\nReturns `-1` if not supported.", + "type": "number" + }, + "max": { + "description": "Maximum number of concurrently open file descriptors allowed across all selected nodes.\nReturns `-1` if not supported.", + "type": "number" + }, + "min": { + "description": "Minimum number of concurrently open file descriptors across all selected nodes.\nReturns -1 if not supported.", + "type": "number" + } + }, + "required": [ + "avg", + "max", + "min" + ] + }, + "nodes._types:NodesResponseBase": { + "type": "object", + "properties": { + "_nodes": { + "$ref": "#/components/schemas/_types:NodeStatistics" + } + } + }, + "_types:NodeStatistics": { + "type": "object", + "properties": { + "failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + }, + "total": { + "description": "Total number of nodes selected by the request.", + "type": "number" + }, + "successful": { + "description": "Number of nodes that responded successfully to the request.", + "type": "number" + }, + "failed": { + "description": "Number of nodes that rejected the request or failed to respond. If this value is not 0, a reason for the rejection or failure is included in the response.", + "type": "number" + } + }, + "required": [ + "total", + "successful", + "failed" + ] + }, + "_types:WriteResponseBase": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "_primary_term": { + "type": "number" + }, + "result": { + "$ref": "#/components/schemas/_types:Result" + }, + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "_version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "forced_refresh": { + "type": "boolean" + } + }, + "required": [ + "_id", + "_index", + "_primary_term", + "result", + "_seq_no", + "_shards", + "_version" + ] + }, + "_types:Result": { + "type": "string", + "enum": [ + "created", + "updated", + "deleted", + "not_found", + "noop" + ] + }, + "dangling_indices.list_dangling_indices:DanglingIndex": { + "type": "object", + "properties": { + "index_name": { + "type": "string" + }, + "index_uuid": { + "type": "string" + }, + "creation_date_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "node_ids": { + "$ref": "#/components/schemas/_types:Ids" + } + }, + "required": [ + "index_name", + "index_uuid", + "creation_date_millis", + "node_ids" + ] + }, + "_types:Conflicts": { + "type": "string", + "enum": [ + "abort", + "proceed" + ] + }, + "_types:Slices": { + "description": "Slices configuration used to parallelize a process.", + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "#/components/schemas/_types:SlicesCalculation" + } + ] + }, + "_types:SlicesCalculation": { + "type": "string", + "enum": [ + "auto" + ] + }, + "_types:BulkIndexByScrollFailure": { + "type": "object", + "properties": { + "cause": { + "$ref": "#/components/schemas/_types:ErrorCause" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "status": { + "type": "number" + }, + "type": { + "type": "string" + } + }, + "required": [ + "cause", + "id", + "index", + "status", + "type" + ] + }, + "_types:Retries": { + "type": "object", + "properties": { + "bulk": { + "type": "number" + }, + "search": { + "type": "number" + } + }, + "required": [ + "bulk", + "search" + ] + }, + "_types:TaskId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "tasks._types:TaskListResponseBase": { + "type": "object", + "properties": { + "node_failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + }, + "task_failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:TaskFailure" + } + }, + "nodes": { + "description": "Task information grouped by node, if `group_by` was set to `node` (the default).", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/tasks._types:NodeTasks" + } + }, + "tasks": { + "$ref": "#/components/schemas/tasks._types:TaskInfos" + } + } + }, + "_types:TaskFailure": { + "type": "object", + "properties": { + "task_id": { + "type": "number" + }, + "node_id": { + "$ref": "#/components/schemas/_types:NodeId" + }, + "status": { + "type": "string" + }, + "reason": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + }, + "required": [ + "task_id", + "node_id", + "status", + "reason" + ] + }, + "tasks._types:NodeTasks": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:NodeId" + }, + "transport_address": { + "$ref": "#/components/schemas/_types:TransportAddress" + }, + "host": { + "$ref": "#/components/schemas/_types:Host" + }, + "ip": { + "$ref": "#/components/schemas/_types:Ip" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "attributes": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tasks": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/tasks._types:TaskInfo" + } + } + }, + "required": [ + "tasks" + ] + }, + "tasks._types:TaskInfo": { + "type": "object", + "properties": { + "action": { + "type": "string" + }, + "cancelled": { + "type": "boolean" + }, + "cancellable": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "headers": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "id": { + "type": "number" + }, + "node": { + "$ref": "#/components/schemas/_types:NodeId" + }, + "running_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "running_time_in_nanos": { + "$ref": "#/components/schemas/_types:DurationValueUnitNanos" + }, + "start_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "status": { + "$ref": "#/components/schemas/tasks._types:TaskStatus" + }, + "type": { + "type": "string" + }, + "parent_task_id": { + "$ref": "#/components/schemas/_types:TaskId" + } + }, + "required": [ + "action", + "cancellable", + "headers", + "id", + "node", + "running_time_in_nanos", + "start_time_in_millis", + "type" + ] + }, + "tasks._types:TaskStatus": { + "type": "object", + "properties": { + "batches": { + "type": "number" + }, + "canceled": { + "type": "string" + }, + "created": { + "type": "number" + }, + "deleted": { + "type": "number" + }, + "noops": { + "type": "number" + }, + "failures": { + "type": "array", + "items": { + "type": "string" + } + }, + "requests_per_second": { + "type": "number" + }, + "retries": { + "$ref": "#/components/schemas/_types:Retries" + }, + "throttled": { + "$ref": "#/components/schemas/_types:Duration" + }, + "throttled_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "throttled_until": { + "$ref": "#/components/schemas/_types:Duration" + }, + "throttled_until_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "timed_out": { + "type": "boolean" + }, + "took": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total": { + "type": "number" + }, + "updated": { + "type": "number" + }, + "version_conflicts": { + "type": "number" + } + }, + "required": [ + "batches", + "created", + "deleted", + "noops", + "requests_per_second", + "retries", + "throttled_millis", + "throttled_until_millis", + "total", + "updated", + "version_conflicts" + ] + }, + "tasks._types:TaskInfos": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/tasks._types:TaskInfo" + } + }, + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/tasks._types:ParentTaskInfo" + } + } + ] + }, + "tasks._types:ParentTaskInfo": { + "allOf": [ + { + "$ref": "#/components/schemas/tasks._types:TaskInfo" + }, + { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "$ref": "#/components/schemas/tasks._types:TaskInfo" + } + } + } + } + ] + }, + "enrich.execute_policy:ExecuteEnrichPolicyStatus": { + "type": "object", + "properties": { + "phase": { + "$ref": "#/components/schemas/enrich.execute_policy:EnrichPolicyPhase" + } + }, + "required": [ + "phase" + ] + }, + "enrich.execute_policy:EnrichPolicyPhase": { + "type": "string", + "enum": [ + "SCHEDULED", + "RUNNING", + "COMPLETE", + "FAILED" + ] + }, + "enrich._types:Summary": { + "type": "object", + "properties": { + "config": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/enrich._types:Policy" + }, + "minProperties": 1, + "maxProperties": 1 + } + }, + "required": [ + "config" + ] + }, + "enrich._types:Policy": { + "type": "object", + "properties": { + "enrich_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "match_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "query": { + "type": "string" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "elasticsearch_version": { + "type": "string" + } + }, + "required": [ + "enrich_fields", + "indices", + "match_field" + ] + }, + "enrich.stats:CoordinatorStats": { + "type": "object", + "properties": { + "executed_searches_total": { + "type": "number" + }, + "node_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "queue_size": { + "type": "number" + }, + "remote_requests_current": { + "type": "number" + }, + "remote_requests_total": { + "type": "number" + } + }, + "required": [ + "executed_searches_total", + "node_id", + "queue_size", + "remote_requests_current", + "remote_requests_total" + ] + }, + "enrich.stats:ExecutingPolicy": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "task": { + "$ref": "#/components/schemas/tasks._types:TaskInfo" + } + }, + "required": [ + "name", + "task" + ] + }, + "enrich.stats:CacheStats": { + "type": "object", + "properties": { + "node_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "count": { + "type": "number" + }, + "hits": { + "type": "number" + }, + "misses": { + "type": "number" + }, + "evictions": { + "type": "number" + } + }, + "required": [ + "node_id", + "count", + "hits", + "misses", + "evictions" + ] + }, + "eql._types:EqlSearchResponseBase": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "is_partial": { + "description": "If true, the response does not contain complete search results.", + "type": "boolean" + }, + "is_running": { + "description": "If true, the search request is still executing.", + "type": "boolean" + }, + "took": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "timed_out": { + "description": "If true, the request timed out before completion.", + "type": "boolean" + }, + "hits": { + "$ref": "#/components/schemas/eql._types:EqlHits" + } + }, + "required": [ + "hits" + ] + }, + "eql._types:EqlHits": { + "type": "object", + "properties": { + "total": { + "$ref": "#/components/schemas/_global.search._types:TotalHits" + }, + "events": { + "description": "Contains events matching the query. Each object represents a matching event.", + "type": "array", + "items": { + "$ref": "#/components/schemas/eql._types:HitsEvent" + } + }, + "sequences": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/eql-syntax.html#eql-sequences" + }, + "description": "Contains event sequences matching the query. Each object represents a matching sequence. This parameter is only returned for EQL queries containing a sequence.", + "type": "array", + "items": { + "$ref": "#/components/schemas/eql._types:HitsSequence" + } + } + } + }, + "eql._types:HitsEvent": { + "type": "object", + "properties": { + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_source": { + "description": "Original JSON body passed for the event at index time.", + "type": "object" + }, + "fields": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "object" + } + } + } + }, + "required": [ + "_index", + "_id", + "_source" + ] + }, + "eql._types:HitsSequence": { + "type": "object", + "properties": { + "events": { + "description": "Contains events matching the query. Each object represents a matching event.", + "type": "array", + "items": { + "$ref": "#/components/schemas/eql._types:HitsEvent" + } + }, + "join_keys": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/eql-syntax.html#eql-sequences" + }, + "description": "Shared field values used to constrain matches in the sequence. These are defined using the by keyword in the EQL query syntax.", + "type": "array", + "items": { + "type": "object" + } + } + }, + "required": [ + "events", + "join_keys" + ] + }, + "eql.search:ResultPosition": { + "type": "string", + "enum": [ + "tail", + "head" + ] + }, + "_types:InlineGet": { + "type": "object", + "properties": { + "fields": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "found": { + "type": "boolean" + }, + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "_primary_term": { + "type": "number" + }, + "_routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "_source": { + "type": "object" + } + }, + "required": [ + "found", + "_source" + ] + }, + "features._types:Feature": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "required": [ + "name", + "description" + ] + }, + "_global.field_caps:FieldCapability": { + "type": "object", + "properties": { + "aggregatable": { + "description": "Whether this field can be aggregated on all indices.", + "type": "boolean" + }, + "indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "non_aggregatable_indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "non_searchable_indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "searchable": { + "description": "Whether this field is indexed for search on all indices.", + "type": "boolean" + }, + "type": { + "type": "string" + }, + "metadata_field": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-fields.html" + }, + "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.", + "type": "boolean" + }, + "time_series_metric": { + "$ref": "#/components/schemas/_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.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_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.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:IndexName" + } + } + }, + "required": [ + "aggregatable", + "searchable", + "type" + ] + }, + "_types:IndexAlias": { + "type": "string" + }, + "fleet._types:Checkpoint": { + "type": "number" + }, + "_global.msearch:RequestItem": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.msearch:MultisearchHeader" + }, + { + "$ref": "#/components/schemas/_global.msearch:MultisearchBody" + } + ] + }, + "_global.msearch:MultisearchHeader": { + "type": "object", + "properties": { + "allow_no_indices": { + "type": "boolean" + }, + "expand_wildcards": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "ignore_unavailable": { + "type": "boolean" + }, + "index": { + "$ref": "#/components/schemas/_types:Indices" + }, + "preference": { + "type": "string" + }, + "request_cache": { + "type": "boolean" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "search_type": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "ccs_minimize_roundtrips": { + "type": "boolean" + }, + "allow_partial_search_results": { + "type": "boolean" + }, + "ignore_throttled": { + "type": "boolean" + } + } + }, + "_global.msearch:MultisearchBody": { + "type": "object", + "properties": { + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "collapse": { + "$ref": "#/components/schemas/_global.search._types:FieldCollapse" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "explain": { + "description": "If true, returns detailed information about score computation as part of a hit.", + "type": "boolean" + }, + "ext": { + "description": "Configuration of search extensions defined by Elasticsearch plugins.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "stored_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "docvalue_fields": { + "description": "Array of wildcard (*) patterns. The request returns doc values for field\nnames matching these patterns in the hits.fields property of the response.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "knn": { + "description": "Defines the approximate kNN search to run.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:KnnQuery" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:KnnQuery" + } + } + ] + }, + "from": { + "description": "Starting document offset. By default, you cannot page through more than 10,000\nhits using the from and size parameters. To page through more hits, use the\nsearch_after parameter.", + "type": "number" + }, + "highlight": { + "$ref": "#/components/schemas/_global.search._types:Highlight" + }, + "indices_boost": { + "description": "Boosts the _score of documents from specified indices.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "number" + } + } + }, + "min_score": { + "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in the search results.", + "type": "number" + }, + "post_filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "profile": { + "type": "boolean" + }, + "rescore": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:Rescore" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Rescore" + } + } + ] + }, + "script_fields": { + "description": "Retrieve a script evaluation (based on different fields) for each hit.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "search_after": { + "$ref": "#/components/schemas/_types:SortResults" + }, + "size": { + "description": "The number of hits to return. By default, you cannot page through more\nthan 10,000 hits using the from and size parameters. To page through more\nhits, use the search_after parameter.", + "type": "number" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "fields": { + "description": "Array of wildcard (*) patterns. The request returns values for field names\nmatching these patterns in the hits.fields property of the response.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "terminate_after": { + "description": "Maximum number of documents to collect for each shard. If a query reaches this\nlimit, Elasticsearch terminates the query early. Elasticsearch collects documents\nbefore sorting. Defaults to 0, which does not terminate query execution early.", + "type": "number" + }, + "stats": { + "description": "Stats groups to associate with the search. Each group maintains a statistics\naggregation for its associated searches. You can retrieve these stats using\nthe indices stats API.", + "type": "array", + "items": { + "type": "string" + } + }, + "timeout": { + "description": "Specifies the period of time to wait for a response from each shard. If no response\nis 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.", + "type": "boolean" + }, + "track_total_hits": { + "$ref": "#/components/schemas/_global.search._types:TrackHits" + }, + "version": { + "description": "If true, returns document version as part of a hit.", + "type": "boolean" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "seq_no_primary_term": { + "description": "If true, returns sequence number and primary term of the last modification\nof each hit. See Optimistic concurrency control.", + "type": "boolean" + }, + "pit": { + "$ref": "#/components/schemas/_global.search._types:PointInTimeReference" + }, + "suggest": { + "$ref": "#/components/schemas/_global.search._types:Suggester" + } + } + }, + "_global.msearch:ResponseItem": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.msearch:MultiSearchItem" + }, + { + "$ref": "#/components/schemas/_types:ErrorResponseBase" + } + ] + }, + "_global.msearch:MultiSearchItem": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.search:ResponseBody" + }, + { + "type": "object", + "properties": { + "status": { + "type": "number" + } + } + } + ] + }, + "_global.search:ResponseBody": { + "type": "object", + "properties": { + "took": { + "type": "number" + }, + "timed_out": { + "type": "boolean" + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "hits": { + "$ref": "#/components/schemas/_global.search._types:HitsMetadata" + }, + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:Aggregate" + } + }, + "_clusters": { + "$ref": "#/components/schemas/_types:ClusterStatistics" + }, + "fields": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "max_score": { + "type": "number" + }, + "num_reduce_phases": { + "type": "number" + }, + "profile": { + "$ref": "#/components/schemas/_global.search._types:Profile" + }, + "pit_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_scroll_id": { + "$ref": "#/components/schemas/_types:ScrollId" + }, + "suggest": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Suggest" + } + } + }, + "terminated_early": { + "type": "boolean" + } + }, + "required": [ + "took", + "timed_out", + "_shards", + "hits" + ] + }, + "_types:ErrorResponseBase": { + "type": "object", + "properties": { + "error": { + "$ref": "#/components/schemas/_types:ErrorCause" + }, + "status": { + "type": "number" + } + }, + "required": [ + "error", + "status" + ] + }, + "_global.get:GetResult": { + "type": "object", + "properties": { + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "fields": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "found": { + "type": "boolean" + }, + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_primary_term": { + "type": "number" + }, + "_routing": { + "type": "string" + }, + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "_source": { + "type": "object" + }, + "_version": { + "$ref": "#/components/schemas/_types:VersionNumber" + } + }, + "required": [ + "_index", + "found", + "_id" + ] + }, + "_types:StoredScript": { + "type": "object", + "properties": { + "lang": { + "$ref": "#/components/schemas/_types:ScriptLanguage" + }, + "options": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "source": { + "description": "The script source.", + "type": "string" + } + }, + "required": [ + "lang", + "source" + ] + }, + "_global.get_script_context:Context": { + "type": "object", + "properties": { + "methods": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.get_script_context:ContextMethod" + } + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "methods", + "name" + ] + }, + "_global.get_script_context:ContextMethod": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "return_type": { + "type": "string" + }, + "params": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.get_script_context:ContextMethodParam" + } + } + }, + "required": [ + "name", + "return_type", + "params" + ] + }, + "_global.get_script_context:ContextMethodParam": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name", + "type" + ] + }, + "_global.get_script_languages:LanguageContext": { + "type": "object", + "properties": { + "contexts": { + "type": "array", + "items": { + "type": "string" + } + }, + "language": { + "$ref": "#/components/schemas/_types:ScriptLanguage" + } + }, + "required": [ + "contexts", + "language" + ] + }, + "graph._types:Hop": { + "type": "object", + "properties": { + "connections": { + "$ref": "#/components/schemas/graph._types:Hop" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "vertices": { + "description": "Contains the fields you are interested in.", + "type": "array", + "items": { + "$ref": "#/components/schemas/graph._types:VertexDefinition" + } + } + }, + "required": [ + "query", + "vertices" + ] + }, + "graph._types:VertexDefinition": { + "type": "object", + "properties": { + "exclude": { + "description": "Prevents the specified terms from being included in the results.", + "type": "array", + "items": { + "type": "string" + } + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "include": { + "description": "Identifies the terms of interest that form the starting points from which you want to spider out.", + "type": "array", + "items": { + "$ref": "#/components/schemas/graph._types:VertexInclude" + } + }, + "min_doc_count": { + "description": "Specifies how many documents must contain a pair of terms before it is considered to be a useful connection.\nThis setting acts as a certainty threshold.", + "type": "number" + }, + "shard_min_doc_count": { + "description": "Controls how many documents on a particular shard have to contain a pair of terms before the connection is returned for global consideration.", + "type": "number" + }, + "size": { + "description": "Specifies the maximum number of vertex terms returned for each field.", + "type": "number" + } + }, + "required": [ + "field" + ] + }, + "graph._types:VertexInclude": { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "term": { + "type": "string" + } + }, + "required": [ + "boost", + "term" + ] + }, + "graph._types:ExploreControls": { + "type": "object", + "properties": { + "sample_diversity": { + "$ref": "#/components/schemas/graph._types:SampleDiversity" + }, + "sample_size": { + "description": "Each hop considers a sample of the best-matching documents on each shard.\nUsing samples improves the speed of execution and keeps exploration focused on meaningfully-connected terms.\nVery small values (less than 50) might not provide sufficient weight-of-evidence to identify significant connections between terms.\nVery large sample sizes can dilute the quality of the results and increase execution times.", + "type": "number" + }, + "timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "use_significance": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-significantterms-aggregation.html" + }, + "description": "Filters associated terms so only those that are significantly associated with your query are included.", + "type": "boolean" + } + }, + "required": [ + "use_significance" + ] + }, + "graph._types:SampleDiversity": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "max_docs_per_value": { + "type": "number" + } + }, + "required": [ + "field", + "max_docs_per_value" + ] + }, + "graph._types:Connection": { + "type": "object", + "properties": { + "doc_count": { + "type": "number" + }, + "source": { + "type": "number" + }, + "target": { + "type": "number" + }, + "weight": { + "type": "number" + } + }, + "required": [ + "doc_count", + "source", + "target", + "weight" + ] + }, + "graph._types:Vertex": { + "type": "object", + "properties": { + "depth": { + "type": "number" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "term": { + "type": "string" + }, + "weight": { + "type": "number" + } + }, + "required": [ + "depth", + "field", + "term", + "weight" + ] + }, + "_global.health_report:Indicators": { + "type": "object", + "properties": { + "master_is_stable": { + "$ref": "#/components/schemas/_global.health_report:MasterIsStableIndicator" + }, + "shards_availability": { + "$ref": "#/components/schemas/_global.health_report:ShardsAvailabilityIndicator" + }, + "disk": { + "$ref": "#/components/schemas/_global.health_report:DiskIndicator" + }, + "repository_integrity": { + "$ref": "#/components/schemas/_global.health_report:RepositoryIntegrityIndicator" + }, + "ilm": { + "$ref": "#/components/schemas/_global.health_report:IlmIndicator" + }, + "slm": { + "$ref": "#/components/schemas/_global.health_report:SlmIndicator" + }, + "shards_capacity": { + "$ref": "#/components/schemas/_global.health_report:ShardsCapacityIndicator" + } + } + }, + "_global.health_report:MasterIsStableIndicator": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.health_report:BaseIndicator" + }, + { + "type": "object", + "properties": { + "details": { + "$ref": "#/components/schemas/_global.health_report:MasterIsStableIndicatorDetails" + } + } + } + ] + }, + "_global.health_report:MasterIsStableIndicatorDetails": { + "type": "object", + "properties": { + "current_master": { + "$ref": "#/components/schemas/_global.health_report:IndicatorNode" + }, + "recent_masters": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.health_report:IndicatorNode" + } + }, + "exception_fetching_history": { + "$ref": "#/components/schemas/_global.health_report:MasterIsStableIndicatorExceptionFetchingHistory" + }, + "cluster_formation": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.health_report:MasterIsStableIndicatorClusterFormationNode" + } + } + }, + "required": [ + "current_master", + "recent_masters" + ] + }, + "_global.health_report:IndicatorNode": { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "node_id": { + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + } + }, + "required": [ + "name", + "node_id" + ] + }, + "_global.health_report:MasterIsStableIndicatorExceptionFetchingHistory": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "stack_trace": { + "type": "string" + } + }, + "required": [ + "message", + "stack_trace" + ] + }, + "_global.health_report:MasterIsStableIndicatorClusterFormationNode": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "cluster_formation_message": { + "type": "string" + } + }, + "required": [ + "node_id", + "cluster_formation_message" + ] + }, + "_global.health_report:BaseIndicator": { + "type": "object", + "properties": { + "status": { + "$ref": "#/components/schemas/_global.health_report:IndicatorHealthStatus" + }, + "symptom": { + "type": "string" + }, + "impacts": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.health_report:Impact" + } + }, + "diagnosis": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.health_report:Diagnosis" + } + } + }, + "required": [ + "status", + "symptom" + ] + }, + "_global.health_report:IndicatorHealthStatus": { + "type": "string", + "enum": [ + "green", + "yellow", + "red", + "unknown" + ] + }, + "_global.health_report:Impact": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "impact_areas": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.health_report:ImpactArea" + } + }, + "severity": { + "type": "number" + } + }, + "required": [ + "description", + "id", + "impact_areas", + "severity" + ] + }, + "_global.health_report:ImpactArea": { + "type": "string", + "enum": [ + "search", + "ingest", + "backup", + "deployment_management" + ] + }, + "_global.health_report:Diagnosis": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "action": { + "type": "string" + }, + "affected_resources": { + "$ref": "#/components/schemas/_global.health_report:DiagnosisAffectedResources" + }, + "cause": { + "type": "string" + }, + "help_url": { + "type": "string" + } + }, + "required": [ + "id", + "action", + "affected_resources", + "cause", + "help_url" + ] + }, + "_global.health_report:DiagnosisAffectedResources": { + "type": "object", + "properties": { + "indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "nodes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.health_report:IndicatorNode" + } + }, + "slm_policies": { + "type": "array", + "items": { + "type": "string" + } + }, + "feature_states": { + "type": "array", + "items": { + "type": "string" + } + }, + "snapshot_repositories": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "_global.health_report:ShardsAvailabilityIndicator": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.health_report:BaseIndicator" + }, + { + "type": "object", + "properties": { + "details": { + "$ref": "#/components/schemas/_global.health_report:ShardsAvailabilityIndicatorDetails" + } + } + } + ] + }, + "_global.health_report:ShardsAvailabilityIndicatorDetails": { + "type": "object", + "properties": { + "creating_primaries": { + "type": "number" + }, + "initializing_primaries": { + "type": "number" + }, + "initializing_replicas": { + "type": "number" + }, + "restarting_primaries": { + "type": "number" + }, + "restarting_replicas": { + "type": "number" + }, + "started_primaries": { + "type": "number" + }, + "started_replicas": { + "type": "number" + }, + "unassigned_primaries": { + "type": "number" + }, + "unassigned_replicas": { + "type": "number" + } + }, + "required": [ + "creating_primaries", + "initializing_primaries", + "initializing_replicas", + "restarting_primaries", + "restarting_replicas", + "started_primaries", + "started_replicas", + "unassigned_primaries", + "unassigned_replicas" + ] + }, + "_global.health_report:DiskIndicator": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.health_report:BaseIndicator" + }, + { + "type": "object", + "properties": { + "details": { + "$ref": "#/components/schemas/_global.health_report:DiskIndicatorDetails" + } + } + } + ] + }, + "_global.health_report:DiskIndicatorDetails": { + "type": "object", + "properties": { + "indices_with_readonly_block": { + "type": "number" + }, + "nodes_with_enough_disk_space": { + "type": "number" + }, + "nodes_over_high_watermark": { + "type": "number" + }, + "nodes_over_flood_stage_watermark": { + "type": "number" + }, + "nodes_with_unknown_disk_status": { + "type": "number" + } + }, + "required": [ + "indices_with_readonly_block", + "nodes_with_enough_disk_space", + "nodes_over_high_watermark", + "nodes_over_flood_stage_watermark", + "nodes_with_unknown_disk_status" + ] + }, + "_global.health_report:RepositoryIntegrityIndicator": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.health_report:BaseIndicator" + }, + { + "type": "object", + "properties": { + "details": { + "$ref": "#/components/schemas/_global.health_report:RepositoryIntegrityIndicatorDetails" + } + } + } + ] + }, + "_global.health_report:RepositoryIntegrityIndicatorDetails": { + "type": "object", + "properties": { + "total_repositories": { + "type": "number" + }, + "corrupted_repositories": { + "type": "number" + }, + "corrupted": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "_global.health_report:IlmIndicator": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.health_report:BaseIndicator" + }, + { + "type": "object", + "properties": { + "details": { + "$ref": "#/components/schemas/_global.health_report:IlmIndicatorDetails" + } + } + } + ] + }, + "_global.health_report:IlmIndicatorDetails": { + "type": "object", + "properties": { + "ilm_status": { + "$ref": "#/components/schemas/_types:LifecycleOperationMode" + }, + "policies": { + "type": "number" + } + }, + "required": [ + "ilm_status", + "policies" + ] + }, + "_types:LifecycleOperationMode": { + "type": "string", + "enum": [ + "RUNNING", + "STOPPING", + "STOPPED" + ] + }, + "_global.health_report:SlmIndicator": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.health_report:BaseIndicator" + }, + { + "type": "object", + "properties": { + "details": { + "$ref": "#/components/schemas/_global.health_report:SlmIndicatorDetails" + } + } + } + ] + }, + "_global.health_report:SlmIndicatorDetails": { + "type": "object", + "properties": { + "slm_status": { + "$ref": "#/components/schemas/_types:LifecycleOperationMode" + }, + "policies": { + "type": "number" + }, + "unhealthy_policies": { + "$ref": "#/components/schemas/_global.health_report:SlmIndicatorUnhealthyPolicies" + } + }, + "required": [ + "slm_status", + "policies", + "unhealthy_policies" + ] + }, + "_global.health_report:SlmIndicatorUnhealthyPolicies": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "invocations_since_last_success": { + "type": "object", + "additionalProperties": { + "type": "number" + } + } + }, + "required": [ + "count" + ] + }, + "_global.health_report:ShardsCapacityIndicator": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.health_report:BaseIndicator" + }, + { + "type": "object", + "properties": { + "details": { + "$ref": "#/components/schemas/_global.health_report:ShardsCapacityIndicatorDetails" + } + } + } + ] + }, + "_global.health_report:ShardsCapacityIndicatorDetails": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/_global.health_report:ShardsCapacityIndicatorTierDetail" + }, + "frozen": { + "$ref": "#/components/schemas/_global.health_report:ShardsCapacityIndicatorTierDetail" + } + }, + "required": [ + "data", + "frozen" + ] + }, + "_global.health_report:ShardsCapacityIndicatorTierDetail": { + "type": "object", + "properties": { + "max_shards_in_cluster": { + "type": "number" + }, + "current_used_shards": { + "type": "number" + } + }, + "required": [ + "max_shards_in_cluster" + ] + }, + "ilm.explain_lifecycle:LifecycleExplain": { + "discriminator": { + "propertyName": "managed" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/ilm.explain_lifecycle:LifecycleExplainManaged" + }, + { + "$ref": "#/components/schemas/ilm.explain_lifecycle:LifecycleExplainUnmanaged" + } + ] + }, + "ilm.explain_lifecycle:LifecycleExplainManaged": { + "type": "object", + "properties": { + "action": { + "$ref": "#/components/schemas/_types:Name" + }, + "action_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "action_time_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "age": { + "$ref": "#/components/schemas/_types:Duration" + }, + "failed_step": { + "$ref": "#/components/schemas/_types:Name" + }, + "failed_step_retry_count": { + "type": "number" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "index_creation_date": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "index_creation_date_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "is_auto_retryable_error": { + "type": "boolean" + }, + "lifecycle_date": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "lifecycle_date_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "managed": { + "type": "string", + "enum": [ + "true" + ] + }, + "phase": { + "$ref": "#/components/schemas/_types:Name" + }, + "phase_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "phase_time_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "policy": { + "$ref": "#/components/schemas/_types:Name" + }, + "step": { + "$ref": "#/components/schemas/_types:Name" + }, + "step_info": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "step_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "step_time_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "phase_execution": { + "$ref": "#/components/schemas/ilm.explain_lifecycle:LifecycleExplainPhaseExecution" + }, + "time_since_index_creation": { + "$ref": "#/components/schemas/_types:Duration" + } + }, + "required": [ + "managed", + "phase", + "policy" + ] + }, + "ilm.explain_lifecycle:LifecycleExplainPhaseExecution": { + "type": "object", + "properties": { + "policy": { + "$ref": "#/components/schemas/_types:Name" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "modified_date_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + } + }, + "required": [ + "policy", + "version", + "modified_date_in_millis" + ] + }, + "ilm.explain_lifecycle:LifecycleExplainUnmanaged": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "managed": { + "type": "string", + "enum": [ + "false" + ] + } + }, + "required": [ + "index", + "managed" + ] + }, + "ilm.get_lifecycle:Lifecycle": { + "type": "object", + "properties": { + "modified_date": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "policy": { + "$ref": "#/components/schemas/ilm._types:Policy" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + } + }, + "required": [ + "modified_date", + "policy", + "version" + ] + }, + "ilm._types:Policy": { + "type": "object", + "properties": { + "phases": { + "$ref": "#/components/schemas/ilm._types:Phases" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + } + }, + "required": [ + "phases" + ] + }, + "ilm._types:Phases": { + "type": "object", + "properties": { + "cold": { + "$ref": "#/components/schemas/ilm._types:Phase" + }, + "delete": { + "$ref": "#/components/schemas/ilm._types:Phase" + }, + "frozen": { + "$ref": "#/components/schemas/ilm._types:Phase" + }, + "hot": { + "$ref": "#/components/schemas/ilm._types:Phase" + }, + "warm": { + "$ref": "#/components/schemas/ilm._types:Phase" + } + } + }, + "ilm._types:Phase": { + "type": "object", + "properties": { + "actions": { + "$ref": "#/components/schemas/ilm._types:Actions" + }, + "min_age": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Duration" + }, + { + "type": "number" + } + ] + }, + "configurations": { + "$ref": "#/components/schemas/ilm._types:Configurations" + } + } + }, + "ilm._types:Actions": { + "type": "object" + }, + "ilm._types:Configurations": { + "type": "object", + "properties": { + "rollover": { + "$ref": "#/components/schemas/indices.rollover:RolloverConditions" + }, + "forcemerge": { + "$ref": "#/components/schemas/ilm._types:ForceMergeConfiguration" + }, + "shrink": { + "$ref": "#/components/schemas/ilm._types:ShrinkConfiguration" + } + } + }, + "indices.rollover:RolloverConditions": { + "type": "object", + "properties": { + "min_age": { + "$ref": "#/components/schemas/_types:Duration" + }, + "max_age": { + "$ref": "#/components/schemas/_types:Duration" + }, + "max_age_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "min_docs": { + "type": "number" + }, + "max_docs": { + "type": "number" + }, + "max_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "max_size_bytes": { + "type": "number" + }, + "min_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "min_size_bytes": { + "type": "number" + }, + "max_primary_shard_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "max_primary_shard_size_bytes": { + "type": "number" + }, + "min_primary_shard_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "min_primary_shard_size_bytes": { + "type": "number" + }, + "max_primary_shard_docs": { + "type": "number" + }, + "min_primary_shard_docs": { + "type": "number" + } + } + }, + "ilm._types:ForceMergeConfiguration": { + "type": "object", + "properties": { + "max_num_segments": { + "type": "number" + } + }, + "required": [ + "max_num_segments" + ] + }, + "ilm._types:ShrinkConfiguration": { + "type": "object", + "properties": { + "number_of_shards": { + "type": "number" + } + }, + "required": [ + "number_of_shards" + ] + }, + "ilm.move_to_step:StepKey": { + "type": "object", + "properties": { + "action": { + "type": "string" + }, + "name": { + "type": "string" + }, + "phase": { + "type": "string" + } + }, + "required": [ + "action", + "name", + "phase" + ] + }, + "_types:OpType": { + "type": "string", + "enum": [ + "index", + "create" + ] + }, + "indices.add_block:IndicesBlockOptions": { + "type": "string", + "enum": [ + "metadata", + "read", + "read_only", + "write" + ] + }, + "indices.add_block:IndicesBlockStatus": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "blocked": { + "type": "boolean" + } + }, + "required": [ + "name", + "blocked" + ] + }, + "indices.analyze:TextToAnalyze": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "indices.analyze:AnalyzeDetail": { + "type": "object", + "properties": { + "analyzer": { + "$ref": "#/components/schemas/indices.analyze:AnalyzerDetail" + }, + "charfilters": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.analyze:CharFilterDetail" + } + }, + "custom_analyzer": { + "type": "boolean" + }, + "tokenfilters": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.analyze:TokenDetail" + } + }, + "tokenizer": { + "$ref": "#/components/schemas/indices.analyze:TokenDetail" + } + }, + "required": [ + "custom_analyzer" + ] + }, + "indices.analyze:AnalyzerDetail": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "tokens": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.analyze:ExplainAnalyzeToken" + } + } + }, + "required": [ + "name", + "tokens" + ] + }, + "indices.analyze:ExplainAnalyzeToken": { + "type": "object", + "properties": { + "bytes": { + "type": "string" + }, + "end_offset": { + "type": "number" + }, + "keyword": { + "type": "boolean" + }, + "position": { + "type": "number" + }, + "positionLength": { + "type": "number" + }, + "start_offset": { + "type": "number" + }, + "termFrequency": { + "type": "number" + }, + "token": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "bytes", + "end_offset", + "position", + "positionLength", + "start_offset", + "termFrequency", + "token", + "type" + ] + }, + "indices.analyze:CharFilterDetail": { + "type": "object", + "properties": { + "filtered_text": { + "type": "array", + "items": { + "type": "string" + } + }, + "name": { + "type": "string" + } + }, + "required": [ + "filtered_text", + "name" + ] + }, + "indices.analyze:TokenDetail": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "tokens": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.analyze:ExplainAnalyzeToken" + } + } + }, + "required": [ + "name", + "tokens" + ] + }, + "indices.analyze:AnalyzeToken": { + "type": "object", + "properties": { + "end_offset": { + "type": "number" + }, + "position": { + "type": "number" + }, + "positionLength": { + "type": "number" + }, + "start_offset": { + "type": "number" + }, + "token": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "end_offset", + "position", + "start_offset", + "token", + "type" + ] + }, + "_types:ShardsOperationResponseBase": { + "type": "object", + "properties": { + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + } + }, + "required": [ + "_shards" + ] + }, + "indices.close:CloseIndexResult": { + "type": "object", + "properties": { + "closed": { + "type": "boolean" + }, + "shards": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.close:CloseShardResult" + } + } + }, + "required": [ + "closed" + ] + }, + "indices.close:CloseShardResult": { + "type": "object", + "properties": { + "failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ShardFailure" + } + } + }, + "required": [ + "failures" + ] + }, + "indices.data_streams_stats:DataStreamsStatsItem": { + "type": "object", + "properties": { + "backing_indices": { + "description": "Current number of backing indices for the data stream.", + "type": "number" + }, + "data_stream": { + "$ref": "#/components/schemas/_types:Name" + }, + "maximum_timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "store_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "store_size_bytes": { + "description": "Total size, in bytes, of all shards for the data stream’s backing indices.", + "type": "number" + } + }, + "required": [ + "backing_indices", + "data_stream", + "maximum_timestamp", + "store_size_bytes" + ] + }, + "_types:IndicesResponseBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + }, + { + "type": "object", + "properties": { + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + } + } + } + ] + }, + "_types:DataStreamNames": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:DataStreamName" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:DataStreamName" + } + } + ] + }, + "indices._types:DownsampleConfig": { + "type": "object", + "properties": { + "fixed_interval": { + "$ref": "#/components/schemas/_types:DurationLarge" + } + }, + "required": [ + "fixed_interval" + ] + }, + "indices.explain_data_lifecycle:DataLifecycleExplain": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "managed_by_dlm": { + "type": "boolean" + }, + "index_creation_date_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "time_since_index_creation": { + "$ref": "#/components/schemas/_types:Duration" + }, + "rollover_date_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "time_since_rollover": { + "$ref": "#/components/schemas/_types:Duration" + }, + "lifecycle": { + "$ref": "#/components/schemas/indices._types:DataLifecycleWithRollover" + }, + "generation_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "error": { + "type": "string" + } + }, + "required": [ + "index", + "managed_by_dlm" + ] + }, + "indices.field_usage_stats:FieldsUsageBody": { + "type": "object", + "properties": { + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + } + }, + "required": [ + "_shards" + ] + }, + "indices.forcemerge._types:ForceMergeResponseBody": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:ShardsOperationResponseBase" + }, + { + "type": "object", + "properties": { + "task": { + "description": "task contains a task id returned when wait_for_completion=false,\nyou can use the task_id to get the status of the task at _tasks/", + "type": "string" + } + } + } + ] + }, + "indices.get:Features": { + "oneOf": [ + { + "$ref": "#/components/schemas/indices.get:Feature" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.get:Feature" + } + } + ] + }, + "indices.get:Feature": { + "type": "string", + "enum": [ + "aliases", + "mappings", + "settings" + ] + }, + "indices.get_alias:IndexAliases": { + "type": "object", + "properties": { + "aliases": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:AliasDefinition" + } + } + }, + "required": [ + "aliases" + ] + }, + "indices.get_data_lifecycle:DataStreamLifecycle": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:DataStreamName" + }, + "lifecycle": { + "$ref": "#/components/schemas/indices._types:DataLifecycle" + } + }, + "required": [ + "name" + ] + }, + "indices._types:DataStream": { + "type": "object", + "properties": { + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "allow_custom_routing": { + "description": "If `true`, the data stream allows custom routing on write request.", + "type": "boolean" + }, + "generation": { + "description": "Current generation for the data stream. This number acts as a cumulative count of the stream’s rollovers, starting at 1.", + "type": "number" + }, + "hidden": { + "description": "If `true`, the data stream is hidden.", + "type": "boolean" + }, + "ilm_policy": { + "$ref": "#/components/schemas/_types:Name" + }, + "indices": { + "description": "Array of objects containing information about the data stream’s backing indices.\nThe last item in this array contains information about the stream’s current write index.", + "type": "array", + "items": { + "$ref": "#/components/schemas/indices._types:DataStreamIndex" + } + }, + "lifecycle": { + "$ref": "#/components/schemas/indices._types:DataLifecycleWithRollover" + }, + "name": { + "$ref": "#/components/schemas/_types:DataStreamName" + }, + "replicated": { + "description": "If `true`, the data stream is created and managed by cross-cluster replication and the local cluster can not write into this data stream or change its mappings.", + "type": "boolean" + }, + "status": { + "$ref": "#/components/schemas/_types:HealthStatus" + }, + "system": { + "description": "If `true`, the data stream is created and managed by an Elastic stack component and cannot be modified through normal user interaction.", + "type": "boolean" + }, + "template": { + "$ref": "#/components/schemas/_types:Name" + }, + "timestamp_field": { + "$ref": "#/components/schemas/indices._types:DataStreamTimestampField" + } + }, + "required": [ + "generation", + "hidden", + "indices", + "name", + "status", + "template", + "timestamp_field" + ] + }, + "indices._types:DataStreamIndex": { + "type": "object", + "properties": { + "index_name": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "index_uuid": { + "$ref": "#/components/schemas/_types:Uuid" + } + }, + "required": [ + "index_name", + "index_uuid" + ] + }, + "indices._types:DataStreamTimestampField": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "name" + ] + }, + "indices.get_field_mapping:TypeFieldMappings": { + "type": "object", + "properties": { + "mappings": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:FieldMapping" + } + } + }, + "required": [ + "mappings" + ] + }, + "_types.mapping:FieldMapping": { + "type": "object", + "properties": { + "full_name": { + "type": "string" + }, + "mapping": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:Property" + }, + "minProperties": 1, + "maxProperties": 1 + } + }, + "required": [ + "full_name", + "mapping" + ] + }, + "indices.get_index_template:IndexTemplateItem": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "index_template": { + "$ref": "#/components/schemas/indices._types:IndexTemplate" + } + }, + "required": [ + "name", + "index_template" + ] + }, + "indices._types:IndexTemplate": { + "type": "object", + "properties": { + "index_patterns": { + "$ref": "#/components/schemas/_types:Names" + }, + "composed_of": { + "description": "An ordered list of component template names.\nComponent templates are merged in the order specified, meaning that the last component template specified has the highest precedence.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "template": { + "$ref": "#/components/schemas/indices._types:IndexTemplateSummary" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "priority": { + "description": "Priority to determine index template precedence when a new data stream or index is created.\nThe index template with the highest priority is chosen.\nIf no priority is specified the template is treated as though it is of priority 0 (lowest priority).\nThis number is not automatically generated by Elasticsearch.", + "type": "number" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "allow_auto_create": { + "type": "boolean" + }, + "data_stream": { + "$ref": "#/components/schemas/indices._types:IndexTemplateDataStreamConfiguration" + } + }, + "required": [ + "index_patterns", + "composed_of" + ] + }, + "indices._types:IndexTemplateSummary": { + "type": "object", + "properties": { + "aliases": { + "description": "Aliases to add.\nIf the index template includes a `data_stream` object, these are data stream aliases.\nOtherwise, these are index aliases.\nData stream aliases ignore the `index_routing`, `routing`, and `search_routing` options.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "settings": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + }, + "lifecycle": { + "$ref": "#/components/schemas/indices._types:DataLifecycleWithRollover" + } + } + }, + "indices._types:IndexTemplateDataStreamConfiguration": { + "type": "object", + "properties": { + "hidden": { + "description": "If true, the data stream is hidden.", + "type": "boolean" + }, + "allow_custom_routing": { + "description": "If true, the data stream supports custom routing.", + "type": "boolean" + } + } + }, + "indices.get_mapping:IndexMappingRecord": { + "type": "object", + "properties": { + "item": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + } + }, + "required": [ + "mappings" + ] + }, + "indices._types:TemplateMapping": { + "type": "object", + "properties": { + "aliases": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } + }, + "index_patterns": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "order": { + "type": "number" + }, + "settings": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + } + }, + "required": [ + "aliases", + "index_patterns", + "mappings", + "order", + "settings" + ] + }, + "indices.modify_data_stream:Action": { + "type": "object", + "properties": { + "add_backing_index": { + "$ref": "#/components/schemas/indices.modify_data_stream:IndexAndDataStreamAction" + }, + "remove_backing_index": { + "$ref": "#/components/schemas/indices.modify_data_stream:IndexAndDataStreamAction" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "indices.modify_data_stream:IndexAndDataStreamAction": { + "type": "object", + "properties": { + "data_stream": { + "$ref": "#/components/schemas/_types:DataStreamName" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "required": [ + "data_stream", + "index" + ] + }, + "indices.put_index_template:IndexTemplateMapping": { + "type": "object", + "properties": { + "aliases": { + "description": "Aliases to add.\nIf the index template includes a `data_stream` object, these are data stream aliases.\nOtherwise, these are index aliases.\nData stream aliases ignore the `index_routing`, `routing`, and `search_routing` options.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "settings": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + }, + "lifecycle": { + "$ref": "#/components/schemas/indices._types:DataLifecycle" + } + } + }, + "indices._types:DataStreamVisibility": { + "type": "object", + "properties": { + "hidden": { + "type": "boolean" + } + } + }, + "indices.recovery:RecoveryStatus": { + "type": "object", + "properties": { + "shards": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.recovery:ShardRecovery" + } + } + }, + "required": [ + "shards" + ] + }, + "indices.recovery:ShardRecovery": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "index": { + "$ref": "#/components/schemas/indices.recovery:RecoveryIndexStatus" + }, + "primary": { + "type": "boolean" + }, + "source": { + "$ref": "#/components/schemas/indices.recovery:RecoveryOrigin" + }, + "stage": { + "type": "string" + }, + "start": { + "$ref": "#/components/schemas/indices.recovery:RecoveryStartStatus" + }, + "start_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "start_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "stop_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "stop_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "target": { + "$ref": "#/components/schemas/indices.recovery:RecoveryOrigin" + }, + "total_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "translog": { + "$ref": "#/components/schemas/indices.recovery:TranslogStatus" + }, + "type": { + "type": "string" + }, + "verify_index": { + "$ref": "#/components/schemas/indices.recovery:VerifyIndex" + } + }, + "required": [ + "id", + "index", + "primary", + "source", + "stage", + "start_time_in_millis", + "target", + "total_time_in_millis", + "translog", + "type", + "verify_index" + ] + }, + "indices.recovery:RecoveryIndexStatus": { + "type": "object", + "properties": { + "bytes": { + "$ref": "#/components/schemas/indices.recovery:RecoveryBytes" + }, + "files": { + "$ref": "#/components/schemas/indices.recovery:RecoveryFiles" + }, + "size": { + "$ref": "#/components/schemas/indices.recovery:RecoveryBytes" + }, + "source_throttle_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "source_throttle_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "target_throttle_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "target_throttle_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "files", + "size", + "source_throttle_time_in_millis", + "target_throttle_time_in_millis", + "total_time_in_millis" + ] + }, + "indices.recovery:RecoveryBytes": { + "type": "object", + "properties": { + "percent": { + "$ref": "#/components/schemas/_types:Percentage" + }, + "recovered": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "recovered_in_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "recovered_from_snapshot": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "recovered_from_snapshot_in_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "reused": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "reused_in_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "total": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "total_in_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + } + }, + "required": [ + "percent", + "recovered_in_bytes", + "reused_in_bytes", + "total_in_bytes" + ] + }, + "indices.recovery:RecoveryFiles": { + "type": "object", + "properties": { + "details": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.recovery:FileDetails" + } + }, + "percent": { + "$ref": "#/components/schemas/_types:Percentage" + }, + "recovered": { + "type": "number" + }, + "reused": { + "type": "number" + }, + "total": { + "type": "number" + } + }, + "required": [ + "percent", + "recovered", + "reused", + "total" + ] + }, + "indices.recovery:FileDetails": { + "type": "object", + "properties": { + "length": { + "type": "number" + }, + "name": { + "type": "string" + }, + "recovered": { + "type": "number" + } + }, + "required": [ + "length", + "name", + "recovered" + ] + }, + "indices.recovery:RecoveryOrigin": { + "type": "object", + "properties": { + "hostname": { + "type": "string" + }, + "host": { + "$ref": "#/components/schemas/_types:Host" + }, + "transport_address": { + "$ref": "#/components/schemas/_types:TransportAddress" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "ip": { + "$ref": "#/components/schemas/_types:Ip" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "bootstrap_new_history_uuid": { + "type": "boolean" + }, + "repository": { + "$ref": "#/components/schemas/_types:Name" + }, + "snapshot": { + "$ref": "#/components/schemas/_types:Name" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "restoreUUID": { + "$ref": "#/components/schemas/_types:Uuid" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + } + } + }, + "indices.recovery:RecoveryStartStatus": { + "type": "object", + "properties": { + "check_index_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "check_index_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "check_index_time_in_millis", + "total_time_in_millis" + ] + }, + "indices.recovery:TranslogStatus": { + "type": "object", + "properties": { + "percent": { + "$ref": "#/components/schemas/_types:Percentage" + }, + "recovered": { + "type": "number" + }, + "total": { + "type": "number" + }, + "total_on_start": { + "type": "number" + }, + "total_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "percent", + "recovered", + "total", + "total_on_start", + "total_time_in_millis" + ] + }, + "indices.recovery:VerifyIndex": { + "type": "object", + "properties": { + "check_index_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "check_index_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "check_index_time_in_millis", + "total_time_in_millis" + ] + }, + "indices.reload_search_analyzers:ReloadResult": { + "type": "object", + "properties": { + "reload_details": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.reload_search_analyzers:ReloadDetails" + } + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + } + }, + "required": [ + "reload_details", + "_shards" + ] + }, + "indices.reload_search_analyzers:ReloadDetails": { + "type": "object", + "properties": { + "index": { + "type": "string" + }, + "reloaded_analyzers": { + "type": "array", + "items": { + "type": "string" + } + }, + "reloaded_node_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "index", + "reloaded_analyzers", + "reloaded_node_ids" + ] + }, + "indices.resolve_index:ResolveIndexItem": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "aliases": { + "type": "array", + "items": { + "type": "string" + } + }, + "attributes": { + "type": "array", + "items": { + "type": "string" + } + }, + "data_stream": { + "$ref": "#/components/schemas/_types:DataStreamName" + } + }, + "required": [ + "name", + "attributes" + ] + }, + "indices.resolve_index:ResolveIndexAliasItem": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "indices": { + "$ref": "#/components/schemas/_types:Indices" + } + }, + "required": [ + "name", + "indices" + ] + }, + "indices.resolve_index:ResolveIndexDataStreamsItem": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:DataStreamName" + }, + "timestamp_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "backing_indices": { + "$ref": "#/components/schemas/_types:Indices" + } + }, + "required": [ + "name", + "timestamp_field", + "backing_indices" + ] + }, + "indices.segments:IndexSegment": { + "type": "object", + "properties": { + "shards": { + "type": "object", + "additionalProperties": { + "oneOf": [ + { + "$ref": "#/components/schemas/indices.segments:ShardsSegment" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.segments:ShardsSegment" + } + } + ] + } + } + }, + "required": [ + "shards" + ] + }, + "indices.segments:ShardsSegment": { + "type": "object", + "properties": { + "num_committed_segments": { + "type": "number" + }, + "routing": { + "$ref": "#/components/schemas/indices.segments:ShardSegmentRouting" + }, + "num_search_segments": { + "type": "number" + }, + "segments": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.segments:Segment" + } + } + }, + "required": [ + "num_committed_segments", + "routing", + "num_search_segments", + "segments" + ] + }, + "indices.segments:ShardSegmentRouting": { + "type": "object", + "properties": { + "node": { + "type": "string" + }, + "primary": { + "type": "boolean" + }, + "state": { + "type": "string" + } + }, + "required": [ + "node", + "primary", + "state" + ] + }, + "indices.segments:Segment": { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "committed": { + "type": "boolean" + }, + "compound": { + "type": "boolean" + }, + "deleted_docs": { + "type": "number" + }, + "generation": { + "type": "number" + }, + "search": { + "type": "boolean" + }, + "size_in_bytes": { + "type": "number" + }, + "num_docs": { + "type": "number" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "attributes", + "committed", + "compound", + "deleted_docs", + "generation", + "search", + "size_in_bytes", + "num_docs", + "version" + ] + }, + "indices.shard_stores:ShardStoreStatus": { + "type": "string", + "enum": [ + "green", + "yellow", + "red", + "all" + ] + }, + "indices.shard_stores:IndicesShardStores": { + "type": "object", + "properties": { + "shards": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.shard_stores:ShardStoreWrapper" + } + } + }, + "required": [ + "shards" + ] + }, + "indices.shard_stores:ShardStoreWrapper": { + "type": "object", + "properties": { + "stores": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.shard_stores:ShardStore" + } + } + }, + "required": [ + "stores" + ] + }, + "indices.shard_stores:ShardStore": { + "type": "object", + "properties": { + "allocation": { + "$ref": "#/components/schemas/indices.shard_stores:ShardStoreAllocation" + }, + "allocation_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "store_exception": { + "$ref": "#/components/schemas/indices.shard_stores:ShardStoreException" + } + }, + "required": [ + "allocation" + ] + }, + "indices.shard_stores:ShardStoreAllocation": { + "type": "string", + "enum": [ + "primary", + "replica", + "unused" + ] + }, + "indices.shard_stores:ShardStoreException": { + "type": "object", + "properties": { + "reason": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "reason", + "type" + ] + }, + "indices.simulate_template:Overlapping": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "index_patterns": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "name", + "index_patterns" + ] + }, + "indices.simulate_template:Template": { + "type": "object", + "properties": { + "aliases": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "settings": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + } + }, + "required": [ + "aliases", + "mappings", + "settings" + ] + }, + "indices.stats:IndicesStats": { + "type": "object", + "properties": { + "primaries": { + "$ref": "#/components/schemas/indices.stats:IndexStats" + }, + "shards": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.stats:ShardStats" + } + } + }, + "total": { + "$ref": "#/components/schemas/indices.stats:IndexStats" + }, + "uuid": { + "$ref": "#/components/schemas/_types:Uuid" + }, + "health": { + "$ref": "#/components/schemas/_types:HealthStatus" + }, + "status": { + "$ref": "#/components/schemas/indices.stats:IndexMetadataState" + } + } + }, + "indices.stats:IndexStats": { + "type": "object", + "properties": { + "completion": { + "$ref": "#/components/schemas/_types:CompletionStats" + }, + "docs": { + "$ref": "#/components/schemas/_types:DocStats" + }, + "fielddata": { + "$ref": "#/components/schemas/_types:FielddataStats" + }, + "flush": { + "$ref": "#/components/schemas/_types:FlushStats" + }, + "get": { + "$ref": "#/components/schemas/_types:GetStats" + }, + "indexing": { + "$ref": "#/components/schemas/_types:IndexingStats" + }, + "indices": { + "$ref": "#/components/schemas/indices.stats:IndicesStats" + }, + "merges": { + "$ref": "#/components/schemas/_types:MergesStats" + }, + "query_cache": { + "$ref": "#/components/schemas/_types:QueryCacheStats" + }, + "recovery": { + "$ref": "#/components/schemas/_types:RecoveryStats" + }, + "refresh": { + "$ref": "#/components/schemas/_types:RefreshStats" + }, + "request_cache": { + "$ref": "#/components/schemas/_types:RequestCacheStats" + }, + "search": { + "$ref": "#/components/schemas/_types:SearchStats" + }, + "segments": { + "$ref": "#/components/schemas/_types:SegmentsStats" + }, + "store": { + "$ref": "#/components/schemas/_types:StoreStats" + }, + "translog": { + "$ref": "#/components/schemas/_types:TranslogStats" + }, + "warmer": { + "$ref": "#/components/schemas/_types:WarmerStats" + }, + "bulk": { + "$ref": "#/components/schemas/_types:BulkStats" + }, + "shard_stats": { + "$ref": "#/components/schemas/indices.stats:ShardsTotalStats" + } + } + }, + "_types:FlushStats": { + "type": "object", + "properties": { + "periodic": { + "type": "number" + }, + "total": { + "type": "number" + }, + "total_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "periodic", + "total", + "total_time_in_millis" + ] + }, + "_types:GetStats": { + "type": "object", + "properties": { + "current": { + "type": "number" + }, + "exists_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "exists_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "exists_total": { + "type": "number" + }, + "missing_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "missing_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "missing_total": { + "type": "number" + }, + "time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total": { + "type": "number" + } + }, + "required": [ + "current", + "exists_time_in_millis", + "exists_total", + "missing_time_in_millis", + "missing_total", + "time_in_millis", + "total" + ] + }, + "_types:IndexingStats": { + "type": "object", + "properties": { + "index_current": { + "type": "number" + }, + "delete_current": { + "type": "number" + }, + "delete_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "delete_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "delete_total": { + "type": "number" + }, + "is_throttled": { + "type": "boolean" + }, + "noop_update_total": { + "type": "number" + }, + "throttle_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "throttle_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "index_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "index_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "index_total": { + "type": "number" + }, + "index_failed": { + "type": "number" + }, + "types": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:IndexingStats" + } + }, + "write_load": { + "type": "number" + } + }, + "required": [ + "index_current", + "delete_current", + "delete_time_in_millis", + "delete_total", + "is_throttled", + "noop_update_total", + "throttle_time_in_millis", + "index_time_in_millis", + "index_total", + "index_failed" + ] + }, + "_types:MergesStats": { + "type": "object", + "properties": { + "current": { + "type": "number" + }, + "current_docs": { + "type": "number" + }, + "current_size": { + "type": "string" + }, + "current_size_in_bytes": { + "type": "number" + }, + "total": { + "type": "number" + }, + "total_auto_throttle": { + "type": "string" + }, + "total_auto_throttle_in_bytes": { + "type": "number" + }, + "total_docs": { + "type": "number" + }, + "total_size": { + "type": "string" + }, + "total_size_in_bytes": { + "type": "number" + }, + "total_stopped_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_stopped_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total_throttled_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_throttled_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "current", + "current_docs", + "current_size_in_bytes", + "total", + "total_auto_throttle_in_bytes", + "total_docs", + "total_size_in_bytes", + "total_stopped_time_in_millis", + "total_throttled_time_in_millis", + "total_time_in_millis" + ] + }, + "_types:RecoveryStats": { + "type": "object", + "properties": { + "current_as_source": { + "type": "number" + }, + "current_as_target": { + "type": "number" + }, + "throttle_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "throttle_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "current_as_source", + "current_as_target", + "throttle_time_in_millis" + ] + }, + "_types:RefreshStats": { + "type": "object", + "properties": { + "external_total": { + "type": "number" + }, + "external_total_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "listeners": { + "type": "number" + }, + "total": { + "type": "number" + }, + "total_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "external_total", + "external_total_time_in_millis", + "listeners", + "total", + "total_time_in_millis" + ] + }, + "_types:RequestCacheStats": { + "type": "object", + "properties": { + "evictions": { + "type": "number" + }, + "hit_count": { + "type": "number" + }, + "memory_size": { + "type": "string" + }, + "memory_size_in_bytes": { + "type": "number" + }, + "miss_count": { + "type": "number" + } + }, + "required": [ + "evictions", + "hit_count", + "memory_size_in_bytes", + "miss_count" + ] + }, + "_types:SearchStats": { + "type": "object", + "properties": { + "fetch_current": { + "type": "number" + }, + "fetch_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "fetch_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "fetch_total": { + "type": "number" + }, + "open_contexts": { + "type": "number" + }, + "query_current": { + "type": "number" + }, + "query_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "query_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "query_total": { + "type": "number" + }, + "scroll_current": { + "type": "number" + }, + "scroll_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "scroll_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "scroll_total": { + "type": "number" + }, + "suggest_current": { + "type": "number" + }, + "suggest_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "suggest_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "suggest_total": { + "type": "number" + }, + "groups": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:SearchStats" + } + } + }, + "required": [ + "fetch_current", + "fetch_time_in_millis", + "fetch_total", + "query_current", + "query_time_in_millis", + "query_total", + "scroll_current", + "scroll_time_in_millis", + "scroll_total", + "suggest_current", + "suggest_time_in_millis", + "suggest_total" + ] + }, + "_types:TranslogStats": { + "type": "object", + "properties": { + "earliest_last_modified_age": { + "type": "number" + }, + "operations": { + "type": "number" + }, + "size": { + "type": "string" + }, + "size_in_bytes": { + "type": "number" + }, + "uncommitted_operations": { + "type": "number" + }, + "uncommitted_size": { + "type": "string" + }, + "uncommitted_size_in_bytes": { + "type": "number" + } + }, + "required": [ + "earliest_last_modified_age", + "operations", + "size_in_bytes", + "uncommitted_operations", + "uncommitted_size_in_bytes" + ] + }, + "_types:WarmerStats": { + "type": "object", + "properties": { + "current": { + "type": "number" + }, + "total": { + "type": "number" + }, + "total_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "current", + "total", + "total_time_in_millis" + ] + }, + "_types:BulkStats": { + "type": "object", + "properties": { + "total_operations": { + "type": "number" + }, + "total_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "total_size_in_bytes": { + "type": "number" + }, + "avg_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "avg_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "avg_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "avg_size_in_bytes": { + "type": "number" + } + }, + "required": [ + "total_operations", + "total_time_in_millis", + "total_size_in_bytes", + "avg_time_in_millis", + "avg_size_in_bytes" + ] + }, + "indices.stats:ShardsTotalStats": { + "type": "object", + "properties": { + "total_count": { + "type": "number" + } + }, + "required": [ + "total_count" + ] + }, + "indices.stats:ShardStats": { + "type": "object", + "properties": { + "commit": { + "$ref": "#/components/schemas/indices.stats:ShardCommit" + }, + "completion": { + "$ref": "#/components/schemas/_types:CompletionStats" + }, + "docs": { + "$ref": "#/components/schemas/_types:DocStats" + }, + "fielddata": { + "$ref": "#/components/schemas/_types:FielddataStats" + }, + "flush": { + "$ref": "#/components/schemas/_types:FlushStats" + }, + "get": { + "$ref": "#/components/schemas/_types:GetStats" + }, + "indexing": { + "$ref": "#/components/schemas/_types:IndexingStats" + }, + "mappings": { + "$ref": "#/components/schemas/indices.stats:MappingStats" + }, + "merges": { + "$ref": "#/components/schemas/_types:MergesStats" + }, + "shard_path": { + "$ref": "#/components/schemas/indices.stats:ShardPath" + }, + "query_cache": { + "$ref": "#/components/schemas/indices.stats:ShardQueryCache" + }, + "recovery": { + "$ref": "#/components/schemas/_types:RecoveryStats" + }, + "refresh": { + "$ref": "#/components/schemas/_types:RefreshStats" + }, + "request_cache": { + "$ref": "#/components/schemas/_types:RequestCacheStats" + }, + "retention_leases": { + "$ref": "#/components/schemas/indices.stats:ShardRetentionLeases" + }, + "routing": { + "$ref": "#/components/schemas/indices.stats:ShardRouting" + }, + "search": { + "$ref": "#/components/schemas/_types:SearchStats" + }, + "segments": { + "$ref": "#/components/schemas/_types:SegmentsStats" + }, + "seq_no": { + "$ref": "#/components/schemas/indices.stats:ShardSequenceNumber" + }, + "store": { + "$ref": "#/components/schemas/_types:StoreStats" + }, + "translog": { + "$ref": "#/components/schemas/_types:TranslogStats" + }, + "warmer": { + "$ref": "#/components/schemas/_types:WarmerStats" + }, + "bulk": { + "$ref": "#/components/schemas/_types:BulkStats" + }, + "shards": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "shard_stats": { + "$ref": "#/components/schemas/indices.stats:ShardsTotalStats" + }, + "indices": { + "$ref": "#/components/schemas/indices.stats:IndicesStats" + } + } + }, + "indices.stats:ShardCommit": { + "type": "object", + "properties": { + "generation": { + "type": "number" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "num_docs": { + "type": "number" + }, + "user_data": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "generation", + "id", + "num_docs", + "user_data" + ] + }, + "indices.stats:MappingStats": { + "type": "object", + "properties": { + "total_count": { + "type": "number" + }, + "total_estimated_overhead": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "total_estimated_overhead_in_bytes": { + "type": "number" + } + }, + "required": [ + "total_count", + "total_estimated_overhead_in_bytes" + ] + }, + "indices.stats:ShardPath": { + "type": "object", + "properties": { + "data_path": { + "type": "string" + }, + "is_custom_data_path": { + "type": "boolean" + }, + "state_path": { + "type": "string" + } + }, + "required": [ + "data_path", + "is_custom_data_path", + "state_path" + ] + }, + "indices.stats:ShardQueryCache": { + "type": "object", + "properties": { + "cache_count": { + "type": "number" + }, + "cache_size": { + "type": "number" + }, + "evictions": { + "type": "number" + }, + "hit_count": { + "type": "number" + }, + "memory_size_in_bytes": { + "type": "number" + }, + "miss_count": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "required": [ + "cache_count", + "cache_size", + "evictions", + "hit_count", + "memory_size_in_bytes", + "miss_count", + "total_count" + ] + }, + "indices.stats:ShardRetentionLeases": { + "type": "object", + "properties": { + "primary_term": { + "type": "number" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "leases": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.stats:ShardLease" + } + } + }, + "required": [ + "primary_term", + "version", + "leases" + ] + }, + "indices.stats:ShardLease": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "retaining_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "timestamp": { + "type": "number" + }, + "source": { + "type": "string" + } + }, + "required": [ + "id", + "retaining_seq_no", + "timestamp", + "source" + ] + }, + "indices.stats:ShardRouting": { + "type": "object", + "properties": { + "node": { + "type": "string" + }, + "primary": { + "type": "boolean" + }, + "relocating_node": { + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "state": { + "$ref": "#/components/schemas/indices.stats:ShardRoutingState" + } + }, + "required": [ + "node", + "primary", + "state" + ] + }, + "indices.stats:ShardRoutingState": { + "type": "string", + "enum": [ + "UNASSIGNED", + "INITIALIZING", + "STARTED", + "RELOCATING" + ] + }, + "indices.stats:ShardSequenceNumber": { + "type": "object", + "properties": { + "global_checkpoint": { + "type": "number" + }, + "local_checkpoint": { + "type": "number" + }, + "max_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + } + }, + "required": [ + "global_checkpoint", + "local_checkpoint", + "max_seq_no" + ] + }, + "indices.stats:IndexMetadataState": { + "type": "string", + "enum": [ + "open", + "close" + ] + }, + "indices.update_aliases:Action": { + "type": "object", + "properties": { + "add": { + "$ref": "#/components/schemas/indices.update_aliases:AddAction" + }, + "remove": { + "$ref": "#/components/schemas/indices.update_aliases:RemoveAction" + }, + "remove_index": { + "$ref": "#/components/schemas/indices.update_aliases:RemoveIndexAction" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "indices.update_aliases:AddAction": { + "type": "object", + "properties": { + "alias": { + "$ref": "#/components/schemas/_types:IndexAlias" + }, + "aliases": { + "description": "Aliases for the action.\nIndex alias names support date math.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:IndexAlias" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:IndexAlias" + } + } + ] + }, + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "index_routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "is_hidden": { + "description": "If `true`, the alias is hidden.", + "type": "boolean" + }, + "is_write_index": { + "description": "If `true`, sets the write index or data stream for the alias.", + "type": "boolean" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "search_routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "must_exist": { + "description": "If `true`, the alias must exist to perform the action.", + "type": "boolean" + } + } + }, + "indices.update_aliases:RemoveAction": { + "type": "object", + "properties": { + "alias": { + "$ref": "#/components/schemas/_types:IndexAlias" + }, + "aliases": { + "description": "Aliases for the action.\nIndex alias names support date math.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:IndexAlias" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:IndexAlias" + } + } + ] + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "must_exist": { + "description": "If `true`, the alias must exist to perform the action.", + "type": "boolean" + } + } + }, + "indices.update_aliases:RemoveIndexAction": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "must_exist": { + "description": "If `true`, the alias must exist to perform the action.", + "type": "boolean" + } + } + }, + "indices.validate_query:IndicesValidationExplanation": { + "type": "object", + "properties": { + "error": { + "type": "string" + }, + "explanation": { + "type": "string" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "valid": { + "type": "boolean" + } + }, + "required": [ + "index", + "valid" + ] + }, + "_types:ElasticsearchVersionInfo": { + "type": "object", + "properties": { + "build_date": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "build_flavor": { + "type": "string" + }, + "build_hash": { + "type": "string" + }, + "build_snapshot": { + "type": "boolean" + }, + "build_type": { + "type": "string" + }, + "lucene_version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "minimum_index_compatibility_version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "minimum_wire_compatibility_version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "number": { + "type": "string" + } + }, + "required": [ + "build_date", + "build_flavor", + "build_hash", + "build_snapshot", + "build_type", + "lucene_version", + "minimum_index_compatibility_version", + "minimum_wire_compatibility_version", + "number" + ] + }, + "ingest.geo_ip_stats:GeoIpDownloadStatistics": { + "type": "object", + "properties": { + "successful_downloads": { + "description": "Total number of successful database downloads.", + "type": "number" + }, + "failed_downloads": { + "description": "Total number of failed database downloads.", + "type": "number" + }, + "total_download_time": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "database_count": { + "description": "Current number of databases available for use.", + "type": "number" + }, + "skipped_updates": { + "description": "Total number of database updates skipped.", + "type": "number" + } + }, + "required": [ + "successful_downloads", + "failed_downloads", + "total_download_time", + "database_count", + "skipped_updates" + ] + }, + "ingest.geo_ip_stats:GeoIpNodeDatabases": { + "type": "object", + "properties": { + "databases": { + "description": "Downloaded databases for the node.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest.geo_ip_stats:GeoIpNodeDatabaseName" + } + }, + "files_in_temp": { + "description": "Downloaded database files, including related license files. Elasticsearch stores these files in the node’s temporary directory: $ES_TMPDIR/geoip-databases/.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "databases", + "files_in_temp" + ] + }, + "ingest.geo_ip_stats:GeoIpNodeDatabaseName": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "name" + ] + }, + "ingest._types:Pipeline": { + "type": "object", + "properties": { + "description": { + "description": "Description of the ingest pipeline.", + "type": "string" + }, + "on_failure": { + "description": "Processors to run immediately after a processor failure.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest._types:ProcessorContainer" + } + }, + "processors": { + "description": "Processors used to perform transformations on documents before indexing.\nProcessors run sequentially in the order specified.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest._types:ProcessorContainer" + } + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + } + } + }, + "ingest._types:ProcessorContainer": { + "type": "object", + "properties": { + "attachment": { + "$ref": "#/components/schemas/ingest._types:AttachmentProcessor" + }, + "append": { + "$ref": "#/components/schemas/ingest._types:AppendProcessor" + }, + "csv": { + "$ref": "#/components/schemas/ingest._types:CsvProcessor" + }, + "convert": { + "$ref": "#/components/schemas/ingest._types:ConvertProcessor" + }, + "date": { + "$ref": "#/components/schemas/ingest._types:DateProcessor" + }, + "date_index_name": { + "$ref": "#/components/schemas/ingest._types:DateIndexNameProcessor" + }, + "dot_expander": { + "$ref": "#/components/schemas/ingest._types:DotExpanderProcessor" + }, + "enrich": { + "$ref": "#/components/schemas/ingest._types:EnrichProcessor" + }, + "fail": { + "$ref": "#/components/schemas/ingest._types:FailProcessor" + }, + "foreach": { + "$ref": "#/components/schemas/ingest._types:ForeachProcessor" + }, + "json": { + "$ref": "#/components/schemas/ingest._types:JsonProcessor" + }, + "user_agent": { + "$ref": "#/components/schemas/ingest._types:UserAgentProcessor" + }, + "kv": { + "$ref": "#/components/schemas/ingest._types:KeyValueProcessor" + }, + "geoip": { + "$ref": "#/components/schemas/ingest._types:GeoIpProcessor" + }, + "grok": { + "$ref": "#/components/schemas/ingest._types:GrokProcessor" + }, + "gsub": { + "$ref": "#/components/schemas/ingest._types:GsubProcessor" + }, + "join": { + "$ref": "#/components/schemas/ingest._types:JoinProcessor" + }, + "lowercase": { + "$ref": "#/components/schemas/ingest._types:LowercaseProcessor" + }, + "remove": { + "$ref": "#/components/schemas/ingest._types:RemoveProcessor" + }, + "rename": { + "$ref": "#/components/schemas/ingest._types:RenameProcessor" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "set": { + "$ref": "#/components/schemas/ingest._types:SetProcessor" + }, + "sort": { + "$ref": "#/components/schemas/ingest._types:SortProcessor" + }, + "split": { + "$ref": "#/components/schemas/ingest._types:SplitProcessor" + }, + "trim": { + "$ref": "#/components/schemas/ingest._types:TrimProcessor" + }, + "uppercase": { + "$ref": "#/components/schemas/ingest._types:UppercaseProcessor" + }, + "urldecode": { + "$ref": "#/components/schemas/ingest._types:UrlDecodeProcessor" + }, + "bytes": { + "$ref": "#/components/schemas/ingest._types:BytesProcessor" + }, + "dissect": { + "$ref": "#/components/schemas/ingest._types:DissectProcessor" + }, + "set_security_user": { + "$ref": "#/components/schemas/ingest._types:SetSecurityUserProcessor" + }, + "pipeline": { + "$ref": "#/components/schemas/ingest._types:PipelineProcessor" + }, + "drop": { + "$ref": "#/components/schemas/ingest._types:DropProcessor" + }, + "circle": { + "$ref": "#/components/schemas/ingest._types:CircleProcessor" + }, + "inference": { + "$ref": "#/components/schemas/ingest._types:InferenceProcessor" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ingest._types:AttachmentProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and field does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "indexed_chars": { + "description": "The number of chars being used for extraction to prevent huge fields.\nUse `-1` for no limit.", + "type": "number" + }, + "indexed_chars_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "properties": { + "description": "Array of properties to select to be stored.\nCan be `content`, `title`, `name`, `author`, `keywords`, `date`, `content_type`, `content_length`, `language`.", + "type": "array", + "items": { + "type": "string" + } + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "resource_name": { + "description": "Field containing the name of the resource to decode.\nIf specified, the processor passes this resource name to the underlying Tika library to enable Resource Name Based Detection.", + "type": "string" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:ProcessorBase": { + "type": "object", + "properties": { + "description": { + "description": "Description of the processor.\nUseful for describing the purpose of the processor or its configuration.", + "type": "string" + }, + "if": { + "description": "Conditionally execute the processor.", + "type": "string" + }, + "ignore_failure": { + "description": "Ignore failures for the processor.", + "type": "boolean" + }, + "on_failure": { + "description": "Handle failures for the processor.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest._types:ProcessorContainer" + } + }, + "tag": { + "description": "Identifier for the processor.\nUseful for debugging and metrics.", + "type": "string" + } + } + }, + "ingest._types:AppendProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "value": { + "description": "The value to be appended. Supports template snippets.", + "type": "array", + "items": { + "type": "object" + } + }, + "allow_duplicates": { + "description": "If `false`, the processor does not append values already present in the field.", + "type": "boolean" + } + }, + "required": [ + "field", + "value" + ] + } + ] + }, + "ingest._types:CsvProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "empty_value": { + "description": "Value used to fill empty fields.\nEmpty fields are skipped if this is not provided.\nAn empty field is one with no value (2 consecutive separators) or empty quotes (`\"\"`).", + "type": "object" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "quote": { + "description": "Quote used in CSV, has to be single character string.", + "type": "string" + }, + "separator": { + "description": "Separator used in CSV, has to be single character string.", + "type": "string" + }, + "target_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "trim": { + "description": "Trim whitespaces in unquoted fields.", + "type": "boolean" + } + }, + "required": [ + "field", + "target_fields" + ] + } + ] + }, + "ingest._types:ConvertProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "type": { + "$ref": "#/components/schemas/ingest._types:ConvertType" + } + }, + "required": [ + "field", + "type" + ] + } + ] + }, + "ingest._types:ConvertType": { + "type": "string", + "enum": [ + "integer", + "long", + "float", + "double", + "string", + "boolean", + "auto" + ] + }, + "ingest._types:DateProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "formats": { + "description": "An array of the expected date formats.\nCan be a java time pattern or one of the following formats: ISO8601, UNIX, UNIX_MS, or TAI64N.", + "type": "array", + "items": { + "type": "string" + } + }, + "locale": { + "description": "The locale to use when parsing the date, relevant when parsing month names or week days.\nSupports template snippets.", + "type": "string" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "timezone": { + "description": "The timezone to use when parsing the date.\nSupports template snippets.", + "type": "string" + } + }, + "required": [ + "field", + "formats" + ] + } + ] + }, + "ingest._types:DateIndexNameProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "date_formats": { + "description": "An array of the expected date formats for parsing dates / timestamps in the document being preprocessed.\nCan be a java time pattern or one of the following formats: ISO8601, UNIX, UNIX_MS, or TAI64N.", + "type": "array", + "items": { + "type": "string" + } + }, + "date_rounding": { + "description": "How to round the date when formatting the date into the index name. Valid values are:\n`y` (year), `M` (month), `w` (week), `d` (day), `h` (hour), `m` (minute) and `s` (second).\nSupports template snippets.", + "type": "string" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "index_name_format": { + "description": "The format to be used when printing the parsed date into the index name.\nA valid java time pattern is expected here.\nSupports template snippets.", + "type": "string" + }, + "index_name_prefix": { + "description": "A prefix of the index name to be prepended before the printed date.\nSupports template snippets.", + "type": "string" + }, + "locale": { + "description": "The locale to use when parsing the date from the document being preprocessed, relevant when parsing month names or week days.", + "type": "string" + }, + "timezone": { + "description": "The timezone to use when parsing the date and when date math index supports resolves expressions into concrete index names.", + "type": "string" + } + }, + "required": [ + "date_formats", + "date_rounding", + "field" + ] + } + ] + }, + "ingest._types:DotExpanderProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "path": { + "description": "The field that contains the field to expand.\nOnly required if the field to expand is part another object field, because the `field` option can only understand leaf fields.", + "type": "string" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:EnrichProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "max_matches": { + "description": "The maximum number of matched documents to include under the configured target field.\nThe `target_field` will be turned into a json array if `max_matches` is higher than 1, otherwise `target_field` will become a json object.\nIn order to avoid documents getting too large, the maximum allowed value is 128.", + "type": "number" + }, + "override": { + "description": "If processor will update fields with pre-existing non-null-valued field.\nWhen set to `false`, such fields will not be touched.", + "type": "boolean" + }, + "policy_name": { + "description": "The name of the enrich policy to use.", + "type": "string" + }, + "shape_relation": { + "$ref": "#/components/schemas/_types:GeoShapeRelation" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field", + "policy_name", + "target_field" + ] + } + ] + }, + "_types:GeoShapeRelation": { + "type": "string", + "enum": [ + "intersects", + "disjoint", + "within", + "contains" + ] + }, + "ingest._types:FailProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "message": { + "description": "The error message thrown by the processor.\nSupports template snippets.", + "type": "string" + } + }, + "required": [ + "message" + ] + } + ] + }, + "ingest._types:ForeachProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true`, the processor silently exits without changing the document if the `field` is `null` or missing.", + "type": "boolean" + }, + "processor": { + "$ref": "#/components/schemas/ingest._types:ProcessorContainer" + } + }, + "required": [ + "field", + "processor" + ] + } + ] + }, + "ingest._types:JsonProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "add_to_root": { + "description": "Flag that forces the parsed JSON to be added at the top level of the document.\n`target_field` must not be set when this option is chosen.", + "type": "boolean" + }, + "add_to_root_conflict_strategy": { + "$ref": "#/components/schemas/ingest._types:JsonProcessorConflictStrategy" + }, + "allow_duplicate_keys": { + "description": "When set to `true`, the JSON parser will not fail if the JSON contains duplicate keys.\nInstead, the last encountered value for any duplicate key wins.", + "type": "boolean" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:JsonProcessorConflictStrategy": { + "type": "string", + "enum": [ + "replace", + "merge" + ] + }, + "ingest._types:UserAgentProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "options": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest._types:UserAgentProperty" + } + }, + "regex_file": { + "description": "The name of the file in the `config/ingest-user-agent` directory containing the regular expressions for parsing the user agent string. Both the directory and the file have to be created before starting Elasticsearch. If not specified, ingest-user-agent will use the `regexes.yaml` from uap-core it ships with.", + "type": "string" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:UserAgentProperty": { + "type": "string", + "enum": [ + "NAME", + "MAJOR", + "MINOR", + "PATCH", + "OS", + "OS_NAME", + "OS_MAJOR", + "OS_MINOR", + "DEVICE", + "BUILD" + ] + }, + "ingest._types:KeyValueProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "exclude_keys": { + "description": "List of keys to exclude from document.", + "type": "array", + "items": { + "type": "string" + } + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "field_split": { + "description": "Regex pattern to use for splitting key-value pairs.", + "type": "string" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "include_keys": { + "description": "List of keys to filter and insert into document.\nDefaults to including all keys.", + "type": "array", + "items": { + "type": "string" + } + }, + "prefix": { + "description": "Prefix to be added to extracted keys.", + "type": "string" + }, + "strip_brackets": { + "description": "If `true`. strip brackets `()`, `<>`, `[]` as well as quotes `'` and `\"` from extracted values.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "trim_key": { + "description": "String of characters to trim from extracted keys.", + "type": "string" + }, + "trim_value": { + "description": "String of characters to trim from extracted values.", + "type": "string" + }, + "value_split": { + "description": "Regex pattern to use for splitting the key from the value within a key-value pair.", + "type": "string" + } + }, + "required": [ + "field", + "field_split", + "value_split" + ] + } + ] + }, + "ingest._types:GeoIpProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "database_file": { + "description": "The database filename referring to a database the module ships with (GeoLite2-City.mmdb, GeoLite2-Country.mmdb, or GeoLite2-ASN.mmdb) or a custom database in the ingest-geoip config directory.", + "type": "string" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "first_only": { + "description": "If `true`, only the first found geoip data will be returned, even if the field contains an array.", + "type": "boolean" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "properties": { + "description": "Controls what properties are added to the `target_field` based on the geoip lookup.", + "type": "array", + "items": { + "type": "string" + } + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:GrokProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "pattern_definitions": { + "description": "A map of pattern-name and pattern tuples defining custom patterns to be used by the current processor.\nPatterns matching existing names will override the pre-existing definition.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "patterns": { + "description": "An ordered list of grok expression to match and extract named captures with.\nReturns on the first expression in the list that matches.", + "type": "array", + "items": { + "type": "string" + } + }, + "trace_match": { + "description": "When `true`, `_ingest._grok_match_index` will be inserted into your matched document’s metadata with the index into the pattern found in `patterns` that matched.", + "type": "boolean" + } + }, + "required": [ + "field", + "patterns" + ] + } + ] + }, + "ingest._types:GsubProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "pattern": { + "description": "The pattern to be replaced.", + "type": "string" + }, + "replacement": { + "description": "The string to replace the matching patterns with.", + "type": "string" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field", + "pattern", + "replacement" + ] + } + ] + }, + "ingest._types:JoinProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "separator": { + "description": "The separator character.", + "type": "string" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field", + "separator" + ] + } + ] + }, + "ingest._types:LowercaseProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:RemoveProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Fields" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:RenameProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field", + "target_field" + ] + } + ] + }, + "ingest._types:SetProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "copy_from": { + "$ref": "#/components/schemas/_types:Field" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_empty_value": { + "description": "If `true` and `value` is a template snippet that evaluates to `null` or the empty string, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "media_type": { + "description": "The media type for encoding `value`.\nApplies only when value is a template snippet.\nMust be one of `application/json`, `text/plain`, or `application/x-www-form-urlencoded`.", + "type": "string" + }, + "override": { + "description": "If `true` processor will update fields with pre-existing non-null-valued field.\nWhen set to `false`, such fields will not be touched.", + "type": "boolean" + }, + "value": { + "description": "The value to be set for the field.\nSupports template snippets.\nMay specify only one of `value` or `copy_from`.", + "type": "object" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:SortProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "order": { + "$ref": "#/components/schemas/_types:SortOrder" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:SplitProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "preserve_trailing": { + "description": "Preserves empty trailing fields, if any.", + "type": "boolean" + }, + "separator": { + "description": "A regex which matches the separator, for example, `,` or `\\s+`.", + "type": "string" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field", + "separator" + ] + } + ] + }, + "ingest._types:TrimProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:UppercaseProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:UrlDecodeProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignre_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:BytesProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:DissectProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "append_separator": { + "description": "The character(s) that separate the appended fields.", + "type": "string" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "pattern": { + "description": "The pattern to apply to the field.", + "type": "string" + } + }, + "required": [ + "field", + "pattern" + ] + } + ] + }, + "ingest._types:SetSecurityUserProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "properties": { + "description": "Controls what user related properties are added to the field.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:PipelineProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "ignore_missing_pipeline": { + "description": "Whether to ignore missing pipelines instead of failing.", + "type": "boolean" + } + }, + "required": [ + "name" + ] + } + ] + }, + "ingest._types:DropProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object" + } + ] + }, + "ingest._types:CircleProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "error_distance": { + "description": "The difference between the resulting inscribed distance from center to side and the circle’s radius (measured in meters for `geo_shape`, unit-less for `shape`).", + "type": "number" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "shape_type": { + "$ref": "#/components/schemas/ingest._types:ShapeType" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "error_distance", + "field", + "shape_type" + ] + } + ] + }, + "ingest._types:ShapeType": { + "type": "string", + "enum": [ + "geo_shape", + "shape" + ] + }, + "ingest._types:InferenceProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "model_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "field_map": { + "description": "Maps the document field names to the known field names of the model.\nThis mapping takes precedence over any default mappings provided in the model configuration.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "inference_config": { + "$ref": "#/components/schemas/ingest._types:InferenceConfig" + } + }, + "required": [ + "model_id" + ] + } + ] + }, + "ingest._types:InferenceConfig": { + "type": "object", + "properties": { + "regression": { + "$ref": "#/components/schemas/ingest._types:InferenceConfigRegression" + }, + "classification": { + "$ref": "#/components/schemas/ingest._types:InferenceConfigClassification" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ingest._types:InferenceConfigRegression": { + "type": "object", + "properties": { + "results_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "num_top_feature_importance_values": { + "description": "Specifies the maximum number of feature importance values per document.", + "type": "number" + } + } + }, + "ingest._types:InferenceConfigClassification": { + "type": "object", + "properties": { + "num_top_classes": { + "description": "Specifies the number of top class predictions to return.", + "type": "number" + }, + "num_top_feature_importance_values": { + "description": "Specifies the maximum number of feature importance values per document.", + "type": "number" + }, + "results_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "top_classes_results_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "prediction_field_type": { + "description": "Specifies the type of the predicted field to write.\nValid values are: `string`, `number`, `boolean`.", + "type": "string" + } + } + }, + "ingest.simulate:Document": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "_source": { + "description": "JSON body for the document.", + "type": "object" + } + }, + "required": [ + "_source" + ] + }, + "ingest.simulate:PipelineSimulation": { + "type": "object", + "properties": { + "doc": { + "$ref": "#/components/schemas/ingest.simulate:DocumentSimulation" + }, + "processor_results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest.simulate:PipelineSimulation" + } + }, + "tag": { + "type": "string" + }, + "processor_type": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/watcher._types:ActionStatusOptions" + } + } + }, + "ingest.simulate:DocumentSimulation": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "_ingest": { + "$ref": "#/components/schemas/ingest.simulate:Ingest" + }, + "_routing": { + "description": "Value used to send the document to a specific primary shard.", + "type": "string" + }, + "_source": { + "description": "JSON body for the document.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "_version": { + "$ref": "#/components/schemas/_spec_utils:StringifiedVersionNumber" + }, + "_version_type": { + "$ref": "#/components/schemas/_types:VersionType" + } + }, + "required": [ + "_id", + "_index", + "_ingest", + "_source" + ] + }, + "ingest.simulate:Ingest": { + "type": "object", + "properties": { + "timestamp": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "pipeline": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "timestamp" + ] + }, + "_spec_utils:StringifiedVersionNumber": { + "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + { + "type": "string" + } + ] + }, + "watcher._types:ActionStatusOptions": { + "type": "string", + "enum": [ + "success", + "failure", + "simulated", + "throttled" + ] + }, + "_global.knn_search._types:Query": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "query_vector": { + "$ref": "#/components/schemas/_types:QueryVector" + }, + "k": { + "description": "The final number of nearest neighbors to return as top hits", + "type": "number" + }, + "num_candidates": { + "description": "The number of nearest neighbor candidates to consider per shard", + "type": "number" + } + }, + "required": [ + "field", + "query_vector", + "k", + "num_candidates" + ] + }, + "license.get:LicenseInformation": { + "type": "object", + "properties": { + "expiry_date": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "expiry_date_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "issue_date": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "issue_date_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "issued_to": { + "type": "string" + }, + "issuer": { + "type": "string" + }, + "max_nodes": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "max_resource_units": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "status": { + "$ref": "#/components/schemas/license._types:LicenseStatus" + }, + "type": { + "$ref": "#/components/schemas/license._types:LicenseType" + }, + "uid": { + "$ref": "#/components/schemas/_types:Uuid" + }, + "start_date_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + } + }, + "required": [ + "issue_date", + "issue_date_in_millis", + "issued_to", + "issuer", + "max_nodes", + "status", + "type", + "uid", + "start_date_in_millis" + ] + }, + "license._types:LicenseStatus": { + "type": "string", + "enum": [ + "active", + "valid", + "invalid", + "expired" + ] + }, + "license._types:LicenseType": { + "type": "string", + "enum": [ + "missing", + "trial", + "basic", + "standard", + "dev", + "silver", + "gold", + "platinum", + "enterprise" + ] + }, + "license._types:License": { + "type": "object", + "properties": { + "expiry_date_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "issue_date_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "start_date_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "issued_to": { + "type": "string" + }, + "issuer": { + "type": "string" + }, + "max_nodes": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "max_resource_units": { + "type": "number" + }, + "signature": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/license._types:LicenseType" + }, + "uid": { + "type": "string" + } + }, + "required": [ + "expiry_date_in_millis", + "issue_date_in_millis", + "issued_to", + "issuer", + "signature", + "type", + "uid" + ] + }, + "license.post:Acknowledgement": { + "type": "object", + "properties": { + "license": { + "type": "array", + "items": { + "type": "string" + } + }, + "message": { + "type": "string" + } + }, + "required": [ + "license", + "message" + ] + }, + "logstash._types:Pipeline": { + "type": "object", + "properties": { + "description": { + "description": "Description of the pipeline.\nThis description is not used by Elasticsearch or Logstash.", + "type": "string" + }, + "last_modified": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "pipeline_metadata": { + "$ref": "#/components/schemas/logstash._types:PipelineMetadata" + }, + "username": { + "description": "User who last updated the pipeline.", + "type": "string" + }, + "pipeline": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/logstash/{branch}/configuration-file-structure.html" + }, + "description": "Configuration for the pipeline.", + "type": "string" + }, + "pipeline_settings": { + "$ref": "#/components/schemas/logstash._types:PipelineSettings" + } + }, + "required": [ + "description", + "last_modified", + "pipeline_metadata", + "username", + "pipeline", + "pipeline_settings" + ] + }, + "logstash._types:PipelineMetadata": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "type", + "version" + ] + }, + "logstash._types:PipelineSettings": { + "type": "object", + "properties": { + "pipeline.workers": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/logstash/{branch}/logstash-settings-file.html" + }, + "description": "The number of workers that will, in parallel, execute the filter and output stages of the pipeline.", + "type": "number" + }, + "pipeline.batch.size": { + "description": "The maximum number of events an individual worker thread will collect from inputs before attempting to execute its filters and outputs.", + "type": "number" + }, + "pipeline.batch.delay": { + "description": "When creating pipeline event batches, how long in milliseconds to wait for each event before dispatching an undersized batch to pipeline workers.", + "type": "number" + }, + "queue.type": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/logstash/{branch}/logstash-settings-file.html" + }, + "description": "The internal queuing model to use for event buffering.", + "type": "string" + }, + "queue.max_bytes.number": { + "description": "The total capacity of the queue (`queue.type: persisted`) in number of bytes.", + "type": "number" + }, + "queue.max_bytes.units": { + "description": "The total capacity of the queue (`queue.type: persisted`) in terms of units of bytes.", + "type": "string" + }, + "queue.checkpoint.writes": { + "description": "The maximum number of written events before forcing a checkpoint when persistent queues are enabled (`queue.type: persisted`).", + "type": "number" + } + }, + "required": [ + "pipeline.workers", + "pipeline.batch.size", + "pipeline.batch.delay", + "queue.type", + "queue.max_bytes.number", + "queue.max_bytes.units", + "queue.checkpoint.writes" + ] + }, + "_global.mget:Operation": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "stored_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "version_type": { + "$ref": "#/components/schemas/_types:VersionType" + } + }, + "required": [ + "_id" + ] + }, + "_global.mget:ResponseItem": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.get:GetResult" + }, + { + "$ref": "#/components/schemas/_global.mget:MultiGetError" + } + ] + }, + "_global.mget:MultiGetError": { + "type": "object", + "properties": { + "error": { + "$ref": "#/components/schemas/_types:ErrorCause" + }, + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "required": [ + "error", + "_id", + "_index" + ] + }, + "migration.deprecations:Deprecation": { + "type": "object", + "properties": { + "details": { + "type": "string" + }, + "level": { + "$ref": "#/components/schemas/migration.deprecations:DeprecationLevel" + }, + "message": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "details", + "level", + "message", + "url" + ] + }, + "migration.deprecations:DeprecationLevel": { + "type": "string", + "enum": [ + "none", + "info", + "warning", + "critical" + ] + }, + "migration.get_feature_upgrade_status:MigrationFeature": { + "type": "object", + "properties": { + "feature_name": { + "type": "string" + }, + "minimum_index_version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "migration_status": { + "$ref": "#/components/schemas/migration.get_feature_upgrade_status:MigrationStatus" + }, + "indices": { + "type": "array", + "items": { + "$ref": "#/components/schemas/migration.get_feature_upgrade_status:MigrationFeatureIndexInfo" + } + } + }, + "required": [ + "feature_name", + "minimum_index_version", + "migration_status", + "indices" + ] + }, + "migration.get_feature_upgrade_status:MigrationStatus": { + "type": "string", + "enum": [ + "NO_MIGRATION_NEEDED", + "MIGRATION_NEEDED", + "IN_PROGRESS", + "ERROR" + ] + }, + "migration.get_feature_upgrade_status:MigrationFeatureIndexInfo": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "failure_cause": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + }, + "required": [ + "index", + "version" + ] + }, + "migration.post_feature_upgrade:MigrationFeature": { + "type": "object", + "properties": { + "feature_name": { + "type": "string" + } + }, + "required": [ + "feature_name" + ] + }, + "ml._types:AnalysisConfig": { + "type": "object", + "properties": { + "bucket_span": { + "$ref": "#/components/schemas/_types:Duration" + }, + "categorization_analyzer": { + "$ref": "#/components/schemas/ml._types:CategorizationAnalyzer" + }, + "categorization_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "categorization_filters": { + "description": "If `categorization_field_name` is specified, you can also define optional filters. This property expects an array of regular expressions. The expressions are used to filter out matching sequences from the categorization field values. You can use this functionality to fine tune the categorization by excluding sequences from consideration when categories are defined. For example, you can exclude SQL statements that appear in your log files. This property cannot be used at the same time as `categorization_analyzer`. If you only want to define simple regular expression filters that are applied prior to tokenization, setting this property is the easiest method. If you also want to customize the tokenizer or post-tokenization filtering, use the `categorization_analyzer` property instead and include the filters as pattern_replace character filters. The effect is exactly the same.", + "type": "array", + "items": { + "type": "string" + } + }, + "detectors": { + "description": "Detector configuration objects specify which data fields a job analyzes. They also specify which analytical functions are used. You can specify multiple detectors for a job. If the detectors array does not contain at least one detector, no analysis can occur and an error is returned.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Detector" + } + }, + "influencers": { + "description": "A comma separated list of influencer field names. Typically these can be the by, over, or partition fields that are used in the detector configuration. You might also want to use a field name that is not specifically named in a detector, but is available as part of the input data. When you use multiple detectors, the use of influencers is recommended as it aggregates results for each influencer entity.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "latency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "model_prune_window": { + "$ref": "#/components/schemas/_types:Duration" + }, + "multivariate_by_fields": { + "description": "This functionality is reserved for internal use. It is not supported for use in customer environments and is not subject to the support SLA of official GA features. If set to `true`, the analysis will automatically find correlations between metrics for a given by field value and report anomalies when those correlations cease to hold. For example, suppose CPU and memory usage on host A is usually highly correlated with the same metrics on host B. Perhaps this correlation occurs because they are running a load-balanced application. If you enable this property, anomalies will be reported when, for example, CPU usage on host A is high and the value of CPU usage on host B is low. That is to say, you’ll see an anomaly when the CPU of host A is unusual given the CPU of host B. To use the `multivariate_by_fields` property, you must also specify `by_field_name` in your detector.", + "type": "boolean" + }, + "per_partition_categorization": { + "$ref": "#/components/schemas/ml._types:PerPartitionCategorization" + }, + "summary_count_field_name": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "detectors" + ] + }, + "ml._types:CategorizationAnalyzer": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/ml._types:CategorizationAnalyzerDefinition" + } + ] + }, + "ml._types:CategorizationAnalyzerDefinition": { + "type": "object", + "properties": { + "char_filter": { + "description": "One or more character filters. In addition to the built-in character filters, other plugins can provide more character filters. If this property is not specified, no character filters are applied prior to categorization. If you are customizing some other aspect of the analyzer and you need to achieve the equivalent of `categorization_filters` (which are not permitted when some other aspect of the analyzer is customized), add them here as pattern replace character filters.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.analysis:CharFilter" + } + }, + "filter": { + "description": "One or more token filters. In addition to the built-in token filters, other plugins can provide more token filters. If this property is not specified, no token filters are applied prior to categorization.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.analysis:TokenFilter" + } + }, + "tokenizer": { + "$ref": "#/components/schemas/_types.analysis:Tokenizer" + } + } + }, + "ml._types:Detector": { + "type": "object", + "properties": { + "by_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "custom_rules": { + "description": "Custom rules enable you to customize the way detectors operate. For example, a rule may dictate conditions under which results should be skipped. Kibana refers to custom rules as job rules.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DetectionRule" + } + }, + "detector_description": { + "description": "A description of the detector.", + "type": "string" + }, + "detector_index": { + "description": "A unique identifier for the detector. This identifier is based on the order of the detectors in the `analysis_config`, starting at zero. If you specify a value for this property, it is ignored.", + "type": "number" + }, + "exclude_frequent": { + "$ref": "#/components/schemas/ml._types:ExcludeFrequent" + }, + "field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "function": { + "description": "The analysis function that is used. For example, `count`, `rare`, `mean`, `min`, `max`, or `sum`.", + "type": "string" + }, + "over_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "partition_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "use_null": { + "description": "Defines whether a new series is used as the null series when there is no value for the by or partition fields.", + "type": "boolean" + } + } + }, + "ml._types:DetectionRule": { + "type": "object", + "properties": { + "actions": { + "description": "The set of actions to be triggered when the rule applies. If more than one action is specified the effects of all actions are combined.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:RuleAction" + } + }, + "conditions": { + "description": "An array of numeric conditions when the rule applies. A rule must either have a non-empty scope or at least one condition. Multiple conditions are combined together with a logical AND.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:RuleCondition" + } + }, + "scope": { + "description": "A scope of series where the rule applies. A rule must either have a non-empty scope or at least one condition. By default, the scope includes all series. Scoping is allowed for any of the fields that are also specified in `by_field_name`, `over_field_name`, or `partition_field_name`.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ml._types:FilterRef" + } + } + } + }, + "ml._types:RuleAction": { + "type": "string", + "enum": [ + "skip_result", + "skip_model_update" + ] + }, + "ml._types:RuleCondition": { + "type": "object", + "properties": { + "applies_to": { + "$ref": "#/components/schemas/ml._types:AppliesTo" + }, + "operator": { + "$ref": "#/components/schemas/ml._types:ConditionOperator" + }, + "value": { + "description": "The value that is compared against the `applies_to` field using the operator.", + "type": "number" + } + }, + "required": [ + "applies_to", + "operator", + "value" + ] + }, + "ml._types:AppliesTo": { + "type": "string", + "enum": [ + "actual", + "typical", + "diff_from_typical", + "time" + ] + }, + "ml._types:ConditionOperator": { + "type": "string", + "enum": [ + "gt", + "gte", + "lt", + "lte" + ] + }, + "ml._types:FilterRef": { + "type": "object", + "properties": { + "filter_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "filter_type": { + "$ref": "#/components/schemas/ml._types:FilterType" + } + }, + "required": [ + "filter_id" + ] + }, + "ml._types:FilterType": { + "type": "string", + "enum": [ + "include", + "exclude" + ] + }, + "ml._types:ExcludeFrequent": { + "type": "string", + "enum": [ + "all", + "none", + "by", + "over" + ] + }, + "ml._types:PerPartitionCategorization": { + "type": "object", + "properties": { + "enabled": { + "description": "To enable this setting, you must also set the `partition_field_name` property to the same value in every detector that uses the keyword `mlcategory`. Otherwise, job creation fails.", + "type": "boolean" + }, + "stop_on_warn": { + "description": "This setting can be set to true only if per-partition categorization is enabled. If true, both categorization and subsequent anomaly detection stops for partitions where the categorization status changes to warn. This setting makes it viable to have a job where it is expected that categorization works well for some partitions but not others; you do not pay the cost of bad categorization forever in the partitions where it works badly.", + "type": "boolean" + } + } + }, + "ml._types:DataframeEvaluationContainer": { + "type": "object", + "properties": { + "classification": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationClassification" + }, + "outlier_detection": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationOutlierDetection" + }, + "regression": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationRegression" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ml._types:DataframeEvaluationClassification": { + "type": "object", + "properties": { + "actual_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "predicted_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "top_classes_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "metrics": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationClassificationMetrics" + } + }, + "required": [ + "actual_field" + ] + }, + "ml._types:DataframeEvaluationClassificationMetrics": { + "allOf": [ + { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationMetrics" + }, + { + "type": "object", + "properties": { + "accuracy": { + "description": "Accuracy of predictions (per-class and overall).", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "multiclass_confusion_matrix": { + "description": "Multiclass confusion matrix.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } + ] + }, + "ml._types:DataframeEvaluationMetrics": { + "type": "object", + "properties": { + "auc_roc": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationClassificationMetricsAucRoc" + }, + "precision": { + "description": "Precision of predictions (per-class and average).", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "recall": { + "description": "Recall of predictions (per-class and average).", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "ml._types:DataframeEvaluationClassificationMetricsAucRoc": { + "type": "object", + "properties": { + "class_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "include_curve": { + "description": "Whether or not the curve should be returned in addition to the score. Default value is false.", + "type": "boolean" + } + } + }, + "ml._types:DataframeEvaluationOutlierDetection": { + "type": "object", + "properties": { + "actual_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "predicted_probability_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "metrics": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationOutlierDetectionMetrics" + } + }, + "required": [ + "actual_field", + "predicted_probability_field" + ] + }, + "ml._types:DataframeEvaluationOutlierDetectionMetrics": { + "allOf": [ + { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationMetrics" + }, + { + "type": "object", + "properties": { + "confusion_matrix": { + "description": "Accuracy of predictions (per-class and overall).", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } + ] + }, + "ml._types:DataframeEvaluationRegression": { + "type": "object", + "properties": { + "actual_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "predicted_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "metrics": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationRegressionMetrics" + } + }, + "required": [ + "actual_field", + "predicted_field" + ] + }, + "ml._types:DataframeEvaluationRegressionMetrics": { + "type": "object", + "properties": { + "mse": { + "externalDocs": { + "url": "https://en.wikipedia.org/wiki/Mean_squared_error" + }, + "description": "Average squared difference between the predicted values and the actual (ground truth) value. For more information, read this wiki article.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "msle": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationRegressionMetricsMsle" + }, + "huber": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationRegressionMetricsHuber" + }, + "r_squared": { + "externalDocs": { + "url": "https://en.wikipedia.org/wiki/Coefficient_of_determination" + }, + "description": "Proportion of the variance in the dependent variable that is predictable from the independent variables.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "ml._types:DataframeEvaluationRegressionMetricsMsle": { + "type": "object", + "properties": { + "offset": { + "description": "Defines the transition point at which you switch from minimizing quadratic error to minimizing quadratic log error. Defaults to 1.", + "type": "number" + } + } + }, + "ml._types:DataframeEvaluationRegressionMetricsHuber": { + "type": "object", + "properties": { + "delta": { + "description": "Approximates 1/2 (prediction - actual)2 for values much less than delta and approximates a straight line with slope delta for values much larger than delta. Defaults to 1. Delta needs to be greater than 0.", + "type": "number" + } + } + }, + "ml.evaluate_data_frame:DataframeClassificationSummary": { + "type": "object", + "properties": { + "auc_roc": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationSummaryAucRoc" + }, + "accuracy": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummaryAccuracy" + }, + "multiclass_confusion_matrix": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummaryMulticlassConfusionMatrix" + }, + "precision": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummaryPrecision" + }, + "recall": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummaryRecall" + } + } + }, + "ml.evaluate_data_frame:DataframeEvaluationSummaryAucRoc": { + "allOf": [ + { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" + }, + { + "type": "object", + "properties": { + "curve": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationSummaryAucRocCurveItem" + } + } + } + } + ] + }, + "ml.evaluate_data_frame:DataframeEvaluationSummaryAucRocCurveItem": { + "type": "object", + "properties": { + "tpr": { + "type": "number" + }, + "fpr": { + "type": "number" + }, + "threshold": { + "type": "number" + } + }, + "required": [ + "tpr", + "fpr", + "threshold" + ] + }, + "ml.evaluate_data_frame:DataframeEvaluationValue": { + "type": "object", + "properties": { + "value": { + "type": "number" + } + }, + "required": [ + "value" + ] + }, + "ml.evaluate_data_frame:DataframeClassificationSummaryAccuracy": { + "type": "object", + "properties": { + "classes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationClass" + } + }, + "overall_accuracy": { + "type": "number" + } + }, + "required": [ + "classes", + "overall_accuracy" + ] + }, + "ml.evaluate_data_frame:DataframeEvaluationClass": { + "allOf": [ + { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" + }, + { + "type": "object", + "properties": { + "class_name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "class_name" + ] + } + ] + }, + "ml.evaluate_data_frame:DataframeClassificationSummaryMulticlassConfusionMatrix": { + "type": "object", + "properties": { + "confusion_matrix": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:ConfusionMatrixItem" + } + }, + "other_actual_class_count": { + "type": "number" + } + }, + "required": [ + "confusion_matrix", + "other_actual_class_count" + ] + }, + "ml.evaluate_data_frame:ConfusionMatrixItem": { + "type": "object", + "properties": { + "actual_class": { + "$ref": "#/components/schemas/_types:Name" + }, + "actual_class_doc_count": { + "type": "number" + }, + "predicted_classes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:ConfusionMatrixPrediction" + } + }, + "other_predicted_class_doc_count": { + "type": "number" + } + }, + "required": [ + "actual_class", + "actual_class_doc_count", + "predicted_classes", + "other_predicted_class_doc_count" + ] + }, + "ml.evaluate_data_frame:ConfusionMatrixPrediction": { + "type": "object", + "properties": { + "predicted_class": { + "$ref": "#/components/schemas/_types:Name" + }, + "count": { + "type": "number" + } + }, + "required": [ + "predicted_class", + "count" + ] + }, + "ml.evaluate_data_frame:DataframeClassificationSummaryPrecision": { + "type": "object", + "properties": { + "classes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationClass" + } + }, + "avg_precision": { + "type": "number" + } + }, + "required": [ + "classes", + "avg_precision" + ] + }, + "ml.evaluate_data_frame:DataframeClassificationSummaryRecall": { + "type": "object", + "properties": { + "classes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationClass" + } + }, + "avg_recall": { + "type": "number" + } + }, + "required": [ + "classes", + "avg_recall" + ] + }, + "ml.evaluate_data_frame:DataframeOutlierDetectionSummary": { + "type": "object", + "properties": { + "auc_roc": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationSummaryAucRoc" + }, + "precision": { + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "recall": { + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "confusion_matrix": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:ConfusionMatrixThreshold" + } + } + } + }, + "ml.evaluate_data_frame:ConfusionMatrixThreshold": { + "type": "object", + "properties": { + "tp": { + "description": "True Positive", + "type": "number" + }, + "fp": { + "description": "False Positive", + "type": "number" + }, + "tn": { + "description": "True Negative", + "type": "number" + }, + "fn": { + "description": "False Negative", + "type": "number" + } + }, + "required": [ + "tp", + "fp", + "tn", + "fn" + ] + }, + "ml.evaluate_data_frame:DataframeRegressionSummary": { + "type": "object", + "properties": { + "huber": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" + }, + "mse": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" + }, + "msle": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" + }, + "r_squared": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" + } + } + }, + "ml._types:DataframeAnalyticsSource": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:Indices" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "_source": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" + } + }, + "required": [ + "index" + ] + }, + "ml._types:DataframeAnalysisAnalyzedFields": { + "type": "object", + "properties": { + "includes": { + "description": "An array of strings that defines the fields that will be excluded from the analysis. You do not need to add fields with unsupported data types to excludes, these fields are excluded from the analysis automatically.", + "type": "array", + "items": { + "type": "string" + } + }, + "excludes": { + "description": "An array of strings that defines the fields that will be included in the analysis.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "includes", + "excludes" + ] + }, + "ml._types:DataframeAnalyticsDestination": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "results_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "index" + ] + }, + "ml._types:DataframeAnalysisContainer": { + "type": "object", + "properties": { + "classification": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisClassification" + }, + "outlier_detection": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisOutlierDetection" + }, + "regression": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisRegression" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ml._types:DataframeAnalysisClassification": { + "allOf": [ + { + "$ref": "#/components/schemas/ml._types:DataframeAnalysis" + }, + { + "type": "object", + "properties": { + "class_assignment_objective": { + "type": "string" + }, + "num_top_classes": { + "description": "Defines the number of categories for which the predicted probabilities are reported. It must be non-negative or -1. If it is -1 or greater than the total number of categories, probabilities are reported for all categories; if you have a large number of categories, there could be a significant effect on the size of your destination index. NOTE: To use the AUC ROC evaluation method, `num_top_classes` must be set to -1 or a value greater than or equal to the total number of categories.", + "type": "number" + } + } + } + ] + }, + "ml._types:DataframeAnalysis": { + "type": "object", + "properties": { + "alpha": { + "description": "Advanced configuration option. Machine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly. This parameter affects loss calculations by acting as a multiplier of the tree depth. Higher alpha values result in shallower trees and faster training times. By default, this value is calculated during hyperparameter optimization. It must be greater than or equal to zero.", + "type": "number" + }, + "dependent_variable": { + "description": "Defines which field of the document is to be predicted. It must match one of the fields in the index being used to train. If this field is missing from a document, then that document will not be used for training, but a prediction with the trained model will be generated for it. It is also known as continuous target variable.\nFor classification analysis, the data type of the field must be numeric (`integer`, `short`, `long`, `byte`), categorical (`ip` or `keyword`), or `boolean`. There must be no more than 30 different values in this field.\nFor regression analysis, the data type of the field must be numeric.", + "type": "string" + }, + "downsample_factor": { + "description": "Advanced configuration option. Controls the fraction of data that is used to compute the derivatives of the loss function for tree training. A small value results in the use of a small fraction of the data. If this value is set to be less than 1, accuracy typically improves. However, too small a value may result in poor convergence for the ensemble and so require more trees. By default, this value is calculated during hyperparameter optimization. It must be greater than zero and less than or equal to 1.", + "type": "number" + }, + "early_stopping_enabled": { + "description": "Advanced configuration option. Specifies whether the training process should finish if it is not finding any better performing models. If disabled, the training process can take significantly longer and the chance of finding a better performing model is unremarkable.", + "type": "boolean" + }, + "eta": { + "description": "Advanced configuration option. The shrinkage applied to the weights. Smaller values result in larger forests which have a better generalization error. However, larger forests cause slower training. By default, this value is calculated during hyperparameter optimization. It must be a value between 0.001 and 1.", + "type": "number" + }, + "eta_growth_rate_per_tree": { + "description": "Advanced configuration option. Specifies the rate at which `eta` increases for each new tree that is added to the forest. For example, a rate of 1.05 increases `eta` by 5% for each extra tree. By default, this value is calculated during hyperparameter optimization. It must be between 0.5 and 2.", + "type": "number" + }, + "feature_bag_fraction": { + "description": "Advanced configuration option. Defines the fraction of features that will be used when selecting a random bag for each candidate split. By default, this value is calculated during hyperparameter optimization.", + "type": "number" + }, + "feature_processors": { + "description": "Advanced configuration option. A collection of feature preprocessors that modify one or more included fields. The analysis uses the resulting one or more features instead of the original document field. However, these features are ephemeral; they are not stored in the destination index. Multiple `feature_processors` entries can refer to the same document fields. Automatic categorical feature encoding still occurs for the fields that are unprocessed by a custom processor or that have categorical values. Use this property only if you want to override the automatic feature encoding of the specified fields.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessor" + } + }, + "gamma": { + "description": "Advanced configuration option. Regularization parameter to prevent overfitting on the training data set. Multiplies a linear penalty associated with the size of individual trees in the forest. A high gamma value causes training to prefer small trees. A small gamma value results in larger individual trees and slower training. By default, this value is calculated during hyperparameter optimization. It must be a nonnegative value.", + "type": "number" + }, + "lambda": { + "description": "Advanced configuration option. Regularization parameter to prevent overfitting on the training data set. Multiplies an L2 regularization term which applies to leaf weights of the individual trees in the forest. A high lambda value causes training to favor small leaf weights. This behavior makes the prediction function smoother at the expense of potentially not being able to capture relevant relationships between the features and the dependent variable. A small lambda value results in large individual trees and slower training. By default, this value is calculated during hyperparameter optimization. It must be a nonnegative value.", + "type": "number" + }, + "max_optimization_rounds_per_hyperparameter": { + "description": "Advanced configuration option. A multiplier responsible for determining the maximum number of hyperparameter optimization steps in the Bayesian optimization procedure. The maximum number of steps is determined based on the number of undefined hyperparameters times the maximum optimization rounds per hyperparameter. By default, this value is calculated during hyperparameter optimization.", + "type": "number" + }, + "max_trees": { + "description": "Advanced configuration option. Defines the maximum number of decision trees in the forest. The maximum value is 2000. By default, this value is calculated during hyperparameter optimization.", + "type": "number" + }, + "num_top_feature_importance_values": { + "description": "Advanced configuration option. Specifies the maximum number of feature importance values per document to return. By default, no feature importance calculation occurs.", + "type": "number" + }, + "prediction_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "randomize_seed": { + "description": "Defines the seed for the random generator that is used to pick training data. By default, it is randomly generated. Set it to a specific value to use the same training data each time you start a job (assuming other related parameters such as `source` and `analyzed_fields` are the same).", + "type": "number" + }, + "soft_tree_depth_limit": { + "description": "Advanced configuration option. Machine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly. This soft limit combines with the `soft_tree_depth_tolerance` to penalize trees that exceed the specified depth; the regularized loss increases quickly beyond this depth. By default, this value is calculated during hyperparameter optimization. It must be greater than or equal to 0.", + "type": "number" + }, + "soft_tree_depth_tolerance": { + "description": "Advanced configuration option. This option controls how quickly the regularized loss increases when the tree depth exceeds `soft_tree_depth_limit`. By default, this value is calculated during hyperparameter optimization. It must be greater than or equal to 0.01.", + "type": "number" + }, + "training_percent": { + "$ref": "#/components/schemas/_types:Percentage" + } + }, + "required": [ + "dependent_variable" + ] + }, + "ml._types:DataframeAnalysisFeatureProcessor": { + "type": "object", + "properties": { + "frequency_encoding": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorFrequencyEncoding" + }, + "multi_encoding": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorMultiEncoding" + }, + "n_gram_encoding": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorNGramEncoding" + }, + "one_hot_encoding": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorOneHotEncoding" + }, + "target_mean_encoding": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorTargetMeanEncoding" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ml._types:DataframeAnalysisFeatureProcessorFrequencyEncoding": { + "type": "object", + "properties": { + "feature_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "frequency_map": { + "description": "The resulting frequency map for the field value. If the field value is missing from the frequency_map, the resulting value is 0.", + "type": "object", + "additionalProperties": { + "type": "number" + } + } + }, + "required": [ + "feature_name", + "field", + "frequency_map" + ] + }, + "ml._types:DataframeAnalysisFeatureProcessorMultiEncoding": { + "type": "object", + "properties": { + "processors": { + "description": "The ordered array of custom processors to execute. Must be more than 1.", + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "processors" + ] + }, + "ml._types:DataframeAnalysisFeatureProcessorNGramEncoding": { + "type": "object", + "properties": { + "feature_prefix": { + "description": "The feature name prefix. Defaults to ngram__.", + "type": "string" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "length": { + "description": "Specifies the length of the n-gram substring. Defaults to 50. Must be greater than 0.", + "type": "number" + }, + "n_grams": { + "description": "Specifies which n-grams to gather. It’s an array of integer values where the minimum value is 1, and a maximum value is 5.", + "type": "array", + "items": { + "type": "number" + } + }, + "start": { + "description": "Specifies the zero-indexed start of the n-gram substring. Negative values are allowed for encoding n-grams of string suffixes. Defaults to 0.", + "type": "number" + }, + "custom": { + "type": "boolean" + } + }, + "required": [ + "field", + "n_grams" + ] + }, + "ml._types:DataframeAnalysisFeatureProcessorOneHotEncoding": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "hot_map": { + "description": "The one hot map mapping the field value with the column name.", + "type": "string" + } + }, + "required": [ + "field", + "hot_map" + ] + }, + "ml._types:DataframeAnalysisFeatureProcessorTargetMeanEncoding": { + "type": "object", + "properties": { + "default_value": { + "description": "The default value if field value is not found in the target_map.", + "type": "number" + }, + "feature_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "target_map": { + "description": "The field value to target mean transition map.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "required": [ + "default_value", + "feature_name", + "field", + "target_map" + ] + }, + "ml._types:DataframeAnalysisOutlierDetection": { + "type": "object", + "properties": { + "compute_feature_influence": { + "description": "Specifies whether the feature influence calculation is enabled.", + "type": "boolean" + }, + "feature_influence_threshold": { + "description": "The minimum outlier score that a document needs to have in order to calculate its feature influence score. Value range: 0-1.", + "type": "number" + }, + "method": { + "description": "The method that outlier detection uses. Available methods are `lof`, `ldof`, `distance_kth_nn`, `distance_knn`, and `ensemble`. The default value is ensemble, which means that outlier detection uses an ensemble of different methods and normalises and combines their individual outlier scores to obtain the overall outlier score.", + "type": "string" + }, + "n_neighbors": { + "description": "Defines the value for how many nearest neighbors each method of outlier detection uses to calculate its outlier score. When the value is not set, different values are used for different ensemble members. This default behavior helps improve the diversity in the ensemble; only override it if you are confident that the value you choose is appropriate for the data set.", + "type": "number" + }, + "outlier_fraction": { + "description": "The proportion of the data set that is assumed to be outlying prior to outlier detection. For example, 0.05 means it is assumed that 5% of values are real outliers and 95% are inliers.", + "type": "number" + }, + "standardization_enabled": { + "description": "If true, the following operation is performed on the columns before computing outlier scores: `(x_i - mean(x_i)) / sd(x_i)`.", + "type": "boolean" + } + } + }, + "ml._types:DataframeAnalysisRegression": { + "allOf": [ + { + "$ref": "#/components/schemas/ml._types:DataframeAnalysis" + }, + { + "type": "object", + "properties": { + "loss_function": { + "description": "The loss function used during regression. Available options are `mse` (mean squared error), `msle` (mean squared logarithmic error), `huber` (Pseudo-Huber loss).", + "type": "string" + }, + "loss_function_parameter": { + "description": "A positive number that is used as a parameter to the `loss_function`.", + "type": "number" + } + } + } + ] + }, + "ml._types:DataframeAnalyticsFieldSelection": { + "type": "object", + "properties": { + "is_included": { + "description": "Whether the field is selected to be included in the analysis.", + "type": "boolean" + }, + "is_required": { + "description": "Whether the field is required.", + "type": "boolean" + }, + "feature_type": { + "description": "The feature type of this field for the analysis. May be categorical or numerical.", + "type": "string" + }, + "mapping_types": { + "description": "The mapping types of the field.", + "type": "array", + "items": { + "type": "string" + } + }, + "name": { + "$ref": "#/components/schemas/_types:Field" + }, + "reason": { + "description": "The reason a field is not selected to be included in the analysis.", + "type": "string" + } + }, + "required": [ + "is_included", + "is_required", + "mapping_types", + "name" + ] + }, + "ml._types:DataframeAnalyticsMemoryEstimation": { + "type": "object", + "properties": { + "expected_memory_with_disk": { + "description": "Estimated memory usage under the assumption that overflowing to disk is allowed during data frame analytics. expected_memory_with_disk is usually smaller than expected_memory_without_disk as using disk allows to limit the main memory needed to perform data frame analytics.", + "type": "string" + }, + "expected_memory_without_disk": { + "description": "Estimated memory usage under the assumption that the whole data frame analytics should happen in memory (i.e. without overflowing to disk).", + "type": "string" + } + }, + "required": [ + "expected_memory_with_disk", + "expected_memory_without_disk" + ] + }, + "ml._types:Page": { + "type": "object", + "properties": { + "from": { + "description": "Skips the specified number of items.", + "type": "number" + }, + "size": { + "description": "Specifies the maximum number of items to obtain.", + "type": "number" + } + } + }, + "ml._types:BucketSummary": { + "type": "object", + "properties": { + "anomaly_score": { + "description": "The maximum anomaly score, between 0-100, for any of the bucket influencers. This is an overall, rate-limited\nscore for the job. All the anomaly records in the bucket contribute to this score. This value might be updated as\nnew data is analyzed.", + "type": "number" + }, + "bucket_influencers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:BucketInfluencer" + } + }, + "bucket_span": { + "$ref": "#/components/schemas/_types:DurationValueUnitSeconds" + }, + "event_count": { + "description": "The number of input data records processed in this bucket.", + "type": "number" + }, + "initial_anomaly_score": { + "description": "The maximum anomaly score for any of the bucket influencers. This is the initial value that was calculated at the\ntime the bucket was processed.", + "type": "number" + }, + "is_interim": { + "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", + "type": "boolean" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "processing_time_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "result_type": { + "description": "Internal. This value is always set to bucket.", + "type": "string" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "timestamp_string": { + "$ref": "#/components/schemas/_types:DateTime" + } + }, + "required": [ + "anomaly_score", + "bucket_influencers", + "bucket_span", + "event_count", + "initial_anomaly_score", + "is_interim", + "job_id", + "processing_time_ms", + "result_type", + "timestamp" + ] + }, + "ml._types:BucketInfluencer": { + "type": "object", + "properties": { + "anomaly_score": { + "description": "A normalized score between 0-100, which is calculated for each bucket influencer. This score might be updated as\nnewer data is analyzed.", + "type": "number" + }, + "bucket_span": { + "$ref": "#/components/schemas/_types:DurationValueUnitSeconds" + }, + "influencer_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "initial_anomaly_score": { + "description": "The score between 0-100 for each bucket influencer. This score is the initial value that was calculated at the\ntime the bucket was processed.", + "type": "number" + }, + "is_interim": { + "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", + "type": "boolean" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "probability": { + "description": "The probability that the bucket has this behavior, in the range 0 to 1. This value can be held to a high precision\nof over 300 decimal places, so the `anomaly_score` is provided as a human-readable and friendly interpretation of\nthis.", + "type": "number" + }, + "raw_anomaly_score": { + "description": "Internal.", + "type": "number" + }, + "result_type": { + "description": "Internal. This value is always set to `bucket_influencer`.", + "type": "string" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "timestamp_string": { + "$ref": "#/components/schemas/_types:DateTime" + } + }, + "required": [ + "anomaly_score", + "bucket_span", + "influencer_field_name", + "initial_anomaly_score", + "is_interim", + "job_id", + "probability", + "raw_anomaly_score", + "result_type", + "timestamp" + ] + }, + "_types:DurationValueUnitSeconds": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:UnitSeconds" + } + ] + }, + "ml._types:CalendarEvent": { + "type": "object", + "properties": { + "calendar_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "event_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "description": { + "description": "A description of the scheduled event.", + "type": "string" + }, + "end_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "start_time": { + "$ref": "#/components/schemas/_types:DateTime" + } + }, + "required": [ + "description", + "end_time", + "start_time" + ] + }, + "ml.get_calendars:Calendar": { + "type": "object", + "properties": { + "calendar_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "description": { + "description": "A description of the calendar.", + "type": "string" + }, + "job_ids": { + "description": "An array of anomaly detection job identifiers.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } + } + }, + "required": [ + "calendar_id", + "job_ids" + ] + }, + "_types:CategoryId": { + "type": "string" + }, + "ml._types:Category": { + "type": "object", + "properties": { + "category_id": { + "$ref": "#/components/schemas/_types:ulong" + }, + "examples": { + "description": "A list of examples of actual values that matched the category.", + "type": "array", + "items": { + "type": "string" + } + }, + "grok_pattern": { + "description": "[experimental] A Grok pattern that could be used in Logstash or an ingest pipeline to extract fields from messages that match the category. This field is experimental and may be changed or removed in a future release. The Grok patterns that are found are not optimal, but are often a good starting point for manual tweaking.", + "type": "string" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max_matching_length": { + "$ref": "#/components/schemas/_types:ulong" + }, + "partition_field_name": { + "description": "If per-partition categorization is enabled, this property identifies the field used to segment the categorization. It is not present when per-partition categorization is disabled.", + "type": "string" + }, + "partition_field_value": { + "description": "If per-partition categorization is enabled, this property identifies the value of the partition_field_name for the category. It is not present when per-partition categorization is disabled.", + "type": "string" + }, + "regex": { + "description": "A regular expression that is used to search for values that match the category.", + "type": "string" + }, + "terms": { + "description": "A space separated list of the common tokens that are matched in values of the category.", + "type": "string" + }, + "num_matches": { + "description": "The number of messages that have been matched by this category. This is only guaranteed to have the latest accurate count after a job _flush or _close", + "type": "number" + }, + "preferred_to_categories": { + "description": "A list of category_id entries that this current category encompasses. Any new message that is processed by the categorizer will match against this category and not any of the categories in this list. This is only guaranteed to have the latest accurate list of categories after a job _flush or _close", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "p": { + "type": "string" + }, + "result_type": { + "type": "string" + }, + "mlcategory": { + "type": "string" + } + }, + "required": [ + "category_id", + "examples", + "job_id", + "max_matching_length", + "regex", + "terms", + "result_type", + "mlcategory" + ] + }, + "ml._types:DataframeAnalyticsSummary": { + "type": "object", + "properties": { + "allow_lazy_start": { + "type": "boolean" + }, + "analysis": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" + }, + "analyzed_fields": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" + }, + "authorization": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsAuthorization" + }, + "create_time": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "description": { + "type": "string" + }, + "dest": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsDestination" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max_num_threads": { + "type": "number" + }, + "model_memory_limit": { + "type": "string" + }, + "source": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "analysis", + "dest", + "id", + "source" + ] + }, + "ml._types:DataframeAnalyticsAuthorization": { + "type": "object", + "properties": { + "api_key": { + "$ref": "#/components/schemas/ml._types:ApiKeyAuthorization" + }, + "roles": { + "description": "If a user ID was used for the most recent update to the job, its roles at the time of the update are listed in the response.", + "type": "array", + "items": { + "type": "string" + } + }, + "service_account": { + "description": "If a service account was used for the most recent update to the job, the account name is listed in the response.", + "type": "string" + } + } + }, + "ml._types:ApiKeyAuthorization": { + "type": "object", + "properties": { + "id": { + "description": "The identifier for the API key.", + "type": "string" + }, + "name": { + "description": "The name of the API key.", + "type": "string" + } + }, + "required": [ + "id", + "name" + ] + }, + "ml._types:DataframeAnalytics": { + "type": "object", + "properties": { + "analysis_stats": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsContainer" + }, + "assignment_explanation": { + "description": "For running jobs only, contains messages relating to the selection of a node to run the job.", + "type": "string" + }, + "data_counts": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsDataCounts" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "memory_usage": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsMemoryUsage" + }, + "node": { + "$ref": "#/components/schemas/_types:NodeAttributes" + }, + "progress": { + "description": "The progress report of the data frame analytics job by phase.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsProgress" + } + }, + "state": { + "$ref": "#/components/schemas/ml._types:DataframeState" + } + }, + "required": [ + "data_counts", + "id", + "memory_usage", + "progress", + "state" + ] + }, + "ml._types:DataframeAnalyticsStatsContainer": { + "type": "object", + "properties": { + "classification_stats": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsHyperparameters" + }, + "outlier_detection_stats": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsOutlierDetection" + }, + "regression_stats": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsHyperparameters" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ml._types:DataframeAnalyticsStatsHyperparameters": { + "type": "object", + "properties": { + "hyperparameters": { + "$ref": "#/components/schemas/ml._types:Hyperparameters" + }, + "iteration": { + "description": "The number of iterations on the analysis.", + "type": "number" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "timing_stats": { + "$ref": "#/components/schemas/ml._types:TimingStats" + }, + "validation_loss": { + "$ref": "#/components/schemas/ml._types:ValidationLoss" + } + }, + "required": [ + "hyperparameters", + "iteration", + "timestamp", + "timing_stats", + "validation_loss" + ] + }, + "ml._types:Hyperparameters": { + "type": "object", + "properties": { + "alpha": { + "type": "number" + }, + "lambda": { + "type": "number" + }, + "gamma": { + "type": "number" + }, + "eta": { + "type": "number" + }, + "eta_growth_rate_per_tree": { + "type": "number" + }, + "feature_bag_fraction": { + "type": "number" + }, + "downsample_factor": { + "type": "number" + }, + "max_attempts_to_add_tree": { + "type": "number" + }, + "max_optimization_rounds_per_hyperparameter": { + "type": "number" + }, + "max_trees": { + "type": "number" + }, + "num_folds": { + "type": "number" + }, + "num_splits_per_feature": { + "type": "number" + }, + "soft_tree_depth_limit": { + "type": "number" + }, + "soft_tree_depth_tolerance": { + "type": "number" + } + } + }, + "ml._types:TimingStats": { + "type": "object", + "properties": { + "elapsed_time": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "iteration_time": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "elapsed_time" + ] + }, + "ml._types:ValidationLoss": { + "type": "object", + "properties": { + "fold_values": { + "description": "Validation loss values for every added decision tree during the forest growing procedure.", + "type": "array", + "items": { + "type": "string" + } + }, + "loss_type": { + "description": "The type of the loss metric. For example, binomial_logistic.", + "type": "string" + } + }, + "required": [ + "fold_values", + "loss_type" + ] + }, + "ml._types:DataframeAnalyticsStatsOutlierDetection": { + "type": "object", + "properties": { + "parameters": { + "$ref": "#/components/schemas/ml._types:OutlierDetectionParameters" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "timing_stats": { + "$ref": "#/components/schemas/ml._types:TimingStats" + } + }, + "required": [ + "parameters", + "timestamp", + "timing_stats" + ] + }, + "ml._types:OutlierDetectionParameters": { + "type": "object", + "properties": { + "compute_feature_influence": { + "type": "boolean" + }, + "feature_influence_threshold": { + "type": "number" + }, + "method": { + "type": "string" + }, + "n_neighbors": { + "type": "number" + }, + "outlier_fraction": { + "type": "number" + }, + "standardization_enabled": { + "type": "boolean" + } + } + }, + "ml._types:DataframeAnalyticsStatsDataCounts": { + "type": "object", + "properties": { + "skipped_docs_count": { + "description": "The number of documents that are skipped during the analysis because they contained values that are not supported by the analysis. For example, outlier detection does not support missing fields so it skips documents with missing fields. Likewise, all types of analysis skip documents that contain arrays with more than one element.", + "type": "number" + }, + "test_docs_count": { + "description": "The number of documents that are not used for training the model and can be used for testing.", + "type": "number" + }, + "training_docs_count": { + "description": "The number of documents that are used for training the model.", + "type": "number" + } + }, + "required": [ + "skipped_docs_count", + "test_docs_count", + "training_docs_count" + ] + }, + "ml._types:DataframeAnalyticsStatsMemoryUsage": { + "type": "object", + "properties": { + "memory_reestimate_bytes": { + "description": "This value is present when the status is hard_limit and it is a new estimate of how much memory the job needs.", + "type": "number" + }, + "peak_usage_bytes": { + "description": "The number of bytes used at the highest peak of memory usage.", + "type": "number" + }, + "status": { + "description": "The memory usage status.", + "type": "string" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + } + }, + "required": [ + "peak_usage_bytes", + "status" + ] + }, + "_types:NodeAttributes": { + "type": "object", + "properties": { + "attributes": { + "description": "Lists node attributes.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "ephemeral_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "id": { + "$ref": "#/components/schemas/_types:NodeId" + }, + "name": { + "$ref": "#/components/schemas/_types:NodeName" + }, + "transport_address": { + "$ref": "#/components/schemas/_types:TransportAddress" + }, + "roles": { + "$ref": "#/components/schemas/_types:NodeRoles" + }, + "external_id": { + "type": "string" + } + }, + "required": [ + "attributes", + "ephemeral_id", + "name", + "transport_address" + ] + }, + "_types:NodeRoles": { + "description": "* @doc_id node-roles", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:NodeRole" + } + }, + "_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" + ] + }, + "ml._types:DataframeAnalyticsStatsProgress": { + "type": "object", + "properties": { + "phase": { + "description": "Defines the phase of the data frame analytics job.", + "type": "string" + }, + "progress_percent": { + "description": "The progress that the data frame analytics job has made expressed in percentage.", + "type": "number" + } + }, + "required": [ + "phase", + "progress_percent" + ] + }, + "ml._types:DataframeState": { + "type": "string", + "enum": [ + "started", + "stopped", + "starting", + "stopping", + "failed" + ] + }, + "ml._types:DatafeedStats": { + "type": "object", + "properties": { + "assignment_explanation": { + "type": "string" + }, + "datafeed_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "node": { + "$ref": "#/components/schemas/ml._types:DiscoveryNode" + }, + "state": { + "$ref": "#/components/schemas/ml._types:DatafeedState" + }, + "timing_stats": { + "$ref": "#/components/schemas/ml._types:DatafeedTimingStats" + }, + "running_state": { + "$ref": "#/components/schemas/ml._types:DatafeedRunningState" + } + }, + "required": [ + "datafeed_id", + "state", + "timing_stats" + ] + }, + "ml._types:DiscoveryNode": { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "ephemeral_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "transport_address": { + "$ref": "#/components/schemas/_types:TransportAddress" + } + }, + "required": [ + "attributes", + "ephemeral_id", + "id", + "name", + "transport_address" + ] + }, + "ml._types:DatafeedTimingStats": { + "type": "object", + "properties": { + "bucket_count": { + "type": "number" + }, + "exponential_average_search_time_per_hour_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "search_count": { + "type": "number" + }, + "total_search_time_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + }, + "average_search_time_per_bucket_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + } + }, + "required": [ + "bucket_count", + "exponential_average_search_time_per_hour_ms", + "job_id", + "search_count", + "total_search_time_ms" + ] + }, + "_types:DurationValueUnitFloatMillis": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:UnitFloatMillis" + } + ] + }, + "_types:UnitFloatMillis": { + "description": "Time unit for fractional milliseconds", + "type": "number" + }, + "ml._types:DatafeedRunningState": { + "type": "object", + "properties": { + "real_time_configured": { + "type": "boolean" + }, + "real_time_running": { + "type": "boolean" + }, + "search_interval": { + "$ref": "#/components/schemas/ml._types:RunningStateSearchInterval" + } + }, + "required": [ + "real_time_configured", + "real_time_running" + ] + }, + "ml._types:RunningStateSearchInterval": { + "type": "object", + "properties": { + "end": { + "$ref": "#/components/schemas/_types:Duration" + }, + "end_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "start": { + "$ref": "#/components/schemas/_types:Duration" + }, + "start_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "end_ms", + "start_ms" + ] + }, + "ml._types:Datafeed": { + "type": "object", + "properties": { + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "authorization": { + "$ref": "#/components/schemas/ml._types:DatafeedAuthorization" + }, + "chunking_config": { + "$ref": "#/components/schemas/ml._types:ChunkingConfig" + }, + "datafeed_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "indices": { + "type": "array", + "items": { + "type": "string" + } + }, + "indexes": { + "type": "array", + "items": { + "type": "string" + } + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max_empty_searches": { + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "query_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "script_fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "scroll_size": { + "type": "number" + }, + "delayed_data_check_config": { + "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "indices_options": { + "$ref": "#/components/schemas/_types:IndicesOptions" + } + }, + "required": [ + "datafeed_id", + "indices", + "job_id", + "query", + "delayed_data_check_config" + ] + }, + "ml._types:DatafeedAuthorization": { + "type": "object", + "properties": { + "api_key": { + "$ref": "#/components/schemas/ml._types:ApiKeyAuthorization" + }, + "roles": { + "description": "If a user ID was used for the most recent update to the datafeed, its roles at the time of the update are listed in the response.", + "type": "array", + "items": { + "type": "string" + } + }, + "service_account": { + "description": "If a service account was used for the most recent update to the datafeed, the account name is listed in the response.", + "type": "string" + } + } + }, + "ml._types:ChunkingConfig": { + "type": "object", + "properties": { + "mode": { + "$ref": "#/components/schemas/ml._types:ChunkingMode" + }, + "time_span": { + "$ref": "#/components/schemas/_types:Duration" + } + }, + "required": [ + "mode" + ] + }, + "ml._types:ChunkingMode": { + "type": "string", + "enum": [ + "auto", + "manual", + "off" + ] + }, + "ml._types:DelayedDataCheckConfig": { + "type": "object", + "properties": { + "check_window": { + "$ref": "#/components/schemas/_types:Duration" + }, + "enabled": { + "description": "Specifies whether the datafeed periodically checks for delayed data.", + "type": "boolean" + } + }, + "required": [ + "enabled" + ] + }, + "_types:IndicesOptions": { + "type": "object", + "properties": { + "allow_no_indices": { + "description": "If false, the request returns an error if any wildcard expression, index alias, or `_all` value targets only\nmissing or closed indices. This behavior applies even if the request targets other open indices. For example,\na request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", + "type": "boolean" + }, + "expand_wildcards": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "ignore_unavailable": { + "description": "If true, missing or closed indices are not included in the response.", + "type": "boolean" + }, + "ignore_throttled": { + "description": "If true, concrete, expanded or aliased indices are ignored when frozen.", + "type": "boolean" + } + } + }, + "ml._types:Filter": { + "type": "object", + "properties": { + "description": { + "description": "A description of the filter.", + "type": "string" + }, + "filter_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "items": { + "description": "An array of strings which is the filter item list.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "filter_id", + "items" + ] + }, + "ml._types:Influencer": { + "type": "object", + "properties": { + "bucket_span": { + "$ref": "#/components/schemas/_types:DurationValueUnitSeconds" + }, + "influencer_score": { + "description": "A normalized score between 0-100, which is based on the probability of the influencer in this bucket aggregated\nacross detectors. Unlike `initial_influencer_score`, this value is updated by a re-normalization process as new\ndata is analyzed.", + "type": "number" + }, + "influencer_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "influencer_field_value": { + "description": "The entity that influenced, contributed to, or was to blame for the anomaly.", + "type": "string" + }, + "initial_influencer_score": { + "description": "A normalized score between 0-100, which is based on the probability of the influencer aggregated across detectors.\nThis is the initial value that was calculated at the time the bucket was processed.", + "type": "number" + }, + "is_interim": { + "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", + "type": "boolean" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "probability": { + "description": "The probability that the influencer has this behavior, in the range 0 to 1. This value can be held to a high\nprecision of over 300 decimal places, so the `influencer_score` is provided as a human-readable and friendly\ninterpretation of this value.", + "type": "number" + }, + "result_type": { + "description": "Internal. This value is always set to `influencer`.", + "type": "string" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "foo": { + "description": "Additional influencer properties are added, depending on the fields being analyzed. For example, if it’s\nanalyzing `user_name` as an influencer, a field `user_name` is added to the result document. This\ninformation enables you to filter the anomaly results more easily.", + "type": "string" + } + }, + "required": [ + "bucket_span", + "influencer_score", + "influencer_field_name", + "influencer_field_value", + "initial_influencer_score", + "is_interim", + "job_id", + "probability", + "result_type", + "timestamp" + ] + }, + "ml._types:JobStats": { + "type": "object", + "properties": { + "assignment_explanation": { + "type": "string" + }, + "data_counts": { + "$ref": "#/components/schemas/ml._types:DataCounts" + }, + "forecasts_stats": { + "$ref": "#/components/schemas/ml._types:JobForecastStatistics" + }, + "job_id": { + "type": "string" + }, + "model_size_stats": { + "$ref": "#/components/schemas/ml._types:ModelSizeStats" + }, + "node": { + "$ref": "#/components/schemas/ml._types:DiscoveryNode" + }, + "open_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "state": { + "$ref": "#/components/schemas/ml._types:JobState" + }, + "timing_stats": { + "$ref": "#/components/schemas/ml._types:JobTimingStats" + }, + "deleting": { + "type": "boolean" + } + }, + "required": [ + "data_counts", + "forecasts_stats", + "job_id", + "model_size_stats", + "state", + "timing_stats" + ] + }, + "ml._types:DataCounts": { + "type": "object", + "properties": { + "bucket_count": { + "type": "number" + }, + "earliest_record_timestamp": { + "type": "number" + }, + "empty_bucket_count": { + "type": "number" + }, + "input_bytes": { + "type": "number" + }, + "input_field_count": { + "type": "number" + }, + "input_record_count": { + "type": "number" + }, + "invalid_date_count": { + "type": "number" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "last_data_time": { + "type": "number" + }, + "latest_empty_bucket_timestamp": { + "type": "number" + }, + "latest_record_timestamp": { + "type": "number" + }, + "latest_sparse_bucket_timestamp": { + "type": "number" + }, + "latest_bucket_timestamp": { + "type": "number" + }, + "log_time": { + "type": "number" + }, + "missing_field_count": { + "type": "number" + }, + "out_of_order_timestamp_count": { + "type": "number" + }, + "processed_field_count": { + "type": "number" + }, + "processed_record_count": { + "type": "number" + }, + "sparse_bucket_count": { + "type": "number" + } + }, + "required": [ + "bucket_count", + "empty_bucket_count", + "input_bytes", + "input_field_count", + "input_record_count", + "invalid_date_count", + "job_id", + "missing_field_count", + "out_of_order_timestamp_count", + "processed_field_count", + "processed_record_count", + "sparse_bucket_count" + ] + }, + "ml._types:JobForecastStatistics": { + "type": "object", + "properties": { + "memory_bytes": { + "$ref": "#/components/schemas/ml._types:JobStatistics" + }, + "processing_time_ms": { + "$ref": "#/components/schemas/ml._types:JobStatistics" + }, + "records": { + "$ref": "#/components/schemas/ml._types:JobStatistics" + }, + "status": { + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "total": { + "type": "number" + }, + "forecasted_jobs": { + "type": "number" + } + }, + "required": [ + "total", + "forecasted_jobs" + ] + }, + "ml._types:JobStatistics": { + "type": "object", + "properties": { + "avg": { + "type": "number" + }, + "max": { + "type": "number" + }, + "min": { + "type": "number" + }, + "total": { + "type": "number" + } + }, + "required": [ + "avg", + "max", + "min", + "total" + ] + }, + "ml._types:ModelSizeStats": { + "type": "object", + "properties": { + "bucket_allocation_failures_count": { + "type": "number" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "log_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "memory_status": { + "$ref": "#/components/schemas/ml._types:MemoryStatus" + }, + "model_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "model_bytes_exceeded": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "model_bytes_memory_limit": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "peak_model_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "assignment_memory_basis": { + "type": "string" + }, + "result_type": { + "type": "string" + }, + "total_by_field_count": { + "type": "number" + }, + "total_over_field_count": { + "type": "number" + }, + "total_partition_field_count": { + "type": "number" + }, + "categorization_status": { + "$ref": "#/components/schemas/ml._types:CategorizationStatus" + }, + "categorized_doc_count": { + "type": "number" + }, + "dead_category_count": { + "type": "number" + }, + "failed_category_count": { + "type": "number" + }, + "frequent_category_count": { + "type": "number" + }, + "rare_category_count": { + "type": "number" + }, + "total_category_count": { + "type": "number" + }, + "timestamp": { + "type": "number" + } + }, + "required": [ + "bucket_allocation_failures_count", + "job_id", + "log_time", + "memory_status", + "model_bytes", + "result_type", + "total_by_field_count", + "total_over_field_count", + "total_partition_field_count", + "categorization_status", + "categorized_doc_count", + "dead_category_count", + "failed_category_count", + "frequent_category_count", + "rare_category_count", + "total_category_count" + ] + }, + "ml._types:JobTimingStats": { + "type": "object", + "properties": { + "average_bucket_processing_time_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + }, + "bucket_count": { + "type": "number" + }, + "exponential_average_bucket_processing_time_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + }, + "exponential_average_bucket_processing_time_per_hour_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "total_bucket_processing_time_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + }, + "maximum_bucket_processing_time_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + }, + "minimum_bucket_processing_time_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + } + }, + "required": [ + "bucket_count", + "exponential_average_bucket_processing_time_per_hour_ms", + "job_id", + "total_bucket_processing_time_ms" + ] + }, + "ml._types:Job": { + "type": "object", + "properties": { + "allow_lazy_open": { + "type": "boolean" + }, + "analysis_config": { + "$ref": "#/components/schemas/ml._types:AnalysisConfig" + }, + "analysis_limits": { + "$ref": "#/components/schemas/ml._types:AnalysisLimits" + }, + "background_persist_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "blocked": { + "$ref": "#/components/schemas/ml._types:JobBlocked" + }, + "create_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "custom_settings": { + "$ref": "#/components/schemas/ml._types:CustomSettings" + }, + "daily_model_snapshot_retention_after_days": { + "type": "number" + }, + "data_description": { + "$ref": "#/components/schemas/ml._types:DataDescription" + }, + "datafeed_config": { + "$ref": "#/components/schemas/ml._types:Datafeed" + }, + "deleting": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "finished_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "job_type": { + "type": "string" + }, + "job_version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "model_plot_config": { + "$ref": "#/components/schemas/ml._types:ModelPlotConfig" + }, + "model_snapshot_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "model_snapshot_retention_days": { + "type": "number" + }, + "renormalization_window_days": { + "type": "number" + }, + "results_index_name": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "results_retention_days": { + "type": "number" + } + }, + "required": [ + "allow_lazy_open", + "analysis_config", + "data_description", + "job_id", + "model_snapshot_retention_days", + "results_index_name" + ] + }, + "ml._types:AnalysisLimits": { + "type": "object", + "properties": { + "categorization_examples_limit": { + "description": "The maximum number of examples stored per category in memory and in the results data store. If you increase this value, more examples are available, however it requires that you have more storage available. If you set this value to 0, no examples are stored. NOTE: The `categorization_examples_limit` applies only to analysis that uses categorization.", + "type": "number" + }, + "model_memory_limit": { + "description": "The approximate maximum amount of memory resources that are required for analytical processing. Once this limit is approached, data pruning becomes more aggressive. Upon exceeding this limit, new entities are not modeled. If the `xpack.ml.max_model_memory_limit` setting has a value greater than 0 and less than 1024mb, that value is used instead of the default. The default value is relatively small to ensure that high resource usage is a conscious decision. If you have jobs that are expected to analyze high cardinality fields, you will likely need to use a higher value. If you specify a number instead of a string, the units are assumed to be MiB. Specifying a string is recommended for clarity. If you specify a byte size unit of `b` or `kb` and the number does not equate to a discrete number of megabytes, it is rounded down to the closest MiB. The minimum valid value is 1 MiB. If you specify a value less than 1 MiB, an error occurs. If you specify a value for the `xpack.ml.max_model_memory_limit` setting, an error occurs when you try to create jobs that have `model_memory_limit` values greater than that setting value.", + "type": "string" + } + } + }, + "ml._types:JobBlocked": { + "type": "object", + "properties": { + "reason": { + "$ref": "#/components/schemas/ml._types:JobBlockedReason" + }, + "task_id": { + "$ref": "#/components/schemas/_types:TaskId" + } + }, + "required": [ + "reason" + ] + }, + "ml._types:JobBlockedReason": { + "type": "string", + "enum": [ + "delete", + "reset", + "revert" + ] + }, + "ml._types:CustomSettings": { + "description": "Custom metadata about the job", + "type": "object" + }, + "ml._types:DataDescription": { + "type": "object", + "properties": { + "format": { + "description": "Only JSON format is supported at this time.", + "type": "string" + }, + "time_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "time_format": { + "description": "The time format, which can be `epoch`, `epoch_ms`, or a custom pattern. The value `epoch` refers to UNIX or Epoch time (the number of seconds since 1 Jan 1970). The value `epoch_ms` indicates that time is measured in milliseconds since the epoch. The `epoch` and `epoch_ms` time formats accept either integer or real values. Custom patterns must conform to the Java DateTimeFormatter class. When you use date-time formatting patterns, it is recommended that you provide the full date, time and time zone. For example: `yyyy-MM-dd'T'HH:mm:ssX`. If the pattern that you specify is not sufficient to produce a complete timestamp, job creation fails.", + "type": "string" + }, + "field_delimiter": { + "type": "string" + } + } + }, + "ml._types:ModelPlotConfig": { + "type": "object", + "properties": { + "annotations_enabled": { + "description": "If true, enables calculation and storage of the model change annotations for each entity that is being analyzed.", + "type": "boolean" + }, + "enabled": { + "description": "If true, enables calculation and storage of the model bounds for each entity that is being analyzed.", + "type": "boolean" + }, + "terms": { + "$ref": "#/components/schemas/_types:Field" + } + } + }, + "ml.get_memory_stats:Memory": { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "jvm": { + "$ref": "#/components/schemas/ml.get_memory_stats:JvmStats" + }, + "mem": { + "$ref": "#/components/schemas/ml.get_memory_stats:MemStats" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "roles": { + "description": "Roles assigned to the node.", + "type": "array", + "items": { + "type": "string" + } + }, + "transport_address": { + "$ref": "#/components/schemas/_types:TransportAddress" + }, + "ephemeral_id": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "required": [ + "attributes", + "jvm", + "mem", + "name", + "roles", + "transport_address", + "ephemeral_id" + ] + }, + "ml.get_memory_stats:JvmStats": { + "type": "object", + "properties": { + "heap_max": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "heap_max_in_bytes": { + "description": "Maximum amount of memory, in bytes, available for use by the heap.", + "type": "number" + }, + "java_inference": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "java_inference_in_bytes": { + "description": "Amount of Java heap, in bytes, currently being used for caching inference models.", + "type": "number" + }, + "java_inference_max": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "java_inference_max_in_bytes": { + "description": "Maximum amount of Java heap, in bytes, to be used for caching inference models.", + "type": "number" + } + }, + "required": [ + "heap_max_in_bytes", + "java_inference_in_bytes", + "java_inference_max_in_bytes" + ] + }, + "ml.get_memory_stats:MemStats": { + "type": "object", + "properties": { + "adjusted_total": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "adjusted_total_in_bytes": { + "description": "If the amount of physical memory has been overridden using the `es.total_memory_bytes` system property\nthen this reports the overridden value in bytes. Otherwise it reports the same value as `total_in_bytes`.", + "type": "number" + }, + "total": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "total_in_bytes": { + "description": "Total amount of physical memory in bytes.", + "type": "number" + }, + "ml": { + "$ref": "#/components/schemas/ml.get_memory_stats:MemMlStats" + } + }, + "required": [ + "adjusted_total_in_bytes", + "total_in_bytes", + "ml" + ] + }, + "ml.get_memory_stats:MemMlStats": { + "type": "object", + "properties": { + "anomaly_detectors": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "anomaly_detectors_in_bytes": { + "description": "Amount of native memory, in bytes, set aside for anomaly detection jobs.", + "type": "number" + }, + "data_frame_analytics": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "data_frame_analytics_in_bytes": { + "description": "Amount of native memory, in bytes, set aside for data frame analytics jobs.", + "type": "number" + }, + "max": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "max_in_bytes": { + "description": "Maximum amount of native memory (separate to the JVM heap), in bytes, that may be used by machine learning native processes.", + "type": "number" + }, + "native_code_overhead": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "native_code_overhead_in_bytes": { + "description": "Amount of native memory, in bytes, set aside for loading machine learning native code shared libraries.", + "type": "number" + }, + "native_inference": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "native_inference_in_bytes": { + "description": "Amount of native memory, in bytes, set aside for trained models that have a PyTorch model_type.", + "type": "number" + } + }, + "required": [ + "anomaly_detectors_in_bytes", + "data_frame_analytics_in_bytes", + "max_in_bytes", + "native_code_overhead_in_bytes", + "native_inference_in_bytes" + ] + }, + "ml._types:ModelSnapshotUpgrade": { + "type": "object", + "properties": { + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "snapshot_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "state": { + "$ref": "#/components/schemas/ml._types:SnapshotUpgradeState" + }, + "node": { + "$ref": "#/components/schemas/ml._types:DiscoveryNode" + }, + "assignment_explanation": { + "type": "string" + } + }, + "required": [ + "job_id", + "snapshot_id", + "state", + "node", + "assignment_explanation" + ] + }, + "ml._types:SnapshotUpgradeState": { + "type": "string", + "enum": [ + "loading_old_state", + "saving_new_state", + "stopped", + "failed" + ] + }, + "ml._types:ModelSnapshot": { + "type": "object", + "properties": { + "description": { + "description": "An optional description of the job.", + "type": "string" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "latest_record_time_stamp": { + "description": "The timestamp of the latest processed record.", + "type": "number" + }, + "latest_result_time_stamp": { + "description": "The timestamp of the latest bucket result.", + "type": "number" + }, + "min_version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "model_size_stats": { + "$ref": "#/components/schemas/ml._types:ModelSizeStats" + }, + "retain": { + "description": "If true, this snapshot will not be deleted during automatic cleanup of snapshots older than model_snapshot_retention_days. However, this snapshot will be deleted when the job is deleted. The default value is false.", + "type": "boolean" + }, + "snapshot_doc_count": { + "description": "For internal use only.", + "type": "number" + }, + "snapshot_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "timestamp": { + "description": "The creation timestamp for the snapshot.", + "type": "number" + } + }, + "required": [ + "job_id", + "min_version", + "retain", + "snapshot_doc_count", + "snapshot_id", + "timestamp" + ] + }, + "ml._types:OverallBucket": { + "type": "object", + "properties": { + "bucket_span": { + "$ref": "#/components/schemas/_types:DurationValueUnitSeconds" + }, + "is_interim": { + "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", + "type": "boolean" + }, + "jobs": { + "description": "An array of objects that contain the max_anomaly_score per job_id.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:OverallBucketJob" + } + }, + "overall_score": { + "description": "The top_n average of the maximum bucket anomaly_score per job.", + "type": "number" + }, + "result_type": { + "description": "Internal. This is always set to overall_bucket.", + "type": "string" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "timestamp_string": { + "$ref": "#/components/schemas/_types:DateTime" + } + }, + "required": [ + "bucket_span", + "is_interim", + "jobs", + "overall_score", + "result_type", + "timestamp", + "timestamp_string" + ] + }, + "ml._types:OverallBucketJob": { + "type": "object", + "properties": { + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max_anomaly_score": { + "type": "number" + } + }, + "required": [ + "job_id", + "max_anomaly_score" + ] + }, + "ml._types:Anomaly": { + "type": "object", + "properties": { + "actual": { + "description": "The actual value for the bucket.", + "type": "array", + "items": { + "type": "number" + } + }, + "anomaly_score_explanation": { + "$ref": "#/components/schemas/ml._types:AnomalyExplanation" + }, + "bucket_span": { + "$ref": "#/components/schemas/_types:DurationValueUnitSeconds" + }, + "by_field_name": { + "description": "The field used to split the data. In particular, this property is used for analyzing the splits with respect to their own history. It is used for finding unusual values in the context of the split.", + "type": "string" + }, + "by_field_value": { + "description": "The value of `by_field_name`.", + "type": "string" + }, + "causes": { + "description": "For population analysis, an over field must be specified in the detector. This property contains an array of anomaly records that are the causes for the anomaly that has been identified for the over field. This sub-resource contains the most anomalous records for the `over_field_name`. For scalability reasons, a maximum of the 10 most significant causes of the anomaly are returned. As part of the core analytical modeling, these low-level anomaly records are aggregated for their parent over field record. The `causes` resource contains similar elements to the record resource, namely `actual`, `typical`, `geo_results.actual_point`, `geo_results.typical_point`, `*_field_name` and `*_field_value`. Probability and scores are not applicable to causes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:AnomalyCause" + } + }, + "detector_index": { + "description": "A unique identifier for the detector.", + "type": "number" + }, + "field_name": { + "description": "Certain functions require a field to operate on, for example, `sum()`. For those functions, this value is the name of the field to be analyzed.", + "type": "string" + }, + "function": { + "description": "The function in which the anomaly occurs, as specified in the detector configuration. For example, `max`.", + "type": "string" + }, + "function_description": { + "description": "The description of the function in which the anomaly occurs, as specified in the detector configuration.", + "type": "string" + }, + "geo_results": { + "$ref": "#/components/schemas/ml._types:GeoResults" + }, + "influencers": { + "description": "If influencers were specified in the detector configuration, this array contains influencers that contributed to or were to blame for an anomaly.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Influence" + } + }, + "initial_record_score": { + "description": "A normalized score between 0-100, which is based on the probability of the anomalousness of this record. This is the initial value that was calculated at the time the bucket was processed.", + "type": "number" + }, + "is_interim": { + "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", + "type": "boolean" + }, + "job_id": { + "description": "Identifier for the anomaly detection job.", + "type": "string" + }, + "over_field_name": { + "description": "The field used to split the data. In particular, this property is used for analyzing the splits with respect to the history of all splits. It is used for finding unusual values in the population of all splits.", + "type": "string" + }, + "over_field_value": { + "description": "The value of `over_field_name`.", + "type": "string" + }, + "partition_field_name": { + "description": "The field used to segment the analysis. When you use this property, you have completely independent baselines for each value of this field.", + "type": "string" + }, + "partition_field_value": { + "description": "The value of `partition_field_name`.", + "type": "string" + }, + "probability": { + "description": "The probability of the individual anomaly occurring, in the range 0 to 1. For example, `0.0000772031`. This value can be held to a high precision of over 300 decimal places, so the `record_score` is provided as a human-readable and friendly interpretation of this.", + "type": "number" + }, + "record_score": { + "description": "A normalized score between 0-100, which is based on the probability of the anomalousness of this record. Unlike `initial_record_score`, this value will be updated by a re-normalization process as new data is analyzed.", + "type": "number" + }, + "result_type": { + "description": "Internal. This is always set to `record`.", + "type": "string" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "typical": { + "description": "The typical value for the bucket, according to analytical modeling.", + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "bucket_span", + "detector_index", + "initial_record_score", + "is_interim", + "job_id", + "probability", + "record_score", + "result_type", + "timestamp" + ] + }, + "ml._types:AnomalyExplanation": { + "type": "object", + "properties": { + "anomaly_characteristics_impact": { + "description": "Impact from the duration and magnitude of the detected anomaly relative to the historical average.", + "type": "number" + }, + "anomaly_length": { + "description": "Length of the detected anomaly in the number of buckets.", + "type": "number" + }, + "anomaly_type": { + "description": "Type of the detected anomaly: `spike` or `dip`.", + "type": "string" + }, + "high_variance_penalty": { + "description": "Indicates reduction of anomaly score for the bucket with large confidence intervals. If a bucket has large confidence intervals, the score is reduced.", + "type": "boolean" + }, + "incomplete_bucket_penalty": { + "description": "If the bucket contains fewer samples than expected, the score is reduced.", + "type": "boolean" + }, + "lower_confidence_bound": { + "description": "Lower bound of the 95% confidence interval.", + "type": "number" + }, + "multi_bucket_impact": { + "description": "Impact of the deviation between actual and typical values in the past 12 buckets.", + "type": "number" + }, + "single_bucket_impact": { + "description": "Impact of the deviation between actual and typical values in the current bucket.", + "type": "number" + }, + "typical_value": { + "description": "Typical (expected) value for this bucket.", + "type": "number" + }, + "upper_confidence_bound": { + "description": "Upper bound of the 95% confidence interval.", + "type": "number" + } + } + }, + "ml._types:AnomalyCause": { + "type": "object", + "properties": { + "actual": { + "type": "array", + "items": { + "type": "number" + } + }, + "by_field_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "by_field_value": { + "type": "string" + }, + "correlated_by_field_value": { + "type": "string" + }, + "field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "function": { + "type": "string" + }, + "function_description": { + "type": "string" + }, + "influencers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Influence" + } + }, + "over_field_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "over_field_value": { + "type": "string" + }, + "partition_field_name": { + "type": "string" + }, + "partition_field_value": { + "type": "string" + }, + "probability": { + "type": "number" + }, + "typical": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "actual", + "by_field_name", + "by_field_value", + "correlated_by_field_value", + "field_name", + "function", + "function_description", + "influencers", + "over_field_name", + "over_field_value", + "partition_field_name", + "partition_field_value", + "probability", + "typical" + ] + }, + "ml._types:Influence": { + "type": "object", + "properties": { + "influencer_field_name": { + "type": "string" + }, + "influencer_field_values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "influencer_field_name", + "influencer_field_values" + ] + }, + "ml._types:GeoResults": { + "type": "object", + "properties": { + "actual_point": { + "description": "The actual value for the bucket formatted as a `geo_point`.", + "type": "string" + }, + "typical_point": { + "description": "The typical value for the bucket formatted as a `geo_point`.", + "type": "string" + } + }, + "required": [ + "actual_point", + "typical_point" + ] + }, + "ml._types:Include": { + "type": "string", + "enum": [ + "definition", + "feature_importance_baseline", + "hyperparameters", + "total_feature_importance", + "definition_status" + ] + }, + "ml._types:TrainedModelConfig": { + "type": "object", + "properties": { + "model_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "model_type": { + "$ref": "#/components/schemas/ml._types:TrainedModelType" + }, + "tags": { + "description": "A comma delimited string of tags. A trained model can have many tags, or none.", + "type": "array", + "items": { + "type": "string" + } + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "compressed_definition": { + "type": "string" + }, + "created_by": { + "description": "Information on the creator of the trained model.", + "type": "string" + }, + "create_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "default_field_map": { + "description": "Any field map described in the inference configuration takes precedence.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "description": { + "description": "The free-text description of the trained model.", + "type": "string" + }, + "estimated_heap_memory_usage_bytes": { + "description": "The estimated heap usage in bytes to keep the trained model in memory.", + "type": "number" + }, + "estimated_operations": { + "description": "The estimated number of operations to use the trained model.", + "type": "number" + }, + "fully_defined": { + "description": "True if the full model definition is present.", + "type": "boolean" + }, + "inference_config": { + "$ref": "#/components/schemas/ml._types:InferenceConfigCreateContainer" + }, + "input": { + "$ref": "#/components/schemas/ml._types:TrainedModelConfigInput" + }, + "license_level": { + "description": "The license level of the trained model.", + "type": "string" + }, + "metadata": { + "$ref": "#/components/schemas/ml._types:TrainedModelConfigMetadata" + }, + "model_size_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "location": { + "$ref": "#/components/schemas/ml._types:TrainedModelLocation" + } + }, + "required": [ + "model_id", + "tags", + "input" + ] + }, + "ml._types:TrainedModelType": { + "type": "string", + "enum": [ + "tree_ensemble", + "lang_ident", + "pytorch" + ] + }, + "ml._types:InferenceConfigCreateContainer": { + "description": "Inference configuration provided when storing the model config", + "type": "object", + "properties": { + "regression": { + "$ref": "#/components/schemas/ml._types:RegressionInferenceOptions" + }, + "classification": { + "$ref": "#/components/schemas/ml._types:ClassificationInferenceOptions" + }, + "text_classification": { + "$ref": "#/components/schemas/ml._types:TextClassificationInferenceOptions" + }, + "zero_shot_classification": { + "$ref": "#/components/schemas/ml._types:ZeroShotClassificationInferenceOptions" + }, + "fill_mask": { + "$ref": "#/components/schemas/ml._types:FillMaskInferenceOptions" + }, + "ner": { + "$ref": "#/components/schemas/ml._types:NerInferenceOptions" + }, + "pass_through": { + "$ref": "#/components/schemas/ml._types:PassThroughInferenceOptions" + }, + "text_embedding": { + "$ref": "#/components/schemas/ml._types:TextEmbeddingInferenceOptions" + }, + "text_expansion": { + "$ref": "#/components/schemas/ml._types:TextExpansionInferenceOptions" + }, + "question_answering": { + "$ref": "#/components/schemas/ml._types:QuestionAnsweringInferenceOptions" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ml._types:TextClassificationInferenceOptions": { + "type": "object", + "properties": { + "num_top_classes": { + "description": "Specifies the number of top class predictions to return. Defaults to 0.", + "type": "number" + }, + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + }, + "classification_labels": { + "description": "Classification labels to apply other than the stored labels. Must have the same deminsions as the default configured labels", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ml._types:TokenizationConfigContainer": { + "description": "Tokenization options stored in inference configuration", + "type": "object", + "properties": { + "bert": { + "$ref": "#/components/schemas/ml._types:NlpBertTokenizationConfig" + }, + "mpnet": { + "$ref": "#/components/schemas/ml._types:NlpBertTokenizationConfig" + }, + "roberta": { + "$ref": "#/components/schemas/ml._types:NlpRobertaTokenizationConfig" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ml._types:NlpBertTokenizationConfig": { + "type": "object", + "properties": { + "do_lower_case": { + "description": "Should the tokenizer lower case the text", + "type": "boolean" + }, + "with_special_tokens": { + "description": "Is tokenization completed with special tokens", + "type": "boolean" + }, + "max_sequence_length": { + "description": "Maximum input sequence length for the model", + "type": "number" + }, + "truncate": { + "$ref": "#/components/schemas/ml._types:TokenizationTruncate" + }, + "span": { + "description": "Tokenization spanning options. Special value of -1 indicates no spanning takes place", + "type": "number" + } + } + }, + "ml._types:TokenizationTruncate": { + "type": "string", + "enum": [ + "first", + "second", + "none" + ] + }, + "ml._types:NlpRobertaTokenizationConfig": { + "type": "object", + "properties": { + "add_prefix_space": { + "description": "Should the tokenizer prefix input with a space character", + "type": "boolean" + }, + "with_special_tokens": { + "description": "Is tokenization completed with special tokens", + "type": "boolean" + }, + "max_sequence_length": { + "description": "Maximum input sequence length for the model", + "type": "number" + }, + "truncate": { + "$ref": "#/components/schemas/ml._types:TokenizationTruncate" + }, + "span": { + "description": "Tokenization spanning options. Special value of -1 indicates no spanning takes place", + "type": "number" + } + } + }, + "ml._types:ZeroShotClassificationInferenceOptions": { + "type": "object", + "properties": { + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + }, + "hypothesis_template": { + "description": "Hypothesis template used when tokenizing labels for prediction", + "type": "string" + }, + "classification_labels": { + "description": "The zero shot classification labels indicating entailment, neutral, and contradiction\nMust contain exactly and only entailment, neutral, and contradiction", + "type": "array", + "items": { + "type": "string" + } + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + }, + "multi_label": { + "description": "Indicates if more than one true label exists.", + "type": "boolean" + }, + "labels": { + "description": "The labels to predict.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "classification_labels" + ] + }, + "ml._types:FillMaskInferenceOptions": { + "type": "object", + "properties": { + "mask_token": { + "description": "The string/token which will be removed from incoming documents and replaced with the inference prediction(s).\nIn a response, this field contains the mask token for the specified model/tokenizer. Each model and tokenizer\nhas a predefined mask token which cannot be changed. Thus, it is recommended not to set this value in requests.\nHowever, if this field is present in a request, its value must match the predefined value for that model/tokenizer,\notherwise the request will fail.", + "type": "string" + }, + "num_top_classes": { + "description": "Specifies the number of top class predictions to return. Defaults to 0.", + "type": "number" + }, + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + } + } + }, + "ml._types:NerInferenceOptions": { + "type": "object", + "properties": { + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + }, + "classification_labels": { + "description": "The token classification labels. Must be IOB formatted tags", + "type": "array", + "items": { + "type": "string" + } + }, + "vocabulary": { + "$ref": "#/components/schemas/ml._types:Vocabulary" + } + } + }, + "ml._types:Vocabulary": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "required": [ + "index" + ] + }, + "ml._types:PassThroughInferenceOptions": { + "type": "object", + "properties": { + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + }, + "vocabulary": { + "$ref": "#/components/schemas/ml._types:Vocabulary" + } + } + }, + "ml._types:TextEmbeddingInferenceOptions": { + "type": "object", + "properties": { + "embedding_size": { + "description": "The number of dimensions in the embedding output", + "type": "number" + }, + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + } + } + }, + "ml._types:TextExpansionInferenceOptions": { + "type": "object", + "properties": { + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + } + } + }, + "ml._types:QuestionAnsweringInferenceOptions": { + "type": "object", + "properties": { + "num_top_classes": { + "description": "Specifies the number of top class predictions to return. Defaults to 0.", + "type": "number" + }, + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + }, + "max_answer_length": { + "description": "The maximum answer length to consider", + "type": "number" + } + } + }, + "ml._types:TrainedModelConfigInput": { + "type": "object", + "properties": { + "field_names": { + "description": "An array of input field names for the model.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + } + }, + "required": [ + "field_names" + ] + }, + "ml._types:TrainedModelConfigMetadata": { + "type": "object", + "properties": { + "model_aliases": { + "type": "array", + "items": { + "type": "string" + } + }, + "feature_importance_baseline": { + "description": "An object that contains the baseline for feature importance values. For regression analysis, it is a single value. For classification analysis, there is a value for each class.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "hyperparameters": { + "description": "List of the available hyperparameters optimized during the fine_parameter_tuning phase as well as specified by the user.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Hyperparameter" + } + }, + "total_feature_importance": { + "description": "An array of the total feature importance for each feature used from the training data set. This array of objects is returned if data frame analytics trained the model and the request includes total_feature_importance in the include request parameter.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TotalFeatureImportance" + } + } + } + }, + "ml._types:Hyperparameter": { + "type": "object", + "properties": { + "absolute_importance": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/machine-learning/{branch}/dfa-regression-lossfunction.html" + }, + "description": "A positive number showing how much the parameter influences the variation of the loss function. For hyperparameters with values that are not specified by the user but tuned during hyperparameter optimization.", + "type": "number" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "relative_importance": { + "description": "A number between 0 and 1 showing the proportion of influence on the variation of the loss function among all tuned hyperparameters. For hyperparameters with values that are not specified by the user but tuned during hyperparameter optimization.", + "type": "number" + }, + "supplied": { + "description": "Indicates if the hyperparameter is specified by the user (true) or optimized (false).", + "type": "boolean" + }, + "value": { + "description": "The value of the hyperparameter, either optimized or specified by the user.", + "type": "number" + } + }, + "required": [ + "name", + "supplied", + "value" + ] + }, + "ml._types:TotalFeatureImportance": { + "type": "object", + "properties": { + "feature_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "importance": { + "description": "A collection of feature importance statistics related to the training data set for this particular feature.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TotalFeatureImportanceStatistics" + } + }, + "classes": { + "description": "If the trained model is a classification model, feature importance statistics are gathered per target class value.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TotalFeatureImportanceClass" + } + } + }, + "required": [ + "feature_name", + "importance", + "classes" + ] + }, + "ml._types:TotalFeatureImportanceStatistics": { + "type": "object", + "properties": { + "mean_magnitude": { + "description": "The average magnitude of this feature across all the training data. This value is the average of the absolute values of the importance for this feature.", + "type": "number" + }, + "max": { + "description": "The maximum importance value across all the training data for this feature.", + "type": "number" + }, + "min": { + "description": "The minimum importance value across all the training data for this feature.", + "type": "number" + } + }, + "required": [ + "mean_magnitude", + "max", + "min" + ] + }, + "ml._types:TotalFeatureImportanceClass": { + "type": "object", + "properties": { + "class_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "importance": { + "description": "A collection of feature importance statistics related to the training data set for this particular feature.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TotalFeatureImportanceStatistics" + } + } + }, + "required": [ + "class_name", + "importance" + ] + }, + "ml._types:TrainedModelLocation": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/ml._types:TrainedModelLocationIndex" + } + }, + "required": [ + "index" + ] + }, + "ml._types:TrainedModelLocationIndex": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "required": [ + "name" + ] + }, + "ml._types:TrainedModelStats": { + "type": "object", + "properties": { + "deployment_stats": { + "$ref": "#/components/schemas/ml._types:TrainedModelDeploymentStats" + }, + "inference_stats": { + "$ref": "#/components/schemas/ml._types:TrainedModelInferenceStats" + }, + "ingest": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-stats.html" + }, + "description": "A collection of ingest stats for the model across all nodes.\nThe values are summations of the individual node statistics.\nThe format matches the ingest section in the nodes stats API.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "model_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "model_size_stats": { + "$ref": "#/components/schemas/ml._types:TrainedModelSizeStats" + }, + "pipeline_count": { + "description": "The number of ingest pipelines that currently refer to the model.", + "type": "number" + } + }, + "required": [ + "model_id", + "model_size_stats", + "pipeline_count" + ] + }, + "ml._types:TrainedModelDeploymentStats": { + "type": "object", + "properties": { + "allocation_status": { + "$ref": "#/components/schemas/ml._types:TrainedModelDeploymentAllocationStatus" + }, + "cache_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "deployment_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "error_count": { + "description": "The sum of `error_count` for all nodes in the deployment.", + "type": "number" + }, + "inference_count": { + "description": "The sum of `inference_count` for all nodes in the deployment.", + "type": "number" + }, + "model_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "nodes": { + "$ref": "#/components/schemas/ml._types:TrainedModelDeploymentNodesStats" + }, + "number_of_allocations": { + "description": "The number of allocations requested.", + "type": "number" + }, + "queue_capacity": { + "description": "The number of inference requests that can be queued before new requests are rejected.", + "type": "number" + }, + "rejected_execution_count": { + "description": "The sum of `rejected_execution_count` for all nodes in the deployment.\nIndividual nodes reject an inference request if the inference queue is full.\nThe queue size is controlled by the `queue_capacity` setting in the start\ntrained model deployment API.", + "type": "number" + }, + "reason": { + "description": "The reason for the current deployment state. Usually only populated when\nthe model is not deployed to a node.", + "type": "string" + }, + "start_time": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "state": { + "$ref": "#/components/schemas/ml._types:DeploymentState" + }, + "threads_per_allocation": { + "description": "The number of threads used be each allocation during inference.", + "type": "number" + }, + "timeout_count": { + "description": "The sum of `timeout_count` for all nodes in the deployment.", + "type": "number" + } + }, + "required": [ + "allocation_status", + "deployment_id", + "error_count", + "inference_count", + "model_id", + "nodes", + "number_of_allocations", + "queue_capacity", + "rejected_execution_count", + "reason", + "start_time", + "state", + "threads_per_allocation", + "timeout_count" + ] + }, + "ml._types:TrainedModelDeploymentAllocationStatus": { + "type": "object", + "properties": { + "allocation_count": { + "description": "The current number of nodes where the model is allocated.", + "type": "number" + }, + "state": { + "$ref": "#/components/schemas/ml._types:DeploymentAllocationState" + }, + "target_allocation_count": { + "description": "The desired number of nodes for model allocation.", + "type": "number" + } + }, + "required": [ + "allocation_count", + "state", + "target_allocation_count" + ] + }, + "ml._types:DeploymentAllocationState": { + "type": "string", + "enum": [ + "started", + "starting", + "fully_allocated" + ] + }, + "ml._types:TrainedModelDeploymentNodesStats": { + "type": "object", + "properties": { + "average_inference_time_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + }, + "error_count": { + "description": "The number of errors when evaluating the trained model.", + "type": "number" + }, + "inference_count": { + "description": "The total number of inference calls made against this node for this model.", + "type": "number" + }, + "last_access": { + "description": "The epoch time stamp of the last inference call for the model on this node.", + "type": "number" + }, + "node": { + "$ref": "#/components/schemas/ml._types:DiscoveryNode" + }, + "number_of_allocations": { + "description": "The number of allocations assigned to this node.", + "type": "number" + }, + "number_of_pending_requests": { + "description": "The number of inference requests queued to be processed.", + "type": "number" + }, + "rejection_execution_count": { + "description": "The number of inference requests that were not processed because the queue was full.", + "type": "number" + }, + "routing_state": { + "$ref": "#/components/schemas/ml._types:TrainedModelAssignmentRoutingTable" + }, + "start_time": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "threads_per_allocation": { + "description": "The number of threads used by each allocation during inference.", + "type": "number" + }, + "timeout_count": { + "description": "The number of inference requests that timed out before being processed.", + "type": "number" + } + }, + "required": [ + "average_inference_time_ms", + "error_count", + "inference_count", + "last_access", + "node", + "number_of_allocations", + "number_of_pending_requests", + "rejection_execution_count", + "routing_state", + "start_time", + "threads_per_allocation", + "timeout_count" + ] + }, + "ml._types:TrainedModelAssignmentRoutingTable": { + "type": "object", + "properties": { + "reason": { + "description": "The reason for the current state. It is usually populated only when the\n`routing_state` is `failed`.", + "type": "string" + }, + "routing_state": { + "$ref": "#/components/schemas/ml._types:RoutingState" + }, + "current_allocations": { + "description": "Current number of allocations.", + "type": "number" + }, + "target_allocations": { + "description": "Target number of allocations.", + "type": "number" + } + }, + "required": [ + "reason", + "routing_state", + "current_allocations", + "target_allocations" + ] + }, + "ml._types:RoutingState": { + "type": "string", + "enum": [ + "failed", + "started", + "starting", + "stopped", + "stopping" + ] + }, + "ml._types:DeploymentState": { + "type": "string", + "enum": [ + "started", + "starting", + "stopping" + ] + }, + "ml._types:TrainedModelInferenceStats": { + "type": "object", + "properties": { + "cache_miss_count": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-settings.html" + }, + "description": "The number of times the model was loaded for inference and was not retrieved from the cache.\nIf this number is close to the `inference_count`, the cache is not being appropriately used.\nThis can be solved by increasing the cache size or its time-to-live (TTL).\nRefer to general machine learning settings for the appropriate settings.", + "type": "number" + }, + "failure_count": { + "description": "The number of failures when using the model for inference.", + "type": "number" + }, + "inference_count": { + "description": "The total number of times the model has been called for inference.\nThis is across all inference contexts, including all pipelines.", + "type": "number" + }, + "missing_all_fields_count": { + "description": "The number of inference calls where all the training features for the model were missing.", + "type": "number" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:DateTime" + } + }, + "required": [ + "cache_miss_count", + "failure_count", + "inference_count", + "missing_all_fields_count", + "timestamp" + ] + }, + "ml._types:TrainedModelSizeStats": { + "type": "object", + "properties": { + "model_size_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "required_native_memory_bytes": { + "description": "The amount of memory required to load the model in bytes.", + "type": "number" + } + }, + "required": [ + "model_size_bytes", + "required_native_memory_bytes" + ] + }, + "ml._types:InferenceConfigUpdateContainer": { + "type": "object", + "properties": { + "regression": { + "$ref": "#/components/schemas/ml._types:RegressionInferenceOptions" + }, + "classification": { + "$ref": "#/components/schemas/ml._types:ClassificationInferenceOptions" + }, + "text_classification": { + "$ref": "#/components/schemas/ml._types:TextClassificationInferenceUpdateOptions" + }, + "zero_shot_classification": { + "$ref": "#/components/schemas/ml._types:ZeroShotClassificationInferenceUpdateOptions" + }, + "fill_mask": { + "$ref": "#/components/schemas/ml._types:FillMaskInferenceUpdateOptions" + }, + "ner": { + "$ref": "#/components/schemas/ml._types:NerInferenceUpdateOptions" + }, + "pass_through": { + "$ref": "#/components/schemas/ml._types:PassThroughInferenceUpdateOptions" + }, + "text_embedding": { + "$ref": "#/components/schemas/ml._types:TextEmbeddingInferenceUpdateOptions" + }, + "text_expansion": { + "$ref": "#/components/schemas/ml._types:TextExpansionInferenceUpdateOptions" + }, + "question_answering": { + "$ref": "#/components/schemas/ml._types:QuestionAnsweringInferenceUpdateOptions" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ml._types:TextClassificationInferenceUpdateOptions": { + "type": "object", + "properties": { + "num_top_classes": { + "description": "Specifies the number of top class predictions to return. Defaults to 0.", + "type": "number" + }, + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + }, + "classification_labels": { + "description": "Classification labels to apply other than the stored labels. Must have the same deminsions as the default configured labels", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ml._types:NlpTokenizationUpdateOptions": { + "type": "object", + "properties": { + "truncate": { + "$ref": "#/components/schemas/ml._types:TokenizationTruncate" + }, + "span": { + "description": "Span options to apply", + "type": "number" + } + } + }, + "ml._types:ZeroShotClassificationInferenceUpdateOptions": { + "type": "object", + "properties": { + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + }, + "multi_label": { + "description": "Update the configured multi label option. Indicates if more than one true label exists. Defaults to the configured value.", + "type": "boolean" + }, + "labels": { + "description": "The labels to predict.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "labels" + ] + }, + "ml._types:FillMaskInferenceUpdateOptions": { + "type": "object", + "properties": { + "num_top_classes": { + "description": "Specifies the number of top class predictions to return. Defaults to 0.", + "type": "number" + }, + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + } + } + }, + "ml._types:NerInferenceUpdateOptions": { + "type": "object", + "properties": { + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + } + } + }, + "ml._types:PassThroughInferenceUpdateOptions": { + "type": "object", + "properties": { + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + } + } + }, + "ml._types:TextEmbeddingInferenceUpdateOptions": { + "type": "object", + "properties": { + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + } + } + }, + "ml._types:TextExpansionInferenceUpdateOptions": { + "type": "object", + "properties": { + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + } + } + }, + "ml._types:QuestionAnsweringInferenceUpdateOptions": { + "type": "object", + "properties": { + "question": { + "description": "The question to answer given the inference context", + "type": "string" + }, + "num_top_classes": { + "description": "Specifies the number of top class predictions to return. Defaults to 0.", + "type": "number" + }, + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + }, + "max_answer_length": { + "description": "The maximum answer length to consider for extraction", + "type": "number" + } + }, + "required": [ + "question" + ] + }, + "ml._types:InferenceResponseResult": { + "type": "object", + "properties": { + "entities": { + "description": "If the model is trained for named entity recognition (NER) tasks, the response contains the recognized entities.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TrainedModelEntities" + } + }, + "is_truncated": { + "description": "Indicates whether the input text was truncated to meet the model's maximum sequence length limit. This property\nis present only when it is true.", + "type": "boolean" + }, + "predicted_value": { + "description": "If the model is trained for a text classification or zero shot classification task, the response is the\npredicted class.\nFor named entity recognition (NER) tasks, it contains the annotated text output.\nFor fill mask tasks, it contains the top prediction for replacing the mask token.\nFor text embedding tasks, it contains the raw numerical text embedding values.\nFor regression models, its a numerical value\nFor classification models, it may be an integer, double, boolean or string depending on prediction type", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:PredictedValue" + } + }, + "predicted_value_sequence": { + "description": "For fill mask tasks, the response contains the input text sequence with the mask token replaced by the predicted\nvalue.\nAdditionally", + "type": "string" + }, + "prediction_probability": { + "description": "Specifies a probability for the predicted value.", + "type": "number" + }, + "prediction_score": { + "description": "Specifies a confidence score for the predicted value.", + "type": "number" + }, + "top_classes": { + "description": "For fill mask, text classification, and zero shot classification tasks, the response contains a list of top\nclass entries.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TopClassEntry" + } + }, + "warning": { + "description": "If the request failed, the response contains the reason for the failure.", + "type": "string" + }, + "feature_importance": { + "description": "The feature importance for the inference results. Relevant only for classification or regression models", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TrainedModelInferenceFeatureImportance" + } + } + } + }, + "ml._types:TrainedModelEntities": { + "type": "object", + "properties": { + "class_name": { + "type": "string" + }, + "class_probability": { + "type": "number" + }, + "entity": { + "type": "string" + }, + "start_pos": { + "type": "number" + }, + "end_pos": { + "type": "number" + } + }, + "required": [ + "class_name", + "class_probability", + "entity", + "start_pos", + "end_pos" + ] + }, + "ml._types:PredictedValue": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "number" + } + ] + }, + "ml._types:TopClassEntry": { + "type": "object", + "properties": { + "class_name": { + "type": "string" + }, + "class_probability": { + "type": "number" + }, + "class_score": { + "type": "number" + } + }, + "required": [ + "class_name", + "class_probability", + "class_score" + ] + }, + "ml._types:TrainedModelInferenceFeatureImportance": { + "type": "object", + "properties": { + "feature_name": { + "type": "string" + }, + "importance": { + "type": "number" + }, + "classes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TrainedModelInferenceClassImportance" + } + } + }, + "required": [ + "feature_name" + ] + }, + "ml._types:TrainedModelInferenceClassImportance": { + "type": "object", + "properties": { + "class_name": { + "type": "string" + }, + "importance": { + "type": "number" + } + }, + "required": [ + "class_name", + "importance" + ] + }, + "ml.info:Defaults": { + "type": "object", + "properties": { + "anomaly_detectors": { + "$ref": "#/components/schemas/ml.info:AnomalyDetectors" + }, + "datafeeds": { + "$ref": "#/components/schemas/ml.info:Datafeeds" + } + }, + "required": [ + "anomaly_detectors", + "datafeeds" + ] + }, + "ml.info:AnomalyDetectors": { + "type": "object", + "properties": { + "categorization_analyzer": { + "$ref": "#/components/schemas/ml._types:CategorizationAnalyzer" + }, + "categorization_examples_limit": { + "type": "number" + }, + "model_memory_limit": { + "type": "string" + }, + "model_snapshot_retention_days": { + "type": "number" + }, + "daily_model_snapshot_retention_after_days": { + "type": "number" + } + }, + "required": [ + "categorization_analyzer", + "categorization_examples_limit", + "model_memory_limit", + "model_snapshot_retention_days", + "daily_model_snapshot_retention_after_days" + ] + }, + "ml.info:Datafeeds": { + "type": "object", + "properties": { + "scroll_size": { + "type": "number" + } + }, + "required": [ + "scroll_size" + ] + }, + "ml.info:Limits": { + "type": "object", + "properties": { + "max_model_memory_limit": { + "type": "string" + }, + "effective_max_model_memory_limit": { + "type": "string" + }, + "total_ml_memory": { + "type": "string" + } + }, + "required": [ + "effective_max_model_memory_limit", + "total_ml_memory" + ] + }, + "ml.info:NativeCode": { + "type": "object", + "properties": { + "build_hash": { + "type": "string" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "build_hash", + "version" + ] + }, + "ml.preview_data_frame_analytics:DataframePreviewConfig": { + "type": "object", + "properties": { + "source": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" + }, + "analysis": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" + }, + "model_memory_limit": { + "type": "string" + }, + "max_num_threads": { + "type": "number" + }, + "analyzed_fields": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" + } + }, + "required": [ + "source", + "analysis" + ] + }, + "ml._types:DatafeedConfig": { + "type": "object", + "properties": { + "aggregations": { + "description": "If set, the datafeed performs aggregation searches. Support for aggregations is limited and should be used only with low cardinality data.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "chunking_config": { + "$ref": "#/components/schemas/ml._types:ChunkingConfig" + }, + "datafeed_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "delayed_data_check_config": { + "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "indices": { + "description": "An array of index names. Wildcards are supported. If any indices are in remote clusters, the machine learning nodes must have the `remote_cluster_client` role.", + "type": "array", + "items": { + "type": "string" + } + }, + "indices_options": { + "$ref": "#/components/schemas/_types:IndicesOptions" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max_empty_searches": { + "description": "If a real-time datafeed has never seen any data (including during any initial training period) then it will automatically stop itself and close its associated job after this many real-time searches that return no documents. In other words, it will stop after `frequency` times `max_empty_searches` of real-time operation. If not set then a datafeed with no end time that sees no data will remain started until it is explicitly stopped.", + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "query_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "script_fields": { + "description": "Specifies scripts that evaluate custom expressions and returns script fields to the datafeed. The detector configuration objects in a job can contain functions that use these script fields.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "scroll_size": { + "description": "The size parameter that is used in Elasticsearch searches when the datafeed does not use aggregations. The maximum value is the value of `index.max_result_window`, which is 10,000 by default.", + "type": "number" + } + } + }, + "ml._types:JobConfig": { + "type": "object", + "properties": { + "allow_lazy_open": { + "type": "boolean" + }, + "analysis_config": { + "$ref": "#/components/schemas/ml._types:AnalysisConfig" + }, + "analysis_limits": { + "$ref": "#/components/schemas/ml._types:AnalysisLimits" + }, + "background_persist_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "custom_settings": { + "$ref": "#/components/schemas/ml._types:CustomSettings" + }, + "daily_model_snapshot_retention_after_days": { + "type": "number" + }, + "data_description": { + "$ref": "#/components/schemas/ml._types:DataDescription" + }, + "datafeed_config": { + "$ref": "#/components/schemas/ml._types:DatafeedConfig" + }, + "description": { + "type": "string" + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "job_type": { + "type": "string" + }, + "model_plot_config": { + "$ref": "#/components/schemas/ml._types:ModelPlotConfig" + }, + "model_snapshot_retention_days": { + "type": "number" + }, + "renormalization_window_days": { + "type": "number" + }, + "results_index_name": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "results_retention_days": { + "type": "number" + } + }, + "required": [ + "analysis_config", + "data_description" + ] + }, + "_types:HttpHeaders": { + "type": "object", + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + }, + "ml._types:AnalysisConfigRead": { + "type": "object", + "properties": { + "bucket_span": { + "$ref": "#/components/schemas/_types:Duration" + }, + "categorization_analyzer": { + "$ref": "#/components/schemas/ml._types:CategorizationAnalyzer" + }, + "categorization_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "categorization_filters": { + "description": "If `categorization_field_name` is specified, you can also define optional filters. This property expects an array of regular expressions. The expressions are used to filter out matching sequences from the categorization field values. You can use this functionality to fine tune the categorization by excluding sequences from consideration when categories are defined. For example, you can exclude SQL statements that appear in your log files. This property cannot be used at the same time as `categorization_analyzer`. If you only want to define simple regular expression filters that are applied prior to tokenization, setting this property is the easiest method. If you also want to customize the tokenizer or post-tokenization filtering, use the `categorization_analyzer` property instead and include the filters as pattern_replace character filters. The effect is exactly the same.", + "type": "array", + "items": { + "type": "string" + } + }, + "detectors": { + "description": "Detector configuration objects specify which data fields a job analyzes. They also specify which analytical functions are used. You can specify multiple detectors for a job. If the detectors array does not contain at least one detector, no analysis can occur and an error is returned.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DetectorRead" + } + }, + "influencers": { + "description": "A comma separated list of influencer field names. Typically these can be the by, over, or partition fields that are used in the detector configuration. You might also want to use a field name that is not specifically named in a detector, but is available as part of the input data. When you use multiple detectors, the use of influencers is recommended as it aggregates results for each influencer entity.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "model_prune_window": { + "$ref": "#/components/schemas/_types:Duration" + }, + "latency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "multivariate_by_fields": { + "description": "This functionality is reserved for internal use. It is not supported for use in customer environments and is not subject to the support SLA of official GA features. If set to `true`, the analysis will automatically find correlations between metrics for a given by field value and report anomalies when those correlations cease to hold. For example, suppose CPU and memory usage on host A is usually highly correlated with the same metrics on host B. Perhaps this correlation occurs because they are running a load-balanced application. If you enable this property, anomalies will be reported when, for example, CPU usage on host A is high and the value of CPU usage on host B is low. That is to say, you’ll see an anomaly when the CPU of host A is unusual given the CPU of host B. To use the `multivariate_by_fields` property, you must also specify `by_field_name` in your detector.", + "type": "boolean" + }, + "per_partition_categorization": { + "$ref": "#/components/schemas/ml._types:PerPartitionCategorization" + }, + "summary_count_field_name": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "bucket_span", + "detectors", + "influencers" + ] + }, + "ml._types:DetectorRead": { + "type": "object", + "properties": { + "by_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "custom_rules": { + "description": "Custom rules enable you to customize the way detectors operate. For example, a rule may dictate conditions under which results should be skipped. Kibana refers to custom rules as job rules.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DetectionRule" + } + }, + "detector_description": { + "description": "A description of the detector.", + "type": "string" + }, + "detector_index": { + "description": "A unique identifier for the detector. This identifier is based on the order of the detectors in the `analysis_config`, starting at zero. If you specify a value for this property, it is ignored.", + "type": "number" + }, + "exclude_frequent": { + "$ref": "#/components/schemas/ml._types:ExcludeFrequent" + }, + "field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "function": { + "description": "The analysis function that is used. For example, `count`, `rare`, `mean`, `min`, `max`, or `sum`.", + "type": "string" + }, + "over_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "partition_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "use_null": { + "description": "Defines whether a new series is used as the null series when there is no value for the by or partition fields.", + "type": "boolean" + } + }, + "required": [ + "function" + ] + }, + "ml.put_trained_model:Definition": { + "type": "object", + "properties": { + "preprocessors": { + "description": "Collection of preprocessors", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.put_trained_model:Preprocessor" + } + }, + "trained_model": { + "$ref": "#/components/schemas/ml.put_trained_model:TrainedModel" + } + }, + "required": [ + "trained_model" + ] + }, + "ml.put_trained_model:Preprocessor": { + "type": "object", + "properties": { + "frequency_encoding": { + "$ref": "#/components/schemas/ml.put_trained_model:FrequencyEncodingPreprocessor" + }, + "one_hot_encoding": { + "$ref": "#/components/schemas/ml.put_trained_model:OneHotEncodingPreprocessor" + }, + "target_mean_encoding": { + "$ref": "#/components/schemas/ml.put_trained_model:TargetMeanEncodingPreprocessor" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ml.put_trained_model:FrequencyEncodingPreprocessor": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "feature_name": { + "type": "string" + }, + "frequency_map": { + "type": "object", + "additionalProperties": { + "type": "number" + } + } + }, + "required": [ + "field", + "feature_name", + "frequency_map" + ] + }, + "ml.put_trained_model:OneHotEncodingPreprocessor": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "hot_map": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "field", + "hot_map" + ] + }, + "ml.put_trained_model:TargetMeanEncodingPreprocessor": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "feature_name": { + "type": "string" + }, + "target_map": { + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "default_value": { + "type": "number" + } + }, + "required": [ + "field", + "feature_name", + "target_map", + "default_value" + ] + }, + "ml.put_trained_model:TrainedModel": { + "type": "object", + "properties": { + "tree": { + "$ref": "#/components/schemas/ml.put_trained_model:TrainedModelTree" + }, + "tree_node": { + "$ref": "#/components/schemas/ml.put_trained_model:TrainedModelTreeNode" + }, + "ensemble": { + "$ref": "#/components/schemas/ml.put_trained_model:Ensemble" + } + } + }, + "ml.put_trained_model:TrainedModelTree": { + "type": "object", + "properties": { + "classification_labels": { + "type": "array", + "items": { + "type": "string" + } + }, + "feature_names": { + "type": "array", + "items": { + "type": "string" + } + }, + "target_type": { + "type": "string" + }, + "tree_structure": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.put_trained_model:TrainedModelTreeNode" + } + } + }, + "required": [ + "feature_names", + "tree_structure" + ] + }, + "ml.put_trained_model:TrainedModelTreeNode": { + "type": "object", + "properties": { + "decision_type": { + "type": "string" + }, + "default_left": { + "type": "boolean" + }, + "leaf_value": { + "type": "number" + }, + "left_child": { + "type": "number" + }, + "node_index": { + "type": "number" + }, + "right_child": { + "type": "number" + }, + "split_feature": { + "type": "number" + }, + "split_gain": { + "type": "number" + }, + "threshold": { + "type": "number" + } + }, + "required": [ + "node_index" + ] + }, + "ml.put_trained_model:Ensemble": { + "type": "object", + "properties": { + "aggregate_output": { + "$ref": "#/components/schemas/ml.put_trained_model:AggregateOutput" + }, + "classification_labels": { + "type": "array", + "items": { + "type": "string" + } + }, + "feature_names": { + "type": "array", + "items": { + "type": "string" + } + }, + "target_type": { + "type": "string" + }, + "trained_models": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.put_trained_model:TrainedModel" + } + } + }, + "required": [ + "trained_models" + ] + }, + "ml.put_trained_model:AggregateOutput": { + "type": "object", + "properties": { + "logistic_regression": { + "$ref": "#/components/schemas/ml.put_trained_model:Weights" + }, + "weighted_sum": { + "$ref": "#/components/schemas/ml.put_trained_model:Weights" + }, + "weighted_mode": { + "$ref": "#/components/schemas/ml.put_trained_model:Weights" + }, + "exponent": { + "$ref": "#/components/schemas/ml.put_trained_model:Weights" + } + } + }, + "ml.put_trained_model:Weights": { + "type": "object", + "properties": { + "weights": { + "type": "number" + } + }, + "required": [ + "weights" + ] + }, + "ml.put_trained_model:Input": { + "type": "object", + "properties": { + "field_names": { + "$ref": "#/components/schemas/_types:Names" + } + }, + "required": [ + "field_names" + ] + }, + "ml._types:TrainingPriority": { + "type": "string", + "enum": [ + "normal", + "low" + ] + }, + "ml._types:TrainedModelAssignment": { + "type": "object", + "properties": { + "assignment_state": { + "$ref": "#/components/schemas/ml._types:DeploymentAssignmentState" + }, + "max_assigned_allocations": { + "type": "number" + }, + "routing_table": { + "description": "The allocation state for each node.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ml._types:TrainedModelAssignmentRoutingTable" + } + }, + "start_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "task_parameters": { + "$ref": "#/components/schemas/ml._types:TrainedModelAssignmentTaskParameters" + } + }, + "required": [ + "assignment_state", + "routing_table", + "start_time", + "task_parameters" + ] + }, + "ml._types:DeploymentAssignmentState": { + "type": "string", + "enum": [ + "starting", + "started", + "stopping", + "failed" + ] + }, + "ml._types:TrainedModelAssignmentTaskParameters": { + "type": "object", + "properties": { + "model_bytes": { + "description": "The size of the trained model in bytes.", + "type": "number" + }, + "model_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "deployment_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "cache_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "number_of_allocations": { + "description": "The total number of allocations this model is assigned across ML nodes.", + "type": "number" + }, + "priority": { + "$ref": "#/components/schemas/ml._types:TrainingPriority" + }, + "queue_capacity": { + "description": "Number of inference requests are allowed in the queue at a time.", + "type": "number" + }, + "threads_per_allocation": { + "description": "Number of threads per allocation.", + "type": "number" + } + }, + "required": [ + "model_bytes", + "model_id", + "deployment_id", + "cache_size", + "number_of_allocations", + "priority", + "queue_capacity", + "threads_per_allocation" + ] + }, + "ml._types:AnalysisMemoryLimit": { + "type": "object", + "properties": { + "model_memory_limit": { + "description": "Limits can be applied for the resources required to hold the mathematical models in memory. These limits are approximate and can be set per job. They do not control the memory used by other processes, for example the Elasticsearch Java processes.", + "type": "string" + } + }, + "required": [ + "model_memory_limit" + ] + }, + "_global.msearch:MultiSearchResult": { + "type": "object", + "properties": { + "took": { + "type": "number" + }, + "responses": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.msearch:ResponseItem" + } + } + }, + "required": [ + "took", + "responses" + ] + }, + "_global.msearch_template:RequestItem": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.msearch:MultisearchHeader" + }, + { + "$ref": "#/components/schemas/_global.msearch_template:TemplateConfig" + } + ] + }, + "_global.msearch_template:TemplateConfig": { + "type": "object", + "properties": { + "explain": { + "type": "boolean" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "params": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "profile": { + "type": "boolean" + }, + "source": { + "description": "An inline search template. Supports the same parameters as the search API's\nrequest body. Also supports Mustache variables. If no id is specified, this\nparameter is required.", + "type": "string" + } + } + }, + "_global.mtermvectors:Operation": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "doc": { + "type": "object" + }, + "fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "field_statistics": { + "type": "boolean" + }, + "filter": { + "$ref": "#/components/schemas/_global.termvectors:Filter" + }, + "offsets": { + "type": "boolean" + }, + "payloads": { + "type": "boolean" + }, + "positions": { + "type": "boolean" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "term_statistics": { + "type": "boolean" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "version_type": { + "$ref": "#/components/schemas/_types:VersionType" + } + }, + "required": [ + "_id" + ] + }, + "_global.termvectors:Filter": { + "type": "object", + "properties": { + "max_doc_freq": { + "type": "number" + }, + "max_num_terms": { + "type": "number" + }, + "max_term_freq": { + "type": "number" + }, + "max_word_length": { + "type": "number" + }, + "min_doc_freq": { + "type": "number" + }, + "min_term_freq": { + "type": "number" + }, + "min_word_length": { + "type": "number" + } + } + }, + "_global.mtermvectors:TermVectorsResult": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "_version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "took": { + "type": "number" + }, + "found": { + "type": "boolean" + }, + "term_vectors": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.termvectors:TermVector" + } + }, + "error": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + }, + "required": [ + "_id", + "_index" + ] + }, + "_global.termvectors:TermVector": { + "type": "object", + "properties": { + "field_statistics": { + "$ref": "#/components/schemas/_global.termvectors:FieldStatistics" + }, + "terms": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.termvectors:Term" + } + } + }, + "required": [ + "field_statistics", + "terms" + ] + }, + "_global.termvectors:FieldStatistics": { + "type": "object", + "properties": { + "doc_count": { + "type": "number" + }, + "sum_doc_freq": { + "type": "number" + }, + "sum_ttf": { + "type": "number" + } + }, + "required": [ + "doc_count", + "sum_doc_freq", + "sum_ttf" + ] + }, + "_global.termvectors:Term": { + "type": "object", + "properties": { + "doc_freq": { + "type": "number" + }, + "score": { + "type": "number" + }, + "term_freq": { + "type": "number" + }, + "tokens": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.termvectors:Token" + } + }, + "ttf": { + "type": "number" + } + }, + "required": [ + "term_freq" + ] + }, + "_global.termvectors:Token": { + "type": "object", + "properties": { + "end_offset": { + "type": "number" + }, + "payload": { + "type": "string" + }, + "position": { + "type": "number" + }, + "start_offset": { + "type": "number" + } + }, + "required": [ + "position" + ] + }, + "nodes.clear_repositories_metering_archive:ResponseBase": { + "allOf": [ + { + "$ref": "#/components/schemas/nodes._types:NodesResponseBase" + }, + { + "type": "object", + "properties": { + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "nodes": { + "description": "Contains repositories metering information for the nodes selected by the request.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:RepositoryMeteringInformation" + } + } + }, + "required": [ + "cluster_name", + "nodes" + ] + } + ] + }, + "nodes._types:RepositoryMeteringInformation": { + "type": "object", + "properties": { + "repository_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "repository_type": { + "description": "Repository type.", + "type": "string" + }, + "repository_location": { + "$ref": "#/components/schemas/nodes._types:RepositoryLocation" + }, + "repository_ephemeral_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "repository_started_at": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "repository_stopped_at": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "archived": { + "description": "A flag that tells whether or not this object has been archived. When a repository is closed or updated the\nrepository metering information is archived and kept for a certain period of time. This allows retrieving the\nrepository metering information of previous repository instantiations.", + "type": "boolean" + }, + "cluster_version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "request_counts": { + "$ref": "#/components/schemas/nodes._types:RequestCounts" + } + }, + "required": [ + "repository_name", + "repository_type", + "repository_location", + "repository_ephemeral_id", + "repository_started_at", + "archived", + "request_counts" + ] + }, + "nodes._types:RepositoryLocation": { + "type": "object", + "properties": { + "base_path": { + "type": "string" + }, + "container": { + "description": "Container name (Azure)", + "type": "string" + }, + "bucket": { + "description": "Bucket name (GCP, S3)", + "type": "string" + } + }, + "required": [ + "base_path" + ] + }, + "nodes._types:RequestCounts": { + "type": "object", + "properties": { + "GetBlobProperties": { + "description": "Number of Get Blob Properties requests (Azure)", + "type": "number" + }, + "GetBlob": { + "description": "Number of Get Blob requests (Azure)", + "type": "number" + }, + "ListBlobs": { + "description": "Number of List Blobs requests (Azure)", + "type": "number" + }, + "PutBlob": { + "description": "Number of Put Blob requests (Azure)", + "type": "number" + }, + "PutBlock": { + "description": "Number of Put Block (Azure)", + "type": "number" + }, + "PutBlockList": { + "description": "Number of Put Block List requests", + "type": "number" + }, + "GetObject": { + "description": "Number of get object requests (GCP, S3)", + "type": "number" + }, + "ListObjects": { + "description": "Number of list objects requests (GCP, S3)", + "type": "number" + }, + "InsertObject": { + "description": "Number of insert object requests, including simple, multipart and resumable uploads. Resumable uploads\ncan perform multiple http requests to insert a single object but they are considered as a single request\nsince they are billed as an individual operation. (GCP)", + "type": "number" + }, + "PutObject": { + "description": "Number of PutObject requests (S3)", + "type": "number" + }, + "PutMultipartObject": { + "description": "Number of Multipart requests, including CreateMultipartUpload, UploadPart and CompleteMultipartUpload requests (S3)", + "type": "number" + } + } + }, + "nodes.get_repositories_metering_info:ResponseBase": { + "allOf": [ + { + "$ref": "#/components/schemas/nodes._types:NodesResponseBase" + }, + { + "type": "object", + "properties": { + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "nodes": { + "description": "Contains repositories metering information for the nodes selected by the request.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:RepositoryMeteringInformation" + } + } + }, + "required": [ + "cluster_name", + "nodes" + ] + } + ] + }, + "_types:ThreadType": { + "type": "string", + "enum": [ + "cpu", + "wait", + "block", + "gpu", + "mem" + ] + }, + "nodes.hot_threads:HotThread": { + "type": "object", + "properties": { + "hosts": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Host" + } + }, + "node_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "node_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "threads": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "hosts", + "node_id", + "node_name", + "threads" + ] + }, + "nodes.info:ResponseBase": { + "allOf": [ + { + "$ref": "#/components/schemas/nodes._types:NodesResponseBase" + }, + { + "type": "object", + "properties": { + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes.info:NodeInfo" + } + } + }, + "required": [ + "cluster_name", + "nodes" + ] + } + ] + }, + "nodes.info:NodeInfo": { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "build_flavor": { + "type": "string" + }, + "build_hash": { + "description": "Short hash of the last git commit in this release.", + "type": "string" + }, + "build_type": { + "type": "string" + }, + "host": { + "$ref": "#/components/schemas/_types:Host" + }, + "http": { + "$ref": "#/components/schemas/nodes.info:NodeInfoHttp" + }, + "ip": { + "$ref": "#/components/schemas/_types:Ip" + }, + "jvm": { + "$ref": "#/components/schemas/nodes.info:NodeJvmInfo" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "network": { + "$ref": "#/components/schemas/nodes.info:NodeInfoNetwork" + }, + "os": { + "$ref": "#/components/schemas/nodes.info:NodeOperatingSystemInfo" + }, + "plugins": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:PluginStats" + } + }, + "process": { + "$ref": "#/components/schemas/nodes.info:NodeProcessInfo" + }, + "roles": { + "$ref": "#/components/schemas/_types:NodeRoles" + }, + "settings": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSettings" + }, + "thread_pool": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes.info:NodeThreadPoolInfo" + } + }, + "total_indexing_buffer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indexing-buffer.html" + }, + "description": "Total heap allowed to be used to hold recently indexed documents before they must be written to disk. This size is a shared pool across all shards on this node, and is controlled by Indexing Buffer settings.", + "type": "number" + }, + "total_indexing_buffer_in_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "transport": { + "$ref": "#/components/schemas/nodes.info:NodeInfoTransport" + }, + "transport_address": { + "$ref": "#/components/schemas/_types:TransportAddress" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "modules": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:PluginStats" + } + }, + "ingest": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngest" + }, + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes.info:NodeInfoAggregation" + } + } + }, + "required": [ + "attributes", + "build_flavor", + "build_hash", + "build_type", + "host", + "ip", + "name", + "roles", + "transport_address", + "version" + ] + }, + "nodes.info:NodeInfoHttp": { + "type": "object", + "properties": { + "bound_address": { + "type": "array", + "items": { + "type": "string" + } + }, + "max_content_length": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "max_content_length_in_bytes": { + "type": "number" + }, + "publish_address": { + "type": "string" + } + }, + "required": [ + "bound_address", + "max_content_length_in_bytes", + "publish_address" + ] + }, + "nodes.info:NodeJvmInfo": { + "type": "object", + "properties": { + "gc_collectors": { + "type": "array", + "items": { + "type": "string" + } + }, + "mem": { + "$ref": "#/components/schemas/nodes.info:NodeInfoJvmMemory" + }, + "memory_pools": { + "type": "array", + "items": { + "type": "string" + } + }, + "pid": { + "type": "number" + }, + "start_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "vm_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "vm_vendor": { + "type": "string" + }, + "vm_version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "using_bundled_jdk": { + "type": "boolean" + }, + "using_compressed_ordinary_object_pointers": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] + }, + "input_arguments": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "gc_collectors", + "mem", + "memory_pools", + "pid", + "start_time_in_millis", + "version", + "vm_name", + "vm_vendor", + "vm_version", + "using_bundled_jdk", + "input_arguments" + ] + }, + "nodes.info:NodeInfoJvmMemory": { + "type": "object", + "properties": { + "direct_max": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "direct_max_in_bytes": { + "type": "number" + }, + "heap_init": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "heap_init_in_bytes": { + "type": "number" + }, + "heap_max": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "heap_max_in_bytes": { + "type": "number" + }, + "non_heap_init": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "non_heap_init_in_bytes": { + "type": "number" + }, + "non_heap_max": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "non_heap_max_in_bytes": { + "type": "number" + } + }, + "required": [ + "direct_max_in_bytes", + "heap_init_in_bytes", + "heap_max_in_bytes", + "non_heap_init_in_bytes", + "non_heap_max_in_bytes" + ] + }, + "nodes.info:NodeInfoNetwork": { + "type": "object", + "properties": { + "primary_interface": { + "$ref": "#/components/schemas/nodes.info:NodeInfoNetworkInterface" + }, + "refresh_interval": { + "type": "number" + } + }, + "required": [ + "primary_interface", + "refresh_interval" + ] + }, + "nodes.info:NodeInfoNetworkInterface": { + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "mac_address": { + "type": "string" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "address", + "mac_address", + "name" + ] + }, + "nodes.info:NodeOperatingSystemInfo": { + "type": "object", + "properties": { + "arch": { + "description": "Name of the JVM architecture (ex: amd64, x86)", + "type": "string" + }, + "available_processors": { + "description": "Number of processors available to the Java virtual machine", + "type": "number" + }, + "allocated_processors": { + "description": "The number of processors actually used to calculate thread pool size. This number can be set with the node.processors setting of a node and defaults to the number of processors reported by the OS.", + "type": "number" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "pretty_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "refresh_interval_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "cpu": { + "$ref": "#/components/schemas/nodes.info:NodeInfoOSCPU" + }, + "mem": { + "$ref": "#/components/schemas/nodes.info:NodeInfoMemory" + }, + "swap": { + "$ref": "#/components/schemas/nodes.info:NodeInfoMemory" + } + }, + "required": [ + "arch", + "available_processors", + "name", + "pretty_name", + "refresh_interval_in_millis", + "version" + ] + }, + "nodes.info:NodeInfoOSCPU": { + "type": "object", + "properties": { + "cache_size": { + "type": "string" + }, + "cache_size_in_bytes": { + "type": "number" + }, + "cores_per_socket": { + "type": "number" + }, + "mhz": { + "type": "number" + }, + "model": { + "type": "string" + }, + "total_cores": { + "type": "number" + }, + "total_sockets": { + "type": "number" + }, + "vendor": { + "type": "string" + } + }, + "required": [ + "cache_size", + "cache_size_in_bytes", + "cores_per_socket", + "mhz", + "model", + "total_cores", + "total_sockets", + "vendor" + ] + }, + "nodes.info:NodeInfoMemory": { + "type": "object", + "properties": { + "total": { + "type": "string" + }, + "total_in_bytes": { + "type": "number" + } + }, + "required": [ + "total", + "total_in_bytes" + ] + }, + "nodes.info:NodeProcessInfo": { + "type": "object", + "properties": { + "id": { + "description": "Process identifier (PID)", + "type": "number" + }, + "mlockall": { + "description": "Indicates if the process address space has been successfully locked in memory", + "type": "boolean" + }, + "refresh_interval_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "id", + "mlockall", + "refresh_interval_in_millis" + ] + }, + "nodes.info:NodeInfoSettings": { + "type": "object", + "properties": { + "cluster": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsCluster" + }, + "node": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsNode" + }, + "path": { + "$ref": "#/components/schemas/nodes.info:NodeInfoPath" + }, + "repositories": { + "$ref": "#/components/schemas/nodes.info:NodeInfoRepositories" + }, + "discovery": { + "$ref": "#/components/schemas/nodes.info:NodeInfoDiscover" + }, + "action": { + "$ref": "#/components/schemas/nodes.info:NodeInfoAction" + }, + "client": { + "$ref": "#/components/schemas/nodes.info:NodeInfoClient" + }, + "http": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsHttp" + }, + "bootstrap": { + "$ref": "#/components/schemas/nodes.info:NodeInfoBootstrap" + }, + "transport": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsTransport" + }, + "network": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsNetwork" + }, + "xpack": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpack" + }, + "script": { + "$ref": "#/components/schemas/nodes.info:NodeInfoScript" + }, + "search": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSearch" + }, + "ingest": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsIngest" + } + }, + "required": [ + "cluster", + "node", + "path", + "client", + "http", + "transport" + ] + }, + "nodes.info:NodeInfoSettingsCluster": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "routing": { + "$ref": "#/components/schemas/indices._types:IndexRouting" + }, + "election": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsClusterElection" + }, + "initial_master_nodes": { + "type": "string" + }, + "deprecation_indexing": { + "$ref": "#/components/schemas/nodes.info:DeprecationIndexing" + } + }, + "required": [ + "name", + "election" + ] + }, + "nodes.info:NodeInfoSettingsClusterElection": { + "type": "object", + "properties": { + "strategy": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "strategy" + ] + }, + "nodes.info:DeprecationIndexing": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "enabled" + ] + }, + "nodes.info:NodeInfoSettingsNode": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "attr": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "max_local_storage_nodes": { + "type": "string" + } + }, + "required": [ + "name", + "attr" + ] + }, + "nodes.info:NodeInfoPath": { + "type": "object", + "properties": { + "logs": { + "type": "string" + }, + "home": { + "type": "string" + }, + "repo": { + "type": "array", + "items": { + "type": "string" + } + }, + "data": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "logs", + "home", + "repo" + ] + }, + "nodes.info:NodeInfoRepositories": { + "type": "object", + "properties": { + "url": { + "$ref": "#/components/schemas/nodes.info:NodeInfoRepositoriesUrl" + } + }, + "required": [ + "url" + ] + }, + "nodes.info:NodeInfoRepositoriesUrl": { + "type": "object", + "properties": { + "allowed_urls": { + "type": "string" + } + }, + "required": [ + "allowed_urls" + ] + }, + "nodes.info:NodeInfoDiscover": { + "type": "object", + "properties": { + "seed_hosts": { + "type": "string" + } + }, + "required": [ + "seed_hosts" + ] + }, + "nodes.info:NodeInfoAction": { + "type": "object", + "properties": { + "destructive_requires_name": { + "type": "string" + } + }, + "required": [ + "destructive_requires_name" + ] + }, + "nodes.info:NodeInfoClient": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ] + }, + "nodes.info:NodeInfoSettingsHttp": { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsHttpType" + }, + "type.default": { + "type": "string" + }, + "compression": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] + }, + "port": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "type" + ] + }, + "nodes.info:NodeInfoSettingsHttpType": { + "type": "object", + "properties": { + "default": { + "type": "string" + } + }, + "required": [ + "default" + ] + }, + "nodes.info:NodeInfoBootstrap": { + "type": "object", + "properties": { + "memory_lock": { + "type": "string" + } + }, + "required": [ + "memory_lock" + ] + }, + "nodes.info:NodeInfoSettingsTransport": { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsTransportType" + }, + "type.default": { + "type": "string" + }, + "features": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsTransportFeatures" + } + }, + "required": [ + "type" + ] + }, + "nodes.info:NodeInfoSettingsTransportType": { + "type": "object", + "properties": { + "default": { + "type": "string" + } + }, + "required": [ + "default" + ] + }, + "nodes.info:NodeInfoSettingsTransportFeatures": { + "type": "object", + "properties": { + "x-pack": { + "type": "string" + } + }, + "required": [ + "x-pack" + ] + }, + "nodes.info:NodeInfoSettingsNetwork": { + "type": "object", + "properties": { + "host": { + "$ref": "#/components/schemas/_types:Host" + } + }, + "required": [ + "host" + ] + }, + "nodes.info:NodeInfoXpack": { + "type": "object", + "properties": { + "license": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpackLicense" + }, + "security": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurity" + }, + "notification": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "required": [ + "security" + ] + }, + "nodes.info:NodeInfoXpackLicense": { + "type": "object", + "properties": { + "self_generated": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpackLicenseType" + } + }, + "required": [ + "self_generated" + ] + }, + "nodes.info:NodeInfoXpackLicenseType": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ] + }, + "nodes.info:NodeInfoXpackSecurity": { + "type": "object", + "properties": { + "http": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecuritySsl" + }, + "enabled": { + "type": "string" + }, + "transport": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecuritySsl" + }, + "authc": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthc" + } + }, + "required": [ + "http", + "enabled" + ] + }, + "nodes.info:NodeInfoXpackSecuritySsl": { + "type": "object", + "properties": { + "ssl": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "ssl" + ] + }, + "nodes.info:NodeInfoXpackSecurityAuthc": { + "type": "object", + "properties": { + "realms": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthcRealms" + }, + "token": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthcToken" + } + }, + "required": [ + "realms", + "token" + ] + }, + "nodes.info:NodeInfoXpackSecurityAuthcRealms": { + "type": "object", + "properties": { + "file": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthcRealmsStatus" + } + }, + "native": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthcRealmsStatus" + } + }, + "pki": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthcRealmsStatus" + } + } + } + }, + "nodes.info:NodeInfoXpackSecurityAuthcRealmsStatus": { + "type": "object", + "properties": { + "enabled": { + "type": "string" + }, + "order": { + "type": "string" + } + }, + "required": [ + "order" + ] + }, + "nodes.info:NodeInfoXpackSecurityAuthcToken": { + "type": "object", + "properties": { + "enabled": { + "type": "string" + } + }, + "required": [ + "enabled" + ] + }, + "nodes.info:NodeInfoScript": { + "type": "object", + "properties": { + "allowed_types": { + "type": "string" + }, + "disable_max_compilations_rate": { + "type": "string" + } + }, + "required": [ + "allowed_types", + "disable_max_compilations_rate" + ] + }, + "nodes.info:NodeInfoSearch": { + "type": "object", + "properties": { + "remote": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSearchRemote" + } + }, + "required": [ + "remote" + ] + }, + "nodes.info:NodeInfoSearchRemote": { + "type": "object", + "properties": { + "connect": { + "type": "string" + } + }, + "required": [ + "connect" + ] + }, + "nodes.info:NodeInfoSettingsIngest": { + "type": "object", + "properties": { + "attachment": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "append": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "csv": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "convert": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "date": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "date_index_name": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "dot_expander": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "enrich": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "fail": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "foreach": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "json": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "user_agent": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "kv": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "geoip": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "grok": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "gsub": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "join": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "lowercase": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "remove": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "rename": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "script": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "set": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "sort": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "split": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "trim": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "uppercase": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "urldecode": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "bytes": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "dissect": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "set_security_user": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "pipeline": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "drop": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "circle": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "inference": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + } + } + }, + "nodes.info:NodeInfoIngestInfo": { + "type": "object", + "properties": { + "downloader": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestDownloader" + } + }, + "required": [ + "downloader" + ] + }, + "nodes.info:NodeInfoIngestDownloader": { + "type": "object", + "properties": { + "enabled": { + "type": "string" + } + }, + "required": [ + "enabled" + ] + }, + "nodes.info:NodeThreadPoolInfo": { + "type": "object", + "properties": { + "core": { + "type": "number" + }, + "keep_alive": { + "$ref": "#/components/schemas/_types:Duration" + }, + "max": { + "type": "number" + }, + "queue_size": { + "type": "number" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string" + } + }, + "required": [ + "queue_size", + "type" + ] + }, + "nodes.info:NodeInfoTransport": { + "type": "object", + "properties": { + "bound_address": { + "type": "array", + "items": { + "type": "string" + } + }, + "publish_address": { + "type": "string" + }, + "profiles": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "bound_address", + "publish_address", + "profiles" + ] + }, + "nodes.info:NodeInfoIngest": { + "type": "object", + "properties": { + "processors": { + "type": "array", + "items": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestProcessor" + } + } + }, + "required": [ + "processors" + ] + }, + "nodes.info:NodeInfoIngestProcessor": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ] + }, + "nodes.info:NodeInfoAggregation": { + "type": "object", + "properties": { + "types": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "types" + ] + }, + "_types:Password": { + "type": "string" + }, + "nodes.reload_secure_settings:ResponseBase": { + "allOf": [ + { + "$ref": "#/components/schemas/nodes._types:NodesResponseBase" + }, + { + "type": "object", + "properties": { + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:NodeReloadResult" + } + } + }, + "required": [ + "cluster_name", + "nodes" + ] + } + ] + }, + "nodes._types:NodeReloadResult": { + "oneOf": [ + { + "$ref": "#/components/schemas/nodes._types:Stats" + }, + { + "$ref": "#/components/schemas/nodes._types:NodeReloadError" + } + ] + }, + "nodes._types:Stats": { + "type": "object", + "properties": { + "adaptive_selection": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:AdaptiveSelection" + } + }, + "breakers": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:Breaker" + } + }, + "fs": { + "$ref": "#/components/schemas/nodes._types:FileSystem" + }, + "host": { + "$ref": "#/components/schemas/_types:Host" + }, + "http": { + "$ref": "#/components/schemas/nodes._types:Http" + }, + "ingest": { + "$ref": "#/components/schemas/nodes._types:Ingest" + }, + "ip": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Ip" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Ip" + } + } + ] + }, + "jvm": { + "$ref": "#/components/schemas/nodes._types:Jvm" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "os": { + "$ref": "#/components/schemas/nodes._types:OperatingSystem" + }, + "process": { + "$ref": "#/components/schemas/nodes._types:Process" + }, + "roles": { + "$ref": "#/components/schemas/_types:NodeRoles" + }, + "script": { + "$ref": "#/components/schemas/nodes._types:Scripting" + }, + "script_cache": { + "type": "object", + "additionalProperties": { + "oneOf": [ + { + "$ref": "#/components/schemas/nodes._types:ScriptCache" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/nodes._types:ScriptCache" + } + } + ] + } + }, + "thread_pool": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:ThreadCount" + } + }, + "timestamp": { + "type": "number" + }, + "transport": { + "$ref": "#/components/schemas/nodes._types:Transport" + }, + "transport_address": { + "$ref": "#/components/schemas/_types:TransportAddress" + }, + "attributes": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "discovery": { + "$ref": "#/components/schemas/nodes._types:Discovery" + }, + "indexing_pressure": { + "$ref": "#/components/schemas/nodes._types:IndexingPressure" + }, + "indices": { + "$ref": "#/components/schemas/indices.stats:ShardStats" + } + } + }, + "nodes._types:AdaptiveSelection": { + "type": "object", + "properties": { + "avg_queue_size": { + "type": "number" + }, + "avg_response_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "avg_response_time_ns": { + "type": "number" + }, + "avg_service_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "avg_service_time_ns": { + "type": "number" + }, + "outgoing_searches": { + "type": "number" + }, + "rank": { + "type": "string" + } + } + }, + "nodes._types:Breaker": { + "type": "object", + "properties": { + "estimated_size": { + "type": "string" + }, + "estimated_size_in_bytes": { + "type": "number" + }, + "limit_size": { + "type": "string" + }, + "limit_size_in_bytes": { + "type": "number" + }, + "overhead": { + "type": "number" + }, + "tripped": { + "type": "number" + } + } + }, + "nodes._types:FileSystem": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/nodes._types:DataPathStats" + } + }, + "timestamp": { + "type": "number" + }, + "total": { + "$ref": "#/components/schemas/nodes._types:FileSystemTotal" + }, + "io_stats": { + "$ref": "#/components/schemas/nodes._types:IoStats" + } + } + }, + "nodes._types:DataPathStats": { + "type": "object", + "properties": { + "available": { + "type": "string" + }, + "available_in_bytes": { + "type": "number" + }, + "disk_queue": { + "type": "string" + }, + "disk_reads": { + "type": "number" + }, + "disk_read_size": { + "type": "string" + }, + "disk_read_size_in_bytes": { + "type": "number" + }, + "disk_writes": { + "type": "number" + }, + "disk_write_size": { + "type": "string" + }, + "disk_write_size_in_bytes": { + "type": "number" + }, + "free": { + "type": "string" + }, + "free_in_bytes": { + "type": "number" + }, + "mount": { + "type": "string" + }, + "path": { + "type": "string" + }, + "total": { + "type": "string" + }, + "total_in_bytes": { + "type": "number" + }, + "type": { + "type": "string" + } + } + }, + "nodes._types:FileSystemTotal": { + "type": "object", + "properties": { + "available": { + "type": "string" + }, + "available_in_bytes": { + "type": "number" + }, + "free": { + "type": "string" + }, + "free_in_bytes": { + "type": "number" + }, + "total": { + "type": "string" + }, + "total_in_bytes": { + "type": "number" + } + } + }, + "nodes._types:IoStats": { + "type": "object", + "properties": { + "devices": { + "type": "array", + "items": { + "$ref": "#/components/schemas/nodes._types:IoStatDevice" + } + }, + "total": { + "$ref": "#/components/schemas/nodes._types:IoStatDevice" + } + } + }, + "nodes._types:IoStatDevice": { + "type": "object", + "properties": { + "device_name": { + "type": "string" + }, + "operations": { + "type": "number" + }, + "read_kilobytes": { + "type": "number" + }, + "read_operations": { + "type": "number" + }, + "write_kilobytes": { + "type": "number" + }, + "write_operations": { + "type": "number" + } + } + }, + "nodes._types:Jvm": { + "type": "object", + "properties": { + "buffer_pools": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:NodeBufferPool" + } + }, + "classes": { + "$ref": "#/components/schemas/nodes._types:JvmClasses" + }, + "gc": { + "$ref": "#/components/schemas/nodes._types:GarbageCollector" + }, + "mem": { + "$ref": "#/components/schemas/nodes._types:JvmMemoryStats" + }, + "threads": { + "$ref": "#/components/schemas/nodes._types:JvmThreads" + }, + "timestamp": { + "type": "number" + }, + "uptime": { + "type": "string" + }, + "uptime_in_millis": { + "type": "number" + } + } + }, + "nodes._types:NodeBufferPool": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "total_capacity": { + "type": "string" + }, + "total_capacity_in_bytes": { + "type": "number" + }, + "used": { + "type": "string" + }, + "used_in_bytes": { + "type": "number" + } + } + }, + "nodes._types:JvmClasses": { + "type": "object", + "properties": { + "current_loaded_count": { + "type": "number" + }, + "total_loaded_count": { + "type": "number" + }, + "total_unloaded_count": { + "type": "number" + } + } + }, + "nodes._types:GarbageCollector": { + "type": "object", + "properties": { + "collectors": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:GarbageCollectorTotal" + } + } + } + }, + "nodes._types:GarbageCollectorTotal": { + "type": "object", + "properties": { + "collection_count": { + "type": "number" + }, + "collection_time": { + "type": "string" + }, + "collection_time_in_millis": { + "type": "number" + } + } + }, + "nodes._types:JvmMemoryStats": { + "type": "object", + "properties": { + "heap_used_in_bytes": { + "type": "number" + }, + "heap_used_percent": { + "type": "number" + }, + "heap_committed_in_bytes": { + "type": "number" + }, + "heap_max_in_bytes": { + "type": "number" + }, + "non_heap_used_in_bytes": { + "type": "number" + }, + "non_heap_committed_in_bytes": { + "type": "number" + }, + "pools": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:Pool" + } + } + } + }, + "nodes._types:Pool": { + "type": "object", + "properties": { + "used_in_bytes": { + "type": "number" + }, + "max_in_bytes": { + "type": "number" + }, + "peak_used_in_bytes": { + "type": "number" + }, + "peak_max_in_bytes": { + "type": "number" + } + } + }, + "nodes._types:JvmThreads": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "peak_count": { + "type": "number" + } + } + }, + "nodes._types:OperatingSystem": { + "type": "object", + "properties": { + "cpu": { + "$ref": "#/components/schemas/nodes._types:Cpu" + }, + "mem": { + "$ref": "#/components/schemas/nodes._types:ExtendedMemoryStats" + }, + "swap": { + "$ref": "#/components/schemas/nodes._types:MemoryStats" + }, + "cgroup": { + "$ref": "#/components/schemas/nodes._types:Cgroup" + }, + "timestamp": { + "type": "number" + } + } + }, + "nodes._types:Cpu": { + "type": "object", + "properties": { + "percent": { + "type": "number" + }, + "sys": { + "$ref": "#/components/schemas/_types:Duration" + }, + "sys_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "user": { + "$ref": "#/components/schemas/_types:Duration" + }, + "user_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "load_average": { + "type": "object", + "additionalProperties": { + "type": "number" + } + } + } + }, + "nodes._types:ExtendedMemoryStats": { + "allOf": [ + { + "$ref": "#/components/schemas/nodes._types:MemoryStats" + }, + { + "type": "object", + "properties": { + "free_percent": { + "type": "number" + }, + "used_percent": { + "type": "number" + } + } + } + ] + }, + "nodes._types:MemoryStats": { + "type": "object", + "properties": { + "adjusted_total_in_bytes": { + "type": "number" + }, + "resident": { + "type": "string" + }, + "resident_in_bytes": { + "type": "number" + }, + "share": { + "type": "string" + }, + "share_in_bytes": { + "type": "number" + }, + "total_virtual": { + "type": "string" + }, + "total_virtual_in_bytes": { + "type": "number" + }, + "total_in_bytes": { + "type": "number" + }, + "free_in_bytes": { + "type": "number" + }, + "used_in_bytes": { + "type": "number" + } + } + }, + "nodes._types:Cgroup": { + "type": "object", + "properties": { + "cpuacct": { + "$ref": "#/components/schemas/nodes._types:CpuAcct" + }, + "cpu": { + "$ref": "#/components/schemas/nodes._types:CgroupCpu" + }, + "memory": { + "$ref": "#/components/schemas/nodes._types:CgroupMemory" + } + } + }, + "nodes._types:CpuAcct": { + "type": "object", + "properties": { + "control_group": { + "type": "string" + }, + "usage_nanos": { + "$ref": "#/components/schemas/_types:DurationValueUnitNanos" + } + } + }, + "nodes._types:CgroupCpu": { + "type": "object", + "properties": { + "control_group": { + "type": "string" + }, + "cfs_period_micros": { + "type": "number" + }, + "cfs_quota_micros": { + "type": "number" + }, + "stat": { + "$ref": "#/components/schemas/nodes._types:CgroupCpuStat" + } + } + }, + "nodes._types:CgroupCpuStat": { + "type": "object", + "properties": { + "number_of_elapsed_periods": { + "type": "number" + }, + "number_of_times_throttled": { + "type": "number" + }, + "time_throttled_nanos": { + "$ref": "#/components/schemas/_types:DurationValueUnitNanos" + } + } + }, + "nodes._types:CgroupMemory": { + "type": "object", + "properties": { + "control_group": { + "type": "string" + }, + "limit_in_bytes": { + "type": "string" + }, + "usage_in_bytes": { + "type": "string" + } + } + }, + "nodes._types:Process": { + "type": "object", + "properties": { + "cpu": { + "$ref": "#/components/schemas/nodes._types:Cpu" + }, + "mem": { + "$ref": "#/components/schemas/nodes._types:MemoryStats" + }, + "open_file_descriptors": { + "type": "number" + }, + "max_file_descriptors": { + "type": "number" + }, + "timestamp": { + "type": "number" + } + } + }, + "nodes._types:ScriptCache": { + "type": "object", + "properties": { + "cache_evictions": { + "type": "number" + }, + "compilation_limit_triggered": { + "type": "number" + }, + "compilations": { + "type": "number" + }, + "context": { + "type": "string" + } + } + }, + "nodes._types:Transport": { + "type": "object", + "properties": { + "inbound_handling_time_histogram": { + "type": "array", + "items": { + "$ref": "#/components/schemas/nodes._types:TransportHistogram" + } + }, + "outbound_handling_time_histogram": { + "type": "array", + "items": { + "$ref": "#/components/schemas/nodes._types:TransportHistogram" + } + }, + "rx_count": { + "type": "number" + }, + "rx_size": { + "type": "string" + }, + "rx_size_in_bytes": { + "type": "number" + }, + "server_open": { + "type": "number" + }, + "tx_count": { + "type": "number" + }, + "tx_size": { + "type": "string" + }, + "tx_size_in_bytes": { + "type": "number" + }, + "total_outbound_connections": { + "type": "number" + } + } + }, + "nodes._types:TransportHistogram": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "lt_millis": { + "type": "number" + }, + "ge_millis": { + "type": "number" + } + } + }, + "nodes._types:Discovery": { + "type": "object", + "properties": { + "cluster_state_queue": { + "$ref": "#/components/schemas/nodes._types:ClusterStateQueue" + }, + "published_cluster_states": { + "$ref": "#/components/schemas/nodes._types:PublishedClusterStates" + }, + "cluster_state_update": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:ClusterStateUpdate" + } + }, + "serialized_cluster_states": { + "$ref": "#/components/schemas/nodes._types:SerializedClusterState" + }, + "cluster_applier_stats": { + "$ref": "#/components/schemas/nodes._types:ClusterAppliedStats" + } + } + }, + "nodes._types:ClusterStateQueue": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "pending": { + "type": "number" + }, + "committed": { + "type": "number" + } + } + }, + "nodes._types:PublishedClusterStates": { + "type": "object", + "properties": { + "full_states": { + "type": "number" + }, + "incompatible_diffs": { + "type": "number" + }, + "compatible_diffs": { + "type": "number" + } + } + }, + "nodes._types:ClusterStateUpdate": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "computation_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "computation_time_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "publication_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "publication_time_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "context_construction_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "context_construction_time_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "commit_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "commit_time_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "completion_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "completion_time_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "master_apply_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "master_apply_time_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "notification_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "notification_time_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "count" + ] + }, + "nodes._types:SerializedClusterState": { + "type": "object", + "properties": { + "full_states": { + "$ref": "#/components/schemas/nodes._types:SerializedClusterStateDetail" + }, + "diffs": { + "$ref": "#/components/schemas/nodes._types:SerializedClusterStateDetail" + } + } + }, + "nodes._types:SerializedClusterStateDetail": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "uncompressed_size": { + "type": "string" + }, + "uncompressed_size_in_bytes": { + "type": "number" + }, + "compressed_size": { + "type": "string" + }, + "compressed_size_in_bytes": { + "type": "number" + } + } + }, + "nodes._types:ClusterAppliedStats": { + "type": "object", + "properties": { + "recordings": { + "type": "array", + "items": { + "$ref": "#/components/schemas/nodes._types:Recording" + } + } + } + }, + "nodes._types:Recording": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "cumulative_execution_count": { + "type": "number" + }, + "cumulative_execution_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "cumulative_execution_time_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + } + }, + "nodes._types:IndexingPressure": { + "type": "object", + "properties": { + "memory": { + "$ref": "#/components/schemas/nodes._types:IndexingPressureMemory" + } + } + }, + "nodes._types:IndexingPressureMemory": { + "type": "object", + "properties": { + "limit": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "limit_in_bytes": { + "type": "number" + }, + "current": { + "$ref": "#/components/schemas/nodes._types:PressureMemory" + }, + "total": { + "$ref": "#/components/schemas/nodes._types:PressureMemory" + } + } + }, + "nodes._types:PressureMemory": { + "type": "object", + "properties": { + "all": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "all_in_bytes": { + "type": "number" + }, + "combined_coordinating_and_primary": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "combined_coordinating_and_primary_in_bytes": { + "type": "number" + }, + "coordinating": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "coordinating_in_bytes": { + "type": "number" + }, + "primary": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "primary_in_bytes": { + "type": "number" + }, + "replica": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "replica_in_bytes": { + "type": "number" + }, + "coordinating_rejections": { + "type": "number" + }, + "primary_rejections": { + "type": "number" + }, + "replica_rejections": { + "type": "number" + } + } + }, + "nodes._types:NodeReloadError": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "reload_exception": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + }, + "required": [ + "name" + ] + }, + "nodes.stats:ResponseBase": { + "allOf": [ + { + "$ref": "#/components/schemas/nodes._types:NodesResponseBase" + }, + { + "type": "object", + "properties": { + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:Stats" + } + } + }, + "required": [ + "nodes" + ] + } + ] + }, + "nodes.usage:ResponseBase": { + "allOf": [ + { + "$ref": "#/components/schemas/nodes._types:NodesResponseBase" + }, + { + "type": "object", + "properties": { + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes.usage:NodeUsage" + } + } + }, + "required": [ + "cluster_name", + "nodes" + ] + } + ] + }, + "nodes.usage:NodeUsage": { + "type": "object", + "properties": { + "rest_actions": { + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "since": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "aggregations": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "required": [ + "rest_actions", + "since", + "timestamp", + "aggregations" + ] + }, + "query_ruleset._types:QueryRuleset": { + "type": "object", + "properties": { + "ruleset_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "rules": { + "description": "Rules associated with the query ruleset", + "type": "array", + "items": { + "$ref": "#/components/schemas/query_ruleset._types:QueryRule" + } + } + }, + "required": [ + "ruleset_id", + "rules" + ] + }, + "query_ruleset._types:QueryRule": { + "type": "object", + "properties": { + "rule_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "type": { + "$ref": "#/components/schemas/query_ruleset._types:QueryRuleType" + }, + "criteria": { + "type": "array", + "items": { + "$ref": "#/components/schemas/query_ruleset._types:QueryRuleCriteria" + } + }, + "actions": { + "$ref": "#/components/schemas/query_ruleset._types:QueryRuleActions" + } + }, + "required": [ + "rule_id", + "type", + "criteria", + "actions" + ] + }, + "query_ruleset._types:QueryRuleType": { + "type": "string", + "enum": [ + "pinned" + ] + }, + "query_ruleset._types:QueryRuleCriteria": { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/query_ruleset._types:QueryRuleCriteriaType" + }, + "metadata": { + "type": "string" + }, + "values": { + "type": "array", + "items": { + "type": "object" + } + } + }, + "required": [ + "type", + "metadata" + ] + }, + "query_ruleset._types:QueryRuleCriteriaType": { + "type": "string", + "enum": [ + "global", + "exact", + "exact_fuzzy", + "prefix", + "suffix", + "contains", + "lt", + "lte", + "gt", + "gte" + ] + }, + "query_ruleset._types:QueryRuleActions": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "docs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:PinnedDoc" + } + } + } + }, + "query_ruleset.list:QueryRulesetListItem": { + "type": "object", + "properties": { + "ruleset_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "rules_count": { + "description": "The number of rules associated with this ruleset", + "type": "number" + } + }, + "required": [ + "ruleset_id", + "rules_count" + ] + }, + "_global.rank_eval:RankEvalRequestItem": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "request": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalQuery" + }, + "ratings": { + "description": "List of document ratings", + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.rank_eval:DocumentRating" + } + }, + "template_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "params": { + "description": "The search template parameters.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "required": [ + "id", + "ratings" + ] + }, + "_global.rank_eval:RankEvalQuery": { + "type": "object", + "properties": { + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "size": { + "type": "number" + } + }, + "required": [ + "query" + ] + }, + "_global.rank_eval:DocumentRating": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "rating": { + "description": "The document’s relevance with regard to this search request.", + "type": "number" + } + }, + "required": [ + "_id", + "_index", + "rating" + ] + }, + "_global.rank_eval:RankEvalMetric": { + "type": "object", + "properties": { + "precision": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricPrecision" + }, + "recall": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricRecall" + }, + "mean_reciprocal_rank": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricMeanReciprocalRank" + }, + "dcg": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricDiscountedCumulativeGain" + }, + "expected_reciprocal_rank": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricExpectedReciprocalRank" + } + } + }, + "_global.rank_eval:RankEvalMetricPrecision": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricRatingTreshold" + }, + { + "type": "object", + "properties": { + "ignore_unlabeled": { + "description": "Controls how unlabeled documents in the search results are counted. If set to true, unlabeled documents are ignored and neither count as relevant or irrelevant. Set to false (the default), they are treated as irrelevant.", + "type": "boolean" + } + } + } + ] + }, + "_global.rank_eval:RankEvalMetricRatingTreshold": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricBase" + }, + { + "type": "object", + "properties": { + "relevant_rating_threshold": { + "description": "Sets the rating threshold above which documents are considered to be \"relevant\".", + "type": "number" + } + } + } + ] + }, + "_global.rank_eval:RankEvalMetricBase": { + "type": "object", + "properties": { + "k": { + "description": "Sets the maximum number of documents retrieved per query. This value will act in place of the usual size parameter in the query.", + "type": "number" + } + } + }, + "_global.rank_eval:RankEvalMetricRecall": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricRatingTreshold" + }, + { + "type": "object" + } + ] + }, + "_global.rank_eval:RankEvalMetricMeanReciprocalRank": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricRatingTreshold" + }, + { + "type": "object" + } + ] + }, + "_global.rank_eval:RankEvalMetricDiscountedCumulativeGain": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricBase" + }, + { + "type": "object", + "properties": { + "normalize": { + "externalDocs": { + "url": "https://en.wikipedia.org/wiki/Discounted_cumulative_gain#Normalized_DCG" + }, + "description": "If set to true, this metric will calculate the Normalized DCG.", + "type": "boolean" + } + } + } + ] + }, + "_global.rank_eval:RankEvalMetricExpectedReciprocalRank": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricBase" + }, + { + "type": "object", + "properties": { + "maximum_relevance": { + "description": "The highest relevance grade used in the user-supplied relevance judgments.", + "type": "number" + } + }, + "required": [ + "maximum_relevance" + ] + } + ] + }, + "_global.rank_eval:RankEvalMetricDetail": { + "type": "object", + "properties": { + "metric_score": { + "description": "The metric_score in the details section shows the contribution of this query to the global quality metric score", + "type": "number" + }, + "unrated_docs": { + "description": "The unrated_docs section contains an _index and _id entry for each document in the search result for this query that didn’t have a ratings value. This can be used to ask the user to supply ratings for these documents", + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.rank_eval:UnratedDocument" + } + }, + "hits": { + "description": "The hits section shows a grouping of the search results with their supplied ratings", + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalHitItem" + } + }, + "metric_details": { + "description": "The metric_details give additional information about the calculated quality metric (e.g. how many of the retrieved documents were relevant). The content varies for each metric but allows for better interpretation of the results", + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": [ + "metric_score", + "unrated_docs", + "hits", + "metric_details" + ] + }, + "_global.rank_eval:UnratedDocument": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "required": [ + "_id", + "_index" + ] + }, + "_global.rank_eval:RankEvalHitItem": { + "type": "object", + "properties": { + "hit": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalHit" + }, + "rating": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + } + }, + "required": [ + "hit" + ] + }, + "_global.rank_eval:RankEvalHit": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "_score": { + "type": "number" + } + }, + "required": [ + "_id", + "_index", + "_score" + ] + }, + "_global.reindex:Destination": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "op_type": { + "$ref": "#/components/schemas/_types:OpType" + }, + "pipeline": { + "type": "string" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "version_type": { + "$ref": "#/components/schemas/_types:VersionType" + } + }, + "required": [ + "index" + ] + }, + "_global.reindex:Source": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:Indices" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "remote": { + "$ref": "#/components/schemas/_global.reindex:RemoteSource" + }, + "size": { + "type": "number" + }, + "slice": { + "$ref": "#/components/schemas/_types:SlicedScroll" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "_source": { + "$ref": "#/components/schemas/_types:Fields" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + } + }, + "required": [ + "index" + ] + }, + "_global.reindex:RemoteSource": { + "type": "object", + "properties": { + "connect_timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "headers": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "host": { + "$ref": "#/components/schemas/_types:Host" + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + }, + "password": { + "$ref": "#/components/schemas/_types:Password" + }, + "socket_timeout": { + "$ref": "#/components/schemas/_types:Duration" + } + }, + "required": [ + "host" + ] + }, + "_types:Username": { + "type": "string" + }, + "_global.reindex_rethrottle:ReindexNode": { + "allOf": [ + { + "$ref": "#/components/schemas/_spec_utils:BaseNode" + }, + { + "type": "object", + "properties": { + "tasks": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.reindex_rethrottle:ReindexTask" + } + } + }, + "required": [ + "tasks" + ] + } + ] + }, + "_global.reindex_rethrottle:ReindexTask": { + "type": "object", + "properties": { + "action": { + "type": "string" + }, + "cancellable": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "id": { + "type": "number" + }, + "node": { + "$ref": "#/components/schemas/_types:Name" + }, + "running_time_in_nanos": { + "$ref": "#/components/schemas/_types:DurationValueUnitNanos" + }, + "start_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "status": { + "$ref": "#/components/schemas/_global.reindex_rethrottle:ReindexStatus" + }, + "type": { + "type": "string" + }, + "headers": { + "$ref": "#/components/schemas/_types:HttpHeaders" + } + }, + "required": [ + "action", + "cancellable", + "description", + "id", + "node", + "running_time_in_nanos", + "start_time_in_millis", + "status", + "type", + "headers" + ] + }, + "_global.reindex_rethrottle:ReindexStatus": { + "type": "object", + "properties": { + "batches": { + "type": "number" + }, + "created": { + "type": "number" + }, + "deleted": { + "type": "number" + }, + "noops": { + "type": "number" + }, + "requests_per_second": { + "type": "number" + }, + "retries": { + "$ref": "#/components/schemas/_types:Retries" + }, + "throttled": { + "$ref": "#/components/schemas/_types:Duration" + }, + "throttled_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "throttled_until": { + "$ref": "#/components/schemas/_types:Duration" + }, + "throttled_until_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total": { + "type": "number" + }, + "updated": { + "type": "number" + }, + "version_conflicts": { + "type": "number" + } + }, + "required": [ + "batches", + "created", + "deleted", + "noops", + "requests_per_second", + "retries", + "throttled_millis", + "throttled_until_millis", + "total", + "updated", + "version_conflicts" + ] + }, + "_spec_utils:BaseNode": { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "host": { + "$ref": "#/components/schemas/_types:Host" + }, + "ip": { + "$ref": "#/components/schemas/_types:Ip" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "roles": { + "$ref": "#/components/schemas/_types:NodeRoles" + }, + "transport_address": { + "$ref": "#/components/schemas/_types:TransportAddress" + } + }, + "required": [ + "attributes", + "host", + "ip", + "name", + "transport_address" + ] + }, + "rollup.get_jobs:RollupJob": { + "type": "object", + "properties": { + "config": { + "$ref": "#/components/schemas/rollup.get_jobs:RollupJobConfiguration" + }, + "stats": { + "$ref": "#/components/schemas/rollup.get_jobs:RollupJobStats" + }, + "status": { + "$ref": "#/components/schemas/rollup.get_jobs:RollupJobStatus" + } + }, + "required": [ + "config", + "stats", + "status" + ] + }, + "rollup.get_jobs:RollupJobConfiguration": { + "type": "object", + "properties": { + "cron": { + "type": "string" + }, + "groups": { + "$ref": "#/components/schemas/rollup._types:Groupings" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "index_pattern": { + "type": "string" + }, + "metrics": { + "type": "array", + "items": { + "$ref": "#/components/schemas/rollup._types:FieldMetric" + } + }, + "page_size": { + "type": "number" + }, + "rollup_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "timeout": { + "$ref": "#/components/schemas/_types:Duration" + } + }, + "required": [ + "cron", + "groups", + "id", + "index_pattern", + "metrics", + "page_size", + "rollup_index", + "timeout" + ] + }, + "rollup._types:Groupings": { + "type": "object", + "properties": { + "date_histogram": { + "$ref": "#/components/schemas/rollup._types:DateHistogramGrouping" + }, + "histogram": { + "$ref": "#/components/schemas/rollup._types:HistogramGrouping" + }, + "terms": { + "$ref": "#/components/schemas/rollup._types:TermsGrouping" + } + } + }, + "rollup._types:DateHistogramGrouping": { + "type": "object", + "properties": { + "delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "format": { + "type": "string" + }, + "interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "calendar_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "fixed_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" + } + }, + "required": [ + "field" + ] + }, + "rollup._types:HistogramGrouping": { + "type": "object", + "properties": { + "fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "interval": { + "type": "number" + } + }, + "required": [ + "fields", + "interval" + ] + }, + "rollup._types:TermsGrouping": { + "type": "object", + "properties": { + "fields": { + "$ref": "#/components/schemas/_types:Fields" + } + }, + "required": [ + "fields" + ] + }, + "rollup._types:FieldMetric": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "metrics": { + "description": "An array of metrics to collect for the field. At least one metric must be configured.", + "type": "array", + "items": { + "$ref": "#/components/schemas/rollup._types:Metric" + } + } + }, + "required": [ + "field", + "metrics" + ] + }, + "rollup._types:Metric": { + "type": "string", + "enum": [ + "min", + "max", + "sum", + "avg", + "value_count" + ] + }, + "rollup.get_jobs:RollupJobStats": { + "type": "object", + "properties": { + "documents_processed": { + "type": "number" + }, + "index_failures": { + "type": "number" + }, + "index_time_in_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "index_total": { + "type": "number" + }, + "pages_processed": { + "type": "number" + }, + "rollups_indexed": { + "type": "number" + }, + "search_failures": { + "type": "number" + }, + "search_time_in_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "search_total": { + "type": "number" + }, + "trigger_count": { + "type": "number" + }, + "processing_time_in_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "processing_total": { + "type": "number" + } + }, + "required": [ + "documents_processed", + "index_failures", + "index_time_in_ms", + "index_total", + "pages_processed", + "rollups_indexed", + "search_failures", + "search_time_in_ms", + "search_total", + "trigger_count", + "processing_time_in_ms", + "processing_total" + ] + }, + "rollup.get_jobs:RollupJobStatus": { + "type": "object", + "properties": { + "current_position": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "job_state": { + "$ref": "#/components/schemas/rollup.get_jobs:IndexingJobState" + }, + "upgraded_doc_id": { + "type": "boolean" + } + }, + "required": [ + "job_state" + ] + }, + "rollup.get_jobs:IndexingJobState": { + "type": "string", + "enum": [ + "started", + "indexing", + "stopping", + "stopped", + "aborting" + ] + }, + "rollup.get_rollup_caps:RollupCapabilities": { + "type": "object", + "properties": { + "rollup_jobs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/rollup.get_rollup_caps:RollupCapabilitySummary" + } + } + }, + "required": [ + "rollup_jobs" + ] + }, + "rollup.get_rollup_caps:RollupCapabilitySummary": { + "type": "object", + "properties": { + "fields": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/rollup.get_rollup_caps:RollupFieldSummary" + } + } + }, + "index_pattern": { + "type": "string" + }, + "job_id": { + "type": "string" + }, + "rollup_index": { + "type": "string" + } + }, + "required": [ + "fields", + "index_pattern", + "job_id", + "rollup_index" + ] + }, + "rollup.get_rollup_caps:RollupFieldSummary": { + "type": "object", + "properties": { + "agg": { + "type": "string" + }, + "calendar_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" + } + }, + "required": [ + "agg" + ] + }, + "rollup.get_rollup_index_caps:IndexCapabilities": { + "type": "object", + "properties": { + "rollup_jobs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/rollup.get_rollup_index_caps:RollupJobSummary" + } + } + }, + "required": [ + "rollup_jobs" + ] + }, + "rollup.get_rollup_index_caps:RollupJobSummary": { + "type": "object", + "properties": { + "fields": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/rollup.get_rollup_index_caps:RollupJobSummaryField" + } + } + }, + "index_pattern": { + "type": "string" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "rollup_index": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "required": [ + "fields", + "index_pattern", + "job_id", + "rollup_index" + ] + }, + "rollup.get_rollup_index_caps:RollupJobSummaryField": { + "type": "object", + "properties": { + "agg": { + "type": "string" + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" + }, + "calendar_interval": { + "$ref": "#/components/schemas/_types:Duration" + } + }, + "required": [ + "agg" + ] + }, + "_global.scripts_painless_execute:PainlessContextSetup": { + "type": "object", + "properties": { + "document": { + "type": "object" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "required": [ + "document", + "index", + "query" + ] + }, + "_types:RankContainer": { + "type": "object", + "properties": { + "rrf": { + "$ref": "#/components/schemas/_types:RrfRank" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_types:RrfRank": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:RankBase" + }, + { + "type": "object", + "properties": { + "rank_constant": { + "description": "How much influence documents in individual result sets per query have over the final ranked result set", + "type": "number" + }, + "window_size": { + "description": "Size of the individual result sets per query", + "type": "number" + } + } + } + ] + }, + "_types:RankBase": { + "type": "object" + }, + "search_application._types:SearchApplication": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "indices": { + "description": "Indices that are part of the Search Application", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "updated_at_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "analytics_collection_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "template": { + "$ref": "#/components/schemas/search_application._types:SearchApplicationTemplate" + } + }, + "required": [ + "name", + "indices", + "updated_at_millis" + ] + }, + "search_application._types:SearchApplicationTemplate": { + "type": "object", + "properties": { + "script": { + "$ref": "#/components/schemas/_types:InlineScript" + } + }, + "required": [ + "script" + ] + }, + "search_application._types:AnalyticsCollection": { + "type": "object", + "properties": { + "event_data_stream": { + "$ref": "#/components/schemas/search_application._types:EventDataStream" + } + }, + "required": [ + "event_data_stream" + ] + }, + "search_application._types:EventDataStream": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "required": [ + "name" + ] + }, + "search_application.list:SearchApplicationListItem": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "indices": { + "description": "Indices that are part of the Search Application", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "updated_at_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "analytics_collection_name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "name", + "indices", + "updated_at_millis" + ] + }, + "search_application.put_behavioral_analytics:AnalyticsAcknowledgeResponseBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + }, + { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "name" + ] + } + ] + }, + "_global.search_mvt._types:ZoomLevel": { + "type": "number" + }, + "_global.search_mvt._types:Coordinate": { + "type": "number" + }, + "_global.search_mvt._types:GridAggregationType": { + "type": "string", + "enum": [ + "geotile", + "geohex" + ] + }, + "_global.search_mvt._types:GridType": { + "type": "string", + "enum": [ + "grid", + "point", + "centroid" + ] + }, + "_types:MapboxVectorTiles": { + "type": "object" + }, + "_types:NodeShard": { + "type": "object", + "properties": { + "state": { + "$ref": "#/components/schemas/indices.stats:ShardRoutingState" + }, + "primary": { + "type": "boolean" + }, + "node": { + "$ref": "#/components/schemas/_types:NodeName" + }, + "shard": { + "type": "number" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "allocation_id": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "recovery_source": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "unassigned_info": { + "$ref": "#/components/schemas/cluster.allocation_explain:UnassignedInformation" + }, + "relocating_node": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:NodeId" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "relocation_failure_info": { + "$ref": "#/components/schemas/_types:RelocationFailureInfo" + } + }, + "required": [ + "state", + "primary", + "shard", + "index" + ] + }, + "_types:RelocationFailureInfo": { + "type": "object", + "properties": { + "failed_attempts": { + "type": "number" + } + }, + "required": [ + "failed_attempts" + ] + }, + "_global.search_shards:ShardStoreIndex": { + "type": "object", + "properties": { + "aliases": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + }, + "searchable_snapshots.cache_stats:Node": { + "type": "object", + "properties": { + "shared_cache": { + "$ref": "#/components/schemas/searchable_snapshots.cache_stats:Shared" + } + }, + "required": [ + "shared_cache" + ] + }, + "searchable_snapshots.cache_stats:Shared": { + "type": "object", + "properties": { + "reads": { + "type": "number" + }, + "bytes_read_in_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "writes": { + "type": "number" + }, + "bytes_written_in_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "evictions": { + "type": "number" + }, + "num_regions": { + "type": "number" + }, + "size_in_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "region_size_in_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + } + }, + "required": [ + "reads", + "bytes_read_in_bytes", + "writes", + "bytes_written_in_bytes", + "evictions", + "num_regions", + "size_in_bytes", + "region_size_in_bytes" + ] + }, + "searchable_snapshots.mount:MountedSnapshot": { + "type": "object", + "properties": { + "snapshot": { + "$ref": "#/components/schemas/_types:Name" + }, + "indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + } + }, + "required": [ + "snapshot", + "indices", + "shards" + ] + }, + "searchable_snapshots._types:StatsLevel": { + "type": "string", + "enum": [ + "cluster", + "indices", + "shards" + ] + }, + "security._types:GrantType": { + "type": "string", + "enum": [ + "password", + "access_token" + ] + }, + "security._types:UserProfileWithMetadata": { + "allOf": [ + { + "$ref": "#/components/schemas/security._types:UserProfile" + }, + { + "type": "object", + "properties": { + "last_synchronized": { + "type": "number" + }, + "_doc": { + "$ref": "#/components/schemas/security._types:UserProfileHitMetadata" + } + }, + "required": [ + "last_synchronized", + "_doc" + ] + } + ] + }, + "security._types:UserProfileHitMetadata": { + "type": "object", + "properties": { + "_primary_term": { + "type": "number" + }, + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + } + }, + "required": [ + "_primary_term", + "_seq_no" + ] + }, + "security._types:UserProfile": { + "type": "object", + "properties": { + "uid": { + "$ref": "#/components/schemas/security._types:UserProfileId" + }, + "user": { + "$ref": "#/components/schemas/security._types:UserProfileUser" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "enabled": { + "type": "boolean" + } + }, + "required": [ + "uid", + "user", + "data", + "labels" + ] + }, + "security._types:UserProfileId": { + "type": "string" + }, + "security._types:UserProfileUser": { + "type": "object", + "properties": { + "email": { + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "full_name": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Name" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "realm_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "realm_domain": { + "$ref": "#/components/schemas/_types:Name" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + } + }, + "required": [ + "realm_name", + "roles", + "username" + ] + }, + "security._types:ApiKey": { + "type": "object", + "properties": { + "creation": { + "description": "Creation time for the API key in milliseconds.", + "type": "number" + }, + "expiration": { + "description": "Expiration time for the API key in milliseconds.", + "type": "number" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "invalidated": { + "description": "Invalidation status for the API key.\nIf the key has been invalidated, it has a value of `true`. Otherwise, it is `false`.", + "type": "boolean" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "realm": { + "description": "Realm name of the principal for which this API key was created.", + "type": "string" + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "role_descriptors": { + "description": "The role descriptors assigned to this API key when it was created or last updated.\nAn empty role descriptor means the API key inherits the owner user’s permissions.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:RoleDescriptor" + } + }, + "limited_by": { + "description": "The owner user’s permissions associated with the API key.\nIt is a point-in-time snapshot captured at creation and subsequent updates.\nAn API key’s effective permissions are an intersection of its assigned privileges and the owner user’s permissions.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:RoleDescriptor" + } + } + }, + "_sort": { + "$ref": "#/components/schemas/_types:SortResults" + } + }, + "required": [ + "id", + "name" + ] + }, + "security._types:RoleDescriptor": { + "type": "object", + "properties": { + "cluster": { + "description": "A list of cluster privileges. These privileges define the cluster level actions that API keys are able to execute.", + "type": "array", + "items": { + "type": "string" + } + }, + "indices": { + "description": "A list of indices permissions entries.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:IndicesPrivileges" + } + }, + "global": { + "description": "An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware. Support for global privileges is currently limited to the management of application privileges.", + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:GlobalPrivilege" + } + }, + { + "$ref": "#/components/schemas/security._types:GlobalPrivilege" + } + ] + }, + "applications": { + "description": "A list of application privilege entries", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:ApplicationPrivileges" + } + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "run_as": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/run-as-privilege.html" + }, + "description": "A list of users that the API keys can impersonate.", + "type": "array", + "items": { + "type": "string" + } + }, + "transient_metadata": { + "$ref": "#/components/schemas/security._types:TransientMetadataConfig" + } + } + }, + "security._types:IndicesPrivileges": { + "type": "object", + "properties": { + "field_security": { + "$ref": "#/components/schemas/security._types:FieldSecurity" + }, + "names": { + "$ref": "#/components/schemas/_types:Indices" + }, + "privileges": { + "description": "The index level privileges that owners of the role have on the specified indices.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:IndexPrivilege" + } + }, + "query": { + "$ref": "#/components/schemas/security._types:IndicesPrivilegesQuery" + }, + "allow_restricted_indices": { + "description": "Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`.", + "type": "boolean" + } + }, + "required": [ + "names", + "privileges" + ] + }, + "security._types:FieldSecurity": { + "type": "object", + "properties": { + "except": { + "$ref": "#/components/schemas/_types:Fields" + }, + "grant": { + "$ref": "#/components/schemas/_types:Fields" + } + } + }, + "security._types:IndexPrivilege": { + "type": "string", + "enum": [ + "none", + "all", + "auto_configure", + "create", + "create_doc", + "create_index", + "delete", + "delete_index", + "index", + "maintenance", + "manage", + "manage_follow_index", + "manage_ilm", + "manage_leader_index", + "monitor", + "read", + "read_cross_cluster", + "view_index_metadata", + "write" + ] + }, + "security._types:IndicesPrivilegesQuery": { + "description": "While creating or updating a role you can provide either a JSON structure or a string to the API.\nHowever, the response provided by Elasticsearch will only be string with a json-as-text content.\n\nSince this is embedded in `IndicesPrivileges`, the same structure is used for clarity in both contexts.", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + { + "$ref": "#/components/schemas/security._types:RoleTemplateQuery" + } + ] + }, + "security._types:RoleTemplateQuery": { + "type": "object", + "properties": { + "template": { + "$ref": "#/components/schemas/security._types:RoleTemplateScript" + } + } + }, + "security._types:RoleTemplateScript": { + "oneOf": [ + { + "$ref": "#/components/schemas/security._types:RoleTemplateInlineScript" + }, + { + "$ref": "#/components/schemas/_types:StoredScriptId" + } + ] + }, + "security._types:RoleTemplateInlineScript": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:ScriptBase" + }, + { + "type": "object", + "properties": { + "lang": { + "$ref": "#/components/schemas/_types:ScriptLanguage" + }, + "options": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "source": { + "$ref": "#/components/schemas/security._types:RoleTemplateInlineQuery" + } + }, + "required": [ + "source" + ] + } + ] + }, + "security._types:RoleTemplateInlineQuery": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + ] + }, + "security._types:GlobalPrivilege": { + "type": "object", + "properties": { + "application": { + "$ref": "#/components/schemas/security._types:ApplicationGlobalUserPrivileges" + } + }, + "required": [ + "application" + ] + }, + "security._types:ApplicationGlobalUserPrivileges": { + "type": "object", + "properties": { + "manage": { + "$ref": "#/components/schemas/security._types:ManageUserPrivileges" + } + }, + "required": [ + "manage" + ] + }, + "security._types:ManageUserPrivileges": { + "type": "object", + "properties": { + "applications": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "applications" + ] + }, + "security._types:ApplicationPrivileges": { + "type": "object", + "properties": { + "application": { + "description": "The name of the application to which this entry applies.", + "type": "string" + }, + "privileges": { + "description": "A list of strings, where each element is the name of an application privilege or action.", + "type": "array", + "items": { + "type": "string" + } + }, + "resources": { + "description": "A list resources to which the privileges are applied.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "application", + "privileges", + "resources" + ] + }, + "security._types:TransientMetadataConfig": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ] + }, + "security._types:RealmInfo": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name", + "type" + ] + }, + "security.authenticate:Token": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ] + }, + "security._types:ClusterNode": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "name" + ] + }, + "_types:Namespace": { + "type": "string" + }, + "_types:Service": { + "type": "string" + }, + "security.create_service_token:Token": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ] + }, + "security.delete_privileges:FoundStatus": { + "type": "object", + "properties": { + "found": { + "type": "boolean" + } + }, + "required": [ + "found" + ] + }, + "security.enroll_kibana:Token": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ] + }, + "security.put_privileges:Actions": { + "type": "object", + "properties": { + "actions": { + "type": "array", + "items": { + "type": "string" + } + }, + "application": { + "type": "string" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + } + }, + "required": [ + "actions" + ] + }, + "security.get_role:Role": { + "type": "object", + "properties": { + "cluster": { + "type": "array", + "items": { + "type": "string" + } + }, + "indices": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:IndicesPrivileges" + } + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "run_as": { + "type": "array", + "items": { + "type": "string" + } + }, + "transient_metadata": { + "$ref": "#/components/schemas/security._types:TransientMetadataConfig" + }, + "applications": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:ApplicationPrivileges" + } + }, + "role_templates": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security.get_role:RoleTemplate" + } + }, + "global": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": [ + "cluster", + "indices", + "metadata", + "run_as", + "transient_metadata", + "applications" + ] + }, + "security.get_role:RoleTemplate": { + "type": "object", + "properties": { + "format": { + "$ref": "#/components/schemas/security.get_role:TemplateFormat" + }, + "template": { + "$ref": "#/components/schemas/_types:Script" + } + }, + "required": [ + "template" + ] + }, + "security.get_role:TemplateFormat": { + "type": "string", + "enum": [ + "string", + "json" + ] + }, + "security._types:RoleMapping": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "rules": { + "$ref": "#/components/schemas/security._types:RoleMappingRule" + }, + "role_templates": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security.get_role:RoleTemplate" + } + } + }, + "required": [ + "enabled", + "metadata", + "roles", + "rules" + ] + }, + "security._types:RoleMappingRule": { + "type": "object", + "properties": { + "any": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:RoleMappingRule" + } + }, + "all": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:RoleMappingRule" + } + }, + "field": { + "$ref": "#/components/schemas/security._types:FieldRule" + }, + "except": { + "$ref": "#/components/schemas/security._types:RoleMappingRule" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "security._types:FieldRule": { + "type": "object", + "properties": { + "username": { + "$ref": "#/components/schemas/_types:Name" + }, + "dn": { + "$ref": "#/components/schemas/_types:Names" + }, + "groups": { + "$ref": "#/components/schemas/_types:Names" + }, + "metadata": { + "type": "object" + }, + "realm": { + "$ref": "#/components/schemas/security._types:Realm" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "security._types:Realm": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "name" + ] + }, + "security.get_service_accounts:RoleDescriptorWrapper": { + "type": "object", + "properties": { + "role_descriptor": { + "$ref": "#/components/schemas/security._types:RoleDescriptorRead" + } + }, + "required": [ + "role_descriptor" + ] + }, + "security._types:RoleDescriptorRead": { + "type": "object", + "properties": { + "cluster": { + "description": "A list of cluster privileges. These privileges define the cluster level actions that API keys are able to execute.", + "type": "array", + "items": { + "type": "string" + } + }, + "indices": { + "description": "A list of indices permissions entries.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:IndicesPrivileges" + } + }, + "global": { + "description": "An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware. Support for global privileges is currently limited to the management of application privileges.", + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:GlobalPrivilege" + } + }, + { + "$ref": "#/components/schemas/security._types:GlobalPrivilege" + } + ] + }, + "applications": { + "description": "A list of application privilege entries", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:ApplicationPrivileges" + } + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "run_as": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/run-as-privilege.html" + }, + "description": "A list of users that the API keys can impersonate.", + "type": "array", + "items": { + "type": "string" + } + }, + "transient_metadata": { + "$ref": "#/components/schemas/security._types:TransientMetadataConfig" + } + }, + "required": [ + "cluster", + "indices" + ] + }, + "security.get_service_credentials:NodesCredentials": { + "type": "object", + "properties": { + "_nodes": { + "$ref": "#/components/schemas/_types:NodeStatistics" + }, + "file_tokens": { + "description": "File-backed tokens collected from all nodes", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security.get_service_credentials:NodesCredentialsFileToken" + } + } + }, + "required": [ + "_nodes", + "file_tokens" + ] + }, + "security.get_service_credentials:NodesCredentialsFileToken": { + "type": "object", + "properties": { + "nodes": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "nodes" + ] + }, + "security.get_token:AccessTokenGrantType": { + "type": "string", + "enum": [ + "password", + "client_credentials", + "_kerberos", + "refresh_token" + ] + }, + "security.get_token:AuthenticatedUser": { + "allOf": [ + { + "$ref": "#/components/schemas/security._types:User" + }, + { + "type": "object", + "properties": { + "authentication_realm": { + "$ref": "#/components/schemas/security.get_token:UserRealm" + }, + "lookup_realm": { + "$ref": "#/components/schemas/security.get_token:UserRealm" + }, + "authentication_provider": { + "$ref": "#/components/schemas/security.get_token:AuthenticationProvider" + }, + "authentication_type": { + "type": "string" + } + }, + "required": [ + "authentication_realm", + "lookup_realm", + "authentication_type" + ] + } + ] + }, + "security.get_token:UserRealm": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name", + "type" + ] + }, + "security.get_token:AuthenticationProvider": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "type", + "name" + ] + }, + "security._types:User": { + "type": "object", + "properties": { + "email": { + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "full_name": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Name" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + }, + "enabled": { + "type": "boolean" + }, + "profile_uid": { + "$ref": "#/components/schemas/security._types:UserProfileId" + } + }, + "required": [ + "metadata", + "roles", + "username", + "enabled" + ] + }, + "security._types:UserIndicesPrivileges": { + "type": "object", + "properties": { + "field_security": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/field-and-document-access-control.html" + }, + "description": "The document fields that the owners of the role have read access to.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:FieldSecurity" + } + }, + "names": { + "$ref": "#/components/schemas/_types:Indices" + }, + "privileges": { + "description": "The index level privileges that owners of the role have on the specified indices.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:IndexPrivilege" + } + }, + "query": { + "description": "Search queries that define the documents the user has access to. A document within the specified indices must match these queries for it to be accessible by the owners of the role.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:IndicesPrivilegesQuery" + } + }, + "allow_restricted_indices": { + "description": "Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`.", + "type": "boolean" + } + }, + "required": [ + "names", + "privileges", + "allow_restricted_indices" + ] + }, + "security.get_user_profile:GetUserProfileErrors": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "details": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + } + }, + "required": [ + "count", + "details" + ] + }, + "security.grant_api_key:GrantApiKey": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "expiration": { + "$ref": "#/components/schemas/_types:DurationLarge" + }, + "role_descriptors": { + "description": "The role descriptors for this API key.\nThis parameter is optional.\nWhen it is not specified or is an empty array, the API key has a point in time snapshot of permissions of the specified user or access token.\nIf you supply role descriptors, the resultant permissions are an intersection of API keys permissions and the permissions of the user or access token.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:RoleDescriptor" + } + }, + { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:RoleDescriptor" + } + } + } + ] + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + } + }, + "required": [ + "name" + ] + }, + "security.grant_api_key:ApiKeyGrantType": { + "type": "string", + "enum": [ + "access_token", + "password" + ] + }, + "security.has_privileges:ApplicationPrivilegesCheck": { + "type": "object", + "properties": { + "application": { + "description": "The name of the application.", + "type": "string" + }, + "privileges": { + "description": "A list of the privileges that you want to check for the specified resources. May be either application privilege names, or the names of actions that are granted by those privileges", + "type": "array", + "items": { + "type": "string" + } + }, + "resources": { + "description": "A list of resource names against which the privileges should be checked", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "application", + "privileges", + "resources" + ] + }, + "security._types:ClusterPrivilege": { + "type": "string", + "enum": [ + "all", + "cancel_task", + "create_snapshot", + "grant_api_key", + "manage", + "manage_api_key", + "manage_ccr", + "manage_enrich", + "manage_ilm", + "manage_index_templates", + "manage_ingest_pipelines", + "manage_logstash_pipelines", + "manage_ml", + "manage_oidc", + "manage_own_api_key", + "manage_pipeline", + "manage_rollup", + "manage_saml", + "manage_security", + "manage_service_account", + "manage_slm", + "manage_token", + "manage_transform", + "manage_user_profile", + "manage_watcher", + "monitor", + "monitor_ml", + "monitor_rollup", + "monitor_snapshot", + "monitor_text_structure", + "monitor_transform", + "monitor_watcher", + "read_ccr", + "read_ilm", + "read_pipeline", + "read_slm", + "transport_client" + ] + }, + "security.has_privileges:IndexPrivilegesCheck": { + "type": "object", + "properties": { + "names": { + "$ref": "#/components/schemas/_types:Indices" + }, + "privileges": { + "description": "A list of the privileges that you want to check for the specified indices.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:IndexPrivilege" + } + }, + "allow_restricted_indices": { + "description": "This needs to be set to true (default is false) if using wildcards or regexps for patterns that cover restricted indices.\nImplicitly, restricted indices do not match index patterns because restricted indices usually have limited privileges and including them in pattern tests would render most such tests false.\nIf restricted indices are explicitly included in the names list, privileges will be checked against them regardless of the value of allow_restricted_indices.", + "type": "boolean" + } + }, + "required": [ + "names", + "privileges" + ] + }, + "security.has_privileges:ApplicationsPrivileges": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security.has_privileges:ResourcePrivileges" + } + }, + "security.has_privileges:ResourcePrivileges": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security.has_privileges:Privileges" + } + }, + "security.has_privileges:Privileges": { + "type": "object", + "additionalProperties": { + "type": "boolean" + } + }, + "security.has_privileges_user_profile:PrivilegesCheck": { + "type": "object", + "properties": { + "application": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security.has_privileges:ApplicationPrivilegesCheck" + } + }, + "cluster": { + "description": "A list of the cluster privileges that you want to check.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:ClusterPrivilege" + } + }, + "index": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security.has_privileges:IndexPrivilegesCheck" + } + } + } + }, + "security.has_privileges_user_profile:HasPrivilegesUserProfileErrors": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "details": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + } + }, + "required": [ + "count", + "details" + ] + }, + "security._types:CreatedStatus": { + "type": "object", + "properties": { + "created": { + "type": "boolean" + } + }, + "required": [ + "created" + ] + }, + "security.suggest_user_profiles:Hint": { + "type": "object", + "properties": { + "uids": { + "description": "A list of Profile UIDs to match against.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:UserProfileId" + } + }, + "labels": { + "description": "A single key-value pair to match against the labels section\nof a profile. A profile is considered matching if it matches\nat least one of the strings.", + "type": "object", + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + } + }, + "security.suggest_user_profiles:TotalUserProfiles": { + "type": "object", + "properties": { + "value": { + "type": "number" + }, + "relation": { + "$ref": "#/components/schemas/_types:RelationName" + } + }, + "required": [ + "value", + "relation" + ] + }, + "shutdown.get_node:NodeShutdownStatus": { + "type": "object", + "properties": { + "node_id": { + "$ref": "#/components/schemas/_types:NodeId" + }, + "type": { + "$ref": "#/components/schemas/shutdown.get_node:ShutdownType" + }, + "reason": { + "type": "string" + }, + "shutdown_startedmillis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "status": { + "$ref": "#/components/schemas/shutdown.get_node:ShutdownStatus" + }, + "shard_migration": { + "$ref": "#/components/schemas/shutdown.get_node:ShardMigrationStatus" + }, + "persistent_tasks": { + "$ref": "#/components/schemas/shutdown.get_node:PersistentTaskStatus" + }, + "plugins": { + "$ref": "#/components/schemas/shutdown.get_node:PluginsStatus" + } + }, + "required": [ + "node_id", + "type", + "reason", + "shutdown_startedmillis", + "status", + "shard_migration", + "persistent_tasks", + "plugins" + ] + }, + "shutdown.get_node:ShutdownType": { + "type": "string", + "enum": [ + "remove", + "restart" + ] + }, + "shutdown.get_node:ShutdownStatus": { + "type": "string", + "enum": [ + "not_started", + "in_progress", + "stalled", + "complete" + ] + }, + "shutdown.get_node:ShardMigrationStatus": { + "type": "object", + "properties": { + "status": { + "$ref": "#/components/schemas/shutdown.get_node:ShutdownStatus" + } + }, + "required": [ + "status" + ] + }, + "shutdown.get_node:PersistentTaskStatus": { + "type": "object", + "properties": { + "status": { + "$ref": "#/components/schemas/shutdown.get_node:ShutdownStatus" + } + }, + "required": [ + "status" + ] + }, + "shutdown.get_node:PluginsStatus": { + "type": "object", + "properties": { + "status": { + "$ref": "#/components/schemas/shutdown.get_node:ShutdownStatus" + } + }, + "required": [ + "status" + ] + }, + "shutdown._types:Type": { + "type": "string", + "enum": [ + "restart", + "remove", + "replace" + ] + }, + "slm._types:SnapshotLifecycle": { + "type": "object", + "properties": { + "in_progress": { + "$ref": "#/components/schemas/slm._types:InProgress" + }, + "last_failure": { + "$ref": "#/components/schemas/slm._types:Invocation" + }, + "last_success": { + "$ref": "#/components/schemas/slm._types:Invocation" + }, + "modified_date": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "modified_date_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "next_execution": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "next_execution_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "policy": { + "$ref": "#/components/schemas/slm._types:Policy" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "stats": { + "$ref": "#/components/schemas/slm._types:Statistics" + } + }, + "required": [ + "modified_date_millis", + "next_execution_millis", + "policy", + "version", + "stats" + ] + }, + "slm._types:InProgress": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "start_time_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "state": { + "type": "string" + }, + "uuid": { + "$ref": "#/components/schemas/_types:Uuid" + } + }, + "required": [ + "name", + "start_time_millis", + "state", + "uuid" + ] + }, + "slm._types:Invocation": { + "type": "object", + "properties": { + "snapshot_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "time": { + "$ref": "#/components/schemas/_types:DateTime" + } + }, + "required": [ + "snapshot_name", + "time" + ] + }, + "slm._types:Policy": { + "type": "object", + "properties": { + "config": { + "$ref": "#/components/schemas/slm._types:Configuration" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "repository": { + "type": "string" + }, + "retention": { + "$ref": "#/components/schemas/slm._types:Retention" + }, + "schedule": { + "$ref": "#/components/schemas/watcher._types:CronExpression" + } + }, + "required": [ + "name", + "repository", + "schedule" + ] + }, + "slm._types:Configuration": { + "type": "object", + "properties": { + "ignore_unavailable": { + "description": "If false, the snapshot fails if any data stream or index in indices is missing or closed. If true, the snapshot ignores missing or closed data streams and indices.", + "type": "boolean" + }, + "indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "include_global_state": { + "description": "If true, the current global state is included in the snapshot.", + "type": "boolean" + }, + "feature_states": { + "description": "A list of feature states to be included in this snapshot. A list of features available for inclusion in the snapshot and their descriptions be can be retrieved using the get features API.\nEach feature state includes one or more system indices containing data necessary for the function of that feature. Providing an empty array will include no feature states in the snapshot, regardless of the value of include_global_state. By default, all available feature states will be included in the snapshot if include_global_state is true, or no feature states if include_global_state is false.", + "type": "array", + "items": { + "type": "string" + } + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "partial": { + "description": "If false, the entire snapshot will fail if one or more indices included in the snapshot do not have all primary shards available.", + "type": "boolean" + } + } + }, + "slm._types:Retention": { + "type": "object", + "properties": { + "expire_after": { + "$ref": "#/components/schemas/_types:Duration" + }, + "max_count": { + "description": "Maximum number of snapshots to retain, even if the snapshots have not yet expired. If the number of snapshots in the repository exceeds this limit, the policy retains the most recent snapshots and deletes older snapshots.", + "type": "number" + }, + "min_count": { + "description": "Minimum number of snapshots to retain, even if the snapshots have expired.", + "type": "number" + } + }, + "required": [ + "expire_after", + "max_count", + "min_count" + ] + }, + "watcher._types:CronExpression": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/api-conventions.html#api-cron-expressions" + }, + "type": "string" + }, + "slm._types:Statistics": { + "type": "object", + "properties": { + "retention_deletion_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "retention_deletion_time_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "retention_failed": { + "type": "number" + }, + "retention_runs": { + "type": "number" + }, + "retention_timed_out": { + "type": "number" + }, + "policy": { + "$ref": "#/components/schemas/_types:Id" + }, + "total_snapshots_deleted": { + "type": "number" + }, + "total_snapshot_deletion_failures": { + "type": "number" + }, + "total_snapshots_failed": { + "type": "number" + }, + "total_snapshots_taken": { + "type": "number" + } + } + }, + "snapshot.cleanup_repository:CleanupRepositoryResults": { + "type": "object", + "properties": { + "deleted_blobs": { + "description": "Number of binary large objects (blobs) removed during cleanup.", + "type": "number" + }, + "deleted_bytes": { + "description": "Number of bytes freed by cleanup operations.", + "type": "number" + } + }, + "required": [ + "deleted_blobs", + "deleted_bytes" + ] + }, + "snapshot._types:SnapshotInfo": { + "type": "object", + "properties": { + "data_streams": { + "type": "array", + "items": { + "type": "string" + } + }, + "duration": { + "$ref": "#/components/schemas/_types:Duration" + }, + "duration_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "end_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "end_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/snapshot._types:SnapshotShardFailure" + } + }, + "include_global_state": { + "type": "boolean" + }, + "indices": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "index_details": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/snapshot._types:IndexDetails" + } + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "reason": { + "type": "string" + }, + "repository": { + "$ref": "#/components/schemas/_types:Name" + }, + "snapshot": { + "$ref": "#/components/schemas/_types:Name" + }, + "shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "start_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "start_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "state": { + "type": "string" + }, + "uuid": { + "$ref": "#/components/schemas/_types:Uuid" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "version_id": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "feature_states": { + "type": "array", + "items": { + "$ref": "#/components/schemas/snapshot._types:InfoFeatureState" + } + } + }, + "required": [ + "data_streams", + "snapshot", + "uuid" + ] + }, + "snapshot._types:SnapshotShardFailure": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "node_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "reason": { + "type": "string" + }, + "shard_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "status": { + "type": "string" + } + }, + "required": [ + "index", + "reason", + "shard_id", + "status" + ] + }, + "snapshot._types:IndexDetails": { + "type": "object", + "properties": { + "shard_count": { + "type": "number" + }, + "size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "size_in_bytes": { + "type": "number" + }, + "max_segments_per_shard": { + "type": "number" + } + }, + "required": [ + "shard_count", + "size_in_bytes", + "max_segments_per_shard" + ] + }, + "snapshot._types:InfoFeatureState": { + "type": "object", + "properties": { + "feature_name": { + "type": "string" + }, + "indices": { + "$ref": "#/components/schemas/_types:Indices" + } + }, + "required": [ + "feature_name", + "indices" + ] + }, + "snapshot._types:Repository": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "uuid": { + "$ref": "#/components/schemas/_types:Uuid" + }, + "settings": { + "$ref": "#/components/schemas/snapshot._types:RepositorySettings" + } + }, + "required": [ + "type", + "settings" + ] + }, + "snapshot._types:RepositorySettings": { + "type": "object", + "properties": { + "chunk_size": { + "type": "string" + }, + "compress": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "boolean" + } + ] + }, + "concurrent_streams": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "location": { + "type": "string" + }, + "read_only": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "location" + ] + }, + "snapshot._types:SnapshotSort": { + "type": "string", + "enum": [ + "start_time", + "duration", + "name", + "index_count", + "repository", + "shard_count", + "failed_shard_count" + ] + }, + "snapshot.get:SnapshotResponseItem": { + "type": "object", + "properties": { + "repository": { + "$ref": "#/components/schemas/_types:Name" + }, + "snapshots": { + "type": "array", + "items": { + "$ref": "#/components/schemas/snapshot._types:SnapshotInfo" + } + }, + "error": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + }, + "required": [ + "repository" + ] + }, + "snapshot.restore:SnapshotRestore": { + "type": "object", + "properties": { + "indices": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "snapshot": { + "type": "string" + }, + "shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + } + }, + "required": [ + "indices", + "snapshot", + "shards" + ] + }, + "snapshot._types:Status": { + "type": "object", + "properties": { + "include_global_state": { + "type": "boolean" + }, + "indices": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/snapshot._types:SnapshotIndexStats" + } + }, + "repository": { + "type": "string" + }, + "shards_stats": { + "$ref": "#/components/schemas/snapshot._types:ShardsStats" + }, + "snapshot": { + "type": "string" + }, + "state": { + "type": "string" + }, + "stats": { + "$ref": "#/components/schemas/snapshot._types:SnapshotStats" + }, + "uuid": { + "$ref": "#/components/schemas/_types:Uuid" + } + }, + "required": [ + "include_global_state", + "indices", + "repository", + "shards_stats", + "snapshot", + "state", + "stats", + "uuid" + ] + }, + "snapshot._types:SnapshotIndexStats": { + "type": "object", + "properties": { + "shards": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/snapshot._types:SnapshotShardsStatus" + } + }, + "shards_stats": { + "$ref": "#/components/schemas/snapshot._types:ShardsStats" + }, + "stats": { + "$ref": "#/components/schemas/snapshot._types:SnapshotStats" + } + }, + "required": [ + "shards", + "shards_stats", + "stats" + ] + }, + "snapshot._types:SnapshotShardsStatus": { + "type": "object", + "properties": { + "stage": { + "$ref": "#/components/schemas/snapshot._types:ShardsStatsStage" + }, + "stats": { + "$ref": "#/components/schemas/snapshot._types:ShardsStatsSummary" + } + }, + "required": [ + "stage", + "stats" + ] + }, + "snapshot._types:ShardsStatsStage": { + "type": "string", + "enum": [ + "DONE", + "FAILURE", + "FINALIZE", + "INIT", + "STARTED" + ] + }, + "snapshot._types:ShardsStatsSummary": { + "type": "object", + "properties": { + "incremental": { + "$ref": "#/components/schemas/snapshot._types:ShardsStatsSummaryItem" + }, + "total": { + "$ref": "#/components/schemas/snapshot._types:ShardsStatsSummaryItem" + }, + "start_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "incremental", + "total", + "start_time_in_millis", + "time_in_millis" + ] + }, + "snapshot._types:ShardsStatsSummaryItem": { + "type": "object", + "properties": { + "file_count": { + "type": "number" + }, + "size_in_bytes": { + "type": "number" + } + }, + "required": [ + "file_count", + "size_in_bytes" + ] + }, + "snapshot._types:ShardsStats": { + "type": "object", + "properties": { + "done": { + "type": "number" + }, + "failed": { + "type": "number" + }, + "finalizing": { + "type": "number" + }, + "initializing": { + "type": "number" + }, + "started": { + "type": "number" + }, + "total": { + "type": "number" + } + }, + "required": [ + "done", + "failed", + "finalizing", + "initializing", + "started", + "total" + ] + }, + "snapshot._types:SnapshotStats": { + "type": "object", + "properties": { + "incremental": { + "$ref": "#/components/schemas/snapshot._types:FileCountSnapshotStats" + }, + "start_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total": { + "$ref": "#/components/schemas/snapshot._types:FileCountSnapshotStats" + } + }, + "required": [ + "incremental", + "start_time_in_millis", + "time_in_millis", + "total" + ] + }, + "snapshot._types:FileCountSnapshotStats": { + "type": "object", + "properties": { + "file_count": { + "type": "number" + }, + "size_in_bytes": { + "type": "number" + } + }, + "required": [ + "file_count", + "size_in_bytes" + ] + }, + "snapshot.verify_repository:CompactNodeInfo": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "name" + ] + }, + "sql:Column": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name", + "type" + ] + }, + "sql:Row": { + "type": "array", + "items": { + "type": "object" + } + }, + "ssl.certificates:CertificateInformation": { + "type": "object", + "properties": { + "alias": { + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "expiry": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "format": { + "type": "string" + }, + "has_private_key": { + "type": "boolean" + }, + "issuer": { + "type": "string" + }, + "path": { + "type": "string" + }, + "serial_number": { + "type": "string" + }, + "subject_dn": { + "type": "string" + } + }, + "required": [ + "alias", + "expiry", + "format", + "has_private_key", + "path", + "serial_number", + "subject_dn" + ] + }, + "synonyms._types:SynonymsUpdateResult": { + "type": "object", + "properties": { + "result": { + "$ref": "#/components/schemas/_types:Result" + }, + "reload_analyzers_details": { + "$ref": "#/components/schemas/indices.reload_search_analyzers:ReloadResult" + } + }, + "required": [ + "result", + "reload_analyzers_details" + ] + }, + "synonyms._types:SynonymRuleRead": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "synonyms": { + "$ref": "#/components/schemas/synonyms._types:SynonymString" + } + }, + "required": [ + "id", + "synonyms" + ] + }, + "synonyms._types:SynonymString": { + "type": "string" + }, + "synonyms.get_synonyms_sets:SynonymsSetItem": { + "type": "object", + "properties": { + "synonyms_set": { + "$ref": "#/components/schemas/_types:Id" + }, + "count": { + "description": "Number of synonym rules that the synonym set contains", + "type": "number" + } + }, + "required": [ + "synonyms_set", + "count" + ] + }, + "synonyms._types:SynonymRule": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "synonyms": { + "$ref": "#/components/schemas/synonyms._types:SynonymString" + } + }, + "required": [ + "synonyms" + ] + }, + "tasks._types:GroupBy": { + "type": "string", + "enum": [ + "nodes", + "parents", + "none" + ] + }, + "text_structure.find_structure:FieldStat": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "cardinality": { + "type": "number" + }, + "top_hits": { + "type": "array", + "items": { + "$ref": "#/components/schemas/text_structure.find_structure:TopHit" + } + }, + "mean_value": { + "type": "number" + }, + "median_value": { + "type": "number" + }, + "max_value": { + "type": "number" + }, + "min_value": { + "type": "number" + }, + "earliest": { + "type": "string" + }, + "latest": { + "type": "string" + } + }, + "required": [ + "count", + "cardinality", + "top_hits" + ] + }, + "text_structure.find_structure:TopHit": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "value": { + "type": "object" + } + }, + "required": [ + "count", + "value" + ] + }, + "ingest._types:PipelineConfig": { + "type": "object", + "properties": { + "description": { + "description": "Description of the ingest pipeline.", + "type": "string" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "processors": { + "description": "Processors used to perform transformations on documents before indexing.\nProcessors run sequentially in the order specified.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest._types:ProcessorContainer" + } + } + }, + "required": [ + "processors" + ] + }, + "transform.get_transform:TransformSummary": { + "type": "object", + "properties": { + "authorization": { + "$ref": "#/components/schemas/ml._types:TransformAuthorization" + }, + "create_time": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "description": { + "description": "Free text description of the transform.", + "type": "string" + }, + "dest": { + "$ref": "#/components/schemas/_global.reindex:Destination" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "latest": { + "$ref": "#/components/schemas/transform._types:Latest" + }, + "pivot": { + "$ref": "#/components/schemas/transform._types:Pivot" + }, + "retention_policy": { + "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" + }, + "settings": { + "$ref": "#/components/schemas/transform._types:Settings" + }, + "source": { + "$ref": "#/components/schemas/transform._types:Source" + }, + "sync": { + "$ref": "#/components/schemas/transform._types:SyncContainer" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + } + }, + "required": [ + "dest", + "id", + "source" + ] + }, + "ml._types:TransformAuthorization": { + "type": "object", + "properties": { + "api_key": { + "$ref": "#/components/schemas/ml._types:ApiKeyAuthorization" + }, + "roles": { + "description": "If a user ID was used for the most recent update to the transform, its roles at the time of the update are listed in the response.", + "type": "array", + "items": { + "type": "string" + } + }, + "service_account": { + "description": "If a service account was used for the most recent update to the transform, the account name is listed in the response.", + "type": "string" + } + } + }, + "transform._types:Latest": { + "type": "object", + "properties": { + "sort": { + "$ref": "#/components/schemas/_types:Field" + }, + "unique_key": { + "description": "Specifies an array of one or more fields that are used to group the data.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + } + }, + "required": [ + "sort", + "unique_key" + ] + }, + "transform._types:Pivot": { + "type": "object", + "properties": { + "aggregations": { + "description": "Defines how to aggregate the grouped data. The following aggregations are currently supported: average, bucket\nscript, bucket selector, cardinality, filter, geo bounds, geo centroid, geo line, max, median absolute deviation,\nmin, missing, percentiles, rare terms, scripted metric, stats, sum, terms, top metrics, value count, weighted\naverage.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "group_by": { + "description": "Defines how to group the data. More than one grouping can be defined per pivot. The following groupings are\ncurrently supported: date histogram, geotile grid, histogram, terms.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/transform._types:PivotGroupByContainer" + } + } + } + }, + "transform._types:PivotGroupByContainer": { + "type": "object", + "properties": { + "date_histogram": { + "$ref": "#/components/schemas/_types.aggregations:DateHistogramAggregation" + }, + "geotile_grid": { + "$ref": "#/components/schemas/_types.aggregations:GeoTileGridAggregation" + }, + "histogram": { + "$ref": "#/components/schemas/_types.aggregations:HistogramAggregation" + }, + "terms": { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregation" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "transform._types:RetentionPolicyContainer": { + "type": "object", + "properties": { + "time": { + "$ref": "#/components/schemas/transform._types:RetentionPolicy" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "transform._types:RetentionPolicy": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "max_age": { + "$ref": "#/components/schemas/_types:Duration" + } + }, + "required": [ + "field", + "max_age" + ] + }, + "transform._types:Settings": { + "type": "object", + "properties": { + "align_checkpoints": { + "description": "Specifies whether the transform checkpoint ranges should be optimized for performance. Such optimization can align\ncheckpoint ranges with the date histogram interval when date histogram is specified as a group source in the\ntransform config. As a result, less document updates in the destination index will be performed thus improving\noverall performance.", + "type": "boolean" + }, + "dates_as_epoch_millis": { + "description": "Defines if dates in the ouput should be written as ISO formatted string or as millis since epoch. epoch_millis was\nthe default for transforms created before version 7.11. For compatible output set this value to `true`.", + "type": "boolean" + }, + "deduce_mappings": { + "description": "Specifies whether the transform should deduce the destination index mappings from the transform configuration.", + "type": "boolean" + }, + "docs_per_second": { + "description": "Specifies a limit on the number of input documents per second. This setting throttles the transform by adding a\nwait time between search requests. The default value is null, which disables throttling.", + "type": "number" + }, + "max_page_search_size": { + "description": "Defines the initial page size to use for the composite aggregation for each checkpoint. If circuit breaker\nexceptions occur, the page size is dynamically adjusted to a lower value. The minimum value is `10` and the\nmaximum is `65,536`.", + "type": "number" + }, + "unattended": { + "description": "If `true`, the transform runs in unattended mode. In unattended mode, the transform retries indefinitely in case\nof an error which means the transform never fails. Setting the number of retries other than infinite fails in\nvalidation.", + "type": "boolean" + } + } + }, + "transform._types:Source": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:Indices" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + } + }, + "required": [ + "index" + ] + }, + "transform._types:SyncContainer": { + "type": "object", + "properties": { + "time": { + "$ref": "#/components/schemas/transform._types:TimeSync" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "transform._types:TimeSync": { + "type": "object", + "properties": { + "delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + }, + "transform.get_transform_stats:TransformStats": { + "type": "object", + "properties": { + "checkpointing": { + "$ref": "#/components/schemas/transform.get_transform_stats:Checkpointing" + }, + "health": { + "$ref": "#/components/schemas/transform.get_transform_stats:TransformStatsHealth" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "node": { + "$ref": "#/components/schemas/_types:NodeAttributes" + }, + "reason": { + "type": "string" + }, + "state": { + "type": "string" + }, + "stats": { + "$ref": "#/components/schemas/transform.get_transform_stats:TransformIndexerStats" + } + }, + "required": [ + "checkpointing", + "id", + "state", + "stats" + ] + }, + "transform.get_transform_stats:Checkpointing": { + "type": "object", + "properties": { + "changes_last_detected_at": { + "type": "number" + }, + "changes_last_detected_at_date_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "last": { + "$ref": "#/components/schemas/transform.get_transform_stats:CheckpointStats" + }, + "next": { + "$ref": "#/components/schemas/transform.get_transform_stats:CheckpointStats" + }, + "operations_behind": { + "type": "number" + }, + "last_search_time": { + "type": "number" + } + }, + "required": [ + "last" + ] + }, + "transform.get_transform_stats:CheckpointStats": { + "type": "object", + "properties": { + "checkpoint": { + "type": "number" + }, + "checkpoint_progress": { + "$ref": "#/components/schemas/transform.get_transform_stats:TransformProgress" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "timestamp_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "time_upper_bound": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "time_upper_bound_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + } + }, + "required": [ + "checkpoint" + ] + }, + "transform.get_transform_stats:TransformProgress": { + "type": "object", + "properties": { + "docs_indexed": { + "type": "number" + }, + "docs_processed": { + "type": "number" + }, + "docs_remaining": { + "type": "number" + }, + "percent_complete": { + "type": "number" + }, + "total_docs": { + "type": "number" + } + }, + "required": [ + "docs_indexed", + "docs_processed", + "docs_remaining", + "percent_complete", + "total_docs" + ] + }, + "transform.get_transform_stats:TransformStatsHealth": { + "type": "object", + "properties": { + "status": { + "$ref": "#/components/schemas/_types:HealthStatus" + } + }, + "required": [ + "status" + ] + }, + "transform.get_transform_stats:TransformIndexerStats": { + "type": "object", + "properties": { + "delete_time_in_ms": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "documents_indexed": { + "type": "number" + }, + "documents_deleted": { + "type": "number" + }, + "documents_processed": { + "type": "number" + }, + "exponential_avg_checkpoint_duration_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + }, + "exponential_avg_documents_indexed": { + "type": "number" + }, + "exponential_avg_documents_processed": { + "type": "number" + }, + "index_failures": { + "type": "number" + }, + "index_time_in_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "index_total": { + "type": "number" + }, + "pages_processed": { + "type": "number" + }, + "processing_time_in_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "processing_total": { + "type": "number" + }, + "search_failures": { + "type": "number" + }, + "search_time_in_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "search_total": { + "type": "number" + }, + "trigger_count": { + "type": "number" + } + }, + "required": [ + "documents_indexed", + "documents_processed", + "exponential_avg_checkpoint_duration_ms", + "exponential_avg_documents_indexed", + "exponential_avg_documents_processed", + "index_failures", + "index_time_in_ms", + "index_total", + "pages_processed", + "processing_time_in_ms", + "processing_total", + "search_failures", + "search_time_in_ms", + "search_total", + "trigger_count" + ] + }, + "transform._types:Destination": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "pipeline": { + "description": "The unique identifier for an ingest pipeline.", + "type": "string" + } + } + }, + "_global.update:UpdateWriteResponseBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:WriteResponseBase" + }, + { + "type": "object", + "properties": { + "get": { + "$ref": "#/components/schemas/_types:InlineGet" + } + } + } + ] + }, + "_global.update_by_query_rethrottle:UpdateByQueryRethrottleNode": { + "allOf": [ + { + "$ref": "#/components/schemas/_spec_utils:BaseNode" + }, + { + "type": "object", + "properties": { + "tasks": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/tasks._types:TaskInfo" + } + } + }, + "required": [ + "tasks" + ] + } + ] + }, + "watcher._types:WatchStatus": { + "type": "object", + "properties": { + "actions": { + "$ref": "#/components/schemas/watcher._types:Actions" + }, + "last_checked": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "last_met_condition": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "state": { + "$ref": "#/components/schemas/watcher._types:ActivationState" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "execution_state": { + "type": "string" + } + }, + "required": [ + "actions", + "state", + "version" + ] + }, + "watcher._types:Actions": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/watcher._types:ActionStatus" + } + }, + "watcher._types:ActionStatus": { + "type": "object", + "properties": { + "ack": { + "$ref": "#/components/schemas/watcher._types:AcknowledgeState" + }, + "last_execution": { + "$ref": "#/components/schemas/watcher._types:ExecutionState" + }, + "last_successful_execution": { + "$ref": "#/components/schemas/watcher._types:ExecutionState" + }, + "last_throttle": { + "$ref": "#/components/schemas/watcher._types:ThrottleState" + } + }, + "required": [ + "ack" + ] + }, + "watcher._types:AcknowledgeState": { + "type": "object", + "properties": { + "state": { + "$ref": "#/components/schemas/watcher._types:AcknowledgementOptions" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:DateTime" + } + }, + "required": [ + "state", + "timestamp" + ] + }, + "watcher._types:AcknowledgementOptions": { + "type": "string", + "enum": [ + "awaits_successful_execution", + "ackable", + "acked" + ] + }, + "watcher._types:ExecutionState": { + "type": "object", + "properties": { + "successful": { + "type": "boolean" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "reason": { + "type": "string" + } + }, + "required": [ + "successful", + "timestamp" + ] + }, + "watcher._types:ThrottleState": { + "type": "object", + "properties": { + "reason": { + "type": "string" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:DateTime" + } + }, + "required": [ + "reason", + "timestamp" + ] + }, + "watcher._types:ActivationState": { + "type": "object", + "properties": { + "active": { + "type": "boolean" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:DateTime" + } + }, + "required": [ + "active", + "timestamp" + ] + }, + "watcher._types:ActivationStatus": { + "type": "object", + "properties": { + "actions": { + "$ref": "#/components/schemas/watcher._types:Actions" + }, + "state": { + "$ref": "#/components/schemas/watcher._types:ActivationState" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + } + }, + "required": [ + "actions", + "state", + "version" + ] + }, + "watcher._types:ActionExecutionMode": { + "type": "string", + "enum": [ + "simulate", + "force_simulate", + "execute", + "force_execute", + "skip" + ] + }, + "watcher._types:SimulatedActions": { + "type": "object", + "properties": { + "actions": { + "type": "array", + "items": { + "type": "string" + } + }, + "all": { + "$ref": "#/components/schemas/watcher._types:SimulatedActions" + }, + "use_all": { + "type": "boolean" + } + }, + "required": [ + "actions", + "all", + "use_all" + ] + }, + "watcher._types:ScheduleTriggerEvent": { + "type": "object", + "properties": { + "scheduled_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "triggered_time": { + "$ref": "#/components/schemas/_types:DateTime" + } + }, + "required": [ + "scheduled_time" + ] + }, + "watcher._types:Watch": { + "type": "object", + "properties": { + "actions": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/watcher._types:Action" + } + }, + "condition": { + "$ref": "#/components/schemas/watcher._types:ConditionContainer" + }, + "input": { + "$ref": "#/components/schemas/watcher._types:InputContainer" + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "status": { + "$ref": "#/components/schemas/watcher._types:WatchStatus" + }, + "throttle_period": { + "$ref": "#/components/schemas/_types:Duration" + }, + "throttle_period_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "transform": { + "$ref": "#/components/schemas/_types:TransformContainer" + }, + "trigger": { + "$ref": "#/components/schemas/watcher._types:TriggerContainer" + } + }, + "required": [ + "actions", + "condition", + "input", + "trigger" + ] + }, + "watcher._types:Action": { + "type": "object", + "properties": { + "action_type": { + "$ref": "#/components/schemas/watcher._types:ActionType" + }, + "condition": { + "$ref": "#/components/schemas/watcher._types:ConditionContainer" + }, + "foreach": { + "type": "string" + }, + "max_iterations": { + "type": "number" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "throttle_period": { + "$ref": "#/components/schemas/_types:Duration" + }, + "throttle_period_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "transform": { + "$ref": "#/components/schemas/_types:TransformContainer" + }, + "index": { + "$ref": "#/components/schemas/watcher._types:IndexAction" + }, + "logging": { + "$ref": "#/components/schemas/watcher._types:LoggingAction" + }, + "email": { + "$ref": "#/components/schemas/watcher._types:EmailAction" + }, + "pagerduty": { + "$ref": "#/components/schemas/watcher._types:PagerDutyAction" + }, + "slack": { + "$ref": "#/components/schemas/watcher._types:SlackAction" + }, + "webhook": { + "$ref": "#/components/schemas/watcher._types:WebhookAction" + } + } + }, + "watcher._types:ActionType": { + "type": "string", + "enum": [ + "email", + "webhook", + "index", + "logging", + "slack", + "pagerduty" + ] + }, + "watcher._types:ConditionContainer": { + "type": "object", + "properties": { + "always": { + "$ref": "#/components/schemas/watcher._types:AlwaysCondition" + }, + "array_compare": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/watcher._types:ArrayCompareCondition" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "compare": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:FieldValue" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "minProperties": 1, + "maxProperties": 1 + }, + "never": { + "$ref": "#/components/schemas/watcher._types:NeverCondition" + }, + "script": { + "$ref": "#/components/schemas/watcher._types:ScriptCondition" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "watcher._types:AlwaysCondition": { + "type": "object" + }, + "watcher._types:ArrayCompareCondition": { + "type": "object", + "properties": { + "path": { + "type": "string" + } + }, + "required": [ + "path" + ] + }, + "watcher._types:NeverCondition": { + "type": "object" + }, + "watcher._types:ScriptCondition": { + "type": "object", + "properties": { + "lang": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "source": { + "type": "string" + }, + "id": { + "type": "string" + } + } + }, + "_types:TransformContainer": { + "type": "object", + "properties": { + "chain": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:TransformContainer" + } + }, + "script": { + "$ref": "#/components/schemas/_types:ScriptTransform" + }, + "search": { + "$ref": "#/components/schemas/_types:SearchTransform" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_types:ScriptTransform": { + "type": "object", + "properties": { + "lang": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "source": { + "type": "string" + }, + "id": { + "type": "string" + } + } + }, + "_types:SearchTransform": { + "type": "object", + "properties": { + "request": { + "$ref": "#/components/schemas/watcher._types:SearchInputRequestDefinition" + }, + "timeout": { + "$ref": "#/components/schemas/_types:Duration" + } + }, + "required": [ + "request", + "timeout" + ] + }, + "watcher._types:SearchInputRequestDefinition": { + "type": "object", + "properties": { + "body": { + "$ref": "#/components/schemas/watcher._types:SearchInputRequestBody" + }, + "indices": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "indices_options": { + "$ref": "#/components/schemas/_types:IndicesOptions" + }, + "search_type": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "template": { + "$ref": "#/components/schemas/watcher._types:SearchTemplateRequestBody" + }, + "rest_total_hits_as_int": { + "type": "boolean" + } + } + }, + "watcher._types:SearchInputRequestBody": { + "type": "object", + "properties": { + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "required": [ + "query" + ] + }, + "watcher._types:SearchTemplateRequestBody": { + "type": "object", + "properties": { + "explain": { + "type": "boolean" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "params": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "profile": { + "type": "boolean" + }, + "source": { + "description": "An inline search template. Supports the same parameters as the search API's\nrequest body. Also supports Mustache variables. If no id is specified, this\nparameter is required.", + "type": "string" + } + } + }, + "watcher._types:IndexAction": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "doc_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "refresh": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "op_type": { + "$ref": "#/components/schemas/_types:OpType" + }, + "timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "execution_time_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "index" + ] + }, + "watcher._types:LoggingAction": { + "type": "object", + "properties": { + "level": { + "type": "string" + }, + "text": { + "type": "string" + }, + "category": { + "type": "string" + } + }, + "required": [ + "text" + ] + }, + "watcher._types:EmailAction": { + "allOf": [ + { + "$ref": "#/components/schemas/watcher._types:Email" + }, + { + "type": "object" + } + ] + }, + "watcher._types:Email": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "bcc": { + "type": "array", + "items": { + "type": "string" + } + }, + "body": { + "$ref": "#/components/schemas/watcher._types:EmailBody" + }, + "cc": { + "type": "array", + "items": { + "type": "string" + } + }, + "from": { + "type": "string" + }, + "priority": { + "$ref": "#/components/schemas/watcher._types:EmailPriority" + }, + "reply_to": { + "type": "array", + "items": { + "type": "string" + } + }, + "sent_date": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "subject": { + "type": "string" + }, + "to": { + "type": "array", + "items": { + "type": "string" + } + }, + "attachments": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/watcher._types:EmailAttachmentContainer" + } + } + }, + "required": [ + "subject", + "to" + ] + }, + "watcher._types:EmailBody": { + "type": "object", + "properties": { + "html": { + "type": "string" + }, + "text": { + "type": "string" + } + } + }, + "watcher._types:EmailPriority": { + "type": "string", + "enum": [ + "lowest", + "low", + "normal", + "high", + "highest" + ] + }, + "watcher._types:EmailAttachmentContainer": { + "type": "object", + "properties": { + "http": { + "$ref": "#/components/schemas/watcher._types:HttpEmailAttachment" + }, + "reporting": { + "$ref": "#/components/schemas/watcher._types:ReportingEmailAttachment" + }, + "data": { + "$ref": "#/components/schemas/watcher._types:DataEmailAttachment" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "watcher._types:HttpEmailAttachment": { + "type": "object", + "properties": { + "content_type": { + "type": "string" + }, + "inline": { + "type": "boolean" + }, + "request": { + "$ref": "#/components/schemas/watcher._types:HttpInputRequestDefinition" + } + } + }, + "watcher._types:HttpInputRequestDefinition": { + "type": "object", + "properties": { + "auth": { + "$ref": "#/components/schemas/watcher._types:HttpInputAuthentication" + }, + "body": { + "type": "string" + }, + "connection_timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "headers": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "host": { + "$ref": "#/components/schemas/_types:Host" + }, + "method": { + "$ref": "#/components/schemas/watcher._types:HttpInputMethod" + }, + "params": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "path": { + "type": "string" + }, + "port": { + "$ref": "#/components/schemas/_types:uint" + }, + "proxy": { + "$ref": "#/components/schemas/watcher._types:HttpInputProxy" + }, + "read_timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "scheme": { + "$ref": "#/components/schemas/watcher._types:ConnectionScheme" + }, + "url": { + "type": "string" + } + } + }, + "watcher._types:HttpInputAuthentication": { + "type": "object", + "properties": { + "basic": { + "$ref": "#/components/schemas/watcher._types:HttpInputBasicAuthentication" + } + }, + "required": [ + "basic" + ] + }, + "watcher._types:HttpInputBasicAuthentication": { + "type": "object", + "properties": { + "password": { + "$ref": "#/components/schemas/_types:Password" + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + } + }, + "required": [ + "password", + "username" + ] + }, + "watcher._types:HttpInputMethod": { + "type": "string", + "enum": [ + "head", + "get", + "post", + "put", + "delete" + ] + }, + "watcher._types:HttpInputProxy": { + "type": "object", + "properties": { + "host": { + "$ref": "#/components/schemas/_types:Host" + }, + "port": { + "$ref": "#/components/schemas/_types:uint" + } + }, + "required": [ + "host", + "port" + ] + }, + "watcher._types:ConnectionScheme": { + "type": "string", + "enum": [ + "http", + "https" + ] + }, + "watcher._types:ReportingEmailAttachment": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "inline": { + "type": "boolean" + }, + "retries": { + "type": "number" + }, + "interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "request": { + "$ref": "#/components/schemas/watcher._types:HttpInputRequestDefinition" + } + }, + "required": [ + "url" + ] + }, + "watcher._types:DataEmailAttachment": { + "type": "object", + "properties": { + "format": { + "$ref": "#/components/schemas/watcher._types:DataAttachmentFormat" + } + } + }, + "watcher._types:DataAttachmentFormat": { + "type": "string", + "enum": [ + "json", + "yaml" + ] + }, + "watcher._types:PagerDutyAction": { + "allOf": [ + { + "$ref": "#/components/schemas/watcher._types:PagerDutyEvent" + }, + { + "type": "object" + } + ] + }, + "watcher._types:PagerDutyEvent": { + "type": "object", + "properties": { + "account": { + "type": "string" + }, + "attach_payload": { + "type": "boolean" + }, + "client": { + "type": "string" + }, + "client_url": { + "type": "string" + }, + "contexts": { + "type": "array", + "items": { + "$ref": "#/components/schemas/watcher._types:PagerDutyContext" + } + }, + "description": { + "type": "string" + }, + "event_type": { + "$ref": "#/components/schemas/watcher._types:PagerDutyEventType" + }, + "incident_key": { + "type": "string" + }, + "proxy": { + "$ref": "#/components/schemas/watcher._types:PagerDutyEventProxy" + } + }, + "required": [ + "attach_payload", + "description", + "incident_key" + ] + }, + "watcher._types:PagerDutyContext": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "src": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/watcher._types:PagerDutyContextType" + } + }, + "required": [ + "type" + ] + }, + "watcher._types:PagerDutyContextType": { + "type": "string", + "enum": [ + "link", + "image" + ] + }, + "watcher._types:PagerDutyEventType": { + "type": "string", + "enum": [ + "trigger", + "resolve", + "acknowledge" + ] + }, + "watcher._types:PagerDutyEventProxy": { + "type": "object", + "properties": { + "host": { + "$ref": "#/components/schemas/_types:Host" + }, + "port": { + "type": "number" + } + } + }, + "watcher._types:SlackAction": { + "type": "object", + "properties": { + "account": { + "type": "string" + }, + "message": { + "$ref": "#/components/schemas/watcher._types:SlackMessage" + } + }, + "required": [ + "message" + ] + }, + "watcher._types:SlackMessage": { + "type": "object", + "properties": { + "attachments": { + "type": "array", + "items": { + "$ref": "#/components/schemas/watcher._types:SlackAttachment" + } + }, + "dynamic_attachments": { + "$ref": "#/components/schemas/watcher._types:SlackDynamicAttachment" + }, + "from": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "text": { + "type": "string" + }, + "to": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "attachments", + "from", + "text", + "to" + ] + }, + "watcher._types:SlackAttachment": { + "type": "object", + "properties": { + "author_icon": { + "type": "string" + }, + "author_link": { + "type": "string" + }, + "author_name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "fallback": { + "type": "string" + }, + "fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/watcher._types:SlackAttachmentField" + } + }, + "footer": { + "type": "string" + }, + "footer_icon": { + "type": "string" + }, + "image_url": { + "type": "string" + }, + "pretext": { + "type": "string" + }, + "text": { + "type": "string" + }, + "thumb_url": { + "type": "string" + }, + "title": { + "type": "string" + }, + "title_link": { + "type": "string" + }, + "ts": { + "$ref": "#/components/schemas/_types:EpochTimeUnitSeconds" + } + }, + "required": [ + "author_name", + "title" + ] + }, + "watcher._types:SlackAttachmentField": { + "type": "object", + "properties": { + "short": { + "type": "boolean" + }, + "title": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "short", + "title", + "value" + ] + }, + "watcher._types:SlackDynamicAttachment": { + "type": "object", + "properties": { + "attachment_template": { + "$ref": "#/components/schemas/watcher._types:SlackAttachment" + }, + "list_path": { + "type": "string" + } + }, + "required": [ + "attachment_template", + "list_path" + ] + }, + "watcher._types:WebhookAction": { + "allOf": [ + { + "$ref": "#/components/schemas/watcher._types:HttpInputRequestDefinition" + }, + { + "type": "object" + } + ] + }, + "watcher._types:InputContainer": { + "type": "object", + "properties": { + "chain": { + "$ref": "#/components/schemas/watcher._types:ChainInput" + }, + "http": { + "$ref": "#/components/schemas/watcher._types:HttpInput" + }, + "search": { + "$ref": "#/components/schemas/watcher._types:SearchInput" + }, + "simple": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "watcher._types:ChainInput": { + "type": "object", + "properties": { + "inputs": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/watcher._types:InputContainer" + }, + "minProperties": 1, + "maxProperties": 1 + } + } + }, + "required": [ + "inputs" + ] + }, + "watcher._types:HttpInput": { + "type": "object", + "properties": { + "extract": { + "type": "array", + "items": { + "type": "string" + } + }, + "request": { + "$ref": "#/components/schemas/watcher._types:HttpInputRequestDefinition" + }, + "response_content_type": { + "$ref": "#/components/schemas/watcher._types:ResponseContentType" + } + } + }, + "watcher._types:ResponseContentType": { + "type": "string", + "enum": [ + "json", + "yaml", + "text" + ] + }, + "watcher._types:SearchInput": { + "type": "object", + "properties": { + "extract": { + "type": "array", + "items": { + "type": "string" + } + }, + "request": { + "$ref": "#/components/schemas/watcher._types:SearchInputRequestDefinition" + }, + "timeout": { + "$ref": "#/components/schemas/_types:Duration" + } + }, + "required": [ + "request" + ] + }, + "watcher._types:TriggerContainer": { + "type": "object", + "properties": { + "schedule": { + "$ref": "#/components/schemas/watcher._types:ScheduleContainer" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "watcher._types:ScheduleContainer": { + "type": "object", + "properties": { + "cron": { + "$ref": "#/components/schemas/watcher._types:CronExpression" + }, + "daily": { + "$ref": "#/components/schemas/watcher._types:DailySchedule" + }, + "hourly": { + "$ref": "#/components/schemas/watcher._types:HourlySchedule" + }, + "interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "monthly": { + "oneOf": [ + { + "$ref": "#/components/schemas/watcher._types:TimeOfMonth" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/watcher._types:TimeOfMonth" + } + } + ] + }, + "weekly": { + "oneOf": [ + { + "$ref": "#/components/schemas/watcher._types:TimeOfWeek" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/watcher._types:TimeOfWeek" + } + } + ] + }, + "yearly": { + "oneOf": [ + { + "$ref": "#/components/schemas/watcher._types:TimeOfYear" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/watcher._types:TimeOfYear" + } + } + ] + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "watcher._types:DailySchedule": { + "type": "object", + "properties": { + "at": { + "type": "array", + "items": { + "$ref": "#/components/schemas/watcher._types:ScheduleTimeOfDay" + } + } + }, + "required": [ + "at" + ] + }, + "watcher._types:HourlySchedule": { + "type": "object", + "properties": { + "minute": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "minute" + ] + }, + "watcher._types:TimeOfMonth": { + "type": "object", + "properties": { + "at": { + "type": "array", + "items": { + "type": "string" + } + }, + "on": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "at", + "on" + ] + }, + "watcher._types:TimeOfWeek": { + "type": "object", + "properties": { + "at": { + "type": "array", + "items": { + "type": "string" + } + }, + "on": { + "type": "array", + "items": { + "$ref": "#/components/schemas/watcher._types:Day" + } + } + }, + "required": [ + "at", + "on" + ] + }, + "watcher._types:Day": { + "type": "string", + "enum": [ + "sunday", + "monday", + "tuesday", + "wednesday", + "thursday", + "friday", + "saturday" + ] + }, + "watcher._types:TimeOfYear": { + "type": "object", + "properties": { + "at": { + "type": "array", + "items": { + "type": "string" + } + }, + "int": { + "type": "array", + "items": { + "$ref": "#/components/schemas/watcher._types:Month" + } + }, + "on": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "at", + "int", + "on" + ] + }, + "watcher._types:Month": { + "type": "string", + "enum": [ + "january", + "february", + "march", + "april", + "may", + "june", + "july", + "august", + "september", + "october", + "november", + "december" + ] + }, + "watcher.execute_watch:WatchRecord": { + "type": "object", + "properties": { + "condition": { + "$ref": "#/components/schemas/watcher._types:ConditionContainer" + }, + "input": { + "$ref": "#/components/schemas/watcher._types:InputContainer" + }, + "messages": { + "type": "array", + "items": { + "type": "string" + } + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "node": { + "type": "string" + }, + "result": { + "$ref": "#/components/schemas/watcher._types:ExecutionResult" + }, + "state": { + "$ref": "#/components/schemas/watcher._types:ExecutionStatus" + }, + "trigger_event": { + "$ref": "#/components/schemas/watcher._types:TriggerEventResult" + }, + "user": { + "$ref": "#/components/schemas/_types:Username" + }, + "watch_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "status": { + "$ref": "#/components/schemas/watcher._types:WatchStatus" + } + }, + "required": [ + "condition", + "input", + "messages", + "node", + "result", + "state", + "trigger_event", + "user", + "watch_id" + ] + }, + "watcher._types:ExecutionResult": { + "type": "object", + "properties": { + "actions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/watcher._types:ExecutionResultAction" + } + }, + "condition": { + "$ref": "#/components/schemas/watcher._types:ExecutionResultCondition" + }, + "execution_duration": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "execution_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "input": { + "$ref": "#/components/schemas/watcher._types:ExecutionResultInput" + } + }, + "required": [ + "actions", + "condition", + "execution_duration", + "execution_time", + "input" + ] + }, + "watcher._types:ExecutionResultAction": { + "type": "object", + "properties": { + "email": { + "$ref": "#/components/schemas/watcher._types:EmailResult" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "index": { + "$ref": "#/components/schemas/watcher._types:IndexResult" + }, + "logging": { + "$ref": "#/components/schemas/watcher._types:LoggingResult" + }, + "pagerduty": { + "$ref": "#/components/schemas/watcher._types:PagerDutyResult" + }, + "reason": { + "type": "string" + }, + "slack": { + "$ref": "#/components/schemas/watcher._types:SlackResult" + }, + "status": { + "$ref": "#/components/schemas/watcher._types:ActionStatusOptions" + }, + "type": { + "$ref": "#/components/schemas/watcher._types:ActionType" + }, + "webhook": { + "$ref": "#/components/schemas/watcher._types:WebhookResult" + }, + "error": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + }, + "required": [ + "id", + "status", + "type" + ] + }, + "watcher._types:EmailResult": { + "type": "object", + "properties": { + "account": { + "type": "string" + }, + "message": { + "$ref": "#/components/schemas/watcher._types:Email" + }, + "reason": { + "type": "string" + } + }, + "required": [ + "message" + ] + }, + "watcher._types:IndexResult": { + "type": "object", + "properties": { + "response": { + "$ref": "#/components/schemas/watcher._types:IndexResultSummary" + } + }, + "required": [ + "response" + ] + }, + "watcher._types:IndexResultSummary": { + "type": "object", + "properties": { + "created": { + "type": "boolean" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "result": { + "$ref": "#/components/schemas/_types:Result" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + } + }, + "required": [ + "created", + "id", + "index", + "result", + "version" + ] + }, + "watcher._types:LoggingResult": { + "type": "object", + "properties": { + "logged_text": { + "type": "string" + } + }, + "required": [ + "logged_text" + ] + }, + "watcher._types:PagerDutyResult": { + "type": "object", + "properties": { + "event": { + "$ref": "#/components/schemas/watcher._types:PagerDutyEvent" + }, + "reason": { + "type": "string" + }, + "request": { + "$ref": "#/components/schemas/watcher._types:HttpInputRequestResult" + }, + "response": { + "$ref": "#/components/schemas/watcher._types:HttpInputResponseResult" + } + }, + "required": [ + "event" + ] + }, + "watcher._types:HttpInputRequestResult": { + "allOf": [ + { + "$ref": "#/components/schemas/watcher._types:HttpInputRequestDefinition" + }, + { + "type": "object" + } + ] + }, + "watcher._types:HttpInputResponseResult": { + "type": "object", + "properties": { + "body": { + "type": "string" + }, + "headers": { + "$ref": "#/components/schemas/_types:HttpHeaders" + }, + "status": { + "type": "number" + } + }, + "required": [ + "body", + "headers", + "status" + ] + }, + "watcher._types:SlackResult": { + "type": "object", + "properties": { + "account": { + "type": "string" + }, + "message": { + "$ref": "#/components/schemas/watcher._types:SlackMessage" + } + }, + "required": [ + "message" + ] + }, + "watcher._types:WebhookResult": { + "type": "object", + "properties": { + "request": { + "$ref": "#/components/schemas/watcher._types:HttpInputRequestResult" + }, + "response": { + "$ref": "#/components/schemas/watcher._types:HttpInputResponseResult" + } + }, + "required": [ + "request" + ] + }, + "watcher._types:ExecutionResultCondition": { + "type": "object", + "properties": { + "met": { + "type": "boolean" + }, + "status": { + "$ref": "#/components/schemas/watcher._types:ActionStatusOptions" + }, + "type": { + "$ref": "#/components/schemas/watcher._types:ConditionType" + } + }, + "required": [ + "met", + "status", + "type" + ] + }, + "watcher._types:ConditionType": { + "type": "string", + "enum": [ + "always", + "never", + "script", + "compare", + "array_compare" + ] + }, + "watcher._types:ExecutionResultInput": { + "type": "object", + "properties": { + "payload": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "status": { + "$ref": "#/components/schemas/watcher._types:ActionStatusOptions" + }, + "type": { + "$ref": "#/components/schemas/watcher._types:InputType" + } + }, + "required": [ + "payload", + "status", + "type" + ] + }, + "watcher._types:InputType": { + "type": "string", + "enum": [ + "http", + "search", + "simple" + ] + }, + "watcher._types:ExecutionStatus": { + "type": "string", + "enum": [ + "awaits_execution", + "checking", + "execution_not_needed", + "throttled", + "executed", + "failed", + "deleted_while_queued", + "not_executed_already_queued" + ] + }, + "watcher._types:TriggerEventResult": { + "type": "object", + "properties": { + "manual": { + "$ref": "#/components/schemas/watcher._types:TriggerEventContainer" + }, + "triggered_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "type": { + "type": "string" + } + }, + "required": [ + "manual", + "triggered_time", + "type" + ] + }, + "watcher._types:TriggerEventContainer": { + "type": "object", + "properties": { + "schedule": { + "$ref": "#/components/schemas/watcher._types:ScheduleTriggerEvent" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "watcher._types:QueryWatch": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "status": { + "$ref": "#/components/schemas/watcher._types:WatchStatus" + }, + "watch": { + "$ref": "#/components/schemas/watcher._types:Watch" + }, + "_primary_term": { + "type": "number" + }, + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + } + }, + "required": [ + "_id" + ] + }, + "watcher.stats:WatcherMetric": { + "type": "string", + "enum": [ + "_all", + "queued_watches", + "current_watches", + "pending_watches" + ] + }, + "watcher.stats:WatcherNodeStats": { + "type": "object", + "properties": { + "current_watches": { + "type": "array", + "items": { + "$ref": "#/components/schemas/watcher.stats:WatchRecordStats" + } + }, + "execution_thread_pool": { + "$ref": "#/components/schemas/watcher._types:ExecutionThreadPool" + }, + "queued_watches": { + "type": "array", + "items": { + "$ref": "#/components/schemas/watcher.stats:WatchRecordQueuedStats" + } + }, + "watch_count": { + "type": "number" + }, + "watcher_state": { + "$ref": "#/components/schemas/watcher.stats:WatcherState" + }, + "node_id": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "required": [ + "execution_thread_pool", + "watch_count", + "watcher_state", + "node_id" + ] + }, + "watcher.stats:WatchRecordStats": { + "allOf": [ + { + "$ref": "#/components/schemas/watcher.stats:WatchRecordQueuedStats" + }, + { + "type": "object", + "properties": { + "execution_phase": { + "$ref": "#/components/schemas/watcher._types:ExecutionPhase" + }, + "triggered_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "executed_actions": { + "type": "array", + "items": { + "type": "string" + } + }, + "watch_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "watch_record_id": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "required": [ + "execution_phase", + "triggered_time", + "watch_id", + "watch_record_id" + ] + } + ] + }, + "watcher._types:ExecutionPhase": { + "type": "string", + "enum": [ + "awaits_execution", + "started", + "input", + "condition", + "actions", + "watch_transform", + "aborted", + "finished" + ] + }, + "watcher.stats:WatchRecordQueuedStats": { + "type": "object", + "properties": { + "execution_time": { + "$ref": "#/components/schemas/_types:DateTime" + } + }, + "required": [ + "execution_time" + ] + }, + "watcher._types:ExecutionThreadPool": { + "type": "object", + "properties": { + "max_size": { + "type": "number" + }, + "queue_size": { + "type": "number" + } + }, + "required": [ + "max_size", + "queue_size" + ] + }, + "watcher.stats:WatcherState": { + "type": "string", + "enum": [ + "stopped", + "starting", + "started", + "stopping" + ] + }, + "xpack.info:BuildInformation": { + "type": "object", + "properties": { + "date": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "hash": { + "type": "string" + } + }, + "required": [ + "date", + "hash" + ] + }, + "xpack.info:Features": { + "type": "object", + "properties": { + "aggregate_metric": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "analytics": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "ccr": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "data_frame": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "data_science": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "data_streams": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "data_tiers": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "enrich": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "eql": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "flattened": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "frozen_indices": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "graph": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "ilm": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "logstash": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "ml": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "monitoring": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "rollup": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "runtime_fields": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "searchable_snapshots": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "security": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "slm": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "spatial": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "sql": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "transform": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "vectors": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "voting_only": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "watcher": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "archive": { + "$ref": "#/components/schemas/xpack.info:Feature" + } + }, + "required": [ + "aggregate_metric", + "analytics", + "ccr", + "data_streams", + "data_tiers", + "enrich", + "eql", + "frozen_indices", + "graph", + "ilm", + "logstash", + "ml", + "monitoring", + "rollup", + "searchable_snapshots", + "security", + "slm", + "spatial", + "sql", + "transform", + "voting_only", + "watcher", + "archive" + ] + }, + "xpack.info:Feature": { + "type": "object", + "properties": { + "available": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "native_code_info": { + "$ref": "#/components/schemas/xpack.info:NativeCodeInformation" + } + }, + "required": [ + "available", + "enabled" + ] + }, + "xpack.info:NativeCodeInformation": { + "type": "object", + "properties": { + "build_hash": { + "type": "string" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "build_hash", + "version" + ] + }, + "xpack.info:MinimalLicenseInformation": { + "type": "object", + "properties": { + "expiry_date_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "mode": { + "$ref": "#/components/schemas/license._types:LicenseType" + }, + "status": { + "$ref": "#/components/schemas/license._types:LicenseStatus" + }, + "type": { + "$ref": "#/components/schemas/license._types:LicenseType" + }, + "uid": { + "type": "string" + } + }, + "required": [ + "expiry_date_in_millis", + "mode", + "status", + "type", + "uid" + ] + }, + "xpack.usage:Base": { + "type": "object", + "properties": { + "available": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + } + }, + "required": [ + "available", + "enabled" + ] + }, + "xpack.usage:Analytics": { + "allOf": [ + { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + { + "type": "object", + "properties": { + "stats": { + "$ref": "#/components/schemas/xpack.usage:AnalyticsStatistics" + } + }, + "required": [ + "stats" + ] + } + ] + }, + "xpack.usage:AnalyticsStatistics": { + "type": "object", + "properties": { + "boxplot_usage": { + "type": "number" + }, + "cumulative_cardinality_usage": { + "type": "number" + }, + "string_stats_usage": { + "type": "number" + }, + "top_metrics_usage": { + "type": "number" + }, + "t_test_usage": { + "type": "number" + }, + "moving_percentiles_usage": { + "type": "number" + }, + "normalize_usage": { + "type": "number" + }, + "rate_usage": { + "type": "number" + }, + "multi_terms_usage": { + "type": "number" + } + }, + "required": [ + "boxplot_usage", + "cumulative_cardinality_usage", + "string_stats_usage", + "top_metrics_usage", + "t_test_usage", + "moving_percentiles_usage", + "normalize_usage", + "rate_usage" + ] + }, + "xpack.usage:Archive": { + "allOf": [ + { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + { + "type": "object", + "properties": { + "indices_count": { + "type": "number" + } + }, + "required": [ + "indices_count" + ] + } + ] + }, + "xpack.usage:Watcher": { + "allOf": [ + { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + { + "type": "object", + "properties": { + "execution": { + "$ref": "#/components/schemas/xpack.usage:WatcherActions" + }, + "watch": { + "$ref": "#/components/schemas/xpack.usage:WatcherWatch" + }, + "count": { + "$ref": "#/components/schemas/xpack.usage:Counter" + } + }, + "required": [ + "execution", + "watch", + "count" + ] + } + ] + }, + "xpack.usage:WatcherActions": { + "type": "object", + "properties": { + "actions": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/xpack.usage:WatcherActionTotals" + } + } + }, + "required": [ + "actions" + ] + }, + "xpack.usage:WatcherActionTotals": { + "type": "object", + "properties": { + "total": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_time_in_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "total", + "total_time_in_ms" + ] + }, + "xpack.usage:WatcherWatch": { + "type": "object", + "properties": { + "input": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/xpack.usage:Counter" + } + }, + "condition": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/xpack.usage:Counter" + } + }, + "action": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/xpack.usage:Counter" + } + }, + "trigger": { + "$ref": "#/components/schemas/xpack.usage:WatcherWatchTrigger" + } + }, + "required": [ + "input", + "trigger" + ] + }, + "xpack.usage:Counter": { + "type": "object", + "properties": { + "active": { + "type": "number" + }, + "total": { + "type": "number" + } + }, + "required": [ + "active", + "total" + ] + }, + "xpack.usage:WatcherWatchTrigger": { + "type": "object", + "properties": { + "schedule": { + "$ref": "#/components/schemas/xpack.usage:WatcherWatchTriggerSchedule" + }, + "_all": { + "$ref": "#/components/schemas/xpack.usage:Counter" + } + }, + "required": [ + "_all" + ] + }, + "xpack.usage:WatcherWatchTriggerSchedule": { + "allOf": [ + { + "$ref": "#/components/schemas/xpack.usage:Counter" + }, + { + "type": "object", + "properties": { + "cron": { + "$ref": "#/components/schemas/xpack.usage:Counter" + }, + "_all": { + "$ref": "#/components/schemas/xpack.usage:Counter" + } + }, + "required": [ + "cron", + "_all" + ] + } + ] + }, + "xpack.usage:Ccr": { + "allOf": [ + { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + { + "type": "object", + "properties": { + "auto_follow_patterns_count": { + "type": "number" + }, + "follower_indices_count": { + "type": "number" + } + }, + "required": [ + "auto_follow_patterns_count", + "follower_indices_count" + ] + } + ] + }, + "xpack.usage:DataStreams": { + "allOf": [ + { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + { + "type": "object", + "properties": { + "data_streams": { + "type": "number" + }, + "indices_count": { + "type": "number" + } + }, + "required": [ + "data_streams", + "indices_count" + ] + } + ] + }, + "xpack.usage:DataTiers": { + "allOf": [ + { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + { + "type": "object", + "properties": { + "data_warm": { + "$ref": "#/components/schemas/xpack.usage:DataTierPhaseStatistics" + }, + "data_frozen": { + "$ref": "#/components/schemas/xpack.usage:DataTierPhaseStatistics" + }, + "data_cold": { + "$ref": "#/components/schemas/xpack.usage:DataTierPhaseStatistics" + }, + "data_content": { + "$ref": "#/components/schemas/xpack.usage:DataTierPhaseStatistics" + }, + "data_hot": { + "$ref": "#/components/schemas/xpack.usage:DataTierPhaseStatistics" + } + }, + "required": [ + "data_warm", + "data_cold", + "data_content", + "data_hot" + ] + } + ] + }, + "xpack.usage:DataTierPhaseStatistics": { + "type": "object", + "properties": { + "node_count": { + "type": "number" + }, + "index_count": { + "type": "number" + }, + "total_shard_count": { + "type": "number" + }, + "primary_shard_count": { + "type": "number" + }, + "doc_count": { + "type": "number" + }, + "total_size_bytes": { + "type": "number" + }, + "primary_size_bytes": { + "type": "number" + }, + "primary_shard_size_avg_bytes": { + "type": "number" + }, + "primary_shard_size_median_bytes": { + "type": "number" + }, + "primary_shard_size_mad_bytes": { + "type": "number" + } + }, + "required": [ + "node_count", + "index_count", + "total_shard_count", + "primary_shard_count", + "doc_count", + "total_size_bytes", + "primary_size_bytes", + "primary_shard_size_avg_bytes", + "primary_shard_size_median_bytes", + "primary_shard_size_mad_bytes" + ] + }, + "xpack.usage:Eql": { + "allOf": [ + { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + { + "type": "object", + "properties": { + "features": { + "$ref": "#/components/schemas/xpack.usage:EqlFeatures" + }, + "queries": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/xpack.usage:Query" + } + } + }, + "required": [ + "features", + "queries" + ] + } + ] + }, + "xpack.usage:EqlFeatures": { + "type": "object", + "properties": { + "join": { + "$ref": "#/components/schemas/_types:uint" + }, + "joins": { + "$ref": "#/components/schemas/xpack.usage:EqlFeaturesJoin" + }, + "keys": { + "$ref": "#/components/schemas/xpack.usage:EqlFeaturesKeys" + }, + "event": { + "$ref": "#/components/schemas/_types:uint" + }, + "pipes": { + "$ref": "#/components/schemas/xpack.usage:EqlFeaturesPipes" + }, + "sequence": { + "$ref": "#/components/schemas/_types:uint" + }, + "sequences": { + "$ref": "#/components/schemas/xpack.usage:EqlFeaturesSequences" + } + }, + "required": [ + "join", + "joins", + "keys", + "event", + "pipes", + "sequence", + "sequences" + ] + }, + "xpack.usage:EqlFeaturesJoin": { + "type": "object", + "properties": { + "join_queries_two": { + "$ref": "#/components/schemas/_types:uint" + }, + "join_queries_three": { + "$ref": "#/components/schemas/_types:uint" + }, + "join_until": { + "$ref": "#/components/schemas/_types:uint" + }, + "join_queries_five_or_more": { + "$ref": "#/components/schemas/_types:uint" + }, + "join_queries_four": { + "$ref": "#/components/schemas/_types:uint" + } + }, + "required": [ + "join_queries_two", + "join_queries_three", + "join_until", + "join_queries_five_or_more", + "join_queries_four" + ] + }, + "xpack.usage:EqlFeaturesKeys": { + "type": "object", + "properties": { + "join_keys_two": { + "$ref": "#/components/schemas/_types:uint" + }, + "join_keys_one": { + "$ref": "#/components/schemas/_types:uint" + }, + "join_keys_three": { + "$ref": "#/components/schemas/_types:uint" + }, + "join_keys_five_or_more": { + "$ref": "#/components/schemas/_types:uint" + }, + "join_keys_four": { + "$ref": "#/components/schemas/_types:uint" + } + }, + "required": [ + "join_keys_two", + "join_keys_one", + "join_keys_three", + "join_keys_five_or_more", + "join_keys_four" + ] + }, + "xpack.usage:EqlFeaturesPipes": { + "type": "object", + "properties": { + "pipe_tail": { + "$ref": "#/components/schemas/_types:uint" + }, + "pipe_head": { + "$ref": "#/components/schemas/_types:uint" + } + }, + "required": [ + "pipe_tail", + "pipe_head" + ] + }, + "xpack.usage:EqlFeaturesSequences": { + "type": "object", + "properties": { + "sequence_queries_three": { + "$ref": "#/components/schemas/_types:uint" + }, + "sequence_queries_four": { + "$ref": "#/components/schemas/_types:uint" + }, + "sequence_queries_two": { + "$ref": "#/components/schemas/_types:uint" + }, + "sequence_until": { + "$ref": "#/components/schemas/_types:uint" + }, + "sequence_queries_five_or_more": { + "$ref": "#/components/schemas/_types:uint" + }, + "sequence_maxspan": { + "$ref": "#/components/schemas/_types:uint" + } + }, + "required": [ + "sequence_queries_three", + "sequence_queries_four", + "sequence_queries_two", + "sequence_until", + "sequence_queries_five_or_more", + "sequence_maxspan" + ] + }, + "xpack.usage:Query": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "failed": { + "type": "number" + }, + "paging": { + "type": "number" + }, + "total": { + "type": "number" + } + } + }, + "xpack.usage:Flattened": { + "allOf": [ + { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + { + "type": "object", + "properties": { + "field_count": { + "type": "number" + } + }, + "required": [ + "field_count" + ] + } + ] + }, + "xpack.usage:FrozenIndices": { + "allOf": [ + { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + { + "type": "object", + "properties": { + "indices_count": { + "type": "number" + } + }, + "required": [ + "indices_count" + ] + } + ] + }, + "xpack.usage:HealthStatistics": { + "allOf": [ + { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + { + "type": "object", + "properties": { + "invocations": { + "$ref": "#/components/schemas/xpack.usage:Invocations" + } + }, + "required": [ + "invocations" + ] + } + ] + }, + "xpack.usage:Invocations": { + "type": "object", + "properties": { + "total": { + "type": "number" + } + }, + "required": [ + "total" + ] + }, + "xpack.usage:Ilm": { + "type": "object", + "properties": { + "policy_count": { + "type": "number" + }, + "policy_stats": { + "type": "array", + "items": { + "$ref": "#/components/schemas/xpack.usage:IlmPolicyStatistics" + } + } + }, + "required": [ + "policy_count", + "policy_stats" + ] + }, + "xpack.usage:IlmPolicyStatistics": { + "type": "object", + "properties": { + "indices_managed": { + "type": "number" + }, + "phases": { + "$ref": "#/components/schemas/ilm._types:Phases" + } + }, + "required": [ + "indices_managed", + "phases" + ] + }, + "xpack.usage:MachineLearning": { + "allOf": [ + { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + { + "type": "object", + "properties": { + "datafeeds": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/xpack.usage:Datafeed" + } + }, + "jobs": { + "description": "Job usage statistics. The `_all` entry is always present and gathers statistics for all jobs.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/xpack.usage:JobUsage" + } + }, + "node_count": { + "type": "number" + }, + "data_frame_analytics_jobs": { + "$ref": "#/components/schemas/xpack.usage:MlDataFrameAnalyticsJobs" + }, + "inference": { + "$ref": "#/components/schemas/xpack.usage:MlInference" + } + }, + "required": [ + "datafeeds", + "jobs", + "node_count", + "data_frame_analytics_jobs", + "inference" + ] + } + ] + }, + "xpack.usage:Datafeed": { + "type": "object", + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ] + }, + "xpack.usage:JobUsage": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "created_by": { + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "detectors": { + "$ref": "#/components/schemas/ml._types:JobStatistics" + }, + "forecasts": { + "$ref": "#/components/schemas/xpack.usage:MlJobForecasts" + }, + "model_size": { + "$ref": "#/components/schemas/ml._types:JobStatistics" + } + }, + "required": [ + "count", + "created_by", + "detectors", + "forecasts", + "model_size" + ] + }, + "xpack.usage:MlJobForecasts": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "forecasted_jobs": { + "type": "number" + } + }, + "required": [ + "total", + "forecasted_jobs" + ] + }, + "xpack.usage:MlDataFrameAnalyticsJobs": { + "type": "object", + "properties": { + "memory_usage": { + "$ref": "#/components/schemas/xpack.usage:MlDataFrameAnalyticsJobsMemory" + }, + "_all": { + "$ref": "#/components/schemas/xpack.usage:MlDataFrameAnalyticsJobsCount" + }, + "analysis_counts": { + "$ref": "#/components/schemas/xpack.usage:MlDataFrameAnalyticsJobsAnalysis" + }, + "stopped": { + "$ref": "#/components/schemas/xpack.usage:MlDataFrameAnalyticsJobsCount" + } + }, + "required": [ + "_all" + ] + }, + "xpack.usage:MlDataFrameAnalyticsJobsMemory": { + "type": "object", + "properties": { + "peak_usage_bytes": { + "$ref": "#/components/schemas/ml._types:JobStatistics" + } + }, + "required": [ + "peak_usage_bytes" + ] + }, + "xpack.usage:MlDataFrameAnalyticsJobsCount": { + "type": "object", + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ] + }, + "xpack.usage:MlDataFrameAnalyticsJobsAnalysis": { + "type": "object", + "properties": { + "classification": { + "type": "number" + }, + "outlier_detection": { + "type": "number" + }, + "regression": { + "type": "number" + } + } + }, + "xpack.usage:MlInference": { + "type": "object", + "properties": { + "ingest_processors": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/xpack.usage:MlInferenceIngestProcessor" + } + }, + "trained_models": { + "$ref": "#/components/schemas/xpack.usage:MlInferenceTrainedModels" + }, + "deployments": { + "$ref": "#/components/schemas/xpack.usage:MlInferenceDeployments" + } + }, + "required": [ + "ingest_processors", + "trained_models" + ] + }, + "xpack.usage:MlInferenceIngestProcessor": { + "type": "object", + "properties": { + "num_docs_processed": { + "$ref": "#/components/schemas/xpack.usage:MlInferenceIngestProcessorCount" + }, + "pipelines": { + "$ref": "#/components/schemas/xpack.usage:MlCounter" + }, + "num_failures": { + "$ref": "#/components/schemas/xpack.usage:MlInferenceIngestProcessorCount" + }, + "time_ms": { + "$ref": "#/components/schemas/xpack.usage:MlInferenceIngestProcessorCount" + } + }, + "required": [ + "num_docs_processed", + "pipelines", + "num_failures", + "time_ms" + ] + }, + "xpack.usage:MlInferenceIngestProcessorCount": { + "type": "object", + "properties": { + "max": { + "type": "number" + }, + "sum": { + "type": "number" + }, + "min": { + "type": "number" + } + }, + "required": [ + "max", + "sum", + "min" + ] + }, + "xpack.usage:MlCounter": { + "type": "object", + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ] + }, + "xpack.usage:MlInferenceTrainedModels": { + "type": "object", + "properties": { + "estimated_operations": { + "$ref": "#/components/schemas/ml._types:JobStatistics" + }, + "estimated_heap_memory_usage_bytes": { + "$ref": "#/components/schemas/ml._types:JobStatistics" + }, + "count": { + "$ref": "#/components/schemas/xpack.usage:MlInferenceTrainedModelsCount" + }, + "_all": { + "$ref": "#/components/schemas/xpack.usage:MlCounter" + }, + "model_size_bytes": { + "$ref": "#/components/schemas/ml._types:JobStatistics" + } + }, + "required": [ + "_all" + ] + }, + "xpack.usage:MlInferenceTrainedModelsCount": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "prepackaged": { + "type": "number" + }, + "other": { + "type": "number" + }, + "pass_through": { + "type": "number" + }, + "regression": { + "type": "number" + }, + "classification": { + "type": "number" + }, + "ner": { + "type": "number" + }, + "text_embedding": { + "type": "number" + } + }, + "required": [ + "total", + "prepackaged", + "other" + ] + }, + "xpack.usage:MlInferenceDeployments": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "inference_counts": { + "$ref": "#/components/schemas/ml._types:JobStatistics" + }, + "model_sizes_bytes": { + "$ref": "#/components/schemas/ml._types:JobStatistics" + }, + "time_ms": { + "$ref": "#/components/schemas/xpack.usage:MlInferenceDeploymentsTimeMs" + } + }, + "required": [ + "count", + "inference_counts", + "model_sizes_bytes", + "time_ms" + ] + }, + "xpack.usage:MlInferenceDeploymentsTimeMs": { + "type": "object", + "properties": { + "avg": { + "type": "number" + } + }, + "required": [ + "avg" + ] + }, + "xpack.usage:Monitoring": { + "allOf": [ + { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + { + "type": "object", + "properties": { + "collection_enabled": { + "type": "boolean" + }, + "enabled_exporters": { + "type": "object", + "additionalProperties": { + "type": "number" + } + } + }, + "required": [ + "collection_enabled", + "enabled_exporters" + ] + } + ] + }, + "xpack.usage:RuntimeFieldTypes": { + "allOf": [ + { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + { + "type": "object", + "properties": { + "field_types": { + "type": "array", + "items": { + "$ref": "#/components/schemas/xpack.usage:RuntimeFieldsType" + } + } + }, + "required": [ + "field_types" + ] + } + ] + }, + "xpack.usage:RuntimeFieldsType": { + "type": "object", + "properties": { + "chars_max": { + "type": "number" + }, + "chars_total": { + "type": "number" + }, + "count": { + "type": "number" + }, + "doc_max": { + "type": "number" + }, + "doc_total": { + "type": "number" + }, + "index_count": { + "type": "number" + }, + "lang": { + "type": "array", + "items": { + "type": "string" + } + }, + "lines_max": { + "type": "number" + }, + "lines_total": { + "type": "number" + }, + "name": { + "$ref": "#/components/schemas/_types:Field" + }, + "scriptless_count": { + "type": "number" + }, + "shadowed_count": { + "type": "number" + }, + "source_max": { + "type": "number" + }, + "source_total": { + "type": "number" + } + }, + "required": [ + "chars_max", + "chars_total", + "count", + "doc_max", + "doc_total", + "index_count", + "lang", + "lines_max", + "lines_total", + "name", + "scriptless_count", + "shadowed_count", + "source_max", + "source_total" + ] + }, + "xpack.usage:SearchableSnapshots": { + "allOf": [ + { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + { + "type": "object", + "properties": { + "indices_count": { + "type": "number" + }, + "full_copy_indices_count": { + "type": "number" + }, + "shared_cache_indices_count": { + "type": "number" + } + }, + "required": [ + "indices_count" + ] + } + ] + }, + "xpack.usage:Security": { + "allOf": [ + { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + { + "type": "object", + "properties": { + "api_key_service": { + "$ref": "#/components/schemas/xpack.usage:FeatureToggle" + }, + "anonymous": { + "$ref": "#/components/schemas/xpack.usage:FeatureToggle" + }, + "audit": { + "$ref": "#/components/schemas/xpack.usage:Audit" + }, + "fips_140": { + "$ref": "#/components/schemas/xpack.usage:FeatureToggle" + }, + "ipfilter": { + "$ref": "#/components/schemas/xpack.usage:IpFilter" + }, + "realms": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/xpack.usage:Realm" + } + }, + "role_mapping": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/xpack.usage:RoleMapping" + } + }, + "roles": { + "$ref": "#/components/schemas/xpack.usage:SecurityRoles" + }, + "ssl": { + "$ref": "#/components/schemas/xpack.usage:Ssl" + }, + "system_key": { + "$ref": "#/components/schemas/xpack.usage:FeatureToggle" + }, + "token_service": { + "$ref": "#/components/schemas/xpack.usage:FeatureToggle" + }, + "operator_privileges": { + "$ref": "#/components/schemas/xpack.usage:Base" + } + }, + "required": [ + "api_key_service", + "anonymous", + "audit", + "fips_140", + "ipfilter", + "realms", + "role_mapping", + "roles", + "ssl", + "token_service", + "operator_privileges" + ] + } + ] + }, + "xpack.usage:FeatureToggle": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ] + }, + "xpack.usage:Audit": { + "allOf": [ + { + "$ref": "#/components/schemas/xpack.usage:FeatureToggle" + }, + { + "type": "object", + "properties": { + "outputs": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + ] + }, + "xpack.usage:IpFilter": { + "type": "object", + "properties": { + "http": { + "type": "boolean" + }, + "transport": { + "type": "boolean" + } + }, + "required": [ + "http", + "transport" + ] + }, + "xpack.usage:Realm": { + "allOf": [ + { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + { + "type": "object", + "properties": { + "name": { + "type": "array", + "items": { + "type": "string" + } + }, + "order": { + "type": "array", + "items": { + "type": "number" + } + }, + "size": { + "type": "array", + "items": { + "type": "number" + } + }, + "cache": { + "type": "array", + "items": { + "$ref": "#/components/schemas/xpack.usage:RealmCache" + } + }, + "has_authorization_realms": { + "type": "array", + "items": { + "type": "boolean" + } + }, + "has_default_username_pattern": { + "type": "array", + "items": { + "type": "boolean" + } + }, + "has_truststore": { + "type": "array", + "items": { + "type": "boolean" + } + }, + "is_authentication_delegated": { + "type": "array", + "items": { + "type": "boolean" + } + } + } + } + ] + }, + "xpack.usage:RealmCache": { + "type": "object", + "properties": { + "size": { + "type": "number" + } + }, + "required": [ + "size" + ] + }, + "xpack.usage:RoleMapping": { + "type": "object", + "properties": { + "enabled": { + "type": "number" + }, + "size": { + "type": "number" + } + }, + "required": [ + "enabled", + "size" + ] + }, + "xpack.usage:SecurityRoles": { + "type": "object", + "properties": { + "native": { + "$ref": "#/components/schemas/xpack.usage:SecurityRolesNative" + }, + "dls": { + "$ref": "#/components/schemas/xpack.usage:SecurityRolesDls" + }, + "file": { + "$ref": "#/components/schemas/xpack.usage:SecurityRolesFile" + } + }, + "required": [ + "native", + "dls", + "file" + ] + }, + "xpack.usage:SecurityRolesNative": { + "type": "object", + "properties": { + "dls": { + "type": "boolean" + }, + "fls": { + "type": "boolean" + }, + "size": { + "type": "number" + } + }, + "required": [ + "dls", + "fls", + "size" + ] + }, + "xpack.usage:SecurityRolesDls": { + "type": "object", + "properties": { + "bit_set_cache": { + "$ref": "#/components/schemas/xpack.usage:SecurityRolesDlsBitSetCache" + } + }, + "required": [ + "bit_set_cache" + ] + }, + "xpack.usage:SecurityRolesDlsBitSetCache": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "memory_in_bytes": { + "$ref": "#/components/schemas/_types:ulong" + } + }, + "required": [ + "count", + "memory_in_bytes" + ] + }, + "xpack.usage:SecurityRolesFile": { + "type": "object", + "properties": { + "dls": { + "type": "boolean" + }, + "fls": { + "type": "boolean" + }, + "size": { + "type": "number" + } + }, + "required": [ + "dls", + "fls", + "size" + ] + }, + "xpack.usage:Ssl": { + "type": "object", + "properties": { + "http": { + "$ref": "#/components/schemas/xpack.usage:FeatureToggle" + }, + "transport": { + "$ref": "#/components/schemas/xpack.usage:FeatureToggle" + } + }, + "required": [ + "http", + "transport" + ] + }, + "xpack.usage:Slm": { + "allOf": [ + { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + { + "type": "object", + "properties": { + "policy_count": { + "type": "number" + }, + "policy_stats": { + "$ref": "#/components/schemas/slm._types:Statistics" + } + } + } + ] + }, + "xpack.usage:Sql": { + "allOf": [ + { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + { + "type": "object", + "properties": { + "features": { + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "queries": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/xpack.usage:Query" + } + } + }, + "required": [ + "features", + "queries" + ] + } + ] + }, + "xpack.usage:Vector": { + "allOf": [ + { + "$ref": "#/components/schemas/xpack.usage:Base" + }, + { + "type": "object", + "properties": { + "dense_vector_dims_avg_count": { + "type": "number" + }, + "dense_vector_fields_count": { + "type": "number" + }, + "sparse_vector_fields_count": { + "type": "number" + } + }, + "required": [ + "dense_vector_dims_avg_count", + "dense_vector_fields_count" + ] + } + ] + } + } + } +} \ No newline at end of file From e8fa5b2802533d1d5c6b76b37627c27fe20f418c Mon Sep 17 00:00:00 2001 From: Sylvain Wallez Date: Wed, 16 Aug 2023 18:37:54 +0200 Subject: [PATCH 06/17] Add link to PR --- openapi-converter/clients_schema_to_openapi/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openapi-converter/clients_schema_to_openapi/README.md b/openapi-converter/clients_schema_to_openapi/README.md index 5dd42cf94d..cb2cf56451 100644 --- a/openapi-converter/clients_schema_to_openapi/README.md +++ b/openapi-converter/clients_schema_to_openapi/README.md @@ -14,4 +14,6 @@ flowchart LR schema --> openapi ``` -This is still a work in progress. The OpenAPI specification generated from the current `schema.json` can be found in the [output/openapi](../../output/openapi) directory. +This is still a work in progress and this branch is the work for [PR #2047](https://github.com/elastic/elasticsearch-specification/pull/2047) where reviews and comments should be made. + +The OpenAPI specification generated from the current `schema.json` can be found in the [output/openapi](../../output/openapi) directory. From d8e77f183fceac9126d8742d8994ce74a9370a96 Mon Sep 17 00:00:00 2001 From: Sylvain Wallez Date: Mon, 11 Sep 2023 15:27:30 +0200 Subject: [PATCH 07/17] Refactor, add a CLI, generate validated OpenAPI --- openapi-converter/Cargo.lock | 196 +- openapi-converter/clients_schema/Cargo.toml | 1 + openapi-converter/clients_schema/src/lib.rs | 359 +- .../src/transform/availability.rs | 160 + .../clients_schema/src/transform/mod.rs | 73 + .../clients_schema_to_openapi/.gitignore | 1 + .../clients_schema_to_openapi/.spectral.yaml | 10 + .../clients_schema_to_openapi/Cargo.toml | 8 +- .../package-lock.json | 4012 +++++++++++++++++ .../clients_schema_to_openapi/package.json | 15 + .../src/components.rs | 35 +- .../clients_schema_to_openapi/src/lib.rs | 55 +- .../clients_schema_to_openapi/src/main.rs | 154 +- .../clients_schema_to_openapi/src/paths.rs | 143 +- .../clients_schema_to_openapi/src/schemas.rs | 130 +- .../clients_schema_to_openapi/src/utils.rs | 37 +- .../openapi_to_clients_schema/src/lib.rs | 8 +- 17 files changed, 5167 insertions(+), 230 deletions(-) create mode 100644 openapi-converter/clients_schema/src/transform/availability.rs create mode 100644 openapi-converter/clients_schema/src/transform/mod.rs create mode 100644 openapi-converter/clients_schema_to_openapi/.gitignore create mode 100644 openapi-converter/clients_schema_to_openapi/.spectral.yaml create mode 100644 openapi-converter/clients_schema_to_openapi/package-lock.json create mode 100644 openapi-converter/clients_schema_to_openapi/package.json diff --git a/openapi-converter/Cargo.lock b/openapi-converter/Cargo.lock index 08a0723242..3a78d5e617 100644 --- a/openapi-converter/Cargo.lock +++ b/openapi-converter/Cargo.lock @@ -12,38 +12,58 @@ dependencies = [ ] [[package]] -name = "anyhow" -version = "1.0.70" +name = "anstream" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4" +checksum = "b1f58811cfac344940f1a400b6e6231ce35171f614f26439e80f8c1465c5cc0c" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15c4c2c83f81532e5845a733998b6971faca23490340a418e9b72a3ec9de12ea" [[package]] -name = "argh" -version = "0.1.10" +name = "anstyle-parse" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab257697eb9496bf75526f0217b5ed64636a9cfafa78b8365c71bd283fcef93e" +checksum = "938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333" dependencies = [ - "argh_derive", - "argh_shared", + "utf8parse", ] [[package]] -name = "argh_derive" -version = "0.1.10" +name = "anstyle-query" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b382dbd3288e053331f03399e1db106c9fb0d8562ad62cb04859ae926f324fa6" +checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" dependencies = [ - "argh_shared", - "proc-macro2", - "quote", - "syn 1.0.109", + "windows-sys", ] [[package]] -name = "argh_shared" -version = "0.1.10" +name = "anstyle-wincon" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64cb94155d965e3d37ffbbe7cc5b82c3dd79dd33bd48e536f73d2cfb8d85506f" +checksum = "58f54d10c6dfa51283a066ceab3ec1ab78d13fae00aa49243a45e4571fb79dfd" +dependencies = [ + "anstyle", + "windows-sys", +] + +[[package]] +name = "anyhow" +version = "1.0.70" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4" [[package]] name = "autocfg" @@ -57,11 +77,52 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +[[package]] +name = "clap" +version = "4.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a13b88d2c62ff462f88e4a121f17a82c1af05693a2f192b5c38d14de73c19f6" +dependencies = [ + "clap_builder", + "clap_derive", +] + +[[package]] +name = "clap_builder" +version = "4.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bb9faaa7c2ef94b2743a21f5a29e6f0010dff4caa69ac8e9d6cf8b6fa74da08" +dependencies = [ + "anstream", + "anstyle", + "clap_lex", + "strsim", +] + +[[package]] +name = "clap_derive" +version = "4.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0862016ff20d69b84ef8247369fabf5c008a7417002411897d40ee1f4532b873" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 2.0.11", +] + +[[package]] +name = "clap_lex" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961" + [[package]] name = "clients_schema" version = "0.1.0" dependencies = [ "anyhow", + "indexmap", "once_cell", "serde", "serde_ignored", @@ -75,13 +136,14 @@ name = "clients_schema_to_openapi" version = "0.1.0" dependencies = [ "anyhow", - "argh", + "clap", "clients_schema", "convert_case", "either_n", "indexmap", "maplit", "openapiv3", + "quantiles", "regex", "serde", "serde_ignored", @@ -91,6 +153,12 @@ dependencies = [ "tracing-subscriber", ] +[[package]] +name = "colorchoice" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" + [[package]] name = "convert_case" version = "0.6.0" @@ -112,6 +180,12 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" +[[package]] +name = "heck" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" + [[package]] name = "indexmap" version = "1.9.3" @@ -222,6 +296,12 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "quantiles" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c10fa813fb26fb6c321a6f3085b5ade4cb4730d08d0b9e70a3759136940957f2" + [[package]] name = "quote" version = "1.0.26" @@ -330,6 +410,12 @@ version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" +[[package]] +name = "strsim" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" + [[package]] name = "syn" version = "1.0.109" @@ -443,6 +529,12 @@ version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" +[[package]] +name = "utf8parse" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" + [[package]] name = "valuable" version = "0.1.0" @@ -470,3 +562,69 @@ name = "winapi-x86_64-pc-windows-gnu" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "windows-sys" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +dependencies = [ + "windows-targets", +] + +[[package]] +name = "windows-targets" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +dependencies = [ + "windows_aarch64_gnullvm", + "windows_aarch64_msvc", + "windows_i686_gnu", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" + +[[package]] +name = "windows_i686_gnu" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" + +[[package]] +name = "windows_i686_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" diff --git a/openapi-converter/clients_schema/Cargo.toml b/openapi-converter/clients_schema/Cargo.toml index 44a38dffb7..056c516976 100644 --- a/openapi-converter/clients_schema/Cargo.toml +++ b/openapi-converter/clients_schema/Cargo.toml @@ -10,6 +10,7 @@ serde_json = "1.0" typed-builder = "0.11" once_cell = "1.16" anyhow = "1.0" +indexmap = "1.9.3" [dev-dependencies] serde_path_to_error = "0.1" diff --git a/openapi-converter/clients_schema/src/lib.rs b/openapi-converter/clients_schema/src/lib.rs index 15c3131345..6d6a418d25 100644 --- a/openapi-converter/clients_schema/src/lib.rs +++ b/openapi-converter/clients_schema/src/lib.rs @@ -17,15 +17,19 @@ use std::collections::HashMap; use std::fmt::{Display, Formatter}; -use anyhow::bail; +use anyhow::anyhow; +use indexmap::IndexMap; // Re-export crates whose types we expose publicly pub use once_cell; // Child modules pub mod builtins; +pub mod transform; use once_cell::sync::Lazy; use serde::{Deserialize, Serialize}; +use serde::de::SeqAccess; +use serde::ser::SerializeSeq; #[allow(clippy::trivially_copy_pass_by_ref)] // needs to match signature for use in serde attribute #[inline] @@ -33,6 +37,13 @@ const fn is_false(v: &bool) -> bool { !(*v) } +pub trait Documented { + fn doc_url(&self) -> Option<&str>; + fn doc_id(&self) -> Option<&str>; + fn description(&self) -> Option<&str>; + fn since(&self) -> Option<&str>; +} + #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, PartialOrd, Hash)] pub struct TypeName { pub namespace: String, @@ -46,6 +57,10 @@ impl TypeName { name: name.into(), } } + + pub fn is_builtin(&self) -> bool { + self.namespace == "_builtins" + } } impl Display for TypeName { @@ -206,6 +221,48 @@ pub struct Deprecation { pub description: String, } +/// An API flavor +#[derive(Debug, Clone, Serialize, Deserialize, Hash, PartialEq, Eq)] +#[serde(rename_all = "snake_case")] +pub enum Flavor { + Stack, + Serverless, +} + +/// The availability of an item in a API flavor +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct Availability { + since: Option, + stability: Option, + visibility: Option, +} + +/// The availability of an +pub type Availabilities = HashMap; + +pub trait AvailabilityFilter: Fn(&Option) -> bool {} + +impl Flavor { + /// Predicate that indicates if a flavor is available in a given set of availabilities + pub fn available(&self, availabilities: &Option) -> bool { + if let Some(ref avail) = availabilities { + avail.contains_key(self) + } else { + // No restriction + true + } + } + + pub fn is_serverless(a: &Option) -> bool { + Flavor::Serverless.available(a) + } + + pub fn is_stack(a: &Option) -> bool { + Flavor::Stack.available(a) + } +} + /// /// An interface or request interface property. /// @@ -237,6 +294,9 @@ pub struct Property { #[serde(skip_serializing_if = "Option::is_none")] pub deprecation: Option, + #[serde(skip_serializing_if = "Option::is_none")] + pub availability: Option, + #[serde(skip_serializing_if = "Option::is_none")] pub stability: Option, @@ -258,6 +318,24 @@ pub struct Property { pub es_quirk: Option, } +impl Documented for Property { + fn doc_url(&self) -> Option<&str> { + self.doc_url.as_deref() + } + + fn doc_id(&self) -> Option<&str> { + self.doc_id.as_deref() + } + + fn description(&self) -> Option<&str> { + self.description.as_deref() + } + + fn since(&self) -> Option<&str> { + self.since.as_deref() + } +} + #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum ServerDefault { @@ -406,6 +484,46 @@ impl BaseType { } } +impl Documented for BaseType { + fn doc_url(&self) -> Option<&str> { + self.doc_url.as_deref() + } + + fn doc_id(&self) -> Option<&str> { + self.doc_id.as_deref() + } + + fn description(&self) -> Option<&str> { + self.description.as_deref() + } + + fn since(&self) -> Option<&str> { + None + } +} + +trait WithBaseType { + fn base(&self) -> &BaseType; +} + +impl Documented for T { + fn doc_url(&self) -> Option<&str> { + self.base().doc_url() + } + + fn doc_id(&self) -> Option<&str> { + self.base().doc_id() + } + + fn description(&self) -> Option<&str> { + self.base().description() + } + + fn since(&self) -> Option<&str> { + self.base().since() + } +} + /// /// An interface type /// @@ -446,6 +564,12 @@ pub struct Interface { pub variants: Option } +impl WithBaseType for Interface { + fn base(&self) -> &BaseType { + &self.base + } +} + /// /// A request type /// @@ -483,6 +607,12 @@ pub struct Request { pub attached_behaviors: Vec, } +impl WithBaseType for Request { + fn base(&self) -> &BaseType { + &self.base + } +} + /// /// A response type /// @@ -507,6 +637,12 @@ pub struct Response { pub exceptions: Vec, } +impl WithBaseType for Response { + fn base(&self) -> &BaseType { + &self.base + } +} + #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(rename_all = "camelCase")] pub struct ResponseException { @@ -575,7 +711,10 @@ pub struct EnumMember { pub deprecation: Option, #[serde(skip_serializing_if = "Option::is_none")] - pub since: Option + pub since: Option, + + #[serde(skip_serializing_if = "Option::is_none")] + pub availability: Option, } impl From<&str> for EnumMember { @@ -661,6 +800,9 @@ pub struct Endpoint { #[serde(skip_serializing_if = "Option::is_none")] pub deprecation: Option, + #[serde(skip_serializing_if = "Option::is_none")] + pub availability: Option, + /// If missing, there is not yet a request definition for this endpoint. #[serde(skip_serializing_if = "Option::is_none")] pub request: Option, @@ -698,6 +840,24 @@ pub struct Endpoint { pub privileges: Option, } +impl Documented for Endpoint { + fn doc_url(&self) -> Option<&str> { + self.doc_url.as_deref() + } + + fn doc_id(&self) -> Option<&str> { + self.doc_id.as_deref() + } + + fn description(&self) -> Option<&str> { + Some(self.description.as_str()) + } + + fn since(&self) -> Option<&str> { + self.since.as_deref() + } +} + #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(rename_all = "camelCase")] pub struct Privileges { @@ -724,6 +884,7 @@ pub struct UrlTemplate { pub struct ModelInfo { pub title: String, pub license: License, + pub version: Option, } #[derive(Debug, Clone, Serialize, Deserialize)] @@ -738,22 +899,158 @@ pub struct License { pub struct Model { #[serde(rename="_info", skip_serializing_if = "Option::is_none")] pub info: Option, - + pub endpoints: Vec, pub types: Vec, +} + +impl Model { + pub fn from_reader(r: impl std::io::Read) -> Result { + serde_json::from_reader(r) + } +} + +//------------------------------------------------------------------------------------------------- +/// An api model with types indexed by their name. This version is much more convenient to use +/// when traversing the type graph and provides convenience accessors to the various kinds of +/// types. +/// +#[derive(Debug, Clone, Serialize, Deserialize, Default)] +#[serde(rename_all = "camelCase")] +pub struct IndexedModel { + #[serde(rename="_info", skip_serializing_if = "Option::is_none")] + pub info: Option, pub endpoints: Vec, + + #[serde(serialize_with = "serialize_types")] + #[serde(deserialize_with = "deserialize_types")] + pub types: IndexMap, } -impl Model { +impl IndexedModel { pub fn from_reader(r: impl std::io::Read) -> Result { serde_json::from_reader(r) } - pub fn type_registry(&self) -> TypeRegistry { - TypeRegistry::new(&self.types) + pub fn get_type(&self, name: &TypeName) -> anyhow::Result<&TypeDefinition> { + match self.types.get(name) { + Some(value) => Ok(value), + None => Err(anyhow!("Type not found: {}", name)), + } + } + + pub fn get_type_mut(&mut self, name: &TypeName) -> anyhow::Result<&mut TypeDefinition> { + match self.types.get_mut(name) { + Some(value) => Ok(value), + None => Err(anyhow!("Type not found: {}", name)), + } + } + + pub fn get_interface(&self, name: &TypeName) -> anyhow::Result<&Interface> { + match self.get_type(name)? { + TypeDefinition::Interface(ref v) => Ok(v), + _ => Err(anyhow!("Type is not an interface: {}", name)), + } + } + + pub fn get_interface_mut(&mut self, name: &TypeName) -> anyhow::Result<&mut Interface> { + match self.get_type_mut(name)? { + TypeDefinition::Interface(ref mut v) => Ok(v), + _ => Err(anyhow!("Type is not an interface: {}", name)), + } + } + + pub fn get_request(&self, name: &TypeName) -> anyhow::Result<&Request> { + match self.get_type(name)? { + TypeDefinition::Request(ref v) => Ok(v), + _ => Err(anyhow!("Type is not a request: {}", name)), + } + } + + pub fn get_request_mut(&mut self, name: &TypeName) -> anyhow::Result<&mut Request> { + match self.get_type_mut(name)? { + TypeDefinition::Request(ref mut v) => Ok(v), + _ => Err(anyhow!("Type is not a request: {}", name)), + } + } + + pub fn get_response(&self, name: &TypeName) -> anyhow::Result<&Response> { + match self.get_type(name)? { + TypeDefinition::Response(ref v) => Ok(v), + _ => Err(anyhow!("Type is not a request: {}", name)), + } + } + + pub fn get_response_mut(&mut self, name: &TypeName) -> anyhow::Result<&mut Response> { + match self.get_type_mut(name)? { + TypeDefinition::Response(ref mut v) => Ok(v), + _ => Err(anyhow!("Type is not a request: {}", name)), + } + } +} + +//------------------------------------------------------------------------------------------------- +// IndexedModel serialization and deserialization +//------------------------------------------------------------------------------------------------- + +fn serialize_types (value: &IndexMap, serializer: S) -> Result where S: serde::Serializer { + let mut seq = serializer.serialize_seq(Some(value.len()))?; + for (_, v) in value { + seq.serialize_element(v)?; } + seq.end() } +fn deserialize_types<'de, D>(deser: D) -> Result, D::Error> where D: serde::Deserializer<'de> { + deser.deserialize_seq(IndexMapVisitor) +} + +struct IndexMapVisitor; + +impl<'a> serde::de::Visitor<'a> for IndexMapVisitor { + type Value = IndexMap; + + fn expecting(&self, formatter: &mut Formatter) -> std::fmt::Result { + write!(formatter, "an array") + } + + fn visit_seq(self, mut seq: A) -> Result where A: SeqAccess<'a> { + let mut result = IndexMap::with_capacity(seq.size_hint().unwrap_or(0)); + + while let Some(item) = seq.next_element::()? { + result.insert(item.name().clone(), item); + } + + Ok(result) + } +} + +//------------------------------------------------------------------------------------------------- +// Conversions between Model and IndexedModel +//------------------------------------------------------------------------------------------------- + +impl Into for Model { + fn into(self) -> IndexedModel { + IndexedModel { + info: self.info, + endpoints: self.endpoints, + types: self.types.into_iter().map(|t| (t.name().clone(), t)).collect(), + } + } +} + +impl Into for IndexedModel { + fn into(self) -> Model { + Model { + info: self.info, + endpoints: self.endpoints, + types: self.types.into_iter().map(|(_, t)| t).collect(), + } + } +} + +//------------------------------------------------------------------------------------------------- + #[cfg(test)] mod tests { use super::*; @@ -763,10 +1060,10 @@ mod tests { /// checked out as a sibling of this one. fn load_schema() { println!("{:?}", std::env::current_dir()); - let file = std::fs::File::open("../../elasticsearch-specification/output/schema/schema.json").unwrap(); + let json = std::fs::read_to_string("../../output/schema/schema.json").unwrap(); - let jd = &mut serde_json::Deserializer::from_reader(file); - let result = serde_path_to_error::deserialize::<_, Model>(jd); + let jd = &mut serde_json::Deserializer::from_str(&json); + let result = serde_path_to_error::deserialize::<_, IndexedModel>(jd); let result = result.map_err(|e| { println!("Error at path {}", e.path()); @@ -779,7 +1076,7 @@ mod tests { name: "Request".into(), }; - let search_type = result.types.iter().find(|t| t.name() == &search_req).unwrap(); + let search_type = result.get_type(&search_req).unwrap(); match search_type { TypeDefinition::Request(r) => assert_eq!(true, !r.path.is_empty()), @@ -787,45 +1084,3 @@ mod tests { }; } } - -pub struct TypeRegistry<'a> { - types: HashMap<&'a TypeName, &'a TypeDefinition> -} - -impl<'a> TypeRegistry<'a> { - pub fn new(types_vec: &Vec) -> TypeRegistry { - let types = types_vec.iter() - .map(|typedef| (typedef.name(), typedef)) - .collect::>(); - - TypeRegistry{ types } - } - - pub fn get(&self, name: &TypeName) -> anyhow::Result<&'a TypeDefinition> { - match self.types.get(name) { - Some(typedef) => Ok(typedef), - None => bail!("No definition for type {}", name), - } - } - - // pub fn get_interface(&self, name: &TypeName) -> anyhow::Result<&'a Interface> { - // match self.get(name)? { - // TypeDefinition::Interface(itf) => Ok(itf), - // _ => bail!("Type {} is not an interface", name), - // } - // } - - pub fn get_request(&self, name: &TypeName) -> anyhow::Result<&'a Request> { - match self.get(name)? { - TypeDefinition::Request(req) => Ok(req), - _ => bail!("Type {} is not a request", name), - } - } - - pub fn get_resppnse(&self, name: &TypeName) -> anyhow::Result<&'a Response> { - match self.get(name)? { - TypeDefinition::Response(resp) => Ok(resp), - _ => bail!("Type {} is not a response", name), - } - } -} diff --git a/openapi-converter/clients_schema/src/transform/availability.rs b/openapi-converter/clients_schema/src/transform/availability.rs new file mode 100644 index 0000000000..2620ae5c9b --- /dev/null +++ b/openapi-converter/clients_schema/src/transform/availability.rs @@ -0,0 +1,160 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +use std::cell::RefCell; +use crate::{Availabilities, Body, IndexedModel, Inherits, Property, TypeDefinition, TypeName, ValueOf}; +use crate::transform::Worksheet; + +pub struct Availability { + avail_filter: Box) -> bool>, + // Note: we could have avoided the use of interior mutability by adding + // a `&mut Worksheet` parameter to all methods. + worksheet: RefCell, +} + +impl <'a> Availability { + pub fn filter (mut model: IndexedModel, avail_filter: fn(&Option) -> bool) -> anyhow::Result { + let filter = Availability { + avail_filter: Box::new(avail_filter), + worksheet: Worksheet::default().into(), + }; + + // Remove unavailable endpoints + model.endpoints.retain(|ns| filter.is_available(&ns.availability)); + + // Initialize worksheet with request and response of all retained endpoints + for endpoint in &model.endpoints { + endpoint.request.as_ref().map(|name| filter.filter_type(name)); + endpoint.response.as_ref().map(|name| filter.filter_type(name)); + } + + while let Some(name) = { + // filter.worksheet.borrow_mut().next() will not drop the borrow? + let mut ws = filter.worksheet.borrow_mut(); + ws.next() + } { + if !name.is_builtin() { + let typedef = model.get_type_mut(&name)?; + filter.filter_typedef(typedef); + } + } + + // Keep types that we have visited + let ws = filter.worksheet.borrow(); + model.types.retain(|k, _| ws.was_visited(k)); + + return Ok(model); + } + + fn is_available(&self, availabilities: &Option) -> bool { + (self.avail_filter)(availabilities) + } + + fn filter_type(&self, name: &TypeName) { + self.worksheet.borrow_mut().add(name); + } + + fn filter_typedef(&self, typedef: &mut TypeDefinition) { + match typedef { + TypeDefinition::Interface(ref mut itf) => { + itf.inherits.as_ref().map(|i| self.filter_inherits(i)); + itf.behaviors.iter().for_each(|i| self.filter_behaviors(i)); + self.filter_properties(&mut itf.properties); + }, + + TypeDefinition::Enum(ref mut enm) => { + enm.members.retain(|member| self.is_available(&member.availability)); + }, + + TypeDefinition::TypeAlias(ref alias) => { + self.filter_value_of(&alias.typ); + alias.generics.iter().for_each(|g| self.filter_type(g)); + }, + + TypeDefinition::Request(ref mut request) => { + request.inherits.as_ref().map(|i| self.filter_inherits(i)); + request.behaviors.iter().for_each(|i| self.filter_behaviors(i)); + self.filter_properties(&mut request.path); + self.filter_properties(&mut request.query); + self.filter_body(&mut request.body); + }, + + TypeDefinition::Response(ref mut response) => { + response.behaviors.iter().for_each(|i| self.filter_behaviors(i)); + self.filter_body(&mut response.body); + }, + } + } + + fn filter_inherits(&self, inherits: &Inherits) { + self.filter_type(&inherits.typ); + self.filter_values_of(&inherits.generics); + } + + fn filter_behaviors(&self, inherits: &Inherits) { + // Do not traverse the behavior's type: it's builtin, even if part of the _spec_utils namespace + self.filter_values_of(&inherits.generics); + } + + fn filter_properties(&self, props: &mut Vec) { + props.retain(|p| self.is_available(&p.availability)); + for prop in props { + self.filter_value_of(&mut prop.typ); + } + } + + fn filter_values_of(&self, values_of: &Vec) { + for value in values_of { + self.filter_value_of(value); + } + } + + fn filter_value_of(&self, value_of: &ValueOf) { + match value_of { + ValueOf::InstanceOf(ref inst_of) => { + self.filter_type(&inst_of.typ); + self.filter_values_of(&inst_of.generics); + } + + ValueOf::ArrayOf(ref arr) => { + self.filter_value_of(arr.value.as_ref()); + } + + ValueOf::UnionOf(ref union) => { + for item in &union.items { + self.filter_value_of(item); + } + } + + ValueOf::DictionaryOf(ref dict) => { + self.filter_value_of(dict.value.as_ref()); + self.filter_value_of(dict.key.as_ref()); + } + + ValueOf::UserDefinedValue(_) => {} + ValueOf::LiteralValue(_) => {} + } + } + + fn filter_body(&self, body: &mut Body) { + match body { + Body::Value(ref value) => self.filter_value_of(&value.value), + Body::Properties(ref mut props) => self.filter_properties(&mut props.properties), + Body::NoBody(_) => {} + } + } +} diff --git a/openapi-converter/clients_schema/src/transform/mod.rs b/openapi-converter/clients_schema/src/transform/mod.rs new file mode 100644 index 0000000000..585ac243d4 --- /dev/null +++ b/openapi-converter/clients_schema/src/transform/mod.rs @@ -0,0 +1,73 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +//! Utilities to transform API models and common transformations: +//! * filtering according to availability +//! + +mod availability; + +use std::collections::HashSet; +use availability::Availability; +use crate::{Availabilities, IndexedModel, TypeName}; + +/// The working state of a type graph traversal algorithm. It keeps track of the types that +/// have been visited/processed and registers those that still need to be visited. +/// +/// Using this structure allows to flatten recursion and also handle recursive data structures +/// by ensuring a type is never visited twice. +/// +#[derive(Default)] +pub struct Worksheet { + visited: HashSet::, + pending: Vec, +} + +impl Worksheet { + /// Add a type name to the pending work list, if it hasn't already been visited and if it's not + /// already in the pending list. + pub fn add(&mut self, name: &TypeName) { + if !self.visited.contains(name) && !self.pending.contains(name) { + self.pending.push(name.clone()); + } + } + + /// Retrieves a type name from the work list, if some are left. This assumes the caller will + /// process the corresponding type, and thus adds it to the list of visited type names. + pub fn next(&mut self) -> Option { + let result = self.pending.pop(); + if let Some(ref name) = result { + self.visited.insert(name.clone()); + } + result + } + + /// Has this type name been visited? + pub fn was_visited(&self, name: &TypeName) -> bool { + self.visited.contains(name) + } +} + +/// Transform a model to only keep the endpoints and types that match a predicate on the `availability` +/// properties. +/// +pub fn filter_availability( + model: IndexedModel, + avail_filter: fn(&Option) -> bool +) -> anyhow::Result { + Availability::filter(model, avail_filter) +} diff --git a/openapi-converter/clients_schema_to_openapi/.gitignore b/openapi-converter/clients_schema_to_openapi/.gitignore new file mode 100644 index 0000000000..3c3629e647 --- /dev/null +++ b/openapi-converter/clients_schema_to_openapi/.gitignore @@ -0,0 +1 @@ +node_modules diff --git a/openapi-converter/clients_schema_to_openapi/.spectral.yaml b/openapi-converter/clients_schema_to_openapi/.spectral.yaml new file mode 100644 index 0000000000..57857d785e --- /dev/null +++ b/openapi-converter/clients_schema_to_openapi/.spectral.yaml @@ -0,0 +1,10 @@ +# Configuration for the Spectral OpenAPI linter https://github.com/stoplightio/spectral + +extends: ["spectral:oas"] + +# Silence some rules +rules: + operation-tags: off # Operation must have non-empty "tags" array. + oas3-api-servers: off # OpenAPI "servers" must be present and non-empty array. + info-contact: off # Info object must have "contact" object. + info-description: off # Info "description" must be present and non-empty string diff --git a/openapi-converter/clients_schema_to_openapi/Cargo.toml b/openapi-converter/clients_schema_to_openapi/Cargo.toml index fc83bf16ae..355e7e52b0 100644 --- a/openapi-converter/clients_schema_to_openapi/Cargo.toml +++ b/openapi-converter/clients_schema_to_openapi/Cargo.toml @@ -4,8 +4,6 @@ version = "0.1.0" edition = "2021" publish = false -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] clients_schema = {path="../clients_schema"} @@ -21,7 +19,9 @@ either_n = "0.2.0" regex = "1.8" maplit = "1.0" -argh = "0.1" - tracing = "0.1.37" tracing-subscriber = "0.3.16" +clap = { version = "4.4.2", features = ["derive"] } + + +quantiles = "0.7.1" diff --git a/openapi-converter/clients_schema_to_openapi/package-lock.json b/openapi-converter/clients_schema_to_openapi/package-lock.json new file mode 100644 index 0000000000..3ce87e9a44 --- /dev/null +++ b/openapi-converter/clients_schema_to_openapi/package-lock.json @@ -0,0 +1,4012 @@ +{ + "name": "clients_schema_to_openapi", + "version": "1.0.0", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "clients_schema_to_openapi", + "version": "1.0.0", + "license": "ISC", + "dependencies": { + "@apidevtools/swagger-parser": "^10.1.0", + "@stoplight/spectral-cli": "^6.10.1", + "ajv": "^8.12.0", + "minimist": "^1.2.8", + "openapi-types": "^12.1.3" + } + }, + "node_modules/@apidevtools/json-schema-ref-parser": { + "version": "9.0.6", + "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-9.0.6.tgz", + "integrity": "sha512-M3YgsLjI0lZxvrpeGVk9Ap032W6TPQkH6pRAZz81Ac3WUNF79VQooAFnp8umjvVzUmD93NkogxEwbSce7qMsUg==", + "dependencies": { + "@jsdevtools/ono": "^7.1.3", + "call-me-maybe": "^1.0.1", + "js-yaml": "^3.13.1" + } + }, + "node_modules/@apidevtools/openapi-schemas": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@apidevtools/openapi-schemas/-/openapi-schemas-2.1.0.tgz", + "integrity": "sha512-Zc1AlqrJlX3SlpupFGpiLi2EbteyP7fXmUOGup6/DnkRgjP9bgMM/ag+n91rsv0U1Gpz0H3VILA/o3bW7Ua6BQ==", + "engines": { + "node": ">=10" + } + }, + "node_modules/@apidevtools/swagger-methods": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@apidevtools/swagger-methods/-/swagger-methods-3.0.2.tgz", + "integrity": "sha512-QAkD5kK2b1WfjDS/UQn/qQkbwF31uqRjPTrsCs5ZG9BQGAkjwvqGFjjPqAuzac/IYzpPtRzjCP1WrTuAIjMrXg==" + }, + "node_modules/@apidevtools/swagger-parser": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/@apidevtools/swagger-parser/-/swagger-parser-10.1.0.tgz", + "integrity": "sha512-9Kt7EuS/7WbMAUv2gSziqjvxwDbFSg3Xeyfuj5laUODX8o/k/CpsAKiQ8W7/R88eXFTMbJYg6+7uAmOWNKmwnw==", + "dependencies": { + "@apidevtools/json-schema-ref-parser": "9.0.6", + "@apidevtools/openapi-schemas": "^2.1.0", + "@apidevtools/swagger-methods": "^3.0.2", + "@jsdevtools/ono": "^7.1.3", + "ajv": "^8.6.3", + "ajv-draft-04": "^1.0.0", + "call-me-maybe": "^1.0.1" + }, + "peerDependencies": { + "openapi-types": ">=7" + } + }, + "node_modules/@asyncapi/specs": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-4.3.1.tgz", + "integrity": "sha512-EfexhJu/lwF8OdQDm28NKLJHFkx0Gb6O+rcezhZYLPIoNYKXJMh2J1vFGpwmfAcTTh+ffK44Oc2Hs1Q4sLBp+A==", + "dependencies": { + "@types/json-schema": "^7.0.11" + } + }, + "node_modules/@jsdevtools/ono": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", + "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==" + }, + "node_modules/@jsep-plugin/regex": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@jsep-plugin/regex/-/regex-1.0.3.tgz", + "integrity": "sha512-XfZgry4DwEZvSFtS/6Y+R48D7qJYJK6R9/yJFyUFHCIUMEEHuJ4X95TDgJp5QkmzfLYvapMPzskV5HpIDrREug==", + "engines": { + "node": ">= 10.16.0" + }, + "peerDependencies": { + "jsep": "^0.4.0||^1.0.0" + } + }, + "node_modules/@jsep-plugin/ternary": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@jsep-plugin/ternary/-/ternary-1.1.3.tgz", + "integrity": "sha512-qtLGzCNzPVJ3kdH6/zoLWDPjauHIKiLSBAR71Wa0+PWvGA8wODUQvRgxtpUA5YqAYL3CQ8S4qXhd/9WuWTZirg==", + "engines": { + "node": ">= 10.16.0" + }, + "peerDependencies": { + "jsep": "^0.4.0||^1.0.0" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@rollup/plugin-commonjs": { + "version": "22.0.2", + "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-22.0.2.tgz", + "integrity": "sha512-//NdP6iIwPbMTcazYsiBMbJW7gfmpHom33u1beiIoHDEM0Q9clvtQB1T0efvMqHeKsGohiHo97BCPCkBXdscwg==", + "dependencies": { + "@rollup/pluginutils": "^3.1.0", + "commondir": "^1.0.1", + "estree-walker": "^2.0.1", + "glob": "^7.1.6", + "is-reference": "^1.2.1", + "magic-string": "^0.25.7", + "resolve": "^1.17.0" + }, + "engines": { + "node": ">= 12.0.0" + }, + "peerDependencies": { + "rollup": "^2.68.0" + } + }, + "node_modules/@rollup/pluginutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", + "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", + "dependencies": { + "@types/estree": "0.0.39", + "estree-walker": "^1.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "node_modules/@rollup/pluginutils/node_modules/estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==" + }, + "node_modules/@stoplight/better-ajv-errors": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@stoplight/better-ajv-errors/-/better-ajv-errors-1.0.3.tgz", + "integrity": "sha512-0p9uXkuB22qGdNfy3VeEhxkU5uwvp/KrBTAbrLBURv6ilxIVwanKwjMc41lQfIVgPGcOkmLbTolfFrSsueu7zA==", + "dependencies": { + "jsonpointer": "^5.0.0", + "leven": "^3.1.0" + }, + "engines": { + "node": "^12.20 || >= 14.13" + }, + "peerDependencies": { + "ajv": ">=8" + } + }, + "node_modules/@stoplight/json": { + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/@stoplight/json/-/json-3.21.0.tgz", + "integrity": "sha512-5O0apqJ/t4sIevXCO3SBN9AHCEKKR/Zb4gaj7wYe5863jme9g02Q0n/GhM7ZCALkL+vGPTe4ZzTETP8TFtsw3g==", + "dependencies": { + "@stoplight/ordered-object-literal": "^1.0.3", + "@stoplight/path": "^1.3.2", + "@stoplight/types": "^13.6.0", + "jsonc-parser": "~2.2.1", + "lodash": "^4.17.21", + "safe-stable-stringify": "^1.1" + }, + "engines": { + "node": ">=8.3.0" + } + }, + "node_modules/@stoplight/json-ref-readers": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@stoplight/json-ref-readers/-/json-ref-readers-1.2.2.tgz", + "integrity": "sha512-nty0tHUq2f1IKuFYsLM4CXLZGHdMn+X/IwEUIpeSOXt0QjMUbL0Em57iJUDzz+2MkWG83smIigNZ3fauGjqgdQ==", + "dependencies": { + "node-fetch": "^2.6.0", + "tslib": "^1.14.1" + }, + "engines": { + "node": ">=8.3.0" + } + }, + "node_modules/@stoplight/json-ref-readers/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, + "node_modules/@stoplight/json-ref-resolver": { + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/@stoplight/json-ref-resolver/-/json-ref-resolver-3.1.6.tgz", + "integrity": "sha512-YNcWv3R3n3U6iQYBsFOiWSuRGE5su1tJSiX6pAPRVk7dP0L7lqCteXGzuVRQ0gMZqUl8v1P0+fAKxF6PLo9B5A==", + "dependencies": { + "@stoplight/json": "^3.21.0", + "@stoplight/path": "^1.3.2", + "@stoplight/types": "^12.3.0 || ^13.0.0", + "@types/urijs": "^1.19.19", + "dependency-graph": "~0.11.0", + "fast-memoize": "^2.5.2", + "immer": "^9.0.6", + "lodash": "^4.17.21", + "tslib": "^2.6.0", + "urijs": "^1.19.11" + }, + "engines": { + "node": ">=8.3.0" + } + }, + "node_modules/@stoplight/ordered-object-literal": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@stoplight/ordered-object-literal/-/ordered-object-literal-1.0.4.tgz", + "integrity": "sha512-OF8uib1jjDs5/cCU+iOVy+GJjU3X7vk/qJIkIJFqwmlJKrrtijFmqwbu8XToXrwTYLQTP+Hebws5gtZEmk9jag==", + "engines": { + "node": ">=8" + } + }, + "node_modules/@stoplight/path": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@stoplight/path/-/path-1.3.2.tgz", + "integrity": "sha512-lyIc6JUlUA8Ve5ELywPC8I2Sdnh1zc1zmbYgVarhXIp9YeAB0ReeqmGEOWNtlHkbP2DAA1AL65Wfn2ncjK/jtQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/@stoplight/spectral-cli": { + "version": "6.10.1", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-cli/-/spectral-cli-6.10.1.tgz", + "integrity": "sha512-yjal3WE42buthVnqfwppw2YmjeXZJ8rmMaHjpx9/94xbbfS79RsReExH9sj1QZam6A9XPGWtjLdWSrklqydpYg==", + "dependencies": { + "@stoplight/json": "~3.21.0", + "@stoplight/path": "1.3.2", + "@stoplight/spectral-core": "^1.18.3", + "@stoplight/spectral-formatters": "^1.2.0", + "@stoplight/spectral-parsers": "^1.0.3", + "@stoplight/spectral-ref-resolver": "^1.0.4", + "@stoplight/spectral-ruleset-bundler": "^1.5.2", + "@stoplight/spectral-ruleset-migrator": "^1.9.5", + "@stoplight/spectral-rulesets": ">=1", + "@stoplight/spectral-runtime": "^1.1.2", + "@stoplight/types": "^13.6.0", + "chalk": "4.1.2", + "fast-glob": "~3.2.12", + "hpagent": "~1.2.0", + "lodash": "~4.17.21", + "pony-cause": "^1.0.0", + "stacktracey": "^2.1.7", + "tslib": "^2.3.0", + "yargs": "17.3.1" + }, + "bin": { + "spectral": "dist/index.js" + }, + "engines": { + "node": "^12.20 || >= 14.13" + } + }, + "node_modules/@stoplight/spectral-core": { + "version": "1.18.3", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-core/-/spectral-core-1.18.3.tgz", + "integrity": "sha512-YY8x7X2SWJIhGTLPol+eFiQpWPz0D0mJdkK2i4A0QJG68KkNhypP6+JBC7/Kz3XWjqr0L/RqAd+N5cQLPOKZGQ==", + "dependencies": { + "@stoplight/better-ajv-errors": "1.0.3", + "@stoplight/json": "~3.21.0", + "@stoplight/path": "1.3.2", + "@stoplight/spectral-parsers": "^1.0.0", + "@stoplight/spectral-ref-resolver": "^1.0.0", + "@stoplight/spectral-runtime": "^1.0.0", + "@stoplight/types": "~13.6.0", + "@types/es-aggregate-error": "^1.0.2", + "@types/json-schema": "^7.0.11", + "ajv": "^8.6.0", + "ajv-errors": "~3.0.0", + "ajv-formats": "~2.1.0", + "es-aggregate-error": "^1.0.7", + "jsonpath-plus": "7.1.0", + "lodash": "~4.17.21", + "lodash.topath": "^4.5.2", + "minimatch": "3.1.2", + "nimma": "0.2.2", + "pony-cause": "^1.0.0", + "simple-eval": "1.0.0", + "tslib": "^2.3.0" + }, + "engines": { + "node": "^12.20 || >= 14.13" + } + }, + "node_modules/@stoplight/spectral-core/node_modules/@stoplight/types": { + "version": "13.6.0", + "resolved": "https://registry.npmjs.org/@stoplight/types/-/types-13.6.0.tgz", + "integrity": "sha512-dzyuzvUjv3m1wmhPfq82lCVYGcXG0xUYgqnWfCq3PCVR4BKFhjdkHrnJ+jIDoMKvXb05AZP/ObQF6+NpDo29IQ==", + "dependencies": { + "@types/json-schema": "^7.0.4", + "utility-types": "^3.10.0" + }, + "engines": { + "node": "^12.20 || >=14.13" + } + }, + "node_modules/@stoplight/spectral-formats": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-formats/-/spectral-formats-1.5.0.tgz", + "integrity": "sha512-VskkdU3qBSvI1dfJ79ysjvTssfNlbA6wrf/XkXK6iTyjfIVqOAWVtjypTb2U95tN/X8IjIBBhNWtZ4tNVZilrA==", + "dependencies": { + "@stoplight/json": "^3.17.0", + "@stoplight/spectral-core": "^1.8.0", + "@types/json-schema": "^7.0.7", + "tslib": "^2.3.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@stoplight/spectral-formatters": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-formatters/-/spectral-formatters-1.2.0.tgz", + "integrity": "sha512-1IrQksU1fpuvK7oT8t0jk419vkvzHbwqKYtnyoF9yZa+MV1AcSsieD5I6wBFL0WlgFr6iCg23s1V99VXlrFelw==", + "dependencies": { + "@stoplight/path": "^1.3.2", + "@stoplight/spectral-core": "^1.15.1", + "@stoplight/spectral-runtime": "^1.1.0", + "@stoplight/types": "^13.15.0", + "chalk": "4.1.2", + "cliui": "7.0.4", + "lodash": "^4.17.21", + "strip-ansi": "6.0", + "text-table": "^0.2.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": "^12.20 || >=14.13" + } + }, + "node_modules/@stoplight/spectral-functions": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-functions/-/spectral-functions-1.7.2.tgz", + "integrity": "sha512-f+61/FtIkQeIo+a269CeaeqjpyRsgDyIk6DGr7iS4hyuk1PPk7Uf6MNRDs9FEIBh7CpdEJ+HSHbMLwgpymWTIw==", + "dependencies": { + "@stoplight/better-ajv-errors": "1.0.3", + "@stoplight/json": "^3.17.1", + "@stoplight/spectral-core": "^1.7.0", + "@stoplight/spectral-formats": "^1.0.0", + "@stoplight/spectral-runtime": "^1.1.0", + "ajv": "^8.6.3", + "ajv-draft-04": "~1.0.0", + "ajv-errors": "~3.0.0", + "ajv-formats": "~2.1.0", + "lodash": "~4.17.21", + "tslib": "^2.3.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@stoplight/spectral-parsers": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-parsers/-/spectral-parsers-1.0.3.tgz", + "integrity": "sha512-J0KW5Rh5cHWnJQ3yN+cr/ijNFVirPSR0pkQbdrNX30VboEl083UEDrQ3yov9kjLVIWEk9t9kKE7Eo3QT/k4JLA==", + "dependencies": { + "@stoplight/json": "~3.21.0", + "@stoplight/types": "^13.6.0", + "@stoplight/yaml": "~4.2.3", + "tslib": "^2.3.1" + }, + "engines": { + "node": "^12.20 || >=14.13" + } + }, + "node_modules/@stoplight/spectral-ref-resolver": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-ref-resolver/-/spectral-ref-resolver-1.0.4.tgz", + "integrity": "sha512-5baQIYL0NJTSVy8v6RxOR4U51xOUYM8wJri1YvlAT6bPN8m0EIxMwfVYi0xUZEMVeHcWx869nIkoqyWmOutF2A==", + "dependencies": { + "@stoplight/json-ref-readers": "1.2.2", + "@stoplight/json-ref-resolver": "~3.1.6", + "@stoplight/spectral-runtime": "^1.1.2", + "dependency-graph": "0.11.0", + "tslib": "^2.3.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@stoplight/spectral-ruleset-bundler": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-ruleset-bundler/-/spectral-ruleset-bundler-1.5.2.tgz", + "integrity": "sha512-4QUVUFAU+S7IQ9XeCu+0TQMYxKFpKnkOAfa9unRQ1iPL2cviaipEN6witpbAptdHJD3UUjx4OnwlX8WwmXSq9w==", + "dependencies": { + "@rollup/plugin-commonjs": "~22.0.2", + "@stoplight/path": "1.3.2", + "@stoplight/spectral-core": ">=1", + "@stoplight/spectral-formats": ">=1", + "@stoplight/spectral-functions": ">=1", + "@stoplight/spectral-parsers": ">=1", + "@stoplight/spectral-ref-resolver": ">=1", + "@stoplight/spectral-ruleset-migrator": "^1.7.4", + "@stoplight/spectral-rulesets": ">=1", + "@stoplight/spectral-runtime": "^1.1.0", + "@stoplight/types": "^13.6.0", + "@types/node": "*", + "pony-cause": "1.1.1", + "rollup": "~2.79.0", + "tslib": "^2.3.1", + "validate-npm-package-name": "3.0.0" + }, + "engines": { + "node": "^12.20 || >= 14.13" + } + }, + "node_modules/@stoplight/spectral-ruleset-migrator": { + "version": "1.9.5", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-ruleset-migrator/-/spectral-ruleset-migrator-1.9.5.tgz", + "integrity": "sha512-76n/HETr3UinVl/xLNldrH9p0JNoD8Gz4K75J6E4OHp4xD0P+BA2e8+W30HjIvqm1LJdLU2BNma0ioy+q3B9RA==", + "dependencies": { + "@stoplight/json": "~3.21.0", + "@stoplight/ordered-object-literal": "~1.0.4", + "@stoplight/path": "1.3.2", + "@stoplight/spectral-functions": "^1.0.0", + "@stoplight/spectral-runtime": "^1.1.0", + "@stoplight/types": "^13.6.0", + "@stoplight/yaml": "~4.2.3", + "@types/node": "*", + "ajv": "^8.6.0", + "ast-types": "0.14.2", + "astring": "^1.7.5", + "reserved": "0.1.2", + "tslib": "^2.3.1", + "validate-npm-package-name": "3.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@stoplight/spectral-rulesets": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-rulesets/-/spectral-rulesets-1.17.0.tgz", + "integrity": "sha512-fRWunqvtP9k0vRonwqXQ663Xt1UfmOZRdaO+S02zA3mlKdA5a1vBQjVV9QYK70TXWmqUfmabc1G35FHNT+7iRw==", + "dependencies": { + "@asyncapi/specs": "^4.1.0", + "@stoplight/better-ajv-errors": "1.0.3", + "@stoplight/json": "^3.17.0", + "@stoplight/spectral-core": "^1.8.1", + "@stoplight/spectral-formats": "^1.5.0", + "@stoplight/spectral-functions": "^1.5.1", + "@stoplight/spectral-runtime": "^1.1.1", + "@stoplight/types": "^13.6.0", + "@types/json-schema": "^7.0.7", + "ajv": "^8.8.2", + "ajv-formats": "~2.1.0", + "json-schema-traverse": "^1.0.0", + "lodash": "~4.17.21", + "tslib": "^2.3.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@stoplight/spectral-runtime": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-runtime/-/spectral-runtime-1.1.2.tgz", + "integrity": "sha512-fr5zRceXI+hrl82yAVoME+4GvJie8v3wmOe9tU+ZLRRNonizthy8qDi0Z/z4olE+vGreSDcuDOZ7JjRxFW5kTw==", + "dependencies": { + "@stoplight/json": "^3.17.0", + "@stoplight/path": "^1.3.2", + "@stoplight/types": "^12.3.0", + "abort-controller": "^3.0.0", + "lodash": "^4.17.21", + "node-fetch": "^2.6.7", + "tslib": "^2.3.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@stoplight/spectral-runtime/node_modules/@stoplight/types": { + "version": "12.5.0", + "resolved": "https://registry.npmjs.org/@stoplight/types/-/types-12.5.0.tgz", + "integrity": "sha512-dwqYcDrGmEyUv5TWrDam5TGOxU72ufyQ7hnOIIDdmW5ezOwZaBFoR5XQ9AsH49w7wgvOqB2Bmo799pJPWnpCbg==", + "dependencies": { + "@types/json-schema": "^7.0.4", + "utility-types": "^3.10.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@stoplight/types": { + "version": "13.20.0", + "resolved": "https://registry.npmjs.org/@stoplight/types/-/types-13.20.0.tgz", + "integrity": "sha512-2FNTv05If7ib79VPDA/r9eUet76jewXFH2y2K5vuge6SXbRHtWBhcaRmu+6QpF4/WRNoJj5XYRSwLGXDxysBGA==", + "dependencies": { + "@types/json-schema": "^7.0.4", + "utility-types": "^3.10.0" + }, + "engines": { + "node": "^12.20 || >=14.13" + } + }, + "node_modules/@stoplight/yaml": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/@stoplight/yaml/-/yaml-4.2.3.tgz", + "integrity": "sha512-Mx01wjRAR9C7yLMUyYFTfbUf5DimEpHMkRDQ1PKLe9dfNILbgdxyrncsOXM3vCpsQ1Hfj4bPiGl+u4u6e9Akqw==", + "dependencies": { + "@stoplight/ordered-object-literal": "^1.0.1", + "@stoplight/types": "^13.0.0", + "@stoplight/yaml-ast-parser": "0.0.48", + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=10.8" + } + }, + "node_modules/@stoplight/yaml-ast-parser": { + "version": "0.0.48", + "resolved": "https://registry.npmjs.org/@stoplight/yaml-ast-parser/-/yaml-ast-parser-0.0.48.tgz", + "integrity": "sha512-sV+51I7WYnLJnKPn2EMWgS4EUfoP4iWEbrWwbXsj0MZCB/xOK8j6+C9fntIdOM50kpx45ZLC3s6kwKivWuqvyg==" + }, + "node_modules/@types/es-aggregate-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@types/es-aggregate-error/-/es-aggregate-error-1.0.2.tgz", + "integrity": "sha512-erqUpFXksaeR2kejKnhnjZjbFxUpGZx4Z7ydNL9ie8tEhXPiZTsLeUDJ6aR1F8j5wWUAtOAQWUqkc7givBJbBA==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==" + }, + "node_modules/@types/json-schema": { + "version": "7.0.12", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz", + "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==" + }, + "node_modules/@types/node": { + "version": "20.5.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.5.9.tgz", + "integrity": "sha512-PcGNd//40kHAS3sTlzKB9C9XL4K0sTup8nbG5lC14kzEteTNuAFh9u5nA0o5TWnSG2r/JNPRXFVcHJIIeRlmqQ==" + }, + "node_modules/@types/urijs": { + "version": "1.19.20", + "resolved": "https://registry.npmjs.org/@types/urijs/-/urijs-1.19.20.tgz", + "integrity": "sha512-77Mq/2BeHU894J364dUv9tSwxxyCLtcX228Pc8TwZpP5bvOoMns+gZoftp3LYl3FBH8vChpWbuagKGiMki2c1A==" + }, + "node_modules/abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "dependencies": { + "event-target-shim": "^5.0.0" + }, + "engines": { + "node": ">=6.5" + } + }, + "node_modules/ajv": { + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-draft-04": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/ajv-draft-04/-/ajv-draft-04-1.0.0.tgz", + "integrity": "sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==", + "peerDependencies": { + "ajv": "^8.5.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/ajv-errors": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-3.0.0.tgz", + "integrity": "sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==", + "peerDependencies": { + "ajv": "^8.0.1" + } + }, + "node_modules/ajv-formats": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", + "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/array-buffer-byte-length": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", + "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", + "dependencies": { + "call-bind": "^1.0.2", + "is-array-buffer": "^3.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/arraybuffer.prototype.slice": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.1.tgz", + "integrity": "sha512-09x0ZWFEjj4WD8PDbykUwo3t9arLn8NIzmmYEJFpYekOAQjpkGSyrQhNoRTcwwcFRu+ycWF78QZ63oWTqSjBcw==", + "dependencies": { + "array-buffer-byte-length": "^1.0.0", + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "get-intrinsic": "^1.2.1", + "is-array-buffer": "^3.0.2", + "is-shared-array-buffer": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/as-table": { + "version": "1.0.55", + "resolved": "https://registry.npmjs.org/as-table/-/as-table-1.0.55.tgz", + "integrity": "sha512-xvsWESUJn0JN421Xb9MQw6AsMHRCUknCe0Wjlxvjud80mU4E6hQf1A6NzQKcYNmYw62MfzEtXc+badstZP3JpQ==", + "dependencies": { + "printable-characters": "^1.0.42" + } + }, + "node_modules/ast-types": { + "version": "0.14.2", + "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.14.2.tgz", + "integrity": "sha512-O0yuUDnZeQDL+ncNGlJ78BiO4jnYI3bvMsD5prT0/nsgijG/LpNBIr63gTjVTNsiGkgQhiyCShTgxt8oXOrklA==", + "dependencies": { + "tslib": "^2.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/astring": { + "version": "1.8.6", + "resolved": "https://registry.npmjs.org/astring/-/astring-1.8.6.tgz", + "integrity": "sha512-ISvCdHdlTDlH5IpxQJIex7BWBywFWgjJSVdwst+/iQCoEYnyOaQ95+X1JGshuBjGp6nxKUy1jMgE3zPqN7fQdg==", + "bin": { + "astring": "bin/astring" + } + }, + "node_modules/available-typed-arrays": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/builtins": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz", + "integrity": "sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==" + }, + "node_modules/call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dependencies": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/call-me-maybe": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.2.tgz", + "integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==" + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==" + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + }, + "node_modules/data-uri-to-buffer": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-2.0.2.tgz", + "integrity": "sha512-ND9qDTLc6diwj+Xe5cdAgVTbLVdXbtxTJRXRhli8Mowuaan+0EJOtdqJ0QCHNSSPyoXGx9HX2/VMnKeC34AChA==" + }, + "node_modules/define-properties": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz", + "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", + "dependencies": { + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/dependency-graph": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/dependency-graph/-/dependency-graph-0.11.0.tgz", + "integrity": "sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==", + "engines": { + "node": ">= 0.6.0" + } + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/es-abstract": { + "version": "1.22.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.1.tgz", + "integrity": "sha512-ioRRcXMO6OFyRpyzV3kE1IIBd4WG5/kltnzdxSCqoP8CMGs/Li+M1uF5o7lOkZVFjDs+NLesthnF66Pg/0q0Lw==", + "dependencies": { + "array-buffer-byte-length": "^1.0.0", + "arraybuffer.prototype.slice": "^1.0.1", + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "es-set-tostringtag": "^2.0.1", + "es-to-primitive": "^1.2.1", + "function.prototype.name": "^1.1.5", + "get-intrinsic": "^1.2.1", + "get-symbol-description": "^1.0.0", + "globalthis": "^1.0.3", + "gopd": "^1.0.1", + "has": "^1.0.3", + "has-property-descriptors": "^1.0.0", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "internal-slot": "^1.0.5", + "is-array-buffer": "^3.0.2", + "is-callable": "^1.2.7", + "is-negative-zero": "^2.0.2", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.2", + "is-string": "^1.0.7", + "is-typed-array": "^1.1.10", + "is-weakref": "^1.0.2", + "object-inspect": "^1.12.3", + "object-keys": "^1.1.1", + "object.assign": "^4.1.4", + "regexp.prototype.flags": "^1.5.0", + "safe-array-concat": "^1.0.0", + "safe-regex-test": "^1.0.0", + "string.prototype.trim": "^1.2.7", + "string.prototype.trimend": "^1.0.6", + "string.prototype.trimstart": "^1.0.6", + "typed-array-buffer": "^1.0.0", + "typed-array-byte-length": "^1.0.0", + "typed-array-byte-offset": "^1.0.0", + "typed-array-length": "^1.0.4", + "unbox-primitive": "^1.0.2", + "which-typed-array": "^1.1.10" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-aggregate-error": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/es-aggregate-error/-/es-aggregate-error-1.0.10.tgz", + "integrity": "sha512-qX3K9eP7HcgeFckzRy1T5Mtb7wYwZt9ahFteBDigG5Te0vGOmOH3dHDncBiuNkZBX9i+C8LgSbpqSEl97gN11Q==", + "dependencies": { + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "function-bind": "^1.1.1", + "functions-have-names": "^1.2.3", + "get-intrinsic": "^1.2.1", + "globalthis": "^1.0.3", + "has-property-descriptors": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-set-tostringtag": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", + "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==", + "dependencies": { + "get-intrinsic": "^1.1.3", + "has": "^1.0.3", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dependencies": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "engines": { + "node": ">=6" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/estree-walker": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" + }, + "node_modules/event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "node_modules/fast-glob": { + "version": "3.2.12", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", + "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-memoize": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/fast-memoize/-/fast-memoize-2.5.2.tgz", + "integrity": "sha512-Ue0LwpDYErFbmNnZSF0UH6eImUwDmogUO1jyE+JbN2gsQz/jICm1Ve7t9QT0rNSsfJt+Hs4/S3GnsDVjL4HVrw==" + }, + "node_modules/fastq": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", + "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dependencies": { + "is-callable": "^1.1.3" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, + "node_modules/function.prototype.name": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", + "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "functions-have-names": "^1.2.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/functions-have-names": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-intrinsic": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", + "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-source": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/get-source/-/get-source-2.0.12.tgz", + "integrity": "sha512-X5+4+iD+HoSeEED+uwrQ07BOQr0kEDFMVqqpBuI+RaZBpBpHCuXxo70bjar6f0b0u/DQJsJ7ssurpP0V60Az+w==", + "dependencies": { + "data-uri-to-buffer": "^2.0.0", + "source-map": "^0.6.1" + } + }, + "node_modules/get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/globalthis": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", + "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", + "dependencies": { + "define-properties": "^1.1.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dependencies": { + "get-intrinsic": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-bigints": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", + "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", + "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "dependencies": { + "get-intrinsic": "^1.1.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", + "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hpagent": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/hpagent/-/hpagent-1.2.0.tgz", + "integrity": "sha512-A91dYTeIB6NoXG+PxTQpCCDDnfHsW9kc06Lvpu1TEe9gnd6ZFeiBoRO9JvzEv6xK7EX97/dUE8g/vBMTqTS3CA==", + "engines": { + "node": ">=14" + } + }, + "node_modules/immer": { + "version": "9.0.21", + "resolved": "https://registry.npmjs.org/immer/-/immer-9.0.21.tgz", + "integrity": "sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/immer" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/internal-slot": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz", + "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==", + "dependencies": { + "get-intrinsic": "^1.2.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/is-array-buffer": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", + "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.0", + "is-typed-array": "^1.1.10" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dependencies": { + "has-bigints": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-callable": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-core-module": { + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz", + "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==", + "dependencies": { + "has": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-number-object": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", + "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-reference": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz", + "integrity": "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==", + "dependencies": { + "@types/estree": "*" + } + }, + "node_modules/is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-shared-array-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", + "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-typed-array": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz", + "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==", + "dependencies": { + "which-typed-array": "^1.1.11" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" + }, + "node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsep": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/jsep/-/jsep-1.3.8.tgz", + "integrity": "sha512-qofGylTGgYj9gZFsHuyWAN4jr35eJ66qJCK4eKDnldohuUoQFbU3iZn2zjvEbd9wOAhP9Wx5DsAAduTyE1PSWQ==", + "engines": { + "node": ">= 10.16.0" + } + }, + "node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, + "node_modules/jsonc-parser": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-2.2.1.tgz", + "integrity": "sha512-o6/yDBYccGvTz1+QFevz6l6OBZ2+fMVu2JZ9CIhzsYRX4mjaK5IyX9eldUdCmga16zlgQxyrj5pt9kzuj2C02w==" + }, + "node_modules/jsonpath-plus": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-7.1.0.tgz", + "integrity": "sha512-gTaNRsPWO/K2KY6MrqaUFClF9kmuM6MFH5Dhg1VYDODgFbByw1yb7xu3hrViE/sz+dGOeMWgCzwUwQtAnCTE9g==", + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/jsonpointer": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-5.0.1.tgz", + "integrity": "sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/leven": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", + "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", + "engines": { + "node": ">=6" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "node_modules/lodash.topath": { + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/lodash.topath/-/lodash.topath-4.5.2.tgz", + "integrity": "sha512-1/W4dM+35DwvE/iEd1M9ekewOSTlpFekhw9mhAtrwjVqUr83/ilQiyAvmg4tVX7Unkcfl1KC+i9WdaT4B6aQcg==" + }, + "node_modules/magic-string": { + "version": "0.25.9", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", + "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", + "dependencies": { + "sourcemap-codec": "^1.4.8" + } + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "dependencies": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/nimma": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/nimma/-/nimma-0.2.2.tgz", + "integrity": "sha512-V52MLl7BU+tH2Np9tDrIXK8bql3MVUadnMIl/0/oZSGC9keuro0O9UUv9QKp0aMvtN8HRew4G7byY7H4eWsxaQ==", + "dependencies": { + "@jsep-plugin/regex": "^1.0.1", + "@jsep-plugin/ternary": "^1.0.2", + "astring": "^1.8.1", + "jsep": "^1.2.0" + }, + "engines": { + "node": "^12.20 || >=14.13" + }, + "optionalDependencies": { + "jsonpath-plus": "^6.0.1", + "lodash.topath": "^4.5.2" + } + }, + "node_modules/nimma/node_modules/jsonpath-plus": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-6.0.1.tgz", + "integrity": "sha512-EvGovdvau6FyLexFH2OeXfIITlgIbgZoAZe3usiySeaIDm5QS+A10DKNpaPBBqqRSZr2HN6HVNXxtwUAr2apEw==", + "optional": true, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/node-fetch": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/object-inspect": { + "version": "1.12.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", + "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.assign": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", + "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "has-symbols": "^1.0.3", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/openapi-types": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-12.1.3.tgz", + "integrity": "sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw==" + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pony-cause": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pony-cause/-/pony-cause-1.1.1.tgz", + "integrity": "sha512-PxkIc/2ZpLiEzQXu5YRDOUgBlfGYBY8156HY5ZcRAwwonMk5W/MrJP2LLkG/hF7GEQzaHo2aS7ho6ZLCOvf+6g==", + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/printable-characters": { + "version": "1.0.42", + "resolved": "https://registry.npmjs.org/printable-characters/-/printable-characters-1.0.42.tgz", + "integrity": "sha512-dKp+C4iXWK4vVYZmYSd0KBH5F/h1HoZRsbJ82AVKRO3PEo8L4lBS/vLwhVtpwwuYcoIsVY+1JYKR268yn480uQ==" + }, + "node_modules/punycode": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", + "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "engines": { + "node": ">=6" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/regexp.prototype.flags": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.0.tgz", + "integrity": "sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "functions-have-names": "^1.2.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/reserved": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/reserved/-/reserved-0.1.2.tgz", + "integrity": "sha512-/qO54MWj5L8WCBP9/UNe2iefJc+L9yETbH32xO/ft/EYPOTCR5k+azvDUgdCOKwZH8hXwPd0b8XBL78Nn2U69g==", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/resolve": { + "version": "1.22.4", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.4.tgz", + "integrity": "sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==", + "dependencies": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rollup": { + "version": "2.79.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz", + "integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==", + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=10.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/safe-array-concat": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.0.0.tgz", + "integrity": "sha512-9dVEFruWIsnie89yym+xWTAYASdpw3CJV7Li/6zBewGf9z2i1j31rP6jnY0pHEO4QZh6N0K11bFjWmdR8UGdPQ==", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.0", + "has-symbols": "^1.0.3", + "isarray": "^2.0.5" + }, + "engines": { + "node": ">=0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/safe-regex-test": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz", + "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.3", + "is-regex": "^1.1.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/safe-stable-stringify": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-1.1.1.tgz", + "integrity": "sha512-ERq4hUjKDbJfE4+XtZLFPCDi8Vb1JqaxAPTxWFLBx8XcAlf9Bda/ZJdVezs/NAfsMQScyIlUMx+Yeu7P7rx5jw==" + }, + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/simple-eval": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/simple-eval/-/simple-eval-1.0.0.tgz", + "integrity": "sha512-kpKJR+bqTscgC0xuAl2xHN6bB12lHjC2DCUfqjAx19bQyO3R2EVLOurm3H9AUltv/uFVcSCVNc6faegR+8NYLw==", + "dependencies": { + "jsep": "^1.1.2" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/sourcemap-codec": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", + "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", + "deprecated": "Please use @jridgewell/sourcemap-codec instead" + }, + "node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" + }, + "node_modules/stacktracey": { + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/stacktracey/-/stacktracey-2.1.8.tgz", + "integrity": "sha512-Kpij9riA+UNg7TnphqjH7/CzctQ/owJGNbFkfEeve4Z4uxT5+JapVLFXcsurIfN34gnTWZNJ/f7NMG0E8JDzTw==", + "dependencies": { + "as-table": "^1.0.36", + "get-source": "^2.0.12" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string.prototype.trim": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz", + "integrity": "sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimend": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz", + "integrity": "sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz", + "integrity": "sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==" + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + }, + "node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + }, + "node_modules/typed-array-buffer": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz", + "integrity": "sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.1", + "is-typed-array": "^1.1.10" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/typed-array-byte-length": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.0.tgz", + "integrity": "sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==", + "dependencies": { + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "has-proto": "^1.0.1", + "is-typed-array": "^1.1.10" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typed-array-byte-offset": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.0.tgz", + "integrity": "sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==", + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "has-proto": "^1.0.1", + "is-typed-array": "^1.1.10" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typed-array-length": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", + "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", + "dependencies": { + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "is-typed-array": "^1.1.9" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/unbox-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", + "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "dependencies": { + "call-bind": "^1.0.2", + "has-bigints": "^1.0.2", + "has-symbols": "^1.0.3", + "which-boxed-primitive": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/urijs": { + "version": "1.19.11", + "resolved": "https://registry.npmjs.org/urijs/-/urijs-1.19.11.tgz", + "integrity": "sha512-HXgFDgDommxn5/bIv0cnQZsPhHDA90NPHD6+c/v21U5+Sx5hoP8+dP9IZXBU1gIfvdRfhG8cel9QNPeionfcCQ==" + }, + "node_modules/utility-types": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz", + "integrity": "sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg==", + "engines": { + "node": ">= 4" + } + }, + "node_modules/validate-npm-package-name": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz", + "integrity": "sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw==", + "dependencies": { + "builtins": "^1.0.3" + } + }, + "node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + }, + "node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "node_modules/which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dependencies": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-typed-array": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.11.tgz", + "integrity": "sha512-qe9UWWpkeG5yzZ0tNYxDmd7vo58HDBc39mZ0xWWpolAGADdFOzkfamWLDxkOWcvHQKVmdTyQdLD4NOfjLWTKew==", + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs": { + "version": "17.3.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.3.1.tgz", + "integrity": "sha512-WUANQeVgjLbNsEmGk20f+nlHgOqzRFpiGWVaBrYGYIGANIIu3lWjoyi0fNlFmJkvfhCZ6BXINe7/W2O2bV4iaA==", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "engines": { + "node": ">=12" + } + } + }, + "dependencies": { + "@apidevtools/json-schema-ref-parser": { + "version": "9.0.6", + "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-9.0.6.tgz", + "integrity": "sha512-M3YgsLjI0lZxvrpeGVk9Ap032W6TPQkH6pRAZz81Ac3WUNF79VQooAFnp8umjvVzUmD93NkogxEwbSce7qMsUg==", + "requires": { + "@jsdevtools/ono": "^7.1.3", + "call-me-maybe": "^1.0.1", + "js-yaml": "^3.13.1" + } + }, + "@apidevtools/openapi-schemas": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@apidevtools/openapi-schemas/-/openapi-schemas-2.1.0.tgz", + "integrity": "sha512-Zc1AlqrJlX3SlpupFGpiLi2EbteyP7fXmUOGup6/DnkRgjP9bgMM/ag+n91rsv0U1Gpz0H3VILA/o3bW7Ua6BQ==" + }, + "@apidevtools/swagger-methods": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@apidevtools/swagger-methods/-/swagger-methods-3.0.2.tgz", + "integrity": "sha512-QAkD5kK2b1WfjDS/UQn/qQkbwF31uqRjPTrsCs5ZG9BQGAkjwvqGFjjPqAuzac/IYzpPtRzjCP1WrTuAIjMrXg==" + }, + "@apidevtools/swagger-parser": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/@apidevtools/swagger-parser/-/swagger-parser-10.1.0.tgz", + "integrity": "sha512-9Kt7EuS/7WbMAUv2gSziqjvxwDbFSg3Xeyfuj5laUODX8o/k/CpsAKiQ8W7/R88eXFTMbJYg6+7uAmOWNKmwnw==", + "requires": { + "@apidevtools/json-schema-ref-parser": "9.0.6", + "@apidevtools/openapi-schemas": "^2.1.0", + "@apidevtools/swagger-methods": "^3.0.2", + "@jsdevtools/ono": "^7.1.3", + "ajv": "^8.6.3", + "ajv-draft-04": "^1.0.0", + "call-me-maybe": "^1.0.1" + } + }, + "@asyncapi/specs": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-4.3.1.tgz", + "integrity": "sha512-EfexhJu/lwF8OdQDm28NKLJHFkx0Gb6O+rcezhZYLPIoNYKXJMh2J1vFGpwmfAcTTh+ffK44Oc2Hs1Q4sLBp+A==", + "requires": { + "@types/json-schema": "^7.0.11" + } + }, + "@jsdevtools/ono": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", + "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==" + }, + "@jsep-plugin/regex": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@jsep-plugin/regex/-/regex-1.0.3.tgz", + "integrity": "sha512-XfZgry4DwEZvSFtS/6Y+R48D7qJYJK6R9/yJFyUFHCIUMEEHuJ4X95TDgJp5QkmzfLYvapMPzskV5HpIDrREug==", + "requires": {} + }, + "@jsep-plugin/ternary": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@jsep-plugin/ternary/-/ternary-1.1.3.tgz", + "integrity": "sha512-qtLGzCNzPVJ3kdH6/zoLWDPjauHIKiLSBAR71Wa0+PWvGA8wODUQvRgxtpUA5YqAYL3CQ8S4qXhd/9WuWTZirg==", + "requires": {} + }, + "@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "requires": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + } + }, + "@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==" + }, + "@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "requires": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + } + }, + "@rollup/plugin-commonjs": { + "version": "22.0.2", + "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-22.0.2.tgz", + "integrity": "sha512-//NdP6iIwPbMTcazYsiBMbJW7gfmpHom33u1beiIoHDEM0Q9clvtQB1T0efvMqHeKsGohiHo97BCPCkBXdscwg==", + "requires": { + "@rollup/pluginutils": "^3.1.0", + "commondir": "^1.0.1", + "estree-walker": "^2.0.1", + "glob": "^7.1.6", + "is-reference": "^1.2.1", + "magic-string": "^0.25.7", + "resolve": "^1.17.0" + } + }, + "@rollup/pluginutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", + "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", + "requires": { + "@types/estree": "0.0.39", + "estree-walker": "^1.0.1", + "picomatch": "^2.2.2" + }, + "dependencies": { + "estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==" + } + } + }, + "@stoplight/better-ajv-errors": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@stoplight/better-ajv-errors/-/better-ajv-errors-1.0.3.tgz", + "integrity": "sha512-0p9uXkuB22qGdNfy3VeEhxkU5uwvp/KrBTAbrLBURv6ilxIVwanKwjMc41lQfIVgPGcOkmLbTolfFrSsueu7zA==", + "requires": { + "jsonpointer": "^5.0.0", + "leven": "^3.1.0" + } + }, + "@stoplight/json": { + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/@stoplight/json/-/json-3.21.0.tgz", + "integrity": "sha512-5O0apqJ/t4sIevXCO3SBN9AHCEKKR/Zb4gaj7wYe5863jme9g02Q0n/GhM7ZCALkL+vGPTe4ZzTETP8TFtsw3g==", + "requires": { + "@stoplight/ordered-object-literal": "^1.0.3", + "@stoplight/path": "^1.3.2", + "@stoplight/types": "^13.6.0", + "jsonc-parser": "~2.2.1", + "lodash": "^4.17.21", + "safe-stable-stringify": "^1.1" + } + }, + "@stoplight/json-ref-readers": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@stoplight/json-ref-readers/-/json-ref-readers-1.2.2.tgz", + "integrity": "sha512-nty0tHUq2f1IKuFYsLM4CXLZGHdMn+X/IwEUIpeSOXt0QjMUbL0Em57iJUDzz+2MkWG83smIigNZ3fauGjqgdQ==", + "requires": { + "node-fetch": "^2.6.0", + "tslib": "^1.14.1" + }, + "dependencies": { + "tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + } + } + }, + "@stoplight/json-ref-resolver": { + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/@stoplight/json-ref-resolver/-/json-ref-resolver-3.1.6.tgz", + "integrity": "sha512-YNcWv3R3n3U6iQYBsFOiWSuRGE5su1tJSiX6pAPRVk7dP0L7lqCteXGzuVRQ0gMZqUl8v1P0+fAKxF6PLo9B5A==", + "requires": { + "@stoplight/json": "^3.21.0", + "@stoplight/path": "^1.3.2", + "@stoplight/types": "^12.3.0 || ^13.0.0", + "@types/urijs": "^1.19.19", + "dependency-graph": "~0.11.0", + "fast-memoize": "^2.5.2", + "immer": "^9.0.6", + "lodash": "^4.17.21", + "tslib": "^2.6.0", + "urijs": "^1.19.11" + } + }, + "@stoplight/ordered-object-literal": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@stoplight/ordered-object-literal/-/ordered-object-literal-1.0.4.tgz", + "integrity": "sha512-OF8uib1jjDs5/cCU+iOVy+GJjU3X7vk/qJIkIJFqwmlJKrrtijFmqwbu8XToXrwTYLQTP+Hebws5gtZEmk9jag==" + }, + "@stoplight/path": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@stoplight/path/-/path-1.3.2.tgz", + "integrity": "sha512-lyIc6JUlUA8Ve5ELywPC8I2Sdnh1zc1zmbYgVarhXIp9YeAB0ReeqmGEOWNtlHkbP2DAA1AL65Wfn2ncjK/jtQ==" + }, + "@stoplight/spectral-cli": { + "version": "6.10.1", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-cli/-/spectral-cli-6.10.1.tgz", + "integrity": "sha512-yjal3WE42buthVnqfwppw2YmjeXZJ8rmMaHjpx9/94xbbfS79RsReExH9sj1QZam6A9XPGWtjLdWSrklqydpYg==", + "requires": { + "@stoplight/json": "~3.21.0", + "@stoplight/path": "1.3.2", + "@stoplight/spectral-core": "^1.18.3", + "@stoplight/spectral-formatters": "^1.2.0", + "@stoplight/spectral-parsers": "^1.0.3", + "@stoplight/spectral-ref-resolver": "^1.0.4", + "@stoplight/spectral-ruleset-bundler": "^1.5.2", + "@stoplight/spectral-ruleset-migrator": "^1.9.5", + "@stoplight/spectral-rulesets": ">=1", + "@stoplight/spectral-runtime": "^1.1.2", + "@stoplight/types": "^13.6.0", + "chalk": "4.1.2", + "fast-glob": "~3.2.12", + "hpagent": "~1.2.0", + "lodash": "~4.17.21", + "pony-cause": "^1.0.0", + "stacktracey": "^2.1.7", + "tslib": "^2.3.0", + "yargs": "17.3.1" + } + }, + "@stoplight/spectral-core": { + "version": "1.18.3", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-core/-/spectral-core-1.18.3.tgz", + "integrity": "sha512-YY8x7X2SWJIhGTLPol+eFiQpWPz0D0mJdkK2i4A0QJG68KkNhypP6+JBC7/Kz3XWjqr0L/RqAd+N5cQLPOKZGQ==", + "requires": { + "@stoplight/better-ajv-errors": "1.0.3", + "@stoplight/json": "~3.21.0", + "@stoplight/path": "1.3.2", + "@stoplight/spectral-parsers": "^1.0.0", + "@stoplight/spectral-ref-resolver": "^1.0.0", + "@stoplight/spectral-runtime": "^1.0.0", + "@stoplight/types": "~13.6.0", + "@types/es-aggregate-error": "^1.0.2", + "@types/json-schema": "^7.0.11", + "ajv": "^8.6.0", + "ajv-errors": "~3.0.0", + "ajv-formats": "~2.1.0", + "es-aggregate-error": "^1.0.7", + "jsonpath-plus": "7.1.0", + "lodash": "~4.17.21", + "lodash.topath": "^4.5.2", + "minimatch": "3.1.2", + "nimma": "0.2.2", + "pony-cause": "^1.0.0", + "simple-eval": "1.0.0", + "tslib": "^2.3.0" + }, + "dependencies": { + "@stoplight/types": { + "version": "13.6.0", + "resolved": "https://registry.npmjs.org/@stoplight/types/-/types-13.6.0.tgz", + "integrity": "sha512-dzyuzvUjv3m1wmhPfq82lCVYGcXG0xUYgqnWfCq3PCVR4BKFhjdkHrnJ+jIDoMKvXb05AZP/ObQF6+NpDo29IQ==", + "requires": { + "@types/json-schema": "^7.0.4", + "utility-types": "^3.10.0" + } + } + } + }, + "@stoplight/spectral-formats": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-formats/-/spectral-formats-1.5.0.tgz", + "integrity": "sha512-VskkdU3qBSvI1dfJ79ysjvTssfNlbA6wrf/XkXK6iTyjfIVqOAWVtjypTb2U95tN/X8IjIBBhNWtZ4tNVZilrA==", + "requires": { + "@stoplight/json": "^3.17.0", + "@stoplight/spectral-core": "^1.8.0", + "@types/json-schema": "^7.0.7", + "tslib": "^2.3.1" + } + }, + "@stoplight/spectral-formatters": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-formatters/-/spectral-formatters-1.2.0.tgz", + "integrity": "sha512-1IrQksU1fpuvK7oT8t0jk419vkvzHbwqKYtnyoF9yZa+MV1AcSsieD5I6wBFL0WlgFr6iCg23s1V99VXlrFelw==", + "requires": { + "@stoplight/path": "^1.3.2", + "@stoplight/spectral-core": "^1.15.1", + "@stoplight/spectral-runtime": "^1.1.0", + "@stoplight/types": "^13.15.0", + "chalk": "4.1.2", + "cliui": "7.0.4", + "lodash": "^4.17.21", + "strip-ansi": "6.0", + "text-table": "^0.2.0", + "tslib": "^2.5.0" + } + }, + "@stoplight/spectral-functions": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-functions/-/spectral-functions-1.7.2.tgz", + "integrity": "sha512-f+61/FtIkQeIo+a269CeaeqjpyRsgDyIk6DGr7iS4hyuk1PPk7Uf6MNRDs9FEIBh7CpdEJ+HSHbMLwgpymWTIw==", + "requires": { + "@stoplight/better-ajv-errors": "1.0.3", + "@stoplight/json": "^3.17.1", + "@stoplight/spectral-core": "^1.7.0", + "@stoplight/spectral-formats": "^1.0.0", + "@stoplight/spectral-runtime": "^1.1.0", + "ajv": "^8.6.3", + "ajv-draft-04": "~1.0.0", + "ajv-errors": "~3.0.0", + "ajv-formats": "~2.1.0", + "lodash": "~4.17.21", + "tslib": "^2.3.0" + } + }, + "@stoplight/spectral-parsers": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-parsers/-/spectral-parsers-1.0.3.tgz", + "integrity": "sha512-J0KW5Rh5cHWnJQ3yN+cr/ijNFVirPSR0pkQbdrNX30VboEl083UEDrQ3yov9kjLVIWEk9t9kKE7Eo3QT/k4JLA==", + "requires": { + "@stoplight/json": "~3.21.0", + "@stoplight/types": "^13.6.0", + "@stoplight/yaml": "~4.2.3", + "tslib": "^2.3.1" + } + }, + "@stoplight/spectral-ref-resolver": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-ref-resolver/-/spectral-ref-resolver-1.0.4.tgz", + "integrity": "sha512-5baQIYL0NJTSVy8v6RxOR4U51xOUYM8wJri1YvlAT6bPN8m0EIxMwfVYi0xUZEMVeHcWx869nIkoqyWmOutF2A==", + "requires": { + "@stoplight/json-ref-readers": "1.2.2", + "@stoplight/json-ref-resolver": "~3.1.6", + "@stoplight/spectral-runtime": "^1.1.2", + "dependency-graph": "0.11.0", + "tslib": "^2.3.1" + } + }, + "@stoplight/spectral-ruleset-bundler": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-ruleset-bundler/-/spectral-ruleset-bundler-1.5.2.tgz", + "integrity": "sha512-4QUVUFAU+S7IQ9XeCu+0TQMYxKFpKnkOAfa9unRQ1iPL2cviaipEN6witpbAptdHJD3UUjx4OnwlX8WwmXSq9w==", + "requires": { + "@rollup/plugin-commonjs": "~22.0.2", + "@stoplight/path": "1.3.2", + "@stoplight/spectral-core": ">=1", + "@stoplight/spectral-formats": ">=1", + "@stoplight/spectral-functions": ">=1", + "@stoplight/spectral-parsers": ">=1", + "@stoplight/spectral-ref-resolver": ">=1", + "@stoplight/spectral-ruleset-migrator": "^1.7.4", + "@stoplight/spectral-rulesets": ">=1", + "@stoplight/spectral-runtime": "^1.1.0", + "@stoplight/types": "^13.6.0", + "@types/node": "*", + "pony-cause": "1.1.1", + "rollup": "~2.79.0", + "tslib": "^2.3.1", + "validate-npm-package-name": "3.0.0" + } + }, + "@stoplight/spectral-ruleset-migrator": { + "version": "1.9.5", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-ruleset-migrator/-/spectral-ruleset-migrator-1.9.5.tgz", + "integrity": "sha512-76n/HETr3UinVl/xLNldrH9p0JNoD8Gz4K75J6E4OHp4xD0P+BA2e8+W30HjIvqm1LJdLU2BNma0ioy+q3B9RA==", + "requires": { + "@stoplight/json": "~3.21.0", + "@stoplight/ordered-object-literal": "~1.0.4", + "@stoplight/path": "1.3.2", + "@stoplight/spectral-functions": "^1.0.0", + "@stoplight/spectral-runtime": "^1.1.0", + "@stoplight/types": "^13.6.0", + "@stoplight/yaml": "~4.2.3", + "@types/node": "*", + "ajv": "^8.6.0", + "ast-types": "0.14.2", + "astring": "^1.7.5", + "reserved": "0.1.2", + "tslib": "^2.3.1", + "validate-npm-package-name": "3.0.0" + } + }, + "@stoplight/spectral-rulesets": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-rulesets/-/spectral-rulesets-1.17.0.tgz", + "integrity": "sha512-fRWunqvtP9k0vRonwqXQ663Xt1UfmOZRdaO+S02zA3mlKdA5a1vBQjVV9QYK70TXWmqUfmabc1G35FHNT+7iRw==", + "requires": { + "@asyncapi/specs": "^4.1.0", + "@stoplight/better-ajv-errors": "1.0.3", + "@stoplight/json": "^3.17.0", + "@stoplight/spectral-core": "^1.8.1", + "@stoplight/spectral-formats": "^1.5.0", + "@stoplight/spectral-functions": "^1.5.1", + "@stoplight/spectral-runtime": "^1.1.1", + "@stoplight/types": "^13.6.0", + "@types/json-schema": "^7.0.7", + "ajv": "^8.8.2", + "ajv-formats": "~2.1.0", + "json-schema-traverse": "^1.0.0", + "lodash": "~4.17.21", + "tslib": "^2.3.0" + } + }, + "@stoplight/spectral-runtime": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-runtime/-/spectral-runtime-1.1.2.tgz", + "integrity": "sha512-fr5zRceXI+hrl82yAVoME+4GvJie8v3wmOe9tU+ZLRRNonizthy8qDi0Z/z4olE+vGreSDcuDOZ7JjRxFW5kTw==", + "requires": { + "@stoplight/json": "^3.17.0", + "@stoplight/path": "^1.3.2", + "@stoplight/types": "^12.3.0", + "abort-controller": "^3.0.0", + "lodash": "^4.17.21", + "node-fetch": "^2.6.7", + "tslib": "^2.3.1" + }, + "dependencies": { + "@stoplight/types": { + "version": "12.5.0", + "resolved": "https://registry.npmjs.org/@stoplight/types/-/types-12.5.0.tgz", + "integrity": "sha512-dwqYcDrGmEyUv5TWrDam5TGOxU72ufyQ7hnOIIDdmW5ezOwZaBFoR5XQ9AsH49w7wgvOqB2Bmo799pJPWnpCbg==", + "requires": { + "@types/json-schema": "^7.0.4", + "utility-types": "^3.10.0" + } + } + } + }, + "@stoplight/types": { + "version": "13.20.0", + "resolved": "https://registry.npmjs.org/@stoplight/types/-/types-13.20.0.tgz", + "integrity": "sha512-2FNTv05If7ib79VPDA/r9eUet76jewXFH2y2K5vuge6SXbRHtWBhcaRmu+6QpF4/WRNoJj5XYRSwLGXDxysBGA==", + "requires": { + "@types/json-schema": "^7.0.4", + "utility-types": "^3.10.0" + } + }, + "@stoplight/yaml": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/@stoplight/yaml/-/yaml-4.2.3.tgz", + "integrity": "sha512-Mx01wjRAR9C7yLMUyYFTfbUf5DimEpHMkRDQ1PKLe9dfNILbgdxyrncsOXM3vCpsQ1Hfj4bPiGl+u4u6e9Akqw==", + "requires": { + "@stoplight/ordered-object-literal": "^1.0.1", + "@stoplight/types": "^13.0.0", + "@stoplight/yaml-ast-parser": "0.0.48", + "tslib": "^2.2.0" + } + }, + "@stoplight/yaml-ast-parser": { + "version": "0.0.48", + "resolved": "https://registry.npmjs.org/@stoplight/yaml-ast-parser/-/yaml-ast-parser-0.0.48.tgz", + "integrity": "sha512-sV+51I7WYnLJnKPn2EMWgS4EUfoP4iWEbrWwbXsj0MZCB/xOK8j6+C9fntIdOM50kpx45ZLC3s6kwKivWuqvyg==" + }, + "@types/es-aggregate-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@types/es-aggregate-error/-/es-aggregate-error-1.0.2.tgz", + "integrity": "sha512-erqUpFXksaeR2kejKnhnjZjbFxUpGZx4Z7ydNL9ie8tEhXPiZTsLeUDJ6aR1F8j5wWUAtOAQWUqkc7givBJbBA==", + "requires": { + "@types/node": "*" + } + }, + "@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==" + }, + "@types/json-schema": { + "version": "7.0.12", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz", + "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==" + }, + "@types/node": { + "version": "20.5.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.5.9.tgz", + "integrity": "sha512-PcGNd//40kHAS3sTlzKB9C9XL4K0sTup8nbG5lC14kzEteTNuAFh9u5nA0o5TWnSG2r/JNPRXFVcHJIIeRlmqQ==" + }, + "@types/urijs": { + "version": "1.19.20", + "resolved": "https://registry.npmjs.org/@types/urijs/-/urijs-1.19.20.tgz", + "integrity": "sha512-77Mq/2BeHU894J364dUv9tSwxxyCLtcX228Pc8TwZpP5bvOoMns+gZoftp3LYl3FBH8vChpWbuagKGiMki2c1A==" + }, + "abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "requires": { + "event-target-shim": "^5.0.0" + } + }, + "ajv": { + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "requires": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + } + }, + "ajv-draft-04": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/ajv-draft-04/-/ajv-draft-04-1.0.0.tgz", + "integrity": "sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==", + "requires": {} + }, + "ajv-errors": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-3.0.0.tgz", + "integrity": "sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==", + "requires": {} + }, + "ajv-formats": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", + "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", + "requires": { + "ajv": "^8.0.0" + } + }, + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "requires": { + "sprintf-js": "~1.0.2" + } + }, + "array-buffer-byte-length": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", + "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", + "requires": { + "call-bind": "^1.0.2", + "is-array-buffer": "^3.0.1" + } + }, + "arraybuffer.prototype.slice": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.1.tgz", + "integrity": "sha512-09x0ZWFEjj4WD8PDbykUwo3t9arLn8NIzmmYEJFpYekOAQjpkGSyrQhNoRTcwwcFRu+ycWF78QZ63oWTqSjBcw==", + "requires": { + "array-buffer-byte-length": "^1.0.0", + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "get-intrinsic": "^1.2.1", + "is-array-buffer": "^3.0.2", + "is-shared-array-buffer": "^1.0.2" + } + }, + "as-table": { + "version": "1.0.55", + "resolved": "https://registry.npmjs.org/as-table/-/as-table-1.0.55.tgz", + "integrity": "sha512-xvsWESUJn0JN421Xb9MQw6AsMHRCUknCe0Wjlxvjud80mU4E6hQf1A6NzQKcYNmYw62MfzEtXc+badstZP3JpQ==", + "requires": { + "printable-characters": "^1.0.42" + } + }, + "ast-types": { + "version": "0.14.2", + "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.14.2.tgz", + "integrity": "sha512-O0yuUDnZeQDL+ncNGlJ78BiO4jnYI3bvMsD5prT0/nsgijG/LpNBIr63gTjVTNsiGkgQhiyCShTgxt8oXOrklA==", + "requires": { + "tslib": "^2.0.1" + } + }, + "astring": { + "version": "1.8.6", + "resolved": "https://registry.npmjs.org/astring/-/astring-1.8.6.tgz", + "integrity": "sha512-ISvCdHdlTDlH5IpxQJIex7BWBywFWgjJSVdwst+/iQCoEYnyOaQ95+X1JGshuBjGp6nxKUy1jMgE3zPqN7fQdg==" + }, + "available-typed-arrays": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==" + }, + "balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "requires": { + "fill-range": "^7.0.1" + } + }, + "builtins": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz", + "integrity": "sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==" + }, + "call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "requires": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + } + }, + "call-me-maybe": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.2.tgz", + "integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==" + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==" + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + }, + "data-uri-to-buffer": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-2.0.2.tgz", + "integrity": "sha512-ND9qDTLc6diwj+Xe5cdAgVTbLVdXbtxTJRXRhli8Mowuaan+0EJOtdqJ0QCHNSSPyoXGx9HX2/VMnKeC34AChA==" + }, + "define-properties": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz", + "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", + "requires": { + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + } + }, + "dependency-graph": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/dependency-graph/-/dependency-graph-0.11.0.tgz", + "integrity": "sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==" + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "es-abstract": { + "version": "1.22.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.1.tgz", + "integrity": "sha512-ioRRcXMO6OFyRpyzV3kE1IIBd4WG5/kltnzdxSCqoP8CMGs/Li+M1uF5o7lOkZVFjDs+NLesthnF66Pg/0q0Lw==", + "requires": { + "array-buffer-byte-length": "^1.0.0", + "arraybuffer.prototype.slice": "^1.0.1", + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "es-set-tostringtag": "^2.0.1", + "es-to-primitive": "^1.2.1", + "function.prototype.name": "^1.1.5", + "get-intrinsic": "^1.2.1", + "get-symbol-description": "^1.0.0", + "globalthis": "^1.0.3", + "gopd": "^1.0.1", + "has": "^1.0.3", + "has-property-descriptors": "^1.0.0", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "internal-slot": "^1.0.5", + "is-array-buffer": "^3.0.2", + "is-callable": "^1.2.7", + "is-negative-zero": "^2.0.2", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.2", + "is-string": "^1.0.7", + "is-typed-array": "^1.1.10", + "is-weakref": "^1.0.2", + "object-inspect": "^1.12.3", + "object-keys": "^1.1.1", + "object.assign": "^4.1.4", + "regexp.prototype.flags": "^1.5.0", + "safe-array-concat": "^1.0.0", + "safe-regex-test": "^1.0.0", + "string.prototype.trim": "^1.2.7", + "string.prototype.trimend": "^1.0.6", + "string.prototype.trimstart": "^1.0.6", + "typed-array-buffer": "^1.0.0", + "typed-array-byte-length": "^1.0.0", + "typed-array-byte-offset": "^1.0.0", + "typed-array-length": "^1.0.4", + "unbox-primitive": "^1.0.2", + "which-typed-array": "^1.1.10" + } + }, + "es-aggregate-error": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/es-aggregate-error/-/es-aggregate-error-1.0.10.tgz", + "integrity": "sha512-qX3K9eP7HcgeFckzRy1T5Mtb7wYwZt9ahFteBDigG5Te0vGOmOH3dHDncBiuNkZBX9i+C8LgSbpqSEl97gN11Q==", + "requires": { + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "function-bind": "^1.1.1", + "functions-have-names": "^1.2.3", + "get-intrinsic": "^1.2.1", + "globalthis": "^1.0.3", + "has-property-descriptors": "^1.0.0" + } + }, + "es-set-tostringtag": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", + "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==", + "requires": { + "get-intrinsic": "^1.1.3", + "has": "^1.0.3", + "has-tostringtag": "^1.0.0" + } + }, + "es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "requires": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + } + }, + "escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" + }, + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" + }, + "estree-walker": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" + }, + "event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==" + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "fast-glob": { + "version": "3.2.12", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", + "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", + "requires": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + } + }, + "fast-memoize": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/fast-memoize/-/fast-memoize-2.5.2.tgz", + "integrity": "sha512-Ue0LwpDYErFbmNnZSF0UH6eImUwDmogUO1jyE+JbN2gsQz/jICm1Ve7t9QT0rNSsfJt+Hs4/S3GnsDVjL4HVrw==" + }, + "fastq": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", + "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "requires": { + "reusify": "^1.0.4" + } + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "requires": { + "is-callable": "^1.1.3" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" + }, + "fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "optional": true + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, + "function.prototype.name": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", + "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "functions-have-names": "^1.2.3" + } + }, + "functions-have-names": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==" + }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" + }, + "get-intrinsic": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", + "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", + "requires": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3" + } + }, + "get-source": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/get-source/-/get-source-2.0.12.tgz", + "integrity": "sha512-X5+4+iD+HoSeEED+uwrQ07BOQr0kEDFMVqqpBuI+RaZBpBpHCuXxo70bjar6f0b0u/DQJsJ7ssurpP0V60Az+w==", + "requires": { + "data-uri-to-buffer": "^2.0.0", + "source-map": "^0.6.1" + } + }, + "get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + } + }, + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "requires": { + "is-glob": "^4.0.1" + } + }, + "globalthis": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", + "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", + "requires": { + "define-properties": "^1.1.3" + } + }, + "gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "requires": { + "get-intrinsic": "^1.1.3" + } + }, + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-bigints": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", + "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==" + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + }, + "has-property-descriptors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", + "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "requires": { + "get-intrinsic": "^1.1.1" + } + }, + "has-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", + "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==" + }, + "has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" + }, + "has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "requires": { + "has-symbols": "^1.0.2" + } + }, + "hpagent": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/hpagent/-/hpagent-1.2.0.tgz", + "integrity": "sha512-A91dYTeIB6NoXG+PxTQpCCDDnfHsW9kc06Lvpu1TEe9gnd6ZFeiBoRO9JvzEv6xK7EX97/dUE8g/vBMTqTS3CA==" + }, + "immer": { + "version": "9.0.21", + "resolved": "https://registry.npmjs.org/immer/-/immer-9.0.21.tgz", + "integrity": "sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==" + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "internal-slot": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz", + "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==", + "requires": { + "get-intrinsic": "^1.2.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + } + }, + "is-array-buffer": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", + "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.0", + "is-typed-array": "^1.1.10" + } + }, + "is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "requires": { + "has-bigints": "^1.0.1" + } + }, + "is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-callable": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==" + }, + "is-core-module": { + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz", + "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==", + "requires": { + "has": "^1.0.3" + } + }, + "is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==" + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" + }, + "is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==" + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" + }, + "is-number-object": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", + "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-reference": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz", + "integrity": "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==", + "requires": { + "@types/estree": "*" + } + }, + "is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-shared-array-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", + "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", + "requires": { + "call-bind": "^1.0.2" + } + }, + "is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "requires": { + "has-symbols": "^1.0.2" + } + }, + "is-typed-array": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz", + "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==", + "requires": { + "which-typed-array": "^1.1.11" + } + }, + "is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "requires": { + "call-bind": "^1.0.2" + } + }, + "isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" + }, + "js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + } + }, + "jsep": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/jsep/-/jsep-1.3.8.tgz", + "integrity": "sha512-qofGylTGgYj9gZFsHuyWAN4jr35eJ66qJCK4eKDnldohuUoQFbU3iZn2zjvEbd9wOAhP9Wx5DsAAduTyE1PSWQ==" + }, + "json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, + "jsonc-parser": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-2.2.1.tgz", + "integrity": "sha512-o6/yDBYccGvTz1+QFevz6l6OBZ2+fMVu2JZ9CIhzsYRX4mjaK5IyX9eldUdCmga16zlgQxyrj5pt9kzuj2C02w==" + }, + "jsonpath-plus": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-7.1.0.tgz", + "integrity": "sha512-gTaNRsPWO/K2KY6MrqaUFClF9kmuM6MFH5Dhg1VYDODgFbByw1yb7xu3hrViE/sz+dGOeMWgCzwUwQtAnCTE9g==" + }, + "jsonpointer": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-5.0.1.tgz", + "integrity": "sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==" + }, + "leven": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", + "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==" + }, + "lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "lodash.topath": { + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/lodash.topath/-/lodash.topath-4.5.2.tgz", + "integrity": "sha512-1/W4dM+35DwvE/iEd1M9ekewOSTlpFekhw9mhAtrwjVqUr83/ilQiyAvmg4tVX7Unkcfl1KC+i9WdaT4B6aQcg==" + }, + "magic-string": { + "version": "0.25.9", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", + "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", + "requires": { + "sourcemap-codec": "^1.4.8" + } + }, + "merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==" + }, + "micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "requires": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + } + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==" + }, + "nimma": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/nimma/-/nimma-0.2.2.tgz", + "integrity": "sha512-V52MLl7BU+tH2Np9tDrIXK8bql3MVUadnMIl/0/oZSGC9keuro0O9UUv9QKp0aMvtN8HRew4G7byY7H4eWsxaQ==", + "requires": { + "@jsep-plugin/regex": "^1.0.1", + "@jsep-plugin/ternary": "^1.0.2", + "astring": "^1.8.1", + "jsep": "^1.2.0", + "jsonpath-plus": "^6.0.1", + "lodash.topath": "^4.5.2" + }, + "dependencies": { + "jsonpath-plus": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-6.0.1.tgz", + "integrity": "sha512-EvGovdvau6FyLexFH2OeXfIITlgIbgZoAZe3usiySeaIDm5QS+A10DKNpaPBBqqRSZr2HN6HVNXxtwUAr2apEw==", + "optional": true + } + } + }, + "node-fetch": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "requires": { + "whatwg-url": "^5.0.0" + } + }, + "object-inspect": { + "version": "1.12.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", + "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==" + }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" + }, + "object.assign": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", + "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "has-symbols": "^1.0.3", + "object-keys": "^1.1.1" + } + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "requires": { + "wrappy": "1" + } + }, + "openapi-types": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-12.1.3.tgz", + "integrity": "sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw==" + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==" + }, + "path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + }, + "picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" + }, + "pony-cause": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pony-cause/-/pony-cause-1.1.1.tgz", + "integrity": "sha512-PxkIc/2ZpLiEzQXu5YRDOUgBlfGYBY8156HY5ZcRAwwonMk5W/MrJP2LLkG/hF7GEQzaHo2aS7ho6ZLCOvf+6g==" + }, + "printable-characters": { + "version": "1.0.42", + "resolved": "https://registry.npmjs.org/printable-characters/-/printable-characters-1.0.42.tgz", + "integrity": "sha512-dKp+C4iXWK4vVYZmYSd0KBH5F/h1HoZRsbJ82AVKRO3PEo8L4lBS/vLwhVtpwwuYcoIsVY+1JYKR268yn480uQ==" + }, + "punycode": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", + "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==" + }, + "queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==" + }, + "regexp.prototype.flags": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.0.tgz", + "integrity": "sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA==", + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "functions-have-names": "^1.2.3" + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==" + }, + "require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==" + }, + "reserved": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/reserved/-/reserved-0.1.2.tgz", + "integrity": "sha512-/qO54MWj5L8WCBP9/UNe2iefJc+L9yETbH32xO/ft/EYPOTCR5k+azvDUgdCOKwZH8hXwPd0b8XBL78Nn2U69g==" + }, + "resolve": { + "version": "1.22.4", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.4.tgz", + "integrity": "sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==", + "requires": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } + }, + "reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==" + }, + "rollup": { + "version": "2.79.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz", + "integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==", + "requires": { + "fsevents": "~2.3.2" + } + }, + "run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "requires": { + "queue-microtask": "^1.2.2" + } + }, + "safe-array-concat": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.0.0.tgz", + "integrity": "sha512-9dVEFruWIsnie89yym+xWTAYASdpw3CJV7Li/6zBewGf9z2i1j31rP6jnY0pHEO4QZh6N0K11bFjWmdR8UGdPQ==", + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.0", + "has-symbols": "^1.0.3", + "isarray": "^2.0.5" + } + }, + "safe-regex-test": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz", + "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==", + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.3", + "is-regex": "^1.1.4" + } + }, + "safe-stable-stringify": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-1.1.1.tgz", + "integrity": "sha512-ERq4hUjKDbJfE4+XtZLFPCDi8Vb1JqaxAPTxWFLBx8XcAlf9Bda/ZJdVezs/NAfsMQScyIlUMx+Yeu7P7rx5jw==" + }, + "side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "requires": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + } + }, + "simple-eval": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/simple-eval/-/simple-eval-1.0.0.tgz", + "integrity": "sha512-kpKJR+bqTscgC0xuAl2xHN6bB12lHjC2DCUfqjAx19bQyO3R2EVLOurm3H9AUltv/uFVcSCVNc6faegR+8NYLw==", + "requires": { + "jsep": "^1.1.2" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + }, + "sourcemap-codec": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", + "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==" + }, + "sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" + }, + "stacktracey": { + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/stacktracey/-/stacktracey-2.1.8.tgz", + "integrity": "sha512-Kpij9riA+UNg7TnphqjH7/CzctQ/owJGNbFkfEeve4Z4uxT5+JapVLFXcsurIfN34gnTWZNJ/f7NMG0E8JDzTw==", + "requires": { + "as-table": "^1.0.36", + "get-source": "^2.0.12" + } + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "string.prototype.trim": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz", + "integrity": "sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==", + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + } + }, + "string.prototype.trimend": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz", + "integrity": "sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==", + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + } + }, + "string.prototype.trimstart": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz", + "integrity": "sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==", + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "requires": { + "has-flag": "^4.0.0" + } + }, + "supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==" + }, + "text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==" + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "requires": { + "is-number": "^7.0.0" + } + }, + "tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + }, + "tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + }, + "typed-array-buffer": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz", + "integrity": "sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==", + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.1", + "is-typed-array": "^1.1.10" + } + }, + "typed-array-byte-length": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.0.tgz", + "integrity": "sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==", + "requires": { + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "has-proto": "^1.0.1", + "is-typed-array": "^1.1.10" + } + }, + "typed-array-byte-offset": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.0.tgz", + "integrity": "sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==", + "requires": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "has-proto": "^1.0.1", + "is-typed-array": "^1.1.10" + } + }, + "typed-array-length": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", + "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", + "requires": { + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "is-typed-array": "^1.1.9" + } + }, + "unbox-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", + "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "requires": { + "call-bind": "^1.0.2", + "has-bigints": "^1.0.2", + "has-symbols": "^1.0.3", + "which-boxed-primitive": "^1.0.2" + } + }, + "uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "requires": { + "punycode": "^2.1.0" + } + }, + "urijs": { + "version": "1.19.11", + "resolved": "https://registry.npmjs.org/urijs/-/urijs-1.19.11.tgz", + "integrity": "sha512-HXgFDgDommxn5/bIv0cnQZsPhHDA90NPHD6+c/v21U5+Sx5hoP8+dP9IZXBU1gIfvdRfhG8cel9QNPeionfcCQ==" + }, + "utility-types": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz", + "integrity": "sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg==" + }, + "validate-npm-package-name": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz", + "integrity": "sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw==", + "requires": { + "builtins": "^1.0.3" + } + }, + "webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + }, + "whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "requires": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "requires": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + } + }, + "which-typed-array": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.11.tgz", + "integrity": "sha512-qe9UWWpkeG5yzZ0tNYxDmd7vo58HDBc39mZ0xWWpolAGADdFOzkfamWLDxkOWcvHQKVmdTyQdLD4NOfjLWTKew==", + "requires": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0" + } + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + }, + "y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" + }, + "yargs": { + "version": "17.3.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.3.1.tgz", + "integrity": "sha512-WUANQeVgjLbNsEmGk20f+nlHgOqzRFpiGWVaBrYGYIGANIIu3lWjoyi0fNlFmJkvfhCZ6BXINe7/W2O2bV4iaA==", + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.0.0" + } + }, + "yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==" + } + } +} diff --git a/openapi-converter/clients_schema_to_openapi/package.json b/openapi-converter/clients_schema_to_openapi/package.json new file mode 100644 index 0000000000..fe4303bf4c --- /dev/null +++ b/openapi-converter/clients_schema_to_openapi/package.json @@ -0,0 +1,15 @@ +{ + "name": "clients_schema_to_openapi", + "version": "1.0.0", + "type": "module", + "description": "", + "main": "index.js", + "scripts": { + "validate": "./node_modules/.bin/spectral lint ../../output/openapi/elasticsearch-openapi.json" + }, + "author": "", + "license": "ISC", + "dependencies": { + "@stoplight/spectral-cli": "^6.10.1" + } +} diff --git a/openapi-converter/clients_schema_to_openapi/src/components.rs b/openapi-converter/clients_schema_to_openapi/src/components.rs index 4c997bc1e5..d56da11212 100644 --- a/openapi-converter/clients_schema_to_openapi/src/components.rs +++ b/openapi-converter/clients_schema_to_openapi/src/components.rs @@ -1,16 +1,33 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + use openapiv3::{Components, Parameter, ReferenceOr, RequestBody, Response, Schema, StatusCode}; -use clients_schema::{TypeDefinition, TypeName, TypeRegistry}; +use clients_schema::TypeName; use crate::utils::SchemaName; pub struct TypesAndComponents<'a> { - pub types: TypeRegistry<'a>, + pub model: &'a clients_schema::IndexedModel, pub components: &'a mut Components, } impl <'a> TypesAndComponents<'a> { - pub fn new(types_vec: &'a Vec, components: &'a mut Components) -> TypesAndComponents<'a> { + pub fn new(model: &'a clients_schema::IndexedModel, components: &'a mut Components) -> TypesAndComponents<'a> { TypesAndComponents { - types: TypeRegistry::new(types_vec), + model, components, } } @@ -22,11 +39,15 @@ impl <'a> TypesAndComponents<'a> { } } - pub fn add_parameter(&mut self, endpoint: &str, param: Parameter) -> ReferenceOr { + pub fn add_parameter(&mut self, endpoint: &str, param: Parameter, duplicate: bool) -> ReferenceOr { + let suffix = if duplicate {"_"} else {""}; let result = ReferenceOr::Reference { - reference: format!("#/components/parameters/{}#{}", endpoint, ¶m.parameter_data_ref().name) + reference: format!("#/components/parameters/{}#{}{}", endpoint, ¶m.parameter_data_ref().name, suffix) }; - self.components.parameters.insert(format!("{}#{}", endpoint, ¶m.parameter_data_ref().name), ReferenceOr::Item(param)); + self.components.parameters.insert( + format!("{}#{}{}", endpoint, ¶m.parameter_data_ref().name, suffix), + ReferenceOr::Item(param) + ); result } diff --git a/openapi-converter/clients_schema_to_openapi/src/lib.rs b/openapi-converter/clients_schema_to_openapi/src/lib.rs index c5ac0c4645..3c7adff182 100644 --- a/openapi-converter/clients_schema_to_openapi/src/lib.rs +++ b/openapi-converter/clients_schema_to_openapi/src/lib.rs @@ -1,3 +1,20 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + mod paths; mod schemas; mod components; @@ -7,11 +24,17 @@ use std::collections::HashSet; use std::io::{BufWriter, Write}; use std::path::Path; use openapiv3::{Components, OpenAPI}; +use tracing::warn; -use clients_schema::{Endpoint, Model}; +use clients_schema::{Availabilities, Endpoint, IndexedModel}; use crate::components::TypesAndComponents; -pub fn convert_schema_file(path: impl AsRef, endpoint_filter: fn(e: &Endpoint) -> bool, out: impl Write) -> anyhow::Result<()> { +pub fn convert_schema_file( + path: impl AsRef, + filter: Option) -> bool>, + endpoint_filter: fn(e: &Endpoint) -> bool, + out: impl Write +) -> anyhow::Result<()> { // Parsing from a string is faster than using a buffered reader when there is a need for look-ahead // See https://github.com/serde-rs/json/issues/160 @@ -19,22 +42,30 @@ pub fn convert_schema_file(path: impl AsRef, endpoint_filter: fn(e: &Endpo let json_deser = &mut serde_json::Deserializer::from_str(&json); let mut unused = HashSet::new(); - let model: Model = serde_ignored::deserialize(json_deser, |path| { + let mut model: IndexedModel = serde_ignored::deserialize(json_deser, |path| { if let serde_ignored::Path::Map {parent: _, key} = path { unused.insert(key); } })?; if !unused.is_empty() { let msg = unused.into_iter().collect::>().join(", "); - tracing::warn!("Unknown fields found in schema.json: {}", msg); + warn!("Unknown fields found in schema.json: {}", msg); + } + + if let Some(filter) = filter { + model = clients_schema::transform::filter_availability(model, filter)?; } - let openapi = convert_schema(&model, endpoint_filter)?; + model.endpoints.retain(endpoint_filter); + + let openapi = convert_schema(&model)?; serde_json::to_writer_pretty(BufWriter::new(out), &openapi)?; Ok(()) } -pub fn convert_schema(model: &Model, endpoint_filter: fn(e: &Endpoint) -> bool) -> anyhow::Result { +pub fn convert_schema( + model: &IndexedModel, +) -> anyhow::Result { let mut openapi = OpenAPI { openapi: "3.0.3".into(), @@ -64,23 +95,17 @@ pub fn convert_schema(model: &Model, endpoint_filter: fn(e: &Endpoint) -> bool) extensions: Default::default(), }; - let mut tac = TypesAndComponents::new(&model.types, openapi.components.as_mut().unwrap()); + let mut tac = TypesAndComponents::new(&model, openapi.components.as_mut().unwrap()); // Endpoints - for endpoint in model.endpoints.iter().filter(|e| endpoint_filter(e)) { + for endpoint in &model.endpoints { paths::add_endpoint(endpoint, &mut tac, &mut openapi.paths)?; } - //let paths = paths::build_paths(model.endpoints, &types)?; - - //openapi.paths = openapiv3::Paths { - // paths: paths, - // extensions: Default::default(), - //}; Ok(openapi) } -fn info(model: &Model) -> openapiv3::Info { +fn info(model: &IndexedModel) -> openapiv3::Info { let (title, license) = if let Some(info) = &model.info { ( info.title.clone(), diff --git a/openapi-converter/clients_schema_to_openapi/src/main.rs b/openapi-converter/clients_schema_to_openapi/src/main.rs index a280fd2db7..15ddb0b184 100644 --- a/openapi-converter/clients_schema_to_openapi/src/main.rs +++ b/openapi-converter/clients_schema_to_openapi/src/main.rs @@ -1,15 +1,30 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +use clap::{Parser, ValueEnum}; use tracing::Level; use tracing_subscriber::fmt::format::FmtSpan; use tracing_subscriber::FmtSubscriber; - -use argh::FromArgs; - - - +use std::path::{Path, PathBuf}; +use clients_schema::Availabilities; fn main() -> anyhow::Result<()> { - + let cli = Cli::parse(); let subscriber = FmtSubscriber::builder() .with_writer(std::io::stderr) @@ -18,13 +33,126 @@ fn main() -> anyhow::Result<()> { .finish(); tracing::subscriber::set_global_default(subscriber)?; - clients_schema_to_openapi::convert_schema_file( - "../output/schema/schema-no-generics.json", - |e| true, - //|e| e.name == "search", - std::fs::File::create("../output/openapi/elasticsearch-openapi.json")? - //std::io::stdout() - )?; + cli.run()?; Ok(()) } + +// fn main() -> anyhow::Result<()> { +// +// let subscriber = FmtSubscriber::builder() +// .with_writer(std::io::stderr) +// .with_max_level(Level::TRACE) +// .with_span_events(FmtSpan::EXIT) +// .finish(); +// tracing::subscriber::set_global_default(subscriber)?; +// +// clients_schema_to_openapi::convert_schema_file( +// "../output/schema/schema-no-generics.json", +// None, +// |e| true, +// //|e| e.name == "search", +// //|e| e.name == "clear_scroll", +// //|e| e.name.starts_with("indices."), +// //|e| e.name == "indices.exists_alias" || e.name == "indices.delete_alias", +// //|e| &e.name[0..1] < "d", +// std::fs::File::create("../output/openapi/elasticsearch-openapi.json")? +// //std::io::stdout() +// )?; +// +// Ok(()) +// } + +impl Cli { + fn run(self) -> anyhow::Result<()>{ + + let json = if self.schema == Path::new("-") { + std::io::read_to_string(std::io::stdin())? + } else { + std::fs::read_to_string(self.schema)? + }; + + let mut model: clients_schema::IndexedModel = serde_json::from_str(&json)?; + + if let Some(flavor) = self.flavor { + if flavor != SchemaFlavor::All { + let filter: fn(&Option) -> bool = match flavor { + SchemaFlavor::All => |_| true, + SchemaFlavor::Stack => |a| clients_schema::Flavor::is_stack(a), + SchemaFlavor::Serverless => |a| clients_schema::Flavor::is_serverless(a), + }; + + model = clients_schema::transform::filter_availability(model, filter)?; + } + } + + let openapi = clients_schema_to_openapi::convert_schema(&model)?; + + let output: Box = { + if let Some(output) = self.output { + if output == Path::new("-") { + Box::new(std::io::stdout()) + } else { + Box::new(std::fs::File::create(output)?) + } + } else { + Box::new(std::io::stdout()) + } + }; + let output = std::io::BufWriter::new(output); + + serde_json::to_writer_pretty(output, &openapi)?; + + Ok(()) + } +} + +#[derive(Debug, Parser)] +#[command(author, version, about, long_about = None)] +pub struct Cli { + /// Schema file to transform. Use '-' for stdin. + schema: PathBuf, + + #[arg(short, long)] + /// Output file. Defaults to stdout. + output: Option, + + /// Elasticsearch flavor to produce + #[arg(short, long)] + flavor: Option +} + +#[derive(Debug, Clone, PartialEq, ValueEnum)] +pub enum SchemaFlavor { + /// No schema filtering + All, + /// Stack (stateful) flavor + Stack, + /// Serverless flavor + Serverless, + // /// Common subset to Stack and Serverless + // Common, +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn test_full() -> anyhow::Result<()> { + Cli { + schema: "../../output/schema/schema-no-generics.json".into(), + flavor: None, + output: Some("../../output/openapi/elasticsearch-openapi.json".into()) + }.run() + } + + #[test] + fn test_serverless() -> anyhow::Result<()> { + Cli { + schema: "../../output/schema/schema-no-generics.json".into(), + flavor: Some(SchemaFlavor::Serverless), + output: Some("../../output/openapi/elasticsearch-serverless-openapi.json".into()) + }.run() + } +} diff --git a/openapi-converter/clients_schema_to_openapi/src/paths.rs b/openapi-converter/clients_schema_to_openapi/src/paths.rs index d050d358df..2f215de1ed 100644 --- a/openapi-converter/clients_schema_to_openapi/src/paths.rs +++ b/openapi-converter/clients_schema_to_openapi/src/paths.rs @@ -1,8 +1,25 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + use std::collections::HashMap; use anyhow::{anyhow, bail}; use indexmap::indexmap; -use openapiv3::{ExternalDocumentation, MediaType, Parameter, ParameterData, ParameterSchemaOrContent, PathItem, Paths, PathStyle, QueryStyle, ReferenceOr, RequestBody, Response, Responses, StatusCode}; +use openapiv3::{MediaType, Parameter, ParameterData, ParameterSchemaOrContent, PathItem, Paths, PathStyle, QueryStyle, ReferenceOr, RequestBody, Response, Responses, StatusCode}; use regex::Regex; use clients_schema::Property; @@ -23,16 +40,22 @@ pub fn add_endpoint(endpoint: &clients_schema::Endpoint, tac: &mut TypesAndCompo return Ok(()); } + // Namespace + //let namespace = match endpoint.name.split_once('.') { + // Some((ns, _)) => ns, + // None => "core", + //}; + // Will we produce multiple paths? If true, we will register components for reuse across paths let is_multipath = endpoint.urls.len() > 1 || endpoint.urls.iter().find(|u| u.methods.len() > 1).is_some(); - let request = tac.types.get_request(endpoint.request.as_ref().unwrap())?; + let request = tac.model.get_request(endpoint.request.as_ref().unwrap())?; - fn parameter_data(prop: &Property, tac: &mut TypesAndComponents) -> anyhow::Result { + fn parameter_data(prop: &Property, in_path: bool, tac: &mut TypesAndComponents) -> anyhow::Result { Ok(ParameterData { name: prop.name.clone(), description: prop.description.clone(), - required: prop.required, + required: in_path || prop.required, // Path parameters are always required deprecated: Some(prop.deprecation.is_some()), format: ParameterSchemaOrContent::Schema(tac.convert_value_of(&prop.typ)?), example: None, @@ -47,7 +70,7 @@ pub fn add_endpoint(endpoint: &clients_schema::Endpoint, tac: &mut TypesAndCompo let mut path_params = HashMap::new(); for prop in request.path.iter() { let parameter = Parameter::Path { - parameter_data: parameter_data(prop, tac)?, + parameter_data: parameter_data(prop, true, tac)?, // Simple (the default) maps array to comma-separated values, which is ES behavior // See https://www.rfc-editor.org/rfc/rfc6570#section-3.2.2 style: PathStyle::Simple, @@ -55,7 +78,7 @@ pub fn add_endpoint(endpoint: &clients_schema::Endpoint, tac: &mut TypesAndCompo // Reuse reference if multiple paths, and inline otherwise path_params.insert(prop.name.clone(), if is_multipath { - tac.add_parameter(&endpoint.name, parameter) + tac.add_parameter(&endpoint.name, parameter, false) } else { ReferenceOr::Item(parameter) }); @@ -66,14 +89,17 @@ pub fn add_endpoint(endpoint: &clients_schema::Endpoint, tac: &mut TypesAndCompo let mut query_params = Vec::new(); for prop in request.query.iter() { let parameter = Parameter::Query { - parameter_data: parameter_data(prop, tac)?, + parameter_data: parameter_data(prop, false, tac)?, allow_reserved: false, style: QueryStyle::Form, allow_empty_value: None, }; + // Does this also exist as a path parameter? (e.g fields in _cat/fielddata) + let duplicate = path_params.contains_key(&prop.name); + query_params.push(if is_multipath { - tac.add_parameter(&endpoint.name, parameter) + tac.add_parameter(&endpoint.name, parameter, duplicate) } else { ReferenceOr::Item(parameter) }); @@ -109,7 +135,7 @@ pub fn add_endpoint(endpoint: &clients_schema::Endpoint, tac: &mut TypesAndCompo // FIXME: buggy for responses with no body // TODO: handle binary responses - let response_def = tac.types.get_resppnse(endpoint.response.as_ref().unwrap())?; + let response_def = tac.model.get_response(endpoint.response.as_ref().unwrap())?; let response = Response { description: "".to_string(), headers: Default::default(), @@ -160,11 +186,7 @@ pub fn add_endpoint(endpoint: &clients_schema::Endpoint, tac: &mut TypesAndCompo tags: vec![], summary: None, description: Some(endpoint.description.clone()), - external_docs: endpoint.doc_url.as_ref().map(|url| ExternalDocumentation { - description: None, - url: url.clone(), - extensions: Default::default(), - }), + external_docs: tac.convert_external_docs(endpoint), operation_id: None, // set in clone_operation below with operation_counter parameters, request_body: request_body.clone(), @@ -179,50 +201,69 @@ pub fn add_endpoint(endpoint: &clients_schema::Endpoint, tac: &mut TypesAndCompo extensions: Default::default(), // FIXME: translate availability? }; - let mut path = PathItem { - summary: None, - description: None, - get: None, - put: None, - post: None, - delete: None, - options: None, - head: None, - patch: None, - trace: None, - servers: vec![], - parameters: vec![], - extensions: Default::default(), - }; - let mut clone_operation = || { - let mut clone = operation.clone(); - clone.operation_id = Some(format!("{}#{}", endpoint.name, operation_counter)); - operation_counter += 1; - Some(clone) - }; + let mut operation_path = url_template.path.clone(); - for method in &url_template.methods { - match method.as_str() { - "HEAD" => path.get = clone_operation(), - "GET" => path.get = clone_operation(), - "POST" => path.post = clone_operation(), - "PUT" => path.put = clone_operation(), - "DELETE" => path.put = clone_operation(), - _ => bail!("Unsupported method: {}", method), + // Disabled -- OpenAPI path templates do not contain the query string + if false { + // Add query parameter names to the path template + // See https://www.rfc-editor.org/rfc/rfc6570#section-3.2.8 + if !&request.query.is_empty() { + let params = &request.query.iter().map(|p| p.name.as_str()).collect::>().join(","); + operation_path = format!("{operation_path}{{?{params}}}"); } } - let mut operation_path = url_template.path.clone(); + // info!("Adding {} - {}", &endpoint.name, &operation_path); + + // Check if this path has already been encountered with a different http method (possibly in a + // different endpoint) + let path = out.paths + .entry(operation_path) + .or_insert(ReferenceOr::Item(PathItem::default())); + + // A PathItem contains entries for all http methods, and some additional fields + // that we can't fill as they cross several endpoints. This could be some namespace-level + // documentation though. + // PathItem { + // summary: None, + // description: None, + // get: None, + // put: None, + // post: None, + // delete: None, + // options: None, + // head: None, + // patch: None, + // trace: None, + // servers: vec![], + // parameters: vec![], + // extensions: Default::default(), + // }; + + let path = match path { + ReferenceOr::Item(ref mut item) => item, + _ => bail!("Expecting an item (should not happe)") + }; - // Add query parameter names to the path template - // See https://www.rfc-editor.org/rfc/rfc6570#section-3.2.8 - if !&request.query.is_empty() { - let params = &request.query.iter().map(|p| p.name.as_str()).collect::>().join(","); - operation_path = format!("{operation_path}{{?{params}}}"); - } + for method in &url_template.methods { + let method_field = match method.as_str() { + "GET" => &mut path.get, + "PUT" => &mut path.put, + "POST" => &mut path.post, + "DELETE" => &mut path.delete, + "OPTIONS" => &mut path.options, + "HEAD" => &mut path.head, + "PATCH" => &mut path.patch, + "TRACE" => &mut path.trace, + _ => bail!("Unsupported method: {}", method), + }; - out.paths.insert(operation_path, ReferenceOr::Item(path)); + let mut operation = operation.clone(); + operation.operation_id = Some(format!("{}#{}", endpoint.name, operation_counter)); + operation_counter += 1; + *method_field = Some(operation); + } } Ok(()) diff --git a/openapi-converter/clients_schema_to_openapi/src/schemas.rs b/openapi-converter/clients_schema_to_openapi/src/schemas.rs index f4b7d40091..4bae22d1e1 100644 --- a/openapi-converter/clients_schema_to_openapi/src/schemas.rs +++ b/openapi-converter/clients_schema_to_openapi/src/schemas.rs @@ -1,3 +1,20 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + use anyhow::bail; use indexmap::IndexMap; use openapiv3::{AdditionalProperties, ArrayType, Discriminator, ExternalDocumentation, NumberType, ObjectType, ReferenceOr, Schema, SchemaData, SchemaKind, StringType, Type}; @@ -178,7 +195,7 @@ impl <'a> TypesAndComponents<'a> { // Store a placeholder, it will avoid infinite loops with recursive types self.components.schemas.insert(schema_name, SCHEMA_PLACEHOLDER); - let typedef = self.types.get(type_name)?; + let typedef = self.model.get_type(type_name)?; use TypeDefinition::*; let schema = match typedef { // Request and response may not have a body (and a schema) and so have dedicated methods below @@ -202,6 +219,19 @@ impl <'a> TypesAndComponents<'a> { self.for_body(&response.body) } + pub fn convert_external_docs(&self, obj: & impl clients_schema::Documented) + -> Option { + // FIXME: does the model contain resolved doc_id? + obj.doc_url().map (|url| { + let branch: &str = self.model.info.as_ref().and_then(|i| i.version.as_deref()).unwrap_or("current"); + ExternalDocumentation { + description: None, + url: url.trim().replace("{branch}", branch), + extensions: Default::default(), + } + }) + } + fn for_body(&mut self, body: &Body) -> anyhow::Result>> { let result = match body { @@ -225,7 +255,7 @@ impl <'a> TypesAndComponents<'a> { let mut result = self.convert_value_of(&prop.typ)?; // TODO: how can we just wrap a reference so that we can add docs? if let ReferenceOr::Item(ref mut schema) = &mut result { - fill_data_with_prop(&mut schema.schema_data, prop); + self.fill_data_with_prop(&mut schema.schema_data, prop); } Ok(result) } @@ -280,7 +310,7 @@ impl <'a> TypesAndComponents<'a> { }.into_schema(); } - fill_schema_with_base(&mut schema, &itf.base); + self.fill_schema_with_base(&mut schema, &itf.base); schema } else { @@ -329,7 +359,7 @@ impl <'a> TypesAndComponents<'a> { fn convert_type_alias(&mut self, alias: &TypeAlias) -> anyhow::Result { let mut schema = self .convert_value_of(&alias.typ)? - .into_schema_with_base(&alias.base); + .into_schema_with_base(self, &alias.base); match &alias.variants { None => {}, @@ -366,60 +396,50 @@ impl <'a> TypesAndComponents<'a> { enumeration: enum_values, min_length: None, max_length: None, - }.into_schema_with_base(&enumm.base)) + }.into_schema_with_base(self, &enumm.base)) } -} -fn fill_schema_with_base(schema: &mut Schema, base: &clients_schema::BaseType) { - fill_data_with_base(&mut schema.schema_data, base); -} + fn fill_schema_with_base(&self, schema: &mut Schema, base: &clients_schema::BaseType) { + self.fill_data_with_base(&mut schema.schema_data, base); + } -pub fn fill_data_with_base(data: &mut SchemaData, base: &clients_schema::BaseType) { - // SchemaData { - // nullable: false, - // read_only: false, - // write_only: false, - // deprecated: false, - // external_docs: Default::default(), - // example: None, - // title: None, - // description: base.description.clone(), - // discriminator: None, - // default: None, - // extensions: Default::default(), - // } - - let external_docs = base.doc_url.as_ref().map(|url| ExternalDocumentation { - description: None, - url: url.clone(), - extensions: Default::default(), - }); - - data.external_docs = external_docs; - data.deprecated = base.deprecation.is_some(); - data.description = base.description.clone(); - // TODO: base.deprecation as extension - // TODO: base.spec_location as extension? - // TODO: base.doc_id as extension - // TODO: base.variant_name as extension? (used for external_variants) - // TODO: base.codegen_names as extension? -} + pub fn fill_data_with_base(&self, data: &mut SchemaData, base: &clients_schema::BaseType) { + // SchemaData { + // nullable: false, + // read_only: false, + // write_only: false, + // deprecated: false, + // external_docs: Default::default(), + // example: None, + // title: None, + // description: base.description.clone(), + // discriminator: None, + // default: None, + // extensions: Default::default(), + // } + + data.external_docs = self.convert_external_docs(base); + data.deprecated = base.deprecation.is_some(); + data.description = base.description.clone(); + // TODO: base.deprecation as extension + // TODO: base.spec_location as extension? + // TODO: base.doc_id as extension + // TODO: base.variant_name as extension? (used for external_variants) + // TODO: base.codegen_names as extension? + } -fn fill_data_with_prop(data: &mut SchemaData, prop: &Property) { - let external_docs = prop.doc_url.as_ref().map(|url| ExternalDocumentation { - description: None, - url: url.clone(), - extensions: Default::default(), - }); - data.external_docs = external_docs; - data.deprecated = prop.deprecation.is_some(); - data.description = prop.description.clone(); - // TODO: prop.aliases as extensions - // TODO: prop.server_default as extension - // TODO: prop.availability as extension - // TODO: prop.doc_id as extension (new representation of since and stability) - // TODO: prop.es_quirk as extension? - // TODO: prop.codegen_name as extension? - // TODO: prop.deprecation as extension + fn fill_data_with_prop(&self, data: &mut SchemaData, prop: &Property) { + data.external_docs = self.convert_external_docs(prop); + data.deprecated = prop.deprecation.is_some(); + data.description = prop.description.clone(); + // TODO: prop.aliases as extensions + // TODO: prop.server_default as extension + // TODO: prop.availability as extension + // TODO: prop.doc_id as extension (new representation of since and stability) + // TODO: prop.es_quirk as extension? + // TODO: prop.codegen_name as extension? + // TODO: prop.deprecation as extension + } } + diff --git a/openapi-converter/clients_schema_to_openapi/src/utils.rs b/openapi-converter/clients_schema_to_openapi/src/utils.rs index be4e49e20d..e937313ca5 100644 --- a/openapi-converter/clients_schema_to_openapi/src/utils.rs +++ b/openapi-converter/clients_schema_to_openapi/src/utils.rs @@ -1,5 +1,23 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + use openapiv3::{ObjectType, ReferenceOr, Schema, SchemaData, SchemaKind, StringType, Type}; use clients_schema::TypeName; +use crate::components::TypesAndComponents; /// /// Extensions to `ReferenceOr` to ease conversion to boxed versions. @@ -48,13 +66,13 @@ pub trait IntoSchema { ReferenceOr::Item(self.into_schema()) } - fn into_schema_ref_with_base(self, base: &clients_schema::BaseType) -> ReferenceOr where Self: Sized { - let mut result = self.into_schema_ref(); - if let ReferenceOr::Item(ref mut schema) = &mut result { - crate::schemas::fill_data_with_base(&mut schema.schema_data, base); - } - result - } + // fn into_schema_ref_with_base(self, base: &clients_schema::BaseType) -> ReferenceOr where Self: Sized { + // let mut result = self.into_schema_ref(); + // if let ReferenceOr::Item(ref mut schema) = &mut result { + // crate::schemas::fill_data_with_base(&mut schema.schema_data, base); + // } + // result + // } fn into_schema_ref_with_data_fn(self, f: fn (&mut SchemaData) -> ()) -> ReferenceOr where Self: Sized { let mut result = self.into_schema_ref(); @@ -64,9 +82,9 @@ pub trait IntoSchema { result } - fn into_schema_with_base(self, base: &clients_schema::BaseType) -> Schema where Self: Sized { + fn into_schema_with_base(self, tac: &TypesAndComponents, base: &clients_schema::BaseType) -> Schema where Self: Sized { let mut schema = self.into_schema(); - crate::schemas::fill_data_with_base(&mut schema.schema_data, base); + tac.fill_data_with_base(&mut schema.schema_data, base); schema } @@ -100,7 +118,6 @@ impl IntoSchema for ReferenceOr { } } - impl IntoSchema for SchemaKind { fn into_schema(self) -> Schema { Schema { diff --git a/openapi-converter/openapi_to_clients_schema/src/lib.rs b/openapi-converter/openapi_to_clients_schema/src/lib.rs index f93ff73cff..de0db5073a 100644 --- a/openapi-converter/openapi_to_clients_schema/src/lib.rs +++ b/openapi-converter/openapi_to_clients_schema/src/lib.rs @@ -21,15 +21,15 @@ pub mod endpoints; use std::convert::Into; use tracing::warn; -use clients_schema::Model; +use clients_schema::IndexedModel; use openapi::OpenAPI; /// /// Generate a schema.json from an OpenAPI schema /// -pub fn generate(open_api: &OpenAPI) -> anyhow::Result { +pub fn generate(open_api: &OpenAPI) -> anyhow::Result { - let mut json_schema = clients_schema::Model::default(); + let mut json_schema = clients_schema::IndexedModel::default(); generate_types(open_api, &mut json_schema)?; @@ -47,7 +47,7 @@ pub fn generate(open_api: &OpenAPI) -> anyhow::Result { /// fn generate_types( open_api: &OpenAPI, - model: &mut Model + model: &mut IndexedModel ) -> anyhow::Result<()> { if let Some(ref components) = open_api.components { From f0e0b81ff5aaaa7ca2c3312528b28839e4385723 Mon Sep 17 00:00:00 2001 From: Sylvain Wallez Date: Mon, 11 Sep 2023 15:47:53 +0200 Subject: [PATCH 08/17] Add serverless OpenAPI spec, update README --- .../clients_schema_to_openapi/README.md | 13 +- .../clients_schema_to_openapi/package.json | 3 +- output/openapi/elasticsearch-openapi.json | 13685 +-- .../elasticsearch-serverless-openapi.json | 73752 ++++++++++++++++ 4 files changed, 81637 insertions(+), 5816 deletions(-) create mode 100644 output/openapi/elasticsearch-serverless-openapi.json diff --git a/openapi-converter/clients_schema_to_openapi/README.md b/openapi-converter/clients_schema_to_openapi/README.md index cb2cf56451..22b14a9bf8 100644 --- a/openapi-converter/clients_schema_to_openapi/README.md +++ b/openapi-converter/clients_schema_to_openapi/README.md @@ -8,12 +8,19 @@ The conversion pipeline is the following: flowchart LR ts[TypeScript API] schema[schema.json] - openapi[OpenAPI] + schema-no-generics[schema-no-generics.json] + openapi[openapi.json] ts --> schema - schema --> openapi + schema --> schema-no-generics + schema-no-generics --> openapi + schema-no-generics --> serverless-openapi.json ``` -This is still a work in progress and this branch is the work for [PR #2047](https://github.com/elastic/elasticsearch-specification/pull/2047) where reviews and comments should be made. +This branch is the work for [PR #2047](https://github.com/elastic/elasticsearch-specification/pull/2047) where reviews and comments should be made. The OpenAPI specification generated from the current `schema.json` can be found in the [output/openapi](../../output/openapi) directory. + +The generated OpenAPI schemas validate successfully using the rather strict [Spectral OpenAPI linter](https://github.com/stoplightio/spectral), except for endpoint (this is an ES API issue). You can run the linter using: +* `npm run validate` for the Stack/Stateful OpenAPI spec +* `npm run validate-serverless` for the Serverless OpenAPI spec diff --git a/openapi-converter/clients_schema_to_openapi/package.json b/openapi-converter/clients_schema_to_openapi/package.json index fe4303bf4c..f7a39e0a44 100644 --- a/openapi-converter/clients_schema_to_openapi/package.json +++ b/openapi-converter/clients_schema_to_openapi/package.json @@ -5,7 +5,8 @@ "description": "", "main": "index.js", "scripts": { - "validate": "./node_modules/.bin/spectral lint ../../output/openapi/elasticsearch-openapi.json" + "validate": "./node_modules/.bin/spectral lint ../../output/openapi/elasticsearch-openapi.json", + "validate-serverless": "./node_modules/.bin/spectral lint ../../output/openapi/elasticsearch-serverless-openapi.json" }, "author": "", "license": "ISC", diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 8ea9c8ece1..229706ffed 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -10,44 +10,10 @@ }, "paths": { "/_async_search/{id}": { - "put": { - "description": "Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/async-search.html" - }, - "operationId": "async_search.delete#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "A unique identifier for the async search.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_async_search/{id}{?keep_alive,typed_keys,wait_for_completion_timeout}": { "get": { "description": "Retrieves the results of a previously submitted async search request given its ID.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/async-search.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" }, "operationId": "async_search.get#0", "parameters": [ @@ -105,13 +71,45 @@ } } } + }, + "delete": { + "description": "Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" + }, + "operationId": "async_search.delete#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "A unique identifier for the async search.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } } }, "/_async_search/status/{id}": { "get": { "description": "Retrieves the status of a previously submitted async search request given its ID.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/async-search.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" }, "operationId": "async_search.status#0", "parameters": [ @@ -141,11 +139,11 @@ } } }, - "/_async_search{?wait_for_completion_timeout,keep_on_completion,keep_alive,allow_no_indices,allow_partial_search_results,analyzer,analyze_wildcard,batched_reduce_size,ccs_minimize_roundtrips,default_operator,df,docvalue_fields,expand_wildcards,explain,ignore_throttled,ignore_unavailable,lenient,max_concurrent_shard_requests,min_compatible_shard_node,preference,pre_filter_shard_size,request_cache,routing,scroll,search_type,stats,stored_fields,suggest_field,suggest_mode,suggest_size,suggest_text,terminate_after,timeout,track_total_hits,track_scores,typed_keys,rest_total_hits_as_int,version,_source,_source_excludes,_source_includes,seq_no_primary_term,q,size,from,sort}": { + "/_async_search": { "post": { "description": "Executes a search request asynchronously.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/async-search.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" }, "operationId": "async_search.submit#0", "parameters": [ @@ -298,11 +296,11 @@ } } }, - "/{index}/_async_search{?wait_for_completion_timeout,keep_on_completion,keep_alive,allow_no_indices,allow_partial_search_results,analyzer,analyze_wildcard,batched_reduce_size,ccs_minimize_roundtrips,default_operator,df,docvalue_fields,expand_wildcards,explain,ignore_throttled,ignore_unavailable,lenient,max_concurrent_shard_requests,min_compatible_shard_node,preference,pre_filter_shard_size,request_cache,routing,scroll,search_type,stats,stored_fields,suggest_field,suggest_mode,suggest_size,suggest_text,terminate_after,timeout,track_total_hits,track_scores,typed_keys,rest_total_hits_as_int,version,_source,_source_excludes,_source_includes,seq_no_primary_term,q,size,from,sort}": { + "/{index}/_async_search": { "post": { "description": "Executes a search request asynchronously.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/async-search.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" }, "operationId": "async_search.submit#1", "parameters": [ @@ -459,10 +457,42 @@ } }, "/_autoscaling/policy/{name}": { + "get": { + "description": "Retrieves an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-capacity.html" + }, + "operationId": "autoscaling.get_autoscaling_policy#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "the name of the autoscaling policy", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/autoscaling._types:AutoscalingPolicy" + } + } + } + } + } + }, "put": { "description": "Creates a new autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/autoscaling-put-autoscaling-policy.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-put-autoscaling-policy.html" }, "operationId": "autoscaling.put_autoscaling_policy#0", "parameters": [ @@ -500,13 +530,45 @@ } } } + }, + "delete": { + "description": "Deletes an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-delete-autoscaling-policy.html" + }, + "operationId": "autoscaling.delete_autoscaling_policy#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "the name of the autoscaling policy", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } } }, "/_autoscaling/capacity": { "get": { "description": "Gets the current autoscaling capacity based on the configured autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/autoscaling-get-autoscaling-capacity.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-capacity.html" }, "operationId": "autoscaling.get_autoscaling_capacity#0", "responses": { @@ -534,11 +596,11 @@ } } }, - "/_bulk{?pipeline,refresh,routing,_source,_source_excludes,_source_includes,timeout,wait_for_active_shards,require_alias}": { + "/_bulk": { "put": { "description": "Allows to perform multiple index/update/delete operations in a single request.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-bulk.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html" }, "operationId": "bulk#1", "parameters": [ @@ -582,7 +644,7 @@ "post": { "description": "Allows to perform multiple index/update/delete operations in a single request.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-bulk.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html" }, "operationId": "bulk#0", "parameters": [ @@ -624,11 +686,11 @@ } } }, - "/{index}/_bulk{?pipeline,refresh,routing,_source,_source_excludes,_source_includes,timeout,wait_for_active_shards,require_alias}": { + "/{index}/_bulk": { "put": { "description": "Allows to perform multiple index/update/delete operations in a single request.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-bulk.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html" }, "operationId": "bulk#3", "parameters": [ @@ -675,7 +737,7 @@ "post": { "description": "Allows to perform multiple index/update/delete operations in a single request.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-bulk.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html" }, "operationId": "bulk#2", "parameters": [ @@ -720,11 +782,11 @@ } } }, - "/_cat/aliases{?expand_wildcards}": { + "/_cat/aliases": { "get": { "description": "Shows information about currently configured aliases to indices including filter and routing infos.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-alias.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-alias.html" }, "operationId": "cat.aliases#0", "parameters": [ @@ -739,11 +801,11 @@ } } }, - "/_cat/aliases/{name}{?expand_wildcards}": { + "/_cat/aliases/{name}": { "get": { "description": "Shows information about currently configured aliases to indices including filter and routing infos.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-alias.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-alias.html" }, "operationId": "cat.aliases#1", "parameters": [ @@ -761,11 +823,11 @@ } } }, - "/_cat/allocation{?bytes}": { + "/_cat/allocation": { "get": { "description": "Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-allocation.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-allocation.html" }, "operationId": "cat.allocation#0", "parameters": [ @@ -780,11 +842,11 @@ } } }, - "/_cat/allocation/{node_id}{?bytes}": { + "/_cat/allocation/{node_id}": { "get": { "description": "Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-allocation.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-allocation.html" }, "operationId": "cat.allocation#1", "parameters": [ @@ -839,7 +901,7 @@ "get": { "description": "Provides quick access to the document count of the entire cluster, or individual indices.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-count.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-count.html" }, "operationId": "cat.count#0", "responses": { @@ -853,7 +915,7 @@ "get": { "description": "Provides quick access to the document count of the entire cluster, or individual indices.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-count.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-count.html" }, "operationId": "cat.count#1", "parameters": [ @@ -868,11 +930,11 @@ } } }, - "/_cat/fielddata{?bytes,fields}": { + "/_cat/fielddata": { "get": { "description": "Shows how much heap memory is currently being used by fielddata on every data node in the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-fielddata.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-fielddata.html" }, "operationId": "cat.fielddata#0", "parameters": [ @@ -880,7 +942,7 @@ "$ref": "#/components/parameters/cat.fielddata#bytes" }, { - "$ref": "#/components/parameters/cat.fielddata#fields" + "$ref": "#/components/parameters/cat.fielddata#fields_" } ], "responses": { @@ -890,11 +952,11 @@ } } }, - "/_cat/fielddata/{fields}{?bytes,fields}": { + "/_cat/fielddata/{fields}": { "get": { "description": "Shows how much heap memory is currently being used by fielddata on every data node in the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-fielddata.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-fielddata.html" }, "operationId": "cat.fielddata#1", "parameters": [ @@ -905,7 +967,7 @@ "$ref": "#/components/parameters/cat.fielddata#bytes" }, { - "$ref": "#/components/parameters/cat.fielddata#fields" + "$ref": "#/components/parameters/cat.fielddata#fields_" } ], "responses": { @@ -915,11 +977,11 @@ } } }, - "/_cat/health{?time,ts}": { + "/_cat/health": { "get": { "description": "Returns a concise representation of the cluster health.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-health.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-health.html" }, "operationId": "cat.health#0", "parameters": [ @@ -965,7 +1027,7 @@ "get": { "description": "Returns help for the Cat APIs.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat.html" }, "operationId": "cat.help#0", "responses": { @@ -985,11 +1047,11 @@ } } }, - "/_cat/indices{?bytes,expand_wildcards,health,include_unloaded_segments,pri,time}": { + "/_cat/indices": { "get": { "description": "Returns information about indices: number of primaries and replicas, document counts, disk size, ...", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-indices.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-indices.html" }, "operationId": "cat.indices#0", "parameters": [ @@ -1019,11 +1081,11 @@ } } }, - "/_cat/indices/{index}{?bytes,expand_wildcards,health,include_unloaded_segments,pri,time}": { + "/_cat/indices/{index}": { "get": { "description": "Returns information about indices: number of primaries and replicas, document counts, disk size, ...", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-indices.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-indices.html" }, "operationId": "cat.indices#1", "parameters": [ @@ -1060,7 +1122,7 @@ "get": { "description": "Returns information about the master node.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-master.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-master.html" }, "operationId": "cat.master#0", "responses": { @@ -1080,11 +1142,11 @@ } } }, - "/_cat/ml/data_frame/analytics{?allow_no_match,bytes,h,s,time}": { + "/_cat/ml/data_frame/analytics": { "get": { "description": "Gets configuration and usage information about data frame analytics jobs.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-dfanalytics.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-dfanalytics.html" }, "operationId": "cat.ml_data_frame_analytics#0", "parameters": [ @@ -1111,11 +1173,11 @@ } } }, - "/_cat/ml/data_frame/analytics/{id}{?allow_no_match,bytes,h,s,time}": { + "/_cat/ml/data_frame/analytics/{id}": { "get": { "description": "Gets configuration and usage information about data frame analytics jobs.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-dfanalytics.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-dfanalytics.html" }, "operationId": "cat.ml_data_frame_analytics#1", "parameters": [ @@ -1145,11 +1207,11 @@ } } }, - "/_cat/ml/datafeeds{?allow_no_match,h,s,time}": { + "/_cat/ml/datafeeds": { "get": { "description": "Gets configuration and usage information about datafeeds.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-datafeeds.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-datafeeds.html" }, "operationId": "cat.ml_datafeeds#0", "parameters": [ @@ -1173,11 +1235,11 @@ } } }, - "/_cat/ml/datafeeds/{datafeed_id}{?allow_no_match,h,s,time}": { + "/_cat/ml/datafeeds/{datafeed_id}": { "get": { "description": "Gets configuration and usage information about datafeeds.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-datafeeds.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-datafeeds.html" }, "operationId": "cat.ml_datafeeds#1", "parameters": [ @@ -1204,11 +1266,11 @@ } } }, - "/_cat/ml/anomaly_detectors{?allow_no_match,bytes,h,s,time}": { + "/_cat/ml/anomaly_detectors": { "get": { "description": "Gets configuration and usage information about anomaly detection jobs.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-anomaly-detectors.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-anomaly-detectors.html" }, "operationId": "cat.ml_jobs#0", "parameters": [ @@ -1235,11 +1297,11 @@ } } }, - "/_cat/ml/anomaly_detectors/{job_id}{?allow_no_match,bytes,h,s,time}": { + "/_cat/ml/anomaly_detectors/{job_id}": { "get": { "description": "Gets configuration and usage information about anomaly detection jobs.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-anomaly-detectors.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-anomaly-detectors.html" }, "operationId": "cat.ml_jobs#1", "parameters": [ @@ -1269,11 +1331,11 @@ } } }, - "/_cat/ml/trained_models{?allow_no_match,bytes,h,s,from,size}": { + "/_cat/ml/trained_models": { "get": { "description": "Gets configuration and usage information about inference trained models.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-trained-model.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-trained-model.html" }, "operationId": "cat.ml_trained_models#0", "parameters": [ @@ -1303,11 +1365,11 @@ } } }, - "/_cat/ml/trained_models/{model_id}{?allow_no_match,bytes,h,s,from,size}": { + "/_cat/ml/trained_models/{model_id}": { "get": { "description": "Gets configuration and usage information about inference trained models.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-trained-model.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-trained-model.html" }, "operationId": "cat.ml_trained_models#1", "parameters": [ @@ -1344,7 +1406,7 @@ "get": { "description": "Returns information about custom node attributes.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-nodeattrs.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-nodeattrs.html" }, "operationId": "cat.nodeattrs#0", "responses": { @@ -1364,11 +1426,11 @@ } } }, - "/_cat/nodes{?bytes,full_id,include_unloaded_segments}": { + "/_cat/nodes": { "get": { "description": "Returns basic statistics about performance of cluster nodes.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-nodes.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-nodes.html" }, "operationId": "cat.nodes#0", "parameters": [ @@ -1431,7 +1493,7 @@ "get": { "description": "Returns a concise representation of the cluster pending tasks.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-pending-tasks.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-pending-tasks.html" }, "operationId": "cat.pending_tasks#0", "responses": { @@ -1455,7 +1517,7 @@ "get": { "description": "Returns information about installed plugins across nodes node.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-plugins.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-plugins.html" }, "operationId": "cat.plugins#0", "responses": { @@ -1475,11 +1537,11 @@ } } }, - "/_cat/recovery{?active_only,bytes,detailed}": { + "/_cat/recovery": { "get": { "description": "Returns information about index shard recoveries, both on-going completed.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-recovery.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-recovery.html" }, "operationId": "cat.recovery#0", "parameters": [ @@ -1500,11 +1562,11 @@ } } }, - "/_cat/recovery/{index}{?active_only,bytes,detailed}": { + "/_cat/recovery/{index}": { "get": { "description": "Returns information about index shard recoveries, both on-going completed.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-recovery.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-recovery.html" }, "operationId": "cat.recovery#1", "parameters": [ @@ -1532,7 +1594,7 @@ "get": { "description": "Returns information about snapshot repositories registered in the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-repositories.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-repositories.html" }, "operationId": "cat.repositories#0", "responses": { @@ -1552,11 +1614,11 @@ } } }, - "/_cat/segments{?bytes}": { + "/_cat/segments": { "get": { "description": "Provides low-level information about the segments in the shards of an index.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-segments.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-segments.html" }, "operationId": "cat.segments#0", "parameters": [ @@ -1571,11 +1633,11 @@ } } }, - "/_cat/segments/{index}{?bytes}": { + "/_cat/segments/{index}": { "get": { "description": "Provides low-level information about the segments in the shards of an index.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-segments.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-segments.html" }, "operationId": "cat.segments#1", "parameters": [ @@ -1593,11 +1655,11 @@ } } }, - "/_cat/shards{?bytes}": { + "/_cat/shards": { "get": { "description": "Provides a detailed view of shard allocation on nodes.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-shards.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-shards.html" }, "operationId": "cat.shards#0", "parameters": [ @@ -1612,11 +1674,11 @@ } } }, - "/_cat/shards/{index}{?bytes}": { + "/_cat/shards/{index}": { "get": { "description": "Provides a detailed view of shard allocation on nodes.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-shards.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-shards.html" }, "operationId": "cat.shards#1", "parameters": [ @@ -1634,11 +1696,11 @@ } } }, - "/_cat/snapshots{?ignore_unavailable}": { + "/_cat/snapshots": { "get": { "description": "Returns all snapshots in a specific repository.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-snapshots.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-snapshots.html" }, "operationId": "cat.snapshots#0", "parameters": [ @@ -1653,11 +1715,11 @@ } } }, - "/_cat/snapshots/{repository}{?ignore_unavailable}": { + "/_cat/snapshots/{repository}": { "get": { "description": "Returns all snapshots in a specific repository.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-snapshots.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-snapshots.html" }, "operationId": "cat.snapshots#1", "parameters": [ @@ -1675,11 +1737,11 @@ } } }, - "/_cat/tasks{?actions,detailed,node_id,parent_task_id}": { + "/_cat/tasks": { "get": { "description": "Returns information about the tasks currently executing on one or more nodes in the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/tasks.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html" }, "operationId": "cat.tasks#0", "parameters": [ @@ -1751,7 +1813,7 @@ "get": { "description": "Returns information about existing templates.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-templates.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-templates.html" }, "operationId": "cat.templates#0", "responses": { @@ -1765,7 +1827,7 @@ "get": { "description": "Returns information about existing templates.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-templates.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-templates.html" }, "operationId": "cat.templates#1", "parameters": [ @@ -1780,11 +1842,11 @@ } } }, - "/_cat/thread_pool{?time}": { + "/_cat/thread_pool": { "get": { "description": "Returns cluster-wide thread pool statistics per node.\nBy default the active, queue and rejected statistics are returned for all thread pools.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-thread-pool.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-thread-pool.html" }, "operationId": "cat.thread_pool#0", "parameters": [ @@ -1799,11 +1861,11 @@ } } }, - "/_cat/thread_pool/{thread_pool_patterns}{?time}": { + "/_cat/thread_pool/{thread_pool_patterns}": { "get": { "description": "Returns cluster-wide thread pool statistics per node.\nBy default the active, queue and rejected statistics are returned for all thread pools.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-thread-pool.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-thread-pool.html" }, "operationId": "cat.thread_pool#1", "parameters": [ @@ -1821,11 +1883,11 @@ } } }, - "/_cat/transforms{?allow_no_match,from,h,s,time,size}": { + "/_cat/transforms": { "get": { "description": "Gets configuration and usage information about transforms.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-transforms.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-transforms.html" }, "operationId": "cat.transforms#0", "parameters": [ @@ -1855,11 +1917,11 @@ } } }, - "/_cat/transforms/{transform_id}{?allow_no_match,from,h,s,time,size}": { + "/_cat/transforms/{transform_id}": { "get": { "description": "Gets configuration and usage information about transforms.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-transforms.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-transforms.html" }, "operationId": "cat.transforms#1", "parameters": [ @@ -1893,10 +1955,27 @@ } }, "/_ccr/auto_follow/{name}": { + "get": { + "description": "Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-auto-follow-pattern.html" + }, + "operationId": "ccr.get_auto_follow_pattern#1", + "parameters": [ + { + "$ref": "#/components/parameters/ccr.get_auto_follow_pattern#name" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ccr.get_auto_follow_pattern#200" + } + } + }, "put": { "description": "Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-put-auto-follow-pattern.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-auto-follow-pattern.html" }, "operationId": "ccr.put_auto_follow_pattern#0", "parameters": [ @@ -1920,7 +1999,7 @@ "properties": { "remote_cluster": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/modules-remote-clusters.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-remote-clusters.html" }, "description": "The remote cluster containing the leader indices to match against.", "type": "string" @@ -1997,13 +2076,45 @@ } } } + }, + "delete": { + "description": "Deletes auto-follow patterns.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-delete-auto-follow-pattern.html" + }, + "operationId": "ccr.delete_auto_follow_pattern#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "The name of the auto follow pattern.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } } }, - "/{index}/_ccr/follow{?wait_for_active_shards}": { + "/{index}/_ccr/follow": { "put": { "description": "Creates a new follower index configured to follow the referenced leader index.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-put-follow.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-follow.html" }, "operationId": "ccr.follow#0", "parameters": [ @@ -2111,7 +2222,7 @@ "get": { "description": "Retrieves information about all follower indices, including parameters and status for each follower index", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-get-follow-info.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-info.html" }, "operationId": "ccr.follow_info#0", "parameters": [ @@ -2156,7 +2267,7 @@ "get": { "description": "Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-get-follow-stats.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-stats.html" }, "operationId": "ccr.follow_stats#0", "parameters": [ @@ -2201,7 +2312,7 @@ "post": { "description": "Removes the follower retention leases from the leader.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-post-forget-follower.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-forget-follower.html" }, "operationId": "ccr.forget_follower#0", "parameters": [ @@ -2267,7 +2378,7 @@ "get": { "description": "Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-get-auto-follow-pattern.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-auto-follow-pattern.html" }, "operationId": "ccr.get_auto_follow_pattern#0", "responses": { @@ -2281,7 +2392,7 @@ "post": { "description": "Pauses an auto-follow pattern", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-pause-auto-follow-pattern.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-pause-auto-follow-pattern.html" }, "operationId": "ccr.pause_auto_follow_pattern#0", "parameters": [ @@ -2315,7 +2426,7 @@ "post": { "description": "Pauses a follower index. The follower index will not fetch any additional operations from the leader index.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-post-pause-follow.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-pause-follow.html" }, "operationId": "ccr.pause_follow#0", "parameters": [ @@ -2349,7 +2460,7 @@ "post": { "description": "Resumes an auto-follow pattern that has been paused", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-resume-auto-follow-pattern.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-resume-auto-follow-pattern.html" }, "operationId": "ccr.resume_auto_follow_pattern#0", "parameters": [ @@ -2383,7 +2494,7 @@ "post": { "description": "Resumes a follower index that has been paused", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-post-resume-follow.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-resume-follow.html" }, "operationId": "ccr.resume_follow#0", "parameters": [ @@ -2458,7 +2569,7 @@ "get": { "description": "Gets all stats related to cross-cluster replication.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-get-stats.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-stats.html" }, "operationId": "ccr.stats#0", "responses": { @@ -2491,7 +2602,7 @@ "post": { "description": "Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-post-unfollow.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-unfollow.html" }, "operationId": "ccr.unfollow#0", "parameters": [ @@ -2522,10 +2633,62 @@ } }, "/_search/scroll": { - "put": { + "get": { + "description": "Allows to retrieve a large numbers of results from a single search request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" + }, + "operationId": "scroll#0", + "parameters": [ + { + "$ref": "#/components/parameters/scroll#scroll" + }, + { + "$ref": "#/components/parameters/scroll#scroll_id_" + }, + { + "$ref": "#/components/parameters/scroll#rest_total_hits_as_int" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/scroll" + }, + "responses": { + "200": { + "$ref": "#/components/responses/scroll#200" + } + } + }, + "post": { + "description": "Allows to retrieve a large numbers of results from a single search request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" + }, + "operationId": "scroll#1", + "parameters": [ + { + "$ref": "#/components/parameters/scroll#scroll" + }, + { + "$ref": "#/components/parameters/scroll#scroll_id_" + }, + { + "$ref": "#/components/parameters/scroll#rest_total_hits_as_int" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/scroll" + }, + "responses": { + "200": { + "$ref": "#/components/responses/scroll#200" + } + } + }, + "delete": { "description": "Explicitly clears the search context for a scroll.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/clear-scroll-api.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-scroll-api.html" }, "operationId": "clear_scroll#0", "requestBody": { @@ -2539,10 +2702,68 @@ } }, "/_search/scroll/{scroll_id}": { - "put": { + "get": { + "description": "Allows to retrieve a large numbers of results from a single search request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" + }, + "operationId": "scroll#2", + "parameters": [ + { + "$ref": "#/components/parameters/scroll#scroll_id" + }, + { + "$ref": "#/components/parameters/scroll#scroll" + }, + { + "$ref": "#/components/parameters/scroll#scroll_id_" + }, + { + "$ref": "#/components/parameters/scroll#rest_total_hits_as_int" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/scroll" + }, + "responses": { + "200": { + "$ref": "#/components/responses/scroll#200" + } + } + }, + "post": { + "description": "Allows to retrieve a large numbers of results from a single search request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" + }, + "operationId": "scroll#3", + "parameters": [ + { + "$ref": "#/components/parameters/scroll#scroll_id" + }, + { + "$ref": "#/components/parameters/scroll#scroll" + }, + { + "$ref": "#/components/parameters/scroll#scroll_id_" + }, + { + "$ref": "#/components/parameters/scroll#rest_total_hits_as_int" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/scroll" + }, + "responses": { + "200": { + "$ref": "#/components/responses/scroll#200" + } + } + }, + "delete": { "description": "Explicitly clears the search context for a scroll.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/clear-scroll-api.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-scroll-api.html" }, "operationId": "clear_scroll#1", "parameters": [ @@ -2561,10 +2782,10 @@ } }, "/_pit": { - "put": { + "delete": { "description": "Close a point in time", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/point-in-time-api.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/point-in-time-api.html" }, "operationId": "close_point_in_time#0", "requestBody": { @@ -2610,11 +2831,11 @@ } } }, - "/_cluster/allocation/explain{?include_disk_info,include_yes_decisions}": { + "/_cluster/allocation/explain": { "get": { "description": "Provides explanations for shard allocations in the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-allocation-explain.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-allocation-explain.html" }, "operationId": "cluster.allocation_explain#0", "parameters": [ @@ -2637,7 +2858,7 @@ "post": { "description": "Provides explanations for shard allocations in the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-allocation-explain.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-allocation-explain.html" }, "operationId": "cluster.allocation_explain#1", "parameters": [ @@ -2658,11 +2879,92 @@ } } }, - "/_component_template/{name}{?master_timeout,timeout}": { + "/_component_template/{name}": { + "get": { + "description": "Returns one or more component templates", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" + }, + "operationId": "cluster.get_component_template#1", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.get_component_template#name" + }, + { + "$ref": "#/components/parameters/cluster.get_component_template#flat_settings" + }, + { + "$ref": "#/components/parameters/cluster.get_component_template#include_defaults" + }, + { + "$ref": "#/components/parameters/cluster.get_component_template#local" + }, + { + "$ref": "#/components/parameters/cluster.get_component_template#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cluster.get_component_template#200" + } + } + }, "put": { + "description": "Creates or updates a component template", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" + }, + "operationId": "cluster.put_component_template#0", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.put_component_template#name" + }, + { + "$ref": "#/components/parameters/cluster.put_component_template#create" + }, + { + "$ref": "#/components/parameters/cluster.put_component_template#master_timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/cluster.put_component_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/cluster.put_component_template#200" + } + } + }, + "post": { + "description": "Creates or updates a component template", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" + }, + "operationId": "cluster.put_component_template#1", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.put_component_template#name" + }, + { + "$ref": "#/components/parameters/cluster.put_component_template#create" + }, + { + "$ref": "#/components/parameters/cluster.put_component_template#master_timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/cluster.put_component_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/cluster.put_component_template#200" + } + } + }, + "delete": { "description": "Deletes a component template", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-component-template.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" }, "operationId": "cluster.delete_component_template#0", "parameters": [ @@ -2710,20 +3012,39 @@ } } } - } - }, - "/_cluster/voting_config_exclusions{?wait_for_removal}": { - "put": { - "description": "Clears cluster voting config exclusions.", + }, + "head": { + "description": "Returns information about whether a particular component template exist", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/voting-config-exclusions.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" }, - "operationId": "cluster.delete_voting_config_exclusions#0", + "operationId": "cluster.exists_component_template#0", "parameters": [ + { + "in": "path", + "name": "name", + "description": "Comma-separated list of component template names used to limit the request.\nWildcard (*) expressions are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, { "in": "query", - "name": "wait_for_removal", - "description": "Specifies whether to wait for all excluded nodes to be removed from the\ncluster before clearing the voting configuration exclusions list.\nDefaults to true, meaning that all excluded nodes must be removed from\nthe cluster before this API takes any action. If set to false then the\nvoting configuration exclusions list is cleared even if some excluded\nnodes are still in the cluster.", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "local", + "description": "If true, the request retrieves information from the local node only.\nDefaults to false, which means information is retrieved from the master node.", "deprecated": false, "schema": { "type": "boolean" @@ -2741,42 +3062,41 @@ } } }, - "/_component_template/{name}{?master_timeout,local}": { - "get": { - "description": "Returns information about whether a particular component template exist", + "/_cluster/voting_config_exclusions": { + "post": { + "description": "Updates the cluster voting config exclusions by node ids or node names.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-component-template.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/voting-config-exclusions.html" }, - "operationId": "cluster.exists_component_template#0", + "operationId": "cluster.post_voting_config_exclusions#0", "parameters": [ { - "in": "path", - "name": "name", - "description": "Comma-separated list of component template names used to limit the request.\nWildcard (*) expressions are supported.", - "required": true, + "in": "query", + "name": "node_names", + "description": "A comma-separated list of the names of the nodes to exclude from the\nvoting configuration. If specified, you may not also specify node_ids.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Names" }, - "style": "simple" + "style": "form" }, { "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", + "name": "node_ids", + "description": "A comma-separated list of the persistent ids of the nodes to exclude\nfrom the voting configuration. If specified, you may not also specify node_names.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "$ref": "#/components/schemas/_types:Ids" }, "style": "form" }, { "in": "query", - "name": "local", - "description": "If true, the request retrieves information from the local node only.\nDefaults to false, which means information is retrieved from the master node.", + "name": "timeout", + "description": "When adding a voting configuration exclusion, the API waits for the\nspecified nodes to be excluded from the voting configuration before\nreturning. If the timeout expires before the appropriate condition\nis satisfied, the request fails and returns an error.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" } @@ -2789,47 +3109,43 @@ } } } - } - }, - "/_component_template{?flat_settings,include_defaults,local,master_timeout}": { - "get": { - "description": "Returns one or more component templates", + }, + "delete": { + "description": "Clears cluster voting config exclusions.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-component-template.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/voting-config-exclusions.html" }, - "operationId": "cluster.get_component_template#0", + "operationId": "cluster.delete_voting_config_exclusions#0", "parameters": [ { - "$ref": "#/components/parameters/cluster.get_component_template#flat_settings" - }, - { - "$ref": "#/components/parameters/cluster.get_component_template#include_defaults" - }, - { - "$ref": "#/components/parameters/cluster.get_component_template#local" - }, - { - "$ref": "#/components/parameters/cluster.get_component_template#master_timeout" + "in": "query", + "name": "wait_for_removal", + "description": "Specifies whether to wait for all excluded nodes to be removed from the\ncluster before clearing the voting configuration exclusions list.\nDefaults to true, meaning that all excluded nodes must be removed from\nthe cluster before this API takes any action. If set to false then the\nvoting configuration exclusions list is cleared even if some excluded\nnodes are still in the cluster.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" } ], "responses": { "200": { - "$ref": "#/components/responses/cluster.get_component_template#200" + "description": "", + "content": { + "application/json": {} + } } } } }, - "/_component_template/{name}{?flat_settings,include_defaults,local,master_timeout}": { + "/_component_template": { "get": { "description": "Returns one or more component templates", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-component-template.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" }, - "operationId": "cluster.get_component_template#1", + "operationId": "cluster.get_component_template#0", "parameters": [ - { - "$ref": "#/components/parameters/cluster.get_component_template#name" - }, { "$ref": "#/components/parameters/cluster.get_component_template#flat_settings" }, @@ -2850,11 +3166,11 @@ } } }, - "/_cluster/settings{?flat_settings,include_defaults,master_timeout,timeout}": { + "/_cluster/settings": { "get": { "description": "Returns cluster settings.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-get-settings.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-get-settings.html" }, "operationId": "cluster.get_settings#0", "parameters": [ @@ -2935,13 +3251,110 @@ } } } + }, + "put": { + "description": "Updates the cluster settings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-update-settings.html" + }, + "operationId": "cluster.put_settings#0", + "parameters": [ + { + "in": "query", + "name": "flat_settings", + "description": "Return settings in flat format (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Explicit operation timeout for connection to master node", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Explicit operation timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "persistent": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "transient": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "persistent": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "transient": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "required": [ + "acknowledged", + "persistent", + "transient" + ] + } + } + } + } + } } }, - "/_cluster/health{?expand_wildcards,level,local,master_timeout,timeout,wait_for_active_shards,wait_for_events,wait_for_nodes,wait_for_no_initializing_shards,wait_for_no_relocating_shards,wait_for_status}": { + "/_cluster/health": { "get": { "description": "Returns basic information about the health of the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-health.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-health.html" }, "operationId": "cluster.health#0", "parameters": [ @@ -2986,11 +3399,11 @@ } } }, - "/_cluster/health/{index}{?expand_wildcards,level,local,master_timeout,timeout,wait_for_active_shards,wait_for_events,wait_for_nodes,wait_for_no_initializing_shards,wait_for_no_relocating_shards,wait_for_status}": { + "/_cluster/health/{index}": { "get": { "description": "Returns basic information about the health of the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-health.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-health.html" }, "operationId": "cluster.health#1", "parameters": [ @@ -3042,7 +3455,7 @@ "get": { "description": "Returns different information about the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-info.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-info.html" }, "operationId": "cluster.info#0", "parameters": [ @@ -3095,11 +3508,11 @@ } } }, - "/_cluster/pending_tasks{?local,master_timeout}": { + "/_cluster/pending_tasks": { "get": { "description": "Returns a list of any cluster-level changes (e.g. create index, update mapping,\nallocate or fail shard) which have not yet been executed.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-pending.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-pending.html" }, "operationId": "cluster.pending_tasks#0", "parameters": [ @@ -3149,213 +3562,11 @@ } } }, - "/_cluster/voting_config_exclusions{?node_names,node_ids,timeout}": { - "post": { - "description": "Updates the cluster voting config exclusions by node ids or node names.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/voting-config-exclusions.html" - }, - "operationId": "cluster.post_voting_config_exclusions#0", - "parameters": [ - { - "in": "query", - "name": "node_names", - "description": "A comma-separated list of the names of the nodes to exclude from the\nvoting configuration. If specified, you may not also specify node_ids.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "form" - }, - { - "in": "query", - "name": "node_ids", - "description": "A comma-separated list of the persistent ids of the nodes to exclude\nfrom the voting configuration. If specified, you may not also specify node_names.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Ids" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "When adding a voting configuration exclusion, the API waits for the\nspecified nodes to be excluded from the voting configuration before\nreturning. If the timeout expires before the appropriate condition\nis satisfied, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": {} - } - } - } - } - }, - "/_component_template/{name}{?create,master_timeout}": { - "put": { - "description": "Creates or updates a component template", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-component-template.html" - }, - "operationId": "cluster.put_component_template#0", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.put_component_template#name" - }, - { - "$ref": "#/components/parameters/cluster.put_component_template#create" - }, - { - "$ref": "#/components/parameters/cluster.put_component_template#master_timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/cluster.put_component_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/cluster.put_component_template#200" - } - } - }, - "post": { - "description": "Creates or updates a component template", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-component-template.html" - }, - "operationId": "cluster.put_component_template#1", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.put_component_template#name" - }, - { - "$ref": "#/components/parameters/cluster.put_component_template#create" - }, - { - "$ref": "#/components/parameters/cluster.put_component_template#master_timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/cluster.put_component_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/cluster.put_component_template#200" - } - } - } - }, - "/_cluster/settings{?flat_settings,master_timeout,timeout}": { - "put": { - "description": "Updates the cluster settings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-update-settings.html" - }, - "operationId": "cluster.put_settings#0", - "parameters": [ - { - "in": "query", - "name": "flat_settings", - "description": "Return settings in flat format (default: false)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Explicit operation timeout for connection to master node", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Explicit operation timeout", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "persistent": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "transient": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledged": { - "type": "boolean" - }, - "persistent": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "transient": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - }, - "required": [ - "acknowledged", - "persistent", - "transient" - ] - } - } - } - } - } - } - }, "/_remote/info": { "get": { "description": "Returns the information about configured remote clusters.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-remote-info.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-remote-info.html" }, "operationId": "cluster.remote_info#0", "responses": { @@ -3375,11 +3586,11 @@ } } }, - "/_cluster/reroute{?dry_run,explain,metric,retry_failed,master_timeout,timeout}": { + "/_cluster/reroute": { "post": { "description": "Allows to manually change the allocation of individual shards in the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-reroute.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-reroute.html" }, "operationId": "cluster.reroute#0", "parameters": [ @@ -3494,11 +3705,11 @@ } } }, - "/_cluster/state{?allow_no_indices,expand_wildcards,flat_settings,ignore_unavailable,local,master_timeout,wait_for_metadata_version,wait_for_timeout}": { + "/_cluster/state": { "get": { "description": "Returns a comprehensive information about the state of the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-state.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-state.html" }, "operationId": "cluster.state#0", "parameters": [ @@ -3534,11 +3745,11 @@ } } }, - "/_cluster/state/{metric}{?allow_no_indices,expand_wildcards,flat_settings,ignore_unavailable,local,master_timeout,wait_for_metadata_version,wait_for_timeout}": { + "/_cluster/state/{metric}": { "get": { "description": "Returns a comprehensive information about the state of the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-state.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-state.html" }, "operationId": "cluster.state#1", "parameters": [ @@ -3577,11 +3788,11 @@ } } }, - "/_cluster/state/{metric}/{index}{?allow_no_indices,expand_wildcards,flat_settings,ignore_unavailable,local,master_timeout,wait_for_metadata_version,wait_for_timeout}": { + "/_cluster/state/{metric}/{index}": { "get": { "description": "Returns a comprehensive information about the state of the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-state.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-state.html" }, "operationId": "cluster.state#2", "parameters": [ @@ -3623,11 +3834,11 @@ } } }, - "/_cluster/stats{?flat_settings,timeout}": { + "/_cluster/stats": { "get": { "description": "Returns high-level overview of cluster statistics.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-stats.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-stats.html" }, "operationId": "cluster.stats#0", "parameters": [ @@ -3645,11 +3856,11 @@ } } }, - "/_cluster/stats/nodes/{node_id}{?flat_settings,timeout}": { + "/_cluster/stats/nodes/{node_id}": { "get": { "description": "Returns high-level overview of cluster statistics.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-stats.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-stats.html" }, "operationId": "cluster.stats#1", "parameters": [ @@ -3670,7 +3881,7 @@ } } }, - "/_count{?allow_no_indices,analyzer,analyze_wildcard,default_operator,df,expand_wildcards,ignore_throttled,ignore_unavailable,lenient,min_score,preference,routing,terminate_after,q}": { + "/_count": { "get": { "description": "Returns number of documents matching a query.", "externalDocs": { @@ -3790,7 +4001,7 @@ } } }, - "/{index}/_count{?allow_no_indices,analyzer,analyze_wildcard,default_operator,df,expand_wildcards,ignore_throttled,ignore_unavailable,lenient,min_score,preference,routing,terminate_after,q}": { + "/{index}/_count": { "get": { "description": "Returns number of documents matching a query.", "externalDocs": { @@ -3916,7 +4127,7 @@ } } }, - "/{index}/_create/{id}{?pipeline,refresh,routing,timeout,version,version_type,wait_for_active_shards}": { + "/{index}/_create/{id}": { "put": { "description": "Creates a new document in the index.\n\nReturns a 409 response when a document with a same ID already exists in the index.", "externalDocs": { @@ -4006,7 +4217,7 @@ } } }, - "/_dangling/{index_uuid}{?accept_data_loss,master_timeout,timeout}": { + "/_dangling/{index_uuid}": { "post": { "description": "Imports the specified dangling index", "externalDocs": { @@ -4069,6 +4280,69 @@ } } } + }, + "delete": { + "description": "Deletes the specified dangling index", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html" + }, + "operationId": "dangling_indices.delete_dangling_index#0", + "parameters": [ + { + "in": "path", + "name": "index_uuid", + "description": "The UUID of the dangling index", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Uuid" + }, + "style": "simple" + }, + { + "in": "query", + "name": "accept_data_loss", + "description": "Must be set to true in order to delete the dangling index", + "required": true, + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Specify timeout for connection to master", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Explicit operation timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } } }, "/_dangling": { @@ -4103,8 +4377,263 @@ } } }, - "/{index}/_doc/{id}{?if_primary_term,if_seq_no,refresh,routing,timeout,version,version_type,wait_for_active_shards}": { + "/{index}/_doc/{id}": { + "get": { + "description": "Returns a document.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" + }, + "operationId": "get#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Name of the index that contains the document.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + { + "in": "path", + "name": "id", + "description": "Unique identifier of the document.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on. Random by default.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "realtime", + "description": "If `true`, the request is real-time as opposed to near-real-time.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "refresh", + "description": "If true, Elasticsearch refreshes the affected shards to make this operation visible to search. If false, do nothing with refreshes.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "routing", + "description": "Target the specified primary shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source", + "description": "True or false to return the _source field or not, or a list of fields to return.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source_excludes", + "description": "A comma-separated list of source fields to exclude in the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source_includes", + "description": "A comma-separated list of source fields to include in the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "stored_fields", + "description": "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` parameter defaults to false.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "version", + "description": "Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + }, + { + "in": "query", + "name": "version_type", + "description": "Specific version type: internal, external, external_gte.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionType" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_global.get:GetResult" + } + } + } + } + } + }, "put": { + "description": "Creates or updates a document in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" + }, + "operationId": "index#0", + "parameters": [ + { + "$ref": "#/components/parameters/index#index" + }, + { + "$ref": "#/components/parameters/index#id" + }, + { + "$ref": "#/components/parameters/index#if_primary_term" + }, + { + "$ref": "#/components/parameters/index#if_seq_no" + }, + { + "$ref": "#/components/parameters/index#op_type" + }, + { + "$ref": "#/components/parameters/index#pipeline" + }, + { + "$ref": "#/components/parameters/index#refresh" + }, + { + "$ref": "#/components/parameters/index#routing" + }, + { + "$ref": "#/components/parameters/index#timeout" + }, + { + "$ref": "#/components/parameters/index#version" + }, + { + "$ref": "#/components/parameters/index#version_type" + }, + { + "$ref": "#/components/parameters/index#wait_for_active_shards" + }, + { + "$ref": "#/components/parameters/index#require_alias" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/index" + }, + "responses": { + "200": { + "$ref": "#/components/responses/index#200" + } + } + }, + "post": { + "description": "Creates or updates a document in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" + }, + "operationId": "index#1", + "parameters": [ + { + "$ref": "#/components/parameters/index#index" + }, + { + "$ref": "#/components/parameters/index#id" + }, + { + "$ref": "#/components/parameters/index#if_primary_term" + }, + { + "$ref": "#/components/parameters/index#if_seq_no" + }, + { + "$ref": "#/components/parameters/index#op_type" + }, + { + "$ref": "#/components/parameters/index#pipeline" + }, + { + "$ref": "#/components/parameters/index#refresh" + }, + { + "$ref": "#/components/parameters/index#routing" + }, + { + "$ref": "#/components/parameters/index#timeout" + }, + { + "$ref": "#/components/parameters/index#version" + }, + { + "$ref": "#/components/parameters/index#version_type" + }, + { + "$ref": "#/components/parameters/index#wait_for_active_shards" + }, + { + "$ref": "#/components/parameters/index#require_alias" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/index" + }, + "responses": { + "200": { + "$ref": "#/components/responses/index#200" + } + } + }, + "delete": { "description": "Removes a document from the index.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html" @@ -4114,7 +4643,7 @@ { "in": "path", "name": "index", - "description": "The name of the index", + "description": "Name of the target index.", "required": true, "deprecated": false, "schema": { @@ -4125,7 +4654,7 @@ { "in": "path", "name": "id", - "description": "The document ID", + "description": "Unique identifier for the document.", "required": true, "deprecated": false, "schema": { @@ -4136,7 +4665,7 @@ { "in": "query", "name": "if_primary_term", - "description": "only perform the delete operation if the last operation that has changed the document has the specified primary term", + "description": "Only perform the operation if the document has this primary term.", "deprecated": false, "schema": { "type": "number" @@ -4146,7 +4675,7 @@ { "in": "query", "name": "if_seq_no", - "description": "only perform the delete operation if the last operation that has changed the document has the specified sequence number", + "description": "Only perform the operation if the document has this sequence number.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:SequenceNumber" @@ -4156,7 +4685,7 @@ { "in": "query", "name": "refresh", - "description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes.", + "description": "If `true`, Elasticsearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.\nValid values: `true`, `false`, `wait_for`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Refresh" @@ -4166,7 +4695,7 @@ { "in": "query", "name": "routing", - "description": "Specific routing value", + "description": "Custom value used to route operations to a specific shard.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Routing" @@ -4176,7 +4705,7 @@ { "in": "query", "name": "timeout", - "description": "Explicit operation timeout", + "description": "Period to wait for active shards.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -4186,7 +4715,7 @@ { "in": "query", "name": "version", - "description": "Explicit version number for concurrency control", + "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:VersionNumber" @@ -4196,7 +4725,7 @@ { "in": "query", "name": "version_type", - "description": "Specific version type", + "description": "Specific version type: `external`, `external_gte`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:VersionType" @@ -4206,7 +4735,7 @@ { "in": "query", "name": "wait_for_active_shards", - "description": "Sets the number of shard copies that must be active before proceeding with the delete operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:WaitForActiveShards" @@ -4226,9 +4755,148 @@ } } } + }, + "head": { + "description": "Returns information about whether a document exists in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" + }, + "operationId": "exists#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases.\nSupports wildcards (`*`).", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + { + "in": "path", + "name": "id", + "description": "Identifier of the document.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "realtime", + "description": "If `true`, the request is real-time as opposed to near-real-time.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "refresh", + "description": "If `true`, Elasticsearch refreshes all shards involved in the delete by query after the request completes.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "routing", + "description": "Target the specified primary shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source", + "description": "`true` or `false` to return the `_source` field or not, or a list of fields to return.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source_excludes", + "description": "A comma-separated list of source fields to exclude in the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source_includes", + "description": "A comma-separated list of source fields to include in the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "stored_fields", + "description": "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` parameter defaults to false.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "version", + "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + }, + { + "in": "query", + "name": "version_type", + "description": "Specific version type: `external`, `external_gte`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionType" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": {} + } + } + } } }, - "/{index}/_delete_by_query{?allow_no_indices,analyzer,analyze_wildcard,conflicts,default_operator,df,expand_wildcards,from,ignore_unavailable,lenient,max_docs,preference,refresh,request_cache,requests_per_second,routing,q,scroll,scroll_size,search_timeout,search_type,slices,sort,stats,terminate_after,timeout,version,wait_for_active_shards,wait_for_completion}": { + "/{index}/_delete_by_query": { "post": { "description": "Deletes documents matching the provided query.", "externalDocs": { @@ -4239,7 +4907,7 @@ { "in": "path", "name": "index", - "description": "A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices", + "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams or indices, omit this parameter or use `*` or `_all`.", "required": true, "deprecated": false, "schema": { @@ -4250,7 +4918,7 @@ { "in": "query", "name": "allow_no_indices", - "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", "deprecated": false, "schema": { "type": "boolean" @@ -4260,7 +4928,7 @@ { "in": "query", "name": "analyzer", - "description": "The analyzer to use for the query string", + "description": "Analyzer to use for the query string.", "deprecated": false, "schema": { "type": "string" @@ -4270,7 +4938,7 @@ { "in": "query", "name": "analyze_wildcard", - "description": "Specify whether wildcard and prefix queries should be analyzed (default: false)", + "description": "If `true`, wildcard and prefix queries are analyzed.", "deprecated": false, "schema": { "type": "boolean" @@ -4280,7 +4948,7 @@ { "in": "query", "name": "conflicts", - "description": "What to do when the delete by query hits version conflicts?", + "description": "What to do if delete by query hits version conflicts: `abort` or `proceed`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Conflicts" @@ -4290,7 +4958,7 @@ { "in": "query", "name": "default_operator", - "description": "The default operator for query string query (AND or OR)", + "description": "The default operator for query string query: `AND` or `OR`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types.query_dsl:Operator" @@ -4300,7 +4968,7 @@ { "in": "query", "name": "df", - "description": "The field to use as default where no field prefix is given in the query string", + "description": "Field to use as default where no field prefix is given in the query string.", "deprecated": false, "schema": { "type": "string" @@ -4310,7 +4978,7 @@ { "in": "query", "name": "expand_wildcards", - "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`. Valid values are: `all`, `open`, `closed`, `hidden`, `none`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:ExpandWildcards" @@ -4330,7 +4998,7 @@ { "in": "query", "name": "ignore_unavailable", - "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", "deprecated": false, "schema": { "type": "boolean" @@ -4340,7 +5008,7 @@ { "in": "query", "name": "lenient", - "description": "Specify whether format-based query failures (such as providing text to a numeric field) should be ignored", + "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", "deprecated": false, "schema": { "type": "boolean" @@ -4350,7 +5018,7 @@ { "in": "query", "name": "max_docs", - "description": "Maximum number of documents to process (default: all documents)", + "description": "Maximum number of documents to process.\nDefaults to all documents.", "deprecated": false, "schema": { "type": "number" @@ -4360,7 +5028,7 @@ { "in": "query", "name": "preference", - "description": "Specify the node or shard the operation should be performed on (default: random)", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", "deprecated": false, "schema": { "type": "string" @@ -4370,7 +5038,7 @@ { "in": "query", "name": "refresh", - "description": "Should the affected indexes be refreshed?", + "description": "If `true`, Elasticsearch refreshes all shards involved in the delete by query after the request completes.", "deprecated": false, "schema": { "type": "boolean" @@ -4380,7 +5048,7 @@ { "in": "query", "name": "request_cache", - "description": "Specify if request cache should be used for this request or not, defaults to index level setting", + "description": "If `true`, the request cache is used for this request.\nDefaults to the index-level setting.", "deprecated": false, "schema": { "type": "boolean" @@ -4390,7 +5058,7 @@ { "in": "query", "name": "requests_per_second", - "description": "The throttle for this request in sub-requests per second. -1 means no throttle.", + "description": "The throttle for this request in sub-requests per second.", "deprecated": false, "schema": { "type": "number" @@ -4400,7 +5068,7 @@ { "in": "query", "name": "routing", - "description": "A comma-separated list of specific routing values", + "description": "Custom value used to route operations to a specific shard.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Routing" @@ -4410,7 +5078,7 @@ { "in": "query", "name": "q", - "description": "Query in the Lucene query string syntax", + "description": "Query in the Lucene query string syntax.", "deprecated": false, "schema": { "type": "string" @@ -4420,7 +5088,7 @@ { "in": "query", "name": "scroll", - "description": "Specify how long a consistent view of the index should be maintained for scrolled search", + "description": "Period to retain the search context for scrolling.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -4430,7 +5098,7 @@ { "in": "query", "name": "scroll_size", - "description": "Size on the scroll request powering the delete by query", + "description": "Size of the scroll request that powers the operation.", "deprecated": false, "schema": { "type": "number" @@ -4440,7 +5108,7 @@ { "in": "query", "name": "search_timeout", - "description": "Explicit timeout for each search request. Defaults to no timeout.", + "description": "Explicit timeout for each search request.\nDefaults to no timeout.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -4450,7 +5118,7 @@ { "in": "query", "name": "search_type", - "description": "Search operation type", + "description": "The type of the search operation.\nAvailable options: `query_then_fetch`, `dfs_query_then_fetch`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:SearchType" @@ -4460,7 +5128,7 @@ { "in": "query", "name": "slices", - "description": "The number of slices this task should be divided into. Defaults to 1, meaning the task isn't sliced into subtasks. Can be set to `auto`.", + "description": "The number of slices this task should be divided into.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Slices" @@ -4470,7 +5138,7 @@ { "in": "query", "name": "sort", - "description": "A comma-separated list of : pairs", + "description": "A comma-separated list of : pairs.", "deprecated": false, "schema": { "type": "array", @@ -4483,7 +5151,7 @@ { "in": "query", "name": "stats", - "description": "Specific 'tag' of the request for logging and statistical purposes", + "description": "Specific `tag` of the request for logging and statistical purposes.", "deprecated": false, "schema": { "type": "array", @@ -4496,7 +5164,7 @@ { "in": "query", "name": "terminate_after", - "description": "The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early.", + "description": "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.\nUse with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.", "deprecated": false, "schema": { "type": "number" @@ -4506,7 +5174,7 @@ { "in": "query", "name": "timeout", - "description": "Time each individual bulk request should wait for shards that are unavailable.", + "description": "Period each deletion request waits for active shards.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -4516,7 +5184,7 @@ { "in": "query", "name": "version", - "description": "Specify whether to return document version as part of a hit", + "description": "If `true`, returns the document version as part of a hit.", "deprecated": false, "schema": { "type": "boolean" @@ -4526,7 +5194,7 @@ { "in": "query", "name": "wait_for_active_shards", - "description": "Sets the number of shard copies that must be active before proceeding with the delete by query operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:WaitForActiveShards" @@ -4536,7 +5204,7 @@ { "in": "query", "name": "wait_for_completion", - "description": "Should the request should block until the delete by query is complete.", + "description": "If `true`, the request blocks until the operation is complete.", "deprecated": false, "schema": { "type": "boolean" @@ -4551,6 +5219,7 @@ "type": "object", "properties": { "max_docs": { + "description": "The maximum number of documents to delete.", "type": "number" }, "query": { @@ -4632,7 +5301,7 @@ } } }, - "/_delete_by_query/{task_id}/_rethrottle{?requests_per_second}": { + "/_delete_by_query/{task_id}/_rethrottle": { "post": { "description": "Changes the number of requests per second for a particular Delete By Query operation.", "externalDocs": { @@ -4643,7 +5312,7 @@ { "in": "path", "name": "task_id", - "description": "The task id to rethrottle", + "description": "The ID for the task.", "required": true, "deprecated": false, "schema": { @@ -4654,7 +5323,7 @@ { "in": "query", "name": "requests_per_second", - "description": "The throttle to set on this request in floating sub-requests per second. -1 means set no throttle.", + "description": "The throttle for this request in sub-requests per second.", "deprecated": false, "schema": { "type": "number" @@ -4676,7 +5345,64 @@ } } }, - "/_scripts/{id}{?master_timeout,timeout}": { + "/_scripts/{id}": { + "get": { + "description": "Returns a script.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" + }, + "operationId": "get_script#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the stored script or search template.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Specify timeout for connection to master", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "found": { + "type": "boolean" + }, + "script": { + "$ref": "#/components/schemas/_types:StoredScript" + } + }, + "required": [ + "_id", + "found" + ] + } + } + } + } + } + }, "put": { "description": "Creates or updates a script.", "externalDocs": { @@ -4728,13 +5454,82 @@ "$ref": "#/components/responses/put_script#200" } } - } - }, - "/_enrich/policy/{name}": { - "put": { + }, + "delete": { + "description": "Deletes a script.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" + }, + "operationId": "delete_script#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the stored script or search template.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_enrich/policy/{name}": { + "get": { + "description": "Gets information about an enrich policy.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-enrich-policy-api.html" + }, + "operationId": "enrich.get_policy#0", + "parameters": [ + { + "$ref": "#/components/parameters/enrich.get_policy#name" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/enrich.get_policy#200" + } + } + }, + "put": { "description": "Creates a new enrich policy.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/put-enrich-policy-api.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-enrich-policy-api.html" }, "operationId": "enrich.put_policy#0", "parameters": [ @@ -4783,13 +5578,45 @@ } } } + }, + "delete": { + "description": "Deletes an existing enrich policy and its enrich index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-enrich-policy-api.html" + }, + "operationId": "enrich.delete_policy#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Enrich policy to delete.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } } }, - "/_enrich/policy/{name}/_execute{?wait_for_completion}": { + "/_enrich/policy/{name}/_execute": { "put": { "description": "Creates the enrich index for an existing enrich policy.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/execute-enrich-policy-api.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/execute-enrich-policy-api.html" }, "operationId": "enrich.execute_policy#0", "parameters": [ @@ -4903,44 +5730,10 @@ } }, "/_eql/search/{id}": { - "put": { - "description": "Deletes an async EQL search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html" - }, - "operationId": "eql.delete#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Identifier for the search to delete.\nA search ID is provided in the EQL search API's response for an async search.\nA search ID is also provided if the request’s `keep_on_completion` parameter is `true`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_eql/search/{id}{?keep_alive,wait_for_completion_timeout}": { "get": { "description": "Returns async results from previously executed Event Query Language (EQL) search", "externalDocs": { - "url": " https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/get-async-eql-search-api.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-async-eql-search-api.html" }, "operationId": "eql.get#0", "parameters": [ @@ -4988,13 +5781,45 @@ } } } + }, + "delete": { + "description": "Deletes an async EQL search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html" + }, + "operationId": "eql.delete#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the search to delete.\nA search ID is provided in the EQL search API's response for an async search.\nA search ID is also provided if the request’s `keep_on_completion` parameter is `true`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } } }, "/_eql/search/status/{id}": { "get": { "description": "Returns the status of a previously submitted async or stored Event Query Language (EQL) search", "externalDocs": { - "url": " https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/get-async-eql-status-api.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-async-eql-status-api.html" }, "operationId": "eql.get_status#0", "parameters": [ @@ -5052,7 +5877,7 @@ } } }, - "/{index}/_eql/search{?allow_no_indices,expand_wildcards,ignore_unavailable,keep_alive,keep_on_completion,wait_for_completion_timeout}": { + "/{index}/_eql/search": { "get": { "description": "Returns results matching a query expressed in Event Query Language (EQL)", "externalDocs": { @@ -5130,13 +5955,13 @@ } } }, - "/{index}/_doc/{id}{?preference,realtime,refresh,routing,_source,_source_excludes,_source_includes,stored_fields,version,version_type}": { + "/{index}/_source/{id}": { "get": { - "description": "Returns a document.", + "description": "Returns the source of a document.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" }, - "operationId": "get#0", + "operationId": "get_source#0", "parameters": [ { "in": "path", @@ -5233,7 +6058,6 @@ { "in": "query", "name": "stored_fields", - "description": "A comma-separated list of stored fields to return in the response", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Fields" @@ -5267,16 +6091,14 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/_global.get:GetResult" + "type": "object" } } } } } - } - }, - "/{index}/_source/{id}{?preference,realtime,refresh,routing,_source,_source_excludes,_source_includes,version,version_type}": { - "get": { + }, + "head": { "description": "Returns information about whether a document source exists in an index.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" @@ -5286,7 +6108,7 @@ { "in": "path", "name": "index", - "description": "The name of the index", + "description": "Comma-separated list of data streams, indices, and aliases.\nSupports wildcards (`*`).", "required": true, "deprecated": false, "schema": { @@ -5297,7 +6119,7 @@ { "in": "path", "name": "id", - "description": "The document ID", + "description": "Identifier of the document.", "required": true, "deprecated": false, "schema": { @@ -5308,7 +6130,7 @@ { "in": "query", "name": "preference", - "description": "Specify the node or shard the operation should be performed on (default: random)", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", "deprecated": false, "schema": { "type": "string" @@ -5318,7 +6140,7 @@ { "in": "query", "name": "realtime", - "description": "Specify whether to perform the operation in realtime or search mode", + "description": "If true, the request is real-time as opposed to near-real-time.", "deprecated": false, "schema": { "type": "boolean" @@ -5328,7 +6150,7 @@ { "in": "query", "name": "refresh", - "description": "Refresh the shard containing the document before performing the operation", + "description": "If `true`, Elasticsearch refreshes all shards involved in the delete by query after the request completes.", "deprecated": false, "schema": { "type": "boolean" @@ -5338,7 +6160,7 @@ { "in": "query", "name": "routing", - "description": "Specific routing value", + "description": "Target the specified primary shard.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Routing" @@ -5348,7 +6170,7 @@ { "in": "query", "name": "_source", - "description": "True or false to return the _source field or not, or a list of fields to return", + "description": "`true` or `false` to return the `_source` field or not, or a list of fields to return.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" @@ -5358,7 +6180,7 @@ { "in": "query", "name": "_source_excludes", - "description": "A list of fields to exclude from the returned _source field", + "description": "A comma-separated list of source fields to exclude in the response.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Fields" @@ -5368,7 +6190,7 @@ { "in": "query", "name": "_source_includes", - "description": "A list of fields to extract and return from the _source field", + "description": "A comma-separated list of source fields to include in the response.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Fields" @@ -5378,7 +6200,7 @@ { "in": "query", "name": "version", - "description": "Explicit version number for concurrency control", + "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:VersionNumber" @@ -5388,7 +6210,7 @@ { "in": "query", "name": "version_type", - "description": "Specific version type", + "description": "Specific version type: `external`, `external_gte`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:VersionType" @@ -5406,7 +6228,7 @@ } } }, - "/{index}/_explain/{id}{?analyzer,analyze_wildcard,default_operator,df,lenient,preference,routing,_source,_source_excludes,_source_includes,stored_fields,q}": { + "/{index}/_explain/{id}": { "get": { "description": "Returns information about why a specific matches (or doesn't match) a query.", "externalDocs": { @@ -5590,7 +6412,7 @@ } } }, - "/_field_caps{?allow_no_indices,expand_wildcards,fields,ignore_unavailable,include_unmapped,filters,types}": { + "/_field_caps": { "get": { "description": "Returns the information about the capabilities of fields among multiple indices.", "externalDocs": { @@ -5668,7 +6490,7 @@ } } }, - "/{index}/_field_caps{?allow_no_indices,expand_wildcards,fields,ignore_unavailable,include_unmapped,filters,types}": { + "/{index}/_field_caps": { "get": { "description": "Returns the information about the capabilities of fields among multiple indices.", "externalDocs": { @@ -5752,7 +6574,7 @@ } } }, - "/{index}/_fleet/global_checkpoints{?wait_for_advance,wait_for_index,checkpoints,timeout}": { + "/{index}/_fleet/global_checkpoints": { "get": { "description": "Returns the current global checkpoints for an index. This API is design for internal use by the fleet server project.", "externalDocs": { @@ -5851,7 +6673,7 @@ } } }, - "/_fleet/_fleet_msearch{?allow_no_indices,ccs_minimize_roundtrips,expand_wildcards,ignore_throttled,ignore_unavailable,max_concurrent_searches,max_concurrent_shard_requests,pre_filter_shard_size,search_type,rest_total_hits_as_int,typed_keys,wait_for_checkpoints,allow_partial_search_results}": { + "/_fleet/_fleet_msearch": { "get": { "description": "Multi Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", "operationId": "fleet.msearch#0", @@ -5959,7 +6781,7 @@ } } }, - "/{index}/_fleet/_fleet_msearch{?allow_no_indices,ccs_minimize_roundtrips,expand_wildcards,ignore_throttled,ignore_unavailable,max_concurrent_searches,max_concurrent_shard_requests,pre_filter_shard_size,search_type,rest_total_hits_as_int,typed_keys,wait_for_checkpoints,allow_partial_search_results}": { + "/{index}/_fleet/_fleet_msearch": { "get": { "description": "Multi Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", "operationId": "fleet.msearch#2", @@ -6073,7 +6895,7 @@ } } }, - "/{index}/_fleet/_fleet_search{?allow_no_indices,analyzer,analyze_wildcard,batched_reduce_size,ccs_minimize_roundtrips,default_operator,df,docvalue_fields,expand_wildcards,explain,ignore_throttled,ignore_unavailable,lenient,max_concurrent_shard_requests,min_compatible_shard_node,preference,pre_filter_shard_size,request_cache,routing,scroll,search_type,stats,stored_fields,suggest_field,suggest_mode,suggest_size,suggest_text,terminate_after,timeout,track_total_hits,track_scores,typed_keys,rest_total_hits_as_int,version,_source,_source_excludes,_source_includes,seq_no_primary_term,q,size,from,sort,wait_for_checkpoints,allow_partial_search_results}": { + "/{index}/_fleet/_fleet_search": { "get": { "description": "Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", "operationId": "fleet.search#0", @@ -6373,65 +7195,6 @@ } } }, - "/_scripts/{id}{?master_timeout}": { - "get": { - "description": "Returns a script.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" - }, - "operationId": "get_script#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Script ID", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Specify timeout for connection to master", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "found": { - "type": "boolean" - }, - "script": { - "$ref": "#/components/schemas/_types:StoredScript" - } - }, - "required": [ - "_id", - "found" - ] - } - } - } - } - } - } - }, "/_script_context": { "get": { "description": "Returns all script contexts.", @@ -6503,155 +7266,11 @@ } } }, - "/{index}/_source/{id}{?preference,realtime,refresh,routing,_source,_source_excludes,_source_includes,stored_fields,version,version_type}": { - "get": { - "description": "Returns the source of a document.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" - }, - "operationId": "get_source#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Name of the index that contains the document.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - { - "in": "path", - "name": "id", - "description": "Unique identifier of the document.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "preference", - "description": "Specifies the node or shard the operation should be performed on. Random by default.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "realtime", - "description": "Boolean) If true, the request is real-time as opposed to near-real-time.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "refresh", - "description": "If true, Elasticsearch refreshes the affected shards to make this operation visible to search. If false, do nothing with refreshes.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "routing", - "description": "Target the specified primary shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - { - "in": "query", - "name": "_source", - "description": "True or false to return the _source field or not, or a list of fields to return.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" - }, - "style": "form" - }, - { - "in": "query", - "name": "_source_excludes", - "description": "A comma-separated list of source fields to exclude in the response.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - { - "in": "query", - "name": "_source_includes", - "description": "A comma-separated list of source fields to include in the response.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - { - "in": "query", - "name": "stored_fields", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - { - "in": "query", - "name": "version", - "description": "Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "style": "form" - }, - { - "in": "query", - "name": "version_type", - "description": "Specific version type: internal, external, external_gte.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionType" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - } - } - } - }, - "/{index}/_graph/explore{?routing,timeout}": { + "/{index}/_graph/explore": { "get": { "description": "Explore extracted and summarized information about the documents and terms in an index.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/graph-explore-api.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html" }, "operationId": "graph.explore#0", "parameters": [ @@ -6677,7 +7296,7 @@ "post": { "description": "Explore extracted and summarized information about the documents and terms in an index.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/graph-explore-api.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html" }, "operationId": "graph.explore#1", "parameters": [ @@ -6701,7 +7320,7 @@ } } }, - "/_health_report{?timeout,verbose,size}": { + "/_health_report": { "get": { "description": "Returns the health of the cluster.", "externalDocs": { @@ -6726,7 +7345,7 @@ } } }, - "/_health_report/{feature}{?timeout,verbose,size}": { + "/_health_report/{feature}": { "get": { "description": "Returns the health of the cluster.", "externalDocs": { @@ -6754,7 +7373,30 @@ } } }, - "/_ilm/policy/{policy}{?master_timeout,timeout}": { + "/_ilm/policy/{policy}": { + "get": { + "description": "Returns the specified policy definition. Includes the policy version and last modified date.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-lifecycle.html" + }, + "operationId": "ilm.get_lifecycle#0", + "parameters": [ + { + "$ref": "#/components/parameters/ilm.get_lifecycle#policy" + }, + { + "$ref": "#/components/parameters/ilm.get_lifecycle#master_timeout" + }, + { + "$ref": "#/components/parameters/ilm.get_lifecycle#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ilm.get_lifecycle#200" + } + } + }, "put": { "description": "Creates a lifecycle policy", "externalDocs": { @@ -6820,9 +7462,61 @@ } } } + }, + "delete": { + "description": "Deletes the specified lifecycle policy definition. A currently used policy cannot be deleted.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-delete-lifecycle.html" + }, + "operationId": "ilm.delete_lifecycle#0", + "parameters": [ + { + "in": "path", + "name": "policy", + "description": "Identifier for the policy.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } } }, - "/{index}/_ilm/explain{?only_errors,only_managed,master_timeout,timeout}": { + "/{index}/_ilm/explain": { "get": { "description": "Retrieves information about the index's current lifecycle state, such as the currently executing phase, action, and step.", "externalDocs": { @@ -6907,7 +7601,7 @@ } } }, - "/_ilm/policy{?master_timeout,timeout}": { + "/_ilm/policy": { "get": { "description": "Returns the specified policy definition. Includes the policy version and last modified date.", "externalDocs": { @@ -6958,7 +7652,7 @@ } } }, - "/_ilm/migrate_to_data_tiers{?dry_run}": { + "/_ilm/migrate_to_data_tiers": { "post": { "description": "Migrates the indices and ILM policies away from custom node attribute allocation routing to data tiers routing", "externalDocs": { @@ -7186,7 +7880,7 @@ } } }, - "/_ilm/start{?master_timeout,timeout}": { + "/_ilm/start": { "post": { "description": "Start the index lifecycle management (ILM) plugin.", "externalDocs": { @@ -7227,7 +7921,7 @@ } } }, - "/_ilm/stop{?master_timeout,timeout}": { + "/_ilm/stop": { "post": { "description": "Halts all lifecycle management operations and stops the index lifecycle management (ILM) plugin", "externalDocs": { @@ -7268,121 +7962,7 @@ } } }, - "/{index}/_doc/{id}{?if_primary_term,if_seq_no,op_type,pipeline,refresh,routing,timeout,version,version_type,wait_for_active_shards,require_alias}": { - "put": { - "description": "Creates or updates a document in an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" - }, - "operationId": "index#0", - "parameters": [ - { - "$ref": "#/components/parameters/index#index" - }, - { - "$ref": "#/components/parameters/index#id" - }, - { - "$ref": "#/components/parameters/index#if_primary_term" - }, - { - "$ref": "#/components/parameters/index#if_seq_no" - }, - { - "$ref": "#/components/parameters/index#op_type" - }, - { - "$ref": "#/components/parameters/index#pipeline" - }, - { - "$ref": "#/components/parameters/index#refresh" - }, - { - "$ref": "#/components/parameters/index#routing" - }, - { - "$ref": "#/components/parameters/index#timeout" - }, - { - "$ref": "#/components/parameters/index#version" - }, - { - "$ref": "#/components/parameters/index#version_type" - }, - { - "$ref": "#/components/parameters/index#wait_for_active_shards" - }, - { - "$ref": "#/components/parameters/index#require_alias" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/index" - }, - "responses": { - "200": { - "$ref": "#/components/responses/index#200" - } - } - }, - "post": { - "description": "Creates or updates a document in an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" - }, - "operationId": "index#1", - "parameters": [ - { - "$ref": "#/components/parameters/index#index" - }, - { - "$ref": "#/components/parameters/index#id" - }, - { - "$ref": "#/components/parameters/index#if_primary_term" - }, - { - "$ref": "#/components/parameters/index#if_seq_no" - }, - { - "$ref": "#/components/parameters/index#op_type" - }, - { - "$ref": "#/components/parameters/index#pipeline" - }, - { - "$ref": "#/components/parameters/index#refresh" - }, - { - "$ref": "#/components/parameters/index#routing" - }, - { - "$ref": "#/components/parameters/index#timeout" - }, - { - "$ref": "#/components/parameters/index#version" - }, - { - "$ref": "#/components/parameters/index#version_type" - }, - { - "$ref": "#/components/parameters/index#wait_for_active_shards" - }, - { - "$ref": "#/components/parameters/index#require_alias" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/index" - }, - "responses": { - "200": { - "$ref": "#/components/responses/index#200" - } - } - } - }, - "/{index}/_doc{?if_primary_term,if_seq_no,op_type,pipeline,refresh,routing,timeout,version,version_type,wait_for_active_shards,require_alias}": { + "/{index}/_doc": { "post": { "description": "Creates or updates a document in an index.", "externalDocs": { @@ -7437,7 +8017,7 @@ } } }, - "/{index}/_block/{block}{?allow_no_indices,expand_wildcards,ignore_unavailable,master_timeout,timeout}": { + "/{index}/_block/{block}": { "put": { "description": "Adds a block to an index.", "externalDocs": { @@ -7555,7 +8135,7 @@ "get": { "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-analyze.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" }, "operationId": "indices.analyze#0", "requestBody": { @@ -7570,7 +8150,7 @@ "post": { "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-analyze.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" }, "operationId": "indices.analyze#1", "requestBody": { @@ -7587,7 +8167,7 @@ "get": { "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-analyze.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" }, "operationId": "indices.analyze#2", "parameters": [ @@ -7607,7 +8187,7 @@ "post": { "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-analyze.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" }, "operationId": "indices.analyze#3", "parameters": [ @@ -7625,7 +8205,7 @@ } } }, - "/_cache/clear{?allow_no_indices,expand_wildcards,fielddata,fields,ignore_unavailable,query,request}": { + "/_cache/clear": { "post": { "description": "Clears all or specific caches for one or more indices.", "externalDocs": { @@ -7662,7 +8242,7 @@ } } }, - "/{index}/_cache/clear{?allow_no_indices,expand_wildcards,fielddata,fields,ignore_unavailable,query,request}": { + "/{index}/_cache/clear": { "post": { "description": "Clears all or specific caches for one or more indices.", "externalDocs": { @@ -7702,7 +8282,7 @@ } } }, - "/{index}/_clone/{target}{?master_timeout,timeout,wait_for_active_shards}": { + "/{index}/_clone/{target}": { "put": { "description": "Clones an index", "externalDocs": { @@ -7768,11 +8348,11 @@ } } }, - "/{index}/_close{?allow_no_indices,expand_wildcards,ignore_unavailable,master_timeout,timeout,wait_for_active_shards}": { + "/{index}/_close": { "post": { "description": "Closes an index.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-close.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-close.html" }, "operationId": "indices.close#0", "parameters": [ @@ -7881,11 +8461,126 @@ } } }, - "/{index}{?master_timeout,timeout,wait_for_active_shards}": { + "/{index}": { + "get": { + "description": "Returns information about one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html" + }, + "operationId": "indices.get#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and index aliases used to limit the request.\nWildcard expressions (*) are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If false, the request returns an error if any wildcard expression, index alias, or _all value targets only\nmissing or closed indices. This behavior applies even if the request targets other open indices. For example,\na request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard expressions can match. If the request can target data streams, this argument\ndetermines whether wildcard expressions match hidden data streams. Supports comma-separated values,\nsuch as open,hidden.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "flat_settings", + "description": "If true, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If false, requests that target a missing index return an error.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "include_defaults", + "description": "If true, return all default settings in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "local", + "description": "If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "features", + "description": "Return only information on specified index features", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/indices.get:Features" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:IndexState" + } + } + } + } + } + } + }, "put": { "description": "Creates an index with optional settings and mappings.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-create-index.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html" }, "operationId": "indices.create#0", "parameters": [ @@ -7983,9 +8678,202 @@ } } } + }, + "delete": { + "description": "Deletes an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html" + }, + "operationId": "indices.delete#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Comma-separated list of indices to delete.\nYou cannot specify index aliases.\nBy default, this parameter does not support wildcards (`*`) or `_all`.\nTo use wildcards or `_all`, set the `action.destructive_requires_name` cluster setting to `false`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:IndicesResponseBase" + } + } + } + } + } + }, + "head": { + "description": "Returns information about whether a particular index exists.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html" + }, + "operationId": "indices.exists#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases. Supports wildcards (`*`).", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "flat_settings", + "description": "If `true`, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "include_defaults", + "description": "If `true`, return all default settings in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": {} + } + } + } } }, "/_data_stream/{name}": { + "get": { + "description": "Returns data streams.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" + }, + "operationId": "indices.get_data_stream#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_data_stream#name" + }, + { + "$ref": "#/components/parameters/indices.get_data_stream#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_data_stream#include_defaults" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_data_stream#200" + } + } + }, "put": { "description": "Creates a data stream", "externalDocs": { @@ -8017,9 +8905,51 @@ } } } + }, + "delete": { + "description": "Deletes a data stream.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" + }, + "operationId": "indices.delete_data_stream#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Comma-separated list of data streams to delete. Wildcard (`*`) expressions are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DataStreamNames" + }, + "style": "simple" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of data stream that wildcard patterns can match. Supports comma-separated values,such as `open,hidden`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } } }, - "/_data_stream/_stats{?expand_wildcards}": { + "/_data_stream/_stats": { "get": { "description": "Provides statistics on operations happening in a data stream.", "externalDocs": { @@ -8038,7 +8968,7 @@ } } }, - "/_data_stream/{name}/_stats{?expand_wildcards}": { + "/_data_stream/{name}/_stats": { "get": { "description": "Provides statistics on operations happening in a data stream.", "externalDocs": { @@ -8060,91 +8990,39 @@ } } }, - "/{index}{?allow_no_indices,expand_wildcards,ignore_unavailable,master_timeout,timeout}": { - "put": { - "description": "Deletes an index.", + "/{index}/_alias/{name}": { + "get": { + "description": "Returns an alias.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" }, - "operationId": "indices.delete#0", + "operationId": "indices.get_alias#2", "parameters": [ { - "in": "path", - "name": "index", - "description": "Comma-separated list of indices to delete.\nYou cannot specify index aliases.\nBy default, this parameter does not support wildcards (`*`) or `_all`.\nTo use wildcards or `_all`, set the `action.destructive_requires_name` cluster setting to `false`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" + "$ref": "#/components/parameters/indices.get_alias#index" }, { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" + "$ref": "#/components/parameters/indices.get_alias#name" }, { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" + "$ref": "#/components/parameters/indices.get_alias#allow_no_indices" }, { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" + "$ref": "#/components/parameters/indices.get_alias#expand_wildcards" }, { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" + "$ref": "#/components/parameters/indices.get_alias#ignore_unavailable" }, { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" + "$ref": "#/components/parameters/indices.get_alias#local" } ], "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:IndicesResponseBase" - } - } - } + "$ref": "#/components/responses/indices.get_alias#200" } } - } - }, - "/{index}/_alias/{name}{?master_timeout,timeout}": { + }, "put": { "description": "Creates or updates an alias.", "externalDocs": { @@ -8202,9 +9080,67 @@ "$ref": "#/components/responses/indices.put_alias#200" } } + }, + "delete": { + "description": "Deletes an alias.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.delete_alias#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.delete_alias#index" + }, + { + "$ref": "#/components/parameters/indices.delete_alias#name" + }, + { + "$ref": "#/components/parameters/indices.delete_alias#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.delete_alias#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.delete_alias#200" + } + } + }, + "head": { + "description": "Returns information about whether a particular alias exists.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.exists_alias#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.exists_alias#index" + }, + { + "$ref": "#/components/parameters/indices.exists_alias#name" + }, + { + "$ref": "#/components/parameters/indices.exists_alias#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.exists_alias#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.exists_alias#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.exists_alias#local" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.exists_alias#200" + } + } } }, - "/{index}/_aliases/{name}{?master_timeout,timeout}": { + "/{index}/_aliases/{name}": { "put": { "description": "Creates or updates an alias.", "externalDocs": { @@ -8262,20 +9198,46 @@ "$ref": "#/components/responses/indices.put_alias#200" } } + }, + "delete": { + "description": "Deletes an alias.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.delete_alias#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.delete_alias#index" + }, + { + "$ref": "#/components/parameters/indices.delete_alias#name" + }, + { + "$ref": "#/components/parameters/indices.delete_alias#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.delete_alias#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.delete_alias#200" + } + } } }, - "/_data_stream/{name}/_lifecycle{?expand_wildcards,master_timeout,timeout}": { - "put": { - "description": "Updates the data lifecycle of the selected data streams.", + "/_data_stream/{name}/_lifecycle": { + "get": { + "description": "Returns the data stream lifecycle of the selected data streams.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/dlm-put-lifecycle.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-get-lifecycle.html" }, - "operationId": "indices.put_data_lifecycle#0", + "operationId": "indices.get_data_lifecycle#0", "parameters": [ { "in": "path", "name": "name", - "description": "Comma-separated list of data streams used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams use `*` or `_all`.", + "description": "Comma-separated list of data streams to limit the request.\nSupports wildcards (`*`).\nTo target all data streams, omit this parameter or use `*` or `_all`.", "required": true, "deprecated": false, "schema": { @@ -8286,7 +9248,7 @@ { "in": "query", "name": "expand_wildcards", - "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `hidden`, `open`, `closed`, `none`.", + "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:ExpandWildcards" @@ -8295,65 +9257,50 @@ }, { "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "name": "include_defaults", + "description": "If `true`, return all default settings in the response.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "type": "boolean" }, "style": "form" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data_retention": { - "$ref": "#/components/schemas/_types:Duration" - } - } - } - } - } - }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + "type": "object", + "properties": { + "data_streams": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.get_data_lifecycle:DataStreamWithLifecycle" + } + } + }, + "required": [ + "data_streams" + ] } } } } } - } - }, - "/_data_stream/{name}{?expand_wildcards}": { + }, "put": { - "description": "Deletes a data stream.", + "description": "Updates the data stream lifecycle of the selected data streams.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-put-lifecycle.html" }, - "operationId": "indices.delete_data_stream#0", + "operationId": "indices.put_data_lifecycle#0", "parameters": [ { "in": "path", "name": "name", - "description": "Comma-separated list of data streams to delete. Wildcard (`*`) expressions are supported.", + "description": "Comma-separated list of data streams used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams use `*` or `_all`.", "required": true, "deprecated": false, "schema": { @@ -8364,51 +9311,17 @@ { "in": "query", "name": "expand_wildcards", - "description": "Type of data stream that wildcard patterns can match. Supports comma-separated values,such as `open,hidden`.", + "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `hidden`, `open`, `closed`, `none`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:ExpandWildcards" }, "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_index_template/{name}{?master_timeout,timeout}": { - "put": { - "description": "Deletes an index template.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices.delete_index_template#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" }, { "in": "query", "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -8418,7 +9331,7 @@ { "in": "query", "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -8426,6 +9339,23 @@ "style": "form" } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data_retention": { + "$ref": "#/components/schemas/_types:Duration" + }, + "downsampling": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleDownsampling" + } + } + } + } + } + }, "responses": { "200": { "description": "", @@ -8438,31 +9368,39 @@ } } } - } - }, - "/_template/{name}{?master_timeout,timeout}": { - "put": { - "description": "Deletes an index template.", + }, + "delete": { + "description": "Deletes the data stream lifecycle of the selected data streams.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-delete-lifecycle.html" }, - "operationId": "indices.delete_template#0", + "operationId": "indices.delete_data_lifecycle#0", "parameters": [ { "in": "path", "name": "name", - "description": "The name of the legacy index template to delete.\nWildcard (`*`) expressions are supported.", + "description": "A comma-separated list of data streams of which the data stream lifecycle will be deleted; use `*` to get all data streams", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Name" + "$ref": "#/components/schemas/_types:DataStreamNames" }, "style": "simple" }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Whether wildcard expressions should get expanded to open or closed indices (default: open)", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, { "in": "query", "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "description": "Specify timeout for connection to master", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -8472,7 +9410,7 @@ { "in": "query", "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "description": "Explicit timestamp for the document", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -8494,72 +9432,305 @@ } } }, - "/{index}/_disk_usage{?allow_no_indices,expand_wildcards,flush,ignore_unavailable,run_expensive_tasks}": { - "post": { - "description": "Analyzes the disk usage of each field of an index or data stream", + "/_index_template/{name}": { + "get": { + "description": "Returns an index template.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-disk-usage.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" }, - "operationId": "indices.disk_usage#0", + "operationId": "indices.get_index_template#1", "parameters": [ { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nIt’s recommended to execute this API with a single index (or the latest backing index of a data stream) as the API consumes resources significantly.", - "required": true, - "deprecated": false, + "$ref": "#/components/parameters/indices.get_index_template#name" + }, + { + "$ref": "#/components/parameters/indices.get_index_template#local" + }, + { + "$ref": "#/components/parameters/indices.get_index_template#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.get_index_template#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.get_index_template#include_defaults" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_index_template#200" + } + } + }, + "put": { + "description": "Creates or updates an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.put_index_template#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_index_template#name" + }, + { + "$ref": "#/components/parameters/indices.put_index_template#create" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_index_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_index_template#200" + } + } + }, + "post": { + "description": "Creates or updates an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.put_index_template#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_index_template#name" + }, + { + "$ref": "#/components/parameters/indices.put_index_template#create" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_index_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_index_template#200" + } + } + }, + "delete": { + "description": "Deletes an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.delete_index_template#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.", + "required": true, + "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Indices" + "$ref": "#/components/schemas/_types:Names" }, "style": "simple" }, { "in": "query", - "name": "allow_no_indices", - "description": "If false, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, { "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + }, + "head": { + "description": "Returns information about whether a particular index template exists.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.exists_index_template#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" }, { "in": "query", - "name": "flush", - "description": "If `true`, the API performs a flush before analysis.\nIf `false`, the response may not include uncommitted data.", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": {} + } + } + } + } + }, + "/_template/{name}": { + "get": { + "description": "Returns an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.get_template#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_template#name" + }, + { + "$ref": "#/components/parameters/indices.get_template#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.get_template#local" + }, + { + "$ref": "#/components/parameters/indices.get_template#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_template#200" + } + } + }, + "put": { + "description": "Creates or updates an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.put_template#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_template#name" + }, + { + "$ref": "#/components/parameters/indices.put_template#create" + }, + { + "$ref": "#/components/parameters/indices.put_template#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.put_template#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_template#timeout" + }, + { + "$ref": "#/components/parameters/indices.put_template#order" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_template#200" + } + } + }, + "post": { + "description": "Creates or updates an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.put_template#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_template#name" + }, + { + "$ref": "#/components/parameters/indices.put_template#create" + }, + { + "$ref": "#/components/parameters/indices.put_template#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.put_template#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_template#timeout" + }, + { + "$ref": "#/components/parameters/indices.put_template#order" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_template#200" + } + } + }, + "delete": { + "description": "Deletes an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.delete_template#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "The name of the legacy index template to delete.\nWildcard (`*`) expressions are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" }, { "in": "query", - "name": "ignore_unavailable", - "description": "If `true`, missing or closed indices are not included in the response.", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, { "in": "query", - "name": "run_expensive_tasks", - "description": "Analyzing field disk usage is resource-intensive.\nTo use the API, this parameter must be set to `true`.", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" } @@ -8570,81 +9741,84 @@ "content": { "application/json": { "schema": { - "type": "object" + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" } } } } } - } - }, - "/{index}/_downsample/{target_index}": { - "post": { - "description": "Downsample an index", + }, + "head": { + "description": "Returns information about whether a particular index template exists.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-downsample-data-stream.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" }, - "operationId": "indices.downsample#0", + "operationId": "indices.exists_template#0", "parameters": [ { "in": "path", - "name": "index", - "description": "Name of the time series index to downsample.", + "name": "name", + "description": "The comma separated names of the index templates", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:IndexName" + "$ref": "#/components/schemas/_types:Names" }, "style": "simple" }, { - "in": "path", - "name": "target_index", - "description": "Name of the index to create.", - "required": true, + "in": "query", + "name": "flat_settings", + "description": "Return settings in flat format (default: false)", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:IndexName" + "type": "boolean" }, - "style": "simple" + "style": "form" + }, + { + "in": "query", + "name": "local", + "description": "Return local information, do not retrieve the state from master node (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Explicit operation timeout for connection to master node", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/indices._types:DownsampleConfig" - } - } - }, - "required": true - }, "responses": { "200": { "description": "", "content": { - "application/json": { - "schema": { - "type": "object" - } - } + "application/json": {} } } } } }, - "/{index}{?allow_no_indices,expand_wildcards,flat_settings,ignore_unavailable,include_defaults,local}": { - "get": { - "description": "Returns information about whether a particular index exists.", + "/{index}/_disk_usage": { + "post": { + "description": "Analyzes the disk usage of each field of an index or data stream", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-disk-usage.html" }, - "operationId": "indices.exists#0", + "operationId": "indices.disk_usage#0", "parameters": [ { "in": "path", "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases. Supports wildcards (`*`).", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nIt’s recommended to execute this API with a single index (or the latest backing index of a data stream) as the API consumes resources significantly.", "required": true, "deprecated": false, "schema": { @@ -8655,7 +9829,7 @@ { "in": "query", "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "description": "If false, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", "deprecated": false, "schema": { "type": "boolean" @@ -8665,7 +9839,7 @@ { "in": "query", "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:ExpandWildcards" @@ -8674,8 +9848,8 @@ }, { "in": "query", - "name": "flat_settings", - "description": "If `true`, returns settings in flat format.", + "name": "flush", + "description": "If `true`, the API performs a flush before analysis.\nIf `false`, the response may not include uncommitted data.", "deprecated": false, "schema": { "type": "boolean" @@ -8685,17 +9859,7 @@ { "in": "query", "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "include_defaults", - "description": "If `true`, return all default settings in the response.", + "description": "If `true`, missing or closed indices are not included in the response.", "deprecated": false, "schema": { "type": "boolean" @@ -8704,8 +9868,8 @@ }, { "in": "query", - "name": "local", - "description": "If `true`, the request retrieves information from the local node only.", + "name": "run_expensive_tasks", + "description": "Analyzing field disk usage is resource-intensive.\nTo use the API, this parameter must be set to `true`.", "deprecated": false, "schema": { "type": "boolean" @@ -8717,54 +9881,79 @@ "200": { "description": "", "content": { - "application/json": {} + "application/json": { + "schema": { + "type": "object" + } + } } } } } }, - "/_alias/{name}{?allow_no_indices,expand_wildcards,ignore_unavailable,local}": { - "get": { - "description": "Returns an alias.", + "/{index}/_downsample/{target_index}": { + "post": { + "description": "Downsample an index", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-downsample-data-stream.html" }, - "operationId": "indices.get_alias#1", + "operationId": "indices.downsample#0", "parameters": [ { - "$ref": "#/components/parameters/indices.get_alias#name" - }, - { - "$ref": "#/components/parameters/indices.get_alias#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.get_alias#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.get_alias#ignore_unavailable" + "in": "path", + "name": "index", + "description": "Name of the time series index to downsample.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" }, { - "$ref": "#/components/parameters/indices.get_alias#local" + "in": "path", + "name": "target_index", + "description": "Name of the index to create.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/indices._types:DownsampleConfig" + } + } + }, + "required": true + }, "responses": { "200": { - "$ref": "#/components/responses/indices.get_alias#200" + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } } } } }, - "/{index}/_alias/{name}{?allow_no_indices,expand_wildcards,ignore_unavailable,local}": { + "/_alias/{name}": { "get": { "description": "Returns an alias.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" }, - "operationId": "indices.get_alias#2", + "operationId": "indices.get_alias#1", "parameters": [ - { - "$ref": "#/components/parameters/indices.get_alias#index" - }, { "$ref": "#/components/parameters/indices.get_alias#name" }, @@ -8786,81 +9975,42 @@ "$ref": "#/components/responses/indices.get_alias#200" } } - } - }, - "/_index_template/{name}{?master_timeout}": { - "get": { - "description": "Returns information about whether a particular index template exists.", + }, + "head": { + "description": "Returns information about whether a particular alias exists.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" }, - "operationId": "indices.exists_index_template#0", + "operationId": "indices.exists_alias#0", "parameters": [ { - "in": "path", - "name": "name", - "description": "Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" + "$ref": "#/components/parameters/indices.exists_alias#name" }, { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": {} - } - } - } - } - }, - "/_template/{name}{?flat_settings,local,master_timeout}": { - "get": { - "description": "Returns an index template.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices.get_template#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_template#name" + "$ref": "#/components/parameters/indices.exists_alias#allow_no_indices" }, { - "$ref": "#/components/parameters/indices.get_template#flat_settings" + "$ref": "#/components/parameters/indices.exists_alias#expand_wildcards" }, { - "$ref": "#/components/parameters/indices.get_template#local" + "$ref": "#/components/parameters/indices.exists_alias#ignore_unavailable" }, { - "$ref": "#/components/parameters/indices.get_template#master_timeout" + "$ref": "#/components/parameters/indices.exists_alias#local" } ], "responses": { "200": { - "$ref": "#/components/responses/indices.get_template#200" + "$ref": "#/components/responses/indices.exists_alias#200" } } } }, - "/{index}/_lifecycle/explain{?include_defaults,master_timeout}": { + "/{index}/_lifecycle/explain": { "get": { - "description": "Retrieves information about the index's current DLM lifecycle, such as any potential encountered error, time since creation etc.", + "description": "Retrieves information about the index's current data stream lifecycle, such as any potential encountered error, time since creation etc.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/dlm-explain-lifecycle.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/data-streams-explain-lifecycle.html" }, "operationId": "indices.explain_data_lifecycle#0", "parameters": [ @@ -8907,7 +10057,7 @@ "indices": { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/indices.explain_data_lifecycle:DataLifecycleExplain" + "$ref": "#/components/schemas/indices.explain_data_lifecycle:DataStreamLifecycleExplain" } } }, @@ -8921,7 +10071,7 @@ } } }, - "/{index}/_field_usage_stats{?allow_no_indices,expand_wildcards,ignore_unavailable,fields,master_timeout,timeout,wait_for_active_shards}": { + "/{index}/_field_usage_stats": { "get": { "description": "Returns the field usage stats for each field of an index", "externalDocs": { @@ -9025,11 +10175,11 @@ } } }, - "/_flush{?allow_no_indices,expand_wildcards,force,ignore_unavailable,wait_if_ongoing}": { + "/_flush": { "get": { "description": "Performs the flush operation on one or more indices.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-flush.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-flush.html" }, "operationId": "indices.flush#1", "parameters": [ @@ -9058,7 +10208,7 @@ "post": { "description": "Performs the flush operation on one or more indices.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-flush.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-flush.html" }, "operationId": "indices.flush#0", "parameters": [ @@ -9085,11 +10235,11 @@ } } }, - "/{index}/_flush{?allow_no_indices,expand_wildcards,force,ignore_unavailable,wait_if_ongoing}": { + "/{index}/_flush": { "get": { "description": "Performs the flush operation on one or more indices.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-flush.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-flush.html" }, "operationId": "indices.flush#3", "parameters": [ @@ -9121,7 +10271,7 @@ "post": { "description": "Performs the flush operation on one or more indices.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-flush.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-flush.html" }, "operationId": "indices.flush#2", "parameters": [ @@ -9151,7 +10301,7 @@ } } }, - "/_forcemerge{?allow_no_indices,expand_wildcards,flush,ignore_unavailable,max_num_segments,only_expunge_deletes,wait_for_completion}": { + "/_forcemerge": { "post": { "description": "Performs the force merge operation on one or more indices.", "externalDocs": { @@ -9188,7 +10338,7 @@ } } }, - "/{index}/_forcemerge{?allow_no_indices,expand_wildcards,flush,ignore_unavailable,max_num_segments,only_expunge_deletes,wait_for_completion}": { + "/{index}/_forcemerge": { "post": { "description": "Performs the force merge operation on one or more indices.", "externalDocs": { @@ -9228,139 +10378,22 @@ } } }, - "/{index}{?allow_no_indices,expand_wildcards,flat_settings,ignore_unavailable,include_defaults,local,master_timeout,features}": { + "/_alias": { "get": { - "description": "Returns information about one or more indices.", + "description": "Returns an alias.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" }, - "operationId": "indices.get#0", + "operationId": "indices.get_alias#0", "parameters": [ { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and index aliases used to limit the request.\nWildcard expressions (*) are supported.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" + "$ref": "#/components/parameters/indices.get_alias#allow_no_indices" }, { - "in": "query", - "name": "allow_no_indices", - "description": "If false, the request returns an error if any wildcard expression, index alias, or _all value targets only\nmissing or closed indices. This behavior applies even if the request targets other open indices. For example,\na request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" + "$ref": "#/components/parameters/indices.get_alias#expand_wildcards" }, { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard expressions can match. If the request can target data streams, this argument\ndetermines whether wildcard expressions match hidden data streams. Supports comma-separated values,\nsuch as open,hidden.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "flat_settings", - "description": "If true, returns settings in flat format.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "ignore_unavailable", - "description": "If false, requests that target a missing index return an error.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "include_defaults", - "description": "If true, return all default settings in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "local", - "description": "If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "features", - "description": "Return only information on specified index features", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/indices.get:Features" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:IndexState" - } - } - } - } - } - } - } - }, - "/_alias{?allow_no_indices,expand_wildcards,ignore_unavailable,local}": { - "get": { - "description": "Returns an alias.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" - }, - "operationId": "indices.get_alias#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_alias#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.get_alias#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.get_alias#ignore_unavailable" + "$ref": "#/components/parameters/indices.get_alias#ignore_unavailable" }, { "$ref": "#/components/parameters/indices.get_alias#local" @@ -9373,7 +10406,7 @@ } } }, - "/{index}/_alias{?allow_no_indices,expand_wildcards,ignore_unavailable,local}": { + "/{index}/_alias": { "get": { "description": "Returns an alias.", "externalDocs": { @@ -9404,72 +10437,7 @@ } } }, - "/_data_stream/{name}/_lifecycle{?expand_wildcards,include_defaults}": { - "get": { - "description": "Returns the data lifecycle of the selected data streams.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/dlm-get-lifecycle.html" - }, - "operationId": "indices.get_data_lifecycle#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Comma-separated list of data streams to limit the request.\nSupports wildcards (`*`).\nTo target all data streams, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DataStreamNames" - }, - "style": "simple" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "include_defaults", - "description": "If `true`, return all default settings in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data_streams": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.get_data_lifecycle:DataStreamLifecycle" - } - } - }, - "required": [ - "data_streams" - ] - } - } - } - } - } - } - }, - "/_data_stream{?expand_wildcards,include_defaults}": { + "/_data_stream": { "get": { "description": "Returns data streams.", "externalDocs": { @@ -9491,32 +10459,7 @@ } } }, - "/_data_stream/{name}{?expand_wildcards,include_defaults}": { - "get": { - "description": "Returns data streams.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" - }, - "operationId": "indices.get_data_stream#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_data_stream#name" - }, - { - "$ref": "#/components/parameters/indices.get_data_stream#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.get_data_stream#include_defaults" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.get_data_stream#200" - } - } - } - }, - "/_mapping/field/{fields}{?allow_no_indices,expand_wildcards,ignore_unavailable,include_defaults,local}": { + "/_mapping/field/{fields}": { "get": { "description": "Returns mapping for one or more fields.", "externalDocs": { @@ -9550,7 +10493,7 @@ } } }, - "/{index}/_mapping/field/{fields}{?allow_no_indices,expand_wildcards,ignore_unavailable,include_defaults,local}": { + "/{index}/_mapping/field/{fields}": { "get": { "description": "Returns mapping for one or more fields.", "externalDocs": { @@ -9587,7 +10530,7 @@ } } }, - "/_index_template{?local,flat_settings,master_timeout,include_defaults}": { + "/_index_template": { "get": { "description": "Returns an index template.", "externalDocs": { @@ -9615,45 +10558,48 @@ } } }, - "/_index_template/{name}{?local,flat_settings,master_timeout,include_defaults}": { + "/_mapping": { "get": { - "description": "Returns an index template.", + "description": "Returns mappings for one or more indices.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html" }, - "operationId": "indices.get_index_template#1", + "operationId": "indices.get_mapping#0", "parameters": [ { - "$ref": "#/components/parameters/indices.get_index_template#name" + "$ref": "#/components/parameters/indices.get_mapping#allow_no_indices" }, { - "$ref": "#/components/parameters/indices.get_index_template#local" + "$ref": "#/components/parameters/indices.get_mapping#expand_wildcards" }, { - "$ref": "#/components/parameters/indices.get_index_template#flat_settings" + "$ref": "#/components/parameters/indices.get_mapping#ignore_unavailable" }, { - "$ref": "#/components/parameters/indices.get_index_template#master_timeout" + "$ref": "#/components/parameters/indices.get_mapping#local" }, { - "$ref": "#/components/parameters/indices.get_index_template#include_defaults" + "$ref": "#/components/parameters/indices.get_mapping#master_timeout" } ], "responses": { "200": { - "$ref": "#/components/responses/indices.get_index_template#200" + "$ref": "#/components/responses/indices.get_mapping#200" } } } }, - "/_mapping{?allow_no_indices,expand_wildcards,ignore_unavailable,local,master_timeout}": { + "/{index}/_mapping": { "get": { "description": "Returns mappings for one or more indices.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html" }, - "operationId": "indices.get_mapping#0", + "operationId": "indices.get_mapping#1", "parameters": [ + { + "$ref": "#/components/parameters/indices.get_mapping#index" + }, { "$ref": "#/components/parameters/indices.get_mapping#allow_no_indices" }, @@ -9675,43 +10621,85 @@ "$ref": "#/components/responses/indices.get_mapping#200" } } - } - }, - "/{index}/_mapping{?allow_no_indices,expand_wildcards,ignore_unavailable,local,master_timeout}": { - "get": { - "description": "Returns mappings for one or more indices.", + }, + "put": { + "description": "Updates the index mappings.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html" }, - "operationId": "indices.get_mapping#1", + "operationId": "indices.put_mapping#0", "parameters": [ { - "$ref": "#/components/parameters/indices.get_mapping#index" + "$ref": "#/components/parameters/indices.put_mapping#index" }, { - "$ref": "#/components/parameters/indices.get_mapping#allow_no_indices" + "$ref": "#/components/parameters/indices.put_mapping#allow_no_indices" }, { - "$ref": "#/components/parameters/indices.get_mapping#expand_wildcards" + "$ref": "#/components/parameters/indices.put_mapping#expand_wildcards" }, { - "$ref": "#/components/parameters/indices.get_mapping#ignore_unavailable" + "$ref": "#/components/parameters/indices.put_mapping#ignore_unavailable" }, { - "$ref": "#/components/parameters/indices.get_mapping#local" + "$ref": "#/components/parameters/indices.put_mapping#master_timeout" }, { - "$ref": "#/components/parameters/indices.get_mapping#master_timeout" + "$ref": "#/components/parameters/indices.put_mapping#timeout" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#write_index_only" } ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_mapping" + }, "responses": { "200": { - "$ref": "#/components/responses/indices.get_mapping#200" + "$ref": "#/components/responses/indices.put_mapping#200" + } + } + }, + "post": { + "description": "Updates the index mappings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html" + }, + "operationId": "indices.put_mapping#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_mapping#index" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#timeout" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#write_index_only" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_mapping" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_mapping#200" } } } }, - "/_settings{?allow_no_indices,expand_wildcards,flat_settings,ignore_unavailable,include_defaults,local,master_timeout}": { + "/_settings": { "get": { "description": "Returns settings for one or more indices.", "externalDocs": { @@ -9746,9 +10734,47 @@ "$ref": "#/components/responses/indices.get_settings#200" } } + }, + "put": { + "description": "Updates the index settings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html" + }, + "operationId": "indices.put_settings#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_settings#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.put_settings#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.put_settings#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.put_settings#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.put_settings#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_settings#preserve_existing" + }, + { + "$ref": "#/components/parameters/indices.put_settings#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_settings" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_settings#200" + } + } } }, - "/{index}/_settings{?allow_no_indices,expand_wildcards,flat_settings,ignore_unavailable,include_defaults,local,master_timeout}": { + "/{index}/_settings": { "get": { "description": "Returns settings for one or more indices.", "externalDocs": { @@ -9786,9 +10812,50 @@ "$ref": "#/components/responses/indices.get_settings#200" } } + }, + "put": { + "description": "Updates the index settings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html" + }, + "operationId": "indices.put_settings#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_settings#index" + }, + { + "$ref": "#/components/parameters/indices.put_settings#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.put_settings#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.put_settings#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.put_settings#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.put_settings#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_settings#preserve_existing" + }, + { + "$ref": "#/components/parameters/indices.put_settings#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_settings" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_settings#200" + } + } } }, - "/{index}/_settings/{name}{?allow_no_indices,expand_wildcards,flat_settings,ignore_unavailable,include_defaults,local,master_timeout}": { + "/{index}/_settings/{name}": { "get": { "description": "Returns settings for one or more indices.", "externalDocs": { @@ -9831,7 +10898,7 @@ } } }, - "/_settings/{name}{?allow_no_indices,expand_wildcards,flat_settings,ignore_unavailable,include_defaults,local,master_timeout}": { + "/_settings/{name}": { "get": { "description": "Returns settings for one or more indices.", "externalDocs": { @@ -9871,7 +10938,7 @@ } } }, - "/_template{?flat_settings,local,master_timeout}": { + "/_template": { "get": { "description": "Returns an index template.", "externalDocs": { @@ -9973,7 +11040,7 @@ } } }, - "/{index}/_open{?allow_no_indices,expand_wildcards,ignore_unavailable,master_timeout,timeout,wait_for_active_shards}": { + "/{index}/_open": { "post": { "description": "Opens an index.", "externalDocs": { @@ -10113,288 +11180,7 @@ } } }, - "/_index_template/{name}{?create}": { - "put": { - "description": "Creates or updates an index template.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices.put_index_template#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.put_index_template#name" - }, - { - "$ref": "#/components/parameters/indices.put_index_template#create" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.put_index_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.put_index_template#200" - } - } - }, - "post": { - "description": "Creates or updates an index template.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices.put_index_template#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.put_index_template#name" - }, - { - "$ref": "#/components/parameters/indices.put_index_template#create" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.put_index_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.put_index_template#200" - } - } - } - }, - "/{index}/_mapping{?allow_no_indices,expand_wildcards,ignore_unavailable,master_timeout,timeout,write_index_only}": { - "put": { - "description": "Updates the index mappings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html" - }, - "operationId": "indices.put_mapping#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.put_mapping#index" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#timeout" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#write_index_only" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.put_mapping" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.put_mapping#200" - } - } - }, - "post": { - "description": "Updates the index mappings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html" - }, - "operationId": "indices.put_mapping#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.put_mapping#index" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#timeout" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#write_index_only" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.put_mapping" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.put_mapping#200" - } - } - } - }, - "/_settings{?allow_no_indices,expand_wildcards,flat_settings,ignore_unavailable,master_timeout,preserve_existing,timeout}": { - "put": { - "description": "Updates the index settings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html" - }, - "operationId": "indices.put_settings#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.put_settings#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.put_settings#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.put_settings#flat_settings" - }, - { - "$ref": "#/components/parameters/indices.put_settings#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.put_settings#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.put_settings#preserve_existing" - }, - { - "$ref": "#/components/parameters/indices.put_settings#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.put_settings" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.put_settings#200" - } - } - } - }, - "/{index}/_settings{?allow_no_indices,expand_wildcards,flat_settings,ignore_unavailable,master_timeout,preserve_existing,timeout}": { - "put": { - "description": "Updates the index settings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html" - }, - "operationId": "indices.put_settings#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.put_settings#index" - }, - { - "$ref": "#/components/parameters/indices.put_settings#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.put_settings#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.put_settings#flat_settings" - }, - { - "$ref": "#/components/parameters/indices.put_settings#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.put_settings#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.put_settings#preserve_existing" - }, - { - "$ref": "#/components/parameters/indices.put_settings#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.put_settings" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.put_settings#200" - } - } - } - }, - "/_template/{name}{?create,flat_settings,master_timeout,timeout,order}": { - "put": { - "description": "Creates or updates an index template.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices.put_template#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.put_template#name" - }, - { - "$ref": "#/components/parameters/indices.put_template#create" - }, - { - "$ref": "#/components/parameters/indices.put_template#flat_settings" - }, - { - "$ref": "#/components/parameters/indices.put_template#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.put_template#timeout" - }, - { - "$ref": "#/components/parameters/indices.put_template#order" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.put_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.put_template#200" - } - } - }, - "post": { - "description": "Creates or updates an index template.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices.put_template#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.put_template#name" - }, - { - "$ref": "#/components/parameters/indices.put_template#create" - }, - { - "$ref": "#/components/parameters/indices.put_template#flat_settings" - }, - { - "$ref": "#/components/parameters/indices.put_template#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.put_template#timeout" - }, - { - "$ref": "#/components/parameters/indices.put_template#order" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.put_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.put_template#200" - } - } - } - }, - "/_recovery{?active_only,detailed}": { + "/_recovery": { "get": { "description": "Returns information about ongoing index shard recoveries.", "externalDocs": { @@ -10416,7 +11202,7 @@ } } }, - "/{index}/_recovery{?active_only,detailed}": { + "/{index}/_recovery": { "get": { "description": "Returns information about ongoing index shard recoveries.", "externalDocs": { @@ -10441,7 +11227,7 @@ } } }, - "/_refresh{?allow_no_indices,expand_wildcards,ignore_unavailable}": { + "/_refresh": { "get": { "description": "Performs the refresh operation in one or more indices.", "externalDocs": { @@ -10489,7 +11275,7 @@ } } }, - "/{index}/_refresh{?allow_no_indices,expand_wildcards,ignore_unavailable}": { + "/{index}/_refresh": { "get": { "description": "Performs the refresh operation in one or more indices.", "externalDocs": { @@ -10543,7 +11329,7 @@ } } }, - "/{index}/_reload_search_analyzers{?allow_no_indices,expand_wildcards,ignore_unavailable}": { + "/{index}/_reload_search_analyzers": { "get": { "description": "Reloads an index's search analyzers and their resources.", "externalDocs": { @@ -10597,7 +11383,7 @@ } } }, - "/_resolve/index/{name}{?expand_wildcards}": { + "/_resolve/index/{name}": { "get": { "description": "Returns information about any matching indices, aliases, and data streams", "externalDocs": { @@ -10666,11 +11452,11 @@ } } }, - "/{alias}/_rollover{?dry_run,master_timeout,timeout,wait_for_active_shards}": { + "/{alias}/_rollover": { "post": { "description": "Updates an alias to point to a new index when the existing index\nis considered to be too large or too old.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-rollover-index.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-rollover-index.html" }, "operationId": "indices.rollover#0", "parameters": [ @@ -10700,11 +11486,11 @@ } } }, - "/{alias}/_rollover/{new_index}{?dry_run,master_timeout,timeout,wait_for_active_shards}": { + "/{alias}/_rollover/{new_index}": { "post": { "description": "Updates an alias to point to a new index when the existing index\nis considered to be too large or too old.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-rollover-index.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-rollover-index.html" }, "operationId": "indices.rollover#1", "parameters": [ @@ -10737,7 +11523,7 @@ } } }, - "/_segments{?allow_no_indices,expand_wildcards,ignore_unavailable,verbose}": { + "/_segments": { "get": { "description": "Provides low-level information about segments in a Lucene index.", "externalDocs": { @@ -10765,7 +11551,7 @@ } } }, - "/{index}/_segments{?allow_no_indices,expand_wildcards,ignore_unavailable,verbose}": { + "/{index}/_segments": { "get": { "description": "Provides low-level information about segments in a Lucene index.", "externalDocs": { @@ -10796,7 +11582,7 @@ } } }, - "/_shard_stores{?allow_no_indices,expand_wildcards,ignore_unavailable,status}": { + "/_shard_stores": { "get": { "description": "Provides store information for shard copies of indices.", "externalDocs": { @@ -10824,7 +11610,7 @@ } } }, - "/{index}/_shard_stores{?allow_no_indices,expand_wildcards,ignore_unavailable,status}": { + "/{index}/_shard_stores": { "get": { "description": "Provides store information for shard copies of indices.", "externalDocs": { @@ -10855,11 +11641,11 @@ } } }, - "/{index}/_shrink/{target}{?master_timeout,timeout,wait_for_active_shards}": { + "/{index}/_shrink/{target}": { "put": { "description": "Allow to shrink an existing index into a new index with fewer primary shards.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-shrink-index.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-shrink-index.html" }, "operationId": "indices.shrink#0", "parameters": [ @@ -10891,7 +11677,7 @@ "post": { "description": "Allow to shrink an existing index into a new index with fewer primary shards.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-shrink-index.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-shrink-index.html" }, "operationId": "indices.shrink#1", "parameters": [ @@ -10921,7 +11707,7 @@ } } }, - "/_index_template/_simulate_index/{name}{?create,master_timeout,include_defaults}": { + "/_index_template/_simulate_index/{name}": { "post": { "description": "Simulate matching the given index name against the index templates in the system", "externalDocs": { @@ -11026,7 +11812,7 @@ } } }, - "/_index_template/_simulate{?create,master_timeout,include_defaults}": { + "/_index_template/_simulate": { "post": { "description": "Simulate resolving the given template name or body", "externalDocs": { @@ -11054,7 +11840,7 @@ } } }, - "/_index_template/_simulate/{name}{?create,master_timeout,include_defaults}": { + "/_index_template/_simulate/{name}": { "post": { "description": "Simulate resolving the given template name or body", "externalDocs": { @@ -11085,11 +11871,11 @@ } } }, - "/{index}/_split/{target}{?master_timeout,timeout,wait_for_active_shards}": { + "/{index}/_split/{target}": { "put": { "description": "Allows you to split an existing index into a new index with more primary shards.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-split-index.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-split-index.html" }, "operationId": "indices.split#0", "parameters": [ @@ -11121,7 +11907,7 @@ "post": { "description": "Allows you to split an existing index into a new index with more primary shards.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-split-index.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-split-index.html" }, "operationId": "indices.split#1", "parameters": [ @@ -11151,7 +11937,7 @@ } } }, - "/_stats{?completion_fields,expand_wildcards,fielddata_fields,fields,forbid_closed_indices,groups,include_segment_file_sizes,include_unloaded_segments,level}": { + "/_stats": { "get": { "description": "Provides statistics on operations happening in an index.", "externalDocs": { @@ -11194,7 +11980,7 @@ } } }, - "/_stats/{metric}{?completion_fields,expand_wildcards,fielddata_fields,fields,forbid_closed_indices,groups,include_segment_file_sizes,include_unloaded_segments,level}": { + "/_stats/{metric}": { "get": { "description": "Provides statistics on operations happening in an index.", "externalDocs": { @@ -11240,7 +12026,7 @@ } } }, - "/{index}/_stats{?completion_fields,expand_wildcards,fielddata_fields,fields,forbid_closed_indices,groups,include_segment_file_sizes,include_unloaded_segments,level}": { + "/{index}/_stats": { "get": { "description": "Provides statistics on operations happening in an index.", "externalDocs": { @@ -11286,7 +12072,7 @@ } } }, - "/{index}/_stats/{metric}{?completion_fields,expand_wildcards,fielddata_fields,fields,forbid_closed_indices,groups,include_segment_file_sizes,include_unloaded_segments,level}": { + "/{index}/_stats/{metric}": { "get": { "description": "Provides statistics on operations happening in an index.", "externalDocs": { @@ -11335,7 +12121,7 @@ } } }, - "/{index}/_unfreeze{?allow_no_indices,expand_wildcards,ignore_unavailable,master_timeout,timeout,wait_for_active_shards}": { + "/{index}/_unfreeze": { "post": { "description": "Unfreezes an index. When a frozen index is unfrozen, the index goes through the normal recovery process and becomes writeable again.", "externalDocs": { @@ -11441,7 +12227,7 @@ } } }, - "/_aliases{?master_timeout,timeout}": { + "/_aliases": { "post": { "description": "Updates index aliases.", "externalDocs": { @@ -11503,7 +12289,7 @@ } } }, - "/_validate/query{?allow_no_indices,all_shards,analyzer,analyze_wildcard,default_operator,df,expand_wildcards,explain,ignore_unavailable,lenient,rewrite,q}": { + "/_validate/query": { "get": { "description": "Allows a user to validate a potentially expensive query without executing it.", "externalDocs": { @@ -11611,7 +12397,7 @@ } } }, - "/{index}/_validate/query{?allow_no_indices,all_shards,analyzer,analyze_wildcard,default_operator,df,expand_wildcards,explain,ignore_unavailable,lenient,rewrite,q}": { + "/{index}/_validate/query": { "get": { "description": "Allows a user to validate a potentially expensive query without executing it.", "externalDocs": { @@ -11727,6 +12513,49 @@ }, "/": { "get": { + "description": "Returns basic information about the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html" + }, + "operationId": "info#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "cluster_uuid": { + "$ref": "#/components/schemas/_types:Uuid" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "tagline": { + "type": "string" + }, + "version": { + "$ref": "#/components/schemas/_types:ElasticsearchVersionInfo" + } + }, + "required": [ + "cluster_name", + "cluster_uuid", + "name", + "tagline", + "version" + ] + } + } + } + } + } + }, + "head": { "description": "Returns whether the cluster is running.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html" @@ -11742,8 +12571,129 @@ } } }, - "/_ingest/pipeline/{id}{?master_timeout,timeout}": { + "/_ingest/pipeline/{id}": { + "get": { + "description": "Returns a pipeline.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-pipeline-api.html" + }, + "operationId": "ingest.get_pipeline#1", + "parameters": [ + { + "$ref": "#/components/parameters/ingest.get_pipeline#id" + }, + { + "$ref": "#/components/parameters/ingest.get_pipeline#master_timeout" + }, + { + "$ref": "#/components/parameters/ingest.get_pipeline#summary" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ingest.get_pipeline#200" + } + } + }, "put": { + "description": "Creates or updates a pipeline.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ingest.html" + }, + "operationId": "ingest.put_pipeline#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "ID of the ingest pipeline to create or update.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "if_version", + "description": "Required version for optimistic concurrency control for pipeline updates", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "description": { + "description": "Description of the ingest pipeline.", + "type": "string" + }, + "on_failure": { + "description": "Processors to run immediately after a processor failure. Each processor supports a processor-level `on_failure` value. If a processor without an `on_failure` value fails, Elasticsearch uses this pipeline-level parameter as a fallback. The processors in this parameter run sequentially in the order specified. Elasticsearch will not attempt to run the pipeline's remaining processors.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest._types:ProcessorContainer" + } + }, + "processors": { + "description": "Processors used to perform transformations on documents before indexing. Processors run sequentially in the order specified.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest._types:ProcessorContainer" + } + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + }, + "delete": { "description": "Deletes a pipeline.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html" @@ -11800,7 +12750,7 @@ "get": { "description": "Returns statistical information about geoip databases", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/geoip-processor.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/geoip-processor.html" }, "operationId": "ingest.geo_ip_stats#0", "responses": { @@ -11833,7 +12783,7 @@ } } }, - "/_ingest/pipeline{?master_timeout,summary}": { + "/_ingest/pipeline": { "get": { "description": "Returns a pipeline.", "externalDocs": { @@ -11855,36 +12805,11 @@ } } }, - "/_ingest/pipeline/{id}{?master_timeout,summary}": { - "get": { - "description": "Returns a pipeline.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-pipeline-api.html" - }, - "operationId": "ingest.get_pipeline#1", - "parameters": [ - { - "$ref": "#/components/parameters/ingest.get_pipeline#id" - }, - { - "$ref": "#/components/parameters/ingest.get_pipeline#master_timeout" - }, - { - "$ref": "#/components/parameters/ingest.get_pipeline#summary" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ingest.get_pipeline#200" - } - } - } - }, "/_ingest/processor/grok": { "get": { "description": "Returns a list of the built-in patterns.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/grok-processor.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/grok-processor.html" }, "operationId": "ingest.processor_grok#0", "responses": { @@ -11912,107 +12837,7 @@ } } }, - "/_ingest/pipeline/{id}{?master_timeout,timeout,if_version}": { - "put": { - "description": "Creates or updates a pipeline.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ingest.html" - }, - "operationId": "ingest.put_pipeline#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "ID of the ingest pipeline to create or update.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "if_version", - "description": "Required version for optimistic concurrency control for pipeline updates", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "description": { - "description": "Description of the ingest pipeline.", - "type": "string" - }, - "on_failure": { - "description": "Processors to run immediately after a processor failure. Each processor supports a processor-level `on_failure` value. If a processor without an `on_failure` value fails, Elasticsearch uses this pipeline-level parameter as a fallback. The processors in this parameter run sequentially in the order specified. Elasticsearch will not attempt to run the pipeline's remaining processors.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ingest._types:ProcessorContainer" - } - }, - "processors": { - "description": "Processors used to perform transformations on documents before indexing. Processors run sequentially in the order specified.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ingest._types:ProcessorContainer" - } - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ingest/pipeline/_simulate{?verbose}": { + "/_ingest/pipeline/_simulate": { "get": { "description": "Allows to simulate a pipeline with example documents.", "externalDocs": { @@ -12054,7 +12879,7 @@ } } }, - "/_ingest/pipeline/{id}/_simulate{?verbose}": { + "/_ingest/pipeline/{id}/_simulate": { "get": { "description": "Allows to simulate a pipeline with example documents.", "externalDocs": { @@ -12102,7 +12927,7 @@ } } }, - "/{index}/_knn_search{?routing}": { + "/{index}/_knn_search": { "get": { "description": "Performs a kNN search.", "externalDocs": { @@ -12151,27 +12976,6 @@ } }, "/_license": { - "put": { - "description": "Deletes licensing information for the cluster", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-license.html" - }, - "operationId": "license.delete#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_license{?accept_enterprise,local}": { "get": { "description": "Retrieves licensing information for the cluster", "externalDocs": { @@ -12220,6 +13024,65 @@ } } } + }, + "put": { + "description": "Updates the license for the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/update-license.html" + }, + "operationId": "license.post#0", + "parameters": [ + { + "$ref": "#/components/parameters/license.post#acknowledge" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/license.post" + }, + "responses": { + "200": { + "$ref": "#/components/responses/license.post#200" + } + } + }, + "post": { + "description": "Updates the license for the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/update-license.html" + }, + "operationId": "license.post#1", + "parameters": [ + { + "$ref": "#/components/parameters/license.post#acknowledge" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/license.post" + }, + "responses": { + "200": { + "$ref": "#/components/responses/license.post#200" + } + } + }, + "delete": { + "description": "Deletes licensing information for the cluster", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-license.html" + }, + "operationId": "license.delete#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } } }, "/_license/basic_status": { @@ -12280,49 +13143,7 @@ } } }, - "/_license{?acknowledge}": { - "put": { - "description": "Updates the license for the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/update-license.html" - }, - "operationId": "license.post#0", - "parameters": [ - { - "$ref": "#/components/parameters/license.post#acknowledge" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/license.post" - }, - "responses": { - "200": { - "$ref": "#/components/responses/license.post#200" - } - } - }, - "post": { - "description": "Updates the license for the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/update-license.html" - }, - "operationId": "license.post#1", - "parameters": [ - { - "$ref": "#/components/parameters/license.post#acknowledge" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/license.post" - }, - "responses": { - "200": { - "$ref": "#/components/responses/license.post#200" - } - } - } - }, - "/_license/start_basic{?acknowledge}": { + "/_license/start_basic": { "post": { "description": "Starts an indefinite basic license.", "externalDocs": { @@ -12389,7 +13210,7 @@ } } }, - "/_license/start_trial{?acknowledge,type_query_string}": { + "/_license/start_trial": { "post": { "description": "starts a limited time trial license.", "externalDocs": { @@ -12450,6 +13271,23 @@ } }, "/_logstash/pipeline/{id}": { + "get": { + "description": "Retrieves Logstash Pipelines used by Central Management", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-get-pipeline.html" + }, + "operationId": "logstash.get_pipeline#1", + "parameters": [ + { + "$ref": "#/components/parameters/logstash.get_pipeline#id" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/logstash.get_pipeline#200" + } + } + }, "put": { "description": "Adds and updates Logstash Pipelines used for Central Management", "externalDocs": { @@ -12487,6 +13325,34 @@ } } } + }, + "delete": { + "description": "Deletes Logstash Pipelines used by Central Management", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-delete-pipeline.html" + }, + "operationId": "logstash.delete_pipeline#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the pipeline.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": {} + } + } + } } }, "/_logstash/pipeline": { @@ -12503,7 +13369,7 @@ } } }, - "/_mget{?preference,realtime,refresh,routing,_source,_source_excludes,_source_includes,stored_fields}": { + "/_mget": { "get": { "description": "Allows to get multiple documents in one request.", "externalDocs": { @@ -12587,7 +13453,7 @@ } } }, - "/{index}/_mget{?preference,realtime,refresh,routing,_source,_source_excludes,_source_includes,stored_fields}": { + "/{index}/_mget": { "get": { "description": "Allows to get multiple documents in one request.", "externalDocs": { @@ -12711,6 +13577,40 @@ } }, "/_migration/system_features": { + "get": { + "description": "Find out whether system features need to be upgraded or not", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-feature-upgrade.html" + }, + "operationId": "migration.get_feature_upgrade_status#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "features": { + "type": "array", + "items": { + "$ref": "#/components/schemas/migration.get_feature_upgrade_status:MigrationFeature" + } + }, + "migration_status": { + "$ref": "#/components/schemas/migration.get_feature_upgrade_status:MigrationStatus" + } + }, + "required": [ + "features", + "migration_status" + ] + } + } + } + } + } + }, "post": { "description": "Begin upgrades for system features", "externalDocs": { @@ -12788,11 +13688,11 @@ } } }, - "/_ml/anomaly_detectors/{job_id}/_close{?allow_no_match,force,timeout}": { + "/_ml/anomaly_detectors/{job_id}/_close": { "post": { "description": "Closes one or more anomaly detection jobs. A job can be opened and closed multiple times throughout its lifecycle.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-close-job.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-close-job.html" }, "operationId": "ml.close_job#0", "parameters": [ @@ -12883,6 +13783,32 @@ } }, "/_ml/calendars/{calendar_id}": { + "get": { + "description": "Retrieves configuration information for calendars.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" + }, + "operationId": "ml.get_calendars#2", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_calendars#calendar_id" + }, + { + "$ref": "#/components/parameters/ml.get_calendars#from" + }, + { + "$ref": "#/components/parameters/ml.get_calendars#size" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_calendars" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_calendars#200" + } + } + }, "put": { "description": "Instantiates a calendar.", "externalDocs": { @@ -12952,20 +13878,78 @@ } } } + }, + "post": { + "description": "Retrieves configuration information for calendars.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" + }, + "operationId": "ml.get_calendars#3", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_calendars#calendar_id" + }, + { + "$ref": "#/components/parameters/ml.get_calendars#from" + }, + { + "$ref": "#/components/parameters/ml.get_calendars#size" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_calendars" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_calendars#200" + } + } + }, + "delete": { + "description": "Deletes a calendar.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar.html" + }, + "operationId": "ml.delete_calendar#0", + "parameters": [ + { + "in": "path", + "name": "calendar_id", + "description": "A string that uniquely identifies a calendar.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } } }, "/_ml/calendars/{calendar_id}/events/{event_id}": { - "put": { + "delete": { "description": "Deletes scheduled events from a calendar.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-delete-calendar-event.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar-event.html" }, "operationId": "ml.delete_calendar_event#0", "parameters": [ { "in": "path", "name": "calendar_id", - "description": "The ID of the calendar to modify", + "description": "A string that uniquely identifies a calendar.", "required": true, "deprecated": false, "schema": { @@ -12976,7 +13960,7 @@ { "in": "path", "name": "event_id", - "description": "The ID of the event to remove from the calendar", + "description": "Identifier for the scheduled event.\nYou can obtain this identifier by using the get calendar events API.", "required": true, "deprecated": false, "schema": { @@ -13058,20 +14042,18 @@ } } } - } - }, - "/_ml/data_frame/analytics/{id}{?force,timeout}": { - "put": { - "description": "Deletes an existing data frame analytics job.", + }, + "delete": { + "description": "Deletes anomaly detection jobs from a calendar.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/delete-dfanalytics.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar-job.html" }, - "operationId": "ml.delete_data_frame_analytics#0", + "operationId": "ml.delete_calendar_job#0", "parameters": [ { "in": "path", - "name": "id", - "description": "Identifier for the data frame analytics job.", + "name": "calendar_id", + "description": "A string that uniquely identifies a calendar.", "required": true, "deprecated": false, "schema": { @@ -13079,69 +14061,16 @@ }, "style": "simple" }, - { - "in": "query", - "name": "force", - "description": "If `true`, it deletes a job that is not stopped; this method is quicker than stopping and deleting the job.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "The time to wait for the job to be deleted.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ml/datafeeds/{datafeed_id}{?force}": { - "put": { - "description": "Deletes an existing datafeed.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-delete-datafeed.html" - }, - "operationId": "ml.delete_datafeed#0", - "parameters": [ { "in": "path", - "name": "datafeed_id", - "description": "A numerical character string that uniquely identifies the datafeed. This\nidentifier can contain lowercase alphanumeric characters (a-z and 0-9),\nhyphens, and underscores. It must start and end with alphanumeric\ncharacters.", + "name": "job_id", + "description": "An identifier for the anomaly detection jobs. It can be a job identifier, a group name, or a\ncomma-separated list of jobs or groups.", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Id" + "$ref": "#/components/schemas/_types:Ids" }, "style": "simple" - }, - { - "in": "query", - "name": "force", - "description": "Use to forcefully delete a started datafeed; this method is quicker than\nstopping and deleting the datafeed.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" } ], "responses": { @@ -13150,7 +14079,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + "type": "object", + "properties": { + "calendar_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "description": { + "description": "A description of the calendar.", + "type": "string" + }, + "job_ids": { + "$ref": "#/components/schemas/_types:Ids" + } + }, + "required": [ + "calendar_id", + "job_ids" + ] } } } @@ -13158,71 +14103,47 @@ } } }, - "/_ml/_delete_expired_data/{job_id}{?requests_per_second,timeout}": { - "put": { - "description": "Deletes expired and unused machine learning data.", + "/_ml/data_frame/analytics/{id}": { + "get": { + "description": "Retrieves configuration information for data frame analytics jobs.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-expired-data.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics.html" }, - "operationId": "ml.delete_expired_data#0", + "operationId": "ml.get_data_frame_analytics#0", "parameters": [ { - "$ref": "#/components/parameters/ml.delete_expired_data#job_id" + "$ref": "#/components/parameters/ml.get_data_frame_analytics#id" }, { - "$ref": "#/components/parameters/ml.delete_expired_data#requests_per_second" + "$ref": "#/components/parameters/ml.get_data_frame_analytics#allow_no_match" }, { - "$ref": "#/components/parameters/ml.delete_expired_data#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.delete_expired_data" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.delete_expired_data#200" - } - } - } - }, - "/_ml/_delete_expired_data{?requests_per_second,timeout}": { - "put": { - "description": "Deletes expired and unused machine learning data.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-expired-data.html" - }, - "operationId": "ml.delete_expired_data#1", - "parameters": [ + "$ref": "#/components/parameters/ml.get_data_frame_analytics#from" + }, { - "$ref": "#/components/parameters/ml.delete_expired_data#requests_per_second" + "$ref": "#/components/parameters/ml.get_data_frame_analytics#size" }, { - "$ref": "#/components/parameters/ml.delete_expired_data#timeout" + "$ref": "#/components/parameters/ml.get_data_frame_analytics#exclude_generated" } ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.delete_expired_data" - }, "responses": { "200": { - "$ref": "#/components/responses/ml.delete_expired_data#200" + "$ref": "#/components/responses/ml.get_data_frame_analytics#200" } } - } - }, - "/_ml/filters/{filter_id}": { + }, "put": { - "description": "Instantiates a filter.", + "description": "Instantiates a data frame analytics job.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-filter.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-dfanalytics.html" }, - "operationId": "ml.put_filter#0", + "operationId": "ml.put_data_frame_analytics#0", "parameters": [ { "in": "path", - "name": "filter_id", - "description": "A string that uniquely identifies a filter.", + "name": "id", + "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", "required": true, "deprecated": false, "schema": { @@ -13237,18 +14158,49 @@ "schema": { "type": "object", "properties": { + "allow_lazy_start": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" + }, + "description": "Specifies whether this job can start when there is insufficient machine\nlearning node capacity for it to be immediately assigned to a node. If\nset to `false` and a machine learning node with capacity to run the job\ncannot be immediately found, the API returns an error. If set to `true`,\nthe API does not return an error; the job waits in the `starting` state\nuntil sufficient machine learning node capacity is available. This\nbehavior is also affected by the cluster-wide\n`xpack.ml.max_lazy_ml_nodes` setting.", + "type": "boolean" + }, + "analysis": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" + }, + "analyzed_fields": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" + }, "description": { - "description": "A description of the filter.", + "description": "A description of the job.", "type": "string" }, - "items": { - "description": "The items of the filter. A wildcard `*` can be used at the beginning or the end of an item.\nUp to 10000 items are allowed in each filter.", - "type": "array", - "items": { - "type": "string" - } + "dest": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsDestination" + }, + "max_num_threads": { + "description": "The maximum number of threads to be used by the analysis. Using more\nthreads may decrease the time necessary to complete the analysis at the\ncost of using more CPU. Note that the process may use additional threads\nfor operational functionality other than the analysis itself.", + "type": "number" + }, + "model_memory_limit": { + "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try\nto create data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", + "type": "string" + }, + "source": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" + }, + "headers": { + "$ref": "#/components/schemas/_types:HttpHeaders" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" } - } + }, + "required": [ + "analysis", + "dest", + "source" + ] } } }, @@ -13262,96 +14214,71 @@ "schema": { "type": "object", "properties": { + "authorization": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsAuthorization" + }, + "allow_lazy_start": { + "type": "boolean" + }, + "analysis": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" + }, + "analyzed_fields": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" + }, + "create_time": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, "description": { "type": "string" }, - "filter_id": { + "dest": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsDestination" + }, + "id": { "$ref": "#/components/schemas/_types:Id" }, - "items": { - "type": "array", - "items": { - "type": "string" - } + "max_num_threads": { + "type": "number" + }, + "model_memory_limit": { + "type": "string" + }, + "source": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" } }, "required": [ - "description", - "filter_id", - "items" + "allow_lazy_start", + "analysis", + "create_time", + "dest", + "id", + "max_num_threads", + "model_memory_limit", + "source", + "version" ] } } } } } - } - }, - "/_ml/anomaly_detectors/{job_id}/_forecast{?allow_no_forecasts,timeout}": { - "put": { - "description": "Deletes forecasts from a machine learning job.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html" - }, - "operationId": "ml.delete_forecast#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.delete_forecast#job_id" - }, - { - "$ref": "#/components/parameters/ml.delete_forecast#allow_no_forecasts" - }, - { - "$ref": "#/components/parameters/ml.delete_forecast#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.delete_forecast#200" - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/_forecast/{forecast_id}{?allow_no_forecasts,timeout}": { - "put": { - "description": "Deletes forecasts from a machine learning job.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html" - }, - "operationId": "ml.delete_forecast#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.delete_forecast#job_id" - }, - { - "$ref": "#/components/parameters/ml.delete_forecast#forecast_id" - }, - { - "$ref": "#/components/parameters/ml.delete_forecast#allow_no_forecasts" - }, - { - "$ref": "#/components/parameters/ml.delete_forecast#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.delete_forecast#200" - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}{?force,delete_user_annotations,wait_for_completion}": { - "put": { - "description": "Deletes an existing anomaly detection job.", + }, + "delete": { + "description": "Deletes an existing data frame analytics job.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-dfanalytics.html" }, - "operationId": "ml.delete_job#0", + "operationId": "ml.delete_data_frame_analytics#0", "parameters": [ { "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", + "name": "id", + "description": "Identifier for the data frame analytics job.", "required": true, "deprecated": false, "schema": { @@ -13362,17 +14289,7 @@ { "in": "query", "name": "force", - "description": "Use to forcefully delete an opened job; this method is quicker than\nclosing and deleting the job.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "delete_user_annotations", - "description": "Specifies whether annotations that have been added by the\nuser should be deleted along with any auto-generated annotations when the job is\nreset.", + "description": "If `true`, it deletes a job that is not stopped; this method is quicker than stopping and deleting the job.", "deprecated": false, "schema": { "type": "boolean" @@ -13381,11 +14298,11 @@ }, { "in": "query", - "name": "wait_for_completion", - "description": "Specifies whether the request should return immediately or wait until the\njob deletion completes.", + "name": "timeout", + "description": "The time to wait for the job to be deleted.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" } @@ -13404,63 +14321,41 @@ } } }, - "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}": { - "put": { - "description": "Deletes an existing model snapshot.", + "/_ml/datafeeds/{datafeed_id}": { + "get": { + "description": "Retrieves configuration information for datafeeds.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html" }, - "operationId": "ml.delete_model_snapshot#0", + "operationId": "ml.get_datafeeds#0", "parameters": [ { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" + "$ref": "#/components/parameters/ml.get_datafeeds#datafeed_id" }, { - "in": "path", - "name": "snapshot_id", - "description": "Identifier for the model snapshot.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" + "$ref": "#/components/parameters/ml.get_datafeeds#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_datafeeds#exclude_generated" } ], "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } + "$ref": "#/components/responses/ml.get_datafeeds#200" } } - } - }, - "/_ml/trained_models/{model_id}{?force}": { + }, "put": { - "description": "Deletes an existing trained inference model that is currently not referenced by an ingest pipeline.", + "description": "Instantiates a datafeed.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-trained-models.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html" }, - "operationId": "ml.delete_trained_model#0", + "operationId": "ml.put_datafeed#0", "parameters": [ { "in": "path", - "name": "model_id", - "description": "The unique identifier of the trained model.", + "name": "datafeed_id", + "description": "A numerical character string that uniquely identifies the datafeed.\nThis identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores.\nIt must start and end with alphanumeric characters.", "required": true, "deprecated": false, "schema": { @@ -13470,103 +14365,102 @@ }, { "in": "query", - "name": "force", - "description": "Forcefully deletes a trained model that is referenced by ingest pipelines or has a started deployment.", + "name": "allow_no_indices", + "description": "If true, wildcard indices expressions that resolve into no concrete indices are ignored. This includes the `_all`\nstring or when no indices are specified.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ml/trained_models/{model_id}/model_aliases/{model_alias}": { - "put": { - "description": "Deletes a model alias that refers to the trained model", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-trained-models-aliases.html" - }, - "operationId": "ml.delete_trained_model_alias#0", - "parameters": [ + }, { - "in": "path", - "name": "model_id", - "description": "The trained model ID to which the model alias refers.", - "required": true, + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match. If the request can target data streams, this argument determines\nwhether wildcard expressions match hidden data streams. Supports comma-separated values.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Id" + "$ref": "#/components/schemas/_types:ExpandWildcards" }, - "style": "simple" + "style": "form" }, { - "in": "path", - "name": "model_alias", - "description": "The model alias to delete.", - "required": true, + "in": "query", + "name": "ignore_throttled", + "description": "If true, concrete, expanded, or aliased indices are ignored when frozen.", + "deprecated": true, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If true, unavailable indices (missing or closed) are ignored.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Name" + "type": "boolean" }, - "style": "simple" + "style": "form" } ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ml/anomaly_detectors/_estimate_model_memory": { - "post": { - "description": "Estimates the model memory", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-apis.html" - }, - "operationId": "ml.estimate_model_memory#0", "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { - "analysis_config": { - "$ref": "#/components/schemas/ml._types:AnalysisConfig" - }, - "max_bucket_cardinality": { - "description": "Estimates of the highest cardinality in a single bucket that is observed\nfor influencer fields over the time period that the job analyzes data.\nTo produce a good answer, values must be provided for all influencer\nfields. Providing values for fields that are not listed as `influencers`\nhas no effect on the estimation.", + "aggregations": { + "description": "If set, the datafeed performs aggregation searches.\nSupport for aggregations is limited and should be used only with low cardinality data.", "type": "object", "additionalProperties": { - "type": "number" + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" } }, - "overall_cardinality": { - "description": "Estimates of the cardinality that is observed for fields over the whole\ntime period that the job analyzes data. To produce a good answer, values\nmust be provided for fields referenced in the `by_field_name`,\n`over_field_name` and `partition_field_name` of any detectors. Providing\nvalues for other fields has no effect on the estimation. It can be\nomitted from the request if no detectors have a `by_field_name`,\n`over_field_name` or `partition_field_name`.", + "chunking_config": { + "$ref": "#/components/schemas/ml._types:ChunkingConfig" + }, + "delayed_data_check_config": { + "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "indices_options": { + "$ref": "#/components/schemas/_types:IndicesOptions" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max_empty_searches": { + "description": "If a real-time datafeed has never seen any data (including during any initial training period), it automatically\nstops and closes the associated job after this many real-time searches return no documents. In other words,\nit stops after `frequency` times `max_empty_searches` of real-time operation. If not set, a datafeed with no\nend time that sees no data remains started until it is explicitly stopped. By default, it is not set.", + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "query_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "script_fields": { + "description": "Specifies scripts that evaluate custom expressions and returns script fields to the datafeed.\nThe detector configuration objects in a job can contain functions that use these script fields.", "type": "object", "additionalProperties": { - "type": "number" + "$ref": "#/components/schemas/_types:ScriptField" } + }, + "scroll_size": { + "description": "The size parameter that is used in Elasticsearch searches when the datafeed does not use aggregations.\nThe maximum value is the value of `index.max_result_window`, which is 10,000 by default.", + "type": "number" + }, + "headers": { + "$ref": "#/components/schemas/_types:HttpHeaders" } } } @@ -13582,70 +14476,112 @@ "schema": { "type": "object", "properties": { - "model_memory_estimate": { - "type": "string" + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "authorization": { + "$ref": "#/components/schemas/ml._types:DatafeedAuthorization" + }, + "chunking_config": { + "$ref": "#/components/schemas/ml._types:ChunkingConfig" + }, + "delayed_data_check_config": { + "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" + }, + "datafeed_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "indices": { + "type": "array", + "items": { + "type": "string" + } + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "indices_options": { + "$ref": "#/components/schemas/_types:IndicesOptions" + }, + "max_empty_searches": { + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "query_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "script_fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "scroll_size": { + "type": "number" } }, "required": [ - "model_memory_estimate" + "chunking_config", + "datafeed_id", + "indices", + "job_id", + "query", + "query_delay", + "scroll_size" ] } } } } } - } - }, - "/_ml/data_frame/_evaluate": { - "post": { - "description": "Evaluates the data frame analytics for an annotated index.", + }, + "delete": { + "description": "Deletes an existing datafeed.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/evaluate-dfanalytics.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-datafeed.html" }, - "operationId": "ml.evaluate_data_frame#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "evaluation": { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationContainer" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - }, - "required": [ - "evaluation", - "index" - ] - } - } + "operationId": "ml.delete_datafeed#0", + "parameters": [ + { + "in": "path", + "name": "datafeed_id", + "description": "A numerical character string that uniquely identifies the datafeed. This\nidentifier can contain lowercase alphanumeric characters (a-z and 0-9),\nhyphens, and underscores. It must start and end with alphanumeric\ncharacters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" }, - "required": true - }, + { + "in": "query", + "name": "force", + "description": "Use to forcefully delete a started datafeed; this method is quicker than\nstopping and deleting the datafeed.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "classification": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummary" - }, - "outlier_detection": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeOutlierDetectionSummary" - }, - "regression": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeRegressionSummary" - } - } + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" } } } @@ -13653,148 +14589,100 @@ } } }, - "/_ml/data_frame/analytics/_explain": { - "get": { - "description": "Explains a data frame analytics config.", + "/_ml/_delete_expired_data/{job_id}": { + "delete": { + "description": "Deletes expired and unused machine learning data.", "externalDocs": { - "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" - }, - "operationId": "ml.explain_data_frame_analytics#0", - "requestBody": { - "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-expired-data.html" }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" + "operationId": "ml.delete_expired_data#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.delete_expired_data#job_id" + }, + { + "$ref": "#/components/parameters/ml.delete_expired_data#requests_per_second" + }, + { + "$ref": "#/components/parameters/ml.delete_expired_data#timeout" } - } - }, - "post": { - "description": "Explains a data frame analytics config.", - "externalDocs": { - "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" - }, - "operationId": "ml.explain_data_frame_analytics#1", + ], "requestBody": { - "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" + "$ref": "#/components/requestBodies/ml.delete_expired_data" }, "responses": { "200": { - "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" + "$ref": "#/components/responses/ml.delete_expired_data#200" } } } }, - "/_ml/data_frame/analytics/{id}/_explain": { - "get": { - "description": "Explains a data frame analytics config.", + "/_ml/_delete_expired_data": { + "delete": { + "description": "Deletes expired and unused machine learning data.", "externalDocs": { - "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-expired-data.html" }, - "operationId": "ml.explain_data_frame_analytics#2", + "operationId": "ml.delete_expired_data#1", "parameters": [ { - "$ref": "#/components/parameters/ml.explain_data_frame_analytics#id" + "$ref": "#/components/parameters/ml.delete_expired_data#requests_per_second" + }, + { + "$ref": "#/components/parameters/ml.delete_expired_data#timeout" } ], "requestBody": { - "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" + "$ref": "#/components/requestBodies/ml.delete_expired_data" }, "responses": { "200": { - "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" + "$ref": "#/components/responses/ml.delete_expired_data#200" } } - }, - "post": { - "description": "Explains a data frame analytics config.", + } + }, + "/_ml/filters/{filter_id}": { + "get": { + "description": "Retrieves filters.", "externalDocs": { - "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-filter.html" }, - "operationId": "ml.explain_data_frame_analytics#3", + "operationId": "ml.get_filters#1", "parameters": [ { - "$ref": "#/components/parameters/ml.explain_data_frame_analytics#id" + "$ref": "#/components/parameters/ml.get_filters#filter_id" + }, + { + "$ref": "#/components/parameters/ml.get_filters#from" + }, + { + "$ref": "#/components/parameters/ml.get_filters#size" } ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" - }, "responses": { "200": { - "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" + "$ref": "#/components/responses/ml.get_filters#200" } } - } - }, - "/_ml/anomaly_detectors/{job_id}/_flush{?advance_time,calc_interim,end,skip_time,start}": { - "post": { - "description": "Forces any buffered data to be processed by the job.", + }, + "put": { + "description": "Instantiates a filter.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-filter.html" }, - "operationId": "ml.flush_job#0", + "operationId": "ml.put_filter#0", "parameters": [ { "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", + "name": "filter_id", + "description": "A string that uniquely identifies a filter.", "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" }, "style": "simple" - }, - { - "in": "query", - "name": "advance_time", - "description": "Specifies to advance to a particular time value. Results are generated\nand the model is updated for data from the specified time interval.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - { - "in": "query", - "name": "calc_interim", - "description": "If true, calculates the interim results for the most recent bucket or all\nbuckets within the latency period.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "end", - "description": "When used in conjunction with `calc_interim` and `start`, specifies the\nrange of buckets on which to calculate interim results.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - { - "in": "query", - "name": "skip_time", - "description": "Specifies to skip to a particular time value. Results are not generated\nand the model is not updated for data from the specified time interval.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - { - "in": "query", - "name": "start", - "description": "When used in conjunction with `calc_interim`, specifies the range of\nbuckets on which to calculate interim results.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" } ], "requestBody": { @@ -13803,26 +14691,22 @@ "schema": { "type": "object", "properties": { - "advance_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "calc_interim": { - "description": "Refer to the description for the `calc_interim` query parameter.", - "type": "boolean" - }, - "end": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "skip_time": { - "$ref": "#/components/schemas/_types:DateTime" + "description": { + "description": "A description of the filter.", + "type": "string" }, - "start": { - "$ref": "#/components/schemas/_types:DateTime" + "items": { + "description": "The items of the filter. A wildcard `*` can be used at the beginning or the end of an item.\nUp to 10000 items are allowed in each filter.", + "type": "array", + "items": { + "type": "string" + } } } } } - } + }, + "required": true }, "responses": { "200": { @@ -13832,25 +14716,64 @@ "schema": { "type": "object", "properties": { - "flushed": { - "type": "boolean" + "description": { + "type": "string" }, - "last_finalized_bucket_end": { - "description": "Provides the timestamp (in milliseconds since the epoch) of the end of\nthe last bucket that was processed.", - "type": "number" + "filter_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "items": { + "type": "array", + "items": { + "type": "string" + } } }, "required": [ - "flushed" + "description", + "filter_id", + "items" ] } } } } } + }, + "delete": { + "description": "Deletes a filter.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-filter.html" + }, + "operationId": "ml.delete_filter#0", + "parameters": [ + { + "in": "path", + "name": "filter_id", + "description": "A string that uniquely identifies a filter.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } } }, - "/_ml/anomaly_detectors/{job_id}/_forecast{?duration,expires_in,max_model_memory}": { + "/_ml/anomaly_detectors/{job_id}/_forecast": { "post": { "description": "Predicts the future behavior of a time series by using its historical behavior.", "externalDocs": { @@ -13945,218 +14868,275 @@ } } } - } - }, - "/_ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}{?anomaly_score,desc,end,exclude_interim,expand,from,size,sort,start}": { - "get": { - "description": "Retrieves anomaly detection job results for one or more buckets.", + }, + "delete": { + "description": "Deletes forecasts from a machine learning job.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html" }, - "operationId": "ml.get_buckets#0", + "operationId": "ml.delete_forecast#0", "parameters": [ { - "$ref": "#/components/parameters/ml.get_buckets#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#timestamp" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#desc" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#end" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#expand" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#from" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#size" + "$ref": "#/components/parameters/ml.delete_forecast#job_id" }, { - "$ref": "#/components/parameters/ml.get_buckets#sort" + "$ref": "#/components/parameters/ml.delete_forecast#allow_no_forecasts" }, { - "$ref": "#/components/parameters/ml.get_buckets#start" + "$ref": "#/components/parameters/ml.delete_forecast#timeout" } ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_buckets" - }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_buckets#200" + "$ref": "#/components/responses/ml.delete_forecast#200" } } - }, - "post": { - "description": "Retrieves anomaly detection job results for one or more buckets.", + } + }, + "/_ml/anomaly_detectors/{job_id}/_forecast/{forecast_id}": { + "delete": { + "description": "Deletes forecasts from a machine learning job.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html" }, - "operationId": "ml.get_buckets#1", + "operationId": "ml.delete_forecast#1", "parameters": [ { - "$ref": "#/components/parameters/ml.get_buckets#job_id" + "$ref": "#/components/parameters/ml.delete_forecast#job_id" }, { - "$ref": "#/components/parameters/ml.get_buckets#timestamp" + "$ref": "#/components/parameters/ml.delete_forecast#forecast_id" }, { - "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#desc" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#end" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#expand" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#from" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#size" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#sort" + "$ref": "#/components/parameters/ml.delete_forecast#allow_no_forecasts" }, { - "$ref": "#/components/parameters/ml.get_buckets#start" + "$ref": "#/components/parameters/ml.delete_forecast#timeout" } ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_buckets" - }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_buckets#200" + "$ref": "#/components/responses/ml.delete_forecast#200" } } } }, - "/_ml/anomaly_detectors/{job_id}/results/buckets{?anomaly_score,desc,end,exclude_interim,expand,from,size,sort,start}": { + "/_ml/anomaly_detectors/{job_id}": { "get": { - "description": "Retrieves anomaly detection job results for one or more buckets.", + "description": "Retrieves configuration information for anomaly detection jobs.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html" }, - "operationId": "ml.get_buckets#2", + "operationId": "ml.get_jobs#0", "parameters": [ { - "$ref": "#/components/parameters/ml.get_buckets#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#desc" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#end" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#expand" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#from" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#size" + "$ref": "#/components/parameters/ml.get_jobs#job_id" }, { - "$ref": "#/components/parameters/ml.get_buckets#sort" + "$ref": "#/components/parameters/ml.get_jobs#allow_no_match" }, { - "$ref": "#/components/parameters/ml.get_buckets#start" + "$ref": "#/components/parameters/ml.get_jobs#exclude_generated" } ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_buckets" - }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_buckets#200" + "$ref": "#/components/responses/ml.get_jobs#200" } } }, - "post": { - "description": "Retrieves anomaly detection job results for one or more buckets.", + "put": { + "description": "Instantiates an anomaly detection job.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html" }, - "operationId": "ml.get_buckets#3", + "operationId": "ml.put_job#0", "parameters": [ { - "$ref": "#/components/parameters/ml.get_buckets#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#desc" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#end" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#expand" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#from" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#size" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#sort" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#start" + "in": "path", + "name": "job_id", + "description": "The identifier for the anomaly detection job. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" } ], "requestBody": { - "$ref": "#/components/requestBodies/ml.get_buckets" + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_lazy_open": { + "description": "Advanced configuration option. Specifies whether this job can open when there is insufficient machine learning node capacity for it to be immediately assigned to a node. By default, if a machine learning node with capacity to run the job cannot immediately be found, the open anomaly detection jobs API returns an error. However, this is also subject to the cluster-wide `xpack.ml.max_lazy_ml_nodes` setting. If this option is set to true, the open anomaly detection jobs API does not return an error and the job waits in the opening state until sufficient machine learning node capacity is available.", + "type": "boolean" + }, + "analysis_config": { + "$ref": "#/components/schemas/ml._types:AnalysisConfig" + }, + "analysis_limits": { + "$ref": "#/components/schemas/ml._types:AnalysisLimits" + }, + "background_persist_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "custom_settings": { + "$ref": "#/components/schemas/ml._types:CustomSettings" + }, + "daily_model_snapshot_retention_after_days": { + "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job. It specifies a period of time (in days) after which only the first snapshot per day is retained. This period is relative to the timestamp of the most recent snapshot for this job. Valid values range from 0 to `model_snapshot_retention_days`.", + "type": "number" + }, + "data_description": { + "$ref": "#/components/schemas/ml._types:DataDescription" + }, + "datafeed_config": { + "$ref": "#/components/schemas/ml._types:DatafeedConfig" + }, + "description": { + "description": "A description of the job.", + "type": "string" + }, + "groups": { + "description": "A list of job groups. A job can belong to no groups or many.", + "type": "array", + "items": { + "type": "string" + } + }, + "model_plot_config": { + "$ref": "#/components/schemas/ml._types:ModelPlotConfig" + }, + "model_snapshot_retention_days": { + "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job. It specifies the maximum period of time (in days) that snapshots are retained. This period is relative to the timestamp of the most recent snapshot for this job. By default, snapshots ten days older than the newest snapshot are deleted.", + "type": "number" + }, + "renormalization_window_days": { + "description": "Advanced configuration option. The period over which adjustments to the score are applied, as new data is seen. The default value is the longer of 30 days or 100 bucket spans.", + "type": "number" + }, + "results_index_name": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "results_retention_days": { + "description": "Advanced configuration option. The period of time (in days) that results are retained. Age is calculated relative to the timestamp of the latest bucket result. If this property has a non-null value, once per day at 00:30 (server time), results that are the specified number of days older than the latest bucket result are deleted from Elasticsearch. The default value is null, which means all results are retained. Annotations generated by the system also count as results for retention purposes; they are deleted after the same number of days as results. Annotations added by users are retained forever.", + "type": "number" + } + }, + "required": [ + "analysis_config", + "data_description" + ] + } + } + }, + "required": true }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_buckets#200" + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_lazy_open": { + "type": "boolean" + }, + "analysis_config": { + "$ref": "#/components/schemas/ml._types:AnalysisConfigRead" + }, + "analysis_limits": { + "$ref": "#/components/schemas/ml._types:AnalysisLimits" + }, + "background_persist_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "create_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "custom_settings": { + "$ref": "#/components/schemas/ml._types:CustomSettings" + }, + "daily_model_snapshot_retention_after_days": { + "type": "number" + }, + "data_description": { + "$ref": "#/components/schemas/ml._types:DataDescription" + }, + "datafeed_config": { + "$ref": "#/components/schemas/ml._types:Datafeed" + }, + "description": { + "type": "string" + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "job_type": { + "type": "string" + }, + "job_version": { + "type": "string" + }, + "model_plot_config": { + "$ref": "#/components/schemas/ml._types:ModelPlotConfig" + }, + "model_snapshot_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "model_snapshot_retention_days": { + "type": "number" + }, + "renormalization_window_days": { + "type": "number" + }, + "results_index_name": { + "type": "string" + }, + "results_retention_days": { + "type": "number" + } + }, + "required": [ + "allow_lazy_open", + "analysis_config", + "analysis_limits", + "create_time", + "daily_model_snapshot_retention_after_days", + "data_description", + "job_id", + "job_type", + "job_version", + "model_snapshot_retention_days", + "results_index_name" + ] + } + } + } } } - } - }, - "/_ml/calendars/{calendar_id}/events{?end,from,job_id,size,start}": { - "get": { - "description": "Retrieves information about the scheduled events in calendars.", + }, + "delete": { + "description": "Deletes an existing anomaly detection job.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar-event.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html" }, - "operationId": "ml.get_calendar_events#0", + "operationId": "ml.delete_job#0", "parameters": [ { "in": "path", - "name": "calendar_id", - "description": "A string that uniquely identifies a calendar. You can get information for multiple calendars by using a comma-separated list of ids or a wildcard expression. You can get information for all calendars by using `_all` or `*` or by omitting the calendar identifier.", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", "required": true, "deprecated": false, "schema": { @@ -14166,51 +15146,31 @@ }, { "in": "query", - "name": "end", - "description": "Specifies to get events with timestamps earlier than this time.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - { - "in": "query", - "name": "from", - "description": "Skips the specified number of events.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "job_id", - "description": "Specifies to get events for a specific anomaly detection job identifier or job group. It must be used with a calendar identifier of `_all` or `*`.", + "name": "force", + "description": "Use to forcefully delete an opened job; this method is quicker than\nclosing and deleting the job.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Id" + "type": "boolean" }, "style": "form" }, { "in": "query", - "name": "size", - "description": "Specifies the maximum number of events to obtain.", + "name": "delete_user_annotations", + "description": "Specifies whether annotations that have been added by the\nuser should be deleted along with any auto-generated annotations when the job is\nreset.", "deprecated": false, "schema": { - "type": "number" + "type": "boolean" }, "style": "form" }, { "in": "query", - "name": "start", - "description": "Specifies to get events with timestamps after this time.", + "name": "wait_for_completion", + "description": "Specifies whether the request should return immediately or wait until the\njob deletion completes.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:DateTime" + "type": "boolean" }, "style": "form" } @@ -14221,22 +15181,7 @@ "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "events": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:CalendarEvent" - } - } - }, - "required": [ - "count", - "events" - ] + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" } } } @@ -14244,730 +15189,924 @@ } } }, - "/_ml/calendars{?from,size}": { + "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}": { "get": { - "description": "Retrieves configuration information for calendars.", + "description": "Retrieves information about model snapshots.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" }, - "operationId": "ml.get_calendars#0", + "operationId": "ml.get_model_snapshots#0", "parameters": [ { - "$ref": "#/components/parameters/ml.get_calendars#from" + "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" }, { - "$ref": "#/components/parameters/ml.get_calendars#size" + "$ref": "#/components/parameters/ml.get_model_snapshots#snapshot_id" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#desc" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#end" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#from" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#size" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#sort" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#start" } ], "requestBody": { - "$ref": "#/components/requestBodies/ml.get_calendars" + "$ref": "#/components/requestBodies/ml.get_model_snapshots" }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_calendars#200" + "$ref": "#/components/responses/ml.get_model_snapshots#200" } } }, "post": { - "description": "Retrieves configuration information for calendars.", + "description": "Retrieves information about model snapshots.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" }, - "operationId": "ml.get_calendars#1", + "operationId": "ml.get_model_snapshots#1", "parameters": [ { - "$ref": "#/components/parameters/ml.get_calendars#from" + "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" }, { - "$ref": "#/components/parameters/ml.get_calendars#size" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_calendars" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_calendars#200" - } - } - } - }, - "/_ml/calendars/{calendar_id}{?from,size}": { - "get": { - "description": "Retrieves configuration information for calendars.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" - }, - "operationId": "ml.get_calendars#2", - "parameters": [ + "$ref": "#/components/parameters/ml.get_model_snapshots#snapshot_id" + }, { - "$ref": "#/components/parameters/ml.get_calendars#calendar_id" + "$ref": "#/components/parameters/ml.get_model_snapshots#desc" }, { - "$ref": "#/components/parameters/ml.get_calendars#from" + "$ref": "#/components/parameters/ml.get_model_snapshots#end" }, { - "$ref": "#/components/parameters/ml.get_calendars#size" + "$ref": "#/components/parameters/ml.get_model_snapshots#from" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#size" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#sort" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#start" } ], "requestBody": { - "$ref": "#/components/requestBodies/ml.get_calendars" + "$ref": "#/components/requestBodies/ml.get_model_snapshots" }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_calendars#200" + "$ref": "#/components/responses/ml.get_model_snapshots#200" } } }, - "post": { - "description": "Retrieves configuration information for calendars.", + "delete": { + "description": "Deletes an existing model snapshot.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html" }, - "operationId": "ml.get_calendars#3", + "operationId": "ml.delete_model_snapshot#0", "parameters": [ { - "$ref": "#/components/parameters/ml.get_calendars#calendar_id" - }, - { - "$ref": "#/components/parameters/ml.get_calendars#from" + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" }, { - "$ref": "#/components/parameters/ml.get_calendars#size" + "in": "path", + "name": "snapshot_id", + "description": "Identifier for the model snapshot.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" } ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_calendars" - }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_calendars#200" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } } } } }, - "/_ml/anomaly_detectors/{job_id}/results/categories/{category_id}{?from,partition_field_value,size}": { + "/_ml/trained_models/{model_id}": { "get": { - "description": "Retrieves anomaly detection job results for one or more categories.", + "description": "Retrieves configuration information for a trained inference model.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models.html" }, - "operationId": "ml.get_categories#0", + "operationId": "ml.get_trained_models#0", "parameters": [ { - "$ref": "#/components/parameters/ml.get_categories#job_id" + "$ref": "#/components/parameters/ml.get_trained_models#model_id" }, { - "$ref": "#/components/parameters/ml.get_categories#category_id" + "$ref": "#/components/parameters/ml.get_trained_models#allow_no_match" }, { - "$ref": "#/components/parameters/ml.get_categories#from" + "$ref": "#/components/parameters/ml.get_trained_models#decompress_definition" }, { - "$ref": "#/components/parameters/ml.get_categories#partition_field_value" + "$ref": "#/components/parameters/ml.get_trained_models#exclude_generated" }, { - "$ref": "#/components/parameters/ml.get_categories#size" + "$ref": "#/components/parameters/ml.get_trained_models#from" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#include" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#size" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#tags" } ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_categories" - }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_categories#200" + "$ref": "#/components/responses/ml.get_trained_models#200" } } }, - "post": { - "description": "Retrieves anomaly detection job results for one or more categories.", + "put": { + "description": "Creates an inference trained model.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-models.html" }, - "operationId": "ml.get_categories#1", + "operationId": "ml.put_trained_model#0", "parameters": [ { - "$ref": "#/components/parameters/ml.get_categories#job_id" + "in": "path", + "name": "model_id", + "description": "The unique identifier of the trained model.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" }, { - "$ref": "#/components/parameters/ml.get_categories#category_id" - }, - { - "$ref": "#/components/parameters/ml.get_categories#from" - }, - { - "$ref": "#/components/parameters/ml.get_categories#partition_field_value" - }, - { - "$ref": "#/components/parameters/ml.get_categories#size" + "in": "query", + "name": "defer_definition_decompression", + "description": "If set to `true` and a `compressed_definition` is provided, the request defers definition decompression and skips relevant validations.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" } ], "requestBody": { - "$ref": "#/components/requestBodies/ml.get_categories" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_categories#200" - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/results/categories{?from,partition_field_value,size}": { - "get": { - "description": "Retrieves anomaly detection job results for one or more categories.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" - }, - "operationId": "ml.get_categories#2", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_categories#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_categories#from" - }, - { - "$ref": "#/components/parameters/ml.get_categories#partition_field_value" + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "compressed_definition": { + "description": "The compressed (GZipped and Base64 encoded) inference definition of the\nmodel. If compressed_definition is specified, then definition cannot be\nspecified.", + "type": "string" + }, + "definition": { + "$ref": "#/components/schemas/ml.put_trained_model:Definition" + }, + "description": { + "description": "A human-readable description of the inference trained model.", + "type": "string" + }, + "inference_config": { + "$ref": "#/components/schemas/ml._types:InferenceConfigCreateContainer" + }, + "input": { + "$ref": "#/components/schemas/ml.put_trained_model:Input" + }, + "metadata": { + "description": "An object map that contains metadata about the model.", + "type": "object" + }, + "model_type": { + "$ref": "#/components/schemas/ml._types:TrainedModelType" + }, + "model_size_bytes": { + "description": "The estimated memory usage in bytes to keep the trained model in memory.\nThis property is supported only if defer_definition_decompression is true\nor the model definition is not supplied.", + "type": "number" + }, + "tags": { + "description": "An array of tags to organize the model.", + "type": "array", + "items": { + "type": "string" + } + } + } + } + } }, - { - "$ref": "#/components/parameters/ml.get_categories#size" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_categories" + "required": true }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_categories#200" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ml._types:TrainedModelConfig" + } + } + } } } }, - "post": { - "description": "Retrieves anomaly detection job results for one or more categories.", + "delete": { + "description": "Deletes an existing trained inference model that is currently not referenced by an ingest pipeline.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-trained-models.html" }, - "operationId": "ml.get_categories#3", + "operationId": "ml.delete_trained_model#0", "parameters": [ { - "$ref": "#/components/parameters/ml.get_categories#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_categories#from" - }, - { - "$ref": "#/components/parameters/ml.get_categories#partition_field_value" + "in": "path", + "name": "model_id", + "description": "The unique identifier of the trained model.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" }, { - "$ref": "#/components/parameters/ml.get_categories#size" + "in": "query", + "name": "force", + "description": "Forcefully deletes a trained model that is referenced by ingest pipelines or has a started deployment.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" } ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_categories" - }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_categories#200" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } } } } }, - "/_ml/data_frame/analytics/{id}{?allow_no_match,from,size,exclude_generated}": { - "get": { - "description": "Retrieves configuration information for data frame analytics jobs.", + "/_ml/trained_models/{model_id}/model_aliases/{model_alias}": { + "put": { + "description": "Creates a new model alias (or reassigns an existing one) to refer to the trained model", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-models-aliases.html" }, - "operationId": "ml.get_data_frame_analytics#0", + "operationId": "ml.put_trained_model_alias#0", "parameters": [ { - "$ref": "#/components/parameters/ml.get_data_frame_analytics#id" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics#from" + "in": "path", + "name": "model_id", + "description": "The identifier for the trained model that the alias refers to.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" }, { - "$ref": "#/components/parameters/ml.get_data_frame_analytics#size" + "in": "path", + "name": "model_alias", + "description": "The alias to create or update. This value cannot end in numbers.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" }, { - "$ref": "#/components/parameters/ml.get_data_frame_analytics#exclude_generated" + "in": "query", + "name": "reassign", + "description": "Specifies whether the alias gets reassigned to the specified trained\nmodel if it is already assigned to a different model. If the alias is\nalready assigned and this parameter is false, the API returns an error.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" } ], "responses": { "200": { - "$ref": "#/components/responses/ml.get_data_frame_analytics#200" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } } } - } - }, - "/_ml/data_frame/analytics{?allow_no_match,from,size,exclude_generated}": { - "get": { - "description": "Retrieves configuration information for data frame analytics jobs.", + }, + "delete": { + "description": "Deletes a model alias that refers to the trained model", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-trained-models-aliases.html" }, - "operationId": "ml.get_data_frame_analytics#1", + "operationId": "ml.delete_trained_model_alias#0", "parameters": [ { - "$ref": "#/components/parameters/ml.get_data_frame_analytics#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics#from" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics#size" + "in": "path", + "name": "model_id", + "description": "The trained model ID to which the model alias refers.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" }, { - "$ref": "#/components/parameters/ml.get_data_frame_analytics#exclude_generated" + "in": "path", + "name": "model_alias", + "description": "The model alias to delete.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" } ], "responses": { "200": { - "$ref": "#/components/responses/ml.get_data_frame_analytics#200" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } } } } }, - "/_ml/data_frame/analytics/_stats{?allow_no_match,from,size,verbose}": { - "get": { - "description": "Retrieves usage information for data frame analytics jobs.", + "/_ml/anomaly_detectors/_estimate_model_memory": { + "post": { + "description": "Estimates the model memory", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics-stats.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-apis.html" }, - "operationId": "ml.get_data_frame_analytics_stats#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#from" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#size" + "operationId": "ml.estimate_model_memory#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "analysis_config": { + "$ref": "#/components/schemas/ml._types:AnalysisConfig" + }, + "max_bucket_cardinality": { + "description": "Estimates of the highest cardinality in a single bucket that is observed\nfor influencer fields over the time period that the job analyzes data.\nTo produce a good answer, values must be provided for all influencer\nfields. Providing values for fields that are not listed as `influencers`\nhas no effect on the estimation.", + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "overall_cardinality": { + "description": "Estimates of the cardinality that is observed for fields over the whole\ntime period that the job analyzes data. To produce a good answer, values\nmust be provided for fields referenced in the `by_field_name`,\n`over_field_name` and `partition_field_name` of any detectors. Providing\nvalues for other fields has no effect on the estimation. It can be\nomitted from the request if no detectors have a `by_field_name`,\n`over_field_name` or `partition_field_name`.", + "type": "object", + "additionalProperties": { + "type": "number" + } + } + } + } + } }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#verbose" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_data_frame_analytics_stats#200" - } - } - } - }, - "/_ml/data_frame/analytics/{id}/_stats{?allow_no_match,from,size,verbose}": { - "get": { - "description": "Retrieves usage information for data frame analytics jobs.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics-stats.html" + "required": true }, - "operationId": "ml.get_data_frame_analytics_stats#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#id" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#from" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#size" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#verbose" - } - ], "responses": { "200": { - "$ref": "#/components/responses/ml.get_data_frame_analytics_stats#200" + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "model_memory_estimate": { + "type": "string" + } + }, + "required": [ + "model_memory_estimate" + ] + } + } + } } } } }, - "/_ml/datafeeds/{datafeed_id}/_stats{?allow_no_match}": { - "get": { - "description": "Retrieves usage information for datafeeds.", + "/_ml/data_frame/_evaluate": { + "post": { + "description": "Evaluates the data frame analytics for an annotated index.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/evaluate-dfanalytics.html" }, - "operationId": "ml.get_datafeed_stats#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_datafeed_stats#datafeed_id" + "operationId": "ml.evaluate_data_frame#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "evaluation": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationContainer" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "required": [ + "evaluation", + "index" + ] + } + } }, - { - "$ref": "#/components/parameters/ml.get_datafeed_stats#allow_no_match" - } - ], + "required": true + }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_datafeed_stats#200" + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "classification": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummary" + }, + "outlier_detection": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeOutlierDetectionSummary" + }, + "regression": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeRegressionSummary" + } + } + } + } + } } } } }, - "/_ml/datafeeds/_stats{?allow_no_match}": { + "/_ml/data_frame/analytics/_explain": { "get": { - "description": "Retrieves usage information for datafeeds.", + "description": "Explains a data frame analytics config.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html" + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" + }, + "operationId": "ml.explain_data_frame_analytics#0", + "requestBody": { + "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" }, - "operationId": "ml.get_datafeed_stats#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_datafeed_stats#allow_no_match" - } - ], "responses": { "200": { - "$ref": "#/components/responses/ml.get_datafeed_stats#200" + "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" } } - } - }, - "/_ml/datafeeds/{datafeed_id}{?allow_no_match,exclude_generated}": { - "get": { - "description": "Retrieves configuration information for datafeeds.", + }, + "post": { + "description": "Explains a data frame analytics config.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html" + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" + }, + "operationId": "ml.explain_data_frame_analytics#1", + "requestBody": { + "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" }, - "operationId": "ml.get_datafeeds#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_datafeeds#datafeed_id" - }, - { - "$ref": "#/components/parameters/ml.get_datafeeds#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_datafeeds#exclude_generated" - } - ], "responses": { "200": { - "$ref": "#/components/responses/ml.get_datafeeds#200" + "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" } } } }, - "/_ml/datafeeds{?allow_no_match,exclude_generated}": { + "/_ml/data_frame/analytics/{id}/_explain": { "get": { - "description": "Retrieves configuration information for datafeeds.", + "description": "Explains a data frame analytics config.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html" + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" }, - "operationId": "ml.get_datafeeds#1", + "operationId": "ml.explain_data_frame_analytics#2", "parameters": [ { - "$ref": "#/components/parameters/ml.get_datafeeds#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_datafeeds#exclude_generated" + "$ref": "#/components/parameters/ml.explain_data_frame_analytics#id" } ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" + }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_datafeeds#200" + "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" } } - } - }, - "/_ml/filters{?from,size}": { - "get": { - "description": "Retrieves filters.", + }, + "post": { + "description": "Explains a data frame analytics config.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-filter.html" + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" }, - "operationId": "ml.get_filters#0", + "operationId": "ml.explain_data_frame_analytics#3", "parameters": [ { - "$ref": "#/components/parameters/ml.get_filters#from" - }, - { - "$ref": "#/components/parameters/ml.get_filters#size" + "$ref": "#/components/parameters/ml.explain_data_frame_analytics#id" } ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" + }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_filters#200" + "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" } } } }, - "/_ml/filters/{filter_id}{?from,size}": { - "get": { - "description": "Retrieves filters.", + "/_ml/anomaly_detectors/{job_id}/_flush": { + "post": { + "description": "Forces any buffered data to be processed by the job.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-filter.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html" }, - "operationId": "ml.get_filters#1", + "operationId": "ml.flush_job#0", "parameters": [ { - "$ref": "#/components/parameters/ml.get_filters#filter_id" + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" }, { - "$ref": "#/components/parameters/ml.get_filters#from" + "in": "query", + "name": "advance_time", + "description": "Specifies to advance to a particular time value. Results are generated\nand the model is updated for data from the specified time interval.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" }, { - "$ref": "#/components/parameters/ml.get_filters#size" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_filters#200" + "in": "query", + "name": "calc_interim", + "description": "If true, calculates the interim results for the most recent bucket or all\nbuckets within the latency period.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "end", + "description": "When used in conjunction with `calc_interim` and `start`, specifies the\nrange of buckets on which to calculate interim results.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + { + "in": "query", + "name": "skip_time", + "description": "Specifies to skip to a particular time value. Results are not generated\nand the model is not updated for data from the specified time interval.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + { + "in": "query", + "name": "start", + "description": "When used in conjunction with `calc_interim`, specifies the range of\nbuckets on which to calculate interim results.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "advance_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "calc_interim": { + "description": "Refer to the description for the `calc_interim` query parameter.", + "type": "boolean" + }, + "end": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "skip_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "start": { + "$ref": "#/components/schemas/_types:DateTime" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "flushed": { + "type": "boolean" + }, + "last_finalized_bucket_end": { + "description": "Provides the timestamp (in milliseconds since the epoch) of the end of\nthe last bucket that was processed.", + "type": "number" + } + }, + "required": [ + "flushed" + ] + } + } + } } } } }, - "/_ml/anomaly_detectors/{job_id}/results/influencers{?desc,end,exclude_interim,influencer_score,from,size,sort,start}": { + "/_ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}": { "get": { - "description": "Retrieves anomaly detection job results for one or more influencers.", + "description": "Retrieves anomaly detection job results for one or more buckets.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" }, - "operationId": "ml.get_influencers#0", + "operationId": "ml.get_buckets#0", "parameters": [ { - "$ref": "#/components/parameters/ml.get_influencers#job_id" + "$ref": "#/components/parameters/ml.get_buckets#job_id" }, { - "$ref": "#/components/parameters/ml.get_influencers#desc" + "$ref": "#/components/parameters/ml.get_buckets#timestamp" }, { - "$ref": "#/components/parameters/ml.get_influencers#end" + "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" }, { - "$ref": "#/components/parameters/ml.get_influencers#exclude_interim" + "$ref": "#/components/parameters/ml.get_buckets#desc" }, { - "$ref": "#/components/parameters/ml.get_influencers#influencer_score" + "$ref": "#/components/parameters/ml.get_buckets#end" }, { - "$ref": "#/components/parameters/ml.get_influencers#from" + "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" }, { - "$ref": "#/components/parameters/ml.get_influencers#size" + "$ref": "#/components/parameters/ml.get_buckets#expand" }, { - "$ref": "#/components/parameters/ml.get_influencers#sort" + "$ref": "#/components/parameters/ml.get_buckets#from" }, { - "$ref": "#/components/parameters/ml.get_influencers#start" + "$ref": "#/components/parameters/ml.get_buckets#size" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#sort" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#start" } ], "requestBody": { - "$ref": "#/components/requestBodies/ml.get_influencers" + "$ref": "#/components/requestBodies/ml.get_buckets" }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_influencers#200" + "$ref": "#/components/responses/ml.get_buckets#200" } } }, "post": { - "description": "Retrieves anomaly detection job results for one or more influencers.", + "description": "Retrieves anomaly detection job results for one or more buckets.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" }, - "operationId": "ml.get_influencers#1", + "operationId": "ml.get_buckets#1", "parameters": [ { - "$ref": "#/components/parameters/ml.get_influencers#job_id" + "$ref": "#/components/parameters/ml.get_buckets#job_id" }, { - "$ref": "#/components/parameters/ml.get_influencers#desc" + "$ref": "#/components/parameters/ml.get_buckets#timestamp" }, { - "$ref": "#/components/parameters/ml.get_influencers#end" + "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" }, { - "$ref": "#/components/parameters/ml.get_influencers#exclude_interim" + "$ref": "#/components/parameters/ml.get_buckets#desc" }, { - "$ref": "#/components/parameters/ml.get_influencers#influencer_score" + "$ref": "#/components/parameters/ml.get_buckets#end" }, { - "$ref": "#/components/parameters/ml.get_influencers#from" + "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" }, { - "$ref": "#/components/parameters/ml.get_influencers#size" + "$ref": "#/components/parameters/ml.get_buckets#expand" }, { - "$ref": "#/components/parameters/ml.get_influencers#sort" + "$ref": "#/components/parameters/ml.get_buckets#from" }, { - "$ref": "#/components/parameters/ml.get_influencers#start" + "$ref": "#/components/parameters/ml.get_buckets#size" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#sort" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#start" } ], "requestBody": { - "$ref": "#/components/requestBodies/ml.get_influencers" + "$ref": "#/components/requestBodies/ml.get_buckets" }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_influencers#200" + "$ref": "#/components/responses/ml.get_buckets#200" } } } }, - "/_ml/anomaly_detectors/_stats{?allow_no_match}": { + "/_ml/anomaly_detectors/{job_id}/results/buckets": { "get": { - "description": "Retrieves usage information for anomaly detection jobs.", + "description": "Retrieves anomaly detection job results for one or more buckets.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" }, - "operationId": "ml.get_job_stats#0", + "operationId": "ml.get_buckets#2", "parameters": [ { - "$ref": "#/components/parameters/ml.get_job_stats#allow_no_match" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_job_stats#200" - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/_stats{?allow_no_match}": { - "get": { - "description": "Retrieves usage information for anomaly detection jobs.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html" - }, - "operationId": "ml.get_job_stats#1", - "parameters": [ + "$ref": "#/components/parameters/ml.get_buckets#job_id" + }, { - "$ref": "#/components/parameters/ml.get_job_stats#job_id" + "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" }, { - "$ref": "#/components/parameters/ml.get_job_stats#allow_no_match" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_job_stats#200" - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}{?allow_no_match,exclude_generated}": { - "get": { - "description": "Retrieves configuration information for anomaly detection jobs.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html" - }, - "operationId": "ml.get_jobs#0", - "parameters": [ + "$ref": "#/components/parameters/ml.get_buckets#desc" + }, { - "$ref": "#/components/parameters/ml.get_jobs#job_id" + "$ref": "#/components/parameters/ml.get_buckets#end" }, { - "$ref": "#/components/parameters/ml.get_jobs#allow_no_match" + "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" }, { - "$ref": "#/components/parameters/ml.get_jobs#exclude_generated" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_jobs#200" - } - } - } - }, - "/_ml/anomaly_detectors{?allow_no_match,exclude_generated}": { - "get": { - "description": "Retrieves configuration information for anomaly detection jobs.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html" - }, - "operationId": "ml.get_jobs#1", - "parameters": [ + "$ref": "#/components/parameters/ml.get_buckets#expand" + }, { - "$ref": "#/components/parameters/ml.get_jobs#allow_no_match" + "$ref": "#/components/parameters/ml.get_buckets#from" }, { - "$ref": "#/components/parameters/ml.get_jobs#exclude_generated" + "$ref": "#/components/parameters/ml.get_buckets#size" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#sort" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#start" } ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_buckets" + }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_jobs#200" + "$ref": "#/components/responses/ml.get_buckets#200" } } - } - }, - "/_ml/memory/_stats{?human,master_timeout,timeout}": { - "get": { - "description": "Returns information on how ML is using memory.", + }, + "post": { + "description": "Retrieves anomaly detection job results for one or more buckets.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ml-memory.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" }, - "operationId": "ml.get_memory_stats#0", + "operationId": "ml.get_buckets#3", "parameters": [ { - "$ref": "#/components/parameters/ml.get_memory_stats#human" + "$ref": "#/components/parameters/ml.get_buckets#job_id" }, { - "$ref": "#/components/parameters/ml.get_memory_stats#master_timeout" + "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" }, { - "$ref": "#/components/parameters/ml.get_memory_stats#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_memory_stats#200" - } - } - } - }, - "/_ml/memory/{node_id}/_stats{?human,master_timeout,timeout}": { - "get": { - "description": "Returns information on how ML is using memory.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ml-memory.html" - }, - "operationId": "ml.get_memory_stats#1", - "parameters": [ + "$ref": "#/components/parameters/ml.get_buckets#desc" + }, { - "$ref": "#/components/parameters/ml.get_memory_stats#node_id" + "$ref": "#/components/parameters/ml.get_buckets#end" }, { - "$ref": "#/components/parameters/ml.get_memory_stats#human" + "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" }, { - "$ref": "#/components/parameters/ml.get_memory_stats#master_timeout" + "$ref": "#/components/parameters/ml.get_buckets#expand" }, { - "$ref": "#/components/parameters/ml.get_memory_stats#timeout" + "$ref": "#/components/parameters/ml.get_buckets#from" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#size" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#sort" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#start" } ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_buckets" + }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_memory_stats#200" + "$ref": "#/components/responses/ml.get_buckets#200" } } } }, - "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade/_stats{?allow_no_match}": { + "/_ml/calendars/{calendar_id}/events": { "get": { - "description": "Gets stats for anomaly detection job model snapshot upgrades that are in progress.", + "description": "Retrieves information about the scheduled events in calendars.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-model-snapshot-upgrade-stats.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar-event.html" }, - "operationId": "ml.get_model_snapshot_upgrade_stats#0", + "operationId": "ml.get_calendar_events#0", "parameters": [ { "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", + "name": "calendar_id", + "description": "A string that uniquely identifies a calendar. You can get information for multiple calendars by using a comma-separated list of ids or a wildcard expression. You can get information for all calendars by using `_all` or `*` or by omitting the calendar identifier.", "required": true, "deprecated": false, "schema": { @@ -14976,23 +16115,52 @@ "style": "simple" }, { - "in": "path", - "name": "snapshot_id", - "description": "A numerical character string that uniquely identifies the model snapshot. You can get information for multiple\nsnapshots by using a comma-separated list or a wildcard expression. You can get all snapshots by using `_all`,\nby specifying `*` as the snapshot ID, or by omitting the snapshot ID.", - "required": true, + "in": "query", + "name": "end", + "description": "Specifies to get events with timestamps earlier than this time.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + { + "in": "query", + "name": "from", + "description": "Skips the specified number of events.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "job_id", + "description": "Specifies to get events for a specific anomaly detection job identifier or job group. It must be used with a calendar identifier of `_all` or `*`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" }, - "style": "simple" + "style": "form" }, { "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n - Contains wildcard expressions and there are no jobs that match.\n - Contains the _all string or no identifiers and there are no matches.\n - Contains wildcard expressions and there are only partial matches.\n\nThe default value is true, which returns an empty jobs array when there are no matches and the subset of results\nwhen there are partial matches. If this parameter is false, the request returns a 404 status code when there are\nno matches or only partial matches.", + "name": "size", + "description": "Specifies the maximum number of events to obtain.", "deprecated": false, "schema": { - "type": "boolean" + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "start", + "description": "Specifies to get events with timestamps after this time.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" }, "style": "form" } @@ -15008,16 +16176,81 @@ "count": { "type": "number" }, - "model_snapshot_upgrades": { + "events": { "type": "array", "items": { - "$ref": "#/components/schemas/ml._types:ModelSnapshotUpgrade" + "$ref": "#/components/schemas/ml._types:CalendarEvent" } } }, "required": [ "count", - "model_snapshot_upgrades" + "events" + ] + } + } + } + } + } + }, + "post": { + "description": "Posts scheduled events in a calendar.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-calendar-event.html" + }, + "operationId": "ml.post_calendar_events#0", + "parameters": [ + { + "in": "path", + "name": "calendar_id", + "description": "A string that uniquely identifies a calendar.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "events": { + "description": "A list of one of more scheduled events. The event’s start and end times can be specified as integer milliseconds since the epoch or as a string in ISO 8601 format.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:CalendarEvent" + } + } + }, + "required": [ + "events" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "events": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:CalendarEvent" + } + } + }, + "required": [ + "events" ] } } @@ -15026,570 +16259,565 @@ } } }, - "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}{?desc,end,from,size,sort,start}": { + "/_ml/calendars": { "get": { - "description": "Retrieves information about model snapshots.", + "description": "Retrieves configuration information for calendars.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" }, - "operationId": "ml.get_model_snapshots#0", + "operationId": "ml.get_calendars#0", "parameters": [ { - "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#snapshot_id" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#desc" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#end" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#from" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#size" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#sort" + "$ref": "#/components/parameters/ml.get_calendars#from" }, { - "$ref": "#/components/parameters/ml.get_model_snapshots#start" + "$ref": "#/components/parameters/ml.get_calendars#size" } ], "requestBody": { - "$ref": "#/components/requestBodies/ml.get_model_snapshots" + "$ref": "#/components/requestBodies/ml.get_calendars" }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_model_snapshots#200" + "$ref": "#/components/responses/ml.get_calendars#200" } } }, "post": { - "description": "Retrieves information about model snapshots.", + "description": "Retrieves configuration information for calendars.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" }, - "operationId": "ml.get_model_snapshots#1", + "operationId": "ml.get_calendars#1", "parameters": [ { - "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#snapshot_id" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#desc" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#end" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#from" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#size" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#sort" + "$ref": "#/components/parameters/ml.get_calendars#from" }, { - "$ref": "#/components/parameters/ml.get_model_snapshots#start" + "$ref": "#/components/parameters/ml.get_calendars#size" } ], "requestBody": { - "$ref": "#/components/requestBodies/ml.get_model_snapshots" + "$ref": "#/components/requestBodies/ml.get_calendars" }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_model_snapshots#200" + "$ref": "#/components/responses/ml.get_calendars#200" } } } }, - "/_ml/anomaly_detectors/{job_id}/model_snapshots{?desc,end,from,size,sort,start}": { + "/_ml/anomaly_detectors/{job_id}/results/categories/{category_id}": { "get": { - "description": "Retrieves information about model snapshots.", + "description": "Retrieves anomaly detection job results for one or more categories.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" }, - "operationId": "ml.get_model_snapshots#2", + "operationId": "ml.get_categories#0", "parameters": [ { - "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#desc" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#end" + "$ref": "#/components/parameters/ml.get_categories#job_id" }, { - "$ref": "#/components/parameters/ml.get_model_snapshots#from" + "$ref": "#/components/parameters/ml.get_categories#category_id" }, { - "$ref": "#/components/parameters/ml.get_model_snapshots#size" + "$ref": "#/components/parameters/ml.get_categories#from" }, { - "$ref": "#/components/parameters/ml.get_model_snapshots#sort" + "$ref": "#/components/parameters/ml.get_categories#partition_field_value" }, { - "$ref": "#/components/parameters/ml.get_model_snapshots#start" + "$ref": "#/components/parameters/ml.get_categories#size" } ], "requestBody": { - "$ref": "#/components/requestBodies/ml.get_model_snapshots" + "$ref": "#/components/requestBodies/ml.get_categories" }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_model_snapshots#200" + "$ref": "#/components/responses/ml.get_categories#200" } } }, "post": { - "description": "Retrieves information about model snapshots.", + "description": "Retrieves anomaly detection job results for one or more categories.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" }, - "operationId": "ml.get_model_snapshots#3", + "operationId": "ml.get_categories#1", "parameters": [ { - "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#desc" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#end" + "$ref": "#/components/parameters/ml.get_categories#job_id" }, { - "$ref": "#/components/parameters/ml.get_model_snapshots#from" + "$ref": "#/components/parameters/ml.get_categories#category_id" }, { - "$ref": "#/components/parameters/ml.get_model_snapshots#size" + "$ref": "#/components/parameters/ml.get_categories#from" }, { - "$ref": "#/components/parameters/ml.get_model_snapshots#sort" + "$ref": "#/components/parameters/ml.get_categories#partition_field_value" }, { - "$ref": "#/components/parameters/ml.get_model_snapshots#start" + "$ref": "#/components/parameters/ml.get_categories#size" } ], "requestBody": { - "$ref": "#/components/requestBodies/ml.get_model_snapshots" + "$ref": "#/components/requestBodies/ml.get_categories" }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_model_snapshots#200" + "$ref": "#/components/responses/ml.get_categories#200" } } } }, - "/_ml/anomaly_detectors/{job_id}/results/overall_buckets{?allow_no_match,bucket_span,end,exclude_interim,overall_score,start,top_n}": { + "/_ml/anomaly_detectors/{job_id}/results/categories": { "get": { - "description": "Retrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.", + "description": "Retrieves anomaly detection job results for one or more categories.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" }, - "operationId": "ml.get_overall_buckets#0", + "operationId": "ml.get_categories#2", "parameters": [ { - "$ref": "#/components/parameters/ml.get_overall_buckets#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_overall_buckets#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_overall_buckets#bucket_span" - }, - { - "$ref": "#/components/parameters/ml.get_overall_buckets#end" - }, - { - "$ref": "#/components/parameters/ml.get_overall_buckets#exclude_interim" + "$ref": "#/components/parameters/ml.get_categories#job_id" }, { - "$ref": "#/components/parameters/ml.get_overall_buckets#overall_score" + "$ref": "#/components/parameters/ml.get_categories#from" }, { - "$ref": "#/components/parameters/ml.get_overall_buckets#start" + "$ref": "#/components/parameters/ml.get_categories#partition_field_value" }, { - "$ref": "#/components/parameters/ml.get_overall_buckets#top_n" + "$ref": "#/components/parameters/ml.get_categories#size" } ], "requestBody": { - "$ref": "#/components/requestBodies/ml.get_overall_buckets" + "$ref": "#/components/requestBodies/ml.get_categories" }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_overall_buckets#200" + "$ref": "#/components/responses/ml.get_categories#200" } } }, "post": { - "description": "Retrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.", + "description": "Retrieves anomaly detection job results for one or more categories.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" }, - "operationId": "ml.get_overall_buckets#1", + "operationId": "ml.get_categories#3", "parameters": [ { - "$ref": "#/components/parameters/ml.get_overall_buckets#job_id" + "$ref": "#/components/parameters/ml.get_categories#job_id" }, { - "$ref": "#/components/parameters/ml.get_overall_buckets#allow_no_match" + "$ref": "#/components/parameters/ml.get_categories#from" }, { - "$ref": "#/components/parameters/ml.get_overall_buckets#bucket_span" + "$ref": "#/components/parameters/ml.get_categories#partition_field_value" }, { - "$ref": "#/components/parameters/ml.get_overall_buckets#end" - }, + "$ref": "#/components/parameters/ml.get_categories#size" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_categories" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_categories#200" + } + } + } + }, + "/_ml/data_frame/analytics": { + "get": { + "description": "Retrieves configuration information for data frame analytics jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics.html" + }, + "operationId": "ml.get_data_frame_analytics#1", + "parameters": [ { - "$ref": "#/components/parameters/ml.get_overall_buckets#exclude_interim" + "$ref": "#/components/parameters/ml.get_data_frame_analytics#allow_no_match" }, { - "$ref": "#/components/parameters/ml.get_overall_buckets#overall_score" + "$ref": "#/components/parameters/ml.get_data_frame_analytics#from" }, { - "$ref": "#/components/parameters/ml.get_overall_buckets#start" + "$ref": "#/components/parameters/ml.get_data_frame_analytics#size" }, { - "$ref": "#/components/parameters/ml.get_overall_buckets#top_n" + "$ref": "#/components/parameters/ml.get_data_frame_analytics#exclude_generated" } ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_overall_buckets" - }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_overall_buckets#200" + "$ref": "#/components/responses/ml.get_data_frame_analytics#200" } } } }, - "/_ml/anomaly_detectors/{job_id}/results/records{?desc,end,exclude_interim,from,record_score,size,sort,start}": { + "/_ml/data_frame/analytics/_stats": { "get": { - "description": "Retrieves anomaly records for an anomaly detection job.", + "description": "Retrieves usage information for data frame analytics jobs.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics-stats.html" }, - "operationId": "ml.get_records#0", + "operationId": "ml.get_data_frame_analytics_stats#0", "parameters": [ { - "$ref": "#/components/parameters/ml.get_records#job_id" + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#allow_no_match" }, { - "$ref": "#/components/parameters/ml.get_records#desc" + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#from" }, { - "$ref": "#/components/parameters/ml.get_records#end" + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#size" }, { - "$ref": "#/components/parameters/ml.get_records#exclude_interim" - }, + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#verbose" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_data_frame_analytics_stats#200" + } + } + } + }, + "/_ml/data_frame/analytics/{id}/_stats": { + "get": { + "description": "Retrieves usage information for data frame analytics jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics-stats.html" + }, + "operationId": "ml.get_data_frame_analytics_stats#1", + "parameters": [ { - "$ref": "#/components/parameters/ml.get_records#from" + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#id" }, { - "$ref": "#/components/parameters/ml.get_records#record_score" + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#allow_no_match" }, { - "$ref": "#/components/parameters/ml.get_records#size" + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#from" }, { - "$ref": "#/components/parameters/ml.get_records#sort" + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#size" }, { - "$ref": "#/components/parameters/ml.get_records#start" + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#verbose" } ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_records" - }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_records#200" + "$ref": "#/components/responses/ml.get_data_frame_analytics_stats#200" } } - }, - "post": { - "description": "Retrieves anomaly records for an anomaly detection job.", + } + }, + "/_ml/datafeeds/{datafeed_id}/_stats": { + "get": { + "description": "Retrieves usage information for datafeeds.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html" }, - "operationId": "ml.get_records#1", + "operationId": "ml.get_datafeed_stats#0", "parameters": [ { - "$ref": "#/components/parameters/ml.get_records#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_records#desc" - }, - { - "$ref": "#/components/parameters/ml.get_records#end" + "$ref": "#/components/parameters/ml.get_datafeed_stats#datafeed_id" }, { - "$ref": "#/components/parameters/ml.get_records#exclude_interim" - }, + "$ref": "#/components/parameters/ml.get_datafeed_stats#allow_no_match" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_datafeed_stats#200" + } + } + } + }, + "/_ml/datafeeds/_stats": { + "get": { + "description": "Retrieves usage information for datafeeds.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html" + }, + "operationId": "ml.get_datafeed_stats#1", + "parameters": [ { - "$ref": "#/components/parameters/ml.get_records#from" - }, + "$ref": "#/components/parameters/ml.get_datafeed_stats#allow_no_match" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_datafeed_stats#200" + } + } + } + }, + "/_ml/datafeeds": { + "get": { + "description": "Retrieves configuration information for datafeeds.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html" + }, + "operationId": "ml.get_datafeeds#1", + "parameters": [ { - "$ref": "#/components/parameters/ml.get_records#record_score" + "$ref": "#/components/parameters/ml.get_datafeeds#allow_no_match" }, { - "$ref": "#/components/parameters/ml.get_records#size" - }, + "$ref": "#/components/parameters/ml.get_datafeeds#exclude_generated" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_datafeeds#200" + } + } + } + }, + "/_ml/filters": { + "get": { + "description": "Retrieves filters.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-filter.html" + }, + "operationId": "ml.get_filters#0", + "parameters": [ { - "$ref": "#/components/parameters/ml.get_records#sort" + "$ref": "#/components/parameters/ml.get_filters#from" }, { - "$ref": "#/components/parameters/ml.get_records#start" + "$ref": "#/components/parameters/ml.get_filters#size" } ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_records" - }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_records#200" + "$ref": "#/components/responses/ml.get_filters#200" } } } }, - "/_ml/trained_models/{model_id}{?allow_no_match,decompress_definition,exclude_generated,from,include,size,tags}": { + "/_ml/anomaly_detectors/{job_id}/results/influencers": { "get": { - "description": "Retrieves configuration information for a trained inference model.", + "description": "Retrieves anomaly detection job results for one or more influencers.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html" }, - "operationId": "ml.get_trained_models#0", + "operationId": "ml.get_influencers#0", "parameters": [ { - "$ref": "#/components/parameters/ml.get_trained_models#model_id" + "$ref": "#/components/parameters/ml.get_influencers#job_id" }, { - "$ref": "#/components/parameters/ml.get_trained_models#allow_no_match" + "$ref": "#/components/parameters/ml.get_influencers#desc" }, { - "$ref": "#/components/parameters/ml.get_trained_models#decompress_definition" + "$ref": "#/components/parameters/ml.get_influencers#end" }, { - "$ref": "#/components/parameters/ml.get_trained_models#exclude_generated" + "$ref": "#/components/parameters/ml.get_influencers#exclude_interim" }, { - "$ref": "#/components/parameters/ml.get_trained_models#from" + "$ref": "#/components/parameters/ml.get_influencers#influencer_score" }, { - "$ref": "#/components/parameters/ml.get_trained_models#include" + "$ref": "#/components/parameters/ml.get_influencers#from" }, { - "$ref": "#/components/parameters/ml.get_trained_models#size" + "$ref": "#/components/parameters/ml.get_influencers#size" }, { - "$ref": "#/components/parameters/ml.get_trained_models#tags" + "$ref": "#/components/parameters/ml.get_influencers#sort" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#start" } ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_influencers" + }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_trained_models#200" + "$ref": "#/components/responses/ml.get_influencers#200" } } - } - }, - "/_ml/trained_models{?allow_no_match,decompress_definition,exclude_generated,from,include,size,tags}": { - "get": { - "description": "Retrieves configuration information for a trained inference model.", + }, + "post": { + "description": "Retrieves anomaly detection job results for one or more influencers.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html" }, - "operationId": "ml.get_trained_models#1", + "operationId": "ml.get_influencers#1", "parameters": [ { - "$ref": "#/components/parameters/ml.get_trained_models#allow_no_match" + "$ref": "#/components/parameters/ml.get_influencers#job_id" }, { - "$ref": "#/components/parameters/ml.get_trained_models#decompress_definition" + "$ref": "#/components/parameters/ml.get_influencers#desc" }, { - "$ref": "#/components/parameters/ml.get_trained_models#exclude_generated" + "$ref": "#/components/parameters/ml.get_influencers#end" }, { - "$ref": "#/components/parameters/ml.get_trained_models#from" + "$ref": "#/components/parameters/ml.get_influencers#exclude_interim" }, { - "$ref": "#/components/parameters/ml.get_trained_models#include" + "$ref": "#/components/parameters/ml.get_influencers#influencer_score" }, { - "$ref": "#/components/parameters/ml.get_trained_models#size" + "$ref": "#/components/parameters/ml.get_influencers#from" }, { - "$ref": "#/components/parameters/ml.get_trained_models#tags" + "$ref": "#/components/parameters/ml.get_influencers#size" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#sort" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#start" } ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_influencers" + }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_trained_models#200" + "$ref": "#/components/responses/ml.get_influencers#200" } } } }, - "/_ml/trained_models/{model_id}/_stats{?allow_no_match,from,size}": { + "/_ml/anomaly_detectors/_stats": { "get": { - "description": "Retrieves usage information for trained inference models.", + "description": "Retrieves usage information for anomaly detection jobs.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models-stats.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html" }, - "operationId": "ml.get_trained_models_stats#0", + "operationId": "ml.get_job_stats#0", "parameters": [ { - "$ref": "#/components/parameters/ml.get_trained_models_stats#model_id" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models_stats#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models_stats#from" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models_stats#size" + "$ref": "#/components/parameters/ml.get_job_stats#allow_no_match" } ], "responses": { "200": { - "$ref": "#/components/responses/ml.get_trained_models_stats#200" + "$ref": "#/components/responses/ml.get_job_stats#200" } } } }, - "/_ml/trained_models/_stats{?allow_no_match,from,size}": { + "/_ml/anomaly_detectors/{job_id}/_stats": { "get": { - "description": "Retrieves usage information for trained inference models.", + "description": "Retrieves usage information for anomaly detection jobs.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models-stats.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html" }, - "operationId": "ml.get_trained_models_stats#1", + "operationId": "ml.get_job_stats#1", "parameters": [ { - "$ref": "#/components/parameters/ml.get_trained_models_stats#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models_stats#from" + "$ref": "#/components/parameters/ml.get_job_stats#job_id" }, { - "$ref": "#/components/parameters/ml.get_trained_models_stats#size" + "$ref": "#/components/parameters/ml.get_job_stats#allow_no_match" } ], "responses": { "200": { - "$ref": "#/components/responses/ml.get_trained_models_stats#200" + "$ref": "#/components/responses/ml.get_job_stats#200" } } } }, - "/_ml/trained_models/{model_id}/_infer{?timeout}": { - "post": { - "description": "Evaluate a trained model.", + "/_ml/anomaly_detectors": { + "get": { + "description": "Retrieves configuration information for anomaly detection jobs.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/infer-trained-model.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html" }, - "operationId": "ml.infer_trained_model#0", + "operationId": "ml.get_jobs#1", "parameters": [ { - "$ref": "#/components/parameters/ml.infer_trained_model#model_id" + "$ref": "#/components/parameters/ml.get_jobs#allow_no_match" }, { - "$ref": "#/components/parameters/ml.infer_trained_model#timeout" + "$ref": "#/components/parameters/ml.get_jobs#exclude_generated" } ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.infer_trained_model" - }, "responses": { "200": { - "$ref": "#/components/responses/ml.infer_trained_model#200" + "$ref": "#/components/responses/ml.get_jobs#200" } } } }, - "/_ml/trained_models/{model_id}/deployment/_infer{?timeout}": { - "post": { - "description": "Evaluate a trained model.", + "/_ml/memory/_stats": { + "get": { + "description": "Returns information on how ML is using memory.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/infer-trained-model.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ml-memory.html" }, - "operationId": "ml.infer_trained_model#1", + "operationId": "ml.get_memory_stats#0", "parameters": [ { - "$ref": "#/components/parameters/ml.infer_trained_model#model_id" + "$ref": "#/components/parameters/ml.get_memory_stats#human" }, { - "$ref": "#/components/parameters/ml.infer_trained_model#timeout" + "$ref": "#/components/parameters/ml.get_memory_stats#master_timeout" + }, + { + "$ref": "#/components/parameters/ml.get_memory_stats#timeout" } ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.infer_trained_model" - }, "responses": { "200": { - "$ref": "#/components/responses/ml.infer_trained_model#200" + "$ref": "#/components/responses/ml.get_memory_stats#200" } } } }, - "/_ml/info": { + "/_ml/memory/{node_id}/_stats": { "get": { - "description": "Returns defaults and limits used by machine learning.", + "description": "Returns information on how ML is using memory.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ml-info.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ml-memory.html" }, - "operationId": "ml.info#0", + "operationId": "ml.get_memory_stats#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_memory_stats#node_id" + }, + { + "$ref": "#/components/parameters/ml.get_memory_stats#human" + }, + { + "$ref": "#/components/parameters/ml.get_memory_stats#master_timeout" + }, + { + "$ref": "#/components/parameters/ml.get_memory_stats#timeout" + } + ], "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "defaults": { - "$ref": "#/components/schemas/ml.info:Defaults" - }, - "limits": { - "$ref": "#/components/schemas/ml.info:Limits" - }, - "upgrade_mode": { - "type": "boolean" - }, - "native_code": { - "$ref": "#/components/schemas/ml.info:NativeCode" - } - }, - "required": [ - "defaults", - "limits", - "upgrade_mode", - "native_code" - ] - } - } - } + "$ref": "#/components/responses/ml.get_memory_stats#200" } } } }, - "/_ml/anomaly_detectors/{job_id}/_open{?timeout}": { - "post": { - "description": "Opens one or more anomaly detection jobs.", + "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade/_stats": { + "get": { + "description": "Gets stats for anomaly detection job model snapshot upgrades that are in progress.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-model-snapshot-upgrade-stats.html" }, - "operationId": "ml.open_job#0", + "operationId": "ml.get_model_snapshot_upgrade_stats#0", "parameters": [ { "in": "path", @@ -15602,31 +16830,28 @@ }, "style": "simple" }, + { + "in": "path", + "name": "snapshot_id", + "description": "A numerical character string that uniquely identifies the model snapshot. You can get information for multiple\nsnapshots by using a comma-separated list or a wildcard expression. You can get all snapshots by using `_all`,\nby specifying `*` as the snapshot ID, or by omitting the snapshot ID.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, { "in": "query", - "name": "timeout", - "description": "Controls the time to wait until a job has opened.", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n - Contains wildcard expressions and there are no jobs that match.\n - Contains the _all string or no identifiers and there are no matches.\n - Contains wildcard expressions and there are only partial matches.\n\nThe default value is true, which returns an empty jobs array when there are no matches and the subset of results\nwhen there are partial matches. If this parameter is false, the request returns a 404 status code when there are\nno matches or only partial matches.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "type": "boolean" }, "style": "form" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "timeout": { - "$ref": "#/components/schemas/_types:Duration" - } - } - } - } - } - }, "responses": { "200": { "description": "", @@ -15635,16 +16860,19 @@ "schema": { "type": "object", "properties": { - "opened": { - "type": "boolean" + "count": { + "type": "number" }, - "node": { - "$ref": "#/components/schemas/_types:NodeId" + "model_snapshot_upgrades": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:ModelSnapshotUpgrade" + } } }, "required": [ - "opened", - "node" + "count", + "model_snapshot_upgrades" ] } } @@ -15653,811 +16881,405 @@ } } }, - "/_ml/calendars/{calendar_id}/events": { - "post": { - "description": "Posts scheduled events in a calendar.", + "/_ml/anomaly_detectors/{job_id}/model_snapshots": { + "get": { + "description": "Retrieves information about model snapshots.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-calendar-event.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" }, - "operationId": "ml.post_calendar_events#0", + "operationId": "ml.get_model_snapshots#2", "parameters": [ { - "in": "path", - "name": "calendar_id", - "description": "A string that uniquely identifies a calendar.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "events": { - "description": "A list of one of more scheduled events. The event’s start and end times can be specified as integer milliseconds since the epoch or as a string in ISO 8601 format.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:CalendarEvent" - } - } - }, - "required": [ - "events" - ] - } - } + "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" }, - "required": true + { + "$ref": "#/components/parameters/ml.get_model_snapshots#desc" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#end" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#from" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#size" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#sort" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_model_snapshots" }, "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "events": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:CalendarEvent" - } - } - }, - "required": [ - "events" - ] - } - } - } + "$ref": "#/components/responses/ml.get_model_snapshots#200" } } - } - }, - "/_ml/anomaly_detectors/{job_id}/_data{?reset_end,reset_start}": { + }, "post": { - "description": "Sends data to an anomaly detection job for analysis.", + "description": "Retrieves information about model snapshots.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-data.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" }, - "operationId": "ml.post_data#0", + "operationId": "ml.get_model_snapshots#3", "parameters": [ { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job. The job must have a state of open to receive and process the data.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" + "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" }, { - "in": "query", - "name": "reset_end", - "description": "Specifies the end of the bucket resetting range.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" + "$ref": "#/components/parameters/ml.get_model_snapshots#desc" }, { - "in": "query", - "name": "reset_start", - "description": "Specifies the start of the bucket resetting range.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" + "$ref": "#/components/parameters/ml.get_model_snapshots#end" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#from" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#size" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#sort" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#start" } ], "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object" - } - } - } - }, - "required": true + "$ref": "#/components/requestBodies/ml.get_model_snapshots" }, "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "bucket_count": { - "type": "number" - }, - "earliest_record_timestamp": { - "type": "number" - }, - "empty_bucket_count": { - "type": "number" - }, - "input_bytes": { - "type": "number" - }, - "input_field_count": { - "type": "number" - }, - "input_record_count": { - "type": "number" - }, - "invalid_date_count": { - "type": "number" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "last_data_time": { - "type": "number" - }, - "latest_record_timestamp": { - "type": "number" - }, - "missing_field_count": { - "type": "number" - }, - "out_of_order_timestamp_count": { - "type": "number" - }, - "processed_field_count": { - "type": "number" - }, - "processed_record_count": { - "type": "number" - }, - "sparse_bucket_count": { - "type": "number" - } - }, - "required": [ - "bucket_count", - "earliest_record_timestamp", - "empty_bucket_count", - "input_bytes", - "input_field_count", - "input_record_count", - "invalid_date_count", - "job_id", - "last_data_time", - "latest_record_timestamp", - "missing_field_count", - "out_of_order_timestamp_count", - "processed_field_count", - "processed_record_count", - "sparse_bucket_count" - ] - } - } - } + "$ref": "#/components/responses/ml.get_model_snapshots#200" } } } }, - "/_ml/data_frame/analytics/_preview": { + "/_ml/anomaly_detectors/{job_id}/results/overall_buckets": { "get": { - "description": "Previews that will be analyzed given a data frame analytics config.", + "description": "Retrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.", "externalDocs": { - "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html" }, - "operationId": "ml.preview_data_frame_analytics#0", + "operationId": "ml.get_overall_buckets#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_overall_buckets#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#bucket_span" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#end" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#overall_score" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#start" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#top_n" + } + ], "requestBody": { - "$ref": "#/components/requestBodies/ml.preview_data_frame_analytics" + "$ref": "#/components/requestBodies/ml.get_overall_buckets" }, "responses": { "200": { - "$ref": "#/components/responses/ml.preview_data_frame_analytics#200" + "$ref": "#/components/responses/ml.get_overall_buckets#200" } } }, "post": { - "description": "Previews that will be analyzed given a data frame analytics config.", + "description": "Retrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.", "externalDocs": { - "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html" }, - "operationId": "ml.preview_data_frame_analytics#1", + "operationId": "ml.get_overall_buckets#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_overall_buckets#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#bucket_span" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#end" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#overall_score" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#start" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#top_n" + } + ], "requestBody": { - "$ref": "#/components/requestBodies/ml.preview_data_frame_analytics" + "$ref": "#/components/requestBodies/ml.get_overall_buckets" }, "responses": { "200": { - "$ref": "#/components/responses/ml.preview_data_frame_analytics#200" + "$ref": "#/components/responses/ml.get_overall_buckets#200" } } } }, - "/_ml/data_frame/analytics/{id}/_preview": { + "/_ml/anomaly_detectors/{job_id}/results/records": { "get": { - "description": "Previews that will be analyzed given a data frame analytics config.", + "description": "Retrieves anomaly records for an anomaly detection job.", "externalDocs": { - "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html" }, - "operationId": "ml.preview_data_frame_analytics#2", + "operationId": "ml.get_records#0", "parameters": [ { - "$ref": "#/components/parameters/ml.preview_data_frame_analytics#id" + "$ref": "#/components/parameters/ml.get_records#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_records#desc" + }, + { + "$ref": "#/components/parameters/ml.get_records#end" + }, + { + "$ref": "#/components/parameters/ml.get_records#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_records#from" + }, + { + "$ref": "#/components/parameters/ml.get_records#record_score" + }, + { + "$ref": "#/components/parameters/ml.get_records#size" + }, + { + "$ref": "#/components/parameters/ml.get_records#sort" + }, + { + "$ref": "#/components/parameters/ml.get_records#start" } ], "requestBody": { - "$ref": "#/components/requestBodies/ml.preview_data_frame_analytics" + "$ref": "#/components/requestBodies/ml.get_records" }, "responses": { "200": { - "$ref": "#/components/responses/ml.preview_data_frame_analytics#200" + "$ref": "#/components/responses/ml.get_records#200" } } }, "post": { - "description": "Previews that will be analyzed given a data frame analytics config.", + "description": "Retrieves anomaly records for an anomaly detection job.", "externalDocs": { - "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html" }, - "operationId": "ml.preview_data_frame_analytics#3", + "operationId": "ml.get_records#1", "parameters": [ { - "$ref": "#/components/parameters/ml.preview_data_frame_analytics#id" + "$ref": "#/components/parameters/ml.get_records#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_records#desc" + }, + { + "$ref": "#/components/parameters/ml.get_records#end" + }, + { + "$ref": "#/components/parameters/ml.get_records#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_records#from" + }, + { + "$ref": "#/components/parameters/ml.get_records#record_score" + }, + { + "$ref": "#/components/parameters/ml.get_records#size" + }, + { + "$ref": "#/components/parameters/ml.get_records#sort" + }, + { + "$ref": "#/components/parameters/ml.get_records#start" } ], "requestBody": { - "$ref": "#/components/requestBodies/ml.preview_data_frame_analytics" + "$ref": "#/components/requestBodies/ml.get_records" }, "responses": { "200": { - "$ref": "#/components/responses/ml.preview_data_frame_analytics#200" + "$ref": "#/components/responses/ml.get_records#200" } } } }, - "/_ml/datafeeds/{datafeed_id}/_preview{?start,end}": { + "/_ml/trained_models": { "get": { - "description": "Previews a datafeed.", + "description": "Retrieves configuration information for a trained inference model.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models.html" }, - "operationId": "ml.preview_datafeed#0", + "operationId": "ml.get_trained_models#1", "parameters": [ { - "$ref": "#/components/parameters/ml.preview_datafeed#datafeed_id" + "$ref": "#/components/parameters/ml.get_trained_models#allow_no_match" }, { - "$ref": "#/components/parameters/ml.preview_datafeed#start" + "$ref": "#/components/parameters/ml.get_trained_models#decompress_definition" }, { - "$ref": "#/components/parameters/ml.preview_datafeed#end" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.preview_datafeed" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.preview_datafeed#200" - } - } - }, - "post": { - "description": "Previews a datafeed.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" - }, - "operationId": "ml.preview_datafeed#1", - "parameters": [ + "$ref": "#/components/parameters/ml.get_trained_models#exclude_generated" + }, { - "$ref": "#/components/parameters/ml.preview_datafeed#datafeed_id" + "$ref": "#/components/parameters/ml.get_trained_models#from" }, { - "$ref": "#/components/parameters/ml.preview_datafeed#start" + "$ref": "#/components/parameters/ml.get_trained_models#include" }, { - "$ref": "#/components/parameters/ml.preview_datafeed#end" + "$ref": "#/components/parameters/ml.get_trained_models#size" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#tags" } ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.preview_datafeed" - }, "responses": { "200": { - "$ref": "#/components/responses/ml.preview_datafeed#200" + "$ref": "#/components/responses/ml.get_trained_models#200" } } } }, - "/_ml/datafeeds/_preview{?start,end}": { + "/_ml/trained_models/{model_id}/_stats": { "get": { - "description": "Previews a datafeed.", + "description": "Retrieves usage information for trained inference models.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models-stats.html" }, - "operationId": "ml.preview_datafeed#2", + "operationId": "ml.get_trained_models_stats#0", "parameters": [ { - "$ref": "#/components/parameters/ml.preview_datafeed#start" + "$ref": "#/components/parameters/ml.get_trained_models_stats#model_id" }, { - "$ref": "#/components/parameters/ml.preview_datafeed#end" + "$ref": "#/components/parameters/ml.get_trained_models_stats#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models_stats#from" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models_stats#size" } ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.preview_datafeed" - }, "responses": { "200": { - "$ref": "#/components/responses/ml.preview_datafeed#200" + "$ref": "#/components/responses/ml.get_trained_models_stats#200" } } - }, - "post": { - "description": "Previews a datafeed.", + } + }, + "/_ml/trained_models/_stats": { + "get": { + "description": "Retrieves usage information for trained inference models.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models-stats.html" }, - "operationId": "ml.preview_datafeed#3", + "operationId": "ml.get_trained_models_stats#1", "parameters": [ { - "$ref": "#/components/parameters/ml.preview_datafeed#start" + "$ref": "#/components/parameters/ml.get_trained_models_stats#allow_no_match" }, { - "$ref": "#/components/parameters/ml.preview_datafeed#end" + "$ref": "#/components/parameters/ml.get_trained_models_stats#from" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models_stats#size" } ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.preview_datafeed" - }, "responses": { "200": { - "$ref": "#/components/responses/ml.preview_datafeed#200" + "$ref": "#/components/responses/ml.get_trained_models_stats#200" } } } }, - "/_ml/data_frame/analytics/{id}": { - "put": { - "description": "Instantiates a data frame analytics job.", + "/_ml/trained_models/{model_id}/_infer": { + "post": { + "description": "Evaluate a trained model.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/put-dfanalytics.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/infer-trained-model.html" }, - "operationId": "ml.put_data_frame_analytics#0", + "operationId": "ml.infer_trained_model#0", "parameters": [ { - "in": "path", - "name": "id", - "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" + "$ref": "#/components/parameters/ml.infer_trained_model#model_id" + }, + { + "$ref": "#/components/parameters/ml.infer_trained_model#timeout" } ], "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "allow_lazy_start": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-settings.html" - }, - "description": "Specifies whether this job can start when there is insufficient machine\nlearning node capacity for it to be immediately assigned to a node. If\nset to `false` and a machine learning node with capacity to run the job\ncannot be immediately found, the API returns an error. If set to `true`,\nthe API does not return an error; the job waits in the `starting` state\nuntil sufficient machine learning node capacity is available. This\nbehavior is also affected by the cluster-wide\n`xpack.ml.max_lazy_ml_nodes` setting.", - "type": "boolean" - }, - "analysis": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" - }, - "analyzed_fields": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" - }, - "description": { - "description": "A description of the job.", - "type": "string" - }, - "dest": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsDestination" - }, - "max_num_threads": { - "description": "The maximum number of threads to be used by the analysis. Using more\nthreads may decrease the time necessary to complete the analysis at the\ncost of using more CPU. Note that the process may use additional threads\nfor operational functionality other than the analysis itself.", - "type": "number" - }, - "model_memory_limit": { - "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try\nto create data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", - "type": "string" - }, - "source": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" - }, - "headers": { - "$ref": "#/components/schemas/_types:HttpHeaders" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - } - }, - "required": [ - "analysis", - "dest", - "source" - ] - } - } - }, - "required": true + "$ref": "#/components/requestBodies/ml.infer_trained_model" }, "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "authorization": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsAuthorization" - }, - "allow_lazy_start": { - "type": "boolean" - }, - "analysis": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" - }, - "analyzed_fields": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" - }, - "create_time": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "description": { - "type": "string" - }, - "dest": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsDestination" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "max_num_threads": { - "type": "number" - }, - "model_memory_limit": { - "type": "string" - }, - "source": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - } - }, - "required": [ - "allow_lazy_start", - "analysis", - "create_time", - "dest", - "id", - "max_num_threads", - "model_memory_limit", - "source", - "version" - ] - } - } - } + "$ref": "#/components/responses/ml.infer_trained_model#200" } } } }, - "/_ml/datafeeds/{datafeed_id}{?allow_no_indices,expand_wildcards,ignore_throttled,ignore_unavailable}": { - "put": { - "description": "Instantiates a datafeed.", + "/_ml/trained_models/{model_id}/deployment/_infer": { + "post": { + "description": "Evaluate a trained model.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/infer-trained-model.html" }, - "operationId": "ml.put_datafeed#0", + "operationId": "ml.infer_trained_model#1", "parameters": [ { - "in": "path", - "name": "datafeed_id", - "description": "A numerical character string that uniquely identifies the datafeed.\nThis identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores.\nIt must start and end with alphanumeric characters.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_indices", - "description": "If true, wildcard indices expressions that resolve into no concrete indices are ignored. This includes the `_all`\nstring or when no indices are specified.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match. If the request can target data streams, this argument determines\nwhether wildcard expressions match hidden data streams. Supports comma-separated values.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "ignore_throttled", - "description": "If true, concrete, expanded, or aliased indices are ignored when frozen.", - "deprecated": true, - "schema": { - "type": "boolean" - }, - "style": "form" + "$ref": "#/components/parameters/ml.infer_trained_model#model_id" }, { - "in": "query", - "name": "ignore_unavailable", - "description": "If true, unavailable indices (missing or closed) are ignored.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" + "$ref": "#/components/parameters/ml.infer_trained_model#timeout" } ], "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aggregations": { - "description": "If set, the datafeed performs aggregation searches.\nSupport for aggregations is limited and should be used only with low cardinality data.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "chunking_config": { - "$ref": "#/components/schemas/ml._types:ChunkingConfig" - }, - "delayed_data_check_config": { - "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" - }, - "frequency": { - "$ref": "#/components/schemas/_types:Duration" - }, - "indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "indices_options": { - "$ref": "#/components/schemas/_types:IndicesOptions" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "max_empty_searches": { - "description": "If a real-time datafeed has never seen any data (including during any initial training period), it automatically\nstops and closes the associated job after this many real-time searches return no documents. In other words,\nit stops after `frequency` times `max_empty_searches` of real-time operation. If not set, a datafeed with no\nend time that sees no data remains started until it is explicitly stopped. By default, it is not set.", - "type": "number" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "query_delay": { - "$ref": "#/components/schemas/_types:Duration" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - }, - "script_fields": { - "description": "Specifies scripts that evaluate custom expressions and returns script fields to the datafeed.\nThe detector configuration objects in a job can contain functions that use these script fields.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ScriptField" - } - }, - "scroll_size": { - "description": "The size parameter that is used in Elasticsearch searches when the datafeed does not use aggregations.\nThe maximum value is the value of `index.max_result_window`, which is 10,000 by default.", - "type": "number" - }, - "headers": { - "$ref": "#/components/schemas/_types:HttpHeaders" - } - } - } - } - }, - "required": true + "$ref": "#/components/requestBodies/ml.infer_trained_model" }, "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aggregations": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "authorization": { - "$ref": "#/components/schemas/ml._types:DatafeedAuthorization" - }, - "chunking_config": { - "$ref": "#/components/schemas/ml._types:ChunkingConfig" - }, - "delayed_data_check_config": { - "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" - }, - "datafeed_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "frequency": { - "$ref": "#/components/schemas/_types:Duration" - }, - "indices": { - "type": "array", - "items": { - "type": "string" - } - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "indices_options": { - "$ref": "#/components/schemas/_types:IndicesOptions" - }, - "max_empty_searches": { - "type": "number" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "query_delay": { - "$ref": "#/components/schemas/_types:Duration" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - }, - "script_fields": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ScriptField" - } - }, - "scroll_size": { - "type": "number" - } - }, - "required": [ - "chunking_config", - "datafeed_id", - "indices", - "job_id", - "query", - "query_delay", - "scroll_size" - ] - } - } - } + "$ref": "#/components/responses/ml.infer_trained_model#200" } } } }, - "/_ml/anomaly_detectors/{job_id}": { - "put": { - "description": "Instantiates an anomaly detection job.", + "/_ml/info": { + "get": { + "description": "Returns defaults and limits used by machine learning.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html" - }, - "operationId": "ml.put_job#0", - "parameters": [ - { - "in": "path", - "name": "job_id", - "description": "The identifier for the anomaly detection job. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "allow_lazy_open": { - "description": "Advanced configuration option. Specifies whether this job can open when there is insufficient machine learning node capacity for it to be immediately assigned to a node. By default, if a machine learning node with capacity to run the job cannot immediately be found, the open anomaly detection jobs API returns an error. However, this is also subject to the cluster-wide `xpack.ml.max_lazy_ml_nodes` setting. If this option is set to true, the open anomaly detection jobs API does not return an error and the job waits in the opening state until sufficient machine learning node capacity is available.", - "type": "boolean" - }, - "analysis_config": { - "$ref": "#/components/schemas/ml._types:AnalysisConfig" - }, - "analysis_limits": { - "$ref": "#/components/schemas/ml._types:AnalysisLimits" - }, - "background_persist_interval": { - "$ref": "#/components/schemas/_types:Duration" - }, - "custom_settings": { - "$ref": "#/components/schemas/ml._types:CustomSettings" - }, - "daily_model_snapshot_retention_after_days": { - "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job. It specifies a period of time (in days) after which only the first snapshot per day is retained. This period is relative to the timestamp of the most recent snapshot for this job. Valid values range from 0 to `model_snapshot_retention_days`.", - "type": "number" - }, - "data_description": { - "$ref": "#/components/schemas/ml._types:DataDescription" - }, - "datafeed_config": { - "$ref": "#/components/schemas/ml._types:DatafeedConfig" - }, - "description": { - "description": "A description of the job.", - "type": "string" - }, - "groups": { - "description": "A list of job groups. A job can belong to no groups or many.", - "type": "array", - "items": { - "type": "string" - } - }, - "model_plot_config": { - "$ref": "#/components/schemas/ml._types:ModelPlotConfig" - }, - "model_snapshot_retention_days": { - "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job. It specifies the maximum period of time (in days) that snapshots are retained. This period is relative to the timestamp of the most recent snapshot for this job. By default, snapshots ten days older than the newest snapshot are deleted.", - "type": "number" - }, - "renormalization_window_days": { - "description": "Advanced configuration option. The period over which adjustments to the score are applied, as new data is seen. The default value is the longer of 30 days or 100 bucket spans.", - "type": "number" - }, - "results_index_name": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "results_retention_days": { - "description": "Advanced configuration option. The period of time (in days) that results are retained. Age is calculated relative to the timestamp of the latest bucket result. If this property has a non-null value, once per day at 00:30 (server time), results that are the specified number of days older than the latest bucket result are deleted from Elasticsearch. The default value is null, which means all results are retained. Annotations generated by the system also count as results for retention purposes; they are deleted after the same number of days as results. Annotations added by users are retained forever.", - "type": "number" - } - }, - "required": [ - "analysis_config", - "data_description" - ] - } - } - }, - "required": true + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ml-info.html" }, + "operationId": "ml.info#0", "responses": { "200": { "description": "", @@ -16466,82 +17288,24 @@ "schema": { "type": "object", "properties": { - "allow_lazy_open": { - "type": "boolean" - }, - "analysis_config": { - "$ref": "#/components/schemas/ml._types:AnalysisConfigRead" - }, - "analysis_limits": { - "$ref": "#/components/schemas/ml._types:AnalysisLimits" - }, - "background_persist_interval": { - "$ref": "#/components/schemas/_types:Duration" - }, - "create_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "custom_settings": { - "$ref": "#/components/schemas/ml._types:CustomSettings" - }, - "daily_model_snapshot_retention_after_days": { - "type": "number" - }, - "data_description": { - "$ref": "#/components/schemas/ml._types:DataDescription" - }, - "datafeed_config": { - "$ref": "#/components/schemas/ml._types:Datafeed" - }, - "description": { - "type": "string" - }, - "groups": { - "type": "array", - "items": { - "type": "string" - } - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "job_type": { - "type": "string" - }, - "job_version": { - "type": "string" - }, - "model_plot_config": { - "$ref": "#/components/schemas/ml._types:ModelPlotConfig" - }, - "model_snapshot_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "model_snapshot_retention_days": { - "type": "number" + "defaults": { + "$ref": "#/components/schemas/ml.info:Defaults" }, - "renormalization_window_days": { - "type": "number" + "limits": { + "$ref": "#/components/schemas/ml.info:Limits" }, - "results_index_name": { - "type": "string" + "upgrade_mode": { + "type": "boolean" }, - "results_retention_days": { - "type": "number" + "native_code": { + "$ref": "#/components/schemas/ml.info:NativeCode" } }, "required": [ - "allow_lazy_open", - "analysis_config", - "analysis_limits", - "create_time", - "daily_model_snapshot_retention_after_days", - "data_description", - "job_id", - "job_type", - "job_version", - "model_snapshot_retention_days", - "results_index_name" + "defaults", + "limits", + "upgrade_mode", + "native_code" ] } } @@ -16550,18 +17314,18 @@ } } }, - "/_ml/trained_models/{model_id}{?defer_definition_decompression}": { - "put": { - "description": "Creates an inference trained model.", + "/_ml/anomaly_detectors/{job_id}/_open": { + "post": { + "description": "Opens one or more anomaly detection jobs.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-models.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html" }, - "operationId": "ml.put_trained_model#0", + "operationId": "ml.open_job#0", "parameters": [ { "in": "path", - "name": "model_id", - "description": "The unique identifier of the trained model.", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", "required": true, "deprecated": false, "schema": { @@ -16571,11 +17335,11 @@ }, { "in": "query", - "name": "defer_definition_decompression", - "description": "If set to `true` and a `compressed_definition` is provided, the request defers definition decompression and skips relevant validations.", + "name": "timeout", + "description": "Controls the time to wait until a job has opened.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" } @@ -16586,46 +17350,13 @@ "schema": { "type": "object", "properties": { - "compressed_definition": { - "description": "The compressed (GZipped and Base64 encoded) inference definition of the\nmodel. If compressed_definition is specified, then definition cannot be\nspecified.", - "type": "string" - }, - "definition": { - "$ref": "#/components/schemas/ml.put_trained_model:Definition" - }, - "description": { - "description": "A human-readable description of the inference trained model.", - "type": "string" - }, - "inference_config": { - "$ref": "#/components/schemas/ml._types:InferenceConfigCreateContainer" - }, - "input": { - "$ref": "#/components/schemas/ml.put_trained_model:Input" - }, - "metadata": { - "description": "An object map that contains metadata about the model.", - "type": "object" - }, - "model_type": { - "$ref": "#/components/schemas/ml._types:TrainedModelType" - }, - "model_size_bytes": { - "description": "The estimated memory usage in bytes to keep the trained model in memory.\nThis property is supported only if defer_definition_decompression is true\nor the model definition is not supplied.", - "type": "number" - }, - "tags": { - "description": "An array of tags to organize the model.", - "type": "array", - "items": { - "type": "string" - } + "timeout": { + "$ref": "#/components/schemas/_types:Duration" } } } } - }, - "required": true + } }, "responses": { "200": { @@ -16633,7 +17364,19 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ml._types:TrainedModelConfig" + "type": "object", + "properties": { + "opened": { + "type": "boolean" + }, + "node": { + "$ref": "#/components/schemas/_types:NodeId" + } + }, + "required": [ + "opened", + "node" + ] } } } @@ -16641,18 +17384,18 @@ } } }, - "/_ml/trained_models/{model_id}/model_aliases/{model_alias}{?reassign}": { - "put": { - "description": "Creates a new model alias (or reassigns an existing one) to refer to the trained model", + "/_ml/anomaly_detectors/{job_id}/_data": { + "post": { + "description": "Sends data to an anomaly detection job for analysis.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-models-aliases.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-data.html" }, - "operationId": "ml.put_trained_model_alias#0", + "operationId": "ml.post_data#0", "parameters": [ { "in": "path", - "name": "model_id", - "description": "The identifier for the trained model that the alias refers to.", + "name": "job_id", + "description": "Identifier for the anomaly detection job. The job must have a state of open to receive and process the data.", "required": true, "deprecated": false, "schema": { @@ -16661,34 +17404,110 @@ "style": "simple" }, { - "in": "path", - "name": "model_alias", - "description": "The alias to create or update. This value cannot end in numbers.", - "required": true, + "in": "query", + "name": "reset_end", + "description": "Specifies the end of the bucket resetting range.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Name" + "$ref": "#/components/schemas/_types:DateTime" }, - "style": "simple" + "style": "form" }, { "in": "query", - "name": "reassign", - "description": "Specifies whether the alias gets reassigned to the specified trained\nmodel if it is already assigned to a different model. If the alias is\nalready assigned and this parameter is false, the API returns an error.", + "name": "reset_start", + "description": "Specifies the start of the bucket resetting range.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:DateTime" }, "style": "form" } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object" + } + } + } + }, + "required": true + }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + "type": "object", + "properties": { + "bucket_count": { + "type": "number" + }, + "earliest_record_timestamp": { + "type": "number" + }, + "empty_bucket_count": { + "type": "number" + }, + "input_bytes": { + "type": "number" + }, + "input_field_count": { + "type": "number" + }, + "input_record_count": { + "type": "number" + }, + "invalid_date_count": { + "type": "number" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "last_data_time": { + "type": "number" + }, + "latest_record_timestamp": { + "type": "number" + }, + "missing_field_count": { + "type": "number" + }, + "out_of_order_timestamp_count": { + "type": "number" + }, + "processed_field_count": { + "type": "number" + }, + "processed_record_count": { + "type": "number" + }, + "sparse_bucket_count": { + "type": "number" + } + }, + "required": [ + "bucket_count", + "earliest_record_timestamp", + "empty_bucket_count", + "input_bytes", + "input_field_count", + "input_record_count", + "invalid_date_count", + "job_id", + "last_data_time", + "latest_record_timestamp", + "missing_field_count", + "out_of_order_timestamp_count", + "processed_field_count", + "processed_record_count", + "sparse_bucket_count" + ] } } } @@ -16696,6 +17515,182 @@ } } }, + "/_ml/data_frame/analytics/_preview": { + "get": { + "description": "Previews that will be analyzed given a data frame analytics config.", + "externalDocs": { + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" + }, + "operationId": "ml.preview_data_frame_analytics#0", + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_data_frame_analytics" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_data_frame_analytics#200" + } + } + }, + "post": { + "description": "Previews that will be analyzed given a data frame analytics config.", + "externalDocs": { + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" + }, + "operationId": "ml.preview_data_frame_analytics#1", + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_data_frame_analytics" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_data_frame_analytics#200" + } + } + } + }, + "/_ml/data_frame/analytics/{id}/_preview": { + "get": { + "description": "Previews that will be analyzed given a data frame analytics config.", + "externalDocs": { + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" + }, + "operationId": "ml.preview_data_frame_analytics#2", + "parameters": [ + { + "$ref": "#/components/parameters/ml.preview_data_frame_analytics#id" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_data_frame_analytics" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_data_frame_analytics#200" + } + } + }, + "post": { + "description": "Previews that will be analyzed given a data frame analytics config.", + "externalDocs": { + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" + }, + "operationId": "ml.preview_data_frame_analytics#3", + "parameters": [ + { + "$ref": "#/components/parameters/ml.preview_data_frame_analytics#id" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_data_frame_analytics" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_data_frame_analytics#200" + } + } + } + }, + "/_ml/datafeeds/{datafeed_id}/_preview": { + "get": { + "description": "Previews a datafeed.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" + }, + "operationId": "ml.preview_datafeed#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.preview_datafeed#datafeed_id" + }, + { + "$ref": "#/components/parameters/ml.preview_datafeed#start" + }, + { + "$ref": "#/components/parameters/ml.preview_datafeed#end" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_datafeed" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_datafeed#200" + } + } + }, + "post": { + "description": "Previews a datafeed.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" + }, + "operationId": "ml.preview_datafeed#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.preview_datafeed#datafeed_id" + }, + { + "$ref": "#/components/parameters/ml.preview_datafeed#start" + }, + { + "$ref": "#/components/parameters/ml.preview_datafeed#end" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_datafeed" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_datafeed#200" + } + } + } + }, + "/_ml/datafeeds/_preview": { + "get": { + "description": "Previews a datafeed.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" + }, + "operationId": "ml.preview_datafeed#2", + "parameters": [ + { + "$ref": "#/components/parameters/ml.preview_datafeed#start" + }, + { + "$ref": "#/components/parameters/ml.preview_datafeed#end" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_datafeed" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_datafeed#200" + } + } + }, + "post": { + "description": "Previews a datafeed.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" + }, + "operationId": "ml.preview_datafeed#3", + "parameters": [ + { + "$ref": "#/components/parameters/ml.preview_datafeed#start" + }, + { + "$ref": "#/components/parameters/ml.preview_datafeed#end" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_datafeed" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_datafeed#200" + } + } + } + }, "/_ml/trained_models/{model_id}/definition/{part}": { "put": { "description": "Creates part of a trained model definition", @@ -16833,7 +17828,7 @@ } } }, - "/_ml/anomaly_detectors/{job_id}/_reset{?wait_for_completion,delete_user_annotations}": { + "/_ml/anomaly_detectors/{job_id}/_reset": { "post": { "description": "Resets an existing anomaly detection job.", "externalDocs": { @@ -16887,7 +17882,7 @@ } } }, - "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert{?delete_intervening_results}": { + "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert": { "post": { "description": "Reverts to a specific snapshot.", "externalDocs": { @@ -16965,7 +17960,7 @@ } } }, - "/_ml/set_upgrade_mode{?enabled,timeout}": { + "/_ml/set_upgrade_mode": { "post": { "description": "Sets a cluster wide upgrade_mode setting that prepares machine learning indices for an upgrade.", "externalDocs": { @@ -17008,7 +18003,7 @@ } } }, - "/_ml/data_frame/analytics/{id}/_start{?timeout}": { + "/_ml/data_frame/analytics/{id}/_start": { "post": { "description": "Starts a data frame analytics job.", "externalDocs": { @@ -17064,7 +18059,7 @@ } } }, - "/_ml/datafeeds/{datafeed_id}/_start{?end,start,timeout}": { + "/_ml/datafeeds/{datafeed_id}/_start": { "post": { "description": "Starts one or more datafeeds.", "externalDocs": { @@ -17161,7 +18156,7 @@ } } }, - "/_ml/trained_models/{model_id}/deployment/_start{?cache_size,number_of_allocations,priority,queue_capacity,threads_per_allocation,timeout,wait_for}": { + "/_ml/trained_models/{model_id}/deployment/_start": { "post": { "description": "Start a trained model deployment.", "externalDocs": { @@ -17273,7 +18268,7 @@ } } }, - "/_ml/data_frame/analytics/{id}/_stop{?allow_no_match,force,timeout}": { + "/_ml/data_frame/analytics/{id}/_stop": { "post": { "description": "Stops one or more data frame analytics jobs.", "externalDocs": { @@ -17345,7 +18340,7 @@ } } }, - "/_ml/datafeeds/{datafeed_id}/_stop{?allow_no_match,force,timeout}": { + "/_ml/datafeeds/{datafeed_id}/_stop": { "post": { "description": "Stops one or more datafeeds.", "externalDocs": { @@ -17439,7 +18434,7 @@ } } }, - "/_ml/trained_models/{model_id}/deployment/_stop{?allow_no_match,force}": { + "/_ml/trained_models/{model_id}/deployment/_stop": { "post": { "description": "Stop a trained model deployment.", "externalDocs": { @@ -17533,7 +18528,7 @@ }, "model_memory_limit": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-settings.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" }, "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try\nto create data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", "type": "string" @@ -17544,7 +18539,7 @@ }, "allow_lazy_start": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-settings.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" }, "description": "Specifies whether this job can start when there is insufficient machine\nlearning node capacity for it to be immediately assigned to a node.", "type": "boolean" @@ -17618,7 +18613,7 @@ } } }, - "/_ml/datafeeds/{datafeed_id}/_update{?allow_no_indices,expand_wildcards,ignore_throttled,ignore_unavailable}": { + "/_ml/datafeeds/{datafeed_id}/_update": { "post": { "description": "Updates certain properties of a datafeed.", "externalDocs": { @@ -17933,7 +18928,7 @@ "properties": { "allow_lazy_open": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-settings.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" }, "description": "Advanced configuration option. Specifies whether this job can open when\nthere is insufficient machine learning node capacity for it to be\nimmediately assigned to a node. If `false` and a machine learning node\nwith capacity to run the job cannot immediately be found, the open\nanomaly detection jobs API returns an error. However, this is also\nsubject to the cluster-wide `xpack.ml.max_lazy_ml_nodes` setting. If this\noption is set to `true`, the open anomaly detection jobs API does not\nreturn an error and the job waits in the opening state until sufficient\nmachine learning node capacity is available.", "type": "boolean" @@ -17969,14 +18964,14 @@ }, "daily_model_snapshot_retention_after_days": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/machine-learning/{branch}/ml-ad-run-jobs.html#ml-ad-model-snapshots" + "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-ad-run-jobs.html#ml-ad-model-snapshots" }, "description": "Advanced configuration option, which affects the automatic removal of old\nmodel snapshots for this job. It specifies a period of time (in days)\nafter which only the first snapshot per day is retained. This period is\nrelative to the timestamp of the most recent snapshot for this job. Valid\nvalues range from 0 to `model_snapshot_retention_days`. For jobs created\nbefore version 7.8.0, the default value matches\n`model_snapshot_retention_days`.", "type": "number" }, "model_snapshot_retention_days": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/machine-learning/{branch}/ml-ad-run-jobs.html#ml-ad-model-snapshots" + "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-ad-run-jobs.html#ml-ad-model-snapshots" }, "description": "Advanced configuration option, which affects the automatic removal of old\nmodel snapshots for this job. It specifies the maximum period of time (in\ndays) that snapshots are retained. This period is relative to the\ntimestamp of the most recent snapshot for this job.", "type": "number" @@ -18187,7 +19182,7 @@ } } }, - "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade{?wait_for_completion,timeout}": { + "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade": { "post": { "description": "Upgrades a given job snapshot to the current major version.", "externalDocs": { @@ -18356,7 +19351,7 @@ } } }, - "/_monitoring/bulk{?system_id,system_api_version,interval}": { + "/_monitoring/bulk": { "put": { "description": "Used by the monitoring features to send monitoring data.", "externalDocs": { @@ -18410,7 +19405,7 @@ } } }, - "/_monitoring/{type}/bulk{?system_id,system_api_version,interval}": { + "/_monitoring/{type}/bulk": { "put": { "description": "Used by the monitoring features to send monitoring data.", "externalDocs": { @@ -18470,7 +19465,7 @@ } } }, - "/_msearch{?allow_no_indices,ccs_minimize_roundtrips,expand_wildcards,ignore_throttled,ignore_unavailable,max_concurrent_searches,max_concurrent_shard_requests,pre_filter_shard_size,rest_total_hits_as_int,routing,search_type,typed_keys}": { + "/_msearch": { "get": { "description": "Allows to execute several search operations in one request.", "externalDocs": { @@ -18578,7 +19573,7 @@ } } }, - "/{index}/_msearch{?allow_no_indices,ccs_minimize_roundtrips,expand_wildcards,ignore_throttled,ignore_unavailable,max_concurrent_searches,max_concurrent_shard_requests,pre_filter_shard_size,rest_total_hits_as_int,routing,search_type,typed_keys}": { + "/{index}/_msearch": { "get": { "description": "Allows to execute several search operations in one request.", "externalDocs": { @@ -18692,7 +19687,7 @@ } } }, - "/_msearch/template{?ccs_minimize_roundtrips,max_concurrent_searches,search_type,rest_total_hits_as_int,typed_keys}": { + "/_msearch/template": { "get": { "description": "Allows to execute several search template operations in one request.", "externalDocs": { @@ -18758,7 +19753,7 @@ } } }, - "/{index}/_msearch/template{?ccs_minimize_roundtrips,max_concurrent_searches,search_type,rest_total_hits_as_int,typed_keys}": { + "/{index}/_msearch/template": { "get": { "description": "Allows to execute several search template operations in one request.", "externalDocs": { @@ -18830,7 +19825,7 @@ } } }, - "/_mtermvectors{?ids,fields,field_statistics,offsets,payloads,positions,preference,realtime,routing,term_statistics,version,version_type}": { + "/_mtermvectors": { "get": { "description": "Returns multiple termvectors in one request.", "externalDocs": { @@ -18938,7 +19933,7 @@ } } }, - "/{index}/_mtermvectors{?ids,fields,field_statistics,offsets,payloads,positions,preference,realtime,routing,term_statistics,version,version_type}": { + "/{index}/_mtermvectors": { "get": { "description": "Returns multiple termvectors in one request.", "externalDocs": { @@ -19053,7 +20048,7 @@ } }, "/_nodes/{node_id}/_repositories_metering/{max_archive_version}": { - "put": { + "delete": { "description": "Removes the archived repositories metering information present in the cluster.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-repositories-metering-archive-api.html" @@ -19131,11 +20126,11 @@ } } }, - "/_nodes/hot_threads{?ignore_idle_threads,interval,snapshots,master_timeout,threads,timeout,type,sort}": { + "/_nodes/hot_threads": { "get": { "description": "Returns information about hot threads on each node in the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-hot-threads.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-hot-threads.html" }, "operationId": "nodes.hot_threads#0", "parameters": [ @@ -19171,11 +20166,11 @@ } } }, - "/_nodes/{node_id}/hot_threads{?ignore_idle_threads,interval,snapshots,master_timeout,threads,timeout,type,sort}": { + "/_nodes/{node_id}/hot_threads": { "get": { "description": "Returns information about hot threads on each node in the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-hot-threads.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-hot-threads.html" }, "operationId": "nodes.hot_threads#1", "parameters": [ @@ -19214,11 +20209,11 @@ } } }, - "/_nodes{?flat_settings,master_timeout,timeout}": { + "/_nodes": { "get": { "description": "Returns information about nodes in the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-info.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html" }, "operationId": "nodes.info#0", "parameters": [ @@ -19239,11 +20234,11 @@ } } }, - "/_nodes/{node_id}{?flat_settings,master_timeout,timeout}": { + "/_nodes/{node_id}": { "get": { "description": "Returns information about nodes in the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-info.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html" }, "operationId": "nodes.info#1", "parameters": [ @@ -19267,11 +20262,11 @@ } } }, - "/_nodes/{metric}{?flat_settings,master_timeout,timeout}": { + "/_nodes/{metric}": { "get": { "description": "Returns information about nodes in the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-info.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html" }, "operationId": "nodes.info#2", "parameters": [ @@ -19295,11 +20290,11 @@ } } }, - "/_nodes/{node_id}/{metric}{?flat_settings,master_timeout,timeout}": { + "/_nodes/{node_id}/{metric}": { "get": { "description": "Returns information about nodes in the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-info.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html" }, "operationId": "nodes.info#3", "parameters": [ @@ -19326,7 +20321,7 @@ } } }, - "/_nodes/reload_secure_settings{?timeout}": { + "/_nodes/reload_secure_settings": { "post": { "description": "Reloads secure settings.", "externalDocs": { @@ -19348,7 +20343,7 @@ } } }, - "/_nodes/{node_id}/reload_secure_settings{?timeout}": { + "/_nodes/{node_id}/reload_secure_settings": { "post": { "description": "Reloads secure settings.", "externalDocs": { @@ -19373,11 +20368,11 @@ } } }, - "/_nodes/stats{?completion_fields,fielddata_fields,fields,groups,include_segment_file_sizes,level,master_timeout,timeout,types,include_unloaded_segments}": { + "/_nodes/stats": { "get": { "description": "Returns statistical information about nodes in the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-stats.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" }, "operationId": "nodes.stats#0", "parameters": [ @@ -19419,11 +20414,11 @@ } } }, - "/_nodes/{node_id}/stats{?completion_fields,fielddata_fields,fields,groups,include_segment_file_sizes,level,master_timeout,timeout,types,include_unloaded_segments}": { + "/_nodes/{node_id}/stats": { "get": { "description": "Returns statistical information about nodes in the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-stats.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" }, "operationId": "nodes.stats#1", "parameters": [ @@ -19468,11 +20463,11 @@ } } }, - "/_nodes/stats/{metric}{?completion_fields,fielddata_fields,fields,groups,include_segment_file_sizes,level,master_timeout,timeout,types,include_unloaded_segments}": { + "/_nodes/stats/{metric}": { "get": { "description": "Returns statistical information about nodes in the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-stats.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" }, "operationId": "nodes.stats#2", "parameters": [ @@ -19517,11 +20512,11 @@ } } }, - "/_nodes/{node_id}/stats/{metric}{?completion_fields,fielddata_fields,fields,groups,include_segment_file_sizes,level,master_timeout,timeout,types,include_unloaded_segments}": { + "/_nodes/{node_id}/stats/{metric}": { "get": { "description": "Returns statistical information about nodes in the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-stats.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" }, "operationId": "nodes.stats#3", "parameters": [ @@ -19569,11 +20564,11 @@ } } }, - "/_nodes/stats/{metric}/{index_metric}{?completion_fields,fielddata_fields,fields,groups,include_segment_file_sizes,level,master_timeout,timeout,types,include_unloaded_segments}": { + "/_nodes/stats/{metric}/{index_metric}": { "get": { "description": "Returns statistical information about nodes in the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-stats.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" }, "operationId": "nodes.stats#4", "parameters": [ @@ -19621,11 +20616,11 @@ } } }, - "/_nodes/{node_id}/stats/{metric}/{index_metric}{?completion_fields,fielddata_fields,fields,groups,include_segment_file_sizes,level,master_timeout,timeout,types,include_unloaded_segments}": { + "/_nodes/{node_id}/stats/{metric}/{index_metric}": { "get": { "description": "Returns statistical information about nodes in the cluster.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-stats.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" }, "operationId": "nodes.stats#5", "parameters": [ @@ -19676,11 +20671,11 @@ } } }, - "/_nodes/usage{?timeout}": { + "/_nodes/usage": { "get": { "description": "Returns low-level information about REST actions usage on nodes.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-usage.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-usage.html" }, "operationId": "nodes.usage#0", "parameters": [ @@ -19695,11 +20690,11 @@ } } }, - "/_nodes/{node_id}/usage{?timeout}": { + "/_nodes/{node_id}/usage": { "get": { "description": "Returns low-level information about REST actions usage on nodes.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-usage.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-usage.html" }, "operationId": "nodes.usage#1", "parameters": [ @@ -19717,11 +20712,11 @@ } } }, - "/_nodes/usage/{metric}{?timeout}": { + "/_nodes/usage/{metric}": { "get": { "description": "Returns low-level information about REST actions usage on nodes.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-usage.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-usage.html" }, "operationId": "nodes.usage#2", "parameters": [ @@ -19739,11 +20734,11 @@ } } }, - "/_nodes/{node_id}/usage/{metric}{?timeout}": { + "/_nodes/{node_id}/usage/{metric}": { "get": { "description": "Returns low-level information about REST actions usage on nodes.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-usage.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-usage.html" }, "operationId": "nodes.usage#3", "parameters": [ @@ -19764,11 +20759,11 @@ } } }, - "/{index}/_pit{?keep_alive,ignore_unavailable,preference,routing,expand_wildcards}": { + "/{index}/_pit": { "post": { "description": "Open a point in time that can be used in subsequent searches", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/point-in-time-api.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/point-in-time-api.html" }, "operationId": "open_point_in_time#0", "parameters": [ @@ -19786,7 +20781,7 @@ { "in": "query", "name": "keep_alive", - "description": "Specific the time to live for the point in time", + "description": "Extends the time to live of the corresponding point in time.", "required": true, "deprecated": false, "schema": { @@ -19797,7 +20792,7 @@ { "in": "query", "name": "ignore_unavailable", - "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", "deprecated": false, "schema": { "type": "boolean" @@ -19807,7 +20802,7 @@ { "in": "query", "name": "preference", - "description": "Specify the node or shard the operation should be performed on (default: random)", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", "deprecated": false, "schema": { "type": "string" @@ -19817,7 +20812,7 @@ { "in": "query", "name": "routing", - "description": "Specific routing value", + "description": "Custom value used to route operations to a specific shard.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Routing" @@ -19827,7 +20822,7 @@ { "in": "query", "name": "expand_wildcards", - "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`. Valid values are: `all`, `open`, `closed`, `hidden`, `none`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:ExpandWildcards" @@ -19857,7 +20852,7 @@ } } }, - "/_scripts/{id}/{context}{?master_timeout,timeout}": { + "/_scripts/{id}/{context}": { "put": { "description": "Creates or updates a script.", "externalDocs": { @@ -19918,6 +20913,38 @@ } }, "/_query_rules/{ruleset_id}": { + "get": { + "description": "Returns the details about a query ruleset.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-query-ruleset.html" + }, + "operationId": "query_ruleset.get#0", + "parameters": [ + { + "in": "path", + "name": "ruleset_id", + "description": "The unique identifier of the query ruleset", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/query_ruleset._types:QueryRuleset" + } + } + } + } + } + }, "put": { "description": "Creates or updates a query ruleset.", "externalDocs": { @@ -19967,9 +20994,41 @@ } } } + }, + "delete": { + "description": "Deletes a query ruleset.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-query-ruleset.html" + }, + "operationId": "query_ruleset.delete#0", + "parameters": [ + { + "in": "path", + "name": "ruleset_id", + "description": "The unique identifier of the query ruleset to delete", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } } }, - "/_query_rules{?from,size}": { + "/_query_rules": { "get": { "description": "Lists query rulesets.", "externalDocs": { @@ -20027,7 +21086,7 @@ } } }, - "/_rank_eval{?allow_no_indices,expand_wildcards,ignore_unavailable,search_type}": { + "/_rank_eval": { "get": { "description": "Allows to evaluate the quality of ranked search results over a set of typical search queries", "externalDocs": { @@ -20087,7 +21146,7 @@ } } }, - "/{index}/_rank_eval{?allow_no_indices,expand_wildcards,ignore_unavailable,search_type}": { + "/{index}/_rank_eval": { "get": { "description": "Allows to evaluate the quality of ranked search results over a set of typical search queries", "externalDocs": { @@ -20153,7 +21212,7 @@ } } }, - "/_reindex{?refresh,requests_per_second,scroll,slices,timeout,wait_for_active_shards,wait_for_completion,require_alias}": { + "/_reindex": { "post": { "description": "Allows to copy documents from one index to another, optionally filtering the source\ndocuments by a query, changing the destination index settings, or fetching the\ndocuments from a remote cluster.", "externalDocs": { @@ -20164,7 +21223,7 @@ { "in": "query", "name": "refresh", - "description": "Should the affected indexes be refreshed?", + "description": "If `true`, the request refreshes affected shards to make this operation visible to search.", "deprecated": false, "schema": { "type": "boolean" @@ -20174,7 +21233,7 @@ { "in": "query", "name": "requests_per_second", - "description": "The throttle to set on this request in sub-requests per second. -1 means no throttle.", + "description": "The throttle for this request in sub-requests per second.\nDefaults to no throttle.", "deprecated": false, "schema": { "type": "number" @@ -20184,7 +21243,7 @@ { "in": "query", "name": "scroll", - "description": "Control how long to keep the search context alive", + "description": "Specifies how long a consistent view of the index should be maintained for scrolled search.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -20194,7 +21253,7 @@ { "in": "query", "name": "slices", - "description": "The number of slices this task should be divided into. Defaults to 1, meaning the task isn't sliced into subtasks. Can be set to `auto`.", + "description": "The number of slices this task should be divided into.\nDefaults to 1 slice, meaning the task isn’t sliced into subtasks.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Slices" @@ -20204,7 +21263,7 @@ { "in": "query", "name": "timeout", - "description": "Time each individual bulk request should wait for shards that are unavailable.", + "description": "Period each indexing waits for automatic index creation, dynamic mapping updates, and waiting for active shards.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -20214,7 +21273,7 @@ { "in": "query", "name": "wait_for_active_shards", - "description": "Sets the number of shard copies that must be active before proceeding with the reindex operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:WaitForActiveShards" @@ -20224,7 +21283,7 @@ { "in": "query", "name": "wait_for_completion", - "description": "Should the request should block until the reindex is complete.", + "description": "If `true`, the request blocks until the operation is complete.", "deprecated": false, "schema": { "type": "boolean" @@ -20234,6 +21293,7 @@ { "in": "query", "name": "require_alias", + "description": "If `true`, the destination must be an index alias.", "deprecated": false, "schema": { "type": "boolean" @@ -20254,6 +21314,7 @@ "$ref": "#/components/schemas/_global.reindex:Destination" }, "max_docs": { + "description": "The maximum number of documents to reindex.", "type": "number" }, "script": { @@ -20342,7 +21403,7 @@ } } }, - "/_reindex/{task_id}/_rethrottle{?requests_per_second}": { + "/_reindex/{task_id}/_rethrottle": { "post": { "description": "Changes the number of requests per second for a particular Reindex operation.", "externalDocs": { @@ -20353,7 +21414,7 @@ { "in": "path", "name": "task_id", - "description": "The task id to rethrottle", + "description": "Identifier for the task.", "required": true, "deprecated": false, "schema": { @@ -20364,7 +21425,7 @@ { "in": "query", "name": "requests_per_second", - "description": "The throttle to set on this request in floating sub-requests per second. -1 means set no throttle.", + "description": "The throttle for this request in sub-requests per second.", "deprecated": false, "schema": { "type": "number" @@ -20472,6 +21533,23 @@ } }, "/_rollup/job/{id}": { + "get": { + "description": "Retrieves the configuration, stats, and status of rollup jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-job.html" + }, + "operationId": "rollup.get_jobs#0", + "parameters": [ + { + "$ref": "#/components/parameters/rollup.get_jobs#id" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/rollup.get_jobs#200" + } + } + }, "put": { "description": "Creates a rollup job.", "externalDocs": { @@ -20553,6 +21631,52 @@ } } } + }, + "delete": { + "description": "Deletes an existing rollup job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-delete-job.html" + }, + "operationId": "rollup.delete_job#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "task_failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:TaskFailure" + } + } + }, + "required": [ + "acknowledged" + ] + } + } + } + } + } } }, "/_rollup/job": { @@ -20613,7 +21737,7 @@ { "in": "path", "name": "index", - "description": "The rollup index or index pattern to obtain rollup capabilities from.", + "description": "Data stream or index to check for rollup capabilities.\nWildcard (`*`) expressions are supported.", "required": true, "deprecated": false, "schema": { @@ -20639,7 +21763,7 @@ } } }, - "/{index}/_rollup_search{?rest_total_hits_as_int,typed_keys}": { + "/{index}/_rollup_search": { "get": { "description": "Enables searching rolled-up data using the standard query DSL.", "externalDocs": { @@ -20704,7 +21828,7 @@ { "in": "path", "name": "id", - "description": "The ID of the job to start", + "description": "Identifier for the rollup job.", "required": true, "deprecated": false, "schema": { @@ -20735,7 +21859,7 @@ } } }, - "/_rollup/job/{id}/_stop{?timeout,wait_for_completion}": { + "/_rollup/job/{id}/_stop": { "post": { "description": "Stops an existing, started rollup job.", "externalDocs": { @@ -20746,7 +21870,7 @@ { "in": "path", "name": "id", - "description": "The ID of the job to stop", + "description": "Identifier for the rollup job.", "required": true, "deprecated": false, "schema": { @@ -20757,7 +21881,7 @@ { "in": "query", "name": "timeout", - "description": "Block for (at maximum) the specified duration while waiting for the job to stop. Defaults to 30s.", + "description": "If `wait_for_completion` is `true`, the API blocks for (at maximum) the specified duration while waiting for the job to stop.\nIf more than `timeout` time has passed, the API throws a timeout exception.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -20767,7 +21891,7 @@ { "in": "query", "name": "wait_for_completion", - "description": "True if the API should block until the job has fully stopped, false if should be executed async. Defaults to false.", + "description": "If set to `true`, causes the API to block until the indexer state completely stops.\nIf set to `false`, the API returns immediately and the indexer is stopped asynchronously in the background.", "deprecated": false, "schema": { "type": "boolean" @@ -20829,121 +21953,7 @@ } } }, - "/_search/scroll{?scroll,scroll_id,rest_total_hits_as_int}": { - "get": { - "description": "Allows to retrieve a large numbers of results from a single search request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" - }, - "operationId": "scroll#0", - "parameters": [ - { - "$ref": "#/components/parameters/scroll#scroll" - }, - { - "$ref": "#/components/parameters/scroll#scroll_id" - }, - { - "$ref": "#/components/parameters/scroll#rest_total_hits_as_int" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/scroll" - }, - "responses": { - "200": { - "$ref": "#/components/responses/scroll#200" - } - } - }, - "post": { - "description": "Allows to retrieve a large numbers of results from a single search request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" - }, - "operationId": "scroll#1", - "parameters": [ - { - "$ref": "#/components/parameters/scroll#scroll" - }, - { - "$ref": "#/components/parameters/scroll#scroll_id" - }, - { - "$ref": "#/components/parameters/scroll#rest_total_hits_as_int" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/scroll" - }, - "responses": { - "200": { - "$ref": "#/components/responses/scroll#200" - } - } - } - }, - "/_search/scroll/{scroll_id}{?scroll,scroll_id,rest_total_hits_as_int}": { - "get": { - "description": "Allows to retrieve a large numbers of results from a single search request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" - }, - "operationId": "scroll#2", - "parameters": [ - { - "$ref": "#/components/parameters/scroll#scroll_id" - }, - { - "$ref": "#/components/parameters/scroll#scroll" - }, - { - "$ref": "#/components/parameters/scroll#scroll_id" - }, - { - "$ref": "#/components/parameters/scroll#rest_total_hits_as_int" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/scroll" - }, - "responses": { - "200": { - "$ref": "#/components/responses/scroll#200" - } - } - }, - "post": { - "description": "Allows to retrieve a large numbers of results from a single search request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" - }, - "operationId": "scroll#3", - "parameters": [ - { - "$ref": "#/components/parameters/scroll#scroll_id" - }, - { - "$ref": "#/components/parameters/scroll#scroll" - }, - { - "$ref": "#/components/parameters/scroll#scroll_id" - }, - { - "$ref": "#/components/parameters/scroll#rest_total_hits_as_int" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/scroll" - }, - "responses": { - "200": { - "$ref": "#/components/responses/scroll#200" - } - } - } - }, - "/_search{?allow_no_indices,allow_partial_search_results,analyzer,analyze_wildcard,batched_reduce_size,ccs_minimize_roundtrips,default_operator,df,docvalue_fields,expand_wildcards,explain,ignore_throttled,ignore_unavailable,lenient,max_concurrent_shard_requests,min_compatible_shard_node,preference,pre_filter_shard_size,request_cache,routing,scroll,search_type,stats,stored_fields,suggest_field,suggest_mode,suggest_size,suggest_text,terminate_after,timeout,track_total_hits,track_scores,typed_keys,rest_total_hits_as_int,version,_source,_source_excludes,_source_includes,seq_no_primary_term,q,size,from,sort}": { + "/_search": { "get": { "description": "Returns results matching a query.", "externalDocs": { @@ -21237,7 +22247,7 @@ } } }, - "/{index}/_search{?allow_no_indices,allow_partial_search_results,analyzer,analyze_wildcard,batched_reduce_size,ccs_minimize_roundtrips,default_operator,df,docvalue_fields,expand_wildcards,explain,ignore_throttled,ignore_unavailable,lenient,max_concurrent_shard_requests,min_compatible_shard_node,preference,pre_filter_shard_size,request_cache,routing,scroll,search_type,stats,stored_fields,suggest_field,suggest_mode,suggest_size,suggest_text,terminate_after,timeout,track_total_hits,track_scores,typed_keys,rest_total_hits_as_int,version,_source,_source_excludes,_source_includes,seq_no_primary_term,q,size,from,sort}": { + "/{index}/_search": { "get": { "description": "Returns results matching a query.", "externalDocs": { @@ -21569,9 +22579,118 @@ } } } + }, + "put": { + "description": "Creates or updates a search application.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-search-application.html" + }, + "operationId": "search_application.put#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "The name of the search application to be created or updated.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "create", + "description": "If `true`, this request cannot replace or update existing Search Applications.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/search_application._types:SearchApplication" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/components/schemas/_types:Result" + } + }, + "required": [ + "result" + ] + } + } + } + } + } + }, + "delete": { + "description": "Deletes a search application.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-search-application.html" + }, + "operationId": "search_application.delete#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "The name of the search application to delete", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } } }, "/_application/analytics/{name}": { + "get": { + "description": "Returns the existing behavioral analytics collections.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-analytics-collection.html" + }, + "operationId": "search_application.get_behavioral_analytics#1", + "parameters": [ + { + "$ref": "#/components/parameters/search_application.get_behavioral_analytics#name" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/search_application.get_behavioral_analytics#200" + } + } + }, "put": { "description": "Creates a behavioral analytics collection.", "externalDocs": { @@ -21582,7 +22701,7 @@ { "in": "path", "name": "name", - "description": "The name of the analytics collection to be created or updated", + "description": "The name of the analytics collection to be created or updated.", "required": true, "deprecated": false, "schema": { @@ -21603,6 +22722,38 @@ } } } + }, + "delete": { + "description": "Delete a behavioral analytics collection.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-analytics-collection.html" + }, + "operationId": "search_application.delete_behavioral_analytics#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "The name of the analytics collection to be deleted", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } } }, "/_application/analytics": { @@ -21619,7 +22770,7 @@ } } }, - "/_application/search_application{?q,from,size}": { + "/_application/search_application": { "get": { "description": "Returns the existing search applications.", "externalDocs": { @@ -21630,7 +22781,7 @@ { "in": "query", "name": "q", - "description": "Query in the Lucene query string syntax\"", + "description": "Query in the Lucene query string syntax.", "deprecated": false, "schema": { "type": "string" @@ -21640,7 +22791,7 @@ { "in": "query", "name": "from", - "description": "Starting offset (default: 0)", + "description": "Starting offset.", "deprecated": false, "schema": { "type": "number" @@ -21650,7 +22801,7 @@ { "in": "query", "name": "size", - "description": "specifies a max number of results to get", + "description": "Specifies a max number of results to get.", "deprecated": false, "schema": { "type": "number" @@ -21687,68 +22838,6 @@ } } }, - "/_application/search_application/{name}{?create}": { - "put": { - "description": "Creates or updates a search application.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-search-application.html" - }, - "operationId": "search_application.put#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "The name of the search application to be created or updated", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "query", - "name": "create", - "description": "If true, requires that a search application with the specified resource_id does not already exist. (default: false)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/search_application._types:SearchApplication" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "result": { - "$ref": "#/components/schemas/_types:Result" - } - }, - "required": [ - "result" - ] - } - } - } - } - } - } - }, "/_application/search_application/{name}/_search": { "get": { "description": "Perform a search against a search application", @@ -21791,7 +22880,7 @@ } } }, - "/{index}/_mvt/{field}/{zoom}/{x}/{y}{?exact_bounds,extent,grid_agg,grid_precision,grid_type,size,with_labels}": { + "/{index}/_mvt/{field}/{zoom}/{x}/{y}": { "get": { "description": "Searches a vector tile for geospatial values. Returns results as a binary Mapbox vector tile.", "externalDocs": { @@ -21899,7 +22988,7 @@ } } }, - "/_search_shards{?allow_no_indices,expand_wildcards,ignore_unavailable,local,preference,routing}": { + "/_search_shards": { "get": { "description": "Returns information about the indices and shards that a search request would be executed against.", "externalDocs": { @@ -21965,7 +23054,7 @@ } } }, - "/{index}/_search_shards{?allow_no_indices,expand_wildcards,ignore_unavailable,local,preference,routing}": { + "/{index}/_search_shards": { "get": { "description": "Returns information about the indices and shards that a search request would be executed against.", "externalDocs": { @@ -22037,7 +23126,7 @@ } } }, - "/_search/template{?allow_no_indices,ccs_minimize_roundtrips,expand_wildcards,explain,ignore_throttled,ignore_unavailable,preference,profile,routing,scroll,search_type,rest_total_hits_as_int,typed_keys}": { + "/_search/template": { "get": { "description": "Allows to use the Mustache language to pre-render a search definition.", "externalDocs": { @@ -22151,7 +23240,7 @@ } } }, - "/{index}/_search/template{?allow_no_indices,ccs_minimize_roundtrips,expand_wildcards,explain,ignore_throttled,ignore_unavailable,preference,profile,routing,scroll,search_type,rest_total_hits_as_int,typed_keys}": { + "/{index}/_search/template": { "get": { "description": "Allows to use the Mustache language to pre-render a search definition.", "externalDocs": { @@ -22271,7 +23360,7 @@ } } }, - "/_searchable_snapshots/cache/stats{?master_timeout}": { + "/_searchable_snapshots/cache/stats": { "get": { "description": "Retrieve node-level cache statistics about searchable snapshots.", "externalDocs": { @@ -22290,7 +23379,7 @@ } } }, - "/_searchable_snapshots/{node_id}/cache/stats{?master_timeout}": { + "/_searchable_snapshots/{node_id}/cache/stats": { "get": { "description": "Retrieve node-level cache statistics about searchable snapshots.", "externalDocs": { @@ -22312,7 +23401,7 @@ } } }, - "/_searchable_snapshots/cache/clear{?expand_wildcards,allow_no_indices,ignore_unavailable,pretty,human}": { + "/_searchable_snapshots/cache/clear": { "post": { "description": "Clear the cache of searchable snapshots.", "externalDocs": { @@ -22343,7 +23432,7 @@ } } }, - "/{index}/_searchable_snapshots/cache/clear{?expand_wildcards,allow_no_indices,ignore_unavailable,pretty,human}": { + "/{index}/_searchable_snapshots/cache/clear": { "post": { "description": "Clear the cache of searchable snapshots.", "externalDocs": { @@ -22377,7 +23466,7 @@ } } }, - "/_snapshot/{repository}/{snapshot}/_mount{?master_timeout,wait_for_completion,storage}": { + "/_snapshot/{repository}/{snapshot}/_mount": { "post": { "description": "Mount a snapshot as a searchable index.", "externalDocs": { @@ -22493,7 +23582,7 @@ } } }, - "/_searchable_snapshots/stats{?level}": { + "/_searchable_snapshots/stats": { "get": { "description": "Retrieve shard-level statistics about searchable snapshots.", "externalDocs": { @@ -22512,7 +23601,7 @@ } } }, - "/{index}/_searchable_snapshots/stats{?level}": { + "/{index}/_searchable_snapshots/stats": { "get": { "description": "Retrieve shard-level statistics about searchable snapshots.", "externalDocs": { @@ -22666,7 +23755,7 @@ } } }, - "/_security/user/{username}/_password{?refresh}": { + "/_security/user/{username}/_password": { "put": { "description": "Changes the passwords of users in the native realm and built-in users.", "externalDocs": { @@ -22714,7 +23803,7 @@ } } }, - "/_security/user/_password{?refresh}": { + "/_security/user/_password": { "put": { "description": "Changes the passwords of users in the native realm and built-in users.", "externalDocs": { @@ -22862,7 +23951,7 @@ } } }, - "/_security/realm/{realms}/_clear_cache{?usernames}": { + "/_security/realm/{realms}/_clear_cache": { "post": { "description": "Evicts users from the user cache. Can completely clear the cache or evict specific users.", "externalDocs": { @@ -23056,7 +24145,99 @@ } } }, - "/_security/api_key{?refresh}": { + "/_security/api_key": { + "get": { + "description": "Retrieves information for one or more API keys.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-api-key.html" + }, + "operationId": "security.get_api_key#0", + "parameters": [ + { + "in": "query", + "name": "id", + "description": "An API key id.\nThis parameter cannot be used with any of `name`, `realm_name` or `username`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "form" + }, + { + "in": "query", + "name": "name", + "description": "An API key name.\nThis parameter cannot be used with any of `id`, `realm_name` or `username`.\nIt supports prefix search with wildcard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "form" + }, + { + "in": "query", + "name": "owner", + "description": "A boolean flag that can be used to query API keys owned by the currently authenticated user.\nThe `realm_name` or `username` parameters cannot be specified when this parameter is set to `true` as they are assumed to be the currently authenticated ones.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "realm_name", + "description": "The name of an authentication realm.\nThis parameter cannot be used with either `id` or `name` or when `owner` flag is set to `true`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "form" + }, + { + "in": "query", + "name": "username", + "description": "The username of a user.\nThis parameter cannot be used with either `id` or `name` or when `owner` flag is set to `true`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Username" + }, + "style": "form" + }, + { + "in": "query", + "name": "with_limited_by", + "description": "Return the snapshot of the owner user's role descriptors\nassociated with the API key. An API key's actual\npermission is the intersection of its assigned role\ndescriptors and the owner user's role descriptors.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "api_keys": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:ApiKey" + } + } + }, + "required": [ + "api_keys" + ] + } + } + } + } + } + }, "put": { "description": "Creates an API key for access without requiring basic authentication.", "externalDocs": { @@ -23096,10 +24277,145 @@ "$ref": "#/components/responses/security.create_api_key#200" } } + }, + "delete": { + "description": "Invalidates one or more API keys.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-api-key.html" + }, + "operationId": "security.invalidate_api_key#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "ids": { + "description": "A list of API key ids.\nThis parameter cannot be used with any of `name`, `realm_name`, or `username`.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "owner": { + "description": "Can be used to query API keys owned by the currently authenticated user.\nThe `realm_name` or `username` parameters cannot be specified when this parameter is set to `true` as they are assumed to be the currently authenticated ones.", + "type": "boolean" + }, + "realm_name": { + "description": "The name of an authentication realm.\nThis parameter cannot be used with either `ids` or `name`, or when `owner` flag is set to `true`.", + "type": "string" + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "error_count": { + "type": "number" + }, + "error_details": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + }, + "invalidated_api_keys": { + "type": "array", + "items": { + "type": "string" + } + }, + "previously_invalidated_api_keys": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "error_count", + "invalidated_api_keys", + "previously_invalidated_api_keys" + ] + } + } + } + } + } } }, - "/_security/service/{namespace}/{service}/credential/token/{name}{?refresh}": { + "/_security/service/{namespace}/{service}/credential/token/{name}": { "put": { + "description": "Creates a service account token for access without requiring basic authentication.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-service-token.html" + }, + "operationId": "security.create_service_token#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.create_service_token#namespace" + }, + { + "$ref": "#/components/parameters/security.create_service_token#service" + }, + { + "$ref": "#/components/parameters/security.create_service_token#name" + }, + { + "$ref": "#/components/parameters/security.create_service_token#refresh" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.create_service_token#200" + } + } + }, + "post": { + "description": "Creates a service account token for access without requiring basic authentication.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-service-token.html" + }, + "operationId": "security.create_service_token#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.create_service_token#namespace" + }, + { + "$ref": "#/components/parameters/security.create_service_token#service" + }, + { + "$ref": "#/components/parameters/security.create_service_token#name" + }, + { + "$ref": "#/components/parameters/security.create_service_token#refresh" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.create_service_token#200" + } + } + }, + "delete": { "description": "Deletes a service account token.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-service-token.html" @@ -23172,7 +24488,7 @@ } } }, - "/_security/service/{namespace}/{service}/credential/token{?refresh}": { + "/_security/service/{namespace}/{service}/credential/token": { "post": { "description": "Creates a service account token for access without requiring basic authentication.", "externalDocs": { @@ -23197,8 +24513,28 @@ } } }, - "/_security/privilege/{application}/{name}{?refresh}": { - "put": { + "/_security/privilege/{application}/{name}": { + "get": { + "description": "Retrieves application privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html" + }, + "operationId": "security.get_privileges#2", + "parameters": [ + { + "$ref": "#/components/parameters/security.get_privileges#application" + }, + { + "$ref": "#/components/parameters/security.get_privileges#name" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.get_privileges#200" + } + } + }, + "delete": { "description": "Removes application privileges.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-privilege.html" @@ -23258,7 +24594,24 @@ } } }, - "/_security/role/{name}{?refresh}": { + "/_security/role/{name}": { + "get": { + "description": "Retrieves roles in the native realm.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html" + }, + "operationId": "security.get_role#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.get_role#name" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.get_role#200" + } + } + }, "put": { "description": "Adds and updates roles in the native realm.", "externalDocs": { @@ -23304,9 +24657,76 @@ "$ref": "#/components/responses/security.put_role#200" } } + }, + "delete": { + "description": "Removes roles in the native realm.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role.html" + }, + "operationId": "security.delete_role#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Role name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "refresh", + "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "found": { + "type": "boolean" + } + }, + "required": [ + "found" + ] + } + } + } + } + } } }, - "/_security/role_mapping/{name}{?refresh}": { + "/_security/role_mapping/{name}": { + "get": { + "description": "Retrieves role mappings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role-mapping.html" + }, + "operationId": "security.get_role_mapping#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.get_role_mapping#name" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.get_role_mapping#200" + } + } + }, "put": { "description": "Creates and updates role mappings.", "externalDocs": { @@ -23352,9 +24772,79 @@ "$ref": "#/components/responses/security.put_role_mapping#200" } } + }, + "delete": { + "description": "Removes role mappings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role-mapping.html" + }, + "operationId": "security.delete_role_mapping#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Role-mapping name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "refresh", + "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "found": { + "type": "boolean" + } + }, + "required": [ + "found" + ] + } + } + } + } + } } }, - "/_security/user/{username}{?refresh}": { + "/_security/user/{username}": { + "get": { + "description": "Retrieves information about users in the native realm and built-in users.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user.html" + }, + "operationId": "security.get_user#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.get_user#username" + }, + { + "$ref": "#/components/parameters/security.get_user#with_profile_uid" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.get_user#200" + } + } + }, "put": { "description": "Adds and updates users in the native realm. These users are commonly referred to as native users.", "externalDocs": { @@ -23400,9 +24890,59 @@ "$ref": "#/components/responses/security.put_user#200" } } + }, + "delete": { + "description": "Deletes users from the native realm.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-user.html" + }, + "operationId": "security.delete_user#0", + "parameters": [ + { + "in": "path", + "name": "username", + "description": "username", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Username" + }, + "style": "simple" + }, + { + "in": "query", + "name": "refresh", + "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "found": { + "type": "boolean" + } + }, + "required": [ + "found" + ] + } + } + } + } + } } }, - "/_security/user/{username}/_disable{?refresh}": { + "/_security/user/{username}/_disable": { "put": { "description": "Disables users in the native realm.", "externalDocs": { @@ -23444,7 +24984,7 @@ } } }, - "/_security/profile/{uid}/_disable{?refresh}": { + "/_security/profile/{uid}/_disable": { "put": { "description": "Disables a user profile so it's not visible in user profile searches.", "externalDocs": { @@ -23486,7 +25026,7 @@ } } }, - "/_security/user/{username}/_enable{?refresh}": { + "/_security/user/{username}/_enable": { "put": { "description": "Enables users in the native realm.", "externalDocs": { @@ -23528,7 +25068,7 @@ } } }, - "/_security/profile/{uid}/_enable{?refresh}": { + "/_security/profile/{uid}/_enable": { "put": { "description": "Enables a user profile so it's visible in user profile searches.", "externalDocs": { @@ -23655,100 +25195,6 @@ } } }, - "/_security/api_key{?id,name,owner,realm_name,username,with_limited_by}": { - "get": { - "description": "Retrieves information for one or more API keys.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-api-key.html" - }, - "operationId": "security.get_api_key#0", - "parameters": [ - { - "in": "query", - "name": "id", - "description": "An API key id.\nThis parameter cannot be used with any of `name`, `realm_name` or `username`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "form" - }, - { - "in": "query", - "name": "name", - "description": "An API key name.\nThis parameter cannot be used with any of `id`, `realm_name` or `username`.\nIt supports prefix search with wildcard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "form" - }, - { - "in": "query", - "name": "owner", - "description": "A boolean flag that can be used to query API keys owned by the currently authenticated user.\nThe `realm_name` or `username` parameters cannot be specified when this parameter is set to `true` as they are assumed to be the currently authenticated ones.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "realm_name", - "description": "The name of an authentication realm.\nThis parameter cannot be used with either `id` or `name` or when `owner` flag is set to `true`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "form" - }, - { - "in": "query", - "name": "username", - "description": "The username of a user.\nThis parameter cannot be used with either `id` or `name` or when `owner` flag is set to `true`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Username" - }, - "style": "form" - }, - { - "in": "query", - "name": "with_limited_by", - "description": "Return the snapshot of the owner user's role descriptors\nassociated with the API key. An API key's actual\npermission is the intersection of its assigned role\ndescriptors and the owner user's role descriptors.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "api_keys": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:ApiKey" - } - } - }, - "required": [ - "api_keys" - ] - } - } - } - } - } - } - }, "/_security/privilege/_builtin": { "get": { "description": "Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch.", @@ -23797,64 +25243,63 @@ "$ref": "#/components/responses/security.get_privileges#200" } } - } - }, - "/_security/privilege/{application}": { - "get": { - "description": "Retrieves application privileges.", + }, + "put": { + "description": "Adds or updates application privileges.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-privileges.html" }, - "operationId": "security.get_privileges#1", + "operationId": "security.put_privileges#0", "parameters": [ { - "$ref": "#/components/parameters/security.get_privileges#application" + "$ref": "#/components/parameters/security.put_privileges#refresh" } ], + "requestBody": { + "$ref": "#/components/requestBodies/security.put_privileges" + }, "responses": { "200": { - "$ref": "#/components/responses/security.get_privileges#200" + "$ref": "#/components/responses/security.put_privileges#200" } } - } - }, - "/_security/privilege/{application}/{name}": { - "get": { - "description": "Retrieves application privileges.", + }, + "post": { + "description": "Adds or updates application privileges.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-privileges.html" }, - "operationId": "security.get_privileges#2", + "operationId": "security.put_privileges#1", "parameters": [ { - "$ref": "#/components/parameters/security.get_privileges#application" - }, - { - "$ref": "#/components/parameters/security.get_privileges#name" + "$ref": "#/components/parameters/security.put_privileges#refresh" } ], + "requestBody": { + "$ref": "#/components/requestBodies/security.put_privileges" + }, "responses": { "200": { - "$ref": "#/components/responses/security.get_privileges#200" + "$ref": "#/components/responses/security.put_privileges#200" } } } }, - "/_security/role/{name}": { + "/_security/privilege/{application}": { "get": { - "description": "Retrieves roles in the native realm.", + "description": "Retrieves application privileges.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html" }, - "operationId": "security.get_role#0", + "operationId": "security.get_privileges#1", "parameters": [ { - "$ref": "#/components/parameters/security.get_role#name" + "$ref": "#/components/parameters/security.get_privileges#application" } ], "responses": { "200": { - "$ref": "#/components/responses/security.get_role#200" + "$ref": "#/components/responses/security.get_privileges#200" } } } @@ -23873,25 +25318,6 @@ } } }, - "/_security/role_mapping/{name}": { - "get": { - "description": "Retrieves role mappings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role-mapping.html" - }, - "operationId": "security.get_role_mapping#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.get_role_mapping#name" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.get_role_mapping#200" - } - } - } - }, "/_security/role_mapping": { "get": { "description": "Retrieves role mappings.", @@ -24030,7 +25456,85 @@ } }, "/_security/oauth2/token": { - "put": { + "post": { + "description": "Creates a bearer token for access without requiring basic authentication.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-token.html" + }, + "operationId": "security.get_token#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "grant_type": { + "$ref": "#/components/schemas/security.get_token:AccessTokenGrantType" + }, + "scope": { + "type": "string" + }, + "password": { + "$ref": "#/components/schemas/_types:Password" + }, + "kerberos_ticket": { + "type": "string" + }, + "refresh_token": { + "type": "string" + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "access_token": { + "type": "string" + }, + "expires_in": { + "type": "number" + }, + "scope": { + "type": "string" + }, + "type": { + "type": "string" + }, + "refresh_token": { + "type": "string" + }, + "kerberos_authentication_response_token": { + "type": "string" + }, + "authentication": { + "$ref": "#/components/schemas/security.get_token:AuthenticatedUser" + } + }, + "required": [ + "access_token", + "expires_in", + "type", + "authentication" + ] + } + } + } + } + } + }, + "delete": { "description": "Invalidates one or more access tokens or refresh tokens.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-token.html" @@ -24096,29 +25600,7 @@ } } }, - "/_security/user/{username}{?with_profile_uid}": { - "get": { - "description": "Retrieves information about users in the native realm and built-in users.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user.html" - }, - "operationId": "security.get_user#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.get_user#username" - }, - { - "$ref": "#/components/parameters/security.get_user#with_profile_uid" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.get_user#200" - } - } - } - }, - "/_security/user{?with_profile_uid}": { + "/_security/user": { "get": { "description": "Retrieves information about users in the native realm and built-in users.", "externalDocs": { @@ -24137,7 +25619,7 @@ } } }, - "/_security/user/_privileges{?application,priviledge,username}": { + "/_security/user/_privileges": { "get": { "description": "Retrieves security privileges for the logged in user.", "externalDocs": { @@ -24236,7 +25718,7 @@ } } }, - "/_security/profile/{uid}{?data}": { + "/_security/profile/{uid}": { "get": { "description": "Retrieves user profiles for the given unique ID(s).", "externalDocs": { @@ -24499,134 +25981,7 @@ } } }, - "/_security/api_key": { - "put": { - "description": "Invalidates one or more API keys.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-api-key.html" - }, - "operationId": "security.invalidate_api_key#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "ids": { - "description": "A list of API key ids.\nThis parameter cannot be used with any of `name`, `realm_name`, or `username`.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Id" - } - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "owner": { - "description": "Can be used to query API keys owned by the currently authenticated user.\nThe `realm_name` or `username` parameters cannot be specified when this parameter is set to `true` as they are assumed to be the currently authenticated ones.", - "type": "boolean" - }, - "realm_name": { - "description": "The name of an authentication realm.\nThis parameter cannot be used with either `ids` or `name`, or when `owner` flag is set to `true`.", - "type": "string" - }, - "username": { - "$ref": "#/components/schemas/_types:Username" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "error_count": { - "type": "number" - }, - "error_details": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ErrorCause" - } - }, - "invalidated_api_keys": { - "type": "array", - "items": { - "type": "string" - } - }, - "previously_invalidated_api_keys": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "error_count", - "invalidated_api_keys", - "previously_invalidated_api_keys" - ] - } - } - } - } - } - } - }, - "/_security/privilege{?refresh}": { - "put": { - "description": "Adds or updates application privileges.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-privileges.html" - }, - "operationId": "security.put_privileges#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.put_privileges#refresh" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.put_privileges" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.put_privileges#200" - } - } - }, - "post": { - "description": "Adds or updates application privileges.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-privileges.html" - }, - "operationId": "security.put_privileges#1", - "parameters": [ - { - "$ref": "#/components/parameters/security.put_privileges#refresh" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.put_privileges" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.put_privileges#200" - } - } - } - }, - "/_security/_query/api_key{?with_limited_by}": { + "/_security/_query/api_key": { "get": { "description": "Retrieves information for API keys using a subset of query DSL", "externalDocs": { @@ -25007,7 +26362,7 @@ } } }, - "/_security/profile/_suggest{?data}": { + "/_security/profile/_suggest": { "get": { "description": "Get suggestions for user profiles that match specified search criteria.", "externalDocs": { @@ -25077,7 +26432,7 @@ "properties": { "role_descriptors": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/security-api-put-role.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html" }, "description": "An array of role descriptors for this API key. This parameter is optional. When it is not specified or is an empty array, then the API key will have a point in time snapshot of permissions of the authenticated user. If you supply role descriptors then the resultant permissions would be an intersection of API keys permissions and authenticated user’s permissions thereby limiting the access scope for API keys. The structure of role descriptor is the same as the request for create role API. For more details, see create or update roles API.", "type": "object", @@ -25116,7 +26471,7 @@ } } }, - "/_security/profile/{uid}/_data{?if_seq_no,if_primary_term,refresh}": { + "/_security/profile/{uid}/_data": { "put": { "description": "Update application specific data for the user profile of the given unique ID.", "externalDocs": { @@ -25176,7 +26531,30 @@ } } }, - "/_nodes/{node_id}/shutdown{?master_timeout,timeout}": { + "/_nodes/{node_id}/shutdown": { + "get": { + "description": "Retrieve status of a node or nodes that are currently marked as shutting down. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current" + }, + "operationId": "shutdown.get_node#1", + "parameters": [ + { + "$ref": "#/components/parameters/shutdown.get_node#node_id" + }, + { + "$ref": "#/components/parameters/shutdown.get_node#master_timeout" + }, + { + "$ref": "#/components/parameters/shutdown.get_node#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/shutdown.get_node#200" + } + } + }, "put": { "description": "Adds a node to be shut down. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", "externalDocs": { @@ -25259,9 +26637,61 @@ } } } + }, + "delete": { + "description": "Removes a node from the shutdown list. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current" + }, + "operationId": "shutdown.delete_node#0", + "parameters": [ + { + "in": "path", + "name": "node_id", + "description": "The node id of node to be removed from the shutdown state", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:NodeId" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:TimeUnit" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:TimeUnit" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } } }, - "/_nodes/shutdown{?master_timeout,timeout}": { + "/_nodes/shutdown": { "get": { "description": "Retrieve status of a node or nodes that are currently marked as shutting down. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", "externalDocs": { @@ -25300,6 +26730,117 @@ "$ref": "#/components/responses/slm.get_lifecycle#200" } } + }, + "put": { + "description": "Creates or updates a snapshot lifecycle policy.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-put-policy.html" + }, + "operationId": "slm.put_lifecycle#0", + "parameters": [ + { + "in": "path", + "name": "policy_id", + "description": "ID for the snapshot lifecycle policy you want to create or update.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "config": { + "$ref": "#/components/schemas/slm._types:Configuration" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "repository": { + "description": "Repository used to store snapshots created by this policy. This repository must exist prior to the policy’s creation. You can create a repository using the snapshot repository API.", + "type": "string" + }, + "retention": { + "$ref": "#/components/schemas/slm._types:Retention" + }, + "schedule": { + "$ref": "#/components/schemas/watcher._types:CronExpression" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + }, + "delete": { + "description": "Deletes an existing snapshot lifecycle policy.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-delete-policy.html" + }, + "operationId": "slm.delete_lifecycle#0", + "parameters": [ + { + "in": "path", + "name": "policy_id", + "description": "The id of the snapshot lifecycle policy to remove", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } } }, "/_slm/policy/{policy_id}/_execute": { @@ -25476,87 +27017,6 @@ } } }, - "/_slm/policy/{policy_id}{?master_timeout,timeout}": { - "put": { - "description": "Creates or updates a snapshot lifecycle policy.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-put-policy.html" - }, - "operationId": "slm.put_lifecycle#0", - "parameters": [ - { - "in": "path", - "name": "policy_id", - "description": "ID for the snapshot lifecycle policy you want to create or update.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "config": { - "$ref": "#/components/schemas/slm._types:Configuration" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "repository": { - "description": "Repository used to store snapshots created by this policy. This repository must exist prior to the policy’s creation. You can create a repository using the snapshot repository API.", - "type": "string" - }, - "retention": { - "$ref": "#/components/schemas/slm._types:Retention" - }, - "schedule": { - "$ref": "#/components/schemas/watcher._types:CronExpression" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, "/_slm/start": { "post": { "description": "Turns on snapshot lifecycle management (SLM).", @@ -25599,7 +27059,7 @@ } } }, - "/_snapshot/{repository}/_cleanup{?master_timeout,timeout}": { + "/_snapshot/{repository}/_cleanup": { "post": { "description": "Removes stale data from repository.", "externalDocs": { @@ -25661,7 +27121,7 @@ } } }, - "/_snapshot/{repository}/{snapshot}/_clone/{target_snapshot}{?master_timeout,timeout}": { + "/_snapshot/{repository}/{snapshot}/_clone/{target_snapshot}": { "put": { "description": "Clones indices from one snapshot into another snapshot in the same repository.", "externalDocs": { @@ -25754,128 +27214,265 @@ } } }, - "/_snapshot/{repository}/{snapshot}{?master_timeout,wait_for_completion}": { - "put": { - "description": "Creates a snapshot in a repository.", + "/_snapshot/{repository}/{snapshot}": { + "get": { + "description": "Returns information about a snapshot.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" }, - "operationId": "snapshot.create#0", + "operationId": "snapshot.get#0", "parameters": [ { - "$ref": "#/components/parameters/snapshot.create#repository" + "in": "path", + "name": "repository", + "description": "Comma-separated list of snapshot repository names used to limit the request. Wildcard (*) expressions are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" }, { - "$ref": "#/components/parameters/snapshot.create#snapshot" + "in": "path", + "name": "snapshot", + "description": "Comma-separated list of snapshot names to retrieve. Also accepts wildcards (*).\n- To get information about all snapshots in a registered repository, use a wildcard (*) or _all.\n- To get information about any snapshots that are currently running, use _current.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" }, { - "$ref": "#/components/parameters/snapshot.create#master_timeout" + "in": "query", + "name": "ignore_unavailable", + "description": "If false, the request returns an error for any snapshots that are unavailable.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, { - "$ref": "#/components/parameters/snapshot.create#wait_for_completion" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/snapshot.create" - }, - "responses": { - "200": { - "$ref": "#/components/responses/snapshot.create#200" - } - } - }, - "post": { - "description": "Creates a snapshot in a repository.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" - }, - "operationId": "snapshot.create#1", - "parameters": [ + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, { - "$ref": "#/components/parameters/snapshot.create#repository" + "in": "query", + "name": "verbose", + "description": "If true, returns additional information about each snapshot such as the version of Elasticsearch which took the snapshot, the start and end times of the snapshot, and the number of shards snapshotted.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, { - "$ref": "#/components/parameters/snapshot.create#snapshot" + "in": "query", + "name": "index_details", + "description": "If true, returns additional information about each index in the snapshot comprising the number of shards in the index, the total size of the index in bytes, and the maximum number of segments per shard in the index. Defaults to false, meaning that this information is omitted.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, { - "$ref": "#/components/parameters/snapshot.create#master_timeout" + "in": "query", + "name": "index_names", + "description": "If true, returns the name of each index in each snapshot.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, { - "$ref": "#/components/parameters/snapshot.create#wait_for_completion" + "in": "query", + "name": "include_repository", + "description": "If true, returns the repository name in each snapshot.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "sort", + "description": "Allows setting a sort order for the result. Defaults to start_time, i.e. sorting by snapshot start time stamp.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/snapshot._types:SnapshotSort" + }, + "style": "form" + }, + { + "in": "query", + "name": "size", + "description": "Maximum number of snapshots to return. Defaults to 0 which means return all that match the request without limit.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "order", + "description": "Sort order. Valid values are asc for ascending and desc for descending order. Defaults to asc, meaning ascending order.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SortOrder" + }, + "style": "form" + }, + { + "in": "query", + "name": "after", + "description": "Offset identifier to start pagination from as returned by the next field in the response body.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "offset", + "description": "Numeric offset to start pagination from based on the snapshots matching this request. Using a non-zero value for this parameter is mutually exclusive with using the after parameter. Defaults to 0.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "from_sort_value", + "description": "Value of the current sort column at which to start retrieval. Can either be a string snapshot- or repository name when sorting by snapshot or repository name, a millisecond time value or a number when sorting by index- or shard count.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "slm_policy_filter", + "description": "Filter snapshots by a comma-separated list of SLM policy names that snapshots belong to. Also accepts wildcards (*) and combinations of wildcards followed by exclude patterns starting with -. To include snapshots not created by an SLM policy you can use the special pattern _none that will match all snapshots without an SLM policy.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "form" } ], - "requestBody": { - "$ref": "#/components/requestBodies/snapshot.create" - }, "responses": { "200": { - "$ref": "#/components/responses/snapshot.create#200" + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "responses": { + "type": "array", + "items": { + "$ref": "#/components/schemas/snapshot.get:SnapshotResponseItem" + } + }, + "snapshots": { + "type": "array", + "items": { + "$ref": "#/components/schemas/snapshot._types:SnapshotInfo" + } + }, + "total": { + "description": "The total number of snapshots that match the request when ignoring size limit or after query parameter.", + "type": "number" + }, + "remaining": { + "description": "The number of remaining snapshots that were not returned due to size limits and that can be fetched by additional requests using the next field value.", + "type": "number" + } + }, + "required": [ + "total", + "remaining" + ] + } + } + } } } - } - }, - "/_snapshot/{repository}{?master_timeout,timeout,verify}": { + }, "put": { - "description": "Creates a repository.", + "description": "Creates a snapshot in a repository.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" }, - "operationId": "snapshot.create_repository#0", + "operationId": "snapshot.create#0", "parameters": [ { - "$ref": "#/components/parameters/snapshot.create_repository#repository" + "$ref": "#/components/parameters/snapshot.create#repository" }, { - "$ref": "#/components/parameters/snapshot.create_repository#master_timeout" + "$ref": "#/components/parameters/snapshot.create#snapshot" }, { - "$ref": "#/components/parameters/snapshot.create_repository#timeout" + "$ref": "#/components/parameters/snapshot.create#master_timeout" }, { - "$ref": "#/components/parameters/snapshot.create_repository#verify" + "$ref": "#/components/parameters/snapshot.create#wait_for_completion" } ], "requestBody": { - "$ref": "#/components/requestBodies/snapshot.create_repository" + "$ref": "#/components/requestBodies/snapshot.create" }, "responses": { "200": { - "$ref": "#/components/responses/snapshot.create_repository#200" + "$ref": "#/components/responses/snapshot.create#200" } } }, "post": { - "description": "Creates a repository.", + "description": "Creates a snapshot in a repository.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" }, - "operationId": "snapshot.create_repository#1", + "operationId": "snapshot.create#1", "parameters": [ { - "$ref": "#/components/parameters/snapshot.create_repository#repository" + "$ref": "#/components/parameters/snapshot.create#repository" }, { - "$ref": "#/components/parameters/snapshot.create_repository#master_timeout" + "$ref": "#/components/parameters/snapshot.create#snapshot" }, { - "$ref": "#/components/parameters/snapshot.create_repository#timeout" + "$ref": "#/components/parameters/snapshot.create#master_timeout" }, { - "$ref": "#/components/parameters/snapshot.create_repository#verify" + "$ref": "#/components/parameters/snapshot.create#wait_for_completion" } ], "requestBody": { - "$ref": "#/components/requestBodies/snapshot.create_repository" + "$ref": "#/components/requestBodies/snapshot.create" }, "responses": { "200": { - "$ref": "#/components/responses/snapshot.create_repository#200" + "$ref": "#/components/responses/snapshot.create#200" } } - } - }, - "/_snapshot/{repository}/{snapshot}{?master_timeout}": { - "put": { + }, + "delete": { "description": "Deletes one or more snapshots.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" @@ -25929,217 +27526,123 @@ } } }, - "/_snapshot/{repository}{?master_timeout,timeout}": { - "put": { - "description": "Deletes a repository.", + "/_snapshot/{repository}": { + "get": { + "description": "Returns information about a repository.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" }, - "operationId": "snapshot.delete_repository#0", + "operationId": "snapshot.get_repository#1", "parameters": [ { - "in": "path", - "name": "repository", - "description": "Name of the snapshot repository to unregister. Wildcard (`*`) patterns are supported.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" + "$ref": "#/components/parameters/snapshot.get_repository#repository" }, { - "in": "query", - "name": "master_timeout", - "description": "Explicit operation timeout for connection to master node", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" + "$ref": "#/components/parameters/snapshot.get_repository#local" }, { - "in": "query", - "name": "timeout", - "description": "Explicit operation timeout", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" + "$ref": "#/components/parameters/snapshot.get_repository#master_timeout" } ], "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } + "$ref": "#/components/responses/snapshot.get_repository#200" } } - } - }, - "/_snapshot/{repository}/{snapshot}{?ignore_unavailable,master_timeout,verbose,index_details,index_names,include_repository,sort,size,order,after,offset,from_sort_value,slm_policy_filter}": { - "get": { - "description": "Returns information about a snapshot.", + }, + "put": { + "description": "Creates a repository.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" }, - "operationId": "snapshot.get#0", + "operationId": "snapshot.create_repository#0", "parameters": [ { - "in": "path", - "name": "repository", - "description": "Comma-separated list of snapshot repository names used to limit the request. Wildcard (*) expressions are supported.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "path", - "name": "snapshot", - "description": "Comma-separated list of snapshot names to retrieve. Also accepts wildcards (*).\n- To get information about all snapshots in a registered repository, use a wildcard (*) or _all.\n- To get information about any snapshots that are currently running, use _current.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - { - "in": "query", - "name": "ignore_unavailable", - "description": "If false, the request returns an error for any snapshots that are unavailable.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "verbose", - "description": "If true, returns additional information about each snapshot such as the version of Elasticsearch which took the snapshot, the start and end times of the snapshot, and the number of shards snapshotted.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" + "$ref": "#/components/parameters/snapshot.create_repository#repository" }, { - "in": "query", - "name": "index_details", - "description": "If true, returns additional information about each index in the snapshot comprising the number of shards in the index, the total size of the index in bytes, and the maximum number of segments per shard in the index. Defaults to false, meaning that this information is omitted.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" + "$ref": "#/components/parameters/snapshot.create_repository#master_timeout" }, { - "in": "query", - "name": "index_names", - "description": "If true, returns the name of each index in each snapshot.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" + "$ref": "#/components/parameters/snapshot.create_repository#timeout" }, { - "in": "query", - "name": "include_repository", - "description": "If true, returns the repository name in each snapshot.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, + "$ref": "#/components/parameters/snapshot.create_repository#verify" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/snapshot.create_repository" + }, + "responses": { + "200": { + "$ref": "#/components/responses/snapshot.create_repository#200" + } + } + }, + "post": { + "description": "Creates a repository.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + }, + "operationId": "snapshot.create_repository#1", + "parameters": [ { - "in": "query", - "name": "sort", - "description": "Allows setting a sort order for the result. Defaults to start_time, i.e. sorting by snapshot start time stamp.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/snapshot._types:SnapshotSort" - }, - "style": "form" + "$ref": "#/components/parameters/snapshot.create_repository#repository" }, { - "in": "query", - "name": "size", - "description": "Maximum number of snapshots to return. Defaults to 0 which means return all that match the request without limit.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" + "$ref": "#/components/parameters/snapshot.create_repository#master_timeout" }, { - "in": "query", - "name": "order", - "description": "Sort order. Valid values are asc for ascending and desc for descending order. Defaults to asc, meaning ascending order.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SortOrder" - }, - "style": "form" + "$ref": "#/components/parameters/snapshot.create_repository#timeout" }, { - "in": "query", - "name": "after", - "description": "Offset identifier to start pagination from as returned by the next field in the response body.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, + "$ref": "#/components/parameters/snapshot.create_repository#verify" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/snapshot.create_repository" + }, + "responses": { + "200": { + "$ref": "#/components/responses/snapshot.create_repository#200" + } + } + }, + "delete": { + "description": "Deletes a repository.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" + }, + "operationId": "snapshot.delete_repository#0", + "parameters": [ { - "in": "query", - "name": "offset", - "description": "Numeric offset to start pagination from based on the snapshots matching this request. Using a non-zero value for this parameter is mutually exclusive with using the after parameter. Defaults to 0.", + "in": "path", + "name": "repository", + "description": "Name of the snapshot repository to unregister. Wildcard (`*`) patterns are supported.", + "required": true, "deprecated": false, "schema": { - "type": "number" + "$ref": "#/components/schemas/_types:Names" }, - "style": "form" + "style": "simple" }, { "in": "query", - "name": "from_sort_value", - "description": "Value of the current sort column at which to start retrieval. Can either be a string snapshot- or repository name when sorting by snapshot or repository name, a millisecond time value or a number when sorting by index- or shard count.", + "name": "master_timeout", + "description": "Explicit operation timeout for connection to master node", "deprecated": false, "schema": { - "type": "string" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, { "in": "query", - "name": "slm_policy_filter", - "description": "Filter snapshots by a comma-separated list of SLM policy names that snapshots belong to. Also accepts wildcards (*) and combinations of wildcards followed by exclude patterns starting with -. To include snapshots not created by an SLM policy you can use the special pattern _none that will match all snapshots without an SLM policy.", + "name": "timeout", + "description": "Explicit operation timeout", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Name" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" } @@ -26150,33 +27653,7 @@ "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "responses": { - "type": "array", - "items": { - "$ref": "#/components/schemas/snapshot.get:SnapshotResponseItem" - } - }, - "snapshots": { - "type": "array", - "items": { - "$ref": "#/components/schemas/snapshot._types:SnapshotInfo" - } - }, - "total": { - "description": "The total number of snapshots that match the request when ignoring size limit or after query parameter.", - "type": "number" - }, - "remaining": { - "description": "The number of remaining snapshots that were not returned due to size limits and that can be fetched by additional requests using the next field value.", - "type": "number" - } - }, - "required": [ - "total", - "remaining" - ] + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" } } } @@ -26184,7 +27661,7 @@ } } }, - "/_snapshot{?local,master_timeout}": { + "/_snapshot": { "get": { "description": "Returns information about a repository.", "externalDocs": { @@ -26206,32 +27683,7 @@ } } }, - "/_snapshot/{repository}{?local,master_timeout}": { - "get": { - "description": "Returns information about a repository.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" - }, - "operationId": "snapshot.get_repository#1", - "parameters": [ - { - "$ref": "#/components/parameters/snapshot.get_repository#repository" - }, - { - "$ref": "#/components/parameters/snapshot.get_repository#local" - }, - { - "$ref": "#/components/parameters/snapshot.get_repository#master_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/snapshot.get_repository#200" - } - } - } - }, - "/_snapshot/{repository}/{snapshot}/_restore{?master_timeout,wait_for_completion}": { + "/_snapshot/{repository}/{snapshot}/_restore": { "post": { "description": "Restores a snapshot.", "externalDocs": { @@ -26351,7 +27803,7 @@ } } }, - "/_snapshot/_status{?ignore_unavailable,master_timeout}": { + "/_snapshot/_status": { "get": { "description": "Returns information about the status of a snapshot.", "externalDocs": { @@ -26373,7 +27825,7 @@ } } }, - "/_snapshot/{repository}/_status{?ignore_unavailable,master_timeout}": { + "/_snapshot/{repository}/_status": { "get": { "description": "Returns information about the status of a snapshot.", "externalDocs": { @@ -26398,7 +27850,7 @@ } } }, - "/_snapshot/{repository}/{snapshot}/_status{?ignore_unavailable,master_timeout}": { + "/_snapshot/{repository}/{snapshot}/_status": { "get": { "description": "Returns information about the status of a snapshot.", "externalDocs": { @@ -26426,7 +27878,7 @@ } } }, - "/_snapshot/{repository}/_verify{?master_timeout,timeout}": { + "/_snapshot/{repository}/_verify": { "post": { "description": "Verifies a repository.", "externalDocs": { @@ -26505,6 +27957,7 @@ "type": "object", "properties": { "cursor": { + "description": "Cursor to clear.", "type": "string" } }, @@ -26539,7 +27992,7 @@ } }, "/_sql/async/delete/{id}": { - "put": { + "delete": { "description": "Deletes an async SQL search or a stored synchronous SQL search. If the search is still running, the API cancels it.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-async-sql-search-api.html" @@ -26549,7 +28002,7 @@ { "in": "path", "name": "id", - "description": "The async search ID", + "description": "Identifier for the search.", "required": true, "deprecated": false, "schema": { @@ -26572,7 +28025,7 @@ } } }, - "/_sql/async/{id}{?delimiter,format,keep_alive,wait_for_completion_timeout}": { + "/_sql/async/{id}": { "get": { "description": "Returns the current status and available results for an async SQL search or stored synchronous SQL search", "externalDocs": { @@ -26583,7 +28036,7 @@ { "in": "path", "name": "id", - "description": "The async search ID", + "description": "Identifier for the search.", "required": true, "deprecated": false, "schema": { @@ -26694,7 +28147,7 @@ { "in": "path", "name": "id", - "description": "The async search ID", + "description": "Identifier for the search.", "required": true, "deprecated": false, "schema": { @@ -26747,7 +28200,7 @@ } } }, - "/_sql{?format}": { + "/_sql": { "get": { "description": "Executes a SQL request", "externalDocs": { @@ -26846,6 +28299,73 @@ } }, "/_synonyms/{id}": { + "get": { + "description": "Retrieves a synonym set", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-synonyms-set.html" + }, + "operationId": "synonyms.get_synonym#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "\"The id of the synonyms set to be retrieved", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "from", + "description": "Starting offset for query rules to be retrieved", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "size", + "description": "specifies a max number of query rules to retrieve", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "synonyms_set": { + "type": "array", + "items": { + "$ref": "#/components/schemas/synonyms._types:SynonymRuleRead" + } + } + }, + "required": [ + "count", + "synonyms_set" + ] + } + } + } + } + } + }, "put": { "description": "Creates or updates a synonyms set", "externalDocs": { @@ -26911,9 +28431,84 @@ } } } + }, + "delete": { + "description": "Deletes a synonym set", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-synonyms-set.html" + }, + "operationId": "synonyms.delete_synonym#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The id of the synonyms set to be deleted", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } } }, "/_synonyms/{set_id}/{rule_id}": { + "get": { + "description": "Retrieves a synonym rule from a synonym set", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-synonym-rule.html" + }, + "operationId": "synonyms.get_synonym_rule#0", + "parameters": [ + { + "in": "path", + "name": "set_id", + "description": "The id of the synonym set to retrieve the synonym rule from", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "rule_id", + "description": "The id of the synonym rule to retrieve", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/synonyms._types:SynonymRuleRead" + } + } + } + } + } + }, "put": { "description": "Creates or updates a synonym rule in a synonym set", "externalDocs": { @@ -26977,20 +28572,18 @@ } } } - } - }, - "/_synonyms/{id}{?from,size}": { - "get": { - "description": "Retrieves a synonym set", + }, + "delete": { + "description": "Deletes a synonym rule in a synonym set", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-synonyms-set.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-synonym-rule.html" }, - "operationId": "synonyms.get_synonym#0", + "operationId": "synonyms.delete_synonym_rule#0", "parameters": [ { "in": "path", - "name": "id", - "description": "\"The id of the synonyms set to be retrieved", + "name": "set_id", + "description": "The id of the synonym set to be updated", "required": true, "deprecated": false, "schema": { @@ -26999,24 +28592,15 @@ "style": "simple" }, { - "in": "query", - "name": "from", - "description": "Starting offset for query rules to be retrieved", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "size", - "description": "specifies a max number of query rules to retrieve", + "in": "path", + "name": "rule_id", + "description": "The id of the synonym rule to be deleted", + "required": true, "deprecated": false, "schema": { - "type": "number" + "$ref": "#/components/schemas/_types:Id" }, - "style": "form" + "style": "simple" } ], "responses": { @@ -27025,22 +28609,7 @@ "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "synonyms_set": { - "type": "array", - "items": { - "$ref": "#/components/schemas/synonyms._types:SynonymRuleRead" - } - } - }, - "required": [ - "count", - "synonyms_set" - ] + "$ref": "#/components/schemas/synonyms._types:SynonymsUpdateResult" } } } @@ -27048,7 +28617,7 @@ } } }, - "/_synonyms{?from,size}": { + "/_synonyms": { "get": { "description": "Retrieves a summary of all defined synonym sets", "externalDocs": { @@ -27106,11 +28675,11 @@ } } }, - "/_tasks/_cancel{?actions,nodes,parent_task_id,wait_for_completion}": { + "/_tasks/_cancel": { "post": { "description": "Cancels a task, if it can be cancelled through an API.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/tasks.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html" }, "operationId": "tasks.cancel#0", "parameters": [ @@ -27134,11 +28703,11 @@ } } }, - "/_tasks/{task_id}/_cancel{?actions,nodes,parent_task_id,wait_for_completion}": { + "/_tasks/{task_id}/_cancel": { "post": { "description": "Cancels a task, if it can be cancelled through an API.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/tasks.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html" }, "operationId": "tasks.cancel#1", "parameters": [ @@ -27165,18 +28734,18 @@ } } }, - "/_tasks/{task_id}{?timeout,wait_for_completion}": { + "/_tasks/{task_id}": { "get": { "description": "Returns information about a task.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/tasks.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html" }, "operationId": "tasks.get#0", "parameters": [ { "in": "path", "name": "task_id", - "description": "Return the task with specified id (node_id:task_number)", + "description": "ID of the task.", "required": true, "deprecated": false, "schema": { @@ -27187,7 +28756,7 @@ { "in": "query", "name": "timeout", - "description": "Explicit operation timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -27197,7 +28766,7 @@ { "in": "query", "name": "wait_for_completion", - "description": "Wait for the matching tasks to complete (default: false)", + "description": "If `true`, the request blocks until the task has completed.", "deprecated": false, "schema": { "type": "boolean" @@ -27220,7 +28789,7 @@ "$ref": "#/components/schemas/tasks._types:TaskInfo" }, "response": { - "$ref": "#/components/schemas/tasks._types:TaskStatus" + "type": "object" }, "error": { "$ref": "#/components/schemas/_types:ErrorCause" @@ -27237,11 +28806,11 @@ } } }, - "/_tasks{?actions,detailed,group_by,node_id,parent_task_id,master_timeout,timeout,wait_for_completion}": { + "/_tasks": { "get": { "description": "Returns a list of tasks.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/tasks.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html" }, "operationId": "tasks.list#0", "parameters": [ @@ -27395,7 +28964,7 @@ } } }, - "/{index}/_termvectors/{id}{?fields,field_statistics,offsets,payloads,positions,preference,realtime,routing,term_statistics,version,version_type}": { + "/{index}/_termvectors/{id}": { "get": { "description": "Returns information and statistics about terms in the fields of a particular document.", "externalDocs": { @@ -27509,7 +29078,7 @@ } } }, - "/{index}/_termvectors{?fields,field_statistics,offsets,payloads,positions,preference,realtime,routing,term_statistics,version,version_type}": { + "/{index}/_termvectors": { "get": { "description": "Returns information and statistics about terms in the fields of a particular document.", "externalDocs": { @@ -27617,7 +29186,7 @@ } } }, - "/_text_structure/find_structure{?charset,column_names,delimiter,explain,format,grok_pattern,has_header_row,line_merge_size_limit,lines_to_sample,quote,should_trim_fields,timeout,timestamp_field,timestamp_format}": { + "/_text_structure/find_structure": { "post": { "description": "Finds the structure of a text file. The text file must contain data that is suitable to be ingested into Elasticsearch.", "externalDocs": { @@ -27888,18 +29457,47 @@ } } }, - "/_transform/{transform_id}{?force,timeout}": { + "/_transform/{transform_id}": { + "get": { + "description": "Retrieves configuration information for transforms.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html" + }, + "operationId": "transform.get_transform#0", + "parameters": [ + { + "$ref": "#/components/parameters/transform.get_transform#transform_id" + }, + { + "$ref": "#/components/parameters/transform.get_transform#allow_no_match" + }, + { + "$ref": "#/components/parameters/transform.get_transform#from" + }, + { + "$ref": "#/components/parameters/transform.get_transform#size" + }, + { + "$ref": "#/components/parameters/transform.get_transform#exclude_generated" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/transform.get_transform#200" + } + } + }, "put": { - "description": "Deletes an existing transform.", + "description": "Instantiates a transform.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-transform.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html" }, - "operationId": "transform.delete_transform#0", + "operationId": "transform.put_transform#0", "parameters": [ { "in": "path", "name": "transform_id", - "description": "Identifier for the transform.", + "description": "Identifier for the transform. This identifier can contain lowercase alphanumeric characters (a-z and 0-9),\nhyphens, and underscores. It has a 64 character limit and must start and end with alphanumeric characters.", "required": true, "deprecated": false, "schema": { @@ -27909,8 +29507,8 @@ }, { "in": "query", - "name": "force", - "description": "If this value is false, the transform must be stopped before it can be deleted. If true, the transform is\ndeleted regardless of its current state.", + "name": "defer_validation", + "description": "When the transform is created, a series of validations occur to ensure its success. For example, there is a\ncheck for the existence of the source indices and a check that the destination index is not part of the source\nindex pattern. You can use this parameter to skip the checks, for example when the source index does not exist\nuntil after the transform is created. The validations are always run when you start the transform, however, with\nthe exception of privilege checks.", "deprecated": false, "schema": { "type": "boolean" @@ -27928,6 +29526,53 @@ "style": "form" } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "dest": { + "$ref": "#/components/schemas/transform._types:Destination" + }, + "description": { + "description": "Free text description of the transform.", + "type": "string" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "latest": { + "$ref": "#/components/schemas/transform._types:Latest" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "pivot": { + "$ref": "#/components/schemas/transform._types:Pivot" + }, + "retention_policy": { + "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" + }, + "settings": { + "$ref": "#/components/schemas/transform._types:Settings" + }, + "source": { + "$ref": "#/components/schemas/transform._types:Source" + }, + "sync": { + "$ref": "#/components/schemas/transform._types:SyncContainer" + } + }, + "required": [ + "dest", + "source" + ] + } + } + }, + "required": true + }, "responses": { "200": { "description": "", @@ -27940,40 +29585,61 @@ } } } - } - }, - "/_transform/{transform_id}{?allow_no_match,from,size,exclude_generated}": { - "get": { - "description": "Retrieves configuration information for transforms.", + }, + "delete": { + "description": "Deletes an existing transform.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-transform.html" }, - "operationId": "transform.get_transform#0", + "operationId": "transform.delete_transform#0", "parameters": [ { - "$ref": "#/components/parameters/transform.get_transform#transform_id" - }, - { - "$ref": "#/components/parameters/transform.get_transform#allow_no_match" - }, - { - "$ref": "#/components/parameters/transform.get_transform#from" + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" }, { - "$ref": "#/components/parameters/transform.get_transform#size" + "in": "query", + "name": "force", + "description": "If this value is false, the transform must be stopped before it can be deleted. If true, the transform is\ndeleted regardless of its current state.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, { - "$ref": "#/components/parameters/transform.get_transform#exclude_generated" + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" } ], "responses": { "200": { - "$ref": "#/components/responses/transform.get_transform#200" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } } } } }, - "/_transform{?allow_no_match,from,size,exclude_generated}": { + "/_transform": { "get": { "description": "Retrieves configuration information for transforms.", "externalDocs": { @@ -28001,7 +29667,7 @@ } } }, - "/_transform/{transform_id}/_stats{?allow_no_match,from,size,timeout}": { + "/_transform/{transform_id}/_stats": { "get": { "description": "Retrieves usage information for transforms.", "externalDocs": { @@ -28090,7 +29756,7 @@ } } }, - "/_transform/{transform_id}/_preview{?timeout}": { + "/_transform/{transform_id}/_preview": { "get": { "description": "Previews a transform.", "externalDocs": { @@ -28138,7 +29804,7 @@ } } }, - "/_transform/_preview{?timeout}": { + "/_transform/_preview": { "get": { "description": "Previews a transform.", "externalDocs": { @@ -28180,108 +29846,7 @@ } } }, - "/_transform/{transform_id}{?defer_validation,timeout}": { - "put": { - "description": "Instantiates a transform.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html" - }, - "operationId": "transform.put_transform#0", - "parameters": [ - { - "in": "path", - "name": "transform_id", - "description": "Identifier for the transform. This identifier can contain lowercase alphanumeric characters (a-z and 0-9),\nhyphens, and underscores. It has a 64 character limit and must start and end with alphanumeric characters.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "defer_validation", - "description": "When the transform is created, a series of validations occur to ensure its success. For example, there is a\ncheck for the existence of the source indices and a check that the destination index is not part of the source\nindex pattern. You can use this parameter to skip the checks, for example when the source index does not exist\nuntil after the transform is created. The validations are always run when you start the transform, however, with\nthe exception of privilege checks.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "dest": { - "$ref": "#/components/schemas/transform._types:Destination" - }, - "description": { - "description": "Free text description of the transform.", - "type": "string" - }, - "frequency": { - "$ref": "#/components/schemas/_types:Duration" - }, - "latest": { - "$ref": "#/components/schemas/transform._types:Latest" - }, - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "pivot": { - "$ref": "#/components/schemas/transform._types:Pivot" - }, - "retention_policy": { - "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" - }, - "settings": { - "$ref": "#/components/schemas/transform._types:Settings" - }, - "source": { - "$ref": "#/components/schemas/transform._types:Source" - }, - "sync": { - "$ref": "#/components/schemas/transform._types:SyncContainer" - } - }, - "required": [ - "dest", - "source" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_transform/{transform_id}/_reset{?force}": { + "/_transform/{transform_id}/_reset": { "post": { "description": "Resets an existing transform.", "externalDocs": { @@ -28325,7 +29890,7 @@ } } }, - "/_transform/{transform_id}/_schedule_now{?timeout}": { + "/_transform/{transform_id}/_schedule_now": { "post": { "description": "Schedules now a transform.", "externalDocs": { @@ -28369,7 +29934,7 @@ } } }, - "/_transform/{transform_id}/_start{?timeout,from}": { + "/_transform/{transform_id}/_start": { "post": { "description": "Starts one or more transforms.", "externalDocs": { @@ -28423,7 +29988,7 @@ } } }, - "/_transform/{transform_id}/_stop{?allow_no_match,force,timeout,wait_for_checkpoint,wait_for_completion}": { + "/_transform/{transform_id}/_stop": { "post": { "description": "Stops one or more transforms.", "externalDocs": { @@ -28507,7 +30072,7 @@ } } }, - "/_transform/{transform_id}/_update{?defer_validation,timeout}": { + "/_transform/{transform_id}/_update": { "post": { "description": "Updates certain properties of a transform.", "externalDocs": { @@ -28660,7 +30225,7 @@ } } }, - "/_transform/_upgrade{?dry_run,timeout}": { + "/_transform/_upgrade": { "post": { "description": "Upgrades all transforms.", "externalDocs": { @@ -28722,7 +30287,7 @@ } } }, - "/{index}/_update/{id}{?if_primary_term,if_seq_no,lang,refresh,require_alias,retry_on_conflict,routing,timeout,wait_for_active_shards,_source,_source_excludes,_source_includes}": { + "/{index}/_update/{id}": { "post": { "description": "Updates a document with a script or partial document.", "externalDocs": { @@ -28925,7 +30490,7 @@ } } }, - "/{index}/_update_by_query{?allow_no_indices,analyzer,analyze_wildcard,conflicts,default_operator,df,expand_wildcards,from,ignore_unavailable,lenient,max_docs,pipeline,preference,refresh,request_cache,requests_per_second,routing,scroll,scroll_size,search_timeout,search_type,slices,sort,stats,terminate_after,timeout,version,version_type,wait_for_active_shards,wait_for_completion}": { + "/{index}/_update_by_query": { "post": { "description": "Performs an update on every document in the index without changing the source,\nfor example to pick up a mapping change.", "externalDocs": { @@ -28936,7 +30501,7 @@ { "in": "path", "name": "index", - "description": "A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices", + "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams or indices, omit this parameter or use `*` or `_all`.", "required": true, "deprecated": false, "schema": { @@ -28947,7 +30512,7 @@ { "in": "query", "name": "allow_no_indices", - "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", "deprecated": false, "schema": { "type": "boolean" @@ -28957,7 +30522,7 @@ { "in": "query", "name": "analyzer", - "description": "The analyzer to use for the query string", + "description": "Analyzer to use for the query string.", "deprecated": false, "schema": { "type": "string" @@ -28967,7 +30532,7 @@ { "in": "query", "name": "analyze_wildcard", - "description": "Specify whether wildcard and prefix queries should be analyzed (default: false)", + "description": "If `true`, wildcard and prefix queries are analyzed.", "deprecated": false, "schema": { "type": "boolean" @@ -28977,7 +30542,7 @@ { "in": "query", "name": "conflicts", - "description": "What to do when the update by query hits version conflicts?", + "description": "What to do if update by query hits version conflicts: `abort` or `proceed`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Conflicts" @@ -28987,7 +30552,7 @@ { "in": "query", "name": "default_operator", - "description": "The default operator for query string query (AND or OR)", + "description": "The default operator for query string query: `AND` or `OR`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types.query_dsl:Operator" @@ -28997,7 +30562,7 @@ { "in": "query", "name": "df", - "description": "The field to use as default where no field prefix is given in the query string", + "description": "Field to use as default where no field prefix is given in the query string.", "deprecated": false, "schema": { "type": "string" @@ -29007,7 +30572,7 @@ { "in": "query", "name": "expand_wildcards", - "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:ExpandWildcards" @@ -29027,7 +30592,7 @@ { "in": "query", "name": "ignore_unavailable", - "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", "deprecated": false, "schema": { "type": "boolean" @@ -29037,7 +30602,7 @@ { "in": "query", "name": "lenient", - "description": "Specify whether format-based query failures (such as providing text to a numeric field) should be ignored", + "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", "deprecated": false, "schema": { "type": "boolean" @@ -29047,7 +30612,7 @@ { "in": "query", "name": "max_docs", - "description": "Maximum number of documents to process (default: all documents)", + "description": "Maximum number of documents to process.\nDefaults to all documents.", "deprecated": false, "schema": { "type": "number" @@ -29057,7 +30622,7 @@ { "in": "query", "name": "pipeline", - "description": "Ingest pipeline to set on index requests made by this action. (default: none)", + "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", "deprecated": false, "schema": { "type": "string" @@ -29067,7 +30632,7 @@ { "in": "query", "name": "preference", - "description": "Specify the node or shard the operation should be performed on (default: random)", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", "deprecated": false, "schema": { "type": "string" @@ -29077,7 +30642,7 @@ { "in": "query", "name": "refresh", - "description": "Should the affected indexes be refreshed?", + "description": "If `true`, Elasticsearch refreshes affected shards to make the operation visible to search.", "deprecated": false, "schema": { "type": "boolean" @@ -29087,7 +30652,7 @@ { "in": "query", "name": "request_cache", - "description": "Specify if request cache should be used for this request or not, defaults to index level setting", + "description": "If `true`, the request cache is used for this request.", "deprecated": false, "schema": { "type": "boolean" @@ -29097,7 +30662,7 @@ { "in": "query", "name": "requests_per_second", - "description": "The throttle to set on this request in sub-requests per second. -1 means no throttle.", + "description": "The throttle for this request in sub-requests per second.", "deprecated": false, "schema": { "type": "number" @@ -29107,7 +30672,7 @@ { "in": "query", "name": "routing", - "description": "A comma-separated list of specific routing values", + "description": "Custom value used to route operations to a specific shard.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Routing" @@ -29117,7 +30682,7 @@ { "in": "query", "name": "scroll", - "description": "Specify how long a consistent view of the index should be maintained for scrolled search", + "description": "Period to retain the search context for scrolling.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -29127,7 +30692,7 @@ { "in": "query", "name": "scroll_size", - "description": "Size on the scroll request powering the update by query", + "description": "Size of the scroll request that powers the operation.", "deprecated": false, "schema": { "type": "number" @@ -29137,7 +30702,7 @@ { "in": "query", "name": "search_timeout", - "description": "Explicit timeout for each search request. Defaults to no timeout.", + "description": "Explicit timeout for each search request.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -29147,7 +30712,7 @@ { "in": "query", "name": "search_type", - "description": "Search operation type", + "description": "The type of the search operation. Available options: `query_then_fetch`, `dfs_query_then_fetch`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:SearchType" @@ -29157,7 +30722,7 @@ { "in": "query", "name": "slices", - "description": "The number of slices this task should be divided into. Defaults to 1, meaning the task isn't sliced into subtasks. Can be set to `auto`.", + "description": "The number of slices this task should be divided into.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Slices" @@ -29167,7 +30732,7 @@ { "in": "query", "name": "sort", - "description": "A comma-separated list of : pairs", + "description": "A comma-separated list of : pairs.", "deprecated": false, "schema": { "type": "array", @@ -29180,7 +30745,7 @@ { "in": "query", "name": "stats", - "description": "Specific 'tag' of the request for logging and statistical purposes", + "description": "Specific `tag` of the request for logging and statistical purposes.", "deprecated": false, "schema": { "type": "array", @@ -29193,7 +30758,7 @@ { "in": "query", "name": "terminate_after", - "description": "The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early.", + "description": "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.\nUse with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.", "deprecated": false, "schema": { "type": "number" @@ -29203,7 +30768,7 @@ { "in": "query", "name": "timeout", - "description": "Time each individual bulk request should wait for shards that are unavailable.", + "description": "Period each update request waits for the following operations: dynamic mapping updates, waiting for active shards.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -29213,7 +30778,7 @@ { "in": "query", "name": "version", - "description": "Specify whether to return document version as part of a hit", + "description": "If `true`, returns the document version as part of a hit.", "deprecated": false, "schema": { "type": "boolean" @@ -29233,7 +30798,7 @@ { "in": "query", "name": "wait_for_active_shards", - "description": "Sets the number of shard copies that must be active before proceeding with the update by query operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:WaitForActiveShards" @@ -29243,7 +30808,7 @@ { "in": "query", "name": "wait_for_completion", - "description": "Should the request should block until the update by query operation is complete.", + "description": "If `true`, the request blocks until the operation is complete.", "deprecated": false, "schema": { "type": "boolean" @@ -29258,6 +30823,7 @@ "type": "object", "properties": { "max_docs": { + "description": "The maximum number of documents to update.", "type": "number" }, "query": { @@ -29344,7 +30910,7 @@ } } }, - "/_update_by_query/{task_id}/_rethrottle{?requests_per_second}": { + "/_update_by_query/{task_id}/_rethrottle": { "post": { "description": "Changes the number of requests per second for a particular Update By Query operation.", "externalDocs": { @@ -29355,7 +30921,7 @@ { "in": "path", "name": "task_id", - "description": "The task id to rethrottle", + "description": "The ID for the task.", "required": true, "deprecated": false, "schema": { @@ -29366,7 +30932,7 @@ { "in": "query", "name": "requests_per_second", - "description": "The throttle to set on this request in floating sub-requests per second. -1 means set no throttle.", + "description": "The throttle for this request in sub-requests per second.", "deprecated": false, "schema": { "type": "number" @@ -29608,64 +31174,131 @@ } } } - } - }, - "/_watcher/watch/{id}/_execute{?debug}": { + }, "put": { - "description": "Forces the execution of a stored watch.", + "description": "Creates a new watch, or updates an existing one.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html" }, - "operationId": "watcher.execute_watch#0", + "operationId": "watcher.put_watch#0", "parameters": [ { - "$ref": "#/components/parameters/watcher.execute_watch#id" + "$ref": "#/components/parameters/watcher.put_watch#id" }, { - "$ref": "#/components/parameters/watcher.execute_watch#debug" + "$ref": "#/components/parameters/watcher.put_watch#active" + }, + { + "$ref": "#/components/parameters/watcher.put_watch#if_primary_term" + }, + { + "$ref": "#/components/parameters/watcher.put_watch#if_seq_no" + }, + { + "$ref": "#/components/parameters/watcher.put_watch#version" } ], "requestBody": { - "$ref": "#/components/requestBodies/watcher.execute_watch" + "$ref": "#/components/requestBodies/watcher.put_watch" }, "responses": { "200": { - "$ref": "#/components/responses/watcher.execute_watch#200" + "$ref": "#/components/responses/watcher.put_watch#200" } } }, "post": { - "description": "Forces the execution of a stored watch.", + "description": "Creates a new watch, or updates an existing one.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html" }, - "operationId": "watcher.execute_watch#1", + "operationId": "watcher.put_watch#1", "parameters": [ { - "$ref": "#/components/parameters/watcher.execute_watch#id" + "$ref": "#/components/parameters/watcher.put_watch#id" }, { - "$ref": "#/components/parameters/watcher.execute_watch#debug" + "$ref": "#/components/parameters/watcher.put_watch#active" + }, + { + "$ref": "#/components/parameters/watcher.put_watch#if_primary_term" + }, + { + "$ref": "#/components/parameters/watcher.put_watch#if_seq_no" + }, + { + "$ref": "#/components/parameters/watcher.put_watch#version" } ], "requestBody": { - "$ref": "#/components/requestBodies/watcher.execute_watch" + "$ref": "#/components/requestBodies/watcher.put_watch" }, "responses": { "200": { - "$ref": "#/components/responses/watcher.execute_watch#200" + "$ref": "#/components/responses/watcher.put_watch#200" + } + } + }, + "delete": { + "description": "Removes a watch from Watcher.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-delete-watch.html" + }, + "operationId": "watcher.delete_watch#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Watch ID", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "found": { + "type": "boolean" + }, + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_version": { + "$ref": "#/components/schemas/_types:VersionNumber" + } + }, + "required": [ + "found", + "_id", + "_version" + ] + } + } + } } } } }, - "/_watcher/watch/_execute{?debug}": { + "/_watcher/watch/{id}/_execute": { "put": { "description": "Forces the execution of a stored watch.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html" }, - "operationId": "watcher.execute_watch#2", + "operationId": "watcher.execute_watch#0", "parameters": [ + { + "$ref": "#/components/parameters/watcher.execute_watch#id" + }, { "$ref": "#/components/parameters/watcher.execute_watch#debug" } @@ -29684,8 +31317,11 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html" }, - "operationId": "watcher.execute_watch#3", + "operationId": "watcher.execute_watch#1", "parameters": [ + { + "$ref": "#/components/parameters/watcher.execute_watch#id" + }, { "$ref": "#/components/parameters/watcher.execute_watch#debug" } @@ -29700,68 +31336,44 @@ } } }, - "/_watcher/watch/{id}{?active,if_primary_term,if_seq_no,version}": { + "/_watcher/watch/_execute": { "put": { - "description": "Creates a new watch, or updates an existing one.", + "description": "Forces the execution of a stored watch.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html" }, - "operationId": "watcher.put_watch#0", + "operationId": "watcher.execute_watch#2", "parameters": [ { - "$ref": "#/components/parameters/watcher.put_watch#id" - }, - { - "$ref": "#/components/parameters/watcher.put_watch#active" - }, - { - "$ref": "#/components/parameters/watcher.put_watch#if_primary_term" - }, - { - "$ref": "#/components/parameters/watcher.put_watch#if_seq_no" - }, - { - "$ref": "#/components/parameters/watcher.put_watch#version" + "$ref": "#/components/parameters/watcher.execute_watch#debug" } ], "requestBody": { - "$ref": "#/components/requestBodies/watcher.put_watch" + "$ref": "#/components/requestBodies/watcher.execute_watch" }, "responses": { "200": { - "$ref": "#/components/responses/watcher.put_watch#200" + "$ref": "#/components/responses/watcher.execute_watch#200" } } }, "post": { - "description": "Creates a new watch, or updates an existing one.", + "description": "Forces the execution of a stored watch.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html" }, - "operationId": "watcher.put_watch#1", + "operationId": "watcher.execute_watch#3", "parameters": [ { - "$ref": "#/components/parameters/watcher.put_watch#id" - }, - { - "$ref": "#/components/parameters/watcher.put_watch#active" - }, - { - "$ref": "#/components/parameters/watcher.put_watch#if_primary_term" - }, - { - "$ref": "#/components/parameters/watcher.put_watch#if_seq_no" - }, - { - "$ref": "#/components/parameters/watcher.put_watch#version" + "$ref": "#/components/parameters/watcher.execute_watch#debug" } ], "requestBody": { - "$ref": "#/components/requestBodies/watcher.put_watch" + "$ref": "#/components/requestBodies/watcher.execute_watch" }, "responses": { "200": { - "$ref": "#/components/responses/watcher.put_watch#200" + "$ref": "#/components/responses/watcher.execute_watch#200" } } } @@ -29819,7 +31431,7 @@ } } }, - "/_watcher/stats{?emit_stacktraces,metric}": { + "/_watcher/stats": { "get": { "description": "Retrieves the current Watcher metrics.", "externalDocs": { @@ -29831,7 +31443,7 @@ "$ref": "#/components/parameters/watcher.stats#emit_stacktraces" }, { - "$ref": "#/components/parameters/watcher.stats#metric" + "$ref": "#/components/parameters/watcher.stats#metric_" } ], "responses": { @@ -29841,7 +31453,7 @@ } } }, - "/_watcher/stats/{metric}{?emit_stacktraces,metric}": { + "/_watcher/stats/{metric}": { "get": { "description": "Retrieves the current Watcher metrics.", "externalDocs": { @@ -29856,7 +31468,7 @@ "$ref": "#/components/parameters/watcher.stats#emit_stacktraces" }, { - "$ref": "#/components/parameters/watcher.stats#metric" + "$ref": "#/components/parameters/watcher.stats#metric_" } ], "responses": { @@ -29887,7 +31499,7 @@ } } }, - "/_xpack{?categories,accept_enterprise,human}": { + "/_xpack": { "get": { "description": "Retrieves information about the installed X-Pack features.", "externalDocs": { @@ -29963,7 +31575,7 @@ } } }, - "/_xpack/usage{?master_timeout}": { + "/_xpack/usage": { "get": { "description": "Retrieves usage information about the installed X-Pack features.", "externalDocs": { @@ -33544,6 +35156,7 @@ "in": "path", "name": "index", "description": "A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -34023,7 +35636,8 @@ "bulk#index": { "in": "path", "name": "index", - "description": "Default index for items which don't provide one", + "description": "Name of the data stream, index, or index alias to perform bulk actions on.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:IndexName" @@ -34033,7 +35647,7 @@ "bulk#pipeline": { "in": "query", "name": "pipeline", - "description": "The pipeline id to preprocess incoming documents with", + "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", "deprecated": false, "schema": { "type": "string" @@ -34043,7 +35657,7 @@ "bulk#refresh": { "in": "query", "name": "refresh", - "description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes.", + "description": "If `true`, Elasticsearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.\nValid values: `true`, `false`, `wait_for`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Refresh" @@ -34053,7 +35667,7 @@ "bulk#routing": { "in": "query", "name": "routing", - "description": "Specific routing value", + "description": "Custom value used to route operations to a specific shard.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Routing" @@ -34063,7 +35677,7 @@ "bulk#_source": { "in": "query", "name": "_source", - "description": "True or false to return the _source field or not, or default list of fields to return, can be overridden on each sub-request", + "description": "`true` or `false` to return the `_source` field or not, or a list of fields to return.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" @@ -34073,7 +35687,7 @@ "bulk#_source_excludes": { "in": "query", "name": "_source_excludes", - "description": "Default list of fields to exclude from the returned _source field, can be overridden on each sub-request", + "description": "A comma-separated list of source fields to exclude from the response.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Fields" @@ -34083,7 +35697,7 @@ "bulk#_source_includes": { "in": "query", "name": "_source_includes", - "description": "Default list of fields to extract and return from the _source field, can be overridden on each sub-request", + "description": "A comma-separated list of source fields to include in the response.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Fields" @@ -34093,7 +35707,7 @@ "bulk#timeout": { "in": "query", "name": "timeout", - "description": "Explicit operation timeout", + "description": "Period each action waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -34103,7 +35717,7 @@ "bulk#wait_for_active_shards": { "in": "query", "name": "wait_for_active_shards", - "description": "Sets the number of shard copies that must be active before proceeding with the bulk operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:WaitForActiveShards" @@ -34113,7 +35727,7 @@ "bulk#require_alias": { "in": "query", "name": "require_alias", - "description": "Sets require_alias for all incoming documents. Defaults to unset (false)", + "description": "If `true`, the request’s actions must target an index alias.", "deprecated": false, "schema": { "type": "boolean" @@ -34124,6 +35738,7 @@ "in": "path", "name": "name", "description": "A comma-separated list of aliases to retrieve. Supports wildcards (`*`). To retrieve all aliases, omit this parameter or use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Names" @@ -34144,6 +35759,7 @@ "in": "path", "name": "node_id", "description": "Comma-separated list of node identifiers or names used to limit the returned information.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:NodeIds" @@ -34164,6 +35780,7 @@ "in": "path", "name": "name", "description": "The name of the component template. Accepts wildcard expressions. If omitted, all component templates are returned.", + "required": true, "deprecated": false, "schema": { "type": "string" @@ -34174,6 +35791,7 @@ "in": "path", "name": "index", "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`). To target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -34181,14 +35799,15 @@ "style": "simple" }, "cat.fielddata#fields": { - "in": "query", + "in": "path", "name": "fields", - "description": "Comma-separated list of fields used to limit returned information.", + "description": "Comma-separated list of fields used to limit returned information.\nTo retrieve all fields, omit this parameter.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Fields" }, - "style": "form" + "style": "simple" }, "cat.fielddata#bytes": { "in": "query", @@ -34200,10 +35819,21 @@ }, "style": "form" }, + "cat.fielddata#fields_": { + "in": "query", + "name": "fields", + "description": "Comma-separated list of fields used to limit returned information.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, "cat.indices#index": { "in": "path", "name": "index", "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`). To target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -34274,6 +35904,7 @@ "in": "path", "name": "id", "description": "The ID of the data frame analytics to fetch", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -34334,6 +35965,7 @@ "in": "path", "name": "datafeed_id", "description": "A numerical character string that uniquely identifies the datafeed.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -34384,6 +36016,7 @@ "in": "path", "name": "job_id", "description": "Identifier for the anomaly detection job.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -34444,6 +36077,7 @@ "in": "path", "name": "model_id", "description": "A unique identifier for the trained model.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -34514,6 +36148,7 @@ "in": "path", "name": "index", "description": "A comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`). To target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -34554,6 +36189,7 @@ "in": "path", "name": "index", "description": "A comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -34574,6 +36210,7 @@ "in": "path", "name": "index", "description": "A comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -34594,6 +36231,7 @@ "in": "path", "name": "repository", "description": "A comma-separated list of snapshot repositories used to limit the request.\nAccepts wildcard expressions.\n`_all` returns all repositories.\nIf any repository fails during the request, Elasticsearch returns an error.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Names" @@ -34614,6 +36252,7 @@ "in": "path", "name": "name", "description": "The name of the template to return.\nAccepts wildcard expressions. If omitted, all templates are returned.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Name" @@ -34624,6 +36263,7 @@ "in": "path", "name": "thread_pool_patterns", "description": "A comma-separated list of thread pool names used to limit the request.\nAccepts wildcard expressions.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Names" @@ -34644,6 +36284,7 @@ "in": "path", "name": "transform_id", "description": "A transform identifier or a wildcard expression.\nIf you do not specify one of these options, the API returns information for all transforms.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -34714,6 +36355,7 @@ "in": "path", "name": "name", "description": "Specifies the auto-follow pattern collection that you want to retrieve. If you do not specify a name, the API returns information for all collections.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Name" @@ -34723,7 +36365,8 @@ "clear_scroll#scroll_id": { "in": "path", "name": "scroll_id", - "description": "A comma-separated list of scroll IDs to clear", + "description": "Comma-separated list of scroll IDs to clear.\nTo clear all scroll IDs, use `_all`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:ScrollIds" @@ -34754,6 +36397,7 @@ "in": "path", "name": "name", "description": "Comma-separated list of component template names used to limit the request.\nWildcard (`*`) expressions are supported.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Name" @@ -34804,6 +36448,7 @@ "in": "path", "name": "index", "description": "Comma-separated list of data streams, indices, and index aliases used to limit the request. Wildcard expressions (*) are supported. To target all data streams and indices in a cluster, omit this parameter or use _all or *.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -34962,6 +36607,7 @@ "in": "path", "name": "metric", "description": "Limit the information returned to the specified metrics", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Metrics" @@ -34972,6 +36618,7 @@ "in": "path", "name": "index", "description": "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -35062,6 +36709,7 @@ "in": "path", "name": "node_id", "description": "Comma-separated list of node filters used to limit returned information. Defaults to all nodes in the cluster.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:NodeIds" @@ -35091,7 +36739,8 @@ "count#index": { "in": "path", "name": "index", - "description": "A comma-separated list of indices to restrict the results", + "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -35101,7 +36750,7 @@ "count#allow_no_indices": { "in": "query", "name": "allow_no_indices", - "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", "deprecated": false, "schema": { "type": "boolean" @@ -35111,7 +36760,7 @@ "count#analyzer": { "in": "query", "name": "analyzer", - "description": "The analyzer to use for the query string", + "description": "Analyzer to use for the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", "deprecated": false, "schema": { "type": "string" @@ -35121,7 +36770,7 @@ "count#analyze_wildcard": { "in": "query", "name": "analyze_wildcard", - "description": "Specify whether wildcard and prefix queries should be analyzed (default: false)", + "description": "If `true`, wildcard and prefix queries are analyzed.\nThis parameter can only be used when the `q` query string parameter is specified.", "deprecated": false, "schema": { "type": "boolean" @@ -35131,7 +36780,7 @@ "count#default_operator": { "in": "query", "name": "default_operator", - "description": "The default operator for query string query (AND or OR)", + "description": "The default operator for query string query: `AND` or `OR`.\nThis parameter can only be used when the `q` query string parameter is specified.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types.query_dsl:Operator" @@ -35141,7 +36790,7 @@ "count#df": { "in": "query", "name": "df", - "description": "The field to use as default where no field prefix is given in the query string", + "description": "Field to use as default where no field prefix is given in the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", "deprecated": false, "schema": { "type": "string" @@ -35151,7 +36800,7 @@ "count#expand_wildcards": { "in": "query", "name": "expand_wildcards", - "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:ExpandWildcards" @@ -35161,7 +36810,7 @@ "count#ignore_throttled": { "in": "query", "name": "ignore_throttled", - "description": "Whether specified concrete, expanded or aliased indices should be ignored when throttled", + "description": "If `true`, concrete, expanded or aliased indices are ignored when frozen.", "deprecated": false, "schema": { "type": "boolean" @@ -35171,7 +36820,7 @@ "count#ignore_unavailable": { "in": "query", "name": "ignore_unavailable", - "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", "deprecated": false, "schema": { "type": "boolean" @@ -35181,7 +36830,7 @@ "count#lenient": { "in": "query", "name": "lenient", - "description": "Specify whether format-based query failures (such as providing text to a numeric field) should be ignored", + "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", "deprecated": false, "schema": { "type": "boolean" @@ -35191,7 +36840,7 @@ "count#min_score": { "in": "query", "name": "min_score", - "description": "Include only documents with a specific `_score` value in the result", + "description": "Sets the minimum `_score` value that documents must have to be included in the result.", "deprecated": false, "schema": { "type": "number" @@ -35201,7 +36850,7 @@ "count#preference": { "in": "query", "name": "preference", - "description": "Specify the node or shard the operation should be performed on (default: random)", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", "deprecated": false, "schema": { "type": "string" @@ -35211,7 +36860,7 @@ "count#routing": { "in": "query", "name": "routing", - "description": "A comma-separated list of specific routing values", + "description": "Custom value used to route operations to a specific shard.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Routing" @@ -35221,7 +36870,7 @@ "count#terminate_after": { "in": "query", "name": "terminate_after", - "description": "The maximum count for each shard, upon reaching which the query execution will terminate early", + "description": "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.", "deprecated": false, "schema": { "type": "number" @@ -35231,7 +36880,7 @@ "count#q": { "in": "query", "name": "q", - "description": "Query in the Lucene query string syntax", + "description": "Query in the Lucene query string syntax.", "deprecated": false, "schema": { "type": "string" @@ -35241,7 +36890,7 @@ "create#id": { "in": "path", "name": "id", - "description": "Document ID", + "description": "Unique identifier for the document.", "required": true, "deprecated": false, "schema": { @@ -35252,7 +36901,7 @@ "create#index": { "in": "path", "name": "index", - "description": "The name of the index", + "description": "Name of the data stream or index to target.\nIf the target doesn’t exist and matches the name or wildcard (`*`) pattern of an index template with a `data_stream` definition, this request creates the data stream.\nIf the target doesn’t exist and doesn’t match a data stream template, this request creates the index.", "required": true, "deprecated": false, "schema": { @@ -35263,7 +36912,7 @@ "create#pipeline": { "in": "query", "name": "pipeline", - "description": "The pipeline id to preprocess incoming documents with", + "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", "deprecated": false, "schema": { "type": "string" @@ -35273,7 +36922,7 @@ "create#refresh": { "in": "query", "name": "refresh", - "description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes.", + "description": "If `true`, Elasticsearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.\nValid values: `true`, `false`, `wait_for`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Refresh" @@ -35283,7 +36932,7 @@ "create#routing": { "in": "query", "name": "routing", - "description": "Specific routing value", + "description": "Custom value used to route operations to a specific shard.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Routing" @@ -35293,7 +36942,7 @@ "create#timeout": { "in": "query", "name": "timeout", - "description": "Explicit operation timeout", + "description": "Period the request waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -35303,7 +36952,7 @@ "create#version": { "in": "query", "name": "version", - "description": "Explicit version number for concurrency control", + "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:VersionNumber" @@ -35313,7 +36962,7 @@ "create#version_type": { "in": "query", "name": "version_type", - "description": "Specific version type", + "description": "Specific version type: `external`, `external_gte`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:VersionType" @@ -35323,7 +36972,7 @@ "create#wait_for_active_shards": { "in": "query", "name": "wait_for_active_shards", - "description": "Sets the number of shard copies that must be active before proceeding with the index operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:WaitForActiveShards" @@ -35334,6 +36983,7 @@ "in": "path", "name": "name", "description": "Comma-separated list of enrich policy names used to limit the request.\nTo return information for all enrich policies, omit this parameter.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Names" @@ -35412,7 +37062,7 @@ "explain#id": { "in": "path", "name": "id", - "description": "The document ID", + "description": "Defines the document ID.", "required": true, "deprecated": false, "schema": { @@ -35423,7 +37073,7 @@ "explain#index": { "in": "path", "name": "index", - "description": "The name of the index", + "description": "Index names used to limit the request.\nOnly a single index name can be provided to this parameter.", "required": true, "deprecated": false, "schema": { @@ -35434,7 +37084,7 @@ "explain#analyzer": { "in": "query", "name": "analyzer", - "description": "The analyzer for the query string query", + "description": "Analyzer to use for the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", "deprecated": false, "schema": { "type": "string" @@ -35444,7 +37094,7 @@ "explain#analyze_wildcard": { "in": "query", "name": "analyze_wildcard", - "description": "Specify whether wildcards and prefix queries in the query string query should be analyzed (default: false)", + "description": "If `true`, wildcard and prefix queries are analyzed.", "deprecated": false, "schema": { "type": "boolean" @@ -35454,7 +37104,7 @@ "explain#default_operator": { "in": "query", "name": "default_operator", - "description": "The default operator for query string query (AND or OR)", + "description": "The default operator for query string query: `AND` or `OR`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types.query_dsl:Operator" @@ -35464,7 +37114,7 @@ "explain#df": { "in": "query", "name": "df", - "description": "The default field for query string query (default: _all)", + "description": "Field to use as default where no field prefix is given in the query string.", "deprecated": false, "schema": { "type": "string" @@ -35474,7 +37124,7 @@ "explain#lenient": { "in": "query", "name": "lenient", - "description": "Specify whether format-based query failures (such as providing text to a numeric field) should be ignored", + "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", "deprecated": false, "schema": { "type": "boolean" @@ -35484,7 +37134,7 @@ "explain#preference": { "in": "query", "name": "preference", - "description": "Specify the node or shard the operation should be performed on (default: random)", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", "deprecated": false, "schema": { "type": "string" @@ -35494,7 +37144,7 @@ "explain#routing": { "in": "query", "name": "routing", - "description": "Specific routing value", + "description": "Custom value used to route operations to a specific shard.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Routing" @@ -35504,7 +37154,7 @@ "explain#_source": { "in": "query", "name": "_source", - "description": "True or false to return the _source field or not, or a list of fields to return", + "description": "True or false to return the `_source` field or not, or a list of fields to return.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" @@ -35514,7 +37164,7 @@ "explain#_source_excludes": { "in": "query", "name": "_source_excludes", - "description": "A list of fields to exclude from the returned _source field", + "description": "A comma-separated list of source fields to exclude from the response.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Fields" @@ -35524,7 +37174,7 @@ "explain#_source_includes": { "in": "query", "name": "_source_includes", - "description": "A list of fields to extract and return from the _source field", + "description": "A comma-separated list of source fields to include in the response.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Fields" @@ -35534,7 +37184,7 @@ "explain#stored_fields": { "in": "query", "name": "stored_fields", - "description": "A comma-separated list of stored fields to return in the response", + "description": "A comma-separated list of stored fields to return in the response.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Fields" @@ -35544,7 +37194,7 @@ "explain#q": { "in": "query", "name": "q", - "description": "Query in the Lucene query string syntax", + "description": "Query in the Lucene query string syntax.", "deprecated": false, "schema": { "type": "string" @@ -35555,6 +37205,7 @@ "in": "path", "name": "index", "description": "Comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indices, omit this parameter or use * or _all.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -35638,6 +37289,7 @@ "in": "path", "name": "index", "description": "A single target to search. If the target is an index alias, it must resolve to a single index.", + "required": true, "deprecated": false, "schema": { "oneOf": [ @@ -36253,6 +37905,7 @@ "in": "path", "name": "feature", "description": "A feature of the cluster, as returned by the top-level health report API.", + "required": true, "deprecated": false, "schema": { "oneOf": [ @@ -36303,6 +37956,7 @@ "in": "path", "name": "policy", "description": "Identifier for the policy.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Name" @@ -36332,7 +37986,8 @@ "index#id": { "in": "path", "name": "id", - "description": "Document ID", + "description": "Unique identifier for the document.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -36342,7 +37997,7 @@ "index#index": { "in": "path", "name": "index", - "description": "The name of the index", + "description": "Name of the data stream or index to target.", "required": true, "deprecated": false, "schema": { @@ -36353,7 +38008,7 @@ "index#if_primary_term": { "in": "query", "name": "if_primary_term", - "description": "only perform the index operation if the last operation that has changed the document has the specified primary term", + "description": "Only perform the operation if the document has this primary term.", "deprecated": false, "schema": { "type": "number" @@ -36363,7 +38018,7 @@ "index#if_seq_no": { "in": "query", "name": "if_seq_no", - "description": "only perform the index operation if the last operation that has changed the document has the specified sequence number", + "description": "Only perform the operation if the document has this sequence number.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:SequenceNumber" @@ -36373,7 +38028,7 @@ "index#op_type": { "in": "query", "name": "op_type", - "description": "Explicit operation type. Defaults to `index` for requests with an explicit document ID, and to `create`for requests without an explicit document ID", + "description": "Set to create to only index the document if it does not already exist (put if absent).\nIf a document with the specified `_id` already exists, the indexing operation will fail.\nSame as using the `/_create` endpoint.\nValid values: `index`, `create`.\nIf document id is specified, it defaults to `index`.\nOtherwise, it defaults to `create`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:OpType" @@ -36383,7 +38038,7 @@ "index#pipeline": { "in": "query", "name": "pipeline", - "description": "The pipeline id to preprocess incoming documents with", + "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", "deprecated": false, "schema": { "type": "string" @@ -36393,7 +38048,7 @@ "index#refresh": { "in": "query", "name": "refresh", - "description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes.", + "description": "If `true`, Elasticsearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.\nValid values: `true`, `false`, `wait_for`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Refresh" @@ -36403,7 +38058,7 @@ "index#routing": { "in": "query", "name": "routing", - "description": "Specific routing value", + "description": "Custom value used to route operations to a specific shard.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Routing" @@ -36413,7 +38068,7 @@ "index#timeout": { "in": "query", "name": "timeout", - "description": "Explicit operation timeout", + "description": "Period the request waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -36423,7 +38078,7 @@ "index#version": { "in": "query", "name": "version", - "description": "Explicit version number for concurrency control", + "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:VersionNumber" @@ -36433,7 +38088,7 @@ "index#version_type": { "in": "query", "name": "version_type", - "description": "Specific version type", + "description": "Specific version type: `external`, `external_gte`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:VersionType" @@ -36443,7 +38098,7 @@ "index#wait_for_active_shards": { "in": "query", "name": "wait_for_active_shards", - "description": "Sets the number of shard copies that must be active before proceeding with the index operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:WaitForActiveShards" @@ -36453,7 +38108,7 @@ "index#require_alias": { "in": "query", "name": "require_alias", - "description": "When true, requires destination to be an alias. Default is false", + "description": "If `true`, the destination must be an index alias.", "deprecated": false, "schema": { "type": "boolean" @@ -36464,6 +38119,7 @@ "in": "path", "name": "index", "description": "Index used to derive the analyzer.\nIf specified, the `analyzer` or field parameter overrides this value.\nIf no index is specified or the index does not have a default analyzer, the analyze API uses the standard analyzer.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:IndexName" @@ -36474,6 +38130,7 @@ "in": "path", "name": "index", "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -36606,6 +38263,7 @@ "in": "path", "name": "name", "description": "Comma-separated list of data streams used to limit the request.\nWildcard expressions (`*`) are supported.\nTo target all data streams in a cluster, omit this parameter or use `*`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:IndexName" @@ -36679,6 +38337,7 @@ "in": "path", "name": "index", "description": "Comma-separated list of data streams or indices used to limit the request. Supports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -36729,6 +38388,7 @@ "in": "path", "name": "index", "description": "Comma-separated list of data streams, indices, and aliases to flush.\nSupports wildcards (`*`).\nTo flush all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -36789,6 +38449,7 @@ "in": "path", "name": "index", "description": "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -36869,6 +38530,7 @@ "in": "path", "name": "name", "description": "Comma-separated list of aliases to retrieve.\nSupports wildcards (`*`).\nTo retrieve all aliases, omit this parameter or use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Names" @@ -36879,6 +38541,7 @@ "in": "path", "name": "index", "description": "Comma-separated list of data streams or indices used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -36929,6 +38592,7 @@ "in": "path", "name": "name", "description": "Comma-separated list of data stream names used to limit the request.\nWildcard (`*`) expressions are supported. If omitted, all data streams are returned.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:DataStreamNames" @@ -36970,6 +38634,7 @@ "in": "path", "name": "index", "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -37030,6 +38695,7 @@ "in": "path", "name": "name", "description": "Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Name" @@ -37080,6 +38746,7 @@ "in": "path", "name": "index", "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -37140,6 +38807,7 @@ "in": "path", "name": "index", "description": "Comma-separated list of data streams, indices, and aliases used to limit\nthe request. Supports wildcards (`*`). To target all data streams and\nindices, omit this parameter or use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -37150,6 +38818,7 @@ "in": "path", "name": "name", "description": "Comma-separated list or wildcard expression of settings to retrieve.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Names" @@ -37230,6 +38899,7 @@ "in": "path", "name": "name", "description": "Comma-separated list of index template names used to limit the request.\nWildcard (`*`) expressions are supported.\nTo return all index templates, omit this parameter or use a value of `_all` or `*`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Names" @@ -37404,6 +39074,7 @@ "in": "path", "name": "index", "description": "Comma-separated list of data streams, indices, and aliases used to limit\nthe request. Supports wildcards (`*`). To target all data streams and\nindices, omit this parameter or use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -37545,6 +39216,7 @@ "in": "path", "name": "index", "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -37575,6 +39247,7 @@ "in": "path", "name": "index", "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -37667,6 +39340,7 @@ "in": "path", "name": "new_index", "description": "Name of the index to create.\nSupports date math.\nData streams do not support this parameter.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:IndexName" @@ -37717,6 +39391,7 @@ "in": "path", "name": "index", "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -37767,6 +39442,7 @@ "in": "path", "name": "index", "description": "List of data streams, indices, and aliases used to limit the request.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -37879,6 +39555,7 @@ "in": "path", "name": "name", "description": "Name of the index template to simulate. To test a template configuration before you add it to the cluster, omit\nthis parameter and specify the template configuration in the request body.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Name" @@ -37971,6 +39648,7 @@ "in": "path", "name": "metric", "description": "Limit the information returned the specific metrics.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Metrics" @@ -37981,6 +39659,7 @@ "in": "path", "name": "index", "description": "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -38091,6 +39770,7 @@ "in": "path", "name": "index", "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams or indices, omit this parameter or use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -38221,6 +39901,7 @@ "in": "path", "name": "id", "description": "Comma-separated list of pipeline IDs to retrieve.\nWildcard (`*`) expressions are supported.\nTo get all ingest pipelines, omit this parameter or use `*`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -38251,6 +39932,7 @@ "in": "path", "name": "id", "description": "Pipeline to test.\nIf you don’t specify a `pipeline` in the request body, this parameter is required.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -38313,6 +39995,7 @@ "in": "path", "name": "index", "description": "Name of the index to retrieve documents from when `ids` are specified, or when a document in the `docs` array does not specify an index.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:IndexName" @@ -38403,6 +40086,7 @@ "in": "path", "name": "index", "description": "Comma-separate list of data streams or indices to check. Wildcard (*) expressions are supported.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:IndexName" @@ -38413,6 +40097,7 @@ "in": "path", "name": "job_id", "description": "Identifier for an anomaly detection job. It can be a job identifier, a\ngroup name, or a wildcard expression.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -38454,6 +40139,7 @@ "in": "path", "name": "forecast_id", "description": "A comma-separated list of forecast identifiers. If you do not specify\nthis optional parameter or if you specify `_all` or `*` the API deletes\nall forecasts from the job.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -38484,6 +40170,7 @@ "in": "path", "name": "id", "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -38505,6 +40192,7 @@ "in": "path", "name": "timestamp", "description": "The timestamp of a single bucket result. If you do not specify this\nparameter, the API returns information about all buckets.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:DateTime" @@ -38605,6 +40293,7 @@ "in": "path", "name": "calendar_id", "description": "A string that uniquely identifies a calendar. You can get information for multiple calendars by using a comma-separated list of ids or a wildcard expression. You can get information for all calendars by using `_all` or `*` or by omitting the calendar identifier.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -38646,6 +40335,7 @@ "in": "path", "name": "category_id", "description": "Identifier for the category, which is unique in the job. If you specify\nneither the category ID nor the partition_field_value, the API returns\ninformation about all categories. If you specify only the\npartition_field_value, it returns information about all categories for\nthe specified partition.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:CategoryId" @@ -38686,6 +40376,7 @@ "in": "path", "name": "id", "description": "Identifier for the data frame analytics job. If you do not specify this\noption, the API returns information for the first hundred data frame\nanalytics jobs.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -38736,6 +40427,7 @@ "in": "path", "name": "id", "description": "Identifier for the data frame analytics job. If you do not specify this\noption, the API returns information for the first hundred data frame\nanalytics jobs.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -38786,6 +40478,7 @@ "in": "path", "name": "datafeed_id", "description": "Identifier for the datafeed. It can be a datafeed identifier or a\nwildcard expression. If you do not specify one of these options, the API\nreturns information about all datafeeds.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Ids" @@ -38806,6 +40499,7 @@ "in": "path", "name": "datafeed_id", "description": "Identifier for the datafeed. It can be a datafeed identifier or a\nwildcard expression. If you do not specify one of these options, the API\nreturns information about all datafeeds.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Ids" @@ -38836,6 +40530,7 @@ "in": "path", "name": "filter_id", "description": "A string that uniquely identifies a filter.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Ids" @@ -38957,6 +40652,7 @@ "in": "path", "name": "job_id", "description": "Identifier for the anomaly detection job. It can be a job identifier, a\ngroup name, a comma-separated list of jobs, or a wildcard expression. If\nyou do not specify one of these options, the API returns information for\nall anomaly detection jobs.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -38977,6 +40673,7 @@ "in": "path", "name": "job_id", "description": "Identifier for the anomaly detection job. It can be a job identifier, a\ngroup name, or a wildcard expression. If you do not specify one of these\noptions, the API returns information for all anomaly detection jobs.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Ids" @@ -39007,6 +40704,7 @@ "in": "path", "name": "node_id", "description": "The names of particular nodes in the cluster to target. For example, `nodeId1,nodeId2` or\n`ml:true`", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -39058,6 +40756,7 @@ "in": "path", "name": "snapshot_id", "description": "A numerical character string that uniquely identifies the model snapshot. You can get information for multiple\nsnapshots by using a comma-separated list or a wildcard expression. You can get all snapshots by using `_all`,\nby specifying `*` as the snapshot ID, or by omitting the snapshot ID.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -39307,6 +41006,7 @@ "in": "path", "name": "model_id", "description": "The unique identifier of the trained model.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -39387,6 +41087,7 @@ "in": "path", "name": "model_id", "description": "The unique identifier of the trained model or a model alias. It can be a\ncomma-separated list or a wildcard expression.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Ids" @@ -39448,6 +41149,7 @@ "in": "path", "name": "id", "description": "Identifier for the data frame analytics job.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -39458,6 +41160,7 @@ "in": "path", "name": "datafeed_id", "description": "A numerical character string that uniquely identifies the datafeed. This identifier can contain lowercase\nalphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric\ncharacters. NOTE: If you use this path parameter, you cannot provide datafeed or anomaly detection job\nconfiguration details in the request body.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -39488,6 +41191,7 @@ "in": "path", "name": "type", "description": "Default document type for items which don't provide one", + "required": true, "deprecated": true, "schema": { "type": "string" @@ -39531,6 +41235,7 @@ "in": "path", "name": "index", "description": "Comma-separated list of data streams, indices, and index aliases to search.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -39660,7 +41365,8 @@ "msearch_template#index": { "in": "path", "name": "index", - "description": "A comma-separated list of index names to use as default", + "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -39670,7 +41376,7 @@ "msearch_template#ccs_minimize_roundtrips": { "in": "query", "name": "ccs_minimize_roundtrips", - "description": "Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution", + "description": "If `true`, network round-trips are minimized for cross-cluster search requests.", "deprecated": false, "schema": { "type": "boolean" @@ -39680,7 +41386,7 @@ "msearch_template#max_concurrent_searches": { "in": "query", "name": "max_concurrent_searches", - "description": "Controls the maximum number of concurrent searches the multi search api will execute", + "description": "Maximum number of concurrent searches the API can run.", "deprecated": false, "schema": { "type": "number" @@ -39690,7 +41396,7 @@ "msearch_template#search_type": { "in": "query", "name": "search_type", - "description": "Search operation type", + "description": "The type of the search operation.\nAvailable options: `query_then_fetch`, `dfs_query_then_fetch`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:SearchType" @@ -39700,7 +41406,7 @@ "msearch_template#rest_total_hits_as_int": { "in": "query", "name": "rest_total_hits_as_int", - "description": "Indicates whether hits.total should be rendered as an integer or an object in the rest search response", + "description": "If `true`, the response returns `hits.total` as an integer.\nIf `false`, it returns `hits.total` as an object.", "deprecated": false, "schema": { "type": "boolean" @@ -39710,7 +41416,7 @@ "msearch_template#typed_keys": { "in": "query", "name": "typed_keys", - "description": "Specify whether aggregation and suggester names should be prefixed by their respective types in the response", + "description": "If `true`, the response prefixes aggregation and suggester names with their respective types.", "deprecated": false, "schema": { "type": "boolean" @@ -39720,7 +41426,8 @@ "mtermvectors#index": { "in": "path", "name": "index", - "description": "The index in which the document resides.", + "description": "Name of the index that contains the documents.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:IndexName" @@ -39743,7 +41450,7 @@ "mtermvectors#fields": { "in": "query", "name": "fields", - "description": "A comma-separated list of fields to return. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".", + "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.\nUsed as the default list unless a specific field list is provided in the `completion_fields` or `fielddata_fields` parameters.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Fields" @@ -39753,7 +41460,7 @@ "mtermvectors#field_statistics": { "in": "query", "name": "field_statistics", - "description": "Specifies if document count, sum of document frequencies and sum of total term frequencies should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".", + "description": "If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies.", "deprecated": false, "schema": { "type": "boolean" @@ -39763,7 +41470,7 @@ "mtermvectors#offsets": { "in": "query", "name": "offsets", - "description": "Specifies if term offsets should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".", + "description": "If `true`, the response includes term offsets.", "deprecated": false, "schema": { "type": "boolean" @@ -39773,7 +41480,7 @@ "mtermvectors#payloads": { "in": "query", "name": "payloads", - "description": "Specifies if term payloads should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".", + "description": "If `true`, the response includes term payloads.", "deprecated": false, "schema": { "type": "boolean" @@ -39783,7 +41490,7 @@ "mtermvectors#positions": { "in": "query", "name": "positions", - "description": "Specifies if term positions should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".", + "description": "If `true`, the response includes term positions.", "deprecated": false, "schema": { "type": "boolean" @@ -39793,7 +41500,7 @@ "mtermvectors#preference": { "in": "query", "name": "preference", - "description": "Specify the node or shard the operation should be performed on (default: random) .Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", "deprecated": false, "schema": { "type": "string" @@ -39803,7 +41510,7 @@ "mtermvectors#realtime": { "in": "query", "name": "realtime", - "description": "Specifies if requests are real-time as opposed to near-real-time (default: true).", + "description": "If true, the request is real-time as opposed to near-real-time.", "deprecated": false, "schema": { "type": "boolean" @@ -39813,7 +41520,7 @@ "mtermvectors#routing": { "in": "query", "name": "routing", - "description": "Specific routing value. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".", + "description": "Custom value used to route operations to a specific shard.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Routing" @@ -39823,7 +41530,7 @@ "mtermvectors#term_statistics": { "in": "query", "name": "term_statistics", - "description": "Specifies if total term frequency and document frequency should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".", + "description": "If true, the response includes term frequency and document frequency.", "deprecated": false, "schema": { "type": "boolean" @@ -39833,7 +41540,7 @@ "mtermvectors#version": { "in": "query", "name": "version", - "description": "Explicit version number for concurrency control", + "description": "If `true`, returns the document version as part of a hit.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:VersionNumber" @@ -39843,7 +41550,7 @@ "mtermvectors#version_type": { "in": "query", "name": "version_type", - "description": "Specific version type", + "description": "Specific version type.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:VersionType" @@ -39854,6 +41561,7 @@ "in": "path", "name": "node_id", "description": "List of node IDs or names used to limit returned information.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:NodeIds" @@ -39944,6 +41652,7 @@ "in": "path", "name": "node_id", "description": "Comma-separated list of node IDs or names used to limit returned information.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:NodeIds" @@ -39954,6 +41663,7 @@ "in": "path", "name": "metric", "description": "Limits the information returned to the specific metrics. Supports a comma-separated list, such as http,ingest.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Metrics" @@ -39993,7 +41703,8 @@ "nodes.reload_secure_settings#node_id": { "in": "path", "name": "node_id", - "description": "A comma-separated list of node IDs to span the reload/reinit call. Should stay empty because reloading usually involves all cluster nodes.", + "description": "The names of particular nodes in the cluster to target.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:NodeIds" @@ -40003,7 +41714,7 @@ "nodes.reload_secure_settings#timeout": { "in": "query", "name": "timeout", - "description": "Explicit operation timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -40014,6 +41725,7 @@ "in": "path", "name": "node_id", "description": "Comma-separated list of node IDs or names used to limit returned information.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:NodeIds" @@ -40024,6 +41736,7 @@ "in": "path", "name": "metric", "description": "Limit the information returned to the specified metrics", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Metrics" @@ -40034,6 +41747,7 @@ "in": "path", "name": "index_metric", "description": "Limit the information returned for indices metric to the specific index metrics. It can be used only if indices (or all) metric is specified.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Metrics" @@ -40136,7 +41850,7 @@ "nodes.stats#include_unloaded_segments": { "in": "query", "name": "include_unloaded_segments", - "description": "If set to true segment stats will include stats for segments that are not currently loaded into memory", + "description": "If `true`, the response includes information from segments that are not loaded into memory.", "deprecated": false, "schema": { "type": "boolean" @@ -40147,6 +41861,7 @@ "in": "path", "name": "node_id", "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", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:NodeIds" @@ -40156,7 +41871,8 @@ "nodes.usage#metric": { "in": "path", "name": "metric", - "description": "Limit the information returned to the specified metrics", + "description": "Limits the information returned to the specific metrics.\nA comma-separated list of the following options: `_all`, `rest_actions`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Metrics" @@ -40166,7 +41882,7 @@ "nodes.usage#timeout": { "in": "query", "name": "timeout", - "description": "Explicit operation timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -40176,7 +41892,7 @@ "put_script#id": { "in": "path", "name": "id", - "description": "Script ID", + "description": "Identifier for the stored script or search template.\nMust be unique within the cluster.", "required": true, "deprecated": false, "schema": { @@ -40187,7 +41903,8 @@ "put_script#context": { "in": "path", "name": "context", - "description": "Script context", + "description": "Context in which the script or search template should run.\nTo prevent errors, the API immediately compiles the script or template in this context.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Name" @@ -40197,7 +41914,7 @@ "put_script#master_timeout": { "in": "query", "name": "master_timeout", - "description": "Specify timeout for connection to master", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -40207,7 +41924,7 @@ "put_script#timeout": { "in": "query", "name": "timeout", - "description": "Explicit operation timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" @@ -40218,6 +41935,7 @@ "in": "path", "name": "index", "description": "Comma-separated list of data streams, indices, and index aliases used to limit the request. Wildcard (`*`) expressions are supported.\nTo target all data streams and indices in a cluster, omit this parameter or use `_all` or `*`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -40267,7 +41985,8 @@ "render_search_template#id": { "in": "path", "name": "id", - "description": "The id of the stored search template", + "description": "ID of the search template to render.\nIf no `source` is specified, this or the `id` request body parameter is required.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -40277,7 +41996,8 @@ "rollup.get_jobs#id": { "in": "path", "name": "id", - "description": "The ID of the job(s) to fetch. Accepts glob patterns, or left blank for all jobs", + "description": "Identifier for the rollup job.\nIf it is `_all` or omitted, the API returns all rollup jobs.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -40287,7 +42007,8 @@ "rollup.get_rollup_caps#id": { "in": "path", "name": "id", - "description": "The ID of the index to check rollup capabilities on, or left blank for all jobs", + "description": "Index, indices or index-pattern to return rollup capabilities for.\n`_all` may be used to fetch rollup capabilities from all jobs.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -40297,7 +42018,7 @@ "rollup.rollup_search#index": { "in": "path", "name": "index", - "description": "The indices or index-pattern(s) (containing rollup or regular data) that should be searched", + "description": "Enables searching rolled-up data using the standard Query DSL.", "required": true, "deprecated": false, "schema": { @@ -40326,14 +42047,15 @@ "style": "form" }, "scroll#scroll_id": { - "in": "query", + "in": "path", "name": "scroll_id", - "description": "The scroll ID for scrolled search", + "description": "The scroll ID", + "required": true, "deprecated": true, "schema": { "$ref": "#/components/schemas/_types:ScrollId" }, - "style": "form" + "style": "simple" }, "scroll#scroll": { "in": "query", @@ -40345,6 +42067,16 @@ }, "style": "form" }, + "scroll#scroll_id_": { + "in": "query", + "name": "scroll_id", + "description": "The scroll ID for scrolled search", + "deprecated": true, + "schema": { + "$ref": "#/components/schemas/_types:ScrollId" + }, + "style": "form" + }, "scroll#rest_total_hits_as_int": { "in": "query", "name": "rest_total_hits_as_int", @@ -40359,6 +42091,7 @@ "in": "path", "name": "index", "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -40812,6 +42545,7 @@ "in": "path", "name": "name", "description": "A list of analytics collections to limit the returned information", + "required": true, "deprecated": false, "schema": { "type": "array", @@ -40824,7 +42558,7 @@ "search_application.search#name": { "in": "path", "name": "name", - "description": "The name of the search application to be searched", + "description": "The name of the search application to be searched.", "required": true, "deprecated": false, "schema": { @@ -40960,7 +42694,8 @@ "search_shards#index": { "in": "path", "name": "index", - "description": "A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices", + "description": "Returns the indices and shards that a search request would be executed against.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -40970,7 +42705,7 @@ "search_shards#allow_no_indices": { "in": "query", "name": "allow_no_indices", - "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", "deprecated": false, "schema": { "type": "boolean" @@ -40980,7 +42715,7 @@ "search_shards#expand_wildcards": { "in": "query", "name": "expand_wildcards", - "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:ExpandWildcards" @@ -40990,7 +42725,7 @@ "search_shards#ignore_unavailable": { "in": "query", "name": "ignore_unavailable", - "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", "deprecated": false, "schema": { "type": "boolean" @@ -41000,7 +42735,7 @@ "search_shards#local": { "in": "query", "name": "local", - "description": "Return local information, do not retrieve the state from master node (default: false)", + "description": "If `true`, the request retrieves information from the local node only.", "deprecated": false, "schema": { "type": "boolean" @@ -41010,7 +42745,7 @@ "search_shards#preference": { "in": "query", "name": "preference", - "description": "Specify the node or shard the operation should be performed on (default: random)", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", "deprecated": false, "schema": { "type": "string" @@ -41020,7 +42755,7 @@ "search_shards#routing": { "in": "query", "name": "routing", - "description": "Specific routing value", + "description": "Custom value used to route operations to a specific shard.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Routing" @@ -41031,6 +42766,7 @@ "in": "path", "name": "index", "description": "Comma-separated list of data streams, indices,\nand aliases to search. Supports wildcards (*).", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -41040,7 +42776,7 @@ "search_template#allow_no_indices": { "in": "query", "name": "allow_no_indices", - "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", "deprecated": false, "schema": { "type": "boolean" @@ -41050,7 +42786,7 @@ "search_template#ccs_minimize_roundtrips": { "in": "query", "name": "ccs_minimize_roundtrips", - "description": "Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution", + "description": "If `true`, network round-trips are minimized for cross-cluster search requests.", "deprecated": false, "schema": { "type": "boolean" @@ -41060,7 +42796,7 @@ "search_template#expand_wildcards": { "in": "query", "name": "expand_wildcards", - "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:ExpandWildcards" @@ -41070,7 +42806,7 @@ "search_template#explain": { "in": "query", "name": "explain", - "description": "Specify whether to return detailed information about score computation as part of a hit", + "description": "If `true`, the response includes additional details about score computation as part of a hit.", "deprecated": false, "schema": { "type": "boolean" @@ -41080,7 +42816,7 @@ "search_template#ignore_throttled": { "in": "query", "name": "ignore_throttled", - "description": "Whether specified concrete, expanded or aliased indices should be ignored when throttled", + "description": "If `true`, specified concrete, expanded, or aliased indices are not included in the response when throttled.", "deprecated": false, "schema": { "type": "boolean" @@ -41090,7 +42826,7 @@ "search_template#ignore_unavailable": { "in": "query", "name": "ignore_unavailable", - "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", "deprecated": false, "schema": { "type": "boolean" @@ -41100,7 +42836,7 @@ "search_template#preference": { "in": "query", "name": "preference", - "description": "Specify the node or shard the operation should be performed on (default: random)", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", "deprecated": false, "schema": { "type": "string" @@ -41110,7 +42846,7 @@ "search_template#profile": { "in": "query", "name": "profile", - "description": "Specify whether to profile the query execution", + "description": "If `true`, the query execution is profiled.", "deprecated": false, "schema": { "type": "boolean" @@ -41160,7 +42896,7 @@ "search_template#typed_keys": { "in": "query", "name": "typed_keys", - "description": "Specify whether aggregation and suggester names should be prefixed by their respective types in the response", + "description": "If `true`, the response prefixes aggregation and suggester names with their respective types.", "deprecated": false, "schema": { "type": "boolean" @@ -41171,6 +42907,7 @@ "in": "path", "name": "node_id", "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", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:NodeIds" @@ -41190,6 +42927,7 @@ "in": "path", "name": "index", "description": "A comma-separated list of index names", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -41248,6 +42986,7 @@ "in": "path", "name": "index", "description": "A comma-separated list of index names", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Indices" @@ -41268,6 +43007,7 @@ "in": "path", "name": "username", "description": "The user whose password you want to change. If you do not specify this\nparameter, the password is changed for the current user.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Username" @@ -41320,6 +43060,7 @@ "in": "path", "name": "name", "description": "An identifier for the token name", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Name" @@ -41424,6 +43165,7 @@ "in": "path", "name": "application", "description": "Application name", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Name" @@ -41434,6 +43176,7 @@ "in": "path", "name": "name", "description": "Privilege name", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Names" @@ -41444,6 +43187,7 @@ "in": "path", "name": "name", "description": "The name of the role. You can specify multiple roles as a comma-separated list. If you do not specify this parameter, the API returns information about all roles.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Names" @@ -41454,6 +43198,7 @@ "in": "path", "name": "name", "description": "The distinct name that identifies the role mapping. The name is used solely as an identifier to facilitate interaction via the API; it does not affect the behavior of the mapping in any way. You can specify multiple mapping names as a comma-separated list. If you do not specify this parameter, the API returns information about all role mappings.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Names" @@ -41464,6 +43209,7 @@ "in": "path", "name": "namespace", "description": "Name of the namespace. Omit this parameter to retrieve information about all service accounts. If you omit this parameter, you must also omit the `service` parameter.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Namespace" @@ -41474,6 +43220,7 @@ "in": "path", "name": "service", "description": "Name of the service name. Omit this parameter to retrieve information about all service accounts that belong to the specified `namespace`.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Service" @@ -41484,6 +43231,7 @@ "in": "path", "name": "username", "description": "An identifier for the user. You can specify multiple usernames as a comma-separated list. If you omit this parameter, the API retrieves information about all users.", + "required": true, "deprecated": false, "schema": { "oneOf": [ @@ -41514,6 +43262,7 @@ "in": "path", "name": "user", "description": "Username", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Name" @@ -41668,6 +43417,7 @@ "in": "path", "name": "node_id", "description": "Which node for which to retrieve the shutdown status", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:NodeIds" @@ -41698,6 +43448,7 @@ "in": "path", "name": "policy_id", "description": "Comma-separated list of snapshot lifecycle policies to retrieve", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Names" @@ -41791,6 +43542,7 @@ "in": "path", "name": "repository", "description": "A comma-separated list of repository names", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Names" @@ -41821,6 +43573,7 @@ "in": "path", "name": "repository", "description": "A repository name", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Name" @@ -41831,6 +43584,7 @@ "in": "path", "name": "snapshot", "description": "A comma-separated list of snapshot names", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Names" @@ -41860,7 +43614,7 @@ "sql.query#format": { "in": "query", "name": "format", - "description": "a short version of the Accept header, e.g. json, yaml", + "description": "Format for the response.", "deprecated": false, "schema": { "type": "string" @@ -41870,7 +43624,8 @@ "tasks.cancel#task_id": { "in": "path", "name": "task_id", - "description": "Cancel the task with specified task id (node_id:task_number)", + "description": "ID of the task.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:TaskId" @@ -41880,7 +43635,7 @@ "tasks.cancel#actions": { "in": "query", "name": "actions", - "description": "A comma-separated list of actions that should be cancelled. Leave empty to cancel all.", + "description": "Comma-separated list or wildcard expression of actions used to limit the request.", "deprecated": false, "schema": { "oneOf": [ @@ -41900,7 +43655,7 @@ "tasks.cancel#nodes": { "in": "query", "name": "nodes", - "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", + "description": "Comma-separated list of node IDs or names used to limit the request.", "deprecated": false, "schema": { "type": "array", @@ -41913,7 +43668,7 @@ "tasks.cancel#parent_task_id": { "in": "query", "name": "parent_task_id", - "description": "Cancel tasks with specified parent task id (node_id:task_number). Set to -1 to cancel all.", + "description": "Parent task ID used to limit the tasks.", "deprecated": false, "schema": { "type": "string" @@ -41944,7 +43699,7 @@ "termvectors#index": { "in": "path", "name": "index", - "description": "The index in which the document resides.", + "description": "Name of the index that contains the document.", "required": true, "deprecated": false, "schema": { @@ -41955,7 +43710,8 @@ "termvectors#id": { "in": "path", "name": "id", - "description": "The id of the document, when not specified a doc param should be supplied.", + "description": "Unique identifier of the document.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -41965,7 +43721,7 @@ "termvectors#fields": { "in": "query", "name": "fields", - "description": "A comma-separated list of fields to return.", + "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.\nUsed as the default list unless a specific field list is provided in the `completion_fields` or `fielddata_fields` parameters.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Fields" @@ -41975,7 +43731,7 @@ "termvectors#field_statistics": { "in": "query", "name": "field_statistics", - "description": "Specifies if document count, sum of document frequencies and sum of total term frequencies should be returned.", + "description": "If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies.", "deprecated": false, "schema": { "type": "boolean" @@ -41985,7 +43741,7 @@ "termvectors#offsets": { "in": "query", "name": "offsets", - "description": "Specifies if term offsets should be returned.", + "description": "If `true`, the response includes term offsets.", "deprecated": false, "schema": { "type": "boolean" @@ -41995,7 +43751,7 @@ "termvectors#payloads": { "in": "query", "name": "payloads", - "description": "Specifies if term payloads should be returned.", + "description": "If `true`, the response includes term payloads.", "deprecated": false, "schema": { "type": "boolean" @@ -42005,7 +43761,7 @@ "termvectors#positions": { "in": "query", "name": "positions", - "description": "Specifies if term positions should be returned.", + "description": "If `true`, the response includes term positions.", "deprecated": false, "schema": { "type": "boolean" @@ -42015,7 +43771,7 @@ "termvectors#preference": { "in": "query", "name": "preference", - "description": "Specify the node or shard the operation should be performed on (default: random).", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", "deprecated": false, "schema": { "type": "string" @@ -42025,7 +43781,7 @@ "termvectors#realtime": { "in": "query", "name": "realtime", - "description": "Specifies if request is real-time as opposed to near-real-time (default: true).", + "description": "If true, the request is real-time as opposed to near-real-time.", "deprecated": false, "schema": { "type": "boolean" @@ -42035,7 +43791,7 @@ "termvectors#routing": { "in": "query", "name": "routing", - "description": "Specific routing value.", + "description": "Custom value used to route operations to a specific shard.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Routing" @@ -42045,7 +43801,7 @@ "termvectors#term_statistics": { "in": "query", "name": "term_statistics", - "description": "Specifies if total term frequency and document frequency should be returned.", + "description": "If `true`, the response includes term frequency and document frequency.", "deprecated": false, "schema": { "type": "boolean" @@ -42055,7 +43811,7 @@ "termvectors#version": { "in": "query", "name": "version", - "description": "Explicit version number for concurrency control", + "description": "If `true`, returns the document version as part of a hit.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:VersionNumber" @@ -42065,7 +43821,7 @@ "termvectors#version_type": { "in": "query", "name": "version_type", - "description": "Specific version type", + "description": "Specific version type.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:VersionType" @@ -42076,6 +43832,7 @@ "in": "path", "name": "transform_id", "description": "Identifier for the transform. It can be a transform identifier or a\nwildcard expression. You can get information for all transforms by using\n`_all`, by specifying `*` as the ``, or by omitting the\n``.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Names" @@ -42126,6 +43883,7 @@ "in": "path", "name": "transform_id", "description": "Identifier for the transform to preview. If you specify this path parameter, you cannot provide transform\nconfiguration details in the request body.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -42157,6 +43915,7 @@ "in": "path", "name": "action_id", "description": "A comma-separated list of the action ids to be acked", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Names" @@ -42189,6 +43948,7 @@ "in": "path", "name": "id", "description": "Identifier for the watch.", + "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" @@ -42257,9 +44017,10 @@ "style": "form" }, "watcher.stats#metric": { - "in": "query", + "in": "path", "name": "metric", "description": "Defines which additional metrics are included in the response.", + "required": true, "deprecated": false, "schema": { "oneOf": [ @@ -42274,7 +44035,7 @@ } ] }, - "style": "form" + "style": "simple" }, "watcher.stats#emit_stacktraces": { "in": "query", @@ -42285,6 +44046,26 @@ "type": "boolean" }, "style": "form" + }, + "watcher.stats#metric_": { + "in": "query", + "name": "metric", + "description": "Defines which additional metrics are included in the response.", + "deprecated": false, + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/watcher.stats:WatcherMetric" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/watcher.stats:WatcherMetric" + } + } + ] + }, + "style": "form" } }, "requestBodies": { @@ -42578,7 +44359,7 @@ "properties": { "query": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/eql-syntax.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-syntax.html" }, "description": "EQL query you wish to run.", "type": "string" @@ -42898,7 +44679,7 @@ "properties": { "analyzer": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis-analyzers.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-analyzers.html" }, "description": "The name of the analyzer that should be applied to the provided `text`.\nThis could be a built-in analyzer, or an analyzer that’s been configured in the index.", "type": "string" @@ -42912,7 +44693,7 @@ }, "char_filter": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis-charfilters.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-charfilters.html" }, "description": "Array of character filters used to preprocess characters before the tokenizer.", "type": "array", @@ -42929,7 +44710,7 @@ }, "filter": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis-tokenfilters.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-tokenfilters.html" }, "description": "Array of token filters used to apply after the tokenizer.", "type": "array", @@ -42939,7 +44720,7 @@ }, "normalizer": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis-normalizers.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-normalizers.html" }, "description": "Normalizer to use to convert text into a single token.", "type": "string" @@ -42970,7 +44751,7 @@ }, "settings": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/index-modules.html#index-modules-settings" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html#index-modules-settings" }, "description": "Configuration options for the target index.", "type": "object", @@ -43435,7 +45216,7 @@ }, "model_memory_limit": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-settings.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" }, "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try to\ncreate data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", "type": "string" @@ -43449,7 +45230,7 @@ }, "allow_lazy_start": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-settings.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" }, "description": "Specifies whether this job can start when there is insufficient machine\nlearning node capacity for it to be immediately assigned to a node.", "type": "boolean" @@ -43760,12 +45541,14 @@ "type": "object", "properties": { "docs": { + "description": "Array of existing or artificial documents.", "type": "array", "items": { "$ref": "#/components/schemas/_global.mtermvectors:Operation" } }, "ids": { + "description": "Simplified syntax to specify documents by their ID if they're in the same index.", "type": "array", "items": { "$ref": "#/components/schemas/_types:Id" @@ -43843,12 +45626,14 @@ "type": "string" }, "params": { + "description": "Key-value pairs used to replace Mustache variables in the template.\nThe key is the variable name.\nThe value is the variable value.", "type": "object", "additionalProperties": { "type": "object" } }, "source": { + "description": "An inline search template.\nSupports the same parameters as the search API's request body.\nThese parameters also support Mustache variables.\nIf no `id` or `` is specified, this parameter is required.", "type": "string" } } @@ -43863,6 +45648,7 @@ "type": "object", "properties": { "aggregations": { + "description": "Specifies aggregations.", "type": "object", "additionalProperties": { "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" @@ -43872,7 +45658,7 @@ "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" }, "size": { - "description": "Must be zero if set, as rollups work on pre-aggregated data", + "description": "Must be zero if set, as rollups work on pre-aggregated data.", "type": "number" } } @@ -43888,6 +45674,7 @@ "type": "object", "properties": { "context": { + "description": "The context that the script should run in.", "type": "string" }, "context_setup": { @@ -44101,6 +45888,7 @@ "type": "object", "properties": { "params": { + "description": "Query parameters specific to this request, which will override any defaults specified in the template.", "type": "object", "additionalProperties": { "type": "object" @@ -44181,18 +45969,21 @@ "type": "object", "properties": { "explain": { + "description": "If `true`, returns detailed information about score calculation as part of each hit.", "type": "boolean" }, "id": { "$ref": "#/components/schemas/_types:Id" }, "params": { + "description": "Key-value pairs used to replace Mustache variables in the template.\nThe key is the variable name.\nThe value is the variable value.", "type": "object", "additionalProperties": { "type": "object" } }, "profile": { + "description": "If `true`, the query execution is profiled.", "type": "boolean" }, "source": { @@ -44238,7 +46029,7 @@ }, "role_descriptors": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/security-api-put-role.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html" }, "description": "An array of role descriptors for this API key. This parameter is optional. When it is not specified or is an empty array, then the API key will have a point in time snapshot of permissions of the authenticated user. If you supply role descriptors then the resultant permissions would be an intersection of API keys permissions and authenticated user’s permissions thereby limiting the access scope for API keys. The structure of role descriptor is the same as the request for create role API. For more details, see create or update roles API.", "type": "object", @@ -44367,7 +46158,7 @@ }, "run_as": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/run-as-privilege.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/run-as-privilege.html" }, "description": "A list of users that the owners of this role can impersonate.", "type": "array", @@ -44638,6 +46429,7 @@ "type": "boolean" }, "cursor": { + "description": "Cursor used to retrieve a set of paginated results.\nIf you specify a cursor, the API only uses the `columnar` and `time_zone` request body parameters.\nIt ignores other request body parameters.", "type": "string" }, "fetch_size": { @@ -44648,7 +46440,7 @@ "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" }, "query": { - "description": "SQL query to execute", + "description": "SQL query to run.", "type": "string" }, "request_timeout": { @@ -44701,12 +46493,14 @@ "type": "object", "properties": { "fetch_size": { + "description": "The maximum number of rows (or entries) to return in one response.", "type": "number" }, "filter": { "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" }, "query": { + "description": "SQL query to run.", "type": "string" }, "time_zone": { @@ -44766,12 +46560,14 @@ "type": "object", "properties": { "doc": { + "description": "An artificial document (a document not present in the index) for which you want to retrieve term vectors.", "type": "object" }, "filter": { "$ref": "#/components/schemas/_global.termvectors:Filter" }, "per_field_analyzer": { + "description": "Overrides the default per-field analyzer.", "type": "object", "additionalProperties": { "type": "string" @@ -44945,7 +46741,7 @@ }, "_types:Duration": { "externalDocs": { - "url": "https://github.com/elastic/elasticsearch/blob/{branch}/libs/core/src/main/java/org/elasticsearch/core/TimeValue.java" + "url": "https://github.com/elastic/elasticsearch/blob/current/libs/core/src/main/java/org/elasticsearch/core/TimeValue.java" }, "description": "A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and\n`d` (days). Also accepts \"0\" without a unit and \"-1\" to indicate an unspecified value.", "oneOf": [ @@ -48689,14 +50485,158 @@ }, "total": { "type": "number" + }, + "details": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ClusterDetails" + } + } + }, + "required": [ + "skipped", + "successful", + "total" + ] + }, + "_types:ClusterDetails": { + "type": "object", + "properties": { + "status": { + "$ref": "#/components/schemas/_types:ClusterSearchStatus" + }, + "indices": { + "type": "string" + }, + "took": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "timed_out": { + "type": "boolean" + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ShardFailure" + } } }, "required": [ + "status", + "indices", + "timed_out" + ] + }, + "_types:ClusterSearchStatus": { + "type": "string", + "enum": [ + "running", + "successful", + "partial", "skipped", + "failed" + ] + }, + "_types:DurationValueUnitMillis": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:UnitMillis" + } + ] + }, + "_types:ShardStatistics": { + "type": "object", + "properties": { + "failed": { + "$ref": "#/components/schemas/_types:uint" + }, + "successful": { + "$ref": "#/components/schemas/_types:uint" + }, + "total": { + "$ref": "#/components/schemas/_types:uint" + }, + "failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ShardFailure" + } + }, + "skipped": { + "$ref": "#/components/schemas/_types:uint" + } + }, + "required": [ + "failed", "successful", "total" ] }, + "_types:uint": { + "type": "number" + }, + "_types:ShardFailure": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "node": { + "type": "string" + }, + "reason": { + "$ref": "#/components/schemas/_types:ErrorCause" + }, + "shard": { + "type": "number" + }, + "status": { + "type": "string" + } + }, + "required": [ + "reason", + "shard" + ] + }, + "_types:ErrorCause": { + "type": "object", + "properties": { + "type": { + "description": "The type of error", + "type": "string" + }, + "reason": { + "description": "A human-readable explanation of the error, in english", + "type": "string" + }, + "stack_trace": { + "description": "The server stack trace. Present only if the `error_trace=true` parameter was sent with the request.", + "type": "string" + }, + "caused_by": { + "$ref": "#/components/schemas/_types:ErrorCause" + }, + "root_cause": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + }, + "suppressed": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + } + }, + "required": [ + "type" + ] + }, "_global.search._types:Profile": { "type": "object", "properties": { @@ -49183,96 +51123,6 @@ "_types:ScrollId": { "type": "string" }, - "_types:ShardStatistics": { - "type": "object", - "properties": { - "failed": { - "$ref": "#/components/schemas/_types:uint" - }, - "successful": { - "$ref": "#/components/schemas/_types:uint" - }, - "total": { - "$ref": "#/components/schemas/_types:uint" - }, - "failures": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ShardFailure" - } - }, - "skipped": { - "$ref": "#/components/schemas/_types:uint" - } - }, - "required": [ - "failed", - "successful", - "total" - ] - }, - "_types:uint": { - "type": "number" - }, - "_types:ShardFailure": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "node": { - "type": "string" - }, - "reason": { - "$ref": "#/components/schemas/_types:ErrorCause" - }, - "shard": { - "type": "number" - }, - "status": { - "type": "string" - } - }, - "required": [ - "reason", - "shard" - ] - }, - "_types:ErrorCause": { - "type": "object", - "properties": { - "type": { - "description": "The type of error", - "type": "string" - }, - "reason": { - "description": "A human-readable explanation of the error, in english", - "type": "string" - }, - "stack_trace": { - "description": "The server stack trace. Present only if the `error_trace=true` parameter was sent with the request.", - "type": "string" - }, - "caused_by": { - "$ref": "#/components/schemas/_types:ErrorCause" - }, - "root_cause": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ErrorCause" - } - }, - "suppressed": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ErrorCause" - } - } - }, - "required": [ - "type" - ] - }, "_global.search._types:Suggest": { "oneOf": [ { @@ -49363,7 +51213,7 @@ }, "_global.search._types:Context": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-mlt-query.html#_document_input_parameters" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-mlt-query.html#_document_input_parameters" }, "description": "Text or location that we want similar documents for or a lookup to a document's field for the text.", "oneOf": [ @@ -49524,6 +51374,12 @@ }, "start_time_in_millis": { "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "completion_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "completion_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" } }, "required": [ @@ -49555,6 +51411,9 @@ "_shards": { "$ref": "#/components/schemas/_types:ShardStatistics" }, + "_clusters": { + "$ref": "#/components/schemas/_types:ClusterStatistics" + }, "completion_status": { "description": "If the async search completed, this field shows the status code of the search.\nFor example, 200 indicates that the async search was successfully completed.\n503 indicates that the async search was completed with an error.", "type": "number" @@ -49937,7 +51796,7 @@ }, "_types.query_dsl:QueryContainer": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html" }, "type": "object", "properties": { @@ -49976,7 +51835,7 @@ }, "fuzzy": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-fuzzy-query.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-fuzzy-query.html" }, "description": "Returns documents that contain terms similar to the search term, as measured by a Levenshtein edit distance.", "type": "object", @@ -50009,7 +51868,7 @@ }, "intervals": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-intervals-query.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-intervals-query.html" }, "description": "Returns documents based on the order and proximity of matching terms.", "type": "object", @@ -50021,7 +51880,7 @@ }, "match": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-match-query.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query.html" }, "description": "Returns documents that match a provided text, number, date or boolean value.\nThe provided text is analyzed before matching.", "type": "object", @@ -50036,7 +51895,7 @@ }, "match_bool_prefix": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-match-bool-prefix-query.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-bool-prefix-query.html" }, "description": "Analyzes its input and constructs a `bool` query from the terms.\nEach term except the last is used in a `term` query.\nThe last term is used in a prefix query.", "type": "object", @@ -50051,7 +51910,7 @@ }, "match_phrase": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-match-query-phrase.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query-phrase.html" }, "description": "Analyzes the text and creates a phrase query out of the analyzed text.", "type": "object", @@ -50063,7 +51922,7 @@ }, "match_phrase_prefix": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-match-query-phrase-prefix.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query-phrase-prefix.html" }, "description": "Returns documents that contain the words of a provided text, in the same order as provided.\nThe last term of the provided text is treated as a prefix, matching any words that begin with that term.", "type": "object", @@ -50093,7 +51952,7 @@ }, "prefix": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-prefix-query.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-prefix-query.html" }, "description": "Returns documents that contain a specific prefix in a provided field.", "type": "object", @@ -50108,7 +51967,7 @@ }, "range": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-range-query.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html" }, "description": "Returns documents that contain terms within a provided range.", "type": "object", @@ -50123,7 +51982,7 @@ }, "regexp": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-regexp-query.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-regexp-query.html" }, "description": "Returns documents that contain terms matching a regular expression.", "type": "object", @@ -50171,7 +52030,7 @@ }, "span_term": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-span-term-query.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-span-term-query.html" }, "description": "Matches spans containing a term.", "type": "object", @@ -50186,7 +52045,7 @@ }, "term": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-term-query.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-term-query.html" }, "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", @@ -50201,7 +52060,7 @@ }, "terms_set": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-terms-set-query.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-set-query.html" }, "description": "Returns documents that contain a minimum number of exact terms in a provided field.\nTo return a document, a required number of terms must exactly match the field values, including whitespace and capitalization.", "type": "object", @@ -50213,7 +52072,7 @@ }, "text_expansion": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-text-expansion-query.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-text-expansion-query.html" }, "description": "Uses a natural language processing model to convert the query text into a list of token-weight pairs which are then used in a query against a rank features field.", "type": "object", @@ -50225,7 +52084,7 @@ }, "wildcard": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-wildcard-query.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-wildcard-query.html" }, "description": "Returns documents that contain terms matching a wildcard pattern.", "type": "object", @@ -50318,7 +52177,7 @@ }, "_types:MinimumShouldMatch": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-minimum-should-match.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-minimum-should-match.html" }, "description": "The minimum number of terms that should match as integer, percentage or range", "oneOf": [ @@ -50956,13 +52815,13 @@ }, "_types:MultiTermQueryRewrite": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-multi-term-rewrite.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-term-rewrite.html" }, "type": "string" }, "_types:Fuzziness": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/common-options.html#fuzziness" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#fuzziness" }, "oneOf": [ { @@ -51946,7 +53805,7 @@ }, "_types:SortOptions": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/sort-search-results.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sort-search-results.html" }, "type": "object", "properties": { @@ -52312,7 +54171,7 @@ "properties": { "analyzer": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" }, "description": "Analyzer used to normalize the term.", "type": "string" @@ -52345,7 +54204,7 @@ "properties": { "analyzer": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" }, "description": "Analyzer used to analyze terms in the query.", "type": "string" @@ -52378,7 +54237,7 @@ "properties": { "analyzer": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" }, "description": "Analyzer used to analyze the `prefix`.", "type": "string" @@ -52424,7 +54283,7 @@ "properties": { "analyzer": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" }, "description": "Analyzer used to convert the text in the query value into tokens.", "type": "string" @@ -52516,7 +54375,7 @@ "properties": { "analyzer": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" }, "description": "Analyzer used to convert the text in the query value into tokens.", "type": "string" @@ -52576,7 +54435,7 @@ "properties": { "analyzer": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" }, "description": "Analyzer used to convert the text in the query value into tokens.", "type": "string" @@ -52609,7 +54468,7 @@ "properties": { "analyzer": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" }, "description": "Analyzer used to convert text in the query value into tokens.", "type": "string" @@ -52646,7 +54505,7 @@ "properties": { "analyzer": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" }, "description": "The analyzer that is used to analyze the free form text.\nDefaults to the analyzer associated with the first field in fields.", "type": "string" @@ -52753,7 +54612,7 @@ }, "_types.query_dsl:Like": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-mlt-query.html#_document_input_parameters" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-mlt-query.html#_document_input_parameters" }, "description": "Text that we want similar documents for or a lookup to a document's field for the text.", "oneOf": [ @@ -52820,7 +54679,7 @@ "properties": { "analyzer": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" }, "description": "Analyzer used to convert the text in the query value into tokens.", "type": "string" @@ -53101,7 +54960,7 @@ }, "analyzer": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" }, "description": "Analyzer used to convert text in the query string into tokens.", "type": "string" @@ -53266,7 +55125,7 @@ }, "_types:DateFormat": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-date-format.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-date-format.html" }, "type": "string" }, @@ -53459,7 +55318,7 @@ }, "flags": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/regexp-syntax.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/regexp-syntax.html" }, "description": "Enables optional operators for the regular expression.", "type": "string" @@ -53473,7 +55332,7 @@ }, "value": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/regexp-syntax.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/regexp-syntax.html" }, "description": "Regular expression for terms you wish to find in the provided field.", "type": "string" @@ -53581,7 +55440,7 @@ "properties": { "analyzer": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" }, "description": "Analyzer used to convert text in the query string into tokens.", "type": "string" @@ -53643,7 +55502,7 @@ }, "_types.query_dsl:SimpleQueryStringFlags": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-simple-query-string-query.html#supported-flags" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-simple-query-string-query.html#supported-flags" }, "description": "Query flags can be either a single flag or a combination of flags, e.g. `OR|AND|PREFIX`", "allOf": [ @@ -55621,7 +57480,7 @@ }, "num_top_feature_importance_values": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/machine-learning/{branch}/ml-feature-importance.html" + "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-feature-importance.html" }, "description": "Specifies the maximum number of feature importance values per document.", "type": "number" @@ -55637,7 +57496,7 @@ }, "num_top_feature_importance_values": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/machine-learning/{branch}/ml-feature-importance.html" + "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-feature-importance.html" }, "description": "Specifies the maximum number of feature importance values per document.", "type": "number" @@ -57219,7 +59078,7 @@ }, "format": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-date-format.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-date-format.html" }, "description": "A custom format for `date` type runtime fields.", "type": "string" @@ -57343,7 +59202,7 @@ }, "_types:NodeName": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/modules-node.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html" }, "type": "string" }, @@ -57449,15 +59308,18 @@ "type": "object", "properties": { "dynamic_templates": { + "description": "A map from the full name of fields to the name of dynamic templates.\nDefaults to an empty map.\nIf a name matches a dynamic template, then that template will be applied regardless of other match predicates defined in the template.\nIf a field is already defined in the mapping, then this parameter won’t be used.", "type": "object", "additionalProperties": { "type": "string" } }, "pipeline": { + "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", "type": "string" }, "require_alias": { + "description": "If `true`, the request’s actions must target an index alias.", "type": "boolean" } } @@ -57509,6 +59371,7 @@ "type": "object", "properties": { "require_alias": { + "description": "If `true`, the request’s actions must target an index alias.", "type": "boolean" }, "retry_on_conflict": { @@ -57563,6 +59426,7 @@ "type": "object", "properties": { "_id": { + "description": "The document ID associated with the operation.", "oneOf": [ { "type": "string" @@ -57574,18 +59438,22 @@ ] }, "_index": { + "description": "Name of the index associated with the operation.\nIf the operation targeted a data stream, this is the backing index into which the document was written.", "type": "string" }, "status": { + "description": "HTTP status code returned for the operation.", "type": "number" }, "error": { "$ref": "#/components/schemas/_types:ErrorCause" }, "_primary_term": { + "description": "The primary term assigned to the document for the operation.", "type": "number" }, "result": { + "description": "Result of the operation.\nSuccessful values are `created`, `deleted`, and `updated`.", "type": "string" }, "_seq_no": { @@ -57809,7 +59677,7 @@ }, "_types:ByteSize": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/api-conventions.html#byte-units" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/api-conventions.html#byte-units" }, "oneOf": [ { @@ -61021,13 +62889,6 @@ "retries" ] }, - "_types:DurationValueUnitMillis": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:UnitMillis" - } - ] - }, "_types:Uuid": { "type": "string" }, @@ -61539,7 +63400,7 @@ } }, "lifecycle": { - "$ref": "#/components/schemas/indices._types:DataLifecycleWithRollover" + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleWithRollover" } } }, @@ -64248,7 +66109,7 @@ }, "_types.analysis:Normalizer": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis-normalizers.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-normalizers.html" }, "discriminator": { "propertyName": "type" @@ -65540,7 +67401,7 @@ "properties": { "meta": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-meta-field.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-meta-field.html" }, "description": "Metadata about the field.", "type": "object", @@ -65859,7 +67720,7 @@ }, "fields": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/multi-fields.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/multi-fields.html" }, "description": "Multi-fields allow the same string value to be indexed in multiple ways for different purposes, such as one\nfield for search and a multi-field for sorting and aggregations, or the same string value analyzed by different analyzers.", "type": "object", @@ -65869,7 +67730,7 @@ }, "meta": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-meta-field.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-meta-field.html" }, "description": "Metadata about the field.", "type": "object", @@ -67321,18 +69182,62 @@ } } }, - "indices._types:DataLifecycleWithRollover": { + "indices._types:DataStreamLifecycleWithRollover": { "type": "object", "properties": { "data_retention": { "$ref": "#/components/schemas/_types:Duration" }, + "downsampling": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleDownsampling" + }, "rollover": { - "$ref": "#/components/schemas/indices._types:DlmRolloverConditions" + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleRolloverConditions" } } }, - "indices._types:DlmRolloverConditions": { + "indices._types:DataStreamLifecycleDownsampling": { + "type": "object", + "properties": { + "rounds": { + "description": "The list of downsampling rounds to execute as part of this downsampling configuration", + "type": "array", + "items": { + "$ref": "#/components/schemas/indices._types:DownsamplingRound" + } + } + }, + "required": [ + "rounds" + ] + }, + "indices._types:DownsamplingRound": { + "type": "object", + "properties": { + "after": { + "$ref": "#/components/schemas/_types:Duration" + }, + "config": { + "$ref": "#/components/schemas/indices._types:DownsampleConfig" + } + }, + "required": [ + "after", + "config" + ] + }, + "indices._types:DownsampleConfig": { + "type": "object", + "properties": { + "fixed_interval": { + "$ref": "#/components/schemas/_types:DurationLarge" + } + }, + "required": [ + "fixed_interval" + ] + }, + "indices._types:DataStreamLifecycleRolloverConditions": { "type": "object", "properties": { "min_age": { @@ -67576,12 +69481,15 @@ "type": "object", "properties": { "current_open": { + "description": "Current number of open HTTP connections for the node.", "type": "number" }, "total_opened": { + "description": "Total number of HTTP connections opened for the node.", "type": "number" }, "clients": { + "description": "Information on current and recently-closed HTTP client connections.\nClients that have been closed longer than the `http.client_stats.closed_channels.max_age` setting will not be represented here.", "type": "array", "items": { "$ref": "#/components/schemas/nodes._types:Client" @@ -67593,36 +69501,47 @@ "type": "object", "properties": { "id": { + "description": "Unique ID for the HTTP client.", "type": "number" }, "agent": { + "description": "Reported agent for the HTTP client.\nIf unavailable, this property is not included in the response.", "type": "string" }, "local_address": { + "description": "Local address for the HTTP connection.", "type": "string" }, "remote_address": { + "description": "Remote address for the HTTP connection.", "type": "string" }, "last_uri": { + "description": "The URI of the client’s most recent request.", "type": "string" }, "opened_time_millis": { + "description": "Time at which the client opened the connection.", "type": "number" }, "closed_time_millis": { + "description": "Time at which the client closed the connection if the connection is closed.", "type": "number" }, "last_request_time_millis": { + "description": "Time of the most recent request from this client.", "type": "number" }, "request_count": { + "description": "Number of requests from this client.", "type": "number" }, "request_size_bytes": { + "description": "Cumulative size in bytes of all requests from this client.", "type": "number" }, "x_opaque_id": { + "description": "Value from the client’s `x-opaque-id` HTTP header.\nIf unavailable, this property is not included in the response.", "type": "string" } } @@ -67631,6 +69550,7 @@ "type": "object", "properties": { "pipelines": { + "description": "Contains statistics about ingest pipelines for the node.", "type": "object", "additionalProperties": { "$ref": "#/components/schemas/nodes._types:IngestTotal" @@ -67645,15 +69565,19 @@ "type": "object", "properties": { "count": { + "description": "Total number of documents ingested during the lifetime of this node.", "type": "number" }, "current": { + "description": "Total number of documents currently being ingested.", "type": "number" }, "failed": { + "description": "Total number of failed ingest operations during the lifetime of this node.", "type": "number" }, "processors": { + "description": "Total number of ingest processors.", "type": "array", "items": { "type": "object", @@ -67682,12 +69606,15 @@ "type": "object", "properties": { "count": { + "description": "Number of documents transformed by the processor.", "type": "number" }, "current": { + "description": "Number of documents currently being transformed by the processor.", "type": "number" }, "failed": { + "description": "Number of failed operations for the processor.", "type": "number" }, "time_in_millis": { @@ -67699,21 +69626,27 @@ "type": "object", "properties": { "active": { + "description": "Number of active threads in the thread pool.", "type": "number" }, "completed": { + "description": "Number of tasks completed by the thread pool executor.", "type": "number" }, "largest": { + "description": "Highest number of active threads in the thread pool.", "type": "number" }, "queue": { + "description": "Number of tasks in queue for the thread pool.", "type": "number" }, "rejected": { + "description": "Number of tasks rejected by the thread pool executor.", "type": "number" }, "threads": { + "description": "Number of threads in the thread pool.", "type": "number" } } @@ -67722,18 +69655,22 @@ "type": "object", "properties": { "cache_evictions": { + "description": "Total number of times the script cache has evicted old data.", "type": "number" }, "compilations": { + "description": "Total number of inline script compilations performed by the node.", "type": "number" }, "compilations_history": { + "description": "Contains this recent history of script compilations.", "type": "object", "additionalProperties": { "type": "number" } }, "compilation_limit_triggered": { + "description": "Total number of times the script compilation circuit breaker has limited inline script compilations.", "type": "number" }, "contexts": { @@ -67817,7 +69754,7 @@ "$ref": "#/components/schemas/_types:DataStreamName" }, "lifecycle": { - "$ref": "#/components/schemas/indices._types:DataLifecycle" + "$ref": "#/components/schemas/indices._types:DataStreamLifecycle" } } }, @@ -67848,15 +69785,18 @@ }, "_types:DataStreamName": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-create-data-stream.html#indices-create-data-stream-api-path-params" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-data-stream.html#indices-create-data-stream-api-path-params" }, "type": "string" }, - "indices._types:DataLifecycle": { + "indices._types:DataStreamLifecycle": { "type": "object", "properties": { "data_retention": { "$ref": "#/components/schemas/_types:Duration" + }, + "downsampling": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleDownsampling" } } }, @@ -68224,7 +70164,7 @@ }, "versions": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analyzer-anatomy.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analyzer-anatomy.html" }, "description": "Contains statistics about analyzers and analyzer components used in selected nodes.", "type": "array", @@ -68860,7 +70800,7 @@ }, "discovery_types": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/modules-discovery-hosts-providers.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-hosts-providers.html" }, "description": "Contains statistics about the discovery types used by selected nodes.", "type": "object", @@ -69782,7 +71722,8 @@ "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" }, "status": { - "$ref": "#/components/schemas/tasks._types:TaskStatus" + "description": "Task status information can vary wildly from task to task.", + "type": "object" }, "type": { "type": "string" @@ -69802,78 +71743,6 @@ "type" ] }, - "tasks._types:TaskStatus": { - "type": "object", - "properties": { - "batches": { - "type": "number" - }, - "canceled": { - "type": "string" - }, - "created": { - "type": "number" - }, - "deleted": { - "type": "number" - }, - "noops": { - "type": "number" - }, - "failures": { - "type": "array", - "items": { - "type": "string" - } - }, - "requests_per_second": { - "type": "number" - }, - "retries": { - "$ref": "#/components/schemas/_types:Retries" - }, - "throttled": { - "$ref": "#/components/schemas/_types:Duration" - }, - "throttled_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "throttled_until": { - "$ref": "#/components/schemas/_types:Duration" - }, - "throttled_until_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "timed_out": { - "type": "boolean" - }, - "took": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "total": { - "type": "number" - }, - "updated": { - "type": "number" - }, - "version_conflicts": { - "type": "number" - } - }, - "required": [ - "batches", - "created", - "deleted", - "noops", - "requests_per_second", - "retries", - "throttled_millis", - "throttled_until_millis", - "total", - "updated", - "version_conflicts" - ] - }, "tasks._types:TaskInfos": { "oneOf": [ { @@ -70085,7 +71954,7 @@ }, "sequences": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/eql-syntax.html#eql-sequences" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-syntax.html#eql-sequences" }, "description": "Contains event sequences matching the query. Each object represents a matching sequence. This parameter is only returned for EQL queries containing a sequence.", "type": "array", @@ -70136,7 +72005,7 @@ }, "join_keys": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/eql-syntax.html#eql-sequences" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-syntax.html#eql-sequences" }, "description": "Shared field values used to constrain matches in the sequence. These are defined using the by keyword in the EQL query syntax.", "type": "array", @@ -70230,7 +72099,7 @@ }, "metadata_field": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-fields.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-fields.html" }, "description": "Whether this field is registered as a metadata field.", "type": "boolean" @@ -70804,7 +72673,7 @@ }, "use_significance": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-significantterms-aggregation.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-significantterms-aggregation.html" }, "description": "Filters associated terms so only those that are significantly associated with your query are included.", "type": "boolean" @@ -72016,24 +73885,13 @@ } ] }, - "indices._types:DownsampleConfig": { - "type": "object", - "properties": { - "fixed_interval": { - "$ref": "#/components/schemas/_types:DurationLarge" - } - }, - "required": [ - "fixed_interval" - ] - }, - "indices.explain_data_lifecycle:DataLifecycleExplain": { + "indices.explain_data_lifecycle:DataStreamLifecycleExplain": { "type": "object", "properties": { "index": { "$ref": "#/components/schemas/_types:IndexName" }, - "managed_by_dlm": { + "managed_by_lifecycle": { "type": "boolean" }, "index_creation_date_millis": { @@ -72049,7 +73907,7 @@ "$ref": "#/components/schemas/_types:Duration" }, "lifecycle": { - "$ref": "#/components/schemas/indices._types:DataLifecycleWithRollover" + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleWithRollover" }, "generation_time": { "$ref": "#/components/schemas/_types:Duration" @@ -72060,7 +73918,7 @@ }, "required": [ "index", - "managed_by_dlm" + "managed_by_lifecycle" ] }, "indices.field_usage_stats:FieldsUsageBody": { @@ -72125,14 +73983,14 @@ "aliases" ] }, - "indices.get_data_lifecycle:DataStreamLifecycle": { + "indices.get_data_lifecycle:DataStreamWithLifecycle": { "type": "object", "properties": { "name": { "$ref": "#/components/schemas/_types:DataStreamName" }, "lifecycle": { - "$ref": "#/components/schemas/indices._types:DataLifecycle" + "$ref": "#/components/schemas/indices._types:DataStreamLifecycle" } }, "required": [ @@ -72168,7 +74026,7 @@ } }, "lifecycle": { - "$ref": "#/components/schemas/indices._types:DataLifecycleWithRollover" + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleWithRollover" }, "name": { "$ref": "#/components/schemas/_types:DataStreamName" @@ -72331,7 +74189,7 @@ "$ref": "#/components/schemas/indices._types:IndexSettings" }, "lifecycle": { - "$ref": "#/components/schemas/indices._types:DataLifecycleWithRollover" + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleWithRollover" } } }, @@ -72446,7 +74304,7 @@ "$ref": "#/components/schemas/indices._types:IndexSettings" }, "lifecycle": { - "$ref": "#/components/schemas/indices._types:DataLifecycle" + "$ref": "#/components/schemas/indices._types:DataStreamLifecycle" } } }, @@ -75242,7 +77100,7 @@ "field": { "$ref": "#/components/schemas/_types:Field" }, - "ignre_missing": { + "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", "type": "boolean" }, @@ -75806,7 +77664,7 @@ }, "pipeline": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/logstash/{branch}/configuration-file-structure.html" + "url": "https://www.elastic.co/guide/en/logstash/current/configuration-file-structure.html" }, "description": "Configuration for the pipeline.", "type": "string" @@ -75844,7 +77702,7 @@ "properties": { "pipeline.workers": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/logstash/{branch}/logstash-settings-file.html" + "url": "https://www.elastic.co/guide/en/logstash/current/logstash-settings-file.html" }, "description": "The number of workers that will, in parallel, execute the filter and output stages of the pipeline.", "type": "number" @@ -75859,7 +77717,7 @@ }, "queue.type": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/logstash/{branch}/logstash-settings-file.html" + "url": "https://www.elastic.co/guide/en/logstash/current/logstash-settings-file.html" }, "description": "The internal queuing model to use for event buffering.", "type": "string" @@ -76690,18 +78548,21 @@ "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationSummaryAucRoc" }, "precision": { + "description": "Set the different thresholds of the outlier score at where the metric is calculated.", "type": "object", "additionalProperties": { "type": "number" } }, "recall": { + "description": "Set the different thresholds of the outlier score at where the metric is calculated.", "type": "object", "additionalProperties": { "type": "number" } }, "confusion_matrix": { + "description": "Set the different thresholds of the outlier score at where the metrics (`tp` - true positive, `fp` - false positive, `tn` - true negative, `fn` - false negative) are calculated.", "type": "object", "additionalProperties": { "$ref": "#/components/schemas/ml.evaluate_data_frame:ConfusionMatrixThreshold" @@ -77596,45 +79457,59 @@ "type": "object", "properties": { "alpha": { + "description": "Advanced configuration option.\nMachine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly.\nThis parameter affects loss calculations by acting as a multiplier of the tree depth.\nHigher alpha values result in shallower trees and faster training times.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than or equal to zero.", "type": "number" }, "lambda": { + "description": "Advanced configuration option.\nRegularization parameter to prevent overfitting on the training data set.\nMultiplies an L2 regularization term which applies to leaf weights of the individual trees in the forest.\nA high lambda value causes training to favor small leaf weights.\nThis behavior makes the prediction function smoother at the expense of potentially not being able to capture relevant relationships between the features and the dependent variable.\nA small lambda value results in large individual trees and slower training.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be a nonnegative value.", "type": "number" }, "gamma": { + "description": "Advanced configuration option.\nRegularization parameter to prevent overfitting on the training data set.\nMultiplies a linear penalty associated with the size of individual trees in the forest.\nA high gamma value causes training to prefer small trees.\nA small gamma value results in larger individual trees and slower training.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be a nonnegative value.", "type": "number" }, "eta": { + "description": "Advanced configuration option.\nThe shrinkage applied to the weights.\nSmaller values result in larger forests which have a better generalization error.\nHowever, larger forests cause slower training.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be a value between `0.001` and `1`.", "type": "number" }, "eta_growth_rate_per_tree": { + "description": "Advanced configuration option.\nSpecifies the rate at which `eta` increases for each new tree that is added to the forest.\nFor example, a rate of 1.05 increases `eta` by 5% for each extra tree.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be between `0.5` and `2`.", "type": "number" }, "feature_bag_fraction": { + "description": "Advanced configuration option.\nDefines the fraction of features that will be used when selecting a random bag for each candidate split.\nBy default, this value is calculated during hyperparameter optimization.", "type": "number" }, "downsample_factor": { + "description": "Advanced configuration option.\nControls the fraction of data that is used to compute the derivatives of the loss function for tree training.\nA small value results in the use of a small fraction of the data.\nIf this value is set to be less than 1, accuracy typically improves.\nHowever, too small a value may result in poor convergence for the ensemble and so require more trees.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than zero and less than or equal to 1.", "type": "number" }, "max_attempts_to_add_tree": { + "description": "If the algorithm fails to determine a non-trivial tree (more than a single leaf), this parameter determines how many of such consecutive failures are tolerated.\nOnce the number of attempts exceeds the threshold, the forest training stops.", "type": "number" }, "max_optimization_rounds_per_hyperparameter": { + "description": "Advanced configuration option.\nA multiplier responsible for determining the maximum number of hyperparameter optimization steps in the Bayesian optimization procedure.\nThe maximum number of steps is determined based on the number of undefined hyperparameters times the maximum optimization rounds per hyperparameter.\nBy default, this value is calculated during hyperparameter optimization.", "type": "number" }, "max_trees": { + "description": "Advanced configuration option.\nDefines the maximum number of decision trees in the forest.\nThe maximum value is 2000.\nBy default, this value is calculated during hyperparameter optimization.", "type": "number" }, "num_folds": { + "description": "The maximum number of folds for the cross-validation procedure.", "type": "number" }, "num_splits_per_feature": { + "description": "Determines the maximum number of splits for every feature that can occur in a decision tree when the tree is trained.", "type": "number" }, "soft_tree_depth_limit": { + "description": "Advanced configuration option.\nMachine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly.\nThis soft limit combines with the `soft_tree_depth_tolerance` to penalize trees that exceed the specified depth; the regularized loss increases quickly beyond this depth.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than or equal to 0.", "type": "number" }, "soft_tree_depth_tolerance": { + "description": "Advanced configuration option.\nThis option controls how quickly the regularized loss increases when the tree depth exceeds `soft_tree_depth_limit`.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than or equal to 0.01.", "type": "number" } } @@ -77696,21 +79571,27 @@ "type": "object", "properties": { "compute_feature_influence": { + "description": "Specifies whether the feature influence calculation is enabled.", "type": "boolean" }, "feature_influence_threshold": { + "description": "The minimum outlier score that a document needs to have in order to calculate its feature influence score.\nValue range: 0-1", "type": "number" }, "method": { + "description": "The method that outlier detection uses.\nAvailable methods are `lof`, `ldof`, `distance_kth_nn`, `distance_knn`, and `ensemble`.\nThe default value is ensemble, which means that outlier detection uses an ensemble of different methods and normalises and combines their individual outlier scores to obtain the overall outlier score.", "type": "string" }, "n_neighbors": { + "description": "Defines the value for how many nearest neighbors each method of outlier detection uses to calculate its outlier score.\nWhen the value is not set, different values are used for different ensemble members.\nThis default behavior helps improve the diversity in the ensemble; only override it if you are confident that the value you choose is appropriate for the data set.", "type": "number" }, "outlier_fraction": { + "description": "The proportion of the data set that is assumed to be outlying prior to outlier detection.\nFor example, 0.05 means it is assumed that 5% of values are real outliers and 95% are inliers.", "type": "number" }, "standardization_enabled": { + "description": "If `true`, the following operation is performed on the columns before computing outlier scores: (x_i - mean(x_i)) / sd(x_i).", "type": "boolean" } } @@ -77854,6 +79735,7 @@ "type": "object", "properties": { "assignment_explanation": { + "description": "For started datafeeds only, contains messages relating to the selection of a node.", "type": "string" }, "datafeed_id": { @@ -77912,6 +79794,7 @@ "type": "object", "properties": { "bucket_count": { + "description": "The number of buckets processed.", "type": "number" }, "exponential_average_search_time_per_hour_ms": { @@ -77921,6 +79804,7 @@ "$ref": "#/components/schemas/_types:Id" }, "search_count": { + "description": "The number of searches run by the datafeed.", "type": "number" }, "total_search_time_ms": { @@ -77953,9 +79837,11 @@ "type": "object", "properties": { "real_time_configured": { + "description": "Indicates if the datafeed is \"real-time\"; meaning that the datafeed has no configured `end` time.", "type": "boolean" }, "real_time_running": { + "description": "Indicates whether the datafeed has finished running on the available past data.\nFor datafeeds without a configured `end` time, this means that the datafeed is now running on \"real-time\" data.", "type": "boolean" }, "search_interval": { @@ -78220,6 +80106,7 @@ "type": "object", "properties": { "assignment_explanation": { + "description": "For open anomaly detection jobs only, contains messages relating to the selection of a node to run the job.", "type": "string" }, "data_counts": { @@ -78229,6 +80116,7 @@ "$ref": "#/components/schemas/ml._types:JobForecastStatistics" }, "job_id": { + "description": "Identifier for the anomaly detection job.", "type": "string" }, "model_size_stats": { @@ -78247,6 +80135,7 @@ "$ref": "#/components/schemas/ml._types:JobTimingStats" }, "deleting": { + "description": "Indicates that the process of deleting the job is in progress but not yet completed. It is only reported when `true`.", "type": "boolean" } }, @@ -78513,6 +80402,7 @@ "type": "object", "properties": { "allow_lazy_open": { + "description": "Advanced configuration option.\nSpecifies whether this job can open when there is insufficient machine learning node capacity for it to be immediately assigned to a node.", "type": "boolean" }, "analysis_config": { @@ -78534,6 +80424,7 @@ "$ref": "#/components/schemas/ml._types:CustomSettings" }, "daily_model_snapshot_retention_after_days": { + "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies a period of time (in days) after which only the first snapshot per day is retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.\nValid values range from 0 to `model_snapshot_retention_days`.", "type": "number" }, "data_description": { @@ -78543,15 +80434,18 @@ "$ref": "#/components/schemas/ml._types:Datafeed" }, "deleting": { + "description": "Indicates that the process of deleting the job is in progress but not yet completed.\nIt is only reported when `true`.", "type": "boolean" }, "description": { + "description": "A description of the job.", "type": "string" }, "finished_time": { "$ref": "#/components/schemas/_types:DateTime" }, "groups": { + "description": "A list of job groups.\nA job can belong to no groups or many.", "type": "array", "items": { "type": "string" @@ -78561,6 +80455,7 @@ "$ref": "#/components/schemas/_types:Id" }, "job_type": { + "description": "Reserved for future use, currently set to `anomaly_detector`.", "type": "string" }, "job_version": { @@ -78573,15 +80468,18 @@ "$ref": "#/components/schemas/_types:Id" }, "model_snapshot_retention_days": { + "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies the maximum period of time (in days) that snapshots are retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.\nBy default, snapshots ten days older than the newest snapshot are deleted.", "type": "number" }, "renormalization_window_days": { + "description": "Advanced configuration option.\nThe period over which adjustments to the score are applied, as new data is seen.\nThe default value is the longer of 30 days or 100 `bucket_spans`.", "type": "number" }, "results_index_name": { "$ref": "#/components/schemas/_types:IndexName" }, "results_retention_days": { + "description": "Advanced configuration option.\nThe period of time (in days) that results are retained.\nAge is calculated relative to the timestamp of the latest bucket result.\nIf this property has a non-null value, once per day at 00:30 (server time), results that are the specified number of days older than the latest bucket result are deleted from Elasticsearch.\nThe default value is null, which means all results are retained.\nAnnotations generated by the system also count as results for retention purposes; they are deleted after the same number of days as results.\nAnnotations added by users are retained forever.", "type": "number" } }, @@ -79664,7 +81562,7 @@ "properties": { "absolute_importance": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/machine-learning/{branch}/dfa-regression-lossfunction.html" + "url": "https://www.elastic.co/guide/en/machine-learning/current/dfa-regression-lossfunction.html" }, "description": "A positive number showing how much the parameter influences the variation of the loss function. For hyperparameters with values that are not specified by the user but tuned during hyperparameter optimization.", "type": "number" @@ -79792,7 +81690,7 @@ }, "ingest": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-stats.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" }, "description": "A collection of ingest stats for the model across all nodes.\nThe values are summations of the individual node statistics.\nThe format matches the ingest section in the nodes stats API.", "type": "object", @@ -80032,7 +81930,7 @@ "properties": { "cache_miss_count": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-settings.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" }, "description": "The number of times the model was loaded for inference and was not retrieved from the cache.\nIf this number is close to the `inference_count`, the cache is not being appropriately used.\nThis can be solved by increasing the cache size or its time-to-live (TTL).\nRefer to general machine learning settings for the appropriate settings.", "type": "number" @@ -80591,6 +82489,10 @@ "type": "object", "properties": { "allow_lazy_open": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html" + }, + "description": "Advanced configuration option. Specifies whether this job can open when there is insufficient machine learning node capacity for it to be immediately assigned to a node.", "type": "boolean" }, "analysis_config": { @@ -80606,6 +82508,7 @@ "$ref": "#/components/schemas/ml._types:CustomSettings" }, "daily_model_snapshot_retention_after_days": { + "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies a period of time (in days) after which only the first snapshot per day is retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.", "type": "number" }, "data_description": { @@ -80615,9 +82518,11 @@ "$ref": "#/components/schemas/ml._types:DatafeedConfig" }, "description": { + "description": "A description of the job.", "type": "string" }, "groups": { + "description": "A list of job groups. A job can belong to no groups or many.", "type": "array", "items": { "type": "string" @@ -80627,21 +82532,25 @@ "$ref": "#/components/schemas/_types:Id" }, "job_type": { + "description": "Reserved for future use, currently set to `anomaly_detector`.", "type": "string" }, "model_plot_config": { "$ref": "#/components/schemas/ml._types:ModelPlotConfig" }, "model_snapshot_retention_days": { + "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies the maximum period of time (in days) that snapshots are retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.\nThe default value is `10`, which means snapshots ten days older than the newest snapshot are deleted.", "type": "number" }, "renormalization_window_days": { + "description": "Advanced configuration option.\nThe period over which adjustments to the score are applied, as new data is seen.\nThe default value is the longer of 30 days or 100 `bucket_spans`.", "type": "number" }, "results_index_name": { "$ref": "#/components/schemas/_types:IndexName" }, "results_retention_days": { + "description": "Advanced configuration option.\nThe period of time (in days) that results are retained.\nAge is calculated relative to the timestamp of the latest bucket result.\nIf this property has a non-null value, once per day at 00:30 (server time), results that are the specified number of days older than the latest bucket result are deleted from Elasticsearch.\nThe default value is null, which means all results are retained.\nAnnotations generated by the system also count as results for retention purposes; they are deleted after the same number of days as results.\nAnnotations added by users are retained forever.", "type": "number" } }, @@ -80679,21 +82588,21 @@ "$ref": "#/components/schemas/_types:Field" }, "categorization_filters": { - "description": "If `categorization_field_name` is specified, you can also define optional filters. This property expects an array of regular expressions. The expressions are used to filter out matching sequences from the categorization field values. You can use this functionality to fine tune the categorization by excluding sequences from consideration when categories are defined. For example, you can exclude SQL statements that appear in your log files. This property cannot be used at the same time as `categorization_analyzer`. If you only want to define simple regular expression filters that are applied prior to tokenization, setting this property is the easiest method. If you also want to customize the tokenizer or post-tokenization filtering, use the `categorization_analyzer` property instead and include the filters as pattern_replace character filters. The effect is exactly the same.", + "description": "If `categorization_field_name` is specified, you can also define optional filters.\nThis property expects an array of regular expressions.\nThe expressions are used to filter out matching sequences from the categorization field values.", "type": "array", "items": { "type": "string" } }, "detectors": { - "description": "Detector configuration objects specify which data fields a job analyzes. They also specify which analytical functions are used. You can specify multiple detectors for a job. If the detectors array does not contain at least one detector, no analysis can occur and an error is returned.", + "description": "An array of detector configuration objects.\nDetector configuration objects specify which data fields a job analyzes.\nThey also specify which analytical functions are used.\nYou can specify multiple detectors for a job.", "type": "array", "items": { "$ref": "#/components/schemas/ml._types:DetectorRead" } }, "influencers": { - "description": "A comma separated list of influencer field names. Typically these can be the by, over, or partition fields that are used in the detector configuration. You might also want to use a field name that is not specifically named in a detector, but is available as part of the input data. When you use multiple detectors, the use of influencers is recommended as it aggregates results for each influencer entity.", + "description": "A comma separated list of influencer field names.\nTypically these can be the by, over, or partition fields that are used in the detector configuration.\nYou might also want to use a field name that is not specifically named in a detector, but is available as part of the input data.\nWhen you use multiple detectors, the use of influencers is recommended as it aggregates results for each influencer entity.", "type": "array", "items": { "$ref": "#/components/schemas/_types:Field" @@ -80706,7 +82615,7 @@ "$ref": "#/components/schemas/_types:Duration" }, "multivariate_by_fields": { - "description": "This functionality is reserved for internal use. It is not supported for use in customer environments and is not subject to the support SLA of official GA features. If set to `true`, the analysis will automatically find correlations between metrics for a given by field value and report anomalies when those correlations cease to hold. For example, suppose CPU and memory usage on host A is usually highly correlated with the same metrics on host B. Perhaps this correlation occurs because they are running a load-balanced application. If you enable this property, anomalies will be reported when, for example, CPU usage on host A is high and the value of CPU usage on host B is low. That is to say, you’ll see an anomaly when the CPU of host A is unusual given the CPU of host B. To use the `multivariate_by_fields` property, you must also specify `by_field_name` in your detector.", + "description": "This functionality is reserved for internal use.\nIt is not supported for use in customer environments and is not subject to the support SLA of official GA features.\nIf set to `true`, the analysis will automatically find correlations between metrics for a given by field value and report anomalies when those correlations cease to hold.", "type": "boolean" }, "per_partition_categorization": { @@ -80729,7 +82638,7 @@ "$ref": "#/components/schemas/_types:Field" }, "custom_rules": { - "description": "Custom rules enable you to customize the way detectors operate. For example, a rule may dictate conditions under which results should be skipped. Kibana refers to custom rules as job rules.", + "description": "An array of custom rule objects, which enable you to customize the way detectors operate.\nFor example, a rule may dictate to the detector conditions under which results should be skipped.\nKibana refers to custom rules as job rules.", "type": "array", "items": { "$ref": "#/components/schemas/ml._types:DetectionRule" @@ -80740,7 +82649,7 @@ "type": "string" }, "detector_index": { - "description": "A unique identifier for the detector. This identifier is based on the order of the detectors in the `analysis_config`, starting at zero. If you specify a value for this property, it is ignored.", + "description": "A unique identifier for the detector.\nThis identifier is based on the order of the detectors in the `analysis_config`, starting at zero.", "type": "number" }, "exclude_frequent": { @@ -80750,7 +82659,10 @@ "$ref": "#/components/schemas/_types:Field" }, "function": { - "description": "The analysis function that is used. For example, `count`, `rare`, `mean`, `min`, `max`, or `sum`.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-functions.html" + }, + "description": "The analysis function that is used.\nFor example, `count`, `rare`, `mean`, `min`, `max`, and `sum`.", "type": "string" }, "over_field_name": { @@ -81151,18 +83063,21 @@ "type": "object", "properties": { "explain": { + "description": "If `true`, returns detailed information about score calculation as part of each hit.", "type": "boolean" }, "id": { "$ref": "#/components/schemas/_types:Id" }, "params": { + "description": "Key-value pairs used to replace Mustache variables in the template.\nThe key is the variable name.\nThe value is the variable value.", "type": "object", "additionalProperties": { "type": "object" } }, "profile": { + "description": "If `true`, the query execution is profiled.", "type": "boolean" }, "source": { @@ -81181,30 +83096,36 @@ "$ref": "#/components/schemas/_types:IndexName" }, "doc": { + "description": "An artificial document (a document not present in the index) for which you want to retrieve term vectors.", "type": "object" }, "fields": { "$ref": "#/components/schemas/_types:Fields" }, "field_statistics": { + "description": "If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies.", "type": "boolean" }, "filter": { "$ref": "#/components/schemas/_global.termvectors:Filter" }, "offsets": { + "description": "If `true`, the response includes term offsets.", "type": "boolean" }, "payloads": { + "description": "If `true`, the response includes term payloads.", "type": "boolean" }, "positions": { + "description": "If `true`, the response includes term positions.", "type": "boolean" }, "routing": { "$ref": "#/components/schemas/_types:Routing" }, "term_statistics": { + "description": "If true, the response includes term frequency and document frequency.", "type": "boolean" }, "version": { @@ -81222,24 +83143,31 @@ "type": "object", "properties": { "max_doc_freq": { + "description": "Ignore words which occur in more than this many docs.\nDefaults to unbounded.", "type": "number" }, "max_num_terms": { + "description": "Maximum number of terms that must be returned per field.", "type": "number" }, "max_term_freq": { + "description": "Ignore words with more than this frequency in the source doc.\nDefaults to unbounded.", "type": "number" }, "max_word_length": { + "description": "The maximum word length above which words will be ignored.\nDefaults to unbounded.", "type": "number" }, "min_doc_freq": { + "description": "Ignore terms which do not occur in at least this many docs.", "type": "number" }, "min_term_freq": { + "description": "Ignore words with less than this frequency in the source doc.", "type": "number" }, "min_word_length": { + "description": "The minimum word length below which words will be ignored.", "type": "number" } } @@ -81650,7 +83578,7 @@ }, "total_indexing_buffer": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indexing-buffer.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indexing-buffer.html" }, "description": "Total heap allowed to be used to hold recently indexed documents before they must be written to disk. This size is a shared pool across all shards on this node, and is controlled by Indexing Buffer settings.", "type": "number" @@ -82748,12 +84676,14 @@ "type": "object", "properties": { "adaptive_selection": { + "description": "Statistics about adaptive replica selection.", "type": "object", "additionalProperties": { "$ref": "#/components/schemas/nodes._types:AdaptiveSelection" } }, "breakers": { + "description": "Statistics about the field data circuit breaker.", "type": "object", "additionalProperties": { "$ref": "#/components/schemas/nodes._types:Breaker" @@ -82772,6 +84702,7 @@ "$ref": "#/components/schemas/nodes._types:Ingest" }, "ip": { + "description": "IP address and port for the node.", "oneOf": [ { "$ref": "#/components/schemas/_types:Ip" @@ -82819,6 +84750,7 @@ } }, "thread_pool": { + "description": "Statistics about each thread pool, including current size, queue and rejected tasks.", "type": "object", "additionalProperties": { "$ref": "#/components/schemas/nodes._types:ThreadCount" @@ -82834,6 +84766,7 @@ "$ref": "#/components/schemas/_types:TransportAddress" }, "attributes": { + "description": "Contains a list of attributes for the node.", "type": "object", "additionalProperties": { "type": "string" @@ -82854,24 +84787,29 @@ "type": "object", "properties": { "avg_queue_size": { + "description": "The exponentially weighted moving average queue size of search requests on the keyed node.", "type": "number" }, "avg_response_time": { "$ref": "#/components/schemas/_types:Duration" }, "avg_response_time_ns": { + "description": "The exponentially weighted moving average response time, in nanoseconds, of search requests on the keyed node.", "type": "number" }, "avg_service_time": { "$ref": "#/components/schemas/_types:Duration" }, "avg_service_time_ns": { + "description": "The exponentially weighted moving average service time, in nanoseconds, of search requests on the keyed node.", "type": "number" }, "outgoing_searches": { + "description": "The number of outstanding search requests to the keyed node from the node these stats are for.", "type": "number" }, "rank": { + "description": "The rank of this node; used for shard selection when routing search requests.", "type": "string" } } @@ -82880,21 +84818,27 @@ "type": "object", "properties": { "estimated_size": { + "description": "Estimated memory used for the operation.", "type": "string" }, "estimated_size_in_bytes": { + "description": "Estimated memory used, in bytes, for the operation.", "type": "number" }, "limit_size": { + "description": "Memory limit for the circuit breaker.", "type": "string" }, "limit_size_in_bytes": { + "description": "Memory limit, in bytes, for the circuit breaker.", "type": "number" }, "overhead": { + "description": "A constant that all estimates for the circuit breaker are multiplied with to calculate a final estimate.", "type": "number" }, "tripped": { + "description": "Total number of times the circuit breaker has been triggered and prevented an out of memory error.", "type": "number" } } @@ -82903,12 +84847,14 @@ "type": "object", "properties": { "data": { + "description": "List of all file stores.", "type": "array", "items": { "$ref": "#/components/schemas/nodes._types:DataPathStats" } }, "timestamp": { + "description": "Last time the file stores statistics were refreshed.\nRecorded in milliseconds since the Unix Epoch.", "type": "number" }, "total": { @@ -82923,9 +84869,11 @@ "type": "object", "properties": { "available": { + "description": "Total amount of disk space available to this Java virtual machine on this file store.", "type": "string" }, "available_in_bytes": { + "description": "Total number of bytes available to this Java virtual machine on this file store.", "type": "number" }, "disk_queue": { @@ -82950,24 +84898,31 @@ "type": "number" }, "free": { + "description": "Total amount of unallocated disk space in the file store.", "type": "string" }, "free_in_bytes": { + "description": "Total number of unallocated bytes in the file store.", "type": "number" }, "mount": { + "description": "Mount point of the file store (for example: `/dev/sda2`).", "type": "string" }, "path": { + "description": "Path to the file store.", "type": "string" }, "total": { + "description": "Total size of the file store.", "type": "string" }, "total_in_bytes": { + "description": "Total size of the file store in bytes.", "type": "number" }, "type": { + "description": "Type of the file store (ex: ext4).", "type": "string" } } @@ -82976,21 +84931,27 @@ "type": "object", "properties": { "available": { + "description": "Total disk space available to this Java virtual machine on all file stores.\nDepending on OS or process level restrictions, this might appear less than `free`.\nThis is the actual amount of free disk space the Elasticsearch node can utilise.", "type": "string" }, "available_in_bytes": { + "description": "Total number of bytes available to this Java virtual machine on all file stores.\nDepending on OS or process level restrictions, this might appear less than `free_in_bytes`.\nThis is the actual amount of free disk space the Elasticsearch node can utilise.", "type": "number" }, "free": { + "description": "Total unallocated disk space in all file stores.", "type": "string" }, "free_in_bytes": { + "description": "Total number of unallocated bytes in all file stores.", "type": "number" }, "total": { + "description": "Total size of all file stores.", "type": "string" }, "total_in_bytes": { + "description": "Total size of all file stores in bytes.", "type": "number" } } @@ -82999,6 +84960,7 @@ "type": "object", "properties": { "devices": { + "description": "Array of disk metrics for each device that is backing an Elasticsearch data path.\nThese disk metrics are probed periodically and averages between the last probe and the current probe are computed.", "type": "array", "items": { "$ref": "#/components/schemas/nodes._types:IoStatDevice" @@ -83013,21 +84975,27 @@ "type": "object", "properties": { "device_name": { + "description": "The Linux device name.", "type": "string" }, "operations": { + "description": "The total number of read and write operations for the device completed since starting Elasticsearch.", "type": "number" }, "read_kilobytes": { + "description": "The total number of kilobytes read for the device since starting Elasticsearch.", "type": "number" }, "read_operations": { + "description": "The total number of read operations for the device completed since starting Elasticsearch.", "type": "number" }, "write_kilobytes": { + "description": "The total number of kilobytes written for the device since starting Elasticsearch.", "type": "number" }, "write_operations": { + "description": "The total number of write operations for the device completed since starting Elasticsearch.", "type": "number" } } @@ -83036,6 +85004,7 @@ "type": "object", "properties": { "buffer_pools": { + "description": "Contains statistics about JVM buffer pools for the node.", "type": "object", "additionalProperties": { "$ref": "#/components/schemas/nodes._types:NodeBufferPool" @@ -83054,12 +85023,15 @@ "$ref": "#/components/schemas/nodes._types:JvmThreads" }, "timestamp": { + "description": "Last time JVM statistics were refreshed.", "type": "number" }, "uptime": { + "description": "Human-readable JVM uptime.\nOnly returned if the `human` query parameter is `true`.", "type": "string" }, "uptime_in_millis": { + "description": "JVM uptime in milliseconds.", "type": "number" } } @@ -83068,18 +85040,23 @@ "type": "object", "properties": { "count": { + "description": "Number of buffer pools.", "type": "number" }, "total_capacity": { + "description": "Total capacity of buffer pools.", "type": "string" }, "total_capacity_in_bytes": { + "description": "Total capacity of buffer pools in bytes.", "type": "number" }, "used": { + "description": "Size of buffer pools.", "type": "string" }, "used_in_bytes": { + "description": "Size of buffer pools in bytes.", "type": "number" } } @@ -83088,12 +85065,15 @@ "type": "object", "properties": { "current_loaded_count": { + "description": "Number of classes currently loaded by JVM.", "type": "number" }, "total_loaded_count": { + "description": "Total number of classes loaded since the JVM started.", "type": "number" }, "total_unloaded_count": { + "description": "Total number of classes unloaded since the JVM started.", "type": "number" } } @@ -83102,6 +85082,7 @@ "type": "object", "properties": { "collectors": { + "description": "Contains statistics about JVM garbage collectors for the node.", "type": "object", "additionalProperties": { "$ref": "#/components/schemas/nodes._types:GarbageCollectorTotal" @@ -83113,12 +85094,15 @@ "type": "object", "properties": { "collection_count": { + "description": "Total number of JVM garbage collectors that collect objects.", "type": "number" }, "collection_time": { + "description": "Total time spent by JVM collecting objects.", "type": "string" }, "collection_time_in_millis": { + "description": "Total time, in milliseconds, spent by JVM collecting objects.", "type": "number" } } @@ -83127,24 +85111,31 @@ "type": "object", "properties": { "heap_used_in_bytes": { + "description": "Memory, in bytes, currently in use by the heap.", "type": "number" }, "heap_used_percent": { + "description": "Percentage of memory currently in use by the heap.", "type": "number" }, "heap_committed_in_bytes": { + "description": "Amount of memory, in bytes, available for use by the heap.", "type": "number" }, "heap_max_in_bytes": { + "description": "Maximum amount of memory, in bytes, available for use by the heap.", "type": "number" }, "non_heap_used_in_bytes": { + "description": "Non-heap memory used, in bytes.", "type": "number" }, "non_heap_committed_in_bytes": { + "description": "Amount of non-heap memory available, in bytes.", "type": "number" }, "pools": { + "description": "Contains statistics about heap memory usage for the node.", "type": "object", "additionalProperties": { "$ref": "#/components/schemas/nodes._types:Pool" @@ -83156,15 +85147,19 @@ "type": "object", "properties": { "used_in_bytes": { + "description": "Memory, in bytes, used by the heap.", "type": "number" }, "max_in_bytes": { + "description": "Maximum amount of memory, in bytes, available for use by the heap.", "type": "number" }, "peak_used_in_bytes": { + "description": "Largest amount of memory, in bytes, historically used by the heap.", "type": "number" }, "peak_max_in_bytes": { + "description": "Largest amount of memory, in bytes, historically used by the heap.", "type": "number" } } @@ -83173,9 +85168,11 @@ "type": "object", "properties": { "count": { + "description": "Number of active threads in use by JVM.", "type": "number" }, "peak_count": { + "description": "Highest number of threads used by JVM.", "type": "number" } } @@ -83241,9 +85238,11 @@ "type": "object", "properties": { "free_percent": { + "description": "Percentage of free memory.", "type": "number" }, "used_percent": { + "description": "Percentage of used memory.", "type": "number" } } @@ -83254,6 +85253,7 @@ "type": "object", "properties": { "adjusted_total_in_bytes": { + "description": "If the amount of physical memory has been overridden using the `es`.`total_memory_bytes` system property then this reports the overridden value in bytes.\nOtherwise it reports the same value as `total_in_bytes`.", "type": "number" }, "resident": { @@ -83275,12 +85275,15 @@ "type": "number" }, "total_in_bytes": { + "description": "Total amount of physical memory in bytes.", "type": "number" }, "free_in_bytes": { + "description": "Amount of free physical memory in bytes.", "type": "number" }, "used_in_bytes": { + "description": "Amount of used physical memory in bytes.", "type": "number" } } @@ -83303,6 +85306,7 @@ "type": "object", "properties": { "control_group": { + "description": "The `cpuacct` control group to which the Elasticsearch process belongs.", "type": "string" }, "usage_nanos": { @@ -83314,12 +85318,15 @@ "type": "object", "properties": { "control_group": { + "description": "The `cpu` control group to which the Elasticsearch process belongs.", "type": "string" }, "cfs_period_micros": { + "description": "The period of time, in microseconds, for how regularly all tasks in the same cgroup as the Elasticsearch process should have their access to CPU resources reallocated.", "type": "number" }, "cfs_quota_micros": { + "description": "The total amount of time, in microseconds, for which all tasks in the same cgroup as the Elasticsearch process can run during one period `cfs_period_micros`.", "type": "number" }, "stat": { @@ -83331,9 +85338,11 @@ "type": "object", "properties": { "number_of_elapsed_periods": { + "description": "The number of reporting periods (as specified by `cfs_period_micros`) that have elapsed.", "type": "number" }, "number_of_times_throttled": { + "description": "The number of times all tasks in the same cgroup as the Elasticsearch process have been throttled.", "type": "number" }, "time_throttled_nanos": { @@ -83345,12 +85354,15 @@ "type": "object", "properties": { "control_group": { + "description": "The `memory` control group to which the Elasticsearch process belongs.", "type": "string" }, "limit_in_bytes": { + "description": "The maximum amount of user memory (including file cache) allowed for all tasks in the same cgroup as the Elasticsearch process.\nThis value can be too big to store in a `long`, so is returned as a string so that the value returned can exactly match what the underlying operating system interface returns.\nAny value that is too large to parse into a `long` almost certainly means no limit has been set for the cgroup.", "type": "string" }, "usage_in_bytes": { + "description": "The total current memory usage by processes in the cgroup, in bytes, by all tasks in the same cgroup as the Elasticsearch process.\nThis value is stored as a string for consistency with `limit_in_bytes`.", "type": "string" } } @@ -83365,12 +85377,15 @@ "$ref": "#/components/schemas/nodes._types:MemoryStats" }, "open_file_descriptors": { + "description": "Number of opened file descriptors associated with the current or `-1` if not supported.", "type": "number" }, "max_file_descriptors": { + "description": "Maximum number of file descriptors allowed on the system, or `-1` if not supported.", "type": "number" }, "timestamp": { + "description": "Last time the statistics were refreshed.\nRecorded in milliseconds since the Unix Epoch.", "type": "number" } } @@ -83379,12 +85394,15 @@ "type": "object", "properties": { "cache_evictions": { + "description": "Total number of times the script cache has evicted old data.", "type": "number" }, "compilation_limit_triggered": { + "description": "Total number of times the script compilation circuit breaker has limited inline script compilations.", "type": "number" }, "compilations": { + "description": "Total number of inline script compilations performed by the node.", "type": "number" }, "context": { @@ -83396,39 +85414,49 @@ "type": "object", "properties": { "inbound_handling_time_histogram": { + "description": "The distribution of the time spent handling each inbound message on a transport thread, represented as a histogram.", "type": "array", "items": { "$ref": "#/components/schemas/nodes._types:TransportHistogram" } }, "outbound_handling_time_histogram": { + "description": "The distribution of the time spent sending each outbound transport message on a transport thread, represented as a histogram.", "type": "array", "items": { "$ref": "#/components/schemas/nodes._types:TransportHistogram" } }, "rx_count": { + "description": "Total number of RX (receive) packets received by the node during internal cluster communication.", "type": "number" }, "rx_size": { + "description": "Size of RX packets received by the node during internal cluster communication.", "type": "string" }, "rx_size_in_bytes": { + "description": "Size, in bytes, of RX packets received by the node during internal cluster communication.", "type": "number" }, "server_open": { + "description": "Current number of inbound TCP connections used for internal communication between nodes.", "type": "number" }, "tx_count": { + "description": "Total number of TX (transmit) packets sent by the node during internal cluster communication.", "type": "number" }, "tx_size": { + "description": "Size of TX packets sent by the node during internal cluster communication.", "type": "string" }, "tx_size_in_bytes": { + "description": "Size, in bytes, of TX packets sent by the node during internal cluster communication.", "type": "number" }, "total_outbound_connections": { + "description": "The cumulative number of outbound transport connections that this node has opened since it started.\nEach transport connection may comprise multiple TCP connections but is only counted once in this statistic.\nTransport connections are typically long-lived so this statistic should remain constant in a stable cluster.", "type": "number" } } @@ -83437,12 +85465,15 @@ "type": "object", "properties": { "count": { + "description": "The number of times a transport thread took a period of time within the bounds of this bucket to handle an inbound message.", "type": "number" }, "lt_millis": { + "description": "The exclusive upper bound of the bucket in milliseconds.\nMay be omitted on the last bucket if this bucket has no upper bound.", "type": "number" }, "ge_millis": { + "description": "The inclusive lower bound of the bucket in milliseconds. May be omitted on the first bucket if this bucket has no lower bound.", "type": "number" } } @@ -83457,6 +85488,7 @@ "$ref": "#/components/schemas/nodes._types:PublishedClusterStates" }, "cluster_state_update": { + "description": "Contains low-level statistics about how long various activities took during cluster state updates while the node was the elected master.\nOmitted if the node is not master-eligible.\nEvery field whose name ends in `_time` within this object is also represented as a raw number of milliseconds in a field whose name ends in `_time_millis`.\nThe human-readable fields with a `_time` suffix are only returned if requested with the `?human=true` query parameter.", "type": "object", "additionalProperties": { "$ref": "#/components/schemas/nodes._types:ClusterStateUpdate" @@ -83474,12 +85506,15 @@ "type": "object", "properties": { "total": { + "description": "Total number of cluster states in queue.", "type": "number" }, "pending": { + "description": "Number of pending cluster states in queue.", "type": "number" }, "committed": { + "description": "Number of committed cluster states in queue.", "type": "number" } } @@ -83488,12 +85523,15 @@ "type": "object", "properties": { "full_states": { + "description": "Number of published cluster states.", "type": "number" }, "incompatible_diffs": { + "description": "Number of incompatible differences between published cluster states.", "type": "number" }, "compatible_diffs": { + "description": "Number of compatible differences between published cluster states.", "type": "number" } } @@ -83502,6 +85540,7 @@ "type": "object", "properties": { "count": { + "description": "The number of cluster state update attempts that did not change the cluster state since the node started.", "type": "number" }, "computation_time": { @@ -83625,6 +85664,7 @@ "$ref": "#/components/schemas/_types:ByteSize" }, "limit_in_bytes": { + "description": "Configured memory limit, in bytes, for the indexing requests.\nReplica requests have an automatic limit that is 1.5x this value.", "type": "number" }, "current": { @@ -83642,39 +85682,47 @@ "$ref": "#/components/schemas/_types:ByteSize" }, "all_in_bytes": { + "description": "Memory consumed, in bytes, by indexing requests in the coordinating, primary, or replica stage.", "type": "number" }, "combined_coordinating_and_primary": { "$ref": "#/components/schemas/_types:ByteSize" }, "combined_coordinating_and_primary_in_bytes": { + "description": "Memory consumed, in bytes, by indexing requests in the coordinating or primary stage.\nThis value is not the sum of coordinating and primary as a node can reuse the coordinating memory if the primary stage is executed locally.", "type": "number" }, "coordinating": { "$ref": "#/components/schemas/_types:ByteSize" }, "coordinating_in_bytes": { + "description": "Memory consumed, in bytes, by indexing requests in the coordinating stage.", "type": "number" }, "primary": { "$ref": "#/components/schemas/_types:ByteSize" }, "primary_in_bytes": { + "description": "Memory consumed, in bytes, by indexing requests in the primary stage.", "type": "number" }, "replica": { "$ref": "#/components/schemas/_types:ByteSize" }, "replica_in_bytes": { + "description": "Memory consumed, in bytes, by indexing requests in the replica stage.", "type": "number" }, "coordinating_rejections": { + "description": "Number of indexing requests rejected in the coordinating stage.", "type": "number" }, "primary_rejections": { + "description": "Number of indexing requests rejected in the primary stage.", "type": "number" }, "replica_rejections": { + "description": "Number of indexing requests rejected in the replica stage.", "type": "number" } } @@ -84181,6 +86229,7 @@ "$ref": "#/components/schemas/_types:OpType" }, "pipeline": { + "description": "The name of the pipeline to use.", "type": "string" }, "routing": { @@ -84207,6 +86256,7 @@ "$ref": "#/components/schemas/_global.reindex:RemoteSource" }, "size": { + "description": "The number of documents to index per batch.\nUse when indexing from remote to ensure that the batches fit within the on-heap buffer, which defaults to a maximum size of 100 MB.", "type": "number" }, "slice": { @@ -84233,6 +86283,7 @@ "$ref": "#/components/schemas/_types:Duration" }, "headers": { + "description": "An object containing the headers of the request.", "type": "object", "additionalProperties": { "type": "string" @@ -84330,18 +86381,23 @@ "type": "object", "properties": { "batches": { + "description": "The number of scroll responses pulled back by the reindex.", "type": "number" }, "created": { + "description": "The number of documents that were successfully created.", "type": "number" }, "deleted": { + "description": "The number of documents that were successfully deleted.", "type": "number" }, "noops": { + "description": "The number of documents that were ignored because the script used for the reindex returned a `noop` value for `ctx.op`.", "type": "number" }, "requests_per_second": { + "description": "The number of requests per second effectively executed during the reindex.", "type": "number" }, "retries": { @@ -84360,12 +86416,15 @@ "$ref": "#/components/schemas/_types:DurationValueUnitMillis" }, "total": { + "description": "The number of documents that were successfully processed.", "type": "number" }, "updated": { + "description": "The number of documents that were successfully updated, for example, a document with same ID already existed prior to reindex updating it.", "type": "number" }, "version_conflicts": { + "description": "The number of version conflicts that reindex hits.", "type": "number" } }, @@ -84527,6 +86586,7 @@ "$ref": "#/components/schemas/_types:Fields" }, "interval": { + "description": "The interval of histogram buckets to be generated when rolling up.\nFor example, a value of `5` creates buckets that are five units wide (`0-5`, `5-10`, etc).\nNote that only one interval can be specified in the histogram group, meaning that all fields being grouped via the histogram must share the same interval.", "type": "number" } }, @@ -84784,6 +86844,7 @@ "type": "object", "properties": { "document": { + "description": "Document that’s temporarily indexed in-memory and accessible from the script.", "type": "object" }, "index": { @@ -84839,7 +86900,7 @@ "$ref": "#/components/schemas/_types:Name" }, "indices": { - "description": "Indices that are part of the Search Application", + "description": "Indices that are part of the Search Application.", "type": "array", "items": { "$ref": "#/components/schemas/_types:IndexName" @@ -85345,7 +87406,7 @@ }, "run_as": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/run-as-privilege.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/run-as-privilege.html" }, "description": "A list of users that the API keys can impersonate.", "type": "array", @@ -85905,7 +87966,7 @@ }, "run_as": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/run-as-privilege.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/run-as-privilege.html" }, "description": "A list of users that the API keys can impersonate.", "type": "array", @@ -86079,7 +88140,7 @@ "properties": { "field_security": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/field-and-document-access-control.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/field-and-document-access-control.html" }, "description": "The document fields that the owners of the role have read access to.", "type": "array", @@ -86639,7 +88700,7 @@ }, "watcher._types:CronExpression": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/api-conventions.html#api-cron-expressions" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/api-conventions.html#api-cron-expressions" }, "type": "string" }, diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json new file mode 100644 index 0000000000..b2a480b069 --- /dev/null +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -0,0 +1,73752 @@ +{ + "openapi": "3.0.3", + "info": { + "title": "Elasticsearch Request & Response Specification", + "license": { + "name": "Apache 2.0", + "url": "https://github.com/elastic/elasticsearch-specification/blob/main/LICENSE" + }, + "version": "" + }, + "paths": { + "/_async_search/{id}": { + "get": { + "description": "Retrieves the results of a previously submitted async search request given its ID.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" + }, + "operationId": "async_search.get#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "A unique identifier for the async search.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "keep_alive", + "description": "Specifies how long the async search should be available in the cluster.\nWhen not specified, the `keep_alive` set with the corresponding submit async request will be used.\nOtherwise, it is possible to override the value and extend the validity of the request.\nWhen this period expires, the search, if still running, is cancelled.\nIf the search is completed, its saved results are deleted.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "typed_keys", + "description": "Specify whether aggregation and suggester names should be prefixed by their respective types in the response", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_completion_timeout", + "description": "Specifies to wait for the search to be completed up until the provided timeout.\nFinal results will be returned if available before the timeout expires, otherwise the currently available results will be returned once the timeout expires.\nBy default no timeout is set meaning that the currently available results will be returned without any additional wait.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/async_search._types:AsyncSearchDocumentResponseBase" + } + } + } + } + } + }, + "delete": { + "description": "Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" + }, + "operationId": "async_search.delete#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "A unique identifier for the async search.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_async_search/status/{id}": { + "get": { + "description": "Retrieves the status of a previously submitted async search request given its ID.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" + }, + "operationId": "async_search.status#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "A unique identifier for the async search.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/async_search.status:StatusResponseBase" + } + } + } + } + } + } + }, + "/_async_search": { + "post": { + "description": "Executes a search request asynchronously.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" + }, + "operationId": "async_search.submit#0", + "parameters": [ + { + "$ref": "#/components/parameters/async_search.submit#wait_for_completion_timeout" + }, + { + "$ref": "#/components/parameters/async_search.submit#keep_on_completion" + }, + { + "$ref": "#/components/parameters/async_search.submit#keep_alive" + }, + { + "$ref": "#/components/parameters/async_search.submit#allow_no_indices" + }, + { + "$ref": "#/components/parameters/async_search.submit#allow_partial_search_results" + }, + { + "$ref": "#/components/parameters/async_search.submit#analyzer" + }, + { + "$ref": "#/components/parameters/async_search.submit#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/async_search.submit#batched_reduce_size" + }, + { + "$ref": "#/components/parameters/async_search.submit#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/async_search.submit#default_operator" + }, + { + "$ref": "#/components/parameters/async_search.submit#df" + }, + { + "$ref": "#/components/parameters/async_search.submit#docvalue_fields" + }, + { + "$ref": "#/components/parameters/async_search.submit#expand_wildcards" + }, + { + "$ref": "#/components/parameters/async_search.submit#explain" + }, + { + "$ref": "#/components/parameters/async_search.submit#ignore_throttled" + }, + { + "$ref": "#/components/parameters/async_search.submit#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/async_search.submit#lenient" + }, + { + "$ref": "#/components/parameters/async_search.submit#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/async_search.submit#min_compatible_shard_node" + }, + { + "$ref": "#/components/parameters/async_search.submit#preference" + }, + { + "$ref": "#/components/parameters/async_search.submit#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/async_search.submit#request_cache" + }, + { + "$ref": "#/components/parameters/async_search.submit#routing" + }, + { + "$ref": "#/components/parameters/async_search.submit#scroll" + }, + { + "$ref": "#/components/parameters/async_search.submit#search_type" + }, + { + "$ref": "#/components/parameters/async_search.submit#stats" + }, + { + "$ref": "#/components/parameters/async_search.submit#stored_fields" + }, + { + "$ref": "#/components/parameters/async_search.submit#suggest_field" + }, + { + "$ref": "#/components/parameters/async_search.submit#suggest_mode" + }, + { + "$ref": "#/components/parameters/async_search.submit#suggest_size" + }, + { + "$ref": "#/components/parameters/async_search.submit#suggest_text" + }, + { + "$ref": "#/components/parameters/async_search.submit#terminate_after" + }, + { + "$ref": "#/components/parameters/async_search.submit#timeout" + }, + { + "$ref": "#/components/parameters/async_search.submit#track_total_hits" + }, + { + "$ref": "#/components/parameters/async_search.submit#track_scores" + }, + { + "$ref": "#/components/parameters/async_search.submit#typed_keys" + }, + { + "$ref": "#/components/parameters/async_search.submit#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/async_search.submit#version" + }, + { + "$ref": "#/components/parameters/async_search.submit#_source" + }, + { + "$ref": "#/components/parameters/async_search.submit#_source_excludes" + }, + { + "$ref": "#/components/parameters/async_search.submit#_source_includes" + }, + { + "$ref": "#/components/parameters/async_search.submit#seq_no_primary_term" + }, + { + "$ref": "#/components/parameters/async_search.submit#q" + }, + { + "$ref": "#/components/parameters/async_search.submit#size" + }, + { + "$ref": "#/components/parameters/async_search.submit#from" + }, + { + "$ref": "#/components/parameters/async_search.submit#sort" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/async_search.submit" + }, + "responses": { + "200": { + "$ref": "#/components/responses/async_search.submit#200" + } + } + } + }, + "/{index}/_async_search": { + "post": { + "description": "Executes a search request asynchronously.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" + }, + "operationId": "async_search.submit#1", + "parameters": [ + { + "$ref": "#/components/parameters/async_search.submit#index" + }, + { + "$ref": "#/components/parameters/async_search.submit#wait_for_completion_timeout" + }, + { + "$ref": "#/components/parameters/async_search.submit#keep_on_completion" + }, + { + "$ref": "#/components/parameters/async_search.submit#keep_alive" + }, + { + "$ref": "#/components/parameters/async_search.submit#allow_no_indices" + }, + { + "$ref": "#/components/parameters/async_search.submit#allow_partial_search_results" + }, + { + "$ref": "#/components/parameters/async_search.submit#analyzer" + }, + { + "$ref": "#/components/parameters/async_search.submit#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/async_search.submit#batched_reduce_size" + }, + { + "$ref": "#/components/parameters/async_search.submit#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/async_search.submit#default_operator" + }, + { + "$ref": "#/components/parameters/async_search.submit#df" + }, + { + "$ref": "#/components/parameters/async_search.submit#docvalue_fields" + }, + { + "$ref": "#/components/parameters/async_search.submit#expand_wildcards" + }, + { + "$ref": "#/components/parameters/async_search.submit#explain" + }, + { + "$ref": "#/components/parameters/async_search.submit#ignore_throttled" + }, + { + "$ref": "#/components/parameters/async_search.submit#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/async_search.submit#lenient" + }, + { + "$ref": "#/components/parameters/async_search.submit#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/async_search.submit#min_compatible_shard_node" + }, + { + "$ref": "#/components/parameters/async_search.submit#preference" + }, + { + "$ref": "#/components/parameters/async_search.submit#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/async_search.submit#request_cache" + }, + { + "$ref": "#/components/parameters/async_search.submit#routing" + }, + { + "$ref": "#/components/parameters/async_search.submit#scroll" + }, + { + "$ref": "#/components/parameters/async_search.submit#search_type" + }, + { + "$ref": "#/components/parameters/async_search.submit#stats" + }, + { + "$ref": "#/components/parameters/async_search.submit#stored_fields" + }, + { + "$ref": "#/components/parameters/async_search.submit#suggest_field" + }, + { + "$ref": "#/components/parameters/async_search.submit#suggest_mode" + }, + { + "$ref": "#/components/parameters/async_search.submit#suggest_size" + }, + { + "$ref": "#/components/parameters/async_search.submit#suggest_text" + }, + { + "$ref": "#/components/parameters/async_search.submit#terminate_after" + }, + { + "$ref": "#/components/parameters/async_search.submit#timeout" + }, + { + "$ref": "#/components/parameters/async_search.submit#track_total_hits" + }, + { + "$ref": "#/components/parameters/async_search.submit#track_scores" + }, + { + "$ref": "#/components/parameters/async_search.submit#typed_keys" + }, + { + "$ref": "#/components/parameters/async_search.submit#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/async_search.submit#version" + }, + { + "$ref": "#/components/parameters/async_search.submit#_source" + }, + { + "$ref": "#/components/parameters/async_search.submit#_source_excludes" + }, + { + "$ref": "#/components/parameters/async_search.submit#_source_includes" + }, + { + "$ref": "#/components/parameters/async_search.submit#seq_no_primary_term" + }, + { + "$ref": "#/components/parameters/async_search.submit#q" + }, + { + "$ref": "#/components/parameters/async_search.submit#size" + }, + { + "$ref": "#/components/parameters/async_search.submit#from" + }, + { + "$ref": "#/components/parameters/async_search.submit#sort" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/async_search.submit" + }, + "responses": { + "200": { + "$ref": "#/components/responses/async_search.submit#200" + } + } + } + }, + "/_bulk": { + "put": { + "description": "Allows to perform multiple index/update/delete operations in a single request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html" + }, + "operationId": "bulk#1", + "parameters": [ + { + "$ref": "#/components/parameters/bulk#pipeline" + }, + { + "$ref": "#/components/parameters/bulk#refresh" + }, + { + "$ref": "#/components/parameters/bulk#routing" + }, + { + "$ref": "#/components/parameters/bulk#_source" + }, + { + "$ref": "#/components/parameters/bulk#_source_excludes" + }, + { + "$ref": "#/components/parameters/bulk#_source_includes" + }, + { + "$ref": "#/components/parameters/bulk#timeout" + }, + { + "$ref": "#/components/parameters/bulk#wait_for_active_shards" + }, + { + "$ref": "#/components/parameters/bulk#require_alias" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/bulk" + }, + "responses": { + "200": { + "$ref": "#/components/responses/bulk#200" + } + } + }, + "post": { + "description": "Allows to perform multiple index/update/delete operations in a single request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html" + }, + "operationId": "bulk#0", + "parameters": [ + { + "$ref": "#/components/parameters/bulk#pipeline" + }, + { + "$ref": "#/components/parameters/bulk#refresh" + }, + { + "$ref": "#/components/parameters/bulk#routing" + }, + { + "$ref": "#/components/parameters/bulk#_source" + }, + { + "$ref": "#/components/parameters/bulk#_source_excludes" + }, + { + "$ref": "#/components/parameters/bulk#_source_includes" + }, + { + "$ref": "#/components/parameters/bulk#timeout" + }, + { + "$ref": "#/components/parameters/bulk#wait_for_active_shards" + }, + { + "$ref": "#/components/parameters/bulk#require_alias" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/bulk" + }, + "responses": { + "200": { + "$ref": "#/components/responses/bulk#200" + } + } + } + }, + "/{index}/_bulk": { + "put": { + "description": "Allows to perform multiple index/update/delete operations in a single request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html" + }, + "operationId": "bulk#3", + "parameters": [ + { + "$ref": "#/components/parameters/bulk#index" + }, + { + "$ref": "#/components/parameters/bulk#pipeline" + }, + { + "$ref": "#/components/parameters/bulk#refresh" + }, + { + "$ref": "#/components/parameters/bulk#routing" + }, + { + "$ref": "#/components/parameters/bulk#_source" + }, + { + "$ref": "#/components/parameters/bulk#_source_excludes" + }, + { + "$ref": "#/components/parameters/bulk#_source_includes" + }, + { + "$ref": "#/components/parameters/bulk#timeout" + }, + { + "$ref": "#/components/parameters/bulk#wait_for_active_shards" + }, + { + "$ref": "#/components/parameters/bulk#require_alias" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/bulk" + }, + "responses": { + "200": { + "$ref": "#/components/responses/bulk#200" + } + } + }, + "post": { + "description": "Allows to perform multiple index/update/delete operations in a single request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html" + }, + "operationId": "bulk#2", + "parameters": [ + { + "$ref": "#/components/parameters/bulk#index" + }, + { + "$ref": "#/components/parameters/bulk#pipeline" + }, + { + "$ref": "#/components/parameters/bulk#refresh" + }, + { + "$ref": "#/components/parameters/bulk#routing" + }, + { + "$ref": "#/components/parameters/bulk#_source" + }, + { + "$ref": "#/components/parameters/bulk#_source_excludes" + }, + { + "$ref": "#/components/parameters/bulk#_source_includes" + }, + { + "$ref": "#/components/parameters/bulk#timeout" + }, + { + "$ref": "#/components/parameters/bulk#wait_for_active_shards" + }, + { + "$ref": "#/components/parameters/bulk#require_alias" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/bulk" + }, + "responses": { + "200": { + "$ref": "#/components/responses/bulk#200" + } + } + } + }, + "/_cat/aliases": { + "get": { + "description": "Shows information about currently configured aliases to indices including filter and routing infos.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-alias.html" + }, + "operationId": "cat.aliases#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.aliases#expand_wildcards" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.aliases#200" + } + } + } + }, + "/_cat/aliases/{name}": { + "get": { + "description": "Shows information about currently configured aliases to indices including filter and routing infos.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-alias.html" + }, + "operationId": "cat.aliases#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.aliases#name" + }, + { + "$ref": "#/components/parameters/cat.aliases#expand_wildcards" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.aliases#200" + } + } + } + }, + "/_cat/allocation": { + "get": { + "description": "Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-allocation.html" + }, + "operationId": "cat.allocation#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.allocation#bytes" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.allocation#200" + } + } + } + }, + "/_cat/allocation/{node_id}": { + "get": { + "description": "Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-allocation.html" + }, + "operationId": "cat.allocation#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.allocation#node_id" + }, + { + "$ref": "#/components/parameters/cat.allocation#bytes" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.allocation#200" + } + } + } + }, + "/_cat/component_templates": { + "get": { + "description": "Returns information about existing component_templates templates.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html" + }, + "operationId": "cat.component_templates#0", + "responses": { + "200": { + "$ref": "#/components/responses/cat.component_templates#200" + } + } + } + }, + "/_cat/component_templates/{name}": { + "get": { + "description": "Returns information about existing component_templates templates.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html" + }, + "operationId": "cat.component_templates#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.component_templates#name" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.component_templates#200" + } + } + } + }, + "/_cat/count": { + "get": { + "description": "Provides quick access to the document count of the entire cluster, or individual indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-count.html" + }, + "operationId": "cat.count#0", + "responses": { + "200": { + "$ref": "#/components/responses/cat.count#200" + } + } + } + }, + "/_cat/count/{index}": { + "get": { + "description": "Provides quick access to the document count of the entire cluster, or individual indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-count.html" + }, + "operationId": "cat.count#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.count#index" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.count#200" + } + } + } + }, + "/_cat/fielddata": { + "get": { + "description": "Shows how much heap memory is currently being used by fielddata on every data node in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-fielddata.html" + }, + "operationId": "cat.fielddata#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.fielddata#bytes" + }, + { + "$ref": "#/components/parameters/cat.fielddata#fields_" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.fielddata#200" + } + } + } + }, + "/_cat/fielddata/{fields}": { + "get": { + "description": "Shows how much heap memory is currently being used by fielddata on every data node in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-fielddata.html" + }, + "operationId": "cat.fielddata#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.fielddata#fields" + }, + { + "$ref": "#/components/parameters/cat.fielddata#bytes" + }, + { + "$ref": "#/components/parameters/cat.fielddata#fields_" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.fielddata#200" + } + } + } + }, + "/_cat": { + "get": { + "description": "Returns help for the Cat APIs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat.html" + }, + "operationId": "cat.help#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.help:HelpRecord" + } + } + } + } + } + } + } + }, + "/_cat/indices": { + "get": { + "description": "Returns information about indices: number of primaries and replicas, document counts, disk size, ...", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-indices.html" + }, + "operationId": "cat.indices#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.indices#bytes" + }, + { + "$ref": "#/components/parameters/cat.indices#expand_wildcards" + }, + { + "$ref": "#/components/parameters/cat.indices#health" + }, + { + "$ref": "#/components/parameters/cat.indices#include_unloaded_segments" + }, + { + "$ref": "#/components/parameters/cat.indices#pri" + }, + { + "$ref": "#/components/parameters/cat.indices#time" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.indices#200" + } + } + } + }, + "/_cat/indices/{index}": { + "get": { + "description": "Returns information about indices: number of primaries and replicas, document counts, disk size, ...", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-indices.html" + }, + "operationId": "cat.indices#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.indices#index" + }, + { + "$ref": "#/components/parameters/cat.indices#bytes" + }, + { + "$ref": "#/components/parameters/cat.indices#expand_wildcards" + }, + { + "$ref": "#/components/parameters/cat.indices#health" + }, + { + "$ref": "#/components/parameters/cat.indices#include_unloaded_segments" + }, + { + "$ref": "#/components/parameters/cat.indices#pri" + }, + { + "$ref": "#/components/parameters/cat.indices#time" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.indices#200" + } + } + } + }, + "/_cat/master": { + "get": { + "description": "Returns information about the master node.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-master.html" + }, + "operationId": "cat.master#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.master:MasterRecord" + } + } + } + } + } + } + } + }, + "/_cat/ml/data_frame/analytics": { + "get": { + "description": "Gets configuration and usage information about data frame analytics jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-dfanalytics.html" + }, + "operationId": "cat.ml_data_frame_analytics#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.ml_data_frame_analytics#allow_no_match" + }, + { + "$ref": "#/components/parameters/cat.ml_data_frame_analytics#bytes" + }, + { + "$ref": "#/components/parameters/cat.ml_data_frame_analytics#h" + }, + { + "$ref": "#/components/parameters/cat.ml_data_frame_analytics#s" + }, + { + "$ref": "#/components/parameters/cat.ml_data_frame_analytics#time" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.ml_data_frame_analytics#200" + } + } + } + }, + "/_cat/ml/data_frame/analytics/{id}": { + "get": { + "description": "Gets configuration and usage information about data frame analytics jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-dfanalytics.html" + }, + "operationId": "cat.ml_data_frame_analytics#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.ml_data_frame_analytics#id" + }, + { + "$ref": "#/components/parameters/cat.ml_data_frame_analytics#allow_no_match" + }, + { + "$ref": "#/components/parameters/cat.ml_data_frame_analytics#bytes" + }, + { + "$ref": "#/components/parameters/cat.ml_data_frame_analytics#h" + }, + { + "$ref": "#/components/parameters/cat.ml_data_frame_analytics#s" + }, + { + "$ref": "#/components/parameters/cat.ml_data_frame_analytics#time" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.ml_data_frame_analytics#200" + } + } + } + }, + "/_cat/ml/datafeeds": { + "get": { + "description": "Gets configuration and usage information about datafeeds.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-datafeeds.html" + }, + "operationId": "cat.ml_datafeeds#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.ml_datafeeds#allow_no_match" + }, + { + "$ref": "#/components/parameters/cat.ml_datafeeds#h" + }, + { + "$ref": "#/components/parameters/cat.ml_datafeeds#s" + }, + { + "$ref": "#/components/parameters/cat.ml_datafeeds#time" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.ml_datafeeds#200" + } + } + } + }, + "/_cat/ml/datafeeds/{datafeed_id}": { + "get": { + "description": "Gets configuration and usage information about datafeeds.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-datafeeds.html" + }, + "operationId": "cat.ml_datafeeds#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.ml_datafeeds#datafeed_id" + }, + { + "$ref": "#/components/parameters/cat.ml_datafeeds#allow_no_match" + }, + { + "$ref": "#/components/parameters/cat.ml_datafeeds#h" + }, + { + "$ref": "#/components/parameters/cat.ml_datafeeds#s" + }, + { + "$ref": "#/components/parameters/cat.ml_datafeeds#time" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.ml_datafeeds#200" + } + } + } + }, + "/_cat/ml/anomaly_detectors": { + "get": { + "description": "Gets configuration and usage information about anomaly detection jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-anomaly-detectors.html" + }, + "operationId": "cat.ml_jobs#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.ml_jobs#allow_no_match" + }, + { + "$ref": "#/components/parameters/cat.ml_jobs#bytes" + }, + { + "$ref": "#/components/parameters/cat.ml_jobs#h" + }, + { + "$ref": "#/components/parameters/cat.ml_jobs#s" + }, + { + "$ref": "#/components/parameters/cat.ml_jobs#time" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.ml_jobs#200" + } + } + } + }, + "/_cat/ml/anomaly_detectors/{job_id}": { + "get": { + "description": "Gets configuration and usage information about anomaly detection jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-anomaly-detectors.html" + }, + "operationId": "cat.ml_jobs#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.ml_jobs#job_id" + }, + { + "$ref": "#/components/parameters/cat.ml_jobs#allow_no_match" + }, + { + "$ref": "#/components/parameters/cat.ml_jobs#bytes" + }, + { + "$ref": "#/components/parameters/cat.ml_jobs#h" + }, + { + "$ref": "#/components/parameters/cat.ml_jobs#s" + }, + { + "$ref": "#/components/parameters/cat.ml_jobs#time" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.ml_jobs#200" + } + } + } + }, + "/_cat/ml/trained_models": { + "get": { + "description": "Gets configuration and usage information about inference trained models.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-trained-model.html" + }, + "operationId": "cat.ml_trained_models#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.ml_trained_models#allow_no_match" + }, + { + "$ref": "#/components/parameters/cat.ml_trained_models#bytes" + }, + { + "$ref": "#/components/parameters/cat.ml_trained_models#h" + }, + { + "$ref": "#/components/parameters/cat.ml_trained_models#s" + }, + { + "$ref": "#/components/parameters/cat.ml_trained_models#from" + }, + { + "$ref": "#/components/parameters/cat.ml_trained_models#size" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.ml_trained_models#200" + } + } + } + }, + "/_cat/ml/trained_models/{model_id}": { + "get": { + "description": "Gets configuration and usage information about inference trained models.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-trained-model.html" + }, + "operationId": "cat.ml_trained_models#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.ml_trained_models#model_id" + }, + { + "$ref": "#/components/parameters/cat.ml_trained_models#allow_no_match" + }, + { + "$ref": "#/components/parameters/cat.ml_trained_models#bytes" + }, + { + "$ref": "#/components/parameters/cat.ml_trained_models#h" + }, + { + "$ref": "#/components/parameters/cat.ml_trained_models#s" + }, + { + "$ref": "#/components/parameters/cat.ml_trained_models#from" + }, + { + "$ref": "#/components/parameters/cat.ml_trained_models#size" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.ml_trained_models#200" + } + } + } + }, + "/_cat/nodeattrs": { + "get": { + "description": "Returns information about custom node attributes.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-nodeattrs.html" + }, + "operationId": "cat.nodeattrs#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.nodeattrs:NodeAttributesRecord" + } + } + } + } + } + } + } + }, + "/_cat/nodes": { + "get": { + "description": "Returns basic statistics about performance of cluster nodes.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-nodes.html" + }, + "operationId": "cat.nodes#0", + "parameters": [ + { + "in": "query", + "name": "bytes", + "description": "The unit used to display byte values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Bytes" + }, + "style": "form" + }, + { + "in": "query", + "name": "full_id", + "description": "If `true`, return the full node ID. If `false`, return the shortened node ID.", + "deprecated": false, + "schema": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] + }, + "style": "form" + }, + { + "in": "query", + "name": "include_unloaded_segments", + "description": "If true, the response includes information from segments that are not loaded into memory.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.nodes:NodesRecord" + } + } + } + } + } + } + } + }, + "/_cat/pending_tasks": { + "get": { + "description": "Returns a concise representation of the cluster pending tasks.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-pending-tasks.html" + }, + "operationId": "cat.pending_tasks#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.pending_tasks:PendingTasksRecord" + } + } + } + } + } + } + } + }, + "/_cat/plugins": { + "get": { + "description": "Returns information about installed plugins across nodes node.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-plugins.html" + }, + "operationId": "cat.plugins#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.plugins:PluginsRecord" + } + } + } + } + } + } + } + }, + "/_cat/segments": { + "get": { + "description": "Provides low-level information about the segments in the shards of an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-segments.html" + }, + "operationId": "cat.segments#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.segments#bytes" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.segments#200" + } + } + } + }, + "/_cat/segments/{index}": { + "get": { + "description": "Provides low-level information about the segments in the shards of an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-segments.html" + }, + "operationId": "cat.segments#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.segments#index" + }, + { + "$ref": "#/components/parameters/cat.segments#bytes" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.segments#200" + } + } + } + }, + "/_cat/shards": { + "get": { + "description": "Provides a detailed view of shard allocation on nodes.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-shards.html" + }, + "operationId": "cat.shards#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.shards#bytes" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.shards#200" + } + } + } + }, + "/_cat/shards/{index}": { + "get": { + "description": "Provides a detailed view of shard allocation on nodes.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-shards.html" + }, + "operationId": "cat.shards#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.shards#index" + }, + { + "$ref": "#/components/parameters/cat.shards#bytes" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.shards#200" + } + } + } + }, + "/_cat/snapshots": { + "get": { + "description": "Returns all snapshots in a specific repository.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-snapshots.html" + }, + "operationId": "cat.snapshots#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.snapshots#ignore_unavailable" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.snapshots#200" + } + } + } + }, + "/_cat/snapshots/{repository}": { + "get": { + "description": "Returns all snapshots in a specific repository.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-snapshots.html" + }, + "operationId": "cat.snapshots#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.snapshots#repository" + }, + { + "$ref": "#/components/parameters/cat.snapshots#ignore_unavailable" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.snapshots#200" + } + } + } + }, + "/_cat/tasks": { + "get": { + "description": "Returns information about the tasks currently executing on one or more nodes in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html" + }, + "operationId": "cat.tasks#0", + "parameters": [ + { + "in": "query", + "name": "actions", + "description": "The task action names, which are used to limit the response.", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + { + "in": "query", + "name": "detailed", + "description": "If `true`, the response includes detailed information about shard recoveries.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "node_id", + "description": "Unique node identifiers, which are used to limit the response.", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + { + "in": "query", + "name": "parent_task_id", + "description": "The parent task identifier, which is used to limit the response.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.tasks:TasksRecord" + } + } + } + } + } + } + } + }, + "/_cat/templates": { + "get": { + "description": "Returns information about existing templates.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-templates.html" + }, + "operationId": "cat.templates#0", + "responses": { + "200": { + "$ref": "#/components/responses/cat.templates#200" + } + } + } + }, + "/_cat/templates/{name}": { + "get": { + "description": "Returns information about existing templates.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-templates.html" + }, + "operationId": "cat.templates#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.templates#name" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.templates#200" + } + } + } + }, + "/_cat/thread_pool": { + "get": { + "description": "Returns cluster-wide thread pool statistics per node.\nBy default the active, queue and rejected statistics are returned for all thread pools.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-thread-pool.html" + }, + "operationId": "cat.thread_pool#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.thread_pool#time" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.thread_pool#200" + } + } + } + }, + "/_cat/thread_pool/{thread_pool_patterns}": { + "get": { + "description": "Returns cluster-wide thread pool statistics per node.\nBy default the active, queue and rejected statistics are returned for all thread pools.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-thread-pool.html" + }, + "operationId": "cat.thread_pool#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.thread_pool#thread_pool_patterns" + }, + { + "$ref": "#/components/parameters/cat.thread_pool#time" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.thread_pool#200" + } + } + } + }, + "/_cat/transforms": { + "get": { + "description": "Gets configuration and usage information about transforms.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-transforms.html" + }, + "operationId": "cat.transforms#0", + "parameters": [ + { + "$ref": "#/components/parameters/cat.transforms#allow_no_match" + }, + { + "$ref": "#/components/parameters/cat.transforms#from" + }, + { + "$ref": "#/components/parameters/cat.transforms#h" + }, + { + "$ref": "#/components/parameters/cat.transforms#s" + }, + { + "$ref": "#/components/parameters/cat.transforms#time" + }, + { + "$ref": "#/components/parameters/cat.transforms#size" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.transforms#200" + } + } + } + }, + "/_cat/transforms/{transform_id}": { + "get": { + "description": "Gets configuration and usage information about transforms.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-transforms.html" + }, + "operationId": "cat.transforms#1", + "parameters": [ + { + "$ref": "#/components/parameters/cat.transforms#transform_id" + }, + { + "$ref": "#/components/parameters/cat.transforms#allow_no_match" + }, + { + "$ref": "#/components/parameters/cat.transforms#from" + }, + { + "$ref": "#/components/parameters/cat.transforms#h" + }, + { + "$ref": "#/components/parameters/cat.transforms#s" + }, + { + "$ref": "#/components/parameters/cat.transforms#time" + }, + { + "$ref": "#/components/parameters/cat.transforms#size" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cat.transforms#200" + } + } + } + }, + "/_search/scroll": { + "get": { + "description": "Allows to retrieve a large numbers of results from a single search request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" + }, + "operationId": "scroll#0", + "parameters": [ + { + "$ref": "#/components/parameters/scroll#scroll" + }, + { + "$ref": "#/components/parameters/scroll#scroll_id_" + }, + { + "$ref": "#/components/parameters/scroll#rest_total_hits_as_int" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/scroll" + }, + "responses": { + "200": { + "$ref": "#/components/responses/scroll#200" + } + } + }, + "post": { + "description": "Allows to retrieve a large numbers of results from a single search request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" + }, + "operationId": "scroll#1", + "parameters": [ + { + "$ref": "#/components/parameters/scroll#scroll" + }, + { + "$ref": "#/components/parameters/scroll#scroll_id_" + }, + { + "$ref": "#/components/parameters/scroll#rest_total_hits_as_int" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/scroll" + }, + "responses": { + "200": { + "$ref": "#/components/responses/scroll#200" + } + } + }, + "delete": { + "description": "Explicitly clears the search context for a scroll.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-scroll-api.html" + }, + "operationId": "clear_scroll#0", + "requestBody": { + "$ref": "#/components/requestBodies/clear_scroll" + }, + "responses": { + "200": { + "$ref": "#/components/responses/clear_scroll#200" + } + } + } + }, + "/_search/scroll/{scroll_id}": { + "get": { + "description": "Allows to retrieve a large numbers of results from a single search request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" + }, + "operationId": "scroll#2", + "parameters": [ + { + "$ref": "#/components/parameters/scroll#scroll_id" + }, + { + "$ref": "#/components/parameters/scroll#scroll" + }, + { + "$ref": "#/components/parameters/scroll#scroll_id_" + }, + { + "$ref": "#/components/parameters/scroll#rest_total_hits_as_int" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/scroll" + }, + "responses": { + "200": { + "$ref": "#/components/responses/scroll#200" + } + } + }, + "post": { + "description": "Allows to retrieve a large numbers of results from a single search request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" + }, + "operationId": "scroll#3", + "parameters": [ + { + "$ref": "#/components/parameters/scroll#scroll_id" + }, + { + "$ref": "#/components/parameters/scroll#scroll" + }, + { + "$ref": "#/components/parameters/scroll#scroll_id_" + }, + { + "$ref": "#/components/parameters/scroll#rest_total_hits_as_int" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/scroll" + }, + "responses": { + "200": { + "$ref": "#/components/responses/scroll#200" + } + } + }, + "delete": { + "description": "Explicitly clears the search context for a scroll.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-scroll-api.html" + }, + "operationId": "clear_scroll#1", + "parameters": [ + { + "$ref": "#/components/parameters/clear_scroll#scroll_id" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/clear_scroll" + }, + "responses": { + "200": { + "$ref": "#/components/responses/clear_scroll#200" + } + } + } + }, + "/_pit": { + "delete": { + "description": "Close a point in time", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/point-in-time-api.html" + }, + "operationId": "close_point_in_time#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "succeeded": { + "type": "boolean" + }, + "num_freed": { + "type": "number" + } + }, + "required": [ + "succeeded", + "num_freed" + ] + } + } + } + } + } + } + }, + "/_cluster/allocation/explain": { + "get": { + "description": "Provides explanations for shard allocations in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-allocation-explain.html" + }, + "operationId": "cluster.allocation_explain#0", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.allocation_explain#include_disk_info" + }, + { + "$ref": "#/components/parameters/cluster.allocation_explain#include_yes_decisions" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/cluster.allocation_explain" + }, + "responses": { + "200": { + "$ref": "#/components/responses/cluster.allocation_explain#200" + } + } + }, + "post": { + "description": "Provides explanations for shard allocations in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-allocation-explain.html" + }, + "operationId": "cluster.allocation_explain#1", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.allocation_explain#include_disk_info" + }, + { + "$ref": "#/components/parameters/cluster.allocation_explain#include_yes_decisions" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/cluster.allocation_explain" + }, + "responses": { + "200": { + "$ref": "#/components/responses/cluster.allocation_explain#200" + } + } + } + }, + "/_component_template/{name}": { + "get": { + "description": "Returns one or more component templates", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" + }, + "operationId": "cluster.get_component_template#1", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.get_component_template#name" + }, + { + "$ref": "#/components/parameters/cluster.get_component_template#flat_settings" + }, + { + "$ref": "#/components/parameters/cluster.get_component_template#include_defaults" + }, + { + "$ref": "#/components/parameters/cluster.get_component_template#local" + }, + { + "$ref": "#/components/parameters/cluster.get_component_template#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cluster.get_component_template#200" + } + } + }, + "put": { + "description": "Creates or updates a component template", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" + }, + "operationId": "cluster.put_component_template#0", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.put_component_template#name" + }, + { + "$ref": "#/components/parameters/cluster.put_component_template#create" + }, + { + "$ref": "#/components/parameters/cluster.put_component_template#master_timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/cluster.put_component_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/cluster.put_component_template#200" + } + } + }, + "post": { + "description": "Creates or updates a component template", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" + }, + "operationId": "cluster.put_component_template#1", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.put_component_template#name" + }, + { + "$ref": "#/components/parameters/cluster.put_component_template#create" + }, + { + "$ref": "#/components/parameters/cluster.put_component_template#master_timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/cluster.put_component_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/cluster.put_component_template#200" + } + } + }, + "delete": { + "description": "Deletes a component template", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" + }, + "operationId": "cluster.delete_component_template#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Comma-separated list or wildcard expression of component template names used to limit the request.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + }, + "head": { + "description": "Returns information about whether a particular component template exist", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" + }, + "operationId": "cluster.exists_component_template#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Comma-separated list of component template names used to limit the request.\nWildcard (*) expressions are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "local", + "description": "If true, the request retrieves information from the local node only.\nDefaults to false, which means information is retrieved from the master node.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": {} + } + } + } + } + }, + "/_component_template": { + "get": { + "description": "Returns one or more component templates", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" + }, + "operationId": "cluster.get_component_template#0", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.get_component_template#flat_settings" + }, + { + "$ref": "#/components/parameters/cluster.get_component_template#include_defaults" + }, + { + "$ref": "#/components/parameters/cluster.get_component_template#local" + }, + { + "$ref": "#/components/parameters/cluster.get_component_template#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cluster.get_component_template#200" + } + } + } + }, + "/_cluster/settings": { + "get": { + "description": "Returns cluster settings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-get-settings.html" + }, + "operationId": "cluster.get_settings#0", + "parameters": [ + { + "in": "query", + "name": "flat_settings", + "description": "If `true`, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "include_defaults", + "description": "If `true`, returns default cluster settings from the local node.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "persistent": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "transient": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "defaults": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "required": [ + "persistent", + "transient" + ] + } + } + } + } + } + }, + "put": { + "description": "Updates the cluster settings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-update-settings.html" + }, + "operationId": "cluster.put_settings#0", + "parameters": [ + { + "in": "query", + "name": "flat_settings", + "description": "Return settings in flat format (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Explicit operation timeout for connection to master node", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Explicit operation timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "persistent": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "transient": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "persistent": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "transient": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "required": [ + "acknowledged", + "persistent", + "transient" + ] + } + } + } + } + } + } + }, + "/_cluster/health": { + "get": { + "description": "Returns basic information about the health of the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-health.html" + }, + "operationId": "cluster.health#0", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.health#expand_wildcards" + }, + { + "$ref": "#/components/parameters/cluster.health#level" + }, + { + "$ref": "#/components/parameters/cluster.health#local" + }, + { + "$ref": "#/components/parameters/cluster.health#master_timeout" + }, + { + "$ref": "#/components/parameters/cluster.health#timeout" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_active_shards" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_events" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_nodes" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_no_initializing_shards" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_no_relocating_shards" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_status" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cluster.health#200" + } + } + } + }, + "/_cluster/health/{index}": { + "get": { + "description": "Returns basic information about the health of the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-health.html" + }, + "operationId": "cluster.health#1", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.health#index" + }, + { + "$ref": "#/components/parameters/cluster.health#expand_wildcards" + }, + { + "$ref": "#/components/parameters/cluster.health#level" + }, + { + "$ref": "#/components/parameters/cluster.health#local" + }, + { + "$ref": "#/components/parameters/cluster.health#master_timeout" + }, + { + "$ref": "#/components/parameters/cluster.health#timeout" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_active_shards" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_events" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_nodes" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_no_initializing_shards" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_no_relocating_shards" + }, + { + "$ref": "#/components/parameters/cluster.health#wait_for_status" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cluster.health#200" + } + } + } + }, + "/_info/{target}": { + "get": { + "description": "Returns different information about the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-info.html" + }, + "operationId": "cluster.info#0", + "parameters": [ + { + "in": "path", + "name": "target", + "description": "Limits the information returned to the specific target. Supports a comma-separated list, such as http,ingest.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ClusterInfoTargets" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "http": { + "$ref": "#/components/schemas/nodes._types:Http" + }, + "ingest": { + "$ref": "#/components/schemas/nodes._types:Ingest" + }, + "thread_pool": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:ThreadCount" + } + }, + "script": { + "$ref": "#/components/schemas/nodes._types:Scripting" + } + }, + "required": [ + "cluster_name" + ] + } + } + } + } + } + } + }, + "/_cluster/pending_tasks": { + "get": { + "description": "Returns a list of any cluster-level changes (e.g. create index, update mapping,\nallocate or fail shard) which have not yet been executed.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-pending.html" + }, + "operationId": "cluster.pending_tasks#0", + "parameters": [ + { + "in": "query", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only.\nIf `false`, information is retrieved from the master node.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "tasks": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.pending_tasks:PendingTask" + } + } + }, + "required": [ + "tasks" + ] + } + } + } + } + } + } + }, + "/_cluster/reroute": { + "post": { + "description": "Allows to manually change the allocation of individual shards in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-reroute.html" + }, + "operationId": "cluster.reroute#0", + "parameters": [ + { + "in": "query", + "name": "dry_run", + "description": "If true, then the request simulates the operation only and returns the resulting state.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "explain", + "description": "If true, then the response contains an explanation of why the commands can or cannot be executed.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "metric", + "description": "Limits the information returned to the specified metrics.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Metrics" + }, + "style": "form" + }, + { + "in": "query", + "name": "retry_failed", + "description": "If true, then retries allocation of shards that are blocked due to too many subsequent allocation failures.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "commands": { + "description": "Defines the commands to perform.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.reroute:Command" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "explanations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.reroute:RerouteExplanation" + } + }, + "state": { + "description": "There aren't any guarantees on the output/structure of the raw cluster state.\nHere you will find the internal representation of the cluster, which can\ndiffer from the external representation.", + "type": "object" + } + }, + "required": [ + "acknowledged" + ] + } + } + } + } + } + } + }, + "/_cluster/state": { + "get": { + "description": "Returns a comprehensive information about the state of the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-state.html" + }, + "operationId": "cluster.state#0", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.state#allow_no_indices" + }, + { + "$ref": "#/components/parameters/cluster.state#expand_wildcards" + }, + { + "$ref": "#/components/parameters/cluster.state#flat_settings" + }, + { + "$ref": "#/components/parameters/cluster.state#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/cluster.state#local" + }, + { + "$ref": "#/components/parameters/cluster.state#master_timeout" + }, + { + "$ref": "#/components/parameters/cluster.state#wait_for_metadata_version" + }, + { + "$ref": "#/components/parameters/cluster.state#wait_for_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cluster.state#200" + } + } + } + }, + "/_cluster/state/{metric}": { + "get": { + "description": "Returns a comprehensive information about the state of the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-state.html" + }, + "operationId": "cluster.state#1", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.state#metric" + }, + { + "$ref": "#/components/parameters/cluster.state#allow_no_indices" + }, + { + "$ref": "#/components/parameters/cluster.state#expand_wildcards" + }, + { + "$ref": "#/components/parameters/cluster.state#flat_settings" + }, + { + "$ref": "#/components/parameters/cluster.state#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/cluster.state#local" + }, + { + "$ref": "#/components/parameters/cluster.state#master_timeout" + }, + { + "$ref": "#/components/parameters/cluster.state#wait_for_metadata_version" + }, + { + "$ref": "#/components/parameters/cluster.state#wait_for_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cluster.state#200" + } + } + } + }, + "/_cluster/state/{metric}/{index}": { + "get": { + "description": "Returns a comprehensive information about the state of the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-state.html" + }, + "operationId": "cluster.state#2", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.state#metric" + }, + { + "$ref": "#/components/parameters/cluster.state#index" + }, + { + "$ref": "#/components/parameters/cluster.state#allow_no_indices" + }, + { + "$ref": "#/components/parameters/cluster.state#expand_wildcards" + }, + { + "$ref": "#/components/parameters/cluster.state#flat_settings" + }, + { + "$ref": "#/components/parameters/cluster.state#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/cluster.state#local" + }, + { + "$ref": "#/components/parameters/cluster.state#master_timeout" + }, + { + "$ref": "#/components/parameters/cluster.state#wait_for_metadata_version" + }, + { + "$ref": "#/components/parameters/cluster.state#wait_for_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cluster.state#200" + } + } + } + }, + "/_cluster/stats": { + "get": { + "description": "Returns high-level overview of cluster statistics.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-stats.html" + }, + "operationId": "cluster.stats#0", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.stats#flat_settings" + }, + { + "$ref": "#/components/parameters/cluster.stats#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cluster.stats#200" + } + } + } + }, + "/_cluster/stats/nodes/{node_id}": { + "get": { + "description": "Returns high-level overview of cluster statistics.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-stats.html" + }, + "operationId": "cluster.stats#1", + "parameters": [ + { + "$ref": "#/components/parameters/cluster.stats#node_id" + }, + { + "$ref": "#/components/parameters/cluster.stats#flat_settings" + }, + { + "$ref": "#/components/parameters/cluster.stats#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/cluster.stats#200" + } + } + } + }, + "/_count": { + "get": { + "description": "Returns number of documents matching a query.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html" + }, + "operationId": "count#1", + "parameters": [ + { + "$ref": "#/components/parameters/count#allow_no_indices" + }, + { + "$ref": "#/components/parameters/count#analyzer" + }, + { + "$ref": "#/components/parameters/count#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/count#default_operator" + }, + { + "$ref": "#/components/parameters/count#df" + }, + { + "$ref": "#/components/parameters/count#expand_wildcards" + }, + { + "$ref": "#/components/parameters/count#ignore_throttled" + }, + { + "$ref": "#/components/parameters/count#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/count#lenient" + }, + { + "$ref": "#/components/parameters/count#min_score" + }, + { + "$ref": "#/components/parameters/count#preference" + }, + { + "$ref": "#/components/parameters/count#routing" + }, + { + "$ref": "#/components/parameters/count#terminate_after" + }, + { + "$ref": "#/components/parameters/count#q" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/count" + }, + "responses": { + "200": { + "$ref": "#/components/responses/count#200" + } + } + }, + "post": { + "description": "Returns number of documents matching a query.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html" + }, + "operationId": "count#0", + "parameters": [ + { + "$ref": "#/components/parameters/count#allow_no_indices" + }, + { + "$ref": "#/components/parameters/count#analyzer" + }, + { + "$ref": "#/components/parameters/count#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/count#default_operator" + }, + { + "$ref": "#/components/parameters/count#df" + }, + { + "$ref": "#/components/parameters/count#expand_wildcards" + }, + { + "$ref": "#/components/parameters/count#ignore_throttled" + }, + { + "$ref": "#/components/parameters/count#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/count#lenient" + }, + { + "$ref": "#/components/parameters/count#min_score" + }, + { + "$ref": "#/components/parameters/count#preference" + }, + { + "$ref": "#/components/parameters/count#routing" + }, + { + "$ref": "#/components/parameters/count#terminate_after" + }, + { + "$ref": "#/components/parameters/count#q" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/count" + }, + "responses": { + "200": { + "$ref": "#/components/responses/count#200" + } + } + } + }, + "/{index}/_count": { + "get": { + "description": "Returns number of documents matching a query.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html" + }, + "operationId": "count#3", + "parameters": [ + { + "$ref": "#/components/parameters/count#index" + }, + { + "$ref": "#/components/parameters/count#allow_no_indices" + }, + { + "$ref": "#/components/parameters/count#analyzer" + }, + { + "$ref": "#/components/parameters/count#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/count#default_operator" + }, + { + "$ref": "#/components/parameters/count#df" + }, + { + "$ref": "#/components/parameters/count#expand_wildcards" + }, + { + "$ref": "#/components/parameters/count#ignore_throttled" + }, + { + "$ref": "#/components/parameters/count#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/count#lenient" + }, + { + "$ref": "#/components/parameters/count#min_score" + }, + { + "$ref": "#/components/parameters/count#preference" + }, + { + "$ref": "#/components/parameters/count#routing" + }, + { + "$ref": "#/components/parameters/count#terminate_after" + }, + { + "$ref": "#/components/parameters/count#q" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/count" + }, + "responses": { + "200": { + "$ref": "#/components/responses/count#200" + } + } + }, + "post": { + "description": "Returns number of documents matching a query.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html" + }, + "operationId": "count#2", + "parameters": [ + { + "$ref": "#/components/parameters/count#index" + }, + { + "$ref": "#/components/parameters/count#allow_no_indices" + }, + { + "$ref": "#/components/parameters/count#analyzer" + }, + { + "$ref": "#/components/parameters/count#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/count#default_operator" + }, + { + "$ref": "#/components/parameters/count#df" + }, + { + "$ref": "#/components/parameters/count#expand_wildcards" + }, + { + "$ref": "#/components/parameters/count#ignore_throttled" + }, + { + "$ref": "#/components/parameters/count#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/count#lenient" + }, + { + "$ref": "#/components/parameters/count#min_score" + }, + { + "$ref": "#/components/parameters/count#preference" + }, + { + "$ref": "#/components/parameters/count#routing" + }, + { + "$ref": "#/components/parameters/count#terminate_after" + }, + { + "$ref": "#/components/parameters/count#q" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/count" + }, + "responses": { + "200": { + "$ref": "#/components/responses/count#200" + } + } + } + }, + "/{index}/_create/{id}": { + "put": { + "description": "Creates a new document in the index.\n\nReturns a 409 response when a document with a same ID already exists in the index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" + }, + "operationId": "create#0", + "parameters": [ + { + "$ref": "#/components/parameters/create#index" + }, + { + "$ref": "#/components/parameters/create#id" + }, + { + "$ref": "#/components/parameters/create#pipeline" + }, + { + "$ref": "#/components/parameters/create#refresh" + }, + { + "$ref": "#/components/parameters/create#routing" + }, + { + "$ref": "#/components/parameters/create#timeout" + }, + { + "$ref": "#/components/parameters/create#version" + }, + { + "$ref": "#/components/parameters/create#version_type" + }, + { + "$ref": "#/components/parameters/create#wait_for_active_shards" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/create" + }, + "responses": { + "200": { + "$ref": "#/components/responses/create#200" + } + } + }, + "post": { + "description": "Creates a new document in the index.\n\nReturns a 409 response when a document with a same ID already exists in the index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" + }, + "operationId": "create#1", + "parameters": [ + { + "$ref": "#/components/parameters/create#index" + }, + { + "$ref": "#/components/parameters/create#id" + }, + { + "$ref": "#/components/parameters/create#pipeline" + }, + { + "$ref": "#/components/parameters/create#refresh" + }, + { + "$ref": "#/components/parameters/create#routing" + }, + { + "$ref": "#/components/parameters/create#timeout" + }, + { + "$ref": "#/components/parameters/create#version" + }, + { + "$ref": "#/components/parameters/create#version_type" + }, + { + "$ref": "#/components/parameters/create#wait_for_active_shards" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/create" + }, + "responses": { + "200": { + "$ref": "#/components/responses/create#200" + } + } + } + }, + "/{index}/_doc/{id}": { + "get": { + "description": "Returns a document.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" + }, + "operationId": "get#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Name of the index that contains the document.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + { + "in": "path", + "name": "id", + "description": "Unique identifier of the document.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on. Random by default.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "realtime", + "description": "If `true`, the request is real-time as opposed to near-real-time.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "refresh", + "description": "If true, Elasticsearch refreshes the affected shards to make this operation visible to search. If false, do nothing with refreshes.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "routing", + "description": "Target the specified primary shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source", + "description": "True or false to return the _source field or not, or a list of fields to return.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source_excludes", + "description": "A comma-separated list of source fields to exclude in the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source_includes", + "description": "A comma-separated list of source fields to include in the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "stored_fields", + "description": "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` parameter defaults to false.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "version", + "description": "Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + }, + { + "in": "query", + "name": "version_type", + "description": "Specific version type: internal, external, external_gte.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionType" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_global.get:GetResult" + } + } + } + } + } + }, + "put": { + "description": "Creates or updates a document in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" + }, + "operationId": "index#0", + "parameters": [ + { + "$ref": "#/components/parameters/index#index" + }, + { + "$ref": "#/components/parameters/index#id" + }, + { + "$ref": "#/components/parameters/index#if_primary_term" + }, + { + "$ref": "#/components/parameters/index#if_seq_no" + }, + { + "$ref": "#/components/parameters/index#op_type" + }, + { + "$ref": "#/components/parameters/index#pipeline" + }, + { + "$ref": "#/components/parameters/index#refresh" + }, + { + "$ref": "#/components/parameters/index#routing" + }, + { + "$ref": "#/components/parameters/index#timeout" + }, + { + "$ref": "#/components/parameters/index#version" + }, + { + "$ref": "#/components/parameters/index#version_type" + }, + { + "$ref": "#/components/parameters/index#wait_for_active_shards" + }, + { + "$ref": "#/components/parameters/index#require_alias" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/index" + }, + "responses": { + "200": { + "$ref": "#/components/responses/index#200" + } + } + }, + "post": { + "description": "Creates or updates a document in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" + }, + "operationId": "index#1", + "parameters": [ + { + "$ref": "#/components/parameters/index#index" + }, + { + "$ref": "#/components/parameters/index#id" + }, + { + "$ref": "#/components/parameters/index#if_primary_term" + }, + { + "$ref": "#/components/parameters/index#if_seq_no" + }, + { + "$ref": "#/components/parameters/index#op_type" + }, + { + "$ref": "#/components/parameters/index#pipeline" + }, + { + "$ref": "#/components/parameters/index#refresh" + }, + { + "$ref": "#/components/parameters/index#routing" + }, + { + "$ref": "#/components/parameters/index#timeout" + }, + { + "$ref": "#/components/parameters/index#version" + }, + { + "$ref": "#/components/parameters/index#version_type" + }, + { + "$ref": "#/components/parameters/index#wait_for_active_shards" + }, + { + "$ref": "#/components/parameters/index#require_alias" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/index" + }, + "responses": { + "200": { + "$ref": "#/components/responses/index#200" + } + } + }, + "delete": { + "description": "Removes a document from the index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html" + }, + "operationId": "delete#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Name of the target index.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + { + "in": "path", + "name": "id", + "description": "Unique identifier for the document.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "if_primary_term", + "description": "Only perform the operation if the document has this primary term.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "if_seq_no", + "description": "Only perform the operation if the document has this sequence number.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "style": "form" + }, + { + "in": "query", + "name": "refresh", + "description": "If `true`, Elasticsearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.\nValid values: `true`, `false`, `wait_for`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for active shards.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "version", + "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + }, + { + "in": "query", + "name": "version_type", + "description": "Specific version type: `external`, `external_gte`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionType" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:WriteResponseBase" + } + } + } + } + } + }, + "head": { + "description": "Returns information about whether a document exists in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" + }, + "operationId": "exists#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases.\nSupports wildcards (`*`).", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + { + "in": "path", + "name": "id", + "description": "Identifier of the document.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "realtime", + "description": "If `true`, the request is real-time as opposed to near-real-time.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "refresh", + "description": "If `true`, Elasticsearch refreshes all shards involved in the delete by query after the request completes.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "routing", + "description": "Target the specified primary shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source", + "description": "`true` or `false` to return the `_source` field or not, or a list of fields to return.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source_excludes", + "description": "A comma-separated list of source fields to exclude in the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source_includes", + "description": "A comma-separated list of source fields to include in the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "stored_fields", + "description": "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` parameter defaults to false.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "version", + "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + }, + { + "in": "query", + "name": "version_type", + "description": "Specific version type: `external`, `external_gte`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionType" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": {} + } + } + } + } + }, + "/{index}/_delete_by_query": { + "post": { + "description": "Deletes documents matching the provided query.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html" + }, + "operationId": "delete_by_query#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams or indices, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "analyzer", + "description": "Analyzer to use for the query string.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "analyze_wildcard", + "description": "If `true`, wildcard and prefix queries are analyzed.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "conflicts", + "description": "What to do if delete by query hits version conflicts: `abort` or `proceed`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Conflicts" + }, + "style": "form" + }, + { + "in": "query", + "name": "default_operator", + "description": "The default operator for query string query: `AND` or `OR`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "style": "form" + }, + { + "in": "query", + "name": "df", + "description": "Field to use as default where no field prefix is given in the query string.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`. Valid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "from", + "description": "Starting offset (default: 0)", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "lenient", + "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "max_docs", + "description": "Maximum number of documents to process.\nDefaults to all documents.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "refresh", + "description": "If `true`, Elasticsearch refreshes all shards involved in the delete by query after the request completes.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "request_cache", + "description": "If `true`, the request cache is used for this request.\nDefaults to the index-level setting.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "requests_per_second", + "description": "The throttle for this request in sub-requests per second.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + { + "in": "query", + "name": "q", + "description": "Query in the Lucene query string syntax.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "scroll", + "description": "Period to retain the search context for scrolling.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "scroll_size", + "description": "Size of the scroll request that powers the operation.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "search_timeout", + "description": "Explicit timeout for each search request.\nDefaults to no timeout.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "search_type", + "description": "The type of the search operation.\nAvailable options: `query_then_fetch`, `dfs_query_then_fetch`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "style": "form" + }, + { + "in": "query", + "name": "slices", + "description": "The number of slices this task should be divided into.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Slices" + }, + "style": "form" + }, + { + "in": "query", + "name": "sort", + "description": "A comma-separated list of : pairs.", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + { + "in": "query", + "name": "stats", + "description": "Specific `tag` of the request for logging and statistical purposes.", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + { + "in": "query", + "name": "terminate_after", + "description": "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.\nUse with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period each deletion request waits for active shards.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "version", + "description": "If `true`, returns the document version as part of a hit.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_completion", + "description": "If `true`, the request blocks until the operation is complete.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "max_docs": { + "description": "The maximum number of documents to delete.", + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "slice": { + "$ref": "#/components/schemas/_types:SlicedScroll" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "batches": { + "type": "number" + }, + "deleted": { + "type": "number" + }, + "failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:BulkIndexByScrollFailure" + } + }, + "noops": { + "type": "number" + }, + "requests_per_second": { + "type": "number" + }, + "retries": { + "$ref": "#/components/schemas/_types:Retries" + }, + "slice_id": { + "type": "number" + }, + "task": { + "$ref": "#/components/schemas/_types:TaskId" + }, + "throttled": { + "$ref": "#/components/schemas/_types:Duration" + }, + "throttled_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "throttled_until": { + "$ref": "#/components/schemas/_types:Duration" + }, + "throttled_until_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "timed_out": { + "type": "boolean" + }, + "took": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total": { + "type": "number" + }, + "version_conflicts": { + "type": "number" + } + } + } + } + } + } + } + } + }, + "/_scripts/{id}": { + "get": { + "description": "Returns a script.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" + }, + "operationId": "get_script#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the stored script or search template.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Specify timeout for connection to master", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "found": { + "type": "boolean" + }, + "script": { + "$ref": "#/components/schemas/_types:StoredScript" + } + }, + "required": [ + "_id", + "found" + ] + } + } + } + } + } + }, + "put": { + "description": "Creates or updates a script.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" + }, + "operationId": "put_script#0", + "parameters": [ + { + "$ref": "#/components/parameters/put_script#id" + }, + { + "$ref": "#/components/parameters/put_script#master_timeout" + }, + { + "$ref": "#/components/parameters/put_script#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/put_script" + }, + "responses": { + "200": { + "$ref": "#/components/responses/put_script#200" + } + } + }, + "post": { + "description": "Creates or updates a script.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" + }, + "operationId": "put_script#1", + "parameters": [ + { + "$ref": "#/components/parameters/put_script#id" + }, + { + "$ref": "#/components/parameters/put_script#master_timeout" + }, + { + "$ref": "#/components/parameters/put_script#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/put_script" + }, + "responses": { + "200": { + "$ref": "#/components/responses/put_script#200" + } + } + }, + "delete": { + "description": "Deletes a script.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" + }, + "operationId": "delete_script#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the stored script or search template.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_enrich/policy/{name}": { + "get": { + "description": "Gets information about an enrich policy.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-enrich-policy-api.html" + }, + "operationId": "enrich.get_policy#0", + "parameters": [ + { + "$ref": "#/components/parameters/enrich.get_policy#name" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/enrich.get_policy#200" + } + } + }, + "put": { + "description": "Creates a new enrich policy.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-enrich-policy-api.html" + }, + "operationId": "enrich.put_policy#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Name of the enrich policy to create or update.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "geo_match": { + "$ref": "#/components/schemas/enrich._types:Policy" + }, + "match": { + "$ref": "#/components/schemas/enrich._types:Policy" + }, + "range": { + "$ref": "#/components/schemas/enrich._types:Policy" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + }, + "delete": { + "description": "Deletes an existing enrich policy and its enrich index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-enrich-policy-api.html" + }, + "operationId": "enrich.delete_policy#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Enrich policy to delete.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_enrich/policy/{name}/_execute": { + "put": { + "description": "Creates the enrich index for an existing enrich policy.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/execute-enrich-policy-api.html" + }, + "operationId": "enrich.execute_policy#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Enrich policy to execute.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "wait_for_completion", + "description": "If `true`, the request blocks other enrich policy execution requests until complete.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "status": { + "$ref": "#/components/schemas/enrich.execute_policy:ExecuteEnrichPolicyStatus" + }, + "task_id": { + "$ref": "#/components/schemas/_types:TaskId" + } + }, + "required": [ + "status" + ] + } + } + } + } + } + } + }, + "/_enrich/policy": { + "get": { + "description": "Gets information about an enrich policy.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-enrich-policy-api.html" + }, + "operationId": "enrich.get_policy#1", + "responses": { + "200": { + "$ref": "#/components/responses/enrich.get_policy#200" + } + } + } + }, + "/_enrich/_stats": { + "get": { + "description": "Gets enrich coordinator statistics and information about enrich policies that are currently executing.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-stats-api.html" + }, + "operationId": "enrich.stats#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "coordinator_stats": { + "description": "Objects containing information about each coordinating ingest node for configured enrich processors.", + "type": "array", + "items": { + "$ref": "#/components/schemas/enrich.stats:CoordinatorStats" + } + }, + "executing_policies": { + "description": "Objects containing information about each enrich policy that is currently executing.", + "type": "array", + "items": { + "$ref": "#/components/schemas/enrich.stats:ExecutingPolicy" + } + }, + "cache_stats": { + "description": "Objects containing information about the enrich cache stats on each ingest node.", + "type": "array", + "items": { + "$ref": "#/components/schemas/enrich.stats:CacheStats" + } + } + }, + "required": [ + "coordinator_stats", + "executing_policies" + ] + } + } + } + } + } + } + }, + "/{index}/_source/{id}": { + "get": { + "description": "Returns the source of a document.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" + }, + "operationId": "get_source#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Name of the index that contains the document.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + { + "in": "path", + "name": "id", + "description": "Unique identifier of the document.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on. Random by default.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "realtime", + "description": "Boolean) If true, the request is real-time as opposed to near-real-time.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "refresh", + "description": "If true, Elasticsearch refreshes the affected shards to make this operation visible to search. If false, do nothing with refreshes.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "routing", + "description": "Target the specified primary shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source", + "description": "True or false to return the _source field or not, or a list of fields to return.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source_excludes", + "description": "A comma-separated list of source fields to exclude in the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source_includes", + "description": "A comma-separated list of source fields to include in the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "stored_fields", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "version", + "description": "Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + }, + { + "in": "query", + "name": "version_type", + "description": "Specific version type: internal, external, external_gte.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionType" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "head": { + "description": "Returns information about whether a document source exists in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" + }, + "operationId": "exists_source#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases.\nSupports wildcards (`*`).", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + { + "in": "path", + "name": "id", + "description": "Identifier of the document.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "realtime", + "description": "If true, the request is real-time as opposed to near-real-time.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "refresh", + "description": "If `true`, Elasticsearch refreshes all shards involved in the delete by query after the request completes.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "routing", + "description": "Target the specified primary shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source", + "description": "`true` or `false` to return the `_source` field or not, or a list of fields to return.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source_excludes", + "description": "A comma-separated list of source fields to exclude in the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source_includes", + "description": "A comma-separated list of source fields to include in the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "version", + "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + }, + { + "in": "query", + "name": "version_type", + "description": "Specific version type: `external`, `external_gte`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionType" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": {} + } + } + } + } + }, + "/_field_caps": { + "get": { + "description": "Returns the information about the capabilities of fields among multiple indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html" + }, + "operationId": "field_caps#0", + "parameters": [ + { + "$ref": "#/components/parameters/field_caps#allow_no_indices" + }, + { + "$ref": "#/components/parameters/field_caps#expand_wildcards" + }, + { + "$ref": "#/components/parameters/field_caps#fields" + }, + { + "$ref": "#/components/parameters/field_caps#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/field_caps#include_unmapped" + }, + { + "$ref": "#/components/parameters/field_caps#filters" + }, + { + "$ref": "#/components/parameters/field_caps#types" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/field_caps" + }, + "responses": { + "200": { + "$ref": "#/components/responses/field_caps#200" + } + } + }, + "post": { + "description": "Returns the information about the capabilities of fields among multiple indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html" + }, + "operationId": "field_caps#1", + "parameters": [ + { + "$ref": "#/components/parameters/field_caps#allow_no_indices" + }, + { + "$ref": "#/components/parameters/field_caps#expand_wildcards" + }, + { + "$ref": "#/components/parameters/field_caps#fields" + }, + { + "$ref": "#/components/parameters/field_caps#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/field_caps#include_unmapped" + }, + { + "$ref": "#/components/parameters/field_caps#filters" + }, + { + "$ref": "#/components/parameters/field_caps#types" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/field_caps" + }, + "responses": { + "200": { + "$ref": "#/components/responses/field_caps#200" + } + } + } + }, + "/{index}/_field_caps": { + "get": { + "description": "Returns the information about the capabilities of fields among multiple indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html" + }, + "operationId": "field_caps#2", + "parameters": [ + { + "$ref": "#/components/parameters/field_caps#index" + }, + { + "$ref": "#/components/parameters/field_caps#allow_no_indices" + }, + { + "$ref": "#/components/parameters/field_caps#expand_wildcards" + }, + { + "$ref": "#/components/parameters/field_caps#fields" + }, + { + "$ref": "#/components/parameters/field_caps#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/field_caps#include_unmapped" + }, + { + "$ref": "#/components/parameters/field_caps#filters" + }, + { + "$ref": "#/components/parameters/field_caps#types" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/field_caps" + }, + "responses": { + "200": { + "$ref": "#/components/responses/field_caps#200" + } + } + }, + "post": { + "description": "Returns the information about the capabilities of fields among multiple indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html" + }, + "operationId": "field_caps#3", + "parameters": [ + { + "$ref": "#/components/parameters/field_caps#index" + }, + { + "$ref": "#/components/parameters/field_caps#allow_no_indices" + }, + { + "$ref": "#/components/parameters/field_caps#expand_wildcards" + }, + { + "$ref": "#/components/parameters/field_caps#fields" + }, + { + "$ref": "#/components/parameters/field_caps#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/field_caps#include_unmapped" + }, + { + "$ref": "#/components/parameters/field_caps#filters" + }, + { + "$ref": "#/components/parameters/field_caps#types" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/field_caps" + }, + "responses": { + "200": { + "$ref": "#/components/responses/field_caps#200" + } + } + } + }, + "/{index}/_fleet/global_checkpoints": { + "get": { + "description": "Returns the current global checkpoints for an index. This API is design for internal use by the fleet server project.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-global-checkpoints.html" + }, + "operationId": "fleet.global_checkpoints#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "A single index or index alias that resolves to a single index.", + "required": true, + "deprecated": false, + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:IndexName" + }, + { + "$ref": "#/components/schemas/_types:IndexAlias" + } + ] + }, + "style": "simple" + }, + { + "in": "query", + "name": "wait_for_advance", + "description": "A boolean value which controls whether to wait (until the timeout) for the global checkpoints\nto advance past the provided `checkpoints`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_index", + "description": "A boolean value which controls whether to wait (until the timeout) for the target index to exist\nand all primary shards be active. Can only be true when `wait_for_advance` is true.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "checkpoints", + "description": "A comma separated list of previous global checkpoints. When used in combination with `wait_for_advance`,\nthe API will only return once the global checkpoints advances past the checkpoints. Providing an empty list\nwill cause Elasticsearch to immediately return the current global checkpoints.", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/fleet._types:Checkpoint" + } + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a global checkpoints to advance past `checkpoints`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "global_checkpoints": { + "type": "array", + "items": { + "$ref": "#/components/schemas/fleet._types:Checkpoint" + } + }, + "timed_out": { + "type": "boolean" + } + }, + "required": [ + "global_checkpoints", + "timed_out" + ] + } + } + } + } + } + } + }, + "/_fleet/_fleet_msearch": { + "get": { + "description": "Multi Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", + "operationId": "fleet.msearch#0", + "parameters": [ + { + "$ref": "#/components/parameters/fleet.msearch#allow_no_indices" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/fleet.msearch#expand_wildcards" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ignore_throttled" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/fleet.msearch#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/fleet.msearch#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/fleet.msearch#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/fleet.msearch#search_type" + }, + { + "$ref": "#/components/parameters/fleet.msearch#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/fleet.msearch#typed_keys" + }, + { + "$ref": "#/components/parameters/fleet.msearch#wait_for_checkpoints" + }, + { + "$ref": "#/components/parameters/fleet.msearch#allow_partial_search_results" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/fleet.msearch" + }, + "responses": { + "200": { + "$ref": "#/components/responses/fleet.msearch#200" + } + } + }, + "post": { + "description": "Multi Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", + "operationId": "fleet.msearch#1", + "parameters": [ + { + "$ref": "#/components/parameters/fleet.msearch#allow_no_indices" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/fleet.msearch#expand_wildcards" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ignore_throttled" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/fleet.msearch#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/fleet.msearch#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/fleet.msearch#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/fleet.msearch#search_type" + }, + { + "$ref": "#/components/parameters/fleet.msearch#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/fleet.msearch#typed_keys" + }, + { + "$ref": "#/components/parameters/fleet.msearch#wait_for_checkpoints" + }, + { + "$ref": "#/components/parameters/fleet.msearch#allow_partial_search_results" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/fleet.msearch" + }, + "responses": { + "200": { + "$ref": "#/components/responses/fleet.msearch#200" + } + } + } + }, + "/{index}/_fleet/_fleet_msearch": { + "get": { + "description": "Multi Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", + "operationId": "fleet.msearch#2", + "parameters": [ + { + "$ref": "#/components/parameters/fleet.msearch#index" + }, + { + "$ref": "#/components/parameters/fleet.msearch#allow_no_indices" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/fleet.msearch#expand_wildcards" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ignore_throttled" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/fleet.msearch#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/fleet.msearch#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/fleet.msearch#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/fleet.msearch#search_type" + }, + { + "$ref": "#/components/parameters/fleet.msearch#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/fleet.msearch#typed_keys" + }, + { + "$ref": "#/components/parameters/fleet.msearch#wait_for_checkpoints" + }, + { + "$ref": "#/components/parameters/fleet.msearch#allow_partial_search_results" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/fleet.msearch" + }, + "responses": { + "200": { + "$ref": "#/components/responses/fleet.msearch#200" + } + } + }, + "post": { + "description": "Multi Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", + "operationId": "fleet.msearch#3", + "parameters": [ + { + "$ref": "#/components/parameters/fleet.msearch#index" + }, + { + "$ref": "#/components/parameters/fleet.msearch#allow_no_indices" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/fleet.msearch#expand_wildcards" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ignore_throttled" + }, + { + "$ref": "#/components/parameters/fleet.msearch#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/fleet.msearch#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/fleet.msearch#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/fleet.msearch#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/fleet.msearch#search_type" + }, + { + "$ref": "#/components/parameters/fleet.msearch#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/fleet.msearch#typed_keys" + }, + { + "$ref": "#/components/parameters/fleet.msearch#wait_for_checkpoints" + }, + { + "$ref": "#/components/parameters/fleet.msearch#allow_partial_search_results" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/fleet.msearch" + }, + "responses": { + "200": { + "$ref": "#/components/responses/fleet.msearch#200" + } + } + } + }, + "/{index}/_fleet/_fleet_search": { + "get": { + "description": "Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", + "operationId": "fleet.search#0", + "parameters": [ + { + "$ref": "#/components/parameters/fleet.search#index" + }, + { + "$ref": "#/components/parameters/fleet.search#allow_no_indices" + }, + { + "$ref": "#/components/parameters/fleet.search#analyzer" + }, + { + "$ref": "#/components/parameters/fleet.search#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/fleet.search#batched_reduce_size" + }, + { + "$ref": "#/components/parameters/fleet.search#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/fleet.search#default_operator" + }, + { + "$ref": "#/components/parameters/fleet.search#df" + }, + { + "$ref": "#/components/parameters/fleet.search#docvalue_fields" + }, + { + "$ref": "#/components/parameters/fleet.search#expand_wildcards" + }, + { + "$ref": "#/components/parameters/fleet.search#explain" + }, + { + "$ref": "#/components/parameters/fleet.search#ignore_throttled" + }, + { + "$ref": "#/components/parameters/fleet.search#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/fleet.search#lenient" + }, + { + "$ref": "#/components/parameters/fleet.search#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/fleet.search#min_compatible_shard_node" + }, + { + "$ref": "#/components/parameters/fleet.search#preference" + }, + { + "$ref": "#/components/parameters/fleet.search#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/fleet.search#request_cache" + }, + { + "$ref": "#/components/parameters/fleet.search#routing" + }, + { + "$ref": "#/components/parameters/fleet.search#scroll" + }, + { + "$ref": "#/components/parameters/fleet.search#search_type" + }, + { + "$ref": "#/components/parameters/fleet.search#stats" + }, + { + "$ref": "#/components/parameters/fleet.search#stored_fields" + }, + { + "$ref": "#/components/parameters/fleet.search#suggest_field" + }, + { + "$ref": "#/components/parameters/fleet.search#suggest_mode" + }, + { + "$ref": "#/components/parameters/fleet.search#suggest_size" + }, + { + "$ref": "#/components/parameters/fleet.search#suggest_text" + }, + { + "$ref": "#/components/parameters/fleet.search#terminate_after" + }, + { + "$ref": "#/components/parameters/fleet.search#timeout" + }, + { + "$ref": "#/components/parameters/fleet.search#track_total_hits" + }, + { + "$ref": "#/components/parameters/fleet.search#track_scores" + }, + { + "$ref": "#/components/parameters/fleet.search#typed_keys" + }, + { + "$ref": "#/components/parameters/fleet.search#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/fleet.search#version" + }, + { + "$ref": "#/components/parameters/fleet.search#_source" + }, + { + "$ref": "#/components/parameters/fleet.search#_source_excludes" + }, + { + "$ref": "#/components/parameters/fleet.search#_source_includes" + }, + { + "$ref": "#/components/parameters/fleet.search#seq_no_primary_term" + }, + { + "$ref": "#/components/parameters/fleet.search#q" + }, + { + "$ref": "#/components/parameters/fleet.search#size" + }, + { + "$ref": "#/components/parameters/fleet.search#from" + }, + { + "$ref": "#/components/parameters/fleet.search#sort" + }, + { + "$ref": "#/components/parameters/fleet.search#wait_for_checkpoints" + }, + { + "$ref": "#/components/parameters/fleet.search#allow_partial_search_results" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/fleet.search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/fleet.search#200" + } + } + }, + "post": { + "description": "Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", + "operationId": "fleet.search#1", + "parameters": [ + { + "$ref": "#/components/parameters/fleet.search#index" + }, + { + "$ref": "#/components/parameters/fleet.search#allow_no_indices" + }, + { + "$ref": "#/components/parameters/fleet.search#analyzer" + }, + { + "$ref": "#/components/parameters/fleet.search#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/fleet.search#batched_reduce_size" + }, + { + "$ref": "#/components/parameters/fleet.search#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/fleet.search#default_operator" + }, + { + "$ref": "#/components/parameters/fleet.search#df" + }, + { + "$ref": "#/components/parameters/fleet.search#docvalue_fields" + }, + { + "$ref": "#/components/parameters/fleet.search#expand_wildcards" + }, + { + "$ref": "#/components/parameters/fleet.search#explain" + }, + { + "$ref": "#/components/parameters/fleet.search#ignore_throttled" + }, + { + "$ref": "#/components/parameters/fleet.search#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/fleet.search#lenient" + }, + { + "$ref": "#/components/parameters/fleet.search#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/fleet.search#min_compatible_shard_node" + }, + { + "$ref": "#/components/parameters/fleet.search#preference" + }, + { + "$ref": "#/components/parameters/fleet.search#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/fleet.search#request_cache" + }, + { + "$ref": "#/components/parameters/fleet.search#routing" + }, + { + "$ref": "#/components/parameters/fleet.search#scroll" + }, + { + "$ref": "#/components/parameters/fleet.search#search_type" + }, + { + "$ref": "#/components/parameters/fleet.search#stats" + }, + { + "$ref": "#/components/parameters/fleet.search#stored_fields" + }, + { + "$ref": "#/components/parameters/fleet.search#suggest_field" + }, + { + "$ref": "#/components/parameters/fleet.search#suggest_mode" + }, + { + "$ref": "#/components/parameters/fleet.search#suggest_size" + }, + { + "$ref": "#/components/parameters/fleet.search#suggest_text" + }, + { + "$ref": "#/components/parameters/fleet.search#terminate_after" + }, + { + "$ref": "#/components/parameters/fleet.search#timeout" + }, + { + "$ref": "#/components/parameters/fleet.search#track_total_hits" + }, + { + "$ref": "#/components/parameters/fleet.search#track_scores" + }, + { + "$ref": "#/components/parameters/fleet.search#typed_keys" + }, + { + "$ref": "#/components/parameters/fleet.search#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/fleet.search#version" + }, + { + "$ref": "#/components/parameters/fleet.search#_source" + }, + { + "$ref": "#/components/parameters/fleet.search#_source_excludes" + }, + { + "$ref": "#/components/parameters/fleet.search#_source_includes" + }, + { + "$ref": "#/components/parameters/fleet.search#seq_no_primary_term" + }, + { + "$ref": "#/components/parameters/fleet.search#q" + }, + { + "$ref": "#/components/parameters/fleet.search#size" + }, + { + "$ref": "#/components/parameters/fleet.search#from" + }, + { + "$ref": "#/components/parameters/fleet.search#sort" + }, + { + "$ref": "#/components/parameters/fleet.search#wait_for_checkpoints" + }, + { + "$ref": "#/components/parameters/fleet.search#allow_partial_search_results" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/fleet.search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/fleet.search#200" + } + } + } + }, + "/{index}/_graph/explore": { + "get": { + "description": "Explore extracted and summarized information about the documents and terms in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html" + }, + "operationId": "graph.explore#0", + "parameters": [ + { + "$ref": "#/components/parameters/graph.explore#index" + }, + { + "$ref": "#/components/parameters/graph.explore#routing" + }, + { + "$ref": "#/components/parameters/graph.explore#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/graph.explore" + }, + "responses": { + "200": { + "$ref": "#/components/responses/graph.explore#200" + } + } + }, + "post": { + "description": "Explore extracted and summarized information about the documents and terms in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html" + }, + "operationId": "graph.explore#1", + "parameters": [ + { + "$ref": "#/components/parameters/graph.explore#index" + }, + { + "$ref": "#/components/parameters/graph.explore#routing" + }, + { + "$ref": "#/components/parameters/graph.explore#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/graph.explore" + }, + "responses": { + "200": { + "$ref": "#/components/responses/graph.explore#200" + } + } + } + }, + "/{index}/_doc": { + "post": { + "description": "Creates or updates a document in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" + }, + "operationId": "index#2", + "parameters": [ + { + "$ref": "#/components/parameters/index#index" + }, + { + "$ref": "#/components/parameters/index#if_primary_term" + }, + { + "$ref": "#/components/parameters/index#if_seq_no" + }, + { + "$ref": "#/components/parameters/index#op_type" + }, + { + "$ref": "#/components/parameters/index#pipeline" + }, + { + "$ref": "#/components/parameters/index#refresh" + }, + { + "$ref": "#/components/parameters/index#routing" + }, + { + "$ref": "#/components/parameters/index#timeout" + }, + { + "$ref": "#/components/parameters/index#version" + }, + { + "$ref": "#/components/parameters/index#version_type" + }, + { + "$ref": "#/components/parameters/index#wait_for_active_shards" + }, + { + "$ref": "#/components/parameters/index#require_alias" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/index" + }, + "responses": { + "200": { + "$ref": "#/components/responses/index#200" + } + } + } + }, + "/_analyze": { + "get": { + "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" + }, + "operationId": "indices.analyze#0", + "requestBody": { + "$ref": "#/components/requestBodies/indices.analyze" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.analyze#200" + } + } + }, + "post": { + "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" + }, + "operationId": "indices.analyze#1", + "requestBody": { + "$ref": "#/components/requestBodies/indices.analyze" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.analyze#200" + } + } + } + }, + "/{index}/_analyze": { + "get": { + "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" + }, + "operationId": "indices.analyze#2", + "parameters": [ + { + "$ref": "#/components/parameters/indices.analyze#index" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.analyze" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.analyze#200" + } + } + }, + "post": { + "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" + }, + "operationId": "indices.analyze#3", + "parameters": [ + { + "$ref": "#/components/parameters/indices.analyze#index" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.analyze" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.analyze#200" + } + } + } + }, + "/{index}/_close": { + "post": { + "description": "Closes an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-close.html" + }, + "operationId": "indices.close#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Comma-separated list or wildcard expression of index names used to limit the request.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "indices": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.close:CloseIndexResult" + } + }, + "shards_acknowledged": { + "type": "boolean" + } + }, + "required": [ + "acknowledged", + "indices", + "shards_acknowledged" + ] + } + } + } + } + } + } + }, + "/{index}": { + "get": { + "description": "Returns information about one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html" + }, + "operationId": "indices.get#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and index aliases used to limit the request.\nWildcard expressions (*) are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If false, the request returns an error if any wildcard expression, index alias, or _all value targets only\nmissing or closed indices. This behavior applies even if the request targets other open indices. For example,\na request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard expressions can match. If the request can target data streams, this argument\ndetermines whether wildcard expressions match hidden data streams. Supports comma-separated values,\nsuch as open,hidden.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "flat_settings", + "description": "If true, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If false, requests that target a missing index return an error.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "include_defaults", + "description": "If true, return all default settings in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "local", + "description": "If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "features", + "description": "Return only information on specified index features", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/indices.get:Features" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:IndexState" + } + } + } + } + } + } + }, + "put": { + "description": "Creates an index with optional settings and mappings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html" + }, + "operationId": "indices.create#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Name of the index you wish to create.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation. \nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aliases": { + "description": "Aliases for the index.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "settings": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "shards_acknowledged": { + "type": "boolean" + }, + "acknowledged": { + "type": "boolean" + } + }, + "required": [ + "index", + "shards_acknowledged", + "acknowledged" + ] + } + } + } + } + } + }, + "delete": { + "description": "Deletes an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html" + }, + "operationId": "indices.delete#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Comma-separated list of indices to delete.\nYou cannot specify index aliases.\nBy default, this parameter does not support wildcards (`*`) or `_all`.\nTo use wildcards or `_all`, set the `action.destructive_requires_name` cluster setting to `false`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:IndicesResponseBase" + } + } + } + } + } + }, + "head": { + "description": "Returns information about whether a particular index exists.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html" + }, + "operationId": "indices.exists#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases. Supports wildcards (`*`).", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "flat_settings", + "description": "If `true`, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "include_defaults", + "description": "If `true`, return all default settings in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": {} + } + } + } + } + }, + "/_data_stream/{name}": { + "get": { + "description": "Returns data streams.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" + }, + "operationId": "indices.get_data_stream#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_data_stream#name" + }, + { + "$ref": "#/components/parameters/indices.get_data_stream#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_data_stream#include_defaults" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_data_stream#200" + } + } + }, + "put": { + "description": "Creates a data stream", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" + }, + "operationId": "indices.create_data_stream#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Name of the data stream, which must meet the following criteria:\nLowercase only;\nCannot include `\\`, `/`, `*`, `?`, `\"`, `<`, `>`, `|`, `,`, `#`, `:`, or a space character;\nCannot start with `-`, `_`, `+`, or `.ds-`;\nCannot be `.` or `..`;\nCannot be longer than 255 bytes. Multi-byte characters count towards this limit faster.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DataStreamName" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + }, + "delete": { + "description": "Deletes a data stream.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" + }, + "operationId": "indices.delete_data_stream#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Comma-separated list of data streams to delete. Wildcard (`*`) expressions are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DataStreamNames" + }, + "style": "simple" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of data stream that wildcard patterns can match. Supports comma-separated values,such as `open,hidden`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_data_stream/_stats": { + "get": { + "description": "Provides statistics on operations happening in a data stream.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" + }, + "operationId": "indices.data_streams_stats#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.data_streams_stats#expand_wildcards" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.data_streams_stats#200" + } + } + } + }, + "/_data_stream/{name}/_stats": { + "get": { + "description": "Provides statistics on operations happening in a data stream.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" + }, + "operationId": "indices.data_streams_stats#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.data_streams_stats#name" + }, + { + "$ref": "#/components/parameters/indices.data_streams_stats#expand_wildcards" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.data_streams_stats#200" + } + } + } + }, + "/{index}/_alias/{name}": { + "get": { + "description": "Returns an alias.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.get_alias#2", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_alias#index" + }, + { + "$ref": "#/components/parameters/indices.get_alias#name" + }, + { + "$ref": "#/components/parameters/indices.get_alias#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.get_alias#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_alias#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.get_alias#local" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_alias#200" + } + } + }, + "put": { + "description": "Creates or updates an alias.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.put_alias#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_alias#index" + }, + { + "$ref": "#/components/parameters/indices.put_alias#name" + }, + { + "$ref": "#/components/parameters/indices.put_alias#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_alias#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_alias" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_alias#200" + } + } + }, + "post": { + "description": "Creates or updates an alias.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.put_alias#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_alias#index" + }, + { + "$ref": "#/components/parameters/indices.put_alias#name" + }, + { + "$ref": "#/components/parameters/indices.put_alias#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_alias#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_alias" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_alias#200" + } + } + }, + "delete": { + "description": "Deletes an alias.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.delete_alias#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.delete_alias#index" + }, + { + "$ref": "#/components/parameters/indices.delete_alias#name" + }, + { + "$ref": "#/components/parameters/indices.delete_alias#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.delete_alias#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.delete_alias#200" + } + } + }, + "head": { + "description": "Returns information about whether a particular alias exists.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.exists_alias#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.exists_alias#index" + }, + { + "$ref": "#/components/parameters/indices.exists_alias#name" + }, + { + "$ref": "#/components/parameters/indices.exists_alias#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.exists_alias#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.exists_alias#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.exists_alias#local" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.exists_alias#200" + } + } + } + }, + "/{index}/_aliases/{name}": { + "put": { + "description": "Creates or updates an alias.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.put_alias#2", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_alias#index" + }, + { + "$ref": "#/components/parameters/indices.put_alias#name" + }, + { + "$ref": "#/components/parameters/indices.put_alias#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_alias#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_alias" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_alias#200" + } + } + }, + "post": { + "description": "Creates or updates an alias.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.put_alias#3", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_alias#index" + }, + { + "$ref": "#/components/parameters/indices.put_alias#name" + }, + { + "$ref": "#/components/parameters/indices.put_alias#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_alias#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_alias" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_alias#200" + } + } + }, + "delete": { + "description": "Deletes an alias.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.delete_alias#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.delete_alias#index" + }, + { + "$ref": "#/components/parameters/indices.delete_alias#name" + }, + { + "$ref": "#/components/parameters/indices.delete_alias#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.delete_alias#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.delete_alias#200" + } + } + } + }, + "/_data_stream/{name}/_lifecycle": { + "get": { + "description": "Returns the data stream lifecycle of the selected data streams.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-get-lifecycle.html" + }, + "operationId": "indices.get_data_lifecycle#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Comma-separated list of data streams to limit the request.\nSupports wildcards (`*`).\nTo target all data streams, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DataStreamNames" + }, + "style": "simple" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "include_defaults", + "description": "If `true`, return all default settings in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data_streams": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.get_data_lifecycle:DataStreamWithLifecycle" + } + } + }, + "required": [ + "data_streams" + ] + } + } + } + } + } + }, + "put": { + "description": "Updates the data stream lifecycle of the selected data streams.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-put-lifecycle.html" + }, + "operationId": "indices.put_data_lifecycle#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Comma-separated list of data streams used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DataStreamNames" + }, + "style": "simple" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `hidden`, `open`, `closed`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data_retention": { + "$ref": "#/components/schemas/_types:Duration" + }, + "downsampling": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleDownsampling" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + }, + "delete": { + "description": "Deletes the data stream lifecycle of the selected data streams.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-delete-lifecycle.html" + }, + "operationId": "indices.delete_data_lifecycle#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "A comma-separated list of data streams of which the data stream lifecycle will be deleted; use `*` to get all data streams", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DataStreamNames" + }, + "style": "simple" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Whether wildcard expressions should get expanded to open or closed indices (default: open)", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Specify timeout for connection to master", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Explicit timestamp for the document", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_index_template/{name}": { + "get": { + "description": "Returns an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.get_index_template#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_index_template#name" + }, + { + "$ref": "#/components/parameters/indices.get_index_template#local" + }, + { + "$ref": "#/components/parameters/indices.get_index_template#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.get_index_template#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.get_index_template#include_defaults" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_index_template#200" + } + } + }, + "put": { + "description": "Creates or updates an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.put_index_template#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_index_template#name" + }, + { + "$ref": "#/components/parameters/indices.put_index_template#create" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_index_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_index_template#200" + } + } + }, + "post": { + "description": "Creates or updates an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.put_index_template#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_index_template#name" + }, + { + "$ref": "#/components/parameters/indices.put_index_template#create" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_index_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_index_template#200" + } + } + }, + "delete": { + "description": "Deletes an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.delete_index_template#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + }, + "head": { + "description": "Returns information about whether a particular index template exists.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.exists_index_template#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": {} + } + } + } + } + }, + "/_template/{name}": { + "get": { + "description": "Returns an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.get_template#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_template#name" + }, + { + "$ref": "#/components/parameters/indices.get_template#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.get_template#local" + }, + { + "$ref": "#/components/parameters/indices.get_template#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_template#200" + } + } + }, + "put": { + "description": "Creates or updates an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.put_template#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_template#name" + }, + { + "$ref": "#/components/parameters/indices.put_template#create" + }, + { + "$ref": "#/components/parameters/indices.put_template#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.put_template#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_template#timeout" + }, + { + "$ref": "#/components/parameters/indices.put_template#order" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_template#200" + } + } + }, + "post": { + "description": "Creates or updates an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.put_template#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_template#name" + }, + { + "$ref": "#/components/parameters/indices.put_template#create" + }, + { + "$ref": "#/components/parameters/indices.put_template#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.put_template#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_template#timeout" + }, + { + "$ref": "#/components/parameters/indices.put_template#order" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_template#200" + } + } + }, + "delete": { + "description": "Deletes an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.delete_template#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "The name of the legacy index template to delete.\nWildcard (`*`) expressions are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + }, + "head": { + "description": "Returns information about whether a particular index template exists.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.exists_template#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "The comma separated names of the index templates", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + { + "in": "query", + "name": "flat_settings", + "description": "Return settings in flat format (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "local", + "description": "Return local information, do not retrieve the state from master node (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Explicit operation timeout for connection to master node", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": {} + } + } + } + } + }, + "/{index}/_disk_usage": { + "post": { + "description": "Analyzes the disk usage of each field of an index or data stream", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-disk-usage.html" + }, + "operationId": "indices.disk_usage#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nIt’s recommended to execute this API with a single index (or the latest backing index of a data stream) as the API consumes resources significantly.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If false, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "flush", + "description": "If `true`, the API performs a flush before analysis.\nIf `false`, the response may not include uncommitted data.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If `true`, missing or closed indices are not included in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "run_expensive_tasks", + "description": "Analyzing field disk usage is resource-intensive.\nTo use the API, this parameter must be set to `true`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{index}/_downsample/{target_index}": { + "post": { + "description": "Downsample an index", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-downsample-data-stream.html" + }, + "operationId": "indices.downsample#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Name of the time series index to downsample.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + { + "in": "path", + "name": "target_index", + "description": "Name of the index to create.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/indices._types:DownsampleConfig" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_alias/{name}": { + "get": { + "description": "Returns an alias.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.get_alias#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_alias#name" + }, + { + "$ref": "#/components/parameters/indices.get_alias#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.get_alias#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_alias#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.get_alias#local" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_alias#200" + } + } + }, + "head": { + "description": "Returns information about whether a particular alias exists.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.exists_alias#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.exists_alias#name" + }, + { + "$ref": "#/components/parameters/indices.exists_alias#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.exists_alias#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.exists_alias#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.exists_alias#local" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.exists_alias#200" + } + } + } + }, + "/{index}/_lifecycle/explain": { + "get": { + "description": "Retrieves information about the index's current data stream lifecycle, such as any potential encountered error, time since creation etc.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/data-streams-explain-lifecycle.html" + }, + "operationId": "indices.explain_data_lifecycle#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "The name of the index to explain", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "include_defaults", + "description": "indicates if the API should return the default values the system uses for the index's lifecycle", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Specify timeout for connection to master", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "indices": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.explain_data_lifecycle:DataStreamLifecycleExplain" + } + } + }, + "required": [ + "indices" + ] + } + } + } + } + } + } + }, + "/_alias": { + "get": { + "description": "Returns an alias.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.get_alias#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_alias#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.get_alias#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_alias#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.get_alias#local" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_alias#200" + } + } + } + }, + "/{index}/_alias": { + "get": { + "description": "Returns an alias.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.get_alias#3", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_alias#index" + }, + { + "$ref": "#/components/parameters/indices.get_alias#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.get_alias#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_alias#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.get_alias#local" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_alias#200" + } + } + } + }, + "/_data_stream": { + "get": { + "description": "Returns data streams.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" + }, + "operationId": "indices.get_data_stream#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_data_stream#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_data_stream#include_defaults" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_data_stream#200" + } + } + } + }, + "/_index_template": { + "get": { + "description": "Returns an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.get_index_template#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_index_template#local" + }, + { + "$ref": "#/components/parameters/indices.get_index_template#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.get_index_template#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.get_index_template#include_defaults" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_index_template#200" + } + } + } + }, + "/_mapping": { + "get": { + "description": "Returns mappings for one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html" + }, + "operationId": "indices.get_mapping#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_mapping#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.get_mapping#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_mapping#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.get_mapping#local" + }, + { + "$ref": "#/components/parameters/indices.get_mapping#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_mapping#200" + } + } + } + }, + "/{index}/_mapping": { + "get": { + "description": "Returns mappings for one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html" + }, + "operationId": "indices.get_mapping#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_mapping#index" + }, + { + "$ref": "#/components/parameters/indices.get_mapping#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.get_mapping#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_mapping#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.get_mapping#local" + }, + { + "$ref": "#/components/parameters/indices.get_mapping#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_mapping#200" + } + } + }, + "put": { + "description": "Updates the index mappings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html" + }, + "operationId": "indices.put_mapping#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_mapping#index" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#timeout" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#write_index_only" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_mapping" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_mapping#200" + } + } + }, + "post": { + "description": "Updates the index mappings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html" + }, + "operationId": "indices.put_mapping#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_mapping#index" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#timeout" + }, + { + "$ref": "#/components/parameters/indices.put_mapping#write_index_only" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_mapping" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_mapping#200" + } + } + } + }, + "/_settings": { + "get": { + "description": "Returns settings for one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html" + }, + "operationId": "indices.get_settings#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_settings#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.get_settings#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_settings#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.get_settings#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.get_settings#include_defaults" + }, + { + "$ref": "#/components/parameters/indices.get_settings#local" + }, + { + "$ref": "#/components/parameters/indices.get_settings#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_settings#200" + } + } + }, + "put": { + "description": "Updates the index settings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html" + }, + "operationId": "indices.put_settings#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_settings#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.put_settings#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.put_settings#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.put_settings#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.put_settings#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_settings#preserve_existing" + }, + { + "$ref": "#/components/parameters/indices.put_settings#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_settings" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_settings#200" + } + } + } + }, + "/{index}/_settings": { + "get": { + "description": "Returns settings for one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html" + }, + "operationId": "indices.get_settings#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_settings#index" + }, + { + "$ref": "#/components/parameters/indices.get_settings#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.get_settings#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_settings#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.get_settings#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.get_settings#include_defaults" + }, + { + "$ref": "#/components/parameters/indices.get_settings#local" + }, + { + "$ref": "#/components/parameters/indices.get_settings#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_settings#200" + } + } + }, + "put": { + "description": "Updates the index settings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html" + }, + "operationId": "indices.put_settings#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_settings#index" + }, + { + "$ref": "#/components/parameters/indices.put_settings#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.put_settings#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.put_settings#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.put_settings#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.put_settings#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_settings#preserve_existing" + }, + { + "$ref": "#/components/parameters/indices.put_settings#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_settings" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_settings#200" + } + } + } + }, + "/{index}/_settings/{name}": { + "get": { + "description": "Returns settings for one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html" + }, + "operationId": "indices.get_settings#2", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_settings#index" + }, + { + "$ref": "#/components/parameters/indices.get_settings#name" + }, + { + "$ref": "#/components/parameters/indices.get_settings#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.get_settings#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_settings#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.get_settings#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.get_settings#include_defaults" + }, + { + "$ref": "#/components/parameters/indices.get_settings#local" + }, + { + "$ref": "#/components/parameters/indices.get_settings#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_settings#200" + } + } + } + }, + "/_settings/{name}": { + "get": { + "description": "Returns settings for one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html" + }, + "operationId": "indices.get_settings#3", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_settings#name" + }, + { + "$ref": "#/components/parameters/indices.get_settings#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.get_settings#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.get_settings#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.get_settings#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.get_settings#include_defaults" + }, + { + "$ref": "#/components/parameters/indices.get_settings#local" + }, + { + "$ref": "#/components/parameters/indices.get_settings#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_settings#200" + } + } + } + }, + "/_template": { + "get": { + "description": "Returns an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.get_template#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.get_template#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.get_template#local" + }, + { + "$ref": "#/components/parameters/indices.get_template#master_timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.get_template#200" + } + } + } + }, + "/_data_stream/_migrate/{name}": { + "post": { + "description": "Migrates an alias to a data stream", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" + }, + "operationId": "indices.migrate_to_data_stream#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Name of the index alias to convert to a data stream.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_data_stream/_modify": { + "post": { + "description": "Modifies a data stream", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" + }, + "operationId": "indices.modify_data_stream#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "actions": { + "description": "Actions to perform.", + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.modify_data_stream:Action" + } + } + }, + "required": [ + "actions" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/{index}/_open": { + "post": { + "description": "Opens an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html" + }, + "operationId": "indices.open#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nBy default, you must explicitly name the indices you using to limit the request.\nTo limit a request using `_all`, `*`, or other wildcard expressions, change the `action.destructive_requires_name` setting to false.\nYou can update this setting in the `elasticsearch.yml` file or using the cluster update settings API.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "shards_acknowledged": { + "type": "boolean" + } + }, + "required": [ + "acknowledged", + "shards_acknowledged" + ] + } + } + } + } + } + } + }, + "/_recovery": { + "get": { + "description": "Returns information about ongoing index shard recoveries.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html" + }, + "operationId": "indices.recovery#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.recovery#active_only" + }, + { + "$ref": "#/components/parameters/indices.recovery#detailed" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.recovery#200" + } + } + } + }, + "/{index}/_recovery": { + "get": { + "description": "Returns information about ongoing index shard recoveries.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html" + }, + "operationId": "indices.recovery#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.recovery#index" + }, + { + "$ref": "#/components/parameters/indices.recovery#active_only" + }, + { + "$ref": "#/components/parameters/indices.recovery#detailed" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.recovery#200" + } + } + } + }, + "/_resolve/index/{name}": { + "get": { + "description": "Returns information about any matching indices, aliases, and data streams", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-index-api.html" + }, + "operationId": "indices.resolve_index#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Comma-separated name(s) or index pattern(s) of the indices, aliases, and data streams to resolve.\nResources on remote clusters can be specified using the ``:`` syntax.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "indices": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.resolve_index:ResolveIndexItem" + } + }, + "aliases": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.resolve_index:ResolveIndexAliasItem" + } + }, + "data_streams": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.resolve_index:ResolveIndexDataStreamsItem" + } + } + }, + "required": [ + "indices", + "aliases", + "data_streams" + ] + } + } + } + } + } + } + }, + "/{alias}/_rollover": { + "post": { + "description": "Updates an alias to point to a new index when the existing index\nis considered to be too large or too old.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-rollover-index.html" + }, + "operationId": "indices.rollover#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.rollover#alias" + }, + { + "$ref": "#/components/parameters/indices.rollover#dry_run" + }, + { + "$ref": "#/components/parameters/indices.rollover#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.rollover#timeout" + }, + { + "$ref": "#/components/parameters/indices.rollover#wait_for_active_shards" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.rollover" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.rollover#200" + } + } + } + }, + "/{alias}/_rollover/{new_index}": { + "post": { + "description": "Updates an alias to point to a new index when the existing index\nis considered to be too large or too old.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-rollover-index.html" + }, + "operationId": "indices.rollover#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.rollover#alias" + }, + { + "$ref": "#/components/parameters/indices.rollover#new_index" + }, + { + "$ref": "#/components/parameters/indices.rollover#dry_run" + }, + { + "$ref": "#/components/parameters/indices.rollover#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.rollover#timeout" + }, + { + "$ref": "#/components/parameters/indices.rollover#wait_for_active_shards" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.rollover" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.rollover#200" + } + } + } + }, + "/_index_template/_simulate_index/{name}": { + "post": { + "description": "Simulate matching the given index name against the index templates in the system", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.simulate_index_template#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Index or template name to simulate", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "create", + "description": "If `true`, the template passed in the body is only used if no existing\ntemplates match the same index patterns. If `false`, the simulation uses\nthe template with the highest priority. Note that the template is not\npermanently added or updated in either case; it is only used for the\nsimulation.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received\nbefore the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "include_defaults", + "description": "If true, returns all relevant default configurations for the index template.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_auto_create": { + "description": "This setting overrides the value of the `action.auto_create_index` cluster setting.\nIf set to `true` in a template, then indices can be automatically created using that template even if auto-creation of indices is disabled via `actions.auto_create_index`.\nIf set to `false`, then indices or data streams matching the template must always be explicitly created, and may never be automatically created.", + "type": "boolean" + }, + "index_patterns": { + "$ref": "#/components/schemas/_types:Indices" + }, + "composed_of": { + "description": "An ordered list of component template names.\nComponent templates are merged in the order specified, meaning that the last component template specified has the highest precedence.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "template": { + "$ref": "#/components/schemas/indices.put_index_template:IndexTemplateMapping" + }, + "data_stream": { + "$ref": "#/components/schemas/indices._types:DataStreamVisibility" + }, + "priority": { + "description": "Priority to determine index template precedence when a new data stream or index is created.\nThe index template with the highest priority is chosen.\nIf no priority is specified the template is treated as though it is of priority 0 (lowest priority).\nThis number is not automatically generated by Elasticsearch.", + "type": "number" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_index_template/_simulate": { + "post": { + "description": "Simulate resolving the given template name or body", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.simulate_template#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.simulate_template#create" + }, + { + "$ref": "#/components/parameters/indices.simulate_template#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.simulate_template#include_defaults" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.simulate_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.simulate_template#200" + } + } + } + }, + "/_index_template/_simulate/{name}": { + "post": { + "description": "Simulate resolving the given template name or body", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices.simulate_template#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.simulate_template#name" + }, + { + "$ref": "#/components/parameters/indices.simulate_template#create" + }, + { + "$ref": "#/components/parameters/indices.simulate_template#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.simulate_template#include_defaults" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.simulate_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.simulate_template#200" + } + } + } + }, + "/_stats": { + "get": { + "description": "Provides statistics on operations happening in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html" + }, + "operationId": "indices.stats#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.stats#completion_fields" + }, + { + "$ref": "#/components/parameters/indices.stats#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.stats#fielddata_fields" + }, + { + "$ref": "#/components/parameters/indices.stats#fields" + }, + { + "$ref": "#/components/parameters/indices.stats#forbid_closed_indices" + }, + { + "$ref": "#/components/parameters/indices.stats#groups" + }, + { + "$ref": "#/components/parameters/indices.stats#include_segment_file_sizes" + }, + { + "$ref": "#/components/parameters/indices.stats#include_unloaded_segments" + }, + { + "$ref": "#/components/parameters/indices.stats#level" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.stats#200" + } + } + } + }, + "/_stats/{metric}": { + "get": { + "description": "Provides statistics on operations happening in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html" + }, + "operationId": "indices.stats#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.stats#metric" + }, + { + "$ref": "#/components/parameters/indices.stats#completion_fields" + }, + { + "$ref": "#/components/parameters/indices.stats#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.stats#fielddata_fields" + }, + { + "$ref": "#/components/parameters/indices.stats#fields" + }, + { + "$ref": "#/components/parameters/indices.stats#forbid_closed_indices" + }, + { + "$ref": "#/components/parameters/indices.stats#groups" + }, + { + "$ref": "#/components/parameters/indices.stats#include_segment_file_sizes" + }, + { + "$ref": "#/components/parameters/indices.stats#include_unloaded_segments" + }, + { + "$ref": "#/components/parameters/indices.stats#level" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.stats#200" + } + } + } + }, + "/{index}/_stats": { + "get": { + "description": "Provides statistics on operations happening in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html" + }, + "operationId": "indices.stats#2", + "parameters": [ + { + "$ref": "#/components/parameters/indices.stats#index" + }, + { + "$ref": "#/components/parameters/indices.stats#completion_fields" + }, + { + "$ref": "#/components/parameters/indices.stats#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.stats#fielddata_fields" + }, + { + "$ref": "#/components/parameters/indices.stats#fields" + }, + { + "$ref": "#/components/parameters/indices.stats#forbid_closed_indices" + }, + { + "$ref": "#/components/parameters/indices.stats#groups" + }, + { + "$ref": "#/components/parameters/indices.stats#include_segment_file_sizes" + }, + { + "$ref": "#/components/parameters/indices.stats#include_unloaded_segments" + }, + { + "$ref": "#/components/parameters/indices.stats#level" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.stats#200" + } + } + } + }, + "/{index}/_stats/{metric}": { + "get": { + "description": "Provides statistics on operations happening in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html" + }, + "operationId": "indices.stats#3", + "parameters": [ + { + "$ref": "#/components/parameters/indices.stats#index" + }, + { + "$ref": "#/components/parameters/indices.stats#metric" + }, + { + "$ref": "#/components/parameters/indices.stats#completion_fields" + }, + { + "$ref": "#/components/parameters/indices.stats#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.stats#fielddata_fields" + }, + { + "$ref": "#/components/parameters/indices.stats#fields" + }, + { + "$ref": "#/components/parameters/indices.stats#forbid_closed_indices" + }, + { + "$ref": "#/components/parameters/indices.stats#groups" + }, + { + "$ref": "#/components/parameters/indices.stats#include_segment_file_sizes" + }, + { + "$ref": "#/components/parameters/indices.stats#include_unloaded_segments" + }, + { + "$ref": "#/components/parameters/indices.stats#level" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.stats#200" + } + } + } + }, + "/_aliases": { + "post": { + "description": "Updates index aliases.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" + }, + "operationId": "indices.update_aliases#0", + "parameters": [ + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "actions": { + "description": "Actions to perform.", + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.update_aliases:Action" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_validate/query": { + "get": { + "description": "Allows a user to validate a potentially expensive query without executing it.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html" + }, + "operationId": "indices.validate_query#0", + "parameters": [ + { + "$ref": "#/components/parameters/indices.validate_query#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.validate_query#all_shards" + }, + { + "$ref": "#/components/parameters/indices.validate_query#analyzer" + }, + { + "$ref": "#/components/parameters/indices.validate_query#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/indices.validate_query#default_operator" + }, + { + "$ref": "#/components/parameters/indices.validate_query#df" + }, + { + "$ref": "#/components/parameters/indices.validate_query#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.validate_query#explain" + }, + { + "$ref": "#/components/parameters/indices.validate_query#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.validate_query#lenient" + }, + { + "$ref": "#/components/parameters/indices.validate_query#rewrite" + }, + { + "$ref": "#/components/parameters/indices.validate_query#q" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.validate_query" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.validate_query#200" + } + } + }, + "post": { + "description": "Allows a user to validate a potentially expensive query without executing it.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html" + }, + "operationId": "indices.validate_query#1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.validate_query#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.validate_query#all_shards" + }, + { + "$ref": "#/components/parameters/indices.validate_query#analyzer" + }, + { + "$ref": "#/components/parameters/indices.validate_query#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/indices.validate_query#default_operator" + }, + { + "$ref": "#/components/parameters/indices.validate_query#df" + }, + { + "$ref": "#/components/parameters/indices.validate_query#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.validate_query#explain" + }, + { + "$ref": "#/components/parameters/indices.validate_query#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.validate_query#lenient" + }, + { + "$ref": "#/components/parameters/indices.validate_query#rewrite" + }, + { + "$ref": "#/components/parameters/indices.validate_query#q" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.validate_query" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.validate_query#200" + } + } + } + }, + "/{index}/_validate/query": { + "get": { + "description": "Allows a user to validate a potentially expensive query without executing it.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html" + }, + "operationId": "indices.validate_query#2", + "parameters": [ + { + "$ref": "#/components/parameters/indices.validate_query#index" + }, + { + "$ref": "#/components/parameters/indices.validate_query#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.validate_query#all_shards" + }, + { + "$ref": "#/components/parameters/indices.validate_query#analyzer" + }, + { + "$ref": "#/components/parameters/indices.validate_query#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/indices.validate_query#default_operator" + }, + { + "$ref": "#/components/parameters/indices.validate_query#df" + }, + { + "$ref": "#/components/parameters/indices.validate_query#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.validate_query#explain" + }, + { + "$ref": "#/components/parameters/indices.validate_query#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.validate_query#lenient" + }, + { + "$ref": "#/components/parameters/indices.validate_query#rewrite" + }, + { + "$ref": "#/components/parameters/indices.validate_query#q" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.validate_query" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.validate_query#200" + } + } + }, + "post": { + "description": "Allows a user to validate a potentially expensive query without executing it.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html" + }, + "operationId": "indices.validate_query#3", + "parameters": [ + { + "$ref": "#/components/parameters/indices.validate_query#index" + }, + { + "$ref": "#/components/parameters/indices.validate_query#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.validate_query#all_shards" + }, + { + "$ref": "#/components/parameters/indices.validate_query#analyzer" + }, + { + "$ref": "#/components/parameters/indices.validate_query#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/indices.validate_query#default_operator" + }, + { + "$ref": "#/components/parameters/indices.validate_query#df" + }, + { + "$ref": "#/components/parameters/indices.validate_query#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.validate_query#explain" + }, + { + "$ref": "#/components/parameters/indices.validate_query#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/indices.validate_query#lenient" + }, + { + "$ref": "#/components/parameters/indices.validate_query#rewrite" + }, + { + "$ref": "#/components/parameters/indices.validate_query#q" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.validate_query" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.validate_query#200" + } + } + } + }, + "/": { + "get": { + "description": "Returns basic information about the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html" + }, + "operationId": "info#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "cluster_uuid": { + "$ref": "#/components/schemas/_types:Uuid" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "tagline": { + "type": "string" + }, + "version": { + "$ref": "#/components/schemas/_types:ElasticsearchVersionInfo" + } + }, + "required": [ + "cluster_name", + "cluster_uuid", + "name", + "tagline", + "version" + ] + } + } + } + } + } + }, + "head": { + "description": "Returns whether the cluster is running.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html" + }, + "operationId": "ping#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": {} + } + } + } + } + }, + "/_ingest/pipeline/{id}": { + "get": { + "description": "Returns a pipeline.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-pipeline-api.html" + }, + "operationId": "ingest.get_pipeline#1", + "parameters": [ + { + "$ref": "#/components/parameters/ingest.get_pipeline#id" + }, + { + "$ref": "#/components/parameters/ingest.get_pipeline#master_timeout" + }, + { + "$ref": "#/components/parameters/ingest.get_pipeline#summary" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ingest.get_pipeline#200" + } + } + }, + "put": { + "description": "Creates or updates a pipeline.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ingest.html" + }, + "operationId": "ingest.put_pipeline#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "ID of the ingest pipeline to create or update.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "if_version", + "description": "Required version for optimistic concurrency control for pipeline updates", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "description": { + "description": "Description of the ingest pipeline.", + "type": "string" + }, + "on_failure": { + "description": "Processors to run immediately after a processor failure. Each processor supports a processor-level `on_failure` value. If a processor without an `on_failure` value fails, Elasticsearch uses this pipeline-level parameter as a fallback. The processors in this parameter run sequentially in the order specified. Elasticsearch will not attempt to run the pipeline's remaining processors.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest._types:ProcessorContainer" + } + }, + "processors": { + "description": "Processors used to perform transformations on documents before indexing. Processors run sequentially in the order specified.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest._types:ProcessorContainer" + } + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + }, + "delete": { + "description": "Deletes a pipeline.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html" + }, + "operationId": "ingest.delete_pipeline#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Pipeline ID or wildcard expression of pipeline IDs used to limit the request.\nTo delete all ingest pipelines in a cluster, use a value of `*`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ingest/geoip/stats": { + "get": { + "description": "Returns statistical information about geoip databases", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/geoip-processor.html" + }, + "operationId": "ingest.geo_ip_stats#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "stats": { + "$ref": "#/components/schemas/ingest.geo_ip_stats:GeoIpDownloadStatistics" + }, + "nodes": { + "description": "Downloaded GeoIP2 databases for each node.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ingest.geo_ip_stats:GeoIpNodeDatabases" + } + } + }, + "required": [ + "stats", + "nodes" + ] + } + } + } + } + } + } + }, + "/_ingest/pipeline": { + "get": { + "description": "Returns a pipeline.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-pipeline-api.html" + }, + "operationId": "ingest.get_pipeline#0", + "parameters": [ + { + "$ref": "#/components/parameters/ingest.get_pipeline#master_timeout" + }, + { + "$ref": "#/components/parameters/ingest.get_pipeline#summary" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ingest.get_pipeline#200" + } + } + } + }, + "/_ingest/processor/grok": { + "get": { + "description": "Returns a list of the built-in patterns.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/grok-processor.html" + }, + "operationId": "ingest.processor_grok#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "patterns": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "patterns" + ] + } + } + } + } + } + } + }, + "/_ingest/pipeline/_simulate": { + "get": { + "description": "Allows to simulate a pipeline with example documents.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" + }, + "operationId": "ingest.simulate#0", + "parameters": [ + { + "$ref": "#/components/parameters/ingest.simulate#verbose" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ingest.simulate" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ingest.simulate#200" + } + } + }, + "post": { + "description": "Allows to simulate a pipeline with example documents.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" + }, + "operationId": "ingest.simulate#1", + "parameters": [ + { + "$ref": "#/components/parameters/ingest.simulate#verbose" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ingest.simulate" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ingest.simulate#200" + } + } + } + }, + "/_ingest/pipeline/{id}/_simulate": { + "get": { + "description": "Allows to simulate a pipeline with example documents.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" + }, + "operationId": "ingest.simulate#2", + "parameters": [ + { + "$ref": "#/components/parameters/ingest.simulate#id" + }, + { + "$ref": "#/components/parameters/ingest.simulate#verbose" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ingest.simulate" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ingest.simulate#200" + } + } + }, + "post": { + "description": "Allows to simulate a pipeline with example documents.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" + }, + "operationId": "ingest.simulate#3", + "parameters": [ + { + "$ref": "#/components/parameters/ingest.simulate#id" + }, + { + "$ref": "#/components/parameters/ingest.simulate#verbose" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ingest.simulate" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ingest.simulate#200" + } + } + } + }, + "/_logstash/pipeline/{id}": { + "get": { + "description": "Retrieves Logstash Pipelines used by Central Management", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-get-pipeline.html" + }, + "operationId": "logstash.get_pipeline#1", + "parameters": [ + { + "$ref": "#/components/parameters/logstash.get_pipeline#id" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/logstash.get_pipeline#200" + } + } + }, + "put": { + "description": "Adds and updates Logstash Pipelines used for Central Management", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-put-pipeline.html" + }, + "operationId": "logstash.put_pipeline#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the pipeline.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/logstash._types:Pipeline" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": {} + } + } + } + }, + "delete": { + "description": "Deletes Logstash Pipelines used by Central Management", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-delete-pipeline.html" + }, + "operationId": "logstash.delete_pipeline#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the pipeline.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": {} + } + } + } + } + }, + "/_logstash/pipeline": { + "get": { + "description": "Retrieves Logstash Pipelines used by Central Management", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-get-pipeline.html" + }, + "operationId": "logstash.get_pipeline#0", + "responses": { + "200": { + "$ref": "#/components/responses/logstash.get_pipeline#200" + } + } + } + }, + "/_mget": { + "get": { + "description": "Allows to get multiple documents in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html" + }, + "operationId": "mget#0", + "parameters": [ + { + "$ref": "#/components/parameters/mget#preference" + }, + { + "$ref": "#/components/parameters/mget#realtime" + }, + { + "$ref": "#/components/parameters/mget#refresh" + }, + { + "$ref": "#/components/parameters/mget#routing" + }, + { + "$ref": "#/components/parameters/mget#_source" + }, + { + "$ref": "#/components/parameters/mget#_source_excludes" + }, + { + "$ref": "#/components/parameters/mget#_source_includes" + }, + { + "$ref": "#/components/parameters/mget#stored_fields" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/mget" + }, + "responses": { + "200": { + "$ref": "#/components/responses/mget#200" + } + } + }, + "post": { + "description": "Allows to get multiple documents in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html" + }, + "operationId": "mget#1", + "parameters": [ + { + "$ref": "#/components/parameters/mget#preference" + }, + { + "$ref": "#/components/parameters/mget#realtime" + }, + { + "$ref": "#/components/parameters/mget#refresh" + }, + { + "$ref": "#/components/parameters/mget#routing" + }, + { + "$ref": "#/components/parameters/mget#_source" + }, + { + "$ref": "#/components/parameters/mget#_source_excludes" + }, + { + "$ref": "#/components/parameters/mget#_source_includes" + }, + { + "$ref": "#/components/parameters/mget#stored_fields" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/mget" + }, + "responses": { + "200": { + "$ref": "#/components/responses/mget#200" + } + } + } + }, + "/{index}/_mget": { + "get": { + "description": "Allows to get multiple documents in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html" + }, + "operationId": "mget#2", + "parameters": [ + { + "$ref": "#/components/parameters/mget#index" + }, + { + "$ref": "#/components/parameters/mget#preference" + }, + { + "$ref": "#/components/parameters/mget#realtime" + }, + { + "$ref": "#/components/parameters/mget#refresh" + }, + { + "$ref": "#/components/parameters/mget#routing" + }, + { + "$ref": "#/components/parameters/mget#_source" + }, + { + "$ref": "#/components/parameters/mget#_source_excludes" + }, + { + "$ref": "#/components/parameters/mget#_source_includes" + }, + { + "$ref": "#/components/parameters/mget#stored_fields" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/mget" + }, + "responses": { + "200": { + "$ref": "#/components/responses/mget#200" + } + } + }, + "post": { + "description": "Allows to get multiple documents in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html" + }, + "operationId": "mget#3", + "parameters": [ + { + "$ref": "#/components/parameters/mget#index" + }, + { + "$ref": "#/components/parameters/mget#preference" + }, + { + "$ref": "#/components/parameters/mget#realtime" + }, + { + "$ref": "#/components/parameters/mget#refresh" + }, + { + "$ref": "#/components/parameters/mget#routing" + }, + { + "$ref": "#/components/parameters/mget#_source" + }, + { + "$ref": "#/components/parameters/mget#_source_excludes" + }, + { + "$ref": "#/components/parameters/mget#_source_includes" + }, + { + "$ref": "#/components/parameters/mget#stored_fields" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/mget" + }, + "responses": { + "200": { + "$ref": "#/components/responses/mget#200" + } + } + } + }, + "/_ml/trained_models/{model_id}/deployment/cache/_clear": { + "post": { + "description": "Clear the cached results from a trained model deployment", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/clear-trained-model-deployment-cache.html" + }, + "operationId": "ml.clear_trained_model_deployment_cache#0", + "parameters": [ + { + "in": "path", + "name": "model_id", + "description": "The unique identifier of the trained model.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "cleared": { + "type": "boolean" + } + }, + "required": [ + "cleared" + ] + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/_close": { + "post": { + "description": "Closes one or more anomaly detection jobs. A job can be opened and closed multiple times throughout its lifecycle.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-close-job.html" + }, + "operationId": "ml.close_job#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job. It can be a job identifier, a group name, or a wildcard expression. You can close multiple anomaly detection jobs in a single API request by using a group name, a comma-separated list of jobs, or a wildcard expression. You can close all jobs by using `_all` or by specifying `*` as the job identifier.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request: contains wildcard expressions and there are no jobs that match; contains the `_all` string or no identifiers and there are no matches; or contains wildcard expressions and there are only partial matches. By default, it returns an empty jobs array when there are no matches and the subset of results when there are partial matches.\nIf `false`, the request returns a 404 status code when there are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "force", + "description": "Use to close a failed job, or to forcefully close a job which has not responded to its initial close request; the request returns without performing the associated actions such as flushing buffers and persisting the model snapshots.\nIf you want the job to be in a consistent state after the close job API returns, do not set to `true`. This parameter should be used only in situations where the job has already failed or where you are not interested in results the job might have recently produced or might produce in the future.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Controls the time to wait until a job has closed.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_no_match": { + "description": "Refer to the description for the `allow_no_match` query parameter.", + "type": "boolean" + }, + "force": { + "description": "Refer to the descriptiion for the `force` query parameter.", + "type": "boolean" + }, + "timeout": { + "$ref": "#/components/schemas/_types:Duration" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "closed": { + "type": "boolean" + } + }, + "required": [ + "closed" + ] + } + } + } + } + } + } + }, + "/_ml/calendars/{calendar_id}": { + "get": { + "description": "Retrieves configuration information for calendars.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" + }, + "operationId": "ml.get_calendars#2", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_calendars#calendar_id" + }, + { + "$ref": "#/components/parameters/ml.get_calendars#from" + }, + { + "$ref": "#/components/parameters/ml.get_calendars#size" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_calendars" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_calendars#200" + } + } + }, + "put": { + "description": "Instantiates a calendar.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-calendar.html" + }, + "operationId": "ml.put_calendar#0", + "parameters": [ + { + "in": "path", + "name": "calendar_id", + "description": "A string that uniquely identifies a calendar.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "job_ids": { + "description": "An array of anomaly detection job identifiers.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "description": { + "description": "A description of the calendar.", + "type": "string" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "calendar_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "description": { + "description": "A description of the calendar.", + "type": "string" + }, + "job_ids": { + "$ref": "#/components/schemas/_types:Ids" + } + }, + "required": [ + "calendar_id", + "job_ids" + ] + } + } + } + } + } + }, + "post": { + "description": "Retrieves configuration information for calendars.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" + }, + "operationId": "ml.get_calendars#3", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_calendars#calendar_id" + }, + { + "$ref": "#/components/parameters/ml.get_calendars#from" + }, + { + "$ref": "#/components/parameters/ml.get_calendars#size" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_calendars" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_calendars#200" + } + } + }, + "delete": { + "description": "Deletes a calendar.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar.html" + }, + "operationId": "ml.delete_calendar#0", + "parameters": [ + { + "in": "path", + "name": "calendar_id", + "description": "A string that uniquely identifies a calendar.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/calendars/{calendar_id}/events/{event_id}": { + "delete": { + "description": "Deletes scheduled events from a calendar.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar-event.html" + }, + "operationId": "ml.delete_calendar_event#0", + "parameters": [ + { + "in": "path", + "name": "calendar_id", + "description": "A string that uniquely identifies a calendar.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "event_id", + "description": "Identifier for the scheduled event.\nYou can obtain this identifier by using the get calendar events API.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/calendars/{calendar_id}/jobs/{job_id}": { + "put": { + "description": "Adds an anomaly detection job to a calendar.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-calendar-job.html" + }, + "operationId": "ml.put_calendar_job#0", + "parameters": [ + { + "in": "path", + "name": "calendar_id", + "description": "A string that uniquely identifies a calendar.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "job_id", + "description": "An identifier for the anomaly detection jobs. It can be a job identifier, a group name, or a comma-separated list of jobs or groups.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "calendar_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "description": { + "description": "A description of the calendar.", + "type": "string" + }, + "job_ids": { + "$ref": "#/components/schemas/_types:Ids" + } + }, + "required": [ + "calendar_id", + "job_ids" + ] + } + } + } + } + } + }, + "delete": { + "description": "Deletes anomaly detection jobs from a calendar.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar-job.html" + }, + "operationId": "ml.delete_calendar_job#0", + "parameters": [ + { + "in": "path", + "name": "calendar_id", + "description": "A string that uniquely identifies a calendar.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "job_id", + "description": "An identifier for the anomaly detection jobs. It can be a job identifier, a group name, or a\ncomma-separated list of jobs or groups.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Ids" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "calendar_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "description": { + "description": "A description of the calendar.", + "type": "string" + }, + "job_ids": { + "$ref": "#/components/schemas/_types:Ids" + } + }, + "required": [ + "calendar_id", + "job_ids" + ] + } + } + } + } + } + } + }, + "/_ml/data_frame/analytics/{id}": { + "get": { + "description": "Retrieves configuration information for data frame analytics jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics.html" + }, + "operationId": "ml.get_data_frame_analytics#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics#id" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics#from" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics#size" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics#exclude_generated" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_data_frame_analytics#200" + } + } + }, + "put": { + "description": "Instantiates a data frame analytics job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-dfanalytics.html" + }, + "operationId": "ml.put_data_frame_analytics#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_lazy_start": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" + }, + "description": "Specifies whether this job can start when there is insufficient machine\nlearning node capacity for it to be immediately assigned to a node. If\nset to `false` and a machine learning node with capacity to run the job\ncannot be immediately found, the API returns an error. If set to `true`,\nthe API does not return an error; the job waits in the `starting` state\nuntil sufficient machine learning node capacity is available. This\nbehavior is also affected by the cluster-wide\n`xpack.ml.max_lazy_ml_nodes` setting.", + "type": "boolean" + }, + "analysis": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" + }, + "analyzed_fields": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" + }, + "description": { + "description": "A description of the job.", + "type": "string" + }, + "dest": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsDestination" + }, + "max_num_threads": { + "description": "The maximum number of threads to be used by the analysis. Using more\nthreads may decrease the time necessary to complete the analysis at the\ncost of using more CPU. Note that the process may use additional threads\nfor operational functionality other than the analysis itself.", + "type": "number" + }, + "model_memory_limit": { + "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try\nto create data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", + "type": "string" + }, + "source": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" + }, + "headers": { + "$ref": "#/components/schemas/_types:HttpHeaders" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "analysis", + "dest", + "source" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorization": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsAuthorization" + }, + "allow_lazy_start": { + "type": "boolean" + }, + "analysis": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" + }, + "analyzed_fields": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" + }, + "create_time": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "description": { + "type": "string" + }, + "dest": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsDestination" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max_num_threads": { + "type": "number" + }, + "model_memory_limit": { + "type": "string" + }, + "source": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "allow_lazy_start", + "analysis", + "create_time", + "dest", + "id", + "max_num_threads", + "model_memory_limit", + "source", + "version" + ] + } + } + } + } + } + }, + "delete": { + "description": "Deletes an existing data frame analytics job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-dfanalytics.html" + }, + "operationId": "ml.delete_data_frame_analytics#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the data frame analytics job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "force", + "description": "If `true`, it deletes a job that is not stopped; this method is quicker than stopping and deleting the job.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "The time to wait for the job to be deleted.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/datafeeds/{datafeed_id}": { + "get": { + "description": "Retrieves configuration information for datafeeds.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html" + }, + "operationId": "ml.get_datafeeds#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_datafeeds#datafeed_id" + }, + { + "$ref": "#/components/parameters/ml.get_datafeeds#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_datafeeds#exclude_generated" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_datafeeds#200" + } + } + }, + "put": { + "description": "Instantiates a datafeed.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html" + }, + "operationId": "ml.put_datafeed#0", + "parameters": [ + { + "in": "path", + "name": "datafeed_id", + "description": "A numerical character string that uniquely identifies the datafeed.\nThis identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores.\nIt must start and end with alphanumeric characters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If true, wildcard indices expressions that resolve into no concrete indices are ignored. This includes the `_all`\nstring or when no indices are specified.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match. If the request can target data streams, this argument determines\nwhether wildcard expressions match hidden data streams. Supports comma-separated values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_throttled", + "description": "If true, concrete, expanded, or aliased indices are ignored when frozen.", + "deprecated": true, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If true, unavailable indices (missing or closed) are ignored.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aggregations": { + "description": "If set, the datafeed performs aggregation searches.\nSupport for aggregations is limited and should be used only with low cardinality data.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "chunking_config": { + "$ref": "#/components/schemas/ml._types:ChunkingConfig" + }, + "delayed_data_check_config": { + "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "indices_options": { + "$ref": "#/components/schemas/_types:IndicesOptions" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max_empty_searches": { + "description": "If a real-time datafeed has never seen any data (including during any initial training period), it automatically\nstops and closes the associated job after this many real-time searches return no documents. In other words,\nit stops after `frequency` times `max_empty_searches` of real-time operation. If not set, a datafeed with no\nend time that sees no data remains started until it is explicitly stopped. By default, it is not set.", + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "query_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "script_fields": { + "description": "Specifies scripts that evaluate custom expressions and returns script fields to the datafeed.\nThe detector configuration objects in a job can contain functions that use these script fields.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "scroll_size": { + "description": "The size parameter that is used in Elasticsearch searches when the datafeed does not use aggregations.\nThe maximum value is the value of `index.max_result_window`, which is 10,000 by default.", + "type": "number" + }, + "headers": { + "$ref": "#/components/schemas/_types:HttpHeaders" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "authorization": { + "$ref": "#/components/schemas/ml._types:DatafeedAuthorization" + }, + "chunking_config": { + "$ref": "#/components/schemas/ml._types:ChunkingConfig" + }, + "delayed_data_check_config": { + "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" + }, + "datafeed_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "indices": { + "type": "array", + "items": { + "type": "string" + } + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "indices_options": { + "$ref": "#/components/schemas/_types:IndicesOptions" + }, + "max_empty_searches": { + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "query_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "script_fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "scroll_size": { + "type": "number" + } + }, + "required": [ + "chunking_config", + "datafeed_id", + "indices", + "job_id", + "query", + "query_delay", + "scroll_size" + ] + } + } + } + } + } + }, + "delete": { + "description": "Deletes an existing datafeed.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-datafeed.html" + }, + "operationId": "ml.delete_datafeed#0", + "parameters": [ + { + "in": "path", + "name": "datafeed_id", + "description": "A numerical character string that uniquely identifies the datafeed. This\nidentifier can contain lowercase alphanumeric characters (a-z and 0-9),\nhyphens, and underscores. It must start and end with alphanumeric\ncharacters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "force", + "description": "Use to forcefully delete a started datafeed; this method is quicker than\nstopping and deleting the datafeed.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/_delete_expired_data/{job_id}": { + "delete": { + "description": "Deletes expired and unused machine learning data.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-expired-data.html" + }, + "operationId": "ml.delete_expired_data#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.delete_expired_data#job_id" + }, + { + "$ref": "#/components/parameters/ml.delete_expired_data#requests_per_second" + }, + { + "$ref": "#/components/parameters/ml.delete_expired_data#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.delete_expired_data" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.delete_expired_data#200" + } + } + } + }, + "/_ml/_delete_expired_data": { + "delete": { + "description": "Deletes expired and unused machine learning data.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-expired-data.html" + }, + "operationId": "ml.delete_expired_data#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.delete_expired_data#requests_per_second" + }, + { + "$ref": "#/components/parameters/ml.delete_expired_data#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.delete_expired_data" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.delete_expired_data#200" + } + } + } + }, + "/_ml/filters/{filter_id}": { + "get": { + "description": "Retrieves filters.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-filter.html" + }, + "operationId": "ml.get_filters#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_filters#filter_id" + }, + { + "$ref": "#/components/parameters/ml.get_filters#from" + }, + { + "$ref": "#/components/parameters/ml.get_filters#size" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_filters#200" + } + } + }, + "put": { + "description": "Instantiates a filter.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-filter.html" + }, + "operationId": "ml.put_filter#0", + "parameters": [ + { + "in": "path", + "name": "filter_id", + "description": "A string that uniquely identifies a filter.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "description": { + "description": "A description of the filter.", + "type": "string" + }, + "items": { + "description": "The items of the filter. A wildcard `*` can be used at the beginning or the end of an item.\nUp to 10000 items are allowed in each filter.", + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "filter_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "items": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "description", + "filter_id", + "items" + ] + } + } + } + } + } + }, + "delete": { + "description": "Deletes a filter.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-filter.html" + }, + "operationId": "ml.delete_filter#0", + "parameters": [ + { + "in": "path", + "name": "filter_id", + "description": "A string that uniquely identifies a filter.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/_forecast": { + "post": { + "description": "Predicts the future behavior of a time series by using its historical behavior.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-forecast.html" + }, + "operationId": "ml.forecast#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job. The job must be open when you\ncreate a forecast; otherwise, an error occurs.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "duration", + "description": "A period of time that indicates how far into the future to forecast. For\nexample, `30d` corresponds to 30 days. The forecast starts at the last\nrecord that was processed.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "expires_in", + "description": "The period of time that forecast results are retained. After a forecast\nexpires, the results are deleted. If set to a value of 0, the forecast is\nnever automatically deleted.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "max_model_memory", + "description": "The maximum memory the forecast can use. If the forecast needs to use\nmore than the provided amount, it will spool to disk. Default is 20mb,\nmaximum is 500mb and minimum is 1mb. If set to 40% or more of the job’s\nconfigured memory limit, it is automatically reduced to below that\namount.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "duration": { + "$ref": "#/components/schemas/_types:Duration" + }, + "expires_in": { + "$ref": "#/components/schemas/_types:Duration" + }, + "max_model_memory": { + "description": "Refer to the description for the `max_model_memory` query parameter.", + "type": "string" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "forecast_id": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "required": [ + "acknowledged", + "forecast_id" + ] + } + } + } + } + } + }, + "delete": { + "description": "Deletes forecasts from a machine learning job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html" + }, + "operationId": "ml.delete_forecast#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.delete_forecast#job_id" + }, + { + "$ref": "#/components/parameters/ml.delete_forecast#allow_no_forecasts" + }, + { + "$ref": "#/components/parameters/ml.delete_forecast#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.delete_forecast#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/_forecast/{forecast_id}": { + "delete": { + "description": "Deletes forecasts from a machine learning job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html" + }, + "operationId": "ml.delete_forecast#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.delete_forecast#job_id" + }, + { + "$ref": "#/components/parameters/ml.delete_forecast#forecast_id" + }, + { + "$ref": "#/components/parameters/ml.delete_forecast#allow_no_forecasts" + }, + { + "$ref": "#/components/parameters/ml.delete_forecast#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.delete_forecast#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}": { + "get": { + "description": "Retrieves configuration information for anomaly detection jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html" + }, + "operationId": "ml.get_jobs#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_jobs#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_jobs#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_jobs#exclude_generated" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_jobs#200" + } + } + }, + "put": { + "description": "Instantiates an anomaly detection job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html" + }, + "operationId": "ml.put_job#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "The identifier for the anomaly detection job. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_lazy_open": { + "description": "Advanced configuration option. Specifies whether this job can open when there is insufficient machine learning node capacity for it to be immediately assigned to a node. By default, if a machine learning node with capacity to run the job cannot immediately be found, the open anomaly detection jobs API returns an error. However, this is also subject to the cluster-wide `xpack.ml.max_lazy_ml_nodes` setting. If this option is set to true, the open anomaly detection jobs API does not return an error and the job waits in the opening state until sufficient machine learning node capacity is available.", + "type": "boolean" + }, + "analysis_config": { + "$ref": "#/components/schemas/ml._types:AnalysisConfig" + }, + "analysis_limits": { + "$ref": "#/components/schemas/ml._types:AnalysisLimits" + }, + "background_persist_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "custom_settings": { + "$ref": "#/components/schemas/ml._types:CustomSettings" + }, + "daily_model_snapshot_retention_after_days": { + "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job. It specifies a period of time (in days) after which only the first snapshot per day is retained. This period is relative to the timestamp of the most recent snapshot for this job. Valid values range from 0 to `model_snapshot_retention_days`.", + "type": "number" + }, + "data_description": { + "$ref": "#/components/schemas/ml._types:DataDescription" + }, + "datafeed_config": { + "$ref": "#/components/schemas/ml._types:DatafeedConfig" + }, + "description": { + "description": "A description of the job.", + "type": "string" + }, + "groups": { + "description": "A list of job groups. A job can belong to no groups or many.", + "type": "array", + "items": { + "type": "string" + } + }, + "model_plot_config": { + "$ref": "#/components/schemas/ml._types:ModelPlotConfig" + }, + "model_snapshot_retention_days": { + "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job. It specifies the maximum period of time (in days) that snapshots are retained. This period is relative to the timestamp of the most recent snapshot for this job. By default, snapshots ten days older than the newest snapshot are deleted.", + "type": "number" + }, + "renormalization_window_days": { + "description": "Advanced configuration option. The period over which adjustments to the score are applied, as new data is seen. The default value is the longer of 30 days or 100 bucket spans.", + "type": "number" + }, + "results_index_name": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "results_retention_days": { + "description": "Advanced configuration option. The period of time (in days) that results are retained. Age is calculated relative to the timestamp of the latest bucket result. If this property has a non-null value, once per day at 00:30 (server time), results that are the specified number of days older than the latest bucket result are deleted from Elasticsearch. The default value is null, which means all results are retained. Annotations generated by the system also count as results for retention purposes; they are deleted after the same number of days as results. Annotations added by users are retained forever.", + "type": "number" + } + }, + "required": [ + "analysis_config", + "data_description" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_lazy_open": { + "type": "boolean" + }, + "analysis_config": { + "$ref": "#/components/schemas/ml._types:AnalysisConfigRead" + }, + "analysis_limits": { + "$ref": "#/components/schemas/ml._types:AnalysisLimits" + }, + "background_persist_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "create_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "custom_settings": { + "$ref": "#/components/schemas/ml._types:CustomSettings" + }, + "daily_model_snapshot_retention_after_days": { + "type": "number" + }, + "data_description": { + "$ref": "#/components/schemas/ml._types:DataDescription" + }, + "datafeed_config": { + "$ref": "#/components/schemas/ml._types:Datafeed" + }, + "description": { + "type": "string" + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "job_type": { + "type": "string" + }, + "job_version": { + "type": "string" + }, + "model_plot_config": { + "$ref": "#/components/schemas/ml._types:ModelPlotConfig" + }, + "model_snapshot_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "model_snapshot_retention_days": { + "type": "number" + }, + "renormalization_window_days": { + "type": "number" + }, + "results_index_name": { + "type": "string" + }, + "results_retention_days": { + "type": "number" + } + }, + "required": [ + "allow_lazy_open", + "analysis_config", + "analysis_limits", + "create_time", + "daily_model_snapshot_retention_after_days", + "data_description", + "job_id", + "job_type", + "job_version", + "model_snapshot_retention_days", + "results_index_name" + ] + } + } + } + } + } + }, + "delete": { + "description": "Deletes an existing anomaly detection job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html" + }, + "operationId": "ml.delete_job#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "force", + "description": "Use to forcefully delete an opened job; this method is quicker than\nclosing and deleting the job.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "delete_user_annotations", + "description": "Specifies whether annotations that have been added by the\nuser should be deleted along with any auto-generated annotations when the job is\nreset.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_completion", + "description": "Specifies whether the request should return immediately or wait until the\njob deletion completes.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}": { + "get": { + "description": "Retrieves information about model snapshots.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" + }, + "operationId": "ml.get_model_snapshots#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#snapshot_id" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#desc" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#end" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#from" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#size" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#sort" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_model_snapshots" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_model_snapshots#200" + } + } + }, + "post": { + "description": "Retrieves information about model snapshots.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" + }, + "operationId": "ml.get_model_snapshots#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#snapshot_id" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#desc" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#end" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#from" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#size" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#sort" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_model_snapshots" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_model_snapshots#200" + } + } + }, + "delete": { + "description": "Deletes an existing model snapshot.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html" + }, + "operationId": "ml.delete_model_snapshot#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "snapshot_id", + "description": "Identifier for the model snapshot.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/trained_models/{model_id}": { + "get": { + "description": "Retrieves configuration information for a trained inference model.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models.html" + }, + "operationId": "ml.get_trained_models#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_trained_models#model_id" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#decompress_definition" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#exclude_generated" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#from" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#include" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#size" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#tags" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_trained_models#200" + } + } + }, + "put": { + "description": "Creates an inference trained model.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-models.html" + }, + "operationId": "ml.put_trained_model#0", + "parameters": [ + { + "in": "path", + "name": "model_id", + "description": "The unique identifier of the trained model.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "defer_definition_decompression", + "description": "If set to `true` and a `compressed_definition` is provided, the request defers definition decompression and skips relevant validations.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "compressed_definition": { + "description": "The compressed (GZipped and Base64 encoded) inference definition of the\nmodel. If compressed_definition is specified, then definition cannot be\nspecified.", + "type": "string" + }, + "definition": { + "$ref": "#/components/schemas/ml.put_trained_model:Definition" + }, + "description": { + "description": "A human-readable description of the inference trained model.", + "type": "string" + }, + "inference_config": { + "$ref": "#/components/schemas/ml._types:InferenceConfigCreateContainer" + }, + "input": { + "$ref": "#/components/schemas/ml.put_trained_model:Input" + }, + "metadata": { + "description": "An object map that contains metadata about the model.", + "type": "object" + }, + "model_type": { + "$ref": "#/components/schemas/ml._types:TrainedModelType" + }, + "model_size_bytes": { + "description": "The estimated memory usage in bytes to keep the trained model in memory.\nThis property is supported only if defer_definition_decompression is true\nor the model definition is not supplied.", + "type": "number" + }, + "tags": { + "description": "An array of tags to organize the model.", + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ml._types:TrainedModelConfig" + } + } + } + } + } + }, + "delete": { + "description": "Deletes an existing trained inference model that is currently not referenced by an ingest pipeline.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-trained-models.html" + }, + "operationId": "ml.delete_trained_model#0", + "parameters": [ + { + "in": "path", + "name": "model_id", + "description": "The unique identifier of the trained model.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "force", + "description": "Forcefully deletes a trained model that is referenced by ingest pipelines or has a started deployment.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/trained_models/{model_id}/model_aliases/{model_alias}": { + "put": { + "description": "Creates a new model alias (or reassigns an existing one) to refer to the trained model", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-models-aliases.html" + }, + "operationId": "ml.put_trained_model_alias#0", + "parameters": [ + { + "in": "path", + "name": "model_id", + "description": "The identifier for the trained model that the alias refers to.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "model_alias", + "description": "The alias to create or update. This value cannot end in numbers.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "reassign", + "description": "Specifies whether the alias gets reassigned to the specified trained\nmodel if it is already assigned to a different model. If the alias is\nalready assigned and this parameter is false, the API returns an error.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + }, + "delete": { + "description": "Deletes a model alias that refers to the trained model", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-trained-models-aliases.html" + }, + "operationId": "ml.delete_trained_model_alias#0", + "parameters": [ + { + "in": "path", + "name": "model_id", + "description": "The trained model ID to which the model alias refers.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "model_alias", + "description": "The model alias to delete.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/_estimate_model_memory": { + "post": { + "description": "Estimates the model memory", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-apis.html" + }, + "operationId": "ml.estimate_model_memory#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "analysis_config": { + "$ref": "#/components/schemas/ml._types:AnalysisConfig" + }, + "max_bucket_cardinality": { + "description": "Estimates of the highest cardinality in a single bucket that is observed\nfor influencer fields over the time period that the job analyzes data.\nTo produce a good answer, values must be provided for all influencer\nfields. Providing values for fields that are not listed as `influencers`\nhas no effect on the estimation.", + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "overall_cardinality": { + "description": "Estimates of the cardinality that is observed for fields over the whole\ntime period that the job analyzes data. To produce a good answer, values\nmust be provided for fields referenced in the `by_field_name`,\n`over_field_name` and `partition_field_name` of any detectors. Providing\nvalues for other fields has no effect on the estimation. It can be\nomitted from the request if no detectors have a `by_field_name`,\n`over_field_name` or `partition_field_name`.", + "type": "object", + "additionalProperties": { + "type": "number" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "model_memory_estimate": { + "type": "string" + } + }, + "required": [ + "model_memory_estimate" + ] + } + } + } + } + } + } + }, + "/_ml/data_frame/_evaluate": { + "post": { + "description": "Evaluates the data frame analytics for an annotated index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/evaluate-dfanalytics.html" + }, + "operationId": "ml.evaluate_data_frame#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "evaluation": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationContainer" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "required": [ + "evaluation", + "index" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "classification": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummary" + }, + "outlier_detection": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeOutlierDetectionSummary" + }, + "regression": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeRegressionSummary" + } + } + } + } + } + } + } + } + }, + "/_ml/data_frame/analytics/_explain": { + "get": { + "description": "Explains a data frame analytics config.", + "externalDocs": { + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" + }, + "operationId": "ml.explain_data_frame_analytics#0", + "requestBody": { + "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" + } + } + }, + "post": { + "description": "Explains a data frame analytics config.", + "externalDocs": { + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" + }, + "operationId": "ml.explain_data_frame_analytics#1", + "requestBody": { + "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" + } + } + } + }, + "/_ml/data_frame/analytics/{id}/_explain": { + "get": { + "description": "Explains a data frame analytics config.", + "externalDocs": { + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" + }, + "operationId": "ml.explain_data_frame_analytics#2", + "parameters": [ + { + "$ref": "#/components/parameters/ml.explain_data_frame_analytics#id" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" + } + } + }, + "post": { + "description": "Explains a data frame analytics config.", + "externalDocs": { + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" + }, + "operationId": "ml.explain_data_frame_analytics#3", + "parameters": [ + { + "$ref": "#/components/parameters/ml.explain_data_frame_analytics#id" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/_flush": { + "post": { + "description": "Forces any buffered data to be processed by the job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html" + }, + "operationId": "ml.flush_job#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "advance_time", + "description": "Specifies to advance to a particular time value. Results are generated\nand the model is updated for data from the specified time interval.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + { + "in": "query", + "name": "calc_interim", + "description": "If true, calculates the interim results for the most recent bucket or all\nbuckets within the latency period.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "end", + "description": "When used in conjunction with `calc_interim` and `start`, specifies the\nrange of buckets on which to calculate interim results.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + { + "in": "query", + "name": "skip_time", + "description": "Specifies to skip to a particular time value. Results are not generated\nand the model is not updated for data from the specified time interval.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + { + "in": "query", + "name": "start", + "description": "When used in conjunction with `calc_interim`, specifies the range of\nbuckets on which to calculate interim results.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "advance_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "calc_interim": { + "description": "Refer to the description for the `calc_interim` query parameter.", + "type": "boolean" + }, + "end": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "skip_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "start": { + "$ref": "#/components/schemas/_types:DateTime" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "flushed": { + "type": "boolean" + }, + "last_finalized_bucket_end": { + "description": "Provides the timestamp (in milliseconds since the epoch) of the end of\nthe last bucket that was processed.", + "type": "number" + } + }, + "required": [ + "flushed" + ] + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}": { + "get": { + "description": "Retrieves anomaly detection job results for one or more buckets.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" + }, + "operationId": "ml.get_buckets#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_buckets#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#timestamp" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#desc" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#end" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#expand" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#from" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#size" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#sort" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_buckets" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_buckets#200" + } + } + }, + "post": { + "description": "Retrieves anomaly detection job results for one or more buckets.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" + }, + "operationId": "ml.get_buckets#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_buckets#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#timestamp" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#desc" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#end" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#expand" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#from" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#size" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#sort" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_buckets" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_buckets#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/results/buckets": { + "get": { + "description": "Retrieves anomaly detection job results for one or more buckets.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" + }, + "operationId": "ml.get_buckets#2", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_buckets#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#desc" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#end" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#expand" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#from" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#size" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#sort" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_buckets" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_buckets#200" + } + } + }, + "post": { + "description": "Retrieves anomaly detection job results for one or more buckets.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" + }, + "operationId": "ml.get_buckets#3", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_buckets#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#desc" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#end" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#expand" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#from" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#size" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#sort" + }, + { + "$ref": "#/components/parameters/ml.get_buckets#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_buckets" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_buckets#200" + } + } + } + }, + "/_ml/calendars/{calendar_id}/events": { + "get": { + "description": "Retrieves information about the scheduled events in calendars.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar-event.html" + }, + "operationId": "ml.get_calendar_events#0", + "parameters": [ + { + "in": "path", + "name": "calendar_id", + "description": "A string that uniquely identifies a calendar. You can get information for multiple calendars by using a comma-separated list of ids or a wildcard expression. You can get information for all calendars by using `_all` or `*` or by omitting the calendar identifier.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "end", + "description": "Specifies to get events with timestamps earlier than this time.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + { + "in": "query", + "name": "from", + "description": "Skips the specified number of events.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "job_id", + "description": "Specifies to get events for a specific anomaly detection job identifier or job group. It must be used with a calendar identifier of `_all` or `*`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "form" + }, + { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of events to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "start", + "description": "Specifies to get events with timestamps after this time.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "events": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:CalendarEvent" + } + } + }, + "required": [ + "count", + "events" + ] + } + } + } + } + } + }, + "post": { + "description": "Posts scheduled events in a calendar.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-calendar-event.html" + }, + "operationId": "ml.post_calendar_events#0", + "parameters": [ + { + "in": "path", + "name": "calendar_id", + "description": "A string that uniquely identifies a calendar.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "events": { + "description": "A list of one of more scheduled events. The event’s start and end times can be specified as integer milliseconds since the epoch or as a string in ISO 8601 format.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:CalendarEvent" + } + } + }, + "required": [ + "events" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "events": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:CalendarEvent" + } + } + }, + "required": [ + "events" + ] + } + } + } + } + } + } + }, + "/_ml/calendars": { + "get": { + "description": "Retrieves configuration information for calendars.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" + }, + "operationId": "ml.get_calendars#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_calendars#from" + }, + { + "$ref": "#/components/parameters/ml.get_calendars#size" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_calendars" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_calendars#200" + } + } + }, + "post": { + "description": "Retrieves configuration information for calendars.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" + }, + "operationId": "ml.get_calendars#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_calendars#from" + }, + { + "$ref": "#/components/parameters/ml.get_calendars#size" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_calendars" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_calendars#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/results/categories/{category_id}": { + "get": { + "description": "Retrieves anomaly detection job results for one or more categories.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" + }, + "operationId": "ml.get_categories#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_categories#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_categories#category_id" + }, + { + "$ref": "#/components/parameters/ml.get_categories#from" + }, + { + "$ref": "#/components/parameters/ml.get_categories#partition_field_value" + }, + { + "$ref": "#/components/parameters/ml.get_categories#size" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_categories" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_categories#200" + } + } + }, + "post": { + "description": "Retrieves anomaly detection job results for one or more categories.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" + }, + "operationId": "ml.get_categories#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_categories#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_categories#category_id" + }, + { + "$ref": "#/components/parameters/ml.get_categories#from" + }, + { + "$ref": "#/components/parameters/ml.get_categories#partition_field_value" + }, + { + "$ref": "#/components/parameters/ml.get_categories#size" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_categories" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_categories#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/results/categories": { + "get": { + "description": "Retrieves anomaly detection job results for one or more categories.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" + }, + "operationId": "ml.get_categories#2", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_categories#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_categories#from" + }, + { + "$ref": "#/components/parameters/ml.get_categories#partition_field_value" + }, + { + "$ref": "#/components/parameters/ml.get_categories#size" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_categories" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_categories#200" + } + } + }, + "post": { + "description": "Retrieves anomaly detection job results for one or more categories.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" + }, + "operationId": "ml.get_categories#3", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_categories#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_categories#from" + }, + { + "$ref": "#/components/parameters/ml.get_categories#partition_field_value" + }, + { + "$ref": "#/components/parameters/ml.get_categories#size" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_categories" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_categories#200" + } + } + } + }, + "/_ml/data_frame/analytics": { + "get": { + "description": "Retrieves configuration information for data frame analytics jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics.html" + }, + "operationId": "ml.get_data_frame_analytics#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics#from" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics#size" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics#exclude_generated" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_data_frame_analytics#200" + } + } + } + }, + "/_ml/data_frame/analytics/_stats": { + "get": { + "description": "Retrieves usage information for data frame analytics jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics-stats.html" + }, + "operationId": "ml.get_data_frame_analytics_stats#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#from" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#size" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#verbose" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_data_frame_analytics_stats#200" + } + } + } + }, + "/_ml/data_frame/analytics/{id}/_stats": { + "get": { + "description": "Retrieves usage information for data frame analytics jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics-stats.html" + }, + "operationId": "ml.get_data_frame_analytics_stats#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#id" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#from" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#size" + }, + { + "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#verbose" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_data_frame_analytics_stats#200" + } + } + } + }, + "/_ml/datafeeds/{datafeed_id}/_stats": { + "get": { + "description": "Retrieves usage information for datafeeds.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html" + }, + "operationId": "ml.get_datafeed_stats#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_datafeed_stats#datafeed_id" + }, + { + "$ref": "#/components/parameters/ml.get_datafeed_stats#allow_no_match" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_datafeed_stats#200" + } + } + } + }, + "/_ml/datafeeds/_stats": { + "get": { + "description": "Retrieves usage information for datafeeds.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html" + }, + "operationId": "ml.get_datafeed_stats#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_datafeed_stats#allow_no_match" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_datafeed_stats#200" + } + } + } + }, + "/_ml/datafeeds": { + "get": { + "description": "Retrieves configuration information for datafeeds.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html" + }, + "operationId": "ml.get_datafeeds#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_datafeeds#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_datafeeds#exclude_generated" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_datafeeds#200" + } + } + } + }, + "/_ml/filters": { + "get": { + "description": "Retrieves filters.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-filter.html" + }, + "operationId": "ml.get_filters#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_filters#from" + }, + { + "$ref": "#/components/parameters/ml.get_filters#size" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_filters#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/results/influencers": { + "get": { + "description": "Retrieves anomaly detection job results for one or more influencers.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html" + }, + "operationId": "ml.get_influencers#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_influencers#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#desc" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#end" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#influencer_score" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#from" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#size" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#sort" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_influencers" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_influencers#200" + } + } + }, + "post": { + "description": "Retrieves anomaly detection job results for one or more influencers.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html" + }, + "operationId": "ml.get_influencers#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_influencers#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#desc" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#end" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#influencer_score" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#from" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#size" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#sort" + }, + { + "$ref": "#/components/parameters/ml.get_influencers#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_influencers" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_influencers#200" + } + } + } + }, + "/_ml/anomaly_detectors/_stats": { + "get": { + "description": "Retrieves usage information for anomaly detection jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html" + }, + "operationId": "ml.get_job_stats#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_job_stats#allow_no_match" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_job_stats#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/_stats": { + "get": { + "description": "Retrieves usage information for anomaly detection jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html" + }, + "operationId": "ml.get_job_stats#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_job_stats#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_job_stats#allow_no_match" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_job_stats#200" + } + } + } + }, + "/_ml/anomaly_detectors": { + "get": { + "description": "Retrieves configuration information for anomaly detection jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html" + }, + "operationId": "ml.get_jobs#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_jobs#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_jobs#exclude_generated" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_jobs#200" + } + } + } + }, + "/_ml/memory/_stats": { + "get": { + "description": "Returns information on how ML is using memory.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ml-memory.html" + }, + "operationId": "ml.get_memory_stats#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_memory_stats#human" + }, + { + "$ref": "#/components/parameters/ml.get_memory_stats#master_timeout" + }, + { + "$ref": "#/components/parameters/ml.get_memory_stats#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_memory_stats#200" + } + } + } + }, + "/_ml/memory/{node_id}/_stats": { + "get": { + "description": "Returns information on how ML is using memory.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ml-memory.html" + }, + "operationId": "ml.get_memory_stats#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_memory_stats#node_id" + }, + { + "$ref": "#/components/parameters/ml.get_memory_stats#human" + }, + { + "$ref": "#/components/parameters/ml.get_memory_stats#master_timeout" + }, + { + "$ref": "#/components/parameters/ml.get_memory_stats#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_memory_stats#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade/_stats": { + "get": { + "description": "Gets stats for anomaly detection job model snapshot upgrades that are in progress.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-model-snapshot-upgrade-stats.html" + }, + "operationId": "ml.get_model_snapshot_upgrade_stats#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "snapshot_id", + "description": "A numerical character string that uniquely identifies the model snapshot. You can get information for multiple\nsnapshots by using a comma-separated list or a wildcard expression. You can get all snapshots by using `_all`,\nby specifying `*` as the snapshot ID, or by omitting the snapshot ID.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n - Contains wildcard expressions and there are no jobs that match.\n - Contains the _all string or no identifiers and there are no matches.\n - Contains wildcard expressions and there are only partial matches.\n\nThe default value is true, which returns an empty jobs array when there are no matches and the subset of results\nwhen there are partial matches. If this parameter is false, the request returns a 404 status code when there are\nno matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "model_snapshot_upgrades": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:ModelSnapshotUpgrade" + } + } + }, + "required": [ + "count", + "model_snapshot_upgrades" + ] + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/model_snapshots": { + "get": { + "description": "Retrieves information about model snapshots.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" + }, + "operationId": "ml.get_model_snapshots#2", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#desc" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#end" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#from" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#size" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#sort" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_model_snapshots" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_model_snapshots#200" + } + } + }, + "post": { + "description": "Retrieves information about model snapshots.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" + }, + "operationId": "ml.get_model_snapshots#3", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#desc" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#end" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#from" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#size" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#sort" + }, + { + "$ref": "#/components/parameters/ml.get_model_snapshots#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_model_snapshots" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_model_snapshots#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/results/overall_buckets": { + "get": { + "description": "Retrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html" + }, + "operationId": "ml.get_overall_buckets#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_overall_buckets#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#bucket_span" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#end" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#overall_score" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#start" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#top_n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_overall_buckets" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_overall_buckets#200" + } + } + }, + "post": { + "description": "Retrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html" + }, + "operationId": "ml.get_overall_buckets#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_overall_buckets#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#bucket_span" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#end" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#overall_score" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#start" + }, + { + "$ref": "#/components/parameters/ml.get_overall_buckets#top_n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_overall_buckets" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_overall_buckets#200" + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/results/records": { + "get": { + "description": "Retrieves anomaly records for an anomaly detection job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html" + }, + "operationId": "ml.get_records#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_records#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_records#desc" + }, + { + "$ref": "#/components/parameters/ml.get_records#end" + }, + { + "$ref": "#/components/parameters/ml.get_records#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_records#from" + }, + { + "$ref": "#/components/parameters/ml.get_records#record_score" + }, + { + "$ref": "#/components/parameters/ml.get_records#size" + }, + { + "$ref": "#/components/parameters/ml.get_records#sort" + }, + { + "$ref": "#/components/parameters/ml.get_records#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_records" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_records#200" + } + } + }, + "post": { + "description": "Retrieves anomaly records for an anomaly detection job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html" + }, + "operationId": "ml.get_records#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_records#job_id" + }, + { + "$ref": "#/components/parameters/ml.get_records#desc" + }, + { + "$ref": "#/components/parameters/ml.get_records#end" + }, + { + "$ref": "#/components/parameters/ml.get_records#exclude_interim" + }, + { + "$ref": "#/components/parameters/ml.get_records#from" + }, + { + "$ref": "#/components/parameters/ml.get_records#record_score" + }, + { + "$ref": "#/components/parameters/ml.get_records#size" + }, + { + "$ref": "#/components/parameters/ml.get_records#sort" + }, + { + "$ref": "#/components/parameters/ml.get_records#start" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.get_records" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_records#200" + } + } + } + }, + "/_ml/trained_models": { + "get": { + "description": "Retrieves configuration information for a trained inference model.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models.html" + }, + "operationId": "ml.get_trained_models#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_trained_models#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#decompress_definition" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#exclude_generated" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#from" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#include" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#size" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models#tags" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_trained_models#200" + } + } + } + }, + "/_ml/trained_models/{model_id}/_stats": { + "get": { + "description": "Retrieves usage information for trained inference models.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models-stats.html" + }, + "operationId": "ml.get_trained_models_stats#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_trained_models_stats#model_id" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models_stats#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models_stats#from" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models_stats#size" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_trained_models_stats#200" + } + } + } + }, + "/_ml/trained_models/_stats": { + "get": { + "description": "Retrieves usage information for trained inference models.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models-stats.html" + }, + "operationId": "ml.get_trained_models_stats#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.get_trained_models_stats#allow_no_match" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models_stats#from" + }, + { + "$ref": "#/components/parameters/ml.get_trained_models_stats#size" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/ml.get_trained_models_stats#200" + } + } + } + }, + "/_ml/trained_models/{model_id}/_infer": { + "post": { + "description": "Evaluate a trained model.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/infer-trained-model.html" + }, + "operationId": "ml.infer_trained_model#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.infer_trained_model#model_id" + }, + { + "$ref": "#/components/parameters/ml.infer_trained_model#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.infer_trained_model" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.infer_trained_model#200" + } + } + } + }, + "/_ml/trained_models/{model_id}/deployment/_infer": { + "post": { + "description": "Evaluate a trained model.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/infer-trained-model.html" + }, + "operationId": "ml.infer_trained_model#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.infer_trained_model#model_id" + }, + { + "$ref": "#/components/parameters/ml.infer_trained_model#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.infer_trained_model" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.infer_trained_model#200" + } + } + } + }, + "/_ml/info": { + "get": { + "description": "Returns defaults and limits used by machine learning.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ml-info.html" + }, + "operationId": "ml.info#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "defaults": { + "$ref": "#/components/schemas/ml.info:Defaults" + }, + "limits": { + "$ref": "#/components/schemas/ml.info:Limits" + }, + "upgrade_mode": { + "type": "boolean" + }, + "native_code": { + "$ref": "#/components/schemas/ml.info:NativeCode" + } + }, + "required": [ + "defaults", + "limits", + "upgrade_mode", + "native_code" + ] + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/_open": { + "post": { + "description": "Opens one or more anomaly detection jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html" + }, + "operationId": "ml.open_job#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Controls the time to wait until a job has opened.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timeout": { + "$ref": "#/components/schemas/_types:Duration" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "opened": { + "type": "boolean" + }, + "node": { + "$ref": "#/components/schemas/_types:NodeId" + } + }, + "required": [ + "opened", + "node" + ] + } + } + } + } + } + } + }, + "/_ml/data_frame/analytics/_preview": { + "get": { + "description": "Previews that will be analyzed given a data frame analytics config.", + "externalDocs": { + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" + }, + "operationId": "ml.preview_data_frame_analytics#0", + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_data_frame_analytics" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_data_frame_analytics#200" + } + } + }, + "post": { + "description": "Previews that will be analyzed given a data frame analytics config.", + "externalDocs": { + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" + }, + "operationId": "ml.preview_data_frame_analytics#1", + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_data_frame_analytics" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_data_frame_analytics#200" + } + } + } + }, + "/_ml/data_frame/analytics/{id}/_preview": { + "get": { + "description": "Previews that will be analyzed given a data frame analytics config.", + "externalDocs": { + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" + }, + "operationId": "ml.preview_data_frame_analytics#2", + "parameters": [ + { + "$ref": "#/components/parameters/ml.preview_data_frame_analytics#id" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_data_frame_analytics" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_data_frame_analytics#200" + } + } + }, + "post": { + "description": "Previews that will be analyzed given a data frame analytics config.", + "externalDocs": { + "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" + }, + "operationId": "ml.preview_data_frame_analytics#3", + "parameters": [ + { + "$ref": "#/components/parameters/ml.preview_data_frame_analytics#id" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_data_frame_analytics" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_data_frame_analytics#200" + } + } + } + }, + "/_ml/datafeeds/{datafeed_id}/_preview": { + "get": { + "description": "Previews a datafeed.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" + }, + "operationId": "ml.preview_datafeed#0", + "parameters": [ + { + "$ref": "#/components/parameters/ml.preview_datafeed#datafeed_id" + }, + { + "$ref": "#/components/parameters/ml.preview_datafeed#start" + }, + { + "$ref": "#/components/parameters/ml.preview_datafeed#end" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_datafeed" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_datafeed#200" + } + } + }, + "post": { + "description": "Previews a datafeed.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" + }, + "operationId": "ml.preview_datafeed#1", + "parameters": [ + { + "$ref": "#/components/parameters/ml.preview_datafeed#datafeed_id" + }, + { + "$ref": "#/components/parameters/ml.preview_datafeed#start" + }, + { + "$ref": "#/components/parameters/ml.preview_datafeed#end" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_datafeed" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_datafeed#200" + } + } + } + }, + "/_ml/datafeeds/_preview": { + "get": { + "description": "Previews a datafeed.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" + }, + "operationId": "ml.preview_datafeed#2", + "parameters": [ + { + "$ref": "#/components/parameters/ml.preview_datafeed#start" + }, + { + "$ref": "#/components/parameters/ml.preview_datafeed#end" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_datafeed" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_datafeed#200" + } + } + }, + "post": { + "description": "Previews a datafeed.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" + }, + "operationId": "ml.preview_datafeed#3", + "parameters": [ + { + "$ref": "#/components/parameters/ml.preview_datafeed#start" + }, + { + "$ref": "#/components/parameters/ml.preview_datafeed#end" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ml.preview_datafeed" + }, + "responses": { + "200": { + "$ref": "#/components/responses/ml.preview_datafeed#200" + } + } + } + }, + "/_ml/trained_models/{model_id}/definition/{part}": { + "put": { + "description": "Creates part of a trained model definition", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-model-definition-part.html" + }, + "operationId": "ml.put_trained_model_definition_part#0", + "parameters": [ + { + "in": "path", + "name": "model_id", + "description": "The unique identifier of the trained model.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "part", + "description": "The definition part number. When the definition is loaded for inference the definition parts are streamed in the\norder of their part number. The first part must be `0` and the final part must be `total_parts - 1`.", + "required": true, + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "definition": { + "description": "The definition part for the model. Must be a base64 encoded string.", + "type": "string" + }, + "total_definition_length": { + "description": "The total uncompressed definition length in bytes. Not base64 encoded.", + "type": "number" + }, + "total_parts": { + "description": "The total number of parts that will be uploaded. Must be greater than 0.", + "type": "number" + } + }, + "required": [ + "definition", + "total_definition_length", + "total_parts" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/trained_models/{model_id}/vocabulary": { + "put": { + "description": "Creates a trained model vocabulary", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-model-vocabulary.html" + }, + "operationId": "ml.put_trained_model_vocabulary#0", + "parameters": [ + { + "in": "path", + "name": "model_id", + "description": "The unique identifier of the trained model.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "vocabulary": { + "description": "The model vocabulary, which must not be empty.", + "type": "array", + "items": { + "type": "string" + } + }, + "merges": { + "description": "The optional model merges if required by the tokenizer.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "vocabulary" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/_reset": { + "post": { + "description": "Resets an existing anomaly detection job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-reset-job.html" + }, + "operationId": "ml.reset_job#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "The ID of the job to reset.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "wait_for_completion", + "description": "Should this request wait until the operation has completed before\nreturning.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "delete_user_annotations", + "description": "Specifies whether annotations that have been added by the\nuser should be deleted along with any auto-generated annotations when the job is\nreset.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert": { + "post": { + "description": "Reverts to a specific snapshot.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-revert-snapshot.html" + }, + "operationId": "ml.revert_model_snapshot#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "snapshot_id", + "description": "You can specify `empty` as the . Reverting to the empty\nsnapshot means the anomaly detection job starts learning a new model from\nscratch when it is started.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "delete_intervening_results", + "description": "If true, deletes the results in the time period between the latest\nresults and the time of the reverted snapshot. It also resets the model\nto accept records for this time period. If you choose not to delete\nintervening results when reverting a snapshot, the job will not accept\ninput data that is older than the current time. If you want to resend\ndata, then delete the intervening results.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "delete_intervening_results": { + "description": "Refer to the description for the `delete_intervening_results` query parameter.", + "type": "boolean" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "model": { + "$ref": "#/components/schemas/ml._types:ModelSnapshot" + } + }, + "required": [ + "model" + ] + } + } + } + } + } + } + }, + "/_ml/set_upgrade_mode": { + "post": { + "description": "Sets a cluster wide upgrade_mode setting that prepares machine learning indices for an upgrade.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-set-upgrade-mode.html" + }, + "operationId": "ml.set_upgrade_mode#0", + "parameters": [ + { + "in": "query", + "name": "enabled", + "description": "When `true`, it enables `upgrade_mode` which temporarily halts all job\nand datafeed tasks and prohibits new job and datafeed tasks from\nstarting.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "The time to wait for the request to be completed.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/data_frame/analytics/{id}/_start": { + "post": { + "description": "Starts a data frame analytics job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/start-dfanalytics.html" + }, + "operationId": "ml.start_data_frame_analytics#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Controls the amount of time to wait until the data frame analytics job\nstarts.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "node": { + "$ref": "#/components/schemas/_types:NodeId" + } + }, + "required": [ + "acknowledged", + "node" + ] + } + } + } + } + } + } + }, + "/_ml/datafeeds/{datafeed_id}/_start": { + "post": { + "description": "Starts one or more datafeeds.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html" + }, + "operationId": "ml.start_datafeed#0", + "parameters": [ + { + "in": "path", + "name": "datafeed_id", + "description": "A numerical character string that uniquely identifies the datafeed. This identifier can contain lowercase\nalphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric\ncharacters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "end", + "description": "The time that the datafeed should end, which can be specified by using one of the following formats:\n\n* ISO 8601 format with milliseconds, for example `2017-01-22T06:00:00.000Z`\n* ISO 8601 format without milliseconds, for example `2017-01-22T06:00:00+00:00`\n* Milliseconds since the epoch, for example `1485061200000`\n\nDate-time arguments using either of the ISO 8601 formats must have a time zone designator, where `Z` is accepted\nas an abbreviation for UTC time. When a URL is expected (for example, in browsers), the `+` used in time zone\ndesignators must be encoded as `%2B`.\nThe end time value is exclusive. If you do not specify an end time, the datafeed\nruns continuously.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + { + "in": "query", + "name": "start", + "description": "The time that the datafeed should begin, which can be specified by using the same formats as the `end` parameter.\nThis value is inclusive.\nIf you do not specify a start time and the datafeed is associated with a new anomaly detection job, the analysis\nstarts from the earliest time for which data is available.\nIf you restart a stopped datafeed and specify a start value that is earlier than the timestamp of the latest\nprocessed record, the datafeed continues from 1 millisecond after the timestamp of the latest processed record.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait until a datafeed starts.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "end": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "start": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "timeout": { + "$ref": "#/components/schemas/_types:Duration" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "node": { + "$ref": "#/components/schemas/_types:NodeIds" + }, + "started": { + "description": "For a successful response, this value is always `true`. On failure, an exception is returned instead.", + "type": "boolean" + } + }, + "required": [ + "node", + "started" + ] + } + } + } + } + } + } + }, + "/_ml/trained_models/{model_id}/deployment/_start": { + "post": { + "description": "Start a trained model deployment.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/start-trained-model-deployment.html" + }, + "operationId": "ml.start_trained_model_deployment#0", + "parameters": [ + { + "in": "path", + "name": "model_id", + "description": "The unique identifier of the trained model. Currently, only PyTorch models are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "cache_size", + "description": "The inference cache size (in memory outside the JVM heap) per node for the model.\nThe default value is the same size as the `model_size_bytes`. To disable the cache,\n`0b` can be provided.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "style": "form" + }, + { + "in": "query", + "name": "number_of_allocations", + "description": "The number of model allocations on each node where the model is deployed.\nAll allocations on a node share the same copy of the model in memory but use\na separate set of threads to evaluate the model.\nIncreasing this value generally increases the throughput.\nIf this setting is greater than the number of hardware threads\nit will automatically be changed to a value less than the number of hardware threads.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "priority", + "description": "The deployment priority.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/ml._types:TrainingPriority" + }, + "style": "form" + }, + { + "in": "query", + "name": "queue_capacity", + "description": "Specifies the number of inference requests that are allowed in the queue. After the number of requests exceeds\nthis value, new requests are rejected with a 429 error.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "threads_per_allocation", + "description": "Sets the number of threads used by each model allocation during inference. This generally increases\nthe inference speed. The inference process is a compute-bound process; any number\ngreater than the number of available hardware threads on the machine does not increase the\ninference speed. If this setting is greater than the number of hardware threads\nit will automatically be changed to a value less than the number of hardware threads.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the model to deploy.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for", + "description": "Specifies the allocation status to wait for before returning.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/ml._types:DeploymentAllocationState" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "assignment": { + "$ref": "#/components/schemas/ml._types:TrainedModelAssignment" + } + }, + "required": [ + "assignment" + ] + } + } + } + } + } + } + }, + "/_ml/data_frame/analytics/{id}/_stop": { + "post": { + "description": "Stops one or more data frame analytics jobs.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-dfanalytics.html" + }, + "operationId": "ml.stop_data_frame_analytics#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no data frame analytics\njobs that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value is true, which returns an empty data_frame_analytics\narray when there are no matches and the subset of results when there are\npartial matches. If this parameter is false, the request returns a 404\nstatus code when there are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "force", + "description": "If true, the data frame analytics job is stopped forcefully.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Controls the amount of time to wait until the data frame analytics job\nstops. Defaults to 20 seconds.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "stopped": { + "type": "boolean" + } + }, + "required": [ + "stopped" + ] + } + } + } + } + } + } + }, + "/_ml/datafeeds/{datafeed_id}/_stop": { + "post": { + "description": "Stops one or more datafeeds.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-stop-datafeed.html" + }, + "operationId": "ml.stop_datafeed#0", + "parameters": [ + { + "in": "path", + "name": "datafeed_id", + "description": "Identifier for the datafeed. You can stop multiple datafeeds in a single API request by using a comma-separated\nlist of datafeeds or a wildcard expression. You can close all datafeeds by using `_all` or by specifying `*` as\nthe identifier.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n* Contains wildcard expressions and there are no datafeeds that match.\n* Contains the `_all` string or no identifiers and there are no matches.\n* Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the API returns an empty datafeeds array when there are no matches and the subset of results when\nthere are partial matches. If `false`, the API returns a 404 status code when there are no matches or only\npartial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "force", + "description": "If `true`, the datafeed is stopped forcefully.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait until a datafeed stops.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_no_match": { + "description": "Refer to the description for the `allow_no_match` query parameter.", + "type": "boolean" + }, + "force": { + "description": "Refer to the description for the `force` query parameter.", + "type": "boolean" + }, + "timeout": { + "$ref": "#/components/schemas/_types:Duration" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "stopped": { + "type": "boolean" + } + }, + "required": [ + "stopped" + ] + } + } + } + } + } + } + }, + "/_ml/trained_models/{model_id}/deployment/_stop": { + "post": { + "description": "Stop a trained model deployment.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/stop-trained-model-deployment.html" + }, + "operationId": "ml.stop_trained_model_deployment#0", + "parameters": [ + { + "in": "path", + "name": "model_id", + "description": "The unique identifier of the trained model.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request: contains wildcard expressions and there are no deployments that match;\ncontains the `_all` string or no identifiers and there are no matches; or contains wildcard expressions and\nthere are only partial matches. By default, it returns an empty array when there are no matches and the subset of results when there are partial matches.\nIf `false`, the request returns a 404 status code when there are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "force", + "description": "Forcefully stops the deployment, even if it is used by ingest pipelines. You can't use these pipelines until you\nrestart the model deployment.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "stopped": { + "type": "boolean" + } + }, + "required": [ + "stopped" + ] + } + } + } + } + } + } + }, + "/_ml/data_frame/analytics/{id}/_update": { + "post": { + "description": "Updates certain properties of a data frame analytics job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/update-dfanalytics.html" + }, + "operationId": "ml.update_data_frame_analytics#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "description": { + "description": "A description of the job.", + "type": "string" + }, + "model_memory_limit": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" + }, + "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try\nto create data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", + "type": "string" + }, + "max_num_threads": { + "description": "The maximum number of threads to be used by the analysis. Using more\nthreads may decrease the time necessary to complete the analysis at the\ncost of using more CPU. Note that the process may use additional threads\nfor operational functionality other than the analysis itself.", + "type": "number" + }, + "allow_lazy_start": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" + }, + "description": "Specifies whether this job can start when there is insufficient machine\nlearning node capacity for it to be immediately assigned to a node.", + "type": "boolean" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorization": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsAuthorization" + }, + "allow_lazy_start": { + "type": "boolean" + }, + "analysis": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" + }, + "analyzed_fields": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" + }, + "create_time": { + "type": "number" + }, + "description": { + "type": "string" + }, + "dest": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsDestination" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max_num_threads": { + "type": "number" + }, + "model_memory_limit": { + "type": "string" + }, + "source": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "allow_lazy_start", + "analysis", + "create_time", + "dest", + "id", + "max_num_threads", + "model_memory_limit", + "source", + "version" + ] + } + } + } + } + } + } + }, + "/_ml/datafeeds/{datafeed_id}/_update": { + "post": { + "description": "Updates certain properties of a datafeed.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html" + }, + "operationId": "ml.update_datafeed#0", + "parameters": [ + { + "in": "path", + "name": "datafeed_id", + "description": "A numerical character string that uniquely identifies the datafeed.\nThis identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores.\nIt must start and end with alphanumeric characters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If `true`, wildcard indices expressions that resolve into no concrete indices are ignored. This includes the\n`_all` string or when no indices are specified.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match. If the request can target data streams, this argument determines\nwhether wildcard expressions match hidden data streams. Supports comma-separated values. Valid values are:\n\n* `all`: Match any data stream or index, including hidden ones.\n* `closed`: Match closed, non-hidden indices. Also matches any non-hidden data stream. Data streams cannot be closed.\n* `hidden`: Match hidden data streams and hidden indices. Must be combined with `open`, `closed`, or both.\n* `none`: Wildcard patterns are not accepted.\n* `open`: Match open, non-hidden indices. Also matches any non-hidden data stream.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_throttled", + "description": "If `true`, concrete, expanded or aliased indices are ignored when frozen.", + "deprecated": true, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If `true`, unavailable indices (missing or closed) are ignored.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aggregations": { + "description": "If set, the datafeed performs aggregation searches. Support for aggregations is limited and should be used only\nwith low cardinality data.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "chunking_config": { + "$ref": "#/components/schemas/ml._types:ChunkingConfig" + }, + "delayed_data_check_config": { + "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "indices": { + "description": "An array of index names. Wildcards are supported. If any of the indices are in remote clusters, the machine\nlearning nodes must have the `remote_cluster_client` role.", + "type": "array", + "items": { + "type": "string" + } + }, + "indices_options": { + "$ref": "#/components/schemas/_types:IndicesOptions" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max_empty_searches": { + "description": "If a real-time datafeed has never seen any data (including during any initial training period), it automatically\nstops and closes the associated job after this many real-time searches return no documents. In other words,\nit stops after `frequency` times `max_empty_searches` of real-time operation. If not set, a datafeed with no\nend time that sees no data remains started until it is explicitly stopped. By default, it is not set.", + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "query_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "script_fields": { + "description": "Specifies scripts that evaluate custom expressions and returns script fields to the datafeed.\nThe detector configuration objects in a job can contain functions that use these script fields.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "scroll_size": { + "description": "The size parameter that is used in Elasticsearch searches when the datafeed does not use aggregations.\nThe maximum value is the value of `index.max_result_window`.", + "type": "number" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorization": { + "$ref": "#/components/schemas/ml._types:DatafeedAuthorization" + }, + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "chunking_config": { + "$ref": "#/components/schemas/ml._types:ChunkingConfig" + }, + "delayed_data_check_config": { + "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" + }, + "datafeed_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "indices": { + "type": "array", + "items": { + "type": "string" + } + }, + "indices_options": { + "$ref": "#/components/schemas/_types:IndicesOptions" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max_empty_searches": { + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "query_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "script_fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "scroll_size": { + "type": "number" + } + }, + "required": [ + "chunking_config", + "datafeed_id", + "indices", + "job_id", + "query", + "query_delay", + "scroll_size" + ] + } + } + } + } + } + } + }, + "/_ml/filters/{filter_id}/_update": { + "post": { + "description": "Updates the description of a filter, adds items, or removes items.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-filter.html" + }, + "operationId": "ml.update_filter#0", + "parameters": [ + { + "in": "path", + "name": "filter_id", + "description": "A string that uniquely identifies a filter.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "add_items": { + "description": "The items to add to the filter.", + "type": "array", + "items": { + "type": "string" + } + }, + "description": { + "description": "A description for the filter.", + "type": "string" + }, + "remove_items": { + "description": "The items to remove from the filter.", + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "filter_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "items": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "description", + "filter_id", + "items" + ] + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/_update": { + "post": { + "description": "Updates certain properties of an anomaly detection job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html" + }, + "operationId": "ml.update_job#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "Identifier for the job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_lazy_open": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" + }, + "description": "Advanced configuration option. Specifies whether this job can open when\nthere is insufficient machine learning node capacity for it to be\nimmediately assigned to a node. If `false` and a machine learning node\nwith capacity to run the job cannot immediately be found, the open\nanomaly detection jobs API returns an error. However, this is also\nsubject to the cluster-wide `xpack.ml.max_lazy_ml_nodes` setting. If this\noption is set to `true`, the open anomaly detection jobs API does not\nreturn an error and the job waits in the opening state until sufficient\nmachine learning node capacity is available.", + "type": "boolean" + }, + "analysis_limits": { + "$ref": "#/components/schemas/ml._types:AnalysisMemoryLimit" + }, + "background_persist_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "custom_settings": { + "description": "Advanced configuration option. Contains custom meta data about the job.\nFor example, it can contain custom URL information as shown in Adding\ncustom URLs to machine learning results.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "categorization_filters": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": { + "description": "A description of the job.", + "type": "string" + }, + "model_plot_config": { + "$ref": "#/components/schemas/ml._types:ModelPlotConfig" + }, + "model_prune_window": { + "$ref": "#/components/schemas/_types:Duration" + }, + "daily_model_snapshot_retention_after_days": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-ad-run-jobs.html#ml-ad-model-snapshots" + }, + "description": "Advanced configuration option, which affects the automatic removal of old\nmodel snapshots for this job. It specifies a period of time (in days)\nafter which only the first snapshot per day is retained. This period is\nrelative to the timestamp of the most recent snapshot for this job. Valid\nvalues range from 0 to `model_snapshot_retention_days`. For jobs created\nbefore version 7.8.0, the default value matches\n`model_snapshot_retention_days`.", + "type": "number" + }, + "model_snapshot_retention_days": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-ad-run-jobs.html#ml-ad-model-snapshots" + }, + "description": "Advanced configuration option, which affects the automatic removal of old\nmodel snapshots for this job. It specifies the maximum period of time (in\ndays) that snapshots are retained. This period is relative to the\ntimestamp of the most recent snapshot for this job.", + "type": "number" + }, + "renormalization_window_days": { + "description": "Advanced configuration option. The period over which adjustments to the\nscore are applied, as new data is seen.", + "type": "number" + }, + "results_retention_days": { + "description": "Advanced configuration option. The period of time (in days) that results\nare retained. Age is calculated relative to the timestamp of the latest\nbucket result. If this property has a non-null value, once per day at\n00:30 (server time), results that are the specified number of days older\nthan the latest bucket result are deleted from Elasticsearch. The default\nvalue is null, which means all results are retained.", + "type": "number" + }, + "groups": { + "description": "A list of job groups. A job can belong to no groups or many.", + "type": "array", + "items": { + "type": "string" + } + }, + "detectors": { + "description": "An array of detector update objects.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Detector" + } + }, + "per_partition_categorization": { + "$ref": "#/components/schemas/ml._types:PerPartitionCategorization" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_lazy_open": { + "type": "boolean" + }, + "analysis_config": { + "$ref": "#/components/schemas/ml._types:AnalysisConfigRead" + }, + "analysis_limits": { + "$ref": "#/components/schemas/ml._types:AnalysisLimits" + }, + "background_persist_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "create_time": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "finished_time": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "custom_settings": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "daily_model_snapshot_retention_after_days": { + "type": "number" + }, + "data_description": { + "$ref": "#/components/schemas/ml._types:DataDescription" + }, + "datafeed_config": { + "$ref": "#/components/schemas/ml._types:Datafeed" + }, + "description": { + "type": "string" + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "job_type": { + "type": "string" + }, + "job_version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "model_plot_config": { + "$ref": "#/components/schemas/ml._types:ModelPlotConfig" + }, + "model_snapshot_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "model_snapshot_retention_days": { + "type": "number" + }, + "renormalization_window_days": { + "type": "number" + }, + "results_index_name": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "results_retention_days": { + "type": "number" + } + }, + "required": [ + "allow_lazy_open", + "analysis_config", + "analysis_limits", + "create_time", + "daily_model_snapshot_retention_after_days", + "data_description", + "job_id", + "job_type", + "job_version", + "model_snapshot_retention_days", + "results_index_name" + ] + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update": { + "post": { + "description": "Updates certain properties of a snapshot.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-snapshot.html" + }, + "operationId": "ml.update_model_snapshot#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "snapshot_id", + "description": "Identifier for the model snapshot.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "description": { + "description": "A description of the model snapshot.", + "type": "string" + }, + "retain": { + "description": "If `true`, this snapshot will not be deleted during automatic cleanup of\nsnapshots older than `model_snapshot_retention_days`. However, this\nsnapshot will be deleted when the job is deleted.", + "type": "boolean" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "model": { + "$ref": "#/components/schemas/ml._types:ModelSnapshot" + } + }, + "required": [ + "acknowledged", + "model" + ] + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade": { + "post": { + "description": "Upgrades a given job snapshot to the current major version.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-upgrade-job-model-snapshot.html" + }, + "operationId": "ml.upgrade_job_snapshot#0", + "parameters": [ + { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "snapshot_id", + "description": "A numerical character string that uniquely identifies the model snapshot.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "wait_for_completion", + "description": "When true, the API won’t respond until the upgrade is complete.\nOtherwise, it responds as soon as the upgrade task is assigned to a node.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Controls the time to wait for the request to complete.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "node": { + "$ref": "#/components/schemas/_types:NodeId" + }, + "completed": { + "description": "When true, this means the task is complete. When false, it is still running.", + "type": "boolean" + } + }, + "required": [ + "node", + "completed" + ] + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/_validate": { + "post": { + "description": "Validates an anomaly detection job.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-jobs.html" + }, + "operationId": "ml.validate#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "analysis_config": { + "$ref": "#/components/schemas/ml._types:AnalysisConfig" + }, + "analysis_limits": { + "$ref": "#/components/schemas/ml._types:AnalysisLimits" + }, + "data_description": { + "$ref": "#/components/schemas/ml._types:DataDescription" + }, + "description": { + "type": "string" + }, + "model_plot": { + "$ref": "#/components/schemas/ml._types:ModelPlotConfig" + }, + "model_snapshot_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "model_snapshot_retention_days": { + "type": "number" + }, + "results_index_name": { + "$ref": "#/components/schemas/_types:IndexName" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_ml/anomaly_detectors/_validate/detector": { + "post": { + "description": "Validates an anomaly detection detector.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-jobs.html" + }, + "operationId": "ml.validate_detector#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ml._types:Detector" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_msearch": { + "get": { + "description": "Allows to execute several search operations in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html" + }, + "operationId": "msearch#0", + "parameters": [ + { + "$ref": "#/components/parameters/msearch#allow_no_indices" + }, + { + "$ref": "#/components/parameters/msearch#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/msearch#expand_wildcards" + }, + { + "$ref": "#/components/parameters/msearch#ignore_throttled" + }, + { + "$ref": "#/components/parameters/msearch#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/msearch#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/msearch#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/msearch#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/msearch#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/msearch#routing" + }, + { + "$ref": "#/components/parameters/msearch#search_type" + }, + { + "$ref": "#/components/parameters/msearch#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/msearch" + }, + "responses": { + "200": { + "$ref": "#/components/responses/msearch#200" + } + } + }, + "post": { + "description": "Allows to execute several search operations in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html" + }, + "operationId": "msearch#1", + "parameters": [ + { + "$ref": "#/components/parameters/msearch#allow_no_indices" + }, + { + "$ref": "#/components/parameters/msearch#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/msearch#expand_wildcards" + }, + { + "$ref": "#/components/parameters/msearch#ignore_throttled" + }, + { + "$ref": "#/components/parameters/msearch#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/msearch#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/msearch#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/msearch#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/msearch#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/msearch#routing" + }, + { + "$ref": "#/components/parameters/msearch#search_type" + }, + { + "$ref": "#/components/parameters/msearch#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/msearch" + }, + "responses": { + "200": { + "$ref": "#/components/responses/msearch#200" + } + } + } + }, + "/{index}/_msearch": { + "get": { + "description": "Allows to execute several search operations in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html" + }, + "operationId": "msearch#2", + "parameters": [ + { + "$ref": "#/components/parameters/msearch#index" + }, + { + "$ref": "#/components/parameters/msearch#allow_no_indices" + }, + { + "$ref": "#/components/parameters/msearch#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/msearch#expand_wildcards" + }, + { + "$ref": "#/components/parameters/msearch#ignore_throttled" + }, + { + "$ref": "#/components/parameters/msearch#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/msearch#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/msearch#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/msearch#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/msearch#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/msearch#routing" + }, + { + "$ref": "#/components/parameters/msearch#search_type" + }, + { + "$ref": "#/components/parameters/msearch#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/msearch" + }, + "responses": { + "200": { + "$ref": "#/components/responses/msearch#200" + } + } + }, + "post": { + "description": "Allows to execute several search operations in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html" + }, + "operationId": "msearch#3", + "parameters": [ + { + "$ref": "#/components/parameters/msearch#index" + }, + { + "$ref": "#/components/parameters/msearch#allow_no_indices" + }, + { + "$ref": "#/components/parameters/msearch#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/msearch#expand_wildcards" + }, + { + "$ref": "#/components/parameters/msearch#ignore_throttled" + }, + { + "$ref": "#/components/parameters/msearch#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/msearch#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/msearch#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/msearch#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/msearch#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/msearch#routing" + }, + { + "$ref": "#/components/parameters/msearch#search_type" + }, + { + "$ref": "#/components/parameters/msearch#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/msearch" + }, + "responses": { + "200": { + "$ref": "#/components/responses/msearch#200" + } + } + } + }, + "/_msearch/template": { + "get": { + "description": "Allows to execute several search template operations in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html" + }, + "operationId": "msearch_template#0", + "parameters": [ + { + "$ref": "#/components/parameters/msearch_template#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/msearch_template#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/msearch_template#search_type" + }, + { + "$ref": "#/components/parameters/msearch_template#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/msearch_template#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/msearch_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/msearch_template#200" + } + } + }, + "post": { + "description": "Allows to execute several search template operations in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html" + }, + "operationId": "msearch_template#1", + "parameters": [ + { + "$ref": "#/components/parameters/msearch_template#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/msearch_template#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/msearch_template#search_type" + }, + { + "$ref": "#/components/parameters/msearch_template#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/msearch_template#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/msearch_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/msearch_template#200" + } + } + } + }, + "/{index}/_msearch/template": { + "get": { + "description": "Allows to execute several search template operations in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html" + }, + "operationId": "msearch_template#2", + "parameters": [ + { + "$ref": "#/components/parameters/msearch_template#index" + }, + { + "$ref": "#/components/parameters/msearch_template#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/msearch_template#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/msearch_template#search_type" + }, + { + "$ref": "#/components/parameters/msearch_template#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/msearch_template#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/msearch_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/msearch_template#200" + } + } + }, + "post": { + "description": "Allows to execute several search template operations in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html" + }, + "operationId": "msearch_template#3", + "parameters": [ + { + "$ref": "#/components/parameters/msearch_template#index" + }, + { + "$ref": "#/components/parameters/msearch_template#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/msearch_template#max_concurrent_searches" + }, + { + "$ref": "#/components/parameters/msearch_template#search_type" + }, + { + "$ref": "#/components/parameters/msearch_template#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/msearch_template#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/msearch_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/msearch_template#200" + } + } + } + }, + "/_mtermvectors": { + "get": { + "description": "Returns multiple termvectors in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" + }, + "operationId": "mtermvectors#0", + "parameters": [ + { + "$ref": "#/components/parameters/mtermvectors#ids" + }, + { + "$ref": "#/components/parameters/mtermvectors#fields" + }, + { + "$ref": "#/components/parameters/mtermvectors#field_statistics" + }, + { + "$ref": "#/components/parameters/mtermvectors#offsets" + }, + { + "$ref": "#/components/parameters/mtermvectors#payloads" + }, + { + "$ref": "#/components/parameters/mtermvectors#positions" + }, + { + "$ref": "#/components/parameters/mtermvectors#preference" + }, + { + "$ref": "#/components/parameters/mtermvectors#realtime" + }, + { + "$ref": "#/components/parameters/mtermvectors#routing" + }, + { + "$ref": "#/components/parameters/mtermvectors#term_statistics" + }, + { + "$ref": "#/components/parameters/mtermvectors#version" + }, + { + "$ref": "#/components/parameters/mtermvectors#version_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/mtermvectors" + }, + "responses": { + "200": { + "$ref": "#/components/responses/mtermvectors#200" + } + } + }, + "post": { + "description": "Returns multiple termvectors in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" + }, + "operationId": "mtermvectors#1", + "parameters": [ + { + "$ref": "#/components/parameters/mtermvectors#ids" + }, + { + "$ref": "#/components/parameters/mtermvectors#fields" + }, + { + "$ref": "#/components/parameters/mtermvectors#field_statistics" + }, + { + "$ref": "#/components/parameters/mtermvectors#offsets" + }, + { + "$ref": "#/components/parameters/mtermvectors#payloads" + }, + { + "$ref": "#/components/parameters/mtermvectors#positions" + }, + { + "$ref": "#/components/parameters/mtermvectors#preference" + }, + { + "$ref": "#/components/parameters/mtermvectors#realtime" + }, + { + "$ref": "#/components/parameters/mtermvectors#routing" + }, + { + "$ref": "#/components/parameters/mtermvectors#term_statistics" + }, + { + "$ref": "#/components/parameters/mtermvectors#version" + }, + { + "$ref": "#/components/parameters/mtermvectors#version_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/mtermvectors" + }, + "responses": { + "200": { + "$ref": "#/components/responses/mtermvectors#200" + } + } + } + }, + "/{index}/_mtermvectors": { + "get": { + "description": "Returns multiple termvectors in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" + }, + "operationId": "mtermvectors#2", + "parameters": [ + { + "$ref": "#/components/parameters/mtermvectors#index" + }, + { + "$ref": "#/components/parameters/mtermvectors#ids" + }, + { + "$ref": "#/components/parameters/mtermvectors#fields" + }, + { + "$ref": "#/components/parameters/mtermvectors#field_statistics" + }, + { + "$ref": "#/components/parameters/mtermvectors#offsets" + }, + { + "$ref": "#/components/parameters/mtermvectors#payloads" + }, + { + "$ref": "#/components/parameters/mtermvectors#positions" + }, + { + "$ref": "#/components/parameters/mtermvectors#preference" + }, + { + "$ref": "#/components/parameters/mtermvectors#realtime" + }, + { + "$ref": "#/components/parameters/mtermvectors#routing" + }, + { + "$ref": "#/components/parameters/mtermvectors#term_statistics" + }, + { + "$ref": "#/components/parameters/mtermvectors#version" + }, + { + "$ref": "#/components/parameters/mtermvectors#version_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/mtermvectors" + }, + "responses": { + "200": { + "$ref": "#/components/responses/mtermvectors#200" + } + } + }, + "post": { + "description": "Returns multiple termvectors in one request.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" + }, + "operationId": "mtermvectors#3", + "parameters": [ + { + "$ref": "#/components/parameters/mtermvectors#index" + }, + { + "$ref": "#/components/parameters/mtermvectors#ids" + }, + { + "$ref": "#/components/parameters/mtermvectors#fields" + }, + { + "$ref": "#/components/parameters/mtermvectors#field_statistics" + }, + { + "$ref": "#/components/parameters/mtermvectors#offsets" + }, + { + "$ref": "#/components/parameters/mtermvectors#payloads" + }, + { + "$ref": "#/components/parameters/mtermvectors#positions" + }, + { + "$ref": "#/components/parameters/mtermvectors#preference" + }, + { + "$ref": "#/components/parameters/mtermvectors#realtime" + }, + { + "$ref": "#/components/parameters/mtermvectors#routing" + }, + { + "$ref": "#/components/parameters/mtermvectors#term_statistics" + }, + { + "$ref": "#/components/parameters/mtermvectors#version" + }, + { + "$ref": "#/components/parameters/mtermvectors#version_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/mtermvectors" + }, + "responses": { + "200": { + "$ref": "#/components/responses/mtermvectors#200" + } + } + } + }, + "/_nodes/hot_threads": { + "get": { + "description": "Returns information about hot threads on each node in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-hot-threads.html" + }, + "operationId": "nodes.hot_threads#0", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.hot_threads#ignore_idle_threads" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#interval" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#snapshots" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#threads" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#timeout" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#type" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#sort" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.hot_threads#200" + } + } + } + }, + "/_nodes/{node_id}/hot_threads": { + "get": { + "description": "Returns information about hot threads on each node in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-hot-threads.html" + }, + "operationId": "nodes.hot_threads#1", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.hot_threads#node_id" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#ignore_idle_threads" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#interval" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#snapshots" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#threads" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#timeout" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#type" + }, + { + "$ref": "#/components/parameters/nodes.hot_threads#sort" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.hot_threads#200" + } + } + } + }, + "/_nodes": { + "get": { + "description": "Returns information about nodes in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html" + }, + "operationId": "nodes.info#0", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.info#flat_settings" + }, + { + "$ref": "#/components/parameters/nodes.info#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.info#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.info#200" + } + } + } + }, + "/_nodes/{node_id}": { + "get": { + "description": "Returns information about nodes in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html" + }, + "operationId": "nodes.info#1", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.info#node_id" + }, + { + "$ref": "#/components/parameters/nodes.info#flat_settings" + }, + { + "$ref": "#/components/parameters/nodes.info#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.info#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.info#200" + } + } + } + }, + "/_nodes/{metric}": { + "get": { + "description": "Returns information about nodes in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html" + }, + "operationId": "nodes.info#2", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.info#metric" + }, + { + "$ref": "#/components/parameters/nodes.info#flat_settings" + }, + { + "$ref": "#/components/parameters/nodes.info#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.info#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.info#200" + } + } + } + }, + "/_nodes/{node_id}/{metric}": { + "get": { + "description": "Returns information about nodes in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html" + }, + "operationId": "nodes.info#3", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.info#node_id" + }, + { + "$ref": "#/components/parameters/nodes.info#metric" + }, + { + "$ref": "#/components/parameters/nodes.info#flat_settings" + }, + { + "$ref": "#/components/parameters/nodes.info#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.info#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.info#200" + } + } + } + }, + "/_nodes/stats": { + "get": { + "description": "Returns statistical information about nodes in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" + }, + "operationId": "nodes.stats#0", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.stats#completion_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fielddata_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#groups" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" + }, + { + "$ref": "#/components/parameters/nodes.stats#level" + }, + { + "$ref": "#/components/parameters/nodes.stats#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#types" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.stats#200" + } + } + } + }, + "/_nodes/{node_id}/stats": { + "get": { + "description": "Returns statistical information about nodes in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" + }, + "operationId": "nodes.stats#1", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.stats#node_id" + }, + { + "$ref": "#/components/parameters/nodes.stats#completion_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fielddata_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#groups" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" + }, + { + "$ref": "#/components/parameters/nodes.stats#level" + }, + { + "$ref": "#/components/parameters/nodes.stats#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#types" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.stats#200" + } + } + } + }, + "/_nodes/stats/{metric}": { + "get": { + "description": "Returns statistical information about nodes in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" + }, + "operationId": "nodes.stats#2", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.stats#metric" + }, + { + "$ref": "#/components/parameters/nodes.stats#completion_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fielddata_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#groups" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" + }, + { + "$ref": "#/components/parameters/nodes.stats#level" + }, + { + "$ref": "#/components/parameters/nodes.stats#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#types" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.stats#200" + } + } + } + }, + "/_nodes/{node_id}/stats/{metric}": { + "get": { + "description": "Returns statistical information about nodes in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" + }, + "operationId": "nodes.stats#3", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.stats#node_id" + }, + { + "$ref": "#/components/parameters/nodes.stats#metric" + }, + { + "$ref": "#/components/parameters/nodes.stats#completion_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fielddata_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#groups" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" + }, + { + "$ref": "#/components/parameters/nodes.stats#level" + }, + { + "$ref": "#/components/parameters/nodes.stats#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#types" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.stats#200" + } + } + } + }, + "/_nodes/stats/{metric}/{index_metric}": { + "get": { + "description": "Returns statistical information about nodes in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" + }, + "operationId": "nodes.stats#4", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.stats#metric" + }, + { + "$ref": "#/components/parameters/nodes.stats#index_metric" + }, + { + "$ref": "#/components/parameters/nodes.stats#completion_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fielddata_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#groups" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" + }, + { + "$ref": "#/components/parameters/nodes.stats#level" + }, + { + "$ref": "#/components/parameters/nodes.stats#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#types" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.stats#200" + } + } + } + }, + "/_nodes/{node_id}/stats/{metric}/{index_metric}": { + "get": { + "description": "Returns statistical information about nodes in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" + }, + "operationId": "nodes.stats#5", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.stats#node_id" + }, + { + "$ref": "#/components/parameters/nodes.stats#metric" + }, + { + "$ref": "#/components/parameters/nodes.stats#index_metric" + }, + { + "$ref": "#/components/parameters/nodes.stats#completion_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fielddata_fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#fields" + }, + { + "$ref": "#/components/parameters/nodes.stats#groups" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" + }, + { + "$ref": "#/components/parameters/nodes.stats#level" + }, + { + "$ref": "#/components/parameters/nodes.stats#master_timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#timeout" + }, + { + "$ref": "#/components/parameters/nodes.stats#types" + }, + { + "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.stats#200" + } + } + } + }, + "/_nodes/usage": { + "get": { + "description": "Returns low-level information about REST actions usage on nodes.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-usage.html" + }, + "operationId": "nodes.usage#0", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.usage#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.usage#200" + } + } + } + }, + "/_nodes/{node_id}/usage": { + "get": { + "description": "Returns low-level information about REST actions usage on nodes.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-usage.html" + }, + "operationId": "nodes.usage#1", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.usage#node_id" + }, + { + "$ref": "#/components/parameters/nodes.usage#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.usage#200" + } + } + } + }, + "/_nodes/usage/{metric}": { + "get": { + "description": "Returns low-level information about REST actions usage on nodes.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-usage.html" + }, + "operationId": "nodes.usage#2", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.usage#metric" + }, + { + "$ref": "#/components/parameters/nodes.usage#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.usage#200" + } + } + } + }, + "/_nodes/{node_id}/usage/{metric}": { + "get": { + "description": "Returns low-level information about REST actions usage on nodes.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-usage.html" + }, + "operationId": "nodes.usage#3", + "parameters": [ + { + "$ref": "#/components/parameters/nodes.usage#node_id" + }, + { + "$ref": "#/components/parameters/nodes.usage#metric" + }, + { + "$ref": "#/components/parameters/nodes.usage#timeout" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/nodes.usage#200" + } + } + } + }, + "/{index}/_pit": { + "post": { + "description": "Open a point in time that can be used in subsequent searches", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/point-in-time-api.html" + }, + "operationId": "open_point_in_time#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "A comma-separated list of index names to open point in time; use `_all` or empty string to perform the operation on all indices", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "keep_alive", + "description": "Extends the time to live of the corresponding point in time.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`. Valid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "required": [ + "id" + ] + } + } + } + } + } + } + }, + "/_scripts/{id}/{context}": { + "put": { + "description": "Creates or updates a script.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" + }, + "operationId": "put_script#2", + "parameters": [ + { + "$ref": "#/components/parameters/put_script#id" + }, + { + "$ref": "#/components/parameters/put_script#context" + }, + { + "$ref": "#/components/parameters/put_script#master_timeout" + }, + { + "$ref": "#/components/parameters/put_script#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/put_script" + }, + "responses": { + "200": { + "$ref": "#/components/responses/put_script#200" + } + } + }, + "post": { + "description": "Creates or updates a script.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" + }, + "operationId": "put_script#3", + "parameters": [ + { + "$ref": "#/components/parameters/put_script#id" + }, + { + "$ref": "#/components/parameters/put_script#context" + }, + { + "$ref": "#/components/parameters/put_script#master_timeout" + }, + { + "$ref": "#/components/parameters/put_script#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/put_script" + }, + "responses": { + "200": { + "$ref": "#/components/responses/put_script#200" + } + } + } + }, + "/_query_rules/{ruleset_id}": { + "get": { + "description": "Returns the details about a query ruleset.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-query-ruleset.html" + }, + "operationId": "query_ruleset.get#0", + "parameters": [ + { + "in": "path", + "name": "ruleset_id", + "description": "The unique identifier of the query ruleset", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/query_ruleset._types:QueryRuleset" + } + } + } + } + } + }, + "put": { + "description": "Creates or updates a query ruleset.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-query-ruleset.html" + }, + "operationId": "query_ruleset.put#0", + "parameters": [ + { + "in": "path", + "name": "ruleset_id", + "description": "The unique identifier of the query ruleset to be created or updated", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/query_ruleset._types:QueryRuleset" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/components/schemas/_types:Result" + } + }, + "required": [ + "result" + ] + } + } + } + } + } + }, + "delete": { + "description": "Deletes a query ruleset.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-query-ruleset.html" + }, + "operationId": "query_ruleset.delete#0", + "parameters": [ + { + "in": "path", + "name": "ruleset_id", + "description": "The unique identifier of the query ruleset to delete", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_query_rules": { + "get": { + "description": "Lists query rulesets.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-query-rulesets.html" + }, + "operationId": "query_ruleset.list#0", + "parameters": [ + { + "in": "query", + "name": "from", + "description": "Starting offset (default: 0)", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "size", + "description": "specifies a max number of results to get", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/query_ruleset.list:QueryRulesetListItem" + } + } + }, + "required": [ + "count", + "results" + ] + } + } + } + } + } + } + }, + "/_rank_eval": { + "get": { + "description": "Allows to evaluate the quality of ranked search results over a set of typical search queries", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html" + }, + "operationId": "rank_eval#0", + "parameters": [ + { + "$ref": "#/components/parameters/rank_eval#allow_no_indices" + }, + { + "$ref": "#/components/parameters/rank_eval#expand_wildcards" + }, + { + "$ref": "#/components/parameters/rank_eval#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/rank_eval#search_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/rank_eval" + }, + "responses": { + "200": { + "$ref": "#/components/responses/rank_eval#200" + } + } + }, + "post": { + "description": "Allows to evaluate the quality of ranked search results over a set of typical search queries", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html" + }, + "operationId": "rank_eval#1", + "parameters": [ + { + "$ref": "#/components/parameters/rank_eval#allow_no_indices" + }, + { + "$ref": "#/components/parameters/rank_eval#expand_wildcards" + }, + { + "$ref": "#/components/parameters/rank_eval#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/rank_eval#search_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/rank_eval" + }, + "responses": { + "200": { + "$ref": "#/components/responses/rank_eval#200" + } + } + } + }, + "/{index}/_rank_eval": { + "get": { + "description": "Allows to evaluate the quality of ranked search results over a set of typical search queries", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html" + }, + "operationId": "rank_eval#2", + "parameters": [ + { + "$ref": "#/components/parameters/rank_eval#index" + }, + { + "$ref": "#/components/parameters/rank_eval#allow_no_indices" + }, + { + "$ref": "#/components/parameters/rank_eval#expand_wildcards" + }, + { + "$ref": "#/components/parameters/rank_eval#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/rank_eval#search_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/rank_eval" + }, + "responses": { + "200": { + "$ref": "#/components/responses/rank_eval#200" + } + } + }, + "post": { + "description": "Allows to evaluate the quality of ranked search results over a set of typical search queries", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html" + }, + "operationId": "rank_eval#3", + "parameters": [ + { + "$ref": "#/components/parameters/rank_eval#index" + }, + { + "$ref": "#/components/parameters/rank_eval#allow_no_indices" + }, + { + "$ref": "#/components/parameters/rank_eval#expand_wildcards" + }, + { + "$ref": "#/components/parameters/rank_eval#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/rank_eval#search_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/rank_eval" + }, + "responses": { + "200": { + "$ref": "#/components/responses/rank_eval#200" + } + } + } + }, + "/_render/template": { + "get": { + "description": "Allows to use the Mustache language to pre-render a search definition.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/render-search-template-api.html" + }, + "operationId": "render_search_template#0", + "requestBody": { + "$ref": "#/components/requestBodies/render_search_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/render_search_template#200" + } + } + }, + "post": { + "description": "Allows to use the Mustache language to pre-render a search definition.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/render-search-template-api.html" + }, + "operationId": "render_search_template#1", + "requestBody": { + "$ref": "#/components/requestBodies/render_search_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/render_search_template#200" + } + } + } + }, + "/_render/template/{id}": { + "get": { + "description": "Allows to use the Mustache language to pre-render a search definition.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/render-search-template-api.html" + }, + "operationId": "render_search_template#2", + "parameters": [ + { + "$ref": "#/components/parameters/render_search_template#id" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/render_search_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/render_search_template#200" + } + } + }, + "post": { + "description": "Allows to use the Mustache language to pre-render a search definition.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/render-search-template-api.html" + }, + "operationId": "render_search_template#3", + "parameters": [ + { + "$ref": "#/components/parameters/render_search_template#id" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/render_search_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/render_search_template#200" + } + } + } + }, + "/_scripts/painless/_execute": { + "get": { + "description": "Allows an arbitrary script to be executed and a result to be returned", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-execute-api.html" + }, + "operationId": "scripts_painless_execute#0", + "requestBody": { + "$ref": "#/components/requestBodies/scripts_painless_execute" + }, + "responses": { + "200": { + "$ref": "#/components/responses/scripts_painless_execute#200" + } + } + }, + "post": { + "description": "Allows an arbitrary script to be executed and a result to be returned", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-execute-api.html" + }, + "operationId": "scripts_painless_execute#1", + "requestBody": { + "$ref": "#/components/requestBodies/scripts_painless_execute" + }, + "responses": { + "200": { + "$ref": "#/components/responses/scripts_painless_execute#200" + } + } + } + }, + "/_search": { + "get": { + "description": "Returns results matching a query.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" + }, + "operationId": "search#0", + "parameters": [ + { + "$ref": "#/components/parameters/search#allow_no_indices" + }, + { + "$ref": "#/components/parameters/search#allow_partial_search_results" + }, + { + "$ref": "#/components/parameters/search#analyzer" + }, + { + "$ref": "#/components/parameters/search#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/search#batched_reduce_size" + }, + { + "$ref": "#/components/parameters/search#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/search#default_operator" + }, + { + "$ref": "#/components/parameters/search#df" + }, + { + "$ref": "#/components/parameters/search#docvalue_fields" + }, + { + "$ref": "#/components/parameters/search#expand_wildcards" + }, + { + "$ref": "#/components/parameters/search#explain" + }, + { + "$ref": "#/components/parameters/search#ignore_throttled" + }, + { + "$ref": "#/components/parameters/search#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/search#lenient" + }, + { + "$ref": "#/components/parameters/search#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/search#min_compatible_shard_node" + }, + { + "$ref": "#/components/parameters/search#preference" + }, + { + "$ref": "#/components/parameters/search#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/search#request_cache" + }, + { + "$ref": "#/components/parameters/search#routing" + }, + { + "$ref": "#/components/parameters/search#scroll" + }, + { + "$ref": "#/components/parameters/search#search_type" + }, + { + "$ref": "#/components/parameters/search#stats" + }, + { + "$ref": "#/components/parameters/search#stored_fields" + }, + { + "$ref": "#/components/parameters/search#suggest_field" + }, + { + "$ref": "#/components/parameters/search#suggest_mode" + }, + { + "$ref": "#/components/parameters/search#suggest_size" + }, + { + "$ref": "#/components/parameters/search#suggest_text" + }, + { + "$ref": "#/components/parameters/search#terminate_after" + }, + { + "$ref": "#/components/parameters/search#timeout" + }, + { + "$ref": "#/components/parameters/search#track_total_hits" + }, + { + "$ref": "#/components/parameters/search#track_scores" + }, + { + "$ref": "#/components/parameters/search#typed_keys" + }, + { + "$ref": "#/components/parameters/search#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/search#version" + }, + { + "$ref": "#/components/parameters/search#_source" + }, + { + "$ref": "#/components/parameters/search#_source_excludes" + }, + { + "$ref": "#/components/parameters/search#_source_includes" + }, + { + "$ref": "#/components/parameters/search#seq_no_primary_term" + }, + { + "$ref": "#/components/parameters/search#q" + }, + { + "$ref": "#/components/parameters/search#size" + }, + { + "$ref": "#/components/parameters/search#from" + }, + { + "$ref": "#/components/parameters/search#sort" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search#200" + } + } + }, + "post": { + "description": "Returns results matching a query.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" + }, + "operationId": "search#1", + "parameters": [ + { + "$ref": "#/components/parameters/search#allow_no_indices" + }, + { + "$ref": "#/components/parameters/search#allow_partial_search_results" + }, + { + "$ref": "#/components/parameters/search#analyzer" + }, + { + "$ref": "#/components/parameters/search#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/search#batched_reduce_size" + }, + { + "$ref": "#/components/parameters/search#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/search#default_operator" + }, + { + "$ref": "#/components/parameters/search#df" + }, + { + "$ref": "#/components/parameters/search#docvalue_fields" + }, + { + "$ref": "#/components/parameters/search#expand_wildcards" + }, + { + "$ref": "#/components/parameters/search#explain" + }, + { + "$ref": "#/components/parameters/search#ignore_throttled" + }, + { + "$ref": "#/components/parameters/search#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/search#lenient" + }, + { + "$ref": "#/components/parameters/search#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/search#min_compatible_shard_node" + }, + { + "$ref": "#/components/parameters/search#preference" + }, + { + "$ref": "#/components/parameters/search#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/search#request_cache" + }, + { + "$ref": "#/components/parameters/search#routing" + }, + { + "$ref": "#/components/parameters/search#scroll" + }, + { + "$ref": "#/components/parameters/search#search_type" + }, + { + "$ref": "#/components/parameters/search#stats" + }, + { + "$ref": "#/components/parameters/search#stored_fields" + }, + { + "$ref": "#/components/parameters/search#suggest_field" + }, + { + "$ref": "#/components/parameters/search#suggest_mode" + }, + { + "$ref": "#/components/parameters/search#suggest_size" + }, + { + "$ref": "#/components/parameters/search#suggest_text" + }, + { + "$ref": "#/components/parameters/search#terminate_after" + }, + { + "$ref": "#/components/parameters/search#timeout" + }, + { + "$ref": "#/components/parameters/search#track_total_hits" + }, + { + "$ref": "#/components/parameters/search#track_scores" + }, + { + "$ref": "#/components/parameters/search#typed_keys" + }, + { + "$ref": "#/components/parameters/search#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/search#version" + }, + { + "$ref": "#/components/parameters/search#_source" + }, + { + "$ref": "#/components/parameters/search#_source_excludes" + }, + { + "$ref": "#/components/parameters/search#_source_includes" + }, + { + "$ref": "#/components/parameters/search#seq_no_primary_term" + }, + { + "$ref": "#/components/parameters/search#q" + }, + { + "$ref": "#/components/parameters/search#size" + }, + { + "$ref": "#/components/parameters/search#from" + }, + { + "$ref": "#/components/parameters/search#sort" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search#200" + } + } + } + }, + "/{index}/_search": { + "get": { + "description": "Returns results matching a query.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" + }, + "operationId": "search#2", + "parameters": [ + { + "$ref": "#/components/parameters/search#index" + }, + { + "$ref": "#/components/parameters/search#allow_no_indices" + }, + { + "$ref": "#/components/parameters/search#allow_partial_search_results" + }, + { + "$ref": "#/components/parameters/search#analyzer" + }, + { + "$ref": "#/components/parameters/search#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/search#batched_reduce_size" + }, + { + "$ref": "#/components/parameters/search#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/search#default_operator" + }, + { + "$ref": "#/components/parameters/search#df" + }, + { + "$ref": "#/components/parameters/search#docvalue_fields" + }, + { + "$ref": "#/components/parameters/search#expand_wildcards" + }, + { + "$ref": "#/components/parameters/search#explain" + }, + { + "$ref": "#/components/parameters/search#ignore_throttled" + }, + { + "$ref": "#/components/parameters/search#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/search#lenient" + }, + { + "$ref": "#/components/parameters/search#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/search#min_compatible_shard_node" + }, + { + "$ref": "#/components/parameters/search#preference" + }, + { + "$ref": "#/components/parameters/search#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/search#request_cache" + }, + { + "$ref": "#/components/parameters/search#routing" + }, + { + "$ref": "#/components/parameters/search#scroll" + }, + { + "$ref": "#/components/parameters/search#search_type" + }, + { + "$ref": "#/components/parameters/search#stats" + }, + { + "$ref": "#/components/parameters/search#stored_fields" + }, + { + "$ref": "#/components/parameters/search#suggest_field" + }, + { + "$ref": "#/components/parameters/search#suggest_mode" + }, + { + "$ref": "#/components/parameters/search#suggest_size" + }, + { + "$ref": "#/components/parameters/search#suggest_text" + }, + { + "$ref": "#/components/parameters/search#terminate_after" + }, + { + "$ref": "#/components/parameters/search#timeout" + }, + { + "$ref": "#/components/parameters/search#track_total_hits" + }, + { + "$ref": "#/components/parameters/search#track_scores" + }, + { + "$ref": "#/components/parameters/search#typed_keys" + }, + { + "$ref": "#/components/parameters/search#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/search#version" + }, + { + "$ref": "#/components/parameters/search#_source" + }, + { + "$ref": "#/components/parameters/search#_source_excludes" + }, + { + "$ref": "#/components/parameters/search#_source_includes" + }, + { + "$ref": "#/components/parameters/search#seq_no_primary_term" + }, + { + "$ref": "#/components/parameters/search#q" + }, + { + "$ref": "#/components/parameters/search#size" + }, + { + "$ref": "#/components/parameters/search#from" + }, + { + "$ref": "#/components/parameters/search#sort" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search#200" + } + } + }, + "post": { + "description": "Returns results matching a query.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" + }, + "operationId": "search#3", + "parameters": [ + { + "$ref": "#/components/parameters/search#index" + }, + { + "$ref": "#/components/parameters/search#allow_no_indices" + }, + { + "$ref": "#/components/parameters/search#allow_partial_search_results" + }, + { + "$ref": "#/components/parameters/search#analyzer" + }, + { + "$ref": "#/components/parameters/search#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/search#batched_reduce_size" + }, + { + "$ref": "#/components/parameters/search#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/search#default_operator" + }, + { + "$ref": "#/components/parameters/search#df" + }, + { + "$ref": "#/components/parameters/search#docvalue_fields" + }, + { + "$ref": "#/components/parameters/search#expand_wildcards" + }, + { + "$ref": "#/components/parameters/search#explain" + }, + { + "$ref": "#/components/parameters/search#ignore_throttled" + }, + { + "$ref": "#/components/parameters/search#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/search#lenient" + }, + { + "$ref": "#/components/parameters/search#max_concurrent_shard_requests" + }, + { + "$ref": "#/components/parameters/search#min_compatible_shard_node" + }, + { + "$ref": "#/components/parameters/search#preference" + }, + { + "$ref": "#/components/parameters/search#pre_filter_shard_size" + }, + { + "$ref": "#/components/parameters/search#request_cache" + }, + { + "$ref": "#/components/parameters/search#routing" + }, + { + "$ref": "#/components/parameters/search#scroll" + }, + { + "$ref": "#/components/parameters/search#search_type" + }, + { + "$ref": "#/components/parameters/search#stats" + }, + { + "$ref": "#/components/parameters/search#stored_fields" + }, + { + "$ref": "#/components/parameters/search#suggest_field" + }, + { + "$ref": "#/components/parameters/search#suggest_mode" + }, + { + "$ref": "#/components/parameters/search#suggest_size" + }, + { + "$ref": "#/components/parameters/search#suggest_text" + }, + { + "$ref": "#/components/parameters/search#terminate_after" + }, + { + "$ref": "#/components/parameters/search#timeout" + }, + { + "$ref": "#/components/parameters/search#track_total_hits" + }, + { + "$ref": "#/components/parameters/search#track_scores" + }, + { + "$ref": "#/components/parameters/search#typed_keys" + }, + { + "$ref": "#/components/parameters/search#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/search#version" + }, + { + "$ref": "#/components/parameters/search#_source" + }, + { + "$ref": "#/components/parameters/search#_source_excludes" + }, + { + "$ref": "#/components/parameters/search#_source_includes" + }, + { + "$ref": "#/components/parameters/search#seq_no_primary_term" + }, + { + "$ref": "#/components/parameters/search#q" + }, + { + "$ref": "#/components/parameters/search#size" + }, + { + "$ref": "#/components/parameters/search#from" + }, + { + "$ref": "#/components/parameters/search#sort" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search#200" + } + } + } + }, + "/_application/search_application/{name}": { + "get": { + "description": "Returns the details about a search application.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-search-application.html" + }, + "operationId": "search_application.get#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "The name of the search application", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/search_application._types:SearchApplication" + } + } + } + } + } + }, + "put": { + "description": "Creates or updates a search application.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-search-application.html" + }, + "operationId": "search_application.put#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "The name of the search application to be created or updated.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "create", + "description": "If `true`, this request cannot replace or update existing Search Applications.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/search_application._types:SearchApplication" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/components/schemas/_types:Result" + } + }, + "required": [ + "result" + ] + } + } + } + } + } + }, + "delete": { + "description": "Deletes a search application.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-search-application.html" + }, + "operationId": "search_application.delete#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "The name of the search application to delete", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_application/analytics/{name}": { + "get": { + "description": "Returns the existing behavioral analytics collections.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-analytics-collection.html" + }, + "operationId": "search_application.get_behavioral_analytics#1", + "parameters": [ + { + "$ref": "#/components/parameters/search_application.get_behavioral_analytics#name" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/search_application.get_behavioral_analytics#200" + } + } + }, + "put": { + "description": "Creates a behavioral analytics collection.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-analytics-collection.html" + }, + "operationId": "search_application.put_behavioral_analytics#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "The name of the analytics collection to be created or updated.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/search_application.put_behavioral_analytics:AnalyticsAcknowledgeResponseBase" + } + } + } + } + } + }, + "delete": { + "description": "Delete a behavioral analytics collection.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-analytics-collection.html" + }, + "operationId": "search_application.delete_behavioral_analytics#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "The name of the analytics collection to be deleted", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_application/analytics": { + "get": { + "description": "Returns the existing behavioral analytics collections.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-analytics-collection.html" + }, + "operationId": "search_application.get_behavioral_analytics#0", + "responses": { + "200": { + "$ref": "#/components/responses/search_application.get_behavioral_analytics#200" + } + } + } + }, + "/_application/search_application": { + "get": { + "description": "Returns the existing search applications.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-search-applications.html" + }, + "operationId": "search_application.list#0", + "parameters": [ + { + "in": "query", + "name": "q", + "description": "Query in the Lucene query string syntax.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "from", + "description": "Starting offset.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "size", + "description": "Specifies a max number of results to get.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/search_application.list:SearchApplicationListItem" + } + } + }, + "required": [ + "count", + "results" + ] + } + } + } + } + } + } + }, + "/_application/search_application/{name}/_search": { + "get": { + "description": "Perform a search against a search application", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-application-search.html" + }, + "operationId": "search_application.search#0", + "parameters": [ + { + "$ref": "#/components/parameters/search_application.search#name" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search_application.search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search_application.search#200" + } + } + }, + "post": { + "description": "Perform a search against a search application", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-application-search.html" + }, + "operationId": "search_application.search#1", + "parameters": [ + { + "$ref": "#/components/parameters/search_application.search#name" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search_application.search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search_application.search#200" + } + } + } + }, + "/{index}/_mvt/{field}/{zoom}/{x}/{y}": { + "get": { + "description": "Searches a vector tile for geospatial values. Returns results as a binary Mapbox vector tile.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-vector-tile-api.html" + }, + "operationId": "search_mvt#1", + "parameters": [ + { + "$ref": "#/components/parameters/search_mvt#index" + }, + { + "$ref": "#/components/parameters/search_mvt#field" + }, + { + "$ref": "#/components/parameters/search_mvt#zoom" + }, + { + "$ref": "#/components/parameters/search_mvt#x" + }, + { + "$ref": "#/components/parameters/search_mvt#y" + }, + { + "$ref": "#/components/parameters/search_mvt#exact_bounds" + }, + { + "$ref": "#/components/parameters/search_mvt#extent" + }, + { + "$ref": "#/components/parameters/search_mvt#grid_agg" + }, + { + "$ref": "#/components/parameters/search_mvt#grid_precision" + }, + { + "$ref": "#/components/parameters/search_mvt#grid_type" + }, + { + "$ref": "#/components/parameters/search_mvt#size" + }, + { + "$ref": "#/components/parameters/search_mvt#with_labels" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search_mvt" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search_mvt#200" + } + } + }, + "post": { + "description": "Searches a vector tile for geospatial values. Returns results as a binary Mapbox vector tile.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-vector-tile-api.html" + }, + "operationId": "search_mvt#0", + "parameters": [ + { + "$ref": "#/components/parameters/search_mvt#index" + }, + { + "$ref": "#/components/parameters/search_mvt#field" + }, + { + "$ref": "#/components/parameters/search_mvt#zoom" + }, + { + "$ref": "#/components/parameters/search_mvt#x" + }, + { + "$ref": "#/components/parameters/search_mvt#y" + }, + { + "$ref": "#/components/parameters/search_mvt#exact_bounds" + }, + { + "$ref": "#/components/parameters/search_mvt#extent" + }, + { + "$ref": "#/components/parameters/search_mvt#grid_agg" + }, + { + "$ref": "#/components/parameters/search_mvt#grid_precision" + }, + { + "$ref": "#/components/parameters/search_mvt#grid_type" + }, + { + "$ref": "#/components/parameters/search_mvt#size" + }, + { + "$ref": "#/components/parameters/search_mvt#with_labels" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search_mvt" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search_mvt#200" + } + } + } + }, + "/_search/template": { + "get": { + "description": "Allows to use the Mustache language to pre-render a search definition.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html" + }, + "operationId": "search_template#0", + "parameters": [ + { + "$ref": "#/components/parameters/search_template#allow_no_indices" + }, + { + "$ref": "#/components/parameters/search_template#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/search_template#expand_wildcards" + }, + { + "$ref": "#/components/parameters/search_template#explain" + }, + { + "$ref": "#/components/parameters/search_template#ignore_throttled" + }, + { + "$ref": "#/components/parameters/search_template#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/search_template#preference" + }, + { + "$ref": "#/components/parameters/search_template#profile" + }, + { + "$ref": "#/components/parameters/search_template#routing" + }, + { + "$ref": "#/components/parameters/search_template#scroll" + }, + { + "$ref": "#/components/parameters/search_template#search_type" + }, + { + "$ref": "#/components/parameters/search_template#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/search_template#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search_template#200" + } + } + }, + "post": { + "description": "Allows to use the Mustache language to pre-render a search definition.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html" + }, + "operationId": "search_template#1", + "parameters": [ + { + "$ref": "#/components/parameters/search_template#allow_no_indices" + }, + { + "$ref": "#/components/parameters/search_template#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/search_template#expand_wildcards" + }, + { + "$ref": "#/components/parameters/search_template#explain" + }, + { + "$ref": "#/components/parameters/search_template#ignore_throttled" + }, + { + "$ref": "#/components/parameters/search_template#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/search_template#preference" + }, + { + "$ref": "#/components/parameters/search_template#profile" + }, + { + "$ref": "#/components/parameters/search_template#routing" + }, + { + "$ref": "#/components/parameters/search_template#scroll" + }, + { + "$ref": "#/components/parameters/search_template#search_type" + }, + { + "$ref": "#/components/parameters/search_template#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/search_template#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search_template#200" + } + } + } + }, + "/{index}/_search/template": { + "get": { + "description": "Allows to use the Mustache language to pre-render a search definition.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html" + }, + "operationId": "search_template#2", + "parameters": [ + { + "$ref": "#/components/parameters/search_template#index" + }, + { + "$ref": "#/components/parameters/search_template#allow_no_indices" + }, + { + "$ref": "#/components/parameters/search_template#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/search_template#expand_wildcards" + }, + { + "$ref": "#/components/parameters/search_template#explain" + }, + { + "$ref": "#/components/parameters/search_template#ignore_throttled" + }, + { + "$ref": "#/components/parameters/search_template#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/search_template#preference" + }, + { + "$ref": "#/components/parameters/search_template#profile" + }, + { + "$ref": "#/components/parameters/search_template#routing" + }, + { + "$ref": "#/components/parameters/search_template#scroll" + }, + { + "$ref": "#/components/parameters/search_template#search_type" + }, + { + "$ref": "#/components/parameters/search_template#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/search_template#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search_template#200" + } + } + }, + "post": { + "description": "Allows to use the Mustache language to pre-render a search definition.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html" + }, + "operationId": "search_template#3", + "parameters": [ + { + "$ref": "#/components/parameters/search_template#index" + }, + { + "$ref": "#/components/parameters/search_template#allow_no_indices" + }, + { + "$ref": "#/components/parameters/search_template#ccs_minimize_roundtrips" + }, + { + "$ref": "#/components/parameters/search_template#expand_wildcards" + }, + { + "$ref": "#/components/parameters/search_template#explain" + }, + { + "$ref": "#/components/parameters/search_template#ignore_throttled" + }, + { + "$ref": "#/components/parameters/search_template#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/search_template#preference" + }, + { + "$ref": "#/components/parameters/search_template#profile" + }, + { + "$ref": "#/components/parameters/search_template#routing" + }, + { + "$ref": "#/components/parameters/search_template#scroll" + }, + { + "$ref": "#/components/parameters/search_template#search_type" + }, + { + "$ref": "#/components/parameters/search_template#rest_total_hits_as_int" + }, + { + "$ref": "#/components/parameters/search_template#typed_keys" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/search_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/search_template#200" + } + } + } + }, + "/_security/profile/_activate": { + "post": { + "description": "Creates or updates the user profile on behalf of another user.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-activate-user-profile.html" + }, + "operationId": "security.activate_user_profile#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "access_token": { + "type": "string" + }, + "grant_type": { + "$ref": "#/components/schemas/security._types:GrantType" + }, + "password": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "grant_type" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/security._types:UserProfileWithMetadata" + } + } + } + } + } + } + }, + "/_security/_authenticate": { + "get": { + "description": "Enables authentication as a user and retrieve information about the authenticated user.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html" + }, + "operationId": "security.authenticate#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "api_key": { + "$ref": "#/components/schemas/security._types:ApiKey" + }, + "authentication_realm": { + "$ref": "#/components/schemas/security._types:RealmInfo" + }, + "email": { + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "full_name": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Name" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "lookup_realm": { + "$ref": "#/components/schemas/security._types:RealmInfo" + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + }, + "enabled": { + "type": "boolean" + }, + "authentication_type": { + "type": "string" + }, + "token": { + "$ref": "#/components/schemas/security.authenticate:Token" + } + }, + "required": [ + "authentication_realm", + "lookup_realm", + "metadata", + "roles", + "username", + "enabled", + "authentication_type" + ] + } + } + } + } + } + } + }, + "/_security/api_key/{ids}/_clear_cache": { + "post": { + "description": "Clear a subset or all entries from the API key cache.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-api-key-cache.html" + }, + "operationId": "security.clear_api_key_cache#0", + "parameters": [ + { + "in": "path", + "name": "ids", + "description": "Comma-separated list of API key IDs to evict from the API key cache.\nTo evict all API keys, use `*`.\nDoes not support other wildcard patterns.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Ids" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_nodes": { + "$ref": "#/components/schemas/_types:NodeStatistics" + }, + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:ClusterNode" + } + } + }, + "required": [ + "_nodes", + "cluster_name", + "nodes" + ] + } + } + } + } + } + } + }, + "/_security/privilege/{application}/_clear_cache": { + "post": { + "description": "Evicts application privileges from the native application privileges cache.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-privilege-cache.html" + }, + "operationId": "security.clear_cached_privileges#0", + "parameters": [ + { + "in": "path", + "name": "application", + "description": "A comma-separated list of application names", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_nodes": { + "$ref": "#/components/schemas/_types:NodeStatistics" + }, + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:ClusterNode" + } + } + }, + "required": [ + "_nodes", + "cluster_name", + "nodes" + ] + } + } + } + } + } + } + }, + "/_security/realm/{realms}/_clear_cache": { + "post": { + "description": "Evicts users from the user cache. Can completely clear the cache or evict specific users.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-cache.html" + }, + "operationId": "security.clear_cached_realms#0", + "parameters": [ + { + "in": "path", + "name": "realms", + "description": "Comma-separated list of realms to clear", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + { + "in": "query", + "name": "usernames", + "description": "Comma-separated list of usernames to clear from the cache", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_nodes": { + "$ref": "#/components/schemas/_types:NodeStatistics" + }, + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:ClusterNode" + } + } + }, + "required": [ + "_nodes", + "cluster_name", + "nodes" + ] + } + } + } + } + } + } + }, + "/_security/role/{name}/_clear_cache": { + "post": { + "description": "Evicts roles from the native role cache.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-role-cache.html" + }, + "operationId": "security.clear_cached_roles#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Role name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_nodes": { + "$ref": "#/components/schemas/_types:NodeStatistics" + }, + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:ClusterNode" + } + } + }, + "required": [ + "_nodes", + "cluster_name", + "nodes" + ] + } + } + } + } + } + } + }, + "/_security/service/{namespace}/{service}/credential/token/{name}/_clear_cache": { + "post": { + "description": "Evicts tokens from the service account token caches.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-service-token-caches.html" + }, + "operationId": "security.clear_cached_service_tokens#0", + "parameters": [ + { + "in": "path", + "name": "namespace", + "description": "An identifier for the namespace", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Namespace" + }, + "style": "simple" + }, + { + "in": "path", + "name": "service", + "description": "An identifier for the service name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Service" + }, + "style": "simple" + }, + { + "in": "path", + "name": "name", + "description": "A comma-separated list of service token names", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_nodes": { + "$ref": "#/components/schemas/_types:NodeStatistics" + }, + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:ClusterNode" + } + } + }, + "required": [ + "_nodes", + "cluster_name", + "nodes" + ] + } + } + } + } + } + } + }, + "/_security/api_key": { + "get": { + "description": "Retrieves information for one or more API keys.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-api-key.html" + }, + "operationId": "security.get_api_key#0", + "parameters": [ + { + "in": "query", + "name": "id", + "description": "An API key id.\nThis parameter cannot be used with any of `name`, `realm_name` or `username`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "form" + }, + { + "in": "query", + "name": "name", + "description": "An API key name.\nThis parameter cannot be used with any of `id`, `realm_name` or `username`.\nIt supports prefix search with wildcard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "form" + }, + { + "in": "query", + "name": "owner", + "description": "A boolean flag that can be used to query API keys owned by the currently authenticated user.\nThe `realm_name` or `username` parameters cannot be specified when this parameter is set to `true` as they are assumed to be the currently authenticated ones.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "realm_name", + "description": "The name of an authentication realm.\nThis parameter cannot be used with either `id` or `name` or when `owner` flag is set to `true`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "form" + }, + { + "in": "query", + "name": "username", + "description": "The username of a user.\nThis parameter cannot be used with either `id` or `name` or when `owner` flag is set to `true`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Username" + }, + "style": "form" + }, + { + "in": "query", + "name": "with_limited_by", + "description": "Return the snapshot of the owner user's role descriptors\nassociated with the API key. An API key's actual\npermission is the intersection of its assigned role\ndescriptors and the owner user's role descriptors.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "api_keys": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:ApiKey" + } + } + }, + "required": [ + "api_keys" + ] + } + } + } + } + } + }, + "put": { + "description": "Creates an API key for access without requiring basic authentication.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html" + }, + "operationId": "security.create_api_key#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.create_api_key#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.create_api_key" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.create_api_key#200" + } + } + }, + "post": { + "description": "Creates an API key for access without requiring basic authentication.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html" + }, + "operationId": "security.create_api_key#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.create_api_key#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.create_api_key" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.create_api_key#200" + } + } + }, + "delete": { + "description": "Invalidates one or more API keys.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-api-key.html" + }, + "operationId": "security.invalidate_api_key#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "ids": { + "description": "A list of API key ids.\nThis parameter cannot be used with any of `name`, `realm_name`, or `username`.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "owner": { + "description": "Can be used to query API keys owned by the currently authenticated user.\nThe `realm_name` or `username` parameters cannot be specified when this parameter is set to `true` as they are assumed to be the currently authenticated ones.", + "type": "boolean" + }, + "realm_name": { + "description": "The name of an authentication realm.\nThis parameter cannot be used with either `ids` or `name`, or when `owner` flag is set to `true`.", + "type": "string" + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "error_count": { + "type": "number" + }, + "error_details": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + }, + "invalidated_api_keys": { + "type": "array", + "items": { + "type": "string" + } + }, + "previously_invalidated_api_keys": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "error_count", + "invalidated_api_keys", + "previously_invalidated_api_keys" + ] + } + } + } + } + } + } + }, + "/_security/service/{namespace}/{service}/credential/token/{name}": { + "put": { + "description": "Creates a service account token for access without requiring basic authentication.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-service-token.html" + }, + "operationId": "security.create_service_token#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.create_service_token#namespace" + }, + { + "$ref": "#/components/parameters/security.create_service_token#service" + }, + { + "$ref": "#/components/parameters/security.create_service_token#name" + }, + { + "$ref": "#/components/parameters/security.create_service_token#refresh" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.create_service_token#200" + } + } + }, + "post": { + "description": "Creates a service account token for access without requiring basic authentication.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-service-token.html" + }, + "operationId": "security.create_service_token#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.create_service_token#namespace" + }, + { + "$ref": "#/components/parameters/security.create_service_token#service" + }, + { + "$ref": "#/components/parameters/security.create_service_token#name" + }, + { + "$ref": "#/components/parameters/security.create_service_token#refresh" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.create_service_token#200" + } + } + }, + "delete": { + "description": "Deletes a service account token.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-service-token.html" + }, + "operationId": "security.delete_service_token#0", + "parameters": [ + { + "in": "path", + "name": "namespace", + "description": "An identifier for the namespace", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Namespace" + }, + "style": "simple" + }, + { + "in": "path", + "name": "service", + "description": "An identifier for the service name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Service" + }, + "style": "simple" + }, + { + "in": "path", + "name": "name", + "description": "An identifier for the token name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "refresh", + "description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` (the default) then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "found": { + "type": "boolean" + } + }, + "required": [ + "found" + ] + } + } + } + } + } + } + }, + "/_security/service/{namespace}/{service}/credential/token": { + "post": { + "description": "Creates a service account token for access without requiring basic authentication.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-service-token.html" + }, + "operationId": "security.create_service_token#2", + "parameters": [ + { + "$ref": "#/components/parameters/security.create_service_token#namespace" + }, + { + "$ref": "#/components/parameters/security.create_service_token#service" + }, + { + "$ref": "#/components/parameters/security.create_service_token#refresh" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.create_service_token#200" + } + } + } + }, + "/_security/privilege/{application}/{name}": { + "get": { + "description": "Retrieves application privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html" + }, + "operationId": "security.get_privileges#2", + "parameters": [ + { + "$ref": "#/components/parameters/security.get_privileges#application" + }, + { + "$ref": "#/components/parameters/security.get_privileges#name" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.get_privileges#200" + } + } + }, + "delete": { + "description": "Removes application privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-privilege.html" + }, + "operationId": "security.delete_privileges#0", + "parameters": [ + { + "in": "path", + "name": "application", + "description": "Application name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "path", + "name": "name", + "description": "Privilege name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + { + "in": "query", + "name": "refresh", + "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security.delete_privileges:FoundStatus" + } + } + } + } + } + } + } + } + }, + "/_security/role/{name}": { + "get": { + "description": "Retrieves roles in the native realm.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html" + }, + "operationId": "security.get_role#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.get_role#name" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.get_role#200" + } + } + }, + "put": { + "description": "Adds and updates roles in the native realm.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html" + }, + "operationId": "security.put_role#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.put_role#name" + }, + { + "$ref": "#/components/parameters/security.put_role#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.put_role" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.put_role#200" + } + } + }, + "post": { + "description": "Adds and updates roles in the native realm.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html" + }, + "operationId": "security.put_role#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.put_role#name" + }, + { + "$ref": "#/components/parameters/security.put_role#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.put_role" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.put_role#200" + } + } + }, + "delete": { + "description": "Removes roles in the native realm.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role.html" + }, + "operationId": "security.delete_role#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Role name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "refresh", + "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "found": { + "type": "boolean" + } + }, + "required": [ + "found" + ] + } + } + } + } + } + } + }, + "/_security/role_mapping/{name}": { + "get": { + "description": "Retrieves role mappings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role-mapping.html" + }, + "operationId": "security.get_role_mapping#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.get_role_mapping#name" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.get_role_mapping#200" + } + } + }, + "put": { + "description": "Creates and updates role mappings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role-mapping.html" + }, + "operationId": "security.put_role_mapping#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.put_role_mapping#name" + }, + { + "$ref": "#/components/parameters/security.put_role_mapping#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.put_role_mapping" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.put_role_mapping#200" + } + } + }, + "post": { + "description": "Creates and updates role mappings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role-mapping.html" + }, + "operationId": "security.put_role_mapping#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.put_role_mapping#name" + }, + { + "$ref": "#/components/parameters/security.put_role_mapping#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.put_role_mapping" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.put_role_mapping#200" + } + } + }, + "delete": { + "description": "Removes role mappings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role-mapping.html" + }, + "operationId": "security.delete_role_mapping#0", + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Role-mapping name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "refresh", + "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "found": { + "type": "boolean" + } + }, + "required": [ + "found" + ] + } + } + } + } + } + } + }, + "/_security/profile/{uid}/_disable": { + "put": { + "description": "Disables a user profile so it's not visible in user profile searches.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-disable-user-profile.html" + }, + "operationId": "security.disable_user_profile#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.disable_user_profile#uid" + }, + { + "$ref": "#/components/parameters/security.disable_user_profile#refresh" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.disable_user_profile#200" + } + } + }, + "post": { + "description": "Disables a user profile so it's not visible in user profile searches.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-disable-user-profile.html" + }, + "operationId": "security.disable_user_profile#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.disable_user_profile#uid" + }, + { + "$ref": "#/components/parameters/security.disable_user_profile#refresh" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.disable_user_profile#200" + } + } + } + }, + "/_security/profile/{uid}/_enable": { + "put": { + "description": "Enables a user profile so it's visible in user profile searches.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-enable-user-profile.html" + }, + "operationId": "security.enable_user_profile#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.enable_user_profile#uid" + }, + { + "$ref": "#/components/parameters/security.enable_user_profile#refresh" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.enable_user_profile#200" + } + } + }, + "post": { + "description": "Enables a user profile so it's visible in user profile searches.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-enable-user-profile.html" + }, + "operationId": "security.enable_user_profile#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.enable_user_profile#uid" + }, + { + "$ref": "#/components/parameters/security.enable_user_profile#refresh" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.enable_user_profile#200" + } + } + } + }, + "/_security/privilege/_builtin": { + "get": { + "description": "Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-builtin-privileges.html" + }, + "operationId": "security.get_builtin_privileges#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "cluster": { + "type": "array", + "items": { + "type": "string" + } + }, + "index": { + "$ref": "#/components/schemas/_types:Indices" + } + }, + "required": [ + "cluster", + "index" + ] + } + } + } + } + } + } + }, + "/_security/privilege": { + "get": { + "description": "Retrieves application privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html" + }, + "operationId": "security.get_privileges#0", + "responses": { + "200": { + "$ref": "#/components/responses/security.get_privileges#200" + } + } + }, + "put": { + "description": "Adds or updates application privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-privileges.html" + }, + "operationId": "security.put_privileges#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.put_privileges#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.put_privileges" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.put_privileges#200" + } + } + }, + "post": { + "description": "Adds or updates application privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-privileges.html" + }, + "operationId": "security.put_privileges#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.put_privileges#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.put_privileges" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.put_privileges#200" + } + } + } + }, + "/_security/privilege/{application}": { + "get": { + "description": "Retrieves application privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html" + }, + "operationId": "security.get_privileges#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.get_privileges#application" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.get_privileges#200" + } + } + } + }, + "/_security/role": { + "get": { + "description": "Retrieves roles in the native realm.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html" + }, + "operationId": "security.get_role#1", + "responses": { + "200": { + "$ref": "#/components/responses/security.get_role#200" + } + } + } + }, + "/_security/role_mapping": { + "get": { + "description": "Retrieves role mappings.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role-mapping.html" + }, + "operationId": "security.get_role_mapping#1", + "responses": { + "200": { + "$ref": "#/components/responses/security.get_role_mapping#200" + } + } + } + }, + "/_security/service/{namespace}/{service}": { + "get": { + "description": "Retrieves information about service accounts.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-service-accounts.html" + }, + "operationId": "security.get_service_accounts#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.get_service_accounts#namespace" + }, + { + "$ref": "#/components/parameters/security.get_service_accounts#service" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.get_service_accounts#200" + } + } + } + }, + "/_security/service/{namespace}": { + "get": { + "description": "Retrieves information about service accounts.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-service-accounts.html" + }, + "operationId": "security.get_service_accounts#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.get_service_accounts#namespace" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/security.get_service_accounts#200" + } + } + } + }, + "/_security/service": { + "get": { + "description": "Retrieves information about service accounts.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-service-accounts.html" + }, + "operationId": "security.get_service_accounts#2", + "responses": { + "200": { + "$ref": "#/components/responses/security.get_service_accounts#200" + } + } + } + }, + "/_security/service/{namespace}/{service}/credential": { + "get": { + "description": "Retrieves information of all service credentials for a service account.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-service-credentials.html" + }, + "operationId": "security.get_service_credentials#0", + "parameters": [ + { + "in": "path", + "name": "namespace", + "description": "Name of the namespace.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Namespace" + }, + "style": "simple" + }, + { + "in": "path", + "name": "service", + "description": "Name of the service name.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "service_account": { + "type": "string" + }, + "count": { + "type": "number" + }, + "tokens": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:Metadata" + } + }, + "nodes_credentials": { + "$ref": "#/components/schemas/security.get_service_credentials:NodesCredentials" + } + }, + "required": [ + "service_account", + "count", + "tokens", + "nodes_credentials" + ] + } + } + } + } + } + } + }, + "/_security/oauth2/token": { + "post": { + "description": "Creates a bearer token for access without requiring basic authentication.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-token.html" + }, + "operationId": "security.get_token#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "grant_type": { + "$ref": "#/components/schemas/security.get_token:AccessTokenGrantType" + }, + "scope": { + "type": "string" + }, + "password": { + "$ref": "#/components/schemas/_types:Password" + }, + "kerberos_ticket": { + "type": "string" + }, + "refresh_token": { + "type": "string" + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "access_token": { + "type": "string" + }, + "expires_in": { + "type": "number" + }, + "scope": { + "type": "string" + }, + "type": { + "type": "string" + }, + "refresh_token": { + "type": "string" + }, + "kerberos_authentication_response_token": { + "type": "string" + }, + "authentication": { + "$ref": "#/components/schemas/security.get_token:AuthenticatedUser" + } + }, + "required": [ + "access_token", + "expires_in", + "type", + "authentication" + ] + } + } + } + } + } + }, + "delete": { + "description": "Invalidates one or more access tokens or refresh tokens.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-token.html" + }, + "operationId": "security.invalidate_token#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "token": { + "type": "string" + }, + "refresh_token": { + "type": "string" + }, + "realm_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "error_count": { + "type": "number" + }, + "error_details": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + }, + "invalidated_tokens": { + "type": "number" + }, + "previously_invalidated_tokens": { + "type": "number" + } + }, + "required": [ + "error_count", + "invalidated_tokens", + "previously_invalidated_tokens" + ] + } + } + } + } + } + } + }, + "/_security/user/_privileges": { + "get": { + "description": "Retrieves security privileges for the logged in user.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user-privileges.html" + }, + "operationId": "security.get_user_privileges#0", + "parameters": [ + { + "in": "query", + "name": "application", + "description": "The name of the application. Application privileges are always associated with exactly one application. If you do not specify this parameter, the API returns information about all privileges for all applications.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "form" + }, + { + "in": "query", + "name": "priviledge", + "description": "The name of the privilege. If you do not specify this parameter, the API returns information about all privileges for the requested application.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "form" + }, + { + "in": "query", + "name": "username", + "deprecated": false, + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Name" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "applications": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:ApplicationPrivileges" + } + }, + "cluster": { + "type": "array", + "items": { + "type": "string" + } + }, + "global": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:GlobalPrivilege" + } + }, + "indices": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:UserIndicesPrivileges" + } + }, + "run_as": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "applications", + "cluster", + "global", + "indices", + "run_as" + ] + } + } + } + } + } + } + }, + "/_security/profile/{uid}": { + "get": { + "description": "Retrieves user profiles for the given unique ID(s).", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user-profile.html" + }, + "operationId": "security.get_user_profile#0", + "parameters": [ + { + "in": "path", + "name": "uid", + "description": "A unique identifier for the user profile.", + "required": true, + "deprecated": false, + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/security._types:UserProfileId" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:UserProfileId" + } + } + ] + }, + "style": "simple" + }, + { + "in": "query", + "name": "data", + "description": "List of filters for the `data` field of the profile document.\nTo return all content use `data=*`. To return a subset of content\nuse `data=` to retrieve content nested under the specified ``.\nBy default returns no `data` content.", + "deprecated": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "profiles": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:UserProfileWithMetadata" + } + }, + "errors": { + "$ref": "#/components/schemas/security.get_user_profile:GetUserProfileErrors" + } + }, + "required": [ + "profiles" + ] + } + } + } + } + } + } + }, + "/_security/api_key/grant": { + "post": { + "description": "Creates an API key on behalf of another user.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-grant-api-key.html" + }, + "operationId": "security.grant_api_key#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "api_key": { + "$ref": "#/components/schemas/security.grant_api_key:GrantApiKey" + }, + "grant_type": { + "$ref": "#/components/schemas/security.grant_api_key:ApiKeyGrantType" + }, + "access_token": { + "description": "The user’s access token.\nIf you specify the `access_token` grant type, this parameter is required.\nIt is not valid with other grant types.", + "type": "string" + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + }, + "password": { + "$ref": "#/components/schemas/_types:Password" + }, + "run_as": { + "$ref": "#/components/schemas/_types:Username" + } + }, + "required": [ + "api_key", + "grant_type" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "api_key": { + "type": "string" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "expiration": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "encoded": { + "type": "string" + } + }, + "required": [ + "api_key", + "id", + "name", + "encoded" + ] + } + } + } + } + } + } + }, + "/_security/user/_has_privileges": { + "get": { + "description": "Determines whether the specified user has a specified list of privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html" + }, + "operationId": "security.has_privileges#0", + "requestBody": { + "$ref": "#/components/requestBodies/security.has_privileges" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.has_privileges#200" + } + } + }, + "post": { + "description": "Determines whether the specified user has a specified list of privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html" + }, + "operationId": "security.has_privileges#1", + "requestBody": { + "$ref": "#/components/requestBodies/security.has_privileges" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.has_privileges#200" + } + } + } + }, + "/_security/user/{user}/_has_privileges": { + "get": { + "description": "Determines whether the specified user has a specified list of privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html" + }, + "operationId": "security.has_privileges#2", + "parameters": [ + { + "$ref": "#/components/parameters/security.has_privileges#user" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.has_privileges" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.has_privileges#200" + } + } + }, + "post": { + "description": "Determines whether the specified user has a specified list of privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html" + }, + "operationId": "security.has_privileges#3", + "parameters": [ + { + "$ref": "#/components/parameters/security.has_privileges#user" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.has_privileges" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.has_privileges#200" + } + } + } + }, + "/_security/profile/_has_privileges": { + "get": { + "description": "Determines whether the users associated with the specified profile IDs have all the requested privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges-user-profile.html" + }, + "operationId": "security.has_privileges_user_profile#0", + "requestBody": { + "$ref": "#/components/requestBodies/security.has_privileges_user_profile" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.has_privileges_user_profile#200" + } + } + }, + "post": { + "description": "Determines whether the users associated with the specified profile IDs have all the requested privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges-user-profile.html" + }, + "operationId": "security.has_privileges_user_profile#1", + "requestBody": { + "$ref": "#/components/requestBodies/security.has_privileges_user_profile" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.has_privileges_user_profile#200" + } + } + } + }, + "/_security/_query/api_key": { + "get": { + "description": "Retrieves information for API keys using a subset of query DSL", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-query-api-key.html" + }, + "operationId": "security.query_api_keys#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.query_api_keys#with_limited_by" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.query_api_keys" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.query_api_keys#200" + } + } + }, + "post": { + "description": "Retrieves information for API keys using a subset of query DSL", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-query-api-key.html" + }, + "operationId": "security.query_api_keys#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.query_api_keys#with_limited_by" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.query_api_keys" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.query_api_keys#200" + } + } + } + }, + "/_security/saml/authenticate": { + "post": { + "description": "Exchanges a SAML Response message for an Elasticsearch access token and refresh token pair", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-authenticate.html" + }, + "operationId": "security.saml_authenticate#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "content": { + "description": "The SAML response as it was sent by the user’s browser, usually a Base64 encoded XML document.", + "type": "string" + }, + "ids": { + "$ref": "#/components/schemas/_types:Ids" + }, + "realm": { + "description": "The name of the realm that should authenticate the SAML response. Useful in cases where many SAML realms are defined.", + "type": "string" + } + }, + "required": [ + "content", + "ids" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "access_token": { + "type": "string" + }, + "username": { + "type": "string" + }, + "expires_in": { + "type": "number" + }, + "refresh_token": { + "type": "string" + }, + "realm": { + "type": "string" + } + }, + "required": [ + "access_token", + "username", + "expires_in", + "refresh_token", + "realm" + ] + } + } + } + } + } + } + }, + "/_security/saml/complete_logout": { + "post": { + "description": "Verifies the logout response sent from the SAML IdP", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-complete-logout.html" + }, + "operationId": "security.saml_complete_logout#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "realm": { + "description": "The name of the SAML realm in Elasticsearch for which the configuration is used to verify the logout response.", + "type": "string" + }, + "ids": { + "$ref": "#/components/schemas/_types:Ids" + }, + "query_string": { + "description": "If the SAML IdP sends the logout response with the HTTP-Redirect binding, this field must be set to the query string of the redirect URI.", + "type": "string" + }, + "content": { + "description": "If the SAML IdP sends the logout response with the HTTP-Post binding, this field must be set to the value of the SAMLResponse form parameter from the logout response.", + "type": "string" + } + }, + "required": [ + "realm", + "ids" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": {} + } + } + } + } + }, + "/_security/saml/invalidate": { + "post": { + "description": "Consumes a SAML LogoutRequest", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-invalidate.html" + }, + "operationId": "security.saml_invalidate#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acs": { + "description": "The Assertion Consumer Service URL that matches the one of the SAML realm in Elasticsearch that should be used. You must specify either this parameter or the realm parameter.", + "type": "string" + }, + "query_string": { + "description": "The query part of the URL that the user was redirected to by the SAML IdP to initiate the Single Logout.\nThis query should include a single parameter named SAMLRequest that contains a SAML logout request that is deflated and Base64 encoded.\nIf the SAML IdP has signed the logout request, the URL should include two extra parameters named SigAlg and Signature that contain the algorithm used for the signature and the signature value itself.\nIn order for Elasticsearch to be able to verify the IdP’s signature, the value of the query_string field must be an exact match to the string provided by the browser.\nThe client application must not attempt to parse or process the string in any way.", + "type": "string" + }, + "realm": { + "description": "The name of the SAML realm in Elasticsearch the configuration. You must specify either this parameter or the acs parameter.", + "type": "string" + } + }, + "required": [ + "query_string" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "invalidated": { + "type": "number" + }, + "realm": { + "type": "string" + }, + "redirect": { + "type": "string" + } + }, + "required": [ + "invalidated", + "realm", + "redirect" + ] + } + } + } + } + } + } + }, + "/_security/saml/logout": { + "post": { + "description": "Invalidates an access token and a refresh token that were generated via the SAML Authenticate API", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-logout.html" + }, + "operationId": "security.saml_logout#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "token": { + "description": "The access token that was returned as a response to calling the SAML authenticate API.\nAlternatively, the most recent token that was received after refreshing the original one by using a refresh_token.", + "type": "string" + }, + "refresh_token": { + "description": "The refresh token that was returned as a response to calling the SAML authenticate API.\nAlternatively, the most recent refresh token that was received after refreshing the original access token.", + "type": "string" + } + }, + "required": [ + "token" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "redirect": { + "type": "string" + } + }, + "required": [ + "redirect" + ] + } + } + } + } + } + } + }, + "/_security/saml/prepare": { + "post": { + "description": "Creates a SAML authentication request", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-prepare-authentication.html" + }, + "operationId": "security.saml_prepare_authentication#0", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acs": { + "description": "The Assertion Consumer Service URL that matches the one of the SAML realms in Elasticsearch.\nThe realm is used to generate the authentication request. You must specify either this parameter or the realm parameter.", + "type": "string" + }, + "realm": { + "description": "The name of the SAML realm in Elasticsearch for which the configuration is used to generate the authentication request.\nYou must specify either this parameter or the acs parameter.", + "type": "string" + }, + "relay_state": { + "description": "A string that will be included in the redirect URL that this API returns as the RelayState query parameter.\nIf the Authentication Request is signed, this value is used as part of the signature computation.", + "type": "string" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "realm": { + "type": "string" + }, + "redirect": { + "type": "string" + } + }, + "required": [ + "id", + "realm", + "redirect" + ] + } + } + } + } + } + } + }, + "/_security/saml/metadata/{realm_name}": { + "get": { + "description": "Generates SAML metadata for the Elastic stack SAML 2.0 Service Provider", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-sp-metadata.html" + }, + "operationId": "security.saml_service_provider_metadata#0", + "parameters": [ + { + "in": "path", + "name": "realm_name", + "description": "The name of the SAML realm in Elasticsearch.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "metadata": { + "type": "string" + } + }, + "required": [ + "metadata" + ] + } + } + } + } + } + } + }, + "/_security/profile/_suggest": { + "get": { + "description": "Get suggestions for user profiles that match specified search criteria.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-suggest-user-profile.html" + }, + "operationId": "security.suggest_user_profiles#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.suggest_user_profiles#data" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.suggest_user_profiles" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.suggest_user_profiles#200" + } + } + }, + "post": { + "description": "Get suggestions for user profiles that match specified search criteria.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-suggest-user-profile.html" + }, + "operationId": "security.suggest_user_profiles#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.suggest_user_profiles#data" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.suggest_user_profiles" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.suggest_user_profiles#200" + } + } + } + }, + "/_security/api_key/{id}": { + "put": { + "description": "Updates attributes of an existing API key.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-api-key.html" + }, + "operationId": "security.update_api_key#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The ID of the API key to update.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "role_descriptors": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html" + }, + "description": "An array of role descriptors for this API key. This parameter is optional. When it is not specified or is an empty array, then the API key will have a point in time snapshot of permissions of the authenticated user. If you supply role descriptors then the resultant permissions would be an intersection of API keys permissions and authenticated user’s permissions thereby limiting the access scope for API keys. The structure of role descriptor is the same as the request for create role API. For more details, see create or update roles API.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:RoleDescriptor" + } + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "updated": { + "description": "If `true`, the API key was updated.\nIf `false`, the API key didn’t change because no change was detected.", + "type": "boolean" + } + }, + "required": [ + "updated" + ] + } + } + } + } + } + } + }, + "/_security/profile/{uid}/_data": { + "put": { + "description": "Update application specific data for the user profile of the given unique ID.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-user-profile-data.html" + }, + "operationId": "security.update_user_profile_data#0", + "parameters": [ + { + "$ref": "#/components/parameters/security.update_user_profile_data#uid" + }, + { + "$ref": "#/components/parameters/security.update_user_profile_data#if_seq_no" + }, + { + "$ref": "#/components/parameters/security.update_user_profile_data#if_primary_term" + }, + { + "$ref": "#/components/parameters/security.update_user_profile_data#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.update_user_profile_data" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.update_user_profile_data#200" + } + } + }, + "post": { + "description": "Update application specific data for the user profile of the given unique ID.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-user-profile-data.html" + }, + "operationId": "security.update_user_profile_data#1", + "parameters": [ + { + "$ref": "#/components/parameters/security.update_user_profile_data#uid" + }, + { + "$ref": "#/components/parameters/security.update_user_profile_data#if_seq_no" + }, + { + "$ref": "#/components/parameters/security.update_user_profile_data#if_primary_term" + }, + { + "$ref": "#/components/parameters/security.update_user_profile_data#refresh" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.update_user_profile_data" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.update_user_profile_data#200" + } + } + } + }, + "/_ssl/certificates": { + "get": { + "description": "Retrieves information about the X.509 certificates used to encrypt communications in the cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-ssl.html" + }, + "operationId": "ssl.certificates#0", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ssl.certificates:CertificateInformation" + } + } + } + } + } + } + } + }, + "/_synonyms/{id}": { + "get": { + "description": "Retrieves a synonym set", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-synonyms-set.html" + }, + "operationId": "synonyms.get_synonym#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "\"The id of the synonyms set to be retrieved", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "from", + "description": "Starting offset for query rules to be retrieved", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "size", + "description": "specifies a max number of query rules to retrieve", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "synonyms_set": { + "type": "array", + "items": { + "$ref": "#/components/schemas/synonyms._types:SynonymRuleRead" + } + } + }, + "required": [ + "count", + "synonyms_set" + ] + } + } + } + } + } + }, + "put": { + "description": "Creates or updates a synonyms set", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-synonyms-set.html" + }, + "operationId": "synonyms.put_synonym#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The id of the synonyms set to be created or updated", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "synonyms_set": { + "description": "The synonym set information to update", + "type": "array", + "items": { + "$ref": "#/components/schemas/synonyms._types:SynonymRule" + } + } + }, + "required": [ + "synonyms_set" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/components/schemas/_types:Result" + }, + "reload_analyzers_details": { + "$ref": "#/components/schemas/indices.reload_search_analyzers:ReloadDetails" + } + }, + "required": [ + "result", + "reload_analyzers_details" + ] + } + } + } + } + } + }, + "delete": { + "description": "Deletes a synonym set", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-synonyms-set.html" + }, + "operationId": "synonyms.delete_synonym#0", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The id of the synonyms set to be deleted", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_synonyms/{set_id}/{rule_id}": { + "get": { + "description": "Retrieves a synonym rule from a synonym set", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-synonym-rule.html" + }, + "operationId": "synonyms.get_synonym_rule#0", + "parameters": [ + { + "in": "path", + "name": "set_id", + "description": "The id of the synonym set to retrieve the synonym rule from", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "rule_id", + "description": "The id of the synonym rule to retrieve", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/synonyms._types:SynonymRuleRead" + } + } + } + } + } + }, + "put": { + "description": "Creates or updates a synonym rule in a synonym set", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-synonym-rule.html" + }, + "operationId": "synonyms.put_synonym_rule#0", + "parameters": [ + { + "in": "path", + "name": "set_id", + "description": "The id of the synonym set to be updated with the synonym rule", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "rule_id", + "description": "The id of the synonym rule to be updated or created", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "synonyms": { + "type": "array", + "items": { + "$ref": "#/components/schemas/synonyms._types:SynonymString" + } + } + }, + "required": [ + "synonyms" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/synonyms._types:SynonymsUpdateResult" + } + } + } + } + } + }, + "delete": { + "description": "Deletes a synonym rule in a synonym set", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-synonym-rule.html" + }, + "operationId": "synonyms.delete_synonym_rule#0", + "parameters": [ + { + "in": "path", + "name": "set_id", + "description": "The id of the synonym set to be updated", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "path", + "name": "rule_id", + "description": "The id of the synonym rule to be deleted", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/synonyms._types:SynonymsUpdateResult" + } + } + } + } + } + } + }, + "/_synonyms": { + "get": { + "description": "Retrieves a summary of all defined synonym sets", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-synonyms-sets.html" + }, + "operationId": "synonyms.get_synonyms_sets#0", + "parameters": [ + { + "in": "query", + "name": "from", + "description": "Starting offset", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "size", + "description": "specifies a max number of results to get", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/synonyms.get_synonyms_sets:SynonymsSetItem" + } + } + }, + "required": [ + "count", + "results" + ] + } + } + } + } + } + } + }, + "/{index}/_terms_enum": { + "get": { + "description": "The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html" + }, + "operationId": "terms_enum#0", + "parameters": [ + { + "$ref": "#/components/parameters/terms_enum#index" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/terms_enum" + }, + "responses": { + "200": { + "$ref": "#/components/responses/terms_enum#200" + } + } + }, + "post": { + "description": "The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html" + }, + "operationId": "terms_enum#1", + "parameters": [ + { + "$ref": "#/components/parameters/terms_enum#index" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/terms_enum" + }, + "responses": { + "200": { + "$ref": "#/components/responses/terms_enum#200" + } + } + } + }, + "/{index}/_termvectors/{id}": { + "get": { + "description": "Returns information and statistics about terms in the fields of a particular document.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" + }, + "operationId": "termvectors#0", + "parameters": [ + { + "$ref": "#/components/parameters/termvectors#index" + }, + { + "$ref": "#/components/parameters/termvectors#id" + }, + { + "$ref": "#/components/parameters/termvectors#fields" + }, + { + "$ref": "#/components/parameters/termvectors#field_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#offsets" + }, + { + "$ref": "#/components/parameters/termvectors#payloads" + }, + { + "$ref": "#/components/parameters/termvectors#positions" + }, + { + "$ref": "#/components/parameters/termvectors#preference" + }, + { + "$ref": "#/components/parameters/termvectors#realtime" + }, + { + "$ref": "#/components/parameters/termvectors#routing" + }, + { + "$ref": "#/components/parameters/termvectors#term_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#version" + }, + { + "$ref": "#/components/parameters/termvectors#version_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/termvectors" + }, + "responses": { + "200": { + "$ref": "#/components/responses/termvectors#200" + } + } + }, + "post": { + "description": "Returns information and statistics about terms in the fields of a particular document.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" + }, + "operationId": "termvectors#1", + "parameters": [ + { + "$ref": "#/components/parameters/termvectors#index" + }, + { + "$ref": "#/components/parameters/termvectors#id" + }, + { + "$ref": "#/components/parameters/termvectors#fields" + }, + { + "$ref": "#/components/parameters/termvectors#field_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#offsets" + }, + { + "$ref": "#/components/parameters/termvectors#payloads" + }, + { + "$ref": "#/components/parameters/termvectors#positions" + }, + { + "$ref": "#/components/parameters/termvectors#preference" + }, + { + "$ref": "#/components/parameters/termvectors#realtime" + }, + { + "$ref": "#/components/parameters/termvectors#routing" + }, + { + "$ref": "#/components/parameters/termvectors#term_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#version" + }, + { + "$ref": "#/components/parameters/termvectors#version_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/termvectors" + }, + "responses": { + "200": { + "$ref": "#/components/responses/termvectors#200" + } + } + } + }, + "/{index}/_termvectors": { + "get": { + "description": "Returns information and statistics about terms in the fields of a particular document.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" + }, + "operationId": "termvectors#2", + "parameters": [ + { + "$ref": "#/components/parameters/termvectors#index" + }, + { + "$ref": "#/components/parameters/termvectors#fields" + }, + { + "$ref": "#/components/parameters/termvectors#field_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#offsets" + }, + { + "$ref": "#/components/parameters/termvectors#payloads" + }, + { + "$ref": "#/components/parameters/termvectors#positions" + }, + { + "$ref": "#/components/parameters/termvectors#preference" + }, + { + "$ref": "#/components/parameters/termvectors#realtime" + }, + { + "$ref": "#/components/parameters/termvectors#routing" + }, + { + "$ref": "#/components/parameters/termvectors#term_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#version" + }, + { + "$ref": "#/components/parameters/termvectors#version_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/termvectors" + }, + "responses": { + "200": { + "$ref": "#/components/responses/termvectors#200" + } + } + }, + "post": { + "description": "Returns information and statistics about terms in the fields of a particular document.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" + }, + "operationId": "termvectors#3", + "parameters": [ + { + "$ref": "#/components/parameters/termvectors#index" + }, + { + "$ref": "#/components/parameters/termvectors#fields" + }, + { + "$ref": "#/components/parameters/termvectors#field_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#offsets" + }, + { + "$ref": "#/components/parameters/termvectors#payloads" + }, + { + "$ref": "#/components/parameters/termvectors#positions" + }, + { + "$ref": "#/components/parameters/termvectors#preference" + }, + { + "$ref": "#/components/parameters/termvectors#realtime" + }, + { + "$ref": "#/components/parameters/termvectors#routing" + }, + { + "$ref": "#/components/parameters/termvectors#term_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#version" + }, + { + "$ref": "#/components/parameters/termvectors#version_type" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/termvectors" + }, + "responses": { + "200": { + "$ref": "#/components/responses/termvectors#200" + } + } + } + }, + "/_text_structure/find_structure": { + "post": { + "description": "Finds the structure of a text file. The text file must contain data that is suitable to be ingested into Elasticsearch.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/find-structure.html" + }, + "operationId": "text_structure.find_structure#0", + "parameters": [ + { + "in": "query", + "name": "charset", + "description": "The text’s character set. It must be a character set that is supported by the JVM that Elasticsearch uses. For example, UTF-8, UTF-16LE, windows-1252, or EUC-JP. If this parameter is not specified, the structure finder chooses an appropriate character set.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "column_names", + "description": "If you have set format to delimited, you can specify the column names in a comma-separated list. If this parameter is not specified, the structure finder uses the column names from the header row of the text. If the text does not have a header role, columns are named \"column1\", \"column2\", \"column3\", etc.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "delimiter", + "description": "If you have set format to delimited, you can specify the character used to delimit the values in each row. Only a single character is supported; the delimiter cannot have multiple characters. By default, the API considers the following possibilities: comma, tab, semi-colon, and pipe (|). In this default scenario, all rows must have the same number of fields for the delimited format to be detected. If you specify a delimiter, up to 10% of the rows can have a different number of columns than the first row.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "explain", + "description": "If this parameter is set to true, the response includes a field named explanation, which is an array of strings that indicate how the structure finder produced its result.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "format", + "description": "The high level structure of the text. Valid values are ndjson, xml, delimited, and semi_structured_text. By default, the API chooses the format. In this default scenario, all rows must have the same number of fields for a delimited format to be detected. If the format is set to delimited and the delimiter is not set, however, the API tolerates up to 5% of rows that have a different number of columns than the first row.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "grok_pattern", + "description": "If you have set format to semi_structured_text, you can specify a Grok pattern that is used to extract fields from every message in the text. The name of the timestamp field in the Grok pattern must match what is specified in the timestamp_field parameter. If that parameter is not specified, the name of the timestamp field in the Grok pattern must match \"timestamp\". If grok_pattern is not specified, the structure finder creates a Grok pattern.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "has_header_row", + "description": "If you have set format to delimited, you can use this parameter to indicate whether the column names are in the first row of the text. If this parameter is not specified, the structure finder guesses based on the similarity of the first row of the text to other rows.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "line_merge_size_limit", + "description": "The maximum number of characters in a message when lines are merged to form messages while analyzing semi-structured text. If you have extremely long messages you may need to increase this, but be aware that this may lead to very long processing times if the way to group lines into messages is misdetected.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:uint" + }, + "style": "form" + }, + { + "in": "query", + "name": "lines_to_sample", + "description": "The number of lines to include in the structural analysis, starting from the beginning of the text. The minimum is 2; If the value of this parameter is greater than the number of lines in the text, the analysis proceeds (as long as there are at least two lines in the text) for all of the lines.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:uint" + }, + "style": "form" + }, + { + "in": "query", + "name": "quote", + "description": "If you have set format to delimited, you can specify the character used to quote the values in each row if they contain newlines or the delimiter character. Only a single character is supported. If this parameter is not specified, the default value is a double quote (\"). If your delimited text format does not use quoting, a workaround is to set this argument to a character that does not appear anywhere in the sample.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "should_trim_fields", + "description": "If you have set format to delimited, you can specify whether values between delimiters should have whitespace trimmed from them. If this parameter is not specified and the delimiter is pipe (|), the default value is true. Otherwise, the default value is false.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Sets the maximum amount of time that the structure analysis make take. If the analysis is still running when the timeout expires then it will be aborted.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timestamp_field", + "description": "Optional parameter to specify the timestamp field in the file", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Field" + }, + "style": "form" + }, + { + "in": "query", + "name": "timestamp_format", + "description": "The Java time format of the timestamp field in the text.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "charset": { + "type": "string" + }, + "has_header_row": { + "type": "boolean" + }, + "has_byte_order_marker": { + "type": "boolean" + }, + "format": { + "type": "string" + }, + "field_stats": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/text_structure.find_structure:FieldStat" + } + }, + "sample_start": { + "type": "string" + }, + "num_messages_analyzed": { + "type": "number" + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "quote": { + "type": "string" + }, + "delimiter": { + "type": "string" + }, + "need_client_timezone": { + "type": "boolean" + }, + "num_lines_analyzed": { + "type": "number" + }, + "column_names": { + "type": "array", + "items": { + "type": "string" + } + }, + "explanation": { + "type": "array", + "items": { + "type": "string" + } + }, + "grok_pattern": { + "type": "string" + }, + "multiline_start_pattern": { + "type": "string" + }, + "exclude_lines_pattern": { + "type": "string" + }, + "java_timestamp_formats": { + "type": "array", + "items": { + "type": "string" + } + }, + "joda_timestamp_formats": { + "type": "array", + "items": { + "type": "string" + } + }, + "timestamp_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "should_trim_fields": { + "type": "boolean" + }, + "ingest_pipeline": { + "$ref": "#/components/schemas/ingest._types:PipelineConfig" + } + }, + "required": [ + "charset", + "has_byte_order_marker", + "format", + "field_stats", + "sample_start", + "num_messages_analyzed", + "mappings", + "need_client_timezone", + "num_lines_analyzed", + "ingest_pipeline" + ] + } + } + } + } + } + } + }, + "/_transform/{transform_id}": { + "get": { + "description": "Retrieves configuration information for transforms.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html" + }, + "operationId": "transform.get_transform#0", + "parameters": [ + { + "$ref": "#/components/parameters/transform.get_transform#transform_id" + }, + { + "$ref": "#/components/parameters/transform.get_transform#allow_no_match" + }, + { + "$ref": "#/components/parameters/transform.get_transform#from" + }, + { + "$ref": "#/components/parameters/transform.get_transform#size" + }, + { + "$ref": "#/components/parameters/transform.get_transform#exclude_generated" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/transform.get_transform#200" + } + } + }, + "put": { + "description": "Instantiates a transform.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html" + }, + "operationId": "transform.put_transform#0", + "parameters": [ + { + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform. This identifier can contain lowercase alphanumeric characters (a-z and 0-9),\nhyphens, and underscores. It has a 64 character limit and must start and end with alphanumeric characters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "defer_validation", + "description": "When the transform is created, a series of validations occur to ensure its success. For example, there is a\ncheck for the existence of the source indices and a check that the destination index is not part of the source\nindex pattern. You can use this parameter to skip the checks, for example when the source index does not exist\nuntil after the transform is created. The validations are always run when you start the transform, however, with\nthe exception of privilege checks.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "dest": { + "$ref": "#/components/schemas/transform._types:Destination" + }, + "description": { + "description": "Free text description of the transform.", + "type": "string" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "latest": { + "$ref": "#/components/schemas/transform._types:Latest" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "pivot": { + "$ref": "#/components/schemas/transform._types:Pivot" + }, + "retention_policy": { + "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" + }, + "settings": { + "$ref": "#/components/schemas/transform._types:Settings" + }, + "source": { + "$ref": "#/components/schemas/transform._types:Source" + }, + "sync": { + "$ref": "#/components/schemas/transform._types:SyncContainer" + } + }, + "required": [ + "dest", + "source" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + }, + "delete": { + "description": "Deletes an existing transform.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-transform.html" + }, + "operationId": "transform.delete_transform#0", + "parameters": [ + { + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "force", + "description": "If this value is false, the transform must be stopped before it can be deleted. If true, the transform is\ndeleted regardless of its current state.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_transform": { + "get": { + "description": "Retrieves configuration information for transforms.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html" + }, + "operationId": "transform.get_transform#1", + "parameters": [ + { + "$ref": "#/components/parameters/transform.get_transform#allow_no_match" + }, + { + "$ref": "#/components/parameters/transform.get_transform#from" + }, + { + "$ref": "#/components/parameters/transform.get_transform#size" + }, + { + "$ref": "#/components/parameters/transform.get_transform#exclude_generated" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/transform.get_transform#200" + } + } + } + }, + "/_transform/{transform_id}/_stats": { + "get": { + "description": "Retrieves usage information for transforms.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform-stats.html" + }, + "operationId": "transform.get_transform_stats#0", + "parameters": [ + { + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform. It can be a transform identifier or a\nwildcard expression. You can get information for all transforms by using\n`_all`, by specifying `*` as the ``, or by omitting the\n``.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no transforms that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf this parameter is false, the request returns a 404 status code when\nthere are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "from", + "description": "Skips the specified number of transforms.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of transforms to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Controls the time to wait for the stats", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "transforms": { + "type": "array", + "items": { + "$ref": "#/components/schemas/transform.get_transform_stats:TransformStats" + } + } + }, + "required": [ + "count", + "transforms" + ] + } + } + } + } + } + } + }, + "/_transform/{transform_id}/_preview": { + "get": { + "description": "Previews a transform.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" + }, + "operationId": "transform.preview_transform#0", + "parameters": [ + { + "$ref": "#/components/parameters/transform.preview_transform#transform_id" + }, + { + "$ref": "#/components/parameters/transform.preview_transform#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/transform.preview_transform" + }, + "responses": { + "200": { + "$ref": "#/components/responses/transform.preview_transform#200" + } + } + }, + "post": { + "description": "Previews a transform.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" + }, + "operationId": "transform.preview_transform#1", + "parameters": [ + { + "$ref": "#/components/parameters/transform.preview_transform#transform_id" + }, + { + "$ref": "#/components/parameters/transform.preview_transform#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/transform.preview_transform" + }, + "responses": { + "200": { + "$ref": "#/components/responses/transform.preview_transform#200" + } + } + } + }, + "/_transform/_preview": { + "get": { + "description": "Previews a transform.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" + }, + "operationId": "transform.preview_transform#2", + "parameters": [ + { + "$ref": "#/components/parameters/transform.preview_transform#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/transform.preview_transform" + }, + "responses": { + "200": { + "$ref": "#/components/responses/transform.preview_transform#200" + } + } + }, + "post": { + "description": "Previews a transform.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" + }, + "operationId": "transform.preview_transform#3", + "parameters": [ + { + "$ref": "#/components/parameters/transform.preview_transform#timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/transform.preview_transform" + }, + "responses": { + "200": { + "$ref": "#/components/responses/transform.preview_transform#200" + } + } + } + }, + "/_transform/{transform_id}/_reset": { + "post": { + "description": "Resets an existing transform.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/reset-transform.html" + }, + "operationId": "transform.reset_transform#0", + "parameters": [ + { + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform. This identifier can contain lowercase alphanumeric characters (a-z and 0-9),\nhyphens, and underscores. It has a 64 character limit and must start and end with alphanumeric characters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "force", + "description": "If this value is `true`, the transform is reset regardless of its current state. If it's `false`, the transform\nmust be stopped before it can be reset.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_transform/{transform_id}/_schedule_now": { + "post": { + "description": "Schedules now a transform.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/schedule-now-transform.html" + }, + "operationId": "transform.schedule_now_transform#0", + "parameters": [ + { + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Controls the time to wait for the scheduling to take place", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_transform/{transform_id}/_start": { + "post": { + "description": "Starts one or more transforms.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/start-transform.html" + }, + "operationId": "transform.start_transform#0", + "parameters": [ + { + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "from", + "description": "Restricts the set of transformed entities to those changed after this time. Relative times like now-30d are supported. Only applicable for continuous transforms.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_transform/{transform_id}/_stop": { + "post": { + "description": "Stops one or more transforms.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-transform.html" + }, + "operationId": "transform.stop_transform#0", + "parameters": [ + { + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform. To stop multiple transforms, use a comma-separated list or a wildcard expression.\nTo stop all transforms, use `_all` or `*` as the identifier.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request: contains wildcard expressions and there are no transforms that match;\ncontains the `_all` string or no identifiers and there are no matches; contains wildcard expressions and there\nare only partial matches.\n\nIf it is true, the API returns a successful acknowledgement message when there are no matches. When there are\nonly partial matches, the API stops the appropriate transforms.\n\nIf it is false, the request returns a 404 status code when there are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "force", + "description": "If it is true, the API forcefully stops the transforms.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response when `wait_for_completion` is `true`. If no response is received before the\ntimeout expires, the request returns a timeout exception. However, the request continues processing and\neventually moves the transform to a STOPPED state.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_checkpoint", + "description": "If it is true, the transform does not completely stop until the current checkpoint is completed. If it is false,\nthe transform stops as soon as possible.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_completion", + "description": "If it is true, the API blocks until the indexer state completely stops. If it is false, the API returns\nimmediately and the indexer is stopped asynchronously in the background.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_transform/{transform_id}/_update": { + "post": { + "description": "Updates certain properties of a transform.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/update-transform.html" + }, + "operationId": "transform.update_transform#0", + "parameters": [ + { + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "defer_validation", + "description": "When true, deferrable validations are not run. This behavior may be\ndesired if the source index does not exist until after the transform is\ncreated.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the\ntimeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "dest": { + "$ref": "#/components/schemas/transform._types:Destination" + }, + "description": { + "description": "Free text description of the transform.", + "type": "string" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "source": { + "$ref": "#/components/schemas/transform._types:Source" + }, + "settings": { + "$ref": "#/components/schemas/transform._types:Settings" + }, + "sync": { + "$ref": "#/components/schemas/transform._types:SyncContainer" + }, + "retention_policy": { + "description": "Defines a retention policy for the transform. Data that meets the defined\ncriteria is deleted from the destination index.", + "oneOf": [ + { + "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" + }, + { + "nullable": true, + "type": "string" + } + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorization": { + "$ref": "#/components/schemas/ml._types:TransformAuthorization" + }, + "create_time": { + "type": "number" + }, + "description": { + "type": "string" + }, + "dest": { + "$ref": "#/components/schemas/_global.reindex:Destination" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "latest": { + "$ref": "#/components/schemas/transform._types:Latest" + }, + "pivot": { + "$ref": "#/components/schemas/transform._types:Pivot" + }, + "retention_policy": { + "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" + }, + "settings": { + "$ref": "#/components/schemas/transform._types:Settings" + }, + "source": { + "$ref": "#/components/schemas/_global.reindex:Source" + }, + "sync": { + "$ref": "#/components/schemas/transform._types:SyncContainer" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + } + }, + "required": [ + "create_time", + "description", + "dest", + "id", + "settings", + "source", + "version" + ] + } + } + } + } + } + } + }, + "/_transform/_upgrade": { + "post": { + "description": "Upgrades all transforms.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/upgrade-transforms.html" + }, + "operationId": "transform.upgrade_transforms#0", + "parameters": [ + { + "in": "query", + "name": "dry_run", + "description": "When true, the request checks for updates but does not run them.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and\nreturns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "needs_update": { + "description": "The number of transforms that need to be upgraded.", + "type": "number" + }, + "no_action": { + "description": "The number of transforms that don’t require upgrading.", + "type": "number" + }, + "updated": { + "description": "The number of transforms that have been upgraded.", + "type": "number" + } + }, + "required": [ + "needs_update", + "no_action", + "updated" + ] + } + } + } + } + } + } + }, + "/{index}/_update/{id}": { + "post": { + "description": "Updates a document with a script or partial document.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html" + }, + "operationId": "update#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "The name of the index", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + { + "in": "path", + "name": "id", + "description": "Document ID", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "if_primary_term", + "description": "Only perform the operation if the document has this primary term.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "if_seq_no", + "description": "Only perform the operation if the document has this sequence number.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "style": "form" + }, + { + "in": "query", + "name": "lang", + "description": "The script language.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "refresh", + "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search, if 'wait_for' then wait for a refresh to make this operation\nvisible to search, if 'false' do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + { + "in": "query", + "name": "require_alias", + "description": "If true, the destination must be an index alias.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "retry_on_conflict", + "description": "Specify how many times should the operation be retried when a conflict occurs.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for dynamic mapping updates and active shards.\nThis guarantees Elasticsearch waits for at least the timeout before failing.\nThe actual wait time could be longer, particularly when multiple waits occur.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operations.\nSet to 'all' or any positive integer up to the total number of shards in the index\n(number_of_replicas+1). Defaults to 1 meaning the primary shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source", + "description": "Set to false to disable source retrieval. You can also specify a comma-separated\nlist of the fields you want to retrieve.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source_excludes", + "description": "Specify the source fields you want to exclude.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + { + "in": "query", + "name": "_source_includes", + "description": "Specify the source fields you want to retrieve.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "detect_noop": { + "description": "Set to false to disable setting 'result' in the response\nto 'noop' if no change to the document occurred.", + "type": "boolean" + }, + "doc": { + "description": "A partial update to an existing document.", + "type": "object" + }, + "doc_as_upsert": { + "description": "Set to true to use the contents of 'doc' as the value of 'upsert'", + "type": "boolean" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "scripted_upsert": { + "description": "Set to true to execute the script whether or not the document exists.", + "type": "boolean" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "upsert": { + "description": "If the document does not already exist, the contents of 'upsert' are inserted as a\nnew document. If the document exists, the 'script' is executed.", + "type": "object" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_global.update:UpdateWriteResponseBase" + } + } + } + } + } + } + }, + "/{index}/_update_by_query": { + "post": { + "description": "Performs an update on every document in the index without changing the source,\nfor example to pick up a mapping change.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html" + }, + "operationId": "update_by_query#0", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams or indices, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "analyzer", + "description": "Analyzer to use for the query string.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "analyze_wildcard", + "description": "If `true`, wildcard and prefix queries are analyzed.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "conflicts", + "description": "What to do if update by query hits version conflicts: `abort` or `proceed`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Conflicts" + }, + "style": "form" + }, + { + "in": "query", + "name": "default_operator", + "description": "The default operator for query string query: `AND` or `OR`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "style": "form" + }, + { + "in": "query", + "name": "df", + "description": "Field to use as default where no field prefix is given in the query string.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "from", + "description": "Starting offset (default: 0)", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "lenient", + "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "max_docs", + "description": "Maximum number of documents to process.\nDefaults to all documents.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "pipeline", + "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "refresh", + "description": "If `true`, Elasticsearch refreshes affected shards to make the operation visible to search.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "request_cache", + "description": "If `true`, the request cache is used for this request.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "requests_per_second", + "description": "The throttle for this request in sub-requests per second.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + { + "in": "query", + "name": "scroll", + "description": "Period to retain the search context for scrolling.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "scroll_size", + "description": "Size of the scroll request that powers the operation.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "search_timeout", + "description": "Explicit timeout for each search request.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "search_type", + "description": "The type of the search operation. Available options: `query_then_fetch`, `dfs_query_then_fetch`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "style": "form" + }, + { + "in": "query", + "name": "slices", + "description": "The number of slices this task should be divided into.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Slices" + }, + "style": "form" + }, + { + "in": "query", + "name": "sort", + "description": "A comma-separated list of : pairs.", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + { + "in": "query", + "name": "stats", + "description": "Specific `tag` of the request for logging and statistical purposes.", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + { + "in": "query", + "name": "terminate_after", + "description": "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.\nUse with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period each update request waits for the following operations: dynamic mapping updates, waiting for active shards.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "version", + "description": "If `true`, returns the document version as part of a hit.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "version_type", + "description": "Should the document increment the version number (internal) on hit or not (reindex)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_completion", + "description": "If `true`, the request blocks until the operation is complete.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "max_docs": { + "description": "The maximum number of documents to update.", + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "slice": { + "$ref": "#/components/schemas/_types:SlicedScroll" + }, + "conflicts": { + "$ref": "#/components/schemas/_types:Conflicts" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "batches": { + "type": "number" + }, + "failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:BulkIndexByScrollFailure" + } + }, + "noops": { + "type": "number" + }, + "deleted": { + "type": "number" + }, + "requests_per_second": { + "type": "number" + }, + "retries": { + "$ref": "#/components/schemas/_types:Retries" + }, + "task": { + "$ref": "#/components/schemas/_types:TaskId" + }, + "timed_out": { + "type": "boolean" + }, + "took": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total": { + "type": "number" + }, + "updated": { + "type": "number" + }, + "version_conflicts": { + "type": "number" + }, + "throttled": { + "$ref": "#/components/schemas/_types:Duration" + }, + "throttled_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "throttled_until": { + "$ref": "#/components/schemas/_types:Duration" + }, + "throttled_until_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + } + } + } + } + } + } + } + }, + "/_xpack": { + "get": { + "description": "Retrieves information about the installed X-Pack features.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html" + }, + "operationId": "xpack.info#0", + "parameters": [ + { + "in": "query", + "name": "categories", + "description": "A comma-separated list of the information categories to include in the response. For example, `build,license,features`.", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + { + "in": "query", + "name": "accept_enterprise", + "description": "If this param is used it must be set to true", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "human", + "description": "Defines whether additional human-readable information is included in the response. In particular, it adds descriptions and a tag line.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "build": { + "$ref": "#/components/schemas/xpack.info:BuildInformation" + }, + "features": { + "$ref": "#/components/schemas/xpack.info:Features" + }, + "license": { + "$ref": "#/components/schemas/xpack.info:MinimalLicenseInformation" + }, + "tagline": { + "type": "string" + } + }, + "required": [ + "build", + "features", + "license", + "tagline" + ] + } + } + } + } + } + } + } + }, + "components": { + "responses": { + "async_search.submit#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/async_search._types:AsyncSearchDocumentResponseBase" + } + } + } + }, + "bulk#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "errors": { + "type": "boolean" + }, + "items": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.bulk:ResponseItem" + }, + "minProperties": 1, + "maxProperties": 1 + } + }, + "took": { + "type": "number" + }, + "ingest_took": { + "type": "number" + } + }, + "required": [ + "errors", + "items", + "took" + ] + } + } + } + }, + "cat.aliases#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.aliases:AliasesRecord" + } + } + } + } + }, + "cat.allocation#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.allocation:AllocationRecord" + } + } + } + } + }, + "cat.component_templates#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.component_templates:ComponentTemplate" + } + } + } + } + }, + "cat.count#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.count:CountRecord" + } + } + } + } + }, + "cat.fielddata#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.fielddata:FielddataRecord" + } + } + } + } + }, + "cat.indices#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.indices:IndicesRecord" + } + } + } + } + }, + "cat.ml_data_frame_analytics#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.ml_data_frame_analytics:DataFrameAnalyticsRecord" + } + } + } + } + }, + "cat.ml_datafeeds#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.ml_datafeeds:DatafeedsRecord" + } + } + } + } + }, + "cat.ml_jobs#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.ml_jobs:JobsRecord" + } + } + } + } + }, + "cat.ml_trained_models#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.ml_trained_models:TrainedModelsRecord" + } + } + } + } + }, + "cat.segments#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.segments:SegmentsRecord" + } + } + } + } + }, + "cat.shards#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.shards:ShardsRecord" + } + } + } + } + }, + "cat.snapshots#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.snapshots:SnapshotsRecord" + } + } + } + } + }, + "cat.templates#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.templates:TemplatesRecord" + } + } + } + } + }, + "cat.thread_pool#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.thread_pool:ThreadPoolRecord" + } + } + } + } + }, + "cat.transforms#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.transforms:TransformsRecord" + } + } + } + } + }, + "clear_scroll#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "succeeded": { + "type": "boolean" + }, + "num_freed": { + "type": "number" + } + }, + "required": [ + "succeeded", + "num_freed" + ] + } + } + } + }, + "cluster.allocation_explain#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allocate_explanation": { + "type": "string" + }, + "allocation_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "allocation_delay_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "can_allocate": { + "$ref": "#/components/schemas/cluster.allocation_explain:Decision" + }, + "can_move_to_other_node": { + "$ref": "#/components/schemas/cluster.allocation_explain:Decision" + }, + "can_rebalance_cluster": { + "$ref": "#/components/schemas/cluster.allocation_explain:Decision" + }, + "can_rebalance_cluster_decisions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.allocation_explain:AllocationDecision" + } + }, + "can_rebalance_to_other_node": { + "$ref": "#/components/schemas/cluster.allocation_explain:Decision" + }, + "can_remain_decisions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.allocation_explain:AllocationDecision" + } + }, + "can_remain_on_current_node": { + "$ref": "#/components/schemas/cluster.allocation_explain:Decision" + }, + "cluster_info": { + "$ref": "#/components/schemas/cluster.allocation_explain:ClusterInfo" + }, + "configured_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "configured_delay_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "current_node": { + "$ref": "#/components/schemas/cluster.allocation_explain:CurrentNode" + }, + "current_state": { + "type": "string" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "move_explanation": { + "type": "string" + }, + "node_allocation_decisions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.allocation_explain:NodeAllocationExplanation" + } + }, + "primary": { + "type": "boolean" + }, + "rebalance_explanation": { + "type": "string" + }, + "remaining_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "remaining_delay_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "shard": { + "type": "number" + }, + "unassigned_info": { + "$ref": "#/components/schemas/cluster.allocation_explain:UnassignedInformation" + }, + "note": { + "type": "string" + } + }, + "required": [ + "current_state", + "index", + "primary", + "shard" + ] + } + } + } + }, + "cluster.get_component_template#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "component_templates": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster._types:ComponentTemplate" + } + } + }, + "required": [ + "component_templates" + ] + } + } + } + }, + "cluster.health#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/cluster.health:HealthResponseBody" + } + } + } + }, + "cluster.put_component_template#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "cluster.state#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "cluster.stats#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/cluster.stats:StatsResponseBase" + } + } + } + }, + "count#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + } + }, + "required": [ + "count", + "_shards" + ] + } + } + } + }, + "create#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:WriteResponseBase" + } + } + } + }, + "enrich.get_policy#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "policies": { + "type": "array", + "items": { + "$ref": "#/components/schemas/enrich._types:Summary" + } + } + }, + "required": [ + "policies" + ] + } + } + } + }, + "field_caps#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "fields": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.field_caps:FieldCapability" + } + } + } + }, + "required": [ + "indices", + "fields" + ] + } + } + } + }, + "fleet.msearch#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "docs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.msearch:ResponseItem" + } + } + }, + "required": [ + "docs" + ] + } + } + } + }, + "fleet.search#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "took": { + "type": "number" + }, + "timed_out": { + "type": "boolean" + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "hits": { + "$ref": "#/components/schemas/_global.search._types:HitsMetadata" + }, + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:Aggregate" + } + }, + "_clusters": { + "$ref": "#/components/schemas/_types:ClusterStatistics" + }, + "fields": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "max_score": { + "type": "number" + }, + "num_reduce_phases": { + "type": "number" + }, + "profile": { + "$ref": "#/components/schemas/_global.search._types:Profile" + }, + "pit_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_scroll_id": { + "$ref": "#/components/schemas/_types:ScrollId" + }, + "suggest": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Suggest" + } + } + }, + "terminated_early": { + "type": "boolean" + } + }, + "required": [ + "took", + "timed_out", + "_shards", + "hits" + ] + } + } + } + }, + "graph.explore#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "connections": { + "type": "array", + "items": { + "$ref": "#/components/schemas/graph._types:Connection" + } + }, + "failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ShardFailure" + } + }, + "timed_out": { + "type": "boolean" + }, + "took": { + "type": "number" + }, + "vertices": { + "type": "array", + "items": { + "$ref": "#/components/schemas/graph._types:Vertex" + } + } + }, + "required": [ + "connections", + "failures", + "timed_out", + "took", + "vertices" + ] + } + } + } + }, + "index#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:WriteResponseBase" + } + } + } + }, + "indices.analyze#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "detail": { + "$ref": "#/components/schemas/indices.analyze:AnalyzeDetail" + }, + "tokens": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.analyze:AnalyzeToken" + } + } + } + } + } + } + }, + "indices.data_streams_stats#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "backing_indices": { + "description": "Total number of backing indices for the selected data streams.", + "type": "number" + }, + "data_stream_count": { + "description": "Total number of selected data streams.", + "type": "number" + }, + "data_streams": { + "description": "Contains statistics for the selected data streams.", + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.data_streams_stats:DataStreamsStatsItem" + } + }, + "total_store_sizes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "total_store_size_bytes": { + "description": "Total size, in bytes, of all shards for the selected data streams.", + "type": "number" + } + }, + "required": [ + "_shards", + "backing_indices", + "data_stream_count", + "data_streams", + "total_store_size_bytes" + ] + } + } + } + }, + "indices.delete_alias#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "indices.exists_alias#200": { + "description": "", + "content": { + "application/json": {} + } + }, + "indices.get_alias#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.get_alias:IndexAliases" + } + } + } + } + }, + "indices.get_data_stream#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data_streams": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices._types:DataStream" + } + } + }, + "required": [ + "data_streams" + ] + } + } + } + }, + "indices.get_index_template#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "index_templates": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.get_index_template:IndexTemplateItem" + } + } + }, + "required": [ + "index_templates" + ] + } + } + } + }, + "indices.get_mapping#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.get_mapping:IndexMappingRecord" + } + } + } + } + }, + "indices.get_settings#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:IndexState" + } + } + } + } + }, + "indices.get_template#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:TemplateMapping" + } + } + } + } + }, + "indices.put_alias#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "indices.put_index_template#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "indices.put_mapping#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:IndicesResponseBase" + } + } + } + }, + "indices.put_settings#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "indices.put_template#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "indices.recovery#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.recovery:RecoveryStatus" + } + } + } + } + }, + "indices.rollover#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "conditions": { + "type": "object", + "additionalProperties": { + "type": "boolean" + } + }, + "dry_run": { + "type": "boolean" + }, + "new_index": { + "type": "string" + }, + "old_index": { + "type": "string" + }, + "rolled_over": { + "type": "boolean" + }, + "shards_acknowledged": { + "type": "boolean" + } + }, + "required": [ + "acknowledged", + "conditions", + "dry_run", + "new_index", + "old_index", + "rolled_over", + "shards_acknowledged" + ] + } + } + } + }, + "indices.simulate_template#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "overlapping": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.simulate_template:Overlapping" + } + }, + "template": { + "$ref": "#/components/schemas/indices.simulate_template:Template" + } + }, + "required": [ + "template" + ] + } + } + } + }, + "indices.stats#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "indices": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.stats:IndicesStats" + } + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "_all": { + "$ref": "#/components/schemas/indices.stats:IndicesStats" + } + }, + "required": [ + "_shards", + "_all" + ] + } + } + } + }, + "indices.validate_query#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "explanations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.validate_query:IndicesValidationExplanation" + } + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "valid": { + "type": "boolean" + }, + "error": { + "type": "string" + } + }, + "required": [ + "valid" + ] + } + } + } + }, + "ingest.get_pipeline#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ingest._types:Pipeline" + } + } + } + } + }, + "ingest.simulate#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "docs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest.simulate:PipelineSimulation" + } + } + }, + "required": [ + "docs" + ] + } + } + } + }, + "logstash.get_pipeline#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/logstash._types:Pipeline" + } + } + } + } + }, + "mget#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "docs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.mget:ResponseItem" + } + } + }, + "required": [ + "docs" + ] + } + } + } + }, + "ml.delete_expired_data#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "deleted": { + "type": "boolean" + } + }, + "required": [ + "deleted" + ] + } + } + } + }, + "ml.delete_forecast#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "ml.explain_data_frame_analytics#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "field_selection": { + "description": "An array of objects that explain selection for each field, sorted by the field names.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsFieldSelection" + } + }, + "memory_estimation": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsMemoryEstimation" + } + }, + "required": [ + "field_selection", + "memory_estimation" + ] + } + } + } + }, + "ml.get_buckets#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "buckets": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:BucketSummary" + } + }, + "count": { + "type": "number" + } + }, + "required": [ + "buckets", + "count" + ] + } + } + } + }, + "ml.get_calendars#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "calendars": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.get_calendars:Calendar" + } + }, + "count": { + "type": "number" + } + }, + "required": [ + "calendars", + "count" + ] + } + } + } + }, + "ml.get_categories#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "categories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Category" + } + }, + "count": { + "type": "number" + } + }, + "required": [ + "categories", + "count" + ] + } + } + } + }, + "ml.get_data_frame_analytics#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "data_frame_analytics": { + "description": "An array of data frame analytics job resources, which are sorted by the id value in ascending order.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSummary" + } + } + }, + "required": [ + "count", + "data_frame_analytics" + ] + } + } + } + }, + "ml.get_data_frame_analytics_stats#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "data_frame_analytics": { + "description": "An array of objects that contain usage information for data frame analytics jobs, which are sorted by the id value in ascending order.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DataframeAnalytics" + } + } + }, + "required": [ + "count", + "data_frame_analytics" + ] + } + } + } + }, + "ml.get_datafeed_stats#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "datafeeds": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DatafeedStats" + } + } + }, + "required": [ + "count", + "datafeeds" + ] + } + } + } + }, + "ml.get_datafeeds#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "datafeeds": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Datafeed" + } + } + }, + "required": [ + "count", + "datafeeds" + ] + } + } + } + }, + "ml.get_filters#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Filter" + } + } + }, + "required": [ + "count", + "filters" + ] + } + } + } + }, + "ml.get_influencers#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "influencers": { + "description": "Array of influencer objects", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Influencer" + } + } + }, + "required": [ + "count", + "influencers" + ] + } + } + } + }, + "ml.get_job_stats#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "jobs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:JobStats" + } + } + }, + "required": [ + "count", + "jobs" + ] + } + } + } + }, + "ml.get_jobs#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "jobs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Job" + } + } + }, + "required": [ + "count", + "jobs" + ] + } + } + } + }, + "ml.get_memory_stats#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_nodes": { + "$ref": "#/components/schemas/_types:NodeStatistics" + }, + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ml.get_memory_stats:Memory" + } + } + }, + "required": [ + "_nodes", + "cluster_name", + "nodes" + ] + } + } + } + }, + "ml.get_model_snapshots#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "model_snapshots": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:ModelSnapshot" + } + } + }, + "required": [ + "count", + "model_snapshots" + ] + } + } + } + }, + "ml.get_overall_buckets#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "overall_buckets": { + "description": "Array of overall bucket objects", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:OverallBucket" + } + } + }, + "required": [ + "count", + "overall_buckets" + ] + } + } + } + }, + "ml.get_records#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "records": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Anomaly" + } + } + }, + "required": [ + "count", + "records" + ] + } + } + } + }, + "ml.get_trained_models#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "trained_model_configs": { + "description": "An array of trained model resources, which are sorted by the model_id value in ascending order.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TrainedModelConfig" + } + } + }, + "required": [ + "count", + "trained_model_configs" + ] + } + } + } + }, + "ml.get_trained_models_stats#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "description": "The total number of trained model statistics that matched the requested ID patterns. Could be higher than the number of items in the trained_model_stats array as the size of the array is restricted by the supplied size parameter.", + "type": "number" + }, + "trained_model_stats": { + "description": "An array of trained model statistics, which are sorted by the model_id value in ascending order.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TrainedModelStats" + } + } + }, + "required": [ + "count", + "trained_model_stats" + ] + } + } + } + }, + "ml.infer_trained_model#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "inference_results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:InferenceResponseResult" + } + } + }, + "required": [ + "inference_results" + ] + } + } + } + }, + "ml.preview_data_frame_analytics#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "feature_values": { + "description": "An array of objects that contain feature name and value pairs. The features have been processed and indicate what will be sent to the model for training.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "required": [ + "feature_values" + ] + } + } + } + }, + "ml.preview_datafeed#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object" + } + } + } + } + }, + "msearch#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_global.msearch:MultiSearchResult" + } + } + } + }, + "msearch_template#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_global.msearch:MultiSearchResult" + } + } + } + }, + "mtermvectors#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "docs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.mtermvectors:TermVectorsResult" + } + } + }, + "required": [ + "docs" + ] + } + } + } + }, + "nodes.hot_threads#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "hot_threads": { + "type": "array", + "items": { + "$ref": "#/components/schemas/nodes.hot_threads:HotThread" + } + } + }, + "required": [ + "hot_threads" + ] + } + } + } + }, + "nodes.info#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/nodes.info:ResponseBase" + } + } + } + }, + "nodes.stats#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/nodes.stats:ResponseBase" + } + } + } + }, + "nodes.usage#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/nodes.usage:ResponseBase" + } + } + } + }, + "put_script#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "rank_eval#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "metric_score": { + "description": "The overall evaluation quality calculated by the defined metric", + "type": "number" + }, + "details": { + "description": "The details section contains one entry for every query in the original requests section, keyed by the search request id", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricDetail" + } + }, + "failures": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "required": [ + "metric_score", + "details", + "failures" + ] + } + } + } + }, + "render_search_template#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "template_output": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "required": [ + "template_output" + ] + } + } + } + }, + "scripts_painless_execute#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "result": { + "type": "object" + } + }, + "required": [ + "result" + ] + } + } + } + }, + "scroll#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_global.search:ResponseBody" + } + } + } + }, + "search#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_global.search:ResponseBody" + } + } + } + }, + "search_application.get_behavioral_analytics#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/search_application._types:AnalyticsCollection" + } + } + } + } + }, + "search_application.search#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_global.search:ResponseBody" + } + } + } + }, + "search_mvt#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:MapboxVectorTiles" + } + } + } + }, + "search_template#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "took": { + "type": "number" + }, + "timed_out": { + "type": "boolean" + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "hits": { + "$ref": "#/components/schemas/_global.search._types:HitsMetadata" + }, + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:Aggregate" + } + }, + "_clusters": { + "$ref": "#/components/schemas/_types:ClusterStatistics" + }, + "fields": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "max_score": { + "type": "number" + }, + "num_reduce_phases": { + "type": "number" + }, + "profile": { + "$ref": "#/components/schemas/_global.search._types:Profile" + }, + "pit_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_scroll_id": { + "$ref": "#/components/schemas/_types:ScrollId" + }, + "suggest": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Suggest" + } + } + }, + "terminated_early": { + "type": "boolean" + } + }, + "required": [ + "took", + "timed_out", + "_shards", + "hits" + ] + } + } + } + }, + "security.create_api_key#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "api_key": { + "description": "Generated API key.", + "type": "string" + }, + "expiration": { + "description": "Expiration in milliseconds for the API key.", + "type": "number" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "encoded": { + "description": "API key credentials which is the base64-encoding of\nthe UTF-8 representation of `id` and `api_key` joined\nby a colon (`:`).", + "type": "string" + } + }, + "required": [ + "api_key", + "id", + "name", + "encoded" + ] + } + } + } + }, + "security.create_service_token#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "created": { + "type": "boolean" + }, + "token": { + "$ref": "#/components/schemas/security.create_service_token:Token" + } + }, + "required": [ + "created", + "token" + ] + } + } + } + }, + "security.disable_user_profile#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "security.enable_user_profile#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "security.get_privileges#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security.put_privileges:Actions" + } + } + } + } + } + }, + "security.get_role#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security.get_role:Role" + } + } + } + } + }, + "security.get_role_mapping#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:RoleMapping" + } + } + } + } + }, + "security.get_service_accounts#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security.get_service_accounts:RoleDescriptorWrapper" + } + } + } + } + }, + "security.has_privileges#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "application": { + "$ref": "#/components/schemas/security.has_privileges:ApplicationsPrivileges" + }, + "cluster": { + "type": "object", + "additionalProperties": { + "type": "boolean" + } + }, + "has_all_requested": { + "type": "boolean" + }, + "index": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security.has_privileges:Privileges" + } + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + } + }, + "required": [ + "application", + "cluster", + "has_all_requested", + "index", + "username" + ] + } + } + } + }, + "security.has_privileges_user_profile#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "has_privilege_uids": { + "description": "The subset of the requested profile IDs of the users that\nhave all the requested privileges.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:UserProfileId" + } + }, + "errors": { + "$ref": "#/components/schemas/security.has_privileges_user_profile:HasPrivilegesUserProfileErrors" + } + }, + "required": [ + "has_privilege_uids" + ] + } + } + } + }, + "security.put_privileges#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:CreatedStatus" + } + } + } + } + } + }, + "security.put_role#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "role": { + "$ref": "#/components/schemas/security._types:CreatedStatus" + } + }, + "required": [ + "role" + ] + } + } + } + }, + "security.put_role_mapping#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "created": { + "type": "boolean" + }, + "role_mapping": { + "$ref": "#/components/schemas/security._types:CreatedStatus" + } + }, + "required": [ + "role_mapping" + ] + } + } + } + }, + "security.query_api_keys#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total": { + "description": "The total number of API keys found.", + "type": "number" + }, + "count": { + "description": "The number of API keys returned in the response.", + "type": "number" + }, + "api_keys": { + "description": "A list of API key information.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:ApiKey" + } + } + }, + "required": [ + "total", + "count", + "api_keys" + ] + } + } + } + }, + "security.suggest_user_profiles#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total": { + "$ref": "#/components/schemas/security.suggest_user_profiles:TotalUserProfiles" + }, + "took": { + "type": "number" + }, + "profiles": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:UserProfile" + } + } + }, + "required": [ + "total", + "took", + "profiles" + ] + } + } + } + }, + "security.update_user_profile_data#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "terms_enum#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "terms": { + "type": "array", + "items": { + "type": "string" + } + }, + "complete": { + "type": "boolean" + } + }, + "required": [ + "_shards", + "terms", + "complete" + ] + } + } + } + }, + "termvectors#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "found": { + "type": "boolean" + }, + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "term_vectors": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.termvectors:TermVector" + } + }, + "took": { + "type": "number" + }, + "_version": { + "$ref": "#/components/schemas/_types:VersionNumber" + } + }, + "required": [ + "found", + "_id", + "_index", + "took", + "_version" + ] + } + } + } + }, + "transform.get_transform#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "transforms": { + "type": "array", + "items": { + "$ref": "#/components/schemas/transform.get_transform:TransformSummary" + } + } + }, + "required": [ + "count", + "transforms" + ] + } + } + } + }, + "transform.preview_transform#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "generated_dest_index": { + "$ref": "#/components/schemas/indices._types:IndexState" + }, + "preview": { + "type": "array", + "items": { + "type": "object" + } + } + }, + "required": [ + "generated_dest_index", + "preview" + ] + } + } + } + } + }, + "parameters": { + "async_search.submit#index": { + "in": "path", + "name": "index", + "description": "A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "async_search.submit#wait_for_completion_timeout": { + "in": "query", + "name": "wait_for_completion_timeout", + "description": "Blocks and waits until the search is completed up to a certain timeout.\nWhen the async search completes within the timeout, the response won’t include the ID as the results are not stored in the cluster.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "async_search.submit#keep_on_completion": { + "in": "query", + "name": "keep_on_completion", + "description": "If `true`, results are stored for later retrieval when the search completes within the `wait_for_completion_timeout`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#keep_alive": { + "in": "query", + "name": "keep_alive", + "description": "Specifies how long the async search needs to be available.\nOngoing async searches and any saved search results are deleted after this period.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "async_search.submit#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#allow_partial_search_results": { + "in": "query", + "name": "allow_partial_search_results", + "description": "Indicate if an error should be returned if there is a partial search failure or timeout", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#analyzer": { + "in": "query", + "name": "analyzer", + "description": "The analyzer to use for the query string", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "async_search.submit#analyze_wildcard": { + "in": "query", + "name": "analyze_wildcard", + "description": "Specify whether wildcard and prefix queries should be analyzed (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#batched_reduce_size": { + "in": "query", + "name": "batched_reduce_size", + "description": "Affects how often partial results become available, which happens whenever shard results are reduced.\nA partial reduction is performed every time the coordinating node has received a certain number of new shard responses (5 by default).", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "async_search.submit#ccs_minimize_roundtrips": { + "in": "query", + "name": "ccs_minimize_roundtrips", + "description": "The default value is the only supported value.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#default_operator": { + "in": "query", + "name": "default_operator", + "description": "The default operator for query string query (AND or OR)", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "style": "form" + }, + "async_search.submit#df": { + "in": "query", + "name": "df", + "description": "The field to use as default where no field prefix is given in the query string", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "async_search.submit#docvalue_fields": { + "in": "query", + "name": "docvalue_fields", + "description": "A comma-separated list of fields to return as the docvalue representation of a field for each hit", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "async_search.submit#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "async_search.submit#explain": { + "in": "query", + "name": "explain", + "description": "Specify whether to return detailed information about score computation as part of a hit", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#ignore_throttled": { + "in": "query", + "name": "ignore_throttled", + "description": "Whether specified concrete, expanded or aliased indices should be ignored when throttled", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#lenient": { + "in": "query", + "name": "lenient", + "description": "Specify whether format-based query failures (such as providing text to a numeric field) should be ignored", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#max_concurrent_shard_requests": { + "in": "query", + "name": "max_concurrent_shard_requests", + "description": "The number of concurrent shard requests per node this search executes concurrently. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "async_search.submit#min_compatible_shard_node": { + "in": "query", + "name": "min_compatible_shard_node", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "style": "form" + }, + "async_search.submit#preference": { + "in": "query", + "name": "preference", + "description": "Specify the node or shard the operation should be performed on (default: random)", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "async_search.submit#pre_filter_shard_size": { + "in": "query", + "name": "pre_filter_shard_size", + "description": "The default value cannot be changed, which enforces the execution of a pre-filter roundtrip to retrieve statistics from each shard so that the ones that surely don’t hold any document matching the query get skipped.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "async_search.submit#request_cache": { + "in": "query", + "name": "request_cache", + "description": "Specify if request cache should be used for this request or not, defaults to true", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#routing": { + "in": "query", + "name": "routing", + "description": "A comma-separated list of specific routing values", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "async_search.submit#scroll": { + "in": "query", + "name": "scroll", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "async_search.submit#search_type": { + "in": "query", + "name": "search_type", + "description": "Search operation type", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "style": "form" + }, + "async_search.submit#stats": { + "in": "query", + "name": "stats", + "description": "Specific 'tag' of the request for logging and statistical purposes", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + "async_search.submit#stored_fields": { + "in": "query", + "name": "stored_fields", + "description": "A comma-separated list of stored fields to return as part of a hit", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "async_search.submit#suggest_field": { + "in": "query", + "name": "suggest_field", + "description": "Specifies which field to use for suggestions.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Field" + }, + "style": "form" + }, + "async_search.submit#suggest_mode": { + "in": "query", + "name": "suggest_mode", + "description": "Specify suggest mode", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SuggestMode" + }, + "style": "form" + }, + "async_search.submit#suggest_size": { + "in": "query", + "name": "suggest_size", + "description": "How many suggestions to return in response", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "async_search.submit#suggest_text": { + "in": "query", + "name": "suggest_text", + "description": "The source text for which the suggestions should be returned.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "async_search.submit#terminate_after": { + "in": "query", + "name": "terminate_after", + "description": "The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "async_search.submit#timeout": { + "in": "query", + "name": "timeout", + "description": "Explicit operation timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "async_search.submit#track_total_hits": { + "in": "query", + "name": "track_total_hits", + "description": "Indicate if the number of documents that match the query should be tracked. A number can also be specified, to accurately track the total hit count up to the number.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:TrackHits" + }, + "style": "form" + }, + "async_search.submit#track_scores": { + "in": "query", + "name": "track_scores", + "description": "Whether to calculate and return scores even if they are not used for sorting", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#typed_keys": { + "in": "query", + "name": "typed_keys", + "description": "Specify whether aggregation and suggester names should be prefixed by their respective types in the response", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#rest_total_hits_as_int": { + "in": "query", + "name": "rest_total_hits_as_int", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#version": { + "in": "query", + "name": "version", + "description": "Specify whether to return document version as part of a hit", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#_source": { + "in": "query", + "name": "_source", + "description": "True or false to return the _source field or not, or a list of fields to return", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" + }, + "async_search.submit#_source_excludes": { + "in": "query", + "name": "_source_excludes", + "description": "A list of fields to exclude from the returned _source field", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "async_search.submit#_source_includes": { + "in": "query", + "name": "_source_includes", + "description": "A list of fields to extract and return from the _source field", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "async_search.submit#seq_no_primary_term": { + "in": "query", + "name": "seq_no_primary_term", + "description": "Specify whether to return sequence number and primary term of the last modification of each hit", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "async_search.submit#q": { + "in": "query", + "name": "q", + "description": "Query in the Lucene query string syntax", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "async_search.submit#size": { + "in": "query", + "name": "size", + "description": "Number of hits to return (default: 10)", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "async_search.submit#from": { + "in": "query", + "name": "from", + "description": "Starting offset (default: 0)", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "async_search.submit#sort": { + "in": "query", + "name": "sort", + "description": "A comma-separated list of : pairs", + "deprecated": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "style": "form" + }, + "bulk#index": { + "in": "path", + "name": "index", + "description": "Name of the data stream, index, or index alias to perform bulk actions on.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "bulk#pipeline": { + "in": "query", + "name": "pipeline", + "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "bulk#refresh": { + "in": "query", + "name": "refresh", + "description": "If `true`, Elasticsearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.\nValid values: `true`, `false`, `wait_for`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "bulk#routing": { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "bulk#_source": { + "in": "query", + "name": "_source", + "description": "`true` or `false` to return the `_source` field or not, or a list of fields to return.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" + }, + "bulk#_source_excludes": { + "in": "query", + "name": "_source_excludes", + "description": "A comma-separated list of source fields to exclude from the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "bulk#_source_includes": { + "in": "query", + "name": "_source_includes", + "description": "A comma-separated list of source fields to include in the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "bulk#timeout": { + "in": "query", + "name": "timeout", + "description": "Period each action waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "bulk#wait_for_active_shards": { + "in": "query", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + }, + "bulk#require_alias": { + "in": "query", + "name": "require_alias", + "description": "If `true`, the request’s actions must target an index alias.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cat.aliases#name": { + "in": "path", + "name": "name", + "description": "A comma-separated list of aliases to retrieve. Supports wildcards (`*`). To retrieve all aliases, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "cat.aliases#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "cat.allocation#node_id": { + "in": "path", + "name": "node_id", + "description": "Comma-separated list of node identifiers or names used to limit the returned information.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:NodeIds" + }, + "style": "simple" + }, + "cat.allocation#bytes": { + "in": "query", + "name": "bytes", + "description": "The unit used to display byte values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Bytes" + }, + "style": "form" + }, + "cat.component_templates#name": { + "in": "path", + "name": "name", + "description": "The name of the component template. Accepts wildcard expressions. If omitted, all component templates are returned.", + "required": true, + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "simple" + }, + "cat.count#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`). To target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "cat.fielddata#fields": { + "in": "path", + "name": "fields", + "description": "Comma-separated list of fields used to limit returned information.\nTo retrieve all fields, omit this parameter.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "simple" + }, + "cat.fielddata#bytes": { + "in": "query", + "name": "bytes", + "description": "The unit used to display byte values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Bytes" + }, + "style": "form" + }, + "cat.fielddata#fields_": { + "in": "query", + "name": "fields", + "description": "Comma-separated list of fields used to limit returned information.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "cat.indices#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`). To target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "cat.indices#bytes": { + "in": "query", + "name": "bytes", + "description": "The unit used to display byte values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Bytes" + }, + "style": "form" + }, + "cat.indices#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "The type of index that wildcard patterns can match.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "cat.indices#health": { + "in": "query", + "name": "health", + "description": "The health status used to limit returned indices. By default, the response includes indices of any health status.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:HealthStatus" + }, + "style": "form" + }, + "cat.indices#include_unloaded_segments": { + "in": "query", + "name": "include_unloaded_segments", + "description": "If true, the response includes information from segments that are not loaded into memory.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cat.indices#pri": { + "in": "query", + "name": "pri", + "description": "If true, the response only includes information from primary shards.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cat.indices#time": { + "in": "query", + "name": "time", + "description": "The unit used to display time values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:TimeUnit" + }, + "style": "form" + }, + "cat.ml_data_frame_analytics#id": { + "in": "path", + "name": "id", + "description": "The ID of the data frame analytics to fetch", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "cat.ml_data_frame_analytics#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Whether to ignore if a wildcard expression matches no configs. (This includes `_all` string or when no configs have been specified)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cat.ml_data_frame_analytics#bytes": { + "in": "query", + "name": "bytes", + "description": "The unit in which to display byte values", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Bytes" + }, + "style": "form" + }, + "cat.ml_data_frame_analytics#h": { + "in": "query", + "name": "h", + "description": "Comma-separated list of column names to display.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/cat._types:CatDfaColumns" + }, + "style": "form" + }, + "cat.ml_data_frame_analytics#s": { + "in": "query", + "name": "s", + "description": "Comma-separated list of column names or column aliases used to sort the\nresponse.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/cat._types:CatDfaColumns" + }, + "style": "form" + }, + "cat.ml_data_frame_analytics#time": { + "in": "query", + "name": "time", + "description": "Unit used to display time values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "cat.ml_datafeeds#datafeed_id": { + "in": "path", + "name": "datafeed_id", + "description": "A numerical character string that uniquely identifies the datafeed.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "cat.ml_datafeeds#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n* Contains wildcard expressions and there are no datafeeds that match.\n* Contains the `_all` string or no identifiers and there are no matches.\n* Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the API returns an empty datafeeds array when there are no matches and the subset of results when\nthere are partial matches. If `false`, the API returns a 404 status code when there are no matches or only\npartial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cat.ml_datafeeds#h": { + "in": "query", + "name": "h", + "description": "Comma-separated list of column names to display.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/cat._types:CatDatafeedColumns" + }, + "style": "form" + }, + "cat.ml_datafeeds#s": { + "in": "query", + "name": "s", + "description": "Comma-separated list of column names or column aliases used to sort the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/cat._types:CatDatafeedColumns" + }, + "style": "form" + }, + "cat.ml_datafeeds#time": { + "in": "query", + "name": "time", + "description": "The unit used to display time values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:TimeUnit" + }, + "style": "form" + }, + "cat.ml_jobs#job_id": { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "cat.ml_jobs#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n* Contains wildcard expressions and there are no jobs that match.\n* Contains the `_all` string or no identifiers and there are no matches.\n* Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the API returns an empty jobs array when there are no matches and the subset of results when there\nare partial matches. If `false`, the API returns a 404 status code when there are no matches or only partial\nmatches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cat.ml_jobs#bytes": { + "in": "query", + "name": "bytes", + "description": "The unit used to display byte values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Bytes" + }, + "style": "form" + }, + "cat.ml_jobs#h": { + "in": "query", + "name": "h", + "description": "Comma-separated list of column names to display.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/cat._types:CatAnonalyDetectorColumns" + }, + "style": "form" + }, + "cat.ml_jobs#s": { + "in": "query", + "name": "s", + "description": "Comma-separated list of column names or column aliases used to sort the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/cat._types:CatAnonalyDetectorColumns" + }, + "style": "form" + }, + "cat.ml_jobs#time": { + "in": "query", + "name": "time", + "description": "The unit used to display time values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:TimeUnit" + }, + "style": "form" + }, + "cat.ml_trained_models#model_id": { + "in": "path", + "name": "model_id", + "description": "A unique identifier for the trained model.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "cat.ml_trained_models#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request: contains wildcard expressions and there are no models that match; contains the `_all` string or no identifiers and there are no matches; contains wildcard expressions and there are only partial matches.\nIf `true`, the API returns an empty array when there are no matches and the subset of results when there are partial matches.\nIf `false`, the API returns a 404 status code when there are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cat.ml_trained_models#bytes": { + "in": "query", + "name": "bytes", + "description": "The unit used to display byte values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Bytes" + }, + "style": "form" + }, + "cat.ml_trained_models#h": { + "in": "query", + "name": "h", + "description": "A comma-separated list of column names to display.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/cat._types:CatTrainedModelsColumns" + }, + "style": "form" + }, + "cat.ml_trained_models#s": { + "in": "query", + "name": "s", + "description": "A comma-separated list of column names or aliases used to sort the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/cat._types:CatTrainedModelsColumns" + }, + "style": "form" + }, + "cat.ml_trained_models#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of transforms.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "cat.ml_trained_models#size": { + "in": "query", + "name": "size", + "description": "The maximum number of transforms to display.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "cat.segments#index": { + "in": "path", + "name": "index", + "description": "A comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "cat.segments#bytes": { + "in": "query", + "name": "bytes", + "description": "The unit used to display byte values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Bytes" + }, + "style": "form" + }, + "cat.shards#index": { + "in": "path", + "name": "index", + "description": "A comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "cat.shards#bytes": { + "in": "query", + "name": "bytes", + "description": "The unit used to display byte values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Bytes" + }, + "style": "form" + }, + "cat.snapshots#repository": { + "in": "path", + "name": "repository", + "description": "A comma-separated list of snapshot repositories used to limit the request.\nAccepts wildcard expressions.\n`_all` returns all repositories.\nIf any repository fails during the request, Elasticsearch returns an error.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "cat.snapshots#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `true`, the response does not include information from unavailable snapshots.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cat.templates#name": { + "in": "path", + "name": "name", + "description": "The name of the template to return.\nAccepts wildcard expressions. If omitted, all templates are returned.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "cat.thread_pool#thread_pool_patterns": { + "in": "path", + "name": "thread_pool_patterns", + "description": "A comma-separated list of thread pool names used to limit the request.\nAccepts wildcard expressions.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "cat.thread_pool#time": { + "in": "query", + "name": "time", + "description": "The unit used to display time values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:TimeUnit" + }, + "style": "form" + }, + "cat.transforms#transform_id": { + "in": "path", + "name": "transform_id", + "description": "A transform identifier or a wildcard expression.\nIf you do not specify one of these options, the API returns information for all transforms.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "cat.transforms#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request: contains wildcard expressions and there are no transforms that match; contains the `_all` string or no identifiers and there are no matches; contains wildcard expressions and there are only partial matches.\nIf `true`, it returns an empty transforms array when there are no matches and the subset of results when there are partial matches.\nIf `false`, the request returns a 404 status code when there are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cat.transforms#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of transforms.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "cat.transforms#h": { + "in": "query", + "name": "h", + "description": "Comma-separated list of column names to display.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/cat._types:CatTransformColumns" + }, + "style": "form" + }, + "cat.transforms#s": { + "in": "query", + "name": "s", + "description": "Comma-separated list of column names or column aliases used to sort the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/cat._types:CatTransformColumns" + }, + "style": "form" + }, + "cat.transforms#time": { + "in": "query", + "name": "time", + "description": "The unit used to display time values.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:TimeUnit" + }, + "style": "form" + }, + "cat.transforms#size": { + "in": "query", + "name": "size", + "description": "The maximum number of transforms to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "clear_scroll#scroll_id": { + "in": "path", + "name": "scroll_id", + "description": "Comma-separated list of scroll IDs to clear.\nTo clear all scroll IDs, use `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ScrollIds" + }, + "style": "simple" + }, + "cluster.allocation_explain#include_disk_info": { + "in": "query", + "name": "include_disk_info", + "description": "If true, returns information about disk usage and shard sizes.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.allocation_explain#include_yes_decisions": { + "in": "query", + "name": "include_yes_decisions", + "description": "If true, returns YES decisions in explanation.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.get_component_template#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list of component template names used to limit the request.\nWildcard (`*`) expressions are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "cluster.get_component_template#flat_settings": { + "in": "query", + "name": "flat_settings", + "description": "If `true`, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.get_component_template#include_defaults": { + "in": "query", + "name": "include_defaults", + "description": "Return all default configurations for the component template (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.get_component_template#local": { + "in": "query", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only.\nIf `false`, information is retrieved from the master node.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.get_component_template#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "cluster.health#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and index aliases used to limit the request. Wildcard expressions (*) are supported. To target all data streams and indices in a cluster, omit this parameter or use _all or *.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "cluster.health#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "cluster.health#level": { + "in": "query", + "name": "level", + "description": "Can be one of cluster, indices or shards. Controls the details level of the health information returned.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Level" + }, + "style": "form" + }, + "cluster.health#local": { + "in": "query", + "name": "local", + "description": "If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.health#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "cluster.health#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "cluster.health#wait_for_active_shards": { + "in": "query", + "name": "wait_for_active_shards", + "description": "A number controlling to how many active shards to wait for, all to wait for all shards in the cluster to be active, or 0 to not wait.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + }, + "cluster.health#wait_for_events": { + "in": "query", + "name": "wait_for_events", + "description": "Can be one of immediate, urgent, high, normal, low, languid. Wait until all currently queued events with the given priority are processed.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForEvents" + }, + "style": "form" + }, + "cluster.health#wait_for_nodes": { + "in": "query", + "name": "wait_for_nodes", + "description": "The request waits until the specified number N of nodes is available. It also accepts >=N, <=N, >N and yellow > red. By default, will not wait for any status.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:HealthStatus" + }, + "style": "form" + }, + "cluster.put_component_template#name": { + "in": "path", + "name": "name", + "description": "Name of the component template to create.\nElasticsearch includes the following built-in component templates: `logs-mappings`; 'logs-settings`; `metrics-mappings`; `metrics-settings`;`synthetics-mapping`; `synthetics-settings`.\nElastic Agent uses these templates to configure backing indices for its data streams.\nIf you use Elastic Agent and want to overwrite one of these templates, set the `version` for your replacement template higher than the current version.\nIf you don’t use Elastic Agent and want to disable all built-in component and index templates, set `stack.templates.enabled` to `false` using the cluster update settings API.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "cluster.put_component_template#create": { + "in": "query", + "name": "create", + "description": "If `true`, this request cannot replace or update existing component templates.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.put_component_template#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "cluster.state#metric": { + "in": "path", + "name": "metric", + "description": "Limit the information returned to the specified metrics", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Metrics" + }, + "style": "simple" + }, + "cluster.state#index": { + "in": "path", + "name": "index", + "description": "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "cluster.state#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.state#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "cluster.state#flat_settings": { + "in": "query", + "name": "flat_settings", + "description": "Return settings in flat format (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.state#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.state#local": { + "in": "query", + "name": "local", + "description": "Return local information, do not retrieve the state from master node (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.state#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Specify timeout for connection to master", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "cluster.state#wait_for_metadata_version": { + "in": "query", + "name": "wait_for_metadata_version", + "description": "Wait for the metadata version to be equal or greater than the specified metadata version", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + }, + "cluster.state#wait_for_timeout": { + "in": "query", + "name": "wait_for_timeout", + "description": "The maximum time to wait for wait_for_metadata_version before timing out", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "cluster.stats#node_id": { + "in": "path", + "name": "node_id", + "description": "Comma-separated list of node filters used to limit returned information. Defaults to all nodes in the cluster.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:NodeIds" + }, + "style": "simple" + }, + "cluster.stats#flat_settings": { + "in": "query", + "name": "flat_settings", + "description": "If `true`, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "cluster.stats#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for each node to respond.\nIf a node does not respond before its timeout expires, the response does not include its stats.\nHowever, timed out nodes are included in the response’s `_nodes.failed` property. Defaults to no timeout.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "count#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "count#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "count#analyzer": { + "in": "query", + "name": "analyzer", + "description": "Analyzer to use for the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "count#analyze_wildcard": { + "in": "query", + "name": "analyze_wildcard", + "description": "If `true`, wildcard and prefix queries are analyzed.\nThis parameter can only be used when the `q` query string parameter is specified.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "count#default_operator": { + "in": "query", + "name": "default_operator", + "description": "The default operator for query string query: `AND` or `OR`.\nThis parameter can only be used when the `q` query string parameter is specified.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "style": "form" + }, + "count#df": { + "in": "query", + "name": "df", + "description": "Field to use as default where no field prefix is given in the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "count#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "count#ignore_throttled": { + "in": "query", + "name": "ignore_throttled", + "description": "If `true`, concrete, expanded or aliased indices are ignored when frozen.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "count#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "count#lenient": { + "in": "query", + "name": "lenient", + "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "count#min_score": { + "in": "query", + "name": "min_score", + "description": "Sets the minimum `_score` value that documents must have to be included in the result.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "count#preference": { + "in": "query", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "count#routing": { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "count#terminate_after": { + "in": "query", + "name": "terminate_after", + "description": "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.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "count#q": { + "in": "query", + "name": "q", + "description": "Query in the Lucene query string syntax.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "create#id": { + "in": "path", + "name": "id", + "description": "Unique identifier for the document.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "create#index": { + "in": "path", + "name": "index", + "description": "Name of the data stream or index to target.\nIf the target doesn’t exist and matches the name or wildcard (`*`) pattern of an index template with a `data_stream` definition, this request creates the data stream.\nIf the target doesn’t exist and doesn’t match a data stream template, this request creates the index.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "create#pipeline": { + "in": "query", + "name": "pipeline", + "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "create#refresh": { + "in": "query", + "name": "refresh", + "description": "If `true`, Elasticsearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.\nValid values: `true`, `false`, `wait_for`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "create#routing": { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "create#timeout": { + "in": "query", + "name": "timeout", + "description": "Period the request waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "create#version": { + "in": "query", + "name": "version", + "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + }, + "create#version_type": { + "in": "query", + "name": "version_type", + "description": "Specific version type: `external`, `external_gte`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionType" + }, + "style": "form" + }, + "create#wait_for_active_shards": { + "in": "query", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + }, + "enrich.get_policy#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list of enrich policy names used to limit the request.\nTo return information for all enrich policies, omit this parameter.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "field_caps#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indices, omit this parameter or use * or _all.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "field_caps#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If false, the request returns an error if any wildcard expression, index alias,\nor `_all` value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request\ntargeting `foo*,bar*` returns an error if an index starts with foo but no index starts with bar.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "field_caps#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams. Supports comma-separated values, such as `open,hidden`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "field_caps#fields": { + "in": "query", + "name": "fields", + "description": "Comma-separated list of fields to retrieve capabilities for. Wildcard (`*`) expressions are supported.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "field_caps#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `true`, missing or closed indices are not included in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "field_caps#include_unmapped": { + "in": "query", + "name": "include_unmapped", + "description": "If true, unmapped fields are included in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "field_caps#filters": { + "in": "query", + "name": "filters", + "description": "An optional set of filters: can include +metadata,-metadata,-nested,-multifield,-parent", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "field_caps#types": { + "in": "query", + "name": "types", + "description": "Only return results for fields that have one of the types in the list", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + "fleet.msearch#index": { + "in": "path", + "name": "index", + "description": "A single target to search. If the target is an index alias, it must resolve to a single index.", + "required": true, + "deprecated": false, + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:IndexName" + }, + { + "$ref": "#/components/schemas/_types:IndexAlias" + } + ] + }, + "style": "simple" + }, + "fleet.msearch#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.msearch#ccs_minimize_roundtrips": { + "in": "query", + "name": "ccs_minimize_roundtrips", + "description": "If true, network roundtrips between the coordinating node and remote clusters are minimized for cross-cluster search requests.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.msearch#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard expressions can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "fleet.msearch#ignore_throttled": { + "in": "query", + "name": "ignore_throttled", + "description": "If true, concrete, expanded or aliased indices are ignored when frozen.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.msearch#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If true, missing or closed indices are not included in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.msearch#max_concurrent_searches": { + "in": "query", + "name": "max_concurrent_searches", + "description": "Maximum number of concurrent searches the multi search API can execute.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "fleet.msearch#max_concurrent_shard_requests": { + "in": "query", + "name": "max_concurrent_shard_requests", + "description": "Maximum number of concurrent shard requests that each sub-search request executes per node.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "fleet.msearch#pre_filter_shard_size": { + "in": "query", + "name": "pre_filter_shard_size", + "description": "Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method i.e., if date filters are mandatory to match but the shard bounds and the query are disjoint.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "fleet.msearch#search_type": { + "in": "query", + "name": "search_type", + "description": "Indicates whether global term and document frequencies should be used when scoring returned documents.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "style": "form" + }, + "fleet.msearch#rest_total_hits_as_int": { + "in": "query", + "name": "rest_total_hits_as_int", + "description": "If true, hits.total are returned as an integer in the response. Defaults to false, which returns an object.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.msearch#typed_keys": { + "in": "query", + "name": "typed_keys", + "description": "Specifies whether aggregation and suggester names should be prefixed by their respective types in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.msearch#wait_for_checkpoints": { + "in": "query", + "name": "wait_for_checkpoints", + "description": "A comma separated list of checkpoints. When configured, the search API will only be executed on a shard\nafter the relevant checkpoint has become visible for search. Defaults to an empty list which will cause\nElasticsearch to immediately execute the search.", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/fleet._types:Checkpoint" + } + }, + "style": "form" + }, + "fleet.msearch#allow_partial_search_results": { + "in": "query", + "name": "allow_partial_search_results", + "description": "If true, returns partial results if there are shard request timeouts or [shard failures](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-replication.html#shard-failures). If false, returns\nan error with no partial results. Defaults to the configured cluster setting `search.default_allow_partial_results`\nwhich is true by default.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#index": { + "in": "path", + "name": "index", + "description": "A single target to search. If the target is an index alias, it must resolve to a single index.", + "required": true, + "deprecated": false, + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:IndexName" + }, + { + "$ref": "#/components/schemas/_types:IndexAlias" + } + ] + }, + "style": "simple" + }, + "fleet.search#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#analyzer": { + "in": "query", + "name": "analyzer", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "fleet.search#analyze_wildcard": { + "in": "query", + "name": "analyze_wildcard", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#batched_reduce_size": { + "in": "query", + "name": "batched_reduce_size", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "fleet.search#ccs_minimize_roundtrips": { + "in": "query", + "name": "ccs_minimize_roundtrips", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#default_operator": { + "in": "query", + "name": "default_operator", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "style": "form" + }, + "fleet.search#df": { + "in": "query", + "name": "df", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "fleet.search#docvalue_fields": { + "in": "query", + "name": "docvalue_fields", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "fleet.search#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "fleet.search#explain": { + "in": "query", + "name": "explain", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#ignore_throttled": { + "in": "query", + "name": "ignore_throttled", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#lenient": { + "in": "query", + "name": "lenient", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#max_concurrent_shard_requests": { + "in": "query", + "name": "max_concurrent_shard_requests", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "fleet.search#min_compatible_shard_node": { + "in": "query", + "name": "min_compatible_shard_node", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "style": "form" + }, + "fleet.search#preference": { + "in": "query", + "name": "preference", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "fleet.search#pre_filter_shard_size": { + "in": "query", + "name": "pre_filter_shard_size", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "fleet.search#request_cache": { + "in": "query", + "name": "request_cache", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#routing": { + "in": "query", + "name": "routing", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "fleet.search#scroll": { + "in": "query", + "name": "scroll", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "fleet.search#search_type": { + "in": "query", + "name": "search_type", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "style": "form" + }, + "fleet.search#stats": { + "in": "query", + "name": "stats", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + "fleet.search#stored_fields": { + "in": "query", + "name": "stored_fields", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "fleet.search#suggest_field": { + "in": "query", + "name": "suggest_field", + "description": "Specifies which field to use for suggestions.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Field" + }, + "style": "form" + }, + "fleet.search#suggest_mode": { + "in": "query", + "name": "suggest_mode", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SuggestMode" + }, + "style": "form" + }, + "fleet.search#suggest_size": { + "in": "query", + "name": "suggest_size", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "fleet.search#suggest_text": { + "in": "query", + "name": "suggest_text", + "description": "The source text for which the suggestions should be returned.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "fleet.search#terminate_after": { + "in": "query", + "name": "terminate_after", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "fleet.search#timeout": { + "in": "query", + "name": "timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "fleet.search#track_total_hits": { + "in": "query", + "name": "track_total_hits", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:TrackHits" + }, + "style": "form" + }, + "fleet.search#track_scores": { + "in": "query", + "name": "track_scores", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#typed_keys": { + "in": "query", + "name": "typed_keys", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#rest_total_hits_as_int": { + "in": "query", + "name": "rest_total_hits_as_int", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#version": { + "in": "query", + "name": "version", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#_source": { + "in": "query", + "name": "_source", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" + }, + "fleet.search#_source_excludes": { + "in": "query", + "name": "_source_excludes", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "fleet.search#_source_includes": { + "in": "query", + "name": "_source_includes", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "fleet.search#seq_no_primary_term": { + "in": "query", + "name": "seq_no_primary_term", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "fleet.search#q": { + "in": "query", + "name": "q", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "fleet.search#size": { + "in": "query", + "name": "size", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "fleet.search#from": { + "in": "query", + "name": "from", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "fleet.search#sort": { + "in": "query", + "name": "sort", + "deprecated": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "style": "form" + }, + "fleet.search#wait_for_checkpoints": { + "in": "query", + "name": "wait_for_checkpoints", + "description": "A comma separated list of checkpoints. When configured, the search API will only be executed on a shard\nafter the relevant checkpoint has become visible for search. Defaults to an empty list which will cause\nElasticsearch to immediately execute the search.", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/fleet._types:Checkpoint" + } + }, + "style": "form" + }, + "fleet.search#allow_partial_search_results": { + "in": "query", + "name": "allow_partial_search_results", + "description": "If true, returns partial results if there are shard request timeouts or [shard failures](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-replication.html#shard-failures). If false, returns\nan error with no partial results. Defaults to the configured cluster setting `search.default_allow_partial_results`\nwhich is true by default.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "graph.explore#index": { + "in": "path", + "name": "index", + "description": "Name of the index.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "graph.explore#routing": { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "graph.explore#timeout": { + "in": "query", + "name": "timeout", + "description": "Specifies 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.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "index#id": { + "in": "path", + "name": "id", + "description": "Unique identifier for the document.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "index#index": { + "in": "path", + "name": "index", + "description": "Name of the data stream or index to target.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "index#if_primary_term": { + "in": "query", + "name": "if_primary_term", + "description": "Only perform the operation if the document has this primary term.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "index#if_seq_no": { + "in": "query", + "name": "if_seq_no", + "description": "Only perform the operation if the document has this sequence number.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "style": "form" + }, + "index#op_type": { + "in": "query", + "name": "op_type", + "description": "Set to create to only index the document if it does not already exist (put if absent).\nIf a document with the specified `_id` already exists, the indexing operation will fail.\nSame as using the `/_create` endpoint.\nValid values: `index`, `create`.\nIf document id is specified, it defaults to `index`.\nOtherwise, it defaults to `create`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:OpType" + }, + "style": "form" + }, + "index#pipeline": { + "in": "query", + "name": "pipeline", + "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "index#refresh": { + "in": "query", + "name": "refresh", + "description": "If `true`, Elasticsearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.\nValid values: `true`, `false`, `wait_for`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "index#routing": { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "index#timeout": { + "in": "query", + "name": "timeout", + "description": "Period the request waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "index#version": { + "in": "query", + "name": "version", + "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + }, + "index#version_type": { + "in": "query", + "name": "version_type", + "description": "Specific version type: `external`, `external_gte`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionType" + }, + "style": "form" + }, + "index#wait_for_active_shards": { + "in": "query", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + }, + "index#require_alias": { + "in": "query", + "name": "require_alias", + "description": "If `true`, the destination must be an index alias.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.analyze#index": { + "in": "path", + "name": "index", + "description": "Index used to derive the analyzer.\nIf specified, the `analyzer` or field parameter overrides this value.\nIf no index is specified or the index does not have a default analyzer, the analyze API uses the standard analyzer.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "indices.data_streams_stats#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list of data streams used to limit the request.\nWildcard expressions (`*`) are supported.\nTo target all data streams in a cluster, omit this parameter or use `*`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "indices.data_streams_stats#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.delete_alias#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams or indices used to limit the request.\nSupports wildcards (`*`).", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.delete_alias#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list of aliases to remove.\nSupports wildcards (`*`). To remove all aliases, use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "indices.delete_alias#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.delete_alias#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.exists_alias#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list of aliases to check. Supports wildcards (`*`).", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "indices.exists_alias#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams or indices used to limit the request. Supports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.exists_alias#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.exists_alias#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.exists_alias#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, requests that include a missing data stream or index in the target indices or data streams return an error.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.exists_alias#local": { + "in": "query", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_alias#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list of aliases to retrieve.\nSupports wildcards (`*`).\nTo retrieve all aliases, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "indices.get_alias#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams or indices used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.get_alias#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_alias#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.get_alias#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_alias#local": { + "in": "query", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_data_stream#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list of data stream names used to limit the request.\nWildcard (`*`) expressions are supported. If omitted, all data streams are returned.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DataStreamNames" + }, + "style": "simple" + }, + "indices.get_data_stream#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.get_data_stream#include_defaults": { + "in": "query", + "name": "include_defaults", + "description": "If true, returns all relevant default configurations for the index template.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_index_template#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "indices.get_index_template#local": { + "in": "query", + "name": "local", + "description": "If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_index_template#flat_settings": { + "in": "query", + "name": "flat_settings", + "description": "If true, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_index_template#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.get_index_template#include_defaults": { + "in": "query", + "name": "include_defaults", + "description": "If true, returns all relevant default configurations for the index template.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_mapping#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.get_mapping#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_mapping#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.get_mapping#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_mapping#local": { + "in": "query", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_mapping#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.get_settings#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit\nthe request. Supports wildcards (`*`). To target all data streams and\nindices, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.get_settings#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list or wildcard expression of settings to retrieve.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "indices.get_settings#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index\nalias, or `_all` value targets only missing or closed indices. This\nbehavior applies even if the request targets other open indices. For\nexample, a request targeting `foo*,bar*` returns an error if an index\nstarts with foo but no index starts with `bar`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_settings#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.get_settings#flat_settings": { + "in": "query", + "name": "flat_settings", + "description": "If `true`, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_settings#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_settings#include_defaults": { + "in": "query", + "name": "include_defaults", + "description": "If `true`, return all default settings in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_settings#local": { + "in": "query", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only. If\n`false`, information is retrieved from the master node.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_settings#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.get_template#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list of index template names used to limit the request.\nWildcard (`*`) expressions are supported.\nTo return all index templates, omit this parameter or use a value of `_all` or `*`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "indices.get_template#flat_settings": { + "in": "query", + "name": "flat_settings", + "description": "If `true`, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_template#local": { + "in": "query", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_template#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.put_alias#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams or indices to add.\nSupports wildcards (`*`).\nWildcard patterns that match both data streams and indices return an error.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.put_alias#name": { + "in": "path", + "name": "name", + "description": "Alias to update.\nIf the alias doesn’t exist, the request creates it.\nIndex alias names support date math.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "indices.put_alias#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.put_alias#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.put_index_template#name": { + "in": "path", + "name": "name", + "description": "Index or template name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "indices.put_index_template#create": { + "in": "query", + "name": "create", + "description": "If `true`, this request cannot replace or update existing index templates.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.put_mapping#index": { + "in": "path", + "name": "index", + "description": "A comma-separated list of index names the mapping should be added to (supports wildcards); use `_all` or omit to add the mapping on all indices.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.put_mapping#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.put_mapping#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.put_mapping#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.put_mapping#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.put_mapping#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.put_mapping#write_index_only": { + "in": "query", + "name": "write_index_only", + "description": "If `true`, the mappings are applied only to the current write index for the target.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.put_settings#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit\nthe request. Supports wildcards (`*`). To target all data streams and\nindices, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.put_settings#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index\nalias, or `_all` value targets only missing or closed indices. This\nbehavior applies even if the request targets other open indices. For\nexample, a request targeting `foo*,bar*` returns an error if an index\nstarts with `foo` but no index starts with `bar`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.put_settings#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match. If the request can target\ndata streams, this argument determines whether wildcard expressions match\nhidden data streams. Supports comma-separated values, such as\n`open,hidden`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.put_settings#flat_settings": { + "in": "query", + "name": "flat_settings", + "description": "If `true`, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.put_settings#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `true`, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.put_settings#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.put_settings#preserve_existing": { + "in": "query", + "name": "preserve_existing", + "description": "If `true`, existing index settings remain unchanged.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.put_settings#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the\n timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.put_template#name": { + "in": "path", + "name": "name", + "description": "The name of the template", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "indices.put_template#create": { + "in": "query", + "name": "create", + "description": "If true, this request cannot replace or update existing index templates.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.put_template#flat_settings": { + "in": "query", + "name": "flat_settings", + "description": "If `true`, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.put_template#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.put_template#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.put_template#order": { + "in": "query", + "name": "order", + "description": "Order in which Elasticsearch applies this template if index\nmatches multiple templates.\n\nTemplates with lower 'order' values are merged first. Templates with higher\n'order' values are merged later, overriding templates with lower values.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "indices.recovery#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.recovery#active_only": { + "in": "query", + "name": "active_only", + "description": "If `true`, the response only includes ongoing shard recoveries.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.recovery#detailed": { + "in": "query", + "name": "detailed", + "description": "If `true`, the response includes detailed information about shard recoveries.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.rollover#alias": { + "in": "path", + "name": "alias", + "description": "Name of the data stream or index alias to roll over.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexAlias" + }, + "style": "simple" + }, + "indices.rollover#new_index": { + "in": "path", + "name": "new_index", + "description": "Name of the index to create.\nSupports date math.\nData streams do not support this parameter.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "indices.rollover#dry_run": { + "in": "query", + "name": "dry_run", + "description": "If `true`, checks whether the current index satisfies the specified conditions but does not perform a rollover.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.rollover#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.rollover#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.rollover#wait_for_active_shards": { + "in": "query", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + }, + "indices.simulate_template#name": { + "in": "path", + "name": "name", + "description": "Name of the index template to simulate. To test a template configuration before you add it to the cluster, omit\nthis parameter and specify the template configuration in the request body.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "indices.simulate_template#create": { + "in": "query", + "name": "create", + "description": "If true, the template passed in the body is only used if no existing templates match the same index patterns. If false, the simulation uses the template with the highest priority. Note that the template is not permanently added or updated in either case; it is only used for the simulation.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.simulate_template#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "indices.simulate_template#include_defaults": { + "in": "query", + "name": "include_defaults", + "description": "If true, returns all relevant default configurations for the index template.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.stats#metric": { + "in": "path", + "name": "metric", + "description": "Limit the information returned the specific metrics.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Metrics" + }, + "style": "simple" + }, + "indices.stats#index": { + "in": "path", + "name": "index", + "description": "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.stats#completion_fields": { + "in": "query", + "name": "completion_fields", + "description": "Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "indices.stats#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match. If the request can target data streams, this argument\ndetermines whether wildcard expressions match hidden data streams. Supports comma-separated values,\nsuch as `open,hidden`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.stats#fielddata_fields": { + "in": "query", + "name": "fielddata_fields", + "description": "Comma-separated list or wildcard expressions of fields to include in fielddata statistics.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "indices.stats#fields": { + "in": "query", + "name": "fields", + "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "indices.stats#forbid_closed_indices": { + "in": "query", + "name": "forbid_closed_indices", + "description": "If true, statistics are not collected from closed indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.stats#groups": { + "in": "query", + "name": "groups", + "description": "Comma-separated list of search groups to include in the search statistics.", + "deprecated": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "style": "form" + }, + "indices.stats#include_segment_file_sizes": { + "in": "query", + "name": "include_segment_file_sizes", + "description": "If true, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.stats#include_unloaded_segments": { + "in": "query", + "name": "include_unloaded_segments", + "description": "If true, the response includes information from segments that are not loaded into memory.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.stats#level": { + "in": "query", + "name": "level", + "description": "Indicates whether statistics are aggregated at the cluster, index, or shard level.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Level" + }, + "style": "form" + }, + "indices.validate_query#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams or indices, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.validate_query#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.validate_query#all_shards": { + "in": "query", + "name": "all_shards", + "description": "If `true`, the validation is executed on all shards instead of one random shard per index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.validate_query#analyzer": { + "in": "query", + "name": "analyzer", + "description": "Analyzer to use for the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "indices.validate_query#analyze_wildcard": { + "in": "query", + "name": "analyze_wildcard", + "description": "If `true`, wildcard and prefix queries are analyzed.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.validate_query#default_operator": { + "in": "query", + "name": "default_operator", + "description": "The default operator for query string query: `AND` or `OR`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "style": "form" + }, + "indices.validate_query#df": { + "in": "query", + "name": "df", + "description": "Field to use as default where no field prefix is given in the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "indices.validate_query#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.validate_query#explain": { + "in": "query", + "name": "explain", + "description": "If `true`, the response returns detailed information if an error has occurred.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.validate_query#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.validate_query#lenient": { + "in": "query", + "name": "lenient", + "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.validate_query#rewrite": { + "in": "query", + "name": "rewrite", + "description": "If `true`, returns a more detailed explanation showing the actual Lucene query that will be executed.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.validate_query#q": { + "in": "query", + "name": "q", + "description": "Query in the Lucene query string syntax.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "ingest.get_pipeline#id": { + "in": "path", + "name": "id", + "description": "Comma-separated list of pipeline IDs to retrieve.\nWildcard (`*`) expressions are supported.\nTo get all ingest pipelines, omit this parameter or use `*`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ingest.get_pipeline#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "ingest.get_pipeline#summary": { + "in": "query", + "name": "summary", + "description": "Return pipelines without their definitions (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ingest.simulate#id": { + "in": "path", + "name": "id", + "description": "Pipeline to test.\nIf you don’t specify a `pipeline` in the request body, this parameter is required.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ingest.simulate#verbose": { + "in": "query", + "name": "verbose", + "description": "If `true`, the response includes output data for each processor in the executed pipeline.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "logstash.get_pipeline#id": { + "in": "path", + "name": "id", + "description": "Comma-separated list of pipeline identifiers.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Ids" + }, + "style": "simple" + }, + "mget#index": { + "in": "path", + "name": "index", + "description": "Name of the index to retrieve documents from when `ids` are specified, or when a document in the `docs` array does not specify an index.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "mget#preference": { + "in": "query", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on. Random by default.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "mget#realtime": { + "in": "query", + "name": "realtime", + "description": "If `true`, the request is real-time as opposed to near-real-time.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "mget#refresh": { + "in": "query", + "name": "refresh", + "description": "If `true`, the request refreshes relevant shards before retrieving documents.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "mget#routing": { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "mget#_source": { + "in": "query", + "name": "_source", + "description": "True or false to return the `_source` field or not, or a list of fields to return.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" + }, + "mget#_source_excludes": { + "in": "query", + "name": "_source_excludes", + "description": "A comma-separated list of source fields to exclude from the response.\nYou can also use this parameter to exclude fields from the subset specified in `_source_includes` query parameter.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "mget#_source_includes": { + "in": "query", + "name": "_source_includes", + "description": "A comma-separated list of source fields to include in the response.\nIf this parameter is specified, only these source fields are returned. You can exclude fields from this subset using the `_source_excludes` query parameter.\nIf the `_source` parameter is `false`, this parameter is ignored.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "mget#stored_fields": { + "in": "query", + "name": "stored_fields", + "description": "If `true`, retrieves the document fields stored in the index rather than the document `_source`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "ml.delete_expired_data#job_id": { + "in": "path", + "name": "job_id", + "description": "Identifier for an anomaly detection job. It can be a job identifier, a\ngroup name, or a wildcard expression.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.delete_expired_data#requests_per_second": { + "in": "query", + "name": "requests_per_second", + "description": "The desired requests per second for the deletion processes. The default\nbehavior is no throttling.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.delete_expired_data#timeout": { + "in": "query", + "name": "timeout", + "description": "How long can the underlying delete processes run until they are canceled.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "ml.delete_forecast#job_id": { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.delete_forecast#forecast_id": { + "in": "path", + "name": "forecast_id", + "description": "A comma-separated list of forecast identifiers. If you do not specify\nthis optional parameter or if you specify `_all` or `*` the API deletes\nall forecasts from the job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.delete_forecast#allow_no_forecasts": { + "in": "query", + "name": "allow_no_forecasts", + "description": "Specifies whether an error occurs when there are no forecasts. In\nparticular, if this parameter is set to `false` and there are no\nforecasts associated with the job, attempts to delete all forecasts\nreturn an error.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.delete_forecast#timeout": { + "in": "query", + "name": "timeout", + "description": "Specifies the period of time to wait for the completion of the delete\noperation. When this period of time elapses, the API fails and returns an\nerror.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "ml.explain_data_frame_analytics#id": { + "in": "path", + "name": "id", + "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_buckets#job_id": { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_buckets#timestamp": { + "in": "path", + "name": "timestamp", + "description": "The timestamp of a single bucket result. If you do not specify this\nparameter, the API returns information about all buckets.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "simple" + }, + "ml.get_buckets#anomaly_score": { + "in": "query", + "name": "anomaly_score", + "description": "Returns buckets with anomaly scores greater or equal than this value.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_buckets#desc": { + "in": "query", + "name": "desc", + "description": "If `true`, the buckets are sorted in descending order.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_buckets#end": { + "in": "query", + "name": "end", + "description": "Returns buckets with timestamps earlier than this time. `-1` means it is\nunset and results are not limited to specific timestamps.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "ml.get_buckets#exclude_interim": { + "in": "query", + "name": "exclude_interim", + "description": "If `true`, the output excludes interim results.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_buckets#expand": { + "in": "query", + "name": "expand", + "description": "If true, the output includes anomaly records.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_buckets#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of buckets.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_buckets#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of buckets to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_buckets#sort": { + "in": "query", + "name": "sort", + "description": "Specifies the sort field for the requested buckets.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Field" + }, + "style": "form" + }, + "ml.get_buckets#start": { + "in": "query", + "name": "start", + "description": "Returns buckets with timestamps after this time. `-1` means it is unset\nand results are not limited to specific timestamps.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "ml.get_calendars#calendar_id": { + "in": "path", + "name": "calendar_id", + "description": "A string that uniquely identifies a calendar. You can get information for multiple calendars by using a comma-separated list of ids or a wildcard expression. You can get information for all calendars by using `_all` or `*` or by omitting the calendar identifier.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_calendars#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of calendars. This parameter is supported only when you omit the calendar identifier.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_calendars#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of calendars to obtain. This parameter is supported only when you omit the calendar identifier.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_categories#job_id": { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_categories#category_id": { + "in": "path", + "name": "category_id", + "description": "Identifier for the category, which is unique in the job. If you specify\nneither the category ID nor the partition_field_value, the API returns\ninformation about all categories. If you specify only the\npartition_field_value, it returns information about all categories for\nthe specified partition.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:CategoryId" + }, + "style": "simple" + }, + "ml.get_categories#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of categories.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_categories#partition_field_value": { + "in": "query", + "name": "partition_field_value", + "description": "Only return categories for the specified partition.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "ml.get_categories#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of categories to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_data_frame_analytics#id": { + "in": "path", + "name": "id", + "description": "Identifier for the data frame analytics job. If you do not specify this\noption, the API returns information for the first hundred data frame\nanalytics jobs.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_data_frame_analytics#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no data frame analytics\njobs that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value returns an empty data_frame_analytics array when there\nare no matches and the subset of results when there are partial matches.\nIf this parameter is `false`, the request returns a 404 status code when\nthere are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_data_frame_analytics#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of data frame analytics jobs.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_data_frame_analytics#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of data frame analytics jobs to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_data_frame_analytics#exclude_generated": { + "in": "query", + "name": "exclude_generated", + "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_data_frame_analytics_stats#id": { + "in": "path", + "name": "id", + "description": "Identifier for the data frame analytics job. If you do not specify this\noption, the API returns information for the first hundred data frame\nanalytics jobs.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_data_frame_analytics_stats#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no data frame analytics\njobs that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value returns an empty data_frame_analytics array when there\nare no matches and the subset of results when there are partial matches.\nIf this parameter is `false`, the request returns a 404 status code when\nthere are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_data_frame_analytics_stats#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of data frame analytics jobs.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_data_frame_analytics_stats#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of data frame analytics jobs to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_data_frame_analytics_stats#verbose": { + "in": "query", + "name": "verbose", + "description": "Defines whether the stats response should be verbose.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_datafeed_stats#datafeed_id": { + "in": "path", + "name": "datafeed_id", + "description": "Identifier for the datafeed. It can be a datafeed identifier or a\nwildcard expression. If you do not specify one of these options, the API\nreturns information about all datafeeds.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Ids" + }, + "style": "simple" + }, + "ml.get_datafeed_stats#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no datafeeds that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value is `true`, which returns an empty `datafeeds` array\nwhen there are no matches and the subset of results when there are\npartial matches. If this parameter is `false`, the request returns a\n`404` status code when there are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_datafeeds#datafeed_id": { + "in": "path", + "name": "datafeed_id", + "description": "Identifier for the datafeed. It can be a datafeed identifier or a\nwildcard expression. If you do not specify one of these options, the API\nreturns information about all datafeeds.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Ids" + }, + "style": "simple" + }, + "ml.get_datafeeds#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no datafeeds that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value is `true`, which returns an empty `datafeeds` array\nwhen there are no matches and the subset of results when there are\npartial matches. If this parameter is `false`, the request returns a\n`404` status code when there are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_datafeeds#exclude_generated": { + "in": "query", + "name": "exclude_generated", + "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_filters#filter_id": { + "in": "path", + "name": "filter_id", + "description": "A string that uniquely identifies a filter.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Ids" + }, + "style": "simple" + }, + "ml.get_filters#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of filters.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_filters#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of filters to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_influencers#job_id": { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_influencers#desc": { + "in": "query", + "name": "desc", + "description": "If true, the results are sorted in descending order.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_influencers#end": { + "in": "query", + "name": "end", + "description": "Returns influencers with timestamps earlier than this time.\nThe default value means it is unset and results are not limited to\nspecific timestamps.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "ml.get_influencers#exclude_interim": { + "in": "query", + "name": "exclude_interim", + "description": "If true, the output excludes interim results. By default, interim results\nare included.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_influencers#influencer_score": { + "in": "query", + "name": "influencer_score", + "description": "Returns influencers with anomaly scores greater than or equal to this\nvalue.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_influencers#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of influencers.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_influencers#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of influencers to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_influencers#sort": { + "in": "query", + "name": "sort", + "description": "Specifies the sort field for the requested influencers. By default, the\ninfluencers are sorted by the `influencer_score` value.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Field" + }, + "style": "form" + }, + "ml.get_influencers#start": { + "in": "query", + "name": "start", + "description": "Returns influencers with timestamps after this time. The default value\nmeans it is unset and results are not limited to specific timestamps.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "ml.get_job_stats#job_id": { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job. It can be a job identifier, a\ngroup name, a comma-separated list of jobs, or a wildcard expression. If\nyou do not specify one of these options, the API returns information for\nall anomaly detection jobs.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_job_stats#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no jobs that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the API returns an empty `jobs` array when\nthere are no matches and the subset of results when there are partial\nmatches. If `false`, the API returns a `404` status\ncode when there are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_jobs#job_id": { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job. It can be a job identifier, a\ngroup name, or a wildcard expression. If you do not specify one of these\noptions, the API returns information for all anomaly detection jobs.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Ids" + }, + "style": "simple" + }, + "ml.get_jobs#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no jobs that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value is `true`, which returns an empty `jobs` array when\nthere are no matches and the subset of results when there are partial\nmatches. If this parameter is `false`, the request returns a `404` status\ncode when there are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_jobs#exclude_generated": { + "in": "query", + "name": "exclude_generated", + "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_memory_stats#node_id": { + "in": "path", + "name": "node_id", + "description": "The names of particular nodes in the cluster to target. For example, `nodeId1,nodeId2` or\n`ml:true`", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_memory_stats#human": { + "in": "query", + "name": "human", + "description": "Specify this query parameter to include the fields with units in the response. Otherwise only\nthe `_in_bytes` sizes are returned in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_memory_stats#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout\nexpires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "ml.get_memory_stats#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request\nfails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "ml.get_model_snapshots#job_id": { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_model_snapshots#snapshot_id": { + "in": "path", + "name": "snapshot_id", + "description": "A numerical character string that uniquely identifies the model snapshot. You can get information for multiple\nsnapshots by using a comma-separated list or a wildcard expression. You can get all snapshots by using `_all`,\nby specifying `*` as the snapshot ID, or by omitting the snapshot ID.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_model_snapshots#desc": { + "in": "query", + "name": "desc", + "description": "If true, the results are sorted in descending order.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_model_snapshots#end": { + "in": "query", + "name": "end", + "description": "Returns snapshots with timestamps earlier than this time.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "ml.get_model_snapshots#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of snapshots.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_model_snapshots#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of snapshots to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_model_snapshots#sort": { + "in": "query", + "name": "sort", + "description": "Specifies the sort field for the requested snapshots. By default, the\nsnapshots are sorted by their timestamp.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Field" + }, + "style": "form" + }, + "ml.get_model_snapshots#start": { + "in": "query", + "name": "start", + "description": "Returns snapshots with timestamps after this time.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "ml.get_overall_buckets#job_id": { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job. It can be a job identifier, a\ngroup name, a comma-separated list of jobs or groups, or a wildcard\nexpression.\n\nYou can summarize the bucket results for all anomaly detection jobs by\nusing `_all` or by specifying `*` as the ``.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_overall_buckets#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no jobs that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the request returns an empty `jobs` array when there are no\nmatches and the subset of results when there are partial matches. If this\nparameter is `false`, the request returns a `404` status code when there\nare no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_overall_buckets#bucket_span": { + "in": "query", + "name": "bucket_span", + "description": "The span of the overall buckets. Must be greater or equal to the largest\nbucket span of the specified anomaly detection jobs, which is the default\nvalue.\n\nBy default, an overall bucket has a span equal to the largest bucket span\nof the specified anomaly detection jobs. To override that behavior, use\nthe optional `bucket_span` parameter.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "ml.get_overall_buckets#end": { + "in": "query", + "name": "end", + "description": "Returns overall buckets with timestamps earlier than this time.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "ml.get_overall_buckets#exclude_interim": { + "in": "query", + "name": "exclude_interim", + "description": "If `true`, the output excludes interim results.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_overall_buckets#overall_score": { + "in": "query", + "name": "overall_score", + "description": "Returns overall buckets with overall scores greater than or equal to this\nvalue.", + "deprecated": false, + "schema": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "style": "form" + }, + "ml.get_overall_buckets#start": { + "in": "query", + "name": "start", + "description": "Returns overall buckets with timestamps after this time.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "ml.get_overall_buckets#top_n": { + "in": "query", + "name": "top_n", + "description": "The number of top anomaly detection job bucket scores to be used in the\n`overall_score` calculation.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_records#job_id": { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_records#desc": { + "in": "query", + "name": "desc", + "description": "If true, the results are sorted in descending order.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_records#end": { + "in": "query", + "name": "end", + "description": "Returns records with timestamps earlier than this time. The default value\nmeans results are not limited to specific timestamps.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "ml.get_records#exclude_interim": { + "in": "query", + "name": "exclude_interim", + "description": "If `true`, the output excludes interim results.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_records#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of records.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_records#record_score": { + "in": "query", + "name": "record_score", + "description": "Returns records with anomaly scores greater or equal than this value.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_records#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of records to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_records#sort": { + "in": "query", + "name": "sort", + "description": "Specifies the sort field for the requested records.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Field" + }, + "style": "form" + }, + "ml.get_records#start": { + "in": "query", + "name": "start", + "description": "Returns records with timestamps after this time. The default value means\nresults are not limited to specific timestamps.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "ml.get_trained_models#model_id": { + "in": "path", + "name": "model_id", + "description": "The unique identifier of the trained model.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.get_trained_models#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n- Contains wildcard expressions and there are no models that match.\n- Contains the _all string or no identifiers and there are no matches.\n- Contains wildcard expressions and there are only partial matches.\n\nIf true, it returns an empty array when there are no matches and the\nsubset of results when there are partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_trained_models#decompress_definition": { + "in": "query", + "name": "decompress_definition", + "description": "Specifies whether the included model definition should be returned as a\nJSON map (true) or in a custom compressed format (false).", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_trained_models#exclude_generated": { + "in": "query", + "name": "exclude_generated", + "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_trained_models#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of models.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_trained_models#include": { + "in": "query", + "name": "include", + "description": "A comma delimited string of optional fields to include in the response\nbody.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/ml._types:Include" + }, + "style": "form" + }, + "ml.get_trained_models#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of models to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_trained_models#tags": { + "in": "query", + "name": "tags", + "description": "A comma delimited string of tags. A trained model can have many tags, or\nnone. When supplied, only trained models that contain all the supplied\ntags are returned.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "ml.get_trained_models_stats#model_id": { + "in": "path", + "name": "model_id", + "description": "The unique identifier of the trained model or a model alias. It can be a\ncomma-separated list or a wildcard expression.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Ids" + }, + "style": "simple" + }, + "ml.get_trained_models_stats#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n- Contains wildcard expressions and there are no models that match.\n- Contains the _all string or no identifiers and there are no matches.\n- Contains wildcard expressions and there are only partial matches.\n\nIf true, it returns an empty array when there are no matches and the\nsubset of results when there are partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_trained_models_stats#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of models.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.get_trained_models_stats#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of models to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "ml.infer_trained_model#model_id": { + "in": "path", + "name": "model_id", + "description": "The unique identifier of the trained model.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.infer_trained_model#timeout": { + "in": "query", + "name": "timeout", + "description": "Controls the amount of time to wait for inference results.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "ml.preview_data_frame_analytics#id": { + "in": "path", + "name": "id", + "description": "Identifier for the data frame analytics job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.preview_datafeed#datafeed_id": { + "in": "path", + "name": "datafeed_id", + "description": "A numerical character string that uniquely identifies the datafeed. This identifier can contain lowercase\nalphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric\ncharacters. NOTE: If you use this path parameter, you cannot provide datafeed or anomaly detection job\nconfiguration details in the request body.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "ml.preview_datafeed#start": { + "in": "query", + "name": "start", + "description": "The start time from where the datafeed preview should begin", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "ml.preview_datafeed#end": { + "in": "query", + "name": "end", + "description": "The end time when the datafeed preview should stop", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "style": "form" + }, + "msearch#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and index aliases to search.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "msearch#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "msearch#ccs_minimize_roundtrips": { + "in": "query", + "name": "ccs_minimize_roundtrips", + "description": "If true, network roundtrips between the coordinating node and remote clusters are minimized for cross-cluster search requests.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "msearch#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard expressions can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "msearch#ignore_throttled": { + "in": "query", + "name": "ignore_throttled", + "description": "If true, concrete, expanded or aliased indices are ignored when frozen.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "msearch#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If true, missing or closed indices are not included in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "msearch#max_concurrent_searches": { + "in": "query", + "name": "max_concurrent_searches", + "description": "Maximum number of concurrent searches the multi search API can execute.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "msearch#max_concurrent_shard_requests": { + "in": "query", + "name": "max_concurrent_shard_requests", + "description": "Maximum number of concurrent shard requests that each sub-search request executes per node.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "msearch#pre_filter_shard_size": { + "in": "query", + "name": "pre_filter_shard_size", + "description": "Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method i.e., if date filters are mandatory to match but the shard bounds and the query are disjoint.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "msearch#rest_total_hits_as_int": { + "in": "query", + "name": "rest_total_hits_as_int", + "description": "If true, hits.total are returned as an integer in the response. Defaults to false, which returns an object.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "msearch#routing": { + "in": "query", + "name": "routing", + "description": "Custom routing value used to route search operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "msearch#search_type": { + "in": "query", + "name": "search_type", + "description": "Indicates whether global term and document frequencies should be used when scoring returned documents.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "style": "form" + }, + "msearch#typed_keys": { + "in": "query", + "name": "typed_keys", + "description": "Specifies whether aggregation and suggester names should be prefixed by their respective types in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "msearch_template#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "msearch_template#ccs_minimize_roundtrips": { + "in": "query", + "name": "ccs_minimize_roundtrips", + "description": "If `true`, network round-trips are minimized for cross-cluster search requests.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "msearch_template#max_concurrent_searches": { + "in": "query", + "name": "max_concurrent_searches", + "description": "Maximum number of concurrent searches the API can run.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "msearch_template#search_type": { + "in": "query", + "name": "search_type", + "description": "The type of the search operation.\nAvailable options: `query_then_fetch`, `dfs_query_then_fetch`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "style": "form" + }, + "msearch_template#rest_total_hits_as_int": { + "in": "query", + "name": "rest_total_hits_as_int", + "description": "If `true`, the response returns `hits.total` as an integer.\nIf `false`, it returns `hits.total` as an object.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "msearch_template#typed_keys": { + "in": "query", + "name": "typed_keys", + "description": "If `true`, the response prefixes aggregation and suggester names with their respective types.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "mtermvectors#index": { + "in": "path", + "name": "index", + "description": "Name of the index that contains the documents.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "mtermvectors#ids": { + "in": "query", + "name": "ids", + "description": "A comma-separated list of documents ids. You must define ids as parameter or set \"ids\" or \"docs\" in the request body", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "style": "form" + }, + "mtermvectors#fields": { + "in": "query", + "name": "fields", + "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.\nUsed as the default list unless a specific field list is provided in the `completion_fields` or `fielddata_fields` parameters.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "mtermvectors#field_statistics": { + "in": "query", + "name": "field_statistics", + "description": "If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "mtermvectors#offsets": { + "in": "query", + "name": "offsets", + "description": "If `true`, the response includes term offsets.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "mtermvectors#payloads": { + "in": "query", + "name": "payloads", + "description": "If `true`, the response includes term payloads.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "mtermvectors#positions": { + "in": "query", + "name": "positions", + "description": "If `true`, the response includes term positions.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "mtermvectors#preference": { + "in": "query", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "mtermvectors#realtime": { + "in": "query", + "name": "realtime", + "description": "If true, the request is real-time as opposed to near-real-time.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "mtermvectors#routing": { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "mtermvectors#term_statistics": { + "in": "query", + "name": "term_statistics", + "description": "If true, the response includes term frequency and document frequency.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "mtermvectors#version": { + "in": "query", + "name": "version", + "description": "If `true`, returns the document version as part of a hit.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + }, + "mtermvectors#version_type": { + "in": "query", + "name": "version_type", + "description": "Specific version type.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionType" + }, + "style": "form" + }, + "nodes.hot_threads#node_id": { + "in": "path", + "name": "node_id", + "description": "List of node IDs or names used to limit returned information.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:NodeIds" + }, + "style": "simple" + }, + "nodes.hot_threads#ignore_idle_threads": { + "in": "query", + "name": "ignore_idle_threads", + "description": "If true, known idle threads (e.g. waiting in a socket select, or to get\na task from an empty queue) are filtered out.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "nodes.hot_threads#interval": { + "in": "query", + "name": "interval", + "description": "The interval to do the second sampling of threads.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "nodes.hot_threads#snapshots": { + "in": "query", + "name": "snapshots", + "description": "Number of samples of thread stacktrace.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "nodes.hot_threads#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response\nis received before the timeout expires, the request fails and\nreturns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "nodes.hot_threads#threads": { + "in": "query", + "name": "threads", + "description": "Specifies the number of hot threads to provide information for.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "nodes.hot_threads#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received\nbefore the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "nodes.hot_threads#type": { + "in": "query", + "name": "type", + "description": "The type to sample.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ThreadType" + }, + "style": "form" + }, + "nodes.hot_threads#sort": { + "in": "query", + "name": "sort", + "description": "The sort order for 'cpu' type (default: total)", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ThreadType" + }, + "style": "form" + }, + "nodes.info#node_id": { + "in": "path", + "name": "node_id", + "description": "Comma-separated list of node IDs or names used to limit returned information.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:NodeIds" + }, + "style": "simple" + }, + "nodes.info#metric": { + "in": "path", + "name": "metric", + "description": "Limits the information returned to the specific metrics. Supports a comma-separated list, such as http,ingest.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Metrics" + }, + "style": "simple" + }, + "nodes.info#flat_settings": { + "in": "query", + "name": "flat_settings", + "description": "If true, returns settings in flat format.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "nodes.info#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "nodes.info#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "nodes.stats#node_id": { + "in": "path", + "name": "node_id", + "description": "Comma-separated list of node IDs or names used to limit returned information.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:NodeIds" + }, + "style": "simple" + }, + "nodes.stats#metric": { + "in": "path", + "name": "metric", + "description": "Limit the information returned to the specified metrics", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Metrics" + }, + "style": "simple" + }, + "nodes.stats#index_metric": { + "in": "path", + "name": "index_metric", + "description": "Limit the information returned for indices metric to the specific index metrics. It can be used only if indices (or all) metric is specified.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Metrics" + }, + "style": "simple" + }, + "nodes.stats#completion_fields": { + "in": "query", + "name": "completion_fields", + "description": "Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "nodes.stats#fielddata_fields": { + "in": "query", + "name": "fielddata_fields", + "description": "Comma-separated list or wildcard expressions of fields to include in fielddata statistics.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "nodes.stats#fields": { + "in": "query", + "name": "fields", + "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "nodes.stats#groups": { + "in": "query", + "name": "groups", + "description": "Comma-separated list of search groups to include in the search statistics.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "nodes.stats#include_segment_file_sizes": { + "in": "query", + "name": "include_segment_file_sizes", + "description": "If true, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "nodes.stats#level": { + "in": "query", + "name": "level", + "description": "Indicates whether statistics are aggregated at the cluster, index, or shard level.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Level" + }, + "style": "form" + }, + "nodes.stats#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "nodes.stats#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "nodes.stats#types": { + "in": "query", + "name": "types", + "description": "A comma-separated list of document types for the indexing index metric.", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + "nodes.stats#include_unloaded_segments": { + "in": "query", + "name": "include_unloaded_segments", + "description": "If `true`, the response includes information from segments that are not loaded into memory.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "nodes.usage#node_id": { + "in": "path", + "name": "node_id", + "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", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:NodeIds" + }, + "style": "simple" + }, + "nodes.usage#metric": { + "in": "path", + "name": "metric", + "description": "Limits the information returned to the specific metrics.\nA comma-separated list of the following options: `_all`, `rest_actions`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Metrics" + }, + "style": "simple" + }, + "nodes.usage#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "put_script#id": { + "in": "path", + "name": "id", + "description": "Identifier for the stored script or search template.\nMust be unique within the cluster.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "put_script#context": { + "in": "path", + "name": "context", + "description": "Context in which the script or search template should run.\nTo prevent errors, the API immediately compiles the script or template in this context.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "put_script#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "put_script#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "rank_eval#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and index aliases used to limit the request. Wildcard (`*`) expressions are supported.\nTo target all data streams and indices in a cluster, omit this parameter or use `_all` or `*`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "rank_eval#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "rank_eval#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "rank_eval#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `true`, missing or closed indices are not included in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "rank_eval#search_type": { + "in": "query", + "name": "search_type", + "description": "Search operation type", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "render_search_template#id": { + "in": "path", + "name": "id", + "description": "ID of the search template to render.\nIf no `source` is specified, this or the `id` request body parameter is required.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "scroll#scroll_id": { + "in": "path", + "name": "scroll_id", + "description": "The scroll ID", + "required": true, + "deprecated": true, + "schema": { + "$ref": "#/components/schemas/_types:ScrollId" + }, + "style": "simple" + }, + "scroll#scroll": { + "in": "query", + "name": "scroll", + "description": "Period to retain the search context for scrolling.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "scroll#scroll_id_": { + "in": "query", + "name": "scroll_id", + "description": "The scroll ID for scrolled search", + "deprecated": true, + "schema": { + "$ref": "#/components/schemas/_types:ScrollId" + }, + "style": "form" + }, + "scroll#rest_total_hits_as_int": { + "in": "query", + "name": "rest_total_hits_as_int", + "description": "If true, the API response’s hit.total property is returned as an integer. If false, the API response’s hit.total property is returned as an object.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "search#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#allow_partial_search_results": { + "in": "query", + "name": "allow_partial_search_results", + "description": "If true, returns partial results if there are shard request timeouts or shard failures. If false, returns an error with no partial results.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#analyzer": { + "in": "query", + "name": "analyzer", + "description": "Analyzer to use for the query string.\nThis parameter can only be used when the q query string parameter is specified.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "search#analyze_wildcard": { + "in": "query", + "name": "analyze_wildcard", + "description": "If true, wildcard and prefix queries are analyzed.\nThis parameter can only be used when the q query string parameter is specified.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#batched_reduce_size": { + "in": "query", + "name": "batched_reduce_size", + "description": "The number of shard results that should be reduced at once on the coordinating node.\nThis value should be used as a protection mechanism to reduce the memory overhead per search request if the potential number of shards in the request can be large.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "search#ccs_minimize_roundtrips": { + "in": "query", + "name": "ccs_minimize_roundtrips", + "description": "If true, network round-trips between the coordinating node and the remote clusters are minimized when executing cross-cluster search (CCS) requests.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#default_operator": { + "in": "query", + "name": "default_operator", + "description": "The default operator for query string query: AND or OR.\nThis parameter can only be used when the `q` query string parameter is specified.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "style": "form" + }, + "search#df": { + "in": "query", + "name": "df", + "description": "Field to use as default where no field prefix is given in the query string.\nThis parameter can only be used when the q query string parameter is specified.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "search#docvalue_fields": { + "in": "query", + "name": "docvalue_fields", + "description": "A comma-separated list of fields to return as the docvalue representation for each hit.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "search#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "search#explain": { + "in": "query", + "name": "explain", + "description": "If `true`, returns detailed information about score computation as part of a hit.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#ignore_throttled": { + "in": "query", + "name": "ignore_throttled", + "description": "If `true`, concrete, expanded or aliased indices will be ignored when frozen.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#lenient": { + "in": "query", + "name": "lenient", + "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.\nThis parameter can only be used when the `q` query string parameter is specified.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#max_concurrent_shard_requests": { + "in": "query", + "name": "max_concurrent_shard_requests", + "description": "Defines the number of concurrent shard requests per node this search executes concurrently.\nThis value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "search#min_compatible_shard_node": { + "in": "query", + "name": "min_compatible_shard_node", + "description": "The minimum version of the node that can handle the request\nAny handling node with a lower version will fail the request.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "style": "form" + }, + "search#preference": { + "in": "query", + "name": "preference", + "description": "Nodes and shards used for the search.\nBy default, Elasticsearch selects from eligible nodes and shards using adaptive replica selection, accounting for allocation awareness. Valid values are:\n`_only_local` to run the search only on shards on the local node;\n`_local` to, if possible, run the search on shards on the local node, or if not, select shards using the default method;\n`_only_nodes:,` to run the search on only the specified nodes IDs, where, if suitable shards exist on more than one selected node, use shards on those nodes using the default method, or if none of the specified nodes are available, select shards from any available node using the default method;\n`_prefer_nodes:,` to if possible, run the search on the specified nodes IDs, or if not, select shards using the default method;\n`_shards:,` to run the search only on the specified shards;\n`` (any string that does not start with `_`) to route searches with the same `` to the same shards in the same order.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "search#pre_filter_shard_size": { + "in": "query", + "name": "pre_filter_shard_size", + "description": "Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold.\nThis filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method (if date filters are mandatory to match but the shard bounds and the query are disjoint).\nWhen unspecified, the pre-filter phase is executed if any of these conditions is met:\nthe request targets more than 128 shards;\nthe request targets one or more read-only index;\nthe primary sort of the query targets an indexed field.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "search#request_cache": { + "in": "query", + "name": "request_cache", + "description": "If `true`, the caching of search results is enabled for requests where `size` is `0`.\nDefaults to index level settings.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#routing": { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "search#scroll": { + "in": "query", + "name": "scroll", + "description": "Period to retain the search context for scrolling. See Scroll search results.\nBy default, this value cannot exceed `1d` (24 hours).\nYou can change this limit using the `search.max_keep_alive` cluster-level setting.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "search#search_type": { + "in": "query", + "name": "search_type", + "description": "How distributed term frequencies are calculated for relevance scoring.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "style": "form" + }, + "search#stats": { + "in": "query", + "name": "stats", + "description": "Specific `tag` of the request for logging and statistical purposes.", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form" + }, + "search#stored_fields": { + "in": "query", + "name": "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` parameter defaults to `false`.\nYou can pass `_source: true` to return both source fields and stored fields in the search response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "search#suggest_field": { + "in": "query", + "name": "suggest_field", + "description": "Specifies which field to use for suggestions.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Field" + }, + "style": "form" + }, + "search#suggest_mode": { + "in": "query", + "name": "suggest_mode", + "description": "Specifies the suggest mode.\nThis parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SuggestMode" + }, + "style": "form" + }, + "search#suggest_size": { + "in": "query", + "name": "suggest_size", + "description": "Number of suggestions to return.\nThis parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "search#suggest_text": { + "in": "query", + "name": "suggest_text", + "description": "The source text for which the suggestions should be returned.\nThis parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "search#terminate_after": { + "in": "query", + "name": "terminate_after", + "description": "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.\nUse with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.\nIf set to `0` (default), the query does not terminate early.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "search#timeout": { + "in": "query", + "name": "timeout", + "description": "Specifies 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.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "search#track_total_hits": { + "in": "query", + "name": "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.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:TrackHits" + }, + "style": "form" + }, + "search#track_scores": { + "in": "query", + "name": "track_scores", + "description": "If `true`, calculate and return document scores, even if the scores are not used for sorting.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#typed_keys": { + "in": "query", + "name": "typed_keys", + "description": "If `true`, aggregation and suggester names are be prefixed by their respective types in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#rest_total_hits_as_int": { + "in": "query", + "name": "rest_total_hits_as_int", + "description": "Indicates whether `hits.total` should be rendered as an integer or an object in the rest search response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#version": { + "in": "query", + "name": "version", + "description": "If `true`, returns document version as part of a hit.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#_source": { + "in": "query", + "name": "_source", + "description": "Indicates which source fields are returned for matching documents.\nThese fields are returned in the `hits._source` property of the search response.\nValid values are:\n`true` to return the entire document source;\n`false` to not return the document source;\n`` to return the source fields that are specified as a comma-separated list (supports wildcard (`*`) patterns).", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" + }, + "search#_source_excludes": { + "in": "query", + "name": "_source_excludes", + "description": "A comma-separated list of source fields to exclude from the response.\nYou can also use this parameter to exclude fields from the subset specified in `_source_includes` query parameter.\nIf the `_source` parameter is `false`, this parameter is ignored.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "search#_source_includes": { + "in": "query", + "name": "_source_includes", + "description": "A comma-separated list of source fields to include in the response.\nIf this parameter is specified, only these source fields are returned.\nYou can exclude fields from this subset using the `_source_excludes` query parameter.\nIf the `_source` parameter is `false`, this parameter is ignored.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "search#seq_no_primary_term": { + "in": "query", + "name": "seq_no_primary_term", + "description": "If `true`, returns sequence number and primary term of the last modification of each hit.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search#q": { + "in": "query", + "name": "q", + "description": "Query in the Lucene query string syntax using query parameter search.\nQuery parameter searches do not support the full Elasticsearch Query DSL but are handy for testing.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "search#size": { + "in": "query", + "name": "size", + "description": "Defines the number of hits to return.\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.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "search#from": { + "in": "query", + "name": "from", + "description": "Starting document offset.\nNeeds to 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.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "search#sort": { + "in": "query", + "name": "sort", + "description": "A comma-separated list of : pairs.", + "deprecated": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "style": "form" + }, + "search_application.get_behavioral_analytics#name": { + "in": "path", + "name": "name", + "description": "A list of analytics collections to limit the returned information", + "required": true, + "deprecated": false, + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "style": "simple" + }, + "search_application.search#name": { + "in": "path", + "name": "name", + "description": "The name of the search application to be searched.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "search_mvt#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, or aliases to search", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "search_mvt#field": { + "in": "path", + "name": "field", + "description": "Field containing geospatial data to return", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Field" + }, + "style": "simple" + }, + "search_mvt#zoom": { + "in": "path", + "name": "zoom", + "description": "Zoom level for the vector tile to search", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search_mvt._types:ZoomLevel" + }, + "style": "simple" + }, + "search_mvt#x": { + "in": "path", + "name": "x", + "description": "X coordinate for the vector tile to search", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search_mvt._types:Coordinate" + }, + "style": "simple" + }, + "search_mvt#y": { + "in": "path", + "name": "y", + "description": "Y coordinate for the vector tile to search", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search_mvt._types:Coordinate" + }, + "style": "simple" + }, + "search_mvt#exact_bounds": { + "in": "query", + "name": "exact_bounds", + "description": "If false, the meta layer’s feature is the bounding box of the tile.\nIf true, the meta layer’s feature is a bounding box resulting from a\ngeo_bounds aggregation. The aggregation runs on values that intersect\nthe // tile with wrap_longitude set to false. The resulting\nbounding box may be larger than the vector tile.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search_mvt#extent": { + "in": "query", + "name": "extent", + "description": "Size, in pixels, of a side of the tile. Vector tiles are square with equal sides.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "search_mvt#grid_agg": { + "in": "query", + "name": "grid_agg", + "description": "Aggregation used to create a grid for `field`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search_mvt._types:GridAggregationType" + }, + "style": "form" + }, + "search_mvt#grid_precision": { + "in": "query", + "name": "grid_precision", + "description": "Additional zoom levels available through the aggs layer. For example, if is 7\nand grid_precision is 8, you can zoom in up to level 15. Accepts 0-8. If 0, results\ndon’t include the aggs layer.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "search_mvt#grid_type": { + "in": "query", + "name": "grid_type", + "description": "Determines the geometry type for features in the aggs layer. In the aggs layer,\neach feature represents a geotile_grid cell. If 'grid' each feature is a Polygon\nof the cells bounding box. If 'point' each feature is a Point that is the centroid\nof the cell.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search_mvt._types:GridType" + }, + "style": "form" + }, + "search_mvt#size": { + "in": "query", + "name": "size", + "description": "Maximum number of features to return in the hits layer. Accepts 0-10000.\nIf 0, results don’t include the hits layer.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "search_mvt#with_labels": { + "in": "query", + "name": "with_labels", + "description": "If `true`, the hits and aggs layers will contain additional point features representing\nsuggested label positions for the original features.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search_template#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices,\nand aliases to search. Supports wildcards (*).", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "search_template#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search_template#ccs_minimize_roundtrips": { + "in": "query", + "name": "ccs_minimize_roundtrips", + "description": "If `true`, network round-trips are minimized for cross-cluster search requests.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search_template#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "search_template#explain": { + "in": "query", + "name": "explain", + "description": "If `true`, the response includes additional details about score computation as part of a hit.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search_template#ignore_throttled": { + "in": "query", + "name": "ignore_throttled", + "description": "If `true`, specified concrete, expanded, or aliased indices are not included in the response when throttled.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search_template#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search_template#preference": { + "in": "query", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "search_template#profile": { + "in": "query", + "name": "profile", + "description": "If `true`, the query execution is profiled.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search_template#routing": { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "search_template#scroll": { + "in": "query", + "name": "scroll", + "description": "Specifies how long a consistent view of the index\nshould be maintained for scrolled search.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "search_template#search_type": { + "in": "query", + "name": "search_type", + "description": "The type of the search operation.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "style": "form" + }, + "search_template#rest_total_hits_as_int": { + "in": "query", + "name": "rest_total_hits_as_int", + "description": "If true, hits.total are rendered as an integer in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search_template#typed_keys": { + "in": "query", + "name": "typed_keys", + "description": "If `true`, the response prefixes aggregation and suggester names with their respective types.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "security.create_api_key#refresh": { + "in": "query", + "name": "refresh", + "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "security.create_service_token#namespace": { + "in": "path", + "name": "namespace", + "description": "An identifier for the namespace", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Namespace" + }, + "style": "simple" + }, + "security.create_service_token#service": { + "in": "path", + "name": "service", + "description": "An identifier for the service name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Service" + }, + "style": "simple" + }, + "security.create_service_token#name": { + "in": "path", + "name": "name", + "description": "An identifier for the token name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "security.create_service_token#refresh": { + "in": "query", + "name": "refresh", + "description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` (the default) then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "security.disable_user_profile#uid": { + "in": "path", + "name": "uid", + "description": "Unique identifier for the user profile.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/security._types:UserProfileId" + }, + "style": "simple" + }, + "security.disable_user_profile#refresh": { + "in": "query", + "name": "refresh", + "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search, if 'wait_for' then wait for a refresh to make this operation\nvisible to search, if 'false' do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "security.enable_user_profile#uid": { + "in": "path", + "name": "uid", + "description": "Unique identifier for the user profile.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/security._types:UserProfileId" + }, + "style": "simple" + }, + "security.enable_user_profile#refresh": { + "in": "query", + "name": "refresh", + "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search, if 'wait_for' then wait for a refresh to make this operation\nvisible to search, if 'false' do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "security.get_privileges#application": { + "in": "path", + "name": "application", + "description": "Application name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "security.get_privileges#name": { + "in": "path", + "name": "name", + "description": "Privilege name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "security.get_role#name": { + "in": "path", + "name": "name", + "description": "The name of the role. You can specify multiple roles as a comma-separated list. If you do not specify this parameter, the API returns information about all roles.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "security.get_role_mapping#name": { + "in": "path", + "name": "name", + "description": "The distinct name that identifies the role mapping. The name is used solely as an identifier to facilitate interaction via the API; it does not affect the behavior of the mapping in any way. You can specify multiple mapping names as a comma-separated list. If you do not specify this parameter, the API returns information about all role mappings.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "security.get_service_accounts#namespace": { + "in": "path", + "name": "namespace", + "description": "Name of the namespace. Omit this parameter to retrieve information about all service accounts. If you omit this parameter, you must also omit the `service` parameter.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Namespace" + }, + "style": "simple" + }, + "security.get_service_accounts#service": { + "in": "path", + "name": "service", + "description": "Name of the service name. Omit this parameter to retrieve information about all service accounts that belong to the specified `namespace`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Service" + }, + "style": "simple" + }, + "security.has_privileges#user": { + "in": "path", + "name": "user", + "description": "Username", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "security.put_privileges#refresh": { + "in": "query", + "name": "refresh", + "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "security.put_role#name": { + "in": "path", + "name": "name", + "description": "The name of the role.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "security.put_role#refresh": { + "in": "query", + "name": "refresh", + "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "security.put_role_mapping#name": { + "in": "path", + "name": "name", + "description": "Role-mapping name", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, + "security.put_role_mapping#refresh": { + "in": "query", + "name": "refresh", + "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "security.query_api_keys#with_limited_by": { + "in": "query", + "name": "with_limited_by", + "description": "Return the snapshot of the owner user's role descriptors associated with the API key. \nAn API key's actual permission is the intersection of its assigned role descriptors and the owner user's role descriptors.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "security.suggest_user_profiles#data": { + "in": "query", + "name": "data", + "description": "List of filters for the `data` field of the profile document.\nTo return all content use `data=*`. To return a subset of content\nuse `data=` to retrieve content nested under the specified ``.\nBy default returns no `data` content.", + "deprecated": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "style": "form" + }, + "security.update_user_profile_data#uid": { + "in": "path", + "name": "uid", + "description": "A unique identifier for the user profile.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/security._types:UserProfileId" + }, + "style": "simple" + }, + "security.update_user_profile_data#if_seq_no": { + "in": "query", + "name": "if_seq_no", + "description": "Only perform the operation if the document has this sequence number.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "style": "form" + }, + "security.update_user_profile_data#if_primary_term": { + "in": "query", + "name": "if_primary_term", + "description": "Only perform the operation if the document has this primary term.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "security.update_user_profile_data#refresh": { + "in": "query", + "name": "refresh", + "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search, if 'wait_for' then wait for a refresh to make this operation\nvisible to search, if 'false' do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + "terms_enum#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and index aliases to search. Wildcard (*) expressions are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "termvectors#index": { + "in": "path", + "name": "index", + "description": "Name of the index that contains the document.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "termvectors#id": { + "in": "path", + "name": "id", + "description": "Unique identifier of the document.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "termvectors#fields": { + "in": "query", + "name": "fields", + "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.\nUsed as the default list unless a specific field list is provided in the `completion_fields` or `fielddata_fields` parameters.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "termvectors#field_statistics": { + "in": "query", + "name": "field_statistics", + "description": "If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "termvectors#offsets": { + "in": "query", + "name": "offsets", + "description": "If `true`, the response includes term offsets.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "termvectors#payloads": { + "in": "query", + "name": "payloads", + "description": "If `true`, the response includes term payloads.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "termvectors#positions": { + "in": "query", + "name": "positions", + "description": "If `true`, the response includes term positions.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "termvectors#preference": { + "in": "query", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "termvectors#realtime": { + "in": "query", + "name": "realtime", + "description": "If true, the request is real-time as opposed to near-real-time.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "termvectors#routing": { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "termvectors#term_statistics": { + "in": "query", + "name": "term_statistics", + "description": "If `true`, the response includes term frequency and document frequency.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "termvectors#version": { + "in": "query", + "name": "version", + "description": "If `true`, returns the document version as part of a hit.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + }, + "termvectors#version_type": { + "in": "query", + "name": "version_type", + "description": "Specific version type.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionType" + }, + "style": "form" + }, + "transform.get_transform#transform_id": { + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform. It can be a transform identifier or a\nwildcard expression. You can get information for all transforms by using\n`_all`, by specifying `*` as the ``, or by omitting the\n``.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "transform.get_transform#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no transforms that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf this parameter is false, the request returns a 404 status code when\nthere are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "transform.get_transform#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of transforms.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "transform.get_transform#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of transforms to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "transform.get_transform#exclude_generated": { + "in": "query", + "name": "exclude_generated", + "description": "Excludes fields that were automatically added when creating the\ntransform. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "transform.preview_transform#transform_id": { + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform to preview. If you specify this path parameter, you cannot provide transform\nconfiguration details in the request body.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "transform.preview_transform#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the\ntimeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + }, + "requestBodies": { + "async_search.submit": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "collapse": { + "$ref": "#/components/schemas/_global.search._types:FieldCollapse" + }, + "explain": { + "description": "If true, returns detailed information about score computation as part of a hit.", + "type": "boolean" + }, + "ext": { + "description": "Configuration of search extensions defined by Elasticsearch plugins.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "from": { + "description": "Starting document offset. By default, you cannot page through more than 10,000\nhits using the from and size parameters. To page through more hits, use the\nsearch_after parameter.", + "type": "number" + }, + "highlight": { + "$ref": "#/components/schemas/_global.search._types:Highlight" + }, + "track_total_hits": { + "$ref": "#/components/schemas/_global.search._types:TrackHits" + }, + "indices_boost": { + "description": "Boosts the _score of documents from specified indices.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "number" + } + } + }, + "docvalue_fields": { + "description": "Array of wildcard (*) patterns. The request returns doc values for field\nnames matching these patterns in the hits.fields property of the response.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "knn": { + "description": "Defines the approximate kNN search to run.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:KnnQuery" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:KnnQuery" + } + } + ] + }, + "min_score": { + "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in the search results.", + "type": "number" + }, + "post_filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "profile": { + "type": "boolean" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "rescore": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:Rescore" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Rescore" + } + } + ] + }, + "script_fields": { + "description": "Retrieve a script evaluation (based on different fields) for each hit.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "search_after": { + "$ref": "#/components/schemas/_types:SortResults" + }, + "size": { + "description": "The number of hits to return. By default, you cannot page through more\nthan 10,000 hits using the from and size parameters. To page through more\nhits, use the search_after parameter.", + "type": "number" + }, + "slice": { + "$ref": "#/components/schemas/_types:SlicedScroll" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "fields": { + "description": "Array of wildcard (*) patterns. The request returns values for field names\nmatching these patterns in the hits.fields property of the response.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "suggest": { + "$ref": "#/components/schemas/_global.search._types:Suggester" + }, + "terminate_after": { + "description": "Maximum number of documents to collect for each shard. If a query reaches this\nlimit, Elasticsearch terminates the query early. Elasticsearch collects documents\nbefore sorting. Defaults to 0, which does not terminate query execution early.", + "type": "number" + }, + "timeout": { + "description": "Specifies the period of time to wait for a response from each shard. If no response\nis 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.", + "type": "boolean" + }, + "version": { + "description": "If true, returns document version as part of a hit.", + "type": "boolean" + }, + "seq_no_primary_term": { + "description": "If true, returns sequence number and primary term of the last modification\nof each hit. See Optimistic concurrency control.", + "type": "boolean" + }, + "stored_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "pit": { + "$ref": "#/components/schemas/_global.search._types:PointInTimeReference" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "stats": { + "description": "Stats groups to associate with the search. Each group maintains a statistics\naggregation for its associated searches. You can retrieve these stats using\nthe indices stats API.", + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "bulk": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.bulk:OperationContainer" + }, + { + "$ref": "#/components/schemas/_global.bulk:UpdateAction" + }, + { + "type": "object" + } + ] + } + } + } + }, + "required": true + }, + "clear_scroll": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "scroll_id": { + "$ref": "#/components/schemas/_types:ScrollIds" + } + } + } + } + } + }, + "cluster.allocation_explain": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "current_node": { + "description": "Specifies the node ID or the name of the node to only explain a shard that is currently located on the specified node.", + "type": "string" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "primary": { + "description": "If true, returns explanation for the primary shard for the given shard ID.", + "type": "boolean" + }, + "shard": { + "description": "Specifies the ID of the shard that you would like an explanation for.", + "type": "number" + } + } + } + } + } + }, + "cluster.put_component_template": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_auto_create": { + "description": "This setting overrides the value of the `action.auto_create_index` cluster setting.\nIf set to `true` in a template, then indices can be automatically created using that\ntemplate even if auto-creation of indices is disabled via `actions.auto_create_index`.\nIf set to `false` then data streams matching the template must always be explicitly created.", + "type": "boolean" + }, + "template": { + "$ref": "#/components/schemas/indices._types:IndexState" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + } + }, + "required": [ + "template" + ] + } + } + }, + "required": true + }, + "count": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + } + } + } + }, + "create": { + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "required": true + }, + "field_caps": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "index_filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + } + } + } + } + } + }, + "fleet.msearch": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.msearch:RequestItem" + } + } + } + }, + "required": true + }, + "fleet.search": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "collapse": { + "$ref": "#/components/schemas/_global.search._types:FieldCollapse" + }, + "explain": { + "description": "If true, returns detailed information about score computation as part of a hit.", + "type": "boolean" + }, + "ext": { + "description": "Configuration of search extensions defined by Elasticsearch plugins.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "from": { + "description": "Starting document offset. By default, you cannot page through more than 10,000\nhits using the from and size parameters. To page through more hits, use the\nsearch_after parameter.", + "type": "number" + }, + "highlight": { + "$ref": "#/components/schemas/_global.search._types:Highlight" + }, + "track_total_hits": { + "$ref": "#/components/schemas/_global.search._types:TrackHits" + }, + "indices_boost": { + "description": "Boosts the _score of documents from specified indices.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "number" + } + } + }, + "docvalue_fields": { + "description": "Array of wildcard (*) patterns. The request returns doc values for field\nnames matching these patterns in the hits.fields property of the response.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "min_score": { + "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in the search results.", + "type": "number" + }, + "post_filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "profile": { + "type": "boolean" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "rescore": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:Rescore" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Rescore" + } + } + ] + }, + "script_fields": { + "description": "Retrieve a script evaluation (based on different fields) for each hit.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "search_after": { + "$ref": "#/components/schemas/_types:SortResults" + }, + "size": { + "description": "The number of hits to return. By default, you cannot page through more\nthan 10,000 hits using the from and size parameters. To page through more\nhits, use the search_after parameter.", + "type": "number" + }, + "slice": { + "$ref": "#/components/schemas/_types:SlicedScroll" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "fields": { + "description": "Array of wildcard (*) patterns. The request returns values for field names\nmatching these patterns in the hits.fields property of the response.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "suggest": { + "$ref": "#/components/schemas/_global.search._types:Suggester" + }, + "terminate_after": { + "description": "Maximum number of documents to collect for each shard. If a query reaches this\nlimit, Elasticsearch terminates the query early. Elasticsearch collects documents\nbefore sorting. Defaults to 0, which does not terminate query execution early.", + "type": "number" + }, + "timeout": { + "description": "Specifies the period of time to wait for a response from each shard. If no response\nis 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.", + "type": "boolean" + }, + "version": { + "description": "If true, returns document version as part of a hit.", + "type": "boolean" + }, + "seq_no_primary_term": { + "description": "If true, returns sequence number and primary term of the last modification\nof each hit. See Optimistic concurrency control.", + "type": "boolean" + }, + "stored_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "pit": { + "$ref": "#/components/schemas/_global.search._types:PointInTimeReference" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "stats": { + "description": "Stats groups to associate with the search. Each group maintains a statistics\naggregation for its associated searches. You can retrieve these stats using\nthe indices stats API.", + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "graph.explore": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "connections": { + "$ref": "#/components/schemas/graph._types:Hop" + }, + "controls": { + "$ref": "#/components/schemas/graph._types:ExploreControls" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "vertices": { + "description": "Specifies one or more fields that contain the terms you want to include in the graph as vertices.", + "type": "array", + "items": { + "$ref": "#/components/schemas/graph._types:VertexDefinition" + } + } + } + } + } + } + }, + "index": { + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "required": true + }, + "indices.analyze": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-analyzers.html" + }, + "description": "The name of the analyzer that should be applied to the provided `text`.\nThis could be a built-in analyzer, or an analyzer that’s been configured in the index.", + "type": "string" + }, + "attributes": { + "description": "Array of token attributes used to filter the output of the `explain` parameter.", + "type": "array", + "items": { + "type": "string" + } + }, + "char_filter": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-charfilters.html" + }, + "description": "Array of character filters used to preprocess characters before the tokenizer.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.analysis:CharFilter" + } + }, + "explain": { + "description": "If `true`, the response includes token attributes and additional details.", + "type": "boolean" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "filter": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-tokenfilters.html" + }, + "description": "Array of token filters used to apply after the tokenizer.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.analysis:TokenFilter" + } + }, + "normalizer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-normalizers.html" + }, + "description": "Normalizer to use to convert text into a single token.", + "type": "string" + }, + "text": { + "$ref": "#/components/schemas/indices.analyze:TextToAnalyze" + }, + "tokenizer": { + "$ref": "#/components/schemas/_types.analysis:Tokenizer" + } + } + } + } + } + }, + "indices.put_alias": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "index_routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "is_write_index": { + "description": "If `true`, sets the write index or data stream for the alias.\nIf an alias points to multiple indices or data streams and `is_write_index` isn’t set, the alias rejects write requests.\nIf an index alias points to one index and `is_write_index` isn’t set, the index automatically acts as the write index.\nData stream aliases don’t automatically set a write data stream, even if the alias points to one data stream.", + "type": "boolean" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "search_routing": { + "$ref": "#/components/schemas/_types:Routing" + } + } + } + } + } + }, + "indices.put_index_template": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "index_patterns": { + "$ref": "#/components/schemas/_types:Indices" + }, + "composed_of": { + "description": "An ordered list of component template names.\nComponent templates are merged in the order specified, meaning that the last component template specified has the highest precedence.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "template": { + "$ref": "#/components/schemas/indices.put_index_template:IndexTemplateMapping" + }, + "data_stream": { + "$ref": "#/components/schemas/indices._types:DataStreamVisibility" + }, + "priority": { + "description": "Priority to determine index template precedence when a new data stream or index is created.\nThe index template with the highest priority is chosen.\nIf no priority is specified the template is treated as though it is of priority 0 (lowest priority).\nThis number is not automatically generated by Elasticsearch.", + "type": "number" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + } + } + } + } + }, + "required": true + }, + "indices.put_mapping": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "date_detection": { + "description": "Controls whether dynamic date detection is enabled.", + "type": "boolean" + }, + "dynamic": { + "$ref": "#/components/schemas/_types.mapping:DynamicMapping" + }, + "dynamic_date_formats": { + "description": "If date detection is enabled then new string fields are checked\nagainst 'dynamic_date_formats' and if the value matches then\na new date field is added instead of string.", + "type": "array", + "items": { + "type": "string" + } + }, + "dynamic_templates": { + "description": "Specify dynamic templates for the mapping.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:DynamicTemplate" + } + }, + { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:DynamicTemplate" + } + } + } + ] + }, + "_field_names": { + "$ref": "#/components/schemas/_types.mapping:FieldNamesField" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "numeric_detection": { + "description": "Automatically map strings into numeric data types for all fields.", + "type": "boolean" + }, + "properties": { + "description": "Mapping for a field. For new fields, this mapping can include:\n\n- Field name\n- Field data type\n- Mapping parameters", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:Property" + } + }, + "_routing": { + "$ref": "#/components/schemas/_types.mapping:RoutingField" + }, + "_source": { + "$ref": "#/components/schemas/_types.mapping:SourceField" + }, + "runtime": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + } + } + } + } + }, + "required": true + }, + "indices.put_settings": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + } + } + }, + "required": true + }, + "indices.put_template": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aliases": { + "description": "Aliases for the index.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } + }, + "index_patterns": { + "description": "Array of wildcard expressions used to match the names\nof indices during creation.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "order": { + "description": "Order in which Elasticsearch applies this template if index\nmatches multiple templates.\n\nTemplates with lower 'order' values are merged first. Templates with higher\n'order' values are merged later, overriding templates with lower values.", + "type": "number" + }, + "settings": { + "description": "Configuration options for the index.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + } + } + } + } + }, + "required": true + }, + "indices.rollover": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aliases": { + "description": "Aliases for the target index.\nData streams do not support this parameter.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } + }, + "conditions": { + "$ref": "#/components/schemas/indices.rollover:RolloverConditions" + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "settings": { + "description": "Configuration options for the index.\nData streams do not support this parameter.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } + } + } + }, + "indices.simulate_template": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/indices._types:IndexTemplate" + } + } + } + }, + "indices.validate_query": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + } + } + } + }, + "ingest.simulate": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "docs": { + "description": "Sample documents to test in the pipeline.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest.simulate:Document" + } + }, + "pipeline": { + "$ref": "#/components/schemas/ingest._types:Pipeline" + } + } + } + } + }, + "required": true + }, + "mget": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "docs": { + "description": "The documents you want to retrieve. Required if no index is specified in the request URI.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.mget:Operation" + } + }, + "ids": { + "$ref": "#/components/schemas/_types:Ids" + } + } + } + } + }, + "required": true + }, + "ml.delete_expired_data": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "requests_per_second": { + "description": "The desired requests per second for the deletion processes. The default\nbehavior is no throttling.", + "type": "number" + }, + "timeout": { + "$ref": "#/components/schemas/_types:Duration" + } + } + } + } + } + }, + "ml.explain_data_frame_analytics": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "source": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" + }, + "dest": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsDestination" + }, + "analysis": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" + }, + "description": { + "description": "A description of the job.", + "type": "string" + }, + "model_memory_limit": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" + }, + "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try to\ncreate data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", + "type": "string" + }, + "max_num_threads": { + "description": "The maximum number of threads to be used by the analysis. Using more\nthreads may decrease the time necessary to complete the analysis at the\ncost of using more CPU. Note that the process may use additional threads\nfor operational functionality other than the analysis itself.", + "type": "number" + }, + "analyzed_fields": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" + }, + "allow_lazy_start": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" + }, + "description": "Specifies whether this job can start when there is insufficient machine\nlearning node capacity for it to be immediately assigned to a node.", + "type": "boolean" + } + } + } + } + } + }, + "ml.get_buckets": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "anomaly_score": { + "description": "Refer to the description for the `anomaly_score` query parameter.", + "type": "number" + }, + "desc": { + "description": "Refer to the description for the `desc` query parameter.", + "type": "boolean" + }, + "end": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "exclude_interim": { + "description": "Refer to the description for the `exclude_interim` query parameter.", + "type": "boolean" + }, + "expand": { + "description": "Refer to the description for the `expand` query parameter.", + "type": "boolean" + }, + "page": { + "$ref": "#/components/schemas/ml._types:Page" + }, + "sort": { + "$ref": "#/components/schemas/_types:Field" + }, + "start": { + "$ref": "#/components/schemas/_types:DateTime" + } + } + } + } + } + }, + "ml.get_calendars": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "page": { + "$ref": "#/components/schemas/ml._types:Page" + } + } + } + } + } + }, + "ml.get_categories": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "page": { + "$ref": "#/components/schemas/ml._types:Page" + } + } + } + } + } + }, + "ml.get_influencers": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "page": { + "$ref": "#/components/schemas/ml._types:Page" + } + } + } + } + } + }, + "ml.get_model_snapshots": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "desc": { + "description": "Refer to the description for the `desc` query parameter.", + "type": "boolean" + }, + "end": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "page": { + "$ref": "#/components/schemas/ml._types:Page" + }, + "sort": { + "$ref": "#/components/schemas/_types:Field" + }, + "start": { + "$ref": "#/components/schemas/_types:DateTime" + } + } + } + } + } + }, + "ml.get_overall_buckets": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_no_match": { + "description": "Refer to the description for the `allow_no_match` query parameter.", + "type": "boolean" + }, + "bucket_span": { + "$ref": "#/components/schemas/_types:Duration" + }, + "end": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "exclude_interim": { + "description": "Refer to the description for the `exclude_interim` query parameter.", + "type": "boolean" + }, + "overall_score": { + "description": "Refer to the description for the `overall_score` query parameter.", + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "start": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "top_n": { + "description": "Refer to the description for the `top_n` query parameter.", + "type": "number" + } + } + } + } + } + }, + "ml.get_records": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "desc": { + "description": "Refer to the description for the `desc` query parameter.", + "type": "boolean" + }, + "end": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "exclude_interim": { + "description": "Refer to the description for the `exclude_interim` query parameter.", + "type": "boolean" + }, + "page": { + "$ref": "#/components/schemas/ml._types:Page" + }, + "record_score": { + "description": "Refer to the description for the `record_score` query parameter.", + "type": "number" + }, + "sort": { + "$ref": "#/components/schemas/_types:Field" + }, + "start": { + "$ref": "#/components/schemas/_types:DateTime" + } + } + } + } + } + }, + "ml.infer_trained_model": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "docs": { + "description": "An array of objects to pass to the model for inference. The objects should contain a fields matching your\nconfigured trained model input. Typically, for NLP models, the field name is `text_field`.\nCurrently, for NLP models, only a single value is allowed.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "inference_config": { + "$ref": "#/components/schemas/ml._types:InferenceConfigUpdateContainer" + } + }, + "required": [ + "docs" + ] + } + } + }, + "required": true + }, + "ml.preview_data_frame_analytics": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "config": { + "$ref": "#/components/schemas/ml.preview_data_frame_analytics:DataframePreviewConfig" + } + } + } + } + } + }, + "ml.preview_datafeed": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "datafeed_config": { + "$ref": "#/components/schemas/ml._types:DatafeedConfig" + }, + "job_config": { + "$ref": "#/components/schemas/ml._types:JobConfig" + } + } + } + } + } + }, + "msearch": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.msearch:RequestItem" + } + } + } + }, + "required": true + }, + "msearch_template": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.msearch_template:RequestItem" + } + } + } + }, + "required": true + }, + "mtermvectors": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "docs": { + "description": "Array of existing or artificial documents.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.mtermvectors:Operation" + } + }, + "ids": { + "description": "Simplified syntax to specify documents by their ID if they're in the same index.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } + } + } + } + } + } + }, + "put_script": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "script": { + "$ref": "#/components/schemas/_types:StoredScript" + } + }, + "required": [ + "script" + ] + } + } + }, + "required": true + }, + "rank_eval": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "requests": { + "description": "A set of typical search requests, together with their provided ratings.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalRequestItem" + } + }, + "metric": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetric" + } + }, + "required": [ + "requests" + ] + } + } + }, + "required": true + }, + "render_search_template": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "file": { + "type": "string" + }, + "params": { + "description": "Key-value pairs used to replace Mustache variables in the template.\nThe key is the variable name.\nThe value is the variable value.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "source": { + "description": "An inline search template.\nSupports the same parameters as the search API's request body.\nThese parameters also support Mustache variables.\nIf no `id` or `` is specified, this parameter is required.", + "type": "string" + } + } + } + } + } + }, + "scripts_painless_execute": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "context": { + "description": "The context that the script should run in.", + "type": "string" + }, + "context_setup": { + "$ref": "#/components/schemas/_global.scripts_painless_execute:PainlessContextSetup" + }, + "script": { + "$ref": "#/components/schemas/_types:InlineScript" + } + } + } + } + } + }, + "scroll": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "scroll": { + "$ref": "#/components/schemas/_types:Duration" + }, + "scroll_id": { + "$ref": "#/components/schemas/_types:ScrollId" + } + }, + "required": [ + "scroll_id" + ] + } + } + } + }, + "search": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aggregations": { + "description": "Defines the aggregations that are run as part of the search request.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "collapse": { + "$ref": "#/components/schemas/_global.search._types:FieldCollapse" + }, + "explain": { + "description": "If true, returns detailed information about score computation as part of a hit.", + "type": "boolean" + }, + "ext": { + "description": "Configuration of search extensions defined by Elasticsearch plugins.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "from": { + "description": "Starting document offset.\nNeeds to 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.", + "type": "number" + }, + "highlight": { + "$ref": "#/components/schemas/_global.search._types:Highlight" + }, + "track_total_hits": { + "$ref": "#/components/schemas/_global.search._types:TrackHits" + }, + "indices_boost": { + "description": "Boosts the _score of documents from specified indices.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "number" + } + } + }, + "docvalue_fields": { + "description": "Array of wildcard (`*`) patterns.\nThe request returns doc values for field names matching these patterns in the `hits.fields` property of the response.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "knn": { + "description": "Defines the approximate kNN search to run.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:KnnQuery" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:KnnQuery" + } + } + ] + }, + "rank": { + "$ref": "#/components/schemas/_types:RankContainer" + }, + "min_score": { + "description": "Minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in the search results.", + "type": "number" + }, + "post_filter": { + "$ref": "#/components/schemas/_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.", + "type": "boolean" + }, + "query": { + "$ref": "#/components/schemas/_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": "#/components/schemas/_global.search._types:Rescore" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Rescore" + } + } + ] + }, + "script_fields": { + "description": "Retrieve a script evaluation (based on different fields) for each hit.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "search_after": { + "$ref": "#/components/schemas/_types:SortResults" + }, + "size": { + "description": "The number of hits to return.\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.", + "type": "number" + }, + "slice": { + "$ref": "#/components/schemas/_types:SlicedScroll" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "fields": { + "description": "Array of wildcard (`*`) patterns.\nThe request returns values for field names matching these patterns in the `hits.fields` property of the response.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "suggest": { + "$ref": "#/components/schemas/_global.search._types:Suggester" + }, + "terminate_after": { + "description": "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.\nUse with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.\nIf set to `0` (default), the query does not terminate early.", + "type": "number" + }, + "timeout": { + "description": "Specifies 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.", + "type": "boolean" + }, + "version": { + "description": "If true, returns document version as part of a hit.", + "type": "boolean" + }, + "seq_no_primary_term": { + "description": "If `true`, returns sequence number and primary term of the last modification of each hit.", + "type": "boolean" + }, + "stored_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "pit": { + "$ref": "#/components/schemas/_global.search._types:PointInTimeReference" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "stats": { + "description": "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" + } + } + } + } + } + } + }, + "search_application.search": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "params": { + "description": "Query parameters specific to this request, which will override any defaults specified in the template.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } + } + } + }, + "search_mvt": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aggs": { + "description": "Sub-aggregations for the geotile_grid.\n\nSupports the following aggregation types:\n- avg\n- cardinality\n- max\n- min\n- sum", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "buffer": { + "description": "Size, in pixels, of a clipping buffer outside the tile. This allows renderers\nto avoid outline artifacts from geometries that extend past the extent of the tile.", + "type": "number" + }, + "exact_bounds": { + "description": "If false, the meta layer’s feature is the bounding box of the tile.\nIf true, the meta layer’s feature is a bounding box resulting from a\ngeo_bounds aggregation. The aggregation runs on values that intersect\nthe // tile with wrap_longitude set to false. The resulting\nbounding box may be larger than the vector tile.", + "type": "boolean" + }, + "extent": { + "description": "Size, in pixels, of a side of the tile. Vector tiles are square with equal sides.", + "type": "number" + }, + "fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "grid_agg": { + "$ref": "#/components/schemas/_global.search_mvt._types:GridAggregationType" + }, + "grid_precision": { + "description": "Additional zoom levels available through the aggs layer. For example, if is 7\nand grid_precision is 8, you can zoom in up to level 15. Accepts 0-8. If 0, results\ndon’t include the aggs layer.", + "type": "number" + }, + "grid_type": { + "$ref": "#/components/schemas/_global.search_mvt._types:GridType" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "size": { + "description": "Maximum number of features to return in the hits layer. Accepts 0-10000.\nIf 0, results don’t include the hits layer.", + "type": "number" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "track_total_hits": { + "$ref": "#/components/schemas/_global.search._types:TrackHits" + }, + "with_labels": { + "description": "If `true`, the hits and aggs layers will contain additional point features representing\nsuggested label positions for the original features.", + "type": "boolean" + } + } + } + } + } + }, + "search_template": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "explain": { + "description": "If `true`, returns detailed information about score calculation as part of each hit.", + "type": "boolean" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "params": { + "description": "Key-value pairs used to replace Mustache variables in the template.\nThe key is the variable name.\nThe value is the variable value.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "profile": { + "description": "If `true`, the query execution is profiled.", + "type": "boolean" + }, + "source": { + "description": "An inline search template. Supports the same parameters as the search API's\nrequest body. Also supports Mustache variables. If no id is specified, this\nparameter is required.", + "type": "string" + } + } + } + } + }, + "required": true + }, + "security.create_api_key": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "expiration": { + "$ref": "#/components/schemas/_types:Duration" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "role_descriptors": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html" + }, + "description": "An array of role descriptors for this API key. This parameter is optional. When it is not specified or is an empty array, then the API key will have a point in time snapshot of permissions of the authenticated user. If you supply role descriptors then the resultant permissions would be an intersection of API keys permissions and authenticated user’s permissions thereby limiting the access scope for API keys. The structure of role descriptor is the same as the request for create role API. For more details, see create or update roles API.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:RoleDescriptor" + } + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + } + } + } + } + }, + "required": true + }, + "security.has_privileges": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "application": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security.has_privileges:ApplicationPrivilegesCheck" + } + }, + "cluster": { + "description": "A list of the cluster privileges that you want to check.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:ClusterPrivilege" + } + }, + "index": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security.has_privileges:IndexPrivilegesCheck" + } + } + } + } + } + }, + "required": true + }, + "security.has_privileges_user_profile": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "uids": { + "description": "A list of profile IDs. The privileges are checked for associated users of the profiles.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:UserProfileId" + } + }, + "privileges": { + "$ref": "#/components/schemas/security.has_privileges_user_profile:PrivilegesCheck" + } + }, + "required": [ + "uids", + "privileges" + ] + } + } + }, + "required": true + }, + "security.put_privileges": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security.put_privileges:Actions" + } + } + } + } + }, + "required": true + }, + "security.put_role": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "applications": { + "description": "A list of application privilege entries.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:ApplicationPrivileges" + } + }, + "cluster": { + "description": "A list of cluster privileges. These privileges define the cluster-level actions for users with this role.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:ClusterPrivilege" + } + }, + "global": { + "description": "An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware. Support for global privileges is currently limited to the management of application privileges.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "indices": { + "description": "A list of indices permissions entries.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:IndicesPrivileges" + } + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "run_as": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/run-as-privilege.html" + }, + "description": "A list of users that the owners of this role can impersonate.", + "type": "array", + "items": { + "type": "string" + } + }, + "transient_metadata": { + "$ref": "#/components/schemas/security._types:TransientMetadataConfig" + } + } + } + } + }, + "required": true + }, + "security.put_role_mapping": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "rules": { + "$ref": "#/components/schemas/security._types:RoleMappingRule" + }, + "run_as": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "security.query_api_keys": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "from": { + "description": "Starting document offset.\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.", + "type": "number" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "size": { + "description": "The number of hits to return.\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.", + "type": "number" + }, + "search_after": { + "$ref": "#/components/schemas/_types:SortResults" + } + } + } + } + } + }, + "security.suggest_user_profiles": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Query string used to match name-related fields in user profile documents.\nName-related fields are the user's `username`, `full_name`, and `email`.", + "type": "string" + }, + "size": { + "description": "Number of profiles to return.", + "type": "number" + }, + "data": { + "description": "List of filters for the `data` field of the profile document.\nTo return all content use `data=*`. To return a subset of content\nuse `data=` to retrieve content nested under the specified ``.\nBy default returns no `data` content.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "hint": { + "$ref": "#/components/schemas/security.suggest_user_profiles:Hint" + } + } + } + } + } + }, + "security.update_user_profile_data": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "labels": { + "description": "Searchable data that you want to associate with the user profile. This\nfield supports a nested data structure.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "data": { + "description": "Non-searchable data that you want to associate with the user profile.\nThis field supports a nested data structure.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } + } + }, + "required": true + }, + "terms_enum": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "size": { + "description": "How many matching terms to return.", + "type": "number" + }, + "timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "case_insensitive": { + "description": "When true the provided search string is matched against index terms without case sensitivity.", + "type": "boolean" + }, + "index_filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "string": { + "description": "The string after which terms in the index should be returned. Allows for a form of pagination if the last result from one request is passed as the search_after parameter for a subsequent request.", + "type": "string" + }, + "search_after": { + "type": "string" + } + }, + "required": [ + "field" + ] + } + } + } + }, + "termvectors": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "doc": { + "description": "An artificial document (a document not present in the index) for which you want to retrieve term vectors.", + "type": "object" + }, + "filter": { + "$ref": "#/components/schemas/_global.termvectors:Filter" + }, + "per_field_analyzer": { + "description": "Overrides the default per-field analyzer.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + } + } + }, + "transform.preview_transform": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "dest": { + "$ref": "#/components/schemas/transform._types:Destination" + }, + "description": { + "description": "Free text description of the transform.", + "type": "string" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "pivot": { + "$ref": "#/components/schemas/transform._types:Pivot" + }, + "source": { + "$ref": "#/components/schemas/transform._types:Source" + }, + "settings": { + "$ref": "#/components/schemas/transform._types:Settings" + }, + "sync": { + "$ref": "#/components/schemas/transform._types:SyncContainer" + }, + "retention_policy": { + "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" + }, + "latest": { + "$ref": "#/components/schemas/transform._types:Latest" + } + } + } + } + } + } + }, + "schemas": { + "_types:Id": { + "type": "string" + }, + "_types:AcknowledgedResponseBase": { + "type": "object", + "properties": { + "acknowledged": { + "description": "For a successful response, this value is always true. On failure, an exception is returned instead.", + "type": "boolean" + } + }, + "required": [ + "acknowledged" + ] + }, + "_types:Duration": { + "externalDocs": { + "url": "https://github.com/elastic/elasticsearch/blob/current/libs/core/src/main/java/org/elasticsearch/core/TimeValue.java" + }, + "description": "A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and\n`d` (days). Also accepts \"0\" without a unit and \"-1\" to indicate an unspecified value.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "string", + "enum": [ + "-1" + ] + }, + { + "type": "string", + "enum": [ + "0" + ] + } + ] + }, + "async_search._types:AsyncSearchDocumentResponseBase": { + "allOf": [ + { + "$ref": "#/components/schemas/async_search._types:AsyncSearchResponseBase" + }, + { + "type": "object", + "properties": { + "response": { + "$ref": "#/components/schemas/async_search._types:AsyncSearch" + } + }, + "required": [ + "response" + ] + } + ] + }, + "async_search._types:AsyncSearch": { + "type": "object", + "properties": { + "aggregations": { + "description": "Partial aggregations results, coming from the shards that have already completed the execution of the query.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:Aggregate" + } + }, + "_clusters": { + "$ref": "#/components/schemas/_types:ClusterStatistics" + }, + "fields": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "hits": { + "$ref": "#/components/schemas/_global.search._types:HitsMetadata" + }, + "max_score": { + "type": "number" + }, + "num_reduce_phases": { + "description": "Indicates how many reductions of the results have been performed.\nIf this number increases compared to the last retrieved results for a get asynch search request, you can expect additional results included in the search response.", + "type": "number" + }, + "profile": { + "$ref": "#/components/schemas/_global.search._types:Profile" + }, + "pit_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_scroll_id": { + "$ref": "#/components/schemas/_types:ScrollId" + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "suggest": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Suggest" + } + } + }, + "terminated_early": { + "type": "boolean" + }, + "timed_out": { + "type": "boolean" + }, + "took": { + "type": "number" + } + }, + "required": [ + "hits", + "_shards", + "timed_out", + "took" + ] + }, + "_types.aggregations:Aggregate": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:CardinalityAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:HdrPercentilesAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:HdrPercentileRanksAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:TDigestPercentilesAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:TDigestPercentileRanksAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:PercentilesBucketAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:MedianAbsoluteDeviationAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:MinAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:MaxAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:SumAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:AvgAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:WeightedAvgAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:ValueCountAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:SimpleValueAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:DerivativeAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:BucketMetricValueAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:StatsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:StatsBucketAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsBucketAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GeoBoundsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GeoCentroidAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:HistogramAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:DateHistogramAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:AutoDateHistogramAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:VariableWidthHistogramAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:StringTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:LongTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:DoubleTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:UnmappedTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:LongRareTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:StringRareTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:UnmappedRareTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:MultiTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:MissingAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:NestedAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:ReverseNestedAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GlobalAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:FilterAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:ChildrenAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:ParentAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:SamplerAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:UnmappedSamplerAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GeoHashGridAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GeoTileGridAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GeoHexGridAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:RangeAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:DateRangeAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GeoDistanceAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:IpRangeAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:IpPrefixAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:FiltersAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:AdjacencyMatrixAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:SignificantLongTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:SignificantStringTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:UnmappedSignificantTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:ScriptedMetricAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:TopHitsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:InferenceAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:StringStatsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:BoxPlotAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:TopMetricsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:TTestAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:RateAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:CumulativeCardinalityAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:MatrixStatsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GeoLineAggregate" + } + ] + }, + "_types.aggregations:CardinalityAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "value": { + "type": "number" + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types.aggregations:AggregateBase": { + "type": "object", + "properties": { + "meta": { + "$ref": "#/components/schemas/_types:Metadata" + } + } + }, + "_types:Metadata": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "_types.aggregations:HdrPercentilesAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:PercentilesAggregateBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "values": { + "$ref": "#/components/schemas/_types.aggregations:Percentiles" + } + }, + "required": [ + "values" + ] + } + ] + }, + "_types.aggregations:Percentiles": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:KeyedPercentiles" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:ArrayPercentilesItem" + } + } + ] + }, + "_types.aggregations:KeyedPercentiles": { + "type": "object", + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + } + }, + "_types.aggregations:ArrayPercentilesItem": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "value_as_string": { + "type": "string" + } + }, + "required": [ + "key", + "value" + ] + }, + "_types.aggregations:HdrPercentileRanksAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:TDigestPercentilesAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:TDigestPercentileRanksAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:PercentilesBucketAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MedianAbsoluteDeviationAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:SingleMetricAggregateBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "value": { + "description": "The metric value. A missing value generally means that there was no data to aggregate,\nunless specified otherwise.", + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "value_as_string": { + "type": "string" + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types.aggregations:MinAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MaxAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:SumAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:AvgAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:WeightedAvgAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:ValueCountAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:SimpleValueAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:DerivativeAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" + }, + { + "type": "object", + "properties": { + "normalized_value": { + "type": "number" + }, + "normalized_value_as_string": { + "type": "string" + } + } + } + ] + }, + "_types.aggregations:BucketMetricValueAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" + }, + { + "type": "object", + "properties": { + "keys": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "keys" + ] + } + ] + }, + "_types.aggregations:StatsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "min": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "max": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "avg": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "sum": { + "type": "number" + }, + "min_as_string": { + "type": "string" + }, + "max_as_string": { + "type": "string" + }, + "avg_as_string": { + "type": "string" + }, + "sum_as_string": { + "type": "string" + } + }, + "required": [ + "count", + "min", + "max", + "avg", + "sum" + ] + } + ] + }, + "_types.aggregations:StatsBucketAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:StatsAggregate" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:ExtendedStatsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:StatsAggregate" + }, + { + "type": "object", + "properties": { + "sum_of_squares": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "variance": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "variance_population": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "variance_sampling": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "std_deviation": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "std_deviation_population": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "std_deviation_sampling": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "std_deviation_bounds": { + "$ref": "#/components/schemas/_types.aggregations:StandardDeviationBounds" + }, + "sum_of_squares_as_string": { + "type": "string" + }, + "variance_as_string": { + "type": "string" + }, + "variance_population_as_string": { + "type": "string" + }, + "variance_sampling_as_string": { + "type": "string" + }, + "std_deviation_as_string": { + "type": "string" + }, + "std_deviation_bounds_as_string": { + "$ref": "#/components/schemas/_types.aggregations:StandardDeviationBoundsAsString" + } + }, + "required": [ + "sum_of_squares", + "variance", + "variance_population", + "variance_sampling", + "std_deviation", + "std_deviation_population", + "std_deviation_sampling" + ] + } + ] + }, + "_types.aggregations:StandardDeviationBounds": { + "type": "object", + "properties": { + "upper": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "lower": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "upper_population": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "lower_population": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "upper_sampling": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "lower_sampling": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + } + }, + "required": [ + "upper", + "lower", + "upper_population", + "lower_population", + "upper_sampling", + "lower_sampling" + ] + }, + "_types.aggregations:StandardDeviationBoundsAsString": { + "type": "object", + "properties": { + "upper": { + "type": "string" + }, + "lower": { + "type": "string" + }, + "upper_population": { + "type": "string" + }, + "lower_population": { + "type": "string" + }, + "upper_sampling": { + "type": "string" + }, + "lower_sampling": { + "type": "string" + } + }, + "required": [ + "upper", + "lower", + "upper_population", + "lower_population", + "upper_sampling", + "lower_sampling" + ] + }, + "_types.aggregations:ExtendedStatsBucketAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsAggregate" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:GeoBoundsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "bounds": { + "$ref": "#/components/schemas/_types:GeoBounds" + } + } + } + ] + }, + "_types:GeoBounds": { + "description": "A geo bounding box. It can be represented in various ways:\n- as 4 top/bottom/left/right coordinates\n- as 2 top_left / bottom_right points\n- as 2 top_right / bottom_left points\n- as a WKT bounding box", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:CoordsGeoBounds" + }, + { + "$ref": "#/components/schemas/_types:TopLeftBottomRightGeoBounds" + }, + { + "$ref": "#/components/schemas/_types:TopRightBottomLeftGeoBounds" + }, + { + "$ref": "#/components/schemas/_types:WktGeoBounds" + } + ] + }, + "_types:CoordsGeoBounds": { + "type": "object", + "properties": { + "top": { + "type": "number" + }, + "bottom": { + "type": "number" + }, + "left": { + "type": "number" + }, + "right": { + "type": "number" + } + }, + "required": [ + "top", + "bottom", + "left", + "right" + ] + }, + "_types:TopLeftBottomRightGeoBounds": { + "type": "object", + "properties": { + "top_left": { + "$ref": "#/components/schemas/_types:GeoLocation" + }, + "bottom_right": { + "$ref": "#/components/schemas/_types:GeoLocation" + } + }, + "required": [ + "top_left", + "bottom_right" + ] + }, + "_types:GeoLocation": { + "description": "A latitude/longitude as a 2 dimensional point. It can be represented in various ways:\n- as a `{lat, long}` object\n- as a geo hash value\n- as a `[lon, lat]` array\n- as a string in `\", \"` or WKT point formats", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:LatLonGeoLocation" + }, + { + "$ref": "#/components/schemas/_types:GeoHashLocation" + }, + { + "type": "array", + "items": { + "type": "number" + } + }, + { + "type": "string" + } + ] + }, + "_types:LatLonGeoLocation": { + "type": "object", + "properties": { + "lat": { + "description": "Latitude", + "type": "number" + }, + "lon": { + "description": "Longitude", + "type": "number" + } + }, + "required": [ + "lat", + "lon" + ] + }, + "_types:GeoHashLocation": { + "type": "object", + "properties": { + "geohash": { + "$ref": "#/components/schemas/_types:GeoHash" + } + }, + "required": [ + "geohash" + ] + }, + "_types:GeoHash": { + "type": "string" + }, + "_types:TopRightBottomLeftGeoBounds": { + "type": "object", + "properties": { + "top_right": { + "$ref": "#/components/schemas/_types:GeoLocation" + }, + "bottom_left": { + "$ref": "#/components/schemas/_types:GeoLocation" + } + }, + "required": [ + "top_right", + "bottom_left" + ] + }, + "_types:WktGeoBounds": { + "type": "object", + "properties": { + "wkt": { + "type": "string" + } + }, + "required": [ + "wkt" + ] + }, + "_types.aggregations:GeoCentroidAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "location": { + "$ref": "#/components/schemas/_types:GeoLocation" + } + }, + "required": [ + "count" + ] + } + ] + }, + "_types.aggregations:HistogramAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseHistogramBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseHistogramBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsHistogramBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsHistogramBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:HistogramBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:HistogramBucket" + } + } + ] + }, + "_types.aggregations:HistogramBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key_as_string": { + "type": "string" + }, + "key": { + "type": "number" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types.aggregations:MultiBucketBase": { + "type": "object", + "properties": { + "doc_count": { + "type": "number" + } + }, + "required": [ + "doc_count" + ] + }, + "_types.aggregations:DateHistogramAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseDateHistogramBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseDateHistogramBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsDateHistogramBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsDateHistogramBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:DateHistogramBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:DateHistogramBucket" + } + } + ] + }, + "_types.aggregations:DateHistogramBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key_as_string": { + "type": "string" + }, + "key": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types:EpochTimeUnitMillis": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:UnitMillis" + } + ] + }, + "_types:UnitMillis": { + "description": "Time unit for milliseconds", + "type": "number" + }, + "_types.aggregations:AutoDateHistogramAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseDateHistogramBucket" + }, + { + "type": "object", + "properties": { + "interval": { + "$ref": "#/components/schemas/_types:DurationLarge" + } + }, + "required": [ + "interval" + ] + } + ] + }, + "_types:DurationLarge": { + "description": "A date histogram interval. Similar to `Duration` with additional units: `w` (week), `M` (month), `q` (quarter) and\n`y` (year)", + "type": "string" + }, + "_types.aggregations:VariableWidthHistogramAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseVariableWidthHistogramBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseVariableWidthHistogramBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsVariableWidthHistogramBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsVariableWidthHistogramBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:VariableWidthHistogramBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:VariableWidthHistogramBucket" + } + } + ] + }, + "_types.aggregations:VariableWidthHistogramBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "min": { + "type": "number" + }, + "key": { + "type": "number" + }, + "max": { + "type": "number" + }, + "min_as_string": { + "type": "string" + }, + "key_as_string": { + "type": "string" + }, + "max_as_string": { + "type": "string" + } + }, + "required": [ + "min", + "key", + "max" + ] + } + ] + }, + "_types.aggregations:StringTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseStringTermsBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:TermsAggregateBaseStringTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseStringTermsBucket" + }, + { + "type": "object", + "properties": { + "doc_count_error_upper_bound": { + "type": "number" + }, + "sum_other_doc_count": { + "type": "number" + } + } + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseStringTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsStringTermsBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsStringTermsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:StringTermsBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:StringTermsBucket" + } + } + ] + }, + "_types.aggregations:StringTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:TermsBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "$ref": "#/components/schemas/_types:FieldValue" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types:FieldValue": { + "description": "A field value.", + "oneOf": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "boolean" + }, + { + "nullable": true, + "type": "string" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:TermsBucketBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "doc_count_error": { + "type": "number" + } + } + } + ] + }, + "_types.aggregations:LongTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseLongTermsBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:TermsAggregateBaseLongTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseLongTermsBucket" + }, + { + "type": "object", + "properties": { + "doc_count_error_upper_bound": { + "type": "number" + }, + "sum_other_doc_count": { + "type": "number" + } + } + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseLongTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsLongTermsBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsLongTermsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:LongTermsBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:LongTermsBucket" + } + } + ] + }, + "_types.aggregations:LongTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:TermsBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "type": "number" + }, + "key_as_string": { + "type": "string" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types.aggregations:DoubleTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseDoubleTermsBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:TermsAggregateBaseDoubleTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseDoubleTermsBucket" + }, + { + "type": "object", + "properties": { + "doc_count_error_upper_bound": { + "type": "number" + }, + "sum_other_doc_count": { + "type": "number" + } + } + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseDoubleTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsDoubleTermsBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsDoubleTermsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:DoubleTermsBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:DoubleTermsBucket" + } + } + ] + }, + "_types.aggregations:DoubleTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:TermsBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "type": "number" + }, + "key_as_string": { + "type": "string" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types.aggregations:UnmappedTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseVoid" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:TermsAggregateBaseVoid": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseVoid" + }, + { + "type": "object", + "properties": { + "doc_count_error_upper_bound": { + "type": "number" + }, + "sum_other_doc_count": { + "type": "number" + } + } + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseVoid": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsVoid" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsVoid": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_spec_utils:Void" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_spec_utils:Void" + } + } + ] + }, + "_spec_utils:Void": { + "description": "The absence of any type. This is commonly used in APIs that don't return a body.\n\nAlthough \"void\" is generally used for the unit type that has only one value, this is to be interpreted as\nthe bottom type that has no value at all. Most languages have a unit type, but few have a bottom type.\n\nSee https://en.m.wikipedia.org/wiki/Unit_type and https://en.m.wikipedia.org/wiki/Bottom_type", + "type": "object" + }, + "_types.aggregations:LongRareTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseLongRareTermsBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseLongRareTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsLongRareTermsBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsLongRareTermsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:LongRareTermsBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:LongRareTermsBucket" + } + } + ] + }, + "_types.aggregations:LongRareTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "type": "number" + }, + "key_as_string": { + "type": "string" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types.aggregations:StringRareTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseStringRareTermsBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseStringRareTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsStringRareTermsBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsStringRareTermsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:StringRareTermsBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:StringRareTermsBucket" + } + } + ] + }, + "_types.aggregations:StringRareTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "type": "string" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types.aggregations:UnmappedRareTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseVoid" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseMultiTermsBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:TermsAggregateBaseMultiTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseMultiTermsBucket" + }, + { + "type": "object", + "properties": { + "doc_count_error_upper_bound": { + "type": "number" + }, + "sum_other_doc_count": { + "type": "number" + } + } + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseMultiTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsMultiTermsBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsMultiTermsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:MultiTermsBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:MultiTermsBucket" + } + } + ] + }, + "_types.aggregations:MultiTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:FieldValue" + } + }, + "key_as_string": { + "type": "string" + }, + "doc_count_error_upper_bound": { + "type": "number" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types.aggregations:MissingAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:SingleBucketAggregateBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "doc_count": { + "type": "number" + } + }, + "required": [ + "doc_count" + ] + } + ] + }, + "_types.aggregations:NestedAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:ReverseNestedAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:GlobalAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:FilterAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:ChildrenAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:ParentAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:SamplerAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:UnmappedSamplerAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:GeoHashGridAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseGeoHashGridBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseGeoHashGridBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsGeoHashGridBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsGeoHashGridBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:GeoHashGridBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:GeoHashGridBucket" + } + } + ] + }, + "_types.aggregations:GeoHashGridBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "$ref": "#/components/schemas/_types:GeoHash" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types.aggregations:GeoTileGridAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseGeoTileGridBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseGeoTileGridBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsGeoTileGridBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsGeoTileGridBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:GeoTileGridBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:GeoTileGridBucket" + } + } + ] + }, + "_types.aggregations:GeoTileGridBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "$ref": "#/components/schemas/_types:GeoTile" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types:GeoTile": { + "description": "A map tile reference, represented as `{zoom}/{x}/{y}`", + "type": "string" + }, + "_types.aggregations:GeoHexGridAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseGeoHexGridBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseGeoHexGridBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsGeoHexGridBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsGeoHexGridBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:GeoHexGridBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:GeoHexGridBucket" + } + } + ] + }, + "_types.aggregations:GeoHexGridBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "$ref": "#/components/schemas/_types:GeoHexCell" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types:GeoHexCell": { + "description": "A map hex cell (H3) reference", + "type": "string" + }, + "_types.aggregations:RangeAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseRangeBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseRangeBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsRangeBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsRangeBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:RangeBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:RangeBucket" + } + } + ] + }, + "_types.aggregations:RangeBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "from": { + "type": "number" + }, + "to": { + "type": "number" + }, + "from_as_string": { + "type": "string" + }, + "to_as_string": { + "type": "string" + }, + "key": { + "description": "The bucket key. Present if the aggregation is _not_ keyed", + "type": "string" + } + } + } + ] + }, + "_types.aggregations:DateRangeAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:RangeAggregate" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:GeoDistanceAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:RangeAggregate" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:IpRangeAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseIpRangeBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseIpRangeBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsIpRangeBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsIpRangeBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:IpRangeBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:IpRangeBucket" + } + } + ] + }, + "_types.aggregations:IpRangeBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "from": { + "type": "string" + }, + "to": { + "type": "string" + } + } + } + ] + }, + "_types.aggregations:IpPrefixAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseIpPrefixBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseIpPrefixBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsIpPrefixBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsIpPrefixBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:IpPrefixBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:IpPrefixBucket" + } + } + ] + }, + "_types.aggregations:IpPrefixBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "is_ipv6": { + "type": "boolean" + }, + "key": { + "type": "string" + }, + "prefix_length": { + "type": "number" + }, + "netmask": { + "type": "string" + } + }, + "required": [ + "is_ipv6", + "key", + "prefix_length" + ] + } + ] + }, + "_types.aggregations:FiltersAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseFiltersBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseFiltersBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsFiltersBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsFiltersBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:FiltersBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:FiltersBucket" + } + } + ] + }, + "_types.aggregations:FiltersBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:AdjacencyMatrixAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseAdjacencyMatrixBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseAdjacencyMatrixBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsAdjacencyMatrixBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsAdjacencyMatrixBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AdjacencyMatrixBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:AdjacencyMatrixBucket" + } + } + ] + }, + "_types.aggregations:AdjacencyMatrixBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "type": "string" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types.aggregations:SignificantLongTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SignificantTermsAggregateBaseSignificantLongTermsBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:SignificantTermsAggregateBaseSignificantLongTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseSignificantLongTermsBucket" + }, + { + "type": "object", + "properties": { + "bg_count": { + "type": "number" + }, + "doc_count": { + "type": "number" + } + } + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseSignificantLongTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsSignificantLongTermsBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsSignificantLongTermsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:SignificantLongTermsBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:SignificantLongTermsBucket" + } + } + ] + }, + "_types.aggregations:SignificantLongTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SignificantTermsBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "type": "number" + }, + "key_as_string": { + "type": "string" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types.aggregations:SignificantTermsBucketBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "score": { + "type": "number" + }, + "bg_count": { + "type": "number" + } + }, + "required": [ + "score", + "bg_count" + ] + } + ] + }, + "_types.aggregations:SignificantStringTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SignificantTermsAggregateBaseSignificantStringTermsBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:SignificantTermsAggregateBaseSignificantStringTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseSignificantStringTermsBucket" + }, + { + "type": "object", + "properties": { + "bg_count": { + "type": "number" + }, + "doc_count": { + "type": "number" + } + } + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseSignificantStringTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsSignificantStringTermsBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsSignificantStringTermsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:SignificantStringTermsBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:SignificantStringTermsBucket" + } + } + ] + }, + "_types.aggregations:SignificantStringTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SignificantTermsBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "type": "string" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types.aggregations:UnmappedSignificantTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:SignificantTermsAggregateBaseVoid" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:SignificantTermsAggregateBaseVoid": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseVoid" + }, + { + "type": "object", + "properties": { + "bg_count": { + "type": "number" + }, + "doc_count": { + "type": "number" + } + } + } + ] + }, + "_types.aggregations:CompositeAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseCompositeBucket" + }, + { + "type": "object", + "properties": { + "after_key": { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregateKey" + } + } + } + ] + }, + "_types.aggregations:CompositeAggregateKey": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:FieldValue" + } + }, + "_types.aggregations:MultiBucketAggregateBaseCompositeBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsCompositeBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsCompositeBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:CompositeBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:CompositeBucket" + } + } + ] + }, + "_types.aggregations:CompositeBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregateKey" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types.aggregations:FrequentItemSetsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseFrequentItemSetsBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseFrequentItemSetsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsFrequentItemSetsBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsFrequentItemSetsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsBucket" + } + } + ] + }, + "_types.aggregations:FrequentItemSetsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "support": { + "type": "number" + } + }, + "required": [ + "key", + "support" + ] + } + ] + }, + "_types.aggregations:ScriptedMetricAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "value": { + "type": "object" + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types.aggregations:TopHitsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "hits": { + "$ref": "#/components/schemas/_global.search._types:HitsMetadata" + } + }, + "required": [ + "hits" + ] + } + ] + }, + "_global.search._types:HitsMetadata": { + "type": "object", + "properties": { + "total": { + "description": "Total hit count information, present only if `track_total_hits` wasn't `false` in the search request.", + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:TotalHits" + }, + { + "type": "number" + } + ] + }, + "hits": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Hit" + } + }, + "max_score": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + } + }, + "required": [ + "hits" + ] + }, + "_global.search._types:TotalHits": { + "type": "object", + "properties": { + "relation": { + "$ref": "#/components/schemas/_global.search._types:TotalHitsRelation" + }, + "value": { + "type": "number" + } + }, + "required": [ + "relation", + "value" + ] + }, + "_global.search._types:TotalHitsRelation": { + "type": "string", + "enum": [ + "eq", + "gte" + ] + }, + "_global.search._types:Hit": { + "type": "object", + "properties": { + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_score": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "_explanation": { + "$ref": "#/components/schemas/_global.explain:Explanation" + }, + "fields": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "highlight": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "inner_hits": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.search._types:InnerHitsResult" + } + }, + "matched_queries": { + "type": "array", + "items": { + "type": "string" + } + }, + "_nested": { + "$ref": "#/components/schemas/_global.search._types:NestedIdentity" + }, + "_ignored": { + "type": "array", + "items": { + "type": "string" + } + }, + "ignored_field_values": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "_shard": { + "type": "string" + }, + "_node": { + "type": "string" + }, + "_routing": { + "type": "string" + }, + "_source": { + "type": "object" + }, + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "_primary_term": { + "type": "number" + }, + "_version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "sort": { + "$ref": "#/components/schemas/_types:SortResults" + } + }, + "required": [ + "_index", + "_id" + ] + }, + "_types:IndexName": { + "type": "string" + }, + "_global.explain:Explanation": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.explain:ExplanationDetail" + } + }, + "value": { + "type": "number" + } + }, + "required": [ + "description", + "details", + "value" + ] + }, + "_global.explain:ExplanationDetail": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.explain:ExplanationDetail" + } + }, + "value": { + "type": "number" + } + }, + "required": [ + "description", + "value" + ] + }, + "_global.search._types:InnerHitsResult": { + "type": "object", + "properties": { + "hits": { + "$ref": "#/components/schemas/_global.search._types:HitsMetadata" + } + }, + "required": [ + "hits" + ] + }, + "_global.search._types:NestedIdentity": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "offset": { + "type": "number" + }, + "_nested": { + "$ref": "#/components/schemas/_global.search._types:NestedIdentity" + } + }, + "required": [ + "field", + "offset" + ] + }, + "_types:Field": { + "description": "Path to field or array of paths. Some API's support wildcards in the path to select multiple fields.", + "type": "string" + }, + "_types:SequenceNumber": { + "type": "number" + }, + "_types:VersionNumber": { + "type": "number" + }, + "_types:SortResults": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:FieldValue" + } + }, + "_types.aggregations:InferenceAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "value": { + "$ref": "#/components/schemas/_types:FieldValue" + }, + "feature_importance": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:InferenceFeatureImportance" + } + }, + "top_classes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:InferenceTopClassEntry" + } + }, + "warning": { + "type": "string" + } + } + } + ] + }, + "_types.aggregations:InferenceFeatureImportance": { + "type": "object", + "properties": { + "feature_name": { + "type": "string" + }, + "importance": { + "type": "number" + }, + "classes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:InferenceClassImportance" + } + } + }, + "required": [ + "feature_name" + ] + }, + "_types.aggregations:InferenceClassImportance": { + "type": "object", + "properties": { + "class_name": { + "type": "string" + }, + "importance": { + "type": "number" + } + }, + "required": [ + "class_name", + "importance" + ] + }, + "_types.aggregations:InferenceTopClassEntry": { + "type": "object", + "properties": { + "class_name": { + "$ref": "#/components/schemas/_types:FieldValue" + }, + "class_probability": { + "type": "number" + }, + "class_score": { + "type": "number" + } + }, + "required": [ + "class_name", + "class_probability", + "class_score" + ] + }, + "_types.aggregations:StringStatsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "min_length": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "max_length": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "avg_length": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "entropy": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "distribution": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "min_length_as_string": { + "type": "string" + }, + "max_length_as_string": { + "type": "string" + }, + "avg_length_as_string": { + "type": "string" + } + }, + "required": [ + "count", + "min_length", + "max_length", + "avg_length", + "entropy" + ] + } + ] + }, + "_types.aggregations:BoxPlotAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "min": { + "type": "number" + }, + "max": { + "type": "number" + }, + "q1": { + "type": "number" + }, + "q2": { + "type": "number" + }, + "q3": { + "type": "number" + }, + "lower": { + "type": "number" + }, + "upper": { + "type": "number" + }, + "min_as_string": { + "type": "string" + }, + "max_as_string": { + "type": "string" + }, + "q1_as_string": { + "type": "string" + }, + "q2_as_string": { + "type": "string" + }, + "q3_as_string": { + "type": "string" + }, + "lower_as_string": { + "type": "string" + }, + "upper_as_string": { + "type": "string" + } + }, + "required": [ + "min", + "max", + "q1", + "q2", + "q3", + "lower", + "upper" + ] + } + ] + }, + "_types.aggregations:TopMetricsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "top": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:TopMetrics" + } + } + }, + "required": [ + "top" + ] + } + ] + }, + "_types.aggregations:TopMetrics": { + "type": "object", + "properties": { + "sort": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:FieldValue" + }, + { + "nullable": true, + "type": "string" + } + ] + } + }, + "metrics": { + "type": "object", + "additionalProperties": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:FieldValue" + }, + { + "nullable": true, + "type": "string" + } + ] + } + } + }, + "required": [ + "sort", + "metrics" + ] + }, + "_types.aggregations:TTestAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "value_as_string": { + "type": "string" + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types.aggregations:RateAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "value": { + "type": "number" + }, + "value_as_string": { + "type": "string" + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types.aggregations:CumulativeCardinalityAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "value": { + "type": "number" + }, + "value_as_string": { + "type": "string" + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types.aggregations:MatrixStatsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "doc_count": { + "type": "number" + }, + "fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:MatrixStatsFields" + } + } + }, + "required": [ + "doc_count" + ] + } + ] + }, + "_types.aggregations:MatrixStatsFields": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Field" + }, + "count": { + "type": "number" + }, + "mean": { + "type": "number" + }, + "variance": { + "type": "number" + }, + "skewness": { + "type": "number" + }, + "kurtosis": { + "type": "number" + }, + "covariance": { + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "correlation": { + "type": "object", + "additionalProperties": { + "type": "number" + } + } + }, + "required": [ + "name", + "count", + "mean", + "variance", + "skewness", + "kurtosis", + "covariance", + "correlation" + ] + }, + "_types.aggregations:GeoLineAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "geometry": { + "$ref": "#/components/schemas/_types:GeoLine" + }, + "properties": { + "type": "object" + } + }, + "required": [ + "type", + "geometry", + "properties" + ] + } + ] + }, + "_types:GeoLine": { + "type": "object", + "properties": { + "type": { + "description": "Always `\"LineString\"`", + "type": "string" + }, + "coordinates": { + "description": "Array of `[lon, lat]` coordinates", + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number" + } + } + } + }, + "required": [ + "type", + "coordinates" + ] + }, + "_types:ClusterStatistics": { + "type": "object", + "properties": { + "skipped": { + "type": "number" + }, + "successful": { + "type": "number" + }, + "total": { + "type": "number" + }, + "details": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ClusterDetails" + } + } + }, + "required": [ + "skipped", + "successful", + "total" + ] + }, + "_types:ClusterDetails": { + "type": "object", + "properties": { + "status": { + "$ref": "#/components/schemas/_types:ClusterSearchStatus" + }, + "indices": { + "type": "string" + }, + "took": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "timed_out": { + "type": "boolean" + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ShardFailure" + } + } + }, + "required": [ + "status", + "indices", + "timed_out" + ] + }, + "_types:ClusterSearchStatus": { + "type": "string", + "enum": [ + "running", + "successful", + "partial", + "skipped", + "failed" + ] + }, + "_types:DurationValueUnitMillis": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:UnitMillis" + } + ] + }, + "_types:ShardStatistics": { + "type": "object", + "properties": { + "failed": { + "$ref": "#/components/schemas/_types:uint" + }, + "successful": { + "$ref": "#/components/schemas/_types:uint" + }, + "total": { + "$ref": "#/components/schemas/_types:uint" + }, + "failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ShardFailure" + } + }, + "skipped": { + "$ref": "#/components/schemas/_types:uint" + } + }, + "required": [ + "failed", + "successful", + "total" + ] + }, + "_types:uint": { + "type": "number" + }, + "_types:ShardFailure": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "node": { + "type": "string" + }, + "reason": { + "$ref": "#/components/schemas/_types:ErrorCause" + }, + "shard": { + "type": "number" + }, + "status": { + "type": "string" + } + }, + "required": [ + "reason", + "shard" + ] + }, + "_types:ErrorCause": { + "type": "object", + "properties": { + "type": { + "description": "The type of error", + "type": "string" + }, + "reason": { + "description": "A human-readable explanation of the error, in english", + "type": "string" + }, + "stack_trace": { + "description": "The server stack trace. Present only if the `error_trace=true` parameter was sent with the request.", + "type": "string" + }, + "caused_by": { + "$ref": "#/components/schemas/_types:ErrorCause" + }, + "root_cause": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + }, + "suppressed": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + } + }, + "required": [ + "type" + ] + }, + "_global.search._types:Profile": { + "type": "object", + "properties": { + "shards": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:ShardProfile" + } + } + }, + "required": [ + "shards" + ] + }, + "_global.search._types:ShardProfile": { + "type": "object", + "properties": { + "aggregations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:AggregationProfile" + } + }, + "id": { + "type": "string" + }, + "searches": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:SearchProfile" + } + }, + "fetch": { + "$ref": "#/components/schemas/_global.search._types:FetchProfile" + } + }, + "required": [ + "aggregations", + "id", + "searches" + ] + }, + "_global.search._types:AggregationProfile": { + "type": "object", + "properties": { + "breakdown": { + "$ref": "#/components/schemas/_global.search._types:AggregationBreakdown" + }, + "description": { + "type": "string" + }, + "time_in_nanos": { + "$ref": "#/components/schemas/_types:DurationValueUnitNanos" + }, + "type": { + "type": "string" + }, + "debug": { + "$ref": "#/components/schemas/_global.search._types:AggregationProfileDebug" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:AggregationProfile" + } + } + }, + "required": [ + "breakdown", + "description", + "time_in_nanos", + "type" + ] + }, + "_global.search._types:AggregationBreakdown": { + "type": "object", + "properties": { + "build_aggregation": { + "type": "number" + }, + "build_aggregation_count": { + "type": "number" + }, + "build_leaf_collector": { + "type": "number" + }, + "build_leaf_collector_count": { + "type": "number" + }, + "collect": { + "type": "number" + }, + "collect_count": { + "type": "number" + }, + "initialize": { + "type": "number" + }, + "initialize_count": { + "type": "number" + }, + "post_collection": { + "type": "number" + }, + "post_collection_count": { + "type": "number" + }, + "reduce": { + "type": "number" + }, + "reduce_count": { + "type": "number" + } + }, + "required": [ + "build_aggregation", + "build_aggregation_count", + "build_leaf_collector", + "build_leaf_collector_count", + "collect", + "collect_count", + "initialize", + "initialize_count", + "reduce", + "reduce_count" + ] + }, + "_types:DurationValueUnitNanos": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:UnitNanos" + } + ] + }, + "_types:UnitNanos": { + "description": "Time unit for nanoseconds", + "type": "number" + }, + "_global.search._types:AggregationProfileDebug": { + "type": "object", + "properties": { + "segments_with_multi_valued_ords": { + "type": "number" + }, + "collection_strategy": { + "type": "string" + }, + "segments_with_single_valued_ords": { + "type": "number" + }, + "total_buckets": { + "type": "number" + }, + "built_buckets": { + "type": "number" + }, + "result_strategy": { + "type": "string" + }, + "has_filter": { + "type": "boolean" + }, + "delegate": { + "type": "string" + }, + "delegate_debug": { + "$ref": "#/components/schemas/_global.search._types:AggregationProfileDebug" + }, + "chars_fetched": { + "type": "number" + }, + "extract_count": { + "type": "number" + }, + "extract_ns": { + "type": "number" + }, + "values_fetched": { + "type": "number" + }, + "collect_analyzed_ns": { + "type": "number" + }, + "collect_analyzed_count": { + "type": "number" + }, + "surviving_buckets": { + "type": "number" + }, + "ordinals_collectors_used": { + "type": "number" + }, + "ordinals_collectors_overhead_too_high": { + "type": "number" + }, + "string_hashing_collectors_used": { + "type": "number" + }, + "numeric_collectors_used": { + "type": "number" + }, + "empty_collectors_used": { + "type": "number" + }, + "deferred_aggregators": { + "type": "array", + "items": { + "type": "string" + } + }, + "segments_with_doc_count_field": { + "type": "number" + }, + "segments_with_deleted_docs": { + "type": "number" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:AggregationProfileDelegateDebugFilter" + } + }, + "segments_counted": { + "type": "number" + }, + "segments_collected": { + "type": "number" + }, + "map_reducer": { + "type": "string" + } + } + }, + "_global.search._types:AggregationProfileDelegateDebugFilter": { + "type": "object", + "properties": { + "results_from_metadata": { + "type": "number" + }, + "query": { + "type": "string" + }, + "specialized_for": { + "type": "string" + }, + "segments_counted_in_constant_time": { + "type": "number" + } + } + }, + "_global.search._types:SearchProfile": { + "type": "object", + "properties": { + "collector": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Collector" + } + }, + "query": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:QueryProfile" + } + }, + "rewrite_time": { + "type": "number" + } + }, + "required": [ + "collector", + "query", + "rewrite_time" + ] + }, + "_global.search._types:Collector": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "time_in_nanos": { + "$ref": "#/components/schemas/_types:DurationValueUnitNanos" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Collector" + } + } + }, + "required": [ + "name", + "reason", + "time_in_nanos" + ] + }, + "_global.search._types:QueryProfile": { + "type": "object", + "properties": { + "breakdown": { + "$ref": "#/components/schemas/_global.search._types:QueryBreakdown" + }, + "description": { + "type": "string" + }, + "time_in_nanos": { + "$ref": "#/components/schemas/_types:DurationValueUnitNanos" + }, + "type": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:QueryProfile" + } + } + }, + "required": [ + "breakdown", + "description", + "time_in_nanos", + "type" + ] + }, + "_global.search._types:QueryBreakdown": { + "type": "object", + "properties": { + "advance": { + "type": "number" + }, + "advance_count": { + "type": "number" + }, + "build_scorer": { + "type": "number" + }, + "build_scorer_count": { + "type": "number" + }, + "create_weight": { + "type": "number" + }, + "create_weight_count": { + "type": "number" + }, + "match": { + "type": "number" + }, + "match_count": { + "type": "number" + }, + "shallow_advance": { + "type": "number" + }, + "shallow_advance_count": { + "type": "number" + }, + "next_doc": { + "type": "number" + }, + "next_doc_count": { + "type": "number" + }, + "score": { + "type": "number" + }, + "score_count": { + "type": "number" + }, + "compute_max_score": { + "type": "number" + }, + "compute_max_score_count": { + "type": "number" + }, + "set_min_competitive_score": { + "type": "number" + }, + "set_min_competitive_score_count": { + "type": "number" + } + }, + "required": [ + "advance", + "advance_count", + "build_scorer", + "build_scorer_count", + "create_weight", + "create_weight_count", + "match", + "match_count", + "shallow_advance", + "shallow_advance_count", + "next_doc", + "next_doc_count", + "score", + "score_count", + "compute_max_score", + "compute_max_score_count", + "set_min_competitive_score", + "set_min_competitive_score_count" + ] + }, + "_global.search._types:FetchProfile": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "time_in_nanos": { + "$ref": "#/components/schemas/_types:DurationValueUnitNanos" + }, + "breakdown": { + "$ref": "#/components/schemas/_global.search._types:FetchProfileBreakdown" + }, + "debug": { + "$ref": "#/components/schemas/_global.search._types:FetchProfileDebug" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:FetchProfile" + } + } + }, + "required": [ + "type", + "description", + "time_in_nanos", + "breakdown" + ] + }, + "_global.search._types:FetchProfileBreakdown": { + "type": "object", + "properties": { + "load_source": { + "type": "number" + }, + "load_source_count": { + "type": "number" + }, + "load_stored_fields": { + "type": "number" + }, + "load_stored_fields_count": { + "type": "number" + }, + "next_reader": { + "type": "number" + }, + "next_reader_count": { + "type": "number" + }, + "process_count": { + "type": "number" + }, + "process": { + "type": "number" + } + } + }, + "_global.search._types:FetchProfileDebug": { + "type": "object", + "properties": { + "stored_fields": { + "type": "array", + "items": { + "type": "string" + } + }, + "fast_path": { + "type": "number" + } + } + }, + "_types:ScrollId": { + "type": "string" + }, + "_global.search._types:Suggest": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:CompletionSuggest" + }, + { + "$ref": "#/components/schemas/_global.search._types:PhraseSuggest" + }, + { + "$ref": "#/components/schemas/_global.search._types:TermSuggest" + } + ] + }, + "_global.search._types:CompletionSuggest": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.search._types:SuggestBase" + }, + { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:CompletionSuggestOption" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:CompletionSuggestOption" + } + } + ] + } + }, + "required": [ + "options" + ] + } + ] + }, + "_global.search._types:CompletionSuggestOption": { + "type": "object", + "properties": { + "collate_match": { + "type": "boolean" + }, + "contexts": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Context" + } + } + }, + "fields": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "_id": { + "type": "string" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "_routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "_score": { + "type": "number" + }, + "_source": { + "type": "object" + }, + "text": { + "type": "string" + }, + "score": { + "type": "number" + } + }, + "required": [ + "text" + ] + }, + "_global.search._types:Context": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-mlt-query.html#_document_input_parameters" + }, + "description": "Text or location that we want similar documents for or a lookup to a document's field for the text.", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/_types:GeoLocation" + } + ] + }, + "_types:Routing": { + "type": "string" + }, + "_global.search._types:SuggestBase": { + "type": "object", + "properties": { + "length": { + "type": "number" + }, + "offset": { + "type": "number" + }, + "text": { + "type": "string" + } + }, + "required": [ + "length", + "offset", + "text" + ] + }, + "_global.search._types:PhraseSuggest": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.search._types:SuggestBase" + }, + { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:PhraseSuggestOption" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:PhraseSuggestOption" + } + } + ] + } + }, + "required": [ + "options" + ] + } + ] + }, + "_global.search._types:PhraseSuggestOption": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "score": { + "type": "number" + }, + "highlighted": { + "type": "string" + }, + "collate_match": { + "type": "boolean" + } + }, + "required": [ + "text", + "score" + ] + }, + "_global.search._types:TermSuggest": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.search._types:SuggestBase" + }, + { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:TermSuggestOption" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:TermSuggestOption" + } + } + ] + } + }, + "required": [ + "options" + ] + } + ] + }, + "_global.search._types:TermSuggestOption": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "score": { + "type": "number" + }, + "freq": { + "type": "number" + }, + "highlighted": { + "type": "string" + }, + "collate_match": { + "type": "boolean" + } + }, + "required": [ + "text", + "score", + "freq" + ] + }, + "async_search._types:AsyncSearchResponseBase": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "is_partial": { + "description": "When the query is no longer running, this property indicates whether the search failed or was successfully completed on all shards.\nWhile the query is running, `is_partial` is always set to `true`.", + "type": "boolean" + }, + "is_running": { + "description": "Indicates whether the search is still running or has completed.\nNOTE: If the search failed after some shards returned their results or the node that is coordinating the async search dies, results may be partial even though `is_running` is `false`.", + "type": "boolean" + }, + "expiration_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "expiration_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "start_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "start_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "completion_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "completion_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + } + }, + "required": [ + "is_partial", + "is_running", + "expiration_time_in_millis", + "start_time_in_millis" + ] + }, + "_types:DateTime": { + "description": "A date and time, either as a string whose format can depend on the context (defaulting to ISO 8601), or a\nnumber of milliseconds since the Epoch. Elasticsearch accepts both as input, but will generally output a string\nrepresentation.", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + } + ] + }, + "async_search.status:StatusResponseBase": { + "allOf": [ + { + "$ref": "#/components/schemas/async_search._types:AsyncSearchResponseBase" + }, + { + "type": "object", + "properties": { + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "_clusters": { + "$ref": "#/components/schemas/_types:ClusterStatistics" + }, + "completion_status": { + "description": "If the async search completed, this field shows the status code of the search.\nFor example, 200 indicates that the async search was successfully completed.\n503 indicates that the async search was completed with an error.", + "type": "number" + } + }, + "required": [ + "_shards" + ] + } + ] + }, + "_types:Indices": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:IndexName" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:IndexName" + } + } + ] + }, + "_types.query_dsl:Operator": { + "type": "string", + "enum": [ + "and", + "or" + ] + }, + "_types:Fields": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Field" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + } + ] + }, + "_types:ExpandWildcards": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:ExpandWildcard" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ExpandWildcard" + } + } + ] + }, + "_types:ExpandWildcard": { + "type": "string", + "enum": [ + "all", + "open", + "closed", + "hidden", + "none" + ] + }, + "_types:VersionString": { + "type": "string" + }, + "_types:SearchType": { + "type": "string", + "enum": [ + "query_then_fetch", + "dfs_query_then_fetch" + ] + }, + "_types:SuggestMode": { + "type": "string", + "enum": [ + "missing", + "popular", + "always" + ] + }, + "_global.search._types:TrackHits": { + "description": "Number of hits matching the query to count accurately. If true, the exact\nnumber of hits is returned at the cost of some performance. If false, the\nresponse does not include the total number of hits matching the query.\nDefaults to 10,000 hits.", + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "number" + } + ] + }, + "_global.search._types:SourceConfigParam": { + "description": "Defines how to fetch a source. Fetching can be disabled entirely, or the source can be filtered.\nUsed as a query parameter along with the `_source_includes` and `_source_excludes` parameters.", + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "#/components/schemas/_types:Fields" + } + ] + }, + "_types.aggregations:AggregationContainer": { + "allOf": [ + { + "type": "object", + "properties": { + "aggregations": { + "description": "Sub-aggregations for this aggregation.\nOnly applies to bucket aggregations.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "meta": { + "$ref": "#/components/schemas/_types:Metadata" + } + } + }, + { + "type": "object", + "properties": { + "adjacency_matrix": { + "$ref": "#/components/schemas/_types.aggregations:AdjacencyMatrixAggregation" + }, + "auto_date_histogram": { + "$ref": "#/components/schemas/_types.aggregations:AutoDateHistogramAggregation" + }, + "avg": { + "$ref": "#/components/schemas/_types.aggregations:AverageAggregation" + }, + "avg_bucket": { + "$ref": "#/components/schemas/_types.aggregations:AverageBucketAggregation" + }, + "boxplot": { + "$ref": "#/components/schemas/_types.aggregations:BoxplotAggregation" + }, + "bucket_script": { + "$ref": "#/components/schemas/_types.aggregations:BucketScriptAggregation" + }, + "bucket_selector": { + "$ref": "#/components/schemas/_types.aggregations:BucketSelectorAggregation" + }, + "bucket_sort": { + "$ref": "#/components/schemas/_types.aggregations:BucketSortAggregation" + }, + "bucket_count_ks_test": { + "$ref": "#/components/schemas/_types.aggregations:BucketKsAggregation" + }, + "bucket_correlation": { + "$ref": "#/components/schemas/_types.aggregations:BucketCorrelationAggregation" + }, + "cardinality": { + "$ref": "#/components/schemas/_types.aggregations:CardinalityAggregation" + }, + "categorize_text": { + "$ref": "#/components/schemas/_types.aggregations:CategorizeTextAggregation" + }, + "children": { + "$ref": "#/components/schemas/_types.aggregations:ChildrenAggregation" + }, + "composite": { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregation" + }, + "cumulative_cardinality": { + "$ref": "#/components/schemas/_types.aggregations:CumulativeCardinalityAggregation" + }, + "cumulative_sum": { + "$ref": "#/components/schemas/_types.aggregations:CumulativeSumAggregation" + }, + "date_histogram": { + "$ref": "#/components/schemas/_types.aggregations:DateHistogramAggregation" + }, + "date_range": { + "$ref": "#/components/schemas/_types.aggregations:DateRangeAggregation" + }, + "derivative": { + "$ref": "#/components/schemas/_types.aggregations:DerivativeAggregation" + }, + "diversified_sampler": { + "$ref": "#/components/schemas/_types.aggregations:DiversifiedSamplerAggregation" + }, + "extended_stats": { + "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsAggregation" + }, + "extended_stats_bucket": { + "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsBucketAggregation" + }, + "frequent_item_sets": { + "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsAggregation" + }, + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "filters": { + "$ref": "#/components/schemas/_types.aggregations:FiltersAggregation" + }, + "geo_bounds": { + "$ref": "#/components/schemas/_types.aggregations:GeoBoundsAggregation" + }, + "geo_centroid": { + "$ref": "#/components/schemas/_types.aggregations:GeoCentroidAggregation" + }, + "geo_distance": { + "$ref": "#/components/schemas/_types.aggregations:GeoDistanceAggregation" + }, + "geohash_grid": { + "$ref": "#/components/schemas/_types.aggregations:GeoHashGridAggregation" + }, + "geo_line": { + "$ref": "#/components/schemas/_types.aggregations:GeoLineAggregation" + }, + "geotile_grid": { + "$ref": "#/components/schemas/_types.aggregations:GeoTileGridAggregation" + }, + "geohex_grid": { + "$ref": "#/components/schemas/_types.aggregations:GeohexGridAggregation" + }, + "global": { + "$ref": "#/components/schemas/_types.aggregations:GlobalAggregation" + }, + "histogram": { + "$ref": "#/components/schemas/_types.aggregations:HistogramAggregation" + }, + "ip_range": { + "$ref": "#/components/schemas/_types.aggregations:IpRangeAggregation" + }, + "ip_prefix": { + "$ref": "#/components/schemas/_types.aggregations:IpPrefixAggregation" + }, + "inference": { + "$ref": "#/components/schemas/_types.aggregations:InferenceAggregation" + }, + "line": { + "$ref": "#/components/schemas/_types.aggregations:GeoLineAggregation" + }, + "matrix_stats": { + "$ref": "#/components/schemas/_types.aggregations:MatrixStatsAggregation" + }, + "max": { + "$ref": "#/components/schemas/_types.aggregations:MaxAggregation" + }, + "max_bucket": { + "$ref": "#/components/schemas/_types.aggregations:MaxBucketAggregation" + }, + "median_absolute_deviation": { + "$ref": "#/components/schemas/_types.aggregations:MedianAbsoluteDeviationAggregation" + }, + "min": { + "$ref": "#/components/schemas/_types.aggregations:MinAggregation" + }, + "min_bucket": { + "$ref": "#/components/schemas/_types.aggregations:MinBucketAggregation" + }, + "missing": { + "$ref": "#/components/schemas/_types.aggregations:MissingAggregation" + }, + "moving_avg": { + "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregation" + }, + "moving_percentiles": { + "$ref": "#/components/schemas/_types.aggregations:MovingPercentilesAggregation" + }, + "moving_fn": { + "$ref": "#/components/schemas/_types.aggregations:MovingFunctionAggregation" + }, + "multi_terms": { + "$ref": "#/components/schemas/_types.aggregations:MultiTermsAggregation" + }, + "nested": { + "$ref": "#/components/schemas/_types.aggregations:NestedAggregation" + }, + "normalize": { + "$ref": "#/components/schemas/_types.aggregations:NormalizeAggregation" + }, + "parent": { + "$ref": "#/components/schemas/_types.aggregations:ParentAggregation" + }, + "percentile_ranks": { + "$ref": "#/components/schemas/_types.aggregations:PercentileRanksAggregation" + }, + "percentiles": { + "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregation" + }, + "percentiles_bucket": { + "$ref": "#/components/schemas/_types.aggregations:PercentilesBucketAggregation" + }, + "range": { + "$ref": "#/components/schemas/_types.aggregations:RangeAggregation" + }, + "rare_terms": { + "$ref": "#/components/schemas/_types.aggregations:RareTermsAggregation" + }, + "rate": { + "$ref": "#/components/schemas/_types.aggregations:RateAggregation" + }, + "reverse_nested": { + "$ref": "#/components/schemas/_types.aggregations:ReverseNestedAggregation" + }, + "sampler": { + "$ref": "#/components/schemas/_types.aggregations:SamplerAggregation" + }, + "scripted_metric": { + "$ref": "#/components/schemas/_types.aggregations:ScriptedMetricAggregation" + }, + "serial_diff": { + "$ref": "#/components/schemas/_types.aggregations:SerialDifferencingAggregation" + }, + "significant_terms": { + "$ref": "#/components/schemas/_types.aggregations:SignificantTermsAggregation" + }, + "significant_text": { + "$ref": "#/components/schemas/_types.aggregations:SignificantTextAggregation" + }, + "stats": { + "$ref": "#/components/schemas/_types.aggregations:StatsAggregation" + }, + "stats_bucket": { + "$ref": "#/components/schemas/_types.aggregations:StatsBucketAggregation" + }, + "string_stats": { + "$ref": "#/components/schemas/_types.aggregations:StringStatsAggregation" + }, + "sum": { + "$ref": "#/components/schemas/_types.aggregations:SumAggregation" + }, + "sum_bucket": { + "$ref": "#/components/schemas/_types.aggregations:SumBucketAggregation" + }, + "terms": { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregation" + }, + "top_hits": { + "$ref": "#/components/schemas/_types.aggregations:TopHitsAggregation" + }, + "t_test": { + "$ref": "#/components/schemas/_types.aggregations:TTestAggregation" + }, + "top_metrics": { + "$ref": "#/components/schemas/_types.aggregations:TopMetricsAggregation" + }, + "value_count": { + "$ref": "#/components/schemas/_types.aggregations:ValueCountAggregation" + }, + "weighted_avg": { + "$ref": "#/components/schemas/_types.aggregations:WeightedAverageAggregation" + }, + "variable_width_histogram": { + "$ref": "#/components/schemas/_types.aggregations:VariableWidthHistogramAggregation" + } + }, + "minProperties": 1, + "maxProperties": 1 + } + ] + }, + "_types.aggregations:AdjacencyMatrixAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "filters": { + "description": "Filters used to create buckets.\nAt least one filter is required.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + } + } + ] + }, + "_types.query_dsl:QueryContainer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html" + }, + "type": "object", + "properties": { + "bool": { + "$ref": "#/components/schemas/_types.query_dsl:BoolQuery" + }, + "boosting": { + "$ref": "#/components/schemas/_types.query_dsl:BoostingQuery" + }, + "common": { + "deprecated": true, + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:CommonTermsQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "combined_fields": { + "$ref": "#/components/schemas/_types.query_dsl:CombinedFieldsQuery" + }, + "constant_score": { + "$ref": "#/components/schemas/_types.query_dsl:ConstantScoreQuery" + }, + "dis_max": { + "$ref": "#/components/schemas/_types.query_dsl:DisMaxQuery" + }, + "distance_feature": { + "$ref": "#/components/schemas/_types.query_dsl:DistanceFeatureQuery" + }, + "exists": { + "$ref": "#/components/schemas/_types.query_dsl:ExistsQuery" + }, + "function_score": { + "$ref": "#/components/schemas/_types.query_dsl:FunctionScoreQuery" + }, + "fuzzy": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-fuzzy-query.html" + }, + "description": "Returns documents that contain terms similar to the search term, as measured by a Levenshtein edit distance.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:FuzzyQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "geo_bounding_box": { + "$ref": "#/components/schemas/_types.query_dsl:GeoBoundingBoxQuery" + }, + "geo_distance": { + "$ref": "#/components/schemas/_types.query_dsl:GeoDistanceQuery" + }, + "geo_polygon": { + "$ref": "#/components/schemas/_types.query_dsl:GeoPolygonQuery" + }, + "geo_shape": { + "$ref": "#/components/schemas/_types.query_dsl:GeoShapeQuery" + }, + "has_child": { + "$ref": "#/components/schemas/_types.query_dsl:HasChildQuery" + }, + "has_parent": { + "$ref": "#/components/schemas/_types.query_dsl:HasParentQuery" + }, + "ids": { + "$ref": "#/components/schemas/_types.query_dsl:IdsQuery" + }, + "intervals": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-intervals-query.html" + }, + "description": "Returns documents based on the order and proximity of matching terms.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "match": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query.html" + }, + "description": "Returns documents that match a provided text, number, date or boolean value.\nThe provided text is analyzed before matching.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:MatchQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "match_all": { + "$ref": "#/components/schemas/_types.query_dsl:MatchAllQuery" + }, + "match_bool_prefix": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-bool-prefix-query.html" + }, + "description": "Analyzes its input and constructs a `bool` query from the terms.\nEach term except the last is used in a `term` query.\nThe last term is used in a prefix query.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:MatchBoolPrefixQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "match_none": { + "$ref": "#/components/schemas/_types.query_dsl:MatchNoneQuery" + }, + "match_phrase": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query-phrase.html" + }, + "description": "Analyzes the text and creates a phrase query out of the analyzed text.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:MatchPhraseQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "match_phrase_prefix": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query-phrase-prefix.html" + }, + "description": "Returns documents that contain the words of a provided text, in the same order as provided.\nThe last term of the provided text is treated as a prefix, matching any words that begin with that term.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:MatchPhrasePrefixQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "more_like_this": { + "$ref": "#/components/schemas/_types.query_dsl:MoreLikeThisQuery" + }, + "multi_match": { + "$ref": "#/components/schemas/_types.query_dsl:MultiMatchQuery" + }, + "nested": { + "$ref": "#/components/schemas/_types.query_dsl:NestedQuery" + }, + "parent_id": { + "$ref": "#/components/schemas/_types.query_dsl:ParentIdQuery" + }, + "percolate": { + "$ref": "#/components/schemas/_types.query_dsl:PercolateQuery" + }, + "pinned": { + "$ref": "#/components/schemas/_types.query_dsl:PinnedQuery" + }, + "prefix": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-prefix-query.html" + }, + "description": "Returns documents that contain a specific prefix in a provided field.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:PrefixQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "query_string": { + "$ref": "#/components/schemas/_types.query_dsl:QueryStringQuery" + }, + "range": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html" + }, + "description": "Returns documents that contain terms within a provided range.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:RangeQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "rank_feature": { + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureQuery" + }, + "regexp": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-regexp-query.html" + }, + "description": "Returns documents that contain terms matching a regular expression.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:RegexpQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "rule_query": { + "$ref": "#/components/schemas/_types.query_dsl:RuleQuery" + }, + "script": { + "$ref": "#/components/schemas/_types.query_dsl:ScriptQuery" + }, + "script_score": { + "$ref": "#/components/schemas/_types.query_dsl:ScriptScoreQuery" + }, + "shape": { + "$ref": "#/components/schemas/_types.query_dsl:ShapeQuery" + }, + "simple_query_string": { + "$ref": "#/components/schemas/_types.query_dsl:SimpleQueryStringQuery" + }, + "span_containing": { + "$ref": "#/components/schemas/_types.query_dsl:SpanContainingQuery" + }, + "field_masking_span": { + "$ref": "#/components/schemas/_types.query_dsl:SpanFieldMaskingQuery" + }, + "span_first": { + "$ref": "#/components/schemas/_types.query_dsl:SpanFirstQuery" + }, + "span_multi": { + "$ref": "#/components/schemas/_types.query_dsl:SpanMultiTermQuery" + }, + "span_near": { + "$ref": "#/components/schemas/_types.query_dsl:SpanNearQuery" + }, + "span_not": { + "$ref": "#/components/schemas/_types.query_dsl:SpanNotQuery" + }, + "span_or": { + "$ref": "#/components/schemas/_types.query_dsl:SpanOrQuery" + }, + "span_term": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-span-term-query.html" + }, + "description": "Matches spans containing a term.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:SpanTermQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "span_within": { + "$ref": "#/components/schemas/_types.query_dsl:SpanWithinQuery" + }, + "term": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-term-query.html" + }, + "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": "#/components/schemas/_types.query_dsl:TermQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "terms": { + "$ref": "#/components/schemas/_types.query_dsl:TermsQuery" + }, + "terms_set": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-set-query.html" + }, + "description": "Returns documents that contain a minimum number of exact terms in a provided field.\nTo return a document, a required number of terms must exactly match the field values, including whitespace and capitalization.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:TermsSetQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "text_expansion": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-text-expansion-query.html" + }, + "description": "Uses a natural language processing model to convert the query text into a list of token-weight pairs which are then used in a query against a rank features field.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:TextExpansionQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "wildcard": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-wildcard-query.html" + }, + "description": "Returns documents that contain terms matching a wildcard pattern.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:WildcardQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "wrapper": { + "$ref": "#/components/schemas/_types.query_dsl:WrapperQuery" + }, + "type": { + "$ref": "#/components/schemas/_types.query_dsl:TypeQuery" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_types.query_dsl:BoolQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "filter": { + "description": "The clause (query) must appear in matching documents.\nHowever, unlike `must`, the score of the query will be ignored.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + ] + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "must": { + "description": "The clause (query) must appear in matching documents and will contribute to the score.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + ] + }, + "must_not": { + "description": "The clause (query) must not appear in the matching documents.\nBecause scoring is ignored, a score of `0` is returned for all documents.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + ] + }, + "should": { + "description": "The clause (query) should appear in the matching document.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + ] + } + } + } + ] + }, + "_types:MinimumShouldMatch": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-minimum-should-match.html" + }, + "description": "The minimum number of terms that should match as integer, percentage or range", + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "_types.query_dsl:QueryBase": { + "type": "object", + "properties": { + "boost": { + "description": "Floating point number used to decrease or increase the relevance scores of the query.\nBoost values are relative to the default value of 1.0.\nA boost value between 0 and 1.0 decreases the relevance score.\nA value greater than 1.0 increases the relevance score.", + "type": "number" + }, + "_name": { + "type": "string" + } + } + }, + "_types.query_dsl:BoostingQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "negative_boost": { + "description": "Floating point number between 0 and 1.0 used to decrease the relevance scores of documents matching the `negative` query.", + "type": "number" + }, + "negative": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "positive": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "required": [ + "negative_boost", + "negative", + "positive" + ] + } + ] + }, + "_types.query_dsl:CommonTermsQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "type": "string" + }, + "cutoff_frequency": { + "type": "number" + }, + "high_freq_operator": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "low_freq_operator": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "query": { + "type": "string" + } + }, + "required": [ + "query" + ] + } + ] + }, + "_types.query_dsl:CombinedFieldsQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "fields": { + "description": "List of fields to search. Field wildcard patterns are allowed. Only `text` fields are supported, and they must all have the same search `analyzer`.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "query": { + "description": "Text to search for in the provided `fields`.\nThe `combined_fields` query analyzes the provided text before performing a search.", + "type": "string" + }, + "auto_generate_synonyms_phrase_query": { + "description": "If true, match phrase queries are automatically created for multi-term synonyms.", + "type": "boolean" + }, + "operator": { + "$ref": "#/components/schemas/_types.query_dsl:CombinedFieldsOperator" + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "zero_terms_query": { + "$ref": "#/components/schemas/_types.query_dsl:CombinedFieldsZeroTerms" + } + }, + "required": [ + "fields", + "query" + ] + } + ] + }, + "_types.query_dsl:CombinedFieldsOperator": { + "type": "string", + "enum": [ + "or", + "and" + ] + }, + "_types.query_dsl:CombinedFieldsZeroTerms": { + "type": "string", + "enum": [ + "none", + "all" + ] + }, + "_types.query_dsl:ConstantScoreQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "required": [ + "filter" + ] + } + ] + }, + "_types.query_dsl:DisMaxQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "queries": { + "description": "One or more query clauses.\nReturned documents must match one or more of these queries.\nIf a document matches multiple queries, Elasticsearch uses the highest relevance score.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "tie_breaker": { + "description": "Floating point number between 0 and 1.0 used to increase the relevance scores of documents matching multiple query clauses.", + "type": "number" + } + }, + "required": [ + "queries" + ] + } + ] + }, + "_types.query_dsl:DistanceFeatureQuery": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:GeoDistanceFeatureQuery" + }, + { + "$ref": "#/components/schemas/_types.query_dsl:DateDistanceFeatureQuery" + } + ] + }, + "_types.query_dsl:GeoDistanceFeatureQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:DistanceFeatureQueryBaseGeoLocationDistance" + }, + { + "type": "object" + } + ] + }, + "_types.query_dsl:DistanceFeatureQueryBaseGeoLocationDistance": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "origin": { + "$ref": "#/components/schemas/_types:GeoLocation" + }, + "pivot": { + "$ref": "#/components/schemas/_types:Distance" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "origin", + "pivot", + "field" + ] + } + ] + }, + "_types:Distance": { + "type": "string" + }, + "_types.query_dsl:DateDistanceFeatureQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:DistanceFeatureQueryBaseDateMathDuration" + }, + { + "type": "object" + } + ] + }, + "_types.query_dsl:DistanceFeatureQueryBaseDateMathDuration": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "origin": { + "$ref": "#/components/schemas/_types:DateMath" + }, + "pivot": { + "$ref": "#/components/schemas/_types:Duration" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "origin", + "pivot", + "field" + ] + } + ] + }, + "_types:DateMath": { + "type": "string" + }, + "_types.query_dsl:ExistsQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + } + ] + }, + "_types.query_dsl:FunctionScoreQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "boost_mode": { + "$ref": "#/components/schemas/_types.query_dsl:FunctionBoostMode" + }, + "functions": { + "description": "One or more functions that compute a new score for each document returned by the query.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FunctionScoreContainer" + } + }, + "max_boost": { + "description": "Restricts the new score to not exceed the provided limit.", + "type": "number" + }, + "min_score": { + "description": "Excludes documents that do not meet the provided score threshold.", + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "score_mode": { + "$ref": "#/components/schemas/_types.query_dsl:FunctionScoreMode" + } + } + } + ] + }, + "_types.query_dsl:FunctionBoostMode": { + "type": "string", + "enum": [ + "multiply", + "replace", + "sum", + "avg", + "max", + "min" + ] + }, + "_types.query_dsl:FunctionScoreContainer": { + "allOf": [ + { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "weight": { + "type": "number" + } + } + }, + { + "type": "object", + "properties": { + "exp": { + "$ref": "#/components/schemas/_types.query_dsl:DecayFunction" + }, + "gauss": { + "$ref": "#/components/schemas/_types.query_dsl:DecayFunction" + }, + "linear": { + "$ref": "#/components/schemas/_types.query_dsl:DecayFunction" + }, + "field_value_factor": { + "$ref": "#/components/schemas/_types.query_dsl:FieldValueFactorScoreFunction" + }, + "random_score": { + "$ref": "#/components/schemas/_types.query_dsl:RandomScoreFunction" + }, + "script_score": { + "$ref": "#/components/schemas/_types.query_dsl:ScriptScoreFunction" + } + }, + "minProperties": 1, + "maxProperties": 1 + } + ] + }, + "_types.query_dsl:DecayFunction": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:DateDecayFunction" + }, + { + "$ref": "#/components/schemas/_types.query_dsl:NumericDecayFunction" + }, + { + "$ref": "#/components/schemas/_types.query_dsl:GeoDecayFunction" + } + ] + }, + "_types.query_dsl:DateDecayFunction": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:DecayFunctionBase" + }, + { + "type": "object" + } + ] + }, + "_types.query_dsl:DecayFunctionBase": { + "type": "object", + "properties": { + "multi_value_mode": { + "$ref": "#/components/schemas/_types.query_dsl:MultiValueMode" + } + } + }, + "_types.query_dsl:MultiValueMode": { + "type": "string", + "enum": [ + "min", + "max", + "avg", + "sum" + ] + }, + "_types.query_dsl:NumericDecayFunction": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:DecayFunctionBase" + }, + { + "type": "object" + } + ] + }, + "_types.query_dsl:GeoDecayFunction": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:DecayFunctionBase" + }, + { + "type": "object" + } + ] + }, + "_types.query_dsl:FieldValueFactorScoreFunction": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "factor": { + "description": "Optional factor to multiply the field value with.", + "type": "number" + }, + "missing": { + "description": "Value used if the document doesn’t have that field.\nThe modifier and factor are still applied to it as though it were read from the document.", + "type": "number" + }, + "modifier": { + "$ref": "#/components/schemas/_types.query_dsl:FieldValueFactorModifier" + } + }, + "required": [ + "field" + ] + }, + "_types.query_dsl:FieldValueFactorModifier": { + "type": "string", + "enum": [ + "none", + "log", + "log1p", + "log2p", + "ln", + "ln1p", + "ln2p", + "square", + "sqrt", + "reciprocal" + ] + }, + "_types.query_dsl:RandomScoreFunction": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "seed": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + } + }, + "_types.query_dsl:ScriptScoreFunction": { + "type": "object", + "properties": { + "script": { + "$ref": "#/components/schemas/_types:Script" + } + }, + "required": [ + "script" + ] + }, + "_types:Script": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:InlineScript" + }, + { + "$ref": "#/components/schemas/_types:StoredScriptId" + } + ] + }, + "_types:InlineScript": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:ScriptBase" + }, + { + "type": "object", + "properties": { + "lang": { + "$ref": "#/components/schemas/_types:ScriptLanguage" + }, + "options": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "source": { + "description": "The script source.", + "type": "string" + } + }, + "required": [ + "source" + ] + } + ] + }, + "_types:ScriptLanguage": { + "type": "string", + "enum": [ + "painless", + "expression", + "mustache", + "java" + ] + }, + "_types:ScriptBase": { + "type": "object", + "properties": { + "params": { + "description": "Specifies any named parameters that are passed into the script as variables.\nUse parameters instead of hard-coded values to decrease compile time.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "_types:StoredScriptId": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:ScriptBase" + }, + { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "required": [ + "id" + ] + } + ] + }, + "_types.query_dsl:FunctionScoreMode": { + "type": "string", + "enum": [ + "multiply", + "sum", + "avg", + "first", + "max", + "min" + ] + }, + "_types.query_dsl:FuzzyQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "max_expansions": { + "description": "Maximum number of variations created.", + "type": "number" + }, + "prefix_length": { + "description": "Number of beginning characters left unchanged when creating expansions.", + "type": "number" + }, + "rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "transpositions": { + "description": "Indicates whether edits include transpositions of two adjacent characters (for example `ab` to `ba`).", + "type": "boolean" + }, + "fuzziness": { + "$ref": "#/components/schemas/_types:Fuzziness" + }, + "value": { + "description": "Term you wish to find in the provided field.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types:MultiTermQueryRewrite": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-term-rewrite.html" + }, + "type": "string" + }, + "_types:Fuzziness": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#fuzziness" + }, + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "_types.query_dsl:GeoBoundingBoxQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/_types.query_dsl:GeoExecution" + }, + "validation_method": { + "$ref": "#/components/schemas/_types.query_dsl:GeoValidationMethod" + }, + "ignore_unmapped": { + "description": "Set to `true` to ignore an unmapped field and not match any documents for this query.\nSet to `false` to throw an exception if the field is not mapped.", + "type": "boolean" + } + } + } + ] + }, + "_types.query_dsl:GeoExecution": { + "type": "string", + "enum": [ + "memory", + "indexed" + ] + }, + "_types.query_dsl:GeoValidationMethod": { + "type": "string", + "enum": [ + "coerce", + "ignore_malformed", + "strict" + ] + }, + "_types.query_dsl:GeoDistanceQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "distance": { + "$ref": "#/components/schemas/_types:Distance" + }, + "distance_type": { + "$ref": "#/components/schemas/_types:GeoDistanceType" + }, + "validation_method": { + "$ref": "#/components/schemas/_types.query_dsl:GeoValidationMethod" + } + }, + "required": [ + "distance" + ] + } + ] + }, + "_types:GeoDistanceType": { + "type": "string", + "enum": [ + "arc", + "plane" + ] + }, + "_types.query_dsl:GeoPolygonQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "validation_method": { + "$ref": "#/components/schemas/_types.query_dsl:GeoValidationMethod" + }, + "ignore_unmapped": { + "type": "boolean" + } + } + } + ] + }, + "_types.query_dsl:GeoShapeQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "ignore_unmapped": { + "description": "Set to `true` to ignore an unmapped field and not match any documents for this query.\nSet to `false` to throw an exception if the field is not mapped.", + "type": "boolean" + } + } + } + ] + }, + "_types.query_dsl:HasChildQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "ignore_unmapped": { + "description": "Indicates whether to ignore an unmapped `type` and not return any documents instead of an error.", + "type": "boolean" + }, + "inner_hits": { + "$ref": "#/components/schemas/_global.search._types:InnerHits" + }, + "max_children": { + "description": "Maximum number of child documents that match the query allowed for a returned parent document.\nIf the parent document exceeds this limit, it is excluded from the search results.", + "type": "number" + }, + "min_children": { + "description": "Minimum number of child documents that match the query required to match the query for a returned parent document.\nIf the parent document does not meet this limit, it is excluded from the search results.", + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "score_mode": { + "$ref": "#/components/schemas/_types.query_dsl:ChildScoreMode" + }, + "type": { + "$ref": "#/components/schemas/_types:RelationName" + } + }, + "required": [ + "query", + "type" + ] + } + ] + }, + "_global.search._types:InnerHits": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "size": { + "description": "The maximum number of hits to return per `inner_hits`.", + "type": "number" + }, + "from": { + "description": "Inner hit starting document offset.", + "type": "number" + }, + "collapse": { + "$ref": "#/components/schemas/_global.search._types:FieldCollapse" + }, + "docvalue_fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "explain": { + "type": "boolean" + }, + "highlight": { + "$ref": "#/components/schemas/_global.search._types:Highlight" + }, + "ignore_unmapped": { + "type": "boolean" + }, + "script_fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "seq_no_primary_term": { + "type": "boolean" + }, + "fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "stored_field": { + "$ref": "#/components/schemas/_types:Fields" + }, + "track_scores": { + "type": "boolean" + }, + "version": { + "type": "boolean" + } + } + }, + "_types:Name": { + "type": "string" + }, + "_global.search._types:FieldCollapse": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "inner_hits": { + "description": "The number of inner hits and their sort order", + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:InnerHits" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_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": { + "$ref": "#/components/schemas/_global.search._types:FieldCollapse" + } + }, + "required": [ + "field" + ] + }, + "_types.query_dsl:FieldAndFormat": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "format": { + "description": "Format in which the values are returned.", + "type": "string" + }, + "include_unmapped": { + "type": "boolean" + } + }, + "required": [ + "field" + ] + }, + "_global.search._types:Highlight": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.search._types:HighlightBase" + }, + { + "type": "object", + "properties": { + "encoder": { + "$ref": "#/components/schemas/_global.search._types:HighlighterEncoder" + }, + "fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.search._types:HighlightField" + } + } + }, + "required": [ + "fields" + ] + } + ] + }, + "_global.search._types:HighlighterEncoder": { + "type": "string", + "enum": [ + "default", + "html" + ] + }, + "_global.search._types:HighlightField": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.search._types:HighlightBase" + }, + { + "type": "object", + "properties": { + "fragment_offset": { + "type": "number" + }, + "matched_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "analyzer": { + "$ref": "#/components/schemas/_types.analysis:Analyzer" + } + } + } + ] + }, + "_types.analysis:Analyzer": { + "discriminator": { + "propertyName": "type" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CustomAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:FingerprintAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:KeywordAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:LanguageAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:NoriAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:PatternAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:SimpleAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:StandardAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:StopAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:WhitespaceAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:IcuAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:KuromojiAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:SnowballAnalyzer" + }, + { + "$ref": "#/components/schemas/_types.analysis:DutchAnalyzer" + } + ] + }, + "_types.analysis:CustomAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "custom" + ] + }, + "char_filter": { + "type": "array", + "items": { + "type": "string" + } + }, + "filter": { + "type": "array", + "items": { + "type": "string" + } + }, + "position_increment_gap": { + "type": "number" + }, + "position_offset_gap": { + "type": "number" + }, + "tokenizer": { + "type": "string" + } + }, + "required": [ + "type", + "tokenizer" + ] + }, + "_types.analysis:FingerprintAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "fingerprint" + ] + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "max_output_size": { + "type": "number" + }, + "preserve_original": { + "type": "boolean" + }, + "separator": { + "type": "string" + }, + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" + }, + "stopwords_path": { + "type": "string" + } + }, + "required": [ + "type", + "max_output_size", + "preserve_original", + "separator" + ] + }, + "_types.analysis:StopWords": { + "description": "Language value, such as _arabic_ or _thai_. Defaults to _english_.\nEach language value corresponds to a predefined list of stop words in Lucene. See Stop words by language for supported language values and their stop words.\nAlso accepts an array of stop words.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "_types.analysis:KeywordAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "keyword" + ] + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "type" + ] + }, + "_types.analysis:LanguageAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "language" + ] + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "language": { + "$ref": "#/components/schemas/_types.analysis:Language" + }, + "stem_exclusion": { + "type": "array", + "items": { + "type": "string" + } + }, + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" + }, + "stopwords_path": { + "type": "string" + } + }, + "required": [ + "type", + "language", + "stem_exclusion" + ] + }, + "_types.analysis:Language": { + "type": "string", + "enum": [ + "Arabic", + "Armenian", + "Basque", + "Brazilian", + "Bulgarian", + "Catalan", + "Chinese", + "Cjk", + "Czech", + "Danish", + "Dutch", + "English", + "Estonian", + "Finnish", + "French", + "Galician", + "German", + "Greek", + "Hindi", + "Hungarian", + "Indonesian", + "Irish", + "Italian", + "Latvian", + "Norwegian", + "Persian", + "Portuguese", + "Romanian", + "Russian", + "Sorani", + "Spanish", + "Swedish", + "Turkish", + "Thai" + ] + }, + "_types.analysis:NoriAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "nori" + ] + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "decompound_mode": { + "$ref": "#/components/schemas/_types.analysis:NoriDecompoundMode" + }, + "stoptags": { + "type": "array", + "items": { + "type": "string" + } + }, + "user_dictionary": { + "type": "string" + } + }, + "required": [ + "type" + ] + }, + "_types.analysis:NoriDecompoundMode": { + "type": "string", + "enum": [ + "discard", + "none", + "mixed" + ] + }, + "_types.analysis:PatternAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "pattern" + ] + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "flags": { + "type": "string" + }, + "lowercase": { + "type": "boolean" + }, + "pattern": { + "type": "string" + }, + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" + } + }, + "required": [ + "type", + "pattern" + ] + }, + "_types.analysis:SimpleAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "simple" + ] + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "type" + ] + }, + "_types.analysis:StandardAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "standard" + ] + }, + "max_token_length": { + "type": "number" + }, + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" + } + }, + "required": [ + "type" + ] + }, + "_types.analysis:StopAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "stop" + ] + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" + }, + "stopwords_path": { + "type": "string" + } + }, + "required": [ + "type" + ] + }, + "_types.analysis:WhitespaceAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "whitespace" + ] + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "type" + ] + }, + "_types.analysis:IcuAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "icu_analyzer" + ] + }, + "method": { + "$ref": "#/components/schemas/_types.analysis:IcuNormalizationType" + }, + "mode": { + "$ref": "#/components/schemas/_types.analysis:IcuNormalizationMode" + } + }, + "required": [ + "type", + "method", + "mode" + ] + }, + "_types.analysis:IcuNormalizationType": { + "type": "string", + "enum": [ + "nfc", + "nfkc", + "nfkc_cf" + ] + }, + "_types.analysis:IcuNormalizationMode": { + "type": "string", + "enum": [ + "decompose", + "compose" + ] + }, + "_types.analysis:KuromojiAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "kuromoji" + ] + }, + "mode": { + "$ref": "#/components/schemas/_types.analysis:KuromojiTokenizationMode" + }, + "user_dictionary": { + "type": "string" + } + }, + "required": [ + "type", + "mode" + ] + }, + "_types.analysis:KuromojiTokenizationMode": { + "type": "string", + "enum": [ + "normal", + "search", + "extended" + ] + }, + "_types.analysis:SnowballAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "snowball" + ] + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "language": { + "$ref": "#/components/schemas/_types.analysis:SnowballLanguage" + }, + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" + } + }, + "required": [ + "type", + "language" + ] + }, + "_types.analysis:SnowballLanguage": { + "type": "string", + "enum": [ + "Armenian", + "Basque", + "Catalan", + "Danish", + "Dutch", + "English", + "Finnish", + "French", + "German", + "German2", + "Hungarian", + "Italian", + "Kp", + "Lovins", + "Norwegian", + "Porter", + "Portuguese", + "Romanian", + "Russian", + "Spanish", + "Swedish", + "Turkish" + ] + }, + "_types.analysis:DutchAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "dutch" + ] + }, + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" + } + }, + "required": [ + "type" + ] + }, + "_global.search._types:HighlightBase": { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/_global.search._types:HighlighterType" + }, + "boundary_chars": { + "description": "A string that contains each boundary character.", + "type": "string" + }, + "boundary_max_scan": { + "description": "How far to scan for boundary characters.", + "type": "number" + }, + "boundary_scanner": { + "$ref": "#/components/schemas/_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\"`.", + "type": "string" + }, + "force_source": { + "deprecated": true, + "type": "boolean" + }, + "fragmenter": { + "$ref": "#/components/schemas/_global.search._types:HighlighterFragmenter" + }, + "fragment_size": { + "description": "The size of the highlighted fragment in characters.", + "type": "number" + }, + "highlight_filter": { + "type": "boolean" + }, + "highlight_query": { + "$ref": "#/components/schemas/_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.", + "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.", + "type": "number" + }, + "options": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "order": { + "$ref": "#/components/schemas/_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.", + "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 `` and `` 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 `` and `` 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.", + "type": "boolean" + }, + "tags_schema": { + "$ref": "#/components/schemas/_global.search._types:HighlighterTagsSchema" + } + } + }, + "_global.search._types:HighlighterType": { + "type": "string", + "enum": [ + "plain", + "fvh", + "unified" + ] + }, + "_global.search._types:BoundaryScanner": { + "type": "string", + "enum": [ + "chars", + "sentence", + "word" + ] + }, + "_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" + ] + }, + "_types:ScriptField": { + "type": "object", + "properties": { + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "ignore_failure": { + "type": "boolean" + } + }, + "required": [ + "script" + ] + }, + "_types:Sort": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:SortCombinations" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:SortCombinations" + } + } + ] + }, + "_types:SortCombinations": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Field" + }, + { + "$ref": "#/components/schemas/_types:SortOptions" + } + ] + }, + "_types:SortOptions": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sort-search-results.html" + }, + "type": "object", + "properties": { + "_score": { + "$ref": "#/components/schemas/_types:ScoreSort" + }, + "_doc": { + "$ref": "#/components/schemas/_types:ScoreSort" + }, + "_geo_distance": { + "$ref": "#/components/schemas/_types:GeoDistanceSort" + }, + "_script": { + "$ref": "#/components/schemas/_types:ScriptSort" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_types:ScoreSort": { + "type": "object", + "properties": { + "order": { + "$ref": "#/components/schemas/_types:SortOrder" + } + } + }, + "_types:SortOrder": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + }, + "_types:GeoDistanceSort": { + "type": "object", + "properties": { + "mode": { + "$ref": "#/components/schemas/_types:SortMode" + }, + "distance_type": { + "$ref": "#/components/schemas/_types:GeoDistanceType" + }, + "ignore_unmapped": { + "type": "boolean" + }, + "order": { + "$ref": "#/components/schemas/_types:SortOrder" + }, + "unit": { + "$ref": "#/components/schemas/_types:DistanceUnit" + } + } + }, + "_types:SortMode": { + "type": "string", + "enum": [ + "min", + "max", + "sum", + "avg", + "median" + ] + }, + "_types:DistanceUnit": { + "type": "string", + "enum": [ + "in", + "ft", + "yd", + "mi", + "nmi", + "km", + "m", + "cm", + "mm" + ] + }, + "_types:ScriptSort": { + "type": "object", + "properties": { + "order": { + "$ref": "#/components/schemas/_types:SortOrder" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "type": { + "$ref": "#/components/schemas/_types:ScriptSortType" + }, + "mode": { + "$ref": "#/components/schemas/_types:SortMode" + }, + "nested": { + "$ref": "#/components/schemas/_types:NestedSortValue" + } + }, + "required": [ + "script" + ] + }, + "_types:ScriptSortType": { + "type": "string", + "enum": [ + "string", + "number", + "version" + ] + }, + "_types:NestedSortValue": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "max_children": { + "type": "number" + }, + "nested": { + "$ref": "#/components/schemas/_types:NestedSortValue" + }, + "path": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "path" + ] + }, + "_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": "#/components/schemas/_global.search._types:SourceFilter" + } + ] + }, + "_global.search._types:SourceFilter": { + "type": "object", + "properties": { + "excludes": { + "$ref": "#/components/schemas/_types:Fields" + }, + "includes": { + "$ref": "#/components/schemas/_types:Fields" + } + } + }, + "_types.query_dsl:ChildScoreMode": { + "type": "string", + "enum": [ + "none", + "avg", + "sum", + "max", + "min" + ] + }, + "_types:RelationName": { + "type": "string" + }, + "_types.query_dsl:HasParentQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "ignore_unmapped": { + "description": "Indicates whether to ignore an unmapped `parent_type` and not return any documents instead of an error.\nYou can use this parameter to query multiple indices that may not contain the `parent_type`.", + "type": "boolean" + }, + "inner_hits": { + "$ref": "#/components/schemas/_global.search._types:InnerHits" + }, + "parent_type": { + "$ref": "#/components/schemas/_types:RelationName" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "score": { + "description": "Indicates whether the relevance score of a matching parent document is aggregated into its child documents.", + "type": "boolean" + } + }, + "required": [ + "parent_type", + "query" + ] + } + ] + }, + "_types.query_dsl:IdsQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "values": { + "$ref": "#/components/schemas/_types:Ids" + } + } + } + ] + }, + "_types:Ids": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Id" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } + } + ] + }, + "_types.query_dsl:IntervalsQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "all_of": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsAllOf" + }, + "any_of": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsAnyOf" + }, + "fuzzy": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsFuzzy" + }, + "match": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsMatch" + }, + "prefix": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsPrefix" + }, + "wildcard": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsWildcard" + } + }, + "minProperties": 1, + "maxProperties": 1 + } + ] + }, + "_types.query_dsl:IntervalsAllOf": { + "type": "object", + "properties": { + "intervals": { + "description": "An array of rules to combine. All rules must produce a match in a document for the overall source to match.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + } + }, + "max_gaps": { + "description": "Maximum number of positions between the matching terms.\nIntervals produced by the rules further apart than this are not considered matches.", + "type": "number" + }, + "ordered": { + "description": "If `true`, intervals produced by the rules should appear in the order in which they are specified.", + "type": "boolean" + }, + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsFilter" + } + }, + "required": [ + "intervals" + ] + }, + "_types.query_dsl:IntervalsContainer": { + "type": "object", + "properties": { + "all_of": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsAllOf" + }, + "any_of": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsAnyOf" + }, + "fuzzy": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsFuzzy" + }, + "match": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsMatch" + }, + "prefix": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsPrefix" + }, + "wildcard": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsWildcard" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_types.query_dsl:IntervalsAnyOf": { + "type": "object", + "properties": { + "intervals": { + "description": "An array of rules to match.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + } + }, + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsFilter" + } + }, + "required": [ + "intervals" + ] + }, + "_types.query_dsl:IntervalsFilter": { + "type": "object", + "properties": { + "after": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + }, + "before": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + }, + "contained_by": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + }, + "containing": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + }, + "not_contained_by": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + }, + "not_containing": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + }, + "not_overlapping": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + }, + "overlapping": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_types.query_dsl:IntervalsFuzzy": { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + }, + "description": "Analyzer used to normalize the term.", + "type": "string" + }, + "fuzziness": { + "$ref": "#/components/schemas/_types:Fuzziness" + }, + "prefix_length": { + "description": "Number of beginning characters left unchanged when creating expansions.", + "type": "number" + }, + "term": { + "description": "The term to match.", + "type": "string" + }, + "transpositions": { + "description": "Indicates whether edits include transpositions of two adjacent characters (for example, `ab` to `ba`).", + "type": "boolean" + }, + "use_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "term" + ] + }, + "_types.query_dsl:IntervalsMatch": { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + }, + "description": "Analyzer used to analyze terms in the query.", + "type": "string" + }, + "max_gaps": { + "description": "Maximum number of positions between the matching terms.\nTerms further apart than this are not considered matches.", + "type": "number" + }, + "ordered": { + "description": "If `true`, matching terms must appear in their specified order.", + "type": "boolean" + }, + "query": { + "description": "Text you wish to find in the provided field.", + "type": "string" + }, + "use_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsFilter" + } + }, + "required": [ + "query" + ] + }, + "_types.query_dsl:IntervalsPrefix": { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + }, + "description": "Analyzer used to analyze the `prefix`.", + "type": "string" + }, + "prefix": { + "description": "Beginning characters of terms you wish to find in the top-level field.", + "type": "string" + }, + "use_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "prefix" + ] + }, + "_types.query_dsl:IntervalsWildcard": { + "type": "object", + "properties": { + "analyzer": { + "description": "Analyzer used to analyze the `pattern`.\nDefaults to the top-level field's analyzer.", + "type": "string" + }, + "pattern": { + "description": "Wildcard pattern used to find matching terms.", + "type": "string" + }, + "use_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "pattern" + ] + }, + "_types.query_dsl:MatchQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + }, + "description": "Analyzer used to convert the text in the query value into tokens.", + "type": "string" + }, + "auto_generate_synonyms_phrase_query": { + "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", + "type": "boolean" + }, + "cutoff_frequency": { + "deprecated": true, + "type": "number" + }, + "fuzziness": { + "$ref": "#/components/schemas/_types:Fuzziness" + }, + "fuzzy_rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "fuzzy_transpositions": { + "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).", + "type": "boolean" + }, + "lenient": { + "description": "If `true`, format-based errors, such as providing a text query value for a numeric field, are ignored.", + "type": "boolean" + }, + "max_expansions": { + "description": "Maximum number of terms to which the query will expand.", + "type": "number" + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "operator": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "prefix_length": { + "description": "Number of beginning characters left unchanged for fuzzy matching.", + "type": "number" + }, + "query": { + "description": "Text, number, boolean value or date you wish to find in the provided field.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "zero_terms_query": { + "$ref": "#/components/schemas/_types.query_dsl:ZeroTermsQuery" + } + }, + "required": [ + "query" + ] + } + ] + }, + "_types.query_dsl:ZeroTermsQuery": { + "type": "string", + "enum": [ + "all", + "none" + ] + }, + "_types.query_dsl:MatchAllQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object" + } + ] + }, + "_types.query_dsl:MatchBoolPrefixQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + }, + "description": "Analyzer used to convert the text in the query value into tokens.", + "type": "string" + }, + "fuzziness": { + "$ref": "#/components/schemas/_types:Fuzziness" + }, + "fuzzy_rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "fuzzy_transpositions": { + "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).\nCan be applied to the term subqueries constructed for all terms but the final term.", + "type": "boolean" + }, + "max_expansions": { + "description": "Maximum number of terms to which the query will expand.\nCan be applied to the term subqueries constructed for all terms but the final term.", + "type": "number" + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "operator": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "prefix_length": { + "description": "Number of beginning characters left unchanged for fuzzy matching.\nCan be applied to the term subqueries constructed for all terms but the final term.", + "type": "number" + }, + "query": { + "description": "Terms you wish to find in the provided field.\nThe last term is used in a prefix query.", + "type": "string" + } + }, + "required": [ + "query" + ] + } + ] + }, + "_types.query_dsl:MatchNoneQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object" + } + ] + }, + "_types.query_dsl:MatchPhraseQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + }, + "description": "Analyzer used to convert the text in the query value into tokens.", + "type": "string" + }, + "query": { + "description": "Query terms that are analyzed and turned into a phrase query.", + "type": "string" + }, + "slop": { + "description": "Maximum number of positions allowed between matching tokens.", + "type": "number" + }, + "zero_terms_query": { + "$ref": "#/components/schemas/_types.query_dsl:ZeroTermsQuery" + } + }, + "required": [ + "query" + ] + } + ] + }, + "_types.query_dsl:MatchPhrasePrefixQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + }, + "description": "Analyzer used to convert text in the query value into tokens.", + "type": "string" + }, + "max_expansions": { + "description": "Maximum number of terms to which the last provided term of the query value will expand.", + "type": "number" + }, + "query": { + "description": "Text you wish to find in the provided field.", + "type": "string" + }, + "slop": { + "description": "Maximum number of positions allowed between matching tokens.", + "type": "number" + }, + "zero_terms_query": { + "$ref": "#/components/schemas/_types.query_dsl:ZeroTermsQuery" + } + }, + "required": [ + "query" + ] + } + ] + }, + "_types.query_dsl:MoreLikeThisQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + }, + "description": "The analyzer that is used to analyze the free form text.\nDefaults to the analyzer associated with the first field in fields.", + "type": "string" + }, + "boost_terms": { + "description": "Each term in the formed query could be further boosted by their tf-idf score.\nThis sets the boost factor to use when using this feature.\nDefaults to deactivated (0).", + "type": "number" + }, + "fail_on_unsupported_field": { + "description": "Controls whether the query should fail (throw an exception) if any of the specified fields are not of the supported types (`text` or `keyword`).", + "type": "boolean" + }, + "fields": { + "description": "A list of fields to fetch and analyze the text from.\nDefaults to the `index.query.default_field` index setting, which has a default value of `*`.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "include": { + "description": "Specifies whether the input documents should also be included in the search results returned.", + "type": "boolean" + }, + "like": { + "description": "Specifies free form text and/or a single or multiple documents for which you want to find similar documents.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:Like" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:Like" + } + } + ] + }, + "max_doc_freq": { + "description": "The maximum document frequency above which the terms are ignored from the input document.", + "type": "number" + }, + "max_query_terms": { + "description": "The maximum number of query terms that can be selected.", + "type": "number" + }, + "max_word_length": { + "description": "The maximum word length above which the terms are ignored.\nDefaults to unbounded (`0`).", + "type": "number" + }, + "min_doc_freq": { + "description": "The minimum document frequency below which the terms are ignored from the input document.", + "type": "number" + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "min_term_freq": { + "description": "The minimum term frequency below which the terms are ignored from the input document.", + "type": "number" + }, + "min_word_length": { + "description": "The minimum word length below which the terms are ignored.", + "type": "number" + }, + "per_field_analyzer": { + "description": "Overrides the default analyzer.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "stop_words": { + "$ref": "#/components/schemas/_types.analysis:StopWords" + }, + "unlike": { + "description": "Used in combination with `like` to exclude documents that match a set of terms.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:Like" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:Like" + } + } + ] + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "version_type": { + "$ref": "#/components/schemas/_types:VersionType" + } + }, + "required": [ + "like" + ] + } + ] + }, + "_types.query_dsl:Like": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-mlt-query.html#_document_input_parameters" + }, + "description": "Text that we want similar documents for or a lookup to a document's field for the text.", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/_types.query_dsl:LikeDocument" + } + ] + }, + "_types.query_dsl:LikeDocument": { + "type": "object", + "properties": { + "doc": { + "description": "A document not present in the index.", + "type": "object" + }, + "fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "per_field_analyzer": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "version_type": { + "$ref": "#/components/schemas/_types:VersionType" + } + } + }, + "_types:VersionType": { + "type": "string", + "enum": [ + "internal", + "external", + "external_gte", + "force" + ] + }, + "_types.query_dsl:MultiMatchQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + }, + "description": "Analyzer used to convert the text in the query value into tokens.", + "type": "string" + }, + "auto_generate_synonyms_phrase_query": { + "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", + "type": "boolean" + }, + "cutoff_frequency": { + "deprecated": true, + "type": "number" + }, + "fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "fuzziness": { + "$ref": "#/components/schemas/_types:Fuzziness" + }, + "fuzzy_rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "fuzzy_transpositions": { + "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).\nCan be applied to the term subqueries constructed for all terms but the final term.", + "type": "boolean" + }, + "lenient": { + "description": "If `true`, format-based errors, such as providing a text query value for a numeric field, are ignored.", + "type": "boolean" + }, + "max_expansions": { + "description": "Maximum number of terms to which the query will expand.", + "type": "number" + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "operator": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "prefix_length": { + "description": "Number of beginning characters left unchanged for fuzzy matching.", + "type": "number" + }, + "query": { + "description": "Text, number, boolean value or date you wish to find in the provided field.", + "type": "string" + }, + "slop": { + "description": "Maximum number of positions allowed between matching tokens.", + "type": "number" + }, + "tie_breaker": { + "description": "Determines how scores for each per-term blended query and scores across groups are combined.", + "type": "number" + }, + "type": { + "$ref": "#/components/schemas/_types.query_dsl:TextQueryType" + }, + "zero_terms_query": { + "$ref": "#/components/schemas/_types.query_dsl:ZeroTermsQuery" + } + }, + "required": [ + "query" + ] + } + ] + }, + "_types.query_dsl:TextQueryType": { + "type": "string", + "enum": [ + "best_fields", + "most_fields", + "cross_fields", + "phrase", + "phrase_prefix", + "bool_prefix" + ] + }, + "_types.query_dsl:NestedQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "ignore_unmapped": { + "description": "Indicates whether to ignore an unmapped path and not return any documents instead of an error.", + "type": "boolean" + }, + "inner_hits": { + "$ref": "#/components/schemas/_global.search._types:InnerHits" + }, + "path": { + "$ref": "#/components/schemas/_types:Field" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "score_mode": { + "$ref": "#/components/schemas/_types.query_dsl:ChildScoreMode" + } + }, + "required": [ + "path", + "query" + ] + } + ] + }, + "_types.query_dsl:ParentIdQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "ignore_unmapped": { + "description": "Indicates whether to ignore an unmapped `type` and not return any documents instead of an error.", + "type": "boolean" + }, + "type": { + "$ref": "#/components/schemas/_types:RelationName" + } + } + } + ] + }, + "_types.query_dsl:PercolateQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "document": { + "description": "The source of the document being percolated.", + "type": "object" + }, + "documents": { + "description": "An array of sources of the documents being percolated.", + "type": "array", + "items": { + "type": "object" + } + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "name": { + "description": "The suffix used for the `_percolator_document_slot` field when multiple `percolate` queries are specified.", + "type": "string" + }, + "preference": { + "description": "Preference used to fetch document to percolate.", + "type": "string" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + } + }, + "required": [ + "field" + ] + } + ] + }, + "_types.query_dsl:PinnedQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "allOf": [ + { + "type": "object", + "properties": { + "organic": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "required": [ + "organic" + ] + }, + { + "type": "object", + "properties": { + "ids": { + "description": "Document IDs listed in the order they are to appear in results.\nRequired if `docs` is not specified.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "docs": { + "description": "Documents listed in the order they are to appear in results.\nRequired if `ids` is not specified.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:PinnedDoc" + } + } + }, + "minProperties": 1, + "maxProperties": 1 + } + ] + } + ] + }, + "_types.query_dsl:PinnedDoc": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "required": [ + "_id", + "_index" + ] + }, + "_types.query_dsl:PrefixQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "value": { + "description": "Beginning characters of terms you wish to find in the provided field.", + "type": "string" + }, + "case_insensitive": { + "description": "Allows ASCII case insensitive matching of the value with the indexed field values when set to `true`.\nDefault is `false` which means the case sensitivity of matching depends on the underlying field’s mapping.", + "type": "boolean" + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types.query_dsl:QueryStringQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "allow_leading_wildcard": { + "description": "If `true`, the wildcard characters `*` and `?` are allowed as the first character of the query string.", + "type": "boolean" + }, + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + }, + "description": "Analyzer used to convert text in the query string into tokens.", + "type": "string" + }, + "analyze_wildcard": { + "description": "If `true`, the query attempts to analyze wildcard terms in the query string.", + "type": "boolean" + }, + "auto_generate_synonyms_phrase_query": { + "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", + "type": "boolean" + }, + "default_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "default_operator": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "enable_position_increments": { + "description": "If `true`, enable position increments in queries constructed from a `query_string` search.", + "type": "boolean" + }, + "escape": { + "type": "boolean" + }, + "fields": { + "description": "Array of fields to search. Supports wildcards (`*`).", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "fuzziness": { + "$ref": "#/components/schemas/_types:Fuzziness" + }, + "fuzzy_max_expansions": { + "description": "Maximum number of terms to which the query expands for fuzzy matching.", + "type": "number" + }, + "fuzzy_prefix_length": { + "description": "Number of beginning characters left unchanged for fuzzy matching.", + "type": "number" + }, + "fuzzy_rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "fuzzy_transpositions": { + "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).", + "type": "boolean" + }, + "lenient": { + "description": "If `true`, format-based errors, such as providing a text value for a numeric field, are ignored.", + "type": "boolean" + }, + "max_determinized_states": { + "description": "Maximum number of automaton states required for the query.", + "type": "number" + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "phrase_slop": { + "description": "Maximum number of positions allowed between matching tokens for phrases.", + "type": "number" + }, + "query": { + "description": "Query string you wish to parse and use for search.", + "type": "string" + }, + "quote_analyzer": { + "description": "Analyzer used to convert quoted text in the query string into tokens.\nFor quoted text, this parameter overrides the analyzer specified in the `analyzer` parameter.", + "type": "string" + }, + "quote_field_suffix": { + "description": "Suffix appended to quoted text in the query string.\nYou can use this suffix to use a different analysis method for exact matches.", + "type": "string" + }, + "rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "tie_breaker": { + "description": "How to combine the queries generated from the individual search terms in the resulting `dis_max` query.", + "type": "number" + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" + }, + "type": { + "$ref": "#/components/schemas/_types.query_dsl:TextQueryType" + } + }, + "required": [ + "query" + ] + } + ] + }, + "_types:TimeZone": { + "type": "string" + }, + "_types.query_dsl:RangeQuery": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:DateRangeQuery" + }, + { + "$ref": "#/components/schemas/_types.query_dsl:NumberRangeQuery" + } + ] + }, + "_types.query_dsl:DateRangeQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:RangeQueryBase" + }, + { + "type": "object", + "properties": { + "gt": { + "$ref": "#/components/schemas/_types:DateMath" + }, + "gte": { + "$ref": "#/components/schemas/_types:DateMath" + }, + "lt": { + "$ref": "#/components/schemas/_types:DateMath" + }, + "lte": { + "$ref": "#/components/schemas/_types:DateMath" + }, + "from": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:DateMath" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "to": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:DateMath" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "format": { + "$ref": "#/components/schemas/_types:DateFormat" + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" + } + } + } + ] + }, + "_types:DateFormat": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-date-format.html" + }, + "type": "string" + }, + "_types.query_dsl:RangeQueryBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "relation": { + "$ref": "#/components/schemas/_types.query_dsl:RangeRelation" + } + } + } + ] + }, + "_types.query_dsl:RangeRelation": { + "type": "string", + "enum": [ + "within", + "contains", + "intersects" + ] + }, + "_types.query_dsl:NumberRangeQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:RangeQueryBase" + }, + { + "type": "object", + "properties": { + "gt": { + "description": "Greater than.", + "type": "number" + }, + "gte": { + "description": "Greater than or equal to.", + "type": "number" + }, + "lt": { + "description": "Less than.", + "type": "number" + }, + "lte": { + "description": "Less than or equal to.", + "type": "number" + }, + "from": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "to": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + } + } + } + ] + }, + "_types.query_dsl:RankFeatureQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "saturation": { + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunctionSaturation" + }, + "log": { + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunctionLogarithm" + }, + "linear": { + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunctionLinear" + }, + "sigmoid": { + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunctionSigmoid" + } + }, + "required": [ + "field" + ] + } + ] + }, + "_types.query_dsl:RankFeatureFunctionSaturation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunction" + }, + { + "type": "object", + "properties": { + "pivot": { + "description": "Configurable pivot value so that the result will be less than 0.5.", + "type": "number" + } + } + } + ] + }, + "_types.query_dsl:RankFeatureFunction": { + "type": "object" + }, + "_types.query_dsl:RankFeatureFunctionLogarithm": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunction" + }, + { + "type": "object", + "properties": { + "scaling_factor": { + "description": "Configurable scaling factor.", + "type": "number" + } + }, + "required": [ + "scaling_factor" + ] + } + ] + }, + "_types.query_dsl:RankFeatureFunctionLinear": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunction" + }, + { + "type": "object" + } + ] + }, + "_types.query_dsl:RankFeatureFunctionSigmoid": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunction" + }, + { + "type": "object", + "properties": { + "pivot": { + "description": "Configurable pivot value so that the result will be less than 0.5.", + "type": "number" + }, + "exponent": { + "description": "Configurable Exponent.", + "type": "number" + } + }, + "required": [ + "pivot", + "exponent" + ] + } + ] + }, + "_types.query_dsl:RegexpQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "case_insensitive": { + "description": "Allows case insensitive matching of the regular expression value with the indexed field values when set to `true`.\nWhen `false`, case sensitivity of matching depends on the underlying field’s mapping.", + "type": "boolean" + }, + "flags": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/regexp-syntax.html" + }, + "description": "Enables optional operators for the regular expression.", + "type": "string" + }, + "max_determinized_states": { + "description": "Maximum number of automaton states required for the query.", + "type": "number" + }, + "rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "value": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/regexp-syntax.html" + }, + "description": "Regular expression for terms you wish to find in the provided field.", + "type": "string" + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types.query_dsl:RuleQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "organic": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "ruleset_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "match_criteria": { + "type": "object" + } + }, + "required": [ + "organic", + "ruleset_id", + "match_criteria" + ] + } + ] + }, + "_types.query_dsl:ScriptQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "script": { + "$ref": "#/components/schemas/_types:Script" + } + }, + "required": [ + "script" + ] + } + ] + }, + "_types.query_dsl:ScriptScoreQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "min_score": { + "description": "Documents with a score lower than this floating point number are excluded from the search results.", + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + } + }, + "required": [ + "query", + "script" + ] + } + ] + }, + "_types.query_dsl:ShapeQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "ignore_unmapped": { + "description": "When set to `true` the query ignores an unmapped field and will not match any documents.", + "type": "boolean" + } + } + } + ] + }, + "_types.query_dsl:SimpleQueryStringQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + }, + "description": "Analyzer used to convert text in the query string into tokens.", + "type": "string" + }, + "analyze_wildcard": { + "description": "If `true`, the query attempts to analyze wildcard terms in the query string.", + "type": "boolean" + }, + "auto_generate_synonyms_phrase_query": { + "description": "If `true`, the parser creates a match_phrase query for each multi-position token.", + "type": "boolean" + }, + "default_operator": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "fields": { + "description": "Array of fields you wish to search.\nAccepts wildcard expressions.\nYou also can boost relevance scores for matches to particular fields using a caret (`^`) notation.\nDefaults to the `index.query.default_field index` setting, which has a default value of `*`.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "flags": { + "$ref": "#/components/schemas/_types.query_dsl:SimpleQueryStringFlags" + }, + "fuzzy_max_expansions": { + "description": "Maximum number of terms to which the query expands for fuzzy matching.", + "type": "number" + }, + "fuzzy_prefix_length": { + "description": "Number of beginning characters left unchanged for fuzzy matching.", + "type": "number" + }, + "fuzzy_transpositions": { + "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).", + "type": "boolean" + }, + "lenient": { + "description": "If `true`, format-based errors, such as providing a text value for a numeric field, are ignored.", + "type": "boolean" + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "query": { + "description": "Query string in the simple query string syntax you wish to parse and use for search.", + "type": "string" + }, + "quote_field_suffix": { + "description": "Suffix appended to quoted text in the query string.", + "type": "string" + } + }, + "required": [ + "query" + ] + } + ] + }, + "_types.query_dsl:SimpleQueryStringFlags": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-simple-query-string-query.html#supported-flags" + }, + "description": "Query flags can be either a single flag or a combination of flags, e.g. `OR|AND|PREFIX`", + "allOf": [ + { + "$ref": "#/components/schemas/_spec_utils:PipeSeparatedFlagsSimpleQueryStringFlag" + } + ] + }, + "_spec_utils:PipeSeparatedFlagsSimpleQueryStringFlag": { + "description": "A set of flags that can be represented as a single enum value or a set of values that are encoded\nas a pipe-separated string\n\nDepending on the target language, code generators can use this hint to generate language specific\nflags enum constructs and the corresponding (de-)serialization code.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:SimpleQueryStringFlag" + }, + { + "type": "string" + } + ] + }, + "_types.query_dsl:SimpleQueryStringFlag": { + "type": "string", + "enum": [ + "NONE", + "AND", + "NOT", + "OR", + "PREFIX", + "PHRASE", + "PRECEDENCE", + "ESCAPE", + "WHITESPACE", + "FUZZY", + "NEAR", + "SLOP", + "ALL" + ] + }, + "_types.query_dsl:SpanContainingQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "big": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" + }, + "little": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" + } + }, + "required": [ + "big", + "little" + ] + } + ] + }, + "_types.query_dsl:SpanQuery": { + "type": "object", + "properties": { + "span_containing": { + "$ref": "#/components/schemas/_types.query_dsl:SpanContainingQuery" + }, + "field_masking_span": { + "$ref": "#/components/schemas/_types.query_dsl:SpanFieldMaskingQuery" + }, + "span_first": { + "$ref": "#/components/schemas/_types.query_dsl:SpanFirstQuery" + }, + "span_gap": { + "$ref": "#/components/schemas/_types.query_dsl:SpanGapQuery" + }, + "span_multi": { + "$ref": "#/components/schemas/_types.query_dsl:SpanMultiTermQuery" + }, + "span_near": { + "$ref": "#/components/schemas/_types.query_dsl:SpanNearQuery" + }, + "span_not": { + "$ref": "#/components/schemas/_types.query_dsl:SpanNotQuery" + }, + "span_or": { + "$ref": "#/components/schemas/_types.query_dsl:SpanOrQuery" + }, + "span_term": { + "description": "The equivalent of the `term` query but for use with other span queries.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:SpanTermQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "span_within": { + "$ref": "#/components/schemas/_types.query_dsl:SpanWithinQuery" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_types.query_dsl:SpanFieldMaskingQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" + } + }, + "required": [ + "field", + "query" + ] + } + ] + }, + "_types.query_dsl:SpanFirstQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "end": { + "description": "Controls the maximum end position permitted in a match.", + "type": "number" + }, + "match": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" + } + }, + "required": [ + "end", + "match" + ] + } + ] + }, + "_types.query_dsl:SpanGapQuery": { + "description": "Can only be used as a clause in a span_near query.", + "type": "object", + "additionalProperties": { + "type": "number" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_types.query_dsl:SpanMultiTermQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "match": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "required": [ + "match" + ] + } + ] + }, + "_types.query_dsl:SpanNearQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "clauses": { + "description": "Array of one or more other span type queries.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" + } + }, + "in_order": { + "description": "Controls whether matches are required to be in-order.", + "type": "boolean" + }, + "slop": { + "description": "Controls the maximum number of intervening unmatched positions permitted.", + "type": "number" + } + }, + "required": [ + "clauses" + ] + } + ] + }, + "_types.query_dsl:SpanNotQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "dist": { + "description": "The number of tokens from within the include span that can’t have overlap with the exclude span.\nEquivalent to setting both `pre` and `post`.", + "type": "number" + }, + "exclude": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" + }, + "include": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" + }, + "post": { + "description": "The number of tokens after the include span that can’t have overlap with the exclude span.", + "type": "number" + }, + "pre": { + "description": "The number of tokens before the include span that can’t have overlap with the exclude span.", + "type": "number" + } + }, + "required": [ + "exclude", + "include" + ] + } + ] + }, + "_types.query_dsl:SpanOrQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "clauses": { + "description": "Array of one or more other span type queries.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" + } + } + }, + "required": [ + "clauses" + ] + } + ] + }, + "_types.query_dsl:SpanTermQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types.query_dsl:SpanWithinQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "big": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" + }, + "little": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" + } + }, + "required": [ + "big", + "little" + ] + } + ] + }, + "_types.query_dsl:TermQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "value": { + "$ref": "#/components/schemas/_types:FieldValue" + }, + "case_insensitive": { + "description": "Allows ASCII case insensitive matching of the value with the indexed field values when set to `true`.\nWhen `false`, the case sensitivity of matching depends on the underlying field’s mapping.", + "type": "boolean" + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types.query_dsl:TermsQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object" + } + ] + }, + "_types.query_dsl:TermsSetQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "minimum_should_match_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "minimum_should_match_script": { + "$ref": "#/components/schemas/_types:Script" + }, + "terms": { + "description": "Array of terms you wish to find in the provided field.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "terms" + ] + } + ] + }, + "_types.query_dsl:TextExpansionQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "model_id": { + "description": "The text expansion NLP model to use", + "type": "string" + }, + "model_text": { + "description": "The query text", + "type": "string" + } + }, + "required": [ + "model_id", + "model_text" + ] + } + ] + }, + "_types.query_dsl:WildcardQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "case_insensitive": { + "description": "Allows case insensitive matching of the pattern with the indexed field values when set to true. Default is false which means the case sensitivity of matching depends on the underlying field’s mapping.", + "type": "boolean" + }, + "rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "value": { + "description": "Wildcard pattern for terms you wish to find in the provided field. Required, when wildcard is not set.", + "type": "string" + }, + "wildcard": { + "description": "Wildcard pattern for terms you wish to find in the provided field. Required, when value is not set.", + "type": "string" + } + } + } + ] + }, + "_types.query_dsl:WrapperQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "query": { + "description": "A base64 encoded query.\nThe binary data format can be any of JSON, YAML, CBOR or SMILE encodings", + "type": "string" + } + }, + "required": [ + "query" + ] + } + ] + }, + "_types.query_dsl:TypeQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ] + } + ] + }, + "_types.aggregations:BucketAggregationBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:Aggregation" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:Aggregation": { + "type": "object", + "properties": { + "meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "name": { + "type": "string" + } + } + }, + "_types.aggregations:AutoDateHistogramAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "description": "The target number of buckets.", + "type": "number" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "format": { + "description": "The date format used to format `key_as_string` in the response.\nIf no `format` is specified, the first date format specified in the field mapping is used.", + "type": "string" + }, + "minimum_interval": { + "$ref": "#/components/schemas/_types.aggregations:MinimumInterval" + }, + "missing": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "offset": { + "description": "Time zone specified as a ISO 8601 UTC offset.", + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" + } + } + } + ] + }, + "_types.aggregations:MinimumInterval": { + "type": "string", + "enum": [ + "second", + "minute", + "hour", + "day", + "month", + "year" + ] + }, + "_types.aggregations:AverageAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:FormatMetricAggregationBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "format": { + "type": "string" + } + } + } + ] + }, + "_types.aggregations:MetricAggregationBase": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "missing": { + "$ref": "#/components/schemas/_types.aggregations:Missing" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + } + } + }, + "_types.aggregations:Missing": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "_types.aggregations:AverageBucketAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:PipelineAggregationBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketPathAggregation" + }, + { + "type": "object", + "properties": { + "format": { + "description": "`DecimalFormat` pattern for the output value.\nIf specified, the formatted value is returned in the aggregation’s `value_as_string` property.", + "type": "string" + }, + "gap_policy": { + "$ref": "#/components/schemas/_types.aggregations:GapPolicy" + } + } + } + ] + }, + "_types.aggregations:GapPolicy": { + "type": "string", + "enum": [ + "skip", + "insert_zeros", + "keep_values" + ] + }, + "_types.aggregations:BucketPathAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:Aggregation" + }, + { + "type": "object", + "properties": { + "buckets_path": { + "$ref": "#/components/schemas/_types.aggregations:BucketsPath" + } + } + } + ] + }, + "_types.aggregations:BucketsPath": { + "description": "Buckets path can be expressed in different ways, and an aggregation may accept some or all of these\nforms depending on its type. Please refer to each aggregation's documentation to know what buckets\npath forms they accept.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + ] + }, + "_types.aggregations:BoxplotAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "compression": { + "description": "Limits the maximum number of nodes used by the underlying TDigest algorithm to `20 * compression`, enabling control of memory usage and approximation error.", + "type": "number" + } + } + } + ] + }, + "_types.aggregations:BucketScriptAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object", + "properties": { + "script": { + "$ref": "#/components/schemas/_types:Script" + } + } + } + ] + }, + "_types.aggregations:BucketSelectorAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object", + "properties": { + "script": { + "$ref": "#/components/schemas/_types:Script" + } + } + } + ] + }, + "_types.aggregations:BucketSortAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:Aggregation" + }, + { + "type": "object", + "properties": { + "from": { + "description": "Buckets in positions prior to `from` will be truncated.", + "type": "number" + }, + "gap_policy": { + "$ref": "#/components/schemas/_types.aggregations:GapPolicy" + }, + "size": { + "description": "The number of buckets to return.\nDefaults to all buckets of the parent aggregation.", + "type": "number" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + } + } + } + ] + }, + "_types.aggregations:BucketKsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketPathAggregation" + }, + { + "type": "object", + "properties": { + "alternative": { + "description": "A list of string values indicating which K-S test alternative to calculate. The valid values\nare: \"greater\", \"less\", \"two_sided\". This parameter is key for determining the K-S statistic used\nwhen calculating the K-S test. Default value is all possible alternative hypotheses.", + "type": "array", + "items": { + "type": "string" + } + }, + "fractions": { + "description": "A list of doubles indicating the distribution of the samples with which to compare to the `buckets_path` results.\nIn typical usage this is the overall proportion of documents in each bucket, which is compared with the actual\ndocument proportions in each bucket from the sibling aggregation counts. The default is to assume that overall\ndocuments are uniformly distributed on these buckets, which they would be if one used equal percentiles of a\nmetric to define the bucket end points.", + "type": "array", + "items": { + "type": "number" + } + }, + "sampling_method": { + "description": "Indicates the sampling methodology when calculating the K-S test. Note, this is sampling of the returned values.\nThis determines the cumulative distribution function (CDF) points used comparing the two samples. Default is\n`upper_tail`, which emphasizes the upper end of the CDF points. Valid options are: `upper_tail`, `uniform`,\nand `lower_tail`.", + "type": "string" + } + } + } + ] + }, + "_types.aggregations:BucketCorrelationAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketPathAggregation" + }, + { + "type": "object", + "properties": { + "function": { + "$ref": "#/components/schemas/_types.aggregations:BucketCorrelationFunction" + } + }, + "required": [ + "function" + ] + } + ] + }, + "_types.aggregations:BucketCorrelationFunction": { + "type": "object", + "properties": { + "count_correlation": { + "$ref": "#/components/schemas/_types.aggregations:BucketCorrelationFunctionCountCorrelation" + } + }, + "required": [ + "count_correlation" + ] + }, + "_types.aggregations:BucketCorrelationFunctionCountCorrelation": { + "type": "object", + "properties": { + "indicator": { + "$ref": "#/components/schemas/_types.aggregations:BucketCorrelationFunctionCountCorrelationIndicator" + } + }, + "required": [ + "indicator" + ] + }, + "_types.aggregations:BucketCorrelationFunctionCountCorrelationIndicator": { + "type": "object", + "properties": { + "doc_count": { + "description": "The total number of documents that initially created the expectations. It’s required to be greater\nthan or equal to the sum of all values in the buckets_path as this is the originating superset of data\nto which the term values are correlated.", + "type": "number" + }, + "expectations": { + "description": "An array of numbers with which to correlate the configured `bucket_path` values.\nThe length of this value must always equal the number of buckets returned by the `bucket_path`.", + "type": "array", + "items": { + "type": "number" + } + }, + "fractions": { + "description": "An array of fractions to use when averaging and calculating variance. This should be used if\nthe pre-calculated data and the buckets_path have known gaps. The length of fractions, if provided,\nmust equal expectations.", + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "doc_count", + "expectations" + ] + }, + "_types.aggregations:CardinalityAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "precision_threshold": { + "description": "A unique count below which counts are expected to be close to accurate.\nThis allows to trade memory for accuracy.", + "type": "number" + }, + "rehash": { + "type": "boolean" + }, + "execution_hint": { + "$ref": "#/components/schemas/_types.aggregations:CardinalityExecutionMode" + } + } + } + ] + }, + "_types.aggregations:CardinalityExecutionMode": { + "type": "string", + "enum": [ + "global_ordinals", + "segment_ordinals", + "direct", + "save_memory_heuristic", + "save_time_heuristic" + ] + }, + "_types.aggregations:CategorizeTextAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:Aggregation" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "max_unique_tokens": { + "description": "The maximum number of unique tokens at any position up to max_matched_tokens. Must be larger than 1.\nSmaller values use less memory and create fewer categories. Larger values will use more memory and\ncreate narrower categories. Max allowed value is 100.", + "type": "number" + }, + "max_matched_tokens": { + "description": "The maximum number of token positions to match on before attempting to merge categories. Larger\nvalues will use more memory and create narrower categories. Max allowed value is 100.", + "type": "number" + }, + "similarity_threshold": { + "description": "The minimum percentage of tokens that must match for text to be added to the category bucket. Must\nbe between 1 and 100. The larger the value the narrower the categories. Larger values will increase memory\nusage and create narrower categories.", + "type": "number" + }, + "categorization_filters": { + "description": "This property expects an array of regular expressions. The expressions are used to filter out matching\nsequences from the categorization field values. You can use this functionality to fine tune the categorization\nby excluding sequences from consideration when categories are defined. For example, you can exclude SQL\nstatements that appear in your log files. This property cannot be used at the same time as categorization_analyzer.\nIf you only want to define simple regular expression filters that are applied prior to tokenization, setting\nthis property is the easiest method. If you also want to customize the tokenizer or post-tokenization filtering,\nuse the categorization_analyzer property instead and include the filters as pattern_replace character filters.", + "type": "array", + "items": { + "type": "string" + } + }, + "categorization_analyzer": { + "$ref": "#/components/schemas/_types.aggregations:CategorizeTextAnalyzer" + }, + "shard_size": { + "description": "The number of categorization buckets to return from each shard before merging all the results.", + "type": "number" + }, + "size": { + "description": "The number of buckets to return.", + "type": "number" + }, + "min_doc_count": { + "description": "The minimum number of documents in a bucket to be returned to the results.", + "type": "number" + }, + "shard_min_doc_count": { + "description": "The minimum number of documents in a bucket to be returned from the shard before merging.", + "type": "number" + } + }, + "required": [ + "field" + ] + } + ] + }, + "_types.aggregations:CategorizeTextAnalyzer": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/_types.aggregations:CustomCategorizeTextAnalyzer" + } + ] + }, + "_types.aggregations:CustomCategorizeTextAnalyzer": { + "type": "object", + "properties": { + "char_filter": { + "type": "array", + "items": { + "type": "string" + } + }, + "tokenizer": { + "type": "string" + }, + "filter": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "_types.aggregations:ChildrenAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/_types:RelationName" + } + } + } + ] + }, + "_types.aggregations:CompositeAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "after": { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregateKey" + }, + "size": { + "description": "The number of composite buckets that should be returned.", + "type": "number" + }, + "sources": { + "description": "The value sources used to build composite buckets.\nKeys are returned in the order of the `sources` definition.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationSource" + } + } + } + } + } + ] + }, + "_types.aggregations:CompositeAggregationSource": { + "type": "object", + "properties": { + "terms": { + "$ref": "#/components/schemas/_types.aggregations:CompositeTermsAggregation" + }, + "histogram": { + "$ref": "#/components/schemas/_types.aggregations:CompositeHistogramAggregation" + }, + "date_histogram": { + "$ref": "#/components/schemas/_types.aggregations:CompositeDateHistogramAggregation" + }, + "geotile_grid": { + "$ref": "#/components/schemas/_types.aggregations:CompositeGeoTileGridAggregation" + } + } + }, + "_types.aggregations:CompositeTermsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:CompositeAggregationBase": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "missing_bucket": { + "type": "boolean" + }, + "missing_order": { + "$ref": "#/components/schemas/_types.aggregations:MissingOrder" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "value_type": { + "$ref": "#/components/schemas/_types.aggregations:ValueType" + }, + "order": { + "$ref": "#/components/schemas/_types:SortOrder" + } + } + }, + "_types.aggregations:MissingOrder": { + "type": "string", + "enum": [ + "first", + "last", + "default" + ] + }, + "_types.aggregations:ValueType": { + "type": "string", + "enum": [ + "string", + "long", + "double", + "number", + "date", + "date_nanos", + "ip", + "numeric", + "geo_point", + "boolean" + ] + }, + "_types.aggregations:CompositeHistogramAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationBase" + }, + { + "type": "object", + "properties": { + "interval": { + "type": "number" + } + }, + "required": [ + "interval" + ] + } + ] + }, + "_types.aggregations:CompositeDateHistogramAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationBase" + }, + { + "type": "object", + "properties": { + "format": { + "type": "string" + }, + "calendar_interval": { + "$ref": "#/components/schemas/_types:DurationLarge" + }, + "fixed_interval": { + "$ref": "#/components/schemas/_types:DurationLarge" + }, + "offset": { + "$ref": "#/components/schemas/_types:Duration" + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" + } + } + } + ] + }, + "_types.aggregations:CompositeGeoTileGridAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationBase" + }, + { + "type": "object", + "properties": { + "precision": { + "type": "number" + }, + "bounds": { + "$ref": "#/components/schemas/_types:GeoBounds" + } + } + } + ] + }, + "_types.aggregations:CumulativeCardinalityAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:CumulativeSumAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:DateHistogramAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "calendar_interval": { + "$ref": "#/components/schemas/_types.aggregations:CalendarInterval" + }, + "extended_bounds": { + "$ref": "#/components/schemas/_types.aggregations:ExtendedBoundsFieldDateMath" + }, + "hard_bounds": { + "$ref": "#/components/schemas/_types.aggregations:ExtendedBoundsFieldDateMath" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "fixed_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "format": { + "description": "The date format used to format `key_as_string` in the response.\nIf no `format` is specified, the first date format specified in the field mapping is used.", + "type": "string" + }, + "interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "min_doc_count": { + "description": "Only returns buckets that have `min_doc_count` number of documents.\nBy default, all buckets between the first bucket that matches documents and the last one are returned.", + "type": "number" + }, + "missing": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "offset": { + "$ref": "#/components/schemas/_types:Duration" + }, + "order": { + "$ref": "#/components/schemas/_types.aggregations:AggregateOrder" + }, + "params": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" + }, + "keyed": { + "description": "Set to `true` to associate a unique string key with each bucket and return the ranges as a hash rather than an array.", + "type": "boolean" + } + } + } + ] + }, + "_types.aggregations:CalendarInterval": { + "type": "string", + "enum": [ + "second", + "minute", + "hour", + "day", + "week", + "month", + "quarter", + "year" + ] + }, + "_types.aggregations:ExtendedBoundsFieldDateMath": { + "type": "object", + "properties": { + "max": { + "$ref": "#/components/schemas/_types.aggregations:FieldDateMath" + }, + "min": { + "$ref": "#/components/schemas/_types.aggregations:FieldDateMath" + } + }, + "required": [ + "max", + "min" + ] + }, + "_types.aggregations:FieldDateMath": { + "description": "A date range limit, represented either as a DateMath expression or a number expressed\naccording to the target field's precision.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:DateMath" + }, + { + "type": "number" + } + ] + }, + "_types.aggregations:AggregateOrder": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:SortOrder" + }, + "minProperties": 1, + "maxProperties": 1 + }, + { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:SortOrder" + }, + "minProperties": 1, + "maxProperties": 1 + } + } + ] + }, + "_types.aggregations:DateRangeAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "format": { + "description": "The date format used to format `from` and `to` in the response.", + "type": "string" + }, + "missing": { + "$ref": "#/components/schemas/_types.aggregations:Missing" + }, + "ranges": { + "description": "Array of date ranges.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:DateRangeExpression" + } + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" + }, + "keyed": { + "description": "Set to `true` to associate a unique string key with each bucket and returns the ranges as a hash rather than an array.", + "type": "boolean" + } + } + } + ] + }, + "_types.aggregations:DateRangeExpression": { + "type": "object", + "properties": { + "from": { + "$ref": "#/components/schemas/_types.aggregations:FieldDateMath" + }, + "key": { + "description": "Custom key to return the range with.", + "type": "string" + }, + "to": { + "$ref": "#/components/schemas/_types.aggregations:FieldDateMath" + } + } + }, + "_types.aggregations:DerivativeAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:DiversifiedSamplerAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "execution_hint": { + "$ref": "#/components/schemas/_types.aggregations:SamplerAggregationExecutionHint" + }, + "max_docs_per_value": { + "description": "Limits how many documents are permitted per choice of de-duplicating value.", + "type": "number" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "shard_size": { + "description": "Limits how many top-scoring documents are collected in the sample processed on each shard.", + "type": "number" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + } + } + } + ] + }, + "_types.aggregations:SamplerAggregationExecutionHint": { + "type": "string", + "enum": [ + "map", + "global_ordinals", + "bytes_hash" + ] + }, + "_types.aggregations:ExtendedStatsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + }, + { + "type": "object", + "properties": { + "sigma": { + "description": "The number of standard deviations above/below the mean to display.", + "type": "number" + } + } + } + ] + }, + "_types.aggregations:ExtendedStatsBucketAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object", + "properties": { + "sigma": { + "description": "The number of standard deviations above/below the mean to display.", + "type": "number" + } + } + } + ] + }, + "_types.aggregations:FrequentItemSetsAggregation": { + "type": "object", + "properties": { + "fields": { + "description": "Fields to analyze.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsField" + } + }, + "minimum_set_size": { + "description": "The minimum size of one item set.", + "type": "number" + }, + "minimum_support": { + "description": "The minimum support of one item set.", + "type": "number" + }, + "size": { + "description": "The number of top item sets to return.", + "type": "number" + }, + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "required": [ + "fields" + ] + }, + "_types.aggregations:FrequentItemSetsField": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "exclude": { + "description": "Values to exclude.\nCan be regular expression strings or arrays of strings of exact terms.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "include": { + "description": "Values to include.\nCan be regular expression strings or arrays of strings of exact terms.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + }, + "required": [ + "field" + ] + }, + "_types.aggregations:FiltersAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "filters": { + "$ref": "#/components/schemas/_types.aggregations:BucketsQueryContainer" + }, + "other_bucket": { + "description": "Set to `true` to add a bucket to the response which will contain all documents that do not match any of the given filters.", + "type": "boolean" + }, + "other_bucket_key": { + "description": "The key with which the other bucket is returned.", + "type": "string" + }, + "keyed": { + "description": "By default, the named filters aggregation returns the buckets as an object.\nSet to `false` to return the buckets as an array of objects.", + "type": "boolean" + } + } + } + ] + }, + "_types.aggregations:BucketsQueryContainer": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + ] + }, + "_types.aggregations:GeoBoundsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "wrap_longitude": { + "description": "Specifies whether the bounding box should be allowed to overlap the international date line.", + "type": "boolean" + } + } + } + ] + }, + "_types.aggregations:GeoCentroidAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "location": { + "$ref": "#/components/schemas/_types:GeoLocation" + } + } + } + ] + }, + "_types.aggregations:GeoDistanceAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "distance_type": { + "$ref": "#/components/schemas/_types:GeoDistanceType" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "origin": { + "$ref": "#/components/schemas/_types:GeoLocation" + }, + "ranges": { + "description": "An array of ranges used to bucket documents.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:AggregationRange" + } + }, + "unit": { + "$ref": "#/components/schemas/_types:DistanceUnit" + } + } + } + ] + }, + "_types.aggregations:AggregationRange": { + "type": "object", + "properties": { + "from": { + "description": "Start of the range (inclusive).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "key": { + "description": "Custom key to return the range with.", + "type": "string" + }, + "to": { + "description": "End of the range (exclusive).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + } + } + }, + "_types.aggregations:GeoHashGridAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "bounds": { + "$ref": "#/components/schemas/_types:GeoBounds" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "precision": { + "$ref": "#/components/schemas/_types:GeoHashPrecision" + }, + "shard_size": { + "description": "Allows for more accurate counting of the top cells returned in the final result the aggregation.\nDefaults to returning `max(10,(size x number-of-shards))` buckets from each shard.", + "type": "number" + }, + "size": { + "description": "The maximum number of geohash buckets to return.", + "type": "number" + } + } + } + ] + }, + "_types:GeoHashPrecision": { + "description": "A precision that can be expressed as a geohash length between 1 and 12, or a distance measure like \"1km\", \"10m\".", + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "_types.aggregations:GeoLineAggregation": { + "type": "object", + "properties": { + "point": { + "$ref": "#/components/schemas/_types.aggregations:GeoLinePoint" + }, + "sort": { + "$ref": "#/components/schemas/_types.aggregations:GeoLineSort" + }, + "include_sort": { + "description": "When `true`, returns an additional array of the sort values in the feature properties.", + "type": "boolean" + }, + "sort_order": { + "$ref": "#/components/schemas/_types:SortOrder" + }, + "size": { + "description": "The maximum length of the line represented in the aggregation.\nValid sizes are between 1 and 10000.", + "type": "number" + } + }, + "required": [ + "point", + "sort" + ] + }, + "_types.aggregations:GeoLinePoint": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + }, + "_types.aggregations:GeoLineSort": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + }, + "_types.aggregations:GeoTileGridAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "precision": { + "$ref": "#/components/schemas/_types:GeoTilePrecision" + }, + "shard_size": { + "description": "Allows for more accurate counting of the top cells returned in the final result the aggregation.\nDefaults to returning `max(10,(size x number-of-shards))` buckets from each shard.", + "type": "number" + }, + "size": { + "description": "The maximum number of buckets to return.", + "type": "number" + }, + "bounds": { + "$ref": "#/components/schemas/_types:GeoBounds" + } + } + } + ] + }, + "_types:GeoTilePrecision": { + "type": "number" + }, + "_types.aggregations:GeohexGridAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "precision": { + "description": "Integer zoom of the key used to defined cells or buckets\nin the results. Value should be between 0-15.", + "type": "number" + }, + "bounds": { + "$ref": "#/components/schemas/_types:GeoBounds" + }, + "size": { + "description": "Maximum number of buckets to return.", + "type": "number" + }, + "shard_size": { + "description": "Number of buckets returned from each shard.", + "type": "number" + } + }, + "required": [ + "field" + ] + } + ] + }, + "_types.aggregations:GlobalAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:HistogramAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "extended_bounds": { + "$ref": "#/components/schemas/_types.aggregations:ExtendedBoundsdouble" + }, + "hard_bounds": { + "$ref": "#/components/schemas/_types.aggregations:ExtendedBoundsdouble" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "interval": { + "description": "The interval for the buckets.\nMust be a positive decimal.", + "type": "number" + }, + "min_doc_count": { + "description": "Only returns buckets that have `min_doc_count` number of documents.\nBy default, the response will fill gaps in the histogram with empty buckets.", + "type": "number" + }, + "missing": { + "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", + "type": "number" + }, + "offset": { + "description": "By default, the bucket keys start with 0 and then continue in even spaced steps of `interval`.\nThe bucket boundaries can be shifted by using the `offset` option.", + "type": "number" + }, + "order": { + "$ref": "#/components/schemas/_types.aggregations:AggregateOrder" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "format": { + "type": "string" + }, + "keyed": { + "description": "If `true`, returns buckets as a hash instead of an array, keyed by the bucket keys.", + "type": "boolean" + } + } + } + ] + }, + "_types.aggregations:ExtendedBoundsdouble": { + "type": "object", + "properties": { + "max": { + "description": "Maximum value for the bound.", + "type": "number" + }, + "min": { + "description": "Minimum value for the bound.", + "type": "number" + } + }, + "required": [ + "max", + "min" + ] + }, + "_types.aggregations:IpRangeAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ranges": { + "description": "Array of IP ranges.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:IpRangeAggregationRange" + } + } + } + } + ] + }, + "_types.aggregations:IpRangeAggregationRange": { + "type": "object", + "properties": { + "from": { + "description": "Start of the range.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "mask": { + "description": "IP range defined as a CIDR mask.", + "type": "string" + }, + "to": { + "description": "End of the range.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + } + } + }, + "_types.aggregations:IpPrefixAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "prefix_length": { + "description": "Length of the network prefix. For IPv4 addresses the accepted range is [0, 32].\nFor IPv6 addresses the accepted range is [0, 128].", + "type": "number" + }, + "is_ipv6": { + "description": "Defines whether the prefix applies to IPv6 addresses.", + "type": "boolean" + }, + "append_prefix_length": { + "description": "Defines whether the prefix length is appended to IP address keys in the response.", + "type": "boolean" + }, + "keyed": { + "description": "Defines whether buckets are returned as a hash rather than an array in the response.", + "type": "boolean" + }, + "min_doc_count": { + "description": "Minimum number of documents in a bucket for it to be included in the response.", + "type": "number" + } + }, + "required": [ + "field", + "prefix_length" + ] + } + ] + }, + "_types.aggregations:InferenceAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object", + "properties": { + "model_id": { + "$ref": "#/components/schemas/_types:Name" + }, + "inference_config": { + "$ref": "#/components/schemas/_types.aggregations:InferenceConfigContainer" + } + }, + "required": [ + "model_id" + ] + } + ] + }, + "_types.aggregations:InferenceConfigContainer": { + "type": "object", + "properties": { + "regression": { + "$ref": "#/components/schemas/ml._types:RegressionInferenceOptions" + }, + "classification": { + "$ref": "#/components/schemas/ml._types:ClassificationInferenceOptions" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ml._types:RegressionInferenceOptions": { + "type": "object", + "properties": { + "results_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "num_top_feature_importance_values": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-feature-importance.html" + }, + "description": "Specifies the maximum number of feature importance values per document.", + "type": "number" + } + } + }, + "ml._types:ClassificationInferenceOptions": { + "type": "object", + "properties": { + "num_top_classes": { + "description": "Specifies the number of top class predictions to return. Defaults to 0.", + "type": "number" + }, + "num_top_feature_importance_values": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-feature-importance.html" + }, + "description": "Specifies the maximum number of feature importance values per document.", + "type": "number" + }, + "prediction_field_type": { + "description": "Specifies the type of the predicted field to write. Acceptable values are: string, number, boolean. When boolean is provided 1.0 is transformed to true and 0.0 to false.", + "type": "string" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + }, + "top_classes_results_field": { + "description": "Specifies the field to which the top classes are written. Defaults to top_classes.", + "type": "string" + } + } + }, + "_types.aggregations:MatrixStatsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MatrixAggregation" + }, + { + "type": "object", + "properties": { + "mode": { + "$ref": "#/components/schemas/_types:SortMode" + } + } + } + ] + }, + "_types.aggregations:MatrixAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:Aggregation" + }, + { + "type": "object", + "properties": { + "fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "missing": { + "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", + "type": "object", + "additionalProperties": { + "type": "number" + } + } + } + } + ] + }, + "_types.aggregations:MaxAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MaxBucketAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MedianAbsoluteDeviationAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + }, + { + "type": "object", + "properties": { + "compression": { + "description": "Limits the maximum number of nodes used by the underlying TDigest algorithm to `20 * compression`, enabling control of memory usage and approximation error.", + "type": "number" + } + } + } + ] + }, + "_types.aggregations:MinAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MinBucketAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MissingAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "missing": { + "$ref": "#/components/schemas/_types.aggregations:Missing" + } + } + } + ] + }, + "_types.aggregations:MovingAverageAggregation": { + "discriminator": { + "propertyName": "model" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:LinearMovingAverageAggregation" + }, + { + "$ref": "#/components/schemas/_types.aggregations:SimpleMovingAverageAggregation" + }, + { + "$ref": "#/components/schemas/_types.aggregations:EwmaMovingAverageAggregation" + }, + { + "$ref": "#/components/schemas/_types.aggregations:HoltMovingAverageAggregation" + }, + { + "$ref": "#/components/schemas/_types.aggregations:HoltWintersMovingAverageAggregation" + } + ] + }, + "_types.aggregations:LinearMovingAverageAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" + }, + { + "type": "object", + "properties": { + "model": { + "type": "string", + "enum": [ + "linear" + ] + }, + "settings": { + "$ref": "#/components/schemas/_types:EmptyObject" + } + }, + "required": [ + "model", + "settings" + ] + } + ] + }, + "_types:EmptyObject": { + "type": "object" + }, + "_types.aggregations:MovingAverageAggregationBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object", + "properties": { + "minimize": { + "type": "boolean" + }, + "predict": { + "type": "number" + }, + "window": { + "type": "number" + } + } + } + ] + }, + "_types.aggregations:SimpleMovingAverageAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" + }, + { + "type": "object", + "properties": { + "model": { + "type": "string", + "enum": [ + "simple" + ] + }, + "settings": { + "$ref": "#/components/schemas/_types:EmptyObject" + } + }, + "required": [ + "model", + "settings" + ] + } + ] + }, + "_types.aggregations:EwmaMovingAverageAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" + }, + { + "type": "object", + "properties": { + "model": { + "type": "string", + "enum": [ + "ewma" + ] + }, + "settings": { + "$ref": "#/components/schemas/_types.aggregations:EwmaModelSettings" + } + }, + "required": [ + "model", + "settings" + ] + } + ] + }, + "_types.aggregations:EwmaModelSettings": { + "type": "object", + "properties": { + "alpha": { + "type": "number" + } + } + }, + "_types.aggregations:HoltMovingAverageAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" + }, + { + "type": "object", + "properties": { + "model": { + "type": "string", + "enum": [ + "holt" + ] + }, + "settings": { + "$ref": "#/components/schemas/_types.aggregations:HoltLinearModelSettings" + } + }, + "required": [ + "model", + "settings" + ] + } + ] + }, + "_types.aggregations:HoltLinearModelSettings": { + "type": "object", + "properties": { + "alpha": { + "type": "number" + }, + "beta": { + "type": "number" + } + } + }, + "_types.aggregations:HoltWintersMovingAverageAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" + }, + { + "type": "object", + "properties": { + "model": { + "type": "string", + "enum": [ + "holt_winters" + ] + }, + "settings": { + "$ref": "#/components/schemas/_types.aggregations:HoltWintersModelSettings" + } + }, + "required": [ + "model", + "settings" + ] + } + ] + }, + "_types.aggregations:HoltWintersModelSettings": { + "type": "object", + "properties": { + "alpha": { + "type": "number" + }, + "beta": { + "type": "number" + }, + "gamma": { + "type": "number" + }, + "pad": { + "type": "boolean" + }, + "period": { + "type": "number" + }, + "type": { + "$ref": "#/components/schemas/_types.aggregations:HoltWintersType" + } + } + }, + "_types.aggregations:HoltWintersType": { + "type": "string", + "enum": [ + "add", + "mult" + ] + }, + "_types.aggregations:MovingPercentilesAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object", + "properties": { + "window": { + "description": "The size of window to \"slide\" across the histogram.", + "type": "number" + }, + "shift": { + "description": "By default, the window consists of the last n values excluding the current bucket.\nIncreasing `shift` by 1, moves the starting window position by 1 to the right.", + "type": "number" + }, + "keyed": { + "type": "boolean" + } + } + } + ] + }, + "_types.aggregations:MovingFunctionAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object", + "properties": { + "script": { + "description": "The script that should be executed on each window of data.", + "type": "string" + }, + "shift": { + "description": "By default, the window consists of the last n values excluding the current bucket.\nIncreasing `shift` by 1, moves the starting window position by 1 to the right.", + "type": "number" + }, + "window": { + "description": "The size of window to \"slide\" across the histogram.", + "type": "number" + } + } + } + ] + }, + "_types.aggregations:MultiTermsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "collect_mode": { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregationCollectMode" + }, + "order": { + "$ref": "#/components/schemas/_types.aggregations:AggregateOrder" + }, + "min_doc_count": { + "description": "The minimum number of documents in a bucket for it to be returned.", + "type": "number" + }, + "shard_min_doc_count": { + "description": "The minimum number of documents in a bucket on each shard for it to be returned.", + "type": "number" + }, + "shard_size": { + "description": "The number of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", + "type": "number" + }, + "show_term_doc_count_error": { + "description": "Calculates the doc count error on per term basis.", + "type": "boolean" + }, + "size": { + "description": "The number of term buckets should be returned out of the overall terms list.", + "type": "number" + }, + "terms": { + "description": "The field from which to generate sets of terms.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:MultiTermLookup" + } + } + }, + "required": [ + "terms" + ] + } + ] + }, + "_types.aggregations:TermsAggregationCollectMode": { + "type": "string", + "enum": [ + "depth_first", + "breadth_first" + ] + }, + "_types.aggregations:MultiTermLookup": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "missing": { + "$ref": "#/components/schemas/_types.aggregations:Missing" + } + }, + "required": [ + "field" + ] + }, + "_types.aggregations:NestedAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "path": { + "$ref": "#/components/schemas/_types:Field" + } + } + } + ] + }, + "_types.aggregations:NormalizeAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object", + "properties": { + "method": { + "$ref": "#/components/schemas/_types.aggregations:NormalizeMethod" + } + } + } + ] + }, + "_types.aggregations:NormalizeMethod": { + "type": "string", + "enum": [ + "rescale_0_1", + "rescale_0_100", + "percent_of_sum", + "mean", + "z-score", + "softmax" + ] + }, + "_types.aggregations:ParentAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/_types:RelationName" + } + } + } + ] + }, + "_types.aggregations:PercentileRanksAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + }, + { + "type": "object", + "properties": { + "keyed": { + "description": "By default, the aggregation associates a unique string key with each bucket and returns the ranges as a hash rather than an array.\nSet to `false` to disable this behavior.", + "type": "boolean" + }, + "values": { + "description": "An array of values for which to calculate the percentile ranks.", + "oneOf": [ + { + "type": "array", + "items": { + "type": "number" + } + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "hdr": { + "$ref": "#/components/schemas/_types.aggregations:HdrMethod" + }, + "tdigest": { + "$ref": "#/components/schemas/_types.aggregations:TDigest" + } + } + } + ] + }, + "_types.aggregations:HdrMethod": { + "type": "object", + "properties": { + "number_of_significant_value_digits": { + "description": "Specifies the resolution of values for the histogram in number of significant digits.", + "type": "number" + } + } + }, + "_types.aggregations:TDigest": { + "type": "object", + "properties": { + "compression": { + "description": "Limits the maximum number of nodes used by the underlying TDigest algorithm to `20 * compression`, enabling control of memory usage and approximation error.", + "type": "number" + } + } + }, + "_types.aggregations:PercentilesAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + }, + { + "type": "object", + "properties": { + "keyed": { + "description": "By default, the aggregation associates a unique string key with each bucket and returns the ranges as a hash rather than an array.\nSet to `false` to disable this behavior.", + "type": "boolean" + }, + "percents": { + "description": "The percentiles to calculate.", + "type": "array", + "items": { + "type": "number" + } + }, + "hdr": { + "$ref": "#/components/schemas/_types.aggregations:HdrMethod" + }, + "tdigest": { + "$ref": "#/components/schemas/_types.aggregations:TDigest" + } + } + } + ] + }, + "_types.aggregations:PercentilesBucketAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object", + "properties": { + "percents": { + "description": "The list of percentiles to calculate.", + "type": "array", + "items": { + "type": "number" + } + } + } + } + ] + }, + "_types.aggregations:RangeAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "missing": { + "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", + "type": "number" + }, + "ranges": { + "description": "An array of ranges used to bucket documents.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:AggregationRange" + } + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "keyed": { + "description": "Set to `true` to associate a unique string key with each bucket and return the ranges as a hash rather than an array.", + "type": "boolean" + }, + "format": { + "type": "string" + } + } + } + ] + }, + "_types.aggregations:RareTermsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "exclude": { + "$ref": "#/components/schemas/_types.aggregations:TermsExclude" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "include": { + "$ref": "#/components/schemas/_types.aggregations:TermsInclude" + }, + "max_doc_count": { + "description": "The maximum number of documents a term should appear in.", + "type": "number" + }, + "missing": { + "$ref": "#/components/schemas/_types.aggregations:Missing" + }, + "precision": { + "description": "The precision of the internal CuckooFilters.\nSmaller precision leads to better approximation, but higher memory usage.", + "type": "number" + }, + "value_type": { + "type": "string" + } + } + } + ] + }, + "_types.aggregations:TermsExclude": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "_types.aggregations:TermsInclude": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/components/schemas/_types.aggregations:TermsPartition" + } + ] + }, + "_types.aggregations:TermsPartition": { + "type": "object", + "properties": { + "num_partitions": { + "description": "The number of partitions.", + "type": "number" + }, + "partition": { + "description": "The partition number for this request.", + "type": "number" + } + }, + "required": [ + "num_partitions", + "partition" + ] + }, + "_types.aggregations:RateAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + }, + { + "type": "object", + "properties": { + "unit": { + "$ref": "#/components/schemas/_types.aggregations:CalendarInterval" + }, + "mode": { + "$ref": "#/components/schemas/_types.aggregations:RateMode" + } + } + } + ] + }, + "_types.aggregations:RateMode": { + "type": "string", + "enum": [ + "sum", + "value_count" + ] + }, + "_types.aggregations:ReverseNestedAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "path": { + "$ref": "#/components/schemas/_types:Field" + } + } + } + ] + }, + "_types.aggregations:SamplerAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "shard_size": { + "description": "Limits how many top-scoring documents are collected in the sample processed on each shard.", + "type": "number" + } + } + } + ] + }, + "_types.aggregations:ScriptedMetricAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "combine_script": { + "$ref": "#/components/schemas/_types:Script" + }, + "init_script": { + "$ref": "#/components/schemas/_types:Script" + }, + "map_script": { + "$ref": "#/components/schemas/_types:Script" + }, + "params": { + "description": "A global object with script parameters for `init`, `map` and `combine` scripts.\nIt is shared between the scripts.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "reduce_script": { + "$ref": "#/components/schemas/_types:Script" + } + } + } + ] + }, + "_types.aggregations:SerialDifferencingAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object", + "properties": { + "lag": { + "description": "The historical bucket to subtract from the current value.\nMust be a positive, non-zero integer.", + "type": "number" + } + } + } + ] + }, + "_types.aggregations:SignificantTermsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "background_filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "chi_square": { + "$ref": "#/components/schemas/_types.aggregations:ChiSquareHeuristic" + }, + "exclude": { + "$ref": "#/components/schemas/_types.aggregations:TermsExclude" + }, + "execution_hint": { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregationExecutionHint" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "gnd": { + "$ref": "#/components/schemas/_types.aggregations:GoogleNormalizedDistanceHeuristic" + }, + "include": { + "$ref": "#/components/schemas/_types.aggregations:TermsInclude" + }, + "jlh": { + "$ref": "#/components/schemas/_types:EmptyObject" + }, + "min_doc_count": { + "description": "Only return terms that are found in more than `min_doc_count` hits.", + "type": "number" + }, + "mutual_information": { + "$ref": "#/components/schemas/_types.aggregations:MutualInformationHeuristic" + }, + "percentage": { + "$ref": "#/components/schemas/_types.aggregations:PercentageScoreHeuristic" + }, + "script_heuristic": { + "$ref": "#/components/schemas/_types.aggregations:ScriptedHeuristic" + }, + "shard_min_doc_count": { + "description": "Regulates the certainty a shard has if the term should actually be added to the candidate list or not with respect to the `min_doc_count`.\nTerms will only be considered if their local shard frequency within the set is higher than the `shard_min_doc_count`.", + "type": "number" + }, + "shard_size": { + "description": "Can be used to control the volumes of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", + "type": "number" + }, + "size": { + "description": "The number of buckets returned out of the overall terms list.", + "type": "number" + } + } + } + ] + }, + "_types.aggregations:ChiSquareHeuristic": { + "type": "object", + "properties": { + "background_is_superset": { + "description": "Set to `false` if you defined a custom background filter that represents a different set of documents that you want to compare to.", + "type": "boolean" + }, + "include_negatives": { + "description": "Set to `false` to filter out the terms that appear less often in the subset than in documents outside the subset.", + "type": "boolean" + } + }, + "required": [ + "background_is_superset", + "include_negatives" + ] + }, + "_types.aggregations:TermsAggregationExecutionHint": { + "type": "string", + "enum": [ + "map", + "global_ordinals", + "global_ordinals_hash", + "global_ordinals_low_cardinality" + ] + }, + "_types.aggregations:GoogleNormalizedDistanceHeuristic": { + "type": "object", + "properties": { + "background_is_superset": { + "description": "Set to `false` if you defined a custom background filter that represents a different set of documents that you want to compare to.", + "type": "boolean" + } + } + }, + "_types.aggregations:MutualInformationHeuristic": { + "type": "object", + "properties": { + "background_is_superset": { + "description": "Set to `false` if you defined a custom background filter that represents a different set of documents that you want to compare to.", + "type": "boolean" + }, + "include_negatives": { + "description": "Set to `false` to filter out the terms that appear less often in the subset than in documents outside the subset.", + "type": "boolean" + } + } + }, + "_types.aggregations:PercentageScoreHeuristic": { + "type": "object" + }, + "_types.aggregations:ScriptedHeuristic": { + "type": "object", + "properties": { + "script": { + "$ref": "#/components/schemas/_types:Script" + } + }, + "required": [ + "script" + ] + }, + "_types.aggregations:SignificantTextAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "background_filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "chi_square": { + "$ref": "#/components/schemas/_types.aggregations:ChiSquareHeuristic" + }, + "exclude": { + "$ref": "#/components/schemas/_types.aggregations:TermsExclude" + }, + "execution_hint": { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregationExecutionHint" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "filter_duplicate_text": { + "description": "Whether to out duplicate text to deal with noisy data.", + "type": "boolean" + }, + "gnd": { + "$ref": "#/components/schemas/_types.aggregations:GoogleNormalizedDistanceHeuristic" + }, + "include": { + "description": "Values to include.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "jlh": { + "$ref": "#/components/schemas/_types:EmptyObject" + }, + "min_doc_count": { + "description": "Only return values that are found in more than `min_doc_count` hits.", + "type": "number" + }, + "mutual_information": { + "$ref": "#/components/schemas/_types.aggregations:MutualInformationHeuristic" + }, + "percentage": { + "$ref": "#/components/schemas/_types.aggregations:PercentageScoreHeuristic" + }, + "script_heuristic": { + "$ref": "#/components/schemas/_types.aggregations:ScriptedHeuristic" + }, + "shard_min_doc_count": { + "description": "Regulates the certainty a shard has if the values should actually be added to the candidate list or not with respect to the min_doc_count.\nValues will only be considered if their local shard frequency within the set is higher than the `shard_min_doc_count`.", + "type": "number" + }, + "shard_size": { + "description": "The number of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", + "type": "number" + }, + "size": { + "description": "The number of buckets returned out of the overall terms list.", + "type": "number" + }, + "source_fields": { + "$ref": "#/components/schemas/_types:Fields" + } + } + } + ] + }, + "_types.aggregations:StatsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:StatsBucketAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:StringStatsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "show_distribution": { + "description": "Shows the probability distribution for all characters.", + "type": "boolean" + } + } + } + ] + }, + "_types.aggregations:SumAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:SumBucketAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:TermsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "collect_mode": { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregationCollectMode" + }, + "exclude": { + "$ref": "#/components/schemas/_types.aggregations:TermsExclude" + }, + "execution_hint": { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregationExecutionHint" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "include": { + "$ref": "#/components/schemas/_types.aggregations:TermsInclude" + }, + "min_doc_count": { + "description": "Only return values that are found in more than `min_doc_count` hits.", + "type": "number" + }, + "missing": { + "$ref": "#/components/schemas/_types.aggregations:Missing" + }, + "missing_order": { + "$ref": "#/components/schemas/_types.aggregations:MissingOrder" + }, + "missing_bucket": { + "type": "boolean" + }, + "value_type": { + "description": "Coerced unmapped fields into the specified type.", + "type": "string" + }, + "order": { + "$ref": "#/components/schemas/_types.aggregations:AggregateOrder" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "shard_size": { + "description": "The number of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", + "type": "number" + }, + "show_term_doc_count_error": { + "description": "Set to `true` to return the `doc_count_error_upper_bound`, which is an upper bound to the error on the `doc_count` returned by each shard.", + "type": "boolean" + }, + "size": { + "description": "The number of buckets returned out of the overall terms list.", + "type": "number" + }, + "format": { + "type": "string" + } + } + } + ] + }, + "_types.aggregations:TopHitsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "docvalue_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "explain": { + "description": "If `true`, returns detailed information about score computation as part of a hit.", + "type": "boolean" + }, + "from": { + "description": "Starting document offset.", + "type": "number" + }, + "highlight": { + "$ref": "#/components/schemas/_global.search._types:Highlight" + }, + "script_fields": { + "description": "Returns the result of one or more script evaluations for each hit.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "size": { + "description": "The maximum number of top matching hits to return per bucket.", + "type": "number" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "stored_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "track_scores": { + "description": "If `true`, calculates and returns document scores, even if the scores are not used for sorting.", + "type": "boolean" + }, + "version": { + "description": "If `true`, returns document version as part of a hit.", + "type": "boolean" + }, + "seq_no_primary_term": { + "description": "If `true`, returns sequence number and primary term of the last modification of each hit.", + "type": "boolean" + } + } + } + ] + }, + "_types.aggregations:TTestAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:Aggregation" + }, + { + "type": "object", + "properties": { + "a": { + "$ref": "#/components/schemas/_types.aggregations:TestPopulation" + }, + "b": { + "$ref": "#/components/schemas/_types.aggregations:TestPopulation" + }, + "type": { + "$ref": "#/components/schemas/_types.aggregations:TTestType" + } + } + } + ] + }, + "_types.aggregations:TestPopulation": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "required": [ + "field" + ] + }, + "_types.aggregations:TTestType": { + "type": "string", + "enum": [ + "paired", + "homoscedastic", + "heteroscedastic" + ] + }, + "_types.aggregations:TopMetricsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "metrics": { + "description": "The fields of the top document to return.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:TopMetricsValue" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:TopMetricsValue" + } + } + ] + }, + "size": { + "description": "The number of top documents from which to return metrics.", + "type": "number" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + } + } + } + ] + }, + "_types.aggregations:TopMetricsValue": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + }, + "_types.aggregations:ValueCountAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormattableMetricAggregation" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:FormattableMetricAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "format": { + "type": "string" + } + } + } + ] + }, + "_types.aggregations:WeightedAverageAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:Aggregation" + }, + { + "type": "object", + "properties": { + "format": { + "description": "A numeric response formatter.", + "type": "string" + }, + "value": { + "$ref": "#/components/schemas/_types.aggregations:WeightedAverageValue" + }, + "value_type": { + "$ref": "#/components/schemas/_types.aggregations:ValueType" + }, + "weight": { + "$ref": "#/components/schemas/_types.aggregations:WeightedAverageValue" + } + } + } + ] + }, + "_types.aggregations:WeightedAverageValue": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "missing": { + "description": "A value or weight to use if the field is missing.", + "type": "number" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + } + } + }, + "_types.aggregations:VariableWidthHistogramAggregation": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "buckets": { + "description": "The target number of buckets.", + "type": "number" + }, + "shard_size": { + "description": "The number of buckets that the coordinating node will request from each shard.\nDefaults to `buckets * 50`.", + "type": "number" + }, + "initial_buffer": { + "description": "Specifies the number of individual documents that will be stored in memory on a shard before the initial bucketing algorithm is run.\nDefaults to `min(10 * shard_size, 50000)`.", + "type": "number" + } + } + }, + "_types:KnnQuery": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "query_vector": { + "$ref": "#/components/schemas/_types:QueryVector" + }, + "query_vector_builder": { + "$ref": "#/components/schemas/_types:QueryVectorBuilder" + }, + "k": { + "description": "The final number of nearest neighbors to return as top hits", + "type": "number" + }, + "num_candidates": { + "description": "The number of nearest neighbor candidates to consider per shard", + "type": "number" + }, + "boost": { + "description": "Boost value to apply to kNN scores", + "type": "number" + }, + "filter": { + "description": "Filters for the kNN search query", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + ] + } + }, + "required": [ + "field", + "k", + "num_candidates" + ] + }, + "_types:QueryVector": { + "type": "array", + "items": { + "type": "number" + } + }, + "_types:QueryVectorBuilder": { + "type": "object", + "properties": { + "text_embedding": { + "$ref": "#/components/schemas/_types:TextEmbedding" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_types:TextEmbedding": { + "type": "object", + "properties": { + "model_id": { + "type": "string" + }, + "model_text": { + "type": "string" + } + }, + "required": [ + "model_id", + "model_text" + ] + }, + "_global.search._types:Rescore": { + "type": "object", + "properties": { + "query": { + "$ref": "#/components/schemas/_global.search._types:RescoreQuery" + }, + "window_size": { + "type": "number" + } + }, + "required": [ + "query" + ] + }, + "_global.search._types:RescoreQuery": { + "type": "object", + "properties": { + "rescore_query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "query_weight": { + "description": "Relative importance of the original query versus the rescore query.", + "type": "number" + }, + "rescore_query_weight": { + "description": "Relative importance of the rescore query versus the original query.", + "type": "number" + }, + "score_mode": { + "$ref": "#/components/schemas/_global.search._types:ScoreMode" + } + }, + "required": [ + "rescore_query" + ] + }, + "_global.search._types:ScoreMode": { + "type": "string", + "enum": [ + "avg", + "max", + "min", + "multiply", + "total" + ] + }, + "_types:SlicedScroll": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max": { + "type": "number" + } + }, + "required": [ + "id", + "max" + ] + }, + "_global.search._types:Suggester": { + "type": "object", + "properties": { + "text": { + "description": "Global suggest text, to avoid repetition when the same text is used in several suggesters", + "type": "string" + } + } + }, + "_global.search._types:PointInTimeReference": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "keep_alive": { + "$ref": "#/components/schemas/_types:Duration" + } + }, + "required": [ + "id" + ] + }, + "_types.mapping:RuntimeFields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:RuntimeField" + } + }, + "_types.mapping:RuntimeField": { + "type": "object", + "properties": { + "fetch_fields": { + "description": "For type `lookup`", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFieldFetchFields" + } + }, + "format": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-date-format.html" + }, + "description": "A custom format for `date` type runtime fields.", + "type": "string" + }, + "input_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "target_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "type": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFieldType" + } + }, + "required": [ + "type" + ] + }, + "_types.mapping:RuntimeFieldFetchFields": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "format": { + "type": "string" + } + }, + "required": [ + "field" + ] + }, + "_types.mapping:RuntimeFieldType": { + "type": "string", + "enum": [ + "boolean", + "date", + "double", + "geo_point", + "ip", + "keyword", + "long", + "lookup" + ] + }, + "_types:Refresh": { + "type": "string", + "enum": [ + "true", + "false", + "wait_for" + ] + }, + "_types:WaitForActiveShards": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "#/components/schemas/_types:WaitForActiveShardOptions" + } + ] + }, + "_types:WaitForActiveShardOptions": { + "type": "string", + "enum": [ + "all", + "index-setting" + ] + }, + "_global.bulk:OperationContainer": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_global.bulk:IndexOperation" + }, + "create": { + "$ref": "#/components/schemas/_global.bulk:CreateOperation" + }, + "update": { + "$ref": "#/components/schemas/_global.bulk:UpdateOperation" + }, + "delete": { + "$ref": "#/components/schemas/_global.bulk:DeleteOperation" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_global.bulk:IndexOperation": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.bulk:WriteOperation" + }, + { + "type": "object" + } + ] + }, + "_global.bulk:WriteOperation": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.bulk:OperationBase" + }, + { + "type": "object", + "properties": { + "dynamic_templates": { + "description": "A map from the full name of fields to the name of dynamic templates.\nDefaults to an empty map.\nIf a name matches a dynamic template, then that template will be applied regardless of other match predicates defined in the template.\nIf a field is already defined in the mapping, then this parameter won’t be used.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "pipeline": { + "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", + "type": "string" + }, + "require_alias": { + "description": "If `true`, the request’s actions must target an index alias.", + "type": "boolean" + } + } + } + ] + }, + "_global.bulk:OperationBase": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "if_primary_term": { + "type": "number" + }, + "if_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "version_type": { + "$ref": "#/components/schemas/_types:VersionType" + } + } + }, + "_global.bulk:CreateOperation": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.bulk:WriteOperation" + }, + { + "type": "object" + } + ] + }, + "_global.bulk:UpdateOperation": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.bulk:OperationBase" + }, + { + "type": "object", + "properties": { + "require_alias": { + "description": "If `true`, the request’s actions must target an index alias.", + "type": "boolean" + }, + "retry_on_conflict": { + "type": "number" + } + } + } + ] + }, + "_global.bulk:DeleteOperation": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.bulk:OperationBase" + }, + { + "type": "object" + } + ] + }, + "_global.bulk:UpdateAction": { + "type": "object", + "properties": { + "detect_noop": { + "description": "Set to false to disable setting 'result' in the response\nto 'noop' if no change to the document occurred.", + "type": "boolean" + }, + "doc": { + "description": "A partial update to an existing document.", + "type": "object" + }, + "doc_as_upsert": { + "description": "Set to true to use the contents of 'doc' as the value of 'upsert'", + "type": "boolean" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "scripted_upsert": { + "description": "Set to true to execute the script whether or not the document exists.", + "type": "boolean" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "upsert": { + "description": "If the document does not already exist, the contents of 'upsert' are inserted as a\nnew document. If the document exists, the 'script' is executed.", + "type": "object" + } + } + }, + "_global.bulk:ResponseItem": { + "type": "object", + "properties": { + "_id": { + "description": "The document ID associated with the operation.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "_index": { + "description": "Name of the index associated with the operation.\nIf the operation targeted a data stream, this is the backing index into which the document was written.", + "type": "string" + }, + "status": { + "description": "HTTP status code returned for the operation.", + "type": "number" + }, + "error": { + "$ref": "#/components/schemas/_types:ErrorCause" + }, + "_primary_term": { + "description": "The primary term assigned to the document for the operation.", + "type": "number" + }, + "result": { + "description": "Result of the operation.\nSuccessful values are `created`, `deleted`, and `updated`.", + "type": "string" + }, + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "_version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "forced_refresh": { + "type": "boolean" + }, + "get": { + "$ref": "#/components/schemas/_types:InlineGetDictUserDefined" + } + }, + "required": [ + "_index", + "status" + ] + }, + "_types:InlineGetDictUserDefined": { + "type": "object", + "properties": { + "fields": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "found": { + "type": "boolean" + }, + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "_primary_term": { + "type": "number" + }, + "_routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "_source": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "required": [ + "found", + "_source" + ] + }, + "_types:Names": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Name" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Name" + } + } + ] + }, + "cat.aliases:AliasesRecord": { + "type": "object", + "properties": { + "alias": { + "description": "alias name", + "type": "string" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "filter": { + "description": "filter", + "type": "string" + }, + "routing.index": { + "description": "index routing", + "type": "string" + }, + "routing.search": { + "description": "search routing", + "type": "string" + }, + "is_write_index": { + "description": "write index", + "type": "string" + } + } + }, + "_types:NodeIds": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:NodeId" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:NodeId" + } + } + ] + }, + "_types:NodeId": { + "type": "string" + }, + "_types:Bytes": { + "type": "string", + "enum": [ + "b", + "kb", + "mb", + "gb", + "tb", + "pb" + ] + }, + "cat.allocation:AllocationRecord": { + "type": "object", + "properties": { + "shards": { + "description": "Number of primary and replica shards assigned to the node.", + "type": "string" + }, + "disk.indices": { + "description": "Disk space used by the node’s shards. Does not include disk space for the translog or unassigned shards.\nIMPORTANT: This metric double-counts disk space for hard-linked files, such as those created when shrinking, splitting, or cloning an index.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:ByteSize" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "disk.used": { + "description": "Total disk space in use.\nElasticsearch retrieves this metric from the node’s operating system (OS).\nThe metric includes disk space for: Elasticsearch, including the translog and unassigned shards; the node’s operating system; any other applications or files on the node.\nUnlike `disk.indices`, this metric does not double-count disk space for hard-linked files.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:ByteSize" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "disk.avail": { + "description": "Free disk space available to Elasticsearch.\nElasticsearch retrieves this metric from the node’s operating system.\nDisk-based shard allocation uses this metric to assign shards to nodes based on available disk space.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:ByteSize" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "disk.total": { + "description": "Total disk space for the node, including in-use and available space.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:ByteSize" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "disk.percent": { + "description": "Total percentage of disk space in use. Calculated as `disk.used / disk.total`.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Percentage" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "host": { + "description": "Network host for the node. Set using the `network.host` setting.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Host" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "ip": { + "description": "IP address and port for the node.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Ip" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "node": { + "description": "Name for the node. Set using the `node.name` setting.", + "type": "string" + } + } + }, + "_types:ByteSize": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/api-conventions.html#byte-units" + }, + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "_types:Percentage": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "_types:Host": { + "type": "string" + }, + "_types:Ip": { + "type": "string" + }, + "cat.component_templates:ComponentTemplate": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "version": { + "type": "string" + }, + "alias_count": { + "type": "string" + }, + "mapping_count": { + "type": "string" + }, + "settings_count": { + "type": "string" + }, + "metadata_count": { + "type": "string" + }, + "included_in": { + "type": "string" + } + }, + "required": [ + "name", + "version", + "alias_count", + "mapping_count", + "settings_count", + "metadata_count", + "included_in" + ] + }, + "cat.count:CountRecord": { + "type": "object", + "properties": { + "epoch": { + "$ref": "#/components/schemas/_spec_utils:StringifiedEpochTimeUnitSeconds" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:TimeOfDay" + }, + "count": { + "description": "the document count", + "type": "string" + } + } + }, + "_spec_utils:StringifiedEpochTimeUnitSeconds": { + "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:EpochTimeUnitSeconds" + }, + { + "type": "string" + } + ] + }, + "_types:EpochTimeUnitSeconds": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:UnitSeconds" + } + ] + }, + "_types:UnitSeconds": { + "description": "Time unit for seconds", + "type": "number" + }, + "_types:TimeOfDay": { + "description": "Time of day, expressed as HH:MM:SS", + "type": "string" + }, + "cat.fielddata:FielddataRecord": { + "type": "object", + "properties": { + "id": { + "description": "node id", + "type": "string" + }, + "host": { + "description": "host name", + "type": "string" + }, + "ip": { + "description": "ip address", + "type": "string" + }, + "node": { + "description": "node name", + "type": "string" + }, + "field": { + "description": "field name", + "type": "string" + }, + "size": { + "description": "field data usage", + "type": "string" + } + } + }, + "cat.help:HelpRecord": { + "type": "object", + "properties": { + "endpoint": { + "type": "string" + } + }, + "required": [ + "endpoint" + ] + }, + "_types:HealthStatus": { + "type": "string", + "enum": [ + "green", + "yellow", + "red" + ] + }, + "_types:TimeUnit": { + "type": "string", + "enum": [ + "nanos", + "micros", + "ms", + "s", + "m", + "h", + "d" + ] + }, + "cat.indices:IndicesRecord": { + "type": "object", + "properties": { + "health": { + "description": "current health status", + "type": "string" + }, + "status": { + "description": "open/close status", + "type": "string" + }, + "index": { + "description": "index name", + "type": "string" + }, + "uuid": { + "description": "index uuid", + "type": "string" + }, + "pri": { + "description": "number of primary shards", + "type": "string" + }, + "rep": { + "description": "number of replica shards", + "type": "string" + }, + "docs.count": { + "description": "available docs", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "docs.deleted": { + "description": "deleted docs", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "creation.date": { + "description": "index creation date (millisecond value)", + "type": "string" + }, + "creation.date.string": { + "description": "index creation date (as string)", + "type": "string" + }, + "store.size": { + "description": "store size of primaries & replicas", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "pri.store.size": { + "description": "store size of primaries", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "completion.size": { + "description": "size of completion", + "type": "string" + }, + "pri.completion.size": { + "description": "size of completion", + "type": "string" + }, + "fielddata.memory_size": { + "description": "used fielddata cache", + "type": "string" + }, + "pri.fielddata.memory_size": { + "description": "used fielddata cache", + "type": "string" + }, + "fielddata.evictions": { + "description": "fielddata evictions", + "type": "string" + }, + "pri.fielddata.evictions": { + "description": "fielddata evictions", + "type": "string" + }, + "query_cache.memory_size": { + "description": "used query cache", + "type": "string" + }, + "pri.query_cache.memory_size": { + "description": "used query cache", + "type": "string" + }, + "query_cache.evictions": { + "description": "query cache evictions", + "type": "string" + }, + "pri.query_cache.evictions": { + "description": "query cache evictions", + "type": "string" + }, + "request_cache.memory_size": { + "description": "used request cache", + "type": "string" + }, + "pri.request_cache.memory_size": { + "description": "used request cache", + "type": "string" + }, + "request_cache.evictions": { + "description": "request cache evictions", + "type": "string" + }, + "pri.request_cache.evictions": { + "description": "request cache evictions", + "type": "string" + }, + "request_cache.hit_count": { + "description": "request cache hit count", + "type": "string" + }, + "pri.request_cache.hit_count": { + "description": "request cache hit count", + "type": "string" + }, + "request_cache.miss_count": { + "description": "request cache miss count", + "type": "string" + }, + "pri.request_cache.miss_count": { + "description": "request cache miss count", + "type": "string" + }, + "flush.total": { + "description": "number of flushes", + "type": "string" + }, + "pri.flush.total": { + "description": "number of flushes", + "type": "string" + }, + "flush.total_time": { + "description": "time spent in flush", + "type": "string" + }, + "pri.flush.total_time": { + "description": "time spent in flush", + "type": "string" + }, + "get.current": { + "description": "number of current get ops", + "type": "string" + }, + "pri.get.current": { + "description": "number of current get ops", + "type": "string" + }, + "get.time": { + "description": "time spent in get", + "type": "string" + }, + "pri.get.time": { + "description": "time spent in get", + "type": "string" + }, + "get.total": { + "description": "number of get ops", + "type": "string" + }, + "pri.get.total": { + "description": "number of get ops", + "type": "string" + }, + "get.exists_time": { + "description": "time spent in successful gets", + "type": "string" + }, + "pri.get.exists_time": { + "description": "time spent in successful gets", + "type": "string" + }, + "get.exists_total": { + "description": "number of successful gets", + "type": "string" + }, + "pri.get.exists_total": { + "description": "number of successful gets", + "type": "string" + }, + "get.missing_time": { + "description": "time spent in failed gets", + "type": "string" + }, + "pri.get.missing_time": { + "description": "time spent in failed gets", + "type": "string" + }, + "get.missing_total": { + "description": "number of failed gets", + "type": "string" + }, + "pri.get.missing_total": { + "description": "number of failed gets", + "type": "string" + }, + "indexing.delete_current": { + "description": "number of current deletions", + "type": "string" + }, + "pri.indexing.delete_current": { + "description": "number of current deletions", + "type": "string" + }, + "indexing.delete_time": { + "description": "time spent in deletions", + "type": "string" + }, + "pri.indexing.delete_time": { + "description": "time spent in deletions", + "type": "string" + }, + "indexing.delete_total": { + "description": "number of delete ops", + "type": "string" + }, + "pri.indexing.delete_total": { + "description": "number of delete ops", + "type": "string" + }, + "indexing.index_current": { + "description": "number of current indexing ops", + "type": "string" + }, + "pri.indexing.index_current": { + "description": "number of current indexing ops", + "type": "string" + }, + "indexing.index_time": { + "description": "time spent in indexing", + "type": "string" + }, + "pri.indexing.index_time": { + "description": "time spent in indexing", + "type": "string" + }, + "indexing.index_total": { + "description": "number of indexing ops", + "type": "string" + }, + "pri.indexing.index_total": { + "description": "number of indexing ops", + "type": "string" + }, + "indexing.index_failed": { + "description": "number of failed indexing ops", + "type": "string" + }, + "pri.indexing.index_failed": { + "description": "number of failed indexing ops", + "type": "string" + }, + "merges.current": { + "description": "number of current merges", + "type": "string" + }, + "pri.merges.current": { + "description": "number of current merges", + "type": "string" + }, + "merges.current_docs": { + "description": "number of current merging docs", + "type": "string" + }, + "pri.merges.current_docs": { + "description": "number of current merging docs", + "type": "string" + }, + "merges.current_size": { + "description": "size of current merges", + "type": "string" + }, + "pri.merges.current_size": { + "description": "size of current merges", + "type": "string" + }, + "merges.total": { + "description": "number of completed merge ops", + "type": "string" + }, + "pri.merges.total": { + "description": "number of completed merge ops", + "type": "string" + }, + "merges.total_docs": { + "description": "docs merged", + "type": "string" + }, + "pri.merges.total_docs": { + "description": "docs merged", + "type": "string" + }, + "merges.total_size": { + "description": "size merged", + "type": "string" + }, + "pri.merges.total_size": { + "description": "size merged", + "type": "string" + }, + "merges.total_time": { + "description": "time spent in merges", + "type": "string" + }, + "pri.merges.total_time": { + "description": "time spent in merges", + "type": "string" + }, + "refresh.total": { + "description": "total refreshes", + "type": "string" + }, + "pri.refresh.total": { + "description": "total refreshes", + "type": "string" + }, + "refresh.time": { + "description": "time spent in refreshes", + "type": "string" + }, + "pri.refresh.time": { + "description": "time spent in refreshes", + "type": "string" + }, + "refresh.external_total": { + "description": "total external refreshes", + "type": "string" + }, + "pri.refresh.external_total": { + "description": "total external refreshes", + "type": "string" + }, + "refresh.external_time": { + "description": "time spent in external refreshes", + "type": "string" + }, + "pri.refresh.external_time": { + "description": "time spent in external refreshes", + "type": "string" + }, + "refresh.listeners": { + "description": "number of pending refresh listeners", + "type": "string" + }, + "pri.refresh.listeners": { + "description": "number of pending refresh listeners", + "type": "string" + }, + "search.fetch_current": { + "description": "current fetch phase ops", + "type": "string" + }, + "pri.search.fetch_current": { + "description": "current fetch phase ops", + "type": "string" + }, + "search.fetch_time": { + "description": "time spent in fetch phase", + "type": "string" + }, + "pri.search.fetch_time": { + "description": "time spent in fetch phase", + "type": "string" + }, + "search.fetch_total": { + "description": "total fetch ops", + "type": "string" + }, + "pri.search.fetch_total": { + "description": "total fetch ops", + "type": "string" + }, + "search.open_contexts": { + "description": "open search contexts", + "type": "string" + }, + "pri.search.open_contexts": { + "description": "open search contexts", + "type": "string" + }, + "search.query_current": { + "description": "current query phase ops", + "type": "string" + }, + "pri.search.query_current": { + "description": "current query phase ops", + "type": "string" + }, + "search.query_time": { + "description": "time spent in query phase", + "type": "string" + }, + "pri.search.query_time": { + "description": "time spent in query phase", + "type": "string" + }, + "search.query_total": { + "description": "total query phase ops", + "type": "string" + }, + "pri.search.query_total": { + "description": "total query phase ops", + "type": "string" + }, + "search.scroll_current": { + "description": "open scroll contexts", + "type": "string" + }, + "pri.search.scroll_current": { + "description": "open scroll contexts", + "type": "string" + }, + "search.scroll_time": { + "description": "time scroll contexts held open", + "type": "string" + }, + "pri.search.scroll_time": { + "description": "time scroll contexts held open", + "type": "string" + }, + "search.scroll_total": { + "description": "completed scroll contexts", + "type": "string" + }, + "pri.search.scroll_total": { + "description": "completed scroll contexts", + "type": "string" + }, + "segments.count": { + "description": "number of segments", + "type": "string" + }, + "pri.segments.count": { + "description": "number of segments", + "type": "string" + }, + "segments.memory": { + "description": "memory used by segments", + "type": "string" + }, + "pri.segments.memory": { + "description": "memory used by segments", + "type": "string" + }, + "segments.index_writer_memory": { + "description": "memory used by index writer", + "type": "string" + }, + "pri.segments.index_writer_memory": { + "description": "memory used by index writer", + "type": "string" + }, + "segments.version_map_memory": { + "description": "memory used by version map", + "type": "string" + }, + "pri.segments.version_map_memory": { + "description": "memory used by version map", + "type": "string" + }, + "segments.fixed_bitset_memory": { + "description": "memory used by fixed bit sets for nested object field types and export type filters for types referred in _parent fields", + "type": "string" + }, + "pri.segments.fixed_bitset_memory": { + "description": "memory used by fixed bit sets for nested object field types and export type filters for types referred in _parent fields", + "type": "string" + }, + "warmer.current": { + "description": "current warmer ops", + "type": "string" + }, + "pri.warmer.current": { + "description": "current warmer ops", + "type": "string" + }, + "warmer.total": { + "description": "total warmer ops", + "type": "string" + }, + "pri.warmer.total": { + "description": "total warmer ops", + "type": "string" + }, + "warmer.total_time": { + "description": "time spent in warmers", + "type": "string" + }, + "pri.warmer.total_time": { + "description": "time spent in warmers", + "type": "string" + }, + "suggest.current": { + "description": "number of current suggest ops", + "type": "string" + }, + "pri.suggest.current": { + "description": "number of current suggest ops", + "type": "string" + }, + "suggest.time": { + "description": "time spend in suggest", + "type": "string" + }, + "pri.suggest.time": { + "description": "time spend in suggest", + "type": "string" + }, + "suggest.total": { + "description": "number of suggest ops", + "type": "string" + }, + "pri.suggest.total": { + "description": "number of suggest ops", + "type": "string" + }, + "memory.total": { + "description": "total used memory", + "type": "string" + }, + "pri.memory.total": { + "description": "total user memory", + "type": "string" + }, + "search.throttled": { + "description": "indicates if the index is search throttled", + "type": "string" + }, + "bulk.total_operations": { + "description": "number of bulk shard ops", + "type": "string" + }, + "pri.bulk.total_operations": { + "description": "number of bulk shard ops", + "type": "string" + }, + "bulk.total_time": { + "description": "time spend in shard bulk", + "type": "string" + }, + "pri.bulk.total_time": { + "description": "time spend in shard bulk", + "type": "string" + }, + "bulk.total_size_in_bytes": { + "description": "total size in bytes of shard bulk", + "type": "string" + }, + "pri.bulk.total_size_in_bytes": { + "description": "total size in bytes of shard bulk", + "type": "string" + }, + "bulk.avg_time": { + "description": "average time spend in shard bulk", + "type": "string" + }, + "pri.bulk.avg_time": { + "description": "average time spend in shard bulk", + "type": "string" + }, + "bulk.avg_size_in_bytes": { + "description": "average size in bytes of shard bulk", + "type": "string" + }, + "pri.bulk.avg_size_in_bytes": { + "description": "average size in bytes of shard bulk", + "type": "string" + } + } + }, + "cat.master:MasterRecord": { + "type": "object", + "properties": { + "id": { + "description": "node id", + "type": "string" + }, + "host": { + "description": "host name", + "type": "string" + }, + "ip": { + "description": "ip address", + "type": "string" + }, + "node": { + "description": "node name", + "type": "string" + } + } + }, + "cat._types:CatDfaColumns": { + "oneOf": [ + { + "$ref": "#/components/schemas/cat._types:CatDfaColumn" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat._types:CatDfaColumn" + } + } + ] + }, + "cat._types:CatDfaColumn": { + "type": "string", + "enum": [ + "assignment_explanation", + "create_time", + "description", + "dest_index", + "failure_reason", + "id", + "model_memory_limit", + "node.address", + "node.ephemeral_id", + "node.id", + "node.name", + "progress", + "source_index", + "state", + "type", + "version" + ] + }, + "cat.ml_data_frame_analytics:DataFrameAnalyticsRecord": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "type": { + "description": "The type of analysis that the job performs.", + "type": "string" + }, + "create_time": { + "description": "The time when the job was created.", + "type": "string" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "source_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "dest_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "description": { + "description": "A description of the job.", + "type": "string" + }, + "model_memory_limit": { + "description": "The approximate maximum amount of memory resources that are permitted for the job.", + "type": "string" + }, + "state": { + "description": "The current status of the job.", + "type": "string" + }, + "failure_reason": { + "description": "Messages about the reason why the job failed.", + "type": "string" + }, + "progress": { + "description": "The progress report for the job by phase.", + "type": "string" + }, + "assignment_explanation": { + "description": "Messages related to the selection of a node.", + "type": "string" + }, + "node.id": { + "$ref": "#/components/schemas/_types:Id" + }, + "node.name": { + "$ref": "#/components/schemas/_types:Name" + }, + "node.ephemeral_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "node.address": { + "description": "The network address of the assigned node.", + "type": "string" + } + } + }, + "cat._types:CatDatafeedColumns": { + "oneOf": [ + { + "$ref": "#/components/schemas/cat._types:CatDatafeedColumn" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat._types:CatDatafeedColumn" + } + } + ] + }, + "cat._types:CatDatafeedColumn": { + "type": "string", + "enum": [ + "ae", + "bc", + "id", + "na", + "ne", + "ni", + "nn", + "sba", + "sc", + "seah", + "st", + "s" + ] + }, + "cat.ml_datafeeds:DatafeedsRecord": { + "type": "object", + "properties": { + "id": { + "description": "The datafeed identifier.", + "type": "string" + }, + "state": { + "$ref": "#/components/schemas/ml._types:DatafeedState" + }, + "assignment_explanation": { + "description": "For started datafeeds only, contains messages relating to the selection of a node.", + "type": "string" + }, + "buckets.count": { + "description": "The number of buckets processed.", + "type": "string" + }, + "search.count": { + "description": "The number of searches run by the datafeed.", + "type": "string" + }, + "search.time": { + "description": "The total time the datafeed spent searching, in milliseconds.", + "type": "string" + }, + "search.bucket_avg": { + "description": "The average search time per bucket, in milliseconds.", + "type": "string" + }, + "search.exp_avg_hour": { + "description": "The exponential average search time per hour, in milliseconds.", + "type": "string" + }, + "node.id": { + "description": "The unique identifier of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", + "type": "string" + }, + "node.name": { + "description": "The name of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", + "type": "string" + }, + "node.ephemeral_id": { + "description": "The ephemeral identifier of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", + "type": "string" + }, + "node.address": { + "description": "The network address of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", + "type": "string" + } + } + }, + "ml._types:DatafeedState": { + "type": "string", + "enum": [ + "started", + "stopped", + "starting", + "stopping" + ] + }, + "cat._types:CatAnonalyDetectorColumns": { + "oneOf": [ + { + "$ref": "#/components/schemas/cat._types:CatAnomalyDetectorColumn" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat._types:CatAnomalyDetectorColumn" + } + } + ] + }, + "cat._types:CatAnomalyDetectorColumn": { + "type": "string", + "enum": [ + "assignment_explanation", + "buckets.count", + "buckets.time.exp_avg", + "buckets.time.exp_avg_hour", + "buckets.time.max", + "buckets.time.min", + "buckets.time.total", + "data.buckets", + "data.earliest_record", + "data.empty_buckets", + "data.input_bytes", + "data.input_fields", + "data.input_records", + "data.invalid_dates", + "data.last", + "data.last_empty_bucket", + "data.last_sparse_bucket", + "data.latest_record", + "data.missing_fields", + "data.out_of_order_timestamps", + "data.processed_fields", + "data.processed_records", + "data.sparse_buckets", + "forecasts.memory.avg", + "forecasts.memory.max", + "forecasts.memory.min", + "forecasts.memory.total", + "forecasts.records.avg", + "forecasts.records.max", + "forecasts.records.min", + "forecasts.records.total", + "forecasts.time.avg", + "forecasts.time.max", + "forecasts.time.min", + "forecasts.time.total", + "forecasts.total", + "id", + "model.bucket_allocation_failures", + "model.by_fields", + "model.bytes", + "model.bytes_exceeded", + "model.categorization_status", + "model.categorized_doc_count", + "model.dead_category_count", + "model.failed_category_count", + "model.frequent_category_count", + "model.log_time", + "model.memory_limit", + "model.memory_status", + "model.over_fields", + "model.partition_fields", + "model.rare_category_count", + "model.timestamp", + "model.total_category_count", + "node.address", + "node.ephemeral_id", + "node.id", + "node.name", + "opened_time", + "state" + ] + }, + "cat.ml_jobs:JobsRecord": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "state": { + "$ref": "#/components/schemas/ml._types:JobState" + }, + "opened_time": { + "description": "For open jobs only, the amount of time the job has been opened.", + "type": "string" + }, + "assignment_explanation": { + "description": "For open anomaly detection jobs only, contains messages relating to the selection of a node to run the job.", + "type": "string" + }, + "data.processed_records": { + "description": "The number of input documents that have been processed by the anomaly detection job.\nThis value includes documents with missing fields, since they are nonetheless analyzed.\nIf you use datafeeds and have aggregations in your search query, the `processed_record_count` is the number of aggregation results processed, not the number of Elasticsearch documents.", + "type": "string" + }, + "data.processed_fields": { + "description": "The total number of fields in all the documents that have been processed by the anomaly detection job.\nOnly fields that are specified in the detector configuration object contribute to this count.\nThe timestamp is not included in this count.", + "type": "string" + }, + "data.input_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "data.input_records": { + "description": "The number of input documents posted to the anomaly detection job.", + "type": "string" + }, + "data.input_fields": { + "description": "The total number of fields in input documents posted to the anomaly detection job.\nThis count includes fields that are not used in the analysis.\nHowever, be aware that if you are using a datafeed, it extracts only the required fields from the documents it retrieves before posting them to the job.", + "type": "string" + }, + "data.invalid_dates": { + "description": "The number of input documents with either a missing date field or a date that could not be parsed.", + "type": "string" + }, + "data.missing_fields": { + "description": "The number of input documents that are missing a field that the anomaly detection job is configured to analyze.\nInput documents with missing fields are still processed because it is possible that not all fields are missing.\nIf you are using datafeeds or posting data to the job in JSON format, a high `missing_field_count` is often not an indication of data issues.\nIt is not necessarily a cause for concern.", + "type": "string" + }, + "data.out_of_order_timestamps": { + "description": "The number of input documents that have a timestamp chronologically preceding the start of the current anomaly detection bucket offset by the latency window.\nThis information is applicable only when you provide data to the anomaly detection job by using the post data API.\nThese out of order documents are discarded, since jobs require time series data to be in ascending chronological order.", + "type": "string" + }, + "data.empty_buckets": { + "description": "The number of buckets which did not contain any data.\nIf your data contains many empty buckets, consider increasing your `bucket_span` or using functions that are tolerant to gaps in data such as mean, `non_null_sum` or `non_zero_count`.", + "type": "string" + }, + "data.sparse_buckets": { + "description": "The number of buckets that contained few data points compared to the expected number of data points.\nIf your data contains many sparse buckets, consider using a longer `bucket_span`.", + "type": "string" + }, + "data.buckets": { + "description": "The total number of buckets processed.", + "type": "string" + }, + "data.earliest_record": { + "description": "The timestamp of the earliest chronologically input document.", + "type": "string" + }, + "data.latest_record": { + "description": "The timestamp of the latest chronologically input document.", + "type": "string" + }, + "data.last": { + "description": "The timestamp at which data was last analyzed, according to server time.", + "type": "string" + }, + "data.last_empty_bucket": { + "description": "The timestamp of the last bucket that did not contain any data.", + "type": "string" + }, + "data.last_sparse_bucket": { + "description": "The timestamp of the last bucket that was considered sparse.", + "type": "string" + }, + "model.bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "model.memory_status": { + "$ref": "#/components/schemas/ml._types:MemoryStatus" + }, + "model.bytes_exceeded": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "model.memory_limit": { + "description": "The upper limit for model memory usage, checked on increasing values.", + "type": "string" + }, + "model.by_fields": { + "description": "The number of `by` field values that were analyzed by the models.\nThis value is cumulative for all detectors in the job.", + "type": "string" + }, + "model.over_fields": { + "description": "The number of `over` field values that were analyzed by the models.\nThis value is cumulative for all detectors in the job.", + "type": "string" + }, + "model.partition_fields": { + "description": "The number of `partition` field values that were analyzed by the models.\nThis value is cumulative for all detectors in the job.", + "type": "string" + }, + "model.bucket_allocation_failures": { + "description": "The number of buckets for which new entities in incoming data were not processed due to insufficient model memory.\nThis situation is also signified by a `hard_limit: memory_status` property value.", + "type": "string" + }, + "model.categorization_status": { + "$ref": "#/components/schemas/ml._types:CategorizationStatus" + }, + "model.categorized_doc_count": { + "description": "The number of documents that have had a field categorized.", + "type": "string" + }, + "model.total_category_count": { + "description": "The number of categories created by categorization.", + "type": "string" + }, + "model.frequent_category_count": { + "description": "The number of categories that match more than 1% of categorized documents.", + "type": "string" + }, + "model.rare_category_count": { + "description": "The number of categories that match just one categorized document.", + "type": "string" + }, + "model.dead_category_count": { + "description": "The number of categories created by categorization that will never be assigned again because another category’s definition makes it a superset of the dead category.\nDead categories are a side effect of the way categorization has no prior training.", + "type": "string" + }, + "model.failed_category_count": { + "description": "The number of times that categorization wanted to create a new category but couldn’t because the job had hit its `model_memory_limit`.\nThis count does not track which specific categories failed to be created.\nTherefore you cannot use this value to determine the number of unique categories that were missed.", + "type": "string" + }, + "model.log_time": { + "description": "The timestamp when the model stats were gathered, according to server time.", + "type": "string" + }, + "model.timestamp": { + "description": "The timestamp of the last record when the model stats were gathered.", + "type": "string" + }, + "forecasts.total": { + "description": "The number of individual forecasts currently available for the job.\nA value of one or more indicates that forecasts exist.", + "type": "string" + }, + "forecasts.memory.min": { + "description": "The minimum memory usage in bytes for forecasts related to the anomaly detection job.", + "type": "string" + }, + "forecasts.memory.max": { + "description": "The maximum memory usage in bytes for forecasts related to the anomaly detection job.", + "type": "string" + }, + "forecasts.memory.avg": { + "description": "The average memory usage in bytes for forecasts related to the anomaly detection job.", + "type": "string" + }, + "forecasts.memory.total": { + "description": "The total memory usage in bytes for forecasts related to the anomaly detection job.", + "type": "string" + }, + "forecasts.records.min": { + "description": "The minimum number of `model_forecast` documents written for forecasts related to the anomaly detection job.", + "type": "string" + }, + "forecasts.records.max": { + "description": "The maximum number of `model_forecast` documents written for forecasts related to the anomaly detection job.", + "type": "string" + }, + "forecasts.records.avg": { + "description": "The average number of `model_forecast` documents written for forecasts related to the anomaly detection job.", + "type": "string" + }, + "forecasts.records.total": { + "description": "The total number of `model_forecast` documents written for forecasts related to the anomaly detection job.", + "type": "string" + }, + "forecasts.time.min": { + "description": "The minimum runtime in milliseconds for forecasts related to the anomaly detection job.", + "type": "string" + }, + "forecasts.time.max": { + "description": "The maximum runtime in milliseconds for forecasts related to the anomaly detection job.", + "type": "string" + }, + "forecasts.time.avg": { + "description": "The average runtime in milliseconds for forecasts related to the anomaly detection job.", + "type": "string" + }, + "forecasts.time.total": { + "description": "The total runtime in milliseconds for forecasts related to the anomaly detection job.", + "type": "string" + }, + "node.id": { + "$ref": "#/components/schemas/_types:NodeId" + }, + "node.name": { + "description": "The name of the assigned node.", + "type": "string" + }, + "node.ephemeral_id": { + "$ref": "#/components/schemas/_types:NodeId" + }, + "node.address": { + "description": "The network address of the assigned node.", + "type": "string" + }, + "buckets.count": { + "description": "The number of bucket results produced by the job.", + "type": "string" + }, + "buckets.time.total": { + "description": "The sum of all bucket processing times, in milliseconds.", + "type": "string" + }, + "buckets.time.min": { + "description": "The minimum of all bucket processing times, in milliseconds.", + "type": "string" + }, + "buckets.time.max": { + "description": "The maximum of all bucket processing times, in milliseconds.", + "type": "string" + }, + "buckets.time.exp_avg": { + "description": "The exponential moving average of all bucket processing times, in milliseconds.", + "type": "string" + }, + "buckets.time.exp_avg_hour": { + "description": "The exponential moving average of bucket processing times calculated in a one hour time window, in milliseconds.", + "type": "string" + } + } + }, + "ml._types:JobState": { + "type": "string", + "enum": [ + "closing", + "closed", + "opened", + "failed", + "opening" + ] + }, + "ml._types:MemoryStatus": { + "type": "string", + "enum": [ + "ok", + "soft_limit", + "hard_limit" + ] + }, + "ml._types:CategorizationStatus": { + "type": "string", + "enum": [ + "ok", + "warn" + ] + }, + "cat._types:CatTrainedModelsColumns": { + "oneOf": [ + { + "$ref": "#/components/schemas/cat._types:CatTrainedModelsColumn" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat._types:CatTrainedModelsColumn" + } + } + ] + }, + "cat._types:CatTrainedModelsColumn": { + "type": "string", + "enum": [ + "create_time", + "created_by", + "data_frame_analytics_id", + "description", + "heap_size", + "id", + "ingest.count", + "ingest.current", + "ingest.failed", + "ingest.pipelines", + "ingest.time", + "license", + "operations", + "version" + ] + }, + "cat.ml_trained_models:TrainedModelsRecord": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "created_by": { + "description": "Information about the creator of the model.", + "type": "string" + }, + "heap_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "operations": { + "description": "The estimated number of operations to use the model.\nThis number helps to measure the computational complexity of the model.", + "type": "string" + }, + "license": { + "description": "The license level of the model.", + "type": "string" + }, + "create_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "description": { + "description": "A description of the model.", + "type": "string" + }, + "ingest.pipelines": { + "description": "The number of pipelines that are referencing the model.", + "type": "string" + }, + "ingest.count": { + "description": "The total number of documents that are processed by the model.", + "type": "string" + }, + "ingest.time": { + "description": "The total time spent processing documents with thie model.", + "type": "string" + }, + "ingest.current": { + "description": "The total number of documents that are currently being handled by the model.", + "type": "string" + }, + "ingest.failed": { + "description": "The total number of failed ingest attempts with the model.", + "type": "string" + }, + "data_frame.id": { + "description": "The identifier for the data frame analytics job that created the model.\nOnly displayed if the job is still available.", + "type": "string" + }, + "data_frame.create_time": { + "description": "The time the data frame analytics job was created.", + "type": "string" + }, + "data_frame.source_index": { + "description": "The source index used to train in the data frame analysis.", + "type": "string" + }, + "data_frame.analysis": { + "description": "The analysis used by the data frame to build the model.", + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "cat.nodeattrs:NodeAttributesRecord": { + "type": "object", + "properties": { + "node": { + "description": "The node name.", + "type": "string" + }, + "id": { + "description": "The unique node identifier.", + "type": "string" + }, + "pid": { + "description": "The process identifier.", + "type": "string" + }, + "host": { + "description": "The host name.", + "type": "string" + }, + "ip": { + "description": "The IP address.", + "type": "string" + }, + "port": { + "description": "The bound transport port.", + "type": "string" + }, + "attr": { + "description": "The attribute name.", + "type": "string" + }, + "value": { + "description": "The attribute value.", + "type": "string" + } + } + }, + "cat.nodes:NodesRecord": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "pid": { + "description": "The process identifier.", + "type": "string" + }, + "ip": { + "description": "The IP address.", + "type": "string" + }, + "port": { + "description": "The bound transport port.", + "type": "string" + }, + "http_address": { + "description": "The bound HTTP address.", + "type": "string" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "flavor": { + "description": "The Elasticsearch distribution flavor.", + "type": "string" + }, + "type": { + "description": "The Elasticsearch distribution type.", + "type": "string" + }, + "build": { + "description": "The Elasticsearch build hash.", + "type": "string" + }, + "jdk": { + "description": "The Java version.", + "type": "string" + }, + "disk.total": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "disk.used": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "disk.avail": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "disk.used_percent": { + "$ref": "#/components/schemas/_types:Percentage" + }, + "heap.current": { + "description": "The used heap.", + "type": "string" + }, + "heap.percent": { + "$ref": "#/components/schemas/_types:Percentage" + }, + "heap.max": { + "description": "The maximum configured heap.", + "type": "string" + }, + "ram.current": { + "description": "The used machine memory.", + "type": "string" + }, + "ram.percent": { + "$ref": "#/components/schemas/_types:Percentage" + }, + "ram.max": { + "description": "The total machine memory.", + "type": "string" + }, + "file_desc.current": { + "description": "The used file descriptors.", + "type": "string" + }, + "file_desc.percent": { + "$ref": "#/components/schemas/_types:Percentage" + }, + "file_desc.max": { + "description": "The maximum number of file descriptors.", + "type": "string" + }, + "cpu": { + "description": "The recent system CPU usage as a percentage.", + "type": "string" + }, + "load_1m": { + "description": "The load average for the most recent minute.", + "type": "string" + }, + "load_5m": { + "description": "The load average for the last five minutes.", + "type": "string" + }, + "load_15m": { + "description": "The load average for the last fifteen minutes.", + "type": "string" + }, + "uptime": { + "description": "The node uptime.", + "type": "string" + }, + "node.role": { + "description": "The roles of the node.\nReturned values include `c`(cold node), `d`(data node), `f`(frozen node), `h`(hot node), `i`(ingest node), `l`(machine learning node), `m` (master eligible node), `r`(remote cluster client node), `s`(content node), `t`(transform node), `v`(voting-only node), `w`(warm node),and `-`(coordinating node only).", + "type": "string" + }, + "master": { + "description": "Indicates whether the node is the elected master node.\nReturned values include `*`(elected master) and `-`(not elected master).", + "type": "string" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "completion.size": { + "description": "The size of completion.", + "type": "string" + }, + "fielddata.memory_size": { + "description": "The used fielddata cache.", + "type": "string" + }, + "fielddata.evictions": { + "description": "The fielddata evictions.", + "type": "string" + }, + "query_cache.memory_size": { + "description": "The used query cache.", + "type": "string" + }, + "query_cache.evictions": { + "description": "The query cache evictions.", + "type": "string" + }, + "query_cache.hit_count": { + "description": "The query cache hit counts.", + "type": "string" + }, + "query_cache.miss_count": { + "description": "The query cache miss counts.", + "type": "string" + }, + "request_cache.memory_size": { + "description": "The used request cache.", + "type": "string" + }, + "request_cache.evictions": { + "description": "The request cache evictions.", + "type": "string" + }, + "request_cache.hit_count": { + "description": "The request cache hit counts.", + "type": "string" + }, + "request_cache.miss_count": { + "description": "The request cache miss counts.", + "type": "string" + }, + "flush.total": { + "description": "The number of flushes.", + "type": "string" + }, + "flush.total_time": { + "description": "The time spent in flush.", + "type": "string" + }, + "get.current": { + "description": "The number of current get ops.", + "type": "string" + }, + "get.time": { + "description": "The time spent in get.", + "type": "string" + }, + "get.total": { + "description": "The number of get ops.", + "type": "string" + }, + "get.exists_time": { + "description": "The time spent in successful gets.", + "type": "string" + }, + "get.exists_total": { + "description": "The number of successful get operations.", + "type": "string" + }, + "get.missing_time": { + "description": "The time spent in failed gets.", + "type": "string" + }, + "get.missing_total": { + "description": "The number of failed gets.", + "type": "string" + }, + "indexing.delete_current": { + "description": "The number of current deletions.", + "type": "string" + }, + "indexing.delete_time": { + "description": "The time spent in deletions.", + "type": "string" + }, + "indexing.delete_total": { + "description": "The number of delete operations.", + "type": "string" + }, + "indexing.index_current": { + "description": "The number of current indexing operations.", + "type": "string" + }, + "indexing.index_time": { + "description": "The time spent in indexing.", + "type": "string" + }, + "indexing.index_total": { + "description": "The number of indexing operations.", + "type": "string" + }, + "indexing.index_failed": { + "description": "The number of failed indexing operations.", + "type": "string" + }, + "merges.current": { + "description": "The number of current merges.", + "type": "string" + }, + "merges.current_docs": { + "description": "The number of current merging docs.", + "type": "string" + }, + "merges.current_size": { + "description": "The size of current merges.", + "type": "string" + }, + "merges.total": { + "description": "The number of completed merge operations.", + "type": "string" + }, + "merges.total_docs": { + "description": "The docs merged.", + "type": "string" + }, + "merges.total_size": { + "description": "The size merged.", + "type": "string" + }, + "merges.total_time": { + "description": "The time spent in merges.", + "type": "string" + }, + "refresh.total": { + "description": "The total refreshes.", + "type": "string" + }, + "refresh.time": { + "description": "The time spent in refreshes.", + "type": "string" + }, + "refresh.external_total": { + "description": "The total external refreshes.", + "type": "string" + }, + "refresh.external_time": { + "description": "The time spent in external refreshes.", + "type": "string" + }, + "refresh.listeners": { + "description": "The number of pending refresh listeners.", + "type": "string" + }, + "script.compilations": { + "description": "The total script compilations.", + "type": "string" + }, + "script.cache_evictions": { + "description": "The total compiled scripts evicted from the cache.", + "type": "string" + }, + "script.compilation_limit_triggered": { + "description": "The script cache compilation limit triggered.", + "type": "string" + }, + "search.fetch_current": { + "description": "The current fetch phase operations.", + "type": "string" + }, + "search.fetch_time": { + "description": "The time spent in fetch phase.", + "type": "string" + }, + "search.fetch_total": { + "description": "The total fetch operations.", + "type": "string" + }, + "search.open_contexts": { + "description": "The open search contexts.", + "type": "string" + }, + "search.query_current": { + "description": "The current query phase operations.", + "type": "string" + }, + "search.query_time": { + "description": "The time spent in query phase.", + "type": "string" + }, + "search.query_total": { + "description": "The total query phase operations.", + "type": "string" + }, + "search.scroll_current": { + "description": "The open scroll contexts.", + "type": "string" + }, + "search.scroll_time": { + "description": "The time scroll contexts held open.", + "type": "string" + }, + "search.scroll_total": { + "description": "The completed scroll contexts.", + "type": "string" + }, + "segments.count": { + "description": "The number of segments.", + "type": "string" + }, + "segments.memory": { + "description": "The memory used by segments.", + "type": "string" + }, + "segments.index_writer_memory": { + "description": "The memory used by the index writer.", + "type": "string" + }, + "segments.version_map_memory": { + "description": "The memory used by the version map.", + "type": "string" + }, + "segments.fixed_bitset_memory": { + "description": "The memory used by fixed bit sets for nested object field types and export type filters for types referred in _parent fields.", + "type": "string" + }, + "suggest.current": { + "description": "The number of current suggest operations.", + "type": "string" + }, + "suggest.time": { + "description": "The time spend in suggest.", + "type": "string" + }, + "suggest.total": { + "description": "The number of suggest operations.", + "type": "string" + }, + "bulk.total_operations": { + "description": "The number of bulk shard operations.", + "type": "string" + }, + "bulk.total_time": { + "description": "The time spend in shard bulk.", + "type": "string" + }, + "bulk.total_size_in_bytes": { + "description": "The total size in bytes of shard bulk.", + "type": "string" + }, + "bulk.avg_time": { + "description": "The average time spend in shard bulk.", + "type": "string" + }, + "bulk.avg_size_in_bytes": { + "description": "The average size in bytes of shard bulk.", + "type": "string" + } + } + }, + "cat.pending_tasks:PendingTasksRecord": { + "type": "object", + "properties": { + "insertOrder": { + "description": "The task insertion order.", + "type": "string" + }, + "timeInQueue": { + "description": "Indicates how long the task has been in queue.", + "type": "string" + }, + "priority": { + "description": "The task priority.", + "type": "string" + }, + "source": { + "description": "The task source.", + "type": "string" + } + } + }, + "cat.plugins:PluginsRecord": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:NodeId" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "component": { + "description": "The component name.", + "type": "string" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "description": { + "description": "The plugin details.", + "type": "string" + }, + "type": { + "description": "The plugin type.", + "type": "string" + } + } + }, + "cat.segments:SegmentsRecord": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "shard": { + "description": "The shard name.", + "type": "string" + }, + "prirep": { + "description": "The shard type: `primary` or `replica`.", + "type": "string" + }, + "ip": { + "description": "The IP address of the node where it lives.", + "type": "string" + }, + "id": { + "$ref": "#/components/schemas/_types:NodeId" + }, + "segment": { + "description": "The segment name, which is derived from the segment generation and used internally to create file names in the directory of the shard.", + "type": "string" + }, + "generation": { + "description": "The segment generation number.\nElasticsearch increments this generation number for each segment written then uses this number to derive the segment name.", + "type": "string" + }, + "docs.count": { + "description": "The number of documents in the segment.\nThis excludes deleted documents and counts any nested documents separately from their parents.\nIt also excludes documents which were indexed recently and do not yet belong to a segment.", + "type": "string" + }, + "docs.deleted": { + "description": "The number of deleted documents in the segment, which might be higher or lower than the number of delete operations you have performed.\nThis number excludes deletes that were performed recently and do not yet belong to a segment.\nDeleted documents are cleaned up by the automatic merge process if it makes sense to do so.\nAlso, Elasticsearch creates extra deleted documents to internally track the recent history of operations on a shard.", + "type": "string" + }, + "size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "size.memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "committed": { + "description": "If `true`, the segment is synced to disk.\nSegments that are synced can survive a hard reboot.\nIf `false`, the data from uncommitted segments is also stored in the transaction log so that Elasticsearch is able to replay changes on the next start.", + "type": "string" + }, + "searchable": { + "description": "If `true`, the segment is searchable.\nIf `false`, the segment has most likely been written to disk but needs a refresh to be searchable.", + "type": "string" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "compound": { + "description": "If `true`, the segment is stored in a compound file.\nThis means Lucene merged all files from the segment in a single file to save file descriptors.", + "type": "string" + } + } + }, + "cat.shards:ShardsRecord": { + "type": "object", + "properties": { + "index": { + "description": "The index name.", + "type": "string" + }, + "shard": { + "description": "The shard name.", + "type": "string" + }, + "prirep": { + "description": "The shard type: `primary` or `replica`.", + "type": "string" + }, + "state": { + "description": "The shard state.\nReturned values include:\n`INITIALIZING`: The shard is recovering from a peer shard or gateway.\n`RELOCATING`: The shard is relocating.\n`STARTED`: The shard has started.\n`UNASSIGNED`: The shard is not assigned to any node.", + "type": "string" + }, + "docs": { + "description": "The number of documents in the shard.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "store": { + "description": "The disk space used by the shard.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "ip": { + "description": "The IP address of the node.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "id": { + "description": "The unique identifier for the node.", + "type": "string" + }, + "node": { + "description": "The name of node.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "sync_id": { + "description": "The sync identifier.", + "type": "string" + }, + "unassigned.reason": { + "description": "The reason for the last change to the state of an unassigned shard.\nIt does not explain why the shard is currently unassigned; use the cluster allocation explain API for that information.\nReturned values include:\n`ALLOCATION_FAILED`: Unassigned as a result of a failed allocation of the shard.\n`CLUSTER_RECOVERED`: Unassigned as a result of a full cluster recovery.\n`DANGLING_INDEX_IMPORTED`: Unassigned as a result of importing a dangling index.\n`EXISTING_INDEX_RESTORED`: Unassigned as a result of restoring into a closed index.\n`FORCED_EMPTY_PRIMARY`: The shard’s allocation was last modified by forcing an empty primary using the cluster reroute API.\n`INDEX_CLOSED`: Unassigned because the index was closed.\n`INDEX_CREATED`: Unassigned as a result of an API creation of an index.\n`INDEX_REOPENED`: Unassigned as a result of opening a closed index.\n`MANUAL_ALLOCATION`: The shard’s allocation was last modified by the cluster reroute API.\n`NEW_INDEX_RESTORED`: Unassigned as a result of restoring into a new index.\n`NODE_LEFT`: Unassigned as a result of the node hosting it leaving the cluster.\n`NODE_RESTARTING`: Similar to `NODE_LEFT`, except that the node was registered as restarting using the node shutdown API.\n`PRIMARY_FAILED`: The shard was initializing as a replica, but the primary shard failed before the initialization completed.\n`REALLOCATED_REPLICA`: A better replica location is identified and causes the existing replica allocation to be cancelled.\n`REINITIALIZED`: When a shard moves from started back to initializing.\n`REPLICA_ADDED`: Unassigned as a result of explicit addition of a replica.\n`REROUTE_CANCELLED`: Unassigned as a result of explicit cancel reroute command.", + "type": "string" + }, + "unassigned.at": { + "description": "The time at which the shard became unassigned in Coordinated Universal Time (UTC).", + "type": "string" + }, + "unassigned.for": { + "description": "The time at which the shard was requested to be unassigned in Coordinated Universal Time (UTC).", + "type": "string" + }, + "unassigned.details": { + "description": "Additional details as to why the shard became unassigned.\nIt does not explain why the shard is not assigned; use the cluster allocation explain API for that information.", + "type": "string" + }, + "recoverysource.type": { + "description": "The type of recovery source.", + "type": "string" + }, + "completion.size": { + "description": "The size of completion.", + "type": "string" + }, + "fielddata.memory_size": { + "description": "The used fielddata cache memory.", + "type": "string" + }, + "fielddata.evictions": { + "description": "The fielddata cache evictions.", + "type": "string" + }, + "query_cache.memory_size": { + "description": "The used query cache memory.", + "type": "string" + }, + "query_cache.evictions": { + "description": "The query cache evictions.", + "type": "string" + }, + "flush.total": { + "description": "The number of flushes.", + "type": "string" + }, + "flush.total_time": { + "description": "The time spent in flush.", + "type": "string" + }, + "get.current": { + "description": "The number of current get operations.", + "type": "string" + }, + "get.time": { + "description": "The time spent in get operations.", + "type": "string" + }, + "get.total": { + "description": "The number of get operations.", + "type": "string" + }, + "get.exists_time": { + "description": "The time spent in successful get operations.", + "type": "string" + }, + "get.exists_total": { + "description": "The number of successful get operations.", + "type": "string" + }, + "get.missing_time": { + "description": "The time spent in failed get operations.", + "type": "string" + }, + "get.missing_total": { + "description": "The number of failed get operations.", + "type": "string" + }, + "indexing.delete_current": { + "description": "The number of current deletion operations.", + "type": "string" + }, + "indexing.delete_time": { + "description": "The time spent in deletion operations.", + "type": "string" + }, + "indexing.delete_total": { + "description": "The number of delete operations.", + "type": "string" + }, + "indexing.index_current": { + "description": "The number of current indexing operations.", + "type": "string" + }, + "indexing.index_time": { + "description": "The time spent in indexing operations.", + "type": "string" + }, + "indexing.index_total": { + "description": "The number of indexing operations.", + "type": "string" + }, + "indexing.index_failed": { + "description": "The number of failed indexing operations.", + "type": "string" + }, + "merges.current": { + "description": "The number of current merge operations.", + "type": "string" + }, + "merges.current_docs": { + "description": "The number of current merging documents.", + "type": "string" + }, + "merges.current_size": { + "description": "The size of current merge operations.", + "type": "string" + }, + "merges.total": { + "description": "The number of completed merge operations.", + "type": "string" + }, + "merges.total_docs": { + "description": "The nuber of merged documents.", + "type": "string" + }, + "merges.total_size": { + "description": "The size of current merges.", + "type": "string" + }, + "merges.total_time": { + "description": "The time spent merging documents.", + "type": "string" + }, + "refresh.total": { + "description": "The total number of refreshes.", + "type": "string" + }, + "refresh.time": { + "description": "The time spent in refreshes.", + "type": "string" + }, + "refresh.external_total": { + "description": "The total nunber of external refreshes.", + "type": "string" + }, + "refresh.external_time": { + "description": "The time spent in external refreshes.", + "type": "string" + }, + "refresh.listeners": { + "description": "The number of pending refresh listeners.", + "type": "string" + }, + "search.fetch_current": { + "description": "The current fetch phase operations.", + "type": "string" + }, + "search.fetch_time": { + "description": "The time spent in fetch phase.", + "type": "string" + }, + "search.fetch_total": { + "description": "The total number of fetch operations.", + "type": "string" + }, + "search.open_contexts": { + "description": "The number of open search contexts.", + "type": "string" + }, + "search.query_current": { + "description": "The current query phase operations.", + "type": "string" + }, + "search.query_time": { + "description": "The time spent in query phase.", + "type": "string" + }, + "search.query_total": { + "description": "The total number of query phase operations.", + "type": "string" + }, + "search.scroll_current": { + "description": "The open scroll contexts.", + "type": "string" + }, + "search.scroll_time": { + "description": "The time scroll contexts were held open.", + "type": "string" + }, + "search.scroll_total": { + "description": "The number of completed scroll contexts.", + "type": "string" + }, + "segments.count": { + "description": "The number of segments.", + "type": "string" + }, + "segments.memory": { + "description": "The memory used by segments.", + "type": "string" + }, + "segments.index_writer_memory": { + "description": "The memory used by the index writer.", + "type": "string" + }, + "segments.version_map_memory": { + "description": "The memory used by the version map.", + "type": "string" + }, + "segments.fixed_bitset_memory": { + "description": "The memory used by fixed bit sets for nested object field types and export type filters for types referred in `_parent` fields.", + "type": "string" + }, + "seq_no.max": { + "description": "The maximum sequence number.", + "type": "string" + }, + "seq_no.local_checkpoint": { + "description": "The local checkpoint.", + "type": "string" + }, + "seq_no.global_checkpoint": { + "description": "The global checkpoint.", + "type": "string" + }, + "warmer.current": { + "description": "The number of current warmer operations.", + "type": "string" + }, + "warmer.total": { + "description": "The total number of warmer operations.", + "type": "string" + }, + "warmer.total_time": { + "description": "The time spent in warmer operations.", + "type": "string" + }, + "path.data": { + "description": "The shard data path.", + "type": "string" + }, + "path.state": { + "description": "The shard state path.", + "type": "string" + }, + "bulk.total_operations": { + "description": "The number of bulk shard operations.", + "type": "string" + }, + "bulk.total_time": { + "description": "The time spent in shard bulk operations.", + "type": "string" + }, + "bulk.total_size_in_bytes": { + "description": "The total size in bytes of shard bulk operations.", + "type": "string" + }, + "bulk.avg_time": { + "description": "The average time spent in shard bulk operations.", + "type": "string" + }, + "bulk.avg_size_in_bytes": { + "description": "The average size in bytes of shard bulk operations.", + "type": "string" + } + } + }, + "cat.snapshots:SnapshotsRecord": { + "type": "object", + "properties": { + "id": { + "description": "The unique identifier for the snapshot.", + "type": "string" + }, + "repository": { + "description": "The repository name.", + "type": "string" + }, + "status": { + "description": "The state of the snapshot process.\nReturned values include:\n`FAILED`: The snapshot process failed.\n`INCOMPATIBLE`: The snapshot process is incompatible with the current cluster version.\n`IN_PROGRESS`: The snapshot process started but has not completed.\n`PARTIAL`: The snapshot process completed with a partial success.\n`SUCCESS`: The snapshot process completed with a full success.", + "type": "string" + }, + "start_epoch": { + "$ref": "#/components/schemas/_spec_utils:StringifiedEpochTimeUnitSeconds" + }, + "start_time": { + "$ref": "#/components/schemas/watcher._types:ScheduleTimeOfDay" + }, + "end_epoch": { + "$ref": "#/components/schemas/_spec_utils:StringifiedEpochTimeUnitSeconds" + }, + "end_time": { + "$ref": "#/components/schemas/_types:TimeOfDay" + }, + "duration": { + "$ref": "#/components/schemas/_types:Duration" + }, + "indices": { + "description": "The number of indices in the snapshot.", + "type": "string" + }, + "successful_shards": { + "description": "The number of successful shards in the snapshot.", + "type": "string" + }, + "failed_shards": { + "description": "The number of failed shards in the snapshot.", + "type": "string" + }, + "total_shards": { + "description": "The total number of shards in the snapshot.", + "type": "string" + }, + "reason": { + "description": "The reason for any snapshot failures.", + "type": "string" + } + } + }, + "watcher._types:ScheduleTimeOfDay": { + "description": "A time of day, expressed either as `hh:mm`, `noon`, `midnight`, or an hour/minutes structure.", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/watcher._types:HourAndMinute" + } + ] + }, + "watcher._types:HourAndMinute": { + "type": "object", + "properties": { + "hour": { + "type": "array", + "items": { + "type": "number" + } + }, + "minute": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "hour", + "minute" + ] + }, + "cat.tasks:TasksRecord": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "action": { + "description": "The task action.", + "type": "string" + }, + "task_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "parent_task_id": { + "description": "The parent task identifier.", + "type": "string" + }, + "type": { + "description": "The task type.", + "type": "string" + }, + "start_time": { + "description": "The start time in milliseconds.", + "type": "string" + }, + "timestamp": { + "description": "The start time in `HH:MM:SS` format.", + "type": "string" + }, + "running_time_ns": { + "description": "The running time in nanoseconds.", + "type": "string" + }, + "running_time": { + "description": "The running time.", + "type": "string" + }, + "node_id": { + "$ref": "#/components/schemas/_types:NodeId" + }, + "ip": { + "description": "The IP address for the node.", + "type": "string" + }, + "port": { + "description": "The bound transport port for the node.", + "type": "string" + }, + "node": { + "description": "The node name.", + "type": "string" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "x_opaque_id": { + "description": "The X-Opaque-ID header.", + "type": "string" + }, + "description": { + "description": "The task action description.", + "type": "string" + } + } + }, + "cat.templates:TemplatesRecord": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "index_patterns": { + "description": "The template index patterns.", + "type": "string" + }, + "order": { + "description": "The template application order or priority number.", + "type": "string" + }, + "version": { + "description": "The template version.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:VersionString" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "composed_of": { + "description": "The component templates that comprise the index template.", + "type": "string" + } + } + }, + "cat.thread_pool:ThreadPoolRecord": { + "type": "object", + "properties": { + "node_name": { + "description": "The node name.", + "type": "string" + }, + "node_id": { + "$ref": "#/components/schemas/_types:NodeId" + }, + "ephemeral_node_id": { + "description": "The ephemeral node identifier.", + "type": "string" + }, + "pid": { + "description": "The process identifier.", + "type": "string" + }, + "host": { + "description": "The host name for the current node.", + "type": "string" + }, + "ip": { + "description": "The IP address for the current node.", + "type": "string" + }, + "port": { + "description": "The bound transport port for the current node.", + "type": "string" + }, + "name": { + "description": "The thread pool name.", + "type": "string" + }, + "type": { + "description": "The thread pool type.\nReturned values include `fixed`, `fixed_auto_queue_size`, `direct`, and `scaling`.", + "type": "string" + }, + "active": { + "description": "The number of active threads in the current thread pool.", + "type": "string" + }, + "pool_size": { + "description": "The number of threads in the current thread pool.", + "type": "string" + }, + "queue": { + "description": "The number of tasks currently in queue.", + "type": "string" + }, + "queue_size": { + "description": "The maximum number of tasks permitted in the queue.", + "type": "string" + }, + "rejected": { + "description": "The number of rejected tasks.", + "type": "string" + }, + "largest": { + "description": "The highest number of active threads in the current thread pool.", + "type": "string" + }, + "completed": { + "description": "The number of completed tasks.", + "type": "string" + }, + "core": { + "description": "The core number of active threads allowed in a scaling thread pool.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "max": { + "description": "The maximum number of active threads allowed in a scaling thread pool.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "size": { + "description": "The number of active threads allowed in a fixed thread pool.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "keep_alive": { + "description": "The thread keep alive time.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + } + } + }, + "cat._types:CatTransformColumns": { + "oneOf": [ + { + "$ref": "#/components/schemas/cat._types:CatTransformColumn" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat._types:CatTransformColumn" + } + } + ] + }, + "cat._types:CatTransformColumn": { + "type": "string", + "enum": [ + "changes_last_detection_time", + "checkpoint", + "checkpoint_duration_time_exp_avg", + "checkpoint_progress", + "create_time", + "delete_time", + "description", + "dest_index", + "documents_deleted", + "documents_indexed", + "docs_per_second", + "documents_processed", + "frequency", + "id", + "index_failure", + "index_time", + "index_total", + "indexed_documents_exp_avg", + "last_search_time", + "max_page_search_size", + "pages_processed", + "pipeline", + "processed_documents_exp_avg", + "processing_time", + "reason", + "search_failure", + "search_time", + "search_total", + "source_index", + "state", + "transform_type", + "trigger_count", + "version" + ] + }, + "cat.transforms:TransformsRecord": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "state": { + "description": "The status of the transform.\nReturned values include:\n`aborting`: The transform is aborting.\n`failed: The transform failed. For more information about the failure, check the `reason` field.\n`indexing`: The transform is actively processing data and creating new documents.\n`started`: The transform is running but not actively indexing data.\n`stopped`: The transform is stopped.\n`stopping`: The transform is stopping.", + "type": "string" + }, + "checkpoint": { + "description": "The sequence number for the checkpoint.", + "type": "string" + }, + "documents_processed": { + "description": "The number of documents that have been processed from the source index of the transform.", + "type": "string" + }, + "checkpoint_progress": { + "description": "The progress of the next checkpoint that is currently in progress.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "last_search_time": { + "description": "The timestamp of the last search in the source indices.\nThis field is shown only if the transform is running.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "changes_last_detection_time": { + "description": "The timestamp when changes were last detected in the source indices.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "create_time": { + "description": "The time the transform was created.", + "type": "string" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "source_index": { + "description": "The source indices for the transform.", + "type": "string" + }, + "dest_index": { + "description": "The destination index for the transform.", + "type": "string" + }, + "pipeline": { + "description": "The unique identifier for the ingest pipeline.", + "type": "string" + }, + "description": { + "description": "The description of the transform.", + "type": "string" + }, + "transform_type": { + "description": "The type of transform: `batch` or `continuous`.", + "type": "string" + }, + "frequency": { + "description": "The interval between checks for changes in the source indices when the transform is running continuously.", + "type": "string" + }, + "max_page_search_size": { + "description": "The initial page size that is used for the composite aggregation for each checkpoint.", + "type": "string" + }, + "docs_per_second": { + "description": "The number of input documents per second.", + "type": "string" + }, + "reason": { + "description": "If a transform has a `failed` state, these details describe the reason for failure.", + "type": "string" + }, + "search_total": { + "description": "The total number of search operations on the source index for the transform.", + "type": "string" + }, + "search_failure": { + "description": "The total number of search failures.", + "type": "string" + }, + "search_time": { + "description": "The total amount of search time, in milliseconds.", + "type": "string" + }, + "index_total": { + "description": "The total number of index operations done by the transform.", + "type": "string" + }, + "index_failure": { + "description": "The total number of indexing failures.", + "type": "string" + }, + "index_time": { + "description": "The total time spent indexing documents, in milliseconds.", + "type": "string" + }, + "documents_indexed": { + "description": "The number of documents that have been indexed into the destination index for the transform.", + "type": "string" + }, + "delete_time": { + "description": "The total time spent deleting documents, in milliseconds.", + "type": "string" + }, + "documents_deleted": { + "description": "The number of documents deleted from the destination index due to the retention policy for the transform.", + "type": "string" + }, + "trigger_count": { + "description": "The number of times the transform has been triggered by the scheduler.\nFor example, the scheduler triggers the transform indexer to check for updates or ingest new data at an interval specified in the `frequency` property.", + "type": "string" + }, + "pages_processed": { + "description": "The number of search or bulk index operations processed.\nDocuments are processed in batches instead of individually.", + "type": "string" + }, + "processing_time": { + "description": "The total time spent processing results, in milliseconds.", + "type": "string" + }, + "checkpoint_duration_time_exp_avg": { + "description": "The exponential moving average of the duration of the checkpoint, in milliseconds.", + "type": "string" + }, + "indexed_documents_exp_avg": { + "description": "The exponential moving average of the number of new documents that have been indexed.", + "type": "string" + }, + "processed_documents_exp_avg": { + "description": "The exponential moving average of the number of documents that have been processed.", + "type": "string" + } + } + }, + "_types:ScrollIds": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:ScrollId" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ScrollId" + } + } + ] + }, + "cluster.allocation_explain:Decision": { + "type": "string", + "enum": [ + "yes", + "no", + "worse_balance", + "throttled", + "awaiting_info", + "allocation_delayed", + "no_valid_shard_copy", + "no_attempt" + ] + }, + "cluster.allocation_explain:AllocationDecision": { + "type": "object", + "properties": { + "decider": { + "type": "string" + }, + "decision": { + "$ref": "#/components/schemas/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:ClusterInfo": { + "type": "object", + "properties": { + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/cluster.allocation_explain:NodeDiskUsage" + } + }, + "shard_sizes": { + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "shard_data_set_sizes": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "shard_paths": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "reserved_sizes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.allocation_explain:ReservedSize" + } + } + }, + "required": [ + "nodes", + "shard_sizes", + "shard_paths", + "reserved_sizes" + ] + }, + "cluster.allocation_explain:NodeDiskUsage": { + "type": "object", + "properties": { + "node_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "least_available": { + "$ref": "#/components/schemas/cluster.allocation_explain:DiskUsage" + }, + "most_available": { + "$ref": "#/components/schemas/cluster.allocation_explain:DiskUsage" + } + }, + "required": [ + "node_name", + "least_available", + "most_available" + ] + }, + "cluster.allocation_explain:DiskUsage": { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "total_bytes": { + "type": "number" + }, + "used_bytes": { + "type": "number" + }, + "free_bytes": { + "type": "number" + }, + "free_disk_percent": { + "type": "number" + }, + "used_disk_percent": { + "type": "number" + } + }, + "required": [ + "path", + "total_bytes", + "used_bytes", + "free_bytes", + "free_disk_percent", + "used_disk_percent" + ] + }, + "cluster.allocation_explain:ReservedSize": { + "type": "object", + "properties": { + "node_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "path": { + "type": "string" + }, + "total": { + "type": "number" + }, + "shards": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "node_id", + "path", + "total", + "shards" + ] + }, + "cluster.allocation_explain:CurrentNode": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "attributes": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "transport_address": { + "$ref": "#/components/schemas/_types:TransportAddress" + }, + "weight_ranking": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "attributes", + "transport_address", + "weight_ranking" + ] + }, + "_types:TransportAddress": { + "type": "string" + }, + "cluster.allocation_explain:NodeAllocationExplanation": { + "type": "object", + "properties": { + "deciders": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.allocation_explain:AllocationDecision" + } + }, + "node_attributes": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "node_decision": { + "$ref": "#/components/schemas/cluster.allocation_explain:Decision" + }, + "node_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "node_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "store": { + "$ref": "#/components/schemas/cluster.allocation_explain:AllocationStore" + }, + "transport_address": { + "$ref": "#/components/schemas/_types:TransportAddress" + }, + "weight_ranking": { + "type": "number" + } + }, + "required": [ + "deciders", + "node_attributes", + "node_decision", + "node_id", + "node_name", + "transport_address", + "weight_ranking" + ] + }, + "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:UnassignedInformation": { + "type": "object", + "properties": { + "at": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "last_allocation_status": { + "type": "string" + }, + "reason": { + "$ref": "#/components/schemas/cluster.allocation_explain:UnassignedInformationReason" + }, + "details": { + "type": "string" + }, + "failed_allocation_attempts": { + "type": "number" + }, + "delayed": { + "type": "boolean" + }, + "allocation_status": { + "type": "string" + } + }, + "required": [ + "at", + "reason" + ] + }, + "cluster.allocation_explain:UnassignedInformationReason": { + "type": "string", + "enum": [ + "INDEX_CREATED", + "CLUSTER_RECOVERED", + "INDEX_REOPENED", + "DANGLING_INDEX_IMPORTED", + "NEW_INDEX_RESTORED", + "EXISTING_INDEX_RESTORED", + "REPLICA_ADDED", + "ALLOCATION_FAILED", + "NODE_LEFT", + "REROUTE_CANCELLED", + "REINITIALIZED", + "REALLOCATED_REPLICA", + "PRIMARY_FAILED", + "FORCED_EMPTY_PRIMARY", + "MANUAL_ALLOCATION" + ] + }, + "cluster._types:ComponentTemplate": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "component_template": { + "$ref": "#/components/schemas/cluster._types:ComponentTemplateNode" + } + }, + "required": [ + "name", + "component_template" + ] + }, + "cluster._types:ComponentTemplateNode": { + "type": "object", + "properties": { + "template": { + "$ref": "#/components/schemas/cluster._types:ComponentTemplateSummary" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + } + }, + "required": [ + "template" + ] + }, + "cluster._types:ComponentTemplateSummary": { + "type": "object", + "properties": { + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "settings": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + } + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "aliases": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:AliasDefinition" + } + }, + "lifecycle": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleWithRollover" + } + } + }, + "indices._types:IndexSettings": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + }, + "mode": { + "type": "string" + }, + "routing_path": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "soft_deletes": { + "$ref": "#/components/schemas/indices._types:SoftDeletes" + }, + "sort": { + "$ref": "#/components/schemas/indices._types:IndexSegmentSort" + }, + "number_of_shards": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "number_of_replicas": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "number_of_routing_shards": { + "type": "number" + }, + "check_on_startup": { + "$ref": "#/components/schemas/indices._types:IndexCheckOnStartup" + }, + "codec": { + "type": "string" + }, + "routing_partition_size": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" + }, + "load_fixed_bitset_filters_eagerly": { + "type": "boolean" + }, + "hidden": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] + }, + "auto_expand_replicas": { + "type": "string" + }, + "merge": { + "$ref": "#/components/schemas/indices._types:Merge" + }, + "search": { + "$ref": "#/components/schemas/indices._types:SettingsSearch" + }, + "refresh_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "max_result_window": { + "type": "number" + }, + "max_inner_result_window": { + "type": "number" + }, + "max_rescore_window": { + "type": "number" + }, + "max_docvalue_fields_search": { + "type": "number" + }, + "max_script_fields": { + "type": "number" + }, + "max_ngram_diff": { + "type": "number" + }, + "max_shingle_diff": { + "type": "number" + }, + "blocks": { + "$ref": "#/components/schemas/indices._types:IndexSettingBlocks" + }, + "max_refresh_listeners": { + "type": "number" + }, + "analyze": { + "$ref": "#/components/schemas/indices._types:SettingsAnalyze" + }, + "highlight": { + "$ref": "#/components/schemas/indices._types:SettingsHighlight" + }, + "max_terms_count": { + "type": "number" + }, + "max_regex_length": { + "type": "number" + }, + "routing": { + "$ref": "#/components/schemas/indices._types:IndexRouting" + }, + "gc_deletes": { + "$ref": "#/components/schemas/_types:Duration" + }, + "default_pipeline": { + "$ref": "#/components/schemas/_types:PipelineName" + }, + "final_pipeline": { + "$ref": "#/components/schemas/_types:PipelineName" + }, + "lifecycle": { + "$ref": "#/components/schemas/indices._types:IndexSettingsLifecycle" + }, + "provided_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "creation_date": { + "$ref": "#/components/schemas/_spec_utils:StringifiedEpochTimeUnitMillis" + }, + "creation_date_string": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "uuid": { + "$ref": "#/components/schemas/_types:Uuid" + }, + "version": { + "$ref": "#/components/schemas/indices._types:IndexVersioning" + }, + "verified_before_close": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] + }, + "format": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "max_slices_per_scroll": { + "type": "number" + }, + "translog": { + "$ref": "#/components/schemas/indices._types:Translog" + }, + "query_string": { + "$ref": "#/components/schemas/indices._types:SettingsQueryString" + }, + "priority": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "top_metrics_max_size": { + "type": "number" + }, + "analysis": { + "$ref": "#/components/schemas/indices._types:IndexSettingsAnalysis" + }, + "settings": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + }, + "time_series": { + "$ref": "#/components/schemas/indices._types:IndexSettingsTimeSeries" + }, + "shards": { + "type": "number" + }, + "queries": { + "$ref": "#/components/schemas/indices._types:Queries" + }, + "similarity": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarity" + }, + "mapping": { + "$ref": "#/components/schemas/indices._types:MappingLimitSettings" + }, + "indexing.slowlog": { + "$ref": "#/components/schemas/indices._types:IndexingSlowlogSettings" + }, + "indexing_pressure": { + "$ref": "#/components/schemas/indices._types:IndexingPressure" + }, + "store": { + "$ref": "#/components/schemas/indices._types:Storage" + } + } + }, + "indices._types:SoftDeletes": { + "type": "object", + "properties": { + "enabled": { + "description": "Indicates whether soft deletes are enabled on the index.", + "type": "boolean" + }, + "retention_lease": { + "$ref": "#/components/schemas/indices._types:RetentionLease" + } + } + }, + "indices._types:RetentionLease": { + "type": "object", + "properties": { + "period": { + "$ref": "#/components/schemas/_types:Duration" + } + }, + "required": [ + "period" + ] + }, + "indices._types:IndexSegmentSort": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Fields" + }, + "order": { + "oneOf": [ + { + "$ref": "#/components/schemas/indices._types:SegmentSortOrder" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices._types:SegmentSortOrder" + } + } + ] + }, + "mode": { + "oneOf": [ + { + "$ref": "#/components/schemas/indices._types:SegmentSortMode" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices._types:SegmentSortMode" + } + } + ] + }, + "missing": { + "oneOf": [ + { + "$ref": "#/components/schemas/indices._types:SegmentSortMissing" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices._types:SegmentSortMissing" + } + } + ] + } + } + }, + "indices._types:SegmentSortOrder": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + }, + "indices._types:SegmentSortMode": { + "type": "string", + "enum": [ + "min", + "max" + ] + }, + "indices._types:SegmentSortMissing": { + "type": "string", + "enum": [ + "_last", + "_first" + ] + }, + "indices._types:IndexCheckOnStartup": { + "type": "string", + "enum": [ + "true", + "false", + "checksum" + ] + }, + "_spec_utils:Stringifiedinteger": { + "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "indices._types:Merge": { + "type": "object", + "properties": { + "scheduler": { + "$ref": "#/components/schemas/indices._types:MergeScheduler" + } + } + }, + "indices._types:MergeScheduler": { + "type": "object", + "properties": { + "max_thread_count": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" + }, + "max_merge_count": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" + } + } + }, + "indices._types:SettingsSearch": { + "type": "object", + "properties": { + "idle": { + "$ref": "#/components/schemas/indices._types:SearchIdle" + }, + "slowlog": { + "$ref": "#/components/schemas/indices._types:SlowlogSettings" + } + } + }, + "indices._types:SearchIdle": { + "type": "object", + "properties": { + "after": { + "$ref": "#/components/schemas/_types:Duration" + } + } + }, + "indices._types:SlowlogSettings": { + "type": "object", + "properties": { + "level": { + "type": "string" + }, + "source": { + "type": "number" + }, + "reformat": { + "type": "boolean" + }, + "threshold": { + "$ref": "#/components/schemas/indices._types:SlowlogTresholds" + } + } + }, + "indices._types:SlowlogTresholds": { + "type": "object", + "properties": { + "query": { + "$ref": "#/components/schemas/indices._types:SlowlogTresholdLevels" + }, + "fetch": { + "$ref": "#/components/schemas/indices._types:SlowlogTresholdLevels" + } + } + }, + "indices._types:SlowlogTresholdLevels": { + "type": "object", + "properties": { + "warn": { + "$ref": "#/components/schemas/_types:Duration" + }, + "info": { + "$ref": "#/components/schemas/_types:Duration" + }, + "debug": { + "$ref": "#/components/schemas/_types:Duration" + }, + "trace": { + "$ref": "#/components/schemas/_types:Duration" + } + } + }, + "indices._types:IndexSettingBlocks": { + "type": "object", + "properties": { + "read_only": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + }, + "read_only_allow_delete": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + }, + "read": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + }, + "write": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + }, + "metadata": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + } + } + }, + "_spec_utils:Stringifiedboolean": { + "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] + }, + "indices._types:SettingsAnalyze": { + "type": "object", + "properties": { + "max_token_count": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" + } + } + }, + "indices._types:SettingsHighlight": { + "type": "object", + "properties": { + "max_analyzed_offset": { + "type": "number" + } + } + }, + "indices._types:IndexRouting": { + "type": "object", + "properties": { + "allocation": { + "$ref": "#/components/schemas/indices._types:IndexRoutingAllocation" + }, + "rebalance": { + "$ref": "#/components/schemas/indices._types:IndexRoutingRebalance" + } + } + }, + "indices._types:IndexRoutingAllocation": { + "type": "object", + "properties": { + "enable": { + "$ref": "#/components/schemas/indices._types:IndexRoutingAllocationOptions" + }, + "include": { + "$ref": "#/components/schemas/indices._types:IndexRoutingAllocationInclude" + }, + "initial_recovery": { + "$ref": "#/components/schemas/indices._types:IndexRoutingAllocationInitialRecovery" + }, + "disk": { + "$ref": "#/components/schemas/indices._types:IndexRoutingAllocationDisk" + } + } + }, + "indices._types:IndexRoutingAllocationOptions": { + "type": "string", + "enum": [ + "all", + "primaries", + "new_primaries", + "none" + ] + }, + "indices._types:IndexRoutingAllocationInclude": { + "type": "object", + "properties": { + "_tier_preference": { + "type": "string" + }, + "_id": { + "$ref": "#/components/schemas/_types:Id" + } + } + }, + "indices._types:IndexRoutingAllocationInitialRecovery": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + } + } + }, + "indices._types:IndexRoutingAllocationDisk": { + "type": "object", + "properties": { + "threshold_enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] + } + } + }, + "indices._types:IndexRoutingRebalance": { + "type": "object", + "properties": { + "enable": { + "$ref": "#/components/schemas/indices._types:IndexRoutingRebalanceOptions" + } + }, + "required": [ + "enable" + ] + }, + "indices._types:IndexRoutingRebalanceOptions": { + "type": "string", + "enum": [ + "all", + "primaries", + "replicas", + "none" + ] + }, + "_types:PipelineName": { + "type": "string" + }, + "indices._types:IndexSettingsLifecycle": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "indexing_complete": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + }, + "origination_date": { + "description": "If specified, this is the timestamp used to calculate the index age for its phase transitions. Use this setting\nif you create a new index that contains old data and want to use the original creation date to calculate the index\nage. Specified as a Unix epoch value in milliseconds.", + "type": "number" + }, + "parse_origination_date": { + "description": "Set to true to parse the origination date from the index name. This origination date is used to calculate the index age\nfor its phase transitions. The index name must match the pattern ^.*-{date_format}-\\\\d+, where the date_format is\nyyyy.MM.dd and the trailing digits are optional. An index that was rolled over would normally match the full format,\nfor example logs-2016.10.31-000002). If the index name doesn’t match the pattern, index creation fails.", + "type": "boolean" + }, + "step": { + "$ref": "#/components/schemas/indices._types:IndexSettingsLifecycleStep" + }, + "rollover_alias": { + "description": "The index alias to update when the index rolls over. Specify when using a policy that contains a rollover action.\nWhen the index rolls over, the alias is updated to reflect that the index is no longer the write index. For more\ninformation about rolling indices, see Rollover.", + "type": "string" + } + }, + "required": [ + "name" + ] + }, + "indices._types:IndexSettingsLifecycleStep": { + "type": "object", + "properties": { + "wait_time_threshold": { + "$ref": "#/components/schemas/_types:Duration" + } + } + }, + "_spec_utils:StringifiedEpochTimeUnitMillis": { + "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + { + "type": "string" + } + ] + }, + "_types:Uuid": { + "type": "string" + }, + "indices._types:IndexVersioning": { + "type": "object", + "properties": { + "created": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "created_string": { + "type": "string" + } + } + }, + "indices._types:Translog": { + "type": "object", + "properties": { + "sync_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "durability": { + "$ref": "#/components/schemas/indices._types:TranslogDurability" + }, + "flush_threshold_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "retention": { + "$ref": "#/components/schemas/indices._types:TranslogRetention" + } + } + }, + "indices._types:TranslogDurability": { + "type": "string", + "enum": [ + "request", + "async" + ] + }, + "indices._types:TranslogRetention": { + "type": "object", + "properties": { + "size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "age": { + "$ref": "#/components/schemas/_types:Duration" + } + } + }, + "indices._types:SettingsQueryString": { + "type": "object", + "properties": { + "lenient": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + } + }, + "required": [ + "lenient" + ] + }, + "indices._types:IndexSettingsAnalysis": { + "type": "object", + "properties": { + "analyzer": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.analysis:Analyzer" + } + }, + "char_filter": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.analysis:CharFilter" + } + }, + "filter": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.analysis:TokenFilter" + } + }, + "normalizer": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.analysis:Normalizer" + } + }, + "tokenizer": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.analysis:Tokenizer" + } + } + } + }, + "_types.analysis:CharFilter": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/_types.analysis:CharFilterDefinition" + } + ] + }, + "_types.analysis:CharFilterDefinition": { + "discriminator": { + "propertyName": "type" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/_types.analysis:HtmlStripCharFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:MappingCharFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:PatternReplaceCharFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:IcuNormalizationCharFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:KuromojiIterationMarkCharFilter" + } + ] + }, + "_types.analysis:HtmlStripCharFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CharFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "html_strip" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:CharFilterBase": { + "type": "object", + "properties": { + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + } + }, + "_types.analysis:MappingCharFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CharFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "mapping" + ] + }, + "mappings": { + "type": "array", + "items": { + "type": "string" + } + }, + "mappings_path": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:PatternReplaceCharFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CharFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "pattern_replace" + ] + }, + "flags": { + "type": "string" + }, + "pattern": { + "type": "string" + }, + "replacement": { + "type": "string" + } + }, + "required": [ + "type", + "pattern" + ] + } + ] + }, + "_types.analysis:IcuNormalizationCharFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CharFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "icu_normalizer" + ] + }, + "mode": { + "$ref": "#/components/schemas/_types.analysis:IcuNormalizationMode" + }, + "name": { + "$ref": "#/components/schemas/_types.analysis:IcuNormalizationType" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:KuromojiIterationMarkCharFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CharFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "kuromoji_iteration_mark" + ] + }, + "normalize_kana": { + "type": "boolean" + }, + "normalize_kanji": { + "type": "boolean" + } + }, + "required": [ + "type", + "normalize_kana", + "normalize_kanji" + ] + } + ] + }, + "_types.analysis:TokenFilter": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterDefinition" + } + ] + }, + "_types.analysis:TokenFilterDefinition": { + "discriminator": { + "propertyName": "type" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/_types.analysis:AsciiFoldingTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:CommonGramsTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:ConditionTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:DelimitedPayloadTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:EdgeNGramTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:ElisionTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:FingerprintTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:HunspellTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:HyphenationDecompounderTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:KeepTypesTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:KeepWordsTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:KeywordMarkerTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:KStemTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:LengthTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:LimitTokenCountTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:LowercaseTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:MultiplexerTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:NGramTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:NoriPartOfSpeechTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:PatternCaptureTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:PatternReplaceTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:PorterStemTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:PredicateTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:RemoveDuplicatesTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:ReverseTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:ShingleTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:SnowballTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:StemmerOverrideTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:StemmerTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:StopTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:SynonymGraphTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:SynonymTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:TrimTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:TruncateTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:UniqueTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:UppercaseTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:WordDelimiterGraphTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:WordDelimiterTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:KuromojiStemmerTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:KuromojiReadingFormTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:KuromojiPartOfSpeechTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:IcuTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:IcuCollationTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:IcuFoldingTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:IcuNormalizationTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:IcuTransformTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:PhoneticTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:DictionaryDecompounderTokenFilter" + } + ] + }, + "_types.analysis:AsciiFoldingTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "asciifolding" + ] + }, + "preserve_original": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:TokenFilterBase": { + "type": "object", + "properties": { + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + } + }, + "_types.analysis:CommonGramsTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "common_grams" + ] + }, + "common_words": { + "type": "array", + "items": { + "type": "string" + } + }, + "common_words_path": { + "type": "string" + }, + "ignore_case": { + "type": "boolean" + }, + "query_mode": { + "type": "boolean" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:ConditionTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "condition" + ] + }, + "filter": { + "type": "array", + "items": { + "type": "string" + } + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + } + }, + "required": [ + "type", + "filter", + "script" + ] + } + ] + }, + "_types.analysis:DelimitedPayloadTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "delimited_payload" + ] + }, + "delimiter": { + "type": "string" + }, + "encoding": { + "$ref": "#/components/schemas/_types.analysis:DelimitedPayloadEncoding" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:DelimitedPayloadEncoding": { + "type": "string", + "enum": [ + "int", + "float", + "identity" + ] + }, + "_types.analysis:EdgeNGramTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "edge_ngram" + ] + }, + "max_gram": { + "type": "number" + }, + "min_gram": { + "type": "number" + }, + "side": { + "$ref": "#/components/schemas/_types.analysis:EdgeNGramSide" + }, + "preserve_original": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:EdgeNGramSide": { + "type": "string", + "enum": [ + "front", + "back" + ] + }, + "_types.analysis:ElisionTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "elision" + ] + }, + "articles": { + "type": "array", + "items": { + "type": "string" + } + }, + "articles_path": { + "type": "string" + }, + "articles_case": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:FingerprintTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "fingerprint" + ] + }, + "max_output_size": { + "type": "number" + }, + "separator": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:HunspellTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "hunspell" + ] + }, + "dedup": { + "type": "boolean" + }, + "dictionary": { + "type": "string" + }, + "locale": { + "type": "string" + }, + "longest_only": { + "type": "boolean" + } + }, + "required": [ + "type", + "locale" + ] + } + ] + }, + "_types.analysis:HyphenationDecompounderTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CompoundWordTokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "hyphenation_decompounder" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:CompoundWordTokenFilterBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "hyphenation_patterns_path": { + "type": "string" + }, + "max_subword_size": { + "type": "number" + }, + "min_subword_size": { + "type": "number" + }, + "min_word_size": { + "type": "number" + }, + "only_longest_match": { + "type": "boolean" + }, + "word_list": { + "type": "array", + "items": { + "type": "string" + } + }, + "word_list_path": { + "type": "string" + } + } + } + ] + }, + "_types.analysis:KeepTypesTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "keep_types" + ] + }, + "mode": { + "$ref": "#/components/schemas/_types.analysis:KeepTypesMode" + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:KeepTypesMode": { + "type": "string", + "enum": [ + "include", + "exclude" + ] + }, + "_types.analysis:KeepWordsTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "keep" + ] + }, + "keep_words": { + "type": "array", + "items": { + "type": "string" + } + }, + "keep_words_case": { + "type": "boolean" + }, + "keep_words_path": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:KeywordMarkerTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "keyword_marker" + ] + }, + "ignore_case": { + "type": "boolean" + }, + "keywords": { + "type": "array", + "items": { + "type": "string" + } + }, + "keywords_path": { + "type": "string" + }, + "keywords_pattern": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:KStemTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "kstem" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:LengthTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "length" + ] + }, + "max": { + "type": "number" + }, + "min": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:LimitTokenCountTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "limit" + ] + }, + "consume_all_tokens": { + "type": "boolean" + }, + "max_token_count": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:LowercaseTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "lowercase" + ] + }, + "language": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:MultiplexerTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "multiplexer" + ] + }, + "filters": { + "type": "array", + "items": { + "type": "string" + } + }, + "preserve_original": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + } + }, + "required": [ + "type", + "filters" + ] + } + ] + }, + "_types.analysis:NGramTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "ngram" + ] + }, + "max_gram": { + "type": "number" + }, + "min_gram": { + "type": "number" + }, + "preserve_original": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:NoriPartOfSpeechTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "nori_part_of_speech" + ] + }, + "stoptags": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:PatternCaptureTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "pattern_capture" + ] + }, + "patterns": { + "type": "array", + "items": { + "type": "string" + } + }, + "preserve_original": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + } + }, + "required": [ + "type", + "patterns" + ] + } + ] + }, + "_types.analysis:PatternReplaceTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "pattern_replace" + ] + }, + "all": { + "type": "boolean" + }, + "flags": { + "type": "string" + }, + "pattern": { + "type": "string" + }, + "replacement": { + "type": "string" + } + }, + "required": [ + "type", + "pattern" + ] + } + ] + }, + "_types.analysis:PorterStemTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "porter_stem" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:PredicateTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "predicate_token_filter" + ] + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + } + }, + "required": [ + "type", + "script" + ] + } + ] + }, + "_types.analysis:RemoveDuplicatesTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "remove_duplicates" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:ReverseTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "reverse" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:ShingleTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "shingle" + ] + }, + "filler_token": { + "type": "string" + }, + "max_shingle_size": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "min_shingle_size": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "output_unigrams": { + "type": "boolean" + }, + "output_unigrams_if_no_shingles": { + "type": "boolean" + }, + "token_separator": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:SnowballTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "snowball" + ] + }, + "language": { + "$ref": "#/components/schemas/_types.analysis:SnowballLanguage" + } + }, + "required": [ + "type", + "language" + ] + } + ] + }, + "_types.analysis:StemmerOverrideTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "stemmer_override" + ] + }, + "rules": { + "type": "array", + "items": { + "type": "string" + } + }, + "rules_path": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:StemmerTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "stemmer" + ] + }, + "language": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:StopTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "stop" + ] + }, + "ignore_case": { + "type": "boolean" + }, + "remove_trailing": { + "type": "boolean" + }, + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" + }, + "stopwords_path": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:SynonymGraphTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "synonym_graph" + ] + }, + "expand": { + "type": "boolean" + }, + "format": { + "$ref": "#/components/schemas/_types.analysis:SynonymFormat" + }, + "lenient": { + "type": "boolean" + }, + "synonyms": { + "type": "array", + "items": { + "type": "string" + } + }, + "synonyms_path": { + "type": "string" + }, + "tokenizer": { + "type": "string" + }, + "updateable": { + "type": "boolean" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:SynonymFormat": { + "type": "string", + "enum": [ + "solr", + "wordnet" + ] + }, + "_types.analysis:SynonymTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "synonym" + ] + }, + "expand": { + "type": "boolean" + }, + "format": { + "$ref": "#/components/schemas/_types.analysis:SynonymFormat" + }, + "lenient": { + "type": "boolean" + }, + "synonyms": { + "type": "array", + "items": { + "type": "string" + } + }, + "synonyms_path": { + "type": "string" + }, + "tokenizer": { + "type": "string" + }, + "updateable": { + "type": "boolean" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:TrimTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "trim" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:TruncateTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "truncate" + ] + }, + "length": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:UniqueTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "unique" + ] + }, + "only_on_same_position": { + "type": "boolean" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:UppercaseTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "uppercase" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:WordDelimiterGraphTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "word_delimiter_graph" + ] + }, + "adjust_offsets": { + "type": "boolean" + }, + "catenate_all": { + "type": "boolean" + }, + "catenate_numbers": { + "type": "boolean" + }, + "catenate_words": { + "type": "boolean" + }, + "generate_number_parts": { + "type": "boolean" + }, + "generate_word_parts": { + "type": "boolean" + }, + "ignore_keywords": { + "type": "boolean" + }, + "preserve_original": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + }, + "protected_words": { + "type": "array", + "items": { + "type": "string" + } + }, + "protected_words_path": { + "type": "string" + }, + "split_on_case_change": { + "type": "boolean" + }, + "split_on_numerics": { + "type": "boolean" + }, + "stem_english_possessive": { + "type": "boolean" + }, + "type_table": { + "type": "array", + "items": { + "type": "string" + } + }, + "type_table_path": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:WordDelimiterTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "word_delimiter" + ] + }, + "catenate_all": { + "type": "boolean" + }, + "catenate_numbers": { + "type": "boolean" + }, + "catenate_words": { + "type": "boolean" + }, + "generate_number_parts": { + "type": "boolean" + }, + "generate_word_parts": { + "type": "boolean" + }, + "preserve_original": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + }, + "protected_words": { + "type": "array", + "items": { + "type": "string" + } + }, + "protected_words_path": { + "type": "string" + }, + "split_on_case_change": { + "type": "boolean" + }, + "split_on_numerics": { + "type": "boolean" + }, + "stem_english_possessive": { + "type": "boolean" + }, + "type_table": { + "type": "array", + "items": { + "type": "string" + } + }, + "type_table_path": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:KuromojiStemmerTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "kuromoji_stemmer" + ] + }, + "minimum_length": { + "type": "number" + } + }, + "required": [ + "type", + "minimum_length" + ] + } + ] + }, + "_types.analysis:KuromojiReadingFormTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "kuromoji_readingform" + ] + }, + "use_romaji": { + "type": "boolean" + } + }, + "required": [ + "type", + "use_romaji" + ] + } + ] + }, + "_types.analysis:KuromojiPartOfSpeechTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "kuromoji_part_of_speech" + ] + }, + "stoptags": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "type", + "stoptags" + ] + } + ] + }, + "_types.analysis:IcuTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "icu_tokenizer" + ] + }, + "rule_files": { + "type": "string" + } + }, + "required": [ + "type", + "rule_files" + ] + } + ] + }, + "_types.analysis:TokenizerBase": { + "type": "object", + "properties": { + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + } + }, + "_types.analysis:IcuCollationTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "icu_collation" + ] + }, + "alternate": { + "$ref": "#/components/schemas/_types.analysis:IcuCollationAlternate" + }, + "caseFirst": { + "$ref": "#/components/schemas/_types.analysis:IcuCollationCaseFirst" + }, + "caseLevel": { + "type": "boolean" + }, + "country": { + "type": "string" + }, + "decomposition": { + "$ref": "#/components/schemas/_types.analysis:IcuCollationDecomposition" + }, + "hiraganaQuaternaryMode": { + "type": "boolean" + }, + "language": { + "type": "string" + }, + "numeric": { + "type": "boolean" + }, + "rules": { + "type": "string" + }, + "strength": { + "$ref": "#/components/schemas/_types.analysis:IcuCollationStrength" + }, + "variableTop": { + "type": "string" + }, + "variant": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:IcuCollationAlternate": { + "type": "string", + "enum": [ + "shifted", + "non-ignorable" + ] + }, + "_types.analysis:IcuCollationCaseFirst": { + "type": "string", + "enum": [ + "lower", + "upper" + ] + }, + "_types.analysis:IcuCollationDecomposition": { + "type": "string", + "enum": [ + "no", + "identical" + ] + }, + "_types.analysis:IcuCollationStrength": { + "type": "string", + "enum": [ + "primary", + "secondary", + "tertiary", + "quaternary", + "identical" + ] + }, + "_types.analysis:IcuFoldingTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "icu_folding" + ] + }, + "unicode_set_filter": { + "type": "string" + } + }, + "required": [ + "type", + "unicode_set_filter" + ] + } + ] + }, + "_types.analysis:IcuNormalizationTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "icu_normalizer" + ] + }, + "name": { + "$ref": "#/components/schemas/_types.analysis:IcuNormalizationType" + } + }, + "required": [ + "type", + "name" + ] + } + ] + }, + "_types.analysis:IcuTransformTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "icu_transform" + ] + }, + "dir": { + "$ref": "#/components/schemas/_types.analysis:IcuTransformDirection" + }, + "id": { + "type": "string" + } + }, + "required": [ + "type", + "id" + ] + } + ] + }, + "_types.analysis:IcuTransformDirection": { + "type": "string", + "enum": [ + "forward", + "reverse" + ] + }, + "_types.analysis:PhoneticTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "phonetic" + ] + }, + "encoder": { + "$ref": "#/components/schemas/_types.analysis:PhoneticEncoder" + }, + "languageset": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.analysis:PhoneticLanguage" + } + }, + "max_code_len": { + "type": "number" + }, + "name_type": { + "$ref": "#/components/schemas/_types.analysis:PhoneticNameType" + }, + "replace": { + "type": "boolean" + }, + "rule_type": { + "$ref": "#/components/schemas/_types.analysis:PhoneticRuleType" + } + }, + "required": [ + "type", + "encoder", + "languageset", + "name_type", + "rule_type" + ] + } + ] + }, + "_types.analysis:PhoneticEncoder": { + "type": "string", + "enum": [ + "metaphone", + "double_metaphone", + "soundex", + "refined_soundex", + "caverphone1", + "caverphone2", + "cologne", + "nysiis", + "koelnerphonetik", + "haasephonetik", + "beider_morse", + "daitch_mokotoff" + ] + }, + "_types.analysis:PhoneticLanguage": { + "type": "string", + "enum": [ + "any", + "common", + "cyrillic", + "english", + "french", + "german", + "hebrew", + "hungarian", + "polish", + "romanian", + "russian", + "spanish" + ] + }, + "_types.analysis:PhoneticNameType": { + "type": "string", + "enum": [ + "generic", + "ashkenazi", + "sephardic" + ] + }, + "_types.analysis:PhoneticRuleType": { + "type": "string", + "enum": [ + "approx", + "exact" + ] + }, + "_types.analysis:DictionaryDecompounderTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CompoundWordTokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "dictionary_decompounder" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:Normalizer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-normalizers.html" + }, + "discriminator": { + "propertyName": "type" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/_types.analysis:LowercaseNormalizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:CustomNormalizer" + } + ] + }, + "_types.analysis:LowercaseNormalizer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "lowercase" + ] + } + }, + "required": [ + "type" + ] + }, + "_types.analysis:CustomNormalizer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "custom" + ] + }, + "char_filter": { + "type": "array", + "items": { + "type": "string" + } + }, + "filter": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "type" + ] + }, + "_types.analysis:Tokenizer": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/_types.analysis:TokenizerDefinition" + } + ] + }, + "_types.analysis:TokenizerDefinition": { + "discriminator": { + "propertyName": "type" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CharGroupTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:EdgeNGramTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:KeywordTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:LetterTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:LowercaseTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:NGramTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:NoriTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:PathHierarchyTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:StandardTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:UaxEmailUrlTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:WhitespaceTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:KuromojiTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:PatternTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:IcuTokenizer" + } + ] + }, + "_types.analysis:CharGroupTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "char_group" + ] + }, + "tokenize_on_chars": { + "type": "array", + "items": { + "type": "string" + } + }, + "max_token_length": { + "type": "number" + } + }, + "required": [ + "type", + "tokenize_on_chars" + ] + } + ] + }, + "_types.analysis:EdgeNGramTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "edge_ngram" + ] + }, + "custom_token_chars": { + "type": "string" + }, + "max_gram": { + "type": "number" + }, + "min_gram": { + "type": "number" + }, + "token_chars": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.analysis:TokenChar" + } + } + }, + "required": [ + "type", + "max_gram", + "min_gram", + "token_chars" + ] + } + ] + }, + "_types.analysis:TokenChar": { + "type": "string", + "enum": [ + "letter", + "digit", + "whitespace", + "punctuation", + "symbol", + "custom" + ] + }, + "_types.analysis:KeywordTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "keyword" + ] + }, + "buffer_size": { + "type": "number" + } + }, + "required": [ + "type", + "buffer_size" + ] + } + ] + }, + "_types.analysis:LetterTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "letter" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:LowercaseTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "lowercase" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:NGramTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "ngram" + ] + }, + "custom_token_chars": { + "type": "string" + }, + "max_gram": { + "type": "number" + }, + "min_gram": { + "type": "number" + }, + "token_chars": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.analysis:TokenChar" + } + } + }, + "required": [ + "type", + "max_gram", + "min_gram", + "token_chars" + ] + } + ] + }, + "_types.analysis:NoriTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "nori_tokenizer" + ] + }, + "decompound_mode": { + "$ref": "#/components/schemas/_types.analysis:NoriDecompoundMode" + }, + "discard_punctuation": { + "type": "boolean" + }, + "user_dictionary": { + "type": "string" + }, + "user_dictionary_rules": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:PathHierarchyTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "path_hierarchy" + ] + }, + "buffer_size": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" + }, + "delimiter": { + "type": "string" + }, + "replacement": { + "type": "string" + }, + "reverse": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + }, + "skip": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" + } + }, + "required": [ + "type", + "buffer_size", + "delimiter", + "replacement", + "reverse", + "skip" + ] + } + ] + }, + "_types.analysis:StandardTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "standard" + ] + }, + "max_token_length": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:UaxEmailUrlTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "uax_url_email" + ] + }, + "max_token_length": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:WhitespaceTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "whitespace" + ] + }, + "max_token_length": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:KuromojiTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "kuromoji_tokenizer" + ] + }, + "discard_punctuation": { + "type": "boolean" + }, + "mode": { + "$ref": "#/components/schemas/_types.analysis:KuromojiTokenizationMode" + }, + "nbest_cost": { + "type": "number" + }, + "nbest_examples": { + "type": "string" + }, + "user_dictionary": { + "type": "string" + }, + "user_dictionary_rules": { + "type": "array", + "items": { + "type": "string" + } + }, + "discard_compound_token": { + "type": "boolean" + } + }, + "required": [ + "type", + "mode" + ] + } + ] + }, + "_types.analysis:PatternTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "pattern" + ] + }, + "flags": { + "type": "string" + }, + "group": { + "type": "number" + }, + "pattern": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "indices._types:IndexSettingsTimeSeries": { + "type": "object", + "properties": { + "end_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "start_time": { + "$ref": "#/components/schemas/_types:DateTime" + } + } + }, + "indices._types:Queries": { + "type": "object", + "properties": { + "cache": { + "$ref": "#/components/schemas/indices._types:CacheQueries" + } + } + }, + "indices._types:CacheQueries": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ] + }, + "indices._types:SettingsSimilarity": { + "type": "object", + "properties": { + "bm25": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarityBm25" + }, + "dfi": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarityDfi" + }, + "dfr": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarityDfr" + }, + "ib": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarityIb" + }, + "lmd": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarityLmd" + }, + "lmj": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarityLmj" + }, + "scripted_tfidf": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarityScriptedTfidf" + } + } + }, + "indices._types:SettingsSimilarityBm25": { + "type": "object", + "properties": { + "b": { + "type": "number" + }, + "discount_overlaps": { + "type": "boolean" + }, + "k1": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "BM25" + ] + } + }, + "required": [ + "b", + "discount_overlaps", + "k1", + "type" + ] + }, + "indices._types:SettingsSimilarityDfi": { + "type": "object", + "properties": { + "independence_measure": { + "$ref": "#/components/schemas/_types:DFIIndependenceMeasure" + }, + "type": { + "type": "string", + "enum": [ + "DFI" + ] + } + }, + "required": [ + "independence_measure", + "type" + ] + }, + "_types:DFIIndependenceMeasure": { + "type": "string", + "enum": [ + "standardized", + "saturated", + "chisquared" + ] + }, + "indices._types:SettingsSimilarityDfr": { + "type": "object", + "properties": { + "after_effect": { + "$ref": "#/components/schemas/_types:DFRAfterEffect" + }, + "basic_model": { + "$ref": "#/components/schemas/_types:DFRBasicModel" + }, + "normalization": { + "$ref": "#/components/schemas/_types:Normalization" + }, + "type": { + "type": "string", + "enum": [ + "DFR" + ] + } + }, + "required": [ + "after_effect", + "basic_model", + "normalization", + "type" + ] + }, + "_types:DFRAfterEffect": { + "type": "string", + "enum": [ + "no", + "b", + "l" + ] + }, + "_types:DFRBasicModel": { + "type": "string", + "enum": [ + "be", + "d", + "g", + "if", + "in", + "ine", + "p" + ] + }, + "_types:Normalization": { + "type": "string", + "enum": [ + "no", + "h1", + "h2", + "h3", + "z" + ] + }, + "indices._types:SettingsSimilarityIb": { + "type": "object", + "properties": { + "distribution": { + "$ref": "#/components/schemas/_types:IBDistribution" + }, + "lambda": { + "$ref": "#/components/schemas/_types:IBLambda" + }, + "normalization": { + "$ref": "#/components/schemas/_types:Normalization" + }, + "type": { + "type": "string", + "enum": [ + "IB" + ] + } + }, + "required": [ + "distribution", + "lambda", + "normalization", + "type" + ] + }, + "_types:IBDistribution": { + "type": "string", + "enum": [ + "ll", + "spl" + ] + }, + "_types:IBLambda": { + "type": "string", + "enum": [ + "df", + "ttf" + ] + }, + "indices._types:SettingsSimilarityLmd": { + "type": "object", + "properties": { + "mu": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "LMDirichlet" + ] + } + }, + "required": [ + "mu", + "type" + ] + }, + "indices._types:SettingsSimilarityLmj": { + "type": "object", + "properties": { + "lambda": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "LMJelinekMercer" + ] + } + }, + "required": [ + "lambda", + "type" + ] + }, + "indices._types:SettingsSimilarityScriptedTfidf": { + "type": "object", + "properties": { + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "type": { + "type": "string", + "enum": [ + "scripted" + ] + } + }, + "required": [ + "script", + "type" + ] + }, + "indices._types:MappingLimitSettings": { + "type": "object", + "properties": { + "coerce": { + "type": "boolean" + }, + "total_fields": { + "$ref": "#/components/schemas/indices._types:MappingLimitSettingsTotalFields" + }, + "depth": { + "$ref": "#/components/schemas/indices._types:MappingLimitSettingsDepth" + }, + "nested_fields": { + "$ref": "#/components/schemas/indices._types:MappingLimitSettingsNestedFields" + }, + "nested_objects": { + "$ref": "#/components/schemas/indices._types:MappingLimitSettingsNestedObjects" + }, + "field_name_length": { + "$ref": "#/components/schemas/indices._types:MappingLimitSettingsFieldNameLength" + }, + "dimension_fields": { + "$ref": "#/components/schemas/indices._types:MappingLimitSettingsDimensionFields" + }, + "ignore_malformed": { + "type": "boolean" + } + } + }, + "indices._types:MappingLimitSettingsTotalFields": { + "type": "object", + "properties": { + "limit": { + "description": "The maximum number of fields in an index. Field and object mappings, as well as field aliases count towards this limit.\nThe limit is in place to prevent mappings and searches from becoming too large. Higher values can lead to performance\ndegradations and memory issues, especially in clusters with a high load or few resources.", + "type": "number" + } + } + }, + "indices._types:MappingLimitSettingsDepth": { + "type": "object", + "properties": { + "limit": { + "description": "The maximum depth for a field, which is measured as the number of inner objects. For instance, if all fields are defined\nat the root object level, then the depth is 1. If there is one object mapping, then the depth is 2, etc.", + "type": "number" + } + } + }, + "indices._types:MappingLimitSettingsNestedFields": { + "type": "object", + "properties": { + "limit": { + "description": "The maximum number of distinct nested mappings in an index. The nested type should only be used in special cases, when\narrays of objects need to be queried independently of each other. To safeguard against poorly designed mappings, this\nsetting limits the number of unique nested types per index.", + "type": "number" + } + } + }, + "indices._types:MappingLimitSettingsNestedObjects": { + "type": "object", + "properties": { + "limit": { + "description": "The maximum number of nested JSON objects that a single document can contain across all nested types. This limit helps\nto prevent out of memory errors when a document contains too many nested objects.", + "type": "number" + } + } + }, + "indices._types:MappingLimitSettingsFieldNameLength": { + "type": "object", + "properties": { + "limit": { + "description": "Setting for the maximum length of a field name. This setting isn’t really something that addresses mappings explosion but\nmight still be useful if you want to limit the field length. It usually shouldn’t be necessary to set this setting. The\ndefault is okay unless a user starts to add a huge number of fields with really long names. Default is `Long.MAX_VALUE` (no limit).", + "type": "number" + } + } + }, + "indices._types:MappingLimitSettingsDimensionFields": { + "type": "object", + "properties": { + "limit": { + "description": "[preview] This functionality is in technical preview and may be changed or removed in a future release. Elastic will\napply best effort to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.", + "type": "number" + } + } + }, + "indices._types:IndexingSlowlogSettings": { + "type": "object", + "properties": { + "level": { + "type": "string" + }, + "source": { + "type": "number" + }, + "reformat": { + "type": "boolean" + }, + "threshold": { + "$ref": "#/components/schemas/indices._types:IndexingSlowlogTresholds" + } + } + }, + "indices._types:IndexingSlowlogTresholds": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/indices._types:SlowlogTresholdLevels" + } + } + }, + "indices._types:IndexingPressure": { + "type": "object", + "properties": { + "memory": { + "$ref": "#/components/schemas/indices._types:IndexingPressureMemory" + } + }, + "required": [ + "memory" + ] + }, + "indices._types:IndexingPressureMemory": { + "type": "object", + "properties": { + "limit": { + "description": "Number of outstanding bytes that may be consumed by indexing requests. When this limit is reached or exceeded,\nthe node will reject new coordinating and primary operations. When replica operations consume 1.5x this limit,\nthe node will reject new replica operations. Defaults to 10% of the heap.", + "type": "number" + } + } + }, + "indices._types:Storage": { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/indices._types:StorageType" + }, + "allow_mmap": { + "description": "You can restrict the use of the mmapfs and the related hybridfs store type via the setting node.store.allow_mmap.\nThis is a boolean setting indicating whether or not memory-mapping is allowed. The default is to allow it. This\nsetting is useful, for example, if you are in an environment where you can not control the ability to create a lot\nof memory maps so you need disable the ability to use memory-mapping.", + "type": "boolean" + } + }, + "required": [ + "type" + ] + }, + "indices._types:StorageType": { + "type": "string", + "enum": [ + "fs", + "niofs", + "mmapfs", + "hybridfs" + ] + }, + "_types.mapping:TypeMapping": { + "type": "object", + "properties": { + "all_field": { + "$ref": "#/components/schemas/_types.mapping:AllField" + }, + "date_detection": { + "type": "boolean" + }, + "dynamic": { + "$ref": "#/components/schemas/_types.mapping:DynamicMapping" + }, + "dynamic_date_formats": { + "type": "array", + "items": { + "type": "string" + } + }, + "dynamic_templates": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:DynamicTemplate" + } + } + }, + "_field_names": { + "$ref": "#/components/schemas/_types.mapping:FieldNamesField" + }, + "index_field": { + "$ref": "#/components/schemas/_types.mapping:IndexField" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "numeric_detection": { + "type": "boolean" + }, + "properties": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:Property" + } + }, + "_routing": { + "$ref": "#/components/schemas/_types.mapping:RoutingField" + }, + "_size": { + "$ref": "#/components/schemas/_types.mapping:SizeField" + }, + "_source": { + "$ref": "#/components/schemas/_types.mapping:SourceField" + }, + "runtime": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:RuntimeField" + } + }, + "enabled": { + "type": "boolean" + }, + "_data_stream_timestamp": { + "$ref": "#/components/schemas/_types.mapping:DataStreamTimestamp" + } + } + }, + "_types.mapping:AllField": { + "type": "object", + "properties": { + "analyzer": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "omit_norms": { + "type": "boolean" + }, + "search_analyzer": { + "type": "string" + }, + "similarity": { + "type": "string" + }, + "store": { + "type": "boolean" + }, + "store_term_vector_offsets": { + "type": "boolean" + }, + "store_term_vector_payloads": { + "type": "boolean" + }, + "store_term_vector_positions": { + "type": "boolean" + }, + "store_term_vectors": { + "type": "boolean" + } + }, + "required": [ + "analyzer", + "enabled", + "omit_norms", + "search_analyzer", + "similarity", + "store", + "store_term_vector_offsets", + "store_term_vector_payloads", + "store_term_vector_positions", + "store_term_vectors" + ] + }, + "_types.mapping:DynamicMapping": { + "type": "string", + "enum": [ + "strict", + "runtime", + "true", + "false" + ] + }, + "_types.mapping:DynamicTemplate": { + "type": "object", + "properties": { + "mapping": { + "$ref": "#/components/schemas/_types.mapping:Property" + }, + "match": { + "type": "string" + }, + "match_mapping_type": { + "type": "string" + }, + "match_pattern": { + "$ref": "#/components/schemas/_types.mapping:MatchType" + }, + "path_match": { + "type": "string" + }, + "path_unmatch": { + "type": "string" + }, + "unmatch": { + "type": "string" + } + } + }, + "_types.mapping:Property": { + "discriminator": { + "propertyName": "type" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/_types.mapping:BinaryProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:BooleanProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:DynamicProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:JoinProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:KeywordProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:MatchOnlyTextProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:PercolatorProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:RankFeatureProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:RankFeaturesProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:SearchAsYouTypeProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:TextProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:VersionProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:WildcardProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:DateNanosProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:DateProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:AggregateMetricDoubleProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:DenseVectorProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:FlattenedProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:NestedProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:ObjectProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:CompletionProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:ConstantKeywordProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:FieldAliasProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:HistogramProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:IpProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:Murmur3HashProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:TokenCountProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:GeoPointProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:GeoShapeProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:PointProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:ShapeProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:ByteNumberProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:DoubleNumberProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:FloatNumberProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:HalfFloatNumberProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:IntegerNumberProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:LongNumberProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:ScaledFloatNumberProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:ShortNumberProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:UnsignedLongNumberProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:DateRangeProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:DoubleRangeProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:FloatRangeProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:IntegerRangeProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:IpRangeProperty" + }, + { + "$ref": "#/components/schemas/_types.mapping:LongRangeProperty" + } + ] + }, + "_types.mapping:BinaryProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "binary" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:DocValuesPropertyBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" + }, + { + "type": "object", + "properties": { + "doc_values": { + "type": "boolean" + } + } + } + ] + }, + "_types.mapping:CorePropertyBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "copy_to": { + "$ref": "#/components/schemas/_types:Fields" + }, + "similarity": { + "type": "string" + }, + "store": { + "type": "boolean" + } + } + } + ] + }, + "_types.mapping:PropertyBase": { + "type": "object", + "properties": { + "meta": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-meta-field.html" + }, + "description": "Metadata about the field.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:Property" + } + }, + "ignore_above": { + "type": "number" + }, + "dynamic": { + "$ref": "#/components/schemas/_types.mapping:DynamicMapping" + }, + "fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:Property" + } + } + } + }, + "_types.mapping:BooleanProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "fielddata": { + "$ref": "#/components/schemas/indices._types:NumericFielddata" + }, + "index": { + "type": "boolean" + }, + "null_value": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "boolean" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "indices._types:NumericFielddata": { + "type": "object", + "properties": { + "format": { + "$ref": "#/components/schemas/indices._types:NumericFielddataFormat" + } + }, + "required": [ + "format" + ] + }, + "indices._types:NumericFielddataFormat": { + "type": "string", + "enum": [ + "array", + "disabled" + ] + }, + "_types.mapping:DynamicProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "{dynamic_property}" + ] + }, + "enabled": { + "type": "boolean" + }, + "null_value": { + "$ref": "#/components/schemas/_types:FieldValue" + }, + "boost": { + "type": "number" + }, + "coerce": { + "type": "boolean" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "on_script_error": { + "$ref": "#/components/schemas/_types.mapping:OnScriptError" + }, + "ignore_malformed": { + "type": "boolean" + }, + "time_series_metric": { + "$ref": "#/components/schemas/_types.mapping:TimeSeriesMetricType" + }, + "analyzer": { + "type": "string" + }, + "eager_global_ordinals": { + "type": "boolean" + }, + "index": { + "type": "boolean" + }, + "index_options": { + "$ref": "#/components/schemas/_types.mapping:IndexOptions" + }, + "index_phrases": { + "type": "boolean" + }, + "index_prefixes": { + "$ref": "#/components/schemas/_types.mapping:TextIndexPrefixes" + }, + "norms": { + "type": "boolean" + }, + "position_increment_gap": { + "type": "number" + }, + "search_analyzer": { + "type": "string" + }, + "search_quote_analyzer": { + "type": "string" + }, + "term_vector": { + "$ref": "#/components/schemas/_types.mapping:TermVectorOption" + }, + "format": { + "type": "string" + }, + "precision_step": { + "type": "number" + }, + "locale": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:OnScriptError": { + "type": "string", + "enum": [ + "fail", + "continue" + ] + }, + "_types.mapping:TimeSeriesMetricType": { + "type": "string", + "enum": [ + "gauge", + "counter", + "summary", + "histogram", + "position" + ] + }, + "_types.mapping:IndexOptions": { + "type": "string", + "enum": [ + "docs", + "freqs", + "positions", + "offsets" + ] + }, + "_types.mapping:TextIndexPrefixes": { + "type": "object", + "properties": { + "max_chars": { + "type": "number" + }, + "min_chars": { + "type": "number" + } + }, + "required": [ + "max_chars", + "min_chars" + ] + }, + "_types.mapping:TermVectorOption": { + "type": "string", + "enum": [ + "no", + "yes", + "with_offsets", + "with_positions", + "with_positions_offsets", + "with_positions_offsets_payloads", + "with_positions_payloads" + ] + }, + "_types.mapping:JoinProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "relations": { + "type": "object", + "additionalProperties": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:RelationName" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:RelationName" + } + } + ] + } + }, + "eager_global_ordinals": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "join" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:KeywordProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "eager_global_ordinals": { + "type": "boolean" + }, + "index": { + "type": "boolean" + }, + "index_options": { + "$ref": "#/components/schemas/_types.mapping:IndexOptions" + }, + "normalizer": { + "type": "string" + }, + "norms": { + "type": "boolean" + }, + "null_value": { + "type": "string" + }, + "split_queries_on_whitespace": { + "type": "boolean" + }, + "time_series_dimension": { + "description": "For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.", + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "keyword" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:MatchOnlyTextProperty": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "match_only_text" + ] + }, + "fields": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/multi-fields.html" + }, + "description": "Multi-fields allow the same string value to be indexed in multiple ways for different purposes, such as one\nfield for search and a multi-field for sorting and aggregations, or the same string value analyzed by different analyzers.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:Property" + } + }, + "meta": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-meta-field.html" + }, + "description": "Metadata about the field.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "copy_to": { + "$ref": "#/components/schemas/_types:Fields" + } + }, + "required": [ + "type" + ] + }, + "_types.mapping:PercolatorProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "percolator" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:RankFeatureProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "positive_score_impact": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "rank_feature" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:RankFeaturesProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "rank_features" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:SearchAsYouTypeProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "type": "string" + }, + "index": { + "type": "boolean" + }, + "index_options": { + "$ref": "#/components/schemas/_types.mapping:IndexOptions" + }, + "max_shingle_size": { + "type": "number" + }, + "norms": { + "type": "boolean" + }, + "search_analyzer": { + "type": "string" + }, + "search_quote_analyzer": { + "type": "string" + }, + "term_vector": { + "$ref": "#/components/schemas/_types.mapping:TermVectorOption" + }, + "type": { + "type": "string", + "enum": [ + "search_as_you_type" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:TextProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "type": "string" + }, + "boost": { + "type": "number" + }, + "eager_global_ordinals": { + "type": "boolean" + }, + "fielddata": { + "type": "boolean" + }, + "fielddata_frequency_filter": { + "$ref": "#/components/schemas/indices._types:FielddataFrequencyFilter" + }, + "index": { + "type": "boolean" + }, + "index_options": { + "$ref": "#/components/schemas/_types.mapping:IndexOptions" + }, + "index_phrases": { + "type": "boolean" + }, + "index_prefixes": { + "$ref": "#/components/schemas/_types.mapping:TextIndexPrefixes" + }, + "norms": { + "type": "boolean" + }, + "position_increment_gap": { + "type": "number" + }, + "search_analyzer": { + "type": "string" + }, + "search_quote_analyzer": { + "type": "string" + }, + "term_vector": { + "$ref": "#/components/schemas/_types.mapping:TermVectorOption" + }, + "type": { + "type": "string", + "enum": [ + "text" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "indices._types:FielddataFrequencyFilter": { + "type": "object", + "properties": { + "max": { + "type": "number" + }, + "min": { + "type": "number" + }, + "min_segment_size": { + "type": "number" + } + }, + "required": [ + "max", + "min", + "min_segment_size" + ] + }, + "_types.mapping:VersionProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "version" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:WildcardProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "wildcard" + ] + }, + "null_value": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:DateNanosProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "format": { + "type": "string" + }, + "ignore_malformed": { + "type": "boolean" + }, + "index": { + "type": "boolean" + }, + "null_value": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "precision_step": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "date_nanos" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:DateProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "fielddata": { + "$ref": "#/components/schemas/indices._types:NumericFielddata" + }, + "format": { + "type": "string" + }, + "ignore_malformed": { + "type": "boolean" + }, + "index": { + "type": "boolean" + }, + "null_value": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "precision_step": { + "type": "number" + }, + "locale": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "date" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:AggregateMetricDoubleProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "aggregate_metric_double" + ] + }, + "default_metric": { + "type": "string" + }, + "metrics": { + "type": "array", + "items": { + "type": "string" + } + }, + "time_series_metric": { + "$ref": "#/components/schemas/_types.mapping:TimeSeriesMetricType" + } + }, + "required": [ + "type", + "default_metric", + "metrics" + ] + } + ] + }, + "_types.mapping:DenseVectorProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "dense_vector" + ] + }, + "dims": { + "type": "number" + }, + "similarity": { + "type": "string" + }, + "index": { + "type": "boolean" + }, + "index_options": { + "$ref": "#/components/schemas/_types.mapping:DenseVectorIndexOptions" + } + }, + "required": [ + "type", + "dims" + ] + } + ] + }, + "_types.mapping:DenseVectorIndexOptions": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "m": { + "type": "number" + }, + "ef_construction": { + "type": "number" + } + }, + "required": [ + "type", + "m", + "ef_construction" + ] + }, + "_types.mapping:FlattenedProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "depth_limit": { + "type": "number" + }, + "doc_values": { + "type": "boolean" + }, + "eager_global_ordinals": { + "type": "boolean" + }, + "index": { + "type": "boolean" + }, + "index_options": { + "$ref": "#/components/schemas/_types.mapping:IndexOptions" + }, + "null_value": { + "type": "string" + }, + "similarity": { + "type": "string" + }, + "split_queries_on_whitespace": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "flattened" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:NestedProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" + }, + { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "include_in_parent": { + "type": "boolean" + }, + "include_in_root": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "nested" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:ObjectProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" + }, + { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "object" + ] + } + } + } + ] + }, + "_types.mapping:CompletionProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "type": "string" + }, + "contexts": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.mapping:SuggestContext" + } + }, + "max_input_length": { + "type": "number" + }, + "preserve_position_increments": { + "type": "boolean" + }, + "preserve_separators": { + "type": "boolean" + }, + "search_analyzer": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "completion" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:SuggestContext": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "path": { + "$ref": "#/components/schemas/_types:Field" + }, + "type": { + "type": "string" + }, + "precision": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "name", + "type" + ] + }, + "_types.mapping:ConstantKeywordProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "value": { + "type": "object" + }, + "type": { + "type": "string", + "enum": [ + "constant_keyword" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:FieldAliasProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "path": { + "$ref": "#/components/schemas/_types:Field" + }, + "type": { + "type": "string", + "enum": [ + "alias" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:HistogramProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "ignore_malformed": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "histogram" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:IpProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "index": { + "type": "boolean" + }, + "ignore_malformed": { + "type": "boolean" + }, + "null_value": { + "type": "string" + }, + "on_script_error": { + "$ref": "#/components/schemas/_types.mapping:OnScriptError" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "time_series_dimension": { + "description": "For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.", + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "ip" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:Murmur3HashProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "murmur3" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:TokenCountProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "type": "string" + }, + "boost": { + "type": "number" + }, + "index": { + "type": "boolean" + }, + "null_value": { + "type": "number" + }, + "enable_position_increments": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "token_count" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:GeoPointProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "ignore_malformed": { + "type": "boolean" + }, + "ignore_z_value": { + "type": "boolean" + }, + "null_value": { + "$ref": "#/components/schemas/_types:GeoLocation" + }, + "type": { + "type": "string", + "enum": [ + "geo_point" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:GeoShapeProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "coerce": { + "type": "boolean" + }, + "ignore_malformed": { + "type": "boolean" + }, + "ignore_z_value": { + "type": "boolean" + }, + "orientation": { + "$ref": "#/components/schemas/_types.mapping:GeoOrientation" + }, + "strategy": { + "$ref": "#/components/schemas/_types.mapping:GeoStrategy" + }, + "type": { + "type": "string", + "enum": [ + "geo_shape" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:GeoOrientation": { + "type": "string", + "enum": [ + "right", + "left" + ] + }, + "_types.mapping:GeoStrategy": { + "type": "string", + "enum": [ + "recursive", + "term" + ] + }, + "_types.mapping:PointProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "ignore_malformed": { + "type": "boolean" + }, + "ignore_z_value": { + "type": "boolean" + }, + "null_value": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "point" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:ShapeProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "coerce": { + "type": "boolean" + }, + "ignore_malformed": { + "type": "boolean" + }, + "ignore_z_value": { + "type": "boolean" + }, + "orientation": { + "$ref": "#/components/schemas/_types.mapping:GeoOrientation" + }, + "type": { + "type": "string", + "enum": [ + "shape" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:ByteNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "byte" + ] + }, + "null_value": { + "$ref": "#/components/schemas/_types:byte" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types:byte": { + "type": "number" + }, + "_types.mapping:NumberPropertyBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "coerce": { + "type": "boolean" + }, + "ignore_malformed": { + "type": "boolean" + }, + "index": { + "type": "boolean" + }, + "on_script_error": { + "$ref": "#/components/schemas/_types.mapping:OnScriptError" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "time_series_metric": { + "$ref": "#/components/schemas/_types.mapping:TimeSeriesMetricType" + }, + "time_series_dimension": { + "description": "For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.", + "type": "boolean" + } + } + } + ] + }, + "_types.mapping:DoubleNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "double" + ] + }, + "null_value": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:FloatNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "float" + ] + }, + "null_value": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:HalfFloatNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "half_float" + ] + }, + "null_value": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:IntegerNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "integer" + ] + }, + "null_value": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:LongNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "long" + ] + }, + "null_value": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:ScaledFloatNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "scaled_float" + ] + }, + "null_value": { + "type": "number" + }, + "scaling_factor": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:ShortNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "short" + ] + }, + "null_value": { + "$ref": "#/components/schemas/_types:short" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types:short": { + "type": "number" + }, + "_types.mapping:UnsignedLongNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "unsigned_long" + ] + }, + "null_value": { + "$ref": "#/components/schemas/_types:ulong" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types:ulong": { + "type": "number" + }, + "_types.mapping:DateRangeProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" + }, + { + "type": "object", + "properties": { + "format": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "date_range" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:RangePropertyBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "coerce": { + "type": "boolean" + }, + "index": { + "type": "boolean" + } + } + } + ] + }, + "_types.mapping:DoubleRangeProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "double_range" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:FloatRangeProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "float_range" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:IntegerRangeProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "integer_range" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:IpRangeProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "ip_range" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:LongRangeProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "long_range" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:MatchType": { + "type": "string", + "enum": [ + "simple", + "regex" + ] + }, + "_types.mapping:FieldNamesField": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ] + }, + "_types.mapping:IndexField": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ] + }, + "_types.mapping:RoutingField": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + }, + "required": [ + "required" + ] + }, + "_types.mapping:SizeField": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ] + }, + "_types.mapping:SourceField": { + "type": "object", + "properties": { + "compress": { + "type": "boolean" + }, + "compress_threshold": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "excludes": { + "type": "array", + "items": { + "type": "string" + } + }, + "includes": { + "type": "array", + "items": { + "type": "string" + } + }, + "mode": { + "$ref": "#/components/schemas/_types.mapping:SourceFieldMode" + } + } + }, + "_types.mapping:SourceFieldMode": { + "type": "string", + "enum": [ + "disabled", + "stored", + "synthetic" + ] + }, + "_types.mapping:DataStreamTimestamp": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ] + }, + "indices._types:AliasDefinition": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "index_routing": { + "description": "Value used to route indexing operations to a specific shard.\nIf specified, this overwrites the `routing` value for indexing operations.", + "type": "string" + }, + "is_write_index": { + "description": "If `true`, the index is the write index for the alias.", + "type": "boolean" + }, + "routing": { + "description": "Value used to route indexing and search operations to a specific shard.", + "type": "string" + }, + "search_routing": { + "description": "Value used to route search operations to a specific shard.\nIf specified, this overwrites the `routing` value for search operations.", + "type": "string" + }, + "is_hidden": { + "description": "If `true`, the alias is hidden.\nAll indices for the alias must have the same `is_hidden` value.", + "type": "boolean" + } + } + }, + "indices._types:DataStreamLifecycleWithRollover": { + "type": "object", + "properties": { + "data_retention": { + "$ref": "#/components/schemas/_types:Duration" + }, + "downsampling": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleDownsampling" + }, + "rollover": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleRolloverConditions" + } + } + }, + "indices._types:DataStreamLifecycleDownsampling": { + "type": "object", + "properties": { + "rounds": { + "description": "The list of downsampling rounds to execute as part of this downsampling configuration", + "type": "array", + "items": { + "$ref": "#/components/schemas/indices._types:DownsamplingRound" + } + } + }, + "required": [ + "rounds" + ] + }, + "indices._types:DownsamplingRound": { + "type": "object", + "properties": { + "after": { + "$ref": "#/components/schemas/_types:Duration" + }, + "config": { + "$ref": "#/components/schemas/indices._types:DownsampleConfig" + } + }, + "required": [ + "after", + "config" + ] + }, + "indices._types:DownsampleConfig": { + "type": "object", + "properties": { + "fixed_interval": { + "$ref": "#/components/schemas/_types:DurationLarge" + } + }, + "required": [ + "fixed_interval" + ] + }, + "indices._types:DataStreamLifecycleRolloverConditions": { + "type": "object", + "properties": { + "min_age": { + "$ref": "#/components/schemas/_types:Duration" + }, + "max_age": { + "type": "string" + }, + "min_docs": { + "type": "number" + }, + "max_docs": { + "type": "number" + }, + "min_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "max_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "min_primary_shard_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "max_primary_shard_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "min_primary_shard_docs": { + "type": "number" + }, + "max_primary_shard_docs": { + "type": "number" + } + } + }, + "_types:Level": { + "type": "string", + "enum": [ + "cluster", + "indices", + "shards" + ] + }, + "_types:WaitForEvents": { + "type": "string", + "enum": [ + "immediate", + "urgent", + "high", + "normal", + "low", + "languid" + ] + }, + "cluster.health:HealthResponseBody": { + "type": "object", + "properties": { + "active_primary_shards": { + "description": "The number of active primary shards.", + "type": "number" + }, + "active_shards": { + "description": "The total number of active primary and replica shards.", + "type": "number" + }, + "active_shards_percent_as_number": { + "$ref": "#/components/schemas/_types:Percentage" + }, + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "delayed_unassigned_shards": { + "description": "The number of shards whose allocation has been delayed by the timeout settings.", + "type": "number" + }, + "indices": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/cluster.health:IndexHealthStats" + } + }, + "initializing_shards": { + "description": "The number of shards that are under initialization.", + "type": "number" + }, + "number_of_data_nodes": { + "description": "The number of nodes that are dedicated data nodes.", + "type": "number" + }, + "number_of_in_flight_fetch": { + "description": "The number of unfinished fetches.", + "type": "number" + }, + "number_of_nodes": { + "description": "The number of nodes within the cluster.", + "type": "number" + }, + "number_of_pending_tasks": { + "description": "The number of cluster-level changes that have not yet been executed.", + "type": "number" + }, + "relocating_shards": { + "description": "The number of shards that are under relocation.", + "type": "number" + }, + "status": { + "$ref": "#/components/schemas/_types:HealthStatus" + }, + "task_max_waiting_in_queue": { + "$ref": "#/components/schemas/_types:Duration" + }, + "task_max_waiting_in_queue_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "timed_out": { + "description": "If false the response returned within the period of time that is specified by the timeout parameter (30s by default)", + "type": "boolean" + }, + "unassigned_shards": { + "description": "The number of shards that are not allocated.", + "type": "number" + } + }, + "required": [ + "active_primary_shards", + "active_shards", + "active_shards_percent_as_number", + "cluster_name", + "delayed_unassigned_shards", + "initializing_shards", + "number_of_data_nodes", + "number_of_in_flight_fetch", + "number_of_nodes", + "number_of_pending_tasks", + "relocating_shards", + "status", + "task_max_waiting_in_queue_millis", + "timed_out", + "unassigned_shards" + ] + }, + "cluster.health:IndexHealthStats": { + "type": "object", + "properties": { + "active_primary_shards": { + "type": "number" + }, + "active_shards": { + "type": "number" + }, + "initializing_shards": { + "type": "number" + }, + "number_of_replicas": { + "type": "number" + }, + "number_of_shards": { + "type": "number" + }, + "relocating_shards": { + "type": "number" + }, + "shards": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/cluster.health:ShardHealthStats" + } + }, + "status": { + "$ref": "#/components/schemas/_types:HealthStatus" + }, + "unassigned_shards": { + "type": "number" + } + }, + "required": [ + "active_primary_shards", + "active_shards", + "initializing_shards", + "number_of_replicas", + "number_of_shards", + "relocating_shards", + "status", + "unassigned_shards" + ] + }, + "cluster.health:ShardHealthStats": { + "type": "object", + "properties": { + "active_shards": { + "type": "number" + }, + "initializing_shards": { + "type": "number" + }, + "primary_active": { + "type": "boolean" + }, + "relocating_shards": { + "type": "number" + }, + "status": { + "$ref": "#/components/schemas/_types:HealthStatus" + }, + "unassigned_shards": { + "type": "number" + } + }, + "required": [ + "active_shards", + "initializing_shards", + "primary_active", + "relocating_shards", + "status", + "unassigned_shards" + ] + }, + "_types:ClusterInfoTargets": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:ClusterInfoTarget" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ClusterInfoTarget" + } + } + ] + }, + "_types:ClusterInfoTarget": { + "type": "string", + "enum": [ + "_all", + "http", + "ingest", + "thread_pool", + "script" + ] + }, + "nodes._types:Http": { + "type": "object", + "properties": { + "current_open": { + "description": "Current number of open HTTP connections for the node.", + "type": "number" + }, + "total_opened": { + "description": "Total number of HTTP connections opened for the node.", + "type": "number" + }, + "clients": { + "description": "Information on current and recently-closed HTTP client connections.\nClients that have been closed longer than the `http.client_stats.closed_channels.max_age` setting will not be represented here.", + "type": "array", + "items": { + "$ref": "#/components/schemas/nodes._types:Client" + } + } + } + }, + "nodes._types:Client": { + "type": "object", + "properties": { + "id": { + "description": "Unique ID for the HTTP client.", + "type": "number" + }, + "agent": { + "description": "Reported agent for the HTTP client.\nIf unavailable, this property is not included in the response.", + "type": "string" + }, + "local_address": { + "description": "Local address for the HTTP connection.", + "type": "string" + }, + "remote_address": { + "description": "Remote address for the HTTP connection.", + "type": "string" + }, + "last_uri": { + "description": "The URI of the client’s most recent request.", + "type": "string" + }, + "opened_time_millis": { + "description": "Time at which the client opened the connection.", + "type": "number" + }, + "closed_time_millis": { + "description": "Time at which the client closed the connection if the connection is closed.", + "type": "number" + }, + "last_request_time_millis": { + "description": "Time of the most recent request from this client.", + "type": "number" + }, + "request_count": { + "description": "Number of requests from this client.", + "type": "number" + }, + "request_size_bytes": { + "description": "Cumulative size in bytes of all requests from this client.", + "type": "number" + }, + "x_opaque_id": { + "description": "Value from the client’s `x-opaque-id` HTTP header.\nIf unavailable, this property is not included in the response.", + "type": "string" + } + } + }, + "nodes._types:Ingest": { + "type": "object", + "properties": { + "pipelines": { + "description": "Contains statistics about ingest pipelines for the node.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:IngestTotal" + } + }, + "total": { + "$ref": "#/components/schemas/nodes._types:IngestTotal" + } + } + }, + "nodes._types:IngestTotal": { + "type": "object", + "properties": { + "count": { + "description": "Total number of documents ingested during the lifetime of this node.", + "type": "number" + }, + "current": { + "description": "Total number of documents currently being ingested.", + "type": "number" + }, + "failed": { + "description": "Total number of failed ingest operations during the lifetime of this node.", + "type": "number" + }, + "processors": { + "description": "Total number of ingest processors.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:KeyedProcessor" + } + } + }, + "time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + } + }, + "nodes._types:KeyedProcessor": { + "type": "object", + "properties": { + "stats": { + "$ref": "#/components/schemas/nodes._types:Processor" + }, + "type": { + "type": "string" + } + } + }, + "nodes._types:Processor": { + "type": "object", + "properties": { + "count": { + "description": "Number of documents transformed by the processor.", + "type": "number" + }, + "current": { + "description": "Number of documents currently being transformed by the processor.", + "type": "number" + }, + "failed": { + "description": "Number of failed operations for the processor.", + "type": "number" + }, + "time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + } + }, + "nodes._types:ThreadCount": { + "type": "object", + "properties": { + "active": { + "description": "Number of active threads in the thread pool.", + "type": "number" + }, + "completed": { + "description": "Number of tasks completed by the thread pool executor.", + "type": "number" + }, + "largest": { + "description": "Highest number of active threads in the thread pool.", + "type": "number" + }, + "queue": { + "description": "Number of tasks in queue for the thread pool.", + "type": "number" + }, + "rejected": { + "description": "Number of tasks rejected by the thread pool executor.", + "type": "number" + }, + "threads": { + "description": "Number of threads in the thread pool.", + "type": "number" + } + } + }, + "nodes._types:Scripting": { + "type": "object", + "properties": { + "cache_evictions": { + "description": "Total number of times the script cache has evicted old data.", + "type": "number" + }, + "compilations": { + "description": "Total number of inline script compilations performed by the node.", + "type": "number" + }, + "compilations_history": { + "description": "Contains this recent history of script compilations.", + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "compilation_limit_triggered": { + "description": "Total number of times the script compilation circuit breaker has limited inline script compilations.", + "type": "number" + }, + "contexts": { + "type": "array", + "items": { + "$ref": "#/components/schemas/nodes._types:Context" + } + } + } + }, + "nodes._types:Context": { + "type": "object", + "properties": { + "context": { + "type": "string" + }, + "compilations": { + "type": "number" + }, + "cache_evictions": { + "type": "number" + }, + "compilation_limit_triggered": { + "type": "number" + } + } + }, + "cluster.pending_tasks:PendingTask": { + "type": "object", + "properties": { + "executing": { + "description": "Indicates whether the pending tasks are currently executing or not.", + "type": "boolean" + }, + "insert_order": { + "description": "The number that represents when the task has been inserted into the task queue.", + "type": "number" + }, + "priority": { + "description": "The priority of the pending task.\nThe valid priorities in descending priority order are: `IMMEDIATE` > `URGENT` > `HIGH` > `NORMAL` > `LOW` > `LANGUID`.", + "type": "string" + }, + "source": { + "description": "A general description of the cluster task that may include a reason and origin.", + "type": "string" + }, + "time_in_queue": { + "$ref": "#/components/schemas/_types:Duration" + }, + "time_in_queue_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "executing", + "insert_order", + "priority", + "source", + "time_in_queue_millis" + ] + }, + "indices._types:IndexState": { + "type": "object", + "properties": { + "aliases": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "settings": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + }, + "defaults": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + }, + "data_stream": { + "$ref": "#/components/schemas/_types:DataStreamName" + }, + "lifecycle": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycle" + } + } + }, + "indices._types:Alias": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "index_routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "is_hidden": { + "description": "If `true`, the alias is hidden.\nAll indices for the alias must have the same `is_hidden` value.", + "type": "boolean" + }, + "is_write_index": { + "description": "If `true`, the index is the write index for the alias.", + "type": "boolean" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "search_routing": { + "$ref": "#/components/schemas/_types:Routing" + } + } + }, + "_types:DataStreamName": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-data-stream.html#indices-create-data-stream-api-path-params" + }, + "type": "string" + }, + "indices._types:DataStreamLifecycle": { + "type": "object", + "properties": { + "data_retention": { + "$ref": "#/components/schemas/_types:Duration" + }, + "downsampling": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleDownsampling" + } + } + }, + "_types:Metrics": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "cluster.reroute:Command": { + "type": "object", + "properties": { + "cancel": { + "$ref": "#/components/schemas/cluster.reroute:CommandCancelAction" + }, + "move": { + "$ref": "#/components/schemas/cluster.reroute:CommandMoveAction" + }, + "allocate_replica": { + "$ref": "#/components/schemas/cluster.reroute:CommandAllocateReplicaAction" + }, + "allocate_stale_primary": { + "$ref": "#/components/schemas/cluster.reroute:CommandAllocatePrimaryAction" + }, + "allocate_empty_primary": { + "$ref": "#/components/schemas/cluster.reroute:CommandAllocatePrimaryAction" + } + } + }, + "cluster.reroute:CommandCancelAction": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "shard": { + "type": "number" + }, + "node": { + "type": "string" + }, + "allow_primary": { + "type": "boolean" + } + }, + "required": [ + "index", + "shard", + "node" + ] + }, + "cluster.reroute:CommandMoveAction": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "shard": { + "type": "number" + }, + "from_node": { + "description": "The node to move the shard from", + "type": "string" + }, + "to_node": { + "description": "The node to move the shard to", + "type": "string" + } + }, + "required": [ + "index", + "shard", + "from_node", + "to_node" + ] + }, + "cluster.reroute:CommandAllocateReplicaAction": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "shard": { + "type": "number" + }, + "node": { + "type": "string" + } + }, + "required": [ + "index", + "shard", + "node" + ] + }, + "cluster.reroute:CommandAllocatePrimaryAction": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "shard": { + "type": "number" + }, + "node": { + "type": "string" + }, + "accept_data_loss": { + "description": "If a node which has a copy of the data rejoins the cluster later on, that data will be deleted. To ensure that these implications are well-understood, this command requires the flag accept_data_loss to be explicitly set to true", + "type": "boolean" + } + }, + "required": [ + "index", + "shard", + "node", + "accept_data_loss" + ] + }, + "cluster.reroute:RerouteExplanation": { + "type": "object", + "properties": { + "command": { + "type": "string" + }, + "decisions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.reroute:RerouteDecision" + } + }, + "parameters": { + "$ref": "#/components/schemas/cluster.reroute:RerouteParameters" + } + }, + "required": [ + "command", + "decisions", + "parameters" + ] + }, + "cluster.reroute:RerouteDecision": { + "type": "object", + "properties": { + "decider": { + "type": "string" + }, + "decision": { + "type": "string" + }, + "explanation": { + "type": "string" + } + }, + "required": [ + "decider", + "decision", + "explanation" + ] + }, + "cluster.reroute:RerouteParameters": { + "type": "object", + "properties": { + "allow_primary": { + "type": "boolean" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "node": { + "$ref": "#/components/schemas/_types:NodeName" + }, + "shard": { + "type": "number" + }, + "from_node": { + "$ref": "#/components/schemas/_types:NodeName" + }, + "to_node": { + "$ref": "#/components/schemas/_types:NodeName" + } + }, + "required": [ + "allow_primary", + "index", + "node", + "shard" + ] + }, + "_types:NodeName": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html" + }, + "type": "string" + }, + "cluster.stats:StatsResponseBase": { + "allOf": [ + { + "$ref": "#/components/schemas/nodes._types:NodesResponseBase" + }, + { + "type": "object", + "properties": { + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "cluster_uuid": { + "$ref": "#/components/schemas/_types:Uuid" + }, + "indices": { + "$ref": "#/components/schemas/cluster.stats:ClusterIndices" + }, + "nodes": { + "$ref": "#/components/schemas/cluster.stats:ClusterNodes" + }, + "status": { + "$ref": "#/components/schemas/_types:HealthStatus" + }, + "timestamp": { + "description": "Unix timestamp, in milliseconds, for the last time the cluster statistics were refreshed.", + "type": "number" + } + }, + "required": [ + "cluster_name", + "cluster_uuid", + "indices", + "nodes", + "status", + "timestamp" + ] + } + ] + }, + "cluster.stats:ClusterIndices": { + "type": "object", + "properties": { + "analysis": { + "$ref": "#/components/schemas/cluster.stats:CharFilterTypes" + }, + "completion": { + "$ref": "#/components/schemas/_types:CompletionStats" + }, + "count": { + "description": "Total number of indices with shards assigned to selected nodes.", + "type": "number" + }, + "docs": { + "$ref": "#/components/schemas/_types:DocStats" + }, + "fielddata": { + "$ref": "#/components/schemas/_types:FielddataStats" + }, + "query_cache": { + "$ref": "#/components/schemas/_types:QueryCacheStats" + }, + "segments": { + "$ref": "#/components/schemas/_types:SegmentsStats" + }, + "shards": { + "$ref": "#/components/schemas/cluster.stats:ClusterIndicesShards" + }, + "store": { + "$ref": "#/components/schemas/_types:StoreStats" + }, + "mappings": { + "$ref": "#/components/schemas/cluster.stats:FieldTypesMappings" + }, + "versions": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analyzer-anatomy.html" + }, + "description": "Contains statistics about analyzers and analyzer components used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:IndicesVersions" + } + } + }, + "required": [ + "analysis", + "completion", + "count", + "docs", + "fielddata", + "query_cache", + "segments", + "shards", + "store", + "mappings" + ] + }, + "cluster.stats:CharFilterTypes": { + "type": "object", + "properties": { + "analyzer_types": { + "description": "Contains statistics about analyzer types used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + }, + "built_in_analyzers": { + "description": "Contains statistics about built-in analyzers used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + }, + "built_in_char_filters": { + "description": "Contains statistics about built-in character filters used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + }, + "built_in_filters": { + "description": "Contains statistics about built-in token filters used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + }, + "built_in_tokenizers": { + "description": "Contains statistics about built-in tokenizers used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + }, + "char_filter_types": { + "description": "Contains statistics about character filter types used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + }, + "filter_types": { + "description": "Contains statistics about token filter types used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + }, + "tokenizer_types": { + "description": "Contains statistics about tokenizer types used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + } + }, + "required": [ + "analyzer_types", + "built_in_analyzers", + "built_in_char_filters", + "built_in_filters", + "built_in_tokenizers", + "char_filter_types", + "filter_types", + "tokenizer_types" + ] + }, + "cluster.stats:FieldTypes": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "count": { + "description": "The number of occurrences of the field type in selected nodes.", + "type": "number" + }, + "index_count": { + "description": "The number of indices containing the field type in selected nodes.", + "type": "number" + }, + "indexed_vector_count": { + "description": "For dense_vector field types, number of indexed vector types in selected nodes.", + "type": "number" + }, + "indexed_vector_dim_max": { + "description": "For dense_vector field types, the maximum dimension of all indexed vector types in selected nodes.", + "type": "number" + }, + "indexed_vector_dim_min": { + "description": "For dense_vector field types, the minimum dimension of all indexed vector types in selected nodes.", + "type": "number" + }, + "script_count": { + "description": "The number of fields that declare a script.", + "type": "number" + } + }, + "required": [ + "name", + "count", + "index_count" + ] + }, + "_types:CompletionStats": { + "type": "object", + "properties": { + "size_in_bytes": { + "description": "Total amount, in bytes, of memory used for completion across all shards assigned to selected nodes.", + "type": "number" + }, + "size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:FieldSizeUsage" + } + } + }, + "required": [ + "size_in_bytes" + ] + }, + "_types:FieldSizeUsage": { + "type": "object", + "properties": { + "size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "size_in_bytes": { + "type": "number" + } + }, + "required": [ + "size_in_bytes" + ] + }, + "_types:DocStats": { + "type": "object", + "properties": { + "count": { + "description": "Total number of non-deleted documents across all primary shards assigned to selected nodes.\nThis number is based on documents in Lucene segments and may include documents from nested fields.", + "type": "number" + }, + "deleted": { + "description": "Total number of deleted documents across all primary shards assigned to selected nodes.\nThis number is based on documents in Lucene segments.\nElasticsearch reclaims the disk space of deleted Lucene documents when a segment is merged.", + "type": "number" + } + }, + "required": [ + "count" + ] + }, + "_types:FielddataStats": { + "type": "object", + "properties": { + "evictions": { + "type": "number" + }, + "memory_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "memory_size_in_bytes": { + "type": "number" + }, + "fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:FieldMemoryUsage" + } + } + }, + "required": [ + "memory_size_in_bytes" + ] + }, + "_types:FieldMemoryUsage": { + "type": "object", + "properties": { + "memory_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "memory_size_in_bytes": { + "type": "number" + } + }, + "required": [ + "memory_size_in_bytes" + ] + }, + "_types:QueryCacheStats": { + "type": "object", + "properties": { + "cache_count": { + "description": "Total number of entries added to the query cache across all shards assigned to selected nodes.\nThis number includes current and evicted entries.", + "type": "number" + }, + "cache_size": { + "description": "Total number of entries currently in the query cache across all shards assigned to selected nodes.", + "type": "number" + }, + "evictions": { + "description": "Total number of query cache evictions across all shards assigned to selected nodes.", + "type": "number" + }, + "hit_count": { + "description": "Total count of query cache hits across all shards assigned to selected nodes.", + "type": "number" + }, + "memory_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "memory_size_in_bytes": { + "description": "Total amount, in bytes, of memory used for the query cache across all shards assigned to selected nodes.", + "type": "number" + }, + "miss_count": { + "description": "Total count of query cache misses across all shards assigned to selected nodes.", + "type": "number" + }, + "total_count": { + "description": "Total count of hits and misses in the query cache across all shards assigned to selected nodes.", + "type": "number" + } + }, + "required": [ + "cache_count", + "cache_size", + "evictions", + "hit_count", + "memory_size_in_bytes", + "miss_count", + "total_count" + ] + }, + "_types:SegmentsStats": { + "type": "object", + "properties": { + "count": { + "description": "Total number of segments across all shards assigned to selected nodes.", + "type": "number" + }, + "doc_values_memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "doc_values_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used for doc values across all shards assigned to selected nodes.", + "type": "number" + }, + "file_sizes": { + "description": "This object is not populated by the cluster stats API.\nTo get information on segment files, use the node stats API.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.stats:ShardFileSizeInfo" + } + }, + "fixed_bit_set": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "fixed_bit_set_memory_in_bytes": { + "description": "Total amount of memory, in bytes, used by fixed bit sets across all shards assigned to selected nodes.", + "type": "number" + }, + "index_writer_memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "index_writer_max_memory_in_bytes": { + "type": "number" + }, + "index_writer_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used by all index writers across all shards assigned to selected nodes.", + "type": "number" + }, + "max_unsafe_auto_id_timestamp": { + "description": "Unix timestamp, in milliseconds, of the most recently retried indexing request.", + "type": "number" + }, + "memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "memory_in_bytes": { + "description": "Total amount, in bytes, of memory used for segments across all shards assigned to selected nodes.", + "type": "number" + }, + "norms_memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "norms_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used for normalization factors across all shards assigned to selected nodes.", + "type": "number" + }, + "points_memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "points_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used for points across all shards assigned to selected nodes.", + "type": "number" + }, + "stored_memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "stored_fields_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used for stored fields across all shards assigned to selected nodes.", + "type": "number" + }, + "terms_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used for terms across all shards assigned to selected nodes.", + "type": "number" + }, + "terms_memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "term_vectory_memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "term_vectors_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used for term vectors across all shards assigned to selected nodes.", + "type": "number" + }, + "version_map_memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "version_map_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used by all version maps across all shards assigned to selected nodes.", + "type": "number" + } + }, + "required": [ + "count", + "doc_values_memory_in_bytes", + "file_sizes", + "fixed_bit_set_memory_in_bytes", + "index_writer_memory_in_bytes", + "max_unsafe_auto_id_timestamp", + "memory_in_bytes", + "norms_memory_in_bytes", + "points_memory_in_bytes", + "stored_fields_memory_in_bytes", + "terms_memory_in_bytes", + "term_vectors_memory_in_bytes", + "version_map_memory_in_bytes" + ] + }, + "indices.stats:ShardFileSizeInfo": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "size_in_bytes": { + "type": "number" + }, + "min_size_in_bytes": { + "type": "number" + }, + "max_size_in_bytes": { + "type": "number" + }, + "average_size_in_bytes": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "description", + "size_in_bytes" + ] + }, + "cluster.stats:ClusterIndicesShards": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/cluster.stats:ClusterIndicesShardsIndex" + }, + "primaries": { + "description": "Number of primary shards assigned to selected nodes.", + "type": "number" + }, + "replication": { + "description": "Ratio of replica shards to primary shards across all selected nodes.", + "type": "number" + }, + "total": { + "description": "Total number of shards assigned to selected nodes.", + "type": "number" + } + } + }, + "cluster.stats:ClusterIndicesShardsIndex": { + "type": "object", + "properties": { + "primaries": { + "$ref": "#/components/schemas/cluster.stats:ClusterShardMetrics" + }, + "replication": { + "$ref": "#/components/schemas/cluster.stats:ClusterShardMetrics" + }, + "shards": { + "$ref": "#/components/schemas/cluster.stats:ClusterShardMetrics" + } + }, + "required": [ + "primaries", + "replication", + "shards" + ] + }, + "cluster.stats:ClusterShardMetrics": { + "type": "object", + "properties": { + "avg": { + "description": "Mean number of shards in an index, counting only shards assigned to selected nodes.", + "type": "number" + }, + "max": { + "description": "Maximum number of shards in an index, counting only shards assigned to selected nodes.", + "type": "number" + }, + "min": { + "description": "Minimum number of shards in an index, counting only shards assigned to selected nodes.", + "type": "number" + } + }, + "required": [ + "avg", + "max", + "min" + ] + }, + "_types:StoreStats": { + "type": "object", + "properties": { + "size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "size_in_bytes": { + "description": "Total size, in bytes, of all shards assigned to selected nodes.", + "type": "number" + }, + "reserved": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "reserved_in_bytes": { + "description": "A prediction, in bytes, of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.", + "type": "number" + }, + "total_data_set_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "total_data_set_size_in_bytes": { + "description": "Total data set size, in bytes, of all shards assigned to selected nodes.\nThis includes the size of shards not stored fully on the nodes, such as the cache for partially mounted indices.", + "type": "number" + } + }, + "required": [ + "size_in_bytes", + "reserved_in_bytes" + ] + }, + "cluster.stats:FieldTypesMappings": { + "type": "object", + "properties": { + "field_types": { + "description": "Contains statistics about field data types used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + }, + "runtime_field_types": { + "description": "Contains statistics about runtime field data types used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:RuntimeFieldTypes" + } + }, + "total_field_count": { + "description": "Total number of fields in all non-system indices.", + "type": "number" + }, + "total_deduplicated_field_count": { + "description": "Total number of fields in all non-system indices, accounting for mapping deduplication.", + "type": "number" + }, + "total_deduplicated_mapping_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "total_deduplicated_mapping_size_in_bytes": { + "description": "Total size of all mappings, in bytes, after deduplication and compression.", + "type": "number" + } + }, + "required": [ + "field_types" + ] + }, + "cluster.stats:RuntimeFieldTypes": { + "type": "object", + "properties": { + "chars_max": { + "description": "Maximum number of characters for a single runtime field script.", + "type": "number" + }, + "chars_total": { + "description": "Total number of characters for the scripts that define the current runtime field data type.", + "type": "number" + }, + "count": { + "description": "Number of runtime fields mapped to the field data type in selected nodes.", + "type": "number" + }, + "doc_max": { + "description": "Maximum number of accesses to doc_values for a single runtime field script", + "type": "number" + }, + "doc_total": { + "description": "Total number of accesses to doc_values for the scripts that define the current runtime field data type.", + "type": "number" + }, + "index_count": { + "description": "Number of indices containing a mapping of the runtime field data type in selected nodes.", + "type": "number" + }, + "lang": { + "description": "Script languages used for the runtime fields scripts.", + "type": "array", + "items": { + "type": "string" + } + }, + "lines_max": { + "description": "Maximum number of lines for a single runtime field script.", + "type": "number" + }, + "lines_total": { + "description": "Total number of lines for the scripts that define the current runtime field data type.", + "type": "number" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "scriptless_count": { + "description": "Number of runtime fields that don’t declare a script.", + "type": "number" + }, + "shadowed_count": { + "description": "Number of runtime fields that shadow an indexed field.", + "type": "number" + }, + "source_max": { + "description": "Maximum number of accesses to _source for a single runtime field script.", + "type": "number" + }, + "source_total": { + "description": "Total number of accesses to _source for the scripts that define the current runtime field data type.", + "type": "number" + } + }, + "required": [ + "chars_max", + "chars_total", + "count", + "doc_max", + "doc_total", + "index_count", + "lang", + "lines_max", + "lines_total", + "name", + "scriptless_count", + "shadowed_count", + "source_max", + "source_total" + ] + }, + "cluster.stats:IndicesVersions": { + "type": "object", + "properties": { + "index_count": { + "type": "number" + }, + "primary_shard_count": { + "type": "number" + }, + "total_primary_bytes": { + "type": "number" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "index_count", + "primary_shard_count", + "total_primary_bytes", + "version" + ] + }, + "cluster.stats:ClusterNodes": { + "type": "object", + "properties": { + "count": { + "$ref": "#/components/schemas/cluster.stats:ClusterNodeCount" + }, + "discovery_types": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-hosts-providers.html" + }, + "description": "Contains statistics about the discovery types used by selected nodes.", + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "fs": { + "$ref": "#/components/schemas/cluster.stats:ClusterFileSystem" + }, + "indexing_pressure": { + "$ref": "#/components/schemas/cluster.stats:IndexingPressure" + }, + "ingest": { + "$ref": "#/components/schemas/cluster.stats:ClusterIngest" + }, + "jvm": { + "$ref": "#/components/schemas/cluster.stats:ClusterJvm" + }, + "network_types": { + "$ref": "#/components/schemas/cluster.stats:ClusterNetworkTypes" + }, + "os": { + "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystem" + }, + "packaging_types": { + "description": "Contains statistics about Elasticsearch distributions installed on selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:NodePackagingType" + } + }, + "plugins": { + "description": "Contains statistics about installed plugins and modules by selected nodes.\nIf no plugins or modules are installed, this array is empty.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:PluginStats" + } + }, + "process": { + "$ref": "#/components/schemas/cluster.stats:ClusterProcess" + }, + "versions": { + "description": "Array of Elasticsearch versions used on selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:VersionString" + } + } + }, + "required": [ + "count", + "discovery_types", + "fs", + "indexing_pressure", + "ingest", + "jvm", + "network_types", + "os", + "packaging_types", + "plugins", + "process", + "versions" + ] + }, + "cluster.stats:ClusterNodeCount": { + "type": "object", + "properties": { + "coordinating_only": { + "type": "number" + }, + "data": { + "type": "number" + }, + "data_cold": { + "type": "number" + }, + "data_content": { + "type": "number" + }, + "data_frozen": { + "type": "number" + }, + "data_hot": { + "type": "number" + }, + "data_warm": { + "type": "number" + }, + "ingest": { + "type": "number" + }, + "master": { + "type": "number" + }, + "ml": { + "type": "number" + }, + "remote_cluster_client": { + "type": "number" + }, + "total": { + "type": "number" + }, + "transform": { + "type": "number" + }, + "voting_only": { + "type": "number" + } + }, + "required": [ + "coordinating_only", + "data", + "data_cold", + "data_content", + "data_hot", + "data_warm", + "ingest", + "master", + "ml", + "remote_cluster_client", + "total", + "transform", + "voting_only" + ] + }, + "cluster.stats:ClusterFileSystem": { + "type": "object", + "properties": { + "available_in_bytes": { + "description": "Total number of bytes available to JVM in file stores across all selected nodes.\nDepending on operating system or process-level restrictions, this number may be less than `nodes.fs.free_in_byes`.\nThis is the actual amount of free disk space the selected Elasticsearch nodes can use.", + "type": "number" + }, + "free_in_bytes": { + "description": "Total number of unallocated bytes in file stores across all selected nodes.", + "type": "number" + }, + "total_in_bytes": { + "description": "Total size, in bytes, of all file stores across all selected nodes.", + "type": "number" + } + }, + "required": [ + "available_in_bytes", + "free_in_bytes", + "total_in_bytes" + ] + }, + "cluster.stats:IndexingPressure": { + "type": "object", + "properties": { + "memory": { + "$ref": "#/components/schemas/cluster.stats:IndexingPressureMemory" + } + }, + "required": [ + "memory" + ] + }, + "cluster.stats:IndexingPressureMemory": { + "type": "object", + "properties": { + "current": { + "$ref": "#/components/schemas/cluster.stats:IndexingPressureMemorySummary" + }, + "limit_in_bytes": { + "type": "number" + }, + "total": { + "$ref": "#/components/schemas/cluster.stats:IndexingPressureMemorySummary" + } + }, + "required": [ + "current", + "limit_in_bytes", + "total" + ] + }, + "cluster.stats:IndexingPressureMemorySummary": { + "type": "object", + "properties": { + "all_in_bytes": { + "type": "number" + }, + "combined_coordinating_and_primary_in_bytes": { + "type": "number" + }, + "coordinating_in_bytes": { + "type": "number" + }, + "coordinating_rejections": { + "type": "number" + }, + "primary_in_bytes": { + "type": "number" + }, + "primary_rejections": { + "type": "number" + }, + "replica_in_bytes": { + "type": "number" + }, + "replica_rejections": { + "type": "number" + } + }, + "required": [ + "all_in_bytes", + "combined_coordinating_and_primary_in_bytes", + "coordinating_in_bytes", + "primary_in_bytes", + "replica_in_bytes" + ] + }, + "cluster.stats:ClusterIngest": { + "type": "object", + "properties": { + "number_of_pipelines": { + "type": "number" + }, + "processor_stats": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/cluster.stats:ClusterProcessor" + } + } + }, + "required": [ + "number_of_pipelines", + "processor_stats" + ] + }, + "cluster.stats:ClusterProcessor": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "current": { + "type": "number" + }, + "failed": { + "type": "number" + }, + "time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "count", + "current", + "failed", + "time_in_millis" + ] + }, + "cluster.stats:ClusterJvm": { + "type": "object", + "properties": { + "max_uptime_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "mem": { + "$ref": "#/components/schemas/cluster.stats:ClusterJvmMemory" + }, + "threads": { + "description": "Number of active threads in use by JVM across all selected nodes.", + "type": "number" + }, + "versions": { + "description": "Contains statistics about the JVM versions used by selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:ClusterJvmVersion" + } + } + }, + "required": [ + "max_uptime_in_millis", + "mem", + "threads", + "versions" + ] + }, + "cluster.stats:ClusterJvmMemory": { + "type": "object", + "properties": { + "heap_max_in_bytes": { + "description": "Maximum amount of memory, in bytes, available for use by the heap across all selected nodes.", + "type": "number" + }, + "heap_used_in_bytes": { + "description": "Memory, in bytes, currently in use by the heap across all selected nodes.", + "type": "number" + } + }, + "required": [ + "heap_max_in_bytes", + "heap_used_in_bytes" + ] + }, + "cluster.stats:ClusterJvmVersion": { + "type": "object", + "properties": { + "bundled_jdk": { + "description": "Always `true`. All distributions come with a bundled Java Development Kit (JDK).", + "type": "boolean" + }, + "count": { + "description": "Total number of selected nodes using JVM.", + "type": "number" + }, + "using_bundled_jdk": { + "description": "If `true`, a bundled JDK is in use by JVM.", + "type": "boolean" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "vm_name": { + "description": "Name of the JVM.", + "type": "string" + }, + "vm_vendor": { + "description": "Vendor of the JVM.", + "type": "string" + }, + "vm_version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "bundled_jdk", + "count", + "using_bundled_jdk", + "version", + "vm_name", + "vm_vendor", + "vm_version" + ] + }, + "cluster.stats:ClusterNetworkTypes": { + "type": "object", + "properties": { + "http_types": { + "description": "Contains statistics about the HTTP network types used by selected nodes.", + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "transport_types": { + "description": "Contains statistics about the transport network types used by selected nodes.", + "type": "object", + "additionalProperties": { + "type": "number" + } + } + }, + "required": [ + "http_types", + "transport_types" + ] + }, + "cluster.stats:ClusterOperatingSystem": { + "type": "object", + "properties": { + "allocated_processors": { + "description": "Number of processors used to calculate thread pool size across all selected nodes.\nThis number can be set with the processors setting of a node and defaults to the number of processors reported by the operating system.\nIn both cases, this number will never be larger than 32.", + "type": "number" + }, + "architectures": { + "description": "Contains statistics about processor architectures (for example, x86_64 or aarch64) used by selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystemArchitecture" + } + }, + "available_processors": { + "description": "Number of processors available to JVM across all selected nodes.", + "type": "number" + }, + "mem": { + "$ref": "#/components/schemas/cluster.stats:OperatingSystemMemoryInfo" + }, + "names": { + "description": "Contains statistics about operating systems used by selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystemName" + } + }, + "pretty_names": { + "description": "Contains statistics about operating systems used by selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystemPrettyName" + } + } + }, + "required": [ + "allocated_processors", + "available_processors", + "mem", + "names", + "pretty_names" + ] + }, + "cluster.stats:ClusterOperatingSystemArchitecture": { + "type": "object", + "properties": { + "arch": { + "description": "Name of an architecture used by one or more selected nodes.", + "type": "string" + }, + "count": { + "description": "Number of selected nodes using the architecture.", + "type": "number" + } + }, + "required": [ + "arch", + "count" + ] + }, + "cluster.stats:OperatingSystemMemoryInfo": { + "type": "object", + "properties": { + "adjusted_total_in_bytes": { + "description": "Total amount, in bytes, of memory across all selected nodes, but using the value specified using the `es.total_memory_bytes` system property instead of measured total memory for those nodes where that system property was set.", + "type": "number" + }, + "free_in_bytes": { + "description": "Amount, in bytes, of free physical memory across all selected nodes.", + "type": "number" + }, + "free_percent": { + "description": "Percentage of free physical memory across all selected nodes.", + "type": "number" + }, + "total_in_bytes": { + "description": "Total amount, in bytes, of physical memory across all selected nodes.", + "type": "number" + }, + "used_in_bytes": { + "description": "Amount, in bytes, of physical memory in use across all selected nodes.", + "type": "number" + }, + "used_percent": { + "description": "Percentage of physical memory in use across all selected nodes.", + "type": "number" + } + }, + "required": [ + "free_in_bytes", + "free_percent", + "total_in_bytes", + "used_in_bytes", + "used_percent" + ] + }, + "cluster.stats:ClusterOperatingSystemName": { + "type": "object", + "properties": { + "count": { + "description": "Number of selected nodes using the operating system.", + "type": "number" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "count", + "name" + ] + }, + "cluster.stats:ClusterOperatingSystemPrettyName": { + "type": "object", + "properties": { + "count": { + "description": "Number of selected nodes using the operating system.", + "type": "number" + }, + "pretty_name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "count", + "pretty_name" + ] + }, + "cluster.stats:NodePackagingType": { + "type": "object", + "properties": { + "count": { + "description": "Number of selected nodes using the distribution flavor and file type.", + "type": "number" + }, + "flavor": { + "description": "Type of Elasticsearch distribution. This is always `default`.", + "type": "string" + }, + "type": { + "description": "File type (such as `tar` or `zip`) used for the distribution package.", + "type": "string" + } + }, + "required": [ + "count", + "flavor", + "type" + ] + }, + "_types:PluginStats": { + "type": "object", + "properties": { + "classname": { + "type": "string" + }, + "description": { + "type": "string" + }, + "elasticsearch_version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "extended_plugins": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_native_controller": { + "type": "boolean" + }, + "java_version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "licensed": { + "type": "boolean" + } + }, + "required": [ + "classname", + "description", + "elasticsearch_version", + "extended_plugins", + "has_native_controller", + "java_version", + "name", + "version", + "licensed" + ] + }, + "cluster.stats:ClusterProcess": { + "type": "object", + "properties": { + "cpu": { + "$ref": "#/components/schemas/cluster.stats:ClusterProcessCpu" + }, + "open_file_descriptors": { + "$ref": "#/components/schemas/cluster.stats:ClusterProcessOpenFileDescriptors" + } + }, + "required": [ + "cpu", + "open_file_descriptors" + ] + }, + "cluster.stats:ClusterProcessCpu": { + "type": "object", + "properties": { + "percent": { + "description": "Percentage of CPU used across all selected nodes.\nReturns `-1` if not supported.", + "type": "number" + } + }, + "required": [ + "percent" + ] + }, + "cluster.stats:ClusterProcessOpenFileDescriptors": { + "type": "object", + "properties": { + "avg": { + "description": "Average number of concurrently open file descriptors.\nReturns `-1` if not supported.", + "type": "number" + }, + "max": { + "description": "Maximum number of concurrently open file descriptors allowed across all selected nodes.\nReturns `-1` if not supported.", + "type": "number" + }, + "min": { + "description": "Minimum number of concurrently open file descriptors across all selected nodes.\nReturns -1 if not supported.", + "type": "number" + } + }, + "required": [ + "avg", + "max", + "min" + ] + }, + "nodes._types:NodesResponseBase": { + "type": "object", + "properties": { + "_nodes": { + "$ref": "#/components/schemas/_types:NodeStatistics" + } + } + }, + "_types:NodeStatistics": { + "type": "object", + "properties": { + "failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + }, + "total": { + "description": "Total number of nodes selected by the request.", + "type": "number" + }, + "successful": { + "description": "Number of nodes that responded successfully to the request.", + "type": "number" + }, + "failed": { + "description": "Number of nodes that rejected the request or failed to respond. If this value is not 0, a reason for the rejection or failure is included in the response.", + "type": "number" + } + }, + "required": [ + "total", + "successful", + "failed" + ] + }, + "_types:WriteResponseBase": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "_primary_term": { + "type": "number" + }, + "result": { + "$ref": "#/components/schemas/_types:Result" + }, + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "_version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "forced_refresh": { + "type": "boolean" + } + }, + "required": [ + "_id", + "_index", + "_primary_term", + "result", + "_seq_no", + "_shards", + "_version" + ] + }, + "_types:Result": { + "type": "string", + "enum": [ + "created", + "updated", + "deleted", + "not_found", + "noop" + ] + }, + "_types:Conflicts": { + "type": "string", + "enum": [ + "abort", + "proceed" + ] + }, + "_types:Slices": { + "description": "Slices configuration used to parallelize a process.", + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "#/components/schemas/_types:SlicesCalculation" + } + ] + }, + "_types:SlicesCalculation": { + "type": "string", + "enum": [ + "auto" + ] + }, + "_types:BulkIndexByScrollFailure": { + "type": "object", + "properties": { + "cause": { + "$ref": "#/components/schemas/_types:ErrorCause" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "status": { + "type": "number" + }, + "type": { + "type": "string" + } + }, + "required": [ + "cause", + "id", + "index", + "status", + "type" + ] + }, + "_types:Retries": { + "type": "object", + "properties": { + "bulk": { + "type": "number" + }, + "search": { + "type": "number" + } + }, + "required": [ + "bulk", + "search" + ] + }, + "_types:TaskId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "enrich.execute_policy:ExecuteEnrichPolicyStatus": { + "type": "object", + "properties": { + "phase": { + "$ref": "#/components/schemas/enrich.execute_policy:EnrichPolicyPhase" + } + }, + "required": [ + "phase" + ] + }, + "enrich.execute_policy:EnrichPolicyPhase": { + "type": "string", + "enum": [ + "SCHEDULED", + "RUNNING", + "COMPLETE", + "FAILED" + ] + }, + "enrich._types:Summary": { + "type": "object", + "properties": { + "config": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/enrich._types:Policy" + }, + "minProperties": 1, + "maxProperties": 1 + } + }, + "required": [ + "config" + ] + }, + "enrich._types:Policy": { + "type": "object", + "properties": { + "enrich_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "match_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "query": { + "type": "string" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "elasticsearch_version": { + "type": "string" + } + }, + "required": [ + "enrich_fields", + "indices", + "match_field" + ] + }, + "enrich.stats:CoordinatorStats": { + "type": "object", + "properties": { + "executed_searches_total": { + "type": "number" + }, + "node_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "queue_size": { + "type": "number" + }, + "remote_requests_current": { + "type": "number" + }, + "remote_requests_total": { + "type": "number" + } + }, + "required": [ + "executed_searches_total", + "node_id", + "queue_size", + "remote_requests_current", + "remote_requests_total" + ] + }, + "enrich.stats:ExecutingPolicy": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "task": { + "$ref": "#/components/schemas/tasks._types:TaskInfo" + } + }, + "required": [ + "name", + "task" + ] + }, + "tasks._types:TaskInfo": { + "type": "object", + "properties": { + "action": { + "type": "string" + }, + "cancelled": { + "type": "boolean" + }, + "cancellable": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "headers": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "id": { + "type": "number" + }, + "node": { + "$ref": "#/components/schemas/_types:NodeId" + }, + "running_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "running_time_in_nanos": { + "$ref": "#/components/schemas/_types:DurationValueUnitNanos" + }, + "start_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "status": { + "description": "Task status information can vary wildly from task to task.", + "type": "object" + }, + "type": { + "type": "string" + }, + "parent_task_id": { + "$ref": "#/components/schemas/_types:TaskId" + } + }, + "required": [ + "action", + "cancellable", + "headers", + "id", + "node", + "running_time_in_nanos", + "start_time_in_millis", + "type" + ] + }, + "enrich.stats:CacheStats": { + "type": "object", + "properties": { + "node_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "count": { + "type": "number" + }, + "hits": { + "type": "number" + }, + "misses": { + "type": "number" + }, + "evictions": { + "type": "number" + } + }, + "required": [ + "node_id", + "count", + "hits", + "misses", + "evictions" + ] + }, + "_global.field_caps:FieldCapability": { + "type": "object", + "properties": { + "aggregatable": { + "description": "Whether this field can be aggregated on all indices.", + "type": "boolean" + }, + "indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "non_aggregatable_indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "non_searchable_indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "searchable": { + "description": "Whether this field is indexed for search on all indices.", + "type": "boolean" + }, + "type": { + "type": "string" + }, + "metadata_field": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-fields.html" + }, + "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.", + "type": "boolean" + }, + "time_series_metric": { + "$ref": "#/components/schemas/_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.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_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.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:IndexName" + } + } + }, + "required": [ + "aggregatable", + "searchable", + "type" + ] + }, + "_types:IndexAlias": { + "type": "string" + }, + "fleet._types:Checkpoint": { + "type": "number" + }, + "_global.msearch:RequestItem": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.msearch:MultisearchHeader" + }, + { + "$ref": "#/components/schemas/_global.msearch:MultisearchBody" + } + ] + }, + "_global.msearch:MultisearchHeader": { + "type": "object", + "properties": { + "allow_no_indices": { + "type": "boolean" + }, + "expand_wildcards": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "ignore_unavailable": { + "type": "boolean" + }, + "index": { + "$ref": "#/components/schemas/_types:Indices" + }, + "preference": { + "type": "string" + }, + "request_cache": { + "type": "boolean" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "search_type": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "ccs_minimize_roundtrips": { + "type": "boolean" + }, + "allow_partial_search_results": { + "type": "boolean" + }, + "ignore_throttled": { + "type": "boolean" + } + } + }, + "_global.msearch:MultisearchBody": { + "type": "object", + "properties": { + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "collapse": { + "$ref": "#/components/schemas/_global.search._types:FieldCollapse" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "explain": { + "description": "If true, returns detailed information about score computation as part of a hit.", + "type": "boolean" + }, + "ext": { + "description": "Configuration of search extensions defined by Elasticsearch plugins.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "stored_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "docvalue_fields": { + "description": "Array of wildcard (*) patterns. The request returns doc values for field\nnames matching these patterns in the hits.fields property of the response.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "knn": { + "description": "Defines the approximate kNN search to run.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:KnnQuery" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:KnnQuery" + } + } + ] + }, + "from": { + "description": "Starting document offset. By default, you cannot page through more than 10,000\nhits using the from and size parameters. To page through more hits, use the\nsearch_after parameter.", + "type": "number" + }, + "highlight": { + "$ref": "#/components/schemas/_global.search._types:Highlight" + }, + "indices_boost": { + "description": "Boosts the _score of documents from specified indices.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "number" + } + } + }, + "min_score": { + "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in the search results.", + "type": "number" + }, + "post_filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "profile": { + "type": "boolean" + }, + "rescore": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:Rescore" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Rescore" + } + } + ] + }, + "script_fields": { + "description": "Retrieve a script evaluation (based on different fields) for each hit.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "search_after": { + "$ref": "#/components/schemas/_types:SortResults" + }, + "size": { + "description": "The number of hits to return. By default, you cannot page through more\nthan 10,000 hits using the from and size parameters. To page through more\nhits, use the search_after parameter.", + "type": "number" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "fields": { + "description": "Array of wildcard (*) patterns. The request returns values for field names\nmatching these patterns in the hits.fields property of the response.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "terminate_after": { + "description": "Maximum number of documents to collect for each shard. If a query reaches this\nlimit, Elasticsearch terminates the query early. Elasticsearch collects documents\nbefore sorting. Defaults to 0, which does not terminate query execution early.", + "type": "number" + }, + "stats": { + "description": "Stats groups to associate with the search. Each group maintains a statistics\naggregation for its associated searches. You can retrieve these stats using\nthe indices stats API.", + "type": "array", + "items": { + "type": "string" + } + }, + "timeout": { + "description": "Specifies the period of time to wait for a response from each shard. If no response\nis 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.", + "type": "boolean" + }, + "track_total_hits": { + "$ref": "#/components/schemas/_global.search._types:TrackHits" + }, + "version": { + "description": "If true, returns document version as part of a hit.", + "type": "boolean" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "seq_no_primary_term": { + "description": "If true, returns sequence number and primary term of the last modification\nof each hit. See Optimistic concurrency control.", + "type": "boolean" + }, + "pit": { + "$ref": "#/components/schemas/_global.search._types:PointInTimeReference" + }, + "suggest": { + "$ref": "#/components/schemas/_global.search._types:Suggester" + } + } + }, + "_global.msearch:ResponseItem": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.msearch:MultiSearchItem" + }, + { + "$ref": "#/components/schemas/_types:ErrorResponseBase" + } + ] + }, + "_global.msearch:MultiSearchItem": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.search:ResponseBody" + }, + { + "type": "object", + "properties": { + "status": { + "type": "number" + } + } + } + ] + }, + "_global.search:ResponseBody": { + "type": "object", + "properties": { + "took": { + "type": "number" + }, + "timed_out": { + "type": "boolean" + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "hits": { + "$ref": "#/components/schemas/_global.search._types:HitsMetadata" + }, + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:Aggregate" + } + }, + "_clusters": { + "$ref": "#/components/schemas/_types:ClusterStatistics" + }, + "fields": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "max_score": { + "type": "number" + }, + "num_reduce_phases": { + "type": "number" + }, + "profile": { + "$ref": "#/components/schemas/_global.search._types:Profile" + }, + "pit_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_scroll_id": { + "$ref": "#/components/schemas/_types:ScrollId" + }, + "suggest": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Suggest" + } + } + }, + "terminated_early": { + "type": "boolean" + } + }, + "required": [ + "took", + "timed_out", + "_shards", + "hits" + ] + }, + "_types:ErrorResponseBase": { + "type": "object", + "properties": { + "error": { + "$ref": "#/components/schemas/_types:ErrorCause" + }, + "status": { + "type": "number" + } + }, + "required": [ + "error", + "status" + ] + }, + "_global.get:GetResult": { + "type": "object", + "properties": { + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "fields": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "found": { + "type": "boolean" + }, + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_primary_term": { + "type": "number" + }, + "_routing": { + "type": "string" + }, + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "_source": { + "type": "object" + }, + "_version": { + "$ref": "#/components/schemas/_types:VersionNumber" + } + }, + "required": [ + "_index", + "found", + "_id" + ] + }, + "_types:StoredScript": { + "type": "object", + "properties": { + "lang": { + "$ref": "#/components/schemas/_types:ScriptLanguage" + }, + "options": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "source": { + "description": "The script source.", + "type": "string" + } + }, + "required": [ + "lang", + "source" + ] + }, + "graph._types:Hop": { + "type": "object", + "properties": { + "connections": { + "$ref": "#/components/schemas/graph._types:Hop" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "vertices": { + "description": "Contains the fields you are interested in.", + "type": "array", + "items": { + "$ref": "#/components/schemas/graph._types:VertexDefinition" + } + } + }, + "required": [ + "query", + "vertices" + ] + }, + "graph._types:VertexDefinition": { + "type": "object", + "properties": { + "exclude": { + "description": "Prevents the specified terms from being included in the results.", + "type": "array", + "items": { + "type": "string" + } + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "include": { + "description": "Identifies the terms of interest that form the starting points from which you want to spider out.", + "type": "array", + "items": { + "$ref": "#/components/schemas/graph._types:VertexInclude" + } + }, + "min_doc_count": { + "description": "Specifies how many documents must contain a pair of terms before it is considered to be a useful connection.\nThis setting acts as a certainty threshold.", + "type": "number" + }, + "shard_min_doc_count": { + "description": "Controls how many documents on a particular shard have to contain a pair of terms before the connection is returned for global consideration.", + "type": "number" + }, + "size": { + "description": "Specifies the maximum number of vertex terms returned for each field.", + "type": "number" + } + }, + "required": [ + "field" + ] + }, + "graph._types:VertexInclude": { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "term": { + "type": "string" + } + }, + "required": [ + "boost", + "term" + ] + }, + "graph._types:ExploreControls": { + "type": "object", + "properties": { + "sample_diversity": { + "$ref": "#/components/schemas/graph._types:SampleDiversity" + }, + "sample_size": { + "description": "Each hop considers a sample of the best-matching documents on each shard.\nUsing samples improves the speed of execution and keeps exploration focused on meaningfully-connected terms.\nVery small values (less than 50) might not provide sufficient weight-of-evidence to identify significant connections between terms.\nVery large sample sizes can dilute the quality of the results and increase execution times.", + "type": "number" + }, + "timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "use_significance": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-significantterms-aggregation.html" + }, + "description": "Filters associated terms so only those that are significantly associated with your query are included.", + "type": "boolean" + } + }, + "required": [ + "use_significance" + ] + }, + "graph._types:SampleDiversity": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "max_docs_per_value": { + "type": "number" + } + }, + "required": [ + "field", + "max_docs_per_value" + ] + }, + "graph._types:Connection": { + "type": "object", + "properties": { + "doc_count": { + "type": "number" + }, + "source": { + "type": "number" + }, + "target": { + "type": "number" + }, + "weight": { + "type": "number" + } + }, + "required": [ + "doc_count", + "source", + "target", + "weight" + ] + }, + "graph._types:Vertex": { + "type": "object", + "properties": { + "depth": { + "type": "number" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "term": { + "type": "string" + }, + "weight": { + "type": "number" + } + }, + "required": [ + "depth", + "field", + "term", + "weight" + ] + }, + "_types:OpType": { + "type": "string", + "enum": [ + "index", + "create" + ] + }, + "indices.analyze:TextToAnalyze": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "indices.analyze:AnalyzeDetail": { + "type": "object", + "properties": { + "analyzer": { + "$ref": "#/components/schemas/indices.analyze:AnalyzerDetail" + }, + "charfilters": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.analyze:CharFilterDetail" + } + }, + "custom_analyzer": { + "type": "boolean" + }, + "tokenfilters": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.analyze:TokenDetail" + } + }, + "tokenizer": { + "$ref": "#/components/schemas/indices.analyze:TokenDetail" + } + }, + "required": [ + "custom_analyzer" + ] + }, + "indices.analyze:AnalyzerDetail": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "tokens": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.analyze:ExplainAnalyzeToken" + } + } + }, + "required": [ + "name", + "tokens" + ] + }, + "indices.analyze:ExplainAnalyzeToken": { + "type": "object", + "properties": { + "bytes": { + "type": "string" + }, + "end_offset": { + "type": "number" + }, + "keyword": { + "type": "boolean" + }, + "position": { + "type": "number" + }, + "positionLength": { + "type": "number" + }, + "start_offset": { + "type": "number" + }, + "termFrequency": { + "type": "number" + }, + "token": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "bytes", + "end_offset", + "position", + "positionLength", + "start_offset", + "termFrequency", + "token", + "type" + ] + }, + "indices.analyze:CharFilterDetail": { + "type": "object", + "properties": { + "filtered_text": { + "type": "array", + "items": { + "type": "string" + } + }, + "name": { + "type": "string" + } + }, + "required": [ + "filtered_text", + "name" + ] + }, + "indices.analyze:TokenDetail": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "tokens": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.analyze:ExplainAnalyzeToken" + } + } + }, + "required": [ + "name", + "tokens" + ] + }, + "indices.analyze:AnalyzeToken": { + "type": "object", + "properties": { + "end_offset": { + "type": "number" + }, + "position": { + "type": "number" + }, + "positionLength": { + "type": "number" + }, + "start_offset": { + "type": "number" + }, + "token": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "end_offset", + "position", + "start_offset", + "token", + "type" + ] + }, + "indices.close:CloseIndexResult": { + "type": "object", + "properties": { + "closed": { + "type": "boolean" + }, + "shards": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.close:CloseShardResult" + } + } + }, + "required": [ + "closed" + ] + }, + "indices.close:CloseShardResult": { + "type": "object", + "properties": { + "failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ShardFailure" + } + } + }, + "required": [ + "failures" + ] + }, + "indices.data_streams_stats:DataStreamsStatsItem": { + "type": "object", + "properties": { + "backing_indices": { + "description": "Current number of backing indices for the data stream.", + "type": "number" + }, + "data_stream": { + "$ref": "#/components/schemas/_types:Name" + }, + "maximum_timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "store_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "store_size_bytes": { + "description": "Total size, in bytes, of all shards for the data stream’s backing indices.", + "type": "number" + } + }, + "required": [ + "backing_indices", + "data_stream", + "maximum_timestamp", + "store_size_bytes" + ] + }, + "_types:IndicesResponseBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + }, + { + "type": "object", + "properties": { + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + } + } + } + ] + }, + "_types:DataStreamNames": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:DataStreamName" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:DataStreamName" + } + } + ] + }, + "indices.explain_data_lifecycle:DataStreamLifecycleExplain": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "managed_by_lifecycle": { + "type": "boolean" + }, + "index_creation_date_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "time_since_index_creation": { + "$ref": "#/components/schemas/_types:Duration" + }, + "rollover_date_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "time_since_rollover": { + "$ref": "#/components/schemas/_types:Duration" + }, + "lifecycle": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleWithRollover" + }, + "generation_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "error": { + "type": "string" + } + }, + "required": [ + "index", + "managed_by_lifecycle" + ] + }, + "indices.get:Features": { + "oneOf": [ + { + "$ref": "#/components/schemas/indices.get:Feature" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.get:Feature" + } + } + ] + }, + "indices.get:Feature": { + "type": "string", + "enum": [ + "aliases", + "mappings", + "settings" + ] + }, + "indices.get_alias:IndexAliases": { + "type": "object", + "properties": { + "aliases": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:AliasDefinition" + } + } + }, + "required": [ + "aliases" + ] + }, + "indices.get_data_lifecycle:DataStreamWithLifecycle": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:DataStreamName" + }, + "lifecycle": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycle" + } + }, + "required": [ + "name" + ] + }, + "indices._types:DataStream": { + "type": "object", + "properties": { + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "allow_custom_routing": { + "description": "If `true`, the data stream allows custom routing on write request.", + "type": "boolean" + }, + "generation": { + "description": "Current generation for the data stream. This number acts as a cumulative count of the stream’s rollovers, starting at 1.", + "type": "number" + }, + "hidden": { + "description": "If `true`, the data stream is hidden.", + "type": "boolean" + }, + "ilm_policy": { + "$ref": "#/components/schemas/_types:Name" + }, + "indices": { + "description": "Array of objects containing information about the data stream’s backing indices.\nThe last item in this array contains information about the stream’s current write index.", + "type": "array", + "items": { + "$ref": "#/components/schemas/indices._types:DataStreamIndex" + } + }, + "lifecycle": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleWithRollover" + }, + "name": { + "$ref": "#/components/schemas/_types:DataStreamName" + }, + "replicated": { + "description": "If `true`, the data stream is created and managed by cross-cluster replication and the local cluster can not write into this data stream or change its mappings.", + "type": "boolean" + }, + "status": { + "$ref": "#/components/schemas/_types:HealthStatus" + }, + "system": { + "description": "If `true`, the data stream is created and managed by an Elastic stack component and cannot be modified through normal user interaction.", + "type": "boolean" + }, + "template": { + "$ref": "#/components/schemas/_types:Name" + }, + "timestamp_field": { + "$ref": "#/components/schemas/indices._types:DataStreamTimestampField" + } + }, + "required": [ + "generation", + "hidden", + "indices", + "name", + "status", + "template", + "timestamp_field" + ] + }, + "indices._types:DataStreamIndex": { + "type": "object", + "properties": { + "index_name": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "index_uuid": { + "$ref": "#/components/schemas/_types:Uuid" + } + }, + "required": [ + "index_name", + "index_uuid" + ] + }, + "indices._types:DataStreamTimestampField": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "name" + ] + }, + "indices.get_index_template:IndexTemplateItem": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "index_template": { + "$ref": "#/components/schemas/indices._types:IndexTemplate" + } + }, + "required": [ + "name", + "index_template" + ] + }, + "indices._types:IndexTemplate": { + "type": "object", + "properties": { + "index_patterns": { + "$ref": "#/components/schemas/_types:Names" + }, + "composed_of": { + "description": "An ordered list of component template names.\nComponent templates are merged in the order specified, meaning that the last component template specified has the highest precedence.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "template": { + "$ref": "#/components/schemas/indices._types:IndexTemplateSummary" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "priority": { + "description": "Priority to determine index template precedence when a new data stream or index is created.\nThe index template with the highest priority is chosen.\nIf no priority is specified the template is treated as though it is of priority 0 (lowest priority).\nThis number is not automatically generated by Elasticsearch.", + "type": "number" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "allow_auto_create": { + "type": "boolean" + }, + "data_stream": { + "$ref": "#/components/schemas/indices._types:IndexTemplateDataStreamConfiguration" + } + }, + "required": [ + "index_patterns", + "composed_of" + ] + }, + "indices._types:IndexTemplateSummary": { + "type": "object", + "properties": { + "aliases": { + "description": "Aliases to add.\nIf the index template includes a `data_stream` object, these are data stream aliases.\nOtherwise, these are index aliases.\nData stream aliases ignore the `index_routing`, `routing`, and `search_routing` options.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "settings": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + }, + "lifecycle": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleWithRollover" + } + } + }, + "indices._types:IndexTemplateDataStreamConfiguration": { + "type": "object", + "properties": { + "hidden": { + "description": "If true, the data stream is hidden.", + "type": "boolean" + }, + "allow_custom_routing": { + "description": "If true, the data stream supports custom routing.", + "type": "boolean" + } + } + }, + "indices.get_mapping:IndexMappingRecord": { + "type": "object", + "properties": { + "item": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + } + }, + "required": [ + "mappings" + ] + }, + "indices._types:TemplateMapping": { + "type": "object", + "properties": { + "aliases": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } + }, + "index_patterns": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "order": { + "type": "number" + }, + "settings": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + } + }, + "required": [ + "aliases", + "index_patterns", + "mappings", + "order", + "settings" + ] + }, + "indices.modify_data_stream:Action": { + "type": "object", + "properties": { + "add_backing_index": { + "$ref": "#/components/schemas/indices.modify_data_stream:IndexAndDataStreamAction" + }, + "remove_backing_index": { + "$ref": "#/components/schemas/indices.modify_data_stream:IndexAndDataStreamAction" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "indices.modify_data_stream:IndexAndDataStreamAction": { + "type": "object", + "properties": { + "data_stream": { + "$ref": "#/components/schemas/_types:DataStreamName" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "required": [ + "data_stream", + "index" + ] + }, + "indices.put_index_template:IndexTemplateMapping": { + "type": "object", + "properties": { + "aliases": { + "description": "Aliases to add.\nIf the index template includes a `data_stream` object, these are data stream aliases.\nOtherwise, these are index aliases.\nData stream aliases ignore the `index_routing`, `routing`, and `search_routing` options.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "settings": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + }, + "lifecycle": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycle" + } + } + }, + "indices._types:DataStreamVisibility": { + "type": "object", + "properties": { + "hidden": { + "type": "boolean" + } + } + }, + "indices.recovery:RecoveryStatus": { + "type": "object", + "properties": { + "shards": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.recovery:ShardRecovery" + } + } + }, + "required": [ + "shards" + ] + }, + "indices.recovery:ShardRecovery": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "index": { + "$ref": "#/components/schemas/indices.recovery:RecoveryIndexStatus" + }, + "primary": { + "type": "boolean" + }, + "source": { + "$ref": "#/components/schemas/indices.recovery:RecoveryOrigin" + }, + "stage": { + "type": "string" + }, + "start": { + "$ref": "#/components/schemas/indices.recovery:RecoveryStartStatus" + }, + "start_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "start_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "stop_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "stop_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "target": { + "$ref": "#/components/schemas/indices.recovery:RecoveryOrigin" + }, + "total_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "translog": { + "$ref": "#/components/schemas/indices.recovery:TranslogStatus" + }, + "type": { + "type": "string" + }, + "verify_index": { + "$ref": "#/components/schemas/indices.recovery:VerifyIndex" + } + }, + "required": [ + "id", + "index", + "primary", + "source", + "stage", + "start_time_in_millis", + "target", + "total_time_in_millis", + "translog", + "type", + "verify_index" + ] + }, + "indices.recovery:RecoveryIndexStatus": { + "type": "object", + "properties": { + "bytes": { + "$ref": "#/components/schemas/indices.recovery:RecoveryBytes" + }, + "files": { + "$ref": "#/components/schemas/indices.recovery:RecoveryFiles" + }, + "size": { + "$ref": "#/components/schemas/indices.recovery:RecoveryBytes" + }, + "source_throttle_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "source_throttle_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "target_throttle_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "target_throttle_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "files", + "size", + "source_throttle_time_in_millis", + "target_throttle_time_in_millis", + "total_time_in_millis" + ] + }, + "indices.recovery:RecoveryBytes": { + "type": "object", + "properties": { + "percent": { + "$ref": "#/components/schemas/_types:Percentage" + }, + "recovered": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "recovered_in_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "recovered_from_snapshot": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "recovered_from_snapshot_in_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "reused": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "reused_in_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "total": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "total_in_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + } + }, + "required": [ + "percent", + "recovered_in_bytes", + "reused_in_bytes", + "total_in_bytes" + ] + }, + "indices.recovery:RecoveryFiles": { + "type": "object", + "properties": { + "details": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.recovery:FileDetails" + } + }, + "percent": { + "$ref": "#/components/schemas/_types:Percentage" + }, + "recovered": { + "type": "number" + }, + "reused": { + "type": "number" + }, + "total": { + "type": "number" + } + }, + "required": [ + "percent", + "recovered", + "reused", + "total" + ] + }, + "indices.recovery:FileDetails": { + "type": "object", + "properties": { + "length": { + "type": "number" + }, + "name": { + "type": "string" + }, + "recovered": { + "type": "number" + } + }, + "required": [ + "length", + "name", + "recovered" + ] + }, + "indices.recovery:RecoveryOrigin": { + "type": "object", + "properties": { + "hostname": { + "type": "string" + }, + "host": { + "$ref": "#/components/schemas/_types:Host" + }, + "transport_address": { + "$ref": "#/components/schemas/_types:TransportAddress" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "ip": { + "$ref": "#/components/schemas/_types:Ip" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "bootstrap_new_history_uuid": { + "type": "boolean" + }, + "repository": { + "$ref": "#/components/schemas/_types:Name" + }, + "snapshot": { + "$ref": "#/components/schemas/_types:Name" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "restoreUUID": { + "$ref": "#/components/schemas/_types:Uuid" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + } + } + }, + "indices.recovery:RecoveryStartStatus": { + "type": "object", + "properties": { + "check_index_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "check_index_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "check_index_time_in_millis", + "total_time_in_millis" + ] + }, + "indices.recovery:TranslogStatus": { + "type": "object", + "properties": { + "percent": { + "$ref": "#/components/schemas/_types:Percentage" + }, + "recovered": { + "type": "number" + }, + "total": { + "type": "number" + }, + "total_on_start": { + "type": "number" + }, + "total_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "percent", + "recovered", + "total", + "total_on_start", + "total_time_in_millis" + ] + }, + "indices.recovery:VerifyIndex": { + "type": "object", + "properties": { + "check_index_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "check_index_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "check_index_time_in_millis", + "total_time_in_millis" + ] + }, + "indices.resolve_index:ResolveIndexItem": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "aliases": { + "type": "array", + "items": { + "type": "string" + } + }, + "attributes": { + "type": "array", + "items": { + "type": "string" + } + }, + "data_stream": { + "$ref": "#/components/schemas/_types:DataStreamName" + } + }, + "required": [ + "name", + "attributes" + ] + }, + "indices.resolve_index:ResolveIndexAliasItem": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "indices": { + "$ref": "#/components/schemas/_types:Indices" + } + }, + "required": [ + "name", + "indices" + ] + }, + "indices.resolve_index:ResolveIndexDataStreamsItem": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:DataStreamName" + }, + "timestamp_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "backing_indices": { + "$ref": "#/components/schemas/_types:Indices" + } + }, + "required": [ + "name", + "timestamp_field", + "backing_indices" + ] + }, + "indices.rollover:RolloverConditions": { + "type": "object", + "properties": { + "min_age": { + "$ref": "#/components/schemas/_types:Duration" + }, + "max_age": { + "$ref": "#/components/schemas/_types:Duration" + }, + "max_age_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "min_docs": { + "type": "number" + }, + "max_docs": { + "type": "number" + }, + "max_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "max_size_bytes": { + "type": "number" + }, + "min_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "min_size_bytes": { + "type": "number" + }, + "max_primary_shard_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "max_primary_shard_size_bytes": { + "type": "number" + }, + "min_primary_shard_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "min_primary_shard_size_bytes": { + "type": "number" + }, + "max_primary_shard_docs": { + "type": "number" + }, + "min_primary_shard_docs": { + "type": "number" + } + } + }, + "indices.simulate_template:Overlapping": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "index_patterns": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "name", + "index_patterns" + ] + }, + "indices.simulate_template:Template": { + "type": "object", + "properties": { + "aliases": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "settings": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + } + }, + "required": [ + "aliases", + "mappings", + "settings" + ] + }, + "indices.stats:IndicesStats": { + "type": "object", + "properties": { + "primaries": { + "$ref": "#/components/schemas/indices.stats:IndexStats" + }, + "shards": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.stats:ShardStats" + } + } + }, + "total": { + "$ref": "#/components/schemas/indices.stats:IndexStats" + }, + "uuid": { + "$ref": "#/components/schemas/_types:Uuid" + }, + "health": { + "$ref": "#/components/schemas/_types:HealthStatus" + }, + "status": { + "$ref": "#/components/schemas/indices.stats:IndexMetadataState" + } + } + }, + "indices.stats:IndexStats": { + "type": "object", + "properties": { + "completion": { + "$ref": "#/components/schemas/_types:CompletionStats" + }, + "docs": { + "$ref": "#/components/schemas/_types:DocStats" + }, + "fielddata": { + "$ref": "#/components/schemas/_types:FielddataStats" + }, + "flush": { + "$ref": "#/components/schemas/_types:FlushStats" + }, + "get": { + "$ref": "#/components/schemas/_types:GetStats" + }, + "indexing": { + "$ref": "#/components/schemas/_types:IndexingStats" + }, + "indices": { + "$ref": "#/components/schemas/indices.stats:IndicesStats" + }, + "merges": { + "$ref": "#/components/schemas/_types:MergesStats" + }, + "query_cache": { + "$ref": "#/components/schemas/_types:QueryCacheStats" + }, + "recovery": { + "$ref": "#/components/schemas/_types:RecoveryStats" + }, + "refresh": { + "$ref": "#/components/schemas/_types:RefreshStats" + }, + "request_cache": { + "$ref": "#/components/schemas/_types:RequestCacheStats" + }, + "search": { + "$ref": "#/components/schemas/_types:SearchStats" + }, + "segments": { + "$ref": "#/components/schemas/_types:SegmentsStats" + }, + "store": { + "$ref": "#/components/schemas/_types:StoreStats" + }, + "translog": { + "$ref": "#/components/schemas/_types:TranslogStats" + }, + "warmer": { + "$ref": "#/components/schemas/_types:WarmerStats" + }, + "bulk": { + "$ref": "#/components/schemas/_types:BulkStats" + }, + "shard_stats": { + "$ref": "#/components/schemas/indices.stats:ShardsTotalStats" + } + } + }, + "_types:FlushStats": { + "type": "object", + "properties": { + "periodic": { + "type": "number" + }, + "total": { + "type": "number" + }, + "total_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "periodic", + "total", + "total_time_in_millis" + ] + }, + "_types:GetStats": { + "type": "object", + "properties": { + "current": { + "type": "number" + }, + "exists_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "exists_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "exists_total": { + "type": "number" + }, + "missing_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "missing_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "missing_total": { + "type": "number" + }, + "time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total": { + "type": "number" + } + }, + "required": [ + "current", + "exists_time_in_millis", + "exists_total", + "missing_time_in_millis", + "missing_total", + "time_in_millis", + "total" + ] + }, + "_types:IndexingStats": { + "type": "object", + "properties": { + "index_current": { + "type": "number" + }, + "delete_current": { + "type": "number" + }, + "delete_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "delete_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "delete_total": { + "type": "number" + }, + "is_throttled": { + "type": "boolean" + }, + "noop_update_total": { + "type": "number" + }, + "throttle_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "throttle_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "index_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "index_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "index_total": { + "type": "number" + }, + "index_failed": { + "type": "number" + }, + "types": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:IndexingStats" + } + }, + "write_load": { + "type": "number" + } + }, + "required": [ + "index_current", + "delete_current", + "delete_time_in_millis", + "delete_total", + "is_throttled", + "noop_update_total", + "throttle_time_in_millis", + "index_time_in_millis", + "index_total", + "index_failed" + ] + }, + "_types:MergesStats": { + "type": "object", + "properties": { + "current": { + "type": "number" + }, + "current_docs": { + "type": "number" + }, + "current_size": { + "type": "string" + }, + "current_size_in_bytes": { + "type": "number" + }, + "total": { + "type": "number" + }, + "total_auto_throttle": { + "type": "string" + }, + "total_auto_throttle_in_bytes": { + "type": "number" + }, + "total_docs": { + "type": "number" + }, + "total_size": { + "type": "string" + }, + "total_size_in_bytes": { + "type": "number" + }, + "total_stopped_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_stopped_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total_throttled_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_throttled_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "current", + "current_docs", + "current_size_in_bytes", + "total", + "total_auto_throttle_in_bytes", + "total_docs", + "total_size_in_bytes", + "total_stopped_time_in_millis", + "total_throttled_time_in_millis", + "total_time_in_millis" + ] + }, + "_types:RecoveryStats": { + "type": "object", + "properties": { + "current_as_source": { + "type": "number" + }, + "current_as_target": { + "type": "number" + }, + "throttle_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "throttle_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "current_as_source", + "current_as_target", + "throttle_time_in_millis" + ] + }, + "_types:RefreshStats": { + "type": "object", + "properties": { + "external_total": { + "type": "number" + }, + "external_total_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "listeners": { + "type": "number" + }, + "total": { + "type": "number" + }, + "total_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "external_total", + "external_total_time_in_millis", + "listeners", + "total", + "total_time_in_millis" + ] + }, + "_types:RequestCacheStats": { + "type": "object", + "properties": { + "evictions": { + "type": "number" + }, + "hit_count": { + "type": "number" + }, + "memory_size": { + "type": "string" + }, + "memory_size_in_bytes": { + "type": "number" + }, + "miss_count": { + "type": "number" + } + }, + "required": [ + "evictions", + "hit_count", + "memory_size_in_bytes", + "miss_count" + ] + }, + "_types:SearchStats": { + "type": "object", + "properties": { + "fetch_current": { + "type": "number" + }, + "fetch_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "fetch_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "fetch_total": { + "type": "number" + }, + "open_contexts": { + "type": "number" + }, + "query_current": { + "type": "number" + }, + "query_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "query_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "query_total": { + "type": "number" + }, + "scroll_current": { + "type": "number" + }, + "scroll_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "scroll_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "scroll_total": { + "type": "number" + }, + "suggest_current": { + "type": "number" + }, + "suggest_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "suggest_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "suggest_total": { + "type": "number" + }, + "groups": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:SearchStats" + } + } + }, + "required": [ + "fetch_current", + "fetch_time_in_millis", + "fetch_total", + "query_current", + "query_time_in_millis", + "query_total", + "scroll_current", + "scroll_time_in_millis", + "scroll_total", + "suggest_current", + "suggest_time_in_millis", + "suggest_total" + ] + }, + "_types:TranslogStats": { + "type": "object", + "properties": { + "earliest_last_modified_age": { + "type": "number" + }, + "operations": { + "type": "number" + }, + "size": { + "type": "string" + }, + "size_in_bytes": { + "type": "number" + }, + "uncommitted_operations": { + "type": "number" + }, + "uncommitted_size": { + "type": "string" + }, + "uncommitted_size_in_bytes": { + "type": "number" + } + }, + "required": [ + "earliest_last_modified_age", + "operations", + "size_in_bytes", + "uncommitted_operations", + "uncommitted_size_in_bytes" + ] + }, + "_types:WarmerStats": { + "type": "object", + "properties": { + "current": { + "type": "number" + }, + "total": { + "type": "number" + }, + "total_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "current", + "total", + "total_time_in_millis" + ] + }, + "_types:BulkStats": { + "type": "object", + "properties": { + "total_operations": { + "type": "number" + }, + "total_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "total_size_in_bytes": { + "type": "number" + }, + "avg_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "avg_time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "avg_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "avg_size_in_bytes": { + "type": "number" + } + }, + "required": [ + "total_operations", + "total_time_in_millis", + "total_size_in_bytes", + "avg_time_in_millis", + "avg_size_in_bytes" + ] + }, + "indices.stats:ShardsTotalStats": { + "type": "object", + "properties": { + "total_count": { + "type": "number" + } + }, + "required": [ + "total_count" + ] + }, + "indices.stats:ShardStats": { + "type": "object", + "properties": { + "commit": { + "$ref": "#/components/schemas/indices.stats:ShardCommit" + }, + "completion": { + "$ref": "#/components/schemas/_types:CompletionStats" + }, + "docs": { + "$ref": "#/components/schemas/_types:DocStats" + }, + "fielddata": { + "$ref": "#/components/schemas/_types:FielddataStats" + }, + "flush": { + "$ref": "#/components/schemas/_types:FlushStats" + }, + "get": { + "$ref": "#/components/schemas/_types:GetStats" + }, + "indexing": { + "$ref": "#/components/schemas/_types:IndexingStats" + }, + "mappings": { + "$ref": "#/components/schemas/indices.stats:MappingStats" + }, + "merges": { + "$ref": "#/components/schemas/_types:MergesStats" + }, + "shard_path": { + "$ref": "#/components/schemas/indices.stats:ShardPath" + }, + "query_cache": { + "$ref": "#/components/schemas/indices.stats:ShardQueryCache" + }, + "recovery": { + "$ref": "#/components/schemas/_types:RecoveryStats" + }, + "refresh": { + "$ref": "#/components/schemas/_types:RefreshStats" + }, + "request_cache": { + "$ref": "#/components/schemas/_types:RequestCacheStats" + }, + "retention_leases": { + "$ref": "#/components/schemas/indices.stats:ShardRetentionLeases" + }, + "routing": { + "$ref": "#/components/schemas/indices.stats:ShardRouting" + }, + "search": { + "$ref": "#/components/schemas/_types:SearchStats" + }, + "segments": { + "$ref": "#/components/schemas/_types:SegmentsStats" + }, + "seq_no": { + "$ref": "#/components/schemas/indices.stats:ShardSequenceNumber" + }, + "store": { + "$ref": "#/components/schemas/_types:StoreStats" + }, + "translog": { + "$ref": "#/components/schemas/_types:TranslogStats" + }, + "warmer": { + "$ref": "#/components/schemas/_types:WarmerStats" + }, + "bulk": { + "$ref": "#/components/schemas/_types:BulkStats" + }, + "shards": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "shard_stats": { + "$ref": "#/components/schemas/indices.stats:ShardsTotalStats" + }, + "indices": { + "$ref": "#/components/schemas/indices.stats:IndicesStats" + } + } + }, + "indices.stats:ShardCommit": { + "type": "object", + "properties": { + "generation": { + "type": "number" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "num_docs": { + "type": "number" + }, + "user_data": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "generation", + "id", + "num_docs", + "user_data" + ] + }, + "indices.stats:MappingStats": { + "type": "object", + "properties": { + "total_count": { + "type": "number" + }, + "total_estimated_overhead": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "total_estimated_overhead_in_bytes": { + "type": "number" + } + }, + "required": [ + "total_count", + "total_estimated_overhead_in_bytes" + ] + }, + "indices.stats:ShardPath": { + "type": "object", + "properties": { + "data_path": { + "type": "string" + }, + "is_custom_data_path": { + "type": "boolean" + }, + "state_path": { + "type": "string" + } + }, + "required": [ + "data_path", + "is_custom_data_path", + "state_path" + ] + }, + "indices.stats:ShardQueryCache": { + "type": "object", + "properties": { + "cache_count": { + "type": "number" + }, + "cache_size": { + "type": "number" + }, + "evictions": { + "type": "number" + }, + "hit_count": { + "type": "number" + }, + "memory_size_in_bytes": { + "type": "number" + }, + "miss_count": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "required": [ + "cache_count", + "cache_size", + "evictions", + "hit_count", + "memory_size_in_bytes", + "miss_count", + "total_count" + ] + }, + "indices.stats:ShardRetentionLeases": { + "type": "object", + "properties": { + "primary_term": { + "type": "number" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "leases": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.stats:ShardLease" + } + } + }, + "required": [ + "primary_term", + "version", + "leases" + ] + }, + "indices.stats:ShardLease": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "retaining_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "timestamp": { + "type": "number" + }, + "source": { + "type": "string" + } + }, + "required": [ + "id", + "retaining_seq_no", + "timestamp", + "source" + ] + }, + "indices.stats:ShardRouting": { + "type": "object", + "properties": { + "node": { + "type": "string" + }, + "primary": { + "type": "boolean" + }, + "relocating_node": { + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "state": { + "$ref": "#/components/schemas/indices.stats:ShardRoutingState" + } + }, + "required": [ + "node", + "primary", + "state" + ] + }, + "indices.stats:ShardRoutingState": { + "type": "string", + "enum": [ + "UNASSIGNED", + "INITIALIZING", + "STARTED", + "RELOCATING" + ] + }, + "indices.stats:ShardSequenceNumber": { + "type": "object", + "properties": { + "global_checkpoint": { + "type": "number" + }, + "local_checkpoint": { + "type": "number" + }, + "max_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + } + }, + "required": [ + "global_checkpoint", + "local_checkpoint", + "max_seq_no" + ] + }, + "indices.stats:IndexMetadataState": { + "type": "string", + "enum": [ + "open", + "close" + ] + }, + "indices.update_aliases:Action": { + "type": "object", + "properties": { + "add": { + "$ref": "#/components/schemas/indices.update_aliases:AddAction" + }, + "remove": { + "$ref": "#/components/schemas/indices.update_aliases:RemoveAction" + }, + "remove_index": { + "$ref": "#/components/schemas/indices.update_aliases:RemoveIndexAction" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "indices.update_aliases:AddAction": { + "type": "object", + "properties": { + "alias": { + "$ref": "#/components/schemas/_types:IndexAlias" + }, + "aliases": { + "description": "Aliases for the action.\nIndex alias names support date math.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:IndexAlias" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:IndexAlias" + } + } + ] + }, + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "index_routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "is_hidden": { + "description": "If `true`, the alias is hidden.", + "type": "boolean" + }, + "is_write_index": { + "description": "If `true`, sets the write index or data stream for the alias.", + "type": "boolean" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "search_routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "must_exist": { + "description": "If `true`, the alias must exist to perform the action.", + "type": "boolean" + } + } + }, + "indices.update_aliases:RemoveAction": { + "type": "object", + "properties": { + "alias": { + "$ref": "#/components/schemas/_types:IndexAlias" + }, + "aliases": { + "description": "Aliases for the action.\nIndex alias names support date math.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:IndexAlias" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:IndexAlias" + } + } + ] + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "must_exist": { + "description": "If `true`, the alias must exist to perform the action.", + "type": "boolean" + } + } + }, + "indices.update_aliases:RemoveIndexAction": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "must_exist": { + "description": "If `true`, the alias must exist to perform the action.", + "type": "boolean" + } + } + }, + "indices.validate_query:IndicesValidationExplanation": { + "type": "object", + "properties": { + "error": { + "type": "string" + }, + "explanation": { + "type": "string" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "valid": { + "type": "boolean" + } + }, + "required": [ + "index", + "valid" + ] + }, + "_types:ElasticsearchVersionInfo": { + "type": "object", + "properties": { + "build_date": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "build_flavor": { + "type": "string" + }, + "build_hash": { + "type": "string" + }, + "build_snapshot": { + "type": "boolean" + }, + "build_type": { + "type": "string" + }, + "lucene_version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "minimum_index_compatibility_version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "minimum_wire_compatibility_version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "number": { + "type": "string" + } + }, + "required": [ + "build_date", + "build_flavor", + "build_hash", + "build_snapshot", + "build_type", + "lucene_version", + "minimum_index_compatibility_version", + "minimum_wire_compatibility_version", + "number" + ] + }, + "ingest.geo_ip_stats:GeoIpDownloadStatistics": { + "type": "object", + "properties": { + "successful_downloads": { + "description": "Total number of successful database downloads.", + "type": "number" + }, + "failed_downloads": { + "description": "Total number of failed database downloads.", + "type": "number" + }, + "total_download_time": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "database_count": { + "description": "Current number of databases available for use.", + "type": "number" + }, + "skipped_updates": { + "description": "Total number of database updates skipped.", + "type": "number" + } + }, + "required": [ + "successful_downloads", + "failed_downloads", + "total_download_time", + "database_count", + "skipped_updates" + ] + }, + "ingest.geo_ip_stats:GeoIpNodeDatabases": { + "type": "object", + "properties": { + "databases": { + "description": "Downloaded databases for the node.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest.geo_ip_stats:GeoIpNodeDatabaseName" + } + }, + "files_in_temp": { + "description": "Downloaded database files, including related license files. Elasticsearch stores these files in the node’s temporary directory: $ES_TMPDIR/geoip-databases/.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "databases", + "files_in_temp" + ] + }, + "ingest.geo_ip_stats:GeoIpNodeDatabaseName": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "name" + ] + }, + "ingest._types:Pipeline": { + "type": "object", + "properties": { + "description": { + "description": "Description of the ingest pipeline.", + "type": "string" + }, + "on_failure": { + "description": "Processors to run immediately after a processor failure.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest._types:ProcessorContainer" + } + }, + "processors": { + "description": "Processors used to perform transformations on documents before indexing.\nProcessors run sequentially in the order specified.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest._types:ProcessorContainer" + } + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + } + } + }, + "ingest._types:ProcessorContainer": { + "type": "object", + "properties": { + "attachment": { + "$ref": "#/components/schemas/ingest._types:AttachmentProcessor" + }, + "append": { + "$ref": "#/components/schemas/ingest._types:AppendProcessor" + }, + "csv": { + "$ref": "#/components/schemas/ingest._types:CsvProcessor" + }, + "convert": { + "$ref": "#/components/schemas/ingest._types:ConvertProcessor" + }, + "date": { + "$ref": "#/components/schemas/ingest._types:DateProcessor" + }, + "date_index_name": { + "$ref": "#/components/schemas/ingest._types:DateIndexNameProcessor" + }, + "dot_expander": { + "$ref": "#/components/schemas/ingest._types:DotExpanderProcessor" + }, + "enrich": { + "$ref": "#/components/schemas/ingest._types:EnrichProcessor" + }, + "fail": { + "$ref": "#/components/schemas/ingest._types:FailProcessor" + }, + "foreach": { + "$ref": "#/components/schemas/ingest._types:ForeachProcessor" + }, + "json": { + "$ref": "#/components/schemas/ingest._types:JsonProcessor" + }, + "user_agent": { + "$ref": "#/components/schemas/ingest._types:UserAgentProcessor" + }, + "kv": { + "$ref": "#/components/schemas/ingest._types:KeyValueProcessor" + }, + "geoip": { + "$ref": "#/components/schemas/ingest._types:GeoIpProcessor" + }, + "grok": { + "$ref": "#/components/schemas/ingest._types:GrokProcessor" + }, + "gsub": { + "$ref": "#/components/schemas/ingest._types:GsubProcessor" + }, + "join": { + "$ref": "#/components/schemas/ingest._types:JoinProcessor" + }, + "lowercase": { + "$ref": "#/components/schemas/ingest._types:LowercaseProcessor" + }, + "remove": { + "$ref": "#/components/schemas/ingest._types:RemoveProcessor" + }, + "rename": { + "$ref": "#/components/schemas/ingest._types:RenameProcessor" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "set": { + "$ref": "#/components/schemas/ingest._types:SetProcessor" + }, + "sort": { + "$ref": "#/components/schemas/ingest._types:SortProcessor" + }, + "split": { + "$ref": "#/components/schemas/ingest._types:SplitProcessor" + }, + "trim": { + "$ref": "#/components/schemas/ingest._types:TrimProcessor" + }, + "uppercase": { + "$ref": "#/components/schemas/ingest._types:UppercaseProcessor" + }, + "urldecode": { + "$ref": "#/components/schemas/ingest._types:UrlDecodeProcessor" + }, + "bytes": { + "$ref": "#/components/schemas/ingest._types:BytesProcessor" + }, + "dissect": { + "$ref": "#/components/schemas/ingest._types:DissectProcessor" + }, + "set_security_user": { + "$ref": "#/components/schemas/ingest._types:SetSecurityUserProcessor" + }, + "pipeline": { + "$ref": "#/components/schemas/ingest._types:PipelineProcessor" + }, + "drop": { + "$ref": "#/components/schemas/ingest._types:DropProcessor" + }, + "circle": { + "$ref": "#/components/schemas/ingest._types:CircleProcessor" + }, + "inference": { + "$ref": "#/components/schemas/ingest._types:InferenceProcessor" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ingest._types:AttachmentProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and field does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "indexed_chars": { + "description": "The number of chars being used for extraction to prevent huge fields.\nUse `-1` for no limit.", + "type": "number" + }, + "indexed_chars_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "properties": { + "description": "Array of properties to select to be stored.\nCan be `content`, `title`, `name`, `author`, `keywords`, `date`, `content_type`, `content_length`, `language`.", + "type": "array", + "items": { + "type": "string" + } + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "resource_name": { + "description": "Field containing the name of the resource to decode.\nIf specified, the processor passes this resource name to the underlying Tika library to enable Resource Name Based Detection.", + "type": "string" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:ProcessorBase": { + "type": "object", + "properties": { + "description": { + "description": "Description of the processor.\nUseful for describing the purpose of the processor or its configuration.", + "type": "string" + }, + "if": { + "description": "Conditionally execute the processor.", + "type": "string" + }, + "ignore_failure": { + "description": "Ignore failures for the processor.", + "type": "boolean" + }, + "on_failure": { + "description": "Handle failures for the processor.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest._types:ProcessorContainer" + } + }, + "tag": { + "description": "Identifier for the processor.\nUseful for debugging and metrics.", + "type": "string" + } + } + }, + "ingest._types:AppendProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "value": { + "description": "The value to be appended. Supports template snippets.", + "type": "array", + "items": { + "type": "object" + } + }, + "allow_duplicates": { + "description": "If `false`, the processor does not append values already present in the field.", + "type": "boolean" + } + }, + "required": [ + "field", + "value" + ] + } + ] + }, + "ingest._types:CsvProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "empty_value": { + "description": "Value used to fill empty fields.\nEmpty fields are skipped if this is not provided.\nAn empty field is one with no value (2 consecutive separators) or empty quotes (`\"\"`).", + "type": "object" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "quote": { + "description": "Quote used in CSV, has to be single character string.", + "type": "string" + }, + "separator": { + "description": "Separator used in CSV, has to be single character string.", + "type": "string" + }, + "target_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "trim": { + "description": "Trim whitespaces in unquoted fields.", + "type": "boolean" + } + }, + "required": [ + "field", + "target_fields" + ] + } + ] + }, + "ingest._types:ConvertProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "type": { + "$ref": "#/components/schemas/ingest._types:ConvertType" + } + }, + "required": [ + "field", + "type" + ] + } + ] + }, + "ingest._types:ConvertType": { + "type": "string", + "enum": [ + "integer", + "long", + "float", + "double", + "string", + "boolean", + "auto" + ] + }, + "ingest._types:DateProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "formats": { + "description": "An array of the expected date formats.\nCan be a java time pattern or one of the following formats: ISO8601, UNIX, UNIX_MS, or TAI64N.", + "type": "array", + "items": { + "type": "string" + } + }, + "locale": { + "description": "The locale to use when parsing the date, relevant when parsing month names or week days.\nSupports template snippets.", + "type": "string" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "timezone": { + "description": "The timezone to use when parsing the date.\nSupports template snippets.", + "type": "string" + } + }, + "required": [ + "field", + "formats" + ] + } + ] + }, + "ingest._types:DateIndexNameProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "date_formats": { + "description": "An array of the expected date formats for parsing dates / timestamps in the document being preprocessed.\nCan be a java time pattern or one of the following formats: ISO8601, UNIX, UNIX_MS, or TAI64N.", + "type": "array", + "items": { + "type": "string" + } + }, + "date_rounding": { + "description": "How to round the date when formatting the date into the index name. Valid values are:\n`y` (year), `M` (month), `w` (week), `d` (day), `h` (hour), `m` (minute) and `s` (second).\nSupports template snippets.", + "type": "string" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "index_name_format": { + "description": "The format to be used when printing the parsed date into the index name.\nA valid java time pattern is expected here.\nSupports template snippets.", + "type": "string" + }, + "index_name_prefix": { + "description": "A prefix of the index name to be prepended before the printed date.\nSupports template snippets.", + "type": "string" + }, + "locale": { + "description": "The locale to use when parsing the date from the document being preprocessed, relevant when parsing month names or week days.", + "type": "string" + }, + "timezone": { + "description": "The timezone to use when parsing the date and when date math index supports resolves expressions into concrete index names.", + "type": "string" + } + }, + "required": [ + "date_formats", + "date_rounding", + "field" + ] + } + ] + }, + "ingest._types:DotExpanderProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "path": { + "description": "The field that contains the field to expand.\nOnly required if the field to expand is part another object field, because the `field` option can only understand leaf fields.", + "type": "string" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:EnrichProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "max_matches": { + "description": "The maximum number of matched documents to include under the configured target field.\nThe `target_field` will be turned into a json array if `max_matches` is higher than 1, otherwise `target_field` will become a json object.\nIn order to avoid documents getting too large, the maximum allowed value is 128.", + "type": "number" + }, + "override": { + "description": "If processor will update fields with pre-existing non-null-valued field.\nWhen set to `false`, such fields will not be touched.", + "type": "boolean" + }, + "policy_name": { + "description": "The name of the enrich policy to use.", + "type": "string" + }, + "shape_relation": { + "$ref": "#/components/schemas/_types:GeoShapeRelation" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field", + "policy_name", + "target_field" + ] + } + ] + }, + "_types:GeoShapeRelation": { + "type": "string", + "enum": [ + "intersects", + "disjoint", + "within", + "contains" + ] + }, + "ingest._types:FailProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "message": { + "description": "The error message thrown by the processor.\nSupports template snippets.", + "type": "string" + } + }, + "required": [ + "message" + ] + } + ] + }, + "ingest._types:ForeachProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true`, the processor silently exits without changing the document if the `field` is `null` or missing.", + "type": "boolean" + }, + "processor": { + "$ref": "#/components/schemas/ingest._types:ProcessorContainer" + } + }, + "required": [ + "field", + "processor" + ] + } + ] + }, + "ingest._types:JsonProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "add_to_root": { + "description": "Flag that forces the parsed JSON to be added at the top level of the document.\n`target_field` must not be set when this option is chosen.", + "type": "boolean" + }, + "add_to_root_conflict_strategy": { + "$ref": "#/components/schemas/ingest._types:JsonProcessorConflictStrategy" + }, + "allow_duplicate_keys": { + "description": "When set to `true`, the JSON parser will not fail if the JSON contains duplicate keys.\nInstead, the last encountered value for any duplicate key wins.", + "type": "boolean" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:JsonProcessorConflictStrategy": { + "type": "string", + "enum": [ + "replace", + "merge" + ] + }, + "ingest._types:UserAgentProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "options": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest._types:UserAgentProperty" + } + }, + "regex_file": { + "description": "The name of the file in the `config/ingest-user-agent` directory containing the regular expressions for parsing the user agent string. Both the directory and the file have to be created before starting Elasticsearch. If not specified, ingest-user-agent will use the `regexes.yaml` from uap-core it ships with.", + "type": "string" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:UserAgentProperty": { + "type": "string", + "enum": [ + "NAME", + "MAJOR", + "MINOR", + "PATCH", + "OS", + "OS_NAME", + "OS_MAJOR", + "OS_MINOR", + "DEVICE", + "BUILD" + ] + }, + "ingest._types:KeyValueProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "exclude_keys": { + "description": "List of keys to exclude from document.", + "type": "array", + "items": { + "type": "string" + } + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "field_split": { + "description": "Regex pattern to use for splitting key-value pairs.", + "type": "string" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "include_keys": { + "description": "List of keys to filter and insert into document.\nDefaults to including all keys.", + "type": "array", + "items": { + "type": "string" + } + }, + "prefix": { + "description": "Prefix to be added to extracted keys.", + "type": "string" + }, + "strip_brackets": { + "description": "If `true`. strip brackets `()`, `<>`, `[]` as well as quotes `'` and `\"` from extracted values.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "trim_key": { + "description": "String of characters to trim from extracted keys.", + "type": "string" + }, + "trim_value": { + "description": "String of characters to trim from extracted values.", + "type": "string" + }, + "value_split": { + "description": "Regex pattern to use for splitting the key from the value within a key-value pair.", + "type": "string" + } + }, + "required": [ + "field", + "field_split", + "value_split" + ] + } + ] + }, + "ingest._types:GeoIpProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "database_file": { + "description": "The database filename referring to a database the module ships with (GeoLite2-City.mmdb, GeoLite2-Country.mmdb, or GeoLite2-ASN.mmdb) or a custom database in the ingest-geoip config directory.", + "type": "string" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "first_only": { + "description": "If `true`, only the first found geoip data will be returned, even if the field contains an array.", + "type": "boolean" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "properties": { + "description": "Controls what properties are added to the `target_field` based on the geoip lookup.", + "type": "array", + "items": { + "type": "string" + } + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:GrokProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "pattern_definitions": { + "description": "A map of pattern-name and pattern tuples defining custom patterns to be used by the current processor.\nPatterns matching existing names will override the pre-existing definition.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "patterns": { + "description": "An ordered list of grok expression to match and extract named captures with.\nReturns on the first expression in the list that matches.", + "type": "array", + "items": { + "type": "string" + } + }, + "trace_match": { + "description": "When `true`, `_ingest._grok_match_index` will be inserted into your matched document’s metadata with the index into the pattern found in `patterns` that matched.", + "type": "boolean" + } + }, + "required": [ + "field", + "patterns" + ] + } + ] + }, + "ingest._types:GsubProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "pattern": { + "description": "The pattern to be replaced.", + "type": "string" + }, + "replacement": { + "description": "The string to replace the matching patterns with.", + "type": "string" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field", + "pattern", + "replacement" + ] + } + ] + }, + "ingest._types:JoinProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "separator": { + "description": "The separator character.", + "type": "string" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field", + "separator" + ] + } + ] + }, + "ingest._types:LowercaseProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:RemoveProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Fields" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:RenameProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field", + "target_field" + ] + } + ] + }, + "ingest._types:SetProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "copy_from": { + "$ref": "#/components/schemas/_types:Field" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_empty_value": { + "description": "If `true` and `value` is a template snippet that evaluates to `null` or the empty string, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "media_type": { + "description": "The media type for encoding `value`.\nApplies only when value is a template snippet.\nMust be one of `application/json`, `text/plain`, or `application/x-www-form-urlencoded`.", + "type": "string" + }, + "override": { + "description": "If `true` processor will update fields with pre-existing non-null-valued field.\nWhen set to `false`, such fields will not be touched.", + "type": "boolean" + }, + "value": { + "description": "The value to be set for the field.\nSupports template snippets.\nMay specify only one of `value` or `copy_from`.", + "type": "object" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:SortProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "order": { + "$ref": "#/components/schemas/_types:SortOrder" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:SplitProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "preserve_trailing": { + "description": "Preserves empty trailing fields, if any.", + "type": "boolean" + }, + "separator": { + "description": "A regex which matches the separator, for example, `,` or `\\s+`.", + "type": "string" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field", + "separator" + ] + } + ] + }, + "ingest._types:TrimProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:UppercaseProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:UrlDecodeProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:BytesProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:DissectProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "append_separator": { + "description": "The character(s) that separate the appended fields.", + "type": "string" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "pattern": { + "description": "The pattern to apply to the field.", + "type": "string" + } + }, + "required": [ + "field", + "pattern" + ] + } + ] + }, + "ingest._types:SetSecurityUserProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "properties": { + "description": "Controls what user related properties are added to the field.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:PipelineProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "ignore_missing_pipeline": { + "description": "Whether to ignore missing pipelines instead of failing.", + "type": "boolean" + } + }, + "required": [ + "name" + ] + } + ] + }, + "ingest._types:DropProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object" + } + ] + }, + "ingest._types:CircleProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "error_distance": { + "description": "The difference between the resulting inscribed distance from center to side and the circle’s radius (measured in meters for `geo_shape`, unit-less for `shape`).", + "type": "number" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "shape_type": { + "$ref": "#/components/schemas/ingest._types:ShapeType" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "error_distance", + "field", + "shape_type" + ] + } + ] + }, + "ingest._types:ShapeType": { + "type": "string", + "enum": [ + "geo_shape", + "shape" + ] + }, + "ingest._types:InferenceProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "model_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "field_map": { + "description": "Maps the document field names to the known field names of the model.\nThis mapping takes precedence over any default mappings provided in the model configuration.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "inference_config": { + "$ref": "#/components/schemas/ingest._types:InferenceConfig" + } + }, + "required": [ + "model_id" + ] + } + ] + }, + "ingest._types:InferenceConfig": { + "type": "object", + "properties": { + "regression": { + "$ref": "#/components/schemas/ingest._types:InferenceConfigRegression" + }, + "classification": { + "$ref": "#/components/schemas/ingest._types:InferenceConfigClassification" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ingest._types:InferenceConfigRegression": { + "type": "object", + "properties": { + "results_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "num_top_feature_importance_values": { + "description": "Specifies the maximum number of feature importance values per document.", + "type": "number" + } + } + }, + "ingest._types:InferenceConfigClassification": { + "type": "object", + "properties": { + "num_top_classes": { + "description": "Specifies the number of top class predictions to return.", + "type": "number" + }, + "num_top_feature_importance_values": { + "description": "Specifies the maximum number of feature importance values per document.", + "type": "number" + }, + "results_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "top_classes_results_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "prediction_field_type": { + "description": "Specifies the type of the predicted field to write.\nValid values are: `string`, `number`, `boolean`.", + "type": "string" + } + } + }, + "ingest.simulate:Document": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "_source": { + "description": "JSON body for the document.", + "type": "object" + } + }, + "required": [ + "_source" + ] + }, + "ingest.simulate:PipelineSimulation": { + "type": "object", + "properties": { + "doc": { + "$ref": "#/components/schemas/ingest.simulate:DocumentSimulation" + }, + "processor_results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest.simulate:PipelineSimulation" + } + }, + "tag": { + "type": "string" + }, + "processor_type": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/watcher._types:ActionStatusOptions" + } + } + }, + "ingest.simulate:DocumentSimulation": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "_ingest": { + "$ref": "#/components/schemas/ingest.simulate:Ingest" + }, + "_routing": { + "description": "Value used to send the document to a specific primary shard.", + "type": "string" + }, + "_source": { + "description": "JSON body for the document.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "_version": { + "$ref": "#/components/schemas/_spec_utils:StringifiedVersionNumber" + }, + "_version_type": { + "$ref": "#/components/schemas/_types:VersionType" + } + }, + "required": [ + "_id", + "_index", + "_ingest", + "_source" + ] + }, + "ingest.simulate:Ingest": { + "type": "object", + "properties": { + "timestamp": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "pipeline": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "timestamp" + ] + }, + "_spec_utils:StringifiedVersionNumber": { + "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + { + "type": "string" + } + ] + }, + "watcher._types:ActionStatusOptions": { + "type": "string", + "enum": [ + "success", + "failure", + "simulated", + "throttled" + ] + }, + "logstash._types:Pipeline": { + "type": "object", + "properties": { + "description": { + "description": "Description of the pipeline.\nThis description is not used by Elasticsearch or Logstash.", + "type": "string" + }, + "last_modified": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "pipeline_metadata": { + "$ref": "#/components/schemas/logstash._types:PipelineMetadata" + }, + "username": { + "description": "User who last updated the pipeline.", + "type": "string" + }, + "pipeline": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/logstash/current/configuration-file-structure.html" + }, + "description": "Configuration for the pipeline.", + "type": "string" + }, + "pipeline_settings": { + "$ref": "#/components/schemas/logstash._types:PipelineSettings" + } + }, + "required": [ + "description", + "last_modified", + "pipeline_metadata", + "username", + "pipeline", + "pipeline_settings" + ] + }, + "logstash._types:PipelineMetadata": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "type", + "version" + ] + }, + "logstash._types:PipelineSettings": { + "type": "object", + "properties": { + "pipeline.workers": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/logstash/current/logstash-settings-file.html" + }, + "description": "The number of workers that will, in parallel, execute the filter and output stages of the pipeline.", + "type": "number" + }, + "pipeline.batch.size": { + "description": "The maximum number of events an individual worker thread will collect from inputs before attempting to execute its filters and outputs.", + "type": "number" + }, + "pipeline.batch.delay": { + "description": "When creating pipeline event batches, how long in milliseconds to wait for each event before dispatching an undersized batch to pipeline workers.", + "type": "number" + }, + "queue.type": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/logstash/current/logstash-settings-file.html" + }, + "description": "The internal queuing model to use for event buffering.", + "type": "string" + }, + "queue.max_bytes.number": { + "description": "The total capacity of the queue (`queue.type: persisted`) in number of bytes.", + "type": "number" + }, + "queue.max_bytes.units": { + "description": "The total capacity of the queue (`queue.type: persisted`) in terms of units of bytes.", + "type": "string" + }, + "queue.checkpoint.writes": { + "description": "The maximum number of written events before forcing a checkpoint when persistent queues are enabled (`queue.type: persisted`).", + "type": "number" + } + }, + "required": [ + "pipeline.workers", + "pipeline.batch.size", + "pipeline.batch.delay", + "queue.type", + "queue.max_bytes.number", + "queue.max_bytes.units", + "queue.checkpoint.writes" + ] + }, + "_global.mget:Operation": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "stored_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "version_type": { + "$ref": "#/components/schemas/_types:VersionType" + } + }, + "required": [ + "_id" + ] + }, + "_global.mget:ResponseItem": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.get:GetResult" + }, + { + "$ref": "#/components/schemas/_global.mget:MultiGetError" + } + ] + }, + "_global.mget:MultiGetError": { + "type": "object", + "properties": { + "error": { + "$ref": "#/components/schemas/_types:ErrorCause" + }, + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "required": [ + "error", + "_id", + "_index" + ] + }, + "ml._types:AnalysisConfig": { + "type": "object", + "properties": { + "bucket_span": { + "$ref": "#/components/schemas/_types:Duration" + }, + "categorization_analyzer": { + "$ref": "#/components/schemas/ml._types:CategorizationAnalyzer" + }, + "categorization_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "categorization_filters": { + "description": "If `categorization_field_name` is specified, you can also define optional filters. This property expects an array of regular expressions. The expressions are used to filter out matching sequences from the categorization field values. You can use this functionality to fine tune the categorization by excluding sequences from consideration when categories are defined. For example, you can exclude SQL statements that appear in your log files. This property cannot be used at the same time as `categorization_analyzer`. If you only want to define simple regular expression filters that are applied prior to tokenization, setting this property is the easiest method. If you also want to customize the tokenizer or post-tokenization filtering, use the `categorization_analyzer` property instead and include the filters as pattern_replace character filters. The effect is exactly the same.", + "type": "array", + "items": { + "type": "string" + } + }, + "detectors": { + "description": "Detector configuration objects specify which data fields a job analyzes. They also specify which analytical functions are used. You can specify multiple detectors for a job. If the detectors array does not contain at least one detector, no analysis can occur and an error is returned.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Detector" + } + }, + "influencers": { + "description": "A comma separated list of influencer field names. Typically these can be the by, over, or partition fields that are used in the detector configuration. You might also want to use a field name that is not specifically named in a detector, but is available as part of the input data. When you use multiple detectors, the use of influencers is recommended as it aggregates results for each influencer entity.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "latency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "model_prune_window": { + "$ref": "#/components/schemas/_types:Duration" + }, + "multivariate_by_fields": { + "description": "This functionality is reserved for internal use. It is not supported for use in customer environments and is not subject to the support SLA of official GA features. If set to `true`, the analysis will automatically find correlations between metrics for a given by field value and report anomalies when those correlations cease to hold. For example, suppose CPU and memory usage on host A is usually highly correlated with the same metrics on host B. Perhaps this correlation occurs because they are running a load-balanced application. If you enable this property, anomalies will be reported when, for example, CPU usage on host A is high and the value of CPU usage on host B is low. That is to say, you’ll see an anomaly when the CPU of host A is unusual given the CPU of host B. To use the `multivariate_by_fields` property, you must also specify `by_field_name` in your detector.", + "type": "boolean" + }, + "per_partition_categorization": { + "$ref": "#/components/schemas/ml._types:PerPartitionCategorization" + }, + "summary_count_field_name": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "detectors" + ] + }, + "ml._types:CategorizationAnalyzer": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/ml._types:CategorizationAnalyzerDefinition" + } + ] + }, + "ml._types:CategorizationAnalyzerDefinition": { + "type": "object", + "properties": { + "char_filter": { + "description": "One or more character filters. In addition to the built-in character filters, other plugins can provide more character filters. If this property is not specified, no character filters are applied prior to categorization. If you are customizing some other aspect of the analyzer and you need to achieve the equivalent of `categorization_filters` (which are not permitted when some other aspect of the analyzer is customized), add them here as pattern replace character filters.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.analysis:CharFilter" + } + }, + "filter": { + "description": "One or more token filters. In addition to the built-in token filters, other plugins can provide more token filters. If this property is not specified, no token filters are applied prior to categorization.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.analysis:TokenFilter" + } + }, + "tokenizer": { + "$ref": "#/components/schemas/_types.analysis:Tokenizer" + } + } + }, + "ml._types:Detector": { + "type": "object", + "properties": { + "by_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "custom_rules": { + "description": "Custom rules enable you to customize the way detectors operate. For example, a rule may dictate conditions under which results should be skipped. Kibana refers to custom rules as job rules.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DetectionRule" + } + }, + "detector_description": { + "description": "A description of the detector.", + "type": "string" + }, + "detector_index": { + "description": "A unique identifier for the detector. This identifier is based on the order of the detectors in the `analysis_config`, starting at zero. If you specify a value for this property, it is ignored.", + "type": "number" + }, + "exclude_frequent": { + "$ref": "#/components/schemas/ml._types:ExcludeFrequent" + }, + "field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "function": { + "description": "The analysis function that is used. For example, `count`, `rare`, `mean`, `min`, `max`, or `sum`.", + "type": "string" + }, + "over_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "partition_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "use_null": { + "description": "Defines whether a new series is used as the null series when there is no value for the by or partition fields.", + "type": "boolean" + } + } + }, + "ml._types:DetectionRule": { + "type": "object", + "properties": { + "actions": { + "description": "The set of actions to be triggered when the rule applies. If more than one action is specified the effects of all actions are combined.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:RuleAction" + } + }, + "conditions": { + "description": "An array of numeric conditions when the rule applies. A rule must either have a non-empty scope or at least one condition. Multiple conditions are combined together with a logical AND.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:RuleCondition" + } + }, + "scope": { + "description": "A scope of series where the rule applies. A rule must either have a non-empty scope or at least one condition. By default, the scope includes all series. Scoping is allowed for any of the fields that are also specified in `by_field_name`, `over_field_name`, or `partition_field_name`.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ml._types:FilterRef" + } + } + } + }, + "ml._types:RuleAction": { + "type": "string", + "enum": [ + "skip_result", + "skip_model_update" + ] + }, + "ml._types:RuleCondition": { + "type": "object", + "properties": { + "applies_to": { + "$ref": "#/components/schemas/ml._types:AppliesTo" + }, + "operator": { + "$ref": "#/components/schemas/ml._types:ConditionOperator" + }, + "value": { + "description": "The value that is compared against the `applies_to` field using the operator.", + "type": "number" + } + }, + "required": [ + "applies_to", + "operator", + "value" + ] + }, + "ml._types:AppliesTo": { + "type": "string", + "enum": [ + "actual", + "typical", + "diff_from_typical", + "time" + ] + }, + "ml._types:ConditionOperator": { + "type": "string", + "enum": [ + "gt", + "gte", + "lt", + "lte" + ] + }, + "ml._types:FilterRef": { + "type": "object", + "properties": { + "filter_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "filter_type": { + "$ref": "#/components/schemas/ml._types:FilterType" + } + }, + "required": [ + "filter_id" + ] + }, + "ml._types:FilterType": { + "type": "string", + "enum": [ + "include", + "exclude" + ] + }, + "ml._types:ExcludeFrequent": { + "type": "string", + "enum": [ + "all", + "none", + "by", + "over" + ] + }, + "ml._types:PerPartitionCategorization": { + "type": "object", + "properties": { + "enabled": { + "description": "To enable this setting, you must also set the `partition_field_name` property to the same value in every detector that uses the keyword `mlcategory`. Otherwise, job creation fails.", + "type": "boolean" + }, + "stop_on_warn": { + "description": "This setting can be set to true only if per-partition categorization is enabled. If true, both categorization and subsequent anomaly detection stops for partitions where the categorization status changes to warn. This setting makes it viable to have a job where it is expected that categorization works well for some partitions but not others; you do not pay the cost of bad categorization forever in the partitions where it works badly.", + "type": "boolean" + } + } + }, + "ml._types:DataframeEvaluationContainer": { + "type": "object", + "properties": { + "classification": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationClassification" + }, + "outlier_detection": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationOutlierDetection" + }, + "regression": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationRegression" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ml._types:DataframeEvaluationClassification": { + "type": "object", + "properties": { + "actual_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "predicted_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "top_classes_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "metrics": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationClassificationMetrics" + } + }, + "required": [ + "actual_field" + ] + }, + "ml._types:DataframeEvaluationClassificationMetrics": { + "allOf": [ + { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationMetrics" + }, + { + "type": "object", + "properties": { + "accuracy": { + "description": "Accuracy of predictions (per-class and overall).", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "multiclass_confusion_matrix": { + "description": "Multiclass confusion matrix.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } + ] + }, + "ml._types:DataframeEvaluationMetrics": { + "type": "object", + "properties": { + "auc_roc": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationClassificationMetricsAucRoc" + }, + "precision": { + "description": "Precision of predictions (per-class and average).", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "recall": { + "description": "Recall of predictions (per-class and average).", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "ml._types:DataframeEvaluationClassificationMetricsAucRoc": { + "type": "object", + "properties": { + "class_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "include_curve": { + "description": "Whether or not the curve should be returned in addition to the score. Default value is false.", + "type": "boolean" + } + } + }, + "ml._types:DataframeEvaluationOutlierDetection": { + "type": "object", + "properties": { + "actual_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "predicted_probability_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "metrics": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationOutlierDetectionMetrics" + } + }, + "required": [ + "actual_field", + "predicted_probability_field" + ] + }, + "ml._types:DataframeEvaluationOutlierDetectionMetrics": { + "allOf": [ + { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationMetrics" + }, + { + "type": "object", + "properties": { + "confusion_matrix": { + "description": "Accuracy of predictions (per-class and overall).", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } + ] + }, + "ml._types:DataframeEvaluationRegression": { + "type": "object", + "properties": { + "actual_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "predicted_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "metrics": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationRegressionMetrics" + } + }, + "required": [ + "actual_field", + "predicted_field" + ] + }, + "ml._types:DataframeEvaluationRegressionMetrics": { + "type": "object", + "properties": { + "mse": { + "externalDocs": { + "url": "https://en.wikipedia.org/wiki/Mean_squared_error" + }, + "description": "Average squared difference between the predicted values and the actual (ground truth) value. For more information, read this wiki article.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "msle": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationRegressionMetricsMsle" + }, + "huber": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationRegressionMetricsHuber" + }, + "r_squared": { + "externalDocs": { + "url": "https://en.wikipedia.org/wiki/Coefficient_of_determination" + }, + "description": "Proportion of the variance in the dependent variable that is predictable from the independent variables.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "ml._types:DataframeEvaluationRegressionMetricsMsle": { + "type": "object", + "properties": { + "offset": { + "description": "Defines the transition point at which you switch from minimizing quadratic error to minimizing quadratic log error. Defaults to 1.", + "type": "number" + } + } + }, + "ml._types:DataframeEvaluationRegressionMetricsHuber": { + "type": "object", + "properties": { + "delta": { + "description": "Approximates 1/2 (prediction - actual)2 for values much less than delta and approximates a straight line with slope delta for values much larger than delta. Defaults to 1. Delta needs to be greater than 0.", + "type": "number" + } + } + }, + "ml.evaluate_data_frame:DataframeClassificationSummary": { + "type": "object", + "properties": { + "auc_roc": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationSummaryAucRoc" + }, + "accuracy": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummaryAccuracy" + }, + "multiclass_confusion_matrix": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummaryMulticlassConfusionMatrix" + }, + "precision": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummaryPrecision" + }, + "recall": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummaryRecall" + } + } + }, + "ml.evaluate_data_frame:DataframeEvaluationSummaryAucRoc": { + "allOf": [ + { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" + }, + { + "type": "object", + "properties": { + "curve": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationSummaryAucRocCurveItem" + } + } + } + } + ] + }, + "ml.evaluate_data_frame:DataframeEvaluationSummaryAucRocCurveItem": { + "type": "object", + "properties": { + "tpr": { + "type": "number" + }, + "fpr": { + "type": "number" + }, + "threshold": { + "type": "number" + } + }, + "required": [ + "tpr", + "fpr", + "threshold" + ] + }, + "ml.evaluate_data_frame:DataframeEvaluationValue": { + "type": "object", + "properties": { + "value": { + "type": "number" + } + }, + "required": [ + "value" + ] + }, + "ml.evaluate_data_frame:DataframeClassificationSummaryAccuracy": { + "type": "object", + "properties": { + "classes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationClass" + } + }, + "overall_accuracy": { + "type": "number" + } + }, + "required": [ + "classes", + "overall_accuracy" + ] + }, + "ml.evaluate_data_frame:DataframeEvaluationClass": { + "allOf": [ + { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" + }, + { + "type": "object", + "properties": { + "class_name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "class_name" + ] + } + ] + }, + "ml.evaluate_data_frame:DataframeClassificationSummaryMulticlassConfusionMatrix": { + "type": "object", + "properties": { + "confusion_matrix": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:ConfusionMatrixItem" + } + }, + "other_actual_class_count": { + "type": "number" + } + }, + "required": [ + "confusion_matrix", + "other_actual_class_count" + ] + }, + "ml.evaluate_data_frame:ConfusionMatrixItem": { + "type": "object", + "properties": { + "actual_class": { + "$ref": "#/components/schemas/_types:Name" + }, + "actual_class_doc_count": { + "type": "number" + }, + "predicted_classes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:ConfusionMatrixPrediction" + } + }, + "other_predicted_class_doc_count": { + "type": "number" + } + }, + "required": [ + "actual_class", + "actual_class_doc_count", + "predicted_classes", + "other_predicted_class_doc_count" + ] + }, + "ml.evaluate_data_frame:ConfusionMatrixPrediction": { + "type": "object", + "properties": { + "predicted_class": { + "$ref": "#/components/schemas/_types:Name" + }, + "count": { + "type": "number" + } + }, + "required": [ + "predicted_class", + "count" + ] + }, + "ml.evaluate_data_frame:DataframeClassificationSummaryPrecision": { + "type": "object", + "properties": { + "classes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationClass" + } + }, + "avg_precision": { + "type": "number" + } + }, + "required": [ + "classes", + "avg_precision" + ] + }, + "ml.evaluate_data_frame:DataframeClassificationSummaryRecall": { + "type": "object", + "properties": { + "classes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationClass" + } + }, + "avg_recall": { + "type": "number" + } + }, + "required": [ + "classes", + "avg_recall" + ] + }, + "ml.evaluate_data_frame:DataframeOutlierDetectionSummary": { + "type": "object", + "properties": { + "auc_roc": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationSummaryAucRoc" + }, + "precision": { + "description": "Set the different thresholds of the outlier score at where the metric is calculated.", + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "recall": { + "description": "Set the different thresholds of the outlier score at where the metric is calculated.", + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "confusion_matrix": { + "description": "Set the different thresholds of the outlier score at where the metrics (`tp` - true positive, `fp` - false positive, `tn` - true negative, `fn` - false negative) are calculated.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:ConfusionMatrixThreshold" + } + } + } + }, + "ml.evaluate_data_frame:ConfusionMatrixThreshold": { + "type": "object", + "properties": { + "tp": { + "description": "True Positive", + "type": "number" + }, + "fp": { + "description": "False Positive", + "type": "number" + }, + "tn": { + "description": "True Negative", + "type": "number" + }, + "fn": { + "description": "False Negative", + "type": "number" + } + }, + "required": [ + "tp", + "fp", + "tn", + "fn" + ] + }, + "ml.evaluate_data_frame:DataframeRegressionSummary": { + "type": "object", + "properties": { + "huber": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" + }, + "mse": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" + }, + "msle": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" + }, + "r_squared": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" + } + } + }, + "ml._types:DataframeAnalyticsSource": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:Indices" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "_source": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" + } + }, + "required": [ + "index" + ] + }, + "ml._types:DataframeAnalysisAnalyzedFields": { + "type": "object", + "properties": { + "includes": { + "description": "An array of strings that defines the fields that will be excluded from the analysis. You do not need to add fields with unsupported data types to excludes, these fields are excluded from the analysis automatically.", + "type": "array", + "items": { + "type": "string" + } + }, + "excludes": { + "description": "An array of strings that defines the fields that will be included in the analysis.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "includes", + "excludes" + ] + }, + "ml._types:DataframeAnalyticsDestination": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "results_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "index" + ] + }, + "ml._types:DataframeAnalysisContainer": { + "type": "object", + "properties": { + "classification": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisClassification" + }, + "outlier_detection": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisOutlierDetection" + }, + "regression": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisRegression" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ml._types:DataframeAnalysisClassification": { + "allOf": [ + { + "$ref": "#/components/schemas/ml._types:DataframeAnalysis" + }, + { + "type": "object", + "properties": { + "class_assignment_objective": { + "type": "string" + }, + "num_top_classes": { + "description": "Defines the number of categories for which the predicted probabilities are reported. It must be non-negative or -1. If it is -1 or greater than the total number of categories, probabilities are reported for all categories; if you have a large number of categories, there could be a significant effect on the size of your destination index. NOTE: To use the AUC ROC evaluation method, `num_top_classes` must be set to -1 or a value greater than or equal to the total number of categories.", + "type": "number" + } + } + } + ] + }, + "ml._types:DataframeAnalysis": { + "type": "object", + "properties": { + "alpha": { + "description": "Advanced configuration option. Machine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly. This parameter affects loss calculations by acting as a multiplier of the tree depth. Higher alpha values result in shallower trees and faster training times. By default, this value is calculated during hyperparameter optimization. It must be greater than or equal to zero.", + "type": "number" + }, + "dependent_variable": { + "description": "Defines which field of the document is to be predicted. It must match one of the fields in the index being used to train. If this field is missing from a document, then that document will not be used for training, but a prediction with the trained model will be generated for it. It is also known as continuous target variable.\nFor classification analysis, the data type of the field must be numeric (`integer`, `short`, `long`, `byte`), categorical (`ip` or `keyword`), or `boolean`. There must be no more than 30 different values in this field.\nFor regression analysis, the data type of the field must be numeric.", + "type": "string" + }, + "downsample_factor": { + "description": "Advanced configuration option. Controls the fraction of data that is used to compute the derivatives of the loss function for tree training. A small value results in the use of a small fraction of the data. If this value is set to be less than 1, accuracy typically improves. However, too small a value may result in poor convergence for the ensemble and so require more trees. By default, this value is calculated during hyperparameter optimization. It must be greater than zero and less than or equal to 1.", + "type": "number" + }, + "early_stopping_enabled": { + "description": "Advanced configuration option. Specifies whether the training process should finish if it is not finding any better performing models. If disabled, the training process can take significantly longer and the chance of finding a better performing model is unremarkable.", + "type": "boolean" + }, + "eta": { + "description": "Advanced configuration option. The shrinkage applied to the weights. Smaller values result in larger forests which have a better generalization error. However, larger forests cause slower training. By default, this value is calculated during hyperparameter optimization. It must be a value between 0.001 and 1.", + "type": "number" + }, + "eta_growth_rate_per_tree": { + "description": "Advanced configuration option. Specifies the rate at which `eta` increases for each new tree that is added to the forest. For example, a rate of 1.05 increases `eta` by 5% for each extra tree. By default, this value is calculated during hyperparameter optimization. It must be between 0.5 and 2.", + "type": "number" + }, + "feature_bag_fraction": { + "description": "Advanced configuration option. Defines the fraction of features that will be used when selecting a random bag for each candidate split. By default, this value is calculated during hyperparameter optimization.", + "type": "number" + }, + "feature_processors": { + "description": "Advanced configuration option. A collection of feature preprocessors that modify one or more included fields. The analysis uses the resulting one or more features instead of the original document field. However, these features are ephemeral; they are not stored in the destination index. Multiple `feature_processors` entries can refer to the same document fields. Automatic categorical feature encoding still occurs for the fields that are unprocessed by a custom processor or that have categorical values. Use this property only if you want to override the automatic feature encoding of the specified fields.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessor" + } + }, + "gamma": { + "description": "Advanced configuration option. Regularization parameter to prevent overfitting on the training data set. Multiplies a linear penalty associated with the size of individual trees in the forest. A high gamma value causes training to prefer small trees. A small gamma value results in larger individual trees and slower training. By default, this value is calculated during hyperparameter optimization. It must be a nonnegative value.", + "type": "number" + }, + "lambda": { + "description": "Advanced configuration option. Regularization parameter to prevent overfitting on the training data set. Multiplies an L2 regularization term which applies to leaf weights of the individual trees in the forest. A high lambda value causes training to favor small leaf weights. This behavior makes the prediction function smoother at the expense of potentially not being able to capture relevant relationships between the features and the dependent variable. A small lambda value results in large individual trees and slower training. By default, this value is calculated during hyperparameter optimization. It must be a nonnegative value.", + "type": "number" + }, + "max_optimization_rounds_per_hyperparameter": { + "description": "Advanced configuration option. A multiplier responsible for determining the maximum number of hyperparameter optimization steps in the Bayesian optimization procedure. The maximum number of steps is determined based on the number of undefined hyperparameters times the maximum optimization rounds per hyperparameter. By default, this value is calculated during hyperparameter optimization.", + "type": "number" + }, + "max_trees": { + "description": "Advanced configuration option. Defines the maximum number of decision trees in the forest. The maximum value is 2000. By default, this value is calculated during hyperparameter optimization.", + "type": "number" + }, + "num_top_feature_importance_values": { + "description": "Advanced configuration option. Specifies the maximum number of feature importance values per document to return. By default, no feature importance calculation occurs.", + "type": "number" + }, + "prediction_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "randomize_seed": { + "description": "Defines the seed for the random generator that is used to pick training data. By default, it is randomly generated. Set it to a specific value to use the same training data each time you start a job (assuming other related parameters such as `source` and `analyzed_fields` are the same).", + "type": "number" + }, + "soft_tree_depth_limit": { + "description": "Advanced configuration option. Machine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly. This soft limit combines with the `soft_tree_depth_tolerance` to penalize trees that exceed the specified depth; the regularized loss increases quickly beyond this depth. By default, this value is calculated during hyperparameter optimization. It must be greater than or equal to 0.", + "type": "number" + }, + "soft_tree_depth_tolerance": { + "description": "Advanced configuration option. This option controls how quickly the regularized loss increases when the tree depth exceeds `soft_tree_depth_limit`. By default, this value is calculated during hyperparameter optimization. It must be greater than or equal to 0.01.", + "type": "number" + }, + "training_percent": { + "$ref": "#/components/schemas/_types:Percentage" + } + }, + "required": [ + "dependent_variable" + ] + }, + "ml._types:DataframeAnalysisFeatureProcessor": { + "type": "object", + "properties": { + "frequency_encoding": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorFrequencyEncoding" + }, + "multi_encoding": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorMultiEncoding" + }, + "n_gram_encoding": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorNGramEncoding" + }, + "one_hot_encoding": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorOneHotEncoding" + }, + "target_mean_encoding": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorTargetMeanEncoding" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ml._types:DataframeAnalysisFeatureProcessorFrequencyEncoding": { + "type": "object", + "properties": { + "feature_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "frequency_map": { + "description": "The resulting frequency map for the field value. If the field value is missing from the frequency_map, the resulting value is 0.", + "type": "object", + "additionalProperties": { + "type": "number" + } + } + }, + "required": [ + "feature_name", + "field", + "frequency_map" + ] + }, + "ml._types:DataframeAnalysisFeatureProcessorMultiEncoding": { + "type": "object", + "properties": { + "processors": { + "description": "The ordered array of custom processors to execute. Must be more than 1.", + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "processors" + ] + }, + "ml._types:DataframeAnalysisFeatureProcessorNGramEncoding": { + "type": "object", + "properties": { + "feature_prefix": { + "description": "The feature name prefix. Defaults to ngram__.", + "type": "string" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "length": { + "description": "Specifies the length of the n-gram substring. Defaults to 50. Must be greater than 0.", + "type": "number" + }, + "n_grams": { + "description": "Specifies which n-grams to gather. It’s an array of integer values where the minimum value is 1, and a maximum value is 5.", + "type": "array", + "items": { + "type": "number" + } + }, + "start": { + "description": "Specifies the zero-indexed start of the n-gram substring. Negative values are allowed for encoding n-grams of string suffixes. Defaults to 0.", + "type": "number" + }, + "custom": { + "type": "boolean" + } + }, + "required": [ + "field", + "n_grams" + ] + }, + "ml._types:DataframeAnalysisFeatureProcessorOneHotEncoding": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "hot_map": { + "description": "The one hot map mapping the field value with the column name.", + "type": "string" + } + }, + "required": [ + "field", + "hot_map" + ] + }, + "ml._types:DataframeAnalysisFeatureProcessorTargetMeanEncoding": { + "type": "object", + "properties": { + "default_value": { + "description": "The default value if field value is not found in the target_map.", + "type": "number" + }, + "feature_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "target_map": { + "description": "The field value to target mean transition map.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "required": [ + "default_value", + "feature_name", + "field", + "target_map" + ] + }, + "ml._types:DataframeAnalysisOutlierDetection": { + "type": "object", + "properties": { + "compute_feature_influence": { + "description": "Specifies whether the feature influence calculation is enabled.", + "type": "boolean" + }, + "feature_influence_threshold": { + "description": "The minimum outlier score that a document needs to have in order to calculate its feature influence score. Value range: 0-1.", + "type": "number" + }, + "method": { + "description": "The method that outlier detection uses. Available methods are `lof`, `ldof`, `distance_kth_nn`, `distance_knn`, and `ensemble`. The default value is ensemble, which means that outlier detection uses an ensemble of different methods and normalises and combines their individual outlier scores to obtain the overall outlier score.", + "type": "string" + }, + "n_neighbors": { + "description": "Defines the value for how many nearest neighbors each method of outlier detection uses to calculate its outlier score. When the value is not set, different values are used for different ensemble members. This default behavior helps improve the diversity in the ensemble; only override it if you are confident that the value you choose is appropriate for the data set.", + "type": "number" + }, + "outlier_fraction": { + "description": "The proportion of the data set that is assumed to be outlying prior to outlier detection. For example, 0.05 means it is assumed that 5% of values are real outliers and 95% are inliers.", + "type": "number" + }, + "standardization_enabled": { + "description": "If true, the following operation is performed on the columns before computing outlier scores: `(x_i - mean(x_i)) / sd(x_i)`.", + "type": "boolean" + } + } + }, + "ml._types:DataframeAnalysisRegression": { + "allOf": [ + { + "$ref": "#/components/schemas/ml._types:DataframeAnalysis" + }, + { + "type": "object", + "properties": { + "loss_function": { + "description": "The loss function used during regression. Available options are `mse` (mean squared error), `msle` (mean squared logarithmic error), `huber` (Pseudo-Huber loss).", + "type": "string" + }, + "loss_function_parameter": { + "description": "A positive number that is used as a parameter to the `loss_function`.", + "type": "number" + } + } + } + ] + }, + "ml._types:DataframeAnalyticsFieldSelection": { + "type": "object", + "properties": { + "is_included": { + "description": "Whether the field is selected to be included in the analysis.", + "type": "boolean" + }, + "is_required": { + "description": "Whether the field is required.", + "type": "boolean" + }, + "feature_type": { + "description": "The feature type of this field for the analysis. May be categorical or numerical.", + "type": "string" + }, + "mapping_types": { + "description": "The mapping types of the field.", + "type": "array", + "items": { + "type": "string" + } + }, + "name": { + "$ref": "#/components/schemas/_types:Field" + }, + "reason": { + "description": "The reason a field is not selected to be included in the analysis.", + "type": "string" + } + }, + "required": [ + "is_included", + "is_required", + "mapping_types", + "name" + ] + }, + "ml._types:DataframeAnalyticsMemoryEstimation": { + "type": "object", + "properties": { + "expected_memory_with_disk": { + "description": "Estimated memory usage under the assumption that overflowing to disk is allowed during data frame analytics. expected_memory_with_disk is usually smaller than expected_memory_without_disk as using disk allows to limit the main memory needed to perform data frame analytics.", + "type": "string" + }, + "expected_memory_without_disk": { + "description": "Estimated memory usage under the assumption that the whole data frame analytics should happen in memory (i.e. without overflowing to disk).", + "type": "string" + } + }, + "required": [ + "expected_memory_with_disk", + "expected_memory_without_disk" + ] + }, + "ml._types:Page": { + "type": "object", + "properties": { + "from": { + "description": "Skips the specified number of items.", + "type": "number" + }, + "size": { + "description": "Specifies the maximum number of items to obtain.", + "type": "number" + } + } + }, + "ml._types:BucketSummary": { + "type": "object", + "properties": { + "anomaly_score": { + "description": "The maximum anomaly score, between 0-100, for any of the bucket influencers. This is an overall, rate-limited\nscore for the job. All the anomaly records in the bucket contribute to this score. This value might be updated as\nnew data is analyzed.", + "type": "number" + }, + "bucket_influencers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:BucketInfluencer" + } + }, + "bucket_span": { + "$ref": "#/components/schemas/_types:DurationValueUnitSeconds" + }, + "event_count": { + "description": "The number of input data records processed in this bucket.", + "type": "number" + }, + "initial_anomaly_score": { + "description": "The maximum anomaly score for any of the bucket influencers. This is the initial value that was calculated at the\ntime the bucket was processed.", + "type": "number" + }, + "is_interim": { + "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", + "type": "boolean" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "processing_time_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "result_type": { + "description": "Internal. This value is always set to bucket.", + "type": "string" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "timestamp_string": { + "$ref": "#/components/schemas/_types:DateTime" + } + }, + "required": [ + "anomaly_score", + "bucket_influencers", + "bucket_span", + "event_count", + "initial_anomaly_score", + "is_interim", + "job_id", + "processing_time_ms", + "result_type", + "timestamp" + ] + }, + "ml._types:BucketInfluencer": { + "type": "object", + "properties": { + "anomaly_score": { + "description": "A normalized score between 0-100, which is calculated for each bucket influencer. This score might be updated as\nnewer data is analyzed.", + "type": "number" + }, + "bucket_span": { + "$ref": "#/components/schemas/_types:DurationValueUnitSeconds" + }, + "influencer_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "initial_anomaly_score": { + "description": "The score between 0-100 for each bucket influencer. This score is the initial value that was calculated at the\ntime the bucket was processed.", + "type": "number" + }, + "is_interim": { + "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", + "type": "boolean" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "probability": { + "description": "The probability that the bucket has this behavior, in the range 0 to 1. This value can be held to a high precision\nof over 300 decimal places, so the `anomaly_score` is provided as a human-readable and friendly interpretation of\nthis.", + "type": "number" + }, + "raw_anomaly_score": { + "description": "Internal.", + "type": "number" + }, + "result_type": { + "description": "Internal. This value is always set to `bucket_influencer`.", + "type": "string" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "timestamp_string": { + "$ref": "#/components/schemas/_types:DateTime" + } + }, + "required": [ + "anomaly_score", + "bucket_span", + "influencer_field_name", + "initial_anomaly_score", + "is_interim", + "job_id", + "probability", + "raw_anomaly_score", + "result_type", + "timestamp" + ] + }, + "_types:DurationValueUnitSeconds": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:UnitSeconds" + } + ] + }, + "ml._types:CalendarEvent": { + "type": "object", + "properties": { + "calendar_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "event_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "description": { + "description": "A description of the scheduled event.", + "type": "string" + }, + "end_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "start_time": { + "$ref": "#/components/schemas/_types:DateTime" + } + }, + "required": [ + "description", + "end_time", + "start_time" + ] + }, + "ml.get_calendars:Calendar": { + "type": "object", + "properties": { + "calendar_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "description": { + "description": "A description of the calendar.", + "type": "string" + }, + "job_ids": { + "description": "An array of anomaly detection job identifiers.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } + } + }, + "required": [ + "calendar_id", + "job_ids" + ] + }, + "_types:CategoryId": { + "type": "string" + }, + "ml._types:Category": { + "type": "object", + "properties": { + "category_id": { + "$ref": "#/components/schemas/_types:ulong" + }, + "examples": { + "description": "A list of examples of actual values that matched the category.", + "type": "array", + "items": { + "type": "string" + } + }, + "grok_pattern": { + "description": "[experimental] A Grok pattern that could be used in Logstash or an ingest pipeline to extract fields from messages that match the category. This field is experimental and may be changed or removed in a future release. The Grok patterns that are found are not optimal, but are often a good starting point for manual tweaking.", + "type": "string" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max_matching_length": { + "$ref": "#/components/schemas/_types:ulong" + }, + "partition_field_name": { + "description": "If per-partition categorization is enabled, this property identifies the field used to segment the categorization. It is not present when per-partition categorization is disabled.", + "type": "string" + }, + "partition_field_value": { + "description": "If per-partition categorization is enabled, this property identifies the value of the partition_field_name for the category. It is not present when per-partition categorization is disabled.", + "type": "string" + }, + "regex": { + "description": "A regular expression that is used to search for values that match the category.", + "type": "string" + }, + "terms": { + "description": "A space separated list of the common tokens that are matched in values of the category.", + "type": "string" + }, + "num_matches": { + "description": "The number of messages that have been matched by this category. This is only guaranteed to have the latest accurate count after a job _flush or _close", + "type": "number" + }, + "preferred_to_categories": { + "description": "A list of category_id entries that this current category encompasses. Any new message that is processed by the categorizer will match against this category and not any of the categories in this list. This is only guaranteed to have the latest accurate list of categories after a job _flush or _close", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "p": { + "type": "string" + }, + "result_type": { + "type": "string" + }, + "mlcategory": { + "type": "string" + } + }, + "required": [ + "category_id", + "examples", + "job_id", + "max_matching_length", + "regex", + "terms", + "result_type", + "mlcategory" + ] + }, + "ml._types:DataframeAnalyticsSummary": { + "type": "object", + "properties": { + "allow_lazy_start": { + "type": "boolean" + }, + "analysis": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" + }, + "analyzed_fields": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" + }, + "authorization": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsAuthorization" + }, + "create_time": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "description": { + "type": "string" + }, + "dest": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsDestination" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max_num_threads": { + "type": "number" + }, + "model_memory_limit": { + "type": "string" + }, + "source": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "analysis", + "dest", + "id", + "source" + ] + }, + "ml._types:DataframeAnalyticsAuthorization": { + "type": "object", + "properties": { + "api_key": { + "$ref": "#/components/schemas/ml._types:ApiKeyAuthorization" + }, + "roles": { + "description": "If a user ID was used for the most recent update to the job, its roles at the time of the update are listed in the response.", + "type": "array", + "items": { + "type": "string" + } + }, + "service_account": { + "description": "If a service account was used for the most recent update to the job, the account name is listed in the response.", + "type": "string" + } + } + }, + "ml._types:ApiKeyAuthorization": { + "type": "object", + "properties": { + "id": { + "description": "The identifier for the API key.", + "type": "string" + }, + "name": { + "description": "The name of the API key.", + "type": "string" + } + }, + "required": [ + "id", + "name" + ] + }, + "ml._types:DataframeAnalytics": { + "type": "object", + "properties": { + "analysis_stats": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsContainer" + }, + "assignment_explanation": { + "description": "For running jobs only, contains messages relating to the selection of a node to run the job.", + "type": "string" + }, + "data_counts": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsDataCounts" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "memory_usage": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsMemoryUsage" + }, + "progress": { + "description": "The progress report of the data frame analytics job by phase.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsProgress" + } + }, + "state": { + "$ref": "#/components/schemas/ml._types:DataframeState" + } + }, + "required": [ + "data_counts", + "id", + "memory_usage", + "progress", + "state" + ] + }, + "ml._types:DataframeAnalyticsStatsContainer": { + "type": "object", + "properties": { + "classification_stats": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsHyperparameters" + }, + "outlier_detection_stats": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsOutlierDetection" + }, + "regression_stats": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsHyperparameters" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ml._types:DataframeAnalyticsStatsHyperparameters": { + "type": "object", + "properties": { + "hyperparameters": { + "$ref": "#/components/schemas/ml._types:Hyperparameters" + }, + "iteration": { + "description": "The number of iterations on the analysis.", + "type": "number" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "timing_stats": { + "$ref": "#/components/schemas/ml._types:TimingStats" + }, + "validation_loss": { + "$ref": "#/components/schemas/ml._types:ValidationLoss" + } + }, + "required": [ + "hyperparameters", + "iteration", + "timestamp", + "timing_stats", + "validation_loss" + ] + }, + "ml._types:Hyperparameters": { + "type": "object", + "properties": { + "alpha": { + "description": "Advanced configuration option.\nMachine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly.\nThis parameter affects loss calculations by acting as a multiplier of the tree depth.\nHigher alpha values result in shallower trees and faster training times.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than or equal to zero.", + "type": "number" + }, + "lambda": { + "description": "Advanced configuration option.\nRegularization parameter to prevent overfitting on the training data set.\nMultiplies an L2 regularization term which applies to leaf weights of the individual trees in the forest.\nA high lambda value causes training to favor small leaf weights.\nThis behavior makes the prediction function smoother at the expense of potentially not being able to capture relevant relationships between the features and the dependent variable.\nA small lambda value results in large individual trees and slower training.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be a nonnegative value.", + "type": "number" + }, + "gamma": { + "description": "Advanced configuration option.\nRegularization parameter to prevent overfitting on the training data set.\nMultiplies a linear penalty associated with the size of individual trees in the forest.\nA high gamma value causes training to prefer small trees.\nA small gamma value results in larger individual trees and slower training.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be a nonnegative value.", + "type": "number" + }, + "eta": { + "description": "Advanced configuration option.\nThe shrinkage applied to the weights.\nSmaller values result in larger forests which have a better generalization error.\nHowever, larger forests cause slower training.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be a value between `0.001` and `1`.", + "type": "number" + }, + "eta_growth_rate_per_tree": { + "description": "Advanced configuration option.\nSpecifies the rate at which `eta` increases for each new tree that is added to the forest.\nFor example, a rate of 1.05 increases `eta` by 5% for each extra tree.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be between `0.5` and `2`.", + "type": "number" + }, + "feature_bag_fraction": { + "description": "Advanced configuration option.\nDefines the fraction of features that will be used when selecting a random bag for each candidate split.\nBy default, this value is calculated during hyperparameter optimization.", + "type": "number" + }, + "downsample_factor": { + "description": "Advanced configuration option.\nControls the fraction of data that is used to compute the derivatives of the loss function for tree training.\nA small value results in the use of a small fraction of the data.\nIf this value is set to be less than 1, accuracy typically improves.\nHowever, too small a value may result in poor convergence for the ensemble and so require more trees.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than zero and less than or equal to 1.", + "type": "number" + }, + "max_attempts_to_add_tree": { + "description": "If the algorithm fails to determine a non-trivial tree (more than a single leaf), this parameter determines how many of such consecutive failures are tolerated.\nOnce the number of attempts exceeds the threshold, the forest training stops.", + "type": "number" + }, + "max_optimization_rounds_per_hyperparameter": { + "description": "Advanced configuration option.\nA multiplier responsible for determining the maximum number of hyperparameter optimization steps in the Bayesian optimization procedure.\nThe maximum number of steps is determined based on the number of undefined hyperparameters times the maximum optimization rounds per hyperparameter.\nBy default, this value is calculated during hyperparameter optimization.", + "type": "number" + }, + "max_trees": { + "description": "Advanced configuration option.\nDefines the maximum number of decision trees in the forest.\nThe maximum value is 2000.\nBy default, this value is calculated during hyperparameter optimization.", + "type": "number" + }, + "num_folds": { + "description": "The maximum number of folds for the cross-validation procedure.", + "type": "number" + }, + "num_splits_per_feature": { + "description": "Determines the maximum number of splits for every feature that can occur in a decision tree when the tree is trained.", + "type": "number" + }, + "soft_tree_depth_limit": { + "description": "Advanced configuration option.\nMachine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly.\nThis soft limit combines with the `soft_tree_depth_tolerance` to penalize trees that exceed the specified depth; the regularized loss increases quickly beyond this depth.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than or equal to 0.", + "type": "number" + }, + "soft_tree_depth_tolerance": { + "description": "Advanced configuration option.\nThis option controls how quickly the regularized loss increases when the tree depth exceeds `soft_tree_depth_limit`.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than or equal to 0.01.", + "type": "number" + } + } + }, + "ml._types:TimingStats": { + "type": "object", + "properties": { + "elapsed_time": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "iteration_time": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "elapsed_time" + ] + }, + "ml._types:ValidationLoss": { + "type": "object", + "properties": { + "fold_values": { + "description": "Validation loss values for every added decision tree during the forest growing procedure.", + "type": "array", + "items": { + "type": "string" + } + }, + "loss_type": { + "description": "The type of the loss metric. For example, binomial_logistic.", + "type": "string" + } + }, + "required": [ + "fold_values", + "loss_type" + ] + }, + "ml._types:DataframeAnalyticsStatsOutlierDetection": { + "type": "object", + "properties": { + "parameters": { + "$ref": "#/components/schemas/ml._types:OutlierDetectionParameters" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "timing_stats": { + "$ref": "#/components/schemas/ml._types:TimingStats" + } + }, + "required": [ + "parameters", + "timestamp", + "timing_stats" + ] + }, + "ml._types:OutlierDetectionParameters": { + "type": "object", + "properties": { + "compute_feature_influence": { + "description": "Specifies whether the feature influence calculation is enabled.", + "type": "boolean" + }, + "feature_influence_threshold": { + "description": "The minimum outlier score that a document needs to have in order to calculate its feature influence score.\nValue range: 0-1", + "type": "number" + }, + "method": { + "description": "The method that outlier detection uses.\nAvailable methods are `lof`, `ldof`, `distance_kth_nn`, `distance_knn`, and `ensemble`.\nThe default value is ensemble, which means that outlier detection uses an ensemble of different methods and normalises and combines their individual outlier scores to obtain the overall outlier score.", + "type": "string" + }, + "n_neighbors": { + "description": "Defines the value for how many nearest neighbors each method of outlier detection uses to calculate its outlier score.\nWhen the value is not set, different values are used for different ensemble members.\nThis default behavior helps improve the diversity in the ensemble; only override it if you are confident that the value you choose is appropriate for the data set.", + "type": "number" + }, + "outlier_fraction": { + "description": "The proportion of the data set that is assumed to be outlying prior to outlier detection.\nFor example, 0.05 means it is assumed that 5% of values are real outliers and 95% are inliers.", + "type": "number" + }, + "standardization_enabled": { + "description": "If `true`, the following operation is performed on the columns before computing outlier scores: (x_i - mean(x_i)) / sd(x_i).", + "type": "boolean" + } + } + }, + "ml._types:DataframeAnalyticsStatsDataCounts": { + "type": "object", + "properties": { + "skipped_docs_count": { + "description": "The number of documents that are skipped during the analysis because they contained values that are not supported by the analysis. For example, outlier detection does not support missing fields so it skips documents with missing fields. Likewise, all types of analysis skip documents that contain arrays with more than one element.", + "type": "number" + }, + "test_docs_count": { + "description": "The number of documents that are not used for training the model and can be used for testing.", + "type": "number" + }, + "training_docs_count": { + "description": "The number of documents that are used for training the model.", + "type": "number" + } + }, + "required": [ + "skipped_docs_count", + "test_docs_count", + "training_docs_count" + ] + }, + "ml._types:DataframeAnalyticsStatsMemoryUsage": { + "type": "object", + "properties": { + "memory_reestimate_bytes": { + "description": "This value is present when the status is hard_limit and it is a new estimate of how much memory the job needs.", + "type": "number" + }, + "peak_usage_bytes": { + "description": "The number of bytes used at the highest peak of memory usage.", + "type": "number" + }, + "status": { + "description": "The memory usage status.", + "type": "string" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + } + }, + "required": [ + "peak_usage_bytes", + "status" + ] + }, + "ml._types:DataframeAnalyticsStatsProgress": { + "type": "object", + "properties": { + "phase": { + "description": "Defines the phase of the data frame analytics job.", + "type": "string" + }, + "progress_percent": { + "description": "The progress that the data frame analytics job has made expressed in percentage.", + "type": "number" + } + }, + "required": [ + "phase", + "progress_percent" + ] + }, + "ml._types:DataframeState": { + "type": "string", + "enum": [ + "started", + "stopped", + "starting", + "stopping", + "failed" + ] + }, + "ml._types:DatafeedStats": { + "type": "object", + "properties": { + "assignment_explanation": { + "description": "For started datafeeds only, contains messages relating to the selection of a node.", + "type": "string" + }, + "datafeed_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "state": { + "$ref": "#/components/schemas/ml._types:DatafeedState" + }, + "timing_stats": { + "$ref": "#/components/schemas/ml._types:DatafeedTimingStats" + }, + "running_state": { + "$ref": "#/components/schemas/ml._types:DatafeedRunningState" + } + }, + "required": [ + "datafeed_id", + "state", + "timing_stats" + ] + }, + "ml._types:DatafeedTimingStats": { + "type": "object", + "properties": { + "bucket_count": { + "description": "The number of buckets processed.", + "type": "number" + }, + "exponential_average_search_time_per_hour_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "search_count": { + "description": "The number of searches run by the datafeed.", + "type": "number" + }, + "total_search_time_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + }, + "average_search_time_per_bucket_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + } + }, + "required": [ + "bucket_count", + "exponential_average_search_time_per_hour_ms", + "job_id", + "search_count", + "total_search_time_ms" + ] + }, + "_types:DurationValueUnitFloatMillis": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:UnitFloatMillis" + } + ] + }, + "_types:UnitFloatMillis": { + "description": "Time unit for fractional milliseconds", + "type": "number" + }, + "ml._types:DatafeedRunningState": { + "type": "object", + "properties": { + "real_time_configured": { + "description": "Indicates if the datafeed is \"real-time\"; meaning that the datafeed has no configured `end` time.", + "type": "boolean" + }, + "real_time_running": { + "description": "Indicates whether the datafeed has finished running on the available past data.\nFor datafeeds without a configured `end` time, this means that the datafeed is now running on \"real-time\" data.", + "type": "boolean" + }, + "search_interval": { + "$ref": "#/components/schemas/ml._types:RunningStateSearchInterval" + } + }, + "required": [ + "real_time_configured", + "real_time_running" + ] + }, + "ml._types:RunningStateSearchInterval": { + "type": "object", + "properties": { + "end": { + "$ref": "#/components/schemas/_types:Duration" + }, + "end_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "start": { + "$ref": "#/components/schemas/_types:Duration" + }, + "start_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "end_ms", + "start_ms" + ] + }, + "ml._types:Datafeed": { + "type": "object", + "properties": { + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "authorization": { + "$ref": "#/components/schemas/ml._types:DatafeedAuthorization" + }, + "chunking_config": { + "$ref": "#/components/schemas/ml._types:ChunkingConfig" + }, + "datafeed_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "indices": { + "type": "array", + "items": { + "type": "string" + } + }, + "indexes": { + "type": "array", + "items": { + "type": "string" + } + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max_empty_searches": { + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "query_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "script_fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "scroll_size": { + "type": "number" + }, + "delayed_data_check_config": { + "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "indices_options": { + "$ref": "#/components/schemas/_types:IndicesOptions" + } + }, + "required": [ + "datafeed_id", + "indices", + "job_id", + "query", + "delayed_data_check_config" + ] + }, + "ml._types:DatafeedAuthorization": { + "type": "object", + "properties": { + "api_key": { + "$ref": "#/components/schemas/ml._types:ApiKeyAuthorization" + }, + "roles": { + "description": "If a user ID was used for the most recent update to the datafeed, its roles at the time of the update are listed in the response.", + "type": "array", + "items": { + "type": "string" + } + }, + "service_account": { + "description": "If a service account was used for the most recent update to the datafeed, the account name is listed in the response.", + "type": "string" + } + } + }, + "ml._types:ChunkingConfig": { + "type": "object", + "properties": { + "mode": { + "$ref": "#/components/schemas/ml._types:ChunkingMode" + }, + "time_span": { + "$ref": "#/components/schemas/_types:Duration" + } + }, + "required": [ + "mode" + ] + }, + "ml._types:ChunkingMode": { + "type": "string", + "enum": [ + "auto", + "manual", + "off" + ] + }, + "ml._types:DelayedDataCheckConfig": { + "type": "object", + "properties": { + "check_window": { + "$ref": "#/components/schemas/_types:Duration" + }, + "enabled": { + "description": "Specifies whether the datafeed periodically checks for delayed data.", + "type": "boolean" + } + }, + "required": [ + "enabled" + ] + }, + "_types:IndicesOptions": { + "type": "object", + "properties": { + "allow_no_indices": { + "description": "If false, the request returns an error if any wildcard expression, index alias, or `_all` value targets only\nmissing or closed indices. This behavior applies even if the request targets other open indices. For example,\na request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", + "type": "boolean" + }, + "expand_wildcards": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "ignore_unavailable": { + "description": "If true, missing or closed indices are not included in the response.", + "type": "boolean" + }, + "ignore_throttled": { + "description": "If true, concrete, expanded or aliased indices are ignored when frozen.", + "type": "boolean" + } + } + }, + "ml._types:Filter": { + "type": "object", + "properties": { + "description": { + "description": "A description of the filter.", + "type": "string" + }, + "filter_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "items": { + "description": "An array of strings which is the filter item list.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "filter_id", + "items" + ] + }, + "ml._types:Influencer": { + "type": "object", + "properties": { + "bucket_span": { + "$ref": "#/components/schemas/_types:DurationValueUnitSeconds" + }, + "influencer_score": { + "description": "A normalized score between 0-100, which is based on the probability of the influencer in this bucket aggregated\nacross detectors. Unlike `initial_influencer_score`, this value is updated by a re-normalization process as new\ndata is analyzed.", + "type": "number" + }, + "influencer_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "influencer_field_value": { + "description": "The entity that influenced, contributed to, or was to blame for the anomaly.", + "type": "string" + }, + "initial_influencer_score": { + "description": "A normalized score between 0-100, which is based on the probability of the influencer aggregated across detectors.\nThis is the initial value that was calculated at the time the bucket was processed.", + "type": "number" + }, + "is_interim": { + "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", + "type": "boolean" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "probability": { + "description": "The probability that the influencer has this behavior, in the range 0 to 1. This value can be held to a high\nprecision of over 300 decimal places, so the `influencer_score` is provided as a human-readable and friendly\ninterpretation of this value.", + "type": "number" + }, + "result_type": { + "description": "Internal. This value is always set to `influencer`.", + "type": "string" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "foo": { + "description": "Additional influencer properties are added, depending on the fields being analyzed. For example, if it’s\nanalyzing `user_name` as an influencer, a field `user_name` is added to the result document. This\ninformation enables you to filter the anomaly results more easily.", + "type": "string" + } + }, + "required": [ + "bucket_span", + "influencer_score", + "influencer_field_name", + "influencer_field_value", + "initial_influencer_score", + "is_interim", + "job_id", + "probability", + "result_type", + "timestamp" + ] + }, + "ml._types:JobStats": { + "type": "object", + "properties": { + "assignment_explanation": { + "description": "For open anomaly detection jobs only, contains messages relating to the selection of a node to run the job.", + "type": "string" + }, + "data_counts": { + "$ref": "#/components/schemas/ml._types:DataCounts" + }, + "forecasts_stats": { + "$ref": "#/components/schemas/ml._types:JobForecastStatistics" + }, + "job_id": { + "description": "Identifier for the anomaly detection job.", + "type": "string" + }, + "model_size_stats": { + "$ref": "#/components/schemas/ml._types:ModelSizeStats" + }, + "open_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "state": { + "$ref": "#/components/schemas/ml._types:JobState" + }, + "timing_stats": { + "$ref": "#/components/schemas/ml._types:JobTimingStats" + }, + "deleting": { + "description": "Indicates that the process of deleting the job is in progress but not yet completed. It is only reported when `true`.", + "type": "boolean" + } + }, + "required": [ + "data_counts", + "forecasts_stats", + "job_id", + "model_size_stats", + "state", + "timing_stats" + ] + }, + "ml._types:DataCounts": { + "type": "object", + "properties": { + "bucket_count": { + "type": "number" + }, + "earliest_record_timestamp": { + "type": "number" + }, + "empty_bucket_count": { + "type": "number" + }, + "input_bytes": { + "type": "number" + }, + "input_field_count": { + "type": "number" + }, + "input_record_count": { + "type": "number" + }, + "invalid_date_count": { + "type": "number" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "last_data_time": { + "type": "number" + }, + "latest_empty_bucket_timestamp": { + "type": "number" + }, + "latest_record_timestamp": { + "type": "number" + }, + "latest_sparse_bucket_timestamp": { + "type": "number" + }, + "latest_bucket_timestamp": { + "type": "number" + }, + "log_time": { + "type": "number" + }, + "missing_field_count": { + "type": "number" + }, + "out_of_order_timestamp_count": { + "type": "number" + }, + "processed_field_count": { + "type": "number" + }, + "processed_record_count": { + "type": "number" + }, + "sparse_bucket_count": { + "type": "number" + } + }, + "required": [ + "bucket_count", + "empty_bucket_count", + "input_bytes", + "input_field_count", + "input_record_count", + "invalid_date_count", + "job_id", + "missing_field_count", + "out_of_order_timestamp_count", + "processed_field_count", + "processed_record_count", + "sparse_bucket_count" + ] + }, + "ml._types:JobForecastStatistics": { + "type": "object", + "properties": { + "memory_bytes": { + "$ref": "#/components/schemas/ml._types:JobStatistics" + }, + "processing_time_ms": { + "$ref": "#/components/schemas/ml._types:JobStatistics" + }, + "records": { + "$ref": "#/components/schemas/ml._types:JobStatistics" + }, + "status": { + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "total": { + "type": "number" + }, + "forecasted_jobs": { + "type": "number" + } + }, + "required": [ + "total", + "forecasted_jobs" + ] + }, + "ml._types:JobStatistics": { + "type": "object", + "properties": { + "avg": { + "type": "number" + }, + "max": { + "type": "number" + }, + "min": { + "type": "number" + }, + "total": { + "type": "number" + } + }, + "required": [ + "avg", + "max", + "min", + "total" + ] + }, + "ml._types:ModelSizeStats": { + "type": "object", + "properties": { + "bucket_allocation_failures_count": { + "type": "number" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "log_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "memory_status": { + "$ref": "#/components/schemas/ml._types:MemoryStatus" + }, + "model_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "model_bytes_exceeded": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "model_bytes_memory_limit": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "peak_model_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "assignment_memory_basis": { + "type": "string" + }, + "result_type": { + "type": "string" + }, + "total_by_field_count": { + "type": "number" + }, + "total_over_field_count": { + "type": "number" + }, + "total_partition_field_count": { + "type": "number" + }, + "categorization_status": { + "$ref": "#/components/schemas/ml._types:CategorizationStatus" + }, + "categorized_doc_count": { + "type": "number" + }, + "dead_category_count": { + "type": "number" + }, + "failed_category_count": { + "type": "number" + }, + "frequent_category_count": { + "type": "number" + }, + "rare_category_count": { + "type": "number" + }, + "total_category_count": { + "type": "number" + }, + "timestamp": { + "type": "number" + } + }, + "required": [ + "bucket_allocation_failures_count", + "job_id", + "log_time", + "memory_status", + "model_bytes", + "result_type", + "total_by_field_count", + "total_over_field_count", + "total_partition_field_count", + "categorization_status", + "categorized_doc_count", + "dead_category_count", + "failed_category_count", + "frequent_category_count", + "rare_category_count", + "total_category_count" + ] + }, + "ml._types:JobTimingStats": { + "type": "object", + "properties": { + "average_bucket_processing_time_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + }, + "bucket_count": { + "type": "number" + }, + "exponential_average_bucket_processing_time_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + }, + "exponential_average_bucket_processing_time_per_hour_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "total_bucket_processing_time_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + }, + "maximum_bucket_processing_time_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + }, + "minimum_bucket_processing_time_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + } + }, + "required": [ + "bucket_count", + "exponential_average_bucket_processing_time_per_hour_ms", + "job_id", + "total_bucket_processing_time_ms" + ] + }, + "ml._types:Job": { + "type": "object", + "properties": { + "allow_lazy_open": { + "description": "Advanced configuration option.\nSpecifies whether this job can open when there is insufficient machine learning node capacity for it to be immediately assigned to a node.", + "type": "boolean" + }, + "analysis_config": { + "$ref": "#/components/schemas/ml._types:AnalysisConfig" + }, + "analysis_limits": { + "$ref": "#/components/schemas/ml._types:AnalysisLimits" + }, + "background_persist_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "blocked": { + "$ref": "#/components/schemas/ml._types:JobBlocked" + }, + "create_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "custom_settings": { + "$ref": "#/components/schemas/ml._types:CustomSettings" + }, + "daily_model_snapshot_retention_after_days": { + "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies a period of time (in days) after which only the first snapshot per day is retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.\nValid values range from 0 to `model_snapshot_retention_days`.", + "type": "number" + }, + "data_description": { + "$ref": "#/components/schemas/ml._types:DataDescription" + }, + "datafeed_config": { + "$ref": "#/components/schemas/ml._types:Datafeed" + }, + "deleting": { + "description": "Indicates that the process of deleting the job is in progress but not yet completed.\nIt is only reported when `true`.", + "type": "boolean" + }, + "description": { + "description": "A description of the job.", + "type": "string" + }, + "finished_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "groups": { + "description": "A list of job groups.\nA job can belong to no groups or many.", + "type": "array", + "items": { + "type": "string" + } + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "job_type": { + "description": "Reserved for future use, currently set to `anomaly_detector`.", + "type": "string" + }, + "job_version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "model_plot_config": { + "$ref": "#/components/schemas/ml._types:ModelPlotConfig" + }, + "model_snapshot_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "model_snapshot_retention_days": { + "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies the maximum period of time (in days) that snapshots are retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.\nBy default, snapshots ten days older than the newest snapshot are deleted.", + "type": "number" + }, + "renormalization_window_days": { + "description": "Advanced configuration option.\nThe period over which adjustments to the score are applied, as new data is seen.\nThe default value is the longer of 30 days or 100 `bucket_spans`.", + "type": "number" + }, + "results_index_name": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "results_retention_days": { + "description": "Advanced configuration option.\nThe period of time (in days) that results are retained.\nAge is calculated relative to the timestamp of the latest bucket result.\nIf this property has a non-null value, once per day at 00:30 (server time), results that are the specified number of days older than the latest bucket result are deleted from Elasticsearch.\nThe default value is null, which means all results are retained.\nAnnotations generated by the system also count as results for retention purposes; they are deleted after the same number of days as results.\nAnnotations added by users are retained forever.", + "type": "number" + } + }, + "required": [ + "allow_lazy_open", + "analysis_config", + "data_description", + "job_id", + "model_snapshot_retention_days", + "results_index_name" + ] + }, + "ml._types:AnalysisLimits": { + "type": "object", + "properties": { + "categorization_examples_limit": { + "description": "The maximum number of examples stored per category in memory and in the results data store. If you increase this value, more examples are available, however it requires that you have more storage available. If you set this value to 0, no examples are stored. NOTE: The `categorization_examples_limit` applies only to analysis that uses categorization.", + "type": "number" + }, + "model_memory_limit": { + "description": "The approximate maximum amount of memory resources that are required for analytical processing. Once this limit is approached, data pruning becomes more aggressive. Upon exceeding this limit, new entities are not modeled. If the `xpack.ml.max_model_memory_limit` setting has a value greater than 0 and less than 1024mb, that value is used instead of the default. The default value is relatively small to ensure that high resource usage is a conscious decision. If you have jobs that are expected to analyze high cardinality fields, you will likely need to use a higher value. If you specify a number instead of a string, the units are assumed to be MiB. Specifying a string is recommended for clarity. If you specify a byte size unit of `b` or `kb` and the number does not equate to a discrete number of megabytes, it is rounded down to the closest MiB. The minimum valid value is 1 MiB. If you specify a value less than 1 MiB, an error occurs. If you specify a value for the `xpack.ml.max_model_memory_limit` setting, an error occurs when you try to create jobs that have `model_memory_limit` values greater than that setting value.", + "type": "string" + } + } + }, + "ml._types:JobBlocked": { + "type": "object", + "properties": { + "reason": { + "$ref": "#/components/schemas/ml._types:JobBlockedReason" + }, + "task_id": { + "$ref": "#/components/schemas/_types:TaskId" + } + }, + "required": [ + "reason" + ] + }, + "ml._types:JobBlockedReason": { + "type": "string", + "enum": [ + "delete", + "reset", + "revert" + ] + }, + "ml._types:CustomSettings": { + "description": "Custom metadata about the job", + "type": "object" + }, + "ml._types:DataDescription": { + "type": "object", + "properties": { + "format": { + "description": "Only JSON format is supported at this time.", + "type": "string" + }, + "time_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "time_format": { + "description": "The time format, which can be `epoch`, `epoch_ms`, or a custom pattern. The value `epoch` refers to UNIX or Epoch time (the number of seconds since 1 Jan 1970). The value `epoch_ms` indicates that time is measured in milliseconds since the epoch. The `epoch` and `epoch_ms` time formats accept either integer or real values. Custom patterns must conform to the Java DateTimeFormatter class. When you use date-time formatting patterns, it is recommended that you provide the full date, time and time zone. For example: `yyyy-MM-dd'T'HH:mm:ssX`. If the pattern that you specify is not sufficient to produce a complete timestamp, job creation fails.", + "type": "string" + }, + "field_delimiter": { + "type": "string" + } + } + }, + "ml._types:ModelPlotConfig": { + "type": "object", + "properties": { + "annotations_enabled": { + "description": "If true, enables calculation and storage of the model change annotations for each entity that is being analyzed.", + "type": "boolean" + }, + "enabled": { + "description": "If true, enables calculation and storage of the model bounds for each entity that is being analyzed.", + "type": "boolean" + }, + "terms": { + "$ref": "#/components/schemas/_types:Field" + } + } + }, + "ml.get_memory_stats:Memory": { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "jvm": { + "$ref": "#/components/schemas/ml.get_memory_stats:JvmStats" + }, + "mem": { + "$ref": "#/components/schemas/ml.get_memory_stats:MemStats" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "roles": { + "description": "Roles assigned to the node.", + "type": "array", + "items": { + "type": "string" + } + }, + "transport_address": { + "$ref": "#/components/schemas/_types:TransportAddress" + }, + "ephemeral_id": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "required": [ + "attributes", + "jvm", + "mem", + "name", + "roles", + "transport_address", + "ephemeral_id" + ] + }, + "ml.get_memory_stats:JvmStats": { + "type": "object", + "properties": { + "heap_max": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "heap_max_in_bytes": { + "description": "Maximum amount of memory, in bytes, available for use by the heap.", + "type": "number" + }, + "java_inference": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "java_inference_in_bytes": { + "description": "Amount of Java heap, in bytes, currently being used for caching inference models.", + "type": "number" + }, + "java_inference_max": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "java_inference_max_in_bytes": { + "description": "Maximum amount of Java heap, in bytes, to be used for caching inference models.", + "type": "number" + } + }, + "required": [ + "heap_max_in_bytes", + "java_inference_in_bytes", + "java_inference_max_in_bytes" + ] + }, + "ml.get_memory_stats:MemStats": { + "type": "object", + "properties": { + "adjusted_total": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "adjusted_total_in_bytes": { + "description": "If the amount of physical memory has been overridden using the `es.total_memory_bytes` system property\nthen this reports the overridden value in bytes. Otherwise it reports the same value as `total_in_bytes`.", + "type": "number" + }, + "total": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "total_in_bytes": { + "description": "Total amount of physical memory in bytes.", + "type": "number" + }, + "ml": { + "$ref": "#/components/schemas/ml.get_memory_stats:MemMlStats" + } + }, + "required": [ + "adjusted_total_in_bytes", + "total_in_bytes", + "ml" + ] + }, + "ml.get_memory_stats:MemMlStats": { + "type": "object", + "properties": { + "anomaly_detectors": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "anomaly_detectors_in_bytes": { + "description": "Amount of native memory, in bytes, set aside for anomaly detection jobs.", + "type": "number" + }, + "data_frame_analytics": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "data_frame_analytics_in_bytes": { + "description": "Amount of native memory, in bytes, set aside for data frame analytics jobs.", + "type": "number" + }, + "max": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "max_in_bytes": { + "description": "Maximum amount of native memory (separate to the JVM heap), in bytes, that may be used by machine learning native processes.", + "type": "number" + }, + "native_code_overhead": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "native_code_overhead_in_bytes": { + "description": "Amount of native memory, in bytes, set aside for loading machine learning native code shared libraries.", + "type": "number" + }, + "native_inference": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "native_inference_in_bytes": { + "description": "Amount of native memory, in bytes, set aside for trained models that have a PyTorch model_type.", + "type": "number" + } + }, + "required": [ + "anomaly_detectors_in_bytes", + "data_frame_analytics_in_bytes", + "max_in_bytes", + "native_code_overhead_in_bytes", + "native_inference_in_bytes" + ] + }, + "ml._types:ModelSnapshotUpgrade": { + "type": "object", + "properties": { + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "snapshot_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "state": { + "$ref": "#/components/schemas/ml._types:SnapshotUpgradeState" + }, + "assignment_explanation": { + "type": "string" + } + }, + "required": [ + "job_id", + "snapshot_id", + "state", + "assignment_explanation" + ] + }, + "ml._types:SnapshotUpgradeState": { + "type": "string", + "enum": [ + "loading_old_state", + "saving_new_state", + "stopped", + "failed" + ] + }, + "ml._types:ModelSnapshot": { + "type": "object", + "properties": { + "description": { + "description": "An optional description of the job.", + "type": "string" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "latest_record_time_stamp": { + "description": "The timestamp of the latest processed record.", + "type": "number" + }, + "latest_result_time_stamp": { + "description": "The timestamp of the latest bucket result.", + "type": "number" + }, + "min_version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "model_size_stats": { + "$ref": "#/components/schemas/ml._types:ModelSizeStats" + }, + "retain": { + "description": "If true, this snapshot will not be deleted during automatic cleanup of snapshots older than model_snapshot_retention_days. However, this snapshot will be deleted when the job is deleted. The default value is false.", + "type": "boolean" + }, + "snapshot_doc_count": { + "description": "For internal use only.", + "type": "number" + }, + "snapshot_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "timestamp": { + "description": "The creation timestamp for the snapshot.", + "type": "number" + } + }, + "required": [ + "job_id", + "min_version", + "retain", + "snapshot_doc_count", + "snapshot_id", + "timestamp" + ] + }, + "ml._types:OverallBucket": { + "type": "object", + "properties": { + "bucket_span": { + "$ref": "#/components/schemas/_types:DurationValueUnitSeconds" + }, + "is_interim": { + "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", + "type": "boolean" + }, + "jobs": { + "description": "An array of objects that contain the max_anomaly_score per job_id.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:OverallBucketJob" + } + }, + "overall_score": { + "description": "The top_n average of the maximum bucket anomaly_score per job.", + "type": "number" + }, + "result_type": { + "description": "Internal. This is always set to overall_bucket.", + "type": "string" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "timestamp_string": { + "$ref": "#/components/schemas/_types:DateTime" + } + }, + "required": [ + "bucket_span", + "is_interim", + "jobs", + "overall_score", + "result_type", + "timestamp", + "timestamp_string" + ] + }, + "ml._types:OverallBucketJob": { + "type": "object", + "properties": { + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max_anomaly_score": { + "type": "number" + } + }, + "required": [ + "job_id", + "max_anomaly_score" + ] + }, + "ml._types:Anomaly": { + "type": "object", + "properties": { + "actual": { + "description": "The actual value for the bucket.", + "type": "array", + "items": { + "type": "number" + } + }, + "anomaly_score_explanation": { + "$ref": "#/components/schemas/ml._types:AnomalyExplanation" + }, + "bucket_span": { + "$ref": "#/components/schemas/_types:DurationValueUnitSeconds" + }, + "by_field_name": { + "description": "The field used to split the data. In particular, this property is used for analyzing the splits with respect to their own history. It is used for finding unusual values in the context of the split.", + "type": "string" + }, + "by_field_value": { + "description": "The value of `by_field_name`.", + "type": "string" + }, + "causes": { + "description": "For population analysis, an over field must be specified in the detector. This property contains an array of anomaly records that are the causes for the anomaly that has been identified for the over field. This sub-resource contains the most anomalous records for the `over_field_name`. For scalability reasons, a maximum of the 10 most significant causes of the anomaly are returned. As part of the core analytical modeling, these low-level anomaly records are aggregated for their parent over field record. The `causes` resource contains similar elements to the record resource, namely `actual`, `typical`, `geo_results.actual_point`, `geo_results.typical_point`, `*_field_name` and `*_field_value`. Probability and scores are not applicable to causes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:AnomalyCause" + } + }, + "detector_index": { + "description": "A unique identifier for the detector.", + "type": "number" + }, + "field_name": { + "description": "Certain functions require a field to operate on, for example, `sum()`. For those functions, this value is the name of the field to be analyzed.", + "type": "string" + }, + "function": { + "description": "The function in which the anomaly occurs, as specified in the detector configuration. For example, `max`.", + "type": "string" + }, + "function_description": { + "description": "The description of the function in which the anomaly occurs, as specified in the detector configuration.", + "type": "string" + }, + "geo_results": { + "$ref": "#/components/schemas/ml._types:GeoResults" + }, + "influencers": { + "description": "If influencers were specified in the detector configuration, this array contains influencers that contributed to or were to blame for an anomaly.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Influence" + } + }, + "initial_record_score": { + "description": "A normalized score between 0-100, which is based on the probability of the anomalousness of this record. This is the initial value that was calculated at the time the bucket was processed.", + "type": "number" + }, + "is_interim": { + "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", + "type": "boolean" + }, + "job_id": { + "description": "Identifier for the anomaly detection job.", + "type": "string" + }, + "over_field_name": { + "description": "The field used to split the data. In particular, this property is used for analyzing the splits with respect to the history of all splits. It is used for finding unusual values in the population of all splits.", + "type": "string" + }, + "over_field_value": { + "description": "The value of `over_field_name`.", + "type": "string" + }, + "partition_field_name": { + "description": "The field used to segment the analysis. When you use this property, you have completely independent baselines for each value of this field.", + "type": "string" + }, + "partition_field_value": { + "description": "The value of `partition_field_name`.", + "type": "string" + }, + "probability": { + "description": "The probability of the individual anomaly occurring, in the range 0 to 1. For example, `0.0000772031`. This value can be held to a high precision of over 300 decimal places, so the `record_score` is provided as a human-readable and friendly interpretation of this.", + "type": "number" + }, + "record_score": { + "description": "A normalized score between 0-100, which is based on the probability of the anomalousness of this record. Unlike `initial_record_score`, this value will be updated by a re-normalization process as new data is analyzed.", + "type": "number" + }, + "result_type": { + "description": "Internal. This is always set to `record`.", + "type": "string" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "typical": { + "description": "The typical value for the bucket, according to analytical modeling.", + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "bucket_span", + "detector_index", + "initial_record_score", + "is_interim", + "job_id", + "probability", + "record_score", + "result_type", + "timestamp" + ] + }, + "ml._types:AnomalyExplanation": { + "type": "object", + "properties": { + "anomaly_characteristics_impact": { + "description": "Impact from the duration and magnitude of the detected anomaly relative to the historical average.", + "type": "number" + }, + "anomaly_length": { + "description": "Length of the detected anomaly in the number of buckets.", + "type": "number" + }, + "anomaly_type": { + "description": "Type of the detected anomaly: `spike` or `dip`.", + "type": "string" + }, + "high_variance_penalty": { + "description": "Indicates reduction of anomaly score for the bucket with large confidence intervals. If a bucket has large confidence intervals, the score is reduced.", + "type": "boolean" + }, + "incomplete_bucket_penalty": { + "description": "If the bucket contains fewer samples than expected, the score is reduced.", + "type": "boolean" + }, + "lower_confidence_bound": { + "description": "Lower bound of the 95% confidence interval.", + "type": "number" + }, + "multi_bucket_impact": { + "description": "Impact of the deviation between actual and typical values in the past 12 buckets.", + "type": "number" + }, + "single_bucket_impact": { + "description": "Impact of the deviation between actual and typical values in the current bucket.", + "type": "number" + }, + "typical_value": { + "description": "Typical (expected) value for this bucket.", + "type": "number" + }, + "upper_confidence_bound": { + "description": "Upper bound of the 95% confidence interval.", + "type": "number" + } + } + }, + "ml._types:AnomalyCause": { + "type": "object", + "properties": { + "actual": { + "type": "array", + "items": { + "type": "number" + } + }, + "by_field_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "by_field_value": { + "type": "string" + }, + "correlated_by_field_value": { + "type": "string" + }, + "field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "function": { + "type": "string" + }, + "function_description": { + "type": "string" + }, + "influencers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Influence" + } + }, + "over_field_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "over_field_value": { + "type": "string" + }, + "partition_field_name": { + "type": "string" + }, + "partition_field_value": { + "type": "string" + }, + "probability": { + "type": "number" + }, + "typical": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "actual", + "by_field_name", + "by_field_value", + "correlated_by_field_value", + "field_name", + "function", + "function_description", + "influencers", + "over_field_name", + "over_field_value", + "partition_field_name", + "partition_field_value", + "probability", + "typical" + ] + }, + "ml._types:Influence": { + "type": "object", + "properties": { + "influencer_field_name": { + "type": "string" + }, + "influencer_field_values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "influencer_field_name", + "influencer_field_values" + ] + }, + "ml._types:GeoResults": { + "type": "object", + "properties": { + "actual_point": { + "description": "The actual value for the bucket formatted as a `geo_point`.", + "type": "string" + }, + "typical_point": { + "description": "The typical value for the bucket formatted as a `geo_point`.", + "type": "string" + } + }, + "required": [ + "actual_point", + "typical_point" + ] + }, + "ml._types:Include": { + "type": "string", + "enum": [ + "definition", + "feature_importance_baseline", + "hyperparameters", + "total_feature_importance", + "definition_status" + ] + }, + "ml._types:TrainedModelConfig": { + "type": "object", + "properties": { + "model_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "model_type": { + "$ref": "#/components/schemas/ml._types:TrainedModelType" + }, + "tags": { + "description": "A comma delimited string of tags. A trained model can have many tags, or none.", + "type": "array", + "items": { + "type": "string" + } + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "compressed_definition": { + "type": "string" + }, + "created_by": { + "description": "Information on the creator of the trained model.", + "type": "string" + }, + "create_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "default_field_map": { + "description": "Any field map described in the inference configuration takes precedence.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "description": { + "description": "The free-text description of the trained model.", + "type": "string" + }, + "estimated_heap_memory_usage_bytes": { + "description": "The estimated heap usage in bytes to keep the trained model in memory.", + "type": "number" + }, + "estimated_operations": { + "description": "The estimated number of operations to use the trained model.", + "type": "number" + }, + "fully_defined": { + "description": "True if the full model definition is present.", + "type": "boolean" + }, + "inference_config": { + "$ref": "#/components/schemas/ml._types:InferenceConfigCreateContainer" + }, + "input": { + "$ref": "#/components/schemas/ml._types:TrainedModelConfigInput" + }, + "license_level": { + "description": "The license level of the trained model.", + "type": "string" + }, + "metadata": { + "$ref": "#/components/schemas/ml._types:TrainedModelConfigMetadata" + }, + "model_size_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "location": { + "$ref": "#/components/schemas/ml._types:TrainedModelLocation" + } + }, + "required": [ + "model_id", + "tags", + "input" + ] + }, + "ml._types:TrainedModelType": { + "type": "string", + "enum": [ + "tree_ensemble", + "lang_ident", + "pytorch" + ] + }, + "ml._types:InferenceConfigCreateContainer": { + "description": "Inference configuration provided when storing the model config", + "type": "object", + "properties": { + "regression": { + "$ref": "#/components/schemas/ml._types:RegressionInferenceOptions" + }, + "classification": { + "$ref": "#/components/schemas/ml._types:ClassificationInferenceOptions" + }, + "text_classification": { + "$ref": "#/components/schemas/ml._types:TextClassificationInferenceOptions" + }, + "zero_shot_classification": { + "$ref": "#/components/schemas/ml._types:ZeroShotClassificationInferenceOptions" + }, + "fill_mask": { + "$ref": "#/components/schemas/ml._types:FillMaskInferenceOptions" + }, + "ner": { + "$ref": "#/components/schemas/ml._types:NerInferenceOptions" + }, + "pass_through": { + "$ref": "#/components/schemas/ml._types:PassThroughInferenceOptions" + }, + "text_embedding": { + "$ref": "#/components/schemas/ml._types:TextEmbeddingInferenceOptions" + }, + "text_expansion": { + "$ref": "#/components/schemas/ml._types:TextExpansionInferenceOptions" + }, + "question_answering": { + "$ref": "#/components/schemas/ml._types:QuestionAnsweringInferenceOptions" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ml._types:TextClassificationInferenceOptions": { + "type": "object", + "properties": { + "num_top_classes": { + "description": "Specifies the number of top class predictions to return. Defaults to 0.", + "type": "number" + }, + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + }, + "classification_labels": { + "description": "Classification labels to apply other than the stored labels. Must have the same deminsions as the default configured labels", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ml._types:TokenizationConfigContainer": { + "description": "Tokenization options stored in inference configuration", + "type": "object", + "properties": { + "bert": { + "$ref": "#/components/schemas/ml._types:NlpBertTokenizationConfig" + }, + "mpnet": { + "$ref": "#/components/schemas/ml._types:NlpBertTokenizationConfig" + }, + "roberta": { + "$ref": "#/components/schemas/ml._types:NlpRobertaTokenizationConfig" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ml._types:NlpBertTokenizationConfig": { + "type": "object", + "properties": { + "do_lower_case": { + "description": "Should the tokenizer lower case the text", + "type": "boolean" + }, + "with_special_tokens": { + "description": "Is tokenization completed with special tokens", + "type": "boolean" + }, + "max_sequence_length": { + "description": "Maximum input sequence length for the model", + "type": "number" + }, + "truncate": { + "$ref": "#/components/schemas/ml._types:TokenizationTruncate" + }, + "span": { + "description": "Tokenization spanning options. Special value of -1 indicates no spanning takes place", + "type": "number" + } + } + }, + "ml._types:TokenizationTruncate": { + "type": "string", + "enum": [ + "first", + "second", + "none" + ] + }, + "ml._types:NlpRobertaTokenizationConfig": { + "type": "object", + "properties": { + "add_prefix_space": { + "description": "Should the tokenizer prefix input with a space character", + "type": "boolean" + }, + "with_special_tokens": { + "description": "Is tokenization completed with special tokens", + "type": "boolean" + }, + "max_sequence_length": { + "description": "Maximum input sequence length for the model", + "type": "number" + }, + "truncate": { + "$ref": "#/components/schemas/ml._types:TokenizationTruncate" + }, + "span": { + "description": "Tokenization spanning options. Special value of -1 indicates no spanning takes place", + "type": "number" + } + } + }, + "ml._types:ZeroShotClassificationInferenceOptions": { + "type": "object", + "properties": { + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + }, + "hypothesis_template": { + "description": "Hypothesis template used when tokenizing labels for prediction", + "type": "string" + }, + "classification_labels": { + "description": "The zero shot classification labels indicating entailment, neutral, and contradiction\nMust contain exactly and only entailment, neutral, and contradiction", + "type": "array", + "items": { + "type": "string" + } + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + }, + "multi_label": { + "description": "Indicates if more than one true label exists.", + "type": "boolean" + }, + "labels": { + "description": "The labels to predict.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "classification_labels" + ] + }, + "ml._types:FillMaskInferenceOptions": { + "type": "object", + "properties": { + "mask_token": { + "description": "The string/token which will be removed from incoming documents and replaced with the inference prediction(s).\nIn a response, this field contains the mask token for the specified model/tokenizer. Each model and tokenizer\nhas a predefined mask token which cannot be changed. Thus, it is recommended not to set this value in requests.\nHowever, if this field is present in a request, its value must match the predefined value for that model/tokenizer,\notherwise the request will fail.", + "type": "string" + }, + "num_top_classes": { + "description": "Specifies the number of top class predictions to return. Defaults to 0.", + "type": "number" + }, + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + } + } + }, + "ml._types:NerInferenceOptions": { + "type": "object", + "properties": { + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + }, + "classification_labels": { + "description": "The token classification labels. Must be IOB formatted tags", + "type": "array", + "items": { + "type": "string" + } + }, + "vocabulary": { + "$ref": "#/components/schemas/ml._types:Vocabulary" + } + } + }, + "ml._types:Vocabulary": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "required": [ + "index" + ] + }, + "ml._types:PassThroughInferenceOptions": { + "type": "object", + "properties": { + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + }, + "vocabulary": { + "$ref": "#/components/schemas/ml._types:Vocabulary" + } + } + }, + "ml._types:TextEmbeddingInferenceOptions": { + "type": "object", + "properties": { + "embedding_size": { + "description": "The number of dimensions in the embedding output", + "type": "number" + }, + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + } + } + }, + "ml._types:TextExpansionInferenceOptions": { + "type": "object", + "properties": { + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + } + } + }, + "ml._types:QuestionAnsweringInferenceOptions": { + "type": "object", + "properties": { + "num_top_classes": { + "description": "Specifies the number of top class predictions to return. Defaults to 0.", + "type": "number" + }, + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + }, + "max_answer_length": { + "description": "The maximum answer length to consider", + "type": "number" + } + } + }, + "ml._types:TrainedModelConfigInput": { + "type": "object", + "properties": { + "field_names": { + "description": "An array of input field names for the model.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + } + }, + "required": [ + "field_names" + ] + }, + "ml._types:TrainedModelConfigMetadata": { + "type": "object", + "properties": { + "model_aliases": { + "type": "array", + "items": { + "type": "string" + } + }, + "feature_importance_baseline": { + "description": "An object that contains the baseline for feature importance values. For regression analysis, it is a single value. For classification analysis, there is a value for each class.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "hyperparameters": { + "description": "List of the available hyperparameters optimized during the fine_parameter_tuning phase as well as specified by the user.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Hyperparameter" + } + }, + "total_feature_importance": { + "description": "An array of the total feature importance for each feature used from the training data set. This array of objects is returned if data frame analytics trained the model and the request includes total_feature_importance in the include request parameter.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TotalFeatureImportance" + } + } + } + }, + "ml._types:Hyperparameter": { + "type": "object", + "properties": { + "absolute_importance": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/machine-learning/current/dfa-regression-lossfunction.html" + }, + "description": "A positive number showing how much the parameter influences the variation of the loss function. For hyperparameters with values that are not specified by the user but tuned during hyperparameter optimization.", + "type": "number" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "relative_importance": { + "description": "A number between 0 and 1 showing the proportion of influence on the variation of the loss function among all tuned hyperparameters. For hyperparameters with values that are not specified by the user but tuned during hyperparameter optimization.", + "type": "number" + }, + "supplied": { + "description": "Indicates if the hyperparameter is specified by the user (true) or optimized (false).", + "type": "boolean" + }, + "value": { + "description": "The value of the hyperparameter, either optimized or specified by the user.", + "type": "number" + } + }, + "required": [ + "name", + "supplied", + "value" + ] + }, + "ml._types:TotalFeatureImportance": { + "type": "object", + "properties": { + "feature_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "importance": { + "description": "A collection of feature importance statistics related to the training data set for this particular feature.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TotalFeatureImportanceStatistics" + } + }, + "classes": { + "description": "If the trained model is a classification model, feature importance statistics are gathered per target class value.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TotalFeatureImportanceClass" + } + } + }, + "required": [ + "feature_name", + "importance", + "classes" + ] + }, + "ml._types:TotalFeatureImportanceStatistics": { + "type": "object", + "properties": { + "mean_magnitude": { + "description": "The average magnitude of this feature across all the training data. This value is the average of the absolute values of the importance for this feature.", + "type": "number" + }, + "max": { + "description": "The maximum importance value across all the training data for this feature.", + "type": "number" + }, + "min": { + "description": "The minimum importance value across all the training data for this feature.", + "type": "number" + } + }, + "required": [ + "mean_magnitude", + "max", + "min" + ] + }, + "ml._types:TotalFeatureImportanceClass": { + "type": "object", + "properties": { + "class_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "importance": { + "description": "A collection of feature importance statistics related to the training data set for this particular feature.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TotalFeatureImportanceStatistics" + } + } + }, + "required": [ + "class_name", + "importance" + ] + }, + "ml._types:TrainedModelLocation": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/ml._types:TrainedModelLocationIndex" + } + }, + "required": [ + "index" + ] + }, + "ml._types:TrainedModelLocationIndex": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "required": [ + "name" + ] + }, + "ml._types:TrainedModelStats": { + "type": "object", + "properties": { + "deployment_stats": { + "$ref": "#/components/schemas/ml._types:TrainedModelDeploymentStats" + }, + "inference_stats": { + "$ref": "#/components/schemas/ml._types:TrainedModelInferenceStats" + }, + "ingest": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" + }, + "description": "A collection of ingest stats for the model across all nodes.\nThe values are summations of the individual node statistics.\nThe format matches the ingest section in the nodes stats API.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "model_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "model_size_stats": { + "$ref": "#/components/schemas/ml._types:TrainedModelSizeStats" + }, + "pipeline_count": { + "description": "The number of ingest pipelines that currently refer to the model.", + "type": "number" + } + }, + "required": [ + "model_id", + "model_size_stats", + "pipeline_count" + ] + }, + "ml._types:TrainedModelDeploymentStats": { + "type": "object", + "properties": { + "allocation_status": { + "$ref": "#/components/schemas/ml._types:TrainedModelDeploymentAllocationStatus" + }, + "cache_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "deployment_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "error_count": { + "description": "The sum of `error_count` for all nodes in the deployment.", + "type": "number" + }, + "inference_count": { + "description": "The sum of `inference_count` for all nodes in the deployment.", + "type": "number" + }, + "model_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "nodes": { + "$ref": "#/components/schemas/ml._types:TrainedModelDeploymentNodesStats" + }, + "number_of_allocations": { + "description": "The number of allocations requested.", + "type": "number" + }, + "queue_capacity": { + "description": "The number of inference requests that can be queued before new requests are rejected.", + "type": "number" + }, + "rejected_execution_count": { + "description": "The sum of `rejected_execution_count` for all nodes in the deployment.\nIndividual nodes reject an inference request if the inference queue is full.\nThe queue size is controlled by the `queue_capacity` setting in the start\ntrained model deployment API.", + "type": "number" + }, + "reason": { + "description": "The reason for the current deployment state. Usually only populated when\nthe model is not deployed to a node.", + "type": "string" + }, + "start_time": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "state": { + "$ref": "#/components/schemas/ml._types:DeploymentState" + }, + "threads_per_allocation": { + "description": "The number of threads used be each allocation during inference.", + "type": "number" + }, + "timeout_count": { + "description": "The sum of `timeout_count` for all nodes in the deployment.", + "type": "number" + } + }, + "required": [ + "allocation_status", + "deployment_id", + "error_count", + "inference_count", + "model_id", + "nodes", + "number_of_allocations", + "queue_capacity", + "rejected_execution_count", + "reason", + "start_time", + "state", + "threads_per_allocation", + "timeout_count" + ] + }, + "ml._types:TrainedModelDeploymentAllocationStatus": { + "type": "object", + "properties": { + "allocation_count": { + "description": "The current number of nodes where the model is allocated.", + "type": "number" + }, + "state": { + "$ref": "#/components/schemas/ml._types:DeploymentAllocationState" + }, + "target_allocation_count": { + "description": "The desired number of nodes for model allocation.", + "type": "number" + } + }, + "required": [ + "allocation_count", + "state", + "target_allocation_count" + ] + }, + "ml._types:DeploymentAllocationState": { + "type": "string", + "enum": [ + "started", + "starting", + "fully_allocated" + ] + }, + "ml._types:TrainedModelDeploymentNodesStats": { + "type": "object", + "properties": { + "average_inference_time_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + }, + "error_count": { + "description": "The number of errors when evaluating the trained model.", + "type": "number" + }, + "inference_count": { + "description": "The total number of inference calls made against this node for this model.", + "type": "number" + }, + "last_access": { + "description": "The epoch time stamp of the last inference call for the model on this node.", + "type": "number" + }, + "number_of_allocations": { + "description": "The number of allocations assigned to this node.", + "type": "number" + }, + "number_of_pending_requests": { + "description": "The number of inference requests queued to be processed.", + "type": "number" + }, + "rejection_execution_count": { + "description": "The number of inference requests that were not processed because the queue was full.", + "type": "number" + }, + "routing_state": { + "$ref": "#/components/schemas/ml._types:TrainedModelAssignmentRoutingTable" + }, + "start_time": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "threads_per_allocation": { + "description": "The number of threads used by each allocation during inference.", + "type": "number" + }, + "timeout_count": { + "description": "The number of inference requests that timed out before being processed.", + "type": "number" + } + }, + "required": [ + "average_inference_time_ms", + "error_count", + "inference_count", + "last_access", + "number_of_allocations", + "number_of_pending_requests", + "rejection_execution_count", + "routing_state", + "start_time", + "threads_per_allocation", + "timeout_count" + ] + }, + "ml._types:TrainedModelAssignmentRoutingTable": { + "type": "object", + "properties": { + "reason": { + "description": "The reason for the current state. It is usually populated only when the\n`routing_state` is `failed`.", + "type": "string" + }, + "routing_state": { + "$ref": "#/components/schemas/ml._types:RoutingState" + }, + "current_allocations": { + "description": "Current number of allocations.", + "type": "number" + }, + "target_allocations": { + "description": "Target number of allocations.", + "type": "number" + } + }, + "required": [ + "reason", + "routing_state", + "current_allocations", + "target_allocations" + ] + }, + "ml._types:RoutingState": { + "type": "string", + "enum": [ + "failed", + "started", + "starting", + "stopped", + "stopping" + ] + }, + "ml._types:DeploymentState": { + "type": "string", + "enum": [ + "started", + "starting", + "stopping" + ] + }, + "ml._types:TrainedModelInferenceStats": { + "type": "object", + "properties": { + "cache_miss_count": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" + }, + "description": "The number of times the model was loaded for inference and was not retrieved from the cache.\nIf this number is close to the `inference_count`, the cache is not being appropriately used.\nThis can be solved by increasing the cache size or its time-to-live (TTL).\nRefer to general machine learning settings for the appropriate settings.", + "type": "number" + }, + "failure_count": { + "description": "The number of failures when using the model for inference.", + "type": "number" + }, + "inference_count": { + "description": "The total number of times the model has been called for inference.\nThis is across all inference contexts, including all pipelines.", + "type": "number" + }, + "missing_all_fields_count": { + "description": "The number of inference calls where all the training features for the model were missing.", + "type": "number" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:DateTime" + } + }, + "required": [ + "cache_miss_count", + "failure_count", + "inference_count", + "missing_all_fields_count", + "timestamp" + ] + }, + "ml._types:TrainedModelSizeStats": { + "type": "object", + "properties": { + "model_size_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "required_native_memory_bytes": { + "description": "The amount of memory required to load the model in bytes.", + "type": "number" + } + }, + "required": [ + "model_size_bytes", + "required_native_memory_bytes" + ] + }, + "ml._types:InferenceConfigUpdateContainer": { + "type": "object", + "properties": { + "regression": { + "$ref": "#/components/schemas/ml._types:RegressionInferenceOptions" + }, + "classification": { + "$ref": "#/components/schemas/ml._types:ClassificationInferenceOptions" + }, + "text_classification": { + "$ref": "#/components/schemas/ml._types:TextClassificationInferenceUpdateOptions" + }, + "zero_shot_classification": { + "$ref": "#/components/schemas/ml._types:ZeroShotClassificationInferenceUpdateOptions" + }, + "fill_mask": { + "$ref": "#/components/schemas/ml._types:FillMaskInferenceUpdateOptions" + }, + "ner": { + "$ref": "#/components/schemas/ml._types:NerInferenceUpdateOptions" + }, + "pass_through": { + "$ref": "#/components/schemas/ml._types:PassThroughInferenceUpdateOptions" + }, + "text_embedding": { + "$ref": "#/components/schemas/ml._types:TextEmbeddingInferenceUpdateOptions" + }, + "text_expansion": { + "$ref": "#/components/schemas/ml._types:TextExpansionInferenceUpdateOptions" + }, + "question_answering": { + "$ref": "#/components/schemas/ml._types:QuestionAnsweringInferenceUpdateOptions" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ml._types:TextClassificationInferenceUpdateOptions": { + "type": "object", + "properties": { + "num_top_classes": { + "description": "Specifies the number of top class predictions to return. Defaults to 0.", + "type": "number" + }, + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + }, + "classification_labels": { + "description": "Classification labels to apply other than the stored labels. Must have the same deminsions as the default configured labels", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ml._types:NlpTokenizationUpdateOptions": { + "type": "object", + "properties": { + "truncate": { + "$ref": "#/components/schemas/ml._types:TokenizationTruncate" + }, + "span": { + "description": "Span options to apply", + "type": "number" + } + } + }, + "ml._types:ZeroShotClassificationInferenceUpdateOptions": { + "type": "object", + "properties": { + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + }, + "multi_label": { + "description": "Update the configured multi label option. Indicates if more than one true label exists. Defaults to the configured value.", + "type": "boolean" + }, + "labels": { + "description": "The labels to predict.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "labels" + ] + }, + "ml._types:FillMaskInferenceUpdateOptions": { + "type": "object", + "properties": { + "num_top_classes": { + "description": "Specifies the number of top class predictions to return. Defaults to 0.", + "type": "number" + }, + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + } + } + }, + "ml._types:NerInferenceUpdateOptions": { + "type": "object", + "properties": { + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + } + } + }, + "ml._types:PassThroughInferenceUpdateOptions": { + "type": "object", + "properties": { + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + } + } + }, + "ml._types:TextEmbeddingInferenceUpdateOptions": { + "type": "object", + "properties": { + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + } + } + }, + "ml._types:TextExpansionInferenceUpdateOptions": { + "type": "object", + "properties": { + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + } + } + }, + "ml._types:QuestionAnsweringInferenceUpdateOptions": { + "type": "object", + "properties": { + "question": { + "description": "The question to answer given the inference context", + "type": "string" + }, + "num_top_classes": { + "description": "Specifies the number of top class predictions to return. Defaults to 0.", + "type": "number" + }, + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + }, + "max_answer_length": { + "description": "The maximum answer length to consider for extraction", + "type": "number" + } + }, + "required": [ + "question" + ] + }, + "ml._types:InferenceResponseResult": { + "type": "object", + "properties": { + "entities": { + "description": "If the model is trained for named entity recognition (NER) tasks, the response contains the recognized entities.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TrainedModelEntities" + } + }, + "is_truncated": { + "description": "Indicates whether the input text was truncated to meet the model's maximum sequence length limit. This property\nis present only when it is true.", + "type": "boolean" + }, + "predicted_value": { + "description": "If the model is trained for a text classification or zero shot classification task, the response is the\npredicted class.\nFor named entity recognition (NER) tasks, it contains the annotated text output.\nFor fill mask tasks, it contains the top prediction for replacing the mask token.\nFor text embedding tasks, it contains the raw numerical text embedding values.\nFor regression models, its a numerical value\nFor classification models, it may be an integer, double, boolean or string depending on prediction type", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:PredictedValue" + } + }, + "predicted_value_sequence": { + "description": "For fill mask tasks, the response contains the input text sequence with the mask token replaced by the predicted\nvalue.\nAdditionally", + "type": "string" + }, + "prediction_probability": { + "description": "Specifies a probability for the predicted value.", + "type": "number" + }, + "prediction_score": { + "description": "Specifies a confidence score for the predicted value.", + "type": "number" + }, + "top_classes": { + "description": "For fill mask, text classification, and zero shot classification tasks, the response contains a list of top\nclass entries.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TopClassEntry" + } + }, + "warning": { + "description": "If the request failed, the response contains the reason for the failure.", + "type": "string" + }, + "feature_importance": { + "description": "The feature importance for the inference results. Relevant only for classification or regression models", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TrainedModelInferenceFeatureImportance" + } + } + } + }, + "ml._types:TrainedModelEntities": { + "type": "object", + "properties": { + "class_name": { + "type": "string" + }, + "class_probability": { + "type": "number" + }, + "entity": { + "type": "string" + }, + "start_pos": { + "type": "number" + }, + "end_pos": { + "type": "number" + } + }, + "required": [ + "class_name", + "class_probability", + "entity", + "start_pos", + "end_pos" + ] + }, + "ml._types:PredictedValue": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "number" + } + ] + }, + "ml._types:TopClassEntry": { + "type": "object", + "properties": { + "class_name": { + "type": "string" + }, + "class_probability": { + "type": "number" + }, + "class_score": { + "type": "number" + } + }, + "required": [ + "class_name", + "class_probability", + "class_score" + ] + }, + "ml._types:TrainedModelInferenceFeatureImportance": { + "type": "object", + "properties": { + "feature_name": { + "type": "string" + }, + "importance": { + "type": "number" + }, + "classes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TrainedModelInferenceClassImportance" + } + } + }, + "required": [ + "feature_name" + ] + }, + "ml._types:TrainedModelInferenceClassImportance": { + "type": "object", + "properties": { + "class_name": { + "type": "string" + }, + "importance": { + "type": "number" + } + }, + "required": [ + "class_name", + "importance" + ] + }, + "ml.info:Defaults": { + "type": "object", + "properties": { + "anomaly_detectors": { + "$ref": "#/components/schemas/ml.info:AnomalyDetectors" + }, + "datafeeds": { + "$ref": "#/components/schemas/ml.info:Datafeeds" + } + }, + "required": [ + "anomaly_detectors", + "datafeeds" + ] + }, + "ml.info:AnomalyDetectors": { + "type": "object", + "properties": { + "categorization_analyzer": { + "$ref": "#/components/schemas/ml._types:CategorizationAnalyzer" + }, + "categorization_examples_limit": { + "type": "number" + }, + "model_memory_limit": { + "type": "string" + }, + "model_snapshot_retention_days": { + "type": "number" + }, + "daily_model_snapshot_retention_after_days": { + "type": "number" + } + }, + "required": [ + "categorization_analyzer", + "categorization_examples_limit", + "model_memory_limit", + "model_snapshot_retention_days", + "daily_model_snapshot_retention_after_days" + ] + }, + "ml.info:Datafeeds": { + "type": "object", + "properties": { + "scroll_size": { + "type": "number" + } + }, + "required": [ + "scroll_size" + ] + }, + "ml.info:Limits": { + "type": "object", + "properties": { + "max_model_memory_limit": { + "type": "string" + }, + "effective_max_model_memory_limit": { + "type": "string" + }, + "total_ml_memory": { + "type": "string" + } + }, + "required": [ + "effective_max_model_memory_limit", + "total_ml_memory" + ] + }, + "ml.info:NativeCode": { + "type": "object", + "properties": { + "build_hash": { + "type": "string" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "build_hash", + "version" + ] + }, + "ml.preview_data_frame_analytics:DataframePreviewConfig": { + "type": "object", + "properties": { + "source": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" + }, + "analysis": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" + }, + "model_memory_limit": { + "type": "string" + }, + "max_num_threads": { + "type": "number" + }, + "analyzed_fields": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" + } + }, + "required": [ + "source", + "analysis" + ] + }, + "ml._types:DatafeedConfig": { + "type": "object", + "properties": { + "aggregations": { + "description": "If set, the datafeed performs aggregation searches. Support for aggregations is limited and should be used only with low cardinality data.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "chunking_config": { + "$ref": "#/components/schemas/ml._types:ChunkingConfig" + }, + "datafeed_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "delayed_data_check_config": { + "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "indices": { + "description": "An array of index names. Wildcards are supported. If any indices are in remote clusters, the machine learning nodes must have the `remote_cluster_client` role.", + "type": "array", + "items": { + "type": "string" + } + }, + "indices_options": { + "$ref": "#/components/schemas/_types:IndicesOptions" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max_empty_searches": { + "description": "If a real-time datafeed has never seen any data (including during any initial training period) then it will automatically stop itself and close its associated job after this many real-time searches that return no documents. In other words, it will stop after `frequency` times `max_empty_searches` of real-time operation. If not set then a datafeed with no end time that sees no data will remain started until it is explicitly stopped.", + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "query_delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "script_fields": { + "description": "Specifies scripts that evaluate custom expressions and returns script fields to the datafeed. The detector configuration objects in a job can contain functions that use these script fields.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "scroll_size": { + "description": "The size parameter that is used in Elasticsearch searches when the datafeed does not use aggregations. The maximum value is the value of `index.max_result_window`, which is 10,000 by default.", + "type": "number" + } + } + }, + "ml._types:JobConfig": { + "type": "object", + "properties": { + "allow_lazy_open": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html" + }, + "description": "Advanced configuration option. Specifies whether this job can open when there is insufficient machine learning node capacity for it to be immediately assigned to a node.", + "type": "boolean" + }, + "analysis_config": { + "$ref": "#/components/schemas/ml._types:AnalysisConfig" + }, + "analysis_limits": { + "$ref": "#/components/schemas/ml._types:AnalysisLimits" + }, + "background_persist_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "custom_settings": { + "$ref": "#/components/schemas/ml._types:CustomSettings" + }, + "daily_model_snapshot_retention_after_days": { + "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies a period of time (in days) after which only the first snapshot per day is retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.", + "type": "number" + }, + "data_description": { + "$ref": "#/components/schemas/ml._types:DataDescription" + }, + "datafeed_config": { + "$ref": "#/components/schemas/ml._types:DatafeedConfig" + }, + "description": { + "description": "A description of the job.", + "type": "string" + }, + "groups": { + "description": "A list of job groups. A job can belong to no groups or many.", + "type": "array", + "items": { + "type": "string" + } + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "job_type": { + "description": "Reserved for future use, currently set to `anomaly_detector`.", + "type": "string" + }, + "model_plot_config": { + "$ref": "#/components/schemas/ml._types:ModelPlotConfig" + }, + "model_snapshot_retention_days": { + "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies the maximum period of time (in days) that snapshots are retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.\nThe default value is `10`, which means snapshots ten days older than the newest snapshot are deleted.", + "type": "number" + }, + "renormalization_window_days": { + "description": "Advanced configuration option.\nThe period over which adjustments to the score are applied, as new data is seen.\nThe default value is the longer of 30 days or 100 `bucket_spans`.", + "type": "number" + }, + "results_index_name": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "results_retention_days": { + "description": "Advanced configuration option.\nThe period of time (in days) that results are retained.\nAge is calculated relative to the timestamp of the latest bucket result.\nIf this property has a non-null value, once per day at 00:30 (server time), results that are the specified number of days older than the latest bucket result are deleted from Elasticsearch.\nThe default value is null, which means all results are retained.\nAnnotations generated by the system also count as results for retention purposes; they are deleted after the same number of days as results.\nAnnotations added by users are retained forever.", + "type": "number" + } + }, + "required": [ + "analysis_config", + "data_description" + ] + }, + "_types:HttpHeaders": { + "type": "object", + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + }, + "ml._types:AnalysisConfigRead": { + "type": "object", + "properties": { + "bucket_span": { + "$ref": "#/components/schemas/_types:Duration" + }, + "categorization_analyzer": { + "$ref": "#/components/schemas/ml._types:CategorizationAnalyzer" + }, + "categorization_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "categorization_filters": { + "description": "If `categorization_field_name` is specified, you can also define optional filters.\nThis property expects an array of regular expressions.\nThe expressions are used to filter out matching sequences from the categorization field values.", + "type": "array", + "items": { + "type": "string" + } + }, + "detectors": { + "description": "An array of detector configuration objects.\nDetector configuration objects specify which data fields a job analyzes.\nThey also specify which analytical functions are used.\nYou can specify multiple detectors for a job.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DetectorRead" + } + }, + "influencers": { + "description": "A comma separated list of influencer field names.\nTypically these can be the by, over, or partition fields that are used in the detector configuration.\nYou might also want to use a field name that is not specifically named in a detector, but is available as part of the input data.\nWhen you use multiple detectors, the use of influencers is recommended as it aggregates results for each influencer entity.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "model_prune_window": { + "$ref": "#/components/schemas/_types:Duration" + }, + "latency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "multivariate_by_fields": { + "description": "This functionality is reserved for internal use.\nIt is not supported for use in customer environments and is not subject to the support SLA of official GA features.\nIf set to `true`, the analysis will automatically find correlations between metrics for a given by field value and report anomalies when those correlations cease to hold.", + "type": "boolean" + }, + "per_partition_categorization": { + "$ref": "#/components/schemas/ml._types:PerPartitionCategorization" + }, + "summary_count_field_name": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "bucket_span", + "detectors", + "influencers" + ] + }, + "ml._types:DetectorRead": { + "type": "object", + "properties": { + "by_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "custom_rules": { + "description": "An array of custom rule objects, which enable you to customize the way detectors operate.\nFor example, a rule may dictate to the detector conditions under which results should be skipped.\nKibana refers to custom rules as job rules.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DetectionRule" + } + }, + "detector_description": { + "description": "A description of the detector.", + "type": "string" + }, + "detector_index": { + "description": "A unique identifier for the detector.\nThis identifier is based on the order of the detectors in the `analysis_config`, starting at zero.", + "type": "number" + }, + "exclude_frequent": { + "$ref": "#/components/schemas/ml._types:ExcludeFrequent" + }, + "field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "function": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-functions.html" + }, + "description": "The analysis function that is used.\nFor example, `count`, `rare`, `mean`, `min`, `max`, and `sum`.", + "type": "string" + }, + "over_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "partition_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "use_null": { + "description": "Defines whether a new series is used as the null series when there is no value for the by or partition fields.", + "type": "boolean" + } + }, + "required": [ + "function" + ] + }, + "ml.put_trained_model:Definition": { + "type": "object", + "properties": { + "preprocessors": { + "description": "Collection of preprocessors", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.put_trained_model:Preprocessor" + } + }, + "trained_model": { + "$ref": "#/components/schemas/ml.put_trained_model:TrainedModel" + } + }, + "required": [ + "trained_model" + ] + }, + "ml.put_trained_model:Preprocessor": { + "type": "object", + "properties": { + "frequency_encoding": { + "$ref": "#/components/schemas/ml.put_trained_model:FrequencyEncodingPreprocessor" + }, + "one_hot_encoding": { + "$ref": "#/components/schemas/ml.put_trained_model:OneHotEncodingPreprocessor" + }, + "target_mean_encoding": { + "$ref": "#/components/schemas/ml.put_trained_model:TargetMeanEncodingPreprocessor" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ml.put_trained_model:FrequencyEncodingPreprocessor": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "feature_name": { + "type": "string" + }, + "frequency_map": { + "type": "object", + "additionalProperties": { + "type": "number" + } + } + }, + "required": [ + "field", + "feature_name", + "frequency_map" + ] + }, + "ml.put_trained_model:OneHotEncodingPreprocessor": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "hot_map": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "field", + "hot_map" + ] + }, + "ml.put_trained_model:TargetMeanEncodingPreprocessor": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "feature_name": { + "type": "string" + }, + "target_map": { + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "default_value": { + "type": "number" + } + }, + "required": [ + "field", + "feature_name", + "target_map", + "default_value" + ] + }, + "ml.put_trained_model:TrainedModel": { + "type": "object", + "properties": { + "tree": { + "$ref": "#/components/schemas/ml.put_trained_model:TrainedModelTree" + }, + "tree_node": { + "$ref": "#/components/schemas/ml.put_trained_model:TrainedModelTreeNode" + }, + "ensemble": { + "$ref": "#/components/schemas/ml.put_trained_model:Ensemble" + } + } + }, + "ml.put_trained_model:TrainedModelTree": { + "type": "object", + "properties": { + "classification_labels": { + "type": "array", + "items": { + "type": "string" + } + }, + "feature_names": { + "type": "array", + "items": { + "type": "string" + } + }, + "target_type": { + "type": "string" + }, + "tree_structure": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.put_trained_model:TrainedModelTreeNode" + } + } + }, + "required": [ + "feature_names", + "tree_structure" + ] + }, + "ml.put_trained_model:TrainedModelTreeNode": { + "type": "object", + "properties": { + "decision_type": { + "type": "string" + }, + "default_left": { + "type": "boolean" + }, + "leaf_value": { + "type": "number" + }, + "left_child": { + "type": "number" + }, + "node_index": { + "type": "number" + }, + "right_child": { + "type": "number" + }, + "split_feature": { + "type": "number" + }, + "split_gain": { + "type": "number" + }, + "threshold": { + "type": "number" + } + }, + "required": [ + "node_index" + ] + }, + "ml.put_trained_model:Ensemble": { + "type": "object", + "properties": { + "aggregate_output": { + "$ref": "#/components/schemas/ml.put_trained_model:AggregateOutput" + }, + "classification_labels": { + "type": "array", + "items": { + "type": "string" + } + }, + "feature_names": { + "type": "array", + "items": { + "type": "string" + } + }, + "target_type": { + "type": "string" + }, + "trained_models": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.put_trained_model:TrainedModel" + } + } + }, + "required": [ + "trained_models" + ] + }, + "ml.put_trained_model:AggregateOutput": { + "type": "object", + "properties": { + "logistic_regression": { + "$ref": "#/components/schemas/ml.put_trained_model:Weights" + }, + "weighted_sum": { + "$ref": "#/components/schemas/ml.put_trained_model:Weights" + }, + "weighted_mode": { + "$ref": "#/components/schemas/ml.put_trained_model:Weights" + }, + "exponent": { + "$ref": "#/components/schemas/ml.put_trained_model:Weights" + } + } + }, + "ml.put_trained_model:Weights": { + "type": "object", + "properties": { + "weights": { + "type": "number" + } + }, + "required": [ + "weights" + ] + }, + "ml.put_trained_model:Input": { + "type": "object", + "properties": { + "field_names": { + "$ref": "#/components/schemas/_types:Names" + } + }, + "required": [ + "field_names" + ] + }, + "ml._types:TrainingPriority": { + "type": "string", + "enum": [ + "normal", + "low" + ] + }, + "ml._types:TrainedModelAssignment": { + "type": "object", + "properties": { + "assignment_state": { + "$ref": "#/components/schemas/ml._types:DeploymentAssignmentState" + }, + "max_assigned_allocations": { + "type": "number" + }, + "routing_table": { + "description": "The allocation state for each node.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ml._types:TrainedModelAssignmentRoutingTable" + } + }, + "start_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "task_parameters": { + "$ref": "#/components/schemas/ml._types:TrainedModelAssignmentTaskParameters" + } + }, + "required": [ + "assignment_state", + "routing_table", + "start_time", + "task_parameters" + ] + }, + "ml._types:DeploymentAssignmentState": { + "type": "string", + "enum": [ + "starting", + "started", + "stopping", + "failed" + ] + }, + "ml._types:TrainedModelAssignmentTaskParameters": { + "type": "object", + "properties": { + "model_bytes": { + "description": "The size of the trained model in bytes.", + "type": "number" + }, + "model_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "deployment_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "cache_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "number_of_allocations": { + "description": "The total number of allocations this model is assigned across ML nodes.", + "type": "number" + }, + "priority": { + "$ref": "#/components/schemas/ml._types:TrainingPriority" + }, + "queue_capacity": { + "description": "Number of inference requests are allowed in the queue at a time.", + "type": "number" + }, + "threads_per_allocation": { + "description": "Number of threads per allocation.", + "type": "number" + } + }, + "required": [ + "model_bytes", + "model_id", + "deployment_id", + "cache_size", + "number_of_allocations", + "priority", + "queue_capacity", + "threads_per_allocation" + ] + }, + "ml._types:AnalysisMemoryLimit": { + "type": "object", + "properties": { + "model_memory_limit": { + "description": "Limits can be applied for the resources required to hold the mathematical models in memory. These limits are approximate and can be set per job. They do not control the memory used by other processes, for example the Elasticsearch Java processes.", + "type": "string" + } + }, + "required": [ + "model_memory_limit" + ] + }, + "_global.msearch:MultiSearchResult": { + "type": "object", + "properties": { + "took": { + "type": "number" + }, + "responses": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.msearch:ResponseItem" + } + } + }, + "required": [ + "took", + "responses" + ] + }, + "_global.msearch_template:RequestItem": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.msearch:MultisearchHeader" + }, + { + "$ref": "#/components/schemas/_global.msearch_template:TemplateConfig" + } + ] + }, + "_global.msearch_template:TemplateConfig": { + "type": "object", + "properties": { + "explain": { + "description": "If `true`, returns detailed information about score calculation as part of each hit.", + "type": "boolean" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "params": { + "description": "Key-value pairs used to replace Mustache variables in the template.\nThe key is the variable name.\nThe value is the variable value.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "profile": { + "description": "If `true`, the query execution is profiled.", + "type": "boolean" + }, + "source": { + "description": "An inline search template. Supports the same parameters as the search API's\nrequest body. Also supports Mustache variables. If no id is specified, this\nparameter is required.", + "type": "string" + } + } + }, + "_global.mtermvectors:Operation": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "doc": { + "description": "An artificial document (a document not present in the index) for which you want to retrieve term vectors.", + "type": "object" + }, + "fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "field_statistics": { + "description": "If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies.", + "type": "boolean" + }, + "filter": { + "$ref": "#/components/schemas/_global.termvectors:Filter" + }, + "offsets": { + "description": "If `true`, the response includes term offsets.", + "type": "boolean" + }, + "payloads": { + "description": "If `true`, the response includes term payloads.", + "type": "boolean" + }, + "positions": { + "description": "If `true`, the response includes term positions.", + "type": "boolean" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "term_statistics": { + "description": "If true, the response includes term frequency and document frequency.", + "type": "boolean" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "version_type": { + "$ref": "#/components/schemas/_types:VersionType" + } + }, + "required": [ + "_id" + ] + }, + "_global.termvectors:Filter": { + "type": "object", + "properties": { + "max_doc_freq": { + "description": "Ignore words which occur in more than this many docs.\nDefaults to unbounded.", + "type": "number" + }, + "max_num_terms": { + "description": "Maximum number of terms that must be returned per field.", + "type": "number" + }, + "max_term_freq": { + "description": "Ignore words with more than this frequency in the source doc.\nDefaults to unbounded.", + "type": "number" + }, + "max_word_length": { + "description": "The maximum word length above which words will be ignored.\nDefaults to unbounded.", + "type": "number" + }, + "min_doc_freq": { + "description": "Ignore terms which do not occur in at least this many docs.", + "type": "number" + }, + "min_term_freq": { + "description": "Ignore words with less than this frequency in the source doc.", + "type": "number" + }, + "min_word_length": { + "description": "The minimum word length below which words will be ignored.", + "type": "number" + } + } + }, + "_global.mtermvectors:TermVectorsResult": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "_version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "took": { + "type": "number" + }, + "found": { + "type": "boolean" + }, + "term_vectors": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.termvectors:TermVector" + } + }, + "error": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + }, + "required": [ + "_id", + "_index" + ] + }, + "_global.termvectors:TermVector": { + "type": "object", + "properties": { + "field_statistics": { + "$ref": "#/components/schemas/_global.termvectors:FieldStatistics" + }, + "terms": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.termvectors:Term" + } + } + }, + "required": [ + "field_statistics", + "terms" + ] + }, + "_global.termvectors:FieldStatistics": { + "type": "object", + "properties": { + "doc_count": { + "type": "number" + }, + "sum_doc_freq": { + "type": "number" + }, + "sum_ttf": { + "type": "number" + } + }, + "required": [ + "doc_count", + "sum_doc_freq", + "sum_ttf" + ] + }, + "_global.termvectors:Term": { + "type": "object", + "properties": { + "doc_freq": { + "type": "number" + }, + "score": { + "type": "number" + }, + "term_freq": { + "type": "number" + }, + "tokens": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.termvectors:Token" + } + }, + "ttf": { + "type": "number" + } + }, + "required": [ + "term_freq" + ] + }, + "_global.termvectors:Token": { + "type": "object", + "properties": { + "end_offset": { + "type": "number" + }, + "payload": { + "type": "string" + }, + "position": { + "type": "number" + }, + "start_offset": { + "type": "number" + } + }, + "required": [ + "position" + ] + }, + "_types:ThreadType": { + "type": "string", + "enum": [ + "cpu", + "wait", + "block", + "gpu", + "mem" + ] + }, + "nodes.hot_threads:HotThread": { + "type": "object", + "properties": { + "hosts": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Host" + } + }, + "node_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "node_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "threads": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "hosts", + "node_id", + "node_name", + "threads" + ] + }, + "nodes.info:ResponseBase": { + "allOf": [ + { + "$ref": "#/components/schemas/nodes._types:NodesResponseBase" + }, + { + "type": "object", + "properties": { + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes.info:NodeInfo" + } + } + }, + "required": [ + "cluster_name", + "nodes" + ] + } + ] + }, + "nodes.info:NodeInfo": { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "build_flavor": { + "type": "string" + }, + "build_hash": { + "description": "Short hash of the last git commit in this release.", + "type": "string" + }, + "build_type": { + "type": "string" + }, + "host": { + "$ref": "#/components/schemas/_types:Host" + }, + "http": { + "$ref": "#/components/schemas/nodes.info:NodeInfoHttp" + }, + "ip": { + "$ref": "#/components/schemas/_types:Ip" + }, + "jvm": { + "$ref": "#/components/schemas/nodes.info:NodeJvmInfo" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "network": { + "$ref": "#/components/schemas/nodes.info:NodeInfoNetwork" + }, + "os": { + "$ref": "#/components/schemas/nodes.info:NodeOperatingSystemInfo" + }, + "plugins": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:PluginStats" + } + }, + "process": { + "$ref": "#/components/schemas/nodes.info:NodeProcessInfo" + }, + "roles": { + "$ref": "#/components/schemas/_types:NodeRoles" + }, + "settings": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSettings" + }, + "thread_pool": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes.info:NodeThreadPoolInfo" + } + }, + "total_indexing_buffer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indexing-buffer.html" + }, + "description": "Total heap allowed to be used to hold recently indexed documents before they must be written to disk. This size is a shared pool across all shards on this node, and is controlled by Indexing Buffer settings.", + "type": "number" + }, + "total_indexing_buffer_in_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "transport": { + "$ref": "#/components/schemas/nodes.info:NodeInfoTransport" + }, + "transport_address": { + "$ref": "#/components/schemas/_types:TransportAddress" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "modules": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:PluginStats" + } + }, + "ingest": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngest" + }, + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes.info:NodeInfoAggregation" + } + } + }, + "required": [ + "attributes", + "build_flavor", + "build_hash", + "build_type", + "host", + "ip", + "name", + "roles", + "transport_address", + "version" + ] + }, + "nodes.info:NodeInfoHttp": { + "type": "object", + "properties": { + "bound_address": { + "type": "array", + "items": { + "type": "string" + } + }, + "max_content_length": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "max_content_length_in_bytes": { + "type": "number" + }, + "publish_address": { + "type": "string" + } + }, + "required": [ + "bound_address", + "max_content_length_in_bytes", + "publish_address" + ] + }, + "nodes.info:NodeJvmInfo": { + "type": "object", + "properties": { + "gc_collectors": { + "type": "array", + "items": { + "type": "string" + } + }, + "mem": { + "$ref": "#/components/schemas/nodes.info:NodeInfoJvmMemory" + }, + "memory_pools": { + "type": "array", + "items": { + "type": "string" + } + }, + "pid": { + "type": "number" + }, + "start_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "vm_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "vm_vendor": { + "type": "string" + }, + "vm_version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "using_bundled_jdk": { + "type": "boolean" + }, + "using_compressed_ordinary_object_pointers": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] + }, + "input_arguments": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "gc_collectors", + "mem", + "memory_pools", + "pid", + "start_time_in_millis", + "version", + "vm_name", + "vm_vendor", + "vm_version", + "using_bundled_jdk", + "input_arguments" + ] + }, + "nodes.info:NodeInfoJvmMemory": { + "type": "object", + "properties": { + "direct_max": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "direct_max_in_bytes": { + "type": "number" + }, + "heap_init": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "heap_init_in_bytes": { + "type": "number" + }, + "heap_max": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "heap_max_in_bytes": { + "type": "number" + }, + "non_heap_init": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "non_heap_init_in_bytes": { + "type": "number" + }, + "non_heap_max": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "non_heap_max_in_bytes": { + "type": "number" + } + }, + "required": [ + "direct_max_in_bytes", + "heap_init_in_bytes", + "heap_max_in_bytes", + "non_heap_init_in_bytes", + "non_heap_max_in_bytes" + ] + }, + "nodes.info:NodeInfoNetwork": { + "type": "object", + "properties": { + "primary_interface": { + "$ref": "#/components/schemas/nodes.info:NodeInfoNetworkInterface" + }, + "refresh_interval": { + "type": "number" + } + }, + "required": [ + "primary_interface", + "refresh_interval" + ] + }, + "nodes.info:NodeInfoNetworkInterface": { + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "mac_address": { + "type": "string" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "address", + "mac_address", + "name" + ] + }, + "nodes.info:NodeOperatingSystemInfo": { + "type": "object", + "properties": { + "arch": { + "description": "Name of the JVM architecture (ex: amd64, x86)", + "type": "string" + }, + "available_processors": { + "description": "Number of processors available to the Java virtual machine", + "type": "number" + }, + "allocated_processors": { + "description": "The number of processors actually used to calculate thread pool size. This number can be set with the node.processors setting of a node and defaults to the number of processors reported by the OS.", + "type": "number" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "pretty_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "refresh_interval_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "cpu": { + "$ref": "#/components/schemas/nodes.info:NodeInfoOSCPU" + }, + "mem": { + "$ref": "#/components/schemas/nodes.info:NodeInfoMemory" + }, + "swap": { + "$ref": "#/components/schemas/nodes.info:NodeInfoMemory" + } + }, + "required": [ + "arch", + "available_processors", + "name", + "pretty_name", + "refresh_interval_in_millis", + "version" + ] + }, + "nodes.info:NodeInfoOSCPU": { + "type": "object", + "properties": { + "cache_size": { + "type": "string" + }, + "cache_size_in_bytes": { + "type": "number" + }, + "cores_per_socket": { + "type": "number" + }, + "mhz": { + "type": "number" + }, + "model": { + "type": "string" + }, + "total_cores": { + "type": "number" + }, + "total_sockets": { + "type": "number" + }, + "vendor": { + "type": "string" + } + }, + "required": [ + "cache_size", + "cache_size_in_bytes", + "cores_per_socket", + "mhz", + "model", + "total_cores", + "total_sockets", + "vendor" + ] + }, + "nodes.info:NodeInfoMemory": { + "type": "object", + "properties": { + "total": { + "type": "string" + }, + "total_in_bytes": { + "type": "number" + } + }, + "required": [ + "total", + "total_in_bytes" + ] + }, + "nodes.info:NodeProcessInfo": { + "type": "object", + "properties": { + "id": { + "description": "Process identifier (PID)", + "type": "number" + }, + "mlockall": { + "description": "Indicates if the process address space has been successfully locked in memory", + "type": "boolean" + }, + "refresh_interval_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "id", + "mlockall", + "refresh_interval_in_millis" + ] + }, + "_types:NodeRoles": { + "description": "* @doc_id node-roles", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:NodeRole" + } + }, + "_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" + ] + }, + "nodes.info:NodeInfoSettings": { + "type": "object", + "properties": { + "cluster": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsCluster" + }, + "node": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsNode" + }, + "path": { + "$ref": "#/components/schemas/nodes.info:NodeInfoPath" + }, + "repositories": { + "$ref": "#/components/schemas/nodes.info:NodeInfoRepositories" + }, + "discovery": { + "$ref": "#/components/schemas/nodes.info:NodeInfoDiscover" + }, + "action": { + "$ref": "#/components/schemas/nodes.info:NodeInfoAction" + }, + "client": { + "$ref": "#/components/schemas/nodes.info:NodeInfoClient" + }, + "http": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsHttp" + }, + "bootstrap": { + "$ref": "#/components/schemas/nodes.info:NodeInfoBootstrap" + }, + "transport": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsTransport" + }, + "network": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsNetwork" + }, + "xpack": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpack" + }, + "script": { + "$ref": "#/components/schemas/nodes.info:NodeInfoScript" + }, + "search": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSearch" + }, + "ingest": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsIngest" + } + }, + "required": [ + "cluster", + "node", + "path", + "client", + "http", + "transport" + ] + }, + "nodes.info:NodeInfoSettingsCluster": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "routing": { + "$ref": "#/components/schemas/indices._types:IndexRouting" + }, + "election": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsClusterElection" + }, + "initial_master_nodes": { + "type": "string" + }, + "deprecation_indexing": { + "$ref": "#/components/schemas/nodes.info:DeprecationIndexing" + } + }, + "required": [ + "name", + "election" + ] + }, + "nodes.info:NodeInfoSettingsClusterElection": { + "type": "object", + "properties": { + "strategy": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "strategy" + ] + }, + "nodes.info:DeprecationIndexing": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "enabled" + ] + }, + "nodes.info:NodeInfoSettingsNode": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "attr": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "max_local_storage_nodes": { + "type": "string" + } + }, + "required": [ + "name", + "attr" + ] + }, + "nodes.info:NodeInfoPath": { + "type": "object", + "properties": { + "logs": { + "type": "string" + }, + "home": { + "type": "string" + }, + "repo": { + "type": "array", + "items": { + "type": "string" + } + }, + "data": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "logs", + "home", + "repo" + ] + }, + "nodes.info:NodeInfoRepositories": { + "type": "object", + "properties": { + "url": { + "$ref": "#/components/schemas/nodes.info:NodeInfoRepositoriesUrl" + } + }, + "required": [ + "url" + ] + }, + "nodes.info:NodeInfoRepositoriesUrl": { + "type": "object", + "properties": { + "allowed_urls": { + "type": "string" + } + }, + "required": [ + "allowed_urls" + ] + }, + "nodes.info:NodeInfoDiscover": { + "type": "object", + "properties": { + "seed_hosts": { + "type": "string" + } + }, + "required": [ + "seed_hosts" + ] + }, + "nodes.info:NodeInfoAction": { + "type": "object", + "properties": { + "destructive_requires_name": { + "type": "string" + } + }, + "required": [ + "destructive_requires_name" + ] + }, + "nodes.info:NodeInfoClient": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ] + }, + "nodes.info:NodeInfoSettingsHttp": { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsHttpType" + }, + "type.default": { + "type": "string" + }, + "compression": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] + }, + "port": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "type" + ] + }, + "nodes.info:NodeInfoSettingsHttpType": { + "type": "object", + "properties": { + "default": { + "type": "string" + } + }, + "required": [ + "default" + ] + }, + "nodes.info:NodeInfoBootstrap": { + "type": "object", + "properties": { + "memory_lock": { + "type": "string" + } + }, + "required": [ + "memory_lock" + ] + }, + "nodes.info:NodeInfoSettingsTransport": { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsTransportType" + }, + "type.default": { + "type": "string" + }, + "features": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsTransportFeatures" + } + }, + "required": [ + "type" + ] + }, + "nodes.info:NodeInfoSettingsTransportType": { + "type": "object", + "properties": { + "default": { + "type": "string" + } + }, + "required": [ + "default" + ] + }, + "nodes.info:NodeInfoSettingsTransportFeatures": { + "type": "object", + "properties": { + "x-pack": { + "type": "string" + } + }, + "required": [ + "x-pack" + ] + }, + "nodes.info:NodeInfoSettingsNetwork": { + "type": "object", + "properties": { + "host": { + "$ref": "#/components/schemas/_types:Host" + } + }, + "required": [ + "host" + ] + }, + "nodes.info:NodeInfoXpack": { + "type": "object", + "properties": { + "license": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpackLicense" + }, + "security": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurity" + }, + "notification": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "required": [ + "security" + ] + }, + "nodes.info:NodeInfoXpackLicense": { + "type": "object", + "properties": { + "self_generated": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpackLicenseType" + } + }, + "required": [ + "self_generated" + ] + }, + "nodes.info:NodeInfoXpackLicenseType": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ] + }, + "nodes.info:NodeInfoXpackSecurity": { + "type": "object", + "properties": { + "http": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecuritySsl" + }, + "enabled": { + "type": "string" + }, + "transport": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecuritySsl" + }, + "authc": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthc" + } + }, + "required": [ + "http", + "enabled" + ] + }, + "nodes.info:NodeInfoXpackSecuritySsl": { + "type": "object", + "properties": { + "ssl": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "ssl" + ] + }, + "nodes.info:NodeInfoXpackSecurityAuthc": { + "type": "object", + "properties": { + "realms": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthcRealms" + }, + "token": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthcToken" + } + }, + "required": [ + "realms", + "token" + ] + }, + "nodes.info:NodeInfoXpackSecurityAuthcRealms": { + "type": "object", + "properties": { + "file": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthcRealmsStatus" + } + }, + "native": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthcRealmsStatus" + } + }, + "pki": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthcRealmsStatus" + } + } + } + }, + "nodes.info:NodeInfoXpackSecurityAuthcRealmsStatus": { + "type": "object", + "properties": { + "enabled": { + "type": "string" + }, + "order": { + "type": "string" + } + }, + "required": [ + "order" + ] + }, + "nodes.info:NodeInfoXpackSecurityAuthcToken": { + "type": "object", + "properties": { + "enabled": { + "type": "string" + } + }, + "required": [ + "enabled" + ] + }, + "nodes.info:NodeInfoScript": { + "type": "object", + "properties": { + "allowed_types": { + "type": "string" + }, + "disable_max_compilations_rate": { + "type": "string" + } + }, + "required": [ + "allowed_types", + "disable_max_compilations_rate" + ] + }, + "nodes.info:NodeInfoSearch": { + "type": "object", + "properties": { + "remote": { + "$ref": "#/components/schemas/nodes.info:NodeInfoSearchRemote" + } + }, + "required": [ + "remote" + ] + }, + "nodes.info:NodeInfoSearchRemote": { + "type": "object", + "properties": { + "connect": { + "type": "string" + } + }, + "required": [ + "connect" + ] + }, + "nodes.info:NodeInfoSettingsIngest": { + "type": "object", + "properties": { + "attachment": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "append": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "csv": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "convert": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "date": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "date_index_name": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "dot_expander": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "enrich": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "fail": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "foreach": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "json": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "user_agent": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "kv": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "geoip": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "grok": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "gsub": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "join": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "lowercase": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "remove": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "rename": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "script": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "set": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "sort": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "split": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "trim": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "uppercase": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "urldecode": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "bytes": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "dissect": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "set_security_user": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "pipeline": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "drop": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "circle": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + }, + "inference": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + } + } + }, + "nodes.info:NodeInfoIngestInfo": { + "type": "object", + "properties": { + "downloader": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestDownloader" + } + }, + "required": [ + "downloader" + ] + }, + "nodes.info:NodeInfoIngestDownloader": { + "type": "object", + "properties": { + "enabled": { + "type": "string" + } + }, + "required": [ + "enabled" + ] + }, + "nodes.info:NodeThreadPoolInfo": { + "type": "object", + "properties": { + "core": { + "type": "number" + }, + "keep_alive": { + "$ref": "#/components/schemas/_types:Duration" + }, + "max": { + "type": "number" + }, + "queue_size": { + "type": "number" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string" + } + }, + "required": [ + "queue_size", + "type" + ] + }, + "nodes.info:NodeInfoTransport": { + "type": "object", + "properties": { + "bound_address": { + "type": "array", + "items": { + "type": "string" + } + }, + "publish_address": { + "type": "string" + }, + "profiles": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "bound_address", + "publish_address", + "profiles" + ] + }, + "nodes.info:NodeInfoIngest": { + "type": "object", + "properties": { + "processors": { + "type": "array", + "items": { + "$ref": "#/components/schemas/nodes.info:NodeInfoIngestProcessor" + } + } + }, + "required": [ + "processors" + ] + }, + "nodes.info:NodeInfoIngestProcessor": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ] + }, + "nodes.info:NodeInfoAggregation": { + "type": "object", + "properties": { + "types": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "types" + ] + }, + "nodes.stats:ResponseBase": { + "allOf": [ + { + "$ref": "#/components/schemas/nodes._types:NodesResponseBase" + }, + { + "type": "object", + "properties": { + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:Stats" + } + } + }, + "required": [ + "nodes" + ] + } + ] + }, + "nodes._types:Stats": { + "type": "object", + "properties": { + "adaptive_selection": { + "description": "Statistics about adaptive replica selection.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:AdaptiveSelection" + } + }, + "breakers": { + "description": "Statistics about the field data circuit breaker.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:Breaker" + } + }, + "fs": { + "$ref": "#/components/schemas/nodes._types:FileSystem" + }, + "host": { + "$ref": "#/components/schemas/_types:Host" + }, + "http": { + "$ref": "#/components/schemas/nodes._types:Http" + }, + "ingest": { + "$ref": "#/components/schemas/nodes._types:Ingest" + }, + "ip": { + "description": "IP address and port for the node.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Ip" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Ip" + } + } + ] + }, + "jvm": { + "$ref": "#/components/schemas/nodes._types:Jvm" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "os": { + "$ref": "#/components/schemas/nodes._types:OperatingSystem" + }, + "process": { + "$ref": "#/components/schemas/nodes._types:Process" + }, + "roles": { + "$ref": "#/components/schemas/_types:NodeRoles" + }, + "script": { + "$ref": "#/components/schemas/nodes._types:Scripting" + }, + "script_cache": { + "type": "object", + "additionalProperties": { + "oneOf": [ + { + "$ref": "#/components/schemas/nodes._types:ScriptCache" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/nodes._types:ScriptCache" + } + } + ] + } + }, + "thread_pool": { + "description": "Statistics about each thread pool, including current size, queue and rejected tasks.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:ThreadCount" + } + }, + "timestamp": { + "type": "number" + }, + "transport": { + "$ref": "#/components/schemas/nodes._types:Transport" + }, + "transport_address": { + "$ref": "#/components/schemas/_types:TransportAddress" + }, + "attributes": { + "description": "Contains a list of attributes for the node.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "discovery": { + "$ref": "#/components/schemas/nodes._types:Discovery" + }, + "indexing_pressure": { + "$ref": "#/components/schemas/nodes._types:IndexingPressure" + }, + "indices": { + "$ref": "#/components/schemas/indices.stats:ShardStats" + } + } + }, + "nodes._types:AdaptiveSelection": { + "type": "object", + "properties": { + "avg_queue_size": { + "description": "The exponentially weighted moving average queue size of search requests on the keyed node.", + "type": "number" + }, + "avg_response_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "avg_response_time_ns": { + "description": "The exponentially weighted moving average response time, in nanoseconds, of search requests on the keyed node.", + "type": "number" + }, + "avg_service_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "avg_service_time_ns": { + "description": "The exponentially weighted moving average service time, in nanoseconds, of search requests on the keyed node.", + "type": "number" + }, + "outgoing_searches": { + "description": "The number of outstanding search requests to the keyed node from the node these stats are for.", + "type": "number" + }, + "rank": { + "description": "The rank of this node; used for shard selection when routing search requests.", + "type": "string" + } + } + }, + "nodes._types:Breaker": { + "type": "object", + "properties": { + "estimated_size": { + "description": "Estimated memory used for the operation.", + "type": "string" + }, + "estimated_size_in_bytes": { + "description": "Estimated memory used, in bytes, for the operation.", + "type": "number" + }, + "limit_size": { + "description": "Memory limit for the circuit breaker.", + "type": "string" + }, + "limit_size_in_bytes": { + "description": "Memory limit, in bytes, for the circuit breaker.", + "type": "number" + }, + "overhead": { + "description": "A constant that all estimates for the circuit breaker are multiplied with to calculate a final estimate.", + "type": "number" + }, + "tripped": { + "description": "Total number of times the circuit breaker has been triggered and prevented an out of memory error.", + "type": "number" + } + } + }, + "nodes._types:FileSystem": { + "type": "object", + "properties": { + "data": { + "description": "List of all file stores.", + "type": "array", + "items": { + "$ref": "#/components/schemas/nodes._types:DataPathStats" + } + }, + "timestamp": { + "description": "Last time the file stores statistics were refreshed.\nRecorded in milliseconds since the Unix Epoch.", + "type": "number" + }, + "total": { + "$ref": "#/components/schemas/nodes._types:FileSystemTotal" + }, + "io_stats": { + "$ref": "#/components/schemas/nodes._types:IoStats" + } + } + }, + "nodes._types:DataPathStats": { + "type": "object", + "properties": { + "available": { + "description": "Total amount of disk space available to this Java virtual machine on this file store.", + "type": "string" + }, + "available_in_bytes": { + "description": "Total number of bytes available to this Java virtual machine on this file store.", + "type": "number" + }, + "disk_queue": { + "type": "string" + }, + "disk_reads": { + "type": "number" + }, + "disk_read_size": { + "type": "string" + }, + "disk_read_size_in_bytes": { + "type": "number" + }, + "disk_writes": { + "type": "number" + }, + "disk_write_size": { + "type": "string" + }, + "disk_write_size_in_bytes": { + "type": "number" + }, + "free": { + "description": "Total amount of unallocated disk space in the file store.", + "type": "string" + }, + "free_in_bytes": { + "description": "Total number of unallocated bytes in the file store.", + "type": "number" + }, + "mount": { + "description": "Mount point of the file store (for example: `/dev/sda2`).", + "type": "string" + }, + "path": { + "description": "Path to the file store.", + "type": "string" + }, + "total": { + "description": "Total size of the file store.", + "type": "string" + }, + "total_in_bytes": { + "description": "Total size of the file store in bytes.", + "type": "number" + }, + "type": { + "description": "Type of the file store (ex: ext4).", + "type": "string" + } + } + }, + "nodes._types:FileSystemTotal": { + "type": "object", + "properties": { + "available": { + "description": "Total disk space available to this Java virtual machine on all file stores.\nDepending on OS or process level restrictions, this might appear less than `free`.\nThis is the actual amount of free disk space the Elasticsearch node can utilise.", + "type": "string" + }, + "available_in_bytes": { + "description": "Total number of bytes available to this Java virtual machine on all file stores.\nDepending on OS or process level restrictions, this might appear less than `free_in_bytes`.\nThis is the actual amount of free disk space the Elasticsearch node can utilise.", + "type": "number" + }, + "free": { + "description": "Total unallocated disk space in all file stores.", + "type": "string" + }, + "free_in_bytes": { + "description": "Total number of unallocated bytes in all file stores.", + "type": "number" + }, + "total": { + "description": "Total size of all file stores.", + "type": "string" + }, + "total_in_bytes": { + "description": "Total size of all file stores in bytes.", + "type": "number" + } + } + }, + "nodes._types:IoStats": { + "type": "object", + "properties": { + "devices": { + "description": "Array of disk metrics for each device that is backing an Elasticsearch data path.\nThese disk metrics are probed periodically and averages between the last probe and the current probe are computed.", + "type": "array", + "items": { + "$ref": "#/components/schemas/nodes._types:IoStatDevice" + } + }, + "total": { + "$ref": "#/components/schemas/nodes._types:IoStatDevice" + } + } + }, + "nodes._types:IoStatDevice": { + "type": "object", + "properties": { + "device_name": { + "description": "The Linux device name.", + "type": "string" + }, + "operations": { + "description": "The total number of read and write operations for the device completed since starting Elasticsearch.", + "type": "number" + }, + "read_kilobytes": { + "description": "The total number of kilobytes read for the device since starting Elasticsearch.", + "type": "number" + }, + "read_operations": { + "description": "The total number of read operations for the device completed since starting Elasticsearch.", + "type": "number" + }, + "write_kilobytes": { + "description": "The total number of kilobytes written for the device since starting Elasticsearch.", + "type": "number" + }, + "write_operations": { + "description": "The total number of write operations for the device completed since starting Elasticsearch.", + "type": "number" + } + } + }, + "nodes._types:Jvm": { + "type": "object", + "properties": { + "buffer_pools": { + "description": "Contains statistics about JVM buffer pools for the node.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:NodeBufferPool" + } + }, + "classes": { + "$ref": "#/components/schemas/nodes._types:JvmClasses" + }, + "gc": { + "$ref": "#/components/schemas/nodes._types:GarbageCollector" + }, + "mem": { + "$ref": "#/components/schemas/nodes._types:JvmMemoryStats" + }, + "threads": { + "$ref": "#/components/schemas/nodes._types:JvmThreads" + }, + "timestamp": { + "description": "Last time JVM statistics were refreshed.", + "type": "number" + }, + "uptime": { + "description": "Human-readable JVM uptime.\nOnly returned if the `human` query parameter is `true`.", + "type": "string" + }, + "uptime_in_millis": { + "description": "JVM uptime in milliseconds.", + "type": "number" + } + } + }, + "nodes._types:NodeBufferPool": { + "type": "object", + "properties": { + "count": { + "description": "Number of buffer pools.", + "type": "number" + }, + "total_capacity": { + "description": "Total capacity of buffer pools.", + "type": "string" + }, + "total_capacity_in_bytes": { + "description": "Total capacity of buffer pools in bytes.", + "type": "number" + }, + "used": { + "description": "Size of buffer pools.", + "type": "string" + }, + "used_in_bytes": { + "description": "Size of buffer pools in bytes.", + "type": "number" + } + } + }, + "nodes._types:JvmClasses": { + "type": "object", + "properties": { + "current_loaded_count": { + "description": "Number of classes currently loaded by JVM.", + "type": "number" + }, + "total_loaded_count": { + "description": "Total number of classes loaded since the JVM started.", + "type": "number" + }, + "total_unloaded_count": { + "description": "Total number of classes unloaded since the JVM started.", + "type": "number" + } + } + }, + "nodes._types:GarbageCollector": { + "type": "object", + "properties": { + "collectors": { + "description": "Contains statistics about JVM garbage collectors for the node.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:GarbageCollectorTotal" + } + } + } + }, + "nodes._types:GarbageCollectorTotal": { + "type": "object", + "properties": { + "collection_count": { + "description": "Total number of JVM garbage collectors that collect objects.", + "type": "number" + }, + "collection_time": { + "description": "Total time spent by JVM collecting objects.", + "type": "string" + }, + "collection_time_in_millis": { + "description": "Total time, in milliseconds, spent by JVM collecting objects.", + "type": "number" + } + } + }, + "nodes._types:JvmMemoryStats": { + "type": "object", + "properties": { + "heap_used_in_bytes": { + "description": "Memory, in bytes, currently in use by the heap.", + "type": "number" + }, + "heap_used_percent": { + "description": "Percentage of memory currently in use by the heap.", + "type": "number" + }, + "heap_committed_in_bytes": { + "description": "Amount of memory, in bytes, available for use by the heap.", + "type": "number" + }, + "heap_max_in_bytes": { + "description": "Maximum amount of memory, in bytes, available for use by the heap.", + "type": "number" + }, + "non_heap_used_in_bytes": { + "description": "Non-heap memory used, in bytes.", + "type": "number" + }, + "non_heap_committed_in_bytes": { + "description": "Amount of non-heap memory available, in bytes.", + "type": "number" + }, + "pools": { + "description": "Contains statistics about heap memory usage for the node.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:Pool" + } + } + } + }, + "nodes._types:Pool": { + "type": "object", + "properties": { + "used_in_bytes": { + "description": "Memory, in bytes, used by the heap.", + "type": "number" + }, + "max_in_bytes": { + "description": "Maximum amount of memory, in bytes, available for use by the heap.", + "type": "number" + }, + "peak_used_in_bytes": { + "description": "Largest amount of memory, in bytes, historically used by the heap.", + "type": "number" + }, + "peak_max_in_bytes": { + "description": "Largest amount of memory, in bytes, historically used by the heap.", + "type": "number" + } + } + }, + "nodes._types:JvmThreads": { + "type": "object", + "properties": { + "count": { + "description": "Number of active threads in use by JVM.", + "type": "number" + }, + "peak_count": { + "description": "Highest number of threads used by JVM.", + "type": "number" + } + } + }, + "nodes._types:OperatingSystem": { + "type": "object", + "properties": { + "cpu": { + "$ref": "#/components/schemas/nodes._types:Cpu" + }, + "mem": { + "$ref": "#/components/schemas/nodes._types:ExtendedMemoryStats" + }, + "swap": { + "$ref": "#/components/schemas/nodes._types:MemoryStats" + }, + "cgroup": { + "$ref": "#/components/schemas/nodes._types:Cgroup" + }, + "timestamp": { + "type": "number" + } + } + }, + "nodes._types:Cpu": { + "type": "object", + "properties": { + "percent": { + "type": "number" + }, + "sys": { + "$ref": "#/components/schemas/_types:Duration" + }, + "sys_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total": { + "$ref": "#/components/schemas/_types:Duration" + }, + "total_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "user": { + "$ref": "#/components/schemas/_types:Duration" + }, + "user_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "load_average": { + "type": "object", + "additionalProperties": { + "type": "number" + } + } + } + }, + "nodes._types:ExtendedMemoryStats": { + "allOf": [ + { + "$ref": "#/components/schemas/nodes._types:MemoryStats" + }, + { + "type": "object", + "properties": { + "free_percent": { + "description": "Percentage of free memory.", + "type": "number" + }, + "used_percent": { + "description": "Percentage of used memory.", + "type": "number" + } + } + } + ] + }, + "nodes._types:MemoryStats": { + "type": "object", + "properties": { + "adjusted_total_in_bytes": { + "description": "If the amount of physical memory has been overridden using the `es`.`total_memory_bytes` system property then this reports the overridden value in bytes.\nOtherwise it reports the same value as `total_in_bytes`.", + "type": "number" + }, + "resident": { + "type": "string" + }, + "resident_in_bytes": { + "type": "number" + }, + "share": { + "type": "string" + }, + "share_in_bytes": { + "type": "number" + }, + "total_virtual": { + "type": "string" + }, + "total_virtual_in_bytes": { + "type": "number" + }, + "total_in_bytes": { + "description": "Total amount of physical memory in bytes.", + "type": "number" + }, + "free_in_bytes": { + "description": "Amount of free physical memory in bytes.", + "type": "number" + }, + "used_in_bytes": { + "description": "Amount of used physical memory in bytes.", + "type": "number" + } + } + }, + "nodes._types:Cgroup": { + "type": "object", + "properties": { + "cpuacct": { + "$ref": "#/components/schemas/nodes._types:CpuAcct" + }, + "cpu": { + "$ref": "#/components/schemas/nodes._types:CgroupCpu" + }, + "memory": { + "$ref": "#/components/schemas/nodes._types:CgroupMemory" + } + } + }, + "nodes._types:CpuAcct": { + "type": "object", + "properties": { + "control_group": { + "description": "The `cpuacct` control group to which the Elasticsearch process belongs.", + "type": "string" + }, + "usage_nanos": { + "$ref": "#/components/schemas/_types:DurationValueUnitNanos" + } + } + }, + "nodes._types:CgroupCpu": { + "type": "object", + "properties": { + "control_group": { + "description": "The `cpu` control group to which the Elasticsearch process belongs.", + "type": "string" + }, + "cfs_period_micros": { + "description": "The period of time, in microseconds, for how regularly all tasks in the same cgroup as the Elasticsearch process should have their access to CPU resources reallocated.", + "type": "number" + }, + "cfs_quota_micros": { + "description": "The total amount of time, in microseconds, for which all tasks in the same cgroup as the Elasticsearch process can run during one period `cfs_period_micros`.", + "type": "number" + }, + "stat": { + "$ref": "#/components/schemas/nodes._types:CgroupCpuStat" + } + } + }, + "nodes._types:CgroupCpuStat": { + "type": "object", + "properties": { + "number_of_elapsed_periods": { + "description": "The number of reporting periods (as specified by `cfs_period_micros`) that have elapsed.", + "type": "number" + }, + "number_of_times_throttled": { + "description": "The number of times all tasks in the same cgroup as the Elasticsearch process have been throttled.", + "type": "number" + }, + "time_throttled_nanos": { + "$ref": "#/components/schemas/_types:DurationValueUnitNanos" + } + } + }, + "nodes._types:CgroupMemory": { + "type": "object", + "properties": { + "control_group": { + "description": "The `memory` control group to which the Elasticsearch process belongs.", + "type": "string" + }, + "limit_in_bytes": { + "description": "The maximum amount of user memory (including file cache) allowed for all tasks in the same cgroup as the Elasticsearch process.\nThis value can be too big to store in a `long`, so is returned as a string so that the value returned can exactly match what the underlying operating system interface returns.\nAny value that is too large to parse into a `long` almost certainly means no limit has been set for the cgroup.", + "type": "string" + }, + "usage_in_bytes": { + "description": "The total current memory usage by processes in the cgroup, in bytes, by all tasks in the same cgroup as the Elasticsearch process.\nThis value is stored as a string for consistency with `limit_in_bytes`.", + "type": "string" + } + } + }, + "nodes._types:Process": { + "type": "object", + "properties": { + "cpu": { + "$ref": "#/components/schemas/nodes._types:Cpu" + }, + "mem": { + "$ref": "#/components/schemas/nodes._types:MemoryStats" + }, + "open_file_descriptors": { + "description": "Number of opened file descriptors associated with the current or `-1` if not supported.", + "type": "number" + }, + "max_file_descriptors": { + "description": "Maximum number of file descriptors allowed on the system, or `-1` if not supported.", + "type": "number" + }, + "timestamp": { + "description": "Last time the statistics were refreshed.\nRecorded in milliseconds since the Unix Epoch.", + "type": "number" + } + } + }, + "nodes._types:ScriptCache": { + "type": "object", + "properties": { + "cache_evictions": { + "description": "Total number of times the script cache has evicted old data.", + "type": "number" + }, + "compilation_limit_triggered": { + "description": "Total number of times the script compilation circuit breaker has limited inline script compilations.", + "type": "number" + }, + "compilations": { + "description": "Total number of inline script compilations performed by the node.", + "type": "number" + }, + "context": { + "type": "string" + } + } + }, + "nodes._types:Transport": { + "type": "object", + "properties": { + "inbound_handling_time_histogram": { + "description": "The distribution of the time spent handling each inbound message on a transport thread, represented as a histogram.", + "type": "array", + "items": { + "$ref": "#/components/schemas/nodes._types:TransportHistogram" + } + }, + "outbound_handling_time_histogram": { + "description": "The distribution of the time spent sending each outbound transport message on a transport thread, represented as a histogram.", + "type": "array", + "items": { + "$ref": "#/components/schemas/nodes._types:TransportHistogram" + } + }, + "rx_count": { + "description": "Total number of RX (receive) packets received by the node during internal cluster communication.", + "type": "number" + }, + "rx_size": { + "description": "Size of RX packets received by the node during internal cluster communication.", + "type": "string" + }, + "rx_size_in_bytes": { + "description": "Size, in bytes, of RX packets received by the node during internal cluster communication.", + "type": "number" + }, + "server_open": { + "description": "Current number of inbound TCP connections used for internal communication between nodes.", + "type": "number" + }, + "tx_count": { + "description": "Total number of TX (transmit) packets sent by the node during internal cluster communication.", + "type": "number" + }, + "tx_size": { + "description": "Size of TX packets sent by the node during internal cluster communication.", + "type": "string" + }, + "tx_size_in_bytes": { + "description": "Size, in bytes, of TX packets sent by the node during internal cluster communication.", + "type": "number" + }, + "total_outbound_connections": { + "description": "The cumulative number of outbound transport connections that this node has opened since it started.\nEach transport connection may comprise multiple TCP connections but is only counted once in this statistic.\nTransport connections are typically long-lived so this statistic should remain constant in a stable cluster.", + "type": "number" + } + } + }, + "nodes._types:TransportHistogram": { + "type": "object", + "properties": { + "count": { + "description": "The number of times a transport thread took a period of time within the bounds of this bucket to handle an inbound message.", + "type": "number" + }, + "lt_millis": { + "description": "The exclusive upper bound of the bucket in milliseconds.\nMay be omitted on the last bucket if this bucket has no upper bound.", + "type": "number" + }, + "ge_millis": { + "description": "The inclusive lower bound of the bucket in milliseconds. May be omitted on the first bucket if this bucket has no lower bound.", + "type": "number" + } + } + }, + "nodes._types:Discovery": { + "type": "object", + "properties": { + "cluster_state_queue": { + "$ref": "#/components/schemas/nodes._types:ClusterStateQueue" + }, + "published_cluster_states": { + "$ref": "#/components/schemas/nodes._types:PublishedClusterStates" + }, + "cluster_state_update": { + "description": "Contains low-level statistics about how long various activities took during cluster state updates while the node was the elected master.\nOmitted if the node is not master-eligible.\nEvery field whose name ends in `_time` within this object is also represented as a raw number of milliseconds in a field whose name ends in `_time_millis`.\nThe human-readable fields with a `_time` suffix are only returned if requested with the `?human=true` query parameter.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:ClusterStateUpdate" + } + }, + "serialized_cluster_states": { + "$ref": "#/components/schemas/nodes._types:SerializedClusterState" + }, + "cluster_applier_stats": { + "$ref": "#/components/schemas/nodes._types:ClusterAppliedStats" + } + } + }, + "nodes._types:ClusterStateQueue": { + "type": "object", + "properties": { + "total": { + "description": "Total number of cluster states in queue.", + "type": "number" + }, + "pending": { + "description": "Number of pending cluster states in queue.", + "type": "number" + }, + "committed": { + "description": "Number of committed cluster states in queue.", + "type": "number" + } + } + }, + "nodes._types:PublishedClusterStates": { + "type": "object", + "properties": { + "full_states": { + "description": "Number of published cluster states.", + "type": "number" + }, + "incompatible_diffs": { + "description": "Number of incompatible differences between published cluster states.", + "type": "number" + }, + "compatible_diffs": { + "description": "Number of compatible differences between published cluster states.", + "type": "number" + } + } + }, + "nodes._types:ClusterStateUpdate": { + "type": "object", + "properties": { + "count": { + "description": "The number of cluster state update attempts that did not change the cluster state since the node started.", + "type": "number" + }, + "computation_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "computation_time_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "publication_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "publication_time_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "context_construction_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "context_construction_time_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "commit_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "commit_time_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "completion_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "completion_time_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "master_apply_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "master_apply_time_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "notification_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "notification_time_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "count" + ] + }, + "nodes._types:SerializedClusterState": { + "type": "object", + "properties": { + "full_states": { + "$ref": "#/components/schemas/nodes._types:SerializedClusterStateDetail" + }, + "diffs": { + "$ref": "#/components/schemas/nodes._types:SerializedClusterStateDetail" + } + } + }, + "nodes._types:SerializedClusterStateDetail": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "uncompressed_size": { + "type": "string" + }, + "uncompressed_size_in_bytes": { + "type": "number" + }, + "compressed_size": { + "type": "string" + }, + "compressed_size_in_bytes": { + "type": "number" + } + } + }, + "nodes._types:ClusterAppliedStats": { + "type": "object", + "properties": { + "recordings": { + "type": "array", + "items": { + "$ref": "#/components/schemas/nodes._types:Recording" + } + } + } + }, + "nodes._types:Recording": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "cumulative_execution_count": { + "type": "number" + }, + "cumulative_execution_time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "cumulative_execution_time_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + } + }, + "nodes._types:IndexingPressure": { + "type": "object", + "properties": { + "memory": { + "$ref": "#/components/schemas/nodes._types:IndexingPressureMemory" + } + } + }, + "nodes._types:IndexingPressureMemory": { + "type": "object", + "properties": { + "limit": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "limit_in_bytes": { + "description": "Configured memory limit, in bytes, for the indexing requests.\nReplica requests have an automatic limit that is 1.5x this value.", + "type": "number" + }, + "current": { + "$ref": "#/components/schemas/nodes._types:PressureMemory" + }, + "total": { + "$ref": "#/components/schemas/nodes._types:PressureMemory" + } + } + }, + "nodes._types:PressureMemory": { + "type": "object", + "properties": { + "all": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "all_in_bytes": { + "description": "Memory consumed, in bytes, by indexing requests in the coordinating, primary, or replica stage.", + "type": "number" + }, + "combined_coordinating_and_primary": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "combined_coordinating_and_primary_in_bytes": { + "description": "Memory consumed, in bytes, by indexing requests in the coordinating or primary stage.\nThis value is not the sum of coordinating and primary as a node can reuse the coordinating memory if the primary stage is executed locally.", + "type": "number" + }, + "coordinating": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "coordinating_in_bytes": { + "description": "Memory consumed, in bytes, by indexing requests in the coordinating stage.", + "type": "number" + }, + "primary": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "primary_in_bytes": { + "description": "Memory consumed, in bytes, by indexing requests in the primary stage.", + "type": "number" + }, + "replica": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "replica_in_bytes": { + "description": "Memory consumed, in bytes, by indexing requests in the replica stage.", + "type": "number" + }, + "coordinating_rejections": { + "description": "Number of indexing requests rejected in the coordinating stage.", + "type": "number" + }, + "primary_rejections": { + "description": "Number of indexing requests rejected in the primary stage.", + "type": "number" + }, + "replica_rejections": { + "description": "Number of indexing requests rejected in the replica stage.", + "type": "number" + } + } + }, + "nodes.usage:ResponseBase": { + "allOf": [ + { + "$ref": "#/components/schemas/nodes._types:NodesResponseBase" + }, + { + "type": "object", + "properties": { + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes.usage:NodeUsage" + } + } + }, + "required": [ + "cluster_name", + "nodes" + ] + } + ] + }, + "nodes.usage:NodeUsage": { + "type": "object", + "properties": { + "rest_actions": { + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "since": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "aggregations": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "required": [ + "rest_actions", + "since", + "timestamp", + "aggregations" + ] + }, + "query_ruleset._types:QueryRuleset": { + "type": "object", + "properties": { + "ruleset_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "rules": { + "description": "Rules associated with the query ruleset", + "type": "array", + "items": { + "$ref": "#/components/schemas/query_ruleset._types:QueryRule" + } + } + }, + "required": [ + "ruleset_id", + "rules" + ] + }, + "query_ruleset._types:QueryRule": { + "type": "object", + "properties": { + "rule_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "type": { + "$ref": "#/components/schemas/query_ruleset._types:QueryRuleType" + }, + "criteria": { + "type": "array", + "items": { + "$ref": "#/components/schemas/query_ruleset._types:QueryRuleCriteria" + } + }, + "actions": { + "$ref": "#/components/schemas/query_ruleset._types:QueryRuleActions" + } + }, + "required": [ + "rule_id", + "type", + "criteria", + "actions" + ] + }, + "query_ruleset._types:QueryRuleType": { + "type": "string", + "enum": [ + "pinned" + ] + }, + "query_ruleset._types:QueryRuleCriteria": { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/query_ruleset._types:QueryRuleCriteriaType" + }, + "metadata": { + "type": "string" + }, + "values": { + "type": "array", + "items": { + "type": "object" + } + } + }, + "required": [ + "type", + "metadata" + ] + }, + "query_ruleset._types:QueryRuleCriteriaType": { + "type": "string", + "enum": [ + "global", + "exact", + "exact_fuzzy", + "prefix", + "suffix", + "contains", + "lt", + "lte", + "gt", + "gte" + ] + }, + "query_ruleset._types:QueryRuleActions": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "docs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:PinnedDoc" + } + } + } + }, + "query_ruleset.list:QueryRulesetListItem": { + "type": "object", + "properties": { + "ruleset_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "rules_count": { + "description": "The number of rules associated with this ruleset", + "type": "number" + } + }, + "required": [ + "ruleset_id", + "rules_count" + ] + }, + "_global.rank_eval:RankEvalRequestItem": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "request": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalQuery" + }, + "ratings": { + "description": "List of document ratings", + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.rank_eval:DocumentRating" + } + }, + "template_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "params": { + "description": "The search template parameters.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "required": [ + "id", + "ratings" + ] + }, + "_global.rank_eval:RankEvalQuery": { + "type": "object", + "properties": { + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "size": { + "type": "number" + } + }, + "required": [ + "query" + ] + }, + "_global.rank_eval:DocumentRating": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "rating": { + "description": "The document’s relevance with regard to this search request.", + "type": "number" + } + }, + "required": [ + "_id", + "_index", + "rating" + ] + }, + "_global.rank_eval:RankEvalMetric": { + "type": "object", + "properties": { + "precision": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricPrecision" + }, + "recall": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricRecall" + }, + "mean_reciprocal_rank": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricMeanReciprocalRank" + }, + "dcg": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricDiscountedCumulativeGain" + }, + "expected_reciprocal_rank": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricExpectedReciprocalRank" + } + } + }, + "_global.rank_eval:RankEvalMetricPrecision": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricRatingTreshold" + }, + { + "type": "object", + "properties": { + "ignore_unlabeled": { + "description": "Controls how unlabeled documents in the search results are counted. If set to true, unlabeled documents are ignored and neither count as relevant or irrelevant. Set to false (the default), they are treated as irrelevant.", + "type": "boolean" + } + } + } + ] + }, + "_global.rank_eval:RankEvalMetricRatingTreshold": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricBase" + }, + { + "type": "object", + "properties": { + "relevant_rating_threshold": { + "description": "Sets the rating threshold above which documents are considered to be \"relevant\".", + "type": "number" + } + } + } + ] + }, + "_global.rank_eval:RankEvalMetricBase": { + "type": "object", + "properties": { + "k": { + "description": "Sets the maximum number of documents retrieved per query. This value will act in place of the usual size parameter in the query.", + "type": "number" + } + } + }, + "_global.rank_eval:RankEvalMetricRecall": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricRatingTreshold" + }, + { + "type": "object" + } + ] + }, + "_global.rank_eval:RankEvalMetricMeanReciprocalRank": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricRatingTreshold" + }, + { + "type": "object" + } + ] + }, + "_global.rank_eval:RankEvalMetricDiscountedCumulativeGain": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricBase" + }, + { + "type": "object", + "properties": { + "normalize": { + "externalDocs": { + "url": "https://en.wikipedia.org/wiki/Discounted_cumulative_gain#Normalized_DCG" + }, + "description": "If set to true, this metric will calculate the Normalized DCG.", + "type": "boolean" + } + } + } + ] + }, + "_global.rank_eval:RankEvalMetricExpectedReciprocalRank": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricBase" + }, + { + "type": "object", + "properties": { + "maximum_relevance": { + "description": "The highest relevance grade used in the user-supplied relevance judgments.", + "type": "number" + } + }, + "required": [ + "maximum_relevance" + ] + } + ] + }, + "_global.rank_eval:RankEvalMetricDetail": { + "type": "object", + "properties": { + "metric_score": { + "description": "The metric_score in the details section shows the contribution of this query to the global quality metric score", + "type": "number" + }, + "unrated_docs": { + "description": "The unrated_docs section contains an _index and _id entry for each document in the search result for this query that didn’t have a ratings value. This can be used to ask the user to supply ratings for these documents", + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.rank_eval:UnratedDocument" + } + }, + "hits": { + "description": "The hits section shows a grouping of the search results with their supplied ratings", + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalHitItem" + } + }, + "metric_details": { + "description": "The metric_details give additional information about the calculated quality metric (e.g. how many of the retrieved documents were relevant). The content varies for each metric but allows for better interpretation of the results", + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": [ + "metric_score", + "unrated_docs", + "hits", + "metric_details" + ] + }, + "_global.rank_eval:UnratedDocument": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "required": [ + "_id", + "_index" + ] + }, + "_global.rank_eval:RankEvalHitItem": { + "type": "object", + "properties": { + "hit": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalHit" + }, + "rating": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + } + }, + "required": [ + "hit" + ] + }, + "_global.rank_eval:RankEvalHit": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "_score": { + "type": "number" + } + }, + "required": [ + "_id", + "_index", + "_score" + ] + }, + "_global.scripts_painless_execute:PainlessContextSetup": { + "type": "object", + "properties": { + "document": { + "description": "Document that’s temporarily indexed in-memory and accessible from the script.", + "type": "object" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "required": [ + "document", + "index", + "query" + ] + }, + "_types:RankContainer": { + "type": "object", + "properties": { + "rrf": { + "$ref": "#/components/schemas/_types:RrfRank" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_types:RrfRank": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:RankBase" + }, + { + "type": "object", + "properties": { + "rank_constant": { + "description": "How much influence documents in individual result sets per query have over the final ranked result set", + "type": "number" + }, + "window_size": { + "description": "Size of the individual result sets per query", + "type": "number" + } + } + } + ] + }, + "_types:RankBase": { + "type": "object" + }, + "search_application._types:SearchApplication": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "indices": { + "description": "Indices that are part of the Search Application.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "updated_at_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "analytics_collection_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "template": { + "$ref": "#/components/schemas/search_application._types:SearchApplicationTemplate" + } + }, + "required": [ + "name", + "indices", + "updated_at_millis" + ] + }, + "search_application._types:SearchApplicationTemplate": { + "type": "object", + "properties": { + "script": { + "$ref": "#/components/schemas/_types:InlineScript" + } + }, + "required": [ + "script" + ] + }, + "search_application._types:AnalyticsCollection": { + "type": "object", + "properties": { + "event_data_stream": { + "$ref": "#/components/schemas/search_application._types:EventDataStream" + } + }, + "required": [ + "event_data_stream" + ] + }, + "search_application._types:EventDataStream": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "required": [ + "name" + ] + }, + "search_application.list:SearchApplicationListItem": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "indices": { + "description": "Indices that are part of the Search Application", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "updated_at_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "analytics_collection_name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "name", + "indices", + "updated_at_millis" + ] + }, + "search_application.put_behavioral_analytics:AnalyticsAcknowledgeResponseBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + }, + { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "name" + ] + } + ] + }, + "_global.search_mvt._types:ZoomLevel": { + "type": "number" + }, + "_global.search_mvt._types:Coordinate": { + "type": "number" + }, + "_global.search_mvt._types:GridAggregationType": { + "type": "string", + "enum": [ + "geotile", + "geohex" + ] + }, + "_global.search_mvt._types:GridType": { + "type": "string", + "enum": [ + "grid", + "point", + "centroid" + ] + }, + "_types:MapboxVectorTiles": { + "type": "object" + }, + "security._types:GrantType": { + "type": "string", + "enum": [ + "password", + "access_token" + ] + }, + "security._types:UserProfileWithMetadata": { + "allOf": [ + { + "$ref": "#/components/schemas/security._types:UserProfile" + }, + { + "type": "object", + "properties": { + "last_synchronized": { + "type": "number" + }, + "_doc": { + "$ref": "#/components/schemas/security._types:UserProfileHitMetadata" + } + }, + "required": [ + "last_synchronized", + "_doc" + ] + } + ] + }, + "security._types:UserProfileHitMetadata": { + "type": "object", + "properties": { + "_primary_term": { + "type": "number" + }, + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + } + }, + "required": [ + "_primary_term", + "_seq_no" + ] + }, + "security._types:UserProfile": { + "type": "object", + "properties": { + "uid": { + "$ref": "#/components/schemas/security._types:UserProfileId" + }, + "user": { + "$ref": "#/components/schemas/security._types:UserProfileUser" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "enabled": { + "type": "boolean" + } + }, + "required": [ + "uid", + "user", + "data", + "labels" + ] + }, + "security._types:UserProfileId": { + "type": "string" + }, + "security._types:UserProfileUser": { + "type": "object", + "properties": { + "email": { + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "full_name": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Name" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "realm_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "realm_domain": { + "$ref": "#/components/schemas/_types:Name" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + } + }, + "required": [ + "realm_name", + "roles", + "username" + ] + }, + "_types:Username": { + "type": "string" + }, + "security._types:ApiKey": { + "type": "object", + "properties": { + "creation": { + "description": "Creation time for the API key in milliseconds.", + "type": "number" + }, + "expiration": { + "description": "Expiration time for the API key in milliseconds.", + "type": "number" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "invalidated": { + "description": "Invalidation status for the API key.\nIf the key has been invalidated, it has a value of `true`. Otherwise, it is `false`.", + "type": "boolean" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "realm": { + "description": "Realm name of the principal for which this API key was created.", + "type": "string" + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "role_descriptors": { + "description": "The role descriptors assigned to this API key when it was created or last updated.\nAn empty role descriptor means the API key inherits the owner user’s permissions.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:RoleDescriptor" + } + }, + "limited_by": { + "description": "The owner user’s permissions associated with the API key.\nIt is a point-in-time snapshot captured at creation and subsequent updates.\nAn API key’s effective permissions are an intersection of its assigned privileges and the owner user’s permissions.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:RoleDescriptor" + } + } + }, + "_sort": { + "$ref": "#/components/schemas/_types:SortResults" + } + }, + "required": [ + "id", + "name" + ] + }, + "security._types:RoleDescriptor": { + "type": "object", + "properties": { + "cluster": { + "description": "A list of cluster privileges. These privileges define the cluster level actions that API keys are able to execute.", + "type": "array", + "items": { + "type": "string" + } + }, + "indices": { + "description": "A list of indices permissions entries.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:IndicesPrivileges" + } + }, + "global": { + "description": "An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware. Support for global privileges is currently limited to the management of application privileges.", + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:GlobalPrivilege" + } + }, + { + "$ref": "#/components/schemas/security._types:GlobalPrivilege" + } + ] + }, + "applications": { + "description": "A list of application privilege entries", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:ApplicationPrivileges" + } + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "run_as": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/run-as-privilege.html" + }, + "description": "A list of users that the API keys can impersonate.", + "type": "array", + "items": { + "type": "string" + } + }, + "transient_metadata": { + "$ref": "#/components/schemas/security._types:TransientMetadataConfig" + } + } + }, + "security._types:IndicesPrivileges": { + "type": "object", + "properties": { + "field_security": { + "$ref": "#/components/schemas/security._types:FieldSecurity" + }, + "names": { + "$ref": "#/components/schemas/_types:Indices" + }, + "privileges": { + "description": "The index level privileges that owners of the role have on the specified indices.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:IndexPrivilege" + } + }, + "query": { + "$ref": "#/components/schemas/security._types:IndicesPrivilegesQuery" + }, + "allow_restricted_indices": { + "description": "Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`.", + "type": "boolean" + } + }, + "required": [ + "names", + "privileges" + ] + }, + "security._types:FieldSecurity": { + "type": "object", + "properties": { + "except": { + "$ref": "#/components/schemas/_types:Fields" + }, + "grant": { + "$ref": "#/components/schemas/_types:Fields" + } + } + }, + "security._types:IndexPrivilege": { + "type": "string", + "enum": [ + "none", + "all", + "auto_configure", + "create", + "create_doc", + "create_index", + "delete", + "delete_index", + "index", + "maintenance", + "manage", + "manage_follow_index", + "manage_ilm", + "manage_leader_index", + "monitor", + "read", + "read_cross_cluster", + "view_index_metadata", + "write" + ] + }, + "security._types:IndicesPrivilegesQuery": { + "description": "While creating or updating a role you can provide either a JSON structure or a string to the API.\nHowever, the response provided by Elasticsearch will only be string with a json-as-text content.\n\nSince this is embedded in `IndicesPrivileges`, the same structure is used for clarity in both contexts.", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + { + "$ref": "#/components/schemas/security._types:RoleTemplateQuery" + } + ] + }, + "security._types:RoleTemplateQuery": { + "type": "object", + "properties": { + "template": { + "$ref": "#/components/schemas/security._types:RoleTemplateScript" + } + } + }, + "security._types:RoleTemplateScript": { + "oneOf": [ + { + "$ref": "#/components/schemas/security._types:RoleTemplateInlineScript" + }, + { + "$ref": "#/components/schemas/_types:StoredScriptId" + } + ] + }, + "security._types:RoleTemplateInlineScript": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:ScriptBase" + }, + { + "type": "object", + "properties": { + "lang": { + "$ref": "#/components/schemas/_types:ScriptLanguage" + }, + "options": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "source": { + "$ref": "#/components/schemas/security._types:RoleTemplateInlineQuery" + } + }, + "required": [ + "source" + ] + } + ] + }, + "security._types:RoleTemplateInlineQuery": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + ] + }, + "security._types:GlobalPrivilege": { + "type": "object", + "properties": { + "application": { + "$ref": "#/components/schemas/security._types:ApplicationGlobalUserPrivileges" + } + }, + "required": [ + "application" + ] + }, + "security._types:ApplicationGlobalUserPrivileges": { + "type": "object", + "properties": { + "manage": { + "$ref": "#/components/schemas/security._types:ManageUserPrivileges" + } + }, + "required": [ + "manage" + ] + }, + "security._types:ManageUserPrivileges": { + "type": "object", + "properties": { + "applications": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "applications" + ] + }, + "security._types:ApplicationPrivileges": { + "type": "object", + "properties": { + "application": { + "description": "The name of the application to which this entry applies.", + "type": "string" + }, + "privileges": { + "description": "A list of strings, where each element is the name of an application privilege or action.", + "type": "array", + "items": { + "type": "string" + } + }, + "resources": { + "description": "A list resources to which the privileges are applied.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "application", + "privileges", + "resources" + ] + }, + "security._types:TransientMetadataConfig": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ] + }, + "security._types:RealmInfo": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name", + "type" + ] + }, + "security.authenticate:Token": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ] + }, + "security._types:ClusterNode": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "name" + ] + }, + "_types:Namespace": { + "type": "string" + }, + "_types:Service": { + "type": "string" + }, + "security.create_service_token:Token": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ] + }, + "security.delete_privileges:FoundStatus": { + "type": "object", + "properties": { + "found": { + "type": "boolean" + } + }, + "required": [ + "found" + ] + }, + "security.put_privileges:Actions": { + "type": "object", + "properties": { + "actions": { + "type": "array", + "items": { + "type": "string" + } + }, + "application": { + "type": "string" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + } + }, + "required": [ + "actions" + ] + }, + "security.get_role:Role": { + "type": "object", + "properties": { + "cluster": { + "type": "array", + "items": { + "type": "string" + } + }, + "indices": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:IndicesPrivileges" + } + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "run_as": { + "type": "array", + "items": { + "type": "string" + } + }, + "transient_metadata": { + "$ref": "#/components/schemas/security._types:TransientMetadataConfig" + }, + "applications": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:ApplicationPrivileges" + } + }, + "role_templates": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security.get_role:RoleTemplate" + } + }, + "global": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": [ + "cluster", + "indices", + "metadata", + "run_as", + "transient_metadata", + "applications" + ] + }, + "security.get_role:RoleTemplate": { + "type": "object", + "properties": { + "format": { + "$ref": "#/components/schemas/security.get_role:TemplateFormat" + }, + "template": { + "$ref": "#/components/schemas/_types:Script" + } + }, + "required": [ + "template" + ] + }, + "security.get_role:TemplateFormat": { + "type": "string", + "enum": [ + "string", + "json" + ] + }, + "security._types:RoleMapping": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "rules": { + "$ref": "#/components/schemas/security._types:RoleMappingRule" + }, + "role_templates": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security.get_role:RoleTemplate" + } + } + }, + "required": [ + "enabled", + "metadata", + "roles", + "rules" + ] + }, + "security._types:RoleMappingRule": { + "type": "object", + "properties": { + "any": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:RoleMappingRule" + } + }, + "all": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:RoleMappingRule" + } + }, + "field": { + "$ref": "#/components/schemas/security._types:FieldRule" + }, + "except": { + "$ref": "#/components/schemas/security._types:RoleMappingRule" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "security._types:FieldRule": { + "type": "object", + "properties": { + "username": { + "$ref": "#/components/schemas/_types:Name" + }, + "dn": { + "$ref": "#/components/schemas/_types:Names" + }, + "groups": { + "$ref": "#/components/schemas/_types:Names" + }, + "metadata": { + "type": "object" + }, + "realm": { + "$ref": "#/components/schemas/security._types:Realm" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "security._types:Realm": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "name" + ] + }, + "security.get_service_accounts:RoleDescriptorWrapper": { + "type": "object", + "properties": { + "role_descriptor": { + "$ref": "#/components/schemas/security._types:RoleDescriptorRead" + } + }, + "required": [ + "role_descriptor" + ] + }, + "security._types:RoleDescriptorRead": { + "type": "object", + "properties": { + "cluster": { + "description": "A list of cluster privileges. These privileges define the cluster level actions that API keys are able to execute.", + "type": "array", + "items": { + "type": "string" + } + }, + "indices": { + "description": "A list of indices permissions entries.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:IndicesPrivileges" + } + }, + "global": { + "description": "An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware. Support for global privileges is currently limited to the management of application privileges.", + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:GlobalPrivilege" + } + }, + { + "$ref": "#/components/schemas/security._types:GlobalPrivilege" + } + ] + }, + "applications": { + "description": "A list of application privilege entries", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:ApplicationPrivileges" + } + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "run_as": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/run-as-privilege.html" + }, + "description": "A list of users that the API keys can impersonate.", + "type": "array", + "items": { + "type": "string" + } + }, + "transient_metadata": { + "$ref": "#/components/schemas/security._types:TransientMetadataConfig" + } + }, + "required": [ + "cluster", + "indices" + ] + }, + "security.get_service_credentials:NodesCredentials": { + "type": "object", + "properties": { + "_nodes": { + "$ref": "#/components/schemas/_types:NodeStatistics" + }, + "file_tokens": { + "description": "File-backed tokens collected from all nodes", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security.get_service_credentials:NodesCredentialsFileToken" + } + } + }, + "required": [ + "_nodes", + "file_tokens" + ] + }, + "security.get_service_credentials:NodesCredentialsFileToken": { + "type": "object", + "properties": { + "nodes": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "nodes" + ] + }, + "security.get_token:AccessTokenGrantType": { + "type": "string", + "enum": [ + "password", + "client_credentials", + "_kerberos", + "refresh_token" + ] + }, + "_types:Password": { + "type": "string" + }, + "security.get_token:AuthenticatedUser": { + "allOf": [ + { + "$ref": "#/components/schemas/security._types:User" + }, + { + "type": "object", + "properties": { + "authentication_realm": { + "$ref": "#/components/schemas/security.get_token:UserRealm" + }, + "lookup_realm": { + "$ref": "#/components/schemas/security.get_token:UserRealm" + }, + "authentication_provider": { + "$ref": "#/components/schemas/security.get_token:AuthenticationProvider" + }, + "authentication_type": { + "type": "string" + } + }, + "required": [ + "authentication_realm", + "lookup_realm", + "authentication_type" + ] + } + ] + }, + "security.get_token:UserRealm": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name", + "type" + ] + }, + "security.get_token:AuthenticationProvider": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "type", + "name" + ] + }, + "security._types:User": { + "type": "object", + "properties": { + "email": { + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "full_name": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Name" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + }, + "enabled": { + "type": "boolean" + }, + "profile_uid": { + "$ref": "#/components/schemas/security._types:UserProfileId" + } + }, + "required": [ + "metadata", + "roles", + "username", + "enabled" + ] + }, + "security._types:UserIndicesPrivileges": { + "type": "object", + "properties": { + "field_security": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/field-and-document-access-control.html" + }, + "description": "The document fields that the owners of the role have read access to.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:FieldSecurity" + } + }, + "names": { + "$ref": "#/components/schemas/_types:Indices" + }, + "privileges": { + "description": "The index level privileges that owners of the role have on the specified indices.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:IndexPrivilege" + } + }, + "query": { + "description": "Search queries that define the documents the user has access to. A document within the specified indices must match these queries for it to be accessible by the owners of the role.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:IndicesPrivilegesQuery" + } + }, + "allow_restricted_indices": { + "description": "Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`.", + "type": "boolean" + } + }, + "required": [ + "names", + "privileges", + "allow_restricted_indices" + ] + }, + "security.get_user_profile:GetUserProfileErrors": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "details": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + } + }, + "required": [ + "count", + "details" + ] + }, + "security.grant_api_key:GrantApiKey": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "expiration": { + "$ref": "#/components/schemas/_types:DurationLarge" + }, + "role_descriptors": { + "description": "The role descriptors for this API key.\nThis parameter is optional.\nWhen it is not specified or is an empty array, the API key has a point in time snapshot of permissions of the specified user or access token.\nIf you supply role descriptors, the resultant permissions are an intersection of API keys permissions and the permissions of the user or access token.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:RoleDescriptor" + } + }, + { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:RoleDescriptor" + } + } + } + ] + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + } + }, + "required": [ + "name" + ] + }, + "security.grant_api_key:ApiKeyGrantType": { + "type": "string", + "enum": [ + "access_token", + "password" + ] + }, + "security.has_privileges:ApplicationPrivilegesCheck": { + "type": "object", + "properties": { + "application": { + "description": "The name of the application.", + "type": "string" + }, + "privileges": { + "description": "A list of the privileges that you want to check for the specified resources. May be either application privilege names, or the names of actions that are granted by those privileges", + "type": "array", + "items": { + "type": "string" + } + }, + "resources": { + "description": "A list of resource names against which the privileges should be checked", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "application", + "privileges", + "resources" + ] + }, + "security._types:ClusterPrivilege": { + "type": "string", + "enum": [ + "all", + "cancel_task", + "create_snapshot", + "grant_api_key", + "manage", + "manage_api_key", + "manage_ccr", + "manage_enrich", + "manage_ilm", + "manage_index_templates", + "manage_ingest_pipelines", + "manage_logstash_pipelines", + "manage_ml", + "manage_oidc", + "manage_own_api_key", + "manage_pipeline", + "manage_rollup", + "manage_saml", + "manage_security", + "manage_service_account", + "manage_slm", + "manage_token", + "manage_transform", + "manage_user_profile", + "manage_watcher", + "monitor", + "monitor_ml", + "monitor_rollup", + "monitor_snapshot", + "monitor_text_structure", + "monitor_transform", + "monitor_watcher", + "read_ccr", + "read_ilm", + "read_pipeline", + "read_slm", + "transport_client" + ] + }, + "security.has_privileges:IndexPrivilegesCheck": { + "type": "object", + "properties": { + "names": { + "$ref": "#/components/schemas/_types:Indices" + }, + "privileges": { + "description": "A list of the privileges that you want to check for the specified indices.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:IndexPrivilege" + } + }, + "allow_restricted_indices": { + "description": "This needs to be set to true (default is false) if using wildcards or regexps for patterns that cover restricted indices.\nImplicitly, restricted indices do not match index patterns because restricted indices usually have limited privileges and including them in pattern tests would render most such tests false.\nIf restricted indices are explicitly included in the names list, privileges will be checked against them regardless of the value of allow_restricted_indices.", + "type": "boolean" + } + }, + "required": [ + "names", + "privileges" + ] + }, + "security.has_privileges:ApplicationsPrivileges": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security.has_privileges:ResourcePrivileges" + } + }, + "security.has_privileges:ResourcePrivileges": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security.has_privileges:Privileges" + } + }, + "security.has_privileges:Privileges": { + "type": "object", + "additionalProperties": { + "type": "boolean" + } + }, + "security.has_privileges_user_profile:PrivilegesCheck": { + "type": "object", + "properties": { + "application": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security.has_privileges:ApplicationPrivilegesCheck" + } + }, + "cluster": { + "description": "A list of the cluster privileges that you want to check.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:ClusterPrivilege" + } + }, + "index": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security.has_privileges:IndexPrivilegesCheck" + } + } + } + }, + "security.has_privileges_user_profile:HasPrivilegesUserProfileErrors": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "details": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + } + }, + "required": [ + "count", + "details" + ] + }, + "security._types:CreatedStatus": { + "type": "object", + "properties": { + "created": { + "type": "boolean" + } + }, + "required": [ + "created" + ] + }, + "security.suggest_user_profiles:Hint": { + "type": "object", + "properties": { + "uids": { + "description": "A list of Profile UIDs to match against.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:UserProfileId" + } + }, + "labels": { + "description": "A single key-value pair to match against the labels section\nof a profile. A profile is considered matching if it matches\nat least one of the strings.", + "type": "object", + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + } + }, + "security.suggest_user_profiles:TotalUserProfiles": { + "type": "object", + "properties": { + "value": { + "type": "number" + }, + "relation": { + "$ref": "#/components/schemas/_types:RelationName" + } + }, + "required": [ + "value", + "relation" + ] + }, + "ssl.certificates:CertificateInformation": { + "type": "object", + "properties": { + "alias": { + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "expiry": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "format": { + "type": "string" + }, + "has_private_key": { + "type": "boolean" + }, + "issuer": { + "type": "string" + }, + "path": { + "type": "string" + }, + "serial_number": { + "type": "string" + }, + "subject_dn": { + "type": "string" + } + }, + "required": [ + "alias", + "expiry", + "format", + "has_private_key", + "path", + "serial_number", + "subject_dn" + ] + }, + "synonyms._types:SynonymsUpdateResult": { + "type": "object", + "properties": { + "result": { + "$ref": "#/components/schemas/_types:Result" + }, + "reload_analyzers_details": { + "$ref": "#/components/schemas/indices.reload_search_analyzers:ReloadResult" + } + }, + "required": [ + "result", + "reload_analyzers_details" + ] + }, + "indices.reload_search_analyzers:ReloadResult": { + "type": "object", + "properties": { + "reload_details": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.reload_search_analyzers:ReloadDetails" + } + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + } + }, + "required": [ + "reload_details", + "_shards" + ] + }, + "indices.reload_search_analyzers:ReloadDetails": { + "type": "object", + "properties": { + "index": { + "type": "string" + }, + "reloaded_analyzers": { + "type": "array", + "items": { + "type": "string" + } + }, + "reloaded_node_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "index", + "reloaded_analyzers", + "reloaded_node_ids" + ] + }, + "synonyms._types:SynonymRuleRead": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "synonyms": { + "$ref": "#/components/schemas/synonyms._types:SynonymString" + } + }, + "required": [ + "id", + "synonyms" + ] + }, + "synonyms._types:SynonymString": { + "type": "string" + }, + "synonyms.get_synonyms_sets:SynonymsSetItem": { + "type": "object", + "properties": { + "synonyms_set": { + "$ref": "#/components/schemas/_types:Id" + }, + "count": { + "description": "Number of synonym rules that the synonym set contains", + "type": "number" + } + }, + "required": [ + "synonyms_set", + "count" + ] + }, + "synonyms._types:SynonymRule": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "synonyms": { + "$ref": "#/components/schemas/synonyms._types:SynonymString" + } + }, + "required": [ + "synonyms" + ] + }, + "text_structure.find_structure:FieldStat": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "cardinality": { + "type": "number" + }, + "top_hits": { + "type": "array", + "items": { + "$ref": "#/components/schemas/text_structure.find_structure:TopHit" + } + }, + "mean_value": { + "type": "number" + }, + "median_value": { + "type": "number" + }, + "max_value": { + "type": "number" + }, + "min_value": { + "type": "number" + }, + "earliest": { + "type": "string" + }, + "latest": { + "type": "string" + } + }, + "required": [ + "count", + "cardinality", + "top_hits" + ] + }, + "text_structure.find_structure:TopHit": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "value": { + "type": "object" + } + }, + "required": [ + "count", + "value" + ] + }, + "ingest._types:PipelineConfig": { + "type": "object", + "properties": { + "description": { + "description": "Description of the ingest pipeline.", + "type": "string" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "processors": { + "description": "Processors used to perform transformations on documents before indexing.\nProcessors run sequentially in the order specified.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest._types:ProcessorContainer" + } + } + }, + "required": [ + "processors" + ] + }, + "transform.get_transform:TransformSummary": { + "type": "object", + "properties": { + "authorization": { + "$ref": "#/components/schemas/ml._types:TransformAuthorization" + }, + "create_time": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "description": { + "description": "Free text description of the transform.", + "type": "string" + }, + "dest": { + "$ref": "#/components/schemas/_global.reindex:Destination" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "latest": { + "$ref": "#/components/schemas/transform._types:Latest" + }, + "pivot": { + "$ref": "#/components/schemas/transform._types:Pivot" + }, + "retention_policy": { + "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" + }, + "settings": { + "$ref": "#/components/schemas/transform._types:Settings" + }, + "source": { + "$ref": "#/components/schemas/transform._types:Source" + }, + "sync": { + "$ref": "#/components/schemas/transform._types:SyncContainer" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + } + }, + "required": [ + "dest", + "id", + "source" + ] + }, + "ml._types:TransformAuthorization": { + "type": "object", + "properties": { + "api_key": { + "$ref": "#/components/schemas/ml._types:ApiKeyAuthorization" + }, + "roles": { + "description": "If a user ID was used for the most recent update to the transform, its roles at the time of the update are listed in the response.", + "type": "array", + "items": { + "type": "string" + } + }, + "service_account": { + "description": "If a service account was used for the most recent update to the transform, the account name is listed in the response.", + "type": "string" + } + } + }, + "_global.reindex:Destination": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "op_type": { + "$ref": "#/components/schemas/_types:OpType" + }, + "pipeline": { + "description": "The name of the pipeline to use.", + "type": "string" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "version_type": { + "$ref": "#/components/schemas/_types:VersionType" + } + }, + "required": [ + "index" + ] + }, + "transform._types:Latest": { + "type": "object", + "properties": { + "sort": { + "$ref": "#/components/schemas/_types:Field" + }, + "unique_key": { + "description": "Specifies an array of one or more fields that are used to group the data.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + } + }, + "required": [ + "sort", + "unique_key" + ] + }, + "transform._types:Pivot": { + "type": "object", + "properties": { + "aggregations": { + "description": "Defines how to aggregate the grouped data. The following aggregations are currently supported: average, bucket\nscript, bucket selector, cardinality, filter, geo bounds, geo centroid, geo line, max, median absolute deviation,\nmin, missing, percentiles, rare terms, scripted metric, stats, sum, terms, top metrics, value count, weighted\naverage.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "group_by": { + "description": "Defines how to group the data. More than one grouping can be defined per pivot. The following groupings are\ncurrently supported: date histogram, geotile grid, histogram, terms.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/transform._types:PivotGroupByContainer" + } + } + } + }, + "transform._types:PivotGroupByContainer": { + "type": "object", + "properties": { + "date_histogram": { + "$ref": "#/components/schemas/_types.aggregations:DateHistogramAggregation" + }, + "geotile_grid": { + "$ref": "#/components/schemas/_types.aggregations:GeoTileGridAggregation" + }, + "histogram": { + "$ref": "#/components/schemas/_types.aggregations:HistogramAggregation" + }, + "terms": { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregation" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "transform._types:RetentionPolicyContainer": { + "type": "object", + "properties": { + "time": { + "$ref": "#/components/schemas/transform._types:RetentionPolicy" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "transform._types:RetentionPolicy": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "max_age": { + "$ref": "#/components/schemas/_types:Duration" + } + }, + "required": [ + "field", + "max_age" + ] + }, + "transform._types:Settings": { + "type": "object", + "properties": { + "align_checkpoints": { + "description": "Specifies whether the transform checkpoint ranges should be optimized for performance. Such optimization can align\ncheckpoint ranges with the date histogram interval when date histogram is specified as a group source in the\ntransform config. As a result, less document updates in the destination index will be performed thus improving\noverall performance.", + "type": "boolean" + }, + "dates_as_epoch_millis": { + "description": "Defines if dates in the ouput should be written as ISO formatted string or as millis since epoch. epoch_millis was\nthe default for transforms created before version 7.11. For compatible output set this value to `true`.", + "type": "boolean" + }, + "deduce_mappings": { + "description": "Specifies whether the transform should deduce the destination index mappings from the transform configuration.", + "type": "boolean" + }, + "docs_per_second": { + "description": "Specifies a limit on the number of input documents per second. This setting throttles the transform by adding a\nwait time between search requests. The default value is null, which disables throttling.", + "type": "number" + }, + "max_page_search_size": { + "description": "Defines the initial page size to use for the composite aggregation for each checkpoint. If circuit breaker\nexceptions occur, the page size is dynamically adjusted to a lower value. The minimum value is `10` and the\nmaximum is `65,536`.", + "type": "number" + }, + "unattended": { + "description": "If `true`, the transform runs in unattended mode. In unattended mode, the transform retries indefinitely in case\nof an error which means the transform never fails. Setting the number of retries other than infinite fails in\nvalidation.", + "type": "boolean" + } + } + }, + "transform._types:Source": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:Indices" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + } + }, + "required": [ + "index" + ] + }, + "transform._types:SyncContainer": { + "type": "object", + "properties": { + "time": { + "$ref": "#/components/schemas/transform._types:TimeSync" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "transform._types:TimeSync": { + "type": "object", + "properties": { + "delay": { + "$ref": "#/components/schemas/_types:Duration" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + }, + "transform.get_transform_stats:TransformStats": { + "type": "object", + "properties": { + "checkpointing": { + "$ref": "#/components/schemas/transform.get_transform_stats:Checkpointing" + }, + "health": { + "$ref": "#/components/schemas/transform.get_transform_stats:TransformStatsHealth" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "reason": { + "type": "string" + }, + "state": { + "type": "string" + }, + "stats": { + "$ref": "#/components/schemas/transform.get_transform_stats:TransformIndexerStats" + } + }, + "required": [ + "checkpointing", + "id", + "state", + "stats" + ] + }, + "transform.get_transform_stats:Checkpointing": { + "type": "object", + "properties": { + "changes_last_detected_at": { + "type": "number" + }, + "changes_last_detected_at_date_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "last": { + "$ref": "#/components/schemas/transform.get_transform_stats:CheckpointStats" + }, + "next": { + "$ref": "#/components/schemas/transform.get_transform_stats:CheckpointStats" + }, + "operations_behind": { + "type": "number" + }, + "last_search_time": { + "type": "number" + } + }, + "required": [ + "last" + ] + }, + "transform.get_transform_stats:CheckpointStats": { + "type": "object", + "properties": { + "checkpoint": { + "type": "number" + }, + "checkpoint_progress": { + "$ref": "#/components/schemas/transform.get_transform_stats:TransformProgress" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "timestamp_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "time_upper_bound": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "time_upper_bound_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + } + }, + "required": [ + "checkpoint" + ] + }, + "transform.get_transform_stats:TransformProgress": { + "type": "object", + "properties": { + "docs_indexed": { + "type": "number" + }, + "docs_processed": { + "type": "number" + }, + "docs_remaining": { + "type": "number" + }, + "percent_complete": { + "type": "number" + }, + "total_docs": { + "type": "number" + } + }, + "required": [ + "docs_indexed", + "docs_processed", + "docs_remaining", + "percent_complete", + "total_docs" + ] + }, + "transform.get_transform_stats:TransformStatsHealth": { + "type": "object", + "properties": { + "status": { + "$ref": "#/components/schemas/_types:HealthStatus" + } + }, + "required": [ + "status" + ] + }, + "transform.get_transform_stats:TransformIndexerStats": { + "type": "object", + "properties": { + "delete_time_in_ms": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "documents_indexed": { + "type": "number" + }, + "documents_deleted": { + "type": "number" + }, + "documents_processed": { + "type": "number" + }, + "exponential_avg_checkpoint_duration_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + }, + "exponential_avg_documents_indexed": { + "type": "number" + }, + "exponential_avg_documents_processed": { + "type": "number" + }, + "index_failures": { + "type": "number" + }, + "index_time_in_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "index_total": { + "type": "number" + }, + "pages_processed": { + "type": "number" + }, + "processing_time_in_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "processing_total": { + "type": "number" + }, + "search_failures": { + "type": "number" + }, + "search_time_in_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "search_total": { + "type": "number" + }, + "trigger_count": { + "type": "number" + } + }, + "required": [ + "documents_indexed", + "documents_processed", + "exponential_avg_checkpoint_duration_ms", + "exponential_avg_documents_indexed", + "exponential_avg_documents_processed", + "index_failures", + "index_time_in_ms", + "index_total", + "pages_processed", + "processing_time_in_ms", + "processing_total", + "search_failures", + "search_time_in_ms", + "search_total", + "trigger_count" + ] + }, + "transform._types:Destination": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "pipeline": { + "description": "The unique identifier for an ingest pipeline.", + "type": "string" + } + } + }, + "_global.reindex:Source": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:Indices" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "remote": { + "$ref": "#/components/schemas/_global.reindex:RemoteSource" + }, + "size": { + "description": "The number of documents to index per batch.\nUse when indexing from remote to ensure that the batches fit within the on-heap buffer, which defaults to a maximum size of 100 MB.", + "type": "number" + }, + "slice": { + "$ref": "#/components/schemas/_types:SlicedScroll" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "_source": { + "$ref": "#/components/schemas/_types:Fields" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + } + }, + "required": [ + "index" + ] + }, + "_global.reindex:RemoteSource": { + "type": "object", + "properties": { + "connect_timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "headers": { + "description": "An object containing the headers of the request.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "host": { + "$ref": "#/components/schemas/_types:Host" + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + }, + "password": { + "$ref": "#/components/schemas/_types:Password" + }, + "socket_timeout": { + "$ref": "#/components/schemas/_types:Duration" + } + }, + "required": [ + "host" + ] + }, + "_global.update:UpdateWriteResponseBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:WriteResponseBase" + }, + { + "type": "object", + "properties": { + "get": { + "$ref": "#/components/schemas/_types:InlineGet" + } + } + } + ] + }, + "_types:InlineGet": { + "type": "object", + "properties": { + "fields": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "found": { + "type": "boolean" + }, + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "_primary_term": { + "type": "number" + }, + "_routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "_source": { + "type": "object" + } + }, + "required": [ + "found", + "_source" + ] + }, + "xpack.info:BuildInformation": { + "type": "object", + "properties": { + "date": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "hash": { + "type": "string" + } + }, + "required": [ + "date", + "hash" + ] + }, + "xpack.info:Features": { + "type": "object", + "properties": { + "aggregate_metric": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "analytics": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "ccr": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "data_frame": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "data_science": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "data_streams": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "data_tiers": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "enrich": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "eql": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "flattened": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "frozen_indices": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "graph": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "ilm": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "logstash": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "ml": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "monitoring": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "rollup": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "runtime_fields": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "searchable_snapshots": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "security": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "slm": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "spatial": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "sql": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "transform": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "vectors": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "voting_only": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "watcher": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, + "archive": { + "$ref": "#/components/schemas/xpack.info:Feature" + } + }, + "required": [ + "aggregate_metric", + "analytics", + "ccr", + "data_streams", + "data_tiers", + "enrich", + "eql", + "frozen_indices", + "graph", + "ilm", + "logstash", + "ml", + "monitoring", + "rollup", + "searchable_snapshots", + "security", + "slm", + "spatial", + "sql", + "transform", + "voting_only", + "watcher", + "archive" + ] + }, + "xpack.info:Feature": { + "type": "object", + "properties": { + "available": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "native_code_info": { + "$ref": "#/components/schemas/xpack.info:NativeCodeInformation" + } + }, + "required": [ + "available", + "enabled" + ] + }, + "xpack.info:NativeCodeInformation": { + "type": "object", + "properties": { + "build_hash": { + "type": "string" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "build_hash", + "version" + ] + }, + "xpack.info:MinimalLicenseInformation": { + "type": "object", + "properties": { + "expiry_date_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "mode": { + "$ref": "#/components/schemas/license._types:LicenseType" + }, + "status": { + "$ref": "#/components/schemas/license._types:LicenseStatus" + }, + "type": { + "$ref": "#/components/schemas/license._types:LicenseType" + }, + "uid": { + "type": "string" + } + }, + "required": [ + "expiry_date_in_millis", + "mode", + "status", + "type", + "uid" + ] + }, + "license._types:LicenseType": { + "type": "string", + "enum": [ + "missing", + "trial", + "basic", + "standard", + "dev", + "silver", + "gold", + "platinum", + "enterprise" + ] + }, + "license._types:LicenseStatus": { + "type": "string", + "enum": [ + "active", + "valid", + "invalid", + "expired" + ] + } + } + } +} \ No newline at end of file From 3da3fd25307654518fe909f1d70a348fadae4283 Mon Sep 17 00:00:00 2001 From: Sylvain Wallez Date: Wed, 4 Oct 2023 14:12:18 +0200 Subject: [PATCH 09/17] Fix serverless filtering --- openapi-converter/clients_schema/src/lib.rs | 26 +- .../clients_schema_to_openapi/src/main.rs | 16 +- .../elasticsearch-serverless-openapi.json | 75946 ++++++---------- 3 files changed, 28920 insertions(+), 47068 deletions(-) diff --git a/openapi-converter/clients_schema/src/lib.rs b/openapi-converter/clients_schema/src/lib.rs index 6d6a418d25..c9c849c5ee 100644 --- a/openapi-converter/clients_schema/src/lib.rs +++ b/openapi-converter/clients_schema/src/lib.rs @@ -198,7 +198,7 @@ pub enum LiteralValueValue { //-------------------------------------------------------------------------------------------- -#[derive(Debug, Clone, Serialize, Deserialize)] +#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] #[serde(rename_all = "snake_case")] pub enum Stability { Stable, @@ -206,7 +206,7 @@ pub enum Stability { Experimental, } -#[derive(Debug, Clone, Serialize, Deserialize)] +#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] #[serde(rename_all = "snake_case")] pub enum Visibility { Public, @@ -254,12 +254,22 @@ impl Flavor { } } - pub fn is_serverless(a: &Option) -> bool { - Flavor::Serverless.available(a) - } - - pub fn is_stack(a: &Option) -> bool { - Flavor::Stack.available(a) + /// Gets the visibility for a given set of availabilities. If the result is `None`, + /// this flavor isn't available. + pub fn visibility(&self, availabilities: &Option) -> Option { + if let Some(ref availabilities) = availabilities { + // Some availabilities defined + if let Some(ref availability) = availabilities.get(self) { + // This one exists. Public by default + availability.visibility.clone().or(Some(Visibility::Public)) + } else { + // Not available + None + } + } else { + // No restriction: available and public + Some(Visibility::Public) + } } } diff --git a/openapi-converter/clients_schema_to_openapi/src/main.rs b/openapi-converter/clients_schema_to_openapi/src/main.rs index 15ddb0b184..c700ad54d2 100644 --- a/openapi-converter/clients_schema_to_openapi/src/main.rs +++ b/openapi-converter/clients_schema_to_openapi/src/main.rs @@ -20,7 +20,7 @@ use tracing::Level; use tracing_subscriber::fmt::format::FmtSpan; use tracing_subscriber::FmtSubscriber; use std::path::{Path, PathBuf}; -use clients_schema::Availabilities; +use clients_schema::{Availabilities, Visibility}; fn main() -> anyhow::Result<()> { @@ -77,9 +77,17 @@ impl Cli { if let Some(flavor) = self.flavor { if flavor != SchemaFlavor::All { let filter: fn(&Option) -> bool = match flavor { - SchemaFlavor::All => |_| true, - SchemaFlavor::Stack => |a| clients_schema::Flavor::is_stack(a), - SchemaFlavor::Serverless => |a| clients_schema::Flavor::is_serverless(a), + SchemaFlavor::All => |_| { + true + }, + SchemaFlavor::Stack => |a| { + // Generate public and private items for Stack + clients_schema::Flavor::Stack.available(a) + }, + SchemaFlavor::Serverless => |a| { + // Generate only public items for Serverless + clients_schema::Flavor::Serverless.visibility(a) == Some(Visibility::Public) + }, }; model = clients_schema::transform::filter_availability(model, filter)?; diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index b2a480b069..336a77d84e 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -683,47 +683,6 @@ } } }, - "/_cat/allocation": { - "get": { - "description": "Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-allocation.html" - }, - "operationId": "cat.allocation#0", - "parameters": [ - { - "$ref": "#/components/parameters/cat.allocation#bytes" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.allocation#200" - } - } - } - }, - "/_cat/allocation/{node_id}": { - "get": { - "description": "Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-allocation.html" - }, - "operationId": "cat.allocation#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.allocation#node_id" - }, - { - "$ref": "#/components/parameters/cat.allocation#bytes" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.allocation#200" - } - } - } - }, "/_cat/component_templates": { "get": { "description": "Returns information about existing component_templates templates.", @@ -790,53 +749,6 @@ } } }, - "/_cat/fielddata": { - "get": { - "description": "Shows how much heap memory is currently being used by fielddata on every data node in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-fielddata.html" - }, - "operationId": "cat.fielddata#0", - "parameters": [ - { - "$ref": "#/components/parameters/cat.fielddata#bytes" - }, - { - "$ref": "#/components/parameters/cat.fielddata#fields_" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.fielddata#200" - } - } - } - }, - "/_cat/fielddata/{fields}": { - "get": { - "description": "Shows how much heap memory is currently being used by fielddata on every data node in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-fielddata.html" - }, - "operationId": "cat.fielddata#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.fielddata#fields" - }, - { - "$ref": "#/components/parameters/cat.fielddata#bytes" - }, - { - "$ref": "#/components/parameters/cat.fielddata#fields_" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.fielddata#200" - } - } - } - }, "/_cat": { "get": { "description": "Returns help for the Cat APIs.", @@ -932,30 +844,6 @@ } } }, - "/_cat/master": { - "get": { - "description": "Returns information about the master node.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-master.html" - }, - "operationId": "cat.master#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.master:MasterRecord" - } - } - } - } - } - } - } - }, "/_cat/ml/data_frame/analytics": { "get": { "description": "Gets configuration and usage information about data frame analytics jobs.", @@ -1216,410 +1104,6 @@ } } }, - "/_cat/nodeattrs": { - "get": { - "description": "Returns information about custom node attributes.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-nodeattrs.html" - }, - "operationId": "cat.nodeattrs#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.nodeattrs:NodeAttributesRecord" - } - } - } - } - } - } - } - }, - "/_cat/nodes": { - "get": { - "description": "Returns basic statistics about performance of cluster nodes.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-nodes.html" - }, - "operationId": "cat.nodes#0", - "parameters": [ - { - "in": "query", - "name": "bytes", - "description": "The unit used to display byte values.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Bytes" - }, - "style": "form" - }, - { - "in": "query", - "name": "full_id", - "description": "If `true`, return the full node ID. If `false`, return the shortened node ID.", - "deprecated": false, - "schema": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "style": "form" - }, - { - "in": "query", - "name": "include_unloaded_segments", - "description": "If true, the response includes information from segments that are not loaded into memory.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.nodes:NodesRecord" - } - } - } - } - } - } - } - }, - "/_cat/pending_tasks": { - "get": { - "description": "Returns a concise representation of the cluster pending tasks.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-pending-tasks.html" - }, - "operationId": "cat.pending_tasks#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.pending_tasks:PendingTasksRecord" - } - } - } - } - } - } - } - }, - "/_cat/plugins": { - "get": { - "description": "Returns information about installed plugins across nodes node.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-plugins.html" - }, - "operationId": "cat.plugins#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.plugins:PluginsRecord" - } - } - } - } - } - } - } - }, - "/_cat/segments": { - "get": { - "description": "Provides low-level information about the segments in the shards of an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-segments.html" - }, - "operationId": "cat.segments#0", - "parameters": [ - { - "$ref": "#/components/parameters/cat.segments#bytes" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.segments#200" - } - } - } - }, - "/_cat/segments/{index}": { - "get": { - "description": "Provides low-level information about the segments in the shards of an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-segments.html" - }, - "operationId": "cat.segments#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.segments#index" - }, - { - "$ref": "#/components/parameters/cat.segments#bytes" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.segments#200" - } - } - } - }, - "/_cat/shards": { - "get": { - "description": "Provides a detailed view of shard allocation on nodes.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-shards.html" - }, - "operationId": "cat.shards#0", - "parameters": [ - { - "$ref": "#/components/parameters/cat.shards#bytes" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.shards#200" - } - } - } - }, - "/_cat/shards/{index}": { - "get": { - "description": "Provides a detailed view of shard allocation on nodes.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-shards.html" - }, - "operationId": "cat.shards#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.shards#index" - }, - { - "$ref": "#/components/parameters/cat.shards#bytes" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.shards#200" - } - } - } - }, - "/_cat/snapshots": { - "get": { - "description": "Returns all snapshots in a specific repository.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-snapshots.html" - }, - "operationId": "cat.snapshots#0", - "parameters": [ - { - "$ref": "#/components/parameters/cat.snapshots#ignore_unavailable" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.snapshots#200" - } - } - } - }, - "/_cat/snapshots/{repository}": { - "get": { - "description": "Returns all snapshots in a specific repository.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-snapshots.html" - }, - "operationId": "cat.snapshots#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.snapshots#repository" - }, - { - "$ref": "#/components/parameters/cat.snapshots#ignore_unavailable" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.snapshots#200" - } - } - } - }, - "/_cat/tasks": { - "get": { - "description": "Returns information about the tasks currently executing on one or more nodes in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html" - }, - "operationId": "cat.tasks#0", - "parameters": [ - { - "in": "query", - "name": "actions", - "description": "The task action names, which are used to limit the response.", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form" - }, - { - "in": "query", - "name": "detailed", - "description": "If `true`, the response includes detailed information about shard recoveries.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "node_id", - "description": "Unique node identifiers, which are used to limit the response.", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form" - }, - { - "in": "query", - "name": "parent_task_id", - "description": "The parent task identifier, which is used to limit the response.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.tasks:TasksRecord" - } - } - } - } - } - } - } - }, - "/_cat/templates": { - "get": { - "description": "Returns information about existing templates.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-templates.html" - }, - "operationId": "cat.templates#0", - "responses": { - "200": { - "$ref": "#/components/responses/cat.templates#200" - } - } - } - }, - "/_cat/templates/{name}": { - "get": { - "description": "Returns information about existing templates.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-templates.html" - }, - "operationId": "cat.templates#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.templates#name" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.templates#200" - } - } - } - }, - "/_cat/thread_pool": { - "get": { - "description": "Returns cluster-wide thread pool statistics per node.\nBy default the active, queue and rejected statistics are returned for all thread pools.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-thread-pool.html" - }, - "operationId": "cat.thread_pool#0", - "parameters": [ - { - "$ref": "#/components/parameters/cat.thread_pool#time" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.thread_pool#200" - } - } - } - }, - "/_cat/thread_pool/{thread_pool_patterns}": { - "get": { - "description": "Returns cluster-wide thread pool statistics per node.\nBy default the active, queue and rejected statistics are returned for all thread pools.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-thread-pool.html" - }, - "operationId": "cat.thread_pool#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.thread_pool#thread_pool_patterns" - }, - { - "$ref": "#/components/parameters/cat.thread_pool#time" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.thread_pool#200" - } - } - } - }, "/_cat/transforms": { "get": { "description": "Gets configuration and usage information about transforms.", @@ -1890,54 +1374,6 @@ } } }, - "/_cluster/allocation/explain": { - "get": { - "description": "Provides explanations for shard allocations in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-allocation-explain.html" - }, - "operationId": "cluster.allocation_explain#0", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.allocation_explain#include_disk_info" - }, - { - "$ref": "#/components/parameters/cluster.allocation_explain#include_yes_decisions" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/cluster.allocation_explain" - }, - "responses": { - "200": { - "$ref": "#/components/responses/cluster.allocation_explain#200" - } - } - }, - "post": { - "description": "Provides explanations for shard allocations in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-allocation-explain.html" - }, - "operationId": "cluster.allocation_explain#1", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.allocation_explain#include_disk_info" - }, - { - "$ref": "#/components/parameters/cluster.allocation_explain#include_yes_decisions" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/cluster.allocation_explain" - }, - "responses": { - "200": { - "$ref": "#/components/responses/cluster.allocation_explain#200" - } - } - } - }, "/_component_template/{name}": { "get": { "description": "Returns one or more component templates", @@ -2333,107 +1769,6 @@ } } }, - "/_cluster/health": { - "get": { - "description": "Returns basic information about the health of the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-health.html" - }, - "operationId": "cluster.health#0", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.health#expand_wildcards" - }, - { - "$ref": "#/components/parameters/cluster.health#level" - }, - { - "$ref": "#/components/parameters/cluster.health#local" - }, - { - "$ref": "#/components/parameters/cluster.health#master_timeout" - }, - { - "$ref": "#/components/parameters/cluster.health#timeout" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_active_shards" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_events" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_nodes" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_no_initializing_shards" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_no_relocating_shards" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_status" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cluster.health#200" - } - } - } - }, - "/_cluster/health/{index}": { - "get": { - "description": "Returns basic information about the health of the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-health.html" - }, - "operationId": "cluster.health#1", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.health#index" - }, - { - "$ref": "#/components/parameters/cluster.health#expand_wildcards" - }, - { - "$ref": "#/components/parameters/cluster.health#level" - }, - { - "$ref": "#/components/parameters/cluster.health#local" - }, - { - "$ref": "#/components/parameters/cluster.health#master_timeout" - }, - { - "$ref": "#/components/parameters/cluster.health#timeout" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_active_shards" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_events" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_nodes" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_no_initializing_shards" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_no_relocating_shards" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_status" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cluster.health#200" - } - } - } - }, "/_info/{target}": { "get": { "description": "Returns different information about the cluster.", @@ -2545,254 +1880,6 @@ } } }, - "/_cluster/reroute": { - "post": { - "description": "Allows to manually change the allocation of individual shards in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-reroute.html" - }, - "operationId": "cluster.reroute#0", - "parameters": [ - { - "in": "query", - "name": "dry_run", - "description": "If true, then the request simulates the operation only and returns the resulting state.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "explain", - "description": "If true, then the response contains an explanation of why the commands can or cannot be executed.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "metric", - "description": "Limits the information returned to the specified metrics.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Metrics" - }, - "style": "form" - }, - { - "in": "query", - "name": "retry_failed", - "description": "If true, then retries allocation of shards that are blocked due to too many subsequent allocation failures.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "commands": { - "description": "Defines the commands to perform.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.reroute:Command" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledged": { - "type": "boolean" - }, - "explanations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.reroute:RerouteExplanation" - } - }, - "state": { - "description": "There aren't any guarantees on the output/structure of the raw cluster state.\nHere you will find the internal representation of the cluster, which can\ndiffer from the external representation.", - "type": "object" - } - }, - "required": [ - "acknowledged" - ] - } - } - } - } - } - } - }, - "/_cluster/state": { - "get": { - "description": "Returns a comprehensive information about the state of the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-state.html" - }, - "operationId": "cluster.state#0", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.state#allow_no_indices" - }, - { - "$ref": "#/components/parameters/cluster.state#expand_wildcards" - }, - { - "$ref": "#/components/parameters/cluster.state#flat_settings" - }, - { - "$ref": "#/components/parameters/cluster.state#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/cluster.state#local" - }, - { - "$ref": "#/components/parameters/cluster.state#master_timeout" - }, - { - "$ref": "#/components/parameters/cluster.state#wait_for_metadata_version" - }, - { - "$ref": "#/components/parameters/cluster.state#wait_for_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cluster.state#200" - } - } - } - }, - "/_cluster/state/{metric}": { - "get": { - "description": "Returns a comprehensive information about the state of the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-state.html" - }, - "operationId": "cluster.state#1", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.state#metric" - }, - { - "$ref": "#/components/parameters/cluster.state#allow_no_indices" - }, - { - "$ref": "#/components/parameters/cluster.state#expand_wildcards" - }, - { - "$ref": "#/components/parameters/cluster.state#flat_settings" - }, - { - "$ref": "#/components/parameters/cluster.state#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/cluster.state#local" - }, - { - "$ref": "#/components/parameters/cluster.state#master_timeout" - }, - { - "$ref": "#/components/parameters/cluster.state#wait_for_metadata_version" - }, - { - "$ref": "#/components/parameters/cluster.state#wait_for_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cluster.state#200" - } - } - } - }, - "/_cluster/state/{metric}/{index}": { - "get": { - "description": "Returns a comprehensive information about the state of the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-state.html" - }, - "operationId": "cluster.state#2", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.state#metric" - }, - { - "$ref": "#/components/parameters/cluster.state#index" - }, - { - "$ref": "#/components/parameters/cluster.state#allow_no_indices" - }, - { - "$ref": "#/components/parameters/cluster.state#expand_wildcards" - }, - { - "$ref": "#/components/parameters/cluster.state#flat_settings" - }, - { - "$ref": "#/components/parameters/cluster.state#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/cluster.state#local" - }, - { - "$ref": "#/components/parameters/cluster.state#master_timeout" - }, - { - "$ref": "#/components/parameters/cluster.state#wait_for_metadata_version" - }, - { - "$ref": "#/components/parameters/cluster.state#wait_for_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cluster.state#200" - } - } - } - }, "/_cluster/stats": { "get": { "description": "Returns high-level overview of cluster statistics.", @@ -4919,941 +4006,207 @@ } } }, - "/{index}/_fleet/global_checkpoints": { + "/{index}/_graph/explore": { "get": { - "description": "Returns the current global checkpoints for an index. This API is design for internal use by the fleet server project.", + "description": "Explore extracted and summarized information about the documents and terms in an index.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-global-checkpoints.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html" }, - "operationId": "fleet.global_checkpoints#0", + "operationId": "graph.explore#0", "parameters": [ { - "in": "path", - "name": "index", - "description": "A single index or index alias that resolves to a single index.", - "required": true, - "deprecated": false, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:IndexName" - }, - { - "$ref": "#/components/schemas/_types:IndexAlias" - } - ] - }, - "style": "simple" - }, - { - "in": "query", - "name": "wait_for_advance", - "description": "A boolean value which controls whether to wait (until the timeout) for the global checkpoints\nto advance past the provided `checkpoints`.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_index", - "description": "A boolean value which controls whether to wait (until the timeout) for the target index to exist\nand all primary shards be active. Can only be true when `wait_for_advance` is true.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" + "$ref": "#/components/parameters/graph.explore#index" }, { - "in": "query", - "name": "checkpoints", - "description": "A comma separated list of previous global checkpoints. When used in combination with `wait_for_advance`,\nthe API will only return once the global checkpoints advances past the checkpoints. Providing an empty list\nwill cause Elasticsearch to immediately return the current global checkpoints.", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/fleet._types:Checkpoint" - } - }, - "style": "form" + "$ref": "#/components/parameters/graph.explore#routing" }, { - "in": "query", - "name": "timeout", - "description": "Period to wait for a global checkpoints to advance past `checkpoints`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" + "$ref": "#/components/parameters/graph.explore#timeout" } ], + "requestBody": { + "$ref": "#/components/requestBodies/graph.explore" + }, "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "global_checkpoints": { - "type": "array", - "items": { - "$ref": "#/components/schemas/fleet._types:Checkpoint" - } - }, - "timed_out": { - "type": "boolean" - } - }, - "required": [ - "global_checkpoints", - "timed_out" - ] - } - } - } + "$ref": "#/components/responses/graph.explore#200" } } - } - }, - "/_fleet/_fleet_msearch": { - "get": { - "description": "Multi Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", - "operationId": "fleet.msearch#0", + }, + "post": { + "description": "Explore extracted and summarized information about the documents and terms in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html" + }, + "operationId": "graph.explore#1", "parameters": [ { - "$ref": "#/components/parameters/fleet.msearch#allow_no_indices" - }, - { - "$ref": "#/components/parameters/fleet.msearch#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/fleet.msearch#expand_wildcards" - }, - { - "$ref": "#/components/parameters/fleet.msearch#ignore_throttled" - }, - { - "$ref": "#/components/parameters/fleet.msearch#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/fleet.msearch#max_concurrent_searches" - }, - { - "$ref": "#/components/parameters/fleet.msearch#max_concurrent_shard_requests" - }, - { - "$ref": "#/components/parameters/fleet.msearch#pre_filter_shard_size" - }, - { - "$ref": "#/components/parameters/fleet.msearch#search_type" - }, - { - "$ref": "#/components/parameters/fleet.msearch#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/fleet.msearch#typed_keys" + "$ref": "#/components/parameters/graph.explore#index" }, { - "$ref": "#/components/parameters/fleet.msearch#wait_for_checkpoints" + "$ref": "#/components/parameters/graph.explore#routing" }, { - "$ref": "#/components/parameters/fleet.msearch#allow_partial_search_results" + "$ref": "#/components/parameters/graph.explore#timeout" } ], "requestBody": { - "$ref": "#/components/requestBodies/fleet.msearch" + "$ref": "#/components/requestBodies/graph.explore" }, "responses": { "200": { - "$ref": "#/components/responses/fleet.msearch#200" + "$ref": "#/components/responses/graph.explore#200" } } - }, + } + }, + "/{index}/_doc": { "post": { - "description": "Multi Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", - "operationId": "fleet.msearch#1", + "description": "Creates or updates a document in an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" + }, + "operationId": "index#2", "parameters": [ { - "$ref": "#/components/parameters/fleet.msearch#allow_no_indices" - }, - { - "$ref": "#/components/parameters/fleet.msearch#ccs_minimize_roundtrips" + "$ref": "#/components/parameters/index#index" }, { - "$ref": "#/components/parameters/fleet.msearch#expand_wildcards" + "$ref": "#/components/parameters/index#if_primary_term" }, { - "$ref": "#/components/parameters/fleet.msearch#ignore_throttled" + "$ref": "#/components/parameters/index#if_seq_no" }, { - "$ref": "#/components/parameters/fleet.msearch#ignore_unavailable" + "$ref": "#/components/parameters/index#op_type" }, { - "$ref": "#/components/parameters/fleet.msearch#max_concurrent_searches" + "$ref": "#/components/parameters/index#pipeline" }, { - "$ref": "#/components/parameters/fleet.msearch#max_concurrent_shard_requests" + "$ref": "#/components/parameters/index#refresh" }, { - "$ref": "#/components/parameters/fleet.msearch#pre_filter_shard_size" + "$ref": "#/components/parameters/index#routing" }, { - "$ref": "#/components/parameters/fleet.msearch#search_type" + "$ref": "#/components/parameters/index#timeout" }, { - "$ref": "#/components/parameters/fleet.msearch#rest_total_hits_as_int" + "$ref": "#/components/parameters/index#version" }, { - "$ref": "#/components/parameters/fleet.msearch#typed_keys" + "$ref": "#/components/parameters/index#version_type" }, { - "$ref": "#/components/parameters/fleet.msearch#wait_for_checkpoints" + "$ref": "#/components/parameters/index#wait_for_active_shards" }, { - "$ref": "#/components/parameters/fleet.msearch#allow_partial_search_results" + "$ref": "#/components/parameters/index#require_alias" } ], "requestBody": { - "$ref": "#/components/requestBodies/fleet.msearch" + "$ref": "#/components/requestBodies/index" + }, + "responses": { + "200": { + "$ref": "#/components/responses/index#200" + } + } + } + }, + "/_analyze": { + "get": { + "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" + }, + "operationId": "indices.analyze#0", + "requestBody": { + "$ref": "#/components/requestBodies/indices.analyze" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.analyze#200" + } + } + }, + "post": { + "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" + }, + "operationId": "indices.analyze#1", + "requestBody": { + "$ref": "#/components/requestBodies/indices.analyze" }, "responses": { "200": { - "$ref": "#/components/responses/fleet.msearch#200" + "$ref": "#/components/responses/indices.analyze#200" } } } }, - "/{index}/_fleet/_fleet_msearch": { + "/{index}/_analyze": { "get": { - "description": "Multi Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", - "operationId": "fleet.msearch#2", + "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" + }, + "operationId": "indices.analyze#2", "parameters": [ { - "$ref": "#/components/parameters/fleet.msearch#index" - }, - { - "$ref": "#/components/parameters/fleet.msearch#allow_no_indices" - }, - { - "$ref": "#/components/parameters/fleet.msearch#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/fleet.msearch#expand_wildcards" - }, - { - "$ref": "#/components/parameters/fleet.msearch#ignore_throttled" - }, - { - "$ref": "#/components/parameters/fleet.msearch#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/fleet.msearch#max_concurrent_searches" - }, - { - "$ref": "#/components/parameters/fleet.msearch#max_concurrent_shard_requests" - }, - { - "$ref": "#/components/parameters/fleet.msearch#pre_filter_shard_size" - }, - { - "$ref": "#/components/parameters/fleet.msearch#search_type" - }, - { - "$ref": "#/components/parameters/fleet.msearch#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/fleet.msearch#typed_keys" - }, - { - "$ref": "#/components/parameters/fleet.msearch#wait_for_checkpoints" - }, - { - "$ref": "#/components/parameters/fleet.msearch#allow_partial_search_results" + "$ref": "#/components/parameters/indices.analyze#index" } ], "requestBody": { - "$ref": "#/components/requestBodies/fleet.msearch" + "$ref": "#/components/requestBodies/indices.analyze" }, "responses": { "200": { - "$ref": "#/components/responses/fleet.msearch#200" + "$ref": "#/components/responses/indices.analyze#200" } } }, "post": { - "description": "Multi Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", - "operationId": "fleet.msearch#3", + "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" + }, + "operationId": "indices.analyze#3", "parameters": [ { - "$ref": "#/components/parameters/fleet.msearch#index" - }, - { - "$ref": "#/components/parameters/fleet.msearch#allow_no_indices" - }, - { - "$ref": "#/components/parameters/fleet.msearch#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/fleet.msearch#expand_wildcards" - }, - { - "$ref": "#/components/parameters/fleet.msearch#ignore_throttled" - }, - { - "$ref": "#/components/parameters/fleet.msearch#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/fleet.msearch#max_concurrent_searches" - }, - { - "$ref": "#/components/parameters/fleet.msearch#max_concurrent_shard_requests" - }, - { - "$ref": "#/components/parameters/fleet.msearch#pre_filter_shard_size" - }, - { - "$ref": "#/components/parameters/fleet.msearch#search_type" - }, - { - "$ref": "#/components/parameters/fleet.msearch#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/fleet.msearch#typed_keys" - }, - { - "$ref": "#/components/parameters/fleet.msearch#wait_for_checkpoints" - }, - { - "$ref": "#/components/parameters/fleet.msearch#allow_partial_search_results" + "$ref": "#/components/parameters/indices.analyze#index" } ], "requestBody": { - "$ref": "#/components/requestBodies/fleet.msearch" + "$ref": "#/components/requestBodies/indices.analyze" }, "responses": { "200": { - "$ref": "#/components/responses/fleet.msearch#200" + "$ref": "#/components/responses/indices.analyze#200" } } } }, - "/{index}/_fleet/_fleet_search": { + "/{index}": { "get": { - "description": "Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", - "operationId": "fleet.search#0", + "description": "Returns information about one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html" + }, + "operationId": "indices.get#0", "parameters": [ { - "$ref": "#/components/parameters/fleet.search#index" - }, - { - "$ref": "#/components/parameters/fleet.search#allow_no_indices" - }, - { - "$ref": "#/components/parameters/fleet.search#analyzer" - }, - { - "$ref": "#/components/parameters/fleet.search#analyze_wildcard" - }, - { - "$ref": "#/components/parameters/fleet.search#batched_reduce_size" - }, - { - "$ref": "#/components/parameters/fleet.search#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/fleet.search#default_operator" - }, - { - "$ref": "#/components/parameters/fleet.search#df" - }, - { - "$ref": "#/components/parameters/fleet.search#docvalue_fields" - }, - { - "$ref": "#/components/parameters/fleet.search#expand_wildcards" - }, - { - "$ref": "#/components/parameters/fleet.search#explain" - }, - { - "$ref": "#/components/parameters/fleet.search#ignore_throttled" - }, - { - "$ref": "#/components/parameters/fleet.search#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/fleet.search#lenient" - }, - { - "$ref": "#/components/parameters/fleet.search#max_concurrent_shard_requests" - }, - { - "$ref": "#/components/parameters/fleet.search#min_compatible_shard_node" - }, - { - "$ref": "#/components/parameters/fleet.search#preference" - }, - { - "$ref": "#/components/parameters/fleet.search#pre_filter_shard_size" - }, - { - "$ref": "#/components/parameters/fleet.search#request_cache" - }, - { - "$ref": "#/components/parameters/fleet.search#routing" - }, - { - "$ref": "#/components/parameters/fleet.search#scroll" - }, - { - "$ref": "#/components/parameters/fleet.search#search_type" - }, - { - "$ref": "#/components/parameters/fleet.search#stats" - }, - { - "$ref": "#/components/parameters/fleet.search#stored_fields" - }, - { - "$ref": "#/components/parameters/fleet.search#suggest_field" - }, - { - "$ref": "#/components/parameters/fleet.search#suggest_mode" - }, - { - "$ref": "#/components/parameters/fleet.search#suggest_size" - }, - { - "$ref": "#/components/parameters/fleet.search#suggest_text" - }, - { - "$ref": "#/components/parameters/fleet.search#terminate_after" - }, - { - "$ref": "#/components/parameters/fleet.search#timeout" - }, - { - "$ref": "#/components/parameters/fleet.search#track_total_hits" - }, - { - "$ref": "#/components/parameters/fleet.search#track_scores" - }, - { - "$ref": "#/components/parameters/fleet.search#typed_keys" - }, - { - "$ref": "#/components/parameters/fleet.search#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/fleet.search#version" - }, - { - "$ref": "#/components/parameters/fleet.search#_source" - }, - { - "$ref": "#/components/parameters/fleet.search#_source_excludes" - }, - { - "$ref": "#/components/parameters/fleet.search#_source_includes" - }, - { - "$ref": "#/components/parameters/fleet.search#seq_no_primary_term" - }, - { - "$ref": "#/components/parameters/fleet.search#q" - }, - { - "$ref": "#/components/parameters/fleet.search#size" - }, - { - "$ref": "#/components/parameters/fleet.search#from" - }, - { - "$ref": "#/components/parameters/fleet.search#sort" - }, - { - "$ref": "#/components/parameters/fleet.search#wait_for_checkpoints" - }, - { - "$ref": "#/components/parameters/fleet.search#allow_partial_search_results" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/fleet.search" - }, - "responses": { - "200": { - "$ref": "#/components/responses/fleet.search#200" - } - } - }, - "post": { - "description": "Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", - "operationId": "fleet.search#1", - "parameters": [ - { - "$ref": "#/components/parameters/fleet.search#index" - }, - { - "$ref": "#/components/parameters/fleet.search#allow_no_indices" - }, - { - "$ref": "#/components/parameters/fleet.search#analyzer" - }, - { - "$ref": "#/components/parameters/fleet.search#analyze_wildcard" - }, - { - "$ref": "#/components/parameters/fleet.search#batched_reduce_size" - }, - { - "$ref": "#/components/parameters/fleet.search#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/fleet.search#default_operator" - }, - { - "$ref": "#/components/parameters/fleet.search#df" - }, - { - "$ref": "#/components/parameters/fleet.search#docvalue_fields" - }, - { - "$ref": "#/components/parameters/fleet.search#expand_wildcards" - }, - { - "$ref": "#/components/parameters/fleet.search#explain" - }, - { - "$ref": "#/components/parameters/fleet.search#ignore_throttled" - }, - { - "$ref": "#/components/parameters/fleet.search#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/fleet.search#lenient" - }, - { - "$ref": "#/components/parameters/fleet.search#max_concurrent_shard_requests" - }, - { - "$ref": "#/components/parameters/fleet.search#min_compatible_shard_node" - }, - { - "$ref": "#/components/parameters/fleet.search#preference" - }, - { - "$ref": "#/components/parameters/fleet.search#pre_filter_shard_size" - }, - { - "$ref": "#/components/parameters/fleet.search#request_cache" - }, - { - "$ref": "#/components/parameters/fleet.search#routing" - }, - { - "$ref": "#/components/parameters/fleet.search#scroll" - }, - { - "$ref": "#/components/parameters/fleet.search#search_type" - }, - { - "$ref": "#/components/parameters/fleet.search#stats" - }, - { - "$ref": "#/components/parameters/fleet.search#stored_fields" - }, - { - "$ref": "#/components/parameters/fleet.search#suggest_field" - }, - { - "$ref": "#/components/parameters/fleet.search#suggest_mode" - }, - { - "$ref": "#/components/parameters/fleet.search#suggest_size" - }, - { - "$ref": "#/components/parameters/fleet.search#suggest_text" - }, - { - "$ref": "#/components/parameters/fleet.search#terminate_after" - }, - { - "$ref": "#/components/parameters/fleet.search#timeout" - }, - { - "$ref": "#/components/parameters/fleet.search#track_total_hits" - }, - { - "$ref": "#/components/parameters/fleet.search#track_scores" - }, - { - "$ref": "#/components/parameters/fleet.search#typed_keys" - }, - { - "$ref": "#/components/parameters/fleet.search#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/fleet.search#version" - }, - { - "$ref": "#/components/parameters/fleet.search#_source" - }, - { - "$ref": "#/components/parameters/fleet.search#_source_excludes" - }, - { - "$ref": "#/components/parameters/fleet.search#_source_includes" - }, - { - "$ref": "#/components/parameters/fleet.search#seq_no_primary_term" - }, - { - "$ref": "#/components/parameters/fleet.search#q" - }, - { - "$ref": "#/components/parameters/fleet.search#size" - }, - { - "$ref": "#/components/parameters/fleet.search#from" - }, - { - "$ref": "#/components/parameters/fleet.search#sort" - }, - { - "$ref": "#/components/parameters/fleet.search#wait_for_checkpoints" - }, - { - "$ref": "#/components/parameters/fleet.search#allow_partial_search_results" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/fleet.search" - }, - "responses": { - "200": { - "$ref": "#/components/responses/fleet.search#200" - } - } - } - }, - "/{index}/_graph/explore": { - "get": { - "description": "Explore extracted and summarized information about the documents and terms in an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html" - }, - "operationId": "graph.explore#0", - "parameters": [ - { - "$ref": "#/components/parameters/graph.explore#index" - }, - { - "$ref": "#/components/parameters/graph.explore#routing" - }, - { - "$ref": "#/components/parameters/graph.explore#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/graph.explore" - }, - "responses": { - "200": { - "$ref": "#/components/responses/graph.explore#200" - } - } - }, - "post": { - "description": "Explore extracted and summarized information about the documents and terms in an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html" - }, - "operationId": "graph.explore#1", - "parameters": [ - { - "$ref": "#/components/parameters/graph.explore#index" - }, - { - "$ref": "#/components/parameters/graph.explore#routing" - }, - { - "$ref": "#/components/parameters/graph.explore#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/graph.explore" - }, - "responses": { - "200": { - "$ref": "#/components/responses/graph.explore#200" - } - } - } - }, - "/{index}/_doc": { - "post": { - "description": "Creates or updates a document in an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" - }, - "operationId": "index#2", - "parameters": [ - { - "$ref": "#/components/parameters/index#index" - }, - { - "$ref": "#/components/parameters/index#if_primary_term" - }, - { - "$ref": "#/components/parameters/index#if_seq_no" - }, - { - "$ref": "#/components/parameters/index#op_type" - }, - { - "$ref": "#/components/parameters/index#pipeline" - }, - { - "$ref": "#/components/parameters/index#refresh" - }, - { - "$ref": "#/components/parameters/index#routing" - }, - { - "$ref": "#/components/parameters/index#timeout" - }, - { - "$ref": "#/components/parameters/index#version" - }, - { - "$ref": "#/components/parameters/index#version_type" - }, - { - "$ref": "#/components/parameters/index#wait_for_active_shards" - }, - { - "$ref": "#/components/parameters/index#require_alias" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/index" - }, - "responses": { - "200": { - "$ref": "#/components/responses/index#200" - } - } - } - }, - "/_analyze": { - "get": { - "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" - }, - "operationId": "indices.analyze#0", - "requestBody": { - "$ref": "#/components/requestBodies/indices.analyze" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.analyze#200" - } - } - }, - "post": { - "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" - }, - "operationId": "indices.analyze#1", - "requestBody": { - "$ref": "#/components/requestBodies/indices.analyze" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.analyze#200" - } - } - } - }, - "/{index}/_analyze": { - "get": { - "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" - }, - "operationId": "indices.analyze#2", - "parameters": [ - { - "$ref": "#/components/parameters/indices.analyze#index" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.analyze" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.analyze#200" - } - } - }, - "post": { - "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" - }, - "operationId": "indices.analyze#3", - "parameters": [ - { - "$ref": "#/components/parameters/indices.analyze#index" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.analyze" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.analyze#200" - } - } - } - }, - "/{index}/_close": { - "post": { - "description": "Closes an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-close.html" - }, - "operationId": "indices.close#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Comma-separated list or wildcard expression of index names used to limit the request.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledged": { - "type": "boolean" - }, - "indices": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices.close:CloseIndexResult" - } - }, - "shards_acknowledged": { - "type": "boolean" - } - }, - "required": [ - "acknowledged", - "indices", - "shards_acknowledged" - ] - } - } - } - } - } - } - }, - "/{index}": { - "get": { - "description": "Returns information about one or more indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html" - }, - "operationId": "indices.get#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and index aliases used to limit the request.\nWildcard expressions (*) are supported.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and index aliases used to limit the request.\nWildcard expressions (*) are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" }, { "in": "query", @@ -7266,61 +5619,6 @@ } } }, - "/{index}/_downsample/{target_index}": { - "post": { - "description": "Downsample an index", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-downsample-data-stream.html" - }, - "operationId": "indices.downsample#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Name of the time series index to downsample.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - { - "in": "path", - "name": "target_index", - "description": "Name of the index to create.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/indices._types:DownsampleConfig" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - } - } - } - }, "/_alias/{name}": { "get": { "description": "Returns an alias.", @@ -8037,159 +6335,6 @@ } } }, - "/{index}/_open": { - "post": { - "description": "Opens an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html" - }, - "operationId": "indices.open#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nBy default, you must explicitly name the indices you using to limit the request.\nTo limit a request using `_all`, `*`, or other wildcard expressions, change the `action.destructive_requires_name` setting to false.\nYou can update this setting in the `elasticsearch.yml` file or using the cluster update settings API.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledged": { - "type": "boolean" - }, - "shards_acknowledged": { - "type": "boolean" - } - }, - "required": [ - "acknowledged", - "shards_acknowledged" - ] - } - } - } - } - } - } - }, - "/_recovery": { - "get": { - "description": "Returns information about ongoing index shard recoveries.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html" - }, - "operationId": "indices.recovery#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.recovery#active_only" - }, - { - "$ref": "#/components/parameters/indices.recovery#detailed" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.recovery#200" - } - } - } - }, - "/{index}/_recovery": { - "get": { - "description": "Returns information about ongoing index shard recoveries.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html" - }, - "operationId": "indices.recovery#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.recovery#index" - }, - { - "$ref": "#/components/parameters/indices.recovery#active_only" - }, - { - "$ref": "#/components/parameters/indices.recovery#detailed" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.recovery#200" - } - } - } - }, "/_resolve/index/{name}": { "get": { "description": "Returns information about any matching indices, aliases, and data streams", @@ -8494,190 +6639,6 @@ } } }, - "/_stats": { - "get": { - "description": "Provides statistics on operations happening in an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html" - }, - "operationId": "indices.stats#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.stats#completion_fields" - }, - { - "$ref": "#/components/parameters/indices.stats#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.stats#fielddata_fields" - }, - { - "$ref": "#/components/parameters/indices.stats#fields" - }, - { - "$ref": "#/components/parameters/indices.stats#forbid_closed_indices" - }, - { - "$ref": "#/components/parameters/indices.stats#groups" - }, - { - "$ref": "#/components/parameters/indices.stats#include_segment_file_sizes" - }, - { - "$ref": "#/components/parameters/indices.stats#include_unloaded_segments" - }, - { - "$ref": "#/components/parameters/indices.stats#level" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.stats#200" - } - } - } - }, - "/_stats/{metric}": { - "get": { - "description": "Provides statistics on operations happening in an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html" - }, - "operationId": "indices.stats#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.stats#metric" - }, - { - "$ref": "#/components/parameters/indices.stats#completion_fields" - }, - { - "$ref": "#/components/parameters/indices.stats#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.stats#fielddata_fields" - }, - { - "$ref": "#/components/parameters/indices.stats#fields" - }, - { - "$ref": "#/components/parameters/indices.stats#forbid_closed_indices" - }, - { - "$ref": "#/components/parameters/indices.stats#groups" - }, - { - "$ref": "#/components/parameters/indices.stats#include_segment_file_sizes" - }, - { - "$ref": "#/components/parameters/indices.stats#include_unloaded_segments" - }, - { - "$ref": "#/components/parameters/indices.stats#level" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.stats#200" - } - } - } - }, - "/{index}/_stats": { - "get": { - "description": "Provides statistics on operations happening in an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html" - }, - "operationId": "indices.stats#2", - "parameters": [ - { - "$ref": "#/components/parameters/indices.stats#index" - }, - { - "$ref": "#/components/parameters/indices.stats#completion_fields" - }, - { - "$ref": "#/components/parameters/indices.stats#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.stats#fielddata_fields" - }, - { - "$ref": "#/components/parameters/indices.stats#fields" - }, - { - "$ref": "#/components/parameters/indices.stats#forbid_closed_indices" - }, - { - "$ref": "#/components/parameters/indices.stats#groups" - }, - { - "$ref": "#/components/parameters/indices.stats#include_segment_file_sizes" - }, - { - "$ref": "#/components/parameters/indices.stats#include_unloaded_segments" - }, - { - "$ref": "#/components/parameters/indices.stats#level" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.stats#200" - } - } - } - }, - "/{index}/_stats/{metric}": { - "get": { - "description": "Provides statistics on operations happening in an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html" - }, - "operationId": "indices.stats#3", - "parameters": [ - { - "$ref": "#/components/parameters/indices.stats#index" - }, - { - "$ref": "#/components/parameters/indices.stats#metric" - }, - { - "$ref": "#/components/parameters/indices.stats#completion_fields" - }, - { - "$ref": "#/components/parameters/indices.stats#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.stats#fielddata_fields" - }, - { - "$ref": "#/components/parameters/indices.stats#fields" - }, - { - "$ref": "#/components/parameters/indices.stats#forbid_closed_indices" - }, - { - "$ref": "#/components/parameters/indices.stats#groups" - }, - { - "$ref": "#/components/parameters/indices.stats#include_segment_file_sizes" - }, - { - "$ref": "#/components/parameters/indices.stats#include_unloaded_segments" - }, - { - "$ref": "#/components/parameters/indices.stats#level" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.stats#200" - } - } - } - }, "/_aliases": { "post": { "description": "Updates index aliases.", @@ -9197,43 +7158,6 @@ } } }, - "/_ingest/geoip/stats": { - "get": { - "description": "Returns statistical information about geoip databases", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/geoip-processor.html" - }, - "operationId": "ingest.geo_ip_stats#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "stats": { - "$ref": "#/components/schemas/ingest.geo_ip_stats:GeoIpDownloadStatistics" - }, - "nodes": { - "description": "Downloaded GeoIP2 databases for each node.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/ingest.geo_ip_stats:GeoIpNodeDatabases" - } - } - }, - "required": [ - "stats", - "nodes" - ] - } - } - } - } - } - } - }, "/_ingest/pipeline": { "get": { "description": "Returns a pipeline.", @@ -9651,48 +7575,6 @@ } } }, - "/_ml/trained_models/{model_id}/deployment/cache/_clear": { - "post": { - "description": "Clear the cached results from a trained model deployment", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/clear-trained-model-deployment-cache.html" - }, - "operationId": "ml.clear_trained_model_deployment_cache#0", - "parameters": [ - { - "in": "path", - "name": "model_id", - "description": "The unique identifier of the trained model.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "cleared": { - "type": "boolean" - } - }, - "required": [ - "cleared" - ] - } - } - } - } - } - } - }, "/_ml/anomaly_detectors/{job_id}/_close": { "post": { "description": "Closes one or more anomaly detection jobs. A job can be opened and closed multiple times throughout its lifecycle.", @@ -10594,59 +8476,6 @@ } } }, - "/_ml/_delete_expired_data/{job_id}": { - "delete": { - "description": "Deletes expired and unused machine learning data.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-expired-data.html" - }, - "operationId": "ml.delete_expired_data#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.delete_expired_data#job_id" - }, - { - "$ref": "#/components/parameters/ml.delete_expired_data#requests_per_second" - }, - { - "$ref": "#/components/parameters/ml.delete_expired_data#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.delete_expired_data" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.delete_expired_data#200" - } - } - } - }, - "/_ml/_delete_expired_data": { - "delete": { - "description": "Deletes expired and unused machine learning data.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-expired-data.html" - }, - "operationId": "ml.delete_expired_data#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.delete_expired_data#requests_per_second" - }, - { - "$ref": "#/components/parameters/ml.delete_expired_data#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.delete_expired_data" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.delete_expired_data#200" - } - } - } - }, "/_ml/filters/{filter_id}": { "get": { "description": "Retrieves filters.", @@ -10778,154 +8607,6 @@ } } }, - "/_ml/anomaly_detectors/{job_id}/_forecast": { - "post": { - "description": "Predicts the future behavior of a time series by using its historical behavior.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-forecast.html" - }, - "operationId": "ml.forecast#0", - "parameters": [ - { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job. The job must be open when you\ncreate a forecast; otherwise, an error occurs.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "duration", - "description": "A period of time that indicates how far into the future to forecast. For\nexample, `30d` corresponds to 30 days. The forecast starts at the last\nrecord that was processed.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "expires_in", - "description": "The period of time that forecast results are retained. After a forecast\nexpires, the results are deleted. If set to a value of 0, the forecast is\nnever automatically deleted.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "max_model_memory", - "description": "The maximum memory the forecast can use. If the forecast needs to use\nmore than the provided amount, it will spool to disk. Default is 20mb,\nmaximum is 500mb and minimum is 1mb. If set to 40% or more of the job’s\nconfigured memory limit, it is automatically reduced to below that\namount.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "duration": { - "$ref": "#/components/schemas/_types:Duration" - }, - "expires_in": { - "$ref": "#/components/schemas/_types:Duration" - }, - "max_model_memory": { - "description": "Refer to the description for the `max_model_memory` query parameter.", - "type": "string" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledged": { - "type": "boolean" - }, - "forecast_id": { - "$ref": "#/components/schemas/_types:Id" - } - }, - "required": [ - "acknowledged", - "forecast_id" - ] - } - } - } - } - } - }, - "delete": { - "description": "Deletes forecasts from a machine learning job.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html" - }, - "operationId": "ml.delete_forecast#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.delete_forecast#job_id" - }, - { - "$ref": "#/components/parameters/ml.delete_forecast#allow_no_forecasts" - }, - { - "$ref": "#/components/parameters/ml.delete_forecast#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.delete_forecast#200" - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/_forecast/{forecast_id}": { - "delete": { - "description": "Deletes forecasts from a machine learning job.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html" - }, - "operationId": "ml.delete_forecast#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.delete_forecast#job_id" - }, - { - "$ref": "#/components/parameters/ml.delete_forecast#forecast_id" - }, - { - "$ref": "#/components/parameters/ml.delete_forecast#allow_no_forecasts" - }, - { - "$ref": "#/components/parameters/ml.delete_forecast#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.delete_forecast#200" - } - } - } - }, "/_ml/anomaly_detectors/{job_id}": { "get": { "description": "Retrieves configuration information for anomaly detection jobs.", @@ -11194,133 +8875,6 @@ } } }, - "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}": { - "get": { - "description": "Retrieves information about model snapshots.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" - }, - "operationId": "ml.get_model_snapshots#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#snapshot_id" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#desc" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#end" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#from" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#size" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#sort" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#start" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_model_snapshots" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_model_snapshots#200" - } - } - }, - "post": { - "description": "Retrieves information about model snapshots.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" - }, - "operationId": "ml.get_model_snapshots#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#snapshot_id" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#desc" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#end" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#from" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#size" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#sort" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#start" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_model_snapshots" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_model_snapshots#200" - } - } - }, - "delete": { - "description": "Deletes an existing model snapshot.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html" - }, - "operationId": "ml.delete_model_snapshot#0", - "parameters": [ - { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "path", - "name": "snapshot_id", - "description": "Identifier for the model snapshot.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, "/_ml/trained_models/{model_id}": { "get": { "description": "Retrieves configuration information for a trained inference model.", @@ -11705,80 +9259,6 @@ } } }, - "/_ml/data_frame/analytics/_explain": { - "get": { - "description": "Explains a data frame analytics config.", - "externalDocs": { - "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" - }, - "operationId": "ml.explain_data_frame_analytics#0", - "requestBody": { - "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" - } - } - }, - "post": { - "description": "Explains a data frame analytics config.", - "externalDocs": { - "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" - }, - "operationId": "ml.explain_data_frame_analytics#1", - "requestBody": { - "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" - } - } - } - }, - "/_ml/data_frame/analytics/{id}/_explain": { - "get": { - "description": "Explains a data frame analytics config.", - "externalDocs": { - "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" - }, - "operationId": "ml.explain_data_frame_analytics#2", - "parameters": [ - { - "$ref": "#/components/parameters/ml.explain_data_frame_analytics#id" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" - } - } - }, - "post": { - "description": "Explains a data frame analytics config.", - "externalDocs": { - "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" - }, - "operationId": "ml.explain_data_frame_analytics#3", - "parameters": [ - { - "$ref": "#/components/parameters/ml.explain_data_frame_analytics#id" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" - } - } - } - }, "/_ml/anomaly_detectors/{job_id}/_flush": { "post": { "description": "Forces any buffered data to be processed by the job.", @@ -11902,204 +9382,6 @@ } } }, - "/_ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}": { - "get": { - "description": "Retrieves anomaly detection job results for one or more buckets.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" - }, - "operationId": "ml.get_buckets#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_buckets#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#timestamp" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#desc" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#end" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#expand" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#from" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#size" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#sort" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#start" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_buckets" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_buckets#200" - } - } - }, - "post": { - "description": "Retrieves anomaly detection job results for one or more buckets.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" - }, - "operationId": "ml.get_buckets#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_buckets#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#timestamp" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#desc" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#end" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#expand" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#from" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#size" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#sort" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#start" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_buckets" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_buckets#200" - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/results/buckets": { - "get": { - "description": "Retrieves anomaly detection job results for one or more buckets.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" - }, - "operationId": "ml.get_buckets#2", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_buckets#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#desc" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#end" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#expand" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#from" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#size" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#sort" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#start" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_buckets" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_buckets#200" - } - } - }, - "post": { - "description": "Retrieves anomaly detection job results for one or more buckets.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" - }, - "operationId": "ml.get_buckets#3", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_buckets#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#desc" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#end" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#expand" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#from" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#size" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#sort" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#start" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_buckets" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_buckets#200" - } - } - } - }, "/_ml/calendars/{calendar_id}/events": { "get": { "description": "Retrieves information about the scheduled events in calendars.", @@ -12312,132 +9594,6 @@ } } }, - "/_ml/anomaly_detectors/{job_id}/results/categories/{category_id}": { - "get": { - "description": "Retrieves anomaly detection job results for one or more categories.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" - }, - "operationId": "ml.get_categories#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_categories#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_categories#category_id" - }, - { - "$ref": "#/components/parameters/ml.get_categories#from" - }, - { - "$ref": "#/components/parameters/ml.get_categories#partition_field_value" - }, - { - "$ref": "#/components/parameters/ml.get_categories#size" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_categories" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_categories#200" - } - } - }, - "post": { - "description": "Retrieves anomaly detection job results for one or more categories.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" - }, - "operationId": "ml.get_categories#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_categories#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_categories#category_id" - }, - { - "$ref": "#/components/parameters/ml.get_categories#from" - }, - { - "$ref": "#/components/parameters/ml.get_categories#partition_field_value" - }, - { - "$ref": "#/components/parameters/ml.get_categories#size" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_categories" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_categories#200" - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/results/categories": { - "get": { - "description": "Retrieves anomaly detection job results for one or more categories.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" - }, - "operationId": "ml.get_categories#2", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_categories#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_categories#from" - }, - { - "$ref": "#/components/parameters/ml.get_categories#partition_field_value" - }, - { - "$ref": "#/components/parameters/ml.get_categories#size" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_categories" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_categories#200" - } - } - }, - "post": { - "description": "Retrieves anomaly detection job results for one or more categories.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" - }, - "operationId": "ml.get_categories#3", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_categories#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_categories#from" - }, - { - "$ref": "#/components/parameters/ml.get_categories#partition_field_value" - }, - { - "$ref": "#/components/parameters/ml.get_categories#size" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_categories" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_categories#200" - } - } - } - }, "/_ml/data_frame/analytics": { "get": { "description": "Retrieves configuration information for data frame analytics jobs.", @@ -12610,96 +9766,6 @@ } } }, - "/_ml/anomaly_detectors/{job_id}/results/influencers": { - "get": { - "description": "Retrieves anomaly detection job results for one or more influencers.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html" - }, - "operationId": "ml.get_influencers#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_influencers#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#desc" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#end" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#exclude_interim" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#influencer_score" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#from" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#size" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#sort" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#start" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_influencers" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_influencers#200" - } - } - }, - "post": { - "description": "Retrieves anomaly detection job results for one or more influencers.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html" - }, - "operationId": "ml.get_influencers#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_influencers#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#desc" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#end" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#exclude_interim" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#influencer_score" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#from" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#size" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#sort" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#start" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_influencers" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_influencers#200" - } - } - } - }, "/_ml/anomaly_detectors/_stats": { "get": { "description": "Retrieves usage information for anomaly detection jobs.", @@ -12763,207 +9829,6 @@ } } }, - "/_ml/memory/_stats": { - "get": { - "description": "Returns information on how ML is using memory.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ml-memory.html" - }, - "operationId": "ml.get_memory_stats#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_memory_stats#human" - }, - { - "$ref": "#/components/parameters/ml.get_memory_stats#master_timeout" - }, - { - "$ref": "#/components/parameters/ml.get_memory_stats#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_memory_stats#200" - } - } - } - }, - "/_ml/memory/{node_id}/_stats": { - "get": { - "description": "Returns information on how ML is using memory.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ml-memory.html" - }, - "operationId": "ml.get_memory_stats#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_memory_stats#node_id" - }, - { - "$ref": "#/components/parameters/ml.get_memory_stats#human" - }, - { - "$ref": "#/components/parameters/ml.get_memory_stats#master_timeout" - }, - { - "$ref": "#/components/parameters/ml.get_memory_stats#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_memory_stats#200" - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade/_stats": { - "get": { - "description": "Gets stats for anomaly detection job model snapshot upgrades that are in progress.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-model-snapshot-upgrade-stats.html" - }, - "operationId": "ml.get_model_snapshot_upgrade_stats#0", - "parameters": [ - { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "path", - "name": "snapshot_id", - "description": "A numerical character string that uniquely identifies the model snapshot. You can get information for multiple\nsnapshots by using a comma-separated list or a wildcard expression. You can get all snapshots by using `_all`,\nby specifying `*` as the snapshot ID, or by omitting the snapshot ID.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n - Contains wildcard expressions and there are no jobs that match.\n - Contains the _all string or no identifiers and there are no matches.\n - Contains wildcard expressions and there are only partial matches.\n\nThe default value is true, which returns an empty jobs array when there are no matches and the subset of results\nwhen there are partial matches. If this parameter is false, the request returns a 404 status code when there are\nno matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "model_snapshot_upgrades": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:ModelSnapshotUpgrade" - } - } - }, - "required": [ - "count", - "model_snapshot_upgrades" - ] - } - } - } - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/model_snapshots": { - "get": { - "description": "Retrieves information about model snapshots.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" - }, - "operationId": "ml.get_model_snapshots#2", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#desc" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#end" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#from" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#size" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#sort" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#start" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_model_snapshots" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_model_snapshots#200" - } - } - }, - "post": { - "description": "Retrieves information about model snapshots.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" - }, - "operationId": "ml.get_model_snapshots#3", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#desc" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#end" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#from" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#size" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#sort" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#start" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_model_snapshots" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_model_snapshots#200" - } - } - } - }, "/_ml/anomaly_detectors/{job_id}/results/overall_buckets": { "get": { "description": "Retrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.", @@ -13048,149 +9913,59 @@ } } }, - "/_ml/anomaly_detectors/{job_id}/results/records": { + "/_ml/trained_models": { "get": { - "description": "Retrieves anomaly records for an anomaly detection job.", + "description": "Retrieves configuration information for a trained inference model.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models.html" }, - "operationId": "ml.get_records#0", + "operationId": "ml.get_trained_models#1", "parameters": [ { - "$ref": "#/components/parameters/ml.get_records#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_records#desc" - }, - { - "$ref": "#/components/parameters/ml.get_records#end" + "$ref": "#/components/parameters/ml.get_trained_models#allow_no_match" }, { - "$ref": "#/components/parameters/ml.get_records#exclude_interim" + "$ref": "#/components/parameters/ml.get_trained_models#decompress_definition" }, { - "$ref": "#/components/parameters/ml.get_records#from" + "$ref": "#/components/parameters/ml.get_trained_models#exclude_generated" }, { - "$ref": "#/components/parameters/ml.get_records#record_score" + "$ref": "#/components/parameters/ml.get_trained_models#from" }, { - "$ref": "#/components/parameters/ml.get_records#size" + "$ref": "#/components/parameters/ml.get_trained_models#include" }, { - "$ref": "#/components/parameters/ml.get_records#sort" + "$ref": "#/components/parameters/ml.get_trained_models#size" }, { - "$ref": "#/components/parameters/ml.get_records#start" + "$ref": "#/components/parameters/ml.get_trained_models#tags" } ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_records" - }, "responses": { "200": { - "$ref": "#/components/responses/ml.get_records#200" + "$ref": "#/components/responses/ml.get_trained_models#200" } } - }, - "post": { - "description": "Retrieves anomaly records for an anomaly detection job.", + } + }, + "/_ml/trained_models/{model_id}/_stats": { + "get": { + "description": "Retrieves usage information for trained inference models.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models-stats.html" }, - "operationId": "ml.get_records#1", + "operationId": "ml.get_trained_models_stats#0", "parameters": [ { - "$ref": "#/components/parameters/ml.get_records#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_records#desc" + "$ref": "#/components/parameters/ml.get_trained_models_stats#model_id" }, { - "$ref": "#/components/parameters/ml.get_records#end" + "$ref": "#/components/parameters/ml.get_trained_models_stats#allow_no_match" }, { - "$ref": "#/components/parameters/ml.get_records#exclude_interim" - }, - { - "$ref": "#/components/parameters/ml.get_records#from" - }, - { - "$ref": "#/components/parameters/ml.get_records#record_score" - }, - { - "$ref": "#/components/parameters/ml.get_records#size" - }, - { - "$ref": "#/components/parameters/ml.get_records#sort" - }, - { - "$ref": "#/components/parameters/ml.get_records#start" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_records" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_records#200" - } - } - } - }, - "/_ml/trained_models": { - "get": { - "description": "Retrieves configuration information for a trained inference model.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models.html" - }, - "operationId": "ml.get_trained_models#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_trained_models#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models#decompress_definition" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models#exclude_generated" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models#from" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models#include" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models#size" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models#tags" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_trained_models#200" - } - } - } - }, - "/_ml/trained_models/{model_id}/_stats": { - "get": { - "description": "Retrieves usage information for trained inference models.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models-stats.html" - }, - "operationId": "ml.get_trained_models_stats#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_trained_models_stats#model_id" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models_stats#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models_stats#from" + "$ref": "#/components/parameters/ml.get_trained_models_stats#from" }, { "$ref": "#/components/parameters/ml.get_trained_models_stats#size" @@ -13278,47 +10053,6 @@ } } }, - "/_ml/info": { - "get": { - "description": "Returns defaults and limits used by machine learning.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ml-info.html" - }, - "operationId": "ml.info#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "defaults": { - "$ref": "#/components/schemas/ml.info:Defaults" - }, - "limits": { - "$ref": "#/components/schemas/ml.info:Limits" - }, - "upgrade_mode": { - "type": "boolean" - }, - "native_code": { - "$ref": "#/components/schemas/ml.info:NativeCode" - } - }, - "required": [ - "defaults", - "limits", - "upgrade_mode", - "native_code" - ] - } - } - } - } - } - } - }, "/_ml/anomaly_detectors/{job_id}/_open": { "post": { "description": "Opens one or more anomaly detection jobs.", @@ -13756,127 +10490,6 @@ } } }, - "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert": { - "post": { - "description": "Reverts to a specific snapshot.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-revert-snapshot.html" - }, - "operationId": "ml.revert_model_snapshot#0", - "parameters": [ - { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "path", - "name": "snapshot_id", - "description": "You can specify `empty` as the . Reverting to the empty\nsnapshot means the anomaly detection job starts learning a new model from\nscratch when it is started.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "delete_intervening_results", - "description": "If true, deletes the results in the time period between the latest\nresults and the time of the reverted snapshot. It also resets the model\nto accept records for this time period. If you choose not to delete\nintervening results when reverting a snapshot, the job will not accept\ninput data that is older than the current time. If you want to resend\ndata, then delete the intervening results.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "delete_intervening_results": { - "description": "Refer to the description for the `delete_intervening_results` query parameter.", - "type": "boolean" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "model": { - "$ref": "#/components/schemas/ml._types:ModelSnapshot" - } - }, - "required": [ - "model" - ] - } - } - } - } - } - } - }, - "/_ml/set_upgrade_mode": { - "post": { - "description": "Sets a cluster wide upgrade_mode setting that prepares machine learning indices for an upgrade.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-set-upgrade-mode.html" - }, - "operationId": "ml.set_upgrade_mode#0", - "parameters": [ - { - "in": "query", - "name": "enabled", - "description": "When `true`, it enables `upgrade_mode` which temporarily halts all job\nand datafeed tasks and prohibits new job and datafeed tasks from\nstarting.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "The time to wait for the request to be completed.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, "/_ml/data_frame/analytics/{id}/_start": { "post": { "description": "Starts a data frame analytics job.", @@ -14979,252 +11592,6 @@ } } }, - "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update": { - "post": { - "description": "Updates certain properties of a snapshot.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-snapshot.html" - }, - "operationId": "ml.update_model_snapshot#0", - "parameters": [ - { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "path", - "name": "snapshot_id", - "description": "Identifier for the model snapshot.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "description": { - "description": "A description of the model snapshot.", - "type": "string" - }, - "retain": { - "description": "If `true`, this snapshot will not be deleted during automatic cleanup of\nsnapshots older than `model_snapshot_retention_days`. However, this\nsnapshot will be deleted when the job is deleted.", - "type": "boolean" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledged": { - "type": "boolean" - }, - "model": { - "$ref": "#/components/schemas/ml._types:ModelSnapshot" - } - }, - "required": [ - "acknowledged", - "model" - ] - } - } - } - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade": { - "post": { - "description": "Upgrades a given job snapshot to the current major version.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-upgrade-job-model-snapshot.html" - }, - "operationId": "ml.upgrade_job_snapshot#0", - "parameters": [ - { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "path", - "name": "snapshot_id", - "description": "A numerical character string that uniquely identifies the model snapshot.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "wait_for_completion", - "description": "When true, the API won’t respond until the upgrade is complete.\nOtherwise, it responds as soon as the upgrade task is assigned to a node.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Controls the time to wait for the request to complete.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "node": { - "$ref": "#/components/schemas/_types:NodeId" - }, - "completed": { - "description": "When true, this means the task is complete. When false, it is still running.", - "type": "boolean" - } - }, - "required": [ - "node", - "completed" - ] - } - } - } - } - } - } - }, - "/_ml/anomaly_detectors/_validate": { - "post": { - "description": "Validates an anomaly detection job.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-jobs.html" - }, - "operationId": "ml.validate#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "analysis_config": { - "$ref": "#/components/schemas/ml._types:AnalysisConfig" - }, - "analysis_limits": { - "$ref": "#/components/schemas/ml._types:AnalysisLimits" - }, - "data_description": { - "$ref": "#/components/schemas/ml._types:DataDescription" - }, - "description": { - "type": "string" - }, - "model_plot": { - "$ref": "#/components/schemas/ml._types:ModelPlotConfig" - }, - "model_snapshot_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "model_snapshot_retention_days": { - "type": "number" - }, - "results_index_name": { - "$ref": "#/components/schemas/_types:IndexName" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ml/anomaly_detectors/_validate/detector": { - "post": { - "description": "Validates an anomaly detection detector.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-jobs.html" - }, - "operationId": "ml.validate_detector#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ml._types:Detector" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, "/_msearch": { "get": { "description": "Allows to execute several search operations in one request.", @@ -15807,592 +12174,6 @@ } } }, - "/_nodes/hot_threads": { - "get": { - "description": "Returns information about hot threads on each node in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-hot-threads.html" - }, - "operationId": "nodes.hot_threads#0", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.hot_threads#ignore_idle_threads" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#interval" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#snapshots" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#threads" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#timeout" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#type" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#sort" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.hot_threads#200" - } - } - } - }, - "/_nodes/{node_id}/hot_threads": { - "get": { - "description": "Returns information about hot threads on each node in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-hot-threads.html" - }, - "operationId": "nodes.hot_threads#1", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.hot_threads#node_id" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#ignore_idle_threads" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#interval" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#snapshots" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#threads" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#timeout" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#type" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#sort" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.hot_threads#200" - } - } - } - }, - "/_nodes": { - "get": { - "description": "Returns information about nodes in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html" - }, - "operationId": "nodes.info#0", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.info#flat_settings" - }, - { - "$ref": "#/components/parameters/nodes.info#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.info#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.info#200" - } - } - } - }, - "/_nodes/{node_id}": { - "get": { - "description": "Returns information about nodes in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html" - }, - "operationId": "nodes.info#1", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.info#node_id" - }, - { - "$ref": "#/components/parameters/nodes.info#flat_settings" - }, - { - "$ref": "#/components/parameters/nodes.info#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.info#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.info#200" - } - } - } - }, - "/_nodes/{metric}": { - "get": { - "description": "Returns information about nodes in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html" - }, - "operationId": "nodes.info#2", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.info#metric" - }, - { - "$ref": "#/components/parameters/nodes.info#flat_settings" - }, - { - "$ref": "#/components/parameters/nodes.info#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.info#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.info#200" - } - } - } - }, - "/_nodes/{node_id}/{metric}": { - "get": { - "description": "Returns information about nodes in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html" - }, - "operationId": "nodes.info#3", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.info#node_id" - }, - { - "$ref": "#/components/parameters/nodes.info#metric" - }, - { - "$ref": "#/components/parameters/nodes.info#flat_settings" - }, - { - "$ref": "#/components/parameters/nodes.info#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.info#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.info#200" - } - } - } - }, - "/_nodes/stats": { - "get": { - "description": "Returns statistical information about nodes in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" - }, - "operationId": "nodes.stats#0", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.stats#completion_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fielddata_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#groups" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" - }, - { - "$ref": "#/components/parameters/nodes.stats#level" - }, - { - "$ref": "#/components/parameters/nodes.stats#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#types" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.stats#200" - } - } - } - }, - "/_nodes/{node_id}/stats": { - "get": { - "description": "Returns statistical information about nodes in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" - }, - "operationId": "nodes.stats#1", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.stats#node_id" - }, - { - "$ref": "#/components/parameters/nodes.stats#completion_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fielddata_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#groups" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" - }, - { - "$ref": "#/components/parameters/nodes.stats#level" - }, - { - "$ref": "#/components/parameters/nodes.stats#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#types" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.stats#200" - } - } - } - }, - "/_nodes/stats/{metric}": { - "get": { - "description": "Returns statistical information about nodes in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" - }, - "operationId": "nodes.stats#2", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.stats#metric" - }, - { - "$ref": "#/components/parameters/nodes.stats#completion_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fielddata_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#groups" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" - }, - { - "$ref": "#/components/parameters/nodes.stats#level" - }, - { - "$ref": "#/components/parameters/nodes.stats#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#types" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.stats#200" - } - } - } - }, - "/_nodes/{node_id}/stats/{metric}": { - "get": { - "description": "Returns statistical information about nodes in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" - }, - "operationId": "nodes.stats#3", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.stats#node_id" - }, - { - "$ref": "#/components/parameters/nodes.stats#metric" - }, - { - "$ref": "#/components/parameters/nodes.stats#completion_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fielddata_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#groups" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" - }, - { - "$ref": "#/components/parameters/nodes.stats#level" - }, - { - "$ref": "#/components/parameters/nodes.stats#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#types" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.stats#200" - } - } - } - }, - "/_nodes/stats/{metric}/{index_metric}": { - "get": { - "description": "Returns statistical information about nodes in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" - }, - "operationId": "nodes.stats#4", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.stats#metric" - }, - { - "$ref": "#/components/parameters/nodes.stats#index_metric" - }, - { - "$ref": "#/components/parameters/nodes.stats#completion_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fielddata_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#groups" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" - }, - { - "$ref": "#/components/parameters/nodes.stats#level" - }, - { - "$ref": "#/components/parameters/nodes.stats#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#types" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.stats#200" - } - } - } - }, - "/_nodes/{node_id}/stats/{metric}/{index_metric}": { - "get": { - "description": "Returns statistical information about nodes in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" - }, - "operationId": "nodes.stats#5", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.stats#node_id" - }, - { - "$ref": "#/components/parameters/nodes.stats#metric" - }, - { - "$ref": "#/components/parameters/nodes.stats#index_metric" - }, - { - "$ref": "#/components/parameters/nodes.stats#completion_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fielddata_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#groups" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" - }, - { - "$ref": "#/components/parameters/nodes.stats#level" - }, - { - "$ref": "#/components/parameters/nodes.stats#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#types" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.stats#200" - } - } - } - }, - "/_nodes/usage": { - "get": { - "description": "Returns low-level information about REST actions usage on nodes.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-usage.html" - }, - "operationId": "nodes.usage#0", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.usage#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.usage#200" - } - } - } - }, - "/_nodes/{node_id}/usage": { - "get": { - "description": "Returns low-level information about REST actions usage on nodes.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-usage.html" - }, - "operationId": "nodes.usage#1", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.usage#node_id" - }, - { - "$ref": "#/components/parameters/nodes.usage#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.usage#200" - } - } - } - }, - "/_nodes/usage/{metric}": { - "get": { - "description": "Returns low-level information about REST actions usage on nodes.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-usage.html" - }, - "operationId": "nodes.usage#2", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.usage#metric" - }, - { - "$ref": "#/components/parameters/nodes.usage#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.usage#200" - } - } - } - }, - "/_nodes/{node_id}/usage/{metric}": { - "get": { - "description": "Returns low-level information about REST actions usage on nodes.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-usage.html" - }, - "operationId": "nodes.usage#3", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.usage#node_id" - }, - { - "$ref": "#/components/parameters/nodes.usage#metric" - }, - { - "$ref": "#/components/parameters/nodes.usage#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.usage#200" - } - } - } - }, "/{index}/_pit": { "post": { "description": "Open a point in time that can be used in subsequent searches", @@ -18221,54 +14002,6 @@ } } }, - "/_security/profile/_activate": { - "post": { - "description": "Creates or updates the user profile on behalf of another user.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-activate-user-profile.html" - }, - "operationId": "security.activate_user_profile#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "access_token": { - "type": "string" - }, - "grant_type": { - "$ref": "#/components/schemas/security._types:GrantType" - }, - "password": { - "type": "string" - }, - "username": { - "type": "string" - } - }, - "required": [ - "grant_type" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/security._types:UserProfileWithMetadata" - } - } - } - } - } - } - }, "/_security/_authenticate": { "get": { "description": "Enables authentication as a user and retrieve information about the authenticated user.", @@ -18406,253 +14139,6 @@ } } }, - "/_security/privilege/{application}/_clear_cache": { - "post": { - "description": "Evicts application privileges from the native application privileges cache.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-privilege-cache.html" - }, - "operationId": "security.clear_cached_privileges#0", - "parameters": [ - { - "in": "path", - "name": "application", - "description": "A comma-separated list of application names", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_nodes": { - "$ref": "#/components/schemas/_types:NodeStatistics" - }, - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:ClusterNode" - } - } - }, - "required": [ - "_nodes", - "cluster_name", - "nodes" - ] - } - } - } - } - } - } - }, - "/_security/realm/{realms}/_clear_cache": { - "post": { - "description": "Evicts users from the user cache. Can completely clear the cache or evict specific users.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-cache.html" - }, - "operationId": "security.clear_cached_realms#0", - "parameters": [ - { - "in": "path", - "name": "realms", - "description": "Comma-separated list of realms to clear", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - { - "in": "query", - "name": "usernames", - "description": "Comma-separated list of usernames to clear from the cache", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_nodes": { - "$ref": "#/components/schemas/_types:NodeStatistics" - }, - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:ClusterNode" - } - } - }, - "required": [ - "_nodes", - "cluster_name", - "nodes" - ] - } - } - } - } - } - } - }, - "/_security/role/{name}/_clear_cache": { - "post": { - "description": "Evicts roles from the native role cache.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-role-cache.html" - }, - "operationId": "security.clear_cached_roles#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Role name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_nodes": { - "$ref": "#/components/schemas/_types:NodeStatistics" - }, - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:ClusterNode" - } - } - }, - "required": [ - "_nodes", - "cluster_name", - "nodes" - ] - } - } - } - } - } - } - }, - "/_security/service/{namespace}/{service}/credential/token/{name}/_clear_cache": { - "post": { - "description": "Evicts tokens from the service account token caches.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-service-token-caches.html" - }, - "operationId": "security.clear_cached_service_tokens#0", - "parameters": [ - { - "in": "path", - "name": "namespace", - "description": "An identifier for the namespace", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Namespace" - }, - "style": "simple" - }, - { - "in": "path", - "name": "service", - "description": "An identifier for the service name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Service" - }, - "style": "simple" - }, - { - "in": "path", - "name": "name", - "description": "A comma-separated list of service token names", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_nodes": { - "$ref": "#/components/schemas/_types:NodeStatistics" - }, - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:ClusterNode" - } - } - }, - "required": [ - "_nodes", - "cluster_name", - "nodes" - ] - } - } - } - } - } - } - }, "/_security/api_key": { "get": { "description": "Retrieves information for one or more API keys.", @@ -18870,106 +14356,151 @@ } } }, - "/_security/service/{namespace}/{service}/credential/token/{name}": { - "put": { - "description": "Creates a service account token for access without requiring basic authentication.", + "/_security/_query/api_key": { + "get": { + "description": "Retrieves information for API keys using a subset of query DSL", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-service-token.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-query-api-key.html" }, - "operationId": "security.create_service_token#0", + "operationId": "security.query_api_keys#0", "parameters": [ { - "$ref": "#/components/parameters/security.create_service_token#namespace" - }, - { - "$ref": "#/components/parameters/security.create_service_token#service" - }, - { - "$ref": "#/components/parameters/security.create_service_token#name" - }, - { - "$ref": "#/components/parameters/security.create_service_token#refresh" + "$ref": "#/components/parameters/security.query_api_keys#with_limited_by" } ], + "requestBody": { + "$ref": "#/components/requestBodies/security.query_api_keys" + }, "responses": { "200": { - "$ref": "#/components/responses/security.create_service_token#200" + "$ref": "#/components/responses/security.query_api_keys#200" } } }, "post": { - "description": "Creates a service account token for access without requiring basic authentication.", + "description": "Retrieves information for API keys using a subset of query DSL", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-service-token.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-query-api-key.html" }, - "operationId": "security.create_service_token#1", + "operationId": "security.query_api_keys#1", "parameters": [ { - "$ref": "#/components/parameters/security.create_service_token#namespace" - }, - { - "$ref": "#/components/parameters/security.create_service_token#service" - }, - { - "$ref": "#/components/parameters/security.create_service_token#name" - }, - { - "$ref": "#/components/parameters/security.create_service_token#refresh" + "$ref": "#/components/parameters/security.query_api_keys#with_limited_by" } ], + "requestBody": { + "$ref": "#/components/requestBodies/security.query_api_keys" + }, "responses": { "200": { - "$ref": "#/components/responses/security.create_service_token#200" + "$ref": "#/components/responses/security.query_api_keys#200" } } - }, - "delete": { - "description": "Deletes a service account token.", + } + }, + "/_security/api_key/{id}": { + "put": { + "description": "Updates attributes of an existing API key.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-service-token.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-api-key.html" }, - "operationId": "security.delete_service_token#0", + "operationId": "security.update_api_key#0", "parameters": [ { "in": "path", - "name": "namespace", - "description": "An identifier for the namespace", + "name": "id", + "description": "The ID of the API key to update.", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Namespace" + "$ref": "#/components/schemas/_types:Id" }, "style": "simple" - }, + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "role_descriptors": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html" + }, + "description": "An array of role descriptors for this API key. This parameter is optional. When it is not specified or is an empty array, then the API key will have a point in time snapshot of permissions of the authenticated user. If you supply role descriptors then the resultant permissions would be an intersection of API keys permissions and authenticated user’s permissions thereby limiting the access scope for API keys. The structure of role descriptor is the same as the request for create role API. For more details, see create or update roles API.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:RoleDescriptor" + } + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "updated": { + "description": "If `true`, the API key was updated.\nIf `false`, the API key didn’t change because no change was detected.", + "type": "boolean" + } + }, + "required": [ + "updated" + ] + } + } + } + } + } + } + }, + "/_synonyms/{id}": { + "get": { + "description": "Retrieves a synonym set", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-synonyms-set.html" + }, + "operationId": "synonyms.get_synonym#0", + "parameters": [ { "in": "path", - "name": "service", - "description": "An identifier for the service name", + "name": "id", + "description": "\"The id of the synonyms set to be retrieved", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Service" + "$ref": "#/components/schemas/_types:Id" }, "style": "simple" }, { - "in": "path", - "name": "name", - "description": "An identifier for the token name", - "required": true, + "in": "query", + "name": "from", + "description": "Starting offset for query rules to be retrieved", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Name" + "type": "number" }, - "style": "simple" + "style": "form" }, { "in": "query", - "name": "refresh", - "description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` (the default) then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "name": "size", + "description": "specifies a max number of query rules to retrieve", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Refresh" + "type": "number" }, "style": "form" } @@ -18982,104 +14513,154 @@ "schema": { "type": "object", "properties": { - "found": { - "type": "boolean" + "count": { + "type": "number" + }, + "synonyms_set": { + "type": "array", + "items": { + "$ref": "#/components/schemas/synonyms._types:SynonymRuleRead" + } } }, "required": [ - "found" + "count", + "synonyms_set" ] } } } } } - } - }, - "/_security/service/{namespace}/{service}/credential/token": { - "post": { - "description": "Creates a service account token for access without requiring basic authentication.", + }, + "put": { + "description": "Creates or updates a synonyms set", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-service-token.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-synonyms-set.html" }, - "operationId": "security.create_service_token#2", + "operationId": "synonyms.put_synonym#0", "parameters": [ { - "$ref": "#/components/parameters/security.create_service_token#namespace" - }, - { - "$ref": "#/components/parameters/security.create_service_token#service" - }, - { - "$ref": "#/components/parameters/security.create_service_token#refresh" + "in": "path", + "name": "id", + "description": "The id of the synonyms set to be created or updated", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "synonyms_set": { + "description": "The synonym set information to update", + "type": "array", + "items": { + "$ref": "#/components/schemas/synonyms._types:SynonymRule" + } + } + }, + "required": [ + "synonyms_set" + ] + } + } + }, + "required": true + }, "responses": { "200": { - "$ref": "#/components/responses/security.create_service_token#200" + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/components/schemas/_types:Result" + }, + "reload_analyzers_details": { + "$ref": "#/components/schemas/indices.reload_search_analyzers:ReloadDetails" + } + }, + "required": [ + "result", + "reload_analyzers_details" + ] + } + } + } } } - } - }, - "/_security/privilege/{application}/{name}": { - "get": { - "description": "Retrieves application privileges.", + }, + "delete": { + "description": "Deletes a synonym set", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-synonyms-set.html" }, - "operationId": "security.get_privileges#2", + "operationId": "synonyms.delete_synonym#0", "parameters": [ { - "$ref": "#/components/parameters/security.get_privileges#application" - }, - { - "$ref": "#/components/parameters/security.get_privileges#name" + "in": "path", + "name": "id", + "description": "The id of the synonyms set to be deleted", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" } ], "responses": { "200": { - "$ref": "#/components/responses/security.get_privileges#200" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } } } - }, - "delete": { - "description": "Removes application privileges.", + } + }, + "/_synonyms/{set_id}/{rule_id}": { + "get": { + "description": "Retrieves a synonym rule from a synonym set", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-privilege.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-synonym-rule.html" }, - "operationId": "security.delete_privileges#0", + "operationId": "synonyms.get_synonym_rule#0", "parameters": [ { "in": "path", - "name": "application", - "description": "Application name", + "name": "set_id", + "description": "The id of the synonym set to retrieve the synonym rule from", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Name" + "$ref": "#/components/schemas/_types:Id" }, "style": "simple" }, { "in": "path", - "name": "name", - "description": "Privilege name", + "name": "rule_id", + "description": "The id of the synonym rule to retrieve", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Names" + "$ref": "#/components/schemas/_types:Id" }, "style": "simple" - }, - { - "in": "query", - "name": "refresh", - "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" } ], "responses": { @@ -19088,111 +14669,105 @@ "content": { "application/json": { "schema": { - "type": "object", - "additionalProperties": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security.delete_privileges:FoundStatus" - } - } + "$ref": "#/components/schemas/synonyms._types:SynonymRuleRead" } } } } } - } - }, - "/_security/role/{name}": { - "get": { - "description": "Retrieves roles in the native realm.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html" - }, - "operationId": "security.get_role#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.get_role#name" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.get_role#200" - } - } }, "put": { - "description": "Adds and updates roles in the native realm.", + "description": "Creates or updates a synonym rule in a synonym set", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-synonym-rule.html" }, - "operationId": "security.put_role#0", + "operationId": "synonyms.put_synonym_rule#0", "parameters": [ { - "$ref": "#/components/parameters/security.put_role#name" + "in": "path", + "name": "set_id", + "description": "The id of the synonym set to be updated with the synonym rule", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" }, { - "$ref": "#/components/parameters/security.put_role#refresh" + "in": "path", + "name": "rule_id", + "description": "The id of the synonym rule to be updated or created", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" } ], "requestBody": { - "$ref": "#/components/requestBodies/security.put_role" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.put_role#200" - } - } - }, - "post": { - "description": "Adds and updates roles in the native realm.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html" - }, - "operationId": "security.put_role#1", - "parameters": [ - { - "$ref": "#/components/parameters/security.put_role#name" + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "synonyms": { + "type": "array", + "items": { + "$ref": "#/components/schemas/synonyms._types:SynonymString" + } + } + }, + "required": [ + "synonyms" + ] + } + } }, - { - "$ref": "#/components/parameters/security.put_role#refresh" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.put_role" + "required": true }, "responses": { "200": { - "$ref": "#/components/responses/security.put_role#200" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/synonyms._types:SynonymsUpdateResult" + } + } + } } } }, "delete": { - "description": "Removes roles in the native realm.", + "description": "Deletes a synonym rule in a synonym set", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-synonym-rule.html" }, - "operationId": "security.delete_role#0", + "operationId": "synonyms.delete_synonym_rule#0", "parameters": [ { "in": "path", - "name": "name", - "description": "Role name", + "name": "set_id", + "description": "The id of the synonym set to be updated", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Name" + "$ref": "#/components/schemas/_types:Id" }, "style": "simple" }, { - "in": "query", - "name": "refresh", - "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "in": "path", + "name": "rule_id", + "description": "The id of the synonym rule to be deleted", + "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Refresh" + "$ref": "#/components/schemas/_types:Id" }, - "style": "form" + "style": "simple" } ], "responses": { @@ -19201,15 +14776,7 @@ "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "found": { - "type": "boolean" - } - }, - "required": [ - "found" - ] + "$ref": "#/components/schemas/synonyms._types:SynonymsUpdateResult" } } } @@ -19217,95 +14784,31 @@ } } }, - "/_security/role_mapping/{name}": { + "/_synonyms": { "get": { - "description": "Retrieves role mappings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role-mapping.html" - }, - "operationId": "security.get_role_mapping#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.get_role_mapping#name" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.get_role_mapping#200" - } - } - }, - "put": { - "description": "Creates and updates role mappings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role-mapping.html" - }, - "operationId": "security.put_role_mapping#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.put_role_mapping#name" - }, - { - "$ref": "#/components/parameters/security.put_role_mapping#refresh" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.put_role_mapping" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.put_role_mapping#200" - } - } - }, - "post": { - "description": "Creates and updates role mappings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role-mapping.html" - }, - "operationId": "security.put_role_mapping#1", - "parameters": [ - { - "$ref": "#/components/parameters/security.put_role_mapping#name" - }, - { - "$ref": "#/components/parameters/security.put_role_mapping#refresh" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.put_role_mapping" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.put_role_mapping#200" - } - } - }, - "delete": { - "description": "Removes role mappings.", + "description": "Retrieves a summary of all defined synonym sets", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role-mapping.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-synonyms-sets.html" }, - "operationId": "security.delete_role_mapping#0", + "operationId": "synonyms.get_synonyms_sets#0", "parameters": [ { - "in": "path", - "name": "name", - "description": "Role-mapping name", - "required": true, + "in": "query", + "name": "from", + "description": "Starting offset", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Name" + "type": "number" }, - "style": "simple" + "style": "form" }, { "in": "query", - "name": "refresh", - "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "name": "size", + "description": "specifies a max number of results to get", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Refresh" + "type": "number" }, "style": "form" } @@ -19318,12 +14821,19 @@ "schema": { "type": "object", "properties": { - "found": { - "type": "boolean" + "count": { + "type": "number" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/synonyms.get_synonyms_sets:SynonymsSetItem" + } } }, "required": [ - "found" + "count", + "results" ] } } @@ -19332,454 +14842,381 @@ } } }, - "/_security/profile/{uid}/_disable": { - "put": { - "description": "Disables a user profile so it's not visible in user profile searches.", + "/{index}/_terms_enum": { + "get": { + "description": "The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-disable-user-profile.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html" }, - "operationId": "security.disable_user_profile#0", + "operationId": "terms_enum#0", "parameters": [ { - "$ref": "#/components/parameters/security.disable_user_profile#uid" - }, - { - "$ref": "#/components/parameters/security.disable_user_profile#refresh" + "$ref": "#/components/parameters/terms_enum#index" } ], + "requestBody": { + "$ref": "#/components/requestBodies/terms_enum" + }, "responses": { "200": { - "$ref": "#/components/responses/security.disable_user_profile#200" + "$ref": "#/components/responses/terms_enum#200" } } }, "post": { - "description": "Disables a user profile so it's not visible in user profile searches.", + "description": "The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-disable-user-profile.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html" }, - "operationId": "security.disable_user_profile#1", + "operationId": "terms_enum#1", "parameters": [ { - "$ref": "#/components/parameters/security.disable_user_profile#uid" - }, - { - "$ref": "#/components/parameters/security.disable_user_profile#refresh" + "$ref": "#/components/parameters/terms_enum#index" } ], + "requestBody": { + "$ref": "#/components/requestBodies/terms_enum" + }, "responses": { "200": { - "$ref": "#/components/responses/security.disable_user_profile#200" + "$ref": "#/components/responses/terms_enum#200" } } } }, - "/_security/profile/{uid}/_enable": { - "put": { - "description": "Enables a user profile so it's visible in user profile searches.", + "/{index}/_termvectors/{id}": { + "get": { + "description": "Returns information and statistics about terms in the fields of a particular document.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-enable-user-profile.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" }, - "operationId": "security.enable_user_profile#0", + "operationId": "termvectors#0", "parameters": [ { - "$ref": "#/components/parameters/security.enable_user_profile#uid" + "$ref": "#/components/parameters/termvectors#index" + }, + { + "$ref": "#/components/parameters/termvectors#id" + }, + { + "$ref": "#/components/parameters/termvectors#fields" + }, + { + "$ref": "#/components/parameters/termvectors#field_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#offsets" + }, + { + "$ref": "#/components/parameters/termvectors#payloads" + }, + { + "$ref": "#/components/parameters/termvectors#positions" + }, + { + "$ref": "#/components/parameters/termvectors#preference" + }, + { + "$ref": "#/components/parameters/termvectors#realtime" + }, + { + "$ref": "#/components/parameters/termvectors#routing" + }, + { + "$ref": "#/components/parameters/termvectors#term_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#version" }, { - "$ref": "#/components/parameters/security.enable_user_profile#refresh" + "$ref": "#/components/parameters/termvectors#version_type" } ], + "requestBody": { + "$ref": "#/components/requestBodies/termvectors" + }, "responses": { "200": { - "$ref": "#/components/responses/security.enable_user_profile#200" + "$ref": "#/components/responses/termvectors#200" } } }, "post": { - "description": "Enables a user profile so it's visible in user profile searches.", + "description": "Returns information and statistics about terms in the fields of a particular document.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-enable-user-profile.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" }, - "operationId": "security.enable_user_profile#1", + "operationId": "termvectors#1", "parameters": [ { - "$ref": "#/components/parameters/security.enable_user_profile#uid" + "$ref": "#/components/parameters/termvectors#index" + }, + { + "$ref": "#/components/parameters/termvectors#id" + }, + { + "$ref": "#/components/parameters/termvectors#fields" + }, + { + "$ref": "#/components/parameters/termvectors#field_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#offsets" + }, + { + "$ref": "#/components/parameters/termvectors#payloads" + }, + { + "$ref": "#/components/parameters/termvectors#positions" + }, + { + "$ref": "#/components/parameters/termvectors#preference" + }, + { + "$ref": "#/components/parameters/termvectors#realtime" + }, + { + "$ref": "#/components/parameters/termvectors#routing" + }, + { + "$ref": "#/components/parameters/termvectors#term_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#version" }, { - "$ref": "#/components/parameters/security.enable_user_profile#refresh" + "$ref": "#/components/parameters/termvectors#version_type" } ], - "responses": { - "200": { - "$ref": "#/components/responses/security.enable_user_profile#200" - } - } - } - }, - "/_security/privilege/_builtin": { - "get": { - "description": "Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-builtin-privileges.html" + "requestBody": { + "$ref": "#/components/requestBodies/termvectors" }, - "operationId": "security.get_builtin_privileges#0", "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "cluster": { - "type": "array", - "items": { - "type": "string" - } - }, - "index": { - "$ref": "#/components/schemas/_types:Indices" - } - }, - "required": [ - "cluster", - "index" - ] - } - } - } + "$ref": "#/components/responses/termvectors#200" } } } }, - "/_security/privilege": { + "/{index}/_termvectors": { "get": { - "description": "Retrieves application privileges.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html" - }, - "operationId": "security.get_privileges#0", - "responses": { - "200": { - "$ref": "#/components/responses/security.get_privileges#200" - } - } - }, - "put": { - "description": "Adds or updates application privileges.", + "description": "Returns information and statistics about terms in the fields of a particular document.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-privileges.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" }, - "operationId": "security.put_privileges#0", + "operationId": "termvectors#2", "parameters": [ { - "$ref": "#/components/parameters/security.put_privileges#refresh" + "$ref": "#/components/parameters/termvectors#index" + }, + { + "$ref": "#/components/parameters/termvectors#fields" + }, + { + "$ref": "#/components/parameters/termvectors#field_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#offsets" + }, + { + "$ref": "#/components/parameters/termvectors#payloads" + }, + { + "$ref": "#/components/parameters/termvectors#positions" + }, + { + "$ref": "#/components/parameters/termvectors#preference" + }, + { + "$ref": "#/components/parameters/termvectors#realtime" + }, + { + "$ref": "#/components/parameters/termvectors#routing" + }, + { + "$ref": "#/components/parameters/termvectors#term_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#version" + }, + { + "$ref": "#/components/parameters/termvectors#version_type" } ], "requestBody": { - "$ref": "#/components/requestBodies/security.put_privileges" + "$ref": "#/components/requestBodies/termvectors" }, "responses": { "200": { - "$ref": "#/components/responses/security.put_privileges#200" + "$ref": "#/components/responses/termvectors#200" } } }, "post": { - "description": "Adds or updates application privileges.", + "description": "Returns information and statistics about terms in the fields of a particular document.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-privileges.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" }, - "operationId": "security.put_privileges#1", + "operationId": "termvectors#3", "parameters": [ { - "$ref": "#/components/parameters/security.put_privileges#refresh" + "$ref": "#/components/parameters/termvectors#index" + }, + { + "$ref": "#/components/parameters/termvectors#fields" + }, + { + "$ref": "#/components/parameters/termvectors#field_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#offsets" + }, + { + "$ref": "#/components/parameters/termvectors#payloads" + }, + { + "$ref": "#/components/parameters/termvectors#positions" + }, + { + "$ref": "#/components/parameters/termvectors#preference" + }, + { + "$ref": "#/components/parameters/termvectors#realtime" + }, + { + "$ref": "#/components/parameters/termvectors#routing" + }, + { + "$ref": "#/components/parameters/termvectors#term_statistics" + }, + { + "$ref": "#/components/parameters/termvectors#version" + }, + { + "$ref": "#/components/parameters/termvectors#version_type" } ], "requestBody": { - "$ref": "#/components/requestBodies/security.put_privileges" + "$ref": "#/components/requestBodies/termvectors" }, "responses": { "200": { - "$ref": "#/components/responses/security.put_privileges#200" + "$ref": "#/components/responses/termvectors#200" } } } }, - "/_security/privilege/{application}": { + "/_transform/{transform_id}": { "get": { - "description": "Retrieves application privileges.", + "description": "Retrieves configuration information for transforms.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html" }, - "operationId": "security.get_privileges#1", + "operationId": "transform.get_transform#0", "parameters": [ { - "$ref": "#/components/parameters/security.get_privileges#application" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.get_privileges#200" - } - } - } - }, - "/_security/role": { - "get": { - "description": "Retrieves roles in the native realm.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html" - }, - "operationId": "security.get_role#1", - "responses": { - "200": { - "$ref": "#/components/responses/security.get_role#200" - } - } - } - }, - "/_security/role_mapping": { - "get": { - "description": "Retrieves role mappings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role-mapping.html" - }, - "operationId": "security.get_role_mapping#1", - "responses": { - "200": { - "$ref": "#/components/responses/security.get_role_mapping#200" - } - } - } - }, - "/_security/service/{namespace}/{service}": { - "get": { - "description": "Retrieves information about service accounts.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-service-accounts.html" - }, - "operationId": "security.get_service_accounts#0", - "parameters": [ + "$ref": "#/components/parameters/transform.get_transform#transform_id" + }, { - "$ref": "#/components/parameters/security.get_service_accounts#namespace" + "$ref": "#/components/parameters/transform.get_transform#allow_no_match" }, { - "$ref": "#/components/parameters/security.get_service_accounts#service" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.get_service_accounts#200" - } - } - } - }, - "/_security/service/{namespace}": { - "get": { - "description": "Retrieves information about service accounts.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-service-accounts.html" - }, - "operationId": "security.get_service_accounts#1", - "parameters": [ + "$ref": "#/components/parameters/transform.get_transform#from" + }, { - "$ref": "#/components/parameters/security.get_service_accounts#namespace" + "$ref": "#/components/parameters/transform.get_transform#size" + }, + { + "$ref": "#/components/parameters/transform.get_transform#exclude_generated" } ], "responses": { "200": { - "$ref": "#/components/responses/security.get_service_accounts#200" - } - } - } - }, - "/_security/service": { - "get": { - "description": "Retrieves information about service accounts.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-service-accounts.html" - }, - "operationId": "security.get_service_accounts#2", - "responses": { - "200": { - "$ref": "#/components/responses/security.get_service_accounts#200" + "$ref": "#/components/responses/transform.get_transform#200" } } - } - }, - "/_security/service/{namespace}/{service}/credential": { - "get": { - "description": "Retrieves information of all service credentials for a service account.", + }, + "put": { + "description": "Instantiates a transform.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-service-credentials.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html" }, - "operationId": "security.get_service_credentials#0", + "operationId": "transform.put_transform#0", "parameters": [ { "in": "path", - "name": "namespace", - "description": "Name of the namespace.", + "name": "transform_id", + "description": "Identifier for the transform. This identifier can contain lowercase alphanumeric characters (a-z and 0-9),\nhyphens, and underscores. It has a 64 character limit and must start and end with alphanumeric characters.", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Namespace" + "$ref": "#/components/schemas/_types:Id" }, "style": "simple" }, { - "in": "path", - "name": "service", - "description": "Name of the service name.", - "required": true, + "in": "query", + "name": "defer_validation", + "description": "When the transform is created, a series of validations occur to ensure its success. For example, there is a\ncheck for the existence of the source indices and a check that the destination index is not part of the source\nindex pattern. You can use this parameter to skip the checks, for example when the source index does not exist\nuntil after the transform is created. The validations are always run when you start the transform, however, with\nthe exception of privilege checks.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Name" + "type": "boolean" }, - "style": "simple" + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" } ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "service_account": { - "type": "string" - }, - "count": { - "type": "number" - }, - "tokens": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:Metadata" - } - }, - "nodes_credentials": { - "$ref": "#/components/schemas/security.get_service_credentials:NodesCredentials" - } - }, - "required": [ - "service_account", - "count", - "tokens", - "nodes_credentials" - ] - } - } - } - } - } - } - }, - "/_security/oauth2/token": { - "post": { - "description": "Creates a bearer token for access without requiring basic authentication.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-token.html" - }, - "operationId": "security.get_token#0", "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { - "grant_type": { - "$ref": "#/components/schemas/security.get_token:AccessTokenGrantType" + "dest": { + "$ref": "#/components/schemas/transform._types:Destination" }, - "scope": { + "description": { + "description": "Free text description of the transform.", "type": "string" }, - "password": { - "$ref": "#/components/schemas/_types:Password" + "frequency": { + "$ref": "#/components/schemas/_types:Duration" }, - "kerberos_ticket": { - "type": "string" + "latest": { + "$ref": "#/components/schemas/transform._types:Latest" }, - "refresh_token": { - "type": "string" + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" }, - "username": { - "$ref": "#/components/schemas/_types:Username" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "access_token": { - "type": "string" - }, - "expires_in": { - "type": "number" - }, - "scope": { - "type": "string" - }, - "type": { - "type": "string" - }, - "refresh_token": { - "type": "string" - }, - "kerberos_authentication_response_token": { - "type": "string" - }, - "authentication": { - "$ref": "#/components/schemas/security.get_token:AuthenticatedUser" - } + "pivot": { + "$ref": "#/components/schemas/transform._types:Pivot" }, - "required": [ - "access_token", - "expires_in", - "type", - "authentication" - ] - } - } - } - } - } - }, - "delete": { - "description": "Invalidates one or more access tokens or refresh tokens.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-token.html" - }, - "operationId": "security.invalidate_token#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "token": { - "type": "string" + "retention_policy": { + "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" }, - "refresh_token": { - "type": "string" + "settings": { + "$ref": "#/components/schemas/transform._types:Settings" }, - "realm_name": { - "$ref": "#/components/schemas/_types:Name" + "source": { + "$ref": "#/components/schemas/transform._types:Source" }, - "username": { - "$ref": "#/components/schemas/_types:Username" + "sync": { + "$ref": "#/components/schemas/transform._types:SyncContainer" } - } + }, + "required": [ + "dest", + "source" + ] } } }, @@ -19791,78 +15228,48 @@ "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "error_count": { - "type": "number" - }, - "error_details": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ErrorCause" - } - }, - "invalidated_tokens": { - "type": "number" - }, - "previously_invalidated_tokens": { - "type": "number" - } - }, - "required": [ - "error_count", - "invalidated_tokens", - "previously_invalidated_tokens" - ] + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" } } } } } - } - }, - "/_security/user/_privileges": { - "get": { - "description": "Retrieves security privileges for the logged in user.", + }, + "delete": { + "description": "Deletes an existing transform.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user-privileges.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-transform.html" }, - "operationId": "security.get_user_privileges#0", + "operationId": "transform.delete_transform#0", "parameters": [ { - "in": "query", - "name": "application", - "description": "The name of the application. Application privileges are always associated with exactly one application. If you do not specify this parameter, the API returns information about all privileges for all applications.", + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform.", + "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Name" + "$ref": "#/components/schemas/_types:Id" }, - "style": "form" + "style": "simple" }, { "in": "query", - "name": "priviledge", - "description": "The name of the privilege. If you do not specify this parameter, the API returns information about all privileges for the requested application.", + "name": "force", + "description": "If this value is false, the transform must be stopped before it can be deleted. If true, the transform is\ndeleted regardless of its current state.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Name" + "type": "boolean" }, "style": "form" }, { "in": "query", - "name": "username", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Name" - }, - { - "nullable": true, - "type": "string" - } - ] + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" } @@ -19873,46 +15280,7 @@ "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "applications": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:ApplicationPrivileges" - } - }, - "cluster": { - "type": "array", - "items": { - "type": "string" - } - }, - "global": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:GlobalPrivilege" - } - }, - "indices": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:UserIndicesPrivileges" - } - }, - "run_as": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "applications", - "cluster", - "global", - "indices", - "run_as" - ] + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" } } } @@ -19920,52 +15288,90 @@ } } }, - "/_security/profile/{uid}": { + "/_transform": { + "get": { + "description": "Retrieves configuration information for transforms.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html" + }, + "operationId": "transform.get_transform#1", + "parameters": [ + { + "$ref": "#/components/parameters/transform.get_transform#allow_no_match" + }, + { + "$ref": "#/components/parameters/transform.get_transform#from" + }, + { + "$ref": "#/components/parameters/transform.get_transform#size" + }, + { + "$ref": "#/components/parameters/transform.get_transform#exclude_generated" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/transform.get_transform#200" + } + } + } + }, + "/_transform/{transform_id}/_stats": { "get": { - "description": "Retrieves user profiles for the given unique ID(s).", + "description": "Retrieves usage information for transforms.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user-profile.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform-stats.html" }, - "operationId": "security.get_user_profile#0", + "operationId": "transform.get_transform_stats#0", "parameters": [ { "in": "path", - "name": "uid", - "description": "A unique identifier for the user profile.", + "name": "transform_id", + "description": "Identifier for the transform. It can be a transform identifier or a\nwildcard expression. You can get information for all transforms by using\n`_all`, by specifying `*` as the ``, or by omitting the\n``.", "required": true, "deprecated": false, "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/security._types:UserProfileId" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:UserProfileId" - } - } - ] + "$ref": "#/components/schemas/_types:Names" }, "style": "simple" }, { "in": "query", - "name": "data", - "description": "List of filters for the `data` field of the profile document.\nTo return all content use `data=*`. To return a subset of content\nuse `data=` to retrieve content nested under the specified ``.\nBy default returns no `data` content.", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no transforms that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf this parameter is false, the request returns a 404 status code when\nthere are no matches or only partial matches.", "deprecated": false, "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "from", + "description": "Skips the specified number of transforms.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of transforms to obtain.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Controls the time to wait for the stats", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" } @@ -19978,18 +15384,19 @@ "schema": { "type": "object", "properties": { - "profiles": { + "count": { + "type": "number" + }, + "transforms": { "type": "array", "items": { - "$ref": "#/components/schemas/security._types:UserProfileWithMetadata" + "$ref": "#/components/schemas/transform.get_transform_stats:TransformStats" } - }, - "errors": { - "$ref": "#/components/schemas/security.get_user_profile:GetUserProfileErrors" } }, "required": [ - "profiles" + "count", + "transforms" ] } } @@ -19998,462 +15405,231 @@ } } }, - "/_security/api_key/grant": { - "post": { - "description": "Creates an API key on behalf of another user.", + "/_transform/{transform_id}/_preview": { + "get": { + "description": "Previews a transform.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-grant-api-key.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" }, - "operationId": "security.grant_api_key#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "api_key": { - "$ref": "#/components/schemas/security.grant_api_key:GrantApiKey" - }, - "grant_type": { - "$ref": "#/components/schemas/security.grant_api_key:ApiKeyGrantType" - }, - "access_token": { - "description": "The user’s access token.\nIf you specify the `access_token` grant type, this parameter is required.\nIt is not valid with other grant types.", - "type": "string" - }, - "username": { - "$ref": "#/components/schemas/_types:Username" - }, - "password": { - "$ref": "#/components/schemas/_types:Password" - }, - "run_as": { - "$ref": "#/components/schemas/_types:Username" - } - }, - "required": [ - "api_key", - "grant_type" - ] - } - } + "operationId": "transform.preview_transform#0", + "parameters": [ + { + "$ref": "#/components/parameters/transform.preview_transform#transform_id" }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "api_key": { - "type": "string" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "expiration": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "encoded": { - "type": "string" - } - }, - "required": [ - "api_key", - "id", - "name", - "encoded" - ] - } - } - } + { + "$ref": "#/components/parameters/transform.preview_transform#timeout" } - } - } - }, - "/_security/user/_has_privileges": { - "get": { - "description": "Determines whether the specified user has a specified list of privileges.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html" - }, - "operationId": "security.has_privileges#0", + ], "requestBody": { - "$ref": "#/components/requestBodies/security.has_privileges" + "$ref": "#/components/requestBodies/transform.preview_transform" }, "responses": { "200": { - "$ref": "#/components/responses/security.has_privileges#200" + "$ref": "#/components/responses/transform.preview_transform#200" } } }, "post": { - "description": "Determines whether the specified user has a specified list of privileges.", + "description": "Previews a transform.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" }, - "operationId": "security.has_privileges#1", + "operationId": "transform.preview_transform#1", + "parameters": [ + { + "$ref": "#/components/parameters/transform.preview_transform#transform_id" + }, + { + "$ref": "#/components/parameters/transform.preview_transform#timeout" + } + ], "requestBody": { - "$ref": "#/components/requestBodies/security.has_privileges" + "$ref": "#/components/requestBodies/transform.preview_transform" }, "responses": { "200": { - "$ref": "#/components/responses/security.has_privileges#200" + "$ref": "#/components/responses/transform.preview_transform#200" } } } }, - "/_security/user/{user}/_has_privileges": { + "/_transform/_preview": { "get": { - "description": "Determines whether the specified user has a specified list of privileges.", + "description": "Previews a transform.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" }, - "operationId": "security.has_privileges#2", + "operationId": "transform.preview_transform#2", "parameters": [ { - "$ref": "#/components/parameters/security.has_privileges#user" + "$ref": "#/components/parameters/transform.preview_transform#timeout" } ], "requestBody": { - "$ref": "#/components/requestBodies/security.has_privileges" + "$ref": "#/components/requestBodies/transform.preview_transform" }, "responses": { "200": { - "$ref": "#/components/responses/security.has_privileges#200" + "$ref": "#/components/responses/transform.preview_transform#200" } } }, "post": { - "description": "Determines whether the specified user has a specified list of privileges.", + "description": "Previews a transform.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" }, - "operationId": "security.has_privileges#3", + "operationId": "transform.preview_transform#3", "parameters": [ { - "$ref": "#/components/parameters/security.has_privileges#user" + "$ref": "#/components/parameters/transform.preview_transform#timeout" } ], "requestBody": { - "$ref": "#/components/requestBodies/security.has_privileges" + "$ref": "#/components/requestBodies/transform.preview_transform" }, "responses": { "200": { - "$ref": "#/components/responses/security.has_privileges#200" + "$ref": "#/components/responses/transform.preview_transform#200" } } } }, - "/_security/profile/_has_privileges": { - "get": { - "description": "Determines whether the users associated with the specified profile IDs have all the requested privileges.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges-user-profile.html" - }, - "operationId": "security.has_privileges_user_profile#0", - "requestBody": { - "$ref": "#/components/requestBodies/security.has_privileges_user_profile" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.has_privileges_user_profile#200" - } - } - }, + "/_transform/{transform_id}/_reset": { "post": { - "description": "Determines whether the users associated with the specified profile IDs have all the requested privileges.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges-user-profile.html" - }, - "operationId": "security.has_privileges_user_profile#1", - "requestBody": { - "$ref": "#/components/requestBodies/security.has_privileges_user_profile" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.has_privileges_user_profile#200" - } - } - } - }, - "/_security/_query/api_key": { - "get": { - "description": "Retrieves information for API keys using a subset of query DSL", + "description": "Resets an existing transform.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-query-api-key.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/reset-transform.html" }, - "operationId": "security.query_api_keys#0", + "operationId": "transform.reset_transform#0", "parameters": [ { - "$ref": "#/components/parameters/security.query_api_keys#with_limited_by" + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform. This identifier can contain lowercase alphanumeric characters (a-z and 0-9),\nhyphens, and underscores. It has a 64 character limit and must start and end with alphanumeric characters.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "force", + "description": "If this value is `true`, the transform is reset regardless of its current state. If it's `false`, the transform\nmust be stopped before it can be reset.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" } ], - "requestBody": { - "$ref": "#/components/requestBodies/security.query_api_keys" - }, "responses": { "200": { - "$ref": "#/components/responses/security.query_api_keys#200" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } } } - }, + } + }, + "/_transform/{transform_id}/_schedule_now": { "post": { - "description": "Retrieves information for API keys using a subset of query DSL", + "description": "Schedules now a transform.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-query-api-key.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/schedule-now-transform.html" }, - "operationId": "security.query_api_keys#1", + "operationId": "transform.schedule_now_transform#0", "parameters": [ { - "$ref": "#/components/parameters/security.query_api_keys#with_limited_by" + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Controls the time to wait for the scheduling to take place", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" } ], - "requestBody": { - "$ref": "#/components/requestBodies/security.query_api_keys" - }, "responses": { "200": { - "$ref": "#/components/responses/security.query_api_keys#200" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } } } } }, - "/_security/saml/authenticate": { + "/_transform/{transform_id}/_start": { "post": { - "description": "Exchanges a SAML Response message for an Elasticsearch access token and refresh token pair", + "description": "Starts one or more transforms.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-authenticate.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/start-transform.html" }, - "operationId": "security.saml_authenticate#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "description": "The SAML response as it was sent by the user’s browser, usually a Base64 encoded XML document.", - "type": "string" - }, - "ids": { - "$ref": "#/components/schemas/_types:Ids" - }, - "realm": { - "description": "The name of the realm that should authenticate the SAML response. Useful in cases where many SAML realms are defined.", - "type": "string" - } - }, - "required": [ - "content", - "ids" - ] - } - } + "operationId": "transform.start_transform#0", + "parameters": [ + { + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "access_token": { - "type": "string" - }, - "username": { - "type": "string" - }, - "expires_in": { - "type": "number" - }, - "refresh_token": { - "type": "string" - }, - "realm": { - "type": "string" - } - }, - "required": [ - "access_token", - "username", - "expires_in", - "refresh_token", - "realm" - ] - } - } - } - } - } - } - }, - "/_security/saml/complete_logout": { - "post": { - "description": "Verifies the logout response sent from the SAML IdP", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-complete-logout.html" - }, - "operationId": "security.saml_complete_logout#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "realm": { - "description": "The name of the SAML realm in Elasticsearch for which the configuration is used to verify the logout response.", - "type": "string" - }, - "ids": { - "$ref": "#/components/schemas/_types:Ids" - }, - "query_string": { - "description": "If the SAML IdP sends the logout response with the HTTP-Redirect binding, this field must be set to the query string of the redirect URI.", - "type": "string" - }, - "content": { - "description": "If the SAML IdP sends the logout response with the HTTP-Post binding, this field must be set to the value of the SAMLResponse form parameter from the logout response.", - "type": "string" - } - }, - "required": [ - "realm", - "ids" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": {} - } - } - } - } - }, - "/_security/saml/invalidate": { - "post": { - "description": "Consumes a SAML LogoutRequest", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-invalidate.html" - }, - "operationId": "security.saml_invalidate#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acs": { - "description": "The Assertion Consumer Service URL that matches the one of the SAML realm in Elasticsearch that should be used. You must specify either this parameter or the realm parameter.", - "type": "string" - }, - "query_string": { - "description": "The query part of the URL that the user was redirected to by the SAML IdP to initiate the Single Logout.\nThis query should include a single parameter named SAMLRequest that contains a SAML logout request that is deflated and Base64 encoded.\nIf the SAML IdP has signed the logout request, the URL should include two extra parameters named SigAlg and Signature that contain the algorithm used for the signature and the signature value itself.\nIn order for Elasticsearch to be able to verify the IdP’s signature, the value of the query_string field must be an exact match to the string provided by the browser.\nThe client application must not attempt to parse or process the string in any way.", - "type": "string" - }, - "realm": { - "description": "The name of the SAML realm in Elasticsearch the configuration. You must specify either this parameter or the acs parameter.", - "type": "string" - } - }, - "required": [ - "query_string" - ] - } - } + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "invalidated": { - "type": "number" - }, - "realm": { - "type": "string" - }, - "redirect": { - "type": "string" - } - }, - "required": [ - "invalidated", - "realm", - "redirect" - ] - } - } - } + { + "in": "query", + "name": "from", + "description": "Restricts the set of transformed entities to those changed after this time. Relative times like now-30d are supported. Only applicable for continuous transforms.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" } - } - } - }, - "/_security/saml/logout": { - "post": { - "description": "Invalidates an access token and a refresh token that were generated via the SAML Authenticate API", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-logout.html" - }, - "operationId": "security.saml_logout#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "token": { - "description": "The access token that was returned as a response to calling the SAML authenticate API.\nAlternatively, the most recent token that was received after refreshing the original one by using a refresh_token.", - "type": "string" - }, - "refresh_token": { - "description": "The refresh token that was returned as a response to calling the SAML authenticate API.\nAlternatively, the most recent refresh token that was received after refreshing the original access token.", - "type": "string" - } - }, - "required": [ - "token" - ] - } - } - }, - "required": true - }, + ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "redirect": { - "type": "string" - } - }, - "required": [ - "redirect" - ] + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" } } } @@ -20461,85 +15637,74 @@ } } }, - "/_security/saml/prepare": { + "/_transform/{transform_id}/_stop": { "post": { - "description": "Creates a SAML authentication request", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-prepare-authentication.html" - }, - "operationId": "security.saml_prepare_authentication#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acs": { - "description": "The Assertion Consumer Service URL that matches the one of the SAML realms in Elasticsearch.\nThe realm is used to generate the authentication request. You must specify either this parameter or the realm parameter.", - "type": "string" - }, - "realm": { - "description": "The name of the SAML realm in Elasticsearch for which the configuration is used to generate the authentication request.\nYou must specify either this parameter or the acs parameter.", - "type": "string" - }, - "relay_state": { - "description": "A string that will be included in the redirect URL that this API returns as the RelayState query parameter.\nIf the Authentication Request is signed, this value is used as part of the signature computation.", - "type": "string" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "realm": { - "type": "string" - }, - "redirect": { - "type": "string" - } - }, - "required": [ - "id", - "realm", - "redirect" - ] - } - } - } - } - } - } - }, - "/_security/saml/metadata/{realm_name}": { - "get": { - "description": "Generates SAML metadata for the Elastic stack SAML 2.0 Service Provider", + "description": "Stops one or more transforms.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-sp-metadata.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-transform.html" }, - "operationId": "security.saml_service_provider_metadata#0", + "operationId": "transform.stop_transform#0", "parameters": [ { "in": "path", - "name": "realm_name", - "description": "The name of the SAML realm in Elasticsearch.", + "name": "transform_id", + "description": "Identifier for the transform. To stop multiple transforms, use a comma-separated list or a wildcard expression.\nTo stop all transforms, use `_all` or `*` as the identifier.", "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Name" }, "style": "simple" + }, + { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request: contains wildcard expressions and there are no transforms that match;\ncontains the `_all` string or no identifiers and there are no matches; contains wildcard expressions and there\nare only partial matches.\n\nIf it is true, the API returns a successful acknowledgement message when there are no matches. When there are\nonly partial matches, the API stops the appropriate transforms.\n\nIf it is false, the request returns a 404 status code when there are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "force", + "description": "If it is true, the API forcefully stops the transforms.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response when `wait_for_completion` is `true`. If no response is received before the\ntimeout expires, the request returns a timeout exception. However, the request continues processing and\neventually moves the transform to a STOPPED state.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_checkpoint", + "description": "If it is true, the transform does not completely stop until the current checkpoint is completed. If it is false,\nthe transform stops as soon as possible.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_completion", + "description": "If it is true, the API blocks until the indexer state completely stops. If it is false, the API returns\nimmediately and the indexer is stopped asynchronously in the background.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" } ], "responses": { @@ -20548,15 +15713,7 @@ "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "metadata": { - "type": "string" - } - }, - "required": [ - "metadata" - ] + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" } } } @@ -20564,66 +15721,44 @@ } } }, - "/_security/profile/_suggest": { - "get": { - "description": "Get suggestions for user profiles that match specified search criteria.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-suggest-user-profile.html" - }, - "operationId": "security.suggest_user_profiles#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.suggest_user_profiles#data" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.suggest_user_profiles" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.suggest_user_profiles#200" - } - } - }, + "/_transform/{transform_id}/_update": { "post": { - "description": "Get suggestions for user profiles that match specified search criteria.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-suggest-user-profile.html" - }, - "operationId": "security.suggest_user_profiles#1", - "parameters": [ - { - "$ref": "#/components/parameters/security.suggest_user_profiles#data" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.suggest_user_profiles" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.suggest_user_profiles#200" - } - } - } - }, - "/_security/api_key/{id}": { - "put": { - "description": "Updates attributes of an existing API key.", + "description": "Updates certain properties of a transform.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-api-key.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/update-transform.html" }, - "operationId": "security.update_api_key#0", + "operationId": "transform.update_transform#0", "parameters": [ { "in": "path", - "name": "id", - "description": "The ID of the API key to update.", + "name": "transform_id", + "description": "Identifier for the transform.", "required": true, "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Id" }, "style": "simple" + }, + { + "in": "query", + "name": "defer_validation", + "description": "When true, deferrable validations are not run. This behavior may be\ndesired if the source index does not exist until after the transform is\ncreated.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the\ntimeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" } ], "requestBody": { @@ -20632,23 +15767,45 @@ "schema": { "type": "object", "properties": { - "role_descriptors": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html" - }, - "description": "An array of role descriptors for this API key. This parameter is optional. When it is not specified or is an empty array, then the API key will have a point in time snapshot of permissions of the authenticated user. If you supply role descriptors then the resultant permissions would be an intersection of API keys permissions and authenticated user’s permissions thereby limiting the access scope for API keys. The structure of role descriptor is the same as the request for create role API. For more details, see create or update roles API.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:RoleDescriptor" - } + "dest": { + "$ref": "#/components/schemas/transform._types:Destination" }, - "metadata": { + "description": { + "description": "Free text description of the transform.", + "type": "string" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "_meta": { "$ref": "#/components/schemas/_types:Metadata" + }, + "source": { + "$ref": "#/components/schemas/transform._types:Source" + }, + "settings": { + "$ref": "#/components/schemas/transform._types:Settings" + }, + "sync": { + "$ref": "#/components/schemas/transform._types:SyncContainer" + }, + "retention_policy": { + "description": "Defines a retention policy for the transform. Data that meets the defined\ncriteria is deleted from the destination index.", + "oneOf": [ + { + "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" + }, + { + "nullable": true, + "type": "string" + } + ] } } } } - } + }, + "required": true }, "responses": { "200": { @@ -20658,13 +15815,57 @@ "schema": { "type": "object", "properties": { - "updated": { - "description": "If `true`, the API key was updated.\nIf `false`, the API key didn’t change because no change was detected.", - "type": "boolean" + "authorization": { + "$ref": "#/components/schemas/ml._types:TransformAuthorization" + }, + "create_time": { + "type": "number" + }, + "description": { + "type": "string" + }, + "dest": { + "$ref": "#/components/schemas/_global.reindex:Destination" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "latest": { + "$ref": "#/components/schemas/transform._types:Latest" + }, + "pivot": { + "$ref": "#/components/schemas/transform._types:Pivot" + }, + "retention_policy": { + "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" + }, + "settings": { + "$ref": "#/components/schemas/transform._types:Settings" + }, + "source": { + "$ref": "#/components/schemas/_global.reindex:Source" + }, + "sync": { + "$ref": "#/components/schemas/transform._types:SyncContainer" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" } }, "required": [ - "updated" + "create_time", + "description", + "dest", + "id", + "settings", + "source", + "version" ] } } @@ -20673,102 +15874,29 @@ } } }, - "/_security/profile/{uid}/_data": { - "put": { - "description": "Update application specific data for the user profile of the given unique ID.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-user-profile-data.html" - }, - "operationId": "security.update_user_profile_data#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.update_user_profile_data#uid" - }, - { - "$ref": "#/components/parameters/security.update_user_profile_data#if_seq_no" - }, - { - "$ref": "#/components/parameters/security.update_user_profile_data#if_primary_term" - }, - { - "$ref": "#/components/parameters/security.update_user_profile_data#refresh" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.update_user_profile_data" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.update_user_profile_data#200" - } - } - }, + "/{index}/_update/{id}": { "post": { - "description": "Update application specific data for the user profile of the given unique ID.", + "description": "Updates a document with a script or partial document.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-user-profile-data.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html" }, - "operationId": "security.update_user_profile_data#1", + "operationId": "update#0", "parameters": [ { - "$ref": "#/components/parameters/security.update_user_profile_data#uid" - }, - { - "$ref": "#/components/parameters/security.update_user_profile_data#if_seq_no" - }, - { - "$ref": "#/components/parameters/security.update_user_profile_data#if_primary_term" + "in": "path", + "name": "index", + "description": "The name of the index", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" }, - { - "$ref": "#/components/parameters/security.update_user_profile_data#refresh" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.update_user_profile_data" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.update_user_profile_data#200" - } - } - } - }, - "/_ssl/certificates": { - "get": { - "description": "Retrieves information about the X.509 certificates used to encrypt communications in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-ssl.html" - }, - "operationId": "ssl.certificates#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ssl.certificates:CertificateInformation" - } - } - } - } - } - } - } - }, - "/_synonyms/{id}": { - "get": { - "description": "Retrieves a synonym set", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-synonyms-set.html" - }, - "operationId": "synonyms.get_synonym#0", - "parameters": [ { "in": "path", "name": "id", - "description": "\"The id of the synonyms set to be retrieved", + "description": "Document ID", "required": true, "deprecated": false, "schema": { @@ -20778,8 +15906,8 @@ }, { "in": "query", - "name": "from", - "description": "Starting offset for query rules to be retrieved", + "name": "if_primary_term", + "description": "Only perform the operation if the document has this primary term.", "deprecated": false, "schema": { "type": "number" @@ -20788,214 +15916,113 @@ }, { "in": "query", - "name": "size", - "description": "specifies a max number of query rules to retrieve", - "deprecated": false, + "name": "if_seq_no", + "description": "Only perform the operation if the document has this sequence number.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "style": "form" + }, + { + "in": "query", + "name": "lang", + "description": "The script language.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "refresh", + "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search, if 'wait_for' then wait for a refresh to make this operation\nvisible to search, if 'false' do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" + }, + "style": "form" + }, + { + "in": "query", + "name": "require_alias", + "description": "If true, the destination must be an index alias.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "retry_on_conflict", + "description": "Specify how many times should the operation be retried when a conflict occurs.", + "deprecated": false, "schema": { "type": "number" }, "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "synonyms_set": { - "type": "array", - "items": { - "$ref": "#/components/schemas/synonyms._types:SynonymRuleRead" - } - } - }, - "required": [ - "count", - "synonyms_set" - ] - } - } - } - } - } - }, - "put": { - "description": "Creates or updates a synonyms set", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-synonyms-set.html" - }, - "operationId": "synonyms.put_synonym#0", - "parameters": [ + }, { - "in": "path", - "name": "id", - "description": "The id of the synonyms set to be created or updated", - "required": true, + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Id" + "$ref": "#/components/schemas/_types:Routing" }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "synonyms_set": { - "description": "The synonym set information to update", - "type": "array", - "items": { - "$ref": "#/components/schemas/synonyms._types:SynonymRule" - } - } - }, - "required": [ - "synonyms_set" - ] - } - } + "style": "form" }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "result": { - "$ref": "#/components/schemas/_types:Result" - }, - "reload_analyzers_details": { - "$ref": "#/components/schemas/indices.reload_search_analyzers:ReloadDetails" - } - }, - "required": [ - "result", - "reload_analyzers_details" - ] - } - } - } - } - } - }, - "delete": { - "description": "Deletes a synonym set", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-synonyms-set.html" - }, - "operationId": "synonyms.delete_synonym#0", - "parameters": [ { - "in": "path", - "name": "id", - "description": "The id of the synonyms set to be deleted", - "required": true, + "in": "query", + "name": "timeout", + "description": "Period to wait for dynamic mapping updates and active shards.\nThis guarantees Elasticsearch waits for at least the timeout before failing.\nThe actual wait time could be longer, particularly when multiple waits occur.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Id" + "$ref": "#/components/schemas/_types:Duration" }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_synonyms/{set_id}/{rule_id}": { - "get": { - "description": "Retrieves a synonym rule from a synonym set", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-synonym-rule.html" - }, - "operationId": "synonyms.get_synonym_rule#0", - "parameters": [ + "style": "form" + }, { - "in": "path", - "name": "set_id", - "description": "The id of the synonym set to retrieve the synonym rule from", - "required": true, + "in": "query", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operations.\nSet to 'all' or any positive integer up to the total number of shards in the index\n(number_of_replicas+1). Defaults to 1 meaning the primary shard.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Id" + "$ref": "#/components/schemas/_types:WaitForActiveShards" }, - "style": "simple" + "style": "form" }, { - "in": "path", - "name": "rule_id", - "description": "The id of the synonym rule to retrieve", - "required": true, + "in": "query", + "name": "_source", + "description": "Set to false to disable source retrieval. You can also specify a comma-separated\nlist of the fields you want to retrieve.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Id" + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/synonyms._types:SynonymRuleRead" - } - } - } - } - } - }, - "put": { - "description": "Creates or updates a synonym rule in a synonym set", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-synonym-rule.html" - }, - "operationId": "synonyms.put_synonym_rule#0", - "parameters": [ + "style": "form" + }, { - "in": "path", - "name": "set_id", - "description": "The id of the synonym set to be updated with the synonym rule", - "required": true, + "in": "query", + "name": "_source_excludes", + "description": "Specify the source fields you want to exclude.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Id" + "$ref": "#/components/schemas/_types:Fields" }, - "style": "simple" + "style": "form" }, { - "in": "path", - "name": "rule_id", - "description": "The id of the synonym rule to be updated or created", - "required": true, + "in": "query", + "name": "_source_includes", + "description": "Specify the source fields you want to retrieve.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Id" + "$ref": "#/components/schemas/_types:Fields" }, - "style": "simple" + "style": "form" } ], "requestBody": { @@ -21004,16 +16031,33 @@ "schema": { "type": "object", "properties": { - "synonyms": { - "type": "array", - "items": { - "$ref": "#/components/schemas/synonyms._types:SynonymString" - } + "detect_noop": { + "description": "Set to false to disable setting 'result' in the response\nto 'noop' if no change to the document occurred.", + "type": "boolean" + }, + "doc": { + "description": "A partial update to an existing document.", + "type": "object" + }, + "doc_as_upsert": { + "description": "Set to true to use the contents of 'doc' as the value of 'upsert'", + "type": "boolean" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "scripted_upsert": { + "description": "Set to true to execute the script whether or not the document exists.", + "type": "boolean" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "upsert": { + "description": "If the document does not already exist, the contents of 'upsert' are inserted as a\nnew document. If the document exists, the 'script' is executed.", + "type": "object" } - }, - "required": [ - "synonyms" - ] + } } } }, @@ -21025,491 +16069,303 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/synonyms._types:SynonymsUpdateResult" + "$ref": "#/components/schemas/_global.update:UpdateWriteResponseBase" } } } } } - }, - "delete": { - "description": "Deletes a synonym rule in a synonym set", + } + }, + "/{index}/_update_by_query": { + "post": { + "description": "Performs an update on every document in the index without changing the source,\nfor example to pick up a mapping change.", "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-synonym-rule.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html" }, - "operationId": "synonyms.delete_synonym_rule#0", + "operationId": "update_by_query#0", "parameters": [ { "in": "path", - "name": "set_id", - "description": "The id of the synonym set to be updated", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams or indices, omit this parameter or use `*` or `_all`.", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Id" + "$ref": "#/components/schemas/_types:Indices" }, "style": "simple" }, { - "in": "path", - "name": "rule_id", - "description": "The id of the synonym rule to be deleted", - "required": true, + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Id" + "type": "boolean" }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/synonyms._types:SynonymsUpdateResult" - } - } - } - } - } - } - }, - "/_synonyms": { - "get": { - "description": "Retrieves a summary of all defined synonym sets", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-synonyms-sets.html" - }, - "operationId": "synonyms.get_synonyms_sets#0", - "parameters": [ + "style": "form" + }, { "in": "query", - "name": "from", - "description": "Starting offset", + "name": "analyzer", + "description": "Analyzer to use for the query string.", "deprecated": false, "schema": { - "type": "number" + "type": "string" }, "style": "form" }, { "in": "query", - "name": "size", - "description": "specifies a max number of results to get", + "name": "analyze_wildcard", + "description": "If `true`, wildcard and prefix queries are analyzed.", "deprecated": false, "schema": { - "type": "number" + "type": "boolean" }, "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/synonyms.get_synonyms_sets:SynonymsSetItem" - } - } - }, - "required": [ - "count", - "results" - ] - } - } - } - } - } - } - }, - "/{index}/_terms_enum": { - "get": { - "description": "The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html" - }, - "operationId": "terms_enum#0", - "parameters": [ - { - "$ref": "#/components/parameters/terms_enum#index" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/terms_enum" - }, - "responses": { - "200": { - "$ref": "#/components/responses/terms_enum#200" - } - } - }, - "post": { - "description": "The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html" - }, - "operationId": "terms_enum#1", - "parameters": [ - { - "$ref": "#/components/parameters/terms_enum#index" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/terms_enum" - }, - "responses": { - "200": { - "$ref": "#/components/responses/terms_enum#200" - } - } - } - }, - "/{index}/_termvectors/{id}": { - "get": { - "description": "Returns information and statistics about terms in the fields of a particular document.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" - }, - "operationId": "termvectors#0", - "parameters": [ - { - "$ref": "#/components/parameters/termvectors#index" }, { - "$ref": "#/components/parameters/termvectors#id" - }, - { - "$ref": "#/components/parameters/termvectors#fields" + "in": "query", + "name": "conflicts", + "description": "What to do if update by query hits version conflicts: `abort` or `proceed`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Conflicts" + }, + "style": "form" }, { - "$ref": "#/components/parameters/termvectors#field_statistics" + "in": "query", + "name": "default_operator", + "description": "The default operator for query string query: `AND` or `OR`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "style": "form" }, { - "$ref": "#/components/parameters/termvectors#offsets" + "in": "query", + "name": "df", + "description": "Field to use as default where no field prefix is given in the query string.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" }, { - "$ref": "#/components/parameters/termvectors#payloads" + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" }, { - "$ref": "#/components/parameters/termvectors#positions" + "in": "query", + "name": "from", + "description": "Starting offset (default: 0)", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" }, { - "$ref": "#/components/parameters/termvectors#preference" + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, { - "$ref": "#/components/parameters/termvectors#realtime" + "in": "query", + "name": "lenient", + "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, { - "$ref": "#/components/parameters/termvectors#routing" + "in": "query", + "name": "max_docs", + "description": "Maximum number of documents to process.\nDefaults to all documents.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" }, { - "$ref": "#/components/parameters/termvectors#term_statistics" - }, - { - "$ref": "#/components/parameters/termvectors#version" - }, - { - "$ref": "#/components/parameters/termvectors#version_type" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/termvectors" - }, - "responses": { - "200": { - "$ref": "#/components/responses/termvectors#200" - } - } - }, - "post": { - "description": "Returns information and statistics about terms in the fields of a particular document.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" - }, - "operationId": "termvectors#1", - "parameters": [ - { - "$ref": "#/components/parameters/termvectors#index" - }, - { - "$ref": "#/components/parameters/termvectors#id" - }, - { - "$ref": "#/components/parameters/termvectors#fields" - }, - { - "$ref": "#/components/parameters/termvectors#field_statistics" - }, - { - "$ref": "#/components/parameters/termvectors#offsets" - }, - { - "$ref": "#/components/parameters/termvectors#payloads" - }, - { - "$ref": "#/components/parameters/termvectors#positions" - }, - { - "$ref": "#/components/parameters/termvectors#preference" - }, - { - "$ref": "#/components/parameters/termvectors#realtime" - }, - { - "$ref": "#/components/parameters/termvectors#routing" - }, - { - "$ref": "#/components/parameters/termvectors#term_statistics" - }, - { - "$ref": "#/components/parameters/termvectors#version" - }, - { - "$ref": "#/components/parameters/termvectors#version_type" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/termvectors" - }, - "responses": { - "200": { - "$ref": "#/components/responses/termvectors#200" - } - } - } - }, - "/{index}/_termvectors": { - "get": { - "description": "Returns information and statistics about terms in the fields of a particular document.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" - }, - "operationId": "termvectors#2", - "parameters": [ - { - "$ref": "#/components/parameters/termvectors#index" - }, - { - "$ref": "#/components/parameters/termvectors#fields" - }, - { - "$ref": "#/components/parameters/termvectors#field_statistics" - }, - { - "$ref": "#/components/parameters/termvectors#offsets" - }, - { - "$ref": "#/components/parameters/termvectors#payloads" - }, - { - "$ref": "#/components/parameters/termvectors#positions" - }, - { - "$ref": "#/components/parameters/termvectors#preference" - }, - { - "$ref": "#/components/parameters/termvectors#realtime" - }, - { - "$ref": "#/components/parameters/termvectors#routing" - }, - { - "$ref": "#/components/parameters/termvectors#term_statistics" - }, - { - "$ref": "#/components/parameters/termvectors#version" - }, - { - "$ref": "#/components/parameters/termvectors#version_type" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/termvectors" - }, - "responses": { - "200": { - "$ref": "#/components/responses/termvectors#200" - } - } - }, - "post": { - "description": "Returns information and statistics about terms in the fields of a particular document.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" - }, - "operationId": "termvectors#3", - "parameters": [ - { - "$ref": "#/components/parameters/termvectors#index" - }, - { - "$ref": "#/components/parameters/termvectors#fields" - }, - { - "$ref": "#/components/parameters/termvectors#field_statistics" - }, - { - "$ref": "#/components/parameters/termvectors#offsets" - }, - { - "$ref": "#/components/parameters/termvectors#payloads" - }, - { - "$ref": "#/components/parameters/termvectors#positions" - }, - { - "$ref": "#/components/parameters/termvectors#preference" + "in": "query", + "name": "pipeline", + "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" }, { - "$ref": "#/components/parameters/termvectors#realtime" + "in": "query", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" }, { - "$ref": "#/components/parameters/termvectors#routing" + "in": "query", + "name": "refresh", + "description": "If `true`, Elasticsearch refreshes affected shards to make the operation visible to search.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, { - "$ref": "#/components/parameters/termvectors#term_statistics" + "in": "query", + "name": "request_cache", + "description": "If `true`, the request cache is used for this request.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, { - "$ref": "#/components/parameters/termvectors#version" + "in": "query", + "name": "requests_per_second", + "description": "The throttle for this request in sub-requests per second.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" }, - { - "$ref": "#/components/parameters/termvectors#version_type" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/termvectors" - }, - "responses": { - "200": { - "$ref": "#/components/responses/termvectors#200" - } - } - } - }, - "/_text_structure/find_structure": { - "post": { - "description": "Finds the structure of a text file. The text file must contain data that is suitable to be ingested into Elasticsearch.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/find-structure.html" - }, - "operationId": "text_structure.find_structure#0", - "parameters": [ { "in": "query", - "name": "charset", - "description": "The text’s character set. It must be a character set that is supported by the JVM that Elasticsearch uses. For example, UTF-8, UTF-16LE, windows-1252, or EUC-JP. If this parameter is not specified, the structure finder chooses an appropriate character set.", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", "deprecated": false, "schema": { - "type": "string" + "$ref": "#/components/schemas/_types:Routing" }, "style": "form" }, { "in": "query", - "name": "column_names", - "description": "If you have set format to delimited, you can specify the column names in a comma-separated list. If this parameter is not specified, the structure finder uses the column names from the header row of the text. If the text does not have a header role, columns are named \"column1\", \"column2\", \"column3\", etc.", + "name": "scroll", + "description": "Period to retain the search context for scrolling.", "deprecated": false, "schema": { - "type": "string" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, { "in": "query", - "name": "delimiter", - "description": "If you have set format to delimited, you can specify the character used to delimit the values in each row. Only a single character is supported; the delimiter cannot have multiple characters. By default, the API considers the following possibilities: comma, tab, semi-colon, and pipe (|). In this default scenario, all rows must have the same number of fields for the delimited format to be detected. If you specify a delimiter, up to 10% of the rows can have a different number of columns than the first row.", + "name": "scroll_size", + "description": "Size of the scroll request that powers the operation.", "deprecated": false, "schema": { - "type": "string" + "type": "number" }, "style": "form" }, { "in": "query", - "name": "explain", - "description": "If this parameter is set to true, the response includes a field named explanation, which is an array of strings that indicate how the structure finder produced its result.", + "name": "search_timeout", + "description": "Explicit timeout for each search request.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, { "in": "query", - "name": "format", - "description": "The high level structure of the text. Valid values are ndjson, xml, delimited, and semi_structured_text. By default, the API chooses the format. In this default scenario, all rows must have the same number of fields for a delimited format to be detected. If the format is set to delimited and the delimiter is not set, however, the API tolerates up to 5% of rows that have a different number of columns than the first row.", + "name": "search_type", + "description": "The type of the search operation. Available options: `query_then_fetch`, `dfs_query_then_fetch`.", "deprecated": false, "schema": { - "type": "string" + "$ref": "#/components/schemas/_types:SearchType" }, "style": "form" }, { "in": "query", - "name": "grok_pattern", - "description": "If you have set format to semi_structured_text, you can specify a Grok pattern that is used to extract fields from every message in the text. The name of the timestamp field in the Grok pattern must match what is specified in the timestamp_field parameter. If that parameter is not specified, the name of the timestamp field in the Grok pattern must match \"timestamp\". If grok_pattern is not specified, the structure finder creates a Grok pattern.", + "name": "slices", + "description": "The number of slices this task should be divided into.", "deprecated": false, "schema": { - "type": "string" + "$ref": "#/components/schemas/_types:Slices" }, "style": "form" }, { "in": "query", - "name": "has_header_row", - "description": "If you have set format to delimited, you can use this parameter to indicate whether the column names are in the first row of the text. If this parameter is not specified, the structure finder guesses based on the similarity of the first row of the text to other rows.", + "name": "sort", + "description": "A comma-separated list of : pairs.", "deprecated": false, "schema": { - "type": "boolean" + "type": "array", + "items": { + "type": "string" + } }, "style": "form" }, { "in": "query", - "name": "line_merge_size_limit", - "description": "The maximum number of characters in a message when lines are merged to form messages while analyzing semi-structured text. If you have extremely long messages you may need to increase this, but be aware that this may lead to very long processing times if the way to group lines into messages is misdetected.", + "name": "stats", + "description": "Specific `tag` of the request for logging and statistical purposes.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:uint" + "type": "array", + "items": { + "type": "string" + } }, "style": "form" }, { "in": "query", - "name": "lines_to_sample", - "description": "The number of lines to include in the structural analysis, starting from the beginning of the text. The minimum is 2; If the value of this parameter is greater than the number of lines in the text, the analysis proceeds (as long as there are at least two lines in the text) for all of the lines.", + "name": "terminate_after", + "description": "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.\nUse with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:uint" + "type": "number" }, "style": "form" }, { "in": "query", - "name": "quote", - "description": "If you have set format to delimited, you can specify the character used to quote the values in each row if they contain newlines or the delimiter character. Only a single character is supported. If this parameter is not specified, the default value is a double quote (\"). If your delimited text format does not use quoting, a workaround is to set this argument to a character that does not appear anywhere in the sample.", + "name": "timeout", + "description": "Period each update request waits for the following operations: dynamic mapping updates, waiting for active shards.", "deprecated": false, "schema": { - "type": "string" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, { "in": "query", - "name": "should_trim_fields", - "description": "If you have set format to delimited, you can specify whether values between delimiters should have whitespace trimmed from them. If this parameter is not specified and the delimiter is pipe (|), the default value is true. Otherwise, the default value is false.", + "name": "version", + "description": "If `true`, returns the document version as part of a hit.", "deprecated": false, "schema": { "type": "boolean" @@ -21518,31 +16374,31 @@ }, { "in": "query", - "name": "timeout", - "description": "Sets the maximum amount of time that the structure analysis make take. If the analysis is still running when the timeout expires then it will be aborted.", + "name": "version_type", + "description": "Should the document increment the version number (internal) on hit or not (reindex)", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "type": "boolean" }, "style": "form" }, { "in": "query", - "name": "timestamp_field", - "description": "Optional parameter to specify the timestamp field in the file", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Field" + "$ref": "#/components/schemas/_types:WaitForActiveShards" }, "style": "form" }, { "in": "query", - "name": "timestamp_format", - "description": "The Java time format of the timestamp field in the text.", + "name": "wait_for_completion", + "description": "If `true`, the request blocks until the operation is complete.", "deprecated": false, "schema": { - "type": "string" + "type": "boolean" }, "style": "form" } @@ -21551,14 +16407,28 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "type": "object" + "type": "object", + "properties": { + "max_docs": { + "description": "The maximum number of documents to update.", + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "slice": { + "$ref": "#/components/schemas/_types:SlicedScroll" + }, + "conflicts": { + "$ref": "#/components/schemas/_types:Conflicts" + } } } } - }, - "required": true + } }, "responses": { "200": { @@ -21568,2182 +16438,1339 @@ "schema": { "type": "object", "properties": { - "charset": { - "type": "string" - }, - "has_header_row": { - "type": "boolean" - }, - "has_byte_order_marker": { - "type": "boolean" - }, - "format": { - "type": "string" + "batches": { + "type": "number" }, - "field_stats": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/text_structure.find_structure:FieldStat" + "failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:BulkIndexByScrollFailure" } }, - "sample_start": { - "type": "string" + "noops": { + "type": "number" }, - "num_messages_analyzed": { + "deleted": { "type": "number" }, - "mappings": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" + "requests_per_second": { + "type": "number" }, - "quote": { - "type": "string" + "retries": { + "$ref": "#/components/schemas/_types:Retries" }, - "delimiter": { - "type": "string" + "task": { + "$ref": "#/components/schemas/_types:TaskId" }, - "need_client_timezone": { + "timed_out": { "type": "boolean" }, - "num_lines_analyzed": { - "type": "number" - }, - "column_names": { - "type": "array", - "items": { - "type": "string" - } - }, - "explanation": { - "type": "array", - "items": { - "type": "string" - } - }, - "grok_pattern": { - "type": "string" + "took": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" }, - "multiline_start_pattern": { - "type": "string" + "total": { + "type": "number" }, - "exclude_lines_pattern": { - "type": "string" + "updated": { + "type": "number" }, - "java_timestamp_formats": { - "type": "array", - "items": { - "type": "string" - } + "version_conflicts": { + "type": "number" }, - "joda_timestamp_formats": { - "type": "array", - "items": { - "type": "string" - } + "throttled": { + "$ref": "#/components/schemas/_types:Duration" }, - "timestamp_field": { - "$ref": "#/components/schemas/_types:Field" + "throttled_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" }, - "should_trim_fields": { - "type": "boolean" + "throttled_until": { + "$ref": "#/components/schemas/_types:Duration" }, - "ingest_pipeline": { - "$ref": "#/components/schemas/ingest._types:PipelineConfig" + "throttled_until_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" } - }, - "required": [ - "charset", - "has_byte_order_marker", - "format", - "field_stats", - "sample_start", - "num_messages_analyzed", - "mappings", - "need_client_timezone", - "num_lines_analyzed", - "ingest_pipeline" - ] + } } } } } } } - }, - "/_transform/{transform_id}": { - "get": { - "description": "Retrieves configuration information for transforms.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html" - }, - "operationId": "transform.get_transform#0", - "parameters": [ - { - "$ref": "#/components/parameters/transform.get_transform#transform_id" - }, - { - "$ref": "#/components/parameters/transform.get_transform#allow_no_match" - }, - { - "$ref": "#/components/parameters/transform.get_transform#from" - }, - { - "$ref": "#/components/parameters/transform.get_transform#size" - }, - { - "$ref": "#/components/parameters/transform.get_transform#exclude_generated" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/transform.get_transform#200" + } + }, + "components": { + "responses": { + "async_search.submit#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/async_search._types:AsyncSearchDocumentResponseBase" + } } } }, - "put": { - "description": "Instantiates a transform.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html" - }, - "operationId": "transform.put_transform#0", - "parameters": [ - { - "in": "path", - "name": "transform_id", - "description": "Identifier for the transform. This identifier can contain lowercase alphanumeric characters (a-z and 0-9),\nhyphens, and underscores. It has a 64 character limit and must start and end with alphanumeric characters.", - "required": true, - "deprecated": false, + "bulk#200": { + "description": "", + "content": { + "application/json": { "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "defer_validation", - "description": "When the transform is created, a series of validations occur to ensure its success. For example, there is a\ncheck for the existence of the source indices and a check that the destination index is not part of the source\nindex pattern. You can use this parameter to skip the checks, for example when the source index does not exist\nuntil after the transform is created. The validations are always run when you start the transform, however, with\nthe exception of privilege checks.", - "deprecated": false, + "type": "object", + "properties": { + "errors": { + "type": "boolean" + }, + "items": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.bulk:ResponseItem" + }, + "minProperties": 1, + "maxProperties": 1 + } + }, + "took": { + "type": "number" + }, + "ingest_took": { + "type": "number" + } + }, + "required": [ + "errors", + "items", + "took" + ] + } + } + } + }, + "cat.aliases#200": { + "description": "", + "content": { + "application/json": { "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.aliases:AliasesRecord" + } + } + } + } + }, + "cat.component_templates#200": { + "description": "", + "content": { + "application/json": { "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.component_templates:ComponentTemplate" + } + } } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "dest": { - "$ref": "#/components/schemas/transform._types:Destination" - }, - "description": { - "description": "Free text description of the transform.", - "type": "string" - }, - "frequency": { - "$ref": "#/components/schemas/_types:Duration" - }, - "latest": { - "$ref": "#/components/schemas/transform._types:Latest" - }, - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "pivot": { - "$ref": "#/components/schemas/transform._types:Pivot" - }, - "retention_policy": { - "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" - }, - "settings": { - "$ref": "#/components/schemas/transform._types:Settings" - }, - "source": { - "$ref": "#/components/schemas/transform._types:Source" - }, - "sync": { - "$ref": "#/components/schemas/transform._types:SyncContainer" - } - }, - "required": [ - "dest", - "source" - ] + } + }, + "cat.count#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.count:CountRecord" } } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } + } + } + }, + "cat.indices#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.indices:IndicesRecord" } } } } }, - "delete": { - "description": "Deletes an existing transform.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-transform.html" - }, - "operationId": "transform.delete_transform#0", - "parameters": [ - { - "in": "path", - "name": "transform_id", - "description": "Identifier for the transform.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "force", - "description": "If this value is false, the transform must be stopped before it can be deleted. If true, the transform is\ndeleted regardless of its current state.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, + "cat.ml_data_frame_analytics#200": { + "description": "", + "content": { + "application/json": { "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.ml_data_frame_analytics:DataFrameAnalyticsRecord" } } } } - } - }, - "/_transform": { - "get": { - "description": "Retrieves configuration information for transforms.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html" - }, - "operationId": "transform.get_transform#1", - "parameters": [ - { - "$ref": "#/components/parameters/transform.get_transform#allow_no_match" - }, - { - "$ref": "#/components/parameters/transform.get_transform#from" - }, - { - "$ref": "#/components/parameters/transform.get_transform#size" - }, - { - "$ref": "#/components/parameters/transform.get_transform#exclude_generated" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/transform.get_transform#200" + }, + "cat.ml_datafeeds#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.ml_datafeeds:DatafeedsRecord" + } + } } } - } - }, - "/_transform/{transform_id}/_stats": { - "get": { - "description": "Retrieves usage information for transforms.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform-stats.html" - }, - "operationId": "transform.get_transform_stats#0", - "parameters": [ - { - "in": "path", - "name": "transform_id", - "description": "Identifier for the transform. It can be a transform identifier or a\nwildcard expression. You can get information for all transforms by using\n`_all`, by specifying `*` as the ``, or by omitting the\n``.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no transforms that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf this parameter is false, the request returns a 404 status code when\nthere are no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "from", - "description": "Skips the specified number of transforms.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of transforms to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Controls the time to wait for the stats", - "deprecated": false, + }, + "cat.ml_jobs#200": { + "description": "", + "content": { + "application/json": { "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "transforms": { - "type": "array", - "items": { - "$ref": "#/components/schemas/transform.get_transform_stats:TransformStats" - } - } - }, - "required": [ - "count", - "transforms" - ] - } + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.ml_jobs:JobsRecord" } } } } - } - }, - "/_transform/{transform_id}/_preview": { - "get": { - "description": "Previews a transform.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" - }, - "operationId": "transform.preview_transform#0", - "parameters": [ - { - "$ref": "#/components/parameters/transform.preview_transform#transform_id" - }, - { - "$ref": "#/components/parameters/transform.preview_transform#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/transform.preview_transform" - }, - "responses": { - "200": { - "$ref": "#/components/responses/transform.preview_transform#200" + }, + "cat.ml_trained_models#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.ml_trained_models:TrainedModelsRecord" + } + } } } }, - "post": { - "description": "Previews a transform.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" - }, - "operationId": "transform.preview_transform#1", - "parameters": [ - { - "$ref": "#/components/parameters/transform.preview_transform#transform_id" - }, - { - "$ref": "#/components/parameters/transform.preview_transform#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/transform.preview_transform" - }, - "responses": { - "200": { - "$ref": "#/components/responses/transform.preview_transform#200" + "cat.transforms#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat.transforms:TransformsRecord" + } + } } } - } - }, - "/_transform/_preview": { - "get": { - "description": "Previews a transform.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" - }, - "operationId": "transform.preview_transform#2", - "parameters": [ - { - "$ref": "#/components/parameters/transform.preview_transform#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/transform.preview_transform" - }, - "responses": { - "200": { - "$ref": "#/components/responses/transform.preview_transform#200" + }, + "clear_scroll#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "succeeded": { + "type": "boolean" + }, + "num_freed": { + "type": "number" + } + }, + "required": [ + "succeeded", + "num_freed" + ] + } } } }, - "post": { - "description": "Previews a transform.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" - }, - "operationId": "transform.preview_transform#3", - "parameters": [ - { - "$ref": "#/components/parameters/transform.preview_transform#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/transform.preview_transform" - }, - "responses": { - "200": { - "$ref": "#/components/responses/transform.preview_transform#200" + "cluster.get_component_template#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "component_templates": { + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster._types:ComponentTemplate" + } + } + }, + "required": [ + "component_templates" + ] + } } } - } - }, - "/_transform/{transform_id}/_reset": { - "post": { - "description": "Resets an existing transform.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/reset-transform.html" - }, - "operationId": "transform.reset_transform#0", - "parameters": [ - { - "in": "path", - "name": "transform_id", - "description": "Identifier for the transform. This identifier can contain lowercase alphanumeric characters (a-z and 0-9),\nhyphens, and underscores. It has a 64 character limit and must start and end with alphanumeric characters.", - "required": true, - "deprecated": false, + }, + "cluster.put_component_template#200": { + "description": "", + "content": { + "application/json": { "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "force", - "description": "If this value is `true`, the transform is reset regardless of its current state. If it's `false`, the transform\nmust be stopped before it can be reset.", - "deprecated": false, + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "cluster.stats#200": { + "description": "", + "content": { + "application/json": { "schema": { - "type": "boolean" - }, - "style": "form" + "$ref": "#/components/schemas/cluster.stats:StatsResponseBase" + } } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + }, + "count#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" } - } + }, + "required": [ + "count", + "_shards" + ] } } } - } - }, - "/_transform/{transform_id}/_schedule_now": { - "post": { - "description": "Schedules now a transform.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/schedule-now-transform.html" - }, - "operationId": "transform.schedule_now_transform#0", - "parameters": [ - { - "in": "path", - "name": "transform_id", - "description": "Identifier for the transform.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "timeout", - "description": "Controls the time to wait for the scheduling to take place", - "deprecated": false, + }, + "create#200": { + "description": "", + "content": { + "application/json": { "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } + "$ref": "#/components/schemas/_types:WriteResponseBase" } } } - } - }, - "/_transform/{transform_id}/_start": { - "post": { - "description": "Starts one or more transforms.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/start-transform.html" - }, - "operationId": "transform.start_transform#0", - "parameters": [ - { - "in": "path", - "name": "transform_id", - "description": "Identifier for the transform.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "from", - "description": "Restricts the set of transformed entities to those changed after this time. Relative times like now-30d are supported. Only applicable for continuous transforms.", - "deprecated": false, + }, + "enrich.get_policy#200": { + "description": "", + "content": { + "application/json": { "schema": { - "type": "string" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + "type": "object", + "properties": { + "policies": { + "type": "array", + "items": { + "$ref": "#/components/schemas/enrich._types:Summary" + } } - } + }, + "required": [ + "policies" + ] } } } - } - }, - "/_transform/{transform_id}/_stop": { - "post": { - "description": "Stops one or more transforms.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-transform.html" - }, - "operationId": "transform.stop_transform#0", - "parameters": [ - { - "in": "path", - "name": "transform_id", - "description": "Identifier for the transform. To stop multiple transforms, use a comma-separated list or a wildcard expression.\nTo stop all transforms, use `_all` or `*` as the identifier.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request: contains wildcard expressions and there are no transforms that match;\ncontains the `_all` string or no identifiers and there are no matches; contains wildcard expressions and there\nare only partial matches.\n\nIf it is true, the API returns a successful acknowledgement message when there are no matches. When there are\nonly partial matches, the API stops the appropriate transforms.\n\nIf it is false, the request returns a 404 status code when there are no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "force", - "description": "If it is true, the API forcefully stops the transforms.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response when `wait_for_completion` is `true`. If no response is received before the\ntimeout expires, the request returns a timeout exception. However, the request continues processing and\neventually moves the transform to a STOPPED state.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_checkpoint", - "description": "If it is true, the transform does not completely stop until the current checkpoint is completed. If it is false,\nthe transform stops as soon as possible.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_completion", - "description": "If it is true, the API blocks until the indexer state completely stops. If it is false, the API returns\nimmediately and the indexer is stopped asynchronously in the background.", - "deprecated": false, + }, + "field_caps#200": { + "description": "", + "content": { + "application/json": { "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + "type": "object", + "properties": { + "indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "fields": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.field_caps:FieldCapability" + } + } } - } + }, + "required": [ + "indices", + "fields" + ] } } } - } - }, - "/_transform/{transform_id}/_update": { - "post": { - "description": "Updates certain properties of a transform.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/update-transform.html" - }, - "operationId": "transform.update_transform#0", - "parameters": [ - { - "in": "path", - "name": "transform_id", - "description": "Identifier for the transform.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "defer_validation", - "description": "When true, deferrable validations are not run. This behavior may be\ndesired if the source index does not exist until after the transform is\ncreated.", - "deprecated": false, + }, + "graph.explore#200": { + "description": "", + "content": { + "application/json": { "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the\ntimeout expires, the request fails and returns an error.", - "deprecated": false, + "type": "object", + "properties": { + "connections": { + "type": "array", + "items": { + "$ref": "#/components/schemas/graph._types:Connection" + } + }, + "failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ShardFailure" + } + }, + "timed_out": { + "type": "boolean" + }, + "took": { + "type": "number" + }, + "vertices": { + "type": "array", + "items": { + "$ref": "#/components/schemas/graph._types:Vertex" + } + } + }, + "required": [ + "connections", + "failures", + "timed_out", + "took", + "vertices" + ] + } + } + } + }, + "index#200": { + "description": "", + "content": { + "application/json": { "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" + "$ref": "#/components/schemas/_types:WriteResponseBase" + } } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "dest": { - "$ref": "#/components/schemas/transform._types:Destination" - }, - "description": { - "description": "Free text description of the transform.", - "type": "string" - }, - "frequency": { - "$ref": "#/components/schemas/_types:Duration" - }, - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "source": { - "$ref": "#/components/schemas/transform._types:Source" - }, - "settings": { - "$ref": "#/components/schemas/transform._types:Settings" - }, - "sync": { - "$ref": "#/components/schemas/transform._types:SyncContainer" - }, - "retention_policy": { - "description": "Defines a retention policy for the transform. Data that meets the defined\ncriteria is deleted from the destination index.", - "oneOf": [ - { - "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" - }, - { - "nullable": true, - "type": "string" - } - ] + } + }, + "indices.analyze#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "detail": { + "$ref": "#/components/schemas/indices.analyze:AnalyzeDetail" + }, + "tokens": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.analyze:AnalyzeToken" } } } } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "authorization": { - "$ref": "#/components/schemas/ml._types:TransformAuthorization" - }, - "create_time": { - "type": "number" - }, - "description": { - "type": "string" - }, - "dest": { - "$ref": "#/components/schemas/_global.reindex:Destination" - }, - "frequency": { - "$ref": "#/components/schemas/_types:Duration" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "latest": { - "$ref": "#/components/schemas/transform._types:Latest" - }, - "pivot": { - "$ref": "#/components/schemas/transform._types:Pivot" - }, - "retention_policy": { - "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" - }, - "settings": { - "$ref": "#/components/schemas/transform._types:Settings" - }, - "source": { - "$ref": "#/components/schemas/_global.reindex:Source" - }, - "sync": { - "$ref": "#/components/schemas/transform._types:SyncContainer" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - } - }, - "required": [ - "create_time", - "description", - "dest", - "id", - "settings", - "source", - "version" - ] + } + } + }, + "indices.data_streams_stats#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "backing_indices": { + "description": "Total number of backing indices for the selected data streams.", + "type": "number" + }, + "data_stream_count": { + "description": "Total number of selected data streams.", + "type": "number" + }, + "data_streams": { + "description": "Contains statistics for the selected data streams.", + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.data_streams_stats:DataStreamsStatsItem" + } + }, + "total_store_sizes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "total_store_size_bytes": { + "description": "Total size, in bytes, of all shards for the selected data streams.", + "type": "number" } - } + }, + "required": [ + "_shards", + "backing_indices", + "data_stream_count", + "data_streams", + "total_store_size_bytes" + ] } } } - } - }, - "/_transform/_upgrade": { - "post": { - "description": "Upgrades all transforms.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/upgrade-transforms.html" - }, - "operationId": "transform.upgrade_transforms#0", - "parameters": [ - { - "in": "query", - "name": "dry_run", - "description": "When true, the request checks for updates but does not run them.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and\nreturns an error.", - "deprecated": false, + }, + "indices.delete_alias#200": { + "description": "", + "content": { + "application/json": { "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "needs_update": { - "description": "The number of transforms that need to be upgraded.", - "type": "number" - }, - "no_action": { - "description": "The number of transforms that don’t require upgrading.", - "type": "number" - }, - "updated": { - "description": "The number of transforms that have been upgraded.", - "type": "number" - } - }, - "required": [ - "needs_update", - "no_action", - "updated" - ] - } + } + }, + "indices.exists_alias#200": { + "description": "", + "content": { + "application/json": {} + } + }, + "indices.get_alias#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.get_alias:IndexAliases" } } } } - } - }, - "/{index}/_update/{id}": { - "post": { - "description": "Updates a document with a script or partial document.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html" - }, - "operationId": "update#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "The name of the index", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - { - "in": "path", - "name": "id", - "description": "Document ID", - "required": true, - "deprecated": false, + }, + "indices.get_data_stream#200": { + "description": "", + "content": { + "application/json": { "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "if_primary_term", - "description": "Only perform the operation if the document has this primary term.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "if_seq_no", - "description": "Only perform the operation if the document has this sequence number.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "style": "form" - }, - { - "in": "query", - "name": "lang", - "description": "The script language.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "refresh", - "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search, if 'wait_for' then wait for a refresh to make this operation\nvisible to search, if 'false' do nothing with refreshes.", - "deprecated": false, + "type": "object", + "properties": { + "data_streams": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices._types:DataStream" + } + } + }, + "required": [ + "data_streams" + ] + } + } + } + }, + "indices.get_index_template#200": { + "description": "", + "content": { + "application/json": { "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - { - "in": "query", - "name": "require_alias", - "description": "If true, the destination must be an index alias.", - "deprecated": false, + "type": "object", + "properties": { + "index_templates": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.get_index_template:IndexTemplateItem" + } + } + }, + "required": [ + "index_templates" + ] + } + } + } + }, + "indices.get_mapping#200": { + "description": "", + "content": { + "application/json": { "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "retry_on_conflict", - "description": "Specify how many times should the operation be retried when a conflict occurs.", - "deprecated": false, + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.get_mapping:IndexMappingRecord" + } + } + } + } + }, + "indices.get_settings#200": { + "description": "", + "content": { + "application/json": { "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:IndexState" + } + } + } + } + }, + "indices.get_template#200": { + "description": "", + "content": { + "application/json": { "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for dynamic mapping updates and active shards.\nThis guarantees Elasticsearch waits for at least the timeout before failing.\nThe actual wait time could be longer, particularly when multiple waits occur.", - "deprecated": false, + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:TemplateMapping" + } + } + } + } + }, + "indices.put_alias#200": { + "description": "", + "content": { + "application/json": { "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operations.\nSet to 'all' or any positive integer up to the total number of shards in the index\n(number_of_replicas+1). Defaults to 1 meaning the primary shard.", - "deprecated": false, + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "indices.put_index_template#200": { + "description": "", + "content": { + "application/json": { "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - }, - { - "in": "query", - "name": "_source", - "description": "Set to false to disable source retrieval. You can also specify a comma-separated\nlist of the fields you want to retrieve.", - "deprecated": false, + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "indices.put_mapping#200": { + "description": "", + "content": { + "application/json": { "schema": { - "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" - }, - "style": "form" - }, - { - "in": "query", - "name": "_source_excludes", - "description": "Specify the source fields you want to exclude.", - "deprecated": false, + "$ref": "#/components/schemas/_types:IndicesResponseBase" + } + } + } + }, + "indices.put_settings#200": { + "description": "", + "content": { + "application/json": { "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - { - "in": "query", - "name": "_source_includes", - "description": "Specify the source fields you want to retrieve.", - "deprecated": false, + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + }, + "indices.put_template#200": { + "description": "", + "content": { + "application/json": { "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "detect_noop": { - "description": "Set to false to disable setting 'result' in the response\nto 'noop' if no change to the document occurred.", - "type": "boolean" - }, - "doc": { - "description": "A partial update to an existing document.", - "type": "object" - }, - "doc_as_upsert": { - "description": "Set to true to use the contents of 'doc' as the value of 'upsert'", - "type": "boolean" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "scripted_upsert": { - "description": "Set to true to execute the script whether or not the document exists.", + } + }, + "indices.rollover#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "conditions": { + "type": "object", + "additionalProperties": { "type": "boolean" - }, - "_source": { - "$ref": "#/components/schemas/_global.search._types:SourceConfig" - }, - "upsert": { - "description": "If the document does not already exist, the contents of 'upsert' are inserted as a\nnew document. If the document exists, the 'script' is executed.", - "type": "object" } + }, + "dry_run": { + "type": "boolean" + }, + "new_index": { + "type": "string" + }, + "old_index": { + "type": "string" + }, + "rolled_over": { + "type": "boolean" + }, + "shards_acknowledged": { + "type": "boolean" } - } + }, + "required": [ + "acknowledged", + "conditions", + "dry_run", + "new_index", + "old_index", + "rolled_over", + "shards_acknowledged" + ] } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_global.update:UpdateWriteResponseBase" + } + } + }, + "indices.simulate_template#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "overlapping": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.simulate_template:Overlapping" + } + }, + "template": { + "$ref": "#/components/schemas/indices.simulate_template:Template" } - } + }, + "required": [ + "template" + ] } } } - } - }, - "/{index}/_update_by_query": { - "post": { - "description": "Performs an update on every document in the index without changing the source,\nfor example to pick up a mapping change.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html" - }, - "operationId": "update_by_query#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams or indices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "analyzer", - "description": "Analyzer to use for the query string.", - "deprecated": false, + }, + "indices.validate_query#200": { + "description": "", + "content": { + "application/json": { "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "analyze_wildcard", - "description": "If `true`, wildcard and prefix queries are analyzed.", - "deprecated": false, + "type": "object", + "properties": { + "explanations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.validate_query:IndicesValidationExplanation" + } + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "valid": { + "type": "boolean" + }, + "error": { + "type": "string" + } + }, + "required": [ + "valid" + ] + } + } + } + }, + "ingest.get_pipeline#200": { + "description": "", + "content": { + "application/json": { "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "conflicts", - "description": "What to do if update by query hits version conflicts: `abort` or `proceed`.", - "deprecated": false, + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ingest._types:Pipeline" + } + } + } + } + }, + "ingest.simulate#200": { + "description": "", + "content": { + "application/json": { "schema": { - "$ref": "#/components/schemas/_types:Conflicts" - }, - "style": "form" - }, - { - "in": "query", - "name": "default_operator", - "description": "The default operator for query string query: `AND` or `OR`.", - "deprecated": false, + "type": "object", + "properties": { + "docs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest.simulate:PipelineSimulation" + } + } + }, + "required": [ + "docs" + ] + } + } + } + }, + "logstash.get_pipeline#200": { + "description": "", + "content": { + "application/json": { "schema": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "style": "form" - }, - { - "in": "query", - "name": "df", - "description": "Field to use as default where no field prefix is given in the query string.", - "deprecated": false, + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/logstash._types:Pipeline" + } + } + } + } + }, + "mget#200": { + "description": "", + "content": { + "application/json": { "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, + "type": "object", + "properties": { + "docs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.mget:ResponseItem" + } + } + }, + "required": [ + "docs" + ] + } + } + } + }, + "ml.get_calendars#200": { + "description": "", + "content": { + "application/json": { "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "from", - "description": "Starting offset (default: 0)", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "lenient", - "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "max_docs", - "description": "Maximum number of documents to process.\nDefaults to all documents.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "pipeline", - "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "preference", - "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "refresh", - "description": "If `true`, Elasticsearch refreshes affected shards to make the operation visible to search.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "request_cache", - "description": "If `true`, the request cache is used for this request.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "requests_per_second", - "description": "The throttle for this request in sub-requests per second.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - { - "in": "query", - "name": "scroll", - "description": "Period to retain the search context for scrolling.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "scroll_size", - "description": "Size of the scroll request that powers the operation.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "search_timeout", - "description": "Explicit timeout for each search request.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "search_type", - "description": "The type of the search operation. Available options: `query_then_fetch`, `dfs_query_then_fetch`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SearchType" - }, - "style": "form" - }, - { - "in": "query", - "name": "slices", - "description": "The number of slices this task should be divided into.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Slices" - }, - "style": "form" - }, - { - "in": "query", - "name": "sort", - "description": "A comma-separated list of : pairs.", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form" - }, - { - "in": "query", - "name": "stats", - "description": "Specific `tag` of the request for logging and statistical purposes.", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form" - }, - { - "in": "query", - "name": "terminate_after", - "description": "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.\nUse with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period each update request waits for the following operations: dynamic mapping updates, waiting for active shards.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "version", - "description": "If `true`, returns the document version as part of a hit.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "version_type", - "description": "Should the document increment the version number (internal) on hit or not (reindex)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_completion", - "description": "If `true`, the request blocks until the operation is complete.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "max_docs": { - "description": "The maximum number of documents to update.", - "type": "number" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "slice": { - "$ref": "#/components/schemas/_types:SlicedScroll" - }, - "conflicts": { - "$ref": "#/components/schemas/_types:Conflicts" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "batches": { - "type": "number" - }, - "failures": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:BulkIndexByScrollFailure" - } - }, - "noops": { - "type": "number" - }, - "deleted": { - "type": "number" - }, - "requests_per_second": { - "type": "number" - }, - "retries": { - "$ref": "#/components/schemas/_types:Retries" - }, - "task": { - "$ref": "#/components/schemas/_types:TaskId" - }, - "timed_out": { - "type": "boolean" - }, - "took": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "total": { - "type": "number" - }, - "updated": { - "type": "number" - }, - "version_conflicts": { - "type": "number" - }, - "throttled": { - "$ref": "#/components/schemas/_types:Duration" - }, - "throttled_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "throttled_until": { - "$ref": "#/components/schemas/_types:Duration" - }, - "throttled_until_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } + "type": "object", + "properties": { + "calendars": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.get_calendars:Calendar" } + }, + "count": { + "type": "number" } - } - } - } - } - } - }, - "/_xpack": { - "get": { - "description": "Retrieves information about the installed X-Pack features.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html" - }, - "operationId": "xpack.info#0", - "parameters": [ - { - "in": "query", - "name": "categories", - "description": "A comma-separated list of the information categories to include in the response. For example, `build,license,features`.", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form" - }, - { - "in": "query", - "name": "accept_enterprise", - "description": "If this param is used it must be set to true", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "human", - "description": "Defines whether additional human-readable information is included in the response. In particular, it adds descriptions and a tag line.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "build": { - "$ref": "#/components/schemas/xpack.info:BuildInformation" - }, - "features": { - "$ref": "#/components/schemas/xpack.info:Features" - }, - "license": { - "$ref": "#/components/schemas/xpack.info:MinimalLicenseInformation" - }, - "tagline": { - "type": "string" - } - }, - "required": [ - "build", - "features", - "license", - "tagline" - ] - } - } + }, + "required": [ + "calendars", + "count" + ] } } } - } - } - }, - "components": { - "responses": { - "async_search.submit#200": { + }, + "ml.get_data_frame_analytics#200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/async_search._types:AsyncSearchDocumentResponseBase" + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "data_frame_analytics": { + "description": "An array of data frame analytics job resources, which are sorted by the id value in ascending order.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSummary" + } + } + }, + "required": [ + "count", + "data_frame_analytics" + ] } } } }, - "bulk#200": { + "ml.get_data_frame_analytics_stats#200": { "description": "", "content": { "application/json": { "schema": { "type": "object", "properties": { - "errors": { - "type": "boolean" + "count": { + "type": "number" }, - "items": { + "data_frame_analytics": { + "description": "An array of objects that contain usage information for data frame analytics jobs, which are sorted by the id value in ascending order.", "type": "array", "items": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_global.bulk:ResponseItem" - }, - "minProperties": 1, - "maxProperties": 1 + "$ref": "#/components/schemas/ml._types:DataframeAnalytics" } - }, - "took": { - "type": "number" - }, - "ingest_took": { - "type": "number" } }, "required": [ - "errors", - "items", - "took" + "count", + "data_frame_analytics" ] } } } }, - "cat.aliases#200": { + "ml.get_datafeed_stats#200": { "description": "", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.aliases:AliasesRecord" - } + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "datafeeds": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DatafeedStats" + } + } + }, + "required": [ + "count", + "datafeeds" + ] } } } }, - "cat.allocation#200": { + "ml.get_datafeeds#200": { "description": "", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.allocation:AllocationRecord" - } + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "datafeeds": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Datafeed" + } + } + }, + "required": [ + "count", + "datafeeds" + ] } } } }, - "cat.component_templates#200": { + "ml.get_filters#200": { "description": "", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.component_templates:ComponentTemplate" - } + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Filter" + } + } + }, + "required": [ + "count", + "filters" + ] } } } }, - "cat.count#200": { + "ml.get_job_stats#200": { "description": "", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.count:CountRecord" - } - } - } - } - }, - "cat.fielddata#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.fielddata:FielddataRecord" - } + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "jobs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:JobStats" + } + } + }, + "required": [ + "count", + "jobs" + ] } } } }, - "cat.indices#200": { + "ml.get_jobs#200": { "description": "", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.indices:IndicesRecord" - } + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "jobs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Job" + } + } + }, + "required": [ + "count", + "jobs" + ] } } } }, - "cat.ml_data_frame_analytics#200": { + "ml.get_overall_buckets#200": { "description": "", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.ml_data_frame_analytics:DataFrameAnalyticsRecord" - } + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "overall_buckets": { + "description": "Array of overall bucket objects", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:OverallBucket" + } + } + }, + "required": [ + "count", + "overall_buckets" + ] } } } }, - "cat.ml_datafeeds#200": { + "ml.get_trained_models#200": { "description": "", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.ml_datafeeds:DatafeedsRecord" - } + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "trained_model_configs": { + "description": "An array of trained model resources, which are sorted by the model_id value in ascending order.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TrainedModelConfig" + } + } + }, + "required": [ + "count", + "trained_model_configs" + ] } } } }, - "cat.ml_jobs#200": { + "ml.get_trained_models_stats#200": { "description": "", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.ml_jobs:JobsRecord" - } + "type": "object", + "properties": { + "count": { + "description": "The total number of trained model statistics that matched the requested ID patterns. Could be higher than the number of items in the trained_model_stats array as the size of the array is restricted by the supplied size parameter.", + "type": "number" + }, + "trained_model_stats": { + "description": "An array of trained model statistics, which are sorted by the model_id value in ascending order.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TrainedModelStats" + } + } + }, + "required": [ + "count", + "trained_model_stats" + ] } } } }, - "cat.ml_trained_models#200": { + "ml.infer_trained_model#200": { "description": "", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.ml_trained_models:TrainedModelsRecord" - } + "type": "object", + "properties": { + "inference_results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:InferenceResponseResult" + } + } + }, + "required": [ + "inference_results" + ] } } } }, - "cat.segments#200": { + "ml.preview_data_frame_analytics#200": { "description": "", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.segments:SegmentsRecord" - } + "type": "object", + "properties": { + "feature_values": { + "description": "An array of objects that contain feature name and value pairs. The features have been processed and indicate what will be sent to the model for training.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "required": [ + "feature_values" + ] } } } }, - "cat.shards#200": { + "ml.preview_datafeed#200": { "description": "", "content": { "application/json": { "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/cat.shards:ShardsRecord" + "type": "object" } } } } }, - "cat.snapshots#200": { + "msearch#200": { "description": "", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.snapshots:SnapshotsRecord" - } + "$ref": "#/components/schemas/_global.msearch:MultiSearchResult" } } } }, - "cat.templates#200": { + "msearch_template#200": { "description": "", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.templates:TemplatesRecord" - } + "$ref": "#/components/schemas/_global.msearch:MultiSearchResult" } } } }, - "cat.thread_pool#200": { + "mtermvectors#200": { "description": "", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.thread_pool:ThreadPoolRecord" - } + "type": "object", + "properties": { + "docs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.mtermvectors:TermVectorsResult" + } + } + }, + "required": [ + "docs" + ] } } } }, - "cat.transforms#200": { + "put_script#200": { "description": "", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.transforms:TransformsRecord" - } + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" } } } }, - "clear_scroll#200": { + "rank_eval#200": { "description": "", "content": { "application/json": { "schema": { "type": "object", "properties": { - "succeeded": { - "type": "boolean" - }, - "num_freed": { + "metric_score": { + "description": "The overall evaluation quality calculated by the defined metric", "type": "number" + }, + "details": { + "description": "The details section contains one entry for every query in the original requests section, keyed by the search request id", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricDetail" + } + }, + "failures": { + "type": "object", + "additionalProperties": { + "type": "object" + } } }, "required": [ - "succeeded", - "num_freed" + "metric_score", + "details", + "failures" ] } } } }, - "cluster.allocation_explain#200": { + "render_search_template#200": { "description": "", "content": { "application/json": { "schema": { "type": "object", "properties": { - "allocate_explanation": { - "type": "string" - }, - "allocation_delay": { - "$ref": "#/components/schemas/_types:Duration" - }, - "allocation_delay_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "can_allocate": { - "$ref": "#/components/schemas/cluster.allocation_explain:Decision" - }, - "can_move_to_other_node": { - "$ref": "#/components/schemas/cluster.allocation_explain:Decision" - }, - "can_rebalance_cluster": { - "$ref": "#/components/schemas/cluster.allocation_explain:Decision" - }, - "can_rebalance_cluster_decisions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.allocation_explain:AllocationDecision" - } - }, - "can_rebalance_to_other_node": { - "$ref": "#/components/schemas/cluster.allocation_explain:Decision" - }, - "can_remain_decisions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.allocation_explain:AllocationDecision" - } - }, - "can_remain_on_current_node": { - "$ref": "#/components/schemas/cluster.allocation_explain:Decision" - }, - "cluster_info": { - "$ref": "#/components/schemas/cluster.allocation_explain:ClusterInfo" - }, - "configured_delay": { - "$ref": "#/components/schemas/_types:Duration" - }, - "configured_delay_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "current_node": { - "$ref": "#/components/schemas/cluster.allocation_explain:CurrentNode" - }, - "current_state": { - "type": "string" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "move_explanation": { - "type": "string" - }, - "node_allocation_decisions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.allocation_explain:NodeAllocationExplanation" + "template_output": { + "type": "object", + "additionalProperties": { + "type": "object" } - }, - "primary": { - "type": "boolean" - }, - "rebalance_explanation": { - "type": "string" - }, - "remaining_delay": { - "$ref": "#/components/schemas/_types:Duration" - }, - "remaining_delay_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "shard": { - "type": "number" - }, - "unassigned_info": { - "$ref": "#/components/schemas/cluster.allocation_explain:UnassignedInformation" - }, - "note": { - "type": "string" } }, "required": [ - "current_state", - "index", - "primary", - "shard" + "template_output" ] } } } }, - "cluster.get_component_template#200": { + "scripts_painless_execute#200": { "description": "", "content": { "application/json": { "schema": { "type": "object", "properties": { - "component_templates": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster._types:ComponentTemplate" - } + "result": { + "type": "object" } }, "required": [ - "component_templates" + "result" ] } } } }, - "cluster.health#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/cluster.health:HealthResponseBody" - } - } - } - }, - "cluster.put_component_template#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - }, - "cluster.state#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - }, - "cluster.stats#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/cluster.stats:StatsResponseBase" - } - } - } - }, - "count#200": { + "scroll#200": { "description": "", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - } - }, - "required": [ - "count", - "_shards" - ] + "$ref": "#/components/schemas/_global.search:ResponseBody" } } } }, - "create#200": { + "search#200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/_types:WriteResponseBase" + "$ref": "#/components/schemas/_global.search:ResponseBody" } } } }, - "enrich.get_policy#200": { + "search_application.get_behavioral_analytics#200": { "description": "", "content": { "application/json": { "schema": { "type": "object", - "properties": { - "policies": { - "type": "array", - "items": { - "$ref": "#/components/schemas/enrich._types:Summary" - } - } - }, - "required": [ - "policies" - ] + "additionalProperties": { + "$ref": "#/components/schemas/search_application._types:AnalyticsCollection" + } } } } }, - "field_caps#200": { + "search_application.search#200": { "description": "", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "fields": { - "type": "object", - "additionalProperties": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_global.field_caps:FieldCapability" - } - } - } - }, - "required": [ - "indices", - "fields" - ] + "$ref": "#/components/schemas/_global.search:ResponseBody" } } } }, - "fleet.msearch#200": { + "search_mvt#200": { "description": "", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "docs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.msearch:ResponseItem" - } - } - }, - "required": [ - "docs" - ] + "$ref": "#/components/schemas/_types:MapboxVectorTiles" } } } }, - "fleet.search#200": { + "search_template#200": { "description": "", "content": { "application/json": { @@ -23815,81 +17842,75 @@ } } }, - "graph.explore#200": { + "security.create_api_key#200": { "description": "", "content": { "application/json": { "schema": { "type": "object", "properties": { - "connections": { - "type": "array", - "items": { - "$ref": "#/components/schemas/graph._types:Connection" - } + "api_key": { + "description": "Generated API key.", + "type": "string" }, - "failures": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ShardFailure" - } + "expiration": { + "description": "Expiration in milliseconds for the API key.", + "type": "number" }, - "timed_out": { - "type": "boolean" + "id": { + "$ref": "#/components/schemas/_types:Id" }, - "took": { - "type": "number" + "name": { + "$ref": "#/components/schemas/_types:Name" }, - "vertices": { - "type": "array", - "items": { - "$ref": "#/components/schemas/graph._types:Vertex" - } + "encoded": { + "description": "API key credentials which is the base64-encoding of\nthe UTF-8 representation of `id` and `api_key` joined\nby a colon (`:`).", + "type": "string" } }, "required": [ - "connections", - "failures", - "timed_out", - "took", - "vertices" + "api_key", + "id", + "name", + "encoded" ] } } } }, - "index#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:WriteResponseBase" - } - } - } - }, - "indices.analyze#200": { + "security.query_api_keys#200": { "description": "", "content": { "application/json": { "schema": { "type": "object", "properties": { - "detail": { - "$ref": "#/components/schemas/indices.analyze:AnalyzeDetail" + "total": { + "description": "The total number of API keys found.", + "type": "number" }, - "tokens": { + "count": { + "description": "The number of API keys returned in the response.", + "type": "number" + }, + "api_keys": { + "description": "A list of API key information.", "type": "array", "items": { - "$ref": "#/components/schemas/indices.analyze:AnalyzeToken" + "$ref": "#/components/schemas/security._types:ApiKey" } } - } + }, + "required": [ + "total", + "count", + "api_keys" + ] } } } }, - "indices.data_streams_stats#200": { + "terms_enum#200": { "description": "", "content": { "application/json": { @@ -23899,2309 +17920,1225 @@ "_shards": { "$ref": "#/components/schemas/_types:ShardStatistics" }, - "backing_indices": { - "description": "Total number of backing indices for the selected data streams.", - "type": "number" - }, - "data_stream_count": { - "description": "Total number of selected data streams.", - "type": "number" - }, - "data_streams": { - "description": "Contains statistics for the selected data streams.", + "terms": { "type": "array", "items": { - "$ref": "#/components/schemas/indices.data_streams_stats:DataStreamsStatsItem" + "type": "string" } }, - "total_store_sizes": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "total_store_size_bytes": { - "description": "Total size, in bytes, of all shards for the selected data streams.", - "type": "number" + "complete": { + "type": "boolean" } }, "required": [ "_shards", - "backing_indices", - "data_stream_count", - "data_streams", - "total_store_size_bytes" + "terms", + "complete" ] } } } }, - "indices.delete_alias#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - }, - "indices.exists_alias#200": { - "description": "", - "content": { - "application/json": {} - } - }, - "indices.get_alias#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices.get_alias:IndexAliases" - } - } - } - } - }, - "indices.get_data_stream#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data_streams": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices._types:DataStream" - } - } - }, - "required": [ - "data_streams" - ] - } - } - } - }, - "indices.get_index_template#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "index_templates": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.get_index_template:IndexTemplateItem" - } - } - }, - "required": [ - "index_templates" - ] - } - } - } - }, - "indices.get_mapping#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices.get_mapping:IndexMappingRecord" - } - } - } - } - }, - "indices.get_settings#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:IndexState" - } - } - } - } - }, - "indices.get_template#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:TemplateMapping" - } - } - } - } - }, - "indices.put_alias#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - }, - "indices.put_index_template#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - }, - "indices.put_mapping#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:IndicesResponseBase" - } - } - } - }, - "indices.put_settings#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - }, - "indices.put_template#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - }, - "indices.recovery#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices.recovery:RecoveryStatus" - } - } - } - } - }, - "indices.rollover#200": { + "termvectors#200": { "description": "", "content": { "application/json": { "schema": { "type": "object", "properties": { - "acknowledged": { - "type": "boolean" - }, - "conditions": { - "type": "object", - "additionalProperties": { - "type": "boolean" - } - }, - "dry_run": { + "found": { "type": "boolean" }, - "new_index": { - "type": "string" - }, - "old_index": { - "type": "string" - }, - "rolled_over": { - "type": "boolean" + "_id": { + "$ref": "#/components/schemas/_types:Id" }, - "shards_acknowledged": { - "type": "boolean" - } - }, - "required": [ - "acknowledged", - "conditions", - "dry_run", - "new_index", - "old_index", - "rolled_over", - "shards_acknowledged" - ] - } - } - } - }, - "indices.simulate_template#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "overlapping": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.simulate_template:Overlapping" - } + "_index": { + "$ref": "#/components/schemas/_types:IndexName" }, - "template": { - "$ref": "#/components/schemas/indices.simulate_template:Template" - } - }, - "required": [ - "template" - ] - } - } - } - }, - "indices.stats#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "indices": { + "term_vectors": { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/indices.stats:IndicesStats" + "$ref": "#/components/schemas/_global.termvectors:TermVector" } }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" + "took": { + "type": "number" }, - "_all": { - "$ref": "#/components/schemas/indices.stats:IndicesStats" + "_version": { + "$ref": "#/components/schemas/_types:VersionNumber" } }, "required": [ - "_shards", - "_all" + "found", + "_id", + "_index", + "took", + "_version" ] } } } }, - "indices.validate_query#200": { + "transform.get_transform#200": { "description": "", "content": { "application/json": { "schema": { "type": "object", "properties": { - "explanations": { + "count": { + "type": "number" + }, + "transforms": { "type": "array", "items": { - "$ref": "#/components/schemas/indices.validate_query:IndicesValidationExplanation" + "$ref": "#/components/schemas/transform.get_transform:TransformSummary" } - }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "valid": { - "type": "boolean" - }, - "error": { - "type": "string" } }, "required": [ - "valid" + "count", + "transforms" ] } } } }, - "ingest.get_pipeline#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/ingest._types:Pipeline" - } - } - } - } - }, - "ingest.simulate#200": { + "transform.preview_transform#200": { "description": "", "content": { "application/json": { "schema": { "type": "object", "properties": { - "docs": { + "generated_dest_index": { + "$ref": "#/components/schemas/indices._types:IndexState" + }, + "preview": { "type": "array", "items": { - "$ref": "#/components/schemas/ingest.simulate:PipelineSimulation" + "type": "object" } } }, "required": [ - "docs" + "generated_dest_index", + "preview" ] } } } + } + }, + "parameters": { + "async_search.submit#index": { + "in": "path", + "name": "index", + "description": "A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" }, - "logstash.get_pipeline#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/logstash._types:Pipeline" - } - } - } - } + "async_search.submit#wait_for_completion_timeout": { + "in": "query", + "name": "wait_for_completion_timeout", + "description": "Blocks and waits until the search is completed up to a certain timeout.\nWhen the async search completes within the timeout, the response won’t include the ID as the results are not stored in the cluster.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" }, - "mget#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "docs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.mget:ResponseItem" - } - } - }, - "required": [ - "docs" - ] - } - } - } + "async_search.submit#keep_on_completion": { + "in": "query", + "name": "keep_on_completion", + "description": "If `true`, results are stored for later retrieval when the search completes within the `wait_for_completion_timeout`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "ml.delete_expired_data#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "deleted": { - "type": "boolean" - } - }, - "required": [ - "deleted" - ] - } - } - } + "async_search.submit#keep_alive": { + "in": "query", + "name": "keep_alive", + "description": "Specifies how long the async search needs to be available.\nOngoing async searches and any saved search results are deleted after this period.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" }, - "ml.delete_forecast#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } + "async_search.submit#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "ml.explain_data_frame_analytics#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "field_selection": { - "description": "An array of objects that explain selection for each field, sorted by the field names.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsFieldSelection" - } - }, - "memory_estimation": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsMemoryEstimation" - } - }, - "required": [ - "field_selection", - "memory_estimation" - ] - } - } - } + "async_search.submit#allow_partial_search_results": { + "in": "query", + "name": "allow_partial_search_results", + "description": "Indicate if an error should be returned if there is a partial search failure or timeout", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "ml.get_buckets#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "buckets": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:BucketSummary" - } - }, - "count": { - "type": "number" - } - }, - "required": [ - "buckets", - "count" - ] - } - } - } + "async_search.submit#analyzer": { + "in": "query", + "name": "analyzer", + "description": "The analyzer to use for the query string", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" }, - "ml.get_calendars#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "calendars": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml.get_calendars:Calendar" - } - }, - "count": { - "type": "number" - } - }, - "required": [ - "calendars", - "count" - ] - } - } - } + "async_search.submit#analyze_wildcard": { + "in": "query", + "name": "analyze_wildcard", + "description": "Specify whether wildcard and prefix queries should be analyzed (default: false)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "ml.get_categories#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "categories": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:Category" - } - }, - "count": { - "type": "number" - } - }, - "required": [ - "categories", - "count" - ] - } - } - } + "async_search.submit#batched_reduce_size": { + "in": "query", + "name": "batched_reduce_size", + "description": "Affects how often partial results become available, which happens whenever shard results are reduced.\nA partial reduction is performed every time the coordinating node has received a certain number of new shard responses (5 by default).", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" }, - "ml.get_data_frame_analytics#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "data_frame_analytics": { - "description": "An array of data frame analytics job resources, which are sorted by the id value in ascending order.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSummary" - } - } - }, - "required": [ - "count", - "data_frame_analytics" - ] - } - } - } + "async_search.submit#ccs_minimize_roundtrips": { + "in": "query", + "name": "ccs_minimize_roundtrips", + "description": "The default value is the only supported value.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "ml.get_data_frame_analytics_stats#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "data_frame_analytics": { - "description": "An array of objects that contain usage information for data frame analytics jobs, which are sorted by the id value in ascending order.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:DataframeAnalytics" - } - } - }, - "required": [ - "count", - "data_frame_analytics" - ] - } - } - } + "async_search.submit#default_operator": { + "in": "query", + "name": "default_operator", + "description": "The default operator for query string query (AND or OR)", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "style": "form" }, - "ml.get_datafeed_stats#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "datafeeds": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:DatafeedStats" - } - } - }, - "required": [ - "count", - "datafeeds" - ] - } - } - } + "async_search.submit#df": { + "in": "query", + "name": "df", + "description": "The field to use as default where no field prefix is given in the query string", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" }, - "ml.get_datafeeds#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "datafeeds": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:Datafeed" - } - } - }, - "required": [ - "count", - "datafeeds" - ] - } - } - } + "async_search.submit#docvalue_fields": { + "in": "query", + "name": "docvalue_fields", + "description": "A comma-separated list of fields to return as the docvalue representation of a field for each hit", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" }, - "ml.get_filters#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "filters": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:Filter" - } - } - }, - "required": [ - "count", - "filters" - ] - } - } - } + "async_search.submit#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" }, - "ml.get_influencers#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "influencers": { - "description": "Array of influencer objects", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:Influencer" - } - } - }, - "required": [ - "count", - "influencers" - ] - } - } - } + "async_search.submit#explain": { + "in": "query", + "name": "explain", + "description": "Specify whether to return detailed information about score computation as part of a hit", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "ml.get_job_stats#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "jobs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:JobStats" - } - } - }, - "required": [ - "count", - "jobs" - ] - } - } - } + "async_search.submit#ignore_throttled": { + "in": "query", + "name": "ignore_throttled", + "description": "Whether specified concrete, expanded or aliased indices should be ignored when throttled", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "ml.get_jobs#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "jobs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:Job" - } - } - }, - "required": [ - "count", - "jobs" - ] - } - } - } + "async_search.submit#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "ml.get_memory_stats#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_nodes": { - "$ref": "#/components/schemas/_types:NodeStatistics" - }, - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/ml.get_memory_stats:Memory" - } - } - }, - "required": [ - "_nodes", - "cluster_name", - "nodes" - ] - } - } - } + "async_search.submit#lenient": { + "in": "query", + "name": "lenient", + "description": "Specify whether format-based query failures (such as providing text to a numeric field) should be ignored", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "ml.get_model_snapshots#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "model_snapshots": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:ModelSnapshot" - } - } - }, - "required": [ - "count", - "model_snapshots" - ] - } - } - } + "async_search.submit#max_concurrent_shard_requests": { + "in": "query", + "name": "max_concurrent_shard_requests", + "description": "The number of concurrent shard requests per node this search executes concurrently. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" }, - "ml.get_overall_buckets#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "overall_buckets": { - "description": "Array of overall bucket objects", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:OverallBucket" - } - } - }, - "required": [ - "count", - "overall_buckets" - ] - } - } - } + "async_search.submit#min_compatible_shard_node": { + "in": "query", + "name": "min_compatible_shard_node", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "style": "form" }, - "ml.get_records#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "records": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:Anomaly" - } - } - }, - "required": [ - "count", - "records" - ] - } - } - } + "async_search.submit#preference": { + "in": "query", + "name": "preference", + "description": "Specify the node or shard the operation should be performed on (default: random)", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" }, - "ml.get_trained_models#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "trained_model_configs": { - "description": "An array of trained model resources, which are sorted by the model_id value in ascending order.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:TrainedModelConfig" - } - } - }, - "required": [ - "count", - "trained_model_configs" - ] - } - } - } + "async_search.submit#pre_filter_shard_size": { + "in": "query", + "name": "pre_filter_shard_size", + "description": "The default value cannot be changed, which enforces the execution of a pre-filter roundtrip to retrieve statistics from each shard so that the ones that surely don’t hold any document matching the query get skipped.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" }, - "ml.get_trained_models_stats#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "description": "The total number of trained model statistics that matched the requested ID patterns. Could be higher than the number of items in the trained_model_stats array as the size of the array is restricted by the supplied size parameter.", - "type": "number" - }, - "trained_model_stats": { - "description": "An array of trained model statistics, which are sorted by the model_id value in ascending order.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:TrainedModelStats" - } - } - }, - "required": [ - "count", - "trained_model_stats" - ] - } - } - } + "async_search.submit#request_cache": { + "in": "query", + "name": "request_cache", + "description": "Specify if request cache should be used for this request or not, defaults to true", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "ml.infer_trained_model#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "inference_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:InferenceResponseResult" - } - } - }, - "required": [ - "inference_results" - ] - } - } - } + "async_search.submit#routing": { + "in": "query", + "name": "routing", + "description": "A comma-separated list of specific routing values", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" }, - "ml.preview_data_frame_analytics#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "feature_values": { - "description": "An array of objects that contain feature name and value pairs. The features have been processed and indicate what will be sent to the model for training.", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "required": [ - "feature_values" - ] - } - } - } + "async_search.submit#scroll": { + "in": "query", + "name": "scroll", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" }, - "ml.preview_datafeed#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object" - } - } - } - } + "async_search.submit#search_type": { + "in": "query", + "name": "search_type", + "description": "Search operation type", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "style": "form" }, - "msearch#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_global.msearch:MultiSearchResult" - } + "async_search.submit#stats": { + "in": "query", + "name": "stats", + "description": "Specific 'tag' of the request for logging and statistical purposes", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form" }, - "msearch_template#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_global.msearch:MultiSearchResult" - } - } - } + "async_search.submit#stored_fields": { + "in": "query", + "name": "stored_fields", + "description": "A comma-separated list of stored fields to return as part of a hit", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" }, - "mtermvectors#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "docs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.mtermvectors:TermVectorsResult" - } - } - }, - "required": [ - "docs" - ] - } - } - } + "async_search.submit#suggest_field": { + "in": "query", + "name": "suggest_field", + "description": "Specifies which field to use for suggestions.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Field" + }, + "style": "form" }, - "nodes.hot_threads#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "hot_threads": { - "type": "array", - "items": { - "$ref": "#/components/schemas/nodes.hot_threads:HotThread" - } - } - }, - "required": [ - "hot_threads" - ] - } - } - } + "async_search.submit#suggest_mode": { + "in": "query", + "name": "suggest_mode", + "description": "Specify suggest mode", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SuggestMode" + }, + "style": "form" }, - "nodes.info#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/nodes.info:ResponseBase" - } - } - } + "async_search.submit#suggest_size": { + "in": "query", + "name": "suggest_size", + "description": "How many suggestions to return in response", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" }, - "nodes.stats#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/nodes.stats:ResponseBase" - } - } - } + "async_search.submit#suggest_text": { + "in": "query", + "name": "suggest_text", + "description": "The source text for which the suggestions should be returned.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" }, - "nodes.usage#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/nodes.usage:ResponseBase" - } - } - } + "async_search.submit#terminate_after": { + "in": "query", + "name": "terminate_after", + "description": "The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" }, - "put_script#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } + "async_search.submit#timeout": { + "in": "query", + "name": "timeout", + "description": "Explicit operation timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" }, - "rank_eval#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "metric_score": { - "description": "The overall evaluation quality calculated by the defined metric", - "type": "number" - }, - "details": { - "description": "The details section contains one entry for every query in the original requests section, keyed by the search request id", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricDetail" - } - }, - "failures": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - }, - "required": [ - "metric_score", - "details", - "failures" - ] - } - } - } + "async_search.submit#track_total_hits": { + "in": "query", + "name": "track_total_hits", + "description": "Indicate if the number of documents that match the query should be tracked. A number can also be specified, to accurately track the total hit count up to the number.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:TrackHits" + }, + "style": "form" }, - "render_search_template#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "template_output": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - }, - "required": [ - "template_output" - ] - } - } - } + "async_search.submit#track_scores": { + "in": "query", + "name": "track_scores", + "description": "Whether to calculate and return scores even if they are not used for sorting", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "scripts_painless_execute#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "result": { - "type": "object" - } - }, - "required": [ - "result" - ] - } - } - } + "async_search.submit#typed_keys": { + "in": "query", + "name": "typed_keys", + "description": "Specify whether aggregation and suggester names should be prefixed by their respective types in the response", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "scroll#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_global.search:ResponseBody" - } - } - } + "async_search.submit#rest_total_hits_as_int": { + "in": "query", + "name": "rest_total_hits_as_int", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "search#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_global.search:ResponseBody" - } - } - } + "async_search.submit#version": { + "in": "query", + "name": "version", + "description": "Specify whether to return document version as part of a hit", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "search_application.get_behavioral_analytics#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/search_application._types:AnalyticsCollection" - } - } - } - } + "async_search.submit#_source": { + "in": "query", + "name": "_source", + "description": "True or false to return the _source field or not, or a list of fields to return", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" }, - "search_application.search#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_global.search:ResponseBody" - } - } - } + "async_search.submit#_source_excludes": { + "in": "query", + "name": "_source_excludes", + "description": "A list of fields to exclude from the returned _source field", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" }, - "search_mvt#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:MapboxVectorTiles" - } - } - } + "async_search.submit#_source_includes": { + "in": "query", + "name": "_source_includes", + "description": "A list of fields to extract and return from the _source field", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" }, - "search_template#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "took": { - "type": "number" - }, - "timed_out": { - "type": "boolean" - }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "hits": { - "$ref": "#/components/schemas/_global.search._types:HitsMetadata" - }, - "aggregations": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:Aggregate" - } - }, - "_clusters": { - "$ref": "#/components/schemas/_types:ClusterStatistics" - }, - "fields": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "max_score": { - "type": "number" - }, - "num_reduce_phases": { - "type": "number" - }, - "profile": { - "$ref": "#/components/schemas/_global.search._types:Profile" - }, - "pit_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_scroll_id": { - "$ref": "#/components/schemas/_types:ScrollId" - }, - "suggest": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:Suggest" - } - } - }, - "terminated_early": { - "type": "boolean" - } - }, - "required": [ - "took", - "timed_out", - "_shards", - "hits" - ] - } - } - } + "async_search.submit#seq_no_primary_term": { + "in": "query", + "name": "seq_no_primary_term", + "description": "Specify whether to return sequence number and primary term of the last modification of each hit", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "security.create_api_key#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "api_key": { - "description": "Generated API key.", - "type": "string" - }, - "expiration": { - "description": "Expiration in milliseconds for the API key.", - "type": "number" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "encoded": { - "description": "API key credentials which is the base64-encoding of\nthe UTF-8 representation of `id` and `api_key` joined\nby a colon (`:`).", - "type": "string" - } - }, - "required": [ - "api_key", - "id", - "name", - "encoded" - ] - } - } - } + "async_search.submit#q": { + "in": "query", + "name": "q", + "description": "Query in the Lucene query string syntax", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" }, - "security.create_service_token#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "created": { - "type": "boolean" - }, - "token": { - "$ref": "#/components/schemas/security.create_service_token:Token" - } - }, - "required": [ - "created", - "token" - ] - } - } - } + "async_search.submit#size": { + "in": "query", + "name": "size", + "description": "Number of hits to return (default: 10)", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" }, - "security.disable_user_profile#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - }, - "security.enable_user_profile#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - }, - "security.get_privileges#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security.put_privileges:Actions" - } - } - } - } - } - }, - "security.get_role#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security.get_role:Role" - } - } - } - } - }, - "security.get_role_mapping#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:RoleMapping" - } - } - } - } - }, - "security.get_service_accounts#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security.get_service_accounts:RoleDescriptorWrapper" - } - } - } - } - }, - "security.has_privileges#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "application": { - "$ref": "#/components/schemas/security.has_privileges:ApplicationsPrivileges" - }, - "cluster": { - "type": "object", - "additionalProperties": { - "type": "boolean" - } - }, - "has_all_requested": { - "type": "boolean" - }, - "index": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security.has_privileges:Privileges" - } - }, - "username": { - "$ref": "#/components/schemas/_types:Username" - } - }, - "required": [ - "application", - "cluster", - "has_all_requested", - "index", - "username" - ] - } - } - } - }, - "security.has_privileges_user_profile#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "has_privilege_uids": { - "description": "The subset of the requested profile IDs of the users that\nhave all the requested privileges.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:UserProfileId" - } - }, - "errors": { - "$ref": "#/components/schemas/security.has_privileges_user_profile:HasPrivilegesUserProfileErrors" - } - }, - "required": [ - "has_privilege_uids" - ] - } - } - } + "async_search.submit#from": { + "in": "query", + "name": "from", + "description": "Starting offset (default: 0)", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" }, - "security.put_privileges#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:CreatedStatus" - } + "async_search.submit#sort": { + "in": "query", + "name": "sort", + "description": "A comma-separated list of : pairs", + "deprecated": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" } } - } - } - }, - "security.put_role#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "role": { - "$ref": "#/components/schemas/security._types:CreatedStatus" - } - }, - "required": [ - "role" - ] - } - } - } - }, - "security.put_role_mapping#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "created": { - "type": "boolean" - }, - "role_mapping": { - "$ref": "#/components/schemas/security._types:CreatedStatus" - } - }, - "required": [ - "role_mapping" - ] - } - } - } - }, - "security.query_api_keys#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total": { - "description": "The total number of API keys found.", - "type": "number" - }, - "count": { - "description": "The number of API keys returned in the response.", - "type": "number" - }, - "api_keys": { - "description": "A list of API key information.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:ApiKey" - } - } - }, - "required": [ - "total", - "count", - "api_keys" - ] - } - } - } - }, - "security.suggest_user_profiles#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total": { - "$ref": "#/components/schemas/security.suggest_user_profiles:TotalUserProfiles" - }, - "took": { - "type": "number" - }, - "profiles": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:UserProfile" - } - } - }, - "required": [ - "total", - "took", - "profiles" - ] - } - } - } - }, - "security.update_user_profile_data#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - }, - "terms_enum#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "terms": { - "type": "array", - "items": { - "type": "string" - } - }, - "complete": { - "type": "boolean" - } - }, - "required": [ - "_shards", - "terms", - "complete" - ] - } - } - } - }, - "termvectors#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "found": { - "type": "boolean" - }, - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "term_vectors": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_global.termvectors:TermVector" - } - }, - "took": { - "type": "number" - }, - "_version": { - "$ref": "#/components/schemas/_types:VersionNumber" - } - }, - "required": [ - "found", - "_id", - "_index", - "took", - "_version" - ] - } - } - } - }, - "transform.get_transform#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "transforms": { - "type": "array", - "items": { - "$ref": "#/components/schemas/transform.get_transform:TransformSummary" - } - } - }, - "required": [ - "count", - "transforms" - ] - } - } - } + ] + }, + "style": "form" }, - "transform.preview_transform#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "generated_dest_index": { - "$ref": "#/components/schemas/indices._types:IndexState" - }, - "preview": { - "type": "array", - "items": { - "type": "object" - } - } - }, - "required": [ - "generated_dest_index", - "preview" - ] - } - } - } - } - }, - "parameters": { - "async_search.submit#index": { + "bulk#index": { "in": "path", "name": "index", - "description": "A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices", + "description": "Name of the data stream, index, or index alias to perform bulk actions on.", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Indices" + "$ref": "#/components/schemas/_types:IndexName" }, "style": "simple" }, - "async_search.submit#wait_for_completion_timeout": { + "bulk#pipeline": { "in": "query", - "name": "wait_for_completion_timeout", - "description": "Blocks and waits until the search is completed up to a certain timeout.\nWhen the async search completes within the timeout, the response won’t include the ID as the results are not stored in the cluster.", + "name": "pipeline", + "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "type": "string" }, "style": "form" }, - "async_search.submit#keep_on_completion": { + "bulk#refresh": { "in": "query", - "name": "keep_on_completion", - "description": "If `true`, results are stored for later retrieval when the search completes within the `wait_for_completion_timeout`.", + "name": "refresh", + "description": "If `true`, Elasticsearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.\nValid values: `true`, `false`, `wait_for`.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Refresh" }, "style": "form" }, - "async_search.submit#keep_alive": { + "bulk#routing": { "in": "query", - "name": "keep_alive", - "description": "Specifies how long the async search needs to be available.\nOngoing async searches and any saved search results are deleted after this period.", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "$ref": "#/components/schemas/_types:Routing" }, "style": "form" }, - "async_search.submit#allow_no_indices": { + "bulk#_source": { "in": "query", - "name": "allow_no_indices", - "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", + "name": "_source", + "description": "`true` or `false` to return the `_source` field or not, or a list of fields to return.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" }, "style": "form" }, - "async_search.submit#allow_partial_search_results": { + "bulk#_source_excludes": { "in": "query", - "name": "allow_partial_search_results", - "description": "Indicate if an error should be returned if there is a partial search failure or timeout", + "name": "_source_excludes", + "description": "A comma-separated list of source fields to exclude from the response.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Fields" }, "style": "form" }, - "async_search.submit#analyzer": { + "bulk#_source_includes": { "in": "query", - "name": "analyzer", - "description": "The analyzer to use for the query string", + "name": "_source_includes", + "description": "A comma-separated list of source fields to include in the response.", "deprecated": false, "schema": { - "type": "string" + "$ref": "#/components/schemas/_types:Fields" }, "style": "form" }, - "async_search.submit#analyze_wildcard": { + "bulk#timeout": { "in": "query", - "name": "analyze_wildcard", - "description": "Specify whether wildcard and prefix queries should be analyzed (default: false)", + "name": "timeout", + "description": "Period each action waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "async_search.submit#batched_reduce_size": { + "bulk#wait_for_active_shards": { "in": "query", - "name": "batched_reduce_size", - "description": "Affects how often partial results become available, which happens whenever shard results are reduced.\nA partial reduction is performed every time the coordinating node has received a certain number of new shard responses (5 by default).", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "deprecated": false, "schema": { - "type": "number" + "$ref": "#/components/schemas/_types:WaitForActiveShards" }, "style": "form" }, - "async_search.submit#ccs_minimize_roundtrips": { + "bulk#require_alias": { "in": "query", - "name": "ccs_minimize_roundtrips", - "description": "The default value is the only supported value.", + "name": "require_alias", + "description": "If `true`, the request’s actions must target an index alias.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "async_search.submit#default_operator": { + "cat.aliases#name": { + "in": "path", + "name": "name", + "description": "A comma-separated list of aliases to retrieve. Supports wildcards (`*`). To retrieve all aliases, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" + }, + "style": "simple" + }, + "cat.aliases#expand_wildcards": { "in": "query", - "name": "default_operator", - "description": "The default operator for query string query (AND or OR)", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" + "$ref": "#/components/schemas/_types:ExpandWildcards" }, "style": "form" }, - "async_search.submit#df": { - "in": "query", - "name": "df", - "description": "The field to use as default where no field prefix is given in the query string", + "cat.component_templates#name": { + "in": "path", + "name": "name", + "description": "The name of the component template. Accepts wildcard expressions. If omitted, all component templates are returned.", + "required": true, "deprecated": false, "schema": { "type": "string" }, - "style": "form" + "style": "simple" }, - "async_search.submit#docvalue_fields": { + "cat.count#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`). To target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "cat.indices#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`). To target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "cat.indices#bytes": { "in": "query", - "name": "docvalue_fields", - "description": "A comma-separated list of fields to return as the docvalue representation of a field for each hit", + "name": "bytes", + "description": "The unit used to display byte values.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Fields" + "$ref": "#/components/schemas/_types:Bytes" }, "style": "form" }, - "async_search.submit#expand_wildcards": { + "cat.indices#expand_wildcards": { "in": "query", "name": "expand_wildcards", - "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "description": "The type of index that wildcard patterns can match.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:ExpandWildcards" }, "style": "form" }, - "async_search.submit#explain": { + "cat.indices#health": { "in": "query", - "name": "explain", - "description": "Specify whether to return detailed information about score computation as part of a hit", + "name": "health", + "description": "The health status used to limit returned indices. By default, the response includes indices of any health status.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:HealthStatus" }, "style": "form" }, - "async_search.submit#ignore_throttled": { + "cat.indices#include_unloaded_segments": { "in": "query", - "name": "ignore_throttled", - "description": "Whether specified concrete, expanded or aliased indices should be ignored when throttled", + "name": "include_unloaded_segments", + "description": "If true, the response includes information from segments that are not loaded into memory.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "async_search.submit#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "async_search.submit#lenient": { + "cat.indices#pri": { "in": "query", - "name": "lenient", - "description": "Specify whether format-based query failures (such as providing text to a numeric field) should be ignored", + "name": "pri", + "description": "If true, the response only includes information from primary shards.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "async_search.submit#max_concurrent_shard_requests": { + "cat.indices#time": { "in": "query", - "name": "max_concurrent_shard_requests", - "description": "The number of concurrent shard requests per node this search executes concurrently. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests", + "name": "time", + "description": "The unit used to display time values.", "deprecated": false, "schema": { - "type": "number" + "$ref": "#/components/schemas/_types:TimeUnit" }, "style": "form" }, - "async_search.submit#min_compatible_shard_node": { - "in": "query", - "name": "min_compatible_shard_node", + "cat.ml_data_frame_analytics#id": { + "in": "path", + "name": "id", + "description": "The ID of the data frame analytics to fetch", + "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:VersionString" + "$ref": "#/components/schemas/_types:Id" }, - "style": "form" + "style": "simple" }, - "async_search.submit#preference": { + "cat.ml_data_frame_analytics#allow_no_match": { "in": "query", - "name": "preference", - "description": "Specify the node or shard the operation should be performed on (default: random)", + "name": "allow_no_match", + "description": "Whether to ignore if a wildcard expression matches no configs. (This includes `_all` string or when no configs have been specified)", "deprecated": false, "schema": { - "type": "string" + "type": "boolean" }, "style": "form" }, - "async_search.submit#pre_filter_shard_size": { + "cat.ml_data_frame_analytics#bytes": { "in": "query", - "name": "pre_filter_shard_size", - "description": "The default value cannot be changed, which enforces the execution of a pre-filter roundtrip to retrieve statistics from each shard so that the ones that surely don’t hold any document matching the query get skipped.", + "name": "bytes", + "description": "The unit in which to display byte values", "deprecated": false, "schema": { - "type": "number" + "$ref": "#/components/schemas/_types:Bytes" }, "style": "form" }, - "async_search.submit#request_cache": { + "cat.ml_data_frame_analytics#h": { "in": "query", - "name": "request_cache", - "description": "Specify if request cache should be used for this request or not, defaults to true", + "name": "h", + "description": "Comma-separated list of column names to display.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/cat._types:CatDfaColumns" }, "style": "form" }, - "async_search.submit#routing": { + "cat.ml_data_frame_analytics#s": { "in": "query", - "name": "routing", - "description": "A comma-separated list of specific routing values", + "name": "s", + "description": "Comma-separated list of column names or column aliases used to sort the\nresponse.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Routing" + "$ref": "#/components/schemas/cat._types:CatDfaColumns" }, "style": "form" }, - "async_search.submit#scroll": { + "cat.ml_data_frame_analytics#time": { "in": "query", - "name": "scroll", + "name": "time", + "description": "Unit used to display time values.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "async_search.submit#search_type": { - "in": "query", - "name": "search_type", - "description": "Search operation type", + "cat.ml_datafeeds#datafeed_id": { + "in": "path", + "name": "datafeed_id", + "description": "A numerical character string that uniquely identifies the datafeed.", + "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:SearchType" + "$ref": "#/components/schemas/_types:Id" }, - "style": "form" + "style": "simple" }, - "async_search.submit#stats": { + "cat.ml_datafeeds#allow_no_match": { "in": "query", - "name": "stats", - "description": "Specific 'tag' of the request for logging and statistical purposes", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n* Contains wildcard expressions and there are no datafeeds that match.\n* Contains the `_all` string or no identifiers and there are no matches.\n* Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the API returns an empty datafeeds array when there are no matches and the subset of results when\nthere are partial matches. If `false`, the API returns a 404 status code when there are no matches or only\npartial matches.", "deprecated": false, "schema": { - "type": "array", - "items": { - "type": "string" - } + "type": "boolean" }, "style": "form" }, - "async_search.submit#stored_fields": { + "cat.ml_datafeeds#h": { "in": "query", - "name": "stored_fields", - "description": "A comma-separated list of stored fields to return as part of a hit", + "name": "h", + "description": "Comma-separated list of column names to display.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Fields" + "$ref": "#/components/schemas/cat._types:CatDatafeedColumns" }, "style": "form" }, - "async_search.submit#suggest_field": { + "cat.ml_datafeeds#s": { "in": "query", - "name": "suggest_field", - "description": "Specifies which field to use for suggestions.", + "name": "s", + "description": "Comma-separated list of column names or column aliases used to sort the response.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Field" + "$ref": "#/components/schemas/cat._types:CatDatafeedColumns" }, "style": "form" }, - "async_search.submit#suggest_mode": { + "cat.ml_datafeeds#time": { "in": "query", - "name": "suggest_mode", - "description": "Specify suggest mode", + "name": "time", + "description": "The unit used to display time values.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:SuggestMode" + "$ref": "#/components/schemas/_types:TimeUnit" }, "style": "form" }, - "async_search.submit#suggest_size": { - "in": "query", - "name": "suggest_size", - "description": "How many suggestions to return in response", + "cat.ml_jobs#job_id": { + "in": "path", + "name": "job_id", + "description": "Identifier for the anomaly detection job.", + "required": true, "deprecated": false, "schema": { - "type": "number" + "$ref": "#/components/schemas/_types:Id" }, - "style": "form" + "style": "simple" }, - "async_search.submit#suggest_text": { + "cat.ml_jobs#allow_no_match": { "in": "query", - "name": "suggest_text", - "description": "The source text for which the suggestions should be returned.", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n* Contains wildcard expressions and there are no jobs that match.\n* Contains the `_all` string or no identifiers and there are no matches.\n* Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the API returns an empty jobs array when there are no matches and the subset of results when there\nare partial matches. If `false`, the API returns a 404 status code when there are no matches or only partial\nmatches.", "deprecated": false, "schema": { - "type": "string" + "type": "boolean" }, "style": "form" }, - "async_search.submit#terminate_after": { + "cat.ml_jobs#bytes": { "in": "query", - "name": "terminate_after", - "description": "The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early.", + "name": "bytes", + "description": "The unit used to display byte values.", "deprecated": false, "schema": { - "type": "number" + "$ref": "#/components/schemas/_types:Bytes" }, "style": "form" }, - "async_search.submit#timeout": { + "cat.ml_jobs#h": { "in": "query", - "name": "timeout", - "description": "Explicit operation timeout", + "name": "h", + "description": "Comma-separated list of column names to display.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "$ref": "#/components/schemas/cat._types:CatAnonalyDetectorColumns" }, "style": "form" }, - "async_search.submit#track_total_hits": { + "cat.ml_jobs#s": { "in": "query", - "name": "track_total_hits", - "description": "Indicate if the number of documents that match the query should be tracked. A number can also be specified, to accurately track the total hit count up to the number.", + "name": "s", + "description": "Comma-separated list of column names or column aliases used to sort the response.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_global.search._types:TrackHits" + "$ref": "#/components/schemas/cat._types:CatAnonalyDetectorColumns" }, "style": "form" }, - "async_search.submit#track_scores": { + "cat.ml_jobs#time": { "in": "query", - "name": "track_scores", - "description": "Whether to calculate and return scores even if they are not used for sorting", + "name": "time", + "description": "The unit used to display time values.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:TimeUnit" }, "style": "form" }, - "async_search.submit#typed_keys": { - "in": "query", - "name": "typed_keys", - "description": "Specify whether aggregation and suggester names should be prefixed by their respective types in the response", + "cat.ml_trained_models#model_id": { + "in": "path", + "name": "model_id", + "description": "A unique identifier for the trained model.", + "required": true, "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Id" }, - "style": "form" + "style": "simple" }, - "async_search.submit#rest_total_hits_as_int": { + "cat.ml_trained_models#allow_no_match": { "in": "query", - "name": "rest_total_hits_as_int", + "name": "allow_no_match", + "description": "Specifies what to do when the request: contains wildcard expressions and there are no models that match; contains the `_all` string or no identifiers and there are no matches; contains wildcard expressions and there are only partial matches.\nIf `true`, the API returns an empty array when there are no matches and the subset of results when there are partial matches.\nIf `false`, the API returns a 404 status code when there are no matches or only partial matches.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "async_search.submit#version": { + "cat.ml_trained_models#bytes": { "in": "query", - "name": "version", - "description": "Specify whether to return document version as part of a hit", + "name": "bytes", + "description": "The unit used to display byte values.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Bytes" }, "style": "form" }, - "async_search.submit#_source": { + "cat.ml_trained_models#h": { "in": "query", - "name": "_source", - "description": "True or false to return the _source field or not, or a list of fields to return", + "name": "h", + "description": "A comma-separated list of column names to display.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + "$ref": "#/components/schemas/cat._types:CatTrainedModelsColumns" }, "style": "form" }, - "async_search.submit#_source_excludes": { + "cat.ml_trained_models#s": { "in": "query", - "name": "_source_excludes", - "description": "A list of fields to exclude from the returned _source field", + "name": "s", + "description": "A comma-separated list of column names or aliases used to sort the response.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Fields" + "$ref": "#/components/schemas/cat._types:CatTrainedModelsColumns" }, "style": "form" }, - "async_search.submit#_source_includes": { + "cat.ml_trained_models#from": { "in": "query", - "name": "_source_includes", - "description": "A list of fields to extract and return from the _source field", + "name": "from", + "description": "Skips the specified number of transforms.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Fields" + "type": "number" }, "style": "form" }, - "async_search.submit#seq_no_primary_term": { + "cat.ml_trained_models#size": { "in": "query", - "name": "seq_no_primary_term", - "description": "Specify whether to return sequence number and primary term of the last modification of each hit", + "name": "size", + "description": "The maximum number of transforms to display.", "deprecated": false, "schema": { - "type": "boolean" + "type": "number" }, "style": "form" }, - "async_search.submit#q": { - "in": "query", - "name": "q", - "description": "Query in the Lucene query string syntax", + "cat.transforms#transform_id": { + "in": "path", + "name": "transform_id", + "description": "A transform identifier or a wildcard expression.\nIf you do not specify one of these options, the API returns information for all transforms.", + "required": true, "deprecated": false, "schema": { - "type": "string" + "$ref": "#/components/schemas/_types:Id" }, - "style": "form" + "style": "simple" }, - "async_search.submit#size": { + "cat.transforms#allow_no_match": { "in": "query", - "name": "size", - "description": "Number of hits to return (default: 10)", + "name": "allow_no_match", + "description": "Specifies what to do when the request: contains wildcard expressions and there are no transforms that match; contains the `_all` string or no identifiers and there are no matches; contains wildcard expressions and there are only partial matches.\nIf `true`, it returns an empty transforms array when there are no matches and the subset of results when there are partial matches.\nIf `false`, the request returns a 404 status code when there are no matches or only partial matches.", "deprecated": false, "schema": { - "type": "number" + "type": "boolean" }, "style": "form" }, - "async_search.submit#from": { + "cat.transforms#from": { "in": "query", "name": "from", - "description": "Starting offset (default: 0)", + "description": "Skips the specified number of transforms.", "deprecated": false, "schema": { "type": "number" }, "style": "form" }, - "async_search.submit#sort": { + "cat.transforms#h": { "in": "query", - "name": "sort", - "description": "A comma-separated list of : pairs", + "name": "h", + "description": "Comma-separated list of column names to display.", "deprecated": false, "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] + "$ref": "#/components/schemas/cat._types:CatTransformColumns" }, "style": "form" }, - "bulk#index": { - "in": "path", - "name": "index", - "description": "Name of the data stream, index, or index alias to perform bulk actions on.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - "bulk#pipeline": { + "cat.transforms#s": { "in": "query", - "name": "pipeline", - "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", + "name": "s", + "description": "Comma-separated list of column names or column aliases used to sort the response.", "deprecated": false, "schema": { - "type": "string" + "$ref": "#/components/schemas/cat._types:CatTransformColumns" }, "style": "form" }, - "bulk#refresh": { + "cat.transforms#time": { "in": "query", - "name": "refresh", - "description": "If `true`, Elasticsearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.\nValid values: `true`, `false`, `wait_for`.", + "name": "time", + "description": "The unit used to display time values.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Refresh" + "$ref": "#/components/schemas/_types:TimeUnit" }, "style": "form" }, - "bulk#routing": { + "cat.transforms#size": { "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", + "name": "size", + "description": "The maximum number of transforms to obtain.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Routing" + "type": "number" }, "style": "form" }, - "bulk#_source": { - "in": "query", - "name": "_source", - "description": "`true` or `false` to return the `_source` field or not, or a list of fields to return.", + "clear_scroll#scroll_id": { + "in": "path", + "name": "scroll_id", + "description": "Comma-separated list of scroll IDs to clear.\nTo clear all scroll IDs, use `_all`.", + "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + "$ref": "#/components/schemas/_types:ScrollIds" }, - "style": "form" + "style": "simple" }, - "bulk#_source_excludes": { - "in": "query", - "name": "_source_excludes", - "description": "A comma-separated list of source fields to exclude from the response.", + "cluster.get_component_template#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list of component template names used to limit the request.\nWildcard (`*`) expressions are supported.", + "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Fields" + "$ref": "#/components/schemas/_types:Name" }, - "style": "form" + "style": "simple" }, - "bulk#_source_includes": { + "cluster.get_component_template#flat_settings": { "in": "query", - "name": "_source_includes", - "description": "A comma-separated list of source fields to include in the response.", + "name": "flat_settings", + "description": "If `true`, returns settings in flat format.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Fields" + "type": "boolean" }, "style": "form" }, - "bulk#timeout": { + "cluster.get_component_template#include_defaults": { "in": "query", - "name": "timeout", - "description": "Period each action waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.", + "name": "include_defaults", + "description": "Return all default configurations for the component template (default: false)", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "type": "boolean" }, "style": "form" }, - "bulk#wait_for_active_shards": { + "cluster.get_component_template#local": { "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only.\nIf `false`, information is retrieved from the master node.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" + "type": "boolean" }, "style": "form" }, - "bulk#require_alias": { + "cluster.get_component_template#master_timeout": { "in": "query", - "name": "require_alias", - "description": "If `true`, the request’s actions must target an index alias.", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "cat.aliases#name": { + "cluster.put_component_template#name": { "in": "path", "name": "name", - "description": "A comma-separated list of aliases to retrieve. Supports wildcards (`*`). To retrieve all aliases, omit this parameter or use `*` or `_all`.", + "description": "Name of the component template to create.\nElasticsearch includes the following built-in component templates: `logs-mappings`; 'logs-settings`; `metrics-mappings`; `metrics-settings`;`synthetics-mapping`; `synthetics-settings`.\nElastic Agent uses these templates to configure backing indices for its data streams.\nIf you use Elastic Agent and want to overwrite one of these templates, set the `version` for your replacement template higher than the current version.\nIf you don’t use Elastic Agent and want to disable all built-in component and index templates, set `stack.templates.enabled` to `false` using the cluster update settings API.", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Names" + "$ref": "#/components/schemas/_types:Name" }, "style": "simple" }, - "cat.aliases#expand_wildcards": { + "cluster.put_component_template#create": { "in": "query", - "name": "expand_wildcards", - "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "name": "create", + "description": "If `true`, this request cannot replace or update existing component templates.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" + "type": "boolean" + }, + "style": "form" + }, + "cluster.put_component_template#master_timeout": { + "in": "query", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "cat.allocation#node_id": { + "cluster.stats#node_id": { "in": "path", "name": "node_id", - "description": "Comma-separated list of node identifiers or names used to limit the returned information.", + "description": "Comma-separated list of node filters used to limit returned information. Defaults to all nodes in the cluster.", "required": true, "deprecated": false, "schema": { @@ -26209,31 +19146,30 @@ }, "style": "simple" }, - "cat.allocation#bytes": { + "cluster.stats#flat_settings": { "in": "query", - "name": "bytes", - "description": "The unit used to display byte values.", + "name": "flat_settings", + "description": "If `true`, returns settings in flat format.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Bytes" + "type": "boolean" }, "style": "form" }, - "cat.component_templates#name": { - "in": "path", - "name": "name", - "description": "The name of the component template. Accepts wildcard expressions. If omitted, all component templates are returned.", - "required": true, + "cluster.stats#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for each node to respond.\nIf a node does not respond before its timeout expires, the response does not include its stats.\nHowever, timed out nodes are included in the response’s `_nodes.failed` property. Defaults to no timeout.", "deprecated": false, "schema": { - "type": "string" + "$ref": "#/components/schemas/_types:Duration" }, - "style": "simple" + "style": "form" }, - "cat.count#index": { + "count#index": { "in": "path", "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`). To target all data streams and indices, omit this parameter or use `*` or `_all`.", + "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*` or `_all`.", "required": true, "deprecated": false, "schema": { @@ -26241,173 +19177,150 @@ }, "style": "simple" }, - "cat.fielddata#fields": { - "in": "path", - "name": "fields", - "description": "Comma-separated list of fields used to limit returned information.\nTo retrieve all fields, omit this parameter.", - "required": true, + "count#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Fields" + "type": "boolean" }, - "style": "simple" + "style": "form" }, - "cat.fielddata#bytes": { + "count#analyzer": { "in": "query", - "name": "bytes", - "description": "The unit used to display byte values.", + "name": "analyzer", + "description": "Analyzer to use for the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Bytes" + "type": "string" }, "style": "form" }, - "cat.fielddata#fields_": { + "count#analyze_wildcard": { "in": "query", - "name": "fields", - "description": "Comma-separated list of fields used to limit returned information.", + "name": "analyze_wildcard", + "description": "If `true`, wildcard and prefix queries are analyzed.\nThis parameter can only be used when the `q` query string parameter is specified.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Fields" + "type": "boolean" }, "style": "form" }, - "cat.indices#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`). To target all data streams and indices, omit this parameter or use `*` or `_all`.", - "required": true, + "count#default_operator": { + "in": "query", + "name": "default_operator", + "description": "The default operator for query string query: `AND` or `OR`.\nThis parameter can only be used when the `q` query string parameter is specified.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Indices" + "$ref": "#/components/schemas/_types.query_dsl:Operator" }, - "style": "simple" + "style": "form" }, - "cat.indices#bytes": { + "count#df": { "in": "query", - "name": "bytes", - "description": "The unit used to display byte values.", + "name": "df", + "description": "Field to use as default where no field prefix is given in the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Bytes" + "type": "string" }, "style": "form" }, - "cat.indices#expand_wildcards": { + "count#expand_wildcards": { "in": "query", "name": "expand_wildcards", - "description": "The type of index that wildcard patterns can match.", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:ExpandWildcards" }, "style": "form" }, - "cat.indices#health": { + "count#ignore_throttled": { "in": "query", - "name": "health", - "description": "The health status used to limit returned indices. By default, the response includes indices of any health status.", + "name": "ignore_throttled", + "description": "If `true`, concrete, expanded or aliased indices are ignored when frozen.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:HealthStatus" + "type": "boolean" }, "style": "form" }, - "cat.indices#include_unloaded_segments": { + "count#ignore_unavailable": { "in": "query", - "name": "include_unloaded_segments", - "description": "If true, the response includes information from segments that are not loaded into memory.", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "cat.indices#pri": { + "count#lenient": { "in": "query", - "name": "pri", - "description": "If true, the response only includes information from primary shards.", + "name": "lenient", + "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "cat.indices#time": { + "count#min_score": { "in": "query", - "name": "time", - "description": "The unit used to display time values.", + "name": "min_score", + "description": "Sets the minimum `_score` value that documents must have to be included in the result.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:TimeUnit" + "type": "number" }, "style": "form" }, - "cat.ml_data_frame_analytics#id": { - "in": "path", - "name": "id", - "description": "The ID of the data frame analytics to fetch", - "required": true, + "count#preference": { + "in": "query", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Id" + "type": "string" }, - "style": "simple" + "style": "form" }, - "cat.ml_data_frame_analytics#allow_no_match": { + "count#routing": { "in": "query", - "name": "allow_no_match", - "description": "Whether to ignore if a wildcard expression matches no configs. (This includes `_all` string or when no configs have been specified)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cat.ml_data_frame_analytics#bytes": { - "in": "query", - "name": "bytes", - "description": "The unit in which to display byte values", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Bytes" - }, - "style": "form" - }, - "cat.ml_data_frame_analytics#h": { - "in": "query", - "name": "h", - "description": "Comma-separated list of column names to display.", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/cat._types:CatDfaColumns" + "$ref": "#/components/schemas/_types:Routing" }, "style": "form" }, - "cat.ml_data_frame_analytics#s": { + "count#terminate_after": { "in": "query", - "name": "s", - "description": "Comma-separated list of column names or column aliases used to sort the\nresponse.", + "name": "terminate_after", + "description": "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.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/cat._types:CatDfaColumns" + "type": "number" }, "style": "form" }, - "cat.ml_data_frame_analytics#time": { + "count#q": { "in": "query", - "name": "time", - "description": "Unit used to display time values.", + "name": "q", + "description": "Query in the Lucene query string syntax.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "type": "string" }, "style": "form" }, - "cat.ml_datafeeds#datafeed_id": { + "create#id": { "in": "path", - "name": "datafeed_id", - "description": "A numerical character string that uniquely identifies the datafeed.", + "name": "id", + "description": "Unique identifier for the document.", "required": true, "deprecated": false, "schema": { @@ -26415,203 +19328,186 @@ }, "style": "simple" }, - "cat.ml_datafeeds#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n* Contains wildcard expressions and there are no datafeeds that match.\n* Contains the `_all` string or no identifiers and there are no matches.\n* Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the API returns an empty datafeeds array when there are no matches and the subset of results when\nthere are partial matches. If `false`, the API returns a 404 status code when there are no matches or only\npartial matches.", + "create#index": { + "in": "path", + "name": "index", + "description": "Name of the data stream or index to target.\nIf the target doesn’t exist and matches the name or wildcard (`*`) pattern of an index template with a `data_stream` definition, this request creates the data stream.\nIf the target doesn’t exist and doesn’t match a data stream template, this request creates the index.", + "required": true, "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:IndexName" }, - "style": "form" + "style": "simple" }, - "cat.ml_datafeeds#h": { + "create#pipeline": { "in": "query", - "name": "h", - "description": "Comma-separated list of column names to display.", + "name": "pipeline", + "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/cat._types:CatDatafeedColumns" + "type": "string" }, "style": "form" }, - "cat.ml_datafeeds#s": { + "create#refresh": { "in": "query", - "name": "s", - "description": "Comma-separated list of column names or column aliases used to sort the response.", + "name": "refresh", + "description": "If `true`, Elasticsearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.\nValid values: `true`, `false`, `wait_for`.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/cat._types:CatDatafeedColumns" + "$ref": "#/components/schemas/_types:Refresh" }, "style": "form" }, - "cat.ml_datafeeds#time": { + "create#routing": { "in": "query", - "name": "time", - "description": "The unit used to display time values.", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:TimeUnit" + "$ref": "#/components/schemas/_types:Routing" }, "style": "form" }, - "cat.ml_jobs#job_id": { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "cat.ml_jobs#allow_no_match": { + "create#timeout": { "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n* Contains wildcard expressions and there are no jobs that match.\n* Contains the `_all` string or no identifiers and there are no matches.\n* Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the API returns an empty jobs array when there are no matches and the subset of results when there\nare partial matches. If `false`, the API returns a 404 status code when there are no matches or only partial\nmatches.", + "name": "timeout", + "description": "Period the request waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "cat.ml_jobs#bytes": { + "create#version": { "in": "query", - "name": "bytes", - "description": "The unit used to display byte values.", + "name": "version", + "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Bytes" + "$ref": "#/components/schemas/_types:VersionNumber" }, "style": "form" }, - "cat.ml_jobs#h": { + "create#version_type": { "in": "query", - "name": "h", - "description": "Comma-separated list of column names to display.", + "name": "version_type", + "description": "Specific version type: `external`, `external_gte`.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/cat._types:CatAnonalyDetectorColumns" + "$ref": "#/components/schemas/_types:VersionType" }, "style": "form" }, - "cat.ml_jobs#s": { + "create#wait_for_active_shards": { "in": "query", - "name": "s", - "description": "Comma-separated list of column names or column aliases used to sort the response.", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "deprecated": false, "schema": { - "$ref": "#/components/schemas/cat._types:CatAnonalyDetectorColumns" + "$ref": "#/components/schemas/_types:WaitForActiveShards" }, "style": "form" }, - "cat.ml_jobs#time": { - "in": "query", - "name": "time", - "description": "The unit used to display time values.", + "enrich.get_policy#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list of enrich policy names used to limit the request.\nTo return information for all enrich policies, omit this parameter.", + "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:TimeUnit" + "$ref": "#/components/schemas/_types:Names" }, - "style": "form" + "style": "simple" }, - "cat.ml_trained_models#model_id": { + "field_caps#index": { "in": "path", - "name": "model_id", - "description": "A unique identifier for the trained model.", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indices, omit this parameter or use * or _all.", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Id" + "$ref": "#/components/schemas/_types:Indices" }, "style": "simple" }, - "cat.ml_trained_models#allow_no_match": { + "field_caps#allow_no_indices": { "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request: contains wildcard expressions and there are no models that match; contains the `_all` string or no identifiers and there are no matches; contains wildcard expressions and there are only partial matches.\nIf `true`, the API returns an empty array when there are no matches and the subset of results when there are partial matches.\nIf `false`, the API returns a 404 status code when there are no matches or only partial matches.", + "name": "allow_no_indices", + "description": "If false, the request returns an error if any wildcard expression, index alias,\nor `_all` value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request\ntargeting `foo*,bar*` returns an error if an index starts with foo but no index starts with bar.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "cat.ml_trained_models#bytes": { + "field_caps#expand_wildcards": { "in": "query", - "name": "bytes", - "description": "The unit used to display byte values.", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams. Supports comma-separated values, such as `open,hidden`.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Bytes" + "$ref": "#/components/schemas/_types:ExpandWildcards" }, "style": "form" }, - "cat.ml_trained_models#h": { + "field_caps#fields": { "in": "query", - "name": "h", - "description": "A comma-separated list of column names to display.", + "name": "fields", + "description": "Comma-separated list of fields to retrieve capabilities for. Wildcard (`*`) expressions are supported.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/cat._types:CatTrainedModelsColumns" + "$ref": "#/components/schemas/_types:Fields" }, "style": "form" }, - "cat.ml_trained_models#s": { + "field_caps#ignore_unavailable": { "in": "query", - "name": "s", - "description": "A comma-separated list of column names or aliases used to sort the response.", + "name": "ignore_unavailable", + "description": "If `true`, missing or closed indices are not included in the response.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/cat._types:CatTrainedModelsColumns" + "type": "boolean" }, "style": "form" }, - "cat.ml_trained_models#from": { + "field_caps#include_unmapped": { "in": "query", - "name": "from", - "description": "Skips the specified number of transforms.", + "name": "include_unmapped", + "description": "If true, unmapped fields are included in the response.", "deprecated": false, "schema": { - "type": "number" + "type": "boolean" }, "style": "form" }, - "cat.ml_trained_models#size": { + "field_caps#filters": { "in": "query", - "name": "size", - "description": "The maximum number of transforms to display.", + "name": "filters", + "description": "An optional set of filters: can include +metadata,-metadata,-nested,-multifield,-parent", "deprecated": false, "schema": { - "type": "number" + "type": "string" }, "style": "form" }, - "cat.segments#index": { - "in": "path", - "name": "index", - "description": "A comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "cat.segments#bytes": { + "field_caps#types": { "in": "query", - "name": "bytes", - "description": "The unit used to display byte values.", + "name": "types", + "description": "Only return results for fields that have one of the types in the list", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Bytes" + "type": "array", + "items": { + "type": "string" + } }, "style": "form" }, - "cat.shards#index": { + "graph.explore#index": { "in": "path", "name": "index", - "description": "A comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "description": "Name of the index.", "required": true, "deprecated": false, "schema": { @@ -26619,396 +19515,309 @@ }, "style": "simple" }, - "cat.shards#bytes": { + "graph.explore#routing": { "in": "query", - "name": "bytes", - "description": "The unit used to display byte values.", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Bytes" + "$ref": "#/components/schemas/_types:Routing" }, "style": "form" }, - "cat.snapshots#repository": { - "in": "path", - "name": "repository", - "description": "A comma-separated list of snapshot repositories used to limit the request.\nAccepts wildcard expressions.\n`_all` returns all repositories.\nIf any repository fails during the request, Elasticsearch returns an error.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "cat.snapshots#ignore_unavailable": { + "graph.explore#timeout": { "in": "query", - "name": "ignore_unavailable", - "description": "If `true`, the response does not include information from unavailable snapshots.", + "name": "timeout", + "description": "Specifies 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.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "cat.templates#name": { - "in": "path", - "name": "name", - "description": "The name of the template to return.\nAccepts wildcard expressions. If omitted, all templates are returned.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "cat.thread_pool#thread_pool_patterns": { + "index#id": { "in": "path", - "name": "thread_pool_patterns", - "description": "A comma-separated list of thread pool names used to limit the request.\nAccepts wildcard expressions.", + "name": "id", + "description": "Unique identifier for the document.", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Names" + "$ref": "#/components/schemas/_types:Id" }, "style": "simple" }, - "cat.thread_pool#time": { - "in": "query", - "name": "time", - "description": "The unit used to display time values.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:TimeUnit" - }, - "style": "form" - }, - "cat.transforms#transform_id": { + "index#index": { "in": "path", - "name": "transform_id", - "description": "A transform identifier or a wildcard expression.\nIf you do not specify one of these options, the API returns information for all transforms.", + "name": "index", + "description": "Name of the data stream or index to target.", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Id" + "$ref": "#/components/schemas/_types:IndexName" }, "style": "simple" }, - "cat.transforms#allow_no_match": { + "index#if_primary_term": { "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request: contains wildcard expressions and there are no transforms that match; contains the `_all` string or no identifiers and there are no matches; contains wildcard expressions and there are only partial matches.\nIf `true`, it returns an empty transforms array when there are no matches and the subset of results when there are partial matches.\nIf `false`, the request returns a 404 status code when there are no matches or only partial matches.", + "name": "if_primary_term", + "description": "Only perform the operation if the document has this primary term.", "deprecated": false, "schema": { - "type": "boolean" + "type": "number" }, "style": "form" }, - "cat.transforms#from": { + "index#if_seq_no": { "in": "query", - "name": "from", - "description": "Skips the specified number of transforms.", + "name": "if_seq_no", + "description": "Only perform the operation if the document has this sequence number.", "deprecated": false, "schema": { - "type": "number" + "$ref": "#/components/schemas/_types:SequenceNumber" }, "style": "form" }, - "cat.transforms#h": { + "index#op_type": { "in": "query", - "name": "h", - "description": "Comma-separated list of column names to display.", + "name": "op_type", + "description": "Set to create to only index the document if it does not already exist (put if absent).\nIf a document with the specified `_id` already exists, the indexing operation will fail.\nSame as using the `/_create` endpoint.\nValid values: `index`, `create`.\nIf document id is specified, it defaults to `index`.\nOtherwise, it defaults to `create`.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/cat._types:CatTransformColumns" + "$ref": "#/components/schemas/_types:OpType" }, "style": "form" }, - "cat.transforms#s": { + "index#pipeline": { "in": "query", - "name": "s", - "description": "Comma-separated list of column names or column aliases used to sort the response.", + "name": "pipeline", + "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/cat._types:CatTransformColumns" + "type": "string" }, "style": "form" }, - "cat.transforms#time": { + "index#refresh": { "in": "query", - "name": "time", - "description": "The unit used to display time values.", + "name": "refresh", + "description": "If `true`, Elasticsearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.\nValid values: `true`, `false`, `wait_for`.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:TimeUnit" + "$ref": "#/components/schemas/_types:Refresh" }, "style": "form" }, - "cat.transforms#size": { + "index#routing": { "in": "query", - "name": "size", - "description": "The maximum number of transforms to obtain.", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", "deprecated": false, "schema": { - "type": "number" + "$ref": "#/components/schemas/_types:Routing" }, "style": "form" }, - "clear_scroll#scroll_id": { - "in": "path", - "name": "scroll_id", - "description": "Comma-separated list of scroll IDs to clear.\nTo clear all scroll IDs, use `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ScrollIds" - }, - "style": "simple" - }, - "cluster.allocation_explain#include_disk_info": { + "index#timeout": { "in": "query", - "name": "include_disk_info", - "description": "If true, returns information about disk usage and shard sizes.", + "name": "timeout", + "description": "Period the request waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "cluster.allocation_explain#include_yes_decisions": { + "index#version": { "in": "query", - "name": "include_yes_decisions", - "description": "If true, returns YES decisions in explanation.", + "name": "version", + "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:VersionNumber" }, "style": "form" }, - "cluster.get_component_template#name": { - "in": "path", - "name": "name", - "description": "Comma-separated list of component template names used to limit the request.\nWildcard (`*`) expressions are supported.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "cluster.get_component_template#flat_settings": { + "index#version_type": { "in": "query", - "name": "flat_settings", - "description": "If `true`, returns settings in flat format.", + "name": "version_type", + "description": "Specific version type: `external`, `external_gte`.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:VersionType" }, "style": "form" }, - "cluster.get_component_template#include_defaults": { + "index#wait_for_active_shards": { "in": "query", - "name": "include_defaults", - "description": "Return all default configurations for the component template (default: false)", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:WaitForActiveShards" }, "style": "form" }, - "cluster.get_component_template#local": { + "index#require_alias": { "in": "query", - "name": "local", - "description": "If `true`, the request retrieves information from the local node only.\nIf `false`, information is retrieved from the master node.", + "name": "require_alias", + "description": "If `true`, the destination must be an index alias.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "cluster.get_component_template#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "indices.analyze#index": { + "in": "path", + "name": "index", + "description": "Index used to derive the analyzer.\nIf specified, the `analyzer` or field parameter overrides this value.\nIf no index is specified or the index does not have a default analyzer, the analyze API uses the standard analyzer.", + "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "$ref": "#/components/schemas/_types:IndexName" }, - "style": "form" + "style": "simple" }, - "cluster.health#index": { + "indices.data_streams_stats#name": { "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and index aliases used to limit the request. Wildcard expressions (*) are supported. To target all data streams and indices in a cluster, omit this parameter or use _all or *.", + "name": "name", + "description": "Comma-separated list of data streams used to limit the request.\nWildcard expressions (`*`) are supported.\nTo target all data streams in a cluster, omit this parameter or use `*`.", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Indices" + "$ref": "#/components/schemas/_types:IndexName" }, "style": "simple" }, - "cluster.health#expand_wildcards": { + "indices.data_streams_stats#expand_wildcards": { "in": "query", "name": "expand_wildcards", - "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:ExpandWildcards" }, "style": "form" }, - "cluster.health#level": { - "in": "query", - "name": "level", - "description": "Can be one of cluster, indices or shards. Controls the details level of the health information returned.", + "indices.delete_alias#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams or indices used to limit the request.\nSupports wildcards (`*`).", + "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Level" + "$ref": "#/components/schemas/_types:Indices" }, - "style": "form" + "style": "simple" }, - "cluster.health#local": { - "in": "query", - "name": "local", - "description": "If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node.", + "indices.delete_alias#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list of aliases to remove.\nSupports wildcards (`*`). To remove all aliases, use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Names" }, - "style": "form" + "style": "simple" }, - "cluster.health#master_timeout": { + "indices.delete_alias#master_timeout": { "in": "query", "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "cluster.health#timeout": { + "indices.delete_alias#timeout": { "in": "query", "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "cluster.health#wait_for_active_shards": { - "in": "query", - "name": "wait_for_active_shards", - "description": "A number controlling to how many active shards to wait for, all to wait for all shards in the cluster to be active, or 0 to not wait.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - }, - "cluster.health#wait_for_events": { - "in": "query", - "name": "wait_for_events", - "description": "Can be one of immediate, urgent, high, normal, low, languid. Wait until all currently queued events with the given priority are processed.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForEvents" - }, - "style": "form" - }, - "cluster.health#wait_for_nodes": { - "in": "query", - "name": "wait_for_nodes", - "description": "The request waits until the specified number N of nodes is available. It also accepts >=N, <=N, >N and yellow > red. By default, will not wait for any status.", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:HealthStatus" + "$ref": "#/components/schemas/_types:ExpandWildcards" }, "style": "form" }, - "cluster.put_component_template#name": { - "in": "path", - "name": "name", - "description": "Name of the component template to create.\nElasticsearch includes the following built-in component templates: `logs-mappings`; 'logs-settings`; `metrics-mappings`; `metrics-settings`;`synthetics-mapping`; `synthetics-settings`.\nElastic Agent uses these templates to configure backing indices for its data streams.\nIf you use Elastic Agent and want to overwrite one of these templates, set the `version` for your replacement template higher than the current version.\nIf you don’t use Elastic Agent and want to disable all built-in component and index templates, set `stack.templates.enabled` to `false` using the cluster update settings API.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "cluster.put_component_template#create": { + "indices.exists_alias#ignore_unavailable": { "in": "query", - "name": "create", - "description": "If `true`, this request cannot replace or update existing component templates.", + "name": "ignore_unavailable", + "description": "If `false`, requests that include a missing data stream or index in the target indices or data streams return an error.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "cluster.put_component_template#master_timeout": { + "indices.exists_alias#local": { "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "type": "boolean" }, "style": "form" }, - "cluster.state#metric": { + "indices.get_alias#name": { "in": "path", - "name": "metric", - "description": "Limit the information returned to the specified metrics", + "name": "name", + "description": "Comma-separated list of aliases to retrieve.\nSupports wildcards (`*`).\nTo retrieve all aliases, omit this parameter or use `*` or `_all`.", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Metrics" + "$ref": "#/components/schemas/_types:Names" }, "style": "simple" }, - "cluster.state#index": { + "indices.get_alias#index": { "in": "path", "name": "index", - "description": "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices", + "description": "Comma-separated list of data streams or indices used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", "required": true, "deprecated": false, "schema": { @@ -27016,121 +19825,132 @@ }, "style": "simple" }, - "cluster.state#allow_no_indices": { + "indices.get_alias#allow_no_indices": { "in": "query", "name": "allow_no_indices", - "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "cluster.state#expand_wildcards": { + "indices.get_alias#expand_wildcards": { "in": "query", "name": "expand_wildcards", - "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:ExpandWildcards" }, "style": "form" }, - "cluster.state#flat_settings": { + "indices.get_alias#ignore_unavailable": { "in": "query", - "name": "flat_settings", - "description": "Return settings in flat format (default: false)", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "cluster.state#ignore_unavailable": { + "indices.get_alias#local": { "in": "query", - "name": "ignore_unavailable", - "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "cluster.state#local": { - "in": "query", - "name": "local", - "description": "Return local information, do not retrieve the state from master node (default: false)", + "indices.get_data_stream#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list of data stream names used to limit the request.\nWildcard (`*`) expressions are supported. If omitted, all data streams are returned.", + "required": true, "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:DataStreamNames" }, - "style": "form" + "style": "simple" }, - "cluster.state#master_timeout": { + "indices.get_data_stream#expand_wildcards": { "in": "query", - "name": "master_timeout", - "description": "Specify timeout for connection to master", + "name": "expand_wildcards", + "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "$ref": "#/components/schemas/_types:ExpandWildcards" }, "style": "form" }, - "cluster.state#wait_for_metadata_version": { + "indices.get_data_stream#include_defaults": { "in": "query", - "name": "wait_for_metadata_version", - "description": "Wait for the metadata version to be equal or greater than the specified metadata version", + "name": "include_defaults", + "description": "If true, returns all relevant default configurations for the index template.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:VersionNumber" + "type": "boolean" }, "style": "form" }, - "cluster.state#wait_for_timeout": { - "in": "query", - "name": "wait_for_timeout", - "description": "The maximum time to wait for wait_for_metadata_version before timing out", + "indices.get_index_template#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.", + "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "$ref": "#/components/schemas/_types:Name" }, - "style": "form" + "style": "simple" }, - "cluster.stats#node_id": { - "in": "path", - "name": "node_id", - "description": "Comma-separated list of node filters used to limit returned information. Defaults to all nodes in the cluster.", - "required": true, + "indices.get_index_template#local": { + "in": "query", + "name": "local", + "description": "If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:NodeIds" + "type": "boolean" }, - "style": "simple" + "style": "form" }, - "cluster.stats#flat_settings": { + "indices.get_index_template#flat_settings": { "in": "query", "name": "flat_settings", - "description": "If `true`, returns settings in flat format.", + "description": "If true, returns settings in flat format.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "cluster.stats#timeout": { + "indices.get_index_template#master_timeout": { "in": "query", - "name": "timeout", - "description": "Period to wait for each node to respond.\nIf a node does not respond before its timeout expires, the response does not include its stats.\nHowever, timed out nodes are included in the response’s `_nodes.failed` property. Defaults to no timeout.", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "count#index": { + "indices.get_index_template#include_defaults": { + "in": "query", + "name": "include_defaults", + "description": "If true, returns all relevant default configurations for the index template.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.get_mapping#index": { "in": "path", "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*` or `_all`.", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", "required": true, "deprecated": false, "schema": { @@ -27138,7 +19958,7 @@ }, "style": "simple" }, - "count#allow_no_indices": { + "indices.get_mapping#allow_no_indices": { "in": "query", "name": "allow_no_indices", "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", @@ -27148,243 +19968,246 @@ }, "style": "form" }, - "count#analyzer": { + "indices.get_mapping#expand_wildcards": { "in": "query", - "name": "analyzer", - "description": "Analyzer to use for the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "deprecated": false, "schema": { - "type": "string" + "$ref": "#/components/schemas/_types:ExpandWildcards" }, "style": "form" }, - "count#analyze_wildcard": { + "indices.get_mapping#ignore_unavailable": { "in": "query", - "name": "analyze_wildcard", - "description": "If `true`, wildcard and prefix queries are analyzed.\nThis parameter can only be used when the `q` query string parameter is specified.", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "count#default_operator": { + "indices.get_mapping#local": { "in": "query", - "name": "default_operator", - "description": "The default operator for query string query: `AND` or `OR`.\nThis parameter can only be used when the `q` query string parameter is specified.", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" + "type": "boolean" }, "style": "form" }, - "count#df": { + "indices.get_mapping#master_timeout": { "in": "query", - "name": "df", - "description": "Field to use as default where no field prefix is given in the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { - "type": "string" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "count#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", + "indices.get_settings#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit\nthe request. Supports wildcards (`*`). To target all data streams and\nindices, omit this parameter or use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" + "$ref": "#/components/schemas/_types:Indices" }, - "style": "form" + "style": "simple" }, - "count#ignore_throttled": { - "in": "query", - "name": "ignore_throttled", - "description": "If `true`, concrete, expanded or aliased indices are ignored when frozen.", + "indices.get_settings#name": { + "in": "path", + "name": "name", + "description": "Comma-separated list or wildcard expression of settings to retrieve.", + "required": true, "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Names" }, - "style": "form" + "style": "simple" }, - "count#ignore_unavailable": { + "indices.get_settings#allow_no_indices": { "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index\nalias, or `_all` value targets only missing or closed indices. This\nbehavior applies even if the request targets other open indices. For\nexample, a request targeting `foo*,bar*` returns an error if an index\nstarts with foo but no index starts with `bar`.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "count#lenient": { + "indices.get_settings#expand_wildcards": { "in": "query", - "name": "lenient", - "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:ExpandWildcards" }, "style": "form" }, - "count#min_score": { + "indices.get_settings#flat_settings": { "in": "query", - "name": "min_score", - "description": "Sets the minimum `_score` value that documents must have to be included in the result.", + "name": "flat_settings", + "description": "If `true`, returns settings in flat format.", "deprecated": false, "schema": { - "type": "number" + "type": "boolean" }, "style": "form" }, - "count#preference": { + "indices.get_settings#ignore_unavailable": { "in": "query", - "name": "preference", - "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", "deprecated": false, "schema": { - "type": "string" + "type": "boolean" }, "style": "form" }, - "count#routing": { + "indices.get_settings#include_defaults": { "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", + "name": "include_defaults", + "description": "If `true`, return all default settings in the response.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Routing" + "type": "boolean" }, "style": "form" }, - "count#terminate_after": { + "indices.get_settings#local": { "in": "query", - "name": "terminate_after", - "description": "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.", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only. If\n`false`, information is retrieved from the master node.", "deprecated": false, "schema": { - "type": "number" + "type": "boolean" }, "style": "form" }, - "count#q": { + "indices.get_settings#master_timeout": { "in": "query", - "name": "q", - "description": "Query in the Lucene query string syntax.", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", "deprecated": false, "schema": { - "type": "string" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "create#id": { - "in": "path", - "name": "id", - "description": "Unique identifier for the document.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "create#index": { + "indices.get_template#name": { "in": "path", - "name": "index", - "description": "Name of the data stream or index to target.\nIf the target doesn’t exist and matches the name or wildcard (`*`) pattern of an index template with a `data_stream` definition, this request creates the data stream.\nIf the target doesn’t exist and doesn’t match a data stream template, this request creates the index.", + "name": "name", + "description": "Comma-separated list of index template names used to limit the request.\nWildcard (`*`) expressions are supported.\nTo return all index templates, omit this parameter or use a value of `_all` or `*`.", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:IndexName" + "$ref": "#/components/schemas/_types:Names" }, "style": "simple" }, - "create#pipeline": { + "indices.get_template#flat_settings": { "in": "query", - "name": "pipeline", - "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", + "name": "flat_settings", + "description": "If `true`, returns settings in flat format.", "deprecated": false, "schema": { - "type": "string" + "type": "boolean" }, "style": "form" }, - "create#refresh": { + "indices.get_template#local": { "in": "query", - "name": "refresh", - "description": "If `true`, Elasticsearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.\nValid values: `true`, `false`, `wait_for`.", + "name": "local", + "description": "If `true`, the request retrieves information from the local node only.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Refresh" + "type": "boolean" }, "style": "form" }, - "create#routing": { + "indices.get_template#master_timeout": { "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Routing" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "create#timeout": { - "in": "query", - "name": "timeout", - "description": "Period the request waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.", + "indices.put_alias#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams or indices to add.\nSupports wildcards (`*`).\nWildcard patterns that match both data streams and indices return an error.", + "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "$ref": "#/components/schemas/_types:Indices" }, - "style": "form" + "style": "simple" }, - "create#version": { - "in": "query", - "name": "version", - "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", + "indices.put_alias#name": { + "in": "path", + "name": "name", + "description": "Alias to update.\nIf the alias doesn’t exist, the request creates it.\nIndex alias names support date math.", + "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:VersionNumber" + "$ref": "#/components/schemas/_types:Name" }, - "style": "form" + "style": "simple" }, - "create#version_type": { + "indices.put_alias#master_timeout": { "in": "query", - "name": "version_type", - "description": "Specific version type: `external`, `external_gte`.", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:VersionType" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "create#wait_for_active_shards": { + "indices.put_alias#timeout": { "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "enrich.get_policy#name": { + "indices.put_index_template#name": { "in": "path", "name": "name", - "description": "Comma-separated list of enrich policy names used to limit the request.\nTo return information for all enrich policies, omit this parameter.", + "description": "Index or template name", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Names" + "$ref": "#/components/schemas/_types:Name" }, "style": "simple" }, - "field_caps#index": { + "indices.put_index_template#create": { + "in": "query", + "name": "create", + "description": "If `true`, this request cannot replace or update existing index templates.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.put_mapping#index": { "in": "path", "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indices, omit this parameter or use * or _all.", + "description": "A comma-separated list of index names the mapping should be added to (supports wildcards); use `_all` or omit to add the mapping on all indices.", "required": true, "deprecated": false, "schema": { @@ -27392,699 +20215,682 @@ }, "style": "simple" }, - "field_caps#allow_no_indices": { + "indices.put_mapping#allow_no_indices": { "in": "query", "name": "allow_no_indices", - "description": "If false, the request returns an error if any wildcard expression, index alias,\nor `_all` value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request\ntargeting `foo*,bar*` returns an error if an index starts with foo but no index starts with bar.", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "field_caps#expand_wildcards": { + "indices.put_mapping#expand_wildcards": { "in": "query", "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams. Supports comma-separated values, such as `open,hidden`.", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:ExpandWildcards" }, "style": "form" }, - "field_caps#fields": { - "in": "query", - "name": "fields", - "description": "Comma-separated list of fields to retrieve capabilities for. Wildcard (`*`) expressions are supported.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "field_caps#ignore_unavailable": { + "indices.put_mapping#ignore_unavailable": { "in": "query", "name": "ignore_unavailable", - "description": "If `true`, missing or closed indices are not included in the response.", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "field_caps#include_unmapped": { + "indices.put_mapping#master_timeout": { "in": "query", - "name": "include_unmapped", - "description": "If true, unmapped fields are included in the response.", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "field_caps#filters": { + "indices.put_mapping#timeout": { "in": "query", - "name": "filters", - "description": "An optional set of filters: can include +metadata,-metadata,-nested,-multifield,-parent", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { - "type": "string" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "field_caps#types": { + "indices.put_mapping#write_index_only": { "in": "query", - "name": "types", - "description": "Only return results for fields that have one of the types in the list", + "name": "write_index_only", + "description": "If `true`, the mappings are applied only to the current write index for the target.", "deprecated": false, "schema": { - "type": "array", - "items": { - "type": "string" - } + "type": "boolean" }, "style": "form" }, - "fleet.msearch#index": { + "indices.put_settings#index": { "in": "path", "name": "index", - "description": "A single target to search. If the target is an index alias, it must resolve to a single index.", + "description": "Comma-separated list of data streams, indices, and aliases used to limit\nthe request. Supports wildcards (`*`). To target all data streams and\nindices, omit this parameter or use `*` or `_all`.", "required": true, "deprecated": false, "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:IndexName" - }, - { - "$ref": "#/components/schemas/_types:IndexAlias" - } - ] + "$ref": "#/components/schemas/_types:Indices" }, "style": "simple" }, - "fleet.msearch#allow_no_indices": { + "indices.put_settings#allow_no_indices": { "in": "query", "name": "allow_no_indices", - "description": "If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "fleet.msearch#ccs_minimize_roundtrips": { - "in": "query", - "name": "ccs_minimize_roundtrips", - "description": "If true, network roundtrips between the coordinating node and remote clusters are minimized for cross-cluster search requests.", + "description": "If `false`, the request returns an error if any wildcard expression, index\nalias, or `_all` value targets only missing or closed indices. This\nbehavior applies even if the request targets other open indices. For\nexample, a request targeting `foo*,bar*` returns an error if an index\nstarts with `foo` but no index starts with `bar`.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "fleet.msearch#expand_wildcards": { + "indices.put_settings#expand_wildcards": { "in": "query", "name": "expand_wildcards", - "description": "Type of index that wildcard expressions can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.", + "description": "Type of index that wildcard patterns can match. If the request can target\ndata streams, this argument determines whether wildcard expressions match\nhidden data streams. Supports comma-separated values, such as\n`open,hidden`.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:ExpandWildcards" }, "style": "form" }, - "fleet.msearch#ignore_throttled": { + "indices.put_settings#flat_settings": { "in": "query", - "name": "ignore_throttled", - "description": "If true, concrete, expanded or aliased indices are ignored when frozen.", + "name": "flat_settings", + "description": "If `true`, returns settings in flat format.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "fleet.msearch#ignore_unavailable": { + "indices.put_settings#ignore_unavailable": { "in": "query", "name": "ignore_unavailable", - "description": "If true, missing or closed indices are not included in the response.", + "description": "If `true`, returns settings in flat format.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "fleet.msearch#max_concurrent_searches": { + "indices.put_settings#master_timeout": { "in": "query", - "name": "max_concurrent_searches", - "description": "Maximum number of concurrent searches the multi search API can execute.", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", "deprecated": false, "schema": { - "type": "number" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "fleet.msearch#max_concurrent_shard_requests": { + "indices.put_settings#preserve_existing": { "in": "query", - "name": "max_concurrent_shard_requests", - "description": "Maximum number of concurrent shard requests that each sub-search request executes per node.", + "name": "preserve_existing", + "description": "If `true`, existing index settings remain unchanged.", "deprecated": false, "schema": { - "type": "number" + "type": "boolean" }, "style": "form" }, - "fleet.msearch#pre_filter_shard_size": { + "indices.put_settings#timeout": { "in": "query", - "name": "pre_filter_shard_size", - "description": "Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method i.e., if date filters are mandatory to match but the shard bounds and the query are disjoint.", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the\n timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { - "type": "number" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "fleet.msearch#search_type": { - "in": "query", - "name": "search_type", - "description": "Indicates whether global term and document frequencies should be used when scoring returned documents.", + "indices.put_template#name": { + "in": "path", + "name": "name", + "description": "The name of the template", + "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:SearchType" + "$ref": "#/components/schemas/_types:Name" }, - "style": "form" + "style": "simple" }, - "fleet.msearch#rest_total_hits_as_int": { + "indices.put_template#create": { "in": "query", - "name": "rest_total_hits_as_int", - "description": "If true, hits.total are returned as an integer in the response. Defaults to false, which returns an object.", + "name": "create", + "description": "If true, this request cannot replace or update existing index templates.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "fleet.msearch#typed_keys": { + "indices.put_template#flat_settings": { "in": "query", - "name": "typed_keys", - "description": "Specifies whether aggregation and suggester names should be prefixed by their respective types in the response.", + "name": "flat_settings", + "description": "If `true`, returns settings in flat format.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "fleet.msearch#wait_for_checkpoints": { + "indices.put_template#master_timeout": { "in": "query", - "name": "wait_for_checkpoints", - "description": "A comma separated list of checkpoints. When configured, the search API will only be executed on a shard\nafter the relevant checkpoint has become visible for search. Defaults to an empty list which will cause\nElasticsearch to immediately execute the search.", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/fleet._types:Checkpoint" - } + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "fleet.msearch#allow_partial_search_results": { + "indices.put_template#timeout": { "in": "query", - "name": "allow_partial_search_results", - "description": "If true, returns partial results if there are shard request timeouts or [shard failures](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-replication.html#shard-failures). If false, returns\nan error with no partial results. Defaults to the configured cluster setting `search.default_allow_partial_results`\nwhich is true by default.", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "fleet.search#index": { - "in": "path", - "name": "index", - "description": "A single target to search. If the target is an index alias, it must resolve to a single index.", - "required": true, + "indices.put_template#order": { + "in": "query", + "name": "order", + "description": "Order in which Elasticsearch applies this template if index\nmatches multiple templates.\n\nTemplates with lower 'order' values are merged first. Templates with higher\n'order' values are merged later, overriding templates with lower values.", "deprecated": false, "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:IndexName" - }, - { - "$ref": "#/components/schemas/_types:IndexAlias" - } - ] + "type": "number" }, - "style": "simple" + "style": "form" }, - "fleet.search#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", + "indices.rollover#alias": { + "in": "path", + "name": "alias", + "description": "Name of the data stream or index alias to roll over.", + "required": true, "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:IndexAlias" }, - "style": "form" + "style": "simple" }, - "fleet.search#analyzer": { - "in": "query", - "name": "analyzer", + "indices.rollover#new_index": { + "in": "path", + "name": "new_index", + "description": "Name of the index to create.\nSupports date math.\nData streams do not support this parameter.", + "required": true, "deprecated": false, "schema": { - "type": "string" + "$ref": "#/components/schemas/_types:IndexName" }, - "style": "form" + "style": "simple" }, - "fleet.search#analyze_wildcard": { + "indices.rollover#dry_run": { "in": "query", - "name": "analyze_wildcard", + "name": "dry_run", + "description": "If `true`, checks whether the current index satisfies the specified conditions but does not perform a rollover.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "fleet.search#batched_reduce_size": { + "indices.rollover#master_timeout": { "in": "query", - "name": "batched_reduce_size", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { - "type": "number" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "fleet.search#ccs_minimize_roundtrips": { + "indices.rollover#timeout": { "in": "query", - "name": "ccs_minimize_roundtrips", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "fleet.search#default_operator": { + "indices.rollover#wait_for_active_shards": { "in": "query", - "name": "default_operator", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" + "$ref": "#/components/schemas/_types:WaitForActiveShards" }, "style": "form" }, - "fleet.search#df": { - "in": "query", - "name": "df", + "indices.simulate_template#name": { + "in": "path", + "name": "name", + "description": "Name of the index template to simulate. To test a template configuration before you add it to the cluster, omit\nthis parameter and specify the template configuration in the request body.", + "required": true, "deprecated": false, "schema": { - "type": "string" + "$ref": "#/components/schemas/_types:Name" }, - "style": "form" + "style": "simple" }, - "fleet.search#docvalue_fields": { + "indices.simulate_template#create": { "in": "query", - "name": "docvalue_fields", + "name": "create", + "description": "If true, the template passed in the body is only used if no existing templates match the same index patterns. If false, the simulation uses the template with the highest priority. Note that the template is not permanently added or updated in either case; it is only used for the simulation.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Fields" + "type": "boolean" }, "style": "form" }, - "fleet.search#expand_wildcards": { + "indices.simulate_template#master_timeout": { "in": "query", - "name": "expand_wildcards", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "fleet.search#explain": { + "indices.simulate_template#include_defaults": { "in": "query", - "name": "explain", + "name": "include_defaults", + "description": "If true, returns all relevant default configurations for the index template.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "fleet.search#ignore_throttled": { - "in": "query", - "name": "ignore_throttled", + "indices.validate_query#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams or indices, omit this parameter or use `*` or `_all`.", + "required": true, "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Indices" }, - "style": "form" + "style": "simple" }, - "fleet.search#ignore_unavailable": { + "indices.validate_query#allow_no_indices": { "in": "query", - "name": "ignore_unavailable", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "fleet.search#lenient": { + "indices.validate_query#all_shards": { "in": "query", - "name": "lenient", + "name": "all_shards", + "description": "If `true`, the validation is executed on all shards instead of one random shard per index.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "fleet.search#max_concurrent_shard_requests": { + "indices.validate_query#analyzer": { "in": "query", - "name": "max_concurrent_shard_requests", + "name": "analyzer", + "description": "Analyzer to use for the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", "deprecated": false, "schema": { - "type": "number" + "type": "string" }, "style": "form" }, - "fleet.search#min_compatible_shard_node": { + "indices.validate_query#analyze_wildcard": { "in": "query", - "name": "min_compatible_shard_node", + "name": "analyze_wildcard", + "description": "If `true`, wildcard and prefix queries are analyzed.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:VersionString" + "type": "boolean" }, "style": "form" }, - "fleet.search#preference": { + "indices.validate_query#default_operator": { "in": "query", - "name": "preference", + "name": "default_operator", + "description": "The default operator for query string query: `AND` or `OR`.", "deprecated": false, "schema": { - "type": "string" + "$ref": "#/components/schemas/_types.query_dsl:Operator" }, "style": "form" }, - "fleet.search#pre_filter_shard_size": { + "indices.validate_query#df": { "in": "query", - "name": "pre_filter_shard_size", + "name": "df", + "description": "Field to use as default where no field prefix is given in the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", "deprecated": false, "schema": { - "type": "number" + "type": "string" }, "style": "form" }, - "fleet.search#request_cache": { + "indices.validate_query#expand_wildcards": { "in": "query", - "name": "request_cache", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:ExpandWildcards" }, "style": "form" }, - "fleet.search#routing": { + "indices.validate_query#explain": { "in": "query", - "name": "routing", + "name": "explain", + "description": "If `true`, the response returns detailed information if an error has occurred.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Routing" + "type": "boolean" }, "style": "form" }, - "fleet.search#scroll": { + "indices.validate_query#ignore_unavailable": { "in": "query", - "name": "scroll", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "type": "boolean" }, "style": "form" }, - "fleet.search#search_type": { + "indices.validate_query#lenient": { "in": "query", - "name": "search_type", + "name": "lenient", + "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:SearchType" + "type": "boolean" }, "style": "form" }, - "fleet.search#stats": { + "indices.validate_query#rewrite": { "in": "query", - "name": "stats", + "name": "rewrite", + "description": "If `true`, returns a more detailed explanation showing the actual Lucene query that will be executed.", "deprecated": false, "schema": { - "type": "array", - "items": { - "type": "string" - } + "type": "boolean" }, "style": "form" }, - "fleet.search#stored_fields": { + "indices.validate_query#q": { "in": "query", - "name": "stored_fields", + "name": "q", + "description": "Query in the Lucene query string syntax.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Fields" + "type": "string" }, "style": "form" }, - "fleet.search#suggest_field": { - "in": "query", - "name": "suggest_field", - "description": "Specifies which field to use for suggestions.", + "ingest.get_pipeline#id": { + "in": "path", + "name": "id", + "description": "Comma-separated list of pipeline IDs to retrieve.\nWildcard (`*`) expressions are supported.\nTo get all ingest pipelines, omit this parameter or use `*`.", + "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Field" + "$ref": "#/components/schemas/_types:Id" }, - "style": "form" + "style": "simple" }, - "fleet.search#suggest_mode": { + "ingest.get_pipeline#master_timeout": { "in": "query", - "name": "suggest_mode", + "name": "master_timeout", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:SuggestMode" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "fleet.search#suggest_size": { + "ingest.get_pipeline#summary": { "in": "query", - "name": "suggest_size", + "name": "summary", + "description": "Return pipelines without their definitions (default: false)", "deprecated": false, "schema": { - "type": "number" + "type": "boolean" }, "style": "form" }, - "fleet.search#suggest_text": { - "in": "query", - "name": "suggest_text", - "description": "The source text for which the suggestions should be returned.", + "ingest.simulate#id": { + "in": "path", + "name": "id", + "description": "Pipeline to test.\nIf you don’t specify a `pipeline` in the request body, this parameter is required.", + "required": true, "deprecated": false, "schema": { - "type": "string" + "$ref": "#/components/schemas/_types:Id" }, - "style": "form" + "style": "simple" }, - "fleet.search#terminate_after": { + "ingest.simulate#verbose": { "in": "query", - "name": "terminate_after", + "name": "verbose", + "description": "If `true`, the response includes output data for each processor in the executed pipeline.", "deprecated": false, "schema": { - "type": "number" + "type": "boolean" }, "style": "form" }, - "fleet.search#timeout": { - "in": "query", - "name": "timeout", + "logstash.get_pipeline#id": { + "in": "path", + "name": "id", + "description": "Comma-separated list of pipeline identifiers.", + "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "$ref": "#/components/schemas/_types:Ids" }, - "style": "form" + "style": "simple" }, - "fleet.search#track_total_hits": { - "in": "query", - "name": "track_total_hits", + "mget#index": { + "in": "path", + "name": "index", + "description": "Name of the index to retrieve documents from when `ids` are specified, or when a document in the `docs` array does not specify an index.", + "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_global.search._types:TrackHits" + "$ref": "#/components/schemas/_types:IndexName" }, - "style": "form" + "style": "simple" }, - "fleet.search#track_scores": { + "mget#preference": { "in": "query", - "name": "track_scores", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on. Random by default.", "deprecated": false, "schema": { - "type": "boolean" + "type": "string" }, "style": "form" }, - "fleet.search#typed_keys": { + "mget#realtime": { "in": "query", - "name": "typed_keys", + "name": "realtime", + "description": "If `true`, the request is real-time as opposed to near-real-time.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "fleet.search#rest_total_hits_as_int": { + "mget#refresh": { "in": "query", - "name": "rest_total_hits_as_int", + "name": "refresh", + "description": "If `true`, the request refreshes relevant shards before retrieving documents.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "fleet.search#version": { + "mget#routing": { "in": "query", - "name": "version", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Routing" }, "style": "form" }, - "fleet.search#_source": { + "mget#_source": { "in": "query", "name": "_source", + "description": "True or false to return the `_source` field or not, or a list of fields to return.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" }, "style": "form" }, - "fleet.search#_source_excludes": { + "mget#_source_excludes": { "in": "query", "name": "_source_excludes", + "description": "A comma-separated list of source fields to exclude from the response.\nYou can also use this parameter to exclude fields from the subset specified in `_source_includes` query parameter.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Fields" }, "style": "form" }, - "fleet.search#_source_includes": { + "mget#_source_includes": { "in": "query", "name": "_source_includes", + "description": "A comma-separated list of source fields to include in the response.\nIf this parameter is specified, only these source fields are returned. You can exclude fields from this subset using the `_source_excludes` query parameter.\nIf the `_source` parameter is `false`, this parameter is ignored.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Fields" }, "style": "form" }, - "fleet.search#seq_no_primary_term": { + "mget#stored_fields": { "in": "query", - "name": "seq_no_primary_term", + "name": "stored_fields", + "description": "If `true`, retrieves the document fields stored in the index rather than the document `_source`.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Fields" }, "style": "form" }, - "fleet.search#q": { - "in": "query", - "name": "q", + "ml.get_calendars#calendar_id": { + "in": "path", + "name": "calendar_id", + "description": "A string that uniquely identifies a calendar. You can get information for multiple calendars by using a comma-separated list of ids or a wildcard expression. You can get information for all calendars by using `_all` or `*` or by omitting the calendar identifier.", + "required": true, "deprecated": false, "schema": { - "type": "string" + "$ref": "#/components/schemas/_types:Id" }, - "style": "form" + "style": "simple" }, - "fleet.search#size": { + "ml.get_calendars#from": { "in": "query", - "name": "size", + "name": "from", + "description": "Skips the specified number of calendars. This parameter is supported only when you omit the calendar identifier.", "deprecated": false, "schema": { "type": "number" }, "style": "form" }, - "fleet.search#from": { + "ml.get_calendars#size": { "in": "query", - "name": "from", + "name": "size", + "description": "Specifies the maximum number of calendars to obtain. This parameter is supported only when you omit the calendar identifier.", "deprecated": false, "schema": { "type": "number" }, "style": "form" }, - "fleet.search#sort": { - "in": "query", - "name": "sort", + "ml.get_data_frame_analytics#id": { + "in": "path", + "name": "id", + "description": "Identifier for the data frame analytics job. If you do not specify this\noption, the API returns information for the first hundred data frame\nanalytics jobs.", + "required": true, "deprecated": false, "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] + "$ref": "#/components/schemas/_types:Id" }, - "style": "form" + "style": "simple" }, - "fleet.search#wait_for_checkpoints": { + "ml.get_data_frame_analytics#allow_no_match": { "in": "query", - "name": "wait_for_checkpoints", - "description": "A comma separated list of checkpoints. When configured, the search API will only be executed on a shard\nafter the relevant checkpoint has become visible for search. Defaults to an empty list which will cause\nElasticsearch to immediately execute the search.", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no data frame analytics\njobs that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value returns an empty data_frame_analytics array when there\nare no matches and the subset of results when there are partial matches.\nIf this parameter is `false`, the request returns a 404 status code when\nthere are no matches or only partial matches.", "deprecated": false, "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/fleet._types:Checkpoint" - } + "type": "boolean" }, "style": "form" }, - "fleet.search#allow_partial_search_results": { + "ml.get_data_frame_analytics#from": { "in": "query", - "name": "allow_partial_search_results", - "description": "If true, returns partial results if there are shard request timeouts or [shard failures](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-replication.html#shard-failures). If false, returns\nan error with no partial results. Defaults to the configured cluster setting `search.default_allow_partial_results`\nwhich is true by default.", + "name": "from", + "description": "Skips the specified number of data frame analytics jobs.", "deprecated": false, "schema": { - "type": "boolean" + "type": "number" }, "style": "form" }, - "graph.explore#index": { - "in": "path", - "name": "index", - "description": "Name of the index.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "graph.explore#routing": { + "ml.get_data_frame_analytics#size": { "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", + "name": "size", + "description": "Specifies the maximum number of data frame analytics jobs to obtain.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Routing" + "type": "number" }, "style": "form" }, - "graph.explore#timeout": { + "ml.get_data_frame_analytics#exclude_generated": { "in": "query", - "name": "timeout", - "description": "Specifies 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.", + "name": "exclude_generated", + "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "type": "boolean" }, "style": "form" }, - "index#id": { + "ml.get_data_frame_analytics_stats#id": { "in": "path", "name": "id", - "description": "Unique identifier for the document.", + "description": "Identifier for the data frame analytics job. If you do not specify this\noption, the API returns information for the first hundred data frame\nanalytics jobs.", "required": true, "deprecated": false, "schema": { @@ -28092,472 +20898,458 @@ }, "style": "simple" }, - "index#index": { - "in": "path", - "name": "index", - "description": "Name of the data stream or index to target.", - "required": true, + "ml.get_data_frame_analytics_stats#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no data frame analytics\njobs that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value returns an empty data_frame_analytics array when there\nare no matches and the subset of results when there are partial matches.\nIf this parameter is `false`, the request returns a 404 status code when\nthere are no matches or only partial matches.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:IndexName" + "type": "boolean" }, - "style": "simple" + "style": "form" }, - "index#if_primary_term": { + "ml.get_data_frame_analytics_stats#from": { "in": "query", - "name": "if_primary_term", - "description": "Only perform the operation if the document has this primary term.", + "name": "from", + "description": "Skips the specified number of data frame analytics jobs.", "deprecated": false, "schema": { "type": "number" }, "style": "form" }, - "index#if_seq_no": { + "ml.get_data_frame_analytics_stats#size": { "in": "query", - "name": "if_seq_no", - "description": "Only perform the operation if the document has this sequence number.", + "name": "size", + "description": "Specifies the maximum number of data frame analytics jobs to obtain.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:SequenceNumber" + "type": "number" }, "style": "form" }, - "index#op_type": { + "ml.get_data_frame_analytics_stats#verbose": { "in": "query", - "name": "op_type", - "description": "Set to create to only index the document if it does not already exist (put if absent).\nIf a document with the specified `_id` already exists, the indexing operation will fail.\nSame as using the `/_create` endpoint.\nValid values: `index`, `create`.\nIf document id is specified, it defaults to `index`.\nOtherwise, it defaults to `create`.", + "name": "verbose", + "description": "Defines whether the stats response should be verbose.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:OpType" + "type": "boolean" }, "style": "form" }, - "index#pipeline": { - "in": "query", - "name": "pipeline", - "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", + "ml.get_datafeed_stats#datafeed_id": { + "in": "path", + "name": "datafeed_id", + "description": "Identifier for the datafeed. It can be a datafeed identifier or a\nwildcard expression. If you do not specify one of these options, the API\nreturns information about all datafeeds.", + "required": true, "deprecated": false, "schema": { - "type": "string" + "$ref": "#/components/schemas/_types:Ids" }, - "style": "form" + "style": "simple" }, - "index#refresh": { + "ml.get_datafeed_stats#allow_no_match": { "in": "query", - "name": "refresh", - "description": "If `true`, Elasticsearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.\nValid values: `true`, `false`, `wait_for`.", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no datafeeds that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value is `true`, which returns an empty `datafeeds` array\nwhen there are no matches and the subset of results when there are\npartial matches. If this parameter is `false`, the request returns a\n`404` status code when there are no matches or only partial matches.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Refresh" + "type": "boolean" }, "style": "form" }, - "index#routing": { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", + "ml.get_datafeeds#datafeed_id": { + "in": "path", + "name": "datafeed_id", + "description": "Identifier for the datafeed. It can be a datafeed identifier or a\nwildcard expression. If you do not specify one of these options, the API\nreturns information about all datafeeds.", + "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Routing" + "$ref": "#/components/schemas/_types:Ids" }, - "style": "form" + "style": "simple" }, - "index#timeout": { + "ml.get_datafeeds#allow_no_match": { "in": "query", - "name": "timeout", - "description": "Period the request waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no datafeeds that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value is `true`, which returns an empty `datafeeds` array\nwhen there are no matches and the subset of results when there are\npartial matches. If this parameter is `false`, the request returns a\n`404` status code when there are no matches or only partial matches.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "type": "boolean" }, "style": "form" }, - "index#version": { + "ml.get_datafeeds#exclude_generated": { "in": "query", - "name": "version", - "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", + "name": "exclude_generated", + "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:VersionNumber" + "type": "boolean" }, "style": "form" }, - "index#version_type": { - "in": "query", - "name": "version_type", - "description": "Specific version type: `external`, `external_gte`.", + "ml.get_filters#filter_id": { + "in": "path", + "name": "filter_id", + "description": "A string that uniquely identifies a filter.", + "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:VersionType" + "$ref": "#/components/schemas/_types:Ids" }, - "style": "form" + "style": "simple" }, - "index#wait_for_active_shards": { + "ml.get_filters#from": { "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", + "name": "from", + "description": "Skips the specified number of filters.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" + "type": "number" }, "style": "form" }, - "index#require_alias": { + "ml.get_filters#size": { "in": "query", - "name": "require_alias", - "description": "If `true`, the destination must be an index alias.", + "name": "size", + "description": "Specifies the maximum number of filters to obtain.", "deprecated": false, "schema": { - "type": "boolean" + "type": "number" }, "style": "form" }, - "indices.analyze#index": { + "ml.get_job_stats#job_id": { "in": "path", - "name": "index", - "description": "Index used to derive the analyzer.\nIf specified, the `analyzer` or field parameter overrides this value.\nIf no index is specified or the index does not have a default analyzer, the analyze API uses the standard analyzer.", + "name": "job_id", + "description": "Identifier for the anomaly detection job. It can be a job identifier, a\ngroup name, a comma-separated list of jobs, or a wildcard expression. If\nyou do not specify one of these options, the API returns information for\nall anomaly detection jobs.", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:IndexName" + "$ref": "#/components/schemas/_types:Id" }, "style": "simple" }, - "indices.data_streams_stats#name": { + "ml.get_job_stats#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no jobs that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the API returns an empty `jobs` array when\nthere are no matches and the subset of results when there are partial\nmatches. If `false`, the API returns a `404` status\ncode when there are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "ml.get_jobs#job_id": { "in": "path", - "name": "name", - "description": "Comma-separated list of data streams used to limit the request.\nWildcard expressions (`*`) are supported.\nTo target all data streams in a cluster, omit this parameter or use `*`.", + "name": "job_id", + "description": "Identifier for the anomaly detection job. It can be a job identifier, a\ngroup name, or a wildcard expression. If you do not specify one of these\noptions, the API returns information for all anomaly detection jobs.", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:IndexName" + "$ref": "#/components/schemas/_types:Ids" }, "style": "simple" }, - "indices.data_streams_stats#expand_wildcards": { + "ml.get_jobs#allow_no_match": { "in": "query", - "name": "expand_wildcards", - "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no jobs that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value is `true`, which returns an empty `jobs` array when\nthere are no matches and the subset of results when there are partial\nmatches. If this parameter is `false`, the request returns a `404` status\ncode when there are no matches or only partial matches.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" + "type": "boolean" }, "style": "form" }, - "indices.delete_alias#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams or indices used to limit the request.\nSupports wildcards (`*`).", - "required": true, + "ml.get_jobs#exclude_generated": { + "in": "query", + "name": "exclude_generated", + "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Indices" + "type": "boolean" }, - "style": "simple" + "style": "form" }, - "indices.delete_alias#name": { + "ml.get_overall_buckets#job_id": { "in": "path", - "name": "name", - "description": "Comma-separated list of aliases to remove.\nSupports wildcards (`*`). To remove all aliases, use `*` or `_all`.", + "name": "job_id", + "description": "Identifier for the anomaly detection job. It can be a job identifier, a\ngroup name, a comma-separated list of jobs or groups, or a wildcard\nexpression.\n\nYou can summarize the bucket results for all anomaly detection jobs by\nusing `_all` or by specifying `*` as the ``.", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Names" + "$ref": "#/components/schemas/_types:Id" }, "style": "simple" }, - "indices.delete_alias#master_timeout": { + "ml.get_overall_buckets#allow_no_match": { "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no jobs that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the request returns an empty `jobs` array when there are no\nmatches and the subset of results when there are partial matches. If this\nparameter is `false`, the request returns a `404` status code when there\nare no matches or only partial matches.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "type": "boolean" }, "style": "form" }, - "indices.delete_alias#timeout": { + "ml.get_overall_buckets#bucket_span": { "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "name": "bucket_span", + "description": "The span of the overall buckets. Must be greater or equal to the largest\nbucket span of the specified anomaly detection jobs, which is the default\nvalue.\n\nBy default, an overall bucket has a span equal to the largest bucket span\nof the specified anomaly detection jobs. To override that behavior, use\nthe optional `bucket_span` parameter.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "indices.exists_alias#name": { - "in": "path", - "name": "name", - "description": "Comma-separated list of aliases to check. Supports wildcards (`*`).", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "indices.exists_alias#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams or indices used to limit the request. Supports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", - "required": true, + "ml.get_overall_buckets#end": { + "in": "query", + "name": "end", + "description": "Returns overall buckets with timestamps earlier than this time.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Indices" + "$ref": "#/components/schemas/_types:DateTime" }, - "style": "simple" + "style": "form" }, - "indices.exists_alias#allow_no_indices": { + "ml.get_overall_buckets#exclude_interim": { "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "name": "exclude_interim", + "description": "If `true`, the output excludes interim results.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "indices.exists_alias#expand_wildcards": { + "ml.get_overall_buckets#overall_score": { "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "name": "overall_score", + "description": "Returns overall buckets with overall scores greater than or equal to this\nvalue.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] }, "style": "form" }, - "indices.exists_alias#ignore_unavailable": { + "ml.get_overall_buckets#start": { "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, requests that include a missing data stream or index in the target indices or data streams return an error.", + "name": "start", + "description": "Returns overall buckets with timestamps after this time.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:DateTime" }, "style": "form" }, - "indices.exists_alias#local": { + "ml.get_overall_buckets#top_n": { "in": "query", - "name": "local", - "description": "If `true`, the request retrieves information from the local node only.", + "name": "top_n", + "description": "The number of top anomaly detection job bucket scores to be used in the\n`overall_score` calculation.", "deprecated": false, "schema": { - "type": "boolean" + "type": "number" }, "style": "form" }, - "indices.get_alias#name": { + "ml.get_trained_models#model_id": { "in": "path", - "name": "name", - "description": "Comma-separated list of aliases to retrieve.\nSupports wildcards (`*`).\nTo retrieve all aliases, omit this parameter or use `*` or `_all`.", + "name": "model_id", + "description": "The unique identifier of the trained model.", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Names" + "$ref": "#/components/schemas/_types:Id" }, "style": "simple" }, - "indices.get_alias#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams or indices used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "indices.get_alias#allow_no_indices": { + "ml.get_trained_models#allow_no_match": { "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n- Contains wildcard expressions and there are no models that match.\n- Contains the _all string or no identifiers and there are no matches.\n- Contains wildcard expressions and there are only partial matches.\n\nIf true, it returns an empty array when there are no matches and the\nsubset of results when there are partial matches.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "indices.get_alias#expand_wildcards": { + "ml.get_trained_models#decompress_definition": { "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "name": "decompress_definition", + "description": "Specifies whether the included model definition should be returned as a\nJSON map (true) or in a custom compressed format (false).", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" + "type": "boolean" }, "style": "form" }, - "indices.get_alias#ignore_unavailable": { + "ml.get_trained_models#exclude_generated": { "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "name": "exclude_generated", + "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "indices.get_alias#local": { + "ml.get_trained_models#from": { "in": "query", - "name": "local", - "description": "If `true`, the request retrieves information from the local node only.", + "name": "from", + "description": "Skips the specified number of models.", "deprecated": false, "schema": { - "type": "boolean" + "type": "number" }, "style": "form" }, - "indices.get_data_stream#name": { - "in": "path", - "name": "name", - "description": "Comma-separated list of data stream names used to limit the request.\nWildcard (`*`) expressions are supported. If omitted, all data streams are returned.", - "required": true, + "ml.get_trained_models#include": { + "in": "query", + "name": "include", + "description": "A comma delimited string of optional fields to include in the response\nbody.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:DataStreamNames" + "$ref": "#/components/schemas/ml._types:Include" }, - "style": "simple" + "style": "form" }, - "indices.get_data_stream#expand_wildcards": { + "ml.get_trained_models#size": { "in": "query", - "name": "expand_wildcards", - "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.", + "name": "size", + "description": "Specifies the maximum number of models to obtain.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" + "type": "number" }, "style": "form" }, - "indices.get_data_stream#include_defaults": { + "ml.get_trained_models#tags": { "in": "query", - "name": "include_defaults", - "description": "If true, returns all relevant default configurations for the index template.", + "name": "tags", + "description": "A comma delimited string of tags. A trained model can have many tags, or\nnone. When supplied, only trained models that contain all the supplied\ntags are returned.", "deprecated": false, "schema": { - "type": "boolean" + "type": "string" }, "style": "form" }, - "indices.get_index_template#name": { + "ml.get_trained_models_stats#model_id": { "in": "path", - "name": "name", - "description": "Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.", + "name": "model_id", + "description": "The unique identifier of the trained model or a model alias. It can be a\ncomma-separated list or a wildcard expression.", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Name" + "$ref": "#/components/schemas/_types:Ids" }, "style": "simple" }, - "indices.get_index_template#local": { - "in": "query", - "name": "local", - "description": "If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_index_template#flat_settings": { + "ml.get_trained_models_stats#allow_no_match": { "in": "query", - "name": "flat_settings", - "description": "If true, returns settings in flat format.", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n- Contains wildcard expressions and there are no models that match.\n- Contains the _all string or no identifiers and there are no matches.\n- Contains wildcard expressions and there are only partial matches.\n\nIf true, it returns an empty array when there are no matches and the\nsubset of results when there are partial matches.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "indices.get_index_template#master_timeout": { + "ml.get_trained_models_stats#from": { "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", + "name": "from", + "description": "Skips the specified number of models.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "type": "number" }, "style": "form" }, - "indices.get_index_template#include_defaults": { + "ml.get_trained_models_stats#size": { "in": "query", - "name": "include_defaults", - "description": "If true, returns all relevant default configurations for the index template.", + "name": "size", + "description": "Specifies the maximum number of models to obtain.", "deprecated": false, "schema": { - "type": "boolean" + "type": "number" }, "style": "form" }, - "indices.get_mapping#index": { + "ml.infer_trained_model#model_id": { "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "name": "model_id", + "description": "The unique identifier of the trained model.", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Indices" + "$ref": "#/components/schemas/_types:Id" }, "style": "simple" }, - "indices.get_mapping#allow_no_indices": { + "ml.infer_trained_model#timeout": { "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "name": "timeout", + "description": "Controls the amount of time to wait for inference results.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "indices.get_mapping#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "ml.preview_data_frame_analytics#id": { + "in": "path", + "name": "id", + "description": "Identifier for the data frame analytics job.", + "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" + "$ref": "#/components/schemas/_types:Id" }, - "style": "form" + "style": "simple" }, - "indices.get_mapping#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "ml.preview_datafeed#datafeed_id": { + "in": "path", + "name": "datafeed_id", + "description": "A numerical character string that uniquely identifies the datafeed. This identifier can contain lowercase\nalphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric\ncharacters. NOTE: If you use this path parameter, you cannot provide datafeed or anomaly detection job\nconfiguration details in the request body.", + "required": true, "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Id" }, - "style": "form" + "style": "simple" }, - "indices.get_mapping#local": { + "ml.preview_datafeed#start": { "in": "query", - "name": "local", - "description": "If `true`, the request retrieves information from the local node only.", + "name": "start", + "description": "The start time from where the datafeed preview should begin", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:DateTime" }, "style": "form" }, - "indices.get_mapping#master_timeout": { + "ml.preview_datafeed#end": { "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "name": "end", + "description": "The end time when the datafeed preview should stop", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "$ref": "#/components/schemas/_types:DateTime" }, "style": "form" }, - "indices.get_settings#index": { + "msearch#index": { "in": "path", "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases used to limit\nthe request. Supports wildcards (`*`). To target all data streams and\nindices, omit this parameter or use `*` or `_all`.", + "description": "Comma-separated list of data streams, indices, and index aliases to search.", "required": true, "deprecated": false, "schema": { @@ -28565,132 +21357,130 @@ }, "style": "simple" }, - "indices.get_settings#name": { - "in": "path", - "name": "name", - "description": "Comma-separated list or wildcard expression of settings to retrieve.", - "required": true, + "msearch#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Names" + "type": "boolean" }, - "style": "simple" + "style": "form" }, - "indices.get_settings#allow_no_indices": { + "msearch#ccs_minimize_roundtrips": { "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index\nalias, or `_all` value targets only missing or closed indices. This\nbehavior applies even if the request targets other open indices. For\nexample, a request targeting `foo*,bar*` returns an error if an index\nstarts with foo but no index starts with `bar`.", + "name": "ccs_minimize_roundtrips", + "description": "If true, network roundtrips between the coordinating node and remote clusters are minimized for cross-cluster search requests.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "indices.get_settings#expand_wildcards": { + "msearch#expand_wildcards": { "in": "query", "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", + "description": "Type of index that wildcard expressions can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:ExpandWildcards" }, "style": "form" }, - "indices.get_settings#flat_settings": { + "msearch#ignore_throttled": { "in": "query", - "name": "flat_settings", - "description": "If `true`, returns settings in flat format.", + "name": "ignore_throttled", + "description": "If true, concrete, expanded or aliased indices are ignored when frozen.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "indices.get_settings#ignore_unavailable": { + "msearch#ignore_unavailable": { "in": "query", "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "description": "If true, missing or closed indices are not included in the response.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "indices.get_settings#include_defaults": { + "msearch#max_concurrent_searches": { "in": "query", - "name": "include_defaults", - "description": "If `true`, return all default settings in the response.", + "name": "max_concurrent_searches", + "description": "Maximum number of concurrent searches the multi search API can execute.", "deprecated": false, "schema": { - "type": "boolean" + "type": "number" }, "style": "form" }, - "indices.get_settings#local": { + "msearch#max_concurrent_shard_requests": { "in": "query", - "name": "local", - "description": "If `true`, the request retrieves information from the local node only. If\n`false`, information is retrieved from the master node.", + "name": "max_concurrent_shard_requests", + "description": "Maximum number of concurrent shard requests that each sub-search request executes per node.", "deprecated": false, "schema": { - "type": "boolean" + "type": "number" }, "style": "form" }, - "indices.get_settings#master_timeout": { + "msearch#pre_filter_shard_size": { "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", + "name": "pre_filter_shard_size", + "description": "Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method i.e., if date filters are mandatory to match but the shard bounds and the query are disjoint.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "type": "number" }, "style": "form" }, - "indices.get_template#name": { - "in": "path", - "name": "name", - "description": "Comma-separated list of index template names used to limit the request.\nWildcard (`*`) expressions are supported.\nTo return all index templates, omit this parameter or use a value of `_all` or `*`.", - "required": true, + "msearch#rest_total_hits_as_int": { + "in": "query", + "name": "rest_total_hits_as_int", + "description": "If true, hits.total are returned as an integer in the response. Defaults to false, which returns an object.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Names" + "type": "boolean" }, - "style": "simple" + "style": "form" }, - "indices.get_template#flat_settings": { + "msearch#routing": { "in": "query", - "name": "flat_settings", - "description": "If `true`, returns settings in flat format.", + "name": "routing", + "description": "Custom routing value used to route search operations to a specific shard.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Routing" }, "style": "form" }, - "indices.get_template#local": { + "msearch#search_type": { "in": "query", - "name": "local", - "description": "If `true`, the request retrieves information from the local node only.", + "name": "search_type", + "description": "Indicates whether global term and document frequencies should be used when scoring returned documents.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:SearchType" }, "style": "form" }, - "indices.get_template#master_timeout": { + "msearch#typed_keys": { "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "name": "typed_keys", + "description": "Specifies whether aggregation and suggester names should be prefixed by their respective types in the response.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "type": "boolean" }, "style": "form" }, - "indices.put_alias#index": { + "msearch_template#index": { "in": "path", "name": "index", - "description": "Comma-separated list of data streams or indices to add.\nSupports wildcards (`*`).\nWildcard patterns that match both data streams and indices return an error.", + "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*`.", "required": true, "deprecated": false, "schema": { @@ -28698,252 +21488,223 @@ }, "style": "simple" }, - "indices.put_alias#name": { - "in": "path", - "name": "name", - "description": "Alias to update.\nIf the alias doesn’t exist, the request creates it.\nIndex alias names support date math.", - "required": true, + "msearch_template#ccs_minimize_roundtrips": { + "in": "query", + "name": "ccs_minimize_roundtrips", + "description": "If `true`, network round-trips are minimized for cross-cluster search requests.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Name" + "type": "boolean" }, - "style": "simple" + "style": "form" }, - "indices.put_alias#master_timeout": { + "msearch_template#max_concurrent_searches": { "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "name": "max_concurrent_searches", + "description": "Maximum number of concurrent searches the API can run.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "type": "number" }, "style": "form" }, - "indices.put_alias#timeout": { + "msearch_template#search_type": { "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "name": "search_type", + "description": "The type of the search operation.\nAvailable options: `query_then_fetch`, `dfs_query_then_fetch`.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "$ref": "#/components/schemas/_types:SearchType" }, "style": "form" }, - "indices.put_index_template#name": { - "in": "path", - "name": "name", - "description": "Index or template name", - "required": true, + "msearch_template#rest_total_hits_as_int": { + "in": "query", + "name": "rest_total_hits_as_int", + "description": "If `true`, the response returns `hits.total` as an integer.\nIf `false`, it returns `hits.total` as an object.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Name" + "type": "boolean" }, - "style": "simple" + "style": "form" }, - "indices.put_index_template#create": { + "msearch_template#typed_keys": { "in": "query", - "name": "create", - "description": "If `true`, this request cannot replace or update existing index templates.", + "name": "typed_keys", + "description": "If `true`, the response prefixes aggregation and suggester names with their respective types.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "indices.put_mapping#index": { + "mtermvectors#index": { "in": "path", "name": "index", - "description": "A comma-separated list of index names the mapping should be added to (supports wildcards); use `_all` or omit to add the mapping on all indices.", + "description": "Name of the index that contains the documents.", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Indices" + "$ref": "#/components/schemas/_types:IndexName" }, "style": "simple" }, - "indices.put_mapping#allow_no_indices": { + "mtermvectors#ids": { "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "name": "ids", + "description": "A comma-separated list of documents ids. You must define ids as parameter or set \"ids\" or \"docs\" in the request body", "deprecated": false, "schema": { - "type": "boolean" + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } }, "style": "form" }, - "indices.put_mapping#expand_wildcards": { + "mtermvectors#fields": { "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "name": "fields", + "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.\nUsed as the default list unless a specific field list is provided in the `completion_fields` or `fielddata_fields` parameters.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" + "$ref": "#/components/schemas/_types:Fields" }, "style": "form" }, - "indices.put_mapping#ignore_unavailable": { + "mtermvectors#field_statistics": { "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "name": "field_statistics", + "description": "If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "indices.put_mapping#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.put_mapping#timeout": { + "mtermvectors#offsets": { "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "name": "offsets", + "description": "If `true`, the response includes term offsets.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "type": "boolean" }, "style": "form" }, - "indices.put_mapping#write_index_only": { + "mtermvectors#payloads": { "in": "query", - "name": "write_index_only", - "description": "If `true`, the mappings are applied only to the current write index for the target.", + "name": "payloads", + "description": "If `true`, the response includes term payloads.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "indices.put_settings#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases used to limit\nthe request. Supports wildcards (`*`). To target all data streams and\nindices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "indices.put_settings#allow_no_indices": { + "mtermvectors#positions": { "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index\nalias, or `_all` value targets only missing or closed indices. This\nbehavior applies even if the request targets other open indices. For\nexample, a request targeting `foo*,bar*` returns an error if an index\nstarts with `foo` but no index starts with `bar`.", + "name": "positions", + "description": "If `true`, the response includes term positions.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "indices.put_settings#expand_wildcards": { + "mtermvectors#preference": { "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match. If the request can target\ndata streams, this argument determines whether wildcard expressions match\nhidden data streams. Supports comma-separated values, such as\n`open,hidden`.", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" + "type": "string" }, "style": "form" }, - "indices.put_settings#flat_settings": { + "mtermvectors#realtime": { "in": "query", - "name": "flat_settings", - "description": "If `true`, returns settings in flat format.", + "name": "realtime", + "description": "If true, the request is real-time as opposed to near-real-time.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "indices.put_settings#ignore_unavailable": { + "mtermvectors#routing": { "in": "query", - "name": "ignore_unavailable", - "description": "If `true`, returns settings in flat format.", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Routing" }, "style": "form" }, - "indices.put_settings#master_timeout": { + "mtermvectors#term_statistics": { "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", + "name": "term_statistics", + "description": "If true, the response includes term frequency and document frequency.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "type": "boolean" }, "style": "form" }, - "indices.put_settings#preserve_existing": { + "mtermvectors#version": { "in": "query", - "name": "preserve_existing", - "description": "If `true`, existing index settings remain unchanged.", + "name": "version", + "description": "If `true`, returns the document version as part of a hit.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:VersionNumber" }, "style": "form" }, - "indices.put_settings#timeout": { + "mtermvectors#version_type": { "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the\n timeout expires, the request fails and returns an error.", + "name": "version_type", + "description": "Specific version type.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "$ref": "#/components/schemas/_types:VersionType" }, "style": "form" }, - "indices.put_template#name": { + "put_script#id": { "in": "path", - "name": "name", - "description": "The name of the template", + "name": "id", + "description": "Identifier for the stored script or search template.\nMust be unique within the cluster.", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Name" + "$ref": "#/components/schemas/_types:Id" }, "style": "simple" }, - "indices.put_template#create": { - "in": "query", - "name": "create", - "description": "If true, this request cannot replace or update existing index templates.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.put_template#flat_settings": { - "in": "query", - "name": "flat_settings", - "description": "If `true`, returns settings in flat format.", + "put_script#context": { + "in": "path", + "name": "context", + "description": "Context in which the script or search template should run.\nTo prevent errors, the API immediately compiles the script or template in this context.", + "required": true, "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:Name" }, - "style": "form" + "style": "simple" }, - "indices.put_template#master_timeout": { + "put_script#master_timeout": { "in": "query", "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an error.", + "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "indices.put_template#timeout": { + "put_script#timeout": { "in": "query", "name": "timeout", "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", @@ -28953,20 +21714,10 @@ }, "style": "form" }, - "indices.put_template#order": { - "in": "query", - "name": "order", - "description": "Order in which Elasticsearch applies this template if index\nmatches multiple templates.\n\nTemplates with lower 'order' values are merged first. Templates with higher\n'order' values are merged later, overriding templates with lower values.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "indices.recovery#index": { + "rank_eval#index": { "in": "path", "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "description": "Comma-separated list of data streams, indices, and index aliases used to limit the request. Wildcard (`*`) expressions are supported.\nTo target all data streams and indices in a cluster, omit this parameter or use `_all` or `*`.", "required": true, "deprecated": false, "schema": { @@ -28974,255 +21725,102 @@ }, "style": "simple" }, - "indices.recovery#active_only": { + "rank_eval#allow_no_indices": { "in": "query", - "name": "active_only", - "description": "If `true`, the response only includes ongoing shard recoveries.", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "indices.recovery#detailed": { + "rank_eval#expand_wildcards": { "in": "query", - "name": "detailed", - "description": "If `true`, the response includes detailed information about shard recoveries.", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:ExpandWildcards" }, "style": "form" }, - "indices.rollover#alias": { - "in": "path", - "name": "alias", - "description": "Name of the data stream or index alias to roll over.", - "required": true, + "rank_eval#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `true`, missing or closed indices are not included in the response.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:IndexAlias" + "type": "boolean" }, - "style": "simple" + "style": "form" }, - "indices.rollover#new_index": { - "in": "path", - "name": "new_index", - "description": "Name of the index to create.\nSupports date math.\nData streams do not support this parameter.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - "indices.rollover#dry_run": { - "in": "query", - "name": "dry_run", - "description": "If `true`, checks whether the current index satisfies the specified conditions but does not perform a rollover.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.rollover#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.rollover#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.rollover#wait_for_active_shards": { - "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - }, - "indices.simulate_template#name": { - "in": "path", - "name": "name", - "description": "Name of the index template to simulate. To test a template configuration before you add it to the cluster, omit\nthis parameter and specify the template configuration in the request body.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "indices.simulate_template#create": { - "in": "query", - "name": "create", - "description": "If true, the template passed in the body is only used if no existing templates match the same index patterns. If false, the simulation uses the template with the highest priority. Note that the template is not permanently added or updated in either case; it is only used for the simulation.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.simulate_template#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.simulate_template#include_defaults": { + "rank_eval#search_type": { "in": "query", - "name": "include_defaults", - "description": "If true, returns all relevant default configurations for the index template.", + "name": "search_type", + "description": "Search operation type", "deprecated": false, "schema": { - "type": "boolean" + "type": "string" }, "style": "form" }, - "indices.stats#metric": { + "render_search_template#id": { "in": "path", - "name": "metric", - "description": "Limit the information returned the specific metrics.", + "name": "id", + "description": "ID of the search template to render.\nIf no `source` is specified, this or the `id` request body parameter is required.", "required": true, "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Metrics" + "$ref": "#/components/schemas/_types:Id" }, "style": "simple" }, - "indices.stats#index": { + "scroll#scroll_id": { "in": "path", - "name": "index", - "description": "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices", + "name": "scroll_id", + "description": "The scroll ID", "required": true, - "deprecated": false, + "deprecated": true, "schema": { - "$ref": "#/components/schemas/_types:Indices" + "$ref": "#/components/schemas/_types:ScrollId" }, "style": "simple" }, - "indices.stats#completion_fields": { - "in": "query", - "name": "completion_fields", - "description": "Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "indices.stats#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match. If the request can target data streams, this argument\ndetermines whether wildcard expressions match hidden data streams. Supports comma-separated values,\nsuch as `open,hidden`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "indices.stats#fielddata_fields": { - "in": "query", - "name": "fielddata_fields", - "description": "Comma-separated list or wildcard expressions of fields to include in fielddata statistics.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "indices.stats#fields": { - "in": "query", - "name": "fields", - "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "indices.stats#forbid_closed_indices": { - "in": "query", - "name": "forbid_closed_indices", - "description": "If true, statistics are not collected from closed indices.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.stats#groups": { + "scroll#scroll": { "in": "query", - "name": "groups", - "description": "Comma-separated list of search groups to include in the search statistics.", + "name": "scroll", + "description": "Period to retain the search context for scrolling.", "deprecated": false, "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] + "$ref": "#/components/schemas/_types:Duration" }, "style": "form" }, - "indices.stats#include_segment_file_sizes": { + "scroll#scroll_id_": { "in": "query", - "name": "include_segment_file_sizes", - "description": "If true, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).", - "deprecated": false, + "name": "scroll_id", + "description": "The scroll ID for scrolled search", + "deprecated": true, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types:ScrollId" }, "style": "form" }, - "indices.stats#include_unloaded_segments": { + "scroll#rest_total_hits_as_int": { "in": "query", - "name": "include_unloaded_segments", - "description": "If true, the response includes information from segments that are not loaded into memory.", + "name": "rest_total_hits_as_int", + "description": "If true, the API response’s hit.total property is returned as an integer. If false, the API response’s hit.total property is returned as an object.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "indices.stats#level": { - "in": "query", - "name": "level", - "description": "Indicates whether statistics are aggregated at the cluster, index, or shard level.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Level" - }, - "style": "form" - }, - "indices.validate_query#index": { + "search#index": { "in": "path", "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams or indices, omit this parameter or use `*` or `_all`.", + "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*` or `_all`.", "required": true, "deprecated": false, "schema": { @@ -29230,14033 +21828,2721 @@ }, "style": "simple" }, - "indices.validate_query#allow_no_indices": { + "search#allow_no_indices": { "in": "query", "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "indices.validate_query#all_shards": { + "search#allow_partial_search_results": { "in": "query", - "name": "all_shards", - "description": "If `true`, the validation is executed on all shards instead of one random shard per index.", + "name": "allow_partial_search_results", + "description": "If true, returns partial results if there are shard request timeouts or shard failures. If false, returns an error with no partial results.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "indices.validate_query#analyzer": { + "search#analyzer": { "in": "query", "name": "analyzer", - "description": "Analyzer to use for the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", + "description": "Analyzer to use for the query string.\nThis parameter can only be used when the q query string parameter is specified.", "deprecated": false, "schema": { "type": "string" }, "style": "form" }, - "indices.validate_query#analyze_wildcard": { + "search#analyze_wildcard": { "in": "query", "name": "analyze_wildcard", - "description": "If `true`, wildcard and prefix queries are analyzed.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.validate_query#default_operator": { - "in": "query", - "name": "default_operator", - "description": "The default operator for query string query: `AND` or `OR`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "style": "form" - }, - "indices.validate_query#df": { - "in": "query", - "name": "df", - "description": "Field to use as default where no field prefix is given in the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "indices.validate_query#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "indices.validate_query#explain": { - "in": "query", - "name": "explain", - "description": "If `true`, the response returns detailed information if an error has occurred.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.validate_query#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.validate_query#lenient": { - "in": "query", - "name": "lenient", - "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.validate_query#rewrite": { - "in": "query", - "name": "rewrite", - "description": "If `true`, returns a more detailed explanation showing the actual Lucene query that will be executed.", + "description": "If true, wildcard and prefix queries are analyzed.\nThis parameter can only be used when the q query string parameter is specified.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "indices.validate_query#q": { - "in": "query", - "name": "q", - "description": "Query in the Lucene query string syntax.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "ingest.get_pipeline#id": { - "in": "path", - "name": "id", - "description": "Comma-separated list of pipeline IDs to retrieve.\nWildcard (`*`) expressions are supported.\nTo get all ingest pipelines, omit this parameter or use `*`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ingest.get_pipeline#master_timeout": { + "search#batched_reduce_size": { "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "name": "batched_reduce_size", + "description": "The number of shard results that should be reduced at once on the coordinating node.\nThis value should be used as a protection mechanism to reduce the memory overhead per search request if the potential number of shards in the request can be large.", "deprecated": false, "schema": { - "$ref": "#/components/schemas/_types:Duration" + "type": "number" }, "style": "form" }, - "ingest.get_pipeline#summary": { + "search#ccs_minimize_roundtrips": { "in": "query", - "name": "summary", - "description": "Return pipelines without their definitions (default: false)", + "name": "ccs_minimize_roundtrips", + "description": "If true, network round-trips between the coordinating node and the remote clusters are minimized when executing cross-cluster search (CCS) requests.", "deprecated": false, "schema": { "type": "boolean" }, "style": "form" }, - "ingest.simulate#id": { - "in": "path", - "name": "id", - "description": "Pipeline to test.\nIf you don’t specify a `pipeline` in the request body, this parameter is required.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ingest.simulate#verbose": { + "search#default_operator": { "in": "query", - "name": "verbose", - "description": "If `true`, the response includes output data for each processor in the executed pipeline.", + "name": "default_operator", + "description": "The default operator for query string query: AND or OR.\nThis parameter can only be used when the `q` query string parameter is specified.", "deprecated": false, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/_types.query_dsl:Operator" }, "style": "form" }, - "logstash.get_pipeline#id": { - "in": "path", - "name": "id", - "description": "Comma-separated list of pipeline identifiers.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Ids" - }, - "style": "simple" - }, - "mget#index": { - "in": "path", - "name": "index", - "description": "Name of the index to retrieve documents from when `ids` are specified, or when a document in the `docs` array does not specify an index.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - "mget#preference": { + "search#df": { "in": "query", - "name": "preference", - "description": "Specifies the node or shard the operation should be performed on. Random by default.", + "name": "df", + "description": "Field to use as default where no field prefix is given in the query string.\nThis parameter can only be used when the q query string parameter is specified.", "deprecated": false, "schema": { "type": "string" }, "style": "form" }, - "mget#realtime": { - "in": "query", - "name": "realtime", - "description": "If `true`, the request is real-time as opposed to near-real-time.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "mget#refresh": { - "in": "query", - "name": "refresh", - "description": "If `true`, the request refreshes relevant shards before retrieving documents.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "mget#routing": { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - "mget#_source": { - "in": "query", - "name": "_source", - "description": "True or false to return the `_source` field or not, or a list of fields to return.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" - }, - "style": "form" - }, - "mget#_source_excludes": { - "in": "query", - "name": "_source_excludes", - "description": "A comma-separated list of source fields to exclude from the response.\nYou can also use this parameter to exclude fields from the subset specified in `_source_includes` query parameter.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "mget#_source_includes": { - "in": "query", - "name": "_source_includes", - "description": "A comma-separated list of source fields to include in the response.\nIf this parameter is specified, only these source fields are returned. You can exclude fields from this subset using the `_source_excludes` query parameter.\nIf the `_source` parameter is `false`, this parameter is ignored.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "mget#stored_fields": { + "search#docvalue_fields": { "in": "query", - "name": "stored_fields", - "description": "If `true`, retrieves the document fields stored in the index rather than the document `_source`.", + "name": "docvalue_fields", + "description": "A comma-separated list of fields to return as the docvalue representation for each hit.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types:Fields" }, "style": "form" }, - "ml.delete_expired_data#job_id": { - "in": "path", - "name": "job_id", - "description": "Identifier for an anomaly detection job. It can be a job identifier, a\ngroup name, or a wildcard expression.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.delete_expired_data#requests_per_second": { - "in": "query", - "name": "requests_per_second", - "description": "The desired requests per second for the deletion processes. The default\nbehavior is no throttling.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.delete_expired_data#timeout": { - "in": "query", - "name": "timeout", - "description": "How long can the underlying delete processes run until they are canceled.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "ml.delete_forecast#job_id": { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.delete_forecast#forecast_id": { - "in": "path", - "name": "forecast_id", - "description": "A comma-separated list of forecast identifiers. If you do not specify\nthis optional parameter or if you specify `_all` or `*` the API deletes\nall forecasts from the job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.delete_forecast#allow_no_forecasts": { - "in": "query", - "name": "allow_no_forecasts", - "description": "Specifies whether an error occurs when there are no forecasts. In\nparticular, if this parameter is set to `false` and there are no\nforecasts associated with the job, attempts to delete all forecasts\nreturn an error.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.delete_forecast#timeout": { - "in": "query", - "name": "timeout", - "description": "Specifies the period of time to wait for the completion of the delete\noperation. When this period of time elapses, the API fails and returns an\nerror.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "ml.explain_data_frame_analytics#id": { - "in": "path", - "name": "id", - "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_buckets#job_id": { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_buckets#timestamp": { - "in": "path", - "name": "timestamp", - "description": "The timestamp of a single bucket result. If you do not specify this\nparameter, the API returns information about all buckets.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "simple" - }, - "ml.get_buckets#anomaly_score": { - "in": "query", - "name": "anomaly_score", - "description": "Returns buckets with anomaly scores greater or equal than this value.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_buckets#desc": { - "in": "query", - "name": "desc", - "description": "If `true`, the buckets are sorted in descending order.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_buckets#end": { - "in": "query", - "name": "end", - "description": "Returns buckets with timestamps earlier than this time. `-1` means it is\nunset and results are not limited to specific timestamps.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "ml.get_buckets#exclude_interim": { + "search#expand_wildcards": { "in": "query", - "name": "exclude_interim", - "description": "If `true`, the output excludes interim results.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_buckets#expand": { - "in": "query", - "name": "expand", - "description": "If true, the output includes anomaly records.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_buckets#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of buckets.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_buckets#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of buckets to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_buckets#sort": { - "in": "query", - "name": "sort", - "description": "Specifies the sort field for the requested buckets.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Field" - }, - "style": "form" - }, - "ml.get_buckets#start": { - "in": "query", - "name": "start", - "description": "Returns buckets with timestamps after this time. `-1` means it is unset\nand results are not limited to specific timestamps.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "ml.get_calendars#calendar_id": { - "in": "path", - "name": "calendar_id", - "description": "A string that uniquely identifies a calendar. You can get information for multiple calendars by using a comma-separated list of ids or a wildcard expression. You can get information for all calendars by using `_all` or `*` or by omitting the calendar identifier.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_calendars#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of calendars. This parameter is supported only when you omit the calendar identifier.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_calendars#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of calendars to obtain. This parameter is supported only when you omit the calendar identifier.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_categories#job_id": { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_categories#category_id": { - "in": "path", - "name": "category_id", - "description": "Identifier for the category, which is unique in the job. If you specify\nneither the category ID nor the partition_field_value, the API returns\ninformation about all categories. If you specify only the\npartition_field_value, it returns information about all categories for\nthe specified partition.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:CategoryId" - }, - "style": "simple" - }, - "ml.get_categories#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of categories.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_categories#partition_field_value": { - "in": "query", - "name": "partition_field_value", - "description": "Only return categories for the specified partition.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "ml.get_categories#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of categories to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_data_frame_analytics#id": { - "in": "path", - "name": "id", - "description": "Identifier for the data frame analytics job. If you do not specify this\noption, the API returns information for the first hundred data frame\nanalytics jobs.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_data_frame_analytics#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no data frame analytics\njobs that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value returns an empty data_frame_analytics array when there\nare no matches and the subset of results when there are partial matches.\nIf this parameter is `false`, the request returns a 404 status code when\nthere are no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_data_frame_analytics#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of data frame analytics jobs.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_data_frame_analytics#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of data frame analytics jobs to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_data_frame_analytics#exclude_generated": { - "in": "query", - "name": "exclude_generated", - "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_data_frame_analytics_stats#id": { - "in": "path", - "name": "id", - "description": "Identifier for the data frame analytics job. If you do not specify this\noption, the API returns information for the first hundred data frame\nanalytics jobs.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_data_frame_analytics_stats#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no data frame analytics\njobs that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value returns an empty data_frame_analytics array when there\nare no matches and the subset of results when there are partial matches.\nIf this parameter is `false`, the request returns a 404 status code when\nthere are no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_data_frame_analytics_stats#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of data frame analytics jobs.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_data_frame_analytics_stats#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of data frame analytics jobs to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_data_frame_analytics_stats#verbose": { - "in": "query", - "name": "verbose", - "description": "Defines whether the stats response should be verbose.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_datafeed_stats#datafeed_id": { - "in": "path", - "name": "datafeed_id", - "description": "Identifier for the datafeed. It can be a datafeed identifier or a\nwildcard expression. If you do not specify one of these options, the API\nreturns information about all datafeeds.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Ids" - }, - "style": "simple" - }, - "ml.get_datafeed_stats#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no datafeeds that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value is `true`, which returns an empty `datafeeds` array\nwhen there are no matches and the subset of results when there are\npartial matches. If this parameter is `false`, the request returns a\n`404` status code when there are no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_datafeeds#datafeed_id": { - "in": "path", - "name": "datafeed_id", - "description": "Identifier for the datafeed. It can be a datafeed identifier or a\nwildcard expression. If you do not specify one of these options, the API\nreturns information about all datafeeds.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Ids" - }, - "style": "simple" - }, - "ml.get_datafeeds#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no datafeeds that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value is `true`, which returns an empty `datafeeds` array\nwhen there are no matches and the subset of results when there are\npartial matches. If this parameter is `false`, the request returns a\n`404` status code when there are no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_datafeeds#exclude_generated": { - "in": "query", - "name": "exclude_generated", - "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_filters#filter_id": { - "in": "path", - "name": "filter_id", - "description": "A string that uniquely identifies a filter.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Ids" - }, - "style": "simple" - }, - "ml.get_filters#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of filters.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_filters#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of filters to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_influencers#job_id": { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_influencers#desc": { - "in": "query", - "name": "desc", - "description": "If true, the results are sorted in descending order.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_influencers#end": { - "in": "query", - "name": "end", - "description": "Returns influencers with timestamps earlier than this time.\nThe default value means it is unset and results are not limited to\nspecific timestamps.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "ml.get_influencers#exclude_interim": { - "in": "query", - "name": "exclude_interim", - "description": "If true, the output excludes interim results. By default, interim results\nare included.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_influencers#influencer_score": { - "in": "query", - "name": "influencer_score", - "description": "Returns influencers with anomaly scores greater than or equal to this\nvalue.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_influencers#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of influencers.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_influencers#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of influencers to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_influencers#sort": { - "in": "query", - "name": "sort", - "description": "Specifies the sort field for the requested influencers. By default, the\ninfluencers are sorted by the `influencer_score` value.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Field" - }, - "style": "form" - }, - "ml.get_influencers#start": { - "in": "query", - "name": "start", - "description": "Returns influencers with timestamps after this time. The default value\nmeans it is unset and results are not limited to specific timestamps.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "ml.get_job_stats#job_id": { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job. It can be a job identifier, a\ngroup name, a comma-separated list of jobs, or a wildcard expression. If\nyou do not specify one of these options, the API returns information for\nall anomaly detection jobs.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_job_stats#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no jobs that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the API returns an empty `jobs` array when\nthere are no matches and the subset of results when there are partial\nmatches. If `false`, the API returns a `404` status\ncode when there are no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_jobs#job_id": { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job. It can be a job identifier, a\ngroup name, or a wildcard expression. If you do not specify one of these\noptions, the API returns information for all anomaly detection jobs.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Ids" - }, - "style": "simple" - }, - "ml.get_jobs#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no jobs that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value is `true`, which returns an empty `jobs` array when\nthere are no matches and the subset of results when there are partial\nmatches. If this parameter is `false`, the request returns a `404` status\ncode when there are no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_jobs#exclude_generated": { - "in": "query", - "name": "exclude_generated", - "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_memory_stats#node_id": { - "in": "path", - "name": "node_id", - "description": "The names of particular nodes in the cluster to target. For example, `nodeId1,nodeId2` or\n`ml:true`", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_memory_stats#human": { - "in": "query", - "name": "human", - "description": "Specify this query parameter to include the fields with units in the response. Otherwise only\nthe `_in_bytes` sizes are returned in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_memory_stats#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout\nexpires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "ml.get_memory_stats#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request\nfails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "ml.get_model_snapshots#job_id": { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_model_snapshots#snapshot_id": { - "in": "path", - "name": "snapshot_id", - "description": "A numerical character string that uniquely identifies the model snapshot. You can get information for multiple\nsnapshots by using a comma-separated list or a wildcard expression. You can get all snapshots by using `_all`,\nby specifying `*` as the snapshot ID, or by omitting the snapshot ID.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_model_snapshots#desc": { - "in": "query", - "name": "desc", - "description": "If true, the results are sorted in descending order.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_model_snapshots#end": { - "in": "query", - "name": "end", - "description": "Returns snapshots with timestamps earlier than this time.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "ml.get_model_snapshots#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of snapshots.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_model_snapshots#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of snapshots to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_model_snapshots#sort": { - "in": "query", - "name": "sort", - "description": "Specifies the sort field for the requested snapshots. By default, the\nsnapshots are sorted by their timestamp.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Field" - }, - "style": "form" - }, - "ml.get_model_snapshots#start": { - "in": "query", - "name": "start", - "description": "Returns snapshots with timestamps after this time.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "ml.get_overall_buckets#job_id": { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job. It can be a job identifier, a\ngroup name, a comma-separated list of jobs or groups, or a wildcard\nexpression.\n\nYou can summarize the bucket results for all anomaly detection jobs by\nusing `_all` or by specifying `*` as the ``.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_overall_buckets#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no jobs that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the request returns an empty `jobs` array when there are no\nmatches and the subset of results when there are partial matches. If this\nparameter is `false`, the request returns a `404` status code when there\nare no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_overall_buckets#bucket_span": { - "in": "query", - "name": "bucket_span", - "description": "The span of the overall buckets. Must be greater or equal to the largest\nbucket span of the specified anomaly detection jobs, which is the default\nvalue.\n\nBy default, an overall bucket has a span equal to the largest bucket span\nof the specified anomaly detection jobs. To override that behavior, use\nthe optional `bucket_span` parameter.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "ml.get_overall_buckets#end": { - "in": "query", - "name": "end", - "description": "Returns overall buckets with timestamps earlier than this time.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "ml.get_overall_buckets#exclude_interim": { - "in": "query", - "name": "exclude_interim", - "description": "If `true`, the output excludes interim results.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_overall_buckets#overall_score": { - "in": "query", - "name": "overall_score", - "description": "Returns overall buckets with overall scores greater than or equal to this\nvalue.", - "deprecated": false, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "style": "form" - }, - "ml.get_overall_buckets#start": { - "in": "query", - "name": "start", - "description": "Returns overall buckets with timestamps after this time.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "ml.get_overall_buckets#top_n": { - "in": "query", - "name": "top_n", - "description": "The number of top anomaly detection job bucket scores to be used in the\n`overall_score` calculation.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_records#job_id": { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_records#desc": { - "in": "query", - "name": "desc", - "description": "If true, the results are sorted in descending order.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_records#end": { - "in": "query", - "name": "end", - "description": "Returns records with timestamps earlier than this time. The default value\nmeans results are not limited to specific timestamps.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "ml.get_records#exclude_interim": { - "in": "query", - "name": "exclude_interim", - "description": "If `true`, the output excludes interim results.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_records#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of records.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_records#record_score": { - "in": "query", - "name": "record_score", - "description": "Returns records with anomaly scores greater or equal than this value.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_records#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of records to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_records#sort": { - "in": "query", - "name": "sort", - "description": "Specifies the sort field for the requested records.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Field" - }, - "style": "form" - }, - "ml.get_records#start": { - "in": "query", - "name": "start", - "description": "Returns records with timestamps after this time. The default value means\nresults are not limited to specific timestamps.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "ml.get_trained_models#model_id": { - "in": "path", - "name": "model_id", - "description": "The unique identifier of the trained model.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_trained_models#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n- Contains wildcard expressions and there are no models that match.\n- Contains the _all string or no identifiers and there are no matches.\n- Contains wildcard expressions and there are only partial matches.\n\nIf true, it returns an empty array when there are no matches and the\nsubset of results when there are partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_trained_models#decompress_definition": { - "in": "query", - "name": "decompress_definition", - "description": "Specifies whether the included model definition should be returned as a\nJSON map (true) or in a custom compressed format (false).", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_trained_models#exclude_generated": { - "in": "query", - "name": "exclude_generated", - "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_trained_models#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of models.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_trained_models#include": { - "in": "query", - "name": "include", - "description": "A comma delimited string of optional fields to include in the response\nbody.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/ml._types:Include" - }, - "style": "form" - }, - "ml.get_trained_models#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of models to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_trained_models#tags": { - "in": "query", - "name": "tags", - "description": "A comma delimited string of tags. A trained model can have many tags, or\nnone. When supplied, only trained models that contain all the supplied\ntags are returned.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "ml.get_trained_models_stats#model_id": { - "in": "path", - "name": "model_id", - "description": "The unique identifier of the trained model or a model alias. It can be a\ncomma-separated list or a wildcard expression.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Ids" - }, - "style": "simple" - }, - "ml.get_trained_models_stats#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n- Contains wildcard expressions and there are no models that match.\n- Contains the _all string or no identifiers and there are no matches.\n- Contains wildcard expressions and there are only partial matches.\n\nIf true, it returns an empty array when there are no matches and the\nsubset of results when there are partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_trained_models_stats#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of models.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_trained_models_stats#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of models to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.infer_trained_model#model_id": { - "in": "path", - "name": "model_id", - "description": "The unique identifier of the trained model.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.infer_trained_model#timeout": { - "in": "query", - "name": "timeout", - "description": "Controls the amount of time to wait for inference results.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "ml.preview_data_frame_analytics#id": { - "in": "path", - "name": "id", - "description": "Identifier for the data frame analytics job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.preview_datafeed#datafeed_id": { - "in": "path", - "name": "datafeed_id", - "description": "A numerical character string that uniquely identifies the datafeed. This identifier can contain lowercase\nalphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric\ncharacters. NOTE: If you use this path parameter, you cannot provide datafeed or anomaly detection job\nconfiguration details in the request body.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.preview_datafeed#start": { - "in": "query", - "name": "start", - "description": "The start time from where the datafeed preview should begin", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "ml.preview_datafeed#end": { - "in": "query", - "name": "end", - "description": "The end time when the datafeed preview should stop", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "msearch#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and index aliases to search.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "msearch#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "msearch#ccs_minimize_roundtrips": { - "in": "query", - "name": "ccs_minimize_roundtrips", - "description": "If true, network roundtrips between the coordinating node and remote clusters are minimized for cross-cluster search requests.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "msearch#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard expressions can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "msearch#ignore_throttled": { - "in": "query", - "name": "ignore_throttled", - "description": "If true, concrete, expanded or aliased indices are ignored when frozen.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "msearch#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If true, missing or closed indices are not included in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "msearch#max_concurrent_searches": { - "in": "query", - "name": "max_concurrent_searches", - "description": "Maximum number of concurrent searches the multi search API can execute.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "msearch#max_concurrent_shard_requests": { - "in": "query", - "name": "max_concurrent_shard_requests", - "description": "Maximum number of concurrent shard requests that each sub-search request executes per node.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "msearch#pre_filter_shard_size": { - "in": "query", - "name": "pre_filter_shard_size", - "description": "Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method i.e., if date filters are mandatory to match but the shard bounds and the query are disjoint.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "msearch#rest_total_hits_as_int": { - "in": "query", - "name": "rest_total_hits_as_int", - "description": "If true, hits.total are returned as an integer in the response. Defaults to false, which returns an object.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "msearch#routing": { - "in": "query", - "name": "routing", - "description": "Custom routing value used to route search operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - "msearch#search_type": { - "in": "query", - "name": "search_type", - "description": "Indicates whether global term and document frequencies should be used when scoring returned documents.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SearchType" - }, - "style": "form" - }, - "msearch#typed_keys": { - "in": "query", - "name": "typed_keys", - "description": "Specifies whether aggregation and suggester names should be prefixed by their respective types in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "msearch_template#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "msearch_template#ccs_minimize_roundtrips": { - "in": "query", - "name": "ccs_minimize_roundtrips", - "description": "If `true`, network round-trips are minimized for cross-cluster search requests.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "msearch_template#max_concurrent_searches": { - "in": "query", - "name": "max_concurrent_searches", - "description": "Maximum number of concurrent searches the API can run.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "msearch_template#search_type": { - "in": "query", - "name": "search_type", - "description": "The type of the search operation.\nAvailable options: `query_then_fetch`, `dfs_query_then_fetch`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SearchType" - }, - "style": "form" - }, - "msearch_template#rest_total_hits_as_int": { - "in": "query", - "name": "rest_total_hits_as_int", - "description": "If `true`, the response returns `hits.total` as an integer.\nIf `false`, it returns `hits.total` as an object.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "msearch_template#typed_keys": { - "in": "query", - "name": "typed_keys", - "description": "If `true`, the response prefixes aggregation and suggester names with their respective types.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "mtermvectors#index": { - "in": "path", - "name": "index", - "description": "Name of the index that contains the documents.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - "mtermvectors#ids": { - "in": "query", - "name": "ids", - "description": "A comma-separated list of documents ids. You must define ids as parameter or set \"ids\" or \"docs\" in the request body", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Id" - } - }, - "style": "form" - }, - "mtermvectors#fields": { - "in": "query", - "name": "fields", - "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.\nUsed as the default list unless a specific field list is provided in the `completion_fields` or `fielddata_fields` parameters.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "mtermvectors#field_statistics": { - "in": "query", - "name": "field_statistics", - "description": "If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "mtermvectors#offsets": { - "in": "query", - "name": "offsets", - "description": "If `true`, the response includes term offsets.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "mtermvectors#payloads": { - "in": "query", - "name": "payloads", - "description": "If `true`, the response includes term payloads.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "mtermvectors#positions": { - "in": "query", - "name": "positions", - "description": "If `true`, the response includes term positions.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "mtermvectors#preference": { - "in": "query", - "name": "preference", - "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "mtermvectors#realtime": { - "in": "query", - "name": "realtime", - "description": "If true, the request is real-time as opposed to near-real-time.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "mtermvectors#routing": { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - "mtermvectors#term_statistics": { - "in": "query", - "name": "term_statistics", - "description": "If true, the response includes term frequency and document frequency.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "mtermvectors#version": { - "in": "query", - "name": "version", - "description": "If `true`, returns the document version as part of a hit.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "style": "form" - }, - "mtermvectors#version_type": { - "in": "query", - "name": "version_type", - "description": "Specific version type.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionType" - }, - "style": "form" - }, - "nodes.hot_threads#node_id": { - "in": "path", - "name": "node_id", - "description": "List of node IDs or names used to limit returned information.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:NodeIds" - }, - "style": "simple" - }, - "nodes.hot_threads#ignore_idle_threads": { - "in": "query", - "name": "ignore_idle_threads", - "description": "If true, known idle threads (e.g. waiting in a socket select, or to get\na task from an empty queue) are filtered out.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "nodes.hot_threads#interval": { - "in": "query", - "name": "interval", - "description": "The interval to do the second sampling of threads.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "nodes.hot_threads#snapshots": { - "in": "query", - "name": "snapshots", - "description": "Number of samples of thread stacktrace.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "nodes.hot_threads#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response\nis received before the timeout expires, the request fails and\nreturns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "nodes.hot_threads#threads": { - "in": "query", - "name": "threads", - "description": "Specifies the number of hot threads to provide information for.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "nodes.hot_threads#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received\nbefore the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "nodes.hot_threads#type": { - "in": "query", - "name": "type", - "description": "The type to sample.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ThreadType" - }, - "style": "form" - }, - "nodes.hot_threads#sort": { - "in": "query", - "name": "sort", - "description": "The sort order for 'cpu' type (default: total)", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ThreadType" - }, - "style": "form" - }, - "nodes.info#node_id": { - "in": "path", - "name": "node_id", - "description": "Comma-separated list of node IDs or names used to limit returned information.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:NodeIds" - }, - "style": "simple" - }, - "nodes.info#metric": { - "in": "path", - "name": "metric", - "description": "Limits the information returned to the specific metrics. Supports a comma-separated list, such as http,ingest.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Metrics" - }, - "style": "simple" - }, - "nodes.info#flat_settings": { - "in": "query", - "name": "flat_settings", - "description": "If true, returns settings in flat format.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "nodes.info#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "nodes.info#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "nodes.stats#node_id": { - "in": "path", - "name": "node_id", - "description": "Comma-separated list of node IDs or names used to limit returned information.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:NodeIds" - }, - "style": "simple" - }, - "nodes.stats#metric": { - "in": "path", - "name": "metric", - "description": "Limit the information returned to the specified metrics", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Metrics" - }, - "style": "simple" - }, - "nodes.stats#index_metric": { - "in": "path", - "name": "index_metric", - "description": "Limit the information returned for indices metric to the specific index metrics. It can be used only if indices (or all) metric is specified.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Metrics" - }, - "style": "simple" - }, - "nodes.stats#completion_fields": { - "in": "query", - "name": "completion_fields", - "description": "Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "nodes.stats#fielddata_fields": { - "in": "query", - "name": "fielddata_fields", - "description": "Comma-separated list or wildcard expressions of fields to include in fielddata statistics.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "nodes.stats#fields": { - "in": "query", - "name": "fields", - "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "nodes.stats#groups": { - "in": "query", - "name": "groups", - "description": "Comma-separated list of search groups to include in the search statistics.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "nodes.stats#include_segment_file_sizes": { - "in": "query", - "name": "include_segment_file_sizes", - "description": "If true, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "nodes.stats#level": { - "in": "query", - "name": "level", - "description": "Indicates whether statistics are aggregated at the cluster, index, or shard level.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Level" - }, - "style": "form" - }, - "nodes.stats#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "nodes.stats#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "nodes.stats#types": { - "in": "query", - "name": "types", - "description": "A comma-separated list of document types for the indexing index metric.", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form" - }, - "nodes.stats#include_unloaded_segments": { - "in": "query", - "name": "include_unloaded_segments", - "description": "If `true`, the response includes information from segments that are not loaded into memory.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "nodes.usage#node_id": { - "in": "path", - "name": "node_id", - "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", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:NodeIds" - }, - "style": "simple" - }, - "nodes.usage#metric": { - "in": "path", - "name": "metric", - "description": "Limits the information returned to the specific metrics.\nA comma-separated list of the following options: `_all`, `rest_actions`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Metrics" - }, - "style": "simple" - }, - "nodes.usage#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "put_script#id": { - "in": "path", - "name": "id", - "description": "Identifier for the stored script or search template.\nMust be unique within the cluster.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "put_script#context": { - "in": "path", - "name": "context", - "description": "Context in which the script or search template should run.\nTo prevent errors, the API immediately compiles the script or template in this context.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "put_script#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "put_script#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "rank_eval#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and index aliases used to limit the request. Wildcard (`*`) expressions are supported.\nTo target all data streams and indices in a cluster, omit this parameter or use `_all` or `*`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "rank_eval#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "rank_eval#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "rank_eval#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `true`, missing or closed indices are not included in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "rank_eval#search_type": { - "in": "query", - "name": "search_type", - "description": "Search operation type", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "render_search_template#id": { - "in": "path", - "name": "id", - "description": "ID of the search template to render.\nIf no `source` is specified, this or the `id` request body parameter is required.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "scroll#scroll_id": { - "in": "path", - "name": "scroll_id", - "description": "The scroll ID", - "required": true, - "deprecated": true, - "schema": { - "$ref": "#/components/schemas/_types:ScrollId" - }, - "style": "simple" - }, - "scroll#scroll": { - "in": "query", - "name": "scroll", - "description": "Period to retain the search context for scrolling.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "scroll#scroll_id_": { - "in": "query", - "name": "scroll_id", - "description": "The scroll ID for scrolled search", - "deprecated": true, - "schema": { - "$ref": "#/components/schemas/_types:ScrollId" - }, - "style": "form" - }, - "scroll#rest_total_hits_as_int": { - "in": "query", - "name": "rest_total_hits_as_int", - "description": "If true, the API response’s hit.total property is returned as an integer. If false, the API response’s hit.total property is returned as an object.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "search#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#allow_partial_search_results": { - "in": "query", - "name": "allow_partial_search_results", - "description": "If true, returns partial results if there are shard request timeouts or shard failures. If false, returns an error with no partial results.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#analyzer": { - "in": "query", - "name": "analyzer", - "description": "Analyzer to use for the query string.\nThis parameter can only be used when the q query string parameter is specified.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "search#analyze_wildcard": { - "in": "query", - "name": "analyze_wildcard", - "description": "If true, wildcard and prefix queries are analyzed.\nThis parameter can only be used when the q query string parameter is specified.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#batched_reduce_size": { - "in": "query", - "name": "batched_reduce_size", - "description": "The number of shard results that should be reduced at once on the coordinating node.\nThis value should be used as a protection mechanism to reduce the memory overhead per search request if the potential number of shards in the request can be large.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "search#ccs_minimize_roundtrips": { - "in": "query", - "name": "ccs_minimize_roundtrips", - "description": "If true, network round-trips between the coordinating node and the remote clusters are minimized when executing cross-cluster search (CCS) requests.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#default_operator": { - "in": "query", - "name": "default_operator", - "description": "The default operator for query string query: AND or OR.\nThis parameter can only be used when the `q` query string parameter is specified.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "style": "form" - }, - "search#df": { - "in": "query", - "name": "df", - "description": "Field to use as default where no field prefix is given in the query string.\nThis parameter can only be used when the q query string parameter is specified.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "search#docvalue_fields": { - "in": "query", - "name": "docvalue_fields", - "description": "A comma-separated list of fields to return as the docvalue representation for each hit.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "search#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "search#explain": { - "in": "query", - "name": "explain", - "description": "If `true`, returns detailed information about score computation as part of a hit.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#ignore_throttled": { - "in": "query", - "name": "ignore_throttled", - "description": "If `true`, concrete, expanded or aliased indices will be ignored when frozen.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#lenient": { - "in": "query", - "name": "lenient", - "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.\nThis parameter can only be used when the `q` query string parameter is specified.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#max_concurrent_shard_requests": { - "in": "query", - "name": "max_concurrent_shard_requests", - "description": "Defines the number of concurrent shard requests per node this search executes concurrently.\nThis value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "search#min_compatible_shard_node": { - "in": "query", - "name": "min_compatible_shard_node", - "description": "The minimum version of the node that can handle the request\nAny handling node with a lower version will fail the request.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "style": "form" - }, - "search#preference": { - "in": "query", - "name": "preference", - "description": "Nodes and shards used for the search.\nBy default, Elasticsearch selects from eligible nodes and shards using adaptive replica selection, accounting for allocation awareness. Valid values are:\n`_only_local` to run the search only on shards on the local node;\n`_local` to, if possible, run the search on shards on the local node, or if not, select shards using the default method;\n`_only_nodes:,` to run the search on only the specified nodes IDs, where, if suitable shards exist on more than one selected node, use shards on those nodes using the default method, or if none of the specified nodes are available, select shards from any available node using the default method;\n`_prefer_nodes:,` to if possible, run the search on the specified nodes IDs, or if not, select shards using the default method;\n`_shards:,` to run the search only on the specified shards;\n`` (any string that does not start with `_`) to route searches with the same `` to the same shards in the same order.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "search#pre_filter_shard_size": { - "in": "query", - "name": "pre_filter_shard_size", - "description": "Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold.\nThis filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method (if date filters are mandatory to match but the shard bounds and the query are disjoint).\nWhen unspecified, the pre-filter phase is executed if any of these conditions is met:\nthe request targets more than 128 shards;\nthe request targets one or more read-only index;\nthe primary sort of the query targets an indexed field.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "search#request_cache": { - "in": "query", - "name": "request_cache", - "description": "If `true`, the caching of search results is enabled for requests where `size` is `0`.\nDefaults to index level settings.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#routing": { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - "search#scroll": { - "in": "query", - "name": "scroll", - "description": "Period to retain the search context for scrolling. See Scroll search results.\nBy default, this value cannot exceed `1d` (24 hours).\nYou can change this limit using the `search.max_keep_alive` cluster-level setting.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "search#search_type": { - "in": "query", - "name": "search_type", - "description": "How distributed term frequencies are calculated for relevance scoring.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SearchType" - }, - "style": "form" - }, - "search#stats": { - "in": "query", - "name": "stats", - "description": "Specific `tag` of the request for logging and statistical purposes.", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form" - }, - "search#stored_fields": { - "in": "query", - "name": "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` parameter defaults to `false`.\nYou can pass `_source: true` to return both source fields and stored fields in the search response.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "search#suggest_field": { - "in": "query", - "name": "suggest_field", - "description": "Specifies which field to use for suggestions.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Field" - }, - "style": "form" - }, - "search#suggest_mode": { - "in": "query", - "name": "suggest_mode", - "description": "Specifies the suggest mode.\nThis parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SuggestMode" - }, - "style": "form" - }, - "search#suggest_size": { - "in": "query", - "name": "suggest_size", - "description": "Number of suggestions to return.\nThis parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "search#suggest_text": { - "in": "query", - "name": "suggest_text", - "description": "The source text for which the suggestions should be returned.\nThis parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "search#terminate_after": { - "in": "query", - "name": "terminate_after", - "description": "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.\nUse with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.\nIf set to `0` (default), the query does not terminate early.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "search#timeout": { - "in": "query", - "name": "timeout", - "description": "Specifies 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.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "search#track_total_hits": { - "in": "query", - "name": "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.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search._types:TrackHits" - }, - "style": "form" - }, - "search#track_scores": { - "in": "query", - "name": "track_scores", - "description": "If `true`, calculate and return document scores, even if the scores are not used for sorting.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#typed_keys": { - "in": "query", - "name": "typed_keys", - "description": "If `true`, aggregation and suggester names are be prefixed by their respective types in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#rest_total_hits_as_int": { - "in": "query", - "name": "rest_total_hits_as_int", - "description": "Indicates whether `hits.total` should be rendered as an integer or an object in the rest search response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#version": { - "in": "query", - "name": "version", - "description": "If `true`, returns document version as part of a hit.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#_source": { - "in": "query", - "name": "_source", - "description": "Indicates which source fields are returned for matching documents.\nThese fields are returned in the `hits._source` property of the search response.\nValid values are:\n`true` to return the entire document source;\n`false` to not return the document source;\n`` to return the source fields that are specified as a comma-separated list (supports wildcard (`*`) patterns).", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" - }, - "style": "form" - }, - "search#_source_excludes": { - "in": "query", - "name": "_source_excludes", - "description": "A comma-separated list of source fields to exclude from the response.\nYou can also use this parameter to exclude fields from the subset specified in `_source_includes` query parameter.\nIf the `_source` parameter is `false`, this parameter is ignored.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "search#_source_includes": { - "in": "query", - "name": "_source_includes", - "description": "A comma-separated list of source fields to include in the response.\nIf this parameter is specified, only these source fields are returned.\nYou can exclude fields from this subset using the `_source_excludes` query parameter.\nIf the `_source` parameter is `false`, this parameter is ignored.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "search#seq_no_primary_term": { - "in": "query", - "name": "seq_no_primary_term", - "description": "If `true`, returns sequence number and primary term of the last modification of each hit.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#q": { - "in": "query", - "name": "q", - "description": "Query in the Lucene query string syntax using query parameter search.\nQuery parameter searches do not support the full Elasticsearch Query DSL but are handy for testing.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "search#size": { - "in": "query", - "name": "size", - "description": "Defines the number of hits to return.\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.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "search#from": { - "in": "query", - "name": "from", - "description": "Starting document offset.\nNeeds to 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.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "search#sort": { - "in": "query", - "name": "sort", - "description": "A comma-separated list of : pairs.", - "deprecated": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "style": "form" - }, - "search_application.get_behavioral_analytics#name": { - "in": "path", - "name": "name", - "description": "A list of analytics collections to limit the returned information", - "required": true, - "deprecated": false, - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "style": "simple" - }, - "search_application.search#name": { - "in": "path", - "name": "name", - "description": "The name of the search application to be searched.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "search_mvt#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, or aliases to search", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "search_mvt#field": { - "in": "path", - "name": "field", - "description": "Field containing geospatial data to return", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Field" - }, - "style": "simple" - }, - "search_mvt#zoom": { - "in": "path", - "name": "zoom", - "description": "Zoom level for the vector tile to search", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search_mvt._types:ZoomLevel" - }, - "style": "simple" - }, - "search_mvt#x": { - "in": "path", - "name": "x", - "description": "X coordinate for the vector tile to search", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search_mvt._types:Coordinate" - }, - "style": "simple" - }, - "search_mvt#y": { - "in": "path", - "name": "y", - "description": "Y coordinate for the vector tile to search", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search_mvt._types:Coordinate" - }, - "style": "simple" - }, - "search_mvt#exact_bounds": { - "in": "query", - "name": "exact_bounds", - "description": "If false, the meta layer’s feature is the bounding box of the tile.\nIf true, the meta layer’s feature is a bounding box resulting from a\ngeo_bounds aggregation. The aggregation runs on values that intersect\nthe // tile with wrap_longitude set to false. The resulting\nbounding box may be larger than the vector tile.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search_mvt#extent": { - "in": "query", - "name": "extent", - "description": "Size, in pixels, of a side of the tile. Vector tiles are square with equal sides.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "search_mvt#grid_agg": { - "in": "query", - "name": "grid_agg", - "description": "Aggregation used to create a grid for `field`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search_mvt._types:GridAggregationType" - }, - "style": "form" - }, - "search_mvt#grid_precision": { - "in": "query", - "name": "grid_precision", - "description": "Additional zoom levels available through the aggs layer. For example, if is 7\nand grid_precision is 8, you can zoom in up to level 15. Accepts 0-8. If 0, results\ndon’t include the aggs layer.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "search_mvt#grid_type": { - "in": "query", - "name": "grid_type", - "description": "Determines the geometry type for features in the aggs layer. In the aggs layer,\neach feature represents a geotile_grid cell. If 'grid' each feature is a Polygon\nof the cells bounding box. If 'point' each feature is a Point that is the centroid\nof the cell.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search_mvt._types:GridType" - }, - "style": "form" - }, - "search_mvt#size": { - "in": "query", - "name": "size", - "description": "Maximum number of features to return in the hits layer. Accepts 0-10000.\nIf 0, results don’t include the hits layer.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "search_mvt#with_labels": { - "in": "query", - "name": "with_labels", - "description": "If `true`, the hits and aggs layers will contain additional point features representing\nsuggested label positions for the original features.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search_template#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices,\nand aliases to search. Supports wildcards (*).", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "search_template#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search_template#ccs_minimize_roundtrips": { - "in": "query", - "name": "ccs_minimize_roundtrips", - "description": "If `true`, network round-trips are minimized for cross-cluster search requests.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search_template#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "search_template#explain": { - "in": "query", - "name": "explain", - "description": "If `true`, the response includes additional details about score computation as part of a hit.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search_template#ignore_throttled": { - "in": "query", - "name": "ignore_throttled", - "description": "If `true`, specified concrete, expanded, or aliased indices are not included in the response when throttled.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search_template#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search_template#preference": { - "in": "query", - "name": "preference", - "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "search_template#profile": { - "in": "query", - "name": "profile", - "description": "If `true`, the query execution is profiled.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search_template#routing": { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - "search_template#scroll": { - "in": "query", - "name": "scroll", - "description": "Specifies how long a consistent view of the index\nshould be maintained for scrolled search.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "search_template#search_type": { - "in": "query", - "name": "search_type", - "description": "The type of the search operation.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SearchType" - }, - "style": "form" - }, - "search_template#rest_total_hits_as_int": { - "in": "query", - "name": "rest_total_hits_as_int", - "description": "If true, hits.total are rendered as an integer in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search_template#typed_keys": { - "in": "query", - "name": "typed_keys", - "description": "If `true`, the response prefixes aggregation and suggester names with their respective types.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "security.create_api_key#refresh": { - "in": "query", - "name": "refresh", - "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - "security.create_service_token#namespace": { - "in": "path", - "name": "namespace", - "description": "An identifier for the namespace", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Namespace" - }, - "style": "simple" - }, - "security.create_service_token#service": { - "in": "path", - "name": "service", - "description": "An identifier for the service name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Service" - }, - "style": "simple" - }, - "security.create_service_token#name": { - "in": "path", - "name": "name", - "description": "An identifier for the token name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "security.create_service_token#refresh": { - "in": "query", - "name": "refresh", - "description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` (the default) then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - "security.disable_user_profile#uid": { - "in": "path", - "name": "uid", - "description": "Unique identifier for the user profile.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/security._types:UserProfileId" - }, - "style": "simple" - }, - "security.disable_user_profile#refresh": { - "in": "query", - "name": "refresh", - "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search, if 'wait_for' then wait for a refresh to make this operation\nvisible to search, if 'false' do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - "security.enable_user_profile#uid": { - "in": "path", - "name": "uid", - "description": "Unique identifier for the user profile.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/security._types:UserProfileId" - }, - "style": "simple" - }, - "security.enable_user_profile#refresh": { - "in": "query", - "name": "refresh", - "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search, if 'wait_for' then wait for a refresh to make this operation\nvisible to search, if 'false' do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - "security.get_privileges#application": { - "in": "path", - "name": "application", - "description": "Application name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "security.get_privileges#name": { - "in": "path", - "name": "name", - "description": "Privilege name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "security.get_role#name": { - "in": "path", - "name": "name", - "description": "The name of the role. You can specify multiple roles as a comma-separated list. If you do not specify this parameter, the API returns information about all roles.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "security.get_role_mapping#name": { - "in": "path", - "name": "name", - "description": "The distinct name that identifies the role mapping. The name is used solely as an identifier to facilitate interaction via the API; it does not affect the behavior of the mapping in any way. You can specify multiple mapping names as a comma-separated list. If you do not specify this parameter, the API returns information about all role mappings.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "security.get_service_accounts#namespace": { - "in": "path", - "name": "namespace", - "description": "Name of the namespace. Omit this parameter to retrieve information about all service accounts. If you omit this parameter, you must also omit the `service` parameter.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Namespace" - }, - "style": "simple" - }, - "security.get_service_accounts#service": { - "in": "path", - "name": "service", - "description": "Name of the service name. Omit this parameter to retrieve information about all service accounts that belong to the specified `namespace`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Service" - }, - "style": "simple" - }, - "security.has_privileges#user": { - "in": "path", - "name": "user", - "description": "Username", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "security.put_privileges#refresh": { - "in": "query", - "name": "refresh", - "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - "security.put_role#name": { - "in": "path", - "name": "name", - "description": "The name of the role.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "security.put_role#refresh": { - "in": "query", - "name": "refresh", - "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - "security.put_role_mapping#name": { - "in": "path", - "name": "name", - "description": "Role-mapping name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "security.put_role_mapping#refresh": { - "in": "query", - "name": "refresh", - "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - "security.query_api_keys#with_limited_by": { - "in": "query", - "name": "with_limited_by", - "description": "Return the snapshot of the owner user's role descriptors associated with the API key. \nAn API key's actual permission is the intersection of its assigned role descriptors and the owner user's role descriptors.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "security.suggest_user_profiles#data": { - "in": "query", - "name": "data", - "description": "List of filters for the `data` field of the profile document.\nTo return all content use `data=*`. To return a subset of content\nuse `data=` to retrieve content nested under the specified ``.\nBy default returns no `data` content.", - "deprecated": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "style": "form" - }, - "security.update_user_profile_data#uid": { - "in": "path", - "name": "uid", - "description": "A unique identifier for the user profile.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/security._types:UserProfileId" - }, - "style": "simple" - }, - "security.update_user_profile_data#if_seq_no": { - "in": "query", - "name": "if_seq_no", - "description": "Only perform the operation if the document has this sequence number.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "style": "form" - }, - "security.update_user_profile_data#if_primary_term": { - "in": "query", - "name": "if_primary_term", - "description": "Only perform the operation if the document has this primary term.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "security.update_user_profile_data#refresh": { - "in": "query", - "name": "refresh", - "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search, if 'wait_for' then wait for a refresh to make this operation\nvisible to search, if 'false' do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - "terms_enum#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and index aliases to search. Wildcard (*) expressions are supported.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - "termvectors#index": { - "in": "path", - "name": "index", - "description": "Name of the index that contains the document.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - "termvectors#id": { - "in": "path", - "name": "id", - "description": "Unique identifier of the document.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "termvectors#fields": { - "in": "query", - "name": "fields", - "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.\nUsed as the default list unless a specific field list is provided in the `completion_fields` or `fielddata_fields` parameters.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "termvectors#field_statistics": { - "in": "query", - "name": "field_statistics", - "description": "If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "termvectors#offsets": { - "in": "query", - "name": "offsets", - "description": "If `true`, the response includes term offsets.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "termvectors#payloads": { - "in": "query", - "name": "payloads", - "description": "If `true`, the response includes term payloads.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "termvectors#positions": { - "in": "query", - "name": "positions", - "description": "If `true`, the response includes term positions.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "termvectors#preference": { - "in": "query", - "name": "preference", - "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "termvectors#realtime": { - "in": "query", - "name": "realtime", - "description": "If true, the request is real-time as opposed to near-real-time.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "termvectors#routing": { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - "termvectors#term_statistics": { - "in": "query", - "name": "term_statistics", - "description": "If `true`, the response includes term frequency and document frequency.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "termvectors#version": { - "in": "query", - "name": "version", - "description": "If `true`, returns the document version as part of a hit.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "style": "form" - }, - "termvectors#version_type": { - "in": "query", - "name": "version_type", - "description": "Specific version type.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionType" - }, - "style": "form" - }, - "transform.get_transform#transform_id": { - "in": "path", - "name": "transform_id", - "description": "Identifier for the transform. It can be a transform identifier or a\nwildcard expression. You can get information for all transforms by using\n`_all`, by specifying `*` as the ``, or by omitting the\n``.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "transform.get_transform#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no transforms that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf this parameter is false, the request returns a 404 status code when\nthere are no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "transform.get_transform#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of transforms.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "transform.get_transform#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of transforms to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "transform.get_transform#exclude_generated": { - "in": "query", - "name": "exclude_generated", - "description": "Excludes fields that were automatically added when creating the\ntransform. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "transform.preview_transform#transform_id": { - "in": "path", - "name": "transform_id", - "description": "Identifier for the transform to preview. If you specify this path parameter, you cannot provide transform\nconfiguration details in the request body.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "transform.preview_transform#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the\ntimeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - }, - "requestBodies": { - "async_search.submit": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aggregations": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "collapse": { - "$ref": "#/components/schemas/_global.search._types:FieldCollapse" - }, - "explain": { - "description": "If true, returns detailed information about score computation as part of a hit.", - "type": "boolean" - }, - "ext": { - "description": "Configuration of search extensions defined by Elasticsearch plugins.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "from": { - "description": "Starting document offset. By default, you cannot page through more than 10,000\nhits using the from and size parameters. To page through more hits, use the\nsearch_after parameter.", - "type": "number" - }, - "highlight": { - "$ref": "#/components/schemas/_global.search._types:Highlight" - }, - "track_total_hits": { - "$ref": "#/components/schemas/_global.search._types:TrackHits" - }, - "indices_boost": { - "description": "Boosts the _score of documents from specified indices.", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "number" - } - } - }, - "docvalue_fields": { - "description": "Array of wildcard (*) patterns. The request returns doc values for field\nnames matching these patterns in the hits.fields property of the response.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" - } - }, - "knn": { - "description": "Defines the approximate kNN search to run.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:KnnQuery" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:KnnQuery" - } - } - ] - }, - "min_score": { - "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in the search results.", - "type": "number" - }, - "post_filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "profile": { - "type": "boolean" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "rescore": { - "oneOf": [ - { - "$ref": "#/components/schemas/_global.search._types:Rescore" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:Rescore" - } - } - ] - }, - "script_fields": { - "description": "Retrieve a script evaluation (based on different fields) for each hit.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ScriptField" - } - }, - "search_after": { - "$ref": "#/components/schemas/_types:SortResults" - }, - "size": { - "description": "The number of hits to return. By default, you cannot page through more\nthan 10,000 hits using the from and size parameters. To page through more\nhits, use the search_after parameter.", - "type": "number" - }, - "slice": { - "$ref": "#/components/schemas/_types:SlicedScroll" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" - }, - "_source": { - "$ref": "#/components/schemas/_global.search._types:SourceConfig" - }, - "fields": { - "description": "Array of wildcard (*) patterns. The request returns values for field names\nmatching these patterns in the hits.fields property of the response.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" - } - }, - "suggest": { - "$ref": "#/components/schemas/_global.search._types:Suggester" - }, - "terminate_after": { - "description": "Maximum number of documents to collect for each shard. If a query reaches this\nlimit, Elasticsearch terminates the query early. Elasticsearch collects documents\nbefore sorting. Defaults to 0, which does not terminate query execution early.", - "type": "number" - }, - "timeout": { - "description": "Specifies the period of time to wait for a response from each shard. If no response\nis 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.", - "type": "boolean" - }, - "version": { - "description": "If true, returns document version as part of a hit.", - "type": "boolean" - }, - "seq_no_primary_term": { - "description": "If true, returns sequence number and primary term of the last modification\nof each hit. See Optimistic concurrency control.", - "type": "boolean" - }, - "stored_fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "pit": { - "$ref": "#/components/schemas/_global.search._types:PointInTimeReference" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - }, - "stats": { - "description": "Stats groups to associate with the search. Each group maintains a statistics\naggregation for its associated searches. You can retrieve these stats using\nthe indices stats API.", - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "bulk": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/_global.bulk:OperationContainer" - }, - { - "$ref": "#/components/schemas/_global.bulk:UpdateAction" - }, - { - "type": "object" - } - ] - } - } - } - }, - "required": true - }, - "clear_scroll": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "scroll_id": { - "$ref": "#/components/schemas/_types:ScrollIds" - } - } - } - } - } - }, - "cluster.allocation_explain": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "current_node": { - "description": "Specifies the node ID or the name of the node to only explain a shard that is currently located on the specified node.", - "type": "string" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "primary": { - "description": "If true, returns explanation for the primary shard for the given shard ID.", - "type": "boolean" - }, - "shard": { - "description": "Specifies the ID of the shard that you would like an explanation for.", - "type": "number" - } - } - } - } - } - }, - "cluster.put_component_template": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "allow_auto_create": { - "description": "This setting overrides the value of the `action.auto_create_index` cluster setting.\nIf set to `true` in a template, then indices can be automatically created using that\ntemplate even if auto-creation of indices is disabled via `actions.auto_create_index`.\nIf set to `false` then data streams matching the template must always be explicitly created.", - "type": "boolean" - }, - "template": { - "$ref": "#/components/schemas/indices._types:IndexState" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - } - }, - "required": [ - "template" - ] - } - } - }, - "required": true - }, - "count": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - } - } - } - } - }, - "create": { - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - }, - "required": true - }, - "field_caps": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "index_filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - } - } - } - } - } - }, - "fleet.msearch": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.msearch:RequestItem" - } - } - } - }, - "required": true - }, - "fleet.search": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aggregations": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "collapse": { - "$ref": "#/components/schemas/_global.search._types:FieldCollapse" - }, - "explain": { - "description": "If true, returns detailed information about score computation as part of a hit.", - "type": "boolean" - }, - "ext": { - "description": "Configuration of search extensions defined by Elasticsearch plugins.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "from": { - "description": "Starting document offset. By default, you cannot page through more than 10,000\nhits using the from and size parameters. To page through more hits, use the\nsearch_after parameter.", - "type": "number" - }, - "highlight": { - "$ref": "#/components/schemas/_global.search._types:Highlight" - }, - "track_total_hits": { - "$ref": "#/components/schemas/_global.search._types:TrackHits" - }, - "indices_boost": { - "description": "Boosts the _score of documents from specified indices.", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "number" - } - } - }, - "docvalue_fields": { - "description": "Array of wildcard (*) patterns. The request returns doc values for field\nnames matching these patterns in the hits.fields property of the response.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" - } - }, - "min_score": { - "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in the search results.", - "type": "number" - }, - "post_filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "profile": { - "type": "boolean" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "rescore": { - "oneOf": [ - { - "$ref": "#/components/schemas/_global.search._types:Rescore" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:Rescore" - } - } - ] - }, - "script_fields": { - "description": "Retrieve a script evaluation (based on different fields) for each hit.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ScriptField" - } - }, - "search_after": { - "$ref": "#/components/schemas/_types:SortResults" - }, - "size": { - "description": "The number of hits to return. By default, you cannot page through more\nthan 10,000 hits using the from and size parameters. To page through more\nhits, use the search_after parameter.", - "type": "number" - }, - "slice": { - "$ref": "#/components/schemas/_types:SlicedScroll" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" - }, - "_source": { - "$ref": "#/components/schemas/_global.search._types:SourceConfig" - }, - "fields": { - "description": "Array of wildcard (*) patterns. The request returns values for field names\nmatching these patterns in the hits.fields property of the response.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" - } - }, - "suggest": { - "$ref": "#/components/schemas/_global.search._types:Suggester" - }, - "terminate_after": { - "description": "Maximum number of documents to collect for each shard. If a query reaches this\nlimit, Elasticsearch terminates the query early. Elasticsearch collects documents\nbefore sorting. Defaults to 0, which does not terminate query execution early.", - "type": "number" - }, - "timeout": { - "description": "Specifies the period of time to wait for a response from each shard. If no response\nis 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.", - "type": "boolean" - }, - "version": { - "description": "If true, returns document version as part of a hit.", - "type": "boolean" - }, - "seq_no_primary_term": { - "description": "If true, returns sequence number and primary term of the last modification\nof each hit. See Optimistic concurrency control.", - "type": "boolean" - }, - "stored_fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "pit": { - "$ref": "#/components/schemas/_global.search._types:PointInTimeReference" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - }, - "stats": { - "description": "Stats groups to associate with the search. Each group maintains a statistics\naggregation for its associated searches. You can retrieve these stats using\nthe indices stats API.", - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "graph.explore": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "connections": { - "$ref": "#/components/schemas/graph._types:Hop" - }, - "controls": { - "$ref": "#/components/schemas/graph._types:ExploreControls" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "vertices": { - "description": "Specifies one or more fields that contain the terms you want to include in the graph as vertices.", - "type": "array", - "items": { - "$ref": "#/components/schemas/graph._types:VertexDefinition" - } - } - } - } - } - } - }, - "index": { - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - }, - "required": true - }, - "indices.analyze": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-analyzers.html" - }, - "description": "The name of the analyzer that should be applied to the provided `text`.\nThis could be a built-in analyzer, or an analyzer that’s been configured in the index.", - "type": "string" - }, - "attributes": { - "description": "Array of token attributes used to filter the output of the `explain` parameter.", - "type": "array", - "items": { - "type": "string" - } - }, - "char_filter": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-charfilters.html" - }, - "description": "Array of character filters used to preprocess characters before the tokenizer.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.analysis:CharFilter" - } - }, - "explain": { - "description": "If `true`, the response includes token attributes and additional details.", - "type": "boolean" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "filter": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-tokenfilters.html" - }, - "description": "Array of token filters used to apply after the tokenizer.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.analysis:TokenFilter" - } - }, - "normalizer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-normalizers.html" - }, - "description": "Normalizer to use to convert text into a single token.", - "type": "string" - }, - "text": { - "$ref": "#/components/schemas/indices.analyze:TextToAnalyze" - }, - "tokenizer": { - "$ref": "#/components/schemas/_types.analysis:Tokenizer" - } - } - } - } - } - }, - "indices.put_alias": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "index_routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "is_write_index": { - "description": "If `true`, sets the write index or data stream for the alias.\nIf an alias points to multiple indices or data streams and `is_write_index` isn’t set, the alias rejects write requests.\nIf an index alias points to one index and `is_write_index` isn’t set, the index automatically acts as the write index.\nData stream aliases don’t automatically set a write data stream, even if the alias points to one data stream.", - "type": "boolean" - }, - "routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "search_routing": { - "$ref": "#/components/schemas/_types:Routing" - } - } - } - } - } - }, - "indices.put_index_template": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "index_patterns": { - "$ref": "#/components/schemas/_types:Indices" - }, - "composed_of": { - "description": "An ordered list of component template names.\nComponent templates are merged in the order specified, meaning that the last component template specified has the highest precedence.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "template": { - "$ref": "#/components/schemas/indices.put_index_template:IndexTemplateMapping" - }, - "data_stream": { - "$ref": "#/components/schemas/indices._types:DataStreamVisibility" - }, - "priority": { - "description": "Priority to determine index template precedence when a new data stream or index is created.\nThe index template with the highest priority is chosen.\nIf no priority is specified the template is treated as though it is of priority 0 (lowest priority).\nThis number is not automatically generated by Elasticsearch.", - "type": "number" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - } - } - } - } - }, - "required": true - }, - "indices.put_mapping": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "date_detection": { - "description": "Controls whether dynamic date detection is enabled.", - "type": "boolean" - }, - "dynamic": { - "$ref": "#/components/schemas/_types.mapping:DynamicMapping" - }, - "dynamic_date_formats": { - "description": "If date detection is enabled then new string fields are checked\nagainst 'dynamic_date_formats' and if the value matches then\na new date field is added instead of string.", - "type": "array", - "items": { - "type": "string" - } - }, - "dynamic_templates": { - "description": "Specify dynamic templates for the mapping.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.mapping:DynamicTemplate" - } - }, - { - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.mapping:DynamicTemplate" - } - } - } - ] - }, - "_field_names": { - "$ref": "#/components/schemas/_types.mapping:FieldNamesField" - }, - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "numeric_detection": { - "description": "Automatically map strings into numeric data types for all fields.", - "type": "boolean" - }, - "properties": { - "description": "Mapping for a field. For new fields, this mapping can include:\n\n- Field name\n- Field data type\n- Mapping parameters", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.mapping:Property" - } - }, - "_routing": { - "$ref": "#/components/schemas/_types.mapping:RoutingField" - }, - "_source": { - "$ref": "#/components/schemas/_types.mapping:SourceField" - }, - "runtime": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - } - } - } - } - }, - "required": true - }, - "indices.put_settings": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/indices._types:IndexSettings" - } - } - }, - "required": true - }, - "indices.put_template": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aliases": { - "description": "Aliases for the index.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:Alias" - } - }, - "index_patterns": { - "description": "Array of wildcard expressions used to match the names\nof indices during creation.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "mappings": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" - }, - "order": { - "description": "Order in which Elasticsearch applies this template if index\nmatches multiple templates.\n\nTemplates with lower 'order' values are merged first. Templates with higher\n'order' values are merged later, overriding templates with lower values.", - "type": "number" - }, - "settings": { - "description": "Configuration options for the index.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - } - } - } - } - }, - "required": true - }, - "indices.rollover": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aliases": { - "description": "Aliases for the target index.\nData streams do not support this parameter.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:Alias" - } - }, - "conditions": { - "$ref": "#/components/schemas/indices.rollover:RolloverConditions" - }, - "mappings": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" - }, - "settings": { - "description": "Configuration options for the index.\nData streams do not support this parameter.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - } - } - } - }, - "indices.simulate_template": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/indices._types:IndexTemplate" - } - } - } - }, - "indices.validate_query": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - } - } - } - } - }, - "ingest.simulate": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "docs": { - "description": "Sample documents to test in the pipeline.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ingest.simulate:Document" - } - }, - "pipeline": { - "$ref": "#/components/schemas/ingest._types:Pipeline" - } - } - } - } - }, - "required": true - }, - "mget": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "docs": { - "description": "The documents you want to retrieve. Required if no index is specified in the request URI.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.mget:Operation" - } - }, - "ids": { - "$ref": "#/components/schemas/_types:Ids" - } - } - } - } - }, - "required": true - }, - "ml.delete_expired_data": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "requests_per_second": { - "description": "The desired requests per second for the deletion processes. The default\nbehavior is no throttling.", - "type": "number" - }, - "timeout": { - "$ref": "#/components/schemas/_types:Duration" - } - } - } - } - } - }, - "ml.explain_data_frame_analytics": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "source": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" - }, - "dest": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsDestination" - }, - "analysis": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" - }, - "description": { - "description": "A description of the job.", - "type": "string" - }, - "model_memory_limit": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" - }, - "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try to\ncreate data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", - "type": "string" - }, - "max_num_threads": { - "description": "The maximum number of threads to be used by the analysis. Using more\nthreads may decrease the time necessary to complete the analysis at the\ncost of using more CPU. Note that the process may use additional threads\nfor operational functionality other than the analysis itself.", - "type": "number" - }, - "analyzed_fields": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" - }, - "allow_lazy_start": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" - }, - "description": "Specifies whether this job can start when there is insufficient machine\nlearning node capacity for it to be immediately assigned to a node.", - "type": "boolean" - } - } - } - } - } - }, - "ml.get_buckets": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "anomaly_score": { - "description": "Refer to the description for the `anomaly_score` query parameter.", - "type": "number" - }, - "desc": { - "description": "Refer to the description for the `desc` query parameter.", - "type": "boolean" - }, - "end": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "exclude_interim": { - "description": "Refer to the description for the `exclude_interim` query parameter.", - "type": "boolean" - }, - "expand": { - "description": "Refer to the description for the `expand` query parameter.", - "type": "boolean" - }, - "page": { - "$ref": "#/components/schemas/ml._types:Page" - }, - "sort": { - "$ref": "#/components/schemas/_types:Field" - }, - "start": { - "$ref": "#/components/schemas/_types:DateTime" - } - } - } - } - } - }, - "ml.get_calendars": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "page": { - "$ref": "#/components/schemas/ml._types:Page" - } - } - } - } - } - }, - "ml.get_categories": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "page": { - "$ref": "#/components/schemas/ml._types:Page" - } - } - } - } - } - }, - "ml.get_influencers": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "page": { - "$ref": "#/components/schemas/ml._types:Page" - } - } - } - } - } - }, - "ml.get_model_snapshots": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "desc": { - "description": "Refer to the description for the `desc` query parameter.", - "type": "boolean" - }, - "end": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "page": { - "$ref": "#/components/schemas/ml._types:Page" - }, - "sort": { - "$ref": "#/components/schemas/_types:Field" - }, - "start": { - "$ref": "#/components/schemas/_types:DateTime" - } - } - } - } - } - }, - "ml.get_overall_buckets": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "allow_no_match": { - "description": "Refer to the description for the `allow_no_match` query parameter.", - "type": "boolean" - }, - "bucket_span": { - "$ref": "#/components/schemas/_types:Duration" - }, - "end": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "exclude_interim": { - "description": "Refer to the description for the `exclude_interim` query parameter.", - "type": "boolean" - }, - "overall_score": { - "description": "Refer to the description for the `overall_score` query parameter.", - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "start": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "top_n": { - "description": "Refer to the description for the `top_n` query parameter.", - "type": "number" - } - } - } - } - } - }, - "ml.get_records": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "desc": { - "description": "Refer to the description for the `desc` query parameter.", - "type": "boolean" - }, - "end": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "exclude_interim": { - "description": "Refer to the description for the `exclude_interim` query parameter.", - "type": "boolean" - }, - "page": { - "$ref": "#/components/schemas/ml._types:Page" - }, - "record_score": { - "description": "Refer to the description for the `record_score` query parameter.", - "type": "number" - }, - "sort": { - "$ref": "#/components/schemas/_types:Field" - }, - "start": { - "$ref": "#/components/schemas/_types:DateTime" - } - } - } - } - } - }, - "ml.infer_trained_model": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "docs": { - "description": "An array of objects to pass to the model for inference. The objects should contain a fields matching your\nconfigured trained model input. Typically, for NLP models, the field name is `text_field`.\nCurrently, for NLP models, only a single value is allowed.", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - }, - "inference_config": { - "$ref": "#/components/schemas/ml._types:InferenceConfigUpdateContainer" - } - }, - "required": [ - "docs" - ] - } - } - }, - "required": true - }, - "ml.preview_data_frame_analytics": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "config": { - "$ref": "#/components/schemas/ml.preview_data_frame_analytics:DataframePreviewConfig" - } - } - } - } - } - }, - "ml.preview_datafeed": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "datafeed_config": { - "$ref": "#/components/schemas/ml._types:DatafeedConfig" - }, - "job_config": { - "$ref": "#/components/schemas/ml._types:JobConfig" - } - } - } - } - } - }, - "msearch": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.msearch:RequestItem" - } - } - } - }, - "required": true - }, - "msearch_template": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.msearch_template:RequestItem" - } - } - } - }, - "required": true - }, - "mtermvectors": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "docs": { - "description": "Array of existing or artificial documents.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.mtermvectors:Operation" - } - }, - "ids": { - "description": "Simplified syntax to specify documents by their ID if they're in the same index.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Id" - } - } - } - } - } - } - }, - "put_script": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "script": { - "$ref": "#/components/schemas/_types:StoredScript" - } - }, - "required": [ - "script" - ] - } - } - }, - "required": true - }, - "rank_eval": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "requests": { - "description": "A set of typical search requests, together with their provided ratings.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalRequestItem" - } - }, - "metric": { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetric" - } - }, - "required": [ - "requests" - ] - } - } - }, - "required": true - }, - "render_search_template": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "file": { - "type": "string" - }, - "params": { - "description": "Key-value pairs used to replace Mustache variables in the template.\nThe key is the variable name.\nThe value is the variable value.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "source": { - "description": "An inline search template.\nSupports the same parameters as the search API's request body.\nThese parameters also support Mustache variables.\nIf no `id` or `` is specified, this parameter is required.", - "type": "string" - } - } - } - } - } - }, - "scripts_painless_execute": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "context": { - "description": "The context that the script should run in.", - "type": "string" - }, - "context_setup": { - "$ref": "#/components/schemas/_global.scripts_painless_execute:PainlessContextSetup" - }, - "script": { - "$ref": "#/components/schemas/_types:InlineScript" - } - } - } - } - } - }, - "scroll": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "scroll": { - "$ref": "#/components/schemas/_types:Duration" - }, - "scroll_id": { - "$ref": "#/components/schemas/_types:ScrollId" - } - }, - "required": [ - "scroll_id" - ] - } - } - } - }, - "search": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aggregations": { - "description": "Defines the aggregations that are run as part of the search request.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "collapse": { - "$ref": "#/components/schemas/_global.search._types:FieldCollapse" - }, - "explain": { - "description": "If true, returns detailed information about score computation as part of a hit.", - "type": "boolean" - }, - "ext": { - "description": "Configuration of search extensions defined by Elasticsearch plugins.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "from": { - "description": "Starting document offset.\nNeeds to 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.", - "type": "number" - }, - "highlight": { - "$ref": "#/components/schemas/_global.search._types:Highlight" - }, - "track_total_hits": { - "$ref": "#/components/schemas/_global.search._types:TrackHits" - }, - "indices_boost": { - "description": "Boosts the _score of documents from specified indices.", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "number" - } - } - }, - "docvalue_fields": { - "description": "Array of wildcard (`*`) patterns.\nThe request returns doc values for field names matching these patterns in the `hits.fields` property of the response.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" - } - }, - "knn": { - "description": "Defines the approximate kNN search to run.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:KnnQuery" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:KnnQuery" - } - } - ] - }, - "rank": { - "$ref": "#/components/schemas/_types:RankContainer" - }, - "min_score": { - "description": "Minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in the search results.", - "type": "number" - }, - "post_filter": { - "$ref": "#/components/schemas/_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.", - "type": "boolean" - }, - "query": { - "$ref": "#/components/schemas/_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": "#/components/schemas/_global.search._types:Rescore" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:Rescore" - } - } - ] - }, - "script_fields": { - "description": "Retrieve a script evaluation (based on different fields) for each hit.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ScriptField" - } - }, - "search_after": { - "$ref": "#/components/schemas/_types:SortResults" - }, - "size": { - "description": "The number of hits to return.\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.", - "type": "number" - }, - "slice": { - "$ref": "#/components/schemas/_types:SlicedScroll" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" - }, - "_source": { - "$ref": "#/components/schemas/_global.search._types:SourceConfig" - }, - "fields": { - "description": "Array of wildcard (`*`) patterns.\nThe request returns values for field names matching these patterns in the `hits.fields` property of the response.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" - } - }, - "suggest": { - "$ref": "#/components/schemas/_global.search._types:Suggester" - }, - "terminate_after": { - "description": "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.\nUse with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.\nIf set to `0` (default), the query does not terminate early.", - "type": "number" - }, - "timeout": { - "description": "Specifies 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.", - "type": "boolean" - }, - "version": { - "description": "If true, returns document version as part of a hit.", - "type": "boolean" - }, - "seq_no_primary_term": { - "description": "If `true`, returns sequence number and primary term of the last modification of each hit.", - "type": "boolean" - }, - "stored_fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "pit": { - "$ref": "#/components/schemas/_global.search._types:PointInTimeReference" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - }, - "stats": { - "description": "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" - } - } - } - } - } - } - }, - "search_application.search": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "params": { - "description": "Query parameters specific to this request, which will override any defaults specified in the template.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - } - } - } - }, - "search_mvt": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aggs": { - "description": "Sub-aggregations for the geotile_grid.\n\nSupports the following aggregation types:\n- avg\n- cardinality\n- max\n- min\n- sum", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "buffer": { - "description": "Size, in pixels, of a clipping buffer outside the tile. This allows renderers\nto avoid outline artifacts from geometries that extend past the extent of the tile.", - "type": "number" - }, - "exact_bounds": { - "description": "If false, the meta layer’s feature is the bounding box of the tile.\nIf true, the meta layer’s feature is a bounding box resulting from a\ngeo_bounds aggregation. The aggregation runs on values that intersect\nthe // tile with wrap_longitude set to false. The resulting\nbounding box may be larger than the vector tile.", - "type": "boolean" - }, - "extent": { - "description": "Size, in pixels, of a side of the tile. Vector tiles are square with equal sides.", - "type": "number" - }, - "fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "grid_agg": { - "$ref": "#/components/schemas/_global.search_mvt._types:GridAggregationType" - }, - "grid_precision": { - "description": "Additional zoom levels available through the aggs layer. For example, if is 7\nand grid_precision is 8, you can zoom in up to level 15. Accepts 0-8. If 0, results\ndon’t include the aggs layer.", - "type": "number" - }, - "grid_type": { - "$ref": "#/components/schemas/_global.search_mvt._types:GridType" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - }, - "size": { - "description": "Maximum number of features to return in the hits layer. Accepts 0-10000.\nIf 0, results don’t include the hits layer.", - "type": "number" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" - }, - "track_total_hits": { - "$ref": "#/components/schemas/_global.search._types:TrackHits" - }, - "with_labels": { - "description": "If `true`, the hits and aggs layers will contain additional point features representing\nsuggested label positions for the original features.", - "type": "boolean" - } - } - } - } - } - }, - "search_template": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "explain": { - "description": "If `true`, returns detailed information about score calculation as part of each hit.", - "type": "boolean" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "params": { - "description": "Key-value pairs used to replace Mustache variables in the template.\nThe key is the variable name.\nThe value is the variable value.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "profile": { - "description": "If `true`, the query execution is profiled.", - "type": "boolean" - }, - "source": { - "description": "An inline search template. Supports the same parameters as the search API's\nrequest body. Also supports Mustache variables. If no id is specified, this\nparameter is required.", - "type": "string" - } - } - } - } - }, - "required": true - }, - "security.create_api_key": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "expiration": { - "$ref": "#/components/schemas/_types:Duration" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "role_descriptors": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html" - }, - "description": "An array of role descriptors for this API key. This parameter is optional. When it is not specified or is an empty array, then the API key will have a point in time snapshot of permissions of the authenticated user. If you supply role descriptors then the resultant permissions would be an intersection of API keys permissions and authenticated user’s permissions thereby limiting the access scope for API keys. The structure of role descriptor is the same as the request for create role API. For more details, see create or update roles API.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:RoleDescriptor" - } - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - } - } - } - } - }, - "required": true - }, - "security.has_privileges": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "application": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security.has_privileges:ApplicationPrivilegesCheck" - } - }, - "cluster": { - "description": "A list of the cluster privileges that you want to check.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:ClusterPrivilege" - } - }, - "index": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security.has_privileges:IndexPrivilegesCheck" - } - } - } - } - } - }, - "required": true - }, - "security.has_privileges_user_profile": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "uids": { - "description": "A list of profile IDs. The privileges are checked for associated users of the profiles.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:UserProfileId" - } - }, - "privileges": { - "$ref": "#/components/schemas/security.has_privileges_user_profile:PrivilegesCheck" - } - }, - "required": [ - "uids", - "privileges" - ] - } - } - }, - "required": true - }, - "security.put_privileges": { - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security.put_privileges:Actions" - } - } - } - } - }, - "required": true - }, - "security.put_role": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "applications": { - "description": "A list of application privilege entries.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:ApplicationPrivileges" - } - }, - "cluster": { - "description": "A list of cluster privileges. These privileges define the cluster-level actions for users with this role.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:ClusterPrivilege" - } - }, - "global": { - "description": "An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware. Support for global privileges is currently limited to the management of application privileges.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "indices": { - "description": "A list of indices permissions entries.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:IndicesPrivileges" - } - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "run_as": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/run-as-privilege.html" - }, - "description": "A list of users that the owners of this role can impersonate.", - "type": "array", - "items": { - "type": "string" - } - }, - "transient_metadata": { - "$ref": "#/components/schemas/security._types:TransientMetadataConfig" - } - } - } - } - }, - "required": true - }, - "security.put_role_mapping": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - }, - "rules": { - "$ref": "#/components/schemas/security._types:RoleMappingRule" - }, - "run_as": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - }, - "required": true - }, - "security.query_api_keys": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "from": { - "description": "Starting document offset.\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.", - "type": "number" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" - }, - "size": { - "description": "The number of hits to return.\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.", - "type": "number" - }, - "search_after": { - "$ref": "#/components/schemas/_types:SortResults" - } - } - } - } - } - }, - "security.suggest_user_profiles": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "description": "Query string used to match name-related fields in user profile documents.\nName-related fields are the user's `username`, `full_name`, and `email`.", - "type": "string" - }, - "size": { - "description": "Number of profiles to return.", - "type": "number" - }, - "data": { - "description": "List of filters for the `data` field of the profile document.\nTo return all content use `data=*`. To return a subset of content\nuse `data=` to retrieve content nested under the specified ``.\nBy default returns no `data` content.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "hint": { - "$ref": "#/components/schemas/security.suggest_user_profiles:Hint" - } - } - } - } - } - }, - "security.update_user_profile_data": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "labels": { - "description": "Searchable data that you want to associate with the user profile. This\nfield supports a nested data structure.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "data": { - "description": "Non-searchable data that you want to associate with the user profile.\nThis field supports a nested data structure.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - } - } - }, - "required": true - }, - "terms_enum": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "size": { - "description": "How many matching terms to return.", - "type": "number" - }, - "timeout": { - "$ref": "#/components/schemas/_types:Duration" - }, - "case_insensitive": { - "description": "When true the provided search string is matched against index terms without case sensitivity.", - "type": "boolean" - }, - "index_filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "string": { - "description": "The string after which terms in the index should be returned. Allows for a form of pagination if the last result from one request is passed as the search_after parameter for a subsequent request.", - "type": "string" - }, - "search_after": { - "type": "string" - } - }, - "required": [ - "field" - ] - } - } - } - }, - "termvectors": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "doc": { - "description": "An artificial document (a document not present in the index) for which you want to retrieve term vectors.", - "type": "object" - }, - "filter": { - "$ref": "#/components/schemas/_global.termvectors:Filter" - }, - "per_field_analyzer": { - "description": "Overrides the default per-field analyzer.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - } - } - } - }, - "transform.preview_transform": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "dest": { - "$ref": "#/components/schemas/transform._types:Destination" - }, - "description": { - "description": "Free text description of the transform.", - "type": "string" - }, - "frequency": { - "$ref": "#/components/schemas/_types:Duration" - }, - "pivot": { - "$ref": "#/components/schemas/transform._types:Pivot" - }, - "source": { - "$ref": "#/components/schemas/transform._types:Source" - }, - "settings": { - "$ref": "#/components/schemas/transform._types:Settings" - }, - "sync": { - "$ref": "#/components/schemas/transform._types:SyncContainer" - }, - "retention_policy": { - "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" - }, - "latest": { - "$ref": "#/components/schemas/transform._types:Latest" - } - } - } - } - } - } - }, - "schemas": { - "_types:Id": { - "type": "string" - }, - "_types:AcknowledgedResponseBase": { - "type": "object", - "properties": { - "acknowledged": { - "description": "For a successful response, this value is always true. On failure, an exception is returned instead.", - "type": "boolean" - } - }, - "required": [ - "acknowledged" - ] - }, - "_types:Duration": { - "externalDocs": { - "url": "https://github.com/elastic/elasticsearch/blob/current/libs/core/src/main/java/org/elasticsearch/core/TimeValue.java" - }, - "description": "A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and\n`d` (days). Also accepts \"0\" without a unit and \"-1\" to indicate an unspecified value.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "string", - "enum": [ - "-1" - ] - }, - { - "type": "string", - "enum": [ - "0" - ] - } - ] - }, - "async_search._types:AsyncSearchDocumentResponseBase": { - "allOf": [ - { - "$ref": "#/components/schemas/async_search._types:AsyncSearchResponseBase" - }, - { - "type": "object", - "properties": { - "response": { - "$ref": "#/components/schemas/async_search._types:AsyncSearch" - } - }, - "required": [ - "response" - ] - } - ] - }, - "async_search._types:AsyncSearch": { - "type": "object", - "properties": { - "aggregations": { - "description": "Partial aggregations results, coming from the shards that have already completed the execution of the query.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:Aggregate" - } - }, - "_clusters": { - "$ref": "#/components/schemas/_types:ClusterStatistics" - }, - "fields": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "hits": { - "$ref": "#/components/schemas/_global.search._types:HitsMetadata" - }, - "max_score": { - "type": "number" - }, - "num_reduce_phases": { - "description": "Indicates how many reductions of the results have been performed.\nIf this number increases compared to the last retrieved results for a get asynch search request, you can expect additional results included in the search response.", - "type": "number" - }, - "profile": { - "$ref": "#/components/schemas/_global.search._types:Profile" - }, - "pit_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_scroll_id": { - "$ref": "#/components/schemas/_types:ScrollId" - }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "suggest": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:Suggest" - } - } - }, - "terminated_early": { - "type": "boolean" - }, - "timed_out": { - "type": "boolean" - }, - "took": { - "type": "number" - } - }, - "required": [ - "hits", - "_shards", - "timed_out", - "took" - ] - }, - "_types.aggregations:Aggregate": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:CardinalityAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:HdrPercentilesAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:HdrPercentileRanksAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:TDigestPercentilesAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:TDigestPercentileRanksAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:PercentilesBucketAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:MedianAbsoluteDeviationAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:MinAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:MaxAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:SumAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:AvgAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:WeightedAvgAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:ValueCountAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:SimpleValueAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:DerivativeAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:BucketMetricValueAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:StatsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:StatsBucketAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsBucketAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:GeoBoundsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:GeoCentroidAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:HistogramAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:DateHistogramAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:AutoDateHistogramAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:VariableWidthHistogramAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:StringTermsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:LongTermsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:DoubleTermsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:UnmappedTermsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:LongRareTermsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:StringRareTermsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:UnmappedRareTermsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:MultiTermsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:MissingAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:NestedAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:ReverseNestedAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:GlobalAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:FilterAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:ChildrenAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:ParentAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:SamplerAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:UnmappedSamplerAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:GeoHashGridAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:GeoTileGridAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:GeoHexGridAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:RangeAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:DateRangeAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:GeoDistanceAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:IpRangeAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:IpPrefixAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:FiltersAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:AdjacencyMatrixAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:SignificantLongTermsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:SignificantStringTermsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:UnmappedSignificantTermsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:CompositeAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:ScriptedMetricAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:TopHitsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:InferenceAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:StringStatsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:BoxPlotAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:TopMetricsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:TTestAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:RateAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:CumulativeCardinalityAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:MatrixStatsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:GeoLineAggregate" - } - ] - }, - "_types.aggregations:CardinalityAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ] - } - ] - }, - "_types.aggregations:AggregateBase": { - "type": "object", - "properties": { - "meta": { - "$ref": "#/components/schemas/_types:Metadata" - } - } - }, - "_types:Metadata": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "_types.aggregations:HdrPercentilesAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:PercentilesAggregateBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "values": { - "$ref": "#/components/schemas/_types.aggregations:Percentiles" - } - }, - "required": [ - "values" - ] - } - ] - }, - "_types.aggregations:Percentiles": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:KeyedPercentiles" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:ArrayPercentilesItem" - } - } - ] - }, - "_types.aggregations:KeyedPercentiles": { - "type": "object", - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - } - }, - "_types.aggregations:ArrayPercentilesItem": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "value": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "value_as_string": { - "type": "string" - } - }, - "required": [ - "key", - "value" - ] - }, - "_types.aggregations:HdrPercentileRanksAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:TDigestPercentilesAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:TDigestPercentileRanksAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:PercentilesBucketAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MedianAbsoluteDeviationAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:SingleMetricAggregateBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "value": { - "description": "The metric value. A missing value generally means that there was no data to aggregate,\nunless specified otherwise.", - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "value_as_string": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - ] - }, - "_types.aggregations:MinAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MaxAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:SumAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:AvgAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:WeightedAvgAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:ValueCountAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:SimpleValueAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:DerivativeAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" - }, - { - "type": "object", - "properties": { - "normalized_value": { - "type": "number" - }, - "normalized_value_as_string": { - "type": "string" - } - } - } - ] - }, - "_types.aggregations:BucketMetricValueAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" - }, - { - "type": "object", - "properties": { - "keys": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "keys" - ] - } - ] - }, - "_types.aggregations:StatsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "min": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "max": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "avg": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "sum": { - "type": "number" - }, - "min_as_string": { - "type": "string" - }, - "max_as_string": { - "type": "string" - }, - "avg_as_string": { - "type": "string" - }, - "sum_as_string": { - "type": "string" - } - }, - "required": [ - "count", - "min", - "max", - "avg", - "sum" - ] - } - ] - }, - "_types.aggregations:StatsBucketAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:StatsAggregate" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:ExtendedStatsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:StatsAggregate" - }, - { - "type": "object", - "properties": { - "sum_of_squares": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "variance": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "variance_population": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "variance_sampling": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "std_deviation": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "std_deviation_population": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "std_deviation_sampling": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "std_deviation_bounds": { - "$ref": "#/components/schemas/_types.aggregations:StandardDeviationBounds" - }, - "sum_of_squares_as_string": { - "type": "string" - }, - "variance_as_string": { - "type": "string" - }, - "variance_population_as_string": { - "type": "string" - }, - "variance_sampling_as_string": { - "type": "string" - }, - "std_deviation_as_string": { - "type": "string" - }, - "std_deviation_bounds_as_string": { - "$ref": "#/components/schemas/_types.aggregations:StandardDeviationBoundsAsString" - } - }, - "required": [ - "sum_of_squares", - "variance", - "variance_population", - "variance_sampling", - "std_deviation", - "std_deviation_population", - "std_deviation_sampling" - ] - } - ] - }, - "_types.aggregations:StandardDeviationBounds": { - "type": "object", - "properties": { - "upper": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "lower": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "upper_population": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "lower_population": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "upper_sampling": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "lower_sampling": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - } - }, - "required": [ - "upper", - "lower", - "upper_population", - "lower_population", - "upper_sampling", - "lower_sampling" - ] - }, - "_types.aggregations:StandardDeviationBoundsAsString": { - "type": "object", - "properties": { - "upper": { - "type": "string" - }, - "lower": { - "type": "string" - }, - "upper_population": { - "type": "string" - }, - "lower_population": { - "type": "string" - }, - "upper_sampling": { - "type": "string" - }, - "lower_sampling": { - "type": "string" - } - }, - "required": [ - "upper", - "lower", - "upper_population", - "lower_population", - "upper_sampling", - "lower_sampling" - ] - }, - "_types.aggregations:ExtendedStatsBucketAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsAggregate" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:GeoBoundsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "bounds": { - "$ref": "#/components/schemas/_types:GeoBounds" - } - } - } - ] - }, - "_types:GeoBounds": { - "description": "A geo bounding box. It can be represented in various ways:\n- as 4 top/bottom/left/right coordinates\n- as 2 top_left / bottom_right points\n- as 2 top_right / bottom_left points\n- as a WKT bounding box", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:CoordsGeoBounds" - }, - { - "$ref": "#/components/schemas/_types:TopLeftBottomRightGeoBounds" - }, - { - "$ref": "#/components/schemas/_types:TopRightBottomLeftGeoBounds" - }, - { - "$ref": "#/components/schemas/_types:WktGeoBounds" - } - ] - }, - "_types:CoordsGeoBounds": { - "type": "object", - "properties": { - "top": { - "type": "number" - }, - "bottom": { - "type": "number" - }, - "left": { - "type": "number" - }, - "right": { - "type": "number" - } - }, - "required": [ - "top", - "bottom", - "left", - "right" - ] - }, - "_types:TopLeftBottomRightGeoBounds": { - "type": "object", - "properties": { - "top_left": { - "$ref": "#/components/schemas/_types:GeoLocation" - }, - "bottom_right": { - "$ref": "#/components/schemas/_types:GeoLocation" - } - }, - "required": [ - "top_left", - "bottom_right" - ] - }, - "_types:GeoLocation": { - "description": "A latitude/longitude as a 2 dimensional point. It can be represented in various ways:\n- as a `{lat, long}` object\n- as a geo hash value\n- as a `[lon, lat]` array\n- as a string in `\", \"` or WKT point formats", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:LatLonGeoLocation" - }, - { - "$ref": "#/components/schemas/_types:GeoHashLocation" - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "string" - } - ] - }, - "_types:LatLonGeoLocation": { - "type": "object", - "properties": { - "lat": { - "description": "Latitude", - "type": "number" - }, - "lon": { - "description": "Longitude", - "type": "number" - } - }, - "required": [ - "lat", - "lon" - ] - }, - "_types:GeoHashLocation": { - "type": "object", - "properties": { - "geohash": { - "$ref": "#/components/schemas/_types:GeoHash" - } - }, - "required": [ - "geohash" - ] - }, - "_types:GeoHash": { - "type": "string" - }, - "_types:TopRightBottomLeftGeoBounds": { - "type": "object", - "properties": { - "top_right": { - "$ref": "#/components/schemas/_types:GeoLocation" - }, - "bottom_left": { - "$ref": "#/components/schemas/_types:GeoLocation" - } - }, - "required": [ - "top_right", - "bottom_left" - ] - }, - "_types:WktGeoBounds": { - "type": "object", - "properties": { - "wkt": { - "type": "string" - } - }, - "required": [ - "wkt" - ] - }, - "_types.aggregations:GeoCentroidAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "location": { - "$ref": "#/components/schemas/_types:GeoLocation" - } - }, - "required": [ - "count" - ] - } - ] - }, - "_types.aggregations:HistogramAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseHistogramBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseHistogramBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsHistogramBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsHistogramBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:HistogramBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:HistogramBucket" - } - } - ] - }, - "_types.aggregations:HistogramBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key_as_string": { - "type": "string" - }, - "key": { - "type": "number" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types.aggregations:MultiBucketBase": { - "type": "object", - "properties": { - "doc_count": { - "type": "number" - } - }, - "required": [ - "doc_count" - ] - }, - "_types.aggregations:DateHistogramAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseDateHistogramBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseDateHistogramBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsDateHistogramBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsDateHistogramBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:DateHistogramBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:DateHistogramBucket" - } - } - ] - }, - "_types.aggregations:DateHistogramBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key_as_string": { - "type": "string" - }, - "key": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types:EpochTimeUnitMillis": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:UnitMillis" - } - ] - }, - "_types:UnitMillis": { - "description": "Time unit for milliseconds", - "type": "number" - }, - "_types.aggregations:AutoDateHistogramAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseDateHistogramBucket" - }, - { - "type": "object", - "properties": { - "interval": { - "$ref": "#/components/schemas/_types:DurationLarge" - } - }, - "required": [ - "interval" - ] - } - ] - }, - "_types:DurationLarge": { - "description": "A date histogram interval. Similar to `Duration` with additional units: `w` (week), `M` (month), `q` (quarter) and\n`y` (year)", - "type": "string" - }, - "_types.aggregations:VariableWidthHistogramAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseVariableWidthHistogramBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseVariableWidthHistogramBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsVariableWidthHistogramBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsVariableWidthHistogramBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:VariableWidthHistogramBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:VariableWidthHistogramBucket" - } - } - ] - }, - "_types.aggregations:VariableWidthHistogramBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "min": { - "type": "number" - }, - "key": { - "type": "number" - }, - "max": { - "type": "number" - }, - "min_as_string": { - "type": "string" - }, - "key_as_string": { - "type": "string" - }, - "max_as_string": { - "type": "string" - } - }, - "required": [ - "min", - "key", - "max" - ] - } - ] - }, - "_types.aggregations:StringTermsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseStringTermsBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:TermsAggregateBaseStringTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseStringTermsBucket" - }, - { - "type": "object", - "properties": { - "doc_count_error_upper_bound": { - "type": "number" - }, - "sum_other_doc_count": { - "type": "number" - } - } - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseStringTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsStringTermsBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsStringTermsBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:StringTermsBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:StringTermsBucket" - } - } - ] - }, - "_types.aggregations:StringTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:TermsBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "$ref": "#/components/schemas/_types:FieldValue" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types:FieldValue": { - "description": "A field value.", - "oneOf": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "nullable": true, - "type": "string" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:TermsBucketBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "doc_count_error": { - "type": "number" - } - } - } - ] - }, - "_types.aggregations:LongTermsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseLongTermsBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:TermsAggregateBaseLongTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseLongTermsBucket" - }, - { - "type": "object", - "properties": { - "doc_count_error_upper_bound": { - "type": "number" - }, - "sum_other_doc_count": { - "type": "number" - } - } - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseLongTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsLongTermsBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsLongTermsBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:LongTermsBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:LongTermsBucket" - } - } - ] - }, - "_types.aggregations:LongTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:TermsBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "type": "number" - }, - "key_as_string": { - "type": "string" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types.aggregations:DoubleTermsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseDoubleTermsBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:TermsAggregateBaseDoubleTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseDoubleTermsBucket" - }, - { - "type": "object", - "properties": { - "doc_count_error_upper_bound": { - "type": "number" - }, - "sum_other_doc_count": { - "type": "number" - } - } - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseDoubleTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsDoubleTermsBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsDoubleTermsBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:DoubleTermsBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:DoubleTermsBucket" - } - } - ] - }, - "_types.aggregations:DoubleTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:TermsBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "type": "number" - }, - "key_as_string": { - "type": "string" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types.aggregations:UnmappedTermsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseVoid" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:TermsAggregateBaseVoid": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseVoid" - }, - { - "type": "object", - "properties": { - "doc_count_error_upper_bound": { - "type": "number" - }, - "sum_other_doc_count": { - "type": "number" - } - } - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseVoid": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsVoid" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsVoid": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_spec_utils:Void" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_spec_utils:Void" - } - } - ] - }, - "_spec_utils:Void": { - "description": "The absence of any type. This is commonly used in APIs that don't return a body.\n\nAlthough \"void\" is generally used for the unit type that has only one value, this is to be interpreted as\nthe bottom type that has no value at all. Most languages have a unit type, but few have a bottom type.\n\nSee https://en.m.wikipedia.org/wiki/Unit_type and https://en.m.wikipedia.org/wiki/Bottom_type", - "type": "object" - }, - "_types.aggregations:LongRareTermsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseLongRareTermsBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseLongRareTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsLongRareTermsBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsLongRareTermsBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:LongRareTermsBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:LongRareTermsBucket" - } - } - ] - }, - "_types.aggregations:LongRareTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "type": "number" - }, - "key_as_string": { - "type": "string" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types.aggregations:StringRareTermsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseStringRareTermsBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseStringRareTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsStringRareTermsBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsStringRareTermsBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:StringRareTermsBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:StringRareTermsBucket" - } - } - ] - }, - "_types.aggregations:StringRareTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "type": "string" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types.aggregations:UnmappedRareTermsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseVoid" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiTermsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseMultiTermsBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:TermsAggregateBaseMultiTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseMultiTermsBucket" - }, - { - "type": "object", - "properties": { - "doc_count_error_upper_bound": { - "type": "number" - }, - "sum_other_doc_count": { - "type": "number" - } - } - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseMultiTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsMultiTermsBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsMultiTermsBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:MultiTermsBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:MultiTermsBucket" - } - } - ] - }, - "_types.aggregations:MultiTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:FieldValue" - } - }, - "key_as_string": { - "type": "string" - }, - "doc_count_error_upper_bound": { - "type": "number" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types.aggregations:MissingAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:SingleBucketAggregateBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "doc_count": { - "type": "number" - } - }, - "required": [ - "doc_count" - ] - } - ] - }, - "_types.aggregations:NestedAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:ReverseNestedAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:GlobalAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:FilterAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:ChildrenAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:ParentAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:SamplerAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:UnmappedSamplerAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:GeoHashGridAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseGeoHashGridBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseGeoHashGridBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsGeoHashGridBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsGeoHashGridBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:GeoHashGridBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:GeoHashGridBucket" - } - } - ] - }, - "_types.aggregations:GeoHashGridBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "$ref": "#/components/schemas/_types:GeoHash" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types.aggregations:GeoTileGridAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseGeoTileGridBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseGeoTileGridBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsGeoTileGridBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsGeoTileGridBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:GeoTileGridBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:GeoTileGridBucket" - } - } - ] - }, - "_types.aggregations:GeoTileGridBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "$ref": "#/components/schemas/_types:GeoTile" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types:GeoTile": { - "description": "A map tile reference, represented as `{zoom}/{x}/{y}`", - "type": "string" - }, - "_types.aggregations:GeoHexGridAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseGeoHexGridBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseGeoHexGridBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsGeoHexGridBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsGeoHexGridBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:GeoHexGridBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:GeoHexGridBucket" - } - } - ] - }, - "_types.aggregations:GeoHexGridBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "$ref": "#/components/schemas/_types:GeoHexCell" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types:GeoHexCell": { - "description": "A map hex cell (H3) reference", - "type": "string" - }, - "_types.aggregations:RangeAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseRangeBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseRangeBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsRangeBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsRangeBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:RangeBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:RangeBucket" - } - } - ] - }, - "_types.aggregations:RangeBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "from": { - "type": "number" - }, - "to": { - "type": "number" - }, - "from_as_string": { - "type": "string" - }, - "to_as_string": { - "type": "string" - }, - "key": { - "description": "The bucket key. Present if the aggregation is _not_ keyed", - "type": "string" - } - } - } - ] - }, - "_types.aggregations:DateRangeAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:RangeAggregate" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:GeoDistanceAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:RangeAggregate" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:IpRangeAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseIpRangeBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseIpRangeBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsIpRangeBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsIpRangeBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:IpRangeBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:IpRangeBucket" - } - } - ] - }, - "_types.aggregations:IpRangeBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "from": { - "type": "string" - }, - "to": { - "type": "string" - } - } - } - ] - }, - "_types.aggregations:IpPrefixAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseIpPrefixBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseIpPrefixBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsIpPrefixBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsIpPrefixBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:IpPrefixBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:IpPrefixBucket" - } - } - ] - }, - "_types.aggregations:IpPrefixBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "is_ipv6": { - "type": "boolean" - }, - "key": { - "type": "string" - }, - "prefix_length": { - "type": "number" - }, - "netmask": { - "type": "string" - } - }, - "required": [ - "is_ipv6", - "key", - "prefix_length" - ] - } - ] - }, - "_types.aggregations:FiltersAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseFiltersBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseFiltersBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsFiltersBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsFiltersBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:FiltersBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:FiltersBucket" - } - } - ] - }, - "_types.aggregations:FiltersBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:AdjacencyMatrixAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseAdjacencyMatrixBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseAdjacencyMatrixBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsAdjacencyMatrixBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsAdjacencyMatrixBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AdjacencyMatrixBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:AdjacencyMatrixBucket" - } - } - ] - }, - "_types.aggregations:AdjacencyMatrixBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "type": "string" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types.aggregations:SignificantLongTermsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SignificantTermsAggregateBaseSignificantLongTermsBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:SignificantTermsAggregateBaseSignificantLongTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseSignificantLongTermsBucket" - }, - { - "type": "object", - "properties": { - "bg_count": { - "type": "number" - }, - "doc_count": { - "type": "number" - } - } - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseSignificantLongTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsSignificantLongTermsBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsSignificantLongTermsBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:SignificantLongTermsBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:SignificantLongTermsBucket" - } - } - ] - }, - "_types.aggregations:SignificantLongTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SignificantTermsBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "type": "number" - }, - "key_as_string": { - "type": "string" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types.aggregations:SignificantTermsBucketBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "bg_count": { - "type": "number" - } - }, - "required": [ - "score", - "bg_count" - ] - } - ] - }, - "_types.aggregations:SignificantStringTermsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SignificantTermsAggregateBaseSignificantStringTermsBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:SignificantTermsAggregateBaseSignificantStringTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseSignificantStringTermsBucket" - }, - { - "type": "object", - "properties": { - "bg_count": { - "type": "number" - }, - "doc_count": { - "type": "number" - } - } - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseSignificantStringTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsSignificantStringTermsBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsSignificantStringTermsBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:SignificantStringTermsBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:SignificantStringTermsBucket" - } - } - ] - }, - "_types.aggregations:SignificantStringTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SignificantTermsBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "type": "string" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types.aggregations:UnmappedSignificantTermsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SignificantTermsAggregateBaseVoid" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:SignificantTermsAggregateBaseVoid": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseVoid" - }, - { - "type": "object", - "properties": { - "bg_count": { - "type": "number" - }, - "doc_count": { - "type": "number" - } - } - } - ] - }, - "_types.aggregations:CompositeAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseCompositeBucket" - }, - { - "type": "object", - "properties": { - "after_key": { - "$ref": "#/components/schemas/_types.aggregations:CompositeAggregateKey" - } - } - } - ] - }, - "_types.aggregations:CompositeAggregateKey": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:FieldValue" - } - }, - "_types.aggregations:MultiBucketAggregateBaseCompositeBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsCompositeBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsCompositeBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:CompositeBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:CompositeBucket" - } - } - ] - }, - "_types.aggregations:CompositeBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "$ref": "#/components/schemas/_types.aggregations:CompositeAggregateKey" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types.aggregations:FrequentItemSetsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseFrequentItemSetsBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseFrequentItemSetsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsFrequentItemSetsBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsFrequentItemSetsBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsBucket" - } - } - ] - }, - "_types.aggregations:FrequentItemSetsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "support": { - "type": "number" - } - }, - "required": [ - "key", - "support" - ] - } - ] - }, - "_types.aggregations:ScriptedMetricAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "value": { - "type": "object" - } - }, - "required": [ - "value" - ] - } - ] - }, - "_types.aggregations:TopHitsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "hits": { - "$ref": "#/components/schemas/_global.search._types:HitsMetadata" - } - }, - "required": [ - "hits" - ] - } - ] - }, - "_global.search._types:HitsMetadata": { - "type": "object", - "properties": { - "total": { - "description": "Total hit count information, present only if `track_total_hits` wasn't `false` in the search request.", - "oneOf": [ - { - "$ref": "#/components/schemas/_global.search._types:TotalHits" - }, - { - "type": "number" - } - ] - }, - "hits": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:Hit" - } - }, - "max_score": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - } - }, - "required": [ - "hits" - ] - }, - "_global.search._types:TotalHits": { - "type": "object", - "properties": { - "relation": { - "$ref": "#/components/schemas/_global.search._types:TotalHitsRelation" - }, - "value": { - "type": "number" - } - }, - "required": [ - "relation", - "value" - ] - }, - "_global.search._types:TotalHitsRelation": { - "type": "string", - "enum": [ - "eq", - "gte" - ] - }, - "_global.search._types:Hit": { - "type": "object", - "properties": { - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_score": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "_explanation": { - "$ref": "#/components/schemas/_global.explain:Explanation" - }, - "fields": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "highlight": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "inner_hits": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_global.search._types:InnerHitsResult" - } - }, - "matched_queries": { - "type": "array", - "items": { - "type": "string" - } - }, - "_nested": { - "$ref": "#/components/schemas/_global.search._types:NestedIdentity" - }, - "_ignored": { - "type": "array", - "items": { - "type": "string" - } - }, - "ignored_field_values": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "_shard": { - "type": "string" - }, - "_node": { - "type": "string" - }, - "_routing": { - "type": "string" - }, - "_source": { - "type": "object" - }, - "_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "_primary_term": { - "type": "number" - }, - "_version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "sort": { - "$ref": "#/components/schemas/_types:SortResults" - } - }, - "required": [ - "_index", - "_id" - ] - }, - "_types:IndexName": { - "type": "string" - }, - "_global.explain:Explanation": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "details": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.explain:ExplanationDetail" - } - }, - "value": { - "type": "number" - } - }, - "required": [ - "description", - "details", - "value" - ] - }, - "_global.explain:ExplanationDetail": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "details": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.explain:ExplanationDetail" - } - }, - "value": { - "type": "number" - } - }, - "required": [ - "description", - "value" - ] - }, - "_global.search._types:InnerHitsResult": { - "type": "object", - "properties": { - "hits": { - "$ref": "#/components/schemas/_global.search._types:HitsMetadata" - } - }, - "required": [ - "hits" - ] - }, - "_global.search._types:NestedIdentity": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "offset": { - "type": "number" - }, - "_nested": { - "$ref": "#/components/schemas/_global.search._types:NestedIdentity" - } - }, - "required": [ - "field", - "offset" - ] - }, - "_types:Field": { - "description": "Path to field or array of paths. Some API's support wildcards in the path to select multiple fields.", - "type": "string" - }, - "_types:SequenceNumber": { - "type": "number" - }, - "_types:VersionNumber": { - "type": "number" - }, - "_types:SortResults": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:FieldValue" - } - }, - "_types.aggregations:InferenceAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/_types:FieldValue" - }, - "feature_importance": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:InferenceFeatureImportance" - } - }, - "top_classes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:InferenceTopClassEntry" - } - }, - "warning": { - "type": "string" - } - } - } - ] - }, - "_types.aggregations:InferenceFeatureImportance": { - "type": "object", - "properties": { - "feature_name": { - "type": "string" - }, - "importance": { - "type": "number" - }, - "classes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:InferenceClassImportance" - } - } - }, - "required": [ - "feature_name" - ] - }, - "_types.aggregations:InferenceClassImportance": { - "type": "object", - "properties": { - "class_name": { - "type": "string" - }, - "importance": { - "type": "number" - } - }, - "required": [ - "class_name", - "importance" - ] - }, - "_types.aggregations:InferenceTopClassEntry": { - "type": "object", - "properties": { - "class_name": { - "$ref": "#/components/schemas/_types:FieldValue" - }, - "class_probability": { - "type": "number" - }, - "class_score": { - "type": "number" - } - }, - "required": [ - "class_name", - "class_probability", - "class_score" - ] - }, - "_types.aggregations:StringStatsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "min_length": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "max_length": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "avg_length": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "entropy": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "distribution": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "number" - } - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "min_length_as_string": { - "type": "string" - }, - "max_length_as_string": { - "type": "string" - }, - "avg_length_as_string": { - "type": "string" - } - }, - "required": [ - "count", - "min_length", - "max_length", - "avg_length", - "entropy" - ] - } - ] - }, - "_types.aggregations:BoxPlotAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "min": { - "type": "number" - }, - "max": { - "type": "number" - }, - "q1": { - "type": "number" - }, - "q2": { - "type": "number" - }, - "q3": { - "type": "number" - }, - "lower": { - "type": "number" - }, - "upper": { - "type": "number" - }, - "min_as_string": { - "type": "string" - }, - "max_as_string": { - "type": "string" - }, - "q1_as_string": { - "type": "string" - }, - "q2_as_string": { - "type": "string" - }, - "q3_as_string": { - "type": "string" - }, - "lower_as_string": { - "type": "string" - }, - "upper_as_string": { - "type": "string" - } - }, - "required": [ - "min", - "max", - "q1", - "q2", - "q3", - "lower", - "upper" - ] - } - ] - }, - "_types.aggregations:TopMetricsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "top": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:TopMetrics" - } - } - }, - "required": [ - "top" - ] - } - ] - }, - "_types.aggregations:TopMetrics": { - "type": "object", - "properties": { - "sort": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:FieldValue" - }, - { - "nullable": true, - "type": "string" - } - ] - } - }, - "metrics": { - "type": "object", - "additionalProperties": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:FieldValue" - }, - { - "nullable": true, - "type": "string" - } - ] - } - } - }, - "required": [ - "sort", - "metrics" - ] - }, - "_types.aggregations:TTestAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "value_as_string": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - ] - }, - "_types.aggregations:RateAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "value_as_string": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - ] - }, - "_types.aggregations:CumulativeCardinalityAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "value_as_string": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - ] - }, - "_types.aggregations:MatrixStatsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "doc_count": { - "type": "number" - }, - "fields": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:MatrixStatsFields" - } - } - }, - "required": [ - "doc_count" - ] - } - ] - }, - "_types.aggregations:MatrixStatsFields": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Field" - }, - "count": { - "type": "number" - }, - "mean": { - "type": "number" - }, - "variance": { - "type": "number" - }, - "skewness": { - "type": "number" - }, - "kurtosis": { - "type": "number" - }, - "covariance": { - "type": "object", - "additionalProperties": { - "type": "number" - } - }, - "correlation": { - "type": "object", - "additionalProperties": { - "type": "number" - } - } - }, - "required": [ - "name", - "count", - "mean", - "variance", - "skewness", - "kurtosis", - "covariance", - "correlation" - ] - }, - "_types.aggregations:GeoLineAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "geometry": { - "$ref": "#/components/schemas/_types:GeoLine" - }, - "properties": { - "type": "object" - } - }, - "required": [ - "type", - "geometry", - "properties" - ] - } - ] - }, - "_types:GeoLine": { - "type": "object", - "properties": { - "type": { - "description": "Always `\"LineString\"`", - "type": "string" - }, - "coordinates": { - "description": "Array of `[lon, lat]` coordinates", - "type": "array", - "items": { - "type": "array", - "items": { - "type": "number" - } - } - } - }, - "required": [ - "type", - "coordinates" - ] - }, - "_types:ClusterStatistics": { - "type": "object", - "properties": { - "skipped": { - "type": "number" - }, - "successful": { - "type": "number" - }, - "total": { - "type": "number" - }, - "details": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ClusterDetails" - } - } - }, - "required": [ - "skipped", - "successful", - "total" - ] - }, - "_types:ClusterDetails": { - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/_types:ClusterSearchStatus" - }, - "indices": { - "type": "string" - }, - "took": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "timed_out": { - "type": "boolean" - }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "failures": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ShardFailure" - } - } - }, - "required": [ - "status", - "indices", - "timed_out" - ] - }, - "_types:ClusterSearchStatus": { - "type": "string", - "enum": [ - "running", - "successful", - "partial", - "skipped", - "failed" - ] - }, - "_types:DurationValueUnitMillis": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:UnitMillis" - } - ] - }, - "_types:ShardStatistics": { - "type": "object", - "properties": { - "failed": { - "$ref": "#/components/schemas/_types:uint" - }, - "successful": { - "$ref": "#/components/schemas/_types:uint" - }, - "total": { - "$ref": "#/components/schemas/_types:uint" - }, - "failures": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ShardFailure" - } - }, - "skipped": { - "$ref": "#/components/schemas/_types:uint" - } - }, - "required": [ - "failed", - "successful", - "total" - ] - }, - "_types:uint": { - "type": "number" - }, - "_types:ShardFailure": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "node": { - "type": "string" - }, - "reason": { - "$ref": "#/components/schemas/_types:ErrorCause" - }, - "shard": { - "type": "number" - }, - "status": { - "type": "string" - } - }, - "required": [ - "reason", - "shard" - ] - }, - "_types:ErrorCause": { - "type": "object", - "properties": { - "type": { - "description": "The type of error", - "type": "string" - }, - "reason": { - "description": "A human-readable explanation of the error, in english", - "type": "string" - }, - "stack_trace": { - "description": "The server stack trace. Present only if the `error_trace=true` parameter was sent with the request.", - "type": "string" - }, - "caused_by": { - "$ref": "#/components/schemas/_types:ErrorCause" - }, - "root_cause": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ErrorCause" - } - }, - "suppressed": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ErrorCause" - } - } - }, - "required": [ - "type" - ] - }, - "_global.search._types:Profile": { - "type": "object", - "properties": { - "shards": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:ShardProfile" - } - } - }, - "required": [ - "shards" - ] - }, - "_global.search._types:ShardProfile": { - "type": "object", - "properties": { - "aggregations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:AggregationProfile" - } - }, - "id": { - "type": "string" - }, - "searches": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:SearchProfile" - } - }, - "fetch": { - "$ref": "#/components/schemas/_global.search._types:FetchProfile" - } - }, - "required": [ - "aggregations", - "id", - "searches" - ] - }, - "_global.search._types:AggregationProfile": { - "type": "object", - "properties": { - "breakdown": { - "$ref": "#/components/schemas/_global.search._types:AggregationBreakdown" - }, - "description": { - "type": "string" - }, - "time_in_nanos": { - "$ref": "#/components/schemas/_types:DurationValueUnitNanos" - }, - "type": { - "type": "string" - }, - "debug": { - "$ref": "#/components/schemas/_global.search._types:AggregationProfileDebug" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:AggregationProfile" - } - } - }, - "required": [ - "breakdown", - "description", - "time_in_nanos", - "type" - ] - }, - "_global.search._types:AggregationBreakdown": { - "type": "object", - "properties": { - "build_aggregation": { - "type": "number" - }, - "build_aggregation_count": { - "type": "number" - }, - "build_leaf_collector": { - "type": "number" - }, - "build_leaf_collector_count": { - "type": "number" - }, - "collect": { - "type": "number" - }, - "collect_count": { - "type": "number" - }, - "initialize": { - "type": "number" - }, - "initialize_count": { - "type": "number" - }, - "post_collection": { - "type": "number" - }, - "post_collection_count": { - "type": "number" - }, - "reduce": { - "type": "number" - }, - "reduce_count": { - "type": "number" - } - }, - "required": [ - "build_aggregation", - "build_aggregation_count", - "build_leaf_collector", - "build_leaf_collector_count", - "collect", - "collect_count", - "initialize", - "initialize_count", - "reduce", - "reduce_count" - ] - }, - "_types:DurationValueUnitNanos": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:UnitNanos" - } - ] - }, - "_types:UnitNanos": { - "description": "Time unit for nanoseconds", - "type": "number" - }, - "_global.search._types:AggregationProfileDebug": { - "type": "object", - "properties": { - "segments_with_multi_valued_ords": { - "type": "number" - }, - "collection_strategy": { - "type": "string" - }, - "segments_with_single_valued_ords": { - "type": "number" - }, - "total_buckets": { - "type": "number" - }, - "built_buckets": { - "type": "number" - }, - "result_strategy": { - "type": "string" - }, - "has_filter": { - "type": "boolean" - }, - "delegate": { - "type": "string" - }, - "delegate_debug": { - "$ref": "#/components/schemas/_global.search._types:AggregationProfileDebug" - }, - "chars_fetched": { - "type": "number" - }, - "extract_count": { - "type": "number" - }, - "extract_ns": { - "type": "number" - }, - "values_fetched": { - "type": "number" - }, - "collect_analyzed_ns": { - "type": "number" - }, - "collect_analyzed_count": { - "type": "number" - }, - "surviving_buckets": { - "type": "number" - }, - "ordinals_collectors_used": { - "type": "number" - }, - "ordinals_collectors_overhead_too_high": { - "type": "number" - }, - "string_hashing_collectors_used": { - "type": "number" - }, - "numeric_collectors_used": { - "type": "number" - }, - "empty_collectors_used": { - "type": "number" - }, - "deferred_aggregators": { - "type": "array", - "items": { - "type": "string" - } - }, - "segments_with_doc_count_field": { - "type": "number" - }, - "segments_with_deleted_docs": { - "type": "number" - }, - "filters": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:AggregationProfileDelegateDebugFilter" - } - }, - "segments_counted": { - "type": "number" - }, - "segments_collected": { - "type": "number" - }, - "map_reducer": { - "type": "string" - } - } - }, - "_global.search._types:AggregationProfileDelegateDebugFilter": { - "type": "object", - "properties": { - "results_from_metadata": { - "type": "number" - }, - "query": { - "type": "string" - }, - "specialized_for": { - "type": "string" - }, - "segments_counted_in_constant_time": { - "type": "number" - } - } - }, - "_global.search._types:SearchProfile": { - "type": "object", - "properties": { - "collector": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:Collector" - } - }, - "query": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:QueryProfile" - } - }, - "rewrite_time": { - "type": "number" - } - }, - "required": [ - "collector", - "query", - "rewrite_time" - ] - }, - "_global.search._types:Collector": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "reason": { - "type": "string" - }, - "time_in_nanos": { - "$ref": "#/components/schemas/_types:DurationValueUnitNanos" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:Collector" - } - } - }, - "required": [ - "name", - "reason", - "time_in_nanos" - ] - }, - "_global.search._types:QueryProfile": { - "type": "object", - "properties": { - "breakdown": { - "$ref": "#/components/schemas/_global.search._types:QueryBreakdown" - }, - "description": { - "type": "string" - }, - "time_in_nanos": { - "$ref": "#/components/schemas/_types:DurationValueUnitNanos" - }, - "type": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:QueryProfile" - } - } - }, - "required": [ - "breakdown", - "description", - "time_in_nanos", - "type" - ] - }, - "_global.search._types:QueryBreakdown": { - "type": "object", - "properties": { - "advance": { - "type": "number" - }, - "advance_count": { - "type": "number" - }, - "build_scorer": { - "type": "number" - }, - "build_scorer_count": { - "type": "number" - }, - "create_weight": { - "type": "number" - }, - "create_weight_count": { - "type": "number" - }, - "match": { - "type": "number" - }, - "match_count": { - "type": "number" - }, - "shallow_advance": { - "type": "number" - }, - "shallow_advance_count": { - "type": "number" - }, - "next_doc": { - "type": "number" - }, - "next_doc_count": { - "type": "number" - }, - "score": { - "type": "number" - }, - "score_count": { - "type": "number" - }, - "compute_max_score": { - "type": "number" - }, - "compute_max_score_count": { - "type": "number" - }, - "set_min_competitive_score": { - "type": "number" - }, - "set_min_competitive_score_count": { - "type": "number" - } - }, - "required": [ - "advance", - "advance_count", - "build_scorer", - "build_scorer_count", - "create_weight", - "create_weight_count", - "match", - "match_count", - "shallow_advance", - "shallow_advance_count", - "next_doc", - "next_doc_count", - "score", - "score_count", - "compute_max_score", - "compute_max_score_count", - "set_min_competitive_score", - "set_min_competitive_score_count" - ] - }, - "_global.search._types:FetchProfile": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "description": { - "type": "string" - }, - "time_in_nanos": { - "$ref": "#/components/schemas/_types:DurationValueUnitNanos" - }, - "breakdown": { - "$ref": "#/components/schemas/_global.search._types:FetchProfileBreakdown" - }, - "debug": { - "$ref": "#/components/schemas/_global.search._types:FetchProfileDebug" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:FetchProfile" - } - } - }, - "required": [ - "type", - "description", - "time_in_nanos", - "breakdown" - ] - }, - "_global.search._types:FetchProfileBreakdown": { - "type": "object", - "properties": { - "load_source": { - "type": "number" - }, - "load_source_count": { - "type": "number" - }, - "load_stored_fields": { - "type": "number" - }, - "load_stored_fields_count": { - "type": "number" - }, - "next_reader": { - "type": "number" - }, - "next_reader_count": { - "type": "number" - }, - "process_count": { - "type": "number" - }, - "process": { - "type": "number" - } - } - }, - "_global.search._types:FetchProfileDebug": { - "type": "object", - "properties": { - "stored_fields": { - "type": "array", - "items": { - "type": "string" - } - }, - "fast_path": { - "type": "number" - } - } - }, - "_types:ScrollId": { - "type": "string" - }, - "_global.search._types:Suggest": { - "oneOf": [ - { - "$ref": "#/components/schemas/_global.search._types:CompletionSuggest" - }, - { - "$ref": "#/components/schemas/_global.search._types:PhraseSuggest" - }, - { - "$ref": "#/components/schemas/_global.search._types:TermSuggest" - } - ] - }, - "_global.search._types:CompletionSuggest": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.search._types:SuggestBase" - }, - { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/components/schemas/_global.search._types:CompletionSuggestOption" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:CompletionSuggestOption" - } - } - ] - } - }, - "required": [ - "options" - ] - } - ] - }, - "_global.search._types:CompletionSuggestOption": { - "type": "object", - "properties": { - "collate_match": { - "type": "boolean" - }, - "contexts": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:Context" - } - } - }, - "fields": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "_id": { - "type": "string" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "_routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "_score": { - "type": "number" - }, - "_source": { - "type": "object" - }, - "text": { - "type": "string" - }, - "score": { - "type": "number" - } - }, - "required": [ - "text" - ] - }, - "_global.search._types:Context": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-mlt-query.html#_document_input_parameters" - }, - "description": "Text or location that we want similar documents for or a lookup to a document's field for the text.", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/_types:GeoLocation" - } - ] - }, - "_types:Routing": { - "type": "string" - }, - "_global.search._types:SuggestBase": { - "type": "object", - "properties": { - "length": { - "type": "number" - }, - "offset": { - "type": "number" - }, - "text": { - "type": "string" - } - }, - "required": [ - "length", - "offset", - "text" - ] - }, - "_global.search._types:PhraseSuggest": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.search._types:SuggestBase" - }, - { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/components/schemas/_global.search._types:PhraseSuggestOption" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:PhraseSuggestOption" - } - } - ] - } - }, - "required": [ - "options" - ] - } - ] - }, - "_global.search._types:PhraseSuggestOption": { - "type": "object", - "properties": { - "text": { - "type": "string" - }, - "score": { - "type": "number" - }, - "highlighted": { - "type": "string" - }, - "collate_match": { - "type": "boolean" - } - }, - "required": [ - "text", - "score" - ] - }, - "_global.search._types:TermSuggest": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.search._types:SuggestBase" - }, - { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/components/schemas/_global.search._types:TermSuggestOption" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:TermSuggestOption" - } - } - ] - } - }, - "required": [ - "options" - ] - } - ] - }, - "_global.search._types:TermSuggestOption": { - "type": "object", - "properties": { - "text": { - "type": "string" - }, - "score": { - "type": "number" - }, - "freq": { - "type": "number" - }, - "highlighted": { - "type": "string" - }, - "collate_match": { - "type": "boolean" - } - }, - "required": [ - "text", - "score", - "freq" - ] - }, - "async_search._types:AsyncSearchResponseBase": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "is_partial": { - "description": "When the query is no longer running, this property indicates whether the search failed or was successfully completed on all shards.\nWhile the query is running, `is_partial` is always set to `true`.", - "type": "boolean" - }, - "is_running": { - "description": "Indicates whether the search is still running or has completed.\nNOTE: If the search failed after some shards returned their results or the node that is coordinating the async search dies, results may be partial even though `is_running` is `false`.", - "type": "boolean" - }, - "expiration_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "expiration_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "start_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "start_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "completion_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "completion_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - } - }, - "required": [ - "is_partial", - "is_running", - "expiration_time_in_millis", - "start_time_in_millis" - ] - }, - "_types:DateTime": { - "description": "A date and time, either as a string whose format can depend on the context (defaulting to ISO 8601), or a\nnumber of milliseconds since the Epoch. Elasticsearch accepts both as input, but will generally output a string\nrepresentation.", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - } - ] - }, - "async_search.status:StatusResponseBase": { - "allOf": [ - { - "$ref": "#/components/schemas/async_search._types:AsyncSearchResponseBase" - }, - { - "type": "object", - "properties": { - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "_clusters": { - "$ref": "#/components/schemas/_types:ClusterStatistics" - }, - "completion_status": { - "description": "If the async search completed, this field shows the status code of the search.\nFor example, 200 indicates that the async search was successfully completed.\n503 indicates that the async search was completed with an error.", - "type": "number" - } - }, - "required": [ - "_shards" - ] - } - ] - }, - "_types:Indices": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:IndexName" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:IndexName" - } - } - ] - }, - "_types.query_dsl:Operator": { - "type": "string", - "enum": [ - "and", - "or" - ] - }, - "_types:Fields": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Field" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Field" - } - } - ] - }, - "_types:ExpandWildcards": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:ExpandWildcard" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ExpandWildcard" - } - } - ] - }, - "_types:ExpandWildcard": { - "type": "string", - "enum": [ - "all", - "open", - "closed", - "hidden", - "none" - ] - }, - "_types:VersionString": { - "type": "string" - }, - "_types:SearchType": { - "type": "string", - "enum": [ - "query_then_fetch", - "dfs_query_then_fetch" - ] - }, - "_types:SuggestMode": { - "type": "string", - "enum": [ - "missing", - "popular", - "always" - ] - }, - "_global.search._types:TrackHits": { - "description": "Number of hits matching the query to count accurately. If true, the exact\nnumber of hits is returned at the cost of some performance. If false, the\nresponse does not include the total number of hits matching the query.\nDefaults to 10,000 hits.", - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ] - }, - "_global.search._types:SourceConfigParam": { - "description": "Defines how to fetch a source. Fetching can be disabled entirely, or the source can be filtered.\nUsed as a query parameter along with the `_source_includes` and `_source_excludes` parameters.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/_types:Fields" - } - ] - }, - "_types.aggregations:AggregationContainer": { - "allOf": [ - { - "type": "object", - "properties": { - "aggregations": { - "description": "Sub-aggregations for this aggregation.\nOnly applies to bucket aggregations.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "meta": { - "$ref": "#/components/schemas/_types:Metadata" - } - } - }, - { - "type": "object", - "properties": { - "adjacency_matrix": { - "$ref": "#/components/schemas/_types.aggregations:AdjacencyMatrixAggregation" - }, - "auto_date_histogram": { - "$ref": "#/components/schemas/_types.aggregations:AutoDateHistogramAggregation" - }, - "avg": { - "$ref": "#/components/schemas/_types.aggregations:AverageAggregation" - }, - "avg_bucket": { - "$ref": "#/components/schemas/_types.aggregations:AverageBucketAggregation" - }, - "boxplot": { - "$ref": "#/components/schemas/_types.aggregations:BoxplotAggregation" - }, - "bucket_script": { - "$ref": "#/components/schemas/_types.aggregations:BucketScriptAggregation" - }, - "bucket_selector": { - "$ref": "#/components/schemas/_types.aggregations:BucketSelectorAggregation" - }, - "bucket_sort": { - "$ref": "#/components/schemas/_types.aggregations:BucketSortAggregation" - }, - "bucket_count_ks_test": { - "$ref": "#/components/schemas/_types.aggregations:BucketKsAggregation" - }, - "bucket_correlation": { - "$ref": "#/components/schemas/_types.aggregations:BucketCorrelationAggregation" - }, - "cardinality": { - "$ref": "#/components/schemas/_types.aggregations:CardinalityAggregation" - }, - "categorize_text": { - "$ref": "#/components/schemas/_types.aggregations:CategorizeTextAggregation" - }, - "children": { - "$ref": "#/components/schemas/_types.aggregations:ChildrenAggregation" - }, - "composite": { - "$ref": "#/components/schemas/_types.aggregations:CompositeAggregation" - }, - "cumulative_cardinality": { - "$ref": "#/components/schemas/_types.aggregations:CumulativeCardinalityAggregation" - }, - "cumulative_sum": { - "$ref": "#/components/schemas/_types.aggregations:CumulativeSumAggregation" - }, - "date_histogram": { - "$ref": "#/components/schemas/_types.aggregations:DateHistogramAggregation" - }, - "date_range": { - "$ref": "#/components/schemas/_types.aggregations:DateRangeAggregation" - }, - "derivative": { - "$ref": "#/components/schemas/_types.aggregations:DerivativeAggregation" - }, - "diversified_sampler": { - "$ref": "#/components/schemas/_types.aggregations:DiversifiedSamplerAggregation" - }, - "extended_stats": { - "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsAggregation" - }, - "extended_stats_bucket": { - "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsBucketAggregation" - }, - "frequent_item_sets": { - "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsAggregation" - }, - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "filters": { - "$ref": "#/components/schemas/_types.aggregations:FiltersAggregation" - }, - "geo_bounds": { - "$ref": "#/components/schemas/_types.aggregations:GeoBoundsAggregation" - }, - "geo_centroid": { - "$ref": "#/components/schemas/_types.aggregations:GeoCentroidAggregation" - }, - "geo_distance": { - "$ref": "#/components/schemas/_types.aggregations:GeoDistanceAggregation" - }, - "geohash_grid": { - "$ref": "#/components/schemas/_types.aggregations:GeoHashGridAggregation" - }, - "geo_line": { - "$ref": "#/components/schemas/_types.aggregations:GeoLineAggregation" - }, - "geotile_grid": { - "$ref": "#/components/schemas/_types.aggregations:GeoTileGridAggregation" - }, - "geohex_grid": { - "$ref": "#/components/schemas/_types.aggregations:GeohexGridAggregation" - }, - "global": { - "$ref": "#/components/schemas/_types.aggregations:GlobalAggregation" - }, - "histogram": { - "$ref": "#/components/schemas/_types.aggregations:HistogramAggregation" - }, - "ip_range": { - "$ref": "#/components/schemas/_types.aggregations:IpRangeAggregation" - }, - "ip_prefix": { - "$ref": "#/components/schemas/_types.aggregations:IpPrefixAggregation" - }, - "inference": { - "$ref": "#/components/schemas/_types.aggregations:InferenceAggregation" - }, - "line": { - "$ref": "#/components/schemas/_types.aggregations:GeoLineAggregation" - }, - "matrix_stats": { - "$ref": "#/components/schemas/_types.aggregations:MatrixStatsAggregation" - }, - "max": { - "$ref": "#/components/schemas/_types.aggregations:MaxAggregation" - }, - "max_bucket": { - "$ref": "#/components/schemas/_types.aggregations:MaxBucketAggregation" - }, - "median_absolute_deviation": { - "$ref": "#/components/schemas/_types.aggregations:MedianAbsoluteDeviationAggregation" - }, - "min": { - "$ref": "#/components/schemas/_types.aggregations:MinAggregation" - }, - "min_bucket": { - "$ref": "#/components/schemas/_types.aggregations:MinBucketAggregation" - }, - "missing": { - "$ref": "#/components/schemas/_types.aggregations:MissingAggregation" - }, - "moving_avg": { - "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregation" - }, - "moving_percentiles": { - "$ref": "#/components/schemas/_types.aggregations:MovingPercentilesAggregation" - }, - "moving_fn": { - "$ref": "#/components/schemas/_types.aggregations:MovingFunctionAggregation" - }, - "multi_terms": { - "$ref": "#/components/schemas/_types.aggregations:MultiTermsAggregation" - }, - "nested": { - "$ref": "#/components/schemas/_types.aggregations:NestedAggregation" - }, - "normalize": { - "$ref": "#/components/schemas/_types.aggregations:NormalizeAggregation" - }, - "parent": { - "$ref": "#/components/schemas/_types.aggregations:ParentAggregation" - }, - "percentile_ranks": { - "$ref": "#/components/schemas/_types.aggregations:PercentileRanksAggregation" - }, - "percentiles": { - "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregation" - }, - "percentiles_bucket": { - "$ref": "#/components/schemas/_types.aggregations:PercentilesBucketAggregation" - }, - "range": { - "$ref": "#/components/schemas/_types.aggregations:RangeAggregation" - }, - "rare_terms": { - "$ref": "#/components/schemas/_types.aggregations:RareTermsAggregation" - }, - "rate": { - "$ref": "#/components/schemas/_types.aggregations:RateAggregation" - }, - "reverse_nested": { - "$ref": "#/components/schemas/_types.aggregations:ReverseNestedAggregation" - }, - "sampler": { - "$ref": "#/components/schemas/_types.aggregations:SamplerAggregation" - }, - "scripted_metric": { - "$ref": "#/components/schemas/_types.aggregations:ScriptedMetricAggregation" - }, - "serial_diff": { - "$ref": "#/components/schemas/_types.aggregations:SerialDifferencingAggregation" - }, - "significant_terms": { - "$ref": "#/components/schemas/_types.aggregations:SignificantTermsAggregation" - }, - "significant_text": { - "$ref": "#/components/schemas/_types.aggregations:SignificantTextAggregation" - }, - "stats": { - "$ref": "#/components/schemas/_types.aggregations:StatsAggregation" - }, - "stats_bucket": { - "$ref": "#/components/schemas/_types.aggregations:StatsBucketAggregation" - }, - "string_stats": { - "$ref": "#/components/schemas/_types.aggregations:StringStatsAggregation" - }, - "sum": { - "$ref": "#/components/schemas/_types.aggregations:SumAggregation" - }, - "sum_bucket": { - "$ref": "#/components/schemas/_types.aggregations:SumBucketAggregation" - }, - "terms": { - "$ref": "#/components/schemas/_types.aggregations:TermsAggregation" - }, - "top_hits": { - "$ref": "#/components/schemas/_types.aggregations:TopHitsAggregation" - }, - "t_test": { - "$ref": "#/components/schemas/_types.aggregations:TTestAggregation" - }, - "top_metrics": { - "$ref": "#/components/schemas/_types.aggregations:TopMetricsAggregation" - }, - "value_count": { - "$ref": "#/components/schemas/_types.aggregations:ValueCountAggregation" - }, - "weighted_avg": { - "$ref": "#/components/schemas/_types.aggregations:WeightedAverageAggregation" - }, - "variable_width_histogram": { - "$ref": "#/components/schemas/_types.aggregations:VariableWidthHistogramAggregation" - } - }, - "minProperties": 1, - "maxProperties": 1 - } - ] - }, - "_types.aggregations:AdjacencyMatrixAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "filters": { - "description": "Filters used to create buckets.\nAt least one filter is required.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - } - } - } - ] - }, - "_types.query_dsl:QueryContainer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html" - }, - "type": "object", - "properties": { - "bool": { - "$ref": "#/components/schemas/_types.query_dsl:BoolQuery" - }, - "boosting": { - "$ref": "#/components/schemas/_types.query_dsl:BoostingQuery" - }, - "common": { - "deprecated": true, - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:CommonTermsQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "combined_fields": { - "$ref": "#/components/schemas/_types.query_dsl:CombinedFieldsQuery" - }, - "constant_score": { - "$ref": "#/components/schemas/_types.query_dsl:ConstantScoreQuery" - }, - "dis_max": { - "$ref": "#/components/schemas/_types.query_dsl:DisMaxQuery" - }, - "distance_feature": { - "$ref": "#/components/schemas/_types.query_dsl:DistanceFeatureQuery" - }, - "exists": { - "$ref": "#/components/schemas/_types.query_dsl:ExistsQuery" - }, - "function_score": { - "$ref": "#/components/schemas/_types.query_dsl:FunctionScoreQuery" - }, - "fuzzy": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-fuzzy-query.html" - }, - "description": "Returns documents that contain terms similar to the search term, as measured by a Levenshtein edit distance.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:FuzzyQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "geo_bounding_box": { - "$ref": "#/components/schemas/_types.query_dsl:GeoBoundingBoxQuery" - }, - "geo_distance": { - "$ref": "#/components/schemas/_types.query_dsl:GeoDistanceQuery" - }, - "geo_polygon": { - "$ref": "#/components/schemas/_types.query_dsl:GeoPolygonQuery" - }, - "geo_shape": { - "$ref": "#/components/schemas/_types.query_dsl:GeoShapeQuery" - }, - "has_child": { - "$ref": "#/components/schemas/_types.query_dsl:HasChildQuery" - }, - "has_parent": { - "$ref": "#/components/schemas/_types.query_dsl:HasParentQuery" - }, - "ids": { - "$ref": "#/components/schemas/_types.query_dsl:IdsQuery" - }, - "intervals": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-intervals-query.html" - }, - "description": "Returns documents based on the order and proximity of matching terms.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "match": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query.html" - }, - "description": "Returns documents that match a provided text, number, date or boolean value.\nThe provided text is analyzed before matching.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:MatchQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "match_all": { - "$ref": "#/components/schemas/_types.query_dsl:MatchAllQuery" - }, - "match_bool_prefix": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-bool-prefix-query.html" - }, - "description": "Analyzes its input and constructs a `bool` query from the terms.\nEach term except the last is used in a `term` query.\nThe last term is used in a prefix query.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:MatchBoolPrefixQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "match_none": { - "$ref": "#/components/schemas/_types.query_dsl:MatchNoneQuery" - }, - "match_phrase": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query-phrase.html" - }, - "description": "Analyzes the text and creates a phrase query out of the analyzed text.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:MatchPhraseQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "match_phrase_prefix": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query-phrase-prefix.html" - }, - "description": "Returns documents that contain the words of a provided text, in the same order as provided.\nThe last term of the provided text is treated as a prefix, matching any words that begin with that term.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:MatchPhrasePrefixQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "more_like_this": { - "$ref": "#/components/schemas/_types.query_dsl:MoreLikeThisQuery" - }, - "multi_match": { - "$ref": "#/components/schemas/_types.query_dsl:MultiMatchQuery" - }, - "nested": { - "$ref": "#/components/schemas/_types.query_dsl:NestedQuery" - }, - "parent_id": { - "$ref": "#/components/schemas/_types.query_dsl:ParentIdQuery" - }, - "percolate": { - "$ref": "#/components/schemas/_types.query_dsl:PercolateQuery" - }, - "pinned": { - "$ref": "#/components/schemas/_types.query_dsl:PinnedQuery" - }, - "prefix": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-prefix-query.html" - }, - "description": "Returns documents that contain a specific prefix in a provided field.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:PrefixQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "query_string": { - "$ref": "#/components/schemas/_types.query_dsl:QueryStringQuery" - }, - "range": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html" - }, - "description": "Returns documents that contain terms within a provided range.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:RangeQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "rank_feature": { - "$ref": "#/components/schemas/_types.query_dsl:RankFeatureQuery" - }, - "regexp": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-regexp-query.html" - }, - "description": "Returns documents that contain terms matching a regular expression.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:RegexpQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "rule_query": { - "$ref": "#/components/schemas/_types.query_dsl:RuleQuery" - }, - "script": { - "$ref": "#/components/schemas/_types.query_dsl:ScriptQuery" - }, - "script_score": { - "$ref": "#/components/schemas/_types.query_dsl:ScriptScoreQuery" - }, - "shape": { - "$ref": "#/components/schemas/_types.query_dsl:ShapeQuery" - }, - "simple_query_string": { - "$ref": "#/components/schemas/_types.query_dsl:SimpleQueryStringQuery" - }, - "span_containing": { - "$ref": "#/components/schemas/_types.query_dsl:SpanContainingQuery" - }, - "field_masking_span": { - "$ref": "#/components/schemas/_types.query_dsl:SpanFieldMaskingQuery" - }, - "span_first": { - "$ref": "#/components/schemas/_types.query_dsl:SpanFirstQuery" - }, - "span_multi": { - "$ref": "#/components/schemas/_types.query_dsl:SpanMultiTermQuery" - }, - "span_near": { - "$ref": "#/components/schemas/_types.query_dsl:SpanNearQuery" - }, - "span_not": { - "$ref": "#/components/schemas/_types.query_dsl:SpanNotQuery" - }, - "span_or": { - "$ref": "#/components/schemas/_types.query_dsl:SpanOrQuery" - }, - "span_term": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-span-term-query.html" - }, - "description": "Matches spans containing a term.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:SpanTermQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "span_within": { - "$ref": "#/components/schemas/_types.query_dsl:SpanWithinQuery" - }, - "term": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-term-query.html" - }, - "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": "#/components/schemas/_types.query_dsl:TermQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "terms": { - "$ref": "#/components/schemas/_types.query_dsl:TermsQuery" - }, - "terms_set": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-set-query.html" - }, - "description": "Returns documents that contain a minimum number of exact terms in a provided field.\nTo return a document, a required number of terms must exactly match the field values, including whitespace and capitalization.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:TermsSetQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "text_expansion": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-text-expansion-query.html" - }, - "description": "Uses a natural language processing model to convert the query text into a list of token-weight pairs which are then used in a query against a rank features field.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:TextExpansionQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "wildcard": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-wildcard-query.html" - }, - "description": "Returns documents that contain terms matching a wildcard pattern.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:WildcardQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "wrapper": { - "$ref": "#/components/schemas/_types.query_dsl:WrapperQuery" - }, - "type": { - "$ref": "#/components/schemas/_types.query_dsl:TypeQuery" - } + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" }, - "minProperties": 1, - "maxProperties": 1 + "style": "form" }, - "_types.query_dsl:BoolQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "filter": { - "description": "The clause (query) must appear in matching documents.\nHowever, unlike `must`, the score of the query will be ignored.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - } - ] - }, - "minimum_should_match": { - "$ref": "#/components/schemas/_types:MinimumShouldMatch" - }, - "must": { - "description": "The clause (query) must appear in matching documents and will contribute to the score.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - } - ] - }, - "must_not": { - "description": "The clause (query) must not appear in the matching documents.\nBecause scoring is ignored, a score of `0` is returned for all documents.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - } - ] - }, - "should": { - "description": "The clause (query) should appear in the matching document.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - } - ] - } - } - } - ] + "search#explain": { + "in": "query", + "name": "explain", + "description": "If `true`, returns detailed information about score computation as part of a hit.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "_types:MinimumShouldMatch": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-minimum-should-match.html" + "search#ignore_throttled": { + "in": "query", + "name": "ignore_throttled", + "description": "If `true`, concrete, expanded or aliased indices will be ignored when frozen.", + "deprecated": false, + "schema": { + "type": "boolean" }, - "description": "The minimum number of terms that should match as integer, percentage or range", - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] + "style": "form" }, - "_types.query_dsl:QueryBase": { - "type": "object", - "properties": { - "boost": { - "description": "Floating point number used to decrease or increase the relevance scores of the query.\nBoost values are relative to the default value of 1.0.\nA boost value between 0 and 1.0 decreases the relevance score.\nA value greater than 1.0 increases the relevance score.", - "type": "number" - }, - "_name": { - "type": "string" - } - } + "search#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "_types.query_dsl:BoostingQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "negative_boost": { - "description": "Floating point number between 0 and 1.0 used to decrease the relevance scores of documents matching the `negative` query.", - "type": "number" - }, - "negative": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "positive": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - }, - "required": [ - "negative_boost", - "negative", - "positive" - ] - } - ] + "search#lenient": { + "in": "query", + "name": "lenient", + "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.\nThis parameter can only be used when the `q` query string parameter is specified.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "_types.query_dsl:CommonTermsQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "analyzer": { - "type": "string" - }, - "cutoff_frequency": { - "type": "number" - }, - "high_freq_operator": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "low_freq_operator": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "minimum_should_match": { - "$ref": "#/components/schemas/_types:MinimumShouldMatch" - }, - "query": { - "type": "string" - } - }, - "required": [ - "query" - ] - } - ] + "search#max_concurrent_shard_requests": { + "in": "query", + "name": "max_concurrent_shard_requests", + "description": "Defines the number of concurrent shard requests per node this search executes concurrently.\nThis value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" }, - "_types.query_dsl:CombinedFieldsQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "fields": { - "description": "List of fields to search. Field wildcard patterns are allowed. Only `text` fields are supported, and they must all have the same search `analyzer`.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "query": { - "description": "Text to search for in the provided `fields`.\nThe `combined_fields` query analyzes the provided text before performing a search.", - "type": "string" - }, - "auto_generate_synonyms_phrase_query": { - "description": "If true, match phrase queries are automatically created for multi-term synonyms.", - "type": "boolean" - }, - "operator": { - "$ref": "#/components/schemas/_types.query_dsl:CombinedFieldsOperator" - }, - "minimum_should_match": { - "$ref": "#/components/schemas/_types:MinimumShouldMatch" - }, - "zero_terms_query": { - "$ref": "#/components/schemas/_types.query_dsl:CombinedFieldsZeroTerms" - } - }, - "required": [ - "fields", - "query" - ] - } - ] + "search#min_compatible_shard_node": { + "in": "query", + "name": "min_compatible_shard_node", + "description": "The minimum version of the node that can handle the request\nAny handling node with a lower version will fail the request.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "style": "form" }, - "_types.query_dsl:CombinedFieldsOperator": { - "type": "string", - "enum": [ - "or", - "and" - ] + "search#preference": { + "in": "query", + "name": "preference", + "description": "Nodes and shards used for the search.\nBy default, Elasticsearch selects from eligible nodes and shards using adaptive replica selection, accounting for allocation awareness. Valid values are:\n`_only_local` to run the search only on shards on the local node;\n`_local` to, if possible, run the search on shards on the local node, or if not, select shards using the default method;\n`_only_nodes:,` to run the search on only the specified nodes IDs, where, if suitable shards exist on more than one selected node, use shards on those nodes using the default method, or if none of the specified nodes are available, select shards from any available node using the default method;\n`_prefer_nodes:,` to if possible, run the search on the specified nodes IDs, or if not, select shards using the default method;\n`_shards:,` to run the search only on the specified shards;\n`` (any string that does not start with `_`) to route searches with the same `` to the same shards in the same order.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" }, - "_types.query_dsl:CombinedFieldsZeroTerms": { - "type": "string", - "enum": [ - "none", - "all" - ] + "search#pre_filter_shard_size": { + "in": "query", + "name": "pre_filter_shard_size", + "description": "Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold.\nThis filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method (if date filters are mandatory to match but the shard bounds and the query are disjoint).\nWhen unspecified, the pre-filter phase is executed if any of these conditions is met:\nthe request targets more than 128 shards;\nthe request targets one or more read-only index;\nthe primary sort of the query targets an indexed field.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" }, - "_types.query_dsl:ConstantScoreQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - }, - "required": [ - "filter" - ] - } - ] + "search#request_cache": { + "in": "query", + "name": "request_cache", + "description": "If `true`, the caching of search results is enabled for requests where `size` is `0`.\nDefaults to index level settings.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "_types.query_dsl:DisMaxQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "queries": { - "description": "One or more query clauses.\nReturned documents must match one or more of these queries.\nIf a document matches multiple queries, Elasticsearch uses the highest relevance score.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - }, - "tie_breaker": { - "description": "Floating point number between 0 and 1.0 used to increase the relevance scores of documents matching multiple query clauses.", - "type": "number" - } - }, - "required": [ - "queries" - ] - } - ] + "search#routing": { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" }, - "_types.query_dsl:DistanceFeatureQuery": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:GeoDistanceFeatureQuery" - }, - { - "$ref": "#/components/schemas/_types.query_dsl:DateDistanceFeatureQuery" - } - ] + "search#scroll": { + "in": "query", + "name": "scroll", + "description": "Period to retain the search context for scrolling. See Scroll search results.\nBy default, this value cannot exceed `1d` (24 hours).\nYou can change this limit using the `search.max_keep_alive` cluster-level setting.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" }, - "_types.query_dsl:GeoDistanceFeatureQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:DistanceFeatureQueryBaseGeoLocationDistance" - }, - { - "type": "object" - } - ] + "search#search_type": { + "in": "query", + "name": "search_type", + "description": "How distributed term frequencies are calculated for relevance scoring.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "style": "form" }, - "_types.query_dsl:DistanceFeatureQueryBaseGeoLocationDistance": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "origin": { - "$ref": "#/components/schemas/_types:GeoLocation" - }, - "pivot": { - "$ref": "#/components/schemas/_types:Distance" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "origin", - "pivot", - "field" - ] + "search#stats": { + "in": "query", + "name": "stats", + "description": "Specific `tag` of the request for logging and statistical purposes.", + "deprecated": false, + "schema": { + "type": "array", + "items": { + "type": "string" } - ] + }, + "style": "form" }, - "_types:Distance": { - "type": "string" + "search#stored_fields": { + "in": "query", + "name": "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` parameter defaults to `false`.\nYou can pass `_source: true` to return both source fields and stored fields in the search response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" }, - "_types.query_dsl:DateDistanceFeatureQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:DistanceFeatureQueryBaseDateMathDuration" - }, - { - "type": "object" - } - ] + "search#suggest_field": { + "in": "query", + "name": "suggest_field", + "description": "Specifies which field to use for suggestions.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Field" + }, + "style": "form" }, - "_types.query_dsl:DistanceFeatureQueryBaseDateMathDuration": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "origin": { - "$ref": "#/components/schemas/_types:DateMath" - }, - "pivot": { - "$ref": "#/components/schemas/_types:Duration" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "origin", - "pivot", - "field" - ] - } - ] + "search#suggest_mode": { + "in": "query", + "name": "suggest_mode", + "description": "Specifies the suggest mode.\nThis parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SuggestMode" + }, + "style": "form" }, - "_types:DateMath": { - "type": "string" + "search#suggest_size": { + "in": "query", + "name": "suggest_size", + "description": "Number of suggestions to return.\nThis parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "search#suggest_text": { + "in": "query", + "name": "suggest_text", + "description": "The source text for which the suggestions should be returned.\nThis parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "search#terminate_after": { + "in": "query", + "name": "terminate_after", + "description": "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.\nUse with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.\nIf set to `0` (default), the query does not terminate early.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "search#timeout": { + "in": "query", + "name": "timeout", + "description": "Specifies 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.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" }, - "_types.query_dsl:ExistsQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field" - ] - } - ] + "search#track_total_hits": { + "in": "query", + "name": "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.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:TrackHits" + }, + "style": "form" }, - "_types.query_dsl:FunctionScoreQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "boost_mode": { - "$ref": "#/components/schemas/_types.query_dsl:FunctionBoostMode" - }, - "functions": { - "description": "One or more functions that compute a new score for each document returned by the query.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:FunctionScoreContainer" - } - }, - "max_boost": { - "description": "Restricts the new score to not exceed the provided limit.", - "type": "number" - }, - "min_score": { - "description": "Excludes documents that do not meet the provided score threshold.", - "type": "number" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "score_mode": { - "$ref": "#/components/schemas/_types.query_dsl:FunctionScoreMode" - } - } - } - ] + "search#track_scores": { + "in": "query", + "name": "track_scores", + "description": "If `true`, calculate and return document scores, even if the scores are not used for sorting.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "_types.query_dsl:FunctionBoostMode": { - "type": "string", - "enum": [ - "multiply", - "replace", - "sum", - "avg", - "max", - "min" - ] + "search#typed_keys": { + "in": "query", + "name": "typed_keys", + "description": "If `true`, aggregation and suggester names are be prefixed by their respective types in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "_types.query_dsl:FunctionScoreContainer": { - "allOf": [ - { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "weight": { - "type": "number" - } - } - }, - { - "type": "object", - "properties": { - "exp": { - "$ref": "#/components/schemas/_types.query_dsl:DecayFunction" - }, - "gauss": { - "$ref": "#/components/schemas/_types.query_dsl:DecayFunction" - }, - "linear": { - "$ref": "#/components/schemas/_types.query_dsl:DecayFunction" - }, - "field_value_factor": { - "$ref": "#/components/schemas/_types.query_dsl:FieldValueFactorScoreFunction" - }, - "random_score": { - "$ref": "#/components/schemas/_types.query_dsl:RandomScoreFunction" - }, - "script_score": { - "$ref": "#/components/schemas/_types.query_dsl:ScriptScoreFunction" - } - }, - "minProperties": 1, - "maxProperties": 1 - } - ] + "search#rest_total_hits_as_int": { + "in": "query", + "name": "rest_total_hits_as_int", + "description": "Indicates whether `hits.total` should be rendered as an integer or an object in the rest search response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "_types.query_dsl:DecayFunction": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:DateDecayFunction" - }, - { - "$ref": "#/components/schemas/_types.query_dsl:NumericDecayFunction" - }, - { - "$ref": "#/components/schemas/_types.query_dsl:GeoDecayFunction" - } - ] + "search#version": { + "in": "query", + "name": "version", + "description": "If `true`, returns document version as part of a hit.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "_types.query_dsl:DateDecayFunction": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:DecayFunctionBase" - }, - { - "type": "object" - } - ] + "search#_source": { + "in": "query", + "name": "_source", + "description": "Indicates which source fields are returned for matching documents.\nThese fields are returned in the `hits._source` property of the search response.\nValid values are:\n`true` to return the entire document source;\n`false` to not return the document source;\n`` to return the source fields that are specified as a comma-separated list (supports wildcard (`*`) patterns).", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" }, - "_types.query_dsl:DecayFunctionBase": { - "type": "object", - "properties": { - "multi_value_mode": { - "$ref": "#/components/schemas/_types.query_dsl:MultiValueMode" - } - } + "search#_source_excludes": { + "in": "query", + "name": "_source_excludes", + "description": "A comma-separated list of source fields to exclude from the response.\nYou can also use this parameter to exclude fields from the subset specified in `_source_includes` query parameter.\nIf the `_source` parameter is `false`, this parameter is ignored.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" }, - "_types.query_dsl:MultiValueMode": { - "type": "string", - "enum": [ - "min", - "max", - "avg", - "sum" - ] + "search#_source_includes": { + "in": "query", + "name": "_source_includes", + "description": "A comma-separated list of source fields to include in the response.\nIf this parameter is specified, only these source fields are returned.\nYou can exclude fields from this subset using the `_source_excludes` query parameter.\nIf the `_source` parameter is `false`, this parameter is ignored.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" }, - "_types.query_dsl:NumericDecayFunction": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:DecayFunctionBase" - }, - { - "type": "object" - } - ] + "search#seq_no_primary_term": { + "in": "query", + "name": "seq_no_primary_term", + "description": "If `true`, returns sequence number and primary term of the last modification of each hit.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "_types.query_dsl:GeoDecayFunction": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:DecayFunctionBase" - }, - { - "type": "object" - } - ] + "search#q": { + "in": "query", + "name": "q", + "description": "Query in the Lucene query string syntax using query parameter search.\nQuery parameter searches do not support the full Elasticsearch Query DSL but are handy for testing.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" }, - "_types.query_dsl:FieldValueFactorScoreFunction": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "factor": { - "description": "Optional factor to multiply the field value with.", - "type": "number" - }, - "missing": { - "description": "Value used if the document doesn’t have that field.\nThe modifier and factor are still applied to it as though it were read from the document.", - "type": "number" - }, - "modifier": { - "$ref": "#/components/schemas/_types.query_dsl:FieldValueFactorModifier" - } + "search#size": { + "in": "query", + "name": "size", + "description": "Defines the number of hits to return.\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.", + "deprecated": false, + "schema": { + "type": "number" }, - "required": [ - "field" - ] + "style": "form" }, - "_types.query_dsl:FieldValueFactorModifier": { - "type": "string", - "enum": [ - "none", - "log", - "log1p", - "log2p", - "ln", - "ln1p", - "ln2p", - "square", - "sqrt", - "reciprocal" - ] + "search#from": { + "in": "query", + "name": "from", + "description": "Starting document offset.\nNeeds to 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.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" }, - "_types.query_dsl:RandomScoreFunction": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "seed": { - "oneOf": [ - { - "type": "number" - }, - { + "search#sort": { + "in": "query", + "name": "sort", + "description": "A comma-separated list of : pairs.", + "deprecated": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { "type": "string" } - ] - } - } + } + ] + }, + "style": "form" }, - "_types.query_dsl:ScriptScoreFunction": { - "type": "object", - "properties": { - "script": { - "$ref": "#/components/schemas/_types:Script" + "search_application.get_behavioral_analytics#name": { + "in": "path", + "name": "name", + "description": "A list of analytics collections to limit the returned information", + "required": true, + "deprecated": false, + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Name" } }, - "required": [ - "script" - ] + "style": "simple" }, - "_types:Script": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:InlineScript" - }, - { - "$ref": "#/components/schemas/_types:StoredScriptId" - } - ] + "search_application.search#name": { + "in": "path", + "name": "name", + "description": "The name of the search application to be searched.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" }, - "_types:InlineScript": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:ScriptBase" - }, - { - "type": "object", - "properties": { - "lang": { - "$ref": "#/components/schemas/_types:ScriptLanguage" - }, - "options": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "source": { - "description": "The script source.", - "type": "string" - } - }, - "required": [ - "source" - ] - } - ] + "search_mvt#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, or aliases to search", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" }, - "_types:ScriptLanguage": { - "type": "string", - "enum": [ - "painless", - "expression", - "mustache", - "java" - ] + "search_mvt#field": { + "in": "path", + "name": "field", + "description": "Field containing geospatial data to return", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Field" + }, + "style": "simple" }, - "_types:ScriptBase": { - "type": "object", - "properties": { - "params": { - "description": "Specifies any named parameters that are passed into the script as variables.\nUse parameters instead of hard-coded values to decrease compile time.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } + "search_mvt#zoom": { + "in": "path", + "name": "zoom", + "description": "Zoom level for the vector tile to search", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search_mvt._types:ZoomLevel" + }, + "style": "simple" }, - "_types:StoredScriptId": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:ScriptBase" - }, - { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - } - }, - "required": [ - "id" - ] - } - ] + "search_mvt#x": { + "in": "path", + "name": "x", + "description": "X coordinate for the vector tile to search", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search_mvt._types:Coordinate" + }, + "style": "simple" }, - "_types.query_dsl:FunctionScoreMode": { - "type": "string", - "enum": [ - "multiply", - "sum", - "avg", - "first", - "max", - "min" - ] + "search_mvt#y": { + "in": "path", + "name": "y", + "description": "Y coordinate for the vector tile to search", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search_mvt._types:Coordinate" + }, + "style": "simple" + }, + "search_mvt#exact_bounds": { + "in": "query", + "name": "exact_bounds", + "description": "If false, the meta layer’s feature is the bounding box of the tile.\nIf true, the meta layer’s feature is a bounding box resulting from a\ngeo_bounds aggregation. The aggregation runs on values that intersect\nthe // tile with wrap_longitude set to false. The resulting\nbounding box may be larger than the vector tile.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "search_mvt#extent": { + "in": "query", + "name": "extent", + "description": "Size, in pixels, of a side of the tile. Vector tiles are square with equal sides.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + "search_mvt#grid_agg": { + "in": "query", + "name": "grid_agg", + "description": "Aggregation used to create a grid for `field`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search_mvt._types:GridAggregationType" + }, + "style": "form" }, - "_types.query_dsl:FuzzyQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "max_expansions": { - "description": "Maximum number of variations created.", - "type": "number" - }, - "prefix_length": { - "description": "Number of beginning characters left unchanged when creating expansions.", - "type": "number" - }, - "rewrite": { - "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" - }, - "transpositions": { - "description": "Indicates whether edits include transpositions of two adjacent characters (for example `ab` to `ba`).", - "type": "boolean" - }, - "fuzziness": { - "$ref": "#/components/schemas/_types:Fuzziness" - }, - "value": { - "description": "Term you wish to find in the provided field.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - } - ] + "search_mvt#grid_precision": { + "in": "query", + "name": "grid_precision", + "description": "Additional zoom levels available through the aggs layer. For example, if is 7\nand grid_precision is 8, you can zoom in up to level 15. Accepts 0-8. If 0, results\ndon’t include the aggs layer.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" }, - "_types:MultiTermQueryRewrite": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-term-rewrite.html" + "search_mvt#grid_type": { + "in": "query", + "name": "grid_type", + "description": "Determines the geometry type for features in the aggs layer. In the aggs layer,\neach feature represents a geotile_grid cell. If 'grid' each feature is a Polygon\nof the cells bounding box. If 'point' each feature is a Point that is the centroid\nof the cell.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search_mvt._types:GridType" }, - "type": "string" + "style": "form" }, - "_types:Fuzziness": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#fuzziness" + "search_mvt#size": { + "in": "query", + "name": "size", + "description": "Maximum number of features to return in the hits layer. Accepts 0-10000.\nIf 0, results don’t include the hits layer.", + "deprecated": false, + "schema": { + "type": "number" }, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] + "style": "form" }, - "_types.query_dsl:GeoBoundingBoxQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/_types.query_dsl:GeoExecution" - }, - "validation_method": { - "$ref": "#/components/schemas/_types.query_dsl:GeoValidationMethod" - }, - "ignore_unmapped": { - "description": "Set to `true` to ignore an unmapped field and not match any documents for this query.\nSet to `false` to throw an exception if the field is not mapped.", - "type": "boolean" - } - } - } - ] + "search_mvt#with_labels": { + "in": "query", + "name": "with_labels", + "description": "If `true`, the hits and aggs layers will contain additional point features representing\nsuggested label positions for the original features.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "_types.query_dsl:GeoExecution": { - "type": "string", - "enum": [ - "memory", - "indexed" - ] + "search_template#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices,\nand aliases to search. Supports wildcards (*).", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" }, - "_types.query_dsl:GeoValidationMethod": { - "type": "string", - "enum": [ - "coerce", - "ignore_malformed", - "strict" - ] + "search_template#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "_types.query_dsl:GeoDistanceQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "distance": { - "$ref": "#/components/schemas/_types:Distance" - }, - "distance_type": { - "$ref": "#/components/schemas/_types:GeoDistanceType" - }, - "validation_method": { - "$ref": "#/components/schemas/_types.query_dsl:GeoValidationMethod" - } - }, - "required": [ - "distance" - ] - } - ] + "search_template#ccs_minimize_roundtrips": { + "in": "query", + "name": "ccs_minimize_roundtrips", + "description": "If `true`, network round-trips are minimized for cross-cluster search requests.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "_types:GeoDistanceType": { - "type": "string", - "enum": [ - "arc", - "plane" - ] + "search_template#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" }, - "_types.query_dsl:GeoPolygonQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "validation_method": { - "$ref": "#/components/schemas/_types.query_dsl:GeoValidationMethod" - }, - "ignore_unmapped": { - "type": "boolean" - } - } - } - ] + "search_template#explain": { + "in": "query", + "name": "explain", + "description": "If `true`, the response includes additional details about score computation as part of a hit.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "_types.query_dsl:GeoShapeQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "ignore_unmapped": { - "description": "Set to `true` to ignore an unmapped field and not match any documents for this query.\nSet to `false` to throw an exception if the field is not mapped.", - "type": "boolean" - } - } - } - ] + "search_template#ignore_throttled": { + "in": "query", + "name": "ignore_throttled", + "description": "If `true`, specified concrete, expanded, or aliased indices are not included in the response when throttled.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "_types.query_dsl:HasChildQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "ignore_unmapped": { - "description": "Indicates whether to ignore an unmapped `type` and not return any documents instead of an error.", - "type": "boolean" - }, - "inner_hits": { - "$ref": "#/components/schemas/_global.search._types:InnerHits" - }, - "max_children": { - "description": "Maximum number of child documents that match the query allowed for a returned parent document.\nIf the parent document exceeds this limit, it is excluded from the search results.", - "type": "number" - }, - "min_children": { - "description": "Minimum number of child documents that match the query required to match the query for a returned parent document.\nIf the parent document does not meet this limit, it is excluded from the search results.", - "type": "number" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "score_mode": { - "$ref": "#/components/schemas/_types.query_dsl:ChildScoreMode" - }, - "type": { - "$ref": "#/components/schemas/_types:RelationName" - } - }, - "required": [ - "query", - "type" - ] - } - ] + "search_template#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "_global.search._types:InnerHits": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "size": { - "description": "The maximum number of hits to return per `inner_hits`.", - "type": "number" - }, - "from": { - "description": "Inner hit starting document offset.", - "type": "number" - }, - "collapse": { - "$ref": "#/components/schemas/_global.search._types:FieldCollapse" - }, - "docvalue_fields": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" - } - }, - "explain": { - "type": "boolean" - }, - "highlight": { - "$ref": "#/components/schemas/_global.search._types:Highlight" - }, - "ignore_unmapped": { - "type": "boolean" - }, - "script_fields": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ScriptField" - } - }, - "seq_no_primary_term": { - "type": "boolean" - }, - "fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" - }, - "_source": { - "$ref": "#/components/schemas/_global.search._types:SourceConfig" - }, - "stored_field": { - "$ref": "#/components/schemas/_types:Fields" - }, - "track_scores": { - "type": "boolean" - }, - "version": { - "type": "boolean" - } - } + "search_template#preference": { + "in": "query", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" }, - "_types:Name": { - "type": "string" + "search_template#profile": { + "in": "query", + "name": "profile", + "description": "If `true`, the query execution is profiled.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "_global.search._types:FieldCollapse": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "inner_hits": { - "description": "The number of inner hits and their sort order", - "oneOf": [ - { - "$ref": "#/components/schemas/_global.search._types:InnerHits" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_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": { - "$ref": "#/components/schemas/_global.search._types:FieldCollapse" - } + "search_template#routing": { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" }, - "required": [ - "field" - ] + "style": "form" }, - "_types.query_dsl:FieldAndFormat": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "format": { - "description": "Format in which the values are returned.", - "type": "string" - }, - "include_unmapped": { - "type": "boolean" - } + "search_template#scroll": { + "in": "query", + "name": "scroll", + "description": "Specifies how long a consistent view of the index\nshould be maintained for scrolled search.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" }, - "required": [ - "field" - ] + "style": "form" }, - "_global.search._types:Highlight": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.search._types:HighlightBase" - }, - { - "type": "object", - "properties": { - "encoder": { - "$ref": "#/components/schemas/_global.search._types:HighlighterEncoder" - }, - "fields": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_global.search._types:HighlightField" - } - } - }, - "required": [ - "fields" - ] - } - ] + "search_template#search_type": { + "in": "query", + "name": "search_type", + "description": "The type of the search operation.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "style": "form" }, - "_global.search._types:HighlighterEncoder": { - "type": "string", - "enum": [ - "default", - "html" - ] + "search_template#rest_total_hits_as_int": { + "in": "query", + "name": "rest_total_hits_as_int", + "description": "If true, hits.total are rendered as an integer in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "_global.search._types:HighlightField": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.search._types:HighlightBase" - }, - { - "type": "object", - "properties": { - "fragment_offset": { - "type": "number" - }, - "matched_fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "analyzer": { - "$ref": "#/components/schemas/_types.analysis:Analyzer" - } - } - } - ] + "search_template#typed_keys": { + "in": "query", + "name": "typed_keys", + "description": "If `true`, the response prefixes aggregation and suggester names with their respective types.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "_types.analysis:Analyzer": { - "discriminator": { - "propertyName": "type" + "security.create_api_key#refresh": { + "in": "query", + "name": "refresh", + "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Refresh" }, - "oneOf": [ - { - "$ref": "#/components/schemas/_types.analysis:CustomAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:FingerprintAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:KeywordAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:LanguageAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:NoriAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:PatternAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:SimpleAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:StandardAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:StopAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:WhitespaceAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:IcuAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:KuromojiAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:SnowballAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:DutchAnalyzer" - } - ] + "style": "form" }, - "_types.analysis:CustomAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "custom" - ] - }, - "char_filter": { - "type": "array", - "items": { - "type": "string" - } - }, - "filter": { - "type": "array", - "items": { - "type": "string" - } - }, - "position_increment_gap": { - "type": "number" - }, - "position_offset_gap": { - "type": "number" - }, - "tokenizer": { - "type": "string" - } + "security.query_api_keys#with_limited_by": { + "in": "query", + "name": "with_limited_by", + "description": "Return the snapshot of the owner user's role descriptors associated with the API key. \nAn API key's actual permission is the intersection of its assigned role descriptors and the owner user's role descriptors.", + "deprecated": false, + "schema": { + "type": "boolean" }, - "required": [ - "type", - "tokenizer" - ] + "style": "form" }, - "_types.analysis:FingerprintAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "fingerprint" - ] - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "max_output_size": { - "type": "number" - }, - "preserve_original": { - "type": "boolean" - }, - "separator": { - "type": "string" - }, - "stopwords": { - "$ref": "#/components/schemas/_types.analysis:StopWords" - }, - "stopwords_path": { - "type": "string" - } + "terms_enum#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and index aliases to search. Wildcard (*) expressions are supported.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" }, - "required": [ - "type", - "max_output_size", - "preserve_original", - "separator" - ] + "style": "simple" }, - "_types.analysis:StopWords": { - "description": "Language value, such as _arabic_ or _thai_. Defaults to _english_.\nEach language value corresponds to a predefined list of stop words in Lucene. See Stop words by language for supported language values and their stop words.\nAlso accepts an array of stop words.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] + "termvectors#index": { + "in": "path", + "name": "index", + "description": "Name of the index that contains the document.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" }, - "_types.analysis:KeywordAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "keyword" - ] - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - } + "termvectors#id": { + "in": "path", + "name": "id", + "description": "Unique identifier of the document.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" }, - "required": [ - "type" - ] + "style": "simple" }, - "_types.analysis:LanguageAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "language" - ] - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "language": { - "$ref": "#/components/schemas/_types.analysis:Language" - }, - "stem_exclusion": { - "type": "array", - "items": { - "type": "string" - } - }, - "stopwords": { - "$ref": "#/components/schemas/_types.analysis:StopWords" - }, - "stopwords_path": { - "type": "string" - } + "termvectors#fields": { + "in": "query", + "name": "fields", + "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.\nUsed as the default list unless a specific field list is provided in the `completion_fields` or `fielddata_fields` parameters.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" }, - "required": [ - "type", - "language", - "stem_exclusion" - ] + "style": "form" }, - "_types.analysis:Language": { - "type": "string", - "enum": [ - "Arabic", - "Armenian", - "Basque", - "Brazilian", - "Bulgarian", - "Catalan", - "Chinese", - "Cjk", - "Czech", - "Danish", - "Dutch", - "English", - "Estonian", - "Finnish", - "French", - "Galician", - "German", - "Greek", - "Hindi", - "Hungarian", - "Indonesian", - "Irish", - "Italian", - "Latvian", - "Norwegian", - "Persian", - "Portuguese", - "Romanian", - "Russian", - "Sorani", - "Spanish", - "Swedish", - "Turkish", - "Thai" - ] + "termvectors#field_statistics": { + "in": "query", + "name": "field_statistics", + "description": "If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "_types.analysis:NoriAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "nori" - ] - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "decompound_mode": { - "$ref": "#/components/schemas/_types.analysis:NoriDecompoundMode" - }, - "stoptags": { - "type": "array", - "items": { - "type": "string" - } - }, - "user_dictionary": { - "type": "string" - } + "termvectors#offsets": { + "in": "query", + "name": "offsets", + "description": "If `true`, the response includes term offsets.", + "deprecated": false, + "schema": { + "type": "boolean" }, - "required": [ - "type" - ] + "style": "form" }, - "_types.analysis:NoriDecompoundMode": { - "type": "string", - "enum": [ - "discard", - "none", - "mixed" - ] + "termvectors#payloads": { + "in": "query", + "name": "payloads", + "description": "If `true`, the response includes term payloads.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "_types.analysis:PatternAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "pattern" - ] - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "flags": { - "type": "string" - }, - "lowercase": { - "type": "boolean" - }, - "pattern": { - "type": "string" - }, - "stopwords": { - "$ref": "#/components/schemas/_types.analysis:StopWords" - } + "termvectors#positions": { + "in": "query", + "name": "positions", + "description": "If `true`, the response includes term positions.", + "deprecated": false, + "schema": { + "type": "boolean" }, - "required": [ - "type", - "pattern" - ] + "style": "form" }, - "_types.analysis:SimpleAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "simple" - ] - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - } + "termvectors#preference": { + "in": "query", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", + "deprecated": false, + "schema": { + "type": "string" }, - "required": [ - "type" - ] + "style": "form" }, - "_types.analysis:StandardAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "standard" - ] - }, - "max_token_length": { - "type": "number" - }, - "stopwords": { - "$ref": "#/components/schemas/_types.analysis:StopWords" - } + "termvectors#realtime": { + "in": "query", + "name": "realtime", + "description": "If true, the request is real-time as opposed to near-real-time.", + "deprecated": false, + "schema": { + "type": "boolean" }, - "required": [ - "type" - ] + "style": "form" }, - "_types.analysis:StopAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "stop" - ] - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "stopwords": { - "$ref": "#/components/schemas/_types.analysis:StopWords" - }, - "stopwords_path": { - "type": "string" - } + "termvectors#routing": { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" }, - "required": [ - "type" - ] + "style": "form" }, - "_types.analysis:WhitespaceAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "whitespace" - ] - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - } + "termvectors#term_statistics": { + "in": "query", + "name": "term_statistics", + "description": "If `true`, the response includes term frequency and document frequency.", + "deprecated": false, + "schema": { + "type": "boolean" }, - "required": [ - "type" - ] + "style": "form" }, - "_types.analysis:IcuAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "icu_analyzer" - ] - }, - "method": { - "$ref": "#/components/schemas/_types.analysis:IcuNormalizationType" - }, - "mode": { - "$ref": "#/components/schemas/_types.analysis:IcuNormalizationMode" - } + "termvectors#version": { + "in": "query", + "name": "version", + "description": "If `true`, returns the document version as part of a hit.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "style": "form" + }, + "termvectors#version_type": { + "in": "query", + "name": "version_type", + "description": "Specific version type.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:VersionType" + }, + "style": "form" + }, + "transform.get_transform#transform_id": { + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform. It can be a transform identifier or a\nwildcard expression. You can get information for all transforms by using\n`_all`, by specifying `*` as the ``, or by omitting the\n``.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Names" }, - "required": [ - "type", - "method", - "mode" - ] + "style": "simple" }, - "_types.analysis:IcuNormalizationType": { - "type": "string", - "enum": [ - "nfc", - "nfkc", - "nfkc_cf" - ] + "transform.get_transform#allow_no_match": { + "in": "query", + "name": "allow_no_match", + "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no transforms that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf this parameter is false, the request returns a 404 status code when\nthere are no matches or only partial matches.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "_types.analysis:IcuNormalizationMode": { - "type": "string", - "enum": [ - "decompose", - "compose" - ] + "transform.get_transform#from": { + "in": "query", + "name": "from", + "description": "Skips the specified number of transforms.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" }, - "_types.analysis:KuromojiAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "kuromoji" - ] - }, - "mode": { - "$ref": "#/components/schemas/_types.analysis:KuromojiTokenizationMode" - }, - "user_dictionary": { - "type": "string" - } + "transform.get_transform#size": { + "in": "query", + "name": "size", + "description": "Specifies the maximum number of transforms to obtain.", + "deprecated": false, + "schema": { + "type": "number" }, - "required": [ - "type", - "mode" - ] + "style": "form" }, - "_types.analysis:KuromojiTokenizationMode": { - "type": "string", - "enum": [ - "normal", - "search", - "extended" - ] + "transform.get_transform#exclude_generated": { + "in": "query", + "name": "exclude_generated", + "description": "Excludes fields that were automatically added when creating the\ntransform. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" }, - "_types.analysis:SnowballAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "snowball" - ] - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "language": { - "$ref": "#/components/schemas/_types.analysis:SnowballLanguage" - }, - "stopwords": { - "$ref": "#/components/schemas/_types.analysis:StopWords" - } + "transform.preview_transform#transform_id": { + "in": "path", + "name": "transform_id", + "description": "Identifier for the transform to preview. If you specify this path parameter, you cannot provide transform\nconfiguration details in the request body.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" }, - "required": [ - "type", - "language" - ] + "style": "simple" }, - "_types.analysis:SnowballLanguage": { - "type": "string", - "enum": [ - "Armenian", - "Basque", - "Catalan", - "Danish", - "Dutch", - "English", - "Finnish", - "French", - "German", - "German2", - "Hungarian", - "Italian", - "Kp", - "Lovins", - "Norwegian", - "Porter", - "Portuguese", - "Romanian", - "Russian", - "Spanish", - "Swedish", - "Turkish" - ] + "transform.preview_transform#timeout": { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response. If no response is received before the\ntimeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + }, + "requestBodies": { + "async_search.submit": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "collapse": { + "$ref": "#/components/schemas/_global.search._types:FieldCollapse" + }, + "explain": { + "description": "If true, returns detailed information about score computation as part of a hit.", + "type": "boolean" + }, + "ext": { + "description": "Configuration of search extensions defined by Elasticsearch plugins.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "from": { + "description": "Starting document offset. By default, you cannot page through more than 10,000\nhits using the from and size parameters. To page through more hits, use the\nsearch_after parameter.", + "type": "number" + }, + "highlight": { + "$ref": "#/components/schemas/_global.search._types:Highlight" + }, + "track_total_hits": { + "$ref": "#/components/schemas/_global.search._types:TrackHits" + }, + "indices_boost": { + "description": "Boosts the _score of documents from specified indices.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "number" + } + } + }, + "docvalue_fields": { + "description": "Array of wildcard (*) patterns. The request returns doc values for field\nnames matching these patterns in the hits.fields property of the response.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "knn": { + "description": "Defines the approximate kNN search to run.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:KnnQuery" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:KnnQuery" + } + } + ] + }, + "min_score": { + "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in the search results.", + "type": "number" + }, + "post_filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "profile": { + "type": "boolean" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "rescore": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:Rescore" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Rescore" + } + } + ] + }, + "script_fields": { + "description": "Retrieve a script evaluation (based on different fields) for each hit.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "search_after": { + "$ref": "#/components/schemas/_types:SortResults" + }, + "size": { + "description": "The number of hits to return. By default, you cannot page through more\nthan 10,000 hits using the from and size parameters. To page through more\nhits, use the search_after parameter.", + "type": "number" + }, + "slice": { + "$ref": "#/components/schemas/_types:SlicedScroll" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "fields": { + "description": "Array of wildcard (*) patterns. The request returns values for field names\nmatching these patterns in the hits.fields property of the response.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "suggest": { + "$ref": "#/components/schemas/_global.search._types:Suggester" + }, + "terminate_after": { + "description": "Maximum number of documents to collect for each shard. If a query reaches this\nlimit, Elasticsearch terminates the query early. Elasticsearch collects documents\nbefore sorting. Defaults to 0, which does not terminate query execution early.", + "type": "number" + }, + "timeout": { + "description": "Specifies the period of time to wait for a response from each shard. If no response\nis 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.", + "type": "boolean" + }, + "version": { + "description": "If true, returns document version as part of a hit.", + "type": "boolean" + }, + "seq_no_primary_term": { + "description": "If true, returns sequence number and primary term of the last modification\nof each hit. See Optimistic concurrency control.", + "type": "boolean" + }, + "stored_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "pit": { + "$ref": "#/components/schemas/_global.search._types:PointInTimeReference" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "stats": { + "description": "Stats groups to associate with the search. Each group maintains a statistics\naggregation for its associated searches. You can retrieve these stats using\nthe indices stats API.", + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } }, - "_types.analysis:DutchAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "dutch" - ] - }, - "stopwords": { - "$ref": "#/components/schemas/_types.analysis:StopWords" + "bulk": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.bulk:OperationContainer" + }, + { + "$ref": "#/components/schemas/_global.bulk:UpdateAction" + }, + { + "type": "object" + } + ] + } + } } }, - "required": [ - "type" - ] + "required": true }, - "_global.search._types:HighlightBase": { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/_global.search._types:HighlighterType" - }, - "boundary_chars": { - "description": "A string that contains each boundary character.", - "type": "string" - }, - "boundary_max_scan": { - "description": "How far to scan for boundary characters.", - "type": "number" - }, - "boundary_scanner": { - "$ref": "#/components/schemas/_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\"`.", - "type": "string" - }, - "force_source": { - "deprecated": true, - "type": "boolean" - }, - "fragmenter": { - "$ref": "#/components/schemas/_global.search._types:HighlighterFragmenter" - }, - "fragment_size": { - "description": "The size of the highlighted fragment in characters.", - "type": "number" - }, - "highlight_filter": { - "type": "boolean" - }, - "highlight_query": { - "$ref": "#/components/schemas/_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.", - "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.", - "type": "number" - }, - "options": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "order": { - "$ref": "#/components/schemas/_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.", - "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 `` and `` 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 `` and `` tags.", - "type": "array", - "items": { - "type": "string" + "clear_scroll": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "scroll_id": { + "$ref": "#/components/schemas/_types:ScrollIds" + } + } } - }, - "require_field_match": { - "description": "By default, only fields that contains a query match are highlighted.\nSet to `false` to highlight all fields.", - "type": "boolean" - }, - "tags_schema": { - "$ref": "#/components/schemas/_global.search._types:HighlighterTagsSchema" } } }, - "_global.search._types:HighlighterType": { - "type": "string", - "enum": [ - "plain", - "fvh", - "unified" - ] - }, - "_global.search._types:BoundaryScanner": { - "type": "string", - "enum": [ - "chars", - "sentence", - "word" - ] - }, - "_global.search._types:HighlighterFragmenter": { - "type": "string", - "enum": [ - "simple", - "span" - ] - }, - "_global.search._types:HighlighterOrder": { - "type": "string", - "enum": [ - "score" - ] + "cluster.put_component_template": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_auto_create": { + "description": "This setting overrides the value of the `action.auto_create_index` cluster setting.\nIf set to `true` in a template, then indices can be automatically created using that\ntemplate even if auto-creation of indices is disabled via `actions.auto_create_index`.\nIf set to `false` then data streams matching the template must always be explicitly created.", + "type": "boolean" + }, + "template": { + "$ref": "#/components/schemas/indices._types:IndexState" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + } + }, + "required": [ + "template" + ] + } + } + }, + "required": true }, - "_global.search._types:HighlighterTagsSchema": { - "type": "string", - "enum": [ - "styled" - ] + "count": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + } + } + } }, - "_types:ScriptField": { - "type": "object", - "properties": { - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "ignore_failure": { - "type": "boolean" + "create": { + "content": { + "application/json": { + "schema": { + "type": "object" + } } }, - "required": [ - "script" - ] + "required": true }, - "_types:Sort": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:SortCombinations" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:SortCombinations" + "field_caps": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "index_filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + } + } } } - ] + } }, - "_types:SortCombinations": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Field" - }, - { - "$ref": "#/components/schemas/_types:SortOptions" + "graph.explore": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "connections": { + "$ref": "#/components/schemas/graph._types:Hop" + }, + "controls": { + "$ref": "#/components/schemas/graph._types:ExploreControls" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "vertices": { + "description": "Specifies one or more fields that contain the terms you want to include in the graph as vertices.", + "type": "array", + "items": { + "$ref": "#/components/schemas/graph._types:VertexDefinition" + } + } + } + } } - ] + } }, - "_types:SortOptions": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sort-search-results.html" - }, - "type": "object", - "properties": { - "_score": { - "$ref": "#/components/schemas/_types:ScoreSort" - }, - "_doc": { - "$ref": "#/components/schemas/_types:ScoreSort" - }, - "_geo_distance": { - "$ref": "#/components/schemas/_types:GeoDistanceSort" - }, - "_script": { - "$ref": "#/components/schemas/_types:ScriptSort" + "index": { + "content": { + "application/json": { + "schema": { + "type": "object" + } } }, - "minProperties": 1, - "maxProperties": 1 + "required": true }, - "_types:ScoreSort": { - "type": "object", - "properties": { - "order": { - "$ref": "#/components/schemas/_types:SortOrder" + "indices.analyze": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-analyzers.html" + }, + "description": "The name of the analyzer that should be applied to the provided `text`.\nThis could be a built-in analyzer, or an analyzer that’s been configured in the index.", + "type": "string" + }, + "attributes": { + "description": "Array of token attributes used to filter the output of the `explain` parameter.", + "type": "array", + "items": { + "type": "string" + } + }, + "char_filter": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-charfilters.html" + }, + "description": "Array of character filters used to preprocess characters before the tokenizer.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.analysis:CharFilter" + } + }, + "explain": { + "description": "If `true`, the response includes token attributes and additional details.", + "type": "boolean" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "filter": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-tokenfilters.html" + }, + "description": "Array of token filters used to apply after the tokenizer.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.analysis:TokenFilter" + } + }, + "normalizer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-normalizers.html" + }, + "description": "Normalizer to use to convert text into a single token.", + "type": "string" + }, + "text": { + "$ref": "#/components/schemas/indices.analyze:TextToAnalyze" + }, + "tokenizer": { + "$ref": "#/components/schemas/_types.analysis:Tokenizer" + } + } + } } } }, - "_types:SortOrder": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "_types:GeoDistanceSort": { - "type": "object", - "properties": { - "mode": { - "$ref": "#/components/schemas/_types:SortMode" - }, - "distance_type": { - "$ref": "#/components/schemas/_types:GeoDistanceType" - }, - "ignore_unmapped": { - "type": "boolean" - }, - "order": { - "$ref": "#/components/schemas/_types:SortOrder" - }, - "unit": { - "$ref": "#/components/schemas/_types:DistanceUnit" + "indices.put_alias": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "index_routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "is_write_index": { + "description": "If `true`, sets the write index or data stream for the alias.\nIf an alias points to multiple indices or data streams and `is_write_index` isn’t set, the alias rejects write requests.\nIf an index alias points to one index and `is_write_index` isn’t set, the index automatically acts as the write index.\nData stream aliases don’t automatically set a write data stream, even if the alias points to one data stream.", + "type": "boolean" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "search_routing": { + "$ref": "#/components/schemas/_types:Routing" + } + } + } } } }, - "_types:SortMode": { - "type": "string", - "enum": [ - "min", - "max", - "sum", - "avg", - "median" - ] - }, - "_types:DistanceUnit": { - "type": "string", - "enum": [ - "in", - "ft", - "yd", - "mi", - "nmi", - "km", - "m", - "cm", - "mm" - ] - }, - "_types:ScriptSort": { - "type": "object", - "properties": { - "order": { - "$ref": "#/components/schemas/_types:SortOrder" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "type": { - "$ref": "#/components/schemas/_types:ScriptSortType" - }, - "mode": { - "$ref": "#/components/schemas/_types:SortMode" - }, - "nested": { - "$ref": "#/components/schemas/_types:NestedSortValue" + "indices.put_index_template": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "index_patterns": { + "$ref": "#/components/schemas/_types:Indices" + }, + "composed_of": { + "description": "An ordered list of component template names.\nComponent templates are merged in the order specified, meaning that the last component template specified has the highest precedence.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "template": { + "$ref": "#/components/schemas/indices.put_index_template:IndexTemplateMapping" + }, + "data_stream": { + "$ref": "#/components/schemas/indices._types:DataStreamVisibility" + }, + "priority": { + "description": "Priority to determine index template precedence when a new data stream or index is created.\nThe index template with the highest priority is chosen.\nIf no priority is specified the template is treated as though it is of priority 0 (lowest priority).\nThis number is not automatically generated by Elasticsearch.", + "type": "number" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + } + } + } } }, - "required": [ - "script" - ] - }, - "_types:ScriptSortType": { - "type": "string", - "enum": [ - "string", - "number", - "version" - ] + "required": true }, - "_types:NestedSortValue": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "max_children": { - "type": "number" - }, - "nested": { - "$ref": "#/components/schemas/_types:NestedSortValue" - }, - "path": { - "$ref": "#/components/schemas/_types:Field" + "indices.put_mapping": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "date_detection": { + "description": "Controls whether dynamic date detection is enabled.", + "type": "boolean" + }, + "dynamic": { + "$ref": "#/components/schemas/_types.mapping:DynamicMapping" + }, + "dynamic_date_formats": { + "description": "If date detection is enabled then new string fields are checked\nagainst 'dynamic_date_formats' and if the value matches then\na new date field is added instead of string.", + "type": "array", + "items": { + "type": "string" + } + }, + "dynamic_templates": { + "description": "Specify dynamic templates for the mapping.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:DynamicTemplate" + } + }, + { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:DynamicTemplate" + } + } + } + ] + }, + "_field_names": { + "$ref": "#/components/schemas/_types.mapping:FieldNamesField" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "numeric_detection": { + "description": "Automatically map strings into numeric data types for all fields.", + "type": "boolean" + }, + "properties": { + "description": "Mapping for a field. For new fields, this mapping can include:\n\n- Field name\n- Field data type\n- Mapping parameters", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:Property" + } + }, + "_routing": { + "$ref": "#/components/schemas/_types.mapping:RoutingField" + }, + "_source": { + "$ref": "#/components/schemas/_types.mapping:SourceField" + }, + "runtime": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + } + } + } } }, - "required": [ - "path" - ] - }, - "_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": "#/components/schemas/_global.search._types:SourceFilter" - } - ] + "required": true }, - "_global.search._types:SourceFilter": { - "type": "object", - "properties": { - "excludes": { - "$ref": "#/components/schemas/_types:Fields" - }, - "includes": { - "$ref": "#/components/schemas/_types:Fields" + "indices.put_settings": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + } } - } - }, - "_types.query_dsl:ChildScoreMode": { - "type": "string", - "enum": [ - "none", - "avg", - "sum", - "max", - "min" - ] - }, - "_types:RelationName": { - "type": "string" + }, + "required": true }, - "_types.query_dsl:HasParentQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "ignore_unmapped": { - "description": "Indicates whether to ignore an unmapped `parent_type` and not return any documents instead of an error.\nYou can use this parameter to query multiple indices that may not contain the `parent_type`.", - "type": "boolean" - }, - "inner_hits": { - "$ref": "#/components/schemas/_global.search._types:InnerHits" - }, - "parent_type": { - "$ref": "#/components/schemas/_types:RelationName" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "score": { - "description": "Indicates whether the relevance score of a matching parent document is aggregated into its child documents.", - "type": "boolean" + "indices.put_template": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aliases": { + "description": "Aliases for the index.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } + }, + "index_patterns": { + "description": "Array of wildcard expressions used to match the names\nof indices during creation.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "order": { + "description": "Order in which Elasticsearch applies this template if index\nmatches multiple templates.\n\nTemplates with lower 'order' values are merged first. Templates with higher\n'order' values are merged later, overriding templates with lower values.", + "type": "number" + }, + "settings": { + "description": "Configuration options for the index.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + } } - }, - "required": [ - "parent_type", - "query" - ] + } } - ] + }, + "required": true }, - "_types.query_dsl:IdsQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "values": { - "$ref": "#/components/schemas/_types:Ids" + "indices.rollover": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aliases": { + "description": "Aliases for the target index.\nData streams do not support this parameter.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } + }, + "conditions": { + "$ref": "#/components/schemas/indices.rollover:RolloverConditions" + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "settings": { + "description": "Configuration options for the index.\nData streams do not support this parameter.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } } } } - ] + } }, - "_types:Ids": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Id" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Id" + "indices.simulate_template": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/indices._types:IndexTemplate" } } - ] + } }, - "_types.query_dsl:IntervalsQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "all_of": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsAllOf" - }, - "any_of": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsAnyOf" - }, - "fuzzy": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsFuzzy" - }, - "match": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsMatch" - }, - "prefix": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsPrefix" - }, - "wildcard": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsWildcard" + "indices.validate_query": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } } - }, - "minProperties": 1, - "maxProperties": 1 - } - ] - }, - "_types.query_dsl:IntervalsAllOf": { - "type": "object", - "properties": { - "intervals": { - "description": "An array of rules to combine. All rules must produce a match in a document for the overall source to match.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" } - }, - "max_gaps": { - "description": "Maximum number of positions between the matching terms.\nIntervals produced by the rules further apart than this are not considered matches.", - "type": "number" - }, - "ordered": { - "description": "If `true`, intervals produced by the rules should appear in the order in which they are specified.", - "type": "boolean" - }, - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsFilter" - } - }, - "required": [ - "intervals" - ] - }, - "_types.query_dsl:IntervalsContainer": { - "type": "object", - "properties": { - "all_of": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsAllOf" - }, - "any_of": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsAnyOf" - }, - "fuzzy": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsFuzzy" - }, - "match": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsMatch" - }, - "prefix": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsPrefix" - }, - "wildcard": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsWildcard" } - }, - "minProperties": 1, - "maxProperties": 1 + } }, - "_types.query_dsl:IntervalsAnyOf": { - "type": "object", - "properties": { - "intervals": { - "description": "An array of rules to match.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + "ingest.simulate": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "docs": { + "description": "Sample documents to test in the pipeline.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest.simulate:Document" + } + }, + "pipeline": { + "$ref": "#/components/schemas/ingest._types:Pipeline" + } + } } - }, - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsFilter" } }, - "required": [ - "intervals" - ] + "required": true }, - "_types.query_dsl:IntervalsFilter": { - "type": "object", - "properties": { - "after": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" - }, - "before": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" - }, - "contained_by": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" - }, - "containing": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" - }, - "not_contained_by": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" - }, - "not_containing": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" - }, - "not_overlapping": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" - }, - "overlapping": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" + "mget": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "docs": { + "description": "The documents you want to retrieve. Required if no index is specified in the request URI.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.mget:Operation" + } + }, + "ids": { + "$ref": "#/components/schemas/_types:Ids" + } + } + } } }, - "minProperties": 1, - "maxProperties": 1 + "required": true }, - "_types.query_dsl:IntervalsFuzzy": { - "type": "object", - "properties": { - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" - }, - "description": "Analyzer used to normalize the term.", - "type": "string" - }, - "fuzziness": { - "$ref": "#/components/schemas/_types:Fuzziness" - }, - "prefix_length": { - "description": "Number of beginning characters left unchanged when creating expansions.", - "type": "number" - }, - "term": { - "description": "The term to match.", - "type": "string" - }, - "transpositions": { - "description": "Indicates whether edits include transpositions of two adjacent characters (for example, `ab` to `ba`).", - "type": "boolean" - }, - "use_field": { - "$ref": "#/components/schemas/_types:Field" + "ml.get_calendars": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "page": { + "$ref": "#/components/schemas/ml._types:Page" + } + } + } } - }, - "required": [ - "term" - ] + } }, - "_types.query_dsl:IntervalsMatch": { - "type": "object", - "properties": { - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" - }, - "description": "Analyzer used to analyze terms in the query.", - "type": "string" - }, - "max_gaps": { - "description": "Maximum number of positions between the matching terms.\nTerms further apart than this are not considered matches.", - "type": "number" - }, - "ordered": { - "description": "If `true`, matching terms must appear in their specified order.", - "type": "boolean" - }, - "query": { - "description": "Text you wish to find in the provided field.", - "type": "string" - }, - "use_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsFilter" + "ml.get_overall_buckets": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allow_no_match": { + "description": "Refer to the description for the `allow_no_match` query parameter.", + "type": "boolean" + }, + "bucket_span": { + "$ref": "#/components/schemas/_types:Duration" + }, + "end": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "exclude_interim": { + "description": "Refer to the description for the `exclude_interim` query parameter.", + "type": "boolean" + }, + "overall_score": { + "description": "Refer to the description for the `overall_score` query parameter.", + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "start": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "top_n": { + "description": "Refer to the description for the `top_n` query parameter.", + "type": "number" + } + } + } } - }, - "required": [ - "query" - ] + } }, - "_types.query_dsl:IntervalsPrefix": { - "type": "object", - "properties": { - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" - }, - "description": "Analyzer used to analyze the `prefix`.", - "type": "string" - }, - "prefix": { - "description": "Beginning characters of terms you wish to find in the top-level field.", - "type": "string" - }, - "use_field": { - "$ref": "#/components/schemas/_types:Field" + "ml.infer_trained_model": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "docs": { + "description": "An array of objects to pass to the model for inference. The objects should contain a fields matching your\nconfigured trained model input. Typically, for NLP models, the field name is `text_field`.\nCurrently, for NLP models, only a single value is allowed.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "inference_config": { + "$ref": "#/components/schemas/ml._types:InferenceConfigUpdateContainer" + } + }, + "required": [ + "docs" + ] + } } }, - "required": [ - "prefix" - ] + "required": true }, - "_types.query_dsl:IntervalsWildcard": { - "type": "object", - "properties": { - "analyzer": { - "description": "Analyzer used to analyze the `pattern`.\nDefaults to the top-level field's analyzer.", - "type": "string" - }, - "pattern": { - "description": "Wildcard pattern used to find matching terms.", - "type": "string" - }, - "use_field": { - "$ref": "#/components/schemas/_types:Field" + "ml.preview_data_frame_analytics": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "config": { + "$ref": "#/components/schemas/ml.preview_data_frame_analytics:DataframePreviewConfig" + } + } + } } - }, - "required": [ - "pattern" - ] + } }, - "_types.query_dsl:MatchQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + "ml.preview_datafeed": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "datafeed_config": { + "$ref": "#/components/schemas/ml._types:DatafeedConfig" }, - "description": "Analyzer used to convert the text in the query value into tokens.", - "type": "string" - }, - "auto_generate_synonyms_phrase_query": { - "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", - "type": "boolean" - }, - "cutoff_frequency": { - "deprecated": true, - "type": "number" - }, - "fuzziness": { - "$ref": "#/components/schemas/_types:Fuzziness" - }, - "fuzzy_rewrite": { - "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" - }, - "fuzzy_transpositions": { - "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).", - "type": "boolean" - }, - "lenient": { - "description": "If `true`, format-based errors, such as providing a text query value for a numeric field, are ignored.", - "type": "boolean" - }, - "max_expansions": { - "description": "Maximum number of terms to which the query will expand.", - "type": "number" - }, - "minimum_should_match": { - "$ref": "#/components/schemas/_types:MinimumShouldMatch" - }, - "operator": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "prefix_length": { - "description": "Number of beginning characters left unchanged for fuzzy matching.", - "type": "number" - }, - "query": { - "description": "Text, number, boolean value or date you wish to find in the provided field.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "zero_terms_query": { - "$ref": "#/components/schemas/_types.query_dsl:ZeroTermsQuery" + "job_config": { + "$ref": "#/components/schemas/ml._types:JobConfig" + } } - }, - "required": [ - "query" - ] + } } - ] + } }, - "_types.query_dsl:ZeroTermsQuery": { - "type": "string", - "enum": [ - "all", - "none" - ] + "msearch": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.msearch:RequestItem" + } + } + } + }, + "required": true }, - "_types.query_dsl:MatchAllQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object" + "msearch_template": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.msearch_template:RequestItem" + } + } } - ] + }, + "required": true }, - "_types.query_dsl:MatchBoolPrefixQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + "mtermvectors": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "docs": { + "description": "Array of existing or artificial documents.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.mtermvectors:Operation" + } }, - "description": "Analyzer used to convert the text in the query value into tokens.", - "type": "string" - }, - "fuzziness": { - "$ref": "#/components/schemas/_types:Fuzziness" - }, - "fuzzy_rewrite": { - "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" - }, - "fuzzy_transpositions": { - "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).\nCan be applied to the term subqueries constructed for all terms but the final term.", - "type": "boolean" - }, - "max_expansions": { - "description": "Maximum number of terms to which the query will expand.\nCan be applied to the term subqueries constructed for all terms but the final term.", - "type": "number" - }, - "minimum_should_match": { - "$ref": "#/components/schemas/_types:MinimumShouldMatch" - }, - "operator": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "prefix_length": { - "description": "Number of beginning characters left unchanged for fuzzy matching.\nCan be applied to the term subqueries constructed for all terms but the final term.", - "type": "number" - }, - "query": { - "description": "Terms you wish to find in the provided field.\nThe last term is used in a prefix query.", - "type": "string" + "ids": { + "description": "Simplified syntax to specify documents by their ID if they're in the same index.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } + } } - }, - "required": [ - "query" - ] + } } - ] + } }, - "_types.query_dsl:MatchNoneQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object" + "put_script": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "script": { + "$ref": "#/components/schemas/_types:StoredScript" + } + }, + "required": [ + "script" + ] + } } - ] + }, + "required": true }, - "_types.query_dsl:MatchPhraseQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + "rank_eval": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "requests": { + "description": "A set of typical search requests, together with their provided ratings.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalRequestItem" + } }, - "description": "Analyzer used to convert the text in the query value into tokens.", - "type": "string" - }, - "query": { - "description": "Query terms that are analyzed and turned into a phrase query.", - "type": "string" - }, - "slop": { - "description": "Maximum number of positions allowed between matching tokens.", - "type": "number" + "metric": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetric" + } }, - "zero_terms_query": { - "$ref": "#/components/schemas/_types.query_dsl:ZeroTermsQuery" + "required": [ + "requests" + ] + } + } + }, + "required": true + }, + "render_search_template": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "file": { + "type": "string" + }, + "params": { + "description": "Key-value pairs used to replace Mustache variables in the template.\nThe key is the variable name.\nThe value is the variable value.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "source": { + "description": "An inline search template.\nSupports the same parameters as the search API's request body.\nThese parameters also support Mustache variables.\nIf no `id` or `` is specified, this parameter is required.", + "type": "string" + } } - }, - "required": [ - "query" - ] + } } - ] + } }, - "_types.query_dsl:MatchPhrasePrefixQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + "scripts_painless_execute": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "context": { + "description": "The context that the script should run in.", + "type": "string" }, - "description": "Analyzer used to convert text in the query value into tokens.", - "type": "string" - }, - "max_expansions": { - "description": "Maximum number of terms to which the last provided term of the query value will expand.", - "type": "number" - }, - "query": { - "description": "Text you wish to find in the provided field.", - "type": "string" - }, - "slop": { - "description": "Maximum number of positions allowed between matching tokens.", - "type": "number" - }, - "zero_terms_query": { - "$ref": "#/components/schemas/_types.query_dsl:ZeroTermsQuery" + "context_setup": { + "$ref": "#/components/schemas/_global.scripts_painless_execute:PainlessContextSetup" + }, + "script": { + "$ref": "#/components/schemas/_types:InlineScript" + } } - }, - "required": [ - "query" - ] + } } - ] + } }, - "_types.query_dsl:MoreLikeThisQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + "scroll": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "scroll": { + "$ref": "#/components/schemas/_types:Duration" }, - "description": "The analyzer that is used to analyze the free form text.\nDefaults to the analyzer associated with the first field in fields.", - "type": "string" - }, - "boost_terms": { - "description": "Each term in the formed query could be further boosted by their tf-idf score.\nThis sets the boost factor to use when using this feature.\nDefaults to deactivated (0).", - "type": "number" - }, - "fail_on_unsupported_field": { - "description": "Controls whether the query should fail (throw an exception) if any of the specified fields are not of the supported types (`text` or `keyword`).", - "type": "boolean" - }, - "fields": { - "description": "A list of fields to fetch and analyze the text from.\nDefaults to the `index.query.default_field` index setting, which has a default value of `*`.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Field" + "scroll_id": { + "$ref": "#/components/schemas/_types:ScrollId" } }, - "include": { - "description": "Specifies whether the input documents should also be included in the search results returned.", - "type": "boolean" - }, - "like": { - "description": "Specifies free form text and/or a single or multiple documents for which you want to find similar documents.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:Like" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:Like" + "required": [ + "scroll_id" + ] + } + } + } + }, + "search": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aggregations": { + "description": "Defines the aggregations that are run as part of the search request.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "collapse": { + "$ref": "#/components/schemas/_global.search._types:FieldCollapse" + }, + "explain": { + "description": "If true, returns detailed information about score computation as part of a hit.", + "type": "boolean" + }, + "ext": { + "description": "Configuration of search extensions defined by Elasticsearch plugins.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "from": { + "description": "Starting document offset.\nNeeds to 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.", + "type": "number" + }, + "highlight": { + "$ref": "#/components/schemas/_global.search._types:Highlight" + }, + "track_total_hits": { + "$ref": "#/components/schemas/_global.search._types:TrackHits" + }, + "indices_boost": { + "description": "Boosts the _score of documents from specified indices.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "number" } } - ] - }, - "max_doc_freq": { - "description": "The maximum document frequency above which the terms are ignored from the input document.", - "type": "number" - }, - "max_query_terms": { - "description": "The maximum number of query terms that can be selected.", - "type": "number" - }, - "max_word_length": { - "description": "The maximum word length above which the terms are ignored.\nDefaults to unbounded (`0`).", - "type": "number" - }, - "min_doc_freq": { - "description": "The minimum document frequency below which the terms are ignored from the input document.", - "type": "number" - }, - "minimum_should_match": { - "$ref": "#/components/schemas/_types:MinimumShouldMatch" - }, - "min_term_freq": { - "description": "The minimum term frequency below which the terms are ignored from the input document.", - "type": "number" - }, - "min_word_length": { - "description": "The minimum word length below which the terms are ignored.", - "type": "number" - }, - "per_field_analyzer": { - "description": "Overrides the default analyzer.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "stop_words": { - "$ref": "#/components/schemas/_types.analysis:StopWords" - }, - "unlike": { - "description": "Used in combination with `like` to exclude documents that match a set of terms.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:Like" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:Like" + }, + "docvalue_fields": { + "description": "Array of wildcard (`*`) patterns.\nThe request returns doc values for field names matching these patterns in the `hits.fields` property of the response.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "knn": { + "description": "Defines the approximate kNN search to run.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:KnnQuery" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:KnnQuery" + } + } + ] + }, + "rank": { + "$ref": "#/components/schemas/_types:RankContainer" + }, + "min_score": { + "description": "Minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in the search results.", + "type": "number" + }, + "post_filter": { + "$ref": "#/components/schemas/_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.", + "type": "boolean" + }, + "query": { + "$ref": "#/components/schemas/_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": "#/components/schemas/_global.search._types:Rescore" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Rescore" + } } + ] + }, + "script_fields": { + "description": "Retrieve a script evaluation (based on different fields) for each hit.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "search_after": { + "$ref": "#/components/schemas/_types:SortResults" + }, + "size": { + "description": "The number of hits to return.\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.", + "type": "number" + }, + "slice": { + "$ref": "#/components/schemas/_types:SlicedScroll" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "fields": { + "description": "Array of wildcard (`*`) patterns.\nThe request returns values for field names matching these patterns in the `hits.fields` property of the response.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "suggest": { + "$ref": "#/components/schemas/_global.search._types:Suggester" + }, + "terminate_after": { + "description": "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.\nUse with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.\nIf set to `0` (default), the query does not terminate early.", + "type": "number" + }, + "timeout": { + "description": "Specifies 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.", + "type": "boolean" + }, + "version": { + "description": "If true, returns document version as part of a hit.", + "type": "boolean" + }, + "seq_no_primary_term": { + "description": "If `true`, returns sequence number and primary term of the last modification of each hit.", + "type": "boolean" + }, + "stored_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "pit": { + "$ref": "#/components/schemas/_global.search._types:PointInTimeReference" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "stats": { + "description": "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" } - ] - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "version_type": { - "$ref": "#/components/schemas/_types:VersionType" + } } - }, - "required": [ - "like" - ] + } } - ] + } }, - "_types.query_dsl:Like": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-mlt-query.html#_document_input_parameters" - }, - "description": "Text that we want similar documents for or a lookup to a document's field for the text.", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/_types.query_dsl:LikeDocument" + "search_application.search": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "params": { + "description": "Query parameters specific to this request, which will override any defaults specified in the template.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } } - ] + } }, - "_types.query_dsl:LikeDocument": { - "type": "object", - "properties": { - "doc": { - "description": "A document not present in the index.", - "type": "object" - }, - "fields": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "per_field_analyzer": { - "type": "object", - "additionalProperties": { - "type": "string" + "search_mvt": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aggs": { + "description": "Sub-aggregations for the geotile_grid.\n\nSupports the following aggregation types:\n- avg\n- cardinality\n- max\n- min\n- sum", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "buffer": { + "description": "Size, in pixels, of a clipping buffer outside the tile. This allows renderers\nto avoid outline artifacts from geometries that extend past the extent of the tile.", + "type": "number" + }, + "exact_bounds": { + "description": "If false, the meta layer’s feature is the bounding box of the tile.\nIf true, the meta layer’s feature is a bounding box resulting from a\ngeo_bounds aggregation. The aggregation runs on values that intersect\nthe // tile with wrap_longitude set to false. The resulting\nbounding box may be larger than the vector tile.", + "type": "boolean" + }, + "extent": { + "description": "Size, in pixels, of a side of the tile. Vector tiles are square with equal sides.", + "type": "number" + }, + "fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "grid_agg": { + "$ref": "#/components/schemas/_global.search_mvt._types:GridAggregationType" + }, + "grid_precision": { + "description": "Additional zoom levels available through the aggs layer. For example, if is 7\nand grid_precision is 8, you can zoom in up to level 15. Accepts 0-8. If 0, results\ndon’t include the aggs layer.", + "type": "number" + }, + "grid_type": { + "$ref": "#/components/schemas/_global.search_mvt._types:GridType" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "size": { + "description": "Maximum number of features to return in the hits layer. Accepts 0-10000.\nIf 0, results don’t include the hits layer.", + "type": "number" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "track_total_hits": { + "$ref": "#/components/schemas/_global.search._types:TrackHits" + }, + "with_labels": { + "description": "If `true`, the hits and aggs layers will contain additional point features representing\nsuggested label positions for the original features.", + "type": "boolean" + } + } } - }, - "routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "version_type": { - "$ref": "#/components/schemas/_types:VersionType" } } }, - "_types:VersionType": { - "type": "string", - "enum": [ - "internal", - "external", - "external_gte", - "force" - ] - }, - "_types.query_dsl:MultiMatchQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + "search_template": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "explain": { + "description": "If `true`, returns detailed information about score calculation as part of each hit.", + "type": "boolean" }, - "description": "Analyzer used to convert the text in the query value into tokens.", - "type": "string" - }, - "auto_generate_synonyms_phrase_query": { - "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", - "type": "boolean" - }, - "cutoff_frequency": { - "deprecated": true, - "type": "number" - }, - "fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "fuzziness": { - "$ref": "#/components/schemas/_types:Fuzziness" - }, - "fuzzy_rewrite": { - "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" - }, - "fuzzy_transpositions": { - "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).\nCan be applied to the term subqueries constructed for all terms but the final term.", - "type": "boolean" - }, - "lenient": { - "description": "If `true`, format-based errors, such as providing a text query value for a numeric field, are ignored.", - "type": "boolean" - }, - "max_expansions": { - "description": "Maximum number of terms to which the query will expand.", - "type": "number" - }, - "minimum_should_match": { - "$ref": "#/components/schemas/_types:MinimumShouldMatch" - }, - "operator": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "prefix_length": { - "description": "Number of beginning characters left unchanged for fuzzy matching.", - "type": "number" - }, - "query": { - "description": "Text, number, boolean value or date you wish to find in the provided field.", - "type": "string" - }, - "slop": { - "description": "Maximum number of positions allowed between matching tokens.", - "type": "number" - }, - "tie_breaker": { - "description": "Determines how scores for each per-term blended query and scores across groups are combined.", - "type": "number" - }, - "type": { - "$ref": "#/components/schemas/_types.query_dsl:TextQueryType" - }, - "zero_terms_query": { - "$ref": "#/components/schemas/_types.query_dsl:ZeroTermsQuery" + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "params": { + "description": "Key-value pairs used to replace Mustache variables in the template.\nThe key is the variable name.\nThe value is the variable value.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "profile": { + "description": "If `true`, the query execution is profiled.", + "type": "boolean" + }, + "source": { + "description": "An inline search template. Supports the same parameters as the search API's\nrequest body. Also supports Mustache variables. If no id is specified, this\nparameter is required.", + "type": "string" + } } - }, - "required": [ - "query" - ] + } } - ] - }, - "_types.query_dsl:TextQueryType": { - "type": "string", - "enum": [ - "best_fields", - "most_fields", - "cross_fields", - "phrase", - "phrase_prefix", - "bool_prefix" - ] + }, + "required": true }, - "_types.query_dsl:NestedQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "ignore_unmapped": { - "description": "Indicates whether to ignore an unmapped path and not return any documents instead of an error.", - "type": "boolean" - }, - "inner_hits": { - "$ref": "#/components/schemas/_global.search._types:InnerHits" - }, - "path": { - "$ref": "#/components/schemas/_types:Field" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "score_mode": { - "$ref": "#/components/schemas/_types.query_dsl:ChildScoreMode" + "security.create_api_key": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "expiration": { + "$ref": "#/components/schemas/_types:Duration" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "role_descriptors": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html" + }, + "description": "An array of role descriptors for this API key. This parameter is optional. When it is not specified or is an empty array, then the API key will have a point in time snapshot of permissions of the authenticated user. If you supply role descriptors then the resultant permissions would be an intersection of API keys permissions and authenticated user’s permissions thereby limiting the access scope for API keys. The structure of role descriptor is the same as the request for create role API. For more details, see create or update roles API.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:RoleDescriptor" + } + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + } } - }, - "required": [ - "path", - "query" - ] + } } - ] + }, + "required": true }, - "_types.query_dsl:ParentIdQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "ignore_unmapped": { - "description": "Indicates whether to ignore an unmapped `type` and not return any documents instead of an error.", - "type": "boolean" - }, - "type": { - "$ref": "#/components/schemas/_types:RelationName" + "security.query_api_keys": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "from": { + "description": "Starting document offset.\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.", + "type": "number" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "size": { + "description": "The number of hits to return.\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.", + "type": "number" + }, + "search_after": { + "$ref": "#/components/schemas/_types:SortResults" + } } } } - ] + } }, - "_types.query_dsl:PercolateQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "document": { - "description": "The source of the document being percolated.", - "type": "object" + "terms_enum": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "size": { + "description": "How many matching terms to return.", + "type": "number" + }, + "timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "case_insensitive": { + "description": "When true the provided search string is matched against index terms without case sensitivity.", + "type": "boolean" + }, + "index_filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "string": { + "description": "The string after which terms in the index should be returned. Allows for a form of pagination if the last result from one request is passed as the search_after parameter for a subsequent request.", + "type": "string" + }, + "search_after": { + "type": "string" + } }, - "documents": { - "description": "An array of sources of the documents being percolated.", - "type": "array", - "items": { + "required": [ + "field" + ] + } + } + } + }, + "termvectors": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "doc": { + "description": "An artificial document (a document not present in the index) for which you want to retrieve term vectors.", "type": "object" + }, + "filter": { + "$ref": "#/components/schemas/_global.termvectors:Filter" + }, + "per_field_analyzer": { + "description": "Overrides the default per-field analyzer.", + "type": "object", + "additionalProperties": { + "type": "string" + } } - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "name": { - "description": "The suffix used for the `_percolator_document_slot` field when multiple `percolate` queries are specified.", - "type": "string" - }, - "preference": { - "description": "Preference used to fetch document to percolate.", - "type": "string" - }, - "routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" } - }, - "required": [ - "field" - ] + } } - ] + } }, - "_types.query_dsl:PinnedQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "allOf": [ - { - "type": "object", - "properties": { - "organic": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } + "transform.preview_transform": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "dest": { + "$ref": "#/components/schemas/transform._types:Destination" }, - "required": [ - "organic" - ] - }, - { - "type": "object", - "properties": { - "ids": { - "description": "Document IDs listed in the order they are to appear in results.\nRequired if `docs` is not specified.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Id" - } - }, - "docs": { - "description": "Documents listed in the order they are to appear in results.\nRequired if `ids` is not specified.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:PinnedDoc" - } - } + "description": { + "description": "Free text description of the transform.", + "type": "string" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "pivot": { + "$ref": "#/components/schemas/transform._types:Pivot" + }, + "source": { + "$ref": "#/components/schemas/transform._types:Source" }, - "minProperties": 1, - "maxProperties": 1 + "settings": { + "$ref": "#/components/schemas/transform._types:Settings" + }, + "sync": { + "$ref": "#/components/schemas/transform._types:SyncContainer" + }, + "retention_policy": { + "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" + }, + "latest": { + "$ref": "#/components/schemas/transform._types:Latest" + } } - ] + } } - ] + } + } + }, + "schemas": { + "_types:Id": { + "type": "string" }, - "_types.query_dsl:PinnedDoc": { + "_types:AcknowledgedResponseBase": { "type": "object", "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" + "acknowledged": { + "description": "For a successful response, this value is always true. On failure, an exception is returned instead.", + "type": "boolean" } }, "required": [ - "_id", - "_index" + "acknowledged" ] }, - "_types.query_dsl:PrefixQuery": { - "allOf": [ + "_types:Duration": { + "externalDocs": { + "url": "https://github.com/elastic/elasticsearch/blob/current/libs/core/src/main/java/org/elasticsearch/core/TimeValue.java" + }, + "description": "A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and\n`d` (days). Also accepts \"0\" without a unit and \"-1\" to indicate an unspecified value.", + "oneOf": [ { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + "type": "string" }, { - "type": "object", - "properties": { - "rewrite": { - "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" - }, - "value": { - "description": "Beginning characters of terms you wish to find in the provided field.", - "type": "string" - }, - "case_insensitive": { - "description": "Allows ASCII case insensitive matching of the value with the indexed field values when set to `true`.\nDefault is `false` which means the case sensitivity of matching depends on the underlying field’s mapping.", - "type": "boolean" - } - }, - "required": [ - "value" + "type": "string", + "enum": [ + "-1" + ] + }, + { + "type": "string", + "enum": [ + "0" ] } ] }, - "_types.query_dsl:QueryStringQuery": { + "async_search._types:AsyncSearchDocumentResponseBase": { "allOf": [ { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + "$ref": "#/components/schemas/async_search._types:AsyncSearchResponseBase" }, { "type": "object", "properties": { - "allow_leading_wildcard": { - "description": "If `true`, the wildcard characters `*` and `?` are allowed as the first character of the query string.", - "type": "boolean" - }, - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" - }, - "description": "Analyzer used to convert text in the query string into tokens.", - "type": "string" - }, - "analyze_wildcard": { - "description": "If `true`, the query attempts to analyze wildcard terms in the query string.", - "type": "boolean" - }, - "auto_generate_synonyms_phrase_query": { - "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", - "type": "boolean" - }, - "default_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "default_operator": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "enable_position_increments": { - "description": "If `true`, enable position increments in queries constructed from a `query_string` search.", - "type": "boolean" - }, - "escape": { - "type": "boolean" - }, - "fields": { - "description": "Array of fields to search. Supports wildcards (`*`).", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "fuzziness": { - "$ref": "#/components/schemas/_types:Fuzziness" - }, - "fuzzy_max_expansions": { - "description": "Maximum number of terms to which the query expands for fuzzy matching.", - "type": "number" - }, - "fuzzy_prefix_length": { - "description": "Number of beginning characters left unchanged for fuzzy matching.", - "type": "number" - }, - "fuzzy_rewrite": { - "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" - }, - "fuzzy_transpositions": { - "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).", - "type": "boolean" - }, - "lenient": { - "description": "If `true`, format-based errors, such as providing a text value for a numeric field, are ignored.", - "type": "boolean" - }, - "max_determinized_states": { - "description": "Maximum number of automaton states required for the query.", - "type": "number" - }, - "minimum_should_match": { - "$ref": "#/components/schemas/_types:MinimumShouldMatch" - }, - "phrase_slop": { - "description": "Maximum number of positions allowed between matching tokens for phrases.", - "type": "number" - }, - "query": { - "description": "Query string you wish to parse and use for search.", - "type": "string" - }, - "quote_analyzer": { - "description": "Analyzer used to convert quoted text in the query string into tokens.\nFor quoted text, this parameter overrides the analyzer specified in the `analyzer` parameter.", - "type": "string" - }, - "quote_field_suffix": { - "description": "Suffix appended to quoted text in the query string.\nYou can use this suffix to use a different analysis method for exact matches.", - "type": "string" - }, - "rewrite": { - "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" - }, - "tie_breaker": { - "description": "How to combine the queries generated from the individual search terms in the resulting `dis_max` query.", - "type": "number" - }, - "time_zone": { - "$ref": "#/components/schemas/_types:TimeZone" - }, - "type": { - "$ref": "#/components/schemas/_types.query_dsl:TextQueryType" + "response": { + "$ref": "#/components/schemas/async_search._types:AsyncSearch" } }, "required": [ - "query" + "response" ] } ] }, - "_types:TimeZone": { - "type": "string" - }, - "_types.query_dsl:RangeQuery": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:DateRangeQuery" + "async_search._types:AsyncSearch": { + "type": "object", + "properties": { + "aggregations": { + "description": "Partial aggregations results, coming from the shards that have already completed the execution of the query.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:Aggregate" + } }, - { - "$ref": "#/components/schemas/_types.query_dsl:NumberRangeQuery" - } - ] - }, - "_types.query_dsl:DateRangeQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:RangeQueryBase" + "_clusters": { + "$ref": "#/components/schemas/_types:ClusterStatistics" }, - { + "fields": { "type": "object", - "properties": { - "gt": { - "$ref": "#/components/schemas/_types:DateMath" - }, - "gte": { - "$ref": "#/components/schemas/_types:DateMath" - }, - "lt": { - "$ref": "#/components/schemas/_types:DateMath" - }, - "lte": { - "$ref": "#/components/schemas/_types:DateMath" - }, - "from": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:DateMath" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "to": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:DateMath" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "format": { - "$ref": "#/components/schemas/_types:DateFormat" - }, - "time_zone": { - "$ref": "#/components/schemas/_types:TimeZone" - } + "additionalProperties": { + "type": "object" } - } - ] - }, - "_types:DateFormat": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-date-format.html" - }, - "type": "string" - }, - "_types.query_dsl:RangeQueryBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, - { + "hits": { + "$ref": "#/components/schemas/_global.search._types:HitsMetadata" + }, + "max_score": { + "type": "number" + }, + "num_reduce_phases": { + "description": "Indicates how many reductions of the results have been performed.\nIf this number increases compared to the last retrieved results for a get asynch search request, you can expect additional results included in the search response.", + "type": "number" + }, + "profile": { + "$ref": "#/components/schemas/_global.search._types:Profile" + }, + "pit_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_scroll_id": { + "$ref": "#/components/schemas/_types:ScrollId" + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "suggest": { "type": "object", - "properties": { - "relation": { - "$ref": "#/components/schemas/_types.query_dsl:RangeRelation" + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Suggest" } } + }, + "terminated_early": { + "type": "boolean" + }, + "timed_out": { + "type": "boolean" + }, + "took": { + "type": "number" } + }, + "required": [ + "hits", + "_shards", + "timed_out", + "took" ] }, - "_types.query_dsl:RangeRelation": { - "type": "string", - "enum": [ - "within", - "contains", - "intersects" - ] - }, - "_types.query_dsl:NumberRangeQuery": { - "allOf": [ + "_types.aggregations:Aggregate": { + "oneOf": [ { - "$ref": "#/components/schemas/_types.query_dsl:RangeQueryBase" + "$ref": "#/components/schemas/_types.aggregations:CardinalityAggregate" }, { - "type": "object", - "properties": { - "gt": { - "description": "Greater than.", - "type": "number" - }, - "gte": { - "description": "Greater than or equal to.", - "type": "number" - }, - "lt": { - "description": "Less than.", - "type": "number" - }, - "lte": { - "description": "Less than or equal to.", - "type": "number" - }, - "from": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "to": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - } - } - } - ] - }, - "_types.query_dsl:RankFeatureQuery": { - "allOf": [ + "$ref": "#/components/schemas/_types.aggregations:HdrPercentilesAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:HdrPercentileRanksAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:TDigestPercentilesAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:TDigestPercentileRanksAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:PercentilesBucketAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:MedianAbsoluteDeviationAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:MinAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:MaxAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:SumAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:AvgAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:WeightedAvgAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:ValueCountAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:SimpleValueAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:DerivativeAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:BucketMetricValueAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:StatsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:StatsBucketAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsBucketAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GeoBoundsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GeoCentroidAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:HistogramAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:DateHistogramAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:AutoDateHistogramAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:VariableWidthHistogramAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:StringTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:LongTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:DoubleTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:UnmappedTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:LongRareTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:StringRareTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:UnmappedRareTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:MultiTermsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:MissingAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:NestedAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:ReverseNestedAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GlobalAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:FilterAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:ChildrenAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:ParentAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:SamplerAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:UnmappedSamplerAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GeoHashGridAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GeoTileGridAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GeoHexGridAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:RangeAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:DateRangeAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GeoDistanceAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:IpRangeAggregate" + }, { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + "$ref": "#/components/schemas/_types.aggregations:IpPrefixAggregate" }, { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "saturation": { - "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunctionSaturation" - }, - "log": { - "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunctionLogarithm" - }, - "linear": { - "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunctionLinear" - }, - "sigmoid": { - "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunctionSigmoid" - } - }, - "required": [ - "field" - ] - } - ] - }, - "_types.query_dsl:RankFeatureFunctionSaturation": { - "allOf": [ + "$ref": "#/components/schemas/_types.aggregations:FiltersAggregate" + }, { - "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunction" + "$ref": "#/components/schemas/_types.aggregations:AdjacencyMatrixAggregate" }, { - "type": "object", - "properties": { - "pivot": { - "description": "Configurable pivot value so that the result will be less than 0.5.", - "type": "number" - } - } - } - ] - }, - "_types.query_dsl:RankFeatureFunction": { - "type": "object" - }, - "_types.query_dsl:RankFeatureFunctionLogarithm": { - "allOf": [ + "$ref": "#/components/schemas/_types.aggregations:SignificantLongTermsAggregate" + }, { - "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunction" + "$ref": "#/components/schemas/_types.aggregations:SignificantStringTermsAggregate" }, { - "type": "object", - "properties": { - "scaling_factor": { - "description": "Configurable scaling factor.", - "type": "number" - } - }, - "required": [ - "scaling_factor" - ] - } - ] - }, - "_types.query_dsl:RankFeatureFunctionLinear": { - "allOf": [ + "$ref": "#/components/schemas/_types.aggregations:UnmappedSignificantTermsAggregate" + }, { - "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunction" + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregate" }, { - "type": "object" - } - ] - }, - "_types.query_dsl:RankFeatureFunctionSigmoid": { - "allOf": [ + "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsAggregate" + }, { - "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunction" + "$ref": "#/components/schemas/_types.aggregations:ScriptedMetricAggregate" }, { - "type": "object", - "properties": { - "pivot": { - "description": "Configurable pivot value so that the result will be less than 0.5.", - "type": "number" - }, - "exponent": { - "description": "Configurable Exponent.", - "type": "number" - } - }, - "required": [ - "pivot", - "exponent" - ] + "$ref": "#/components/schemas/_types.aggregations:TopHitsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:InferenceAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:StringStatsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:BoxPlotAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:TopMetricsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:TTestAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:RateAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:CumulativeCardinalityAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:MatrixStatsAggregate" + }, + { + "$ref": "#/components/schemas/_types.aggregations:GeoLineAggregate" } ] }, - "_types.query_dsl:RegexpQuery": { + "_types.aggregations:CardinalityAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "case_insensitive": { - "description": "Allows case insensitive matching of the regular expression value with the indexed field values when set to `true`.\nWhen `false`, case sensitivity of matching depends on the underlying field’s mapping.", - "type": "boolean" - }, - "flags": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/regexp-syntax.html" - }, - "description": "Enables optional operators for the regular expression.", - "type": "string" - }, - "max_determinized_states": { - "description": "Maximum number of automaton states required for the query.", - "type": "number" - }, - "rewrite": { - "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" - }, "value": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/regexp-syntax.html" - }, - "description": "Regular expression for terms you wish to find in the provided field.", - "type": "string" + "type": "number" } }, "required": [ @@ -43265,24738 +24551,25674 @@ } ] }, - "_types.query_dsl:RuleQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "organic": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "ruleset_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "match_criteria": { - "type": "object" - } - }, - "required": [ - "organic", - "ruleset_id", - "match_criteria" - ] + "_types.aggregations:AggregateBase": { + "type": "object", + "properties": { + "meta": { + "$ref": "#/components/schemas/_types:Metadata" } - ] + } }, - "_types.query_dsl:ScriptQuery": { + "_types:Metadata": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "_types.aggregations:HdrPercentilesAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" }, { - "type": "object", - "properties": { - "script": { - "$ref": "#/components/schemas/_types:Script" - } - }, - "required": [ - "script" - ] + "type": "object" } ] }, - "_types.query_dsl:ScriptScoreQuery": { + "_types.aggregations:PercentilesAggregateBase": { "allOf": [ { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "min_score": { - "description": "Documents with a score lower than this floating point number are excluded from the search results.", - "type": "number" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" + "values": { + "$ref": "#/components/schemas/_types.aggregations:Percentiles" } }, "required": [ - "query", - "script" + "values" ] } ] }, - "_types.query_dsl:ShapeQuery": { - "allOf": [ + "_types.aggregations:Percentiles": { + "oneOf": [ { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + "$ref": "#/components/schemas/_types.aggregations:KeyedPercentiles" }, { - "type": "object", - "properties": { - "ignore_unmapped": { - "description": "When set to `true` the query ignores an unmapped field and will not match any documents.", - "type": "boolean" - } + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:ArrayPercentilesItem" } } ] }, - "_types.query_dsl:SimpleQueryStringQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + "_types.aggregations:KeyedPercentiles": { + "type": "object", + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + } + }, + "_types.aggregations:ArrayPercentilesItem": { + "type": "object", + "properties": { + "key": { + "type": "string" }, - { - "type": "object", - "properties": { - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" - }, - "description": "Analyzer used to convert text in the query string into tokens.", - "type": "string" - }, - "analyze_wildcard": { - "description": "If `true`, the query attempts to analyze wildcard terms in the query string.", - "type": "boolean" - }, - "auto_generate_synonyms_phrase_query": { - "description": "If `true`, the parser creates a match_phrase query for each multi-position token.", - "type": "boolean" - }, - "default_operator": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "fields": { - "description": "Array of fields you wish to search.\nAccepts wildcard expressions.\nYou also can boost relevance scores for matches to particular fields using a caret (`^`) notation.\nDefaults to the `index.query.default_field index` setting, which has a default value of `*`.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "flags": { - "$ref": "#/components/schemas/_types.query_dsl:SimpleQueryStringFlags" - }, - "fuzzy_max_expansions": { - "description": "Maximum number of terms to which the query expands for fuzzy matching.", - "type": "number" - }, - "fuzzy_prefix_length": { - "description": "Number of beginning characters left unchanged for fuzzy matching.", + "value": { + "oneOf": [ + { "type": "number" }, - "fuzzy_transpositions": { - "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).", - "type": "boolean" - }, - "lenient": { - "description": "If `true`, format-based errors, such as providing a text value for a numeric field, are ignored.", - "type": "boolean" - }, - "minimum_should_match": { - "$ref": "#/components/schemas/_types:MinimumShouldMatch" - }, - "query": { - "description": "Query string in the simple query string syntax you wish to parse and use for search.", - "type": "string" - }, - "quote_field_suffix": { - "description": "Suffix appended to quoted text in the query string.", + { + "nullable": true, "type": "string" } - }, - "required": [ - "query" ] - } - ] - }, - "_types.query_dsl:SimpleQueryStringFlags": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-simple-query-string-query.html#supported-flags" - }, - "description": "Query flags can be either a single flag or a combination of flags, e.g. `OR|AND|PREFIX`", - "allOf": [ - { - "$ref": "#/components/schemas/_spec_utils:PipeSeparatedFlagsSimpleQueryStringFlag" - } - ] - }, - "_spec_utils:PipeSeparatedFlagsSimpleQueryStringFlag": { - "description": "A set of flags that can be represented as a single enum value or a set of values that are encoded\nas a pipe-separated string\n\nDepending on the target language, code generators can use this hint to generate language specific\nflags enum constructs and the corresponding (de-)serialization code.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:SimpleQueryStringFlag" }, - { + "value_as_string": { "type": "string" } + }, + "required": [ + "key", + "value" ] }, - "_types.query_dsl:SimpleQueryStringFlag": { - "type": "string", - "enum": [ - "NONE", - "AND", - "NOT", - "OR", - "PREFIX", - "PHRASE", - "PRECEDENCE", - "ESCAPE", - "WHITESPACE", - "FUZZY", - "NEAR", - "SLOP", - "ALL" - ] - }, - "_types.query_dsl:SpanContainingQuery": { + "_types.aggregations:HdrPercentileRanksAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" }, { - "type": "object", - "properties": { - "big": { - "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" - }, - "little": { - "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" - } - }, - "required": [ - "big", - "little" - ] + "type": "object" } ] }, - "_types.query_dsl:SpanQuery": { - "type": "object", - "properties": { - "span_containing": { - "$ref": "#/components/schemas/_types.query_dsl:SpanContainingQuery" - }, - "field_masking_span": { - "$ref": "#/components/schemas/_types.query_dsl:SpanFieldMaskingQuery" - }, - "span_first": { - "$ref": "#/components/schemas/_types.query_dsl:SpanFirstQuery" - }, - "span_gap": { - "$ref": "#/components/schemas/_types.query_dsl:SpanGapQuery" - }, - "span_multi": { - "$ref": "#/components/schemas/_types.query_dsl:SpanMultiTermQuery" - }, - "span_near": { - "$ref": "#/components/schemas/_types.query_dsl:SpanNearQuery" - }, - "span_not": { - "$ref": "#/components/schemas/_types.query_dsl:SpanNotQuery" - }, - "span_or": { - "$ref": "#/components/schemas/_types.query_dsl:SpanOrQuery" - }, - "span_term": { - "description": "The equivalent of the `term` query but for use with other span queries.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:SpanTermQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "span_within": { - "$ref": "#/components/schemas/_types.query_dsl:SpanWithinQuery" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "_types.query_dsl:SpanFieldMaskingQuery": { + "_types.aggregations:TDigestPercentilesAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" }, { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" - } - }, - "required": [ - "field", - "query" - ] + "type": "object" } ] }, - "_types.query_dsl:SpanFirstQuery": { + "_types.aggregations:TDigestPercentileRanksAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" }, { - "type": "object", - "properties": { - "end": { - "description": "Controls the maximum end position permitted in a match.", - "type": "number" - }, - "match": { - "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" - } - }, - "required": [ - "end", - "match" - ] + "type": "object" } ] }, - "_types.query_dsl:SpanGapQuery": { - "description": "Can only be used as a clause in a span_near query.", - "type": "object", - "additionalProperties": { - "type": "number" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "_types.query_dsl:SpanMultiTermQuery": { + "_types.aggregations:PercentilesBucketAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" }, { - "type": "object", - "properties": { - "match": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - }, - "required": [ - "match" - ] + "type": "object" } ] }, - "_types.query_dsl:SpanNearQuery": { + "_types.aggregations:MedianAbsoluteDeviationAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "clauses": { - "description": "Array of one or more other span type queries.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" - } - }, - "in_order": { - "description": "Controls whether matches are required to be in-order.", - "type": "boolean" - }, - "slop": { - "description": "Controls the maximum number of intervening unmatched positions permitted.", - "type": "number" - } - }, - "required": [ - "clauses" - ] + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" + }, + { + "type": "object" } ] }, - "_types.query_dsl:SpanNotQuery": { + "_types.aggregations:SingleMetricAggregateBase": { "allOf": [ { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "dist": { - "description": "The number of tokens from within the include span that can’t have overlap with the exclude span.\nEquivalent to setting both `pre` and `post`.", - "type": "number" - }, - "exclude": { - "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" - }, - "include": { - "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" - }, - "post": { - "description": "The number of tokens after the include span that can’t have overlap with the exclude span.", - "type": "number" + "value": { + "description": "The metric value. A missing value generally means that there was no data to aggregate,\nunless specified otherwise.", + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] }, - "pre": { - "description": "The number of tokens before the include span that can’t have overlap with the exclude span.", - "type": "number" + "value_as_string": { + "type": "string" } }, "required": [ - "exclude", - "include" + "value" ] } ] }, - "_types.query_dsl:SpanOrQuery": { + "_types.aggregations:MinAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" }, { - "type": "object", - "properties": { - "clauses": { - "description": "Array of one or more other span type queries.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" - } - } - }, - "required": [ - "clauses" - ] + "type": "object" } ] }, - "_types.query_dsl:SpanTermQuery": { + "_types.aggregations:MaxAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" }, { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] + "type": "object" } ] }, - "_types.query_dsl:SpanWithinQuery": { + "_types.aggregations:SumAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" }, { - "type": "object", - "properties": { - "big": { - "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" - }, - "little": { - "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" - } - }, - "required": [ - "big", - "little" - ] + "type": "object" } ] }, - "_types.query_dsl:TermQuery": { + "_types.aggregations:AvgAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" }, { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/_types:FieldValue" - }, - "case_insensitive": { - "description": "Allows ASCII case insensitive matching of the value with the indexed field values when set to `true`.\nWhen `false`, the case sensitivity of matching depends on the underlying field’s mapping.", - "type": "boolean" - } - }, - "required": [ - "value" - ] + "type": "object" } ] }, - "_types.query_dsl:TermsQuery": { + "_types.aggregations:WeightedAvgAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" }, { "type": "object" } ] }, - "_types.query_dsl:TermsSetQuery": { + "_types.aggregations:ValueCountAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" }, { - "type": "object", - "properties": { - "minimum_should_match_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "minimum_should_match_script": { - "$ref": "#/components/schemas/_types:Script" - }, - "terms": { - "description": "Array of terms you wish to find in the provided field.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "terms" - ] + "type": "object" } ] }, - "_types.query_dsl:TextExpansionQuery": { + "_types.aggregations:SimpleValueAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" }, { - "type": "object", - "properties": { - "model_id": { - "description": "The text expansion NLP model to use", - "type": "string" - }, - "model_text": { - "description": "The query text", - "type": "string" - } - }, - "required": [ - "model_id", - "model_text" - ] + "type": "object" } ] }, - "_types.query_dsl:WildcardQuery": { + "_types.aggregations:DerivativeAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" }, { "type": "object", "properties": { - "case_insensitive": { - "description": "Allows case insensitive matching of the pattern with the indexed field values when set to true. Default is false which means the case sensitivity of matching depends on the underlying field’s mapping.", - "type": "boolean" - }, - "rewrite": { - "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" - }, - "value": { - "description": "Wildcard pattern for terms you wish to find in the provided field. Required, when wildcard is not set.", - "type": "string" + "normalized_value": { + "type": "number" }, - "wildcard": { - "description": "Wildcard pattern for terms you wish to find in the provided field. Required, when value is not set.", + "normalized_value_as_string": { "type": "string" } } } ] }, - "_types.query_dsl:WrapperQuery": { + "_types.aggregations:BucketMetricValueAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" }, { "type": "object", "properties": { - "query": { - "description": "A base64 encoded query.\nThe binary data format can be any of JSON, YAML, CBOR or SMILE encodings", - "type": "string" + "keys": { + "type": "array", + "items": { + "type": "string" + } } }, "required": [ - "query" + "keys" ] } ] }, - "_types.query_dsl:TypeQuery": { + "_types.aggregations:StatsAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "value": { + "count": { + "type": "number" + }, + "min": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "max": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "avg": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "sum": { + "type": "number" + }, + "min_as_string": { + "type": "string" + }, + "max_as_string": { + "type": "string" + }, + "avg_as_string": { + "type": "string" + }, + "sum_as_string": { "type": "string" } }, "required": [ - "value" + "count", + "min", + "max", + "avg", + "sum" ] } ] }, - "_types.aggregations:BucketAggregationBase": { + "_types.aggregations:StatsBucketAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:Aggregation" + "$ref": "#/components/schemas/_types.aggregations:StatsAggregate" }, { "type": "object" } ] }, - "_types.aggregations:Aggregation": { - "type": "object", - "properties": { - "meta": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "name": { - "type": "string" - } - } - }, - "_types.aggregations:AutoDateHistogramAggregation": { + "_types.aggregations:ExtendedStatsAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:StatsAggregate" }, { "type": "object", "properties": { - "buckets": { - "description": "The target number of buckets.", - "type": "number" + "sum_of_squares": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] }, - "field": { - "$ref": "#/components/schemas/_types:Field" + "variance": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] }, - "format": { - "description": "The date format used to format `key_as_string` in the response.\nIf no `format` is specified, the first date format specified in the field mapping is used.", - "type": "string" + "variance_population": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] }, - "minimum_interval": { - "$ref": "#/components/schemas/_types.aggregations:MinimumInterval" + "variance_sampling": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] }, - "missing": { - "$ref": "#/components/schemas/_types:DateTime" + "std_deviation": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] }, - "offset": { - "description": "Time zone specified as a ISO 8601 UTC offset.", + "std_deviation_population": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "std_deviation_sampling": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "std_deviation_bounds": { + "$ref": "#/components/schemas/_types.aggregations:StandardDeviationBounds" + }, + "sum_of_squares_as_string": { "type": "string" }, - "params": { - "type": "object", - "additionalProperties": { - "type": "object" - } + "variance_as_string": { + "type": "string" }, - "script": { - "$ref": "#/components/schemas/_types:Script" + "variance_population_as_string": { + "type": "string" }, - "time_zone": { - "$ref": "#/components/schemas/_types:TimeZone" + "variance_sampling_as_string": { + "type": "string" + }, + "std_deviation_as_string": { + "type": "string" + }, + "std_deviation_bounds_as_string": { + "$ref": "#/components/schemas/_types.aggregations:StandardDeviationBoundsAsString" } - } + }, + "required": [ + "sum_of_squares", + "variance", + "variance_population", + "variance_sampling", + "std_deviation", + "std_deviation_population", + "std_deviation_sampling" + ] } ] }, - "_types.aggregations:MinimumInterval": { - "type": "string", - "enum": [ - "second", - "minute", - "hour", - "day", - "month", - "year" - ] - }, - "_types.aggregations:AverageAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + "_types.aggregations:StandardDeviationBounds": { + "type": "object", + "properties": { + "upper": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] }, - { - "type": "object" - } - ] - }, - "_types.aggregations:FormatMetricAggregationBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + "lower": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] }, - { - "type": "object", - "properties": { - "format": { + "upper_population": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, "type": "string" } - } + ] + }, + "lower_population": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "upper_sampling": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "lower_sampling": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] } + }, + "required": [ + "upper", + "lower", + "upper_population", + "lower_population", + "upper_sampling", + "lower_sampling" ] }, - "_types.aggregations:MetricAggregationBase": { + "_types.aggregations:StandardDeviationBoundsAsString": { "type": "object", "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" + "upper": { + "type": "string" }, - "missing": { - "$ref": "#/components/schemas/_types.aggregations:Missing" + "lower": { + "type": "string" }, - "script": { - "$ref": "#/components/schemas/_types:Script" - } - } - }, - "_types.aggregations:Missing": { - "oneOf": [ - { + "upper_population": { "type": "string" }, - { - "type": "number" + "lower_population": { + "type": "string" }, - { - "type": "number" + "upper_sampling": { + "type": "string" }, - { - "type": "boolean" + "lower_sampling": { + "type": "string" } + }, + "required": [ + "upper", + "lower", + "upper_population", + "lower_population", + "upper_sampling", + "lower_sampling" ] }, - "_types.aggregations:AverageBucketAggregation": { + "_types.aggregations:ExtendedStatsBucketAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsAggregate" }, { "type": "object" } ] }, - "_types.aggregations:PipelineAggregationBase": { + "_types.aggregations:GeoBoundsAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketPathAggregation" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "format": { - "description": "`DecimalFormat` pattern for the output value.\nIf specified, the formatted value is returned in the aggregation’s `value_as_string` property.", - "type": "string" - }, - "gap_policy": { - "$ref": "#/components/schemas/_types.aggregations:GapPolicy" + "bounds": { + "$ref": "#/components/schemas/_types:GeoBounds" } } } ] }, - "_types.aggregations:GapPolicy": { - "type": "string", - "enum": [ - "skip", - "insert_zeros", - "keep_values" - ] - }, - "_types.aggregations:BucketPathAggregation": { - "allOf": [ + "_types:GeoBounds": { + "description": "A geo bounding box. It can be represented in various ways:\n- as 4 top/bottom/left/right coordinates\n- as 2 top_left / bottom_right points\n- as 2 top_right / bottom_left points\n- as a WKT bounding box", + "oneOf": [ { - "$ref": "#/components/schemas/_types.aggregations:Aggregation" + "$ref": "#/components/schemas/_types:CoordsGeoBounds" }, { - "type": "object", - "properties": { - "buckets_path": { - "$ref": "#/components/schemas/_types.aggregations:BucketsPath" - } - } - } - ] - }, - "_types.aggregations:BucketsPath": { - "description": "Buckets path can be expressed in different ways, and an aggregation may accept some or all of these\nforms depending on its type. Please refer to each aggregation's documentation to know what buckets\npath forms they accept.", - "oneOf": [ - { - "type": "string" + "$ref": "#/components/schemas/_types:TopLeftBottomRightGeoBounds" }, { - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/_types:TopRightBottomLeftGeoBounds" }, { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/components/schemas/_types:WktGeoBounds" } ] }, - "_types.aggregations:BoxplotAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + "_types:CoordsGeoBounds": { + "type": "object", + "properties": { + "top": { + "type": "number" }, - { - "type": "object", - "properties": { - "compression": { - "description": "Limits the maximum number of nodes used by the underlying TDigest algorithm to `20 * compression`, enabling control of memory usage and approximation error.", - "type": "number" - } - } + "bottom": { + "type": "number" + }, + "left": { + "type": "number" + }, + "right": { + "type": "number" } + }, + "required": [ + "top", + "bottom", + "left", + "right" ] }, - "_types.aggregations:BucketScriptAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + "_types:TopLeftBottomRightGeoBounds": { + "type": "object", + "properties": { + "top_left": { + "$ref": "#/components/schemas/_types:GeoLocation" }, - { - "type": "object", - "properties": { - "script": { - "$ref": "#/components/schemas/_types:Script" - } - } + "bottom_right": { + "$ref": "#/components/schemas/_types:GeoLocation" } + }, + "required": [ + "top_left", + "bottom_right" ] }, - "_types.aggregations:BucketSelectorAggregation": { - "allOf": [ + "_types:GeoLocation": { + "description": "A latitude/longitude as a 2 dimensional point. It can be represented in various ways:\n- as a `{lat, long}` object\n- as a geo hash value\n- as a `[lon, lat]` array\n- as a string in `\", \"` or WKT point formats", + "oneOf": [ { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + "$ref": "#/components/schemas/_types:LatLonGeoLocation" }, { - "type": "object", - "properties": { - "script": { - "$ref": "#/components/schemas/_types:Script" - } - } - } - ] - }, - "_types.aggregations:BucketSortAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:Aggregation" + "$ref": "#/components/schemas/_types:GeoHashLocation" }, { - "type": "object", - "properties": { - "from": { - "description": "Buckets in positions prior to `from` will be truncated.", - "type": "number" - }, - "gap_policy": { - "$ref": "#/components/schemas/_types.aggregations:GapPolicy" - }, - "size": { - "description": "The number of buckets to return.\nDefaults to all buckets of the parent aggregation.", - "type": "number" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" - } + "type": "array", + "items": { + "type": "number" } - } - ] - }, - "_types.aggregations:BucketKsAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketPathAggregation" }, { - "type": "object", - "properties": { - "alternative": { - "description": "A list of string values indicating which K-S test alternative to calculate. The valid values\nare: \"greater\", \"less\", \"two_sided\". This parameter is key for determining the K-S statistic used\nwhen calculating the K-S test. Default value is all possible alternative hypotheses.", - "type": "array", - "items": { - "type": "string" - } - }, - "fractions": { - "description": "A list of doubles indicating the distribution of the samples with which to compare to the `buckets_path` results.\nIn typical usage this is the overall proportion of documents in each bucket, which is compared with the actual\ndocument proportions in each bucket from the sibling aggregation counts. The default is to assume that overall\ndocuments are uniformly distributed on these buckets, which they would be if one used equal percentiles of a\nmetric to define the bucket end points.", - "type": "array", - "items": { - "type": "number" - } - }, - "sampling_method": { - "description": "Indicates the sampling methodology when calculating the K-S test. Note, this is sampling of the returned values.\nThis determines the cumulative distribution function (CDF) points used comparing the two samples. Default is\n`upper_tail`, which emphasizes the upper end of the CDF points. Valid options are: `upper_tail`, `uniform`,\nand `lower_tail`.", - "type": "string" - } - } + "type": "string" } ] }, - "_types.aggregations:BucketCorrelationAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketPathAggregation" + "_types:LatLonGeoLocation": { + "type": "object", + "properties": { + "lat": { + "description": "Latitude", + "type": "number" }, - { - "type": "object", - "properties": { - "function": { - "$ref": "#/components/schemas/_types.aggregations:BucketCorrelationFunction" - } - }, - "required": [ - "function" - ] + "lon": { + "description": "Longitude", + "type": "number" } + }, + "required": [ + "lat", + "lon" ] }, - "_types.aggregations:BucketCorrelationFunction": { + "_types:GeoHashLocation": { "type": "object", "properties": { - "count_correlation": { - "$ref": "#/components/schemas/_types.aggregations:BucketCorrelationFunctionCountCorrelation" + "geohash": { + "$ref": "#/components/schemas/_types:GeoHash" } }, "required": [ - "count_correlation" + "geohash" ] }, - "_types.aggregations:BucketCorrelationFunctionCountCorrelation": { + "_types:GeoHash": { + "type": "string" + }, + "_types:TopRightBottomLeftGeoBounds": { "type": "object", "properties": { - "indicator": { - "$ref": "#/components/schemas/_types.aggregations:BucketCorrelationFunctionCountCorrelationIndicator" + "top_right": { + "$ref": "#/components/schemas/_types:GeoLocation" + }, + "bottom_left": { + "$ref": "#/components/schemas/_types:GeoLocation" } }, "required": [ - "indicator" + "top_right", + "bottom_left" ] }, - "_types.aggregations:BucketCorrelationFunctionCountCorrelationIndicator": { + "_types:WktGeoBounds": { "type": "object", "properties": { - "doc_count": { - "description": "The total number of documents that initially created the expectations. It’s required to be greater\nthan or equal to the sum of all values in the buckets_path as this is the originating superset of data\nto which the term values are correlated.", - "type": "number" - }, - "expectations": { - "description": "An array of numbers with which to correlate the configured `bucket_path` values.\nThe length of this value must always equal the number of buckets returned by the `bucket_path`.", - "type": "array", - "items": { - "type": "number" - } - }, - "fractions": { - "description": "An array of fractions to use when averaging and calculating variance. This should be used if\nthe pre-calculated data and the buckets_path have known gaps. The length of fractions, if provided,\nmust equal expectations.", - "type": "array", - "items": { - "type": "number" - } + "wkt": { + "type": "string" } }, "required": [ - "doc_count", - "expectations" + "wkt" ] }, - "_types.aggregations:CardinalityAggregation": { + "_types.aggregations:GeoCentroidAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "precision_threshold": { - "description": "A unique count below which counts are expected to be close to accurate.\nThis allows to trade memory for accuracy.", + "count": { "type": "number" }, - "rehash": { - "type": "boolean" - }, - "execution_hint": { - "$ref": "#/components/schemas/_types.aggregations:CardinalityExecutionMode" + "location": { + "$ref": "#/components/schemas/_types:GeoLocation" } - } + }, + "required": [ + "count" + ] } ] }, - "_types.aggregations:CardinalityExecutionMode": { - "type": "string", - "enum": [ - "global_ordinals", - "segment_ordinals", - "direct", - "save_memory_heuristic", - "save_time_heuristic" + "_types.aggregations:HistogramAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseHistogramBucket" + }, + { + "type": "object" + } ] }, - "_types.aggregations:CategorizeTextAggregation": { + "_types.aggregations:MultiBucketAggregateBaseHistogramBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:Aggregation" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "max_unique_tokens": { - "description": "The maximum number of unique tokens at any position up to max_matched_tokens. Must be larger than 1.\nSmaller values use less memory and create fewer categories. Larger values will use more memory and\ncreate narrower categories. Max allowed value is 100.", - "type": "number" - }, - "max_matched_tokens": { - "description": "The maximum number of token positions to match on before attempting to merge categories. Larger\nvalues will use more memory and create narrower categories. Max allowed value is 100.", - "type": "number" - }, - "similarity_threshold": { - "description": "The minimum percentage of tokens that must match for text to be added to the category bucket. Must\nbe between 1 and 100. The larger the value the narrower the categories. Larger values will increase memory\nusage and create narrower categories.", - "type": "number" - }, - "categorization_filters": { - "description": "This property expects an array of regular expressions. The expressions are used to filter out matching\nsequences from the categorization field values. You can use this functionality to fine tune the categorization\nby excluding sequences from consideration when categories are defined. For example, you can exclude SQL\nstatements that appear in your log files. This property cannot be used at the same time as categorization_analyzer.\nIf you only want to define simple regular expression filters that are applied prior to tokenization, setting\nthis property is the easiest method. If you also want to customize the tokenizer or post-tokenization filtering,\nuse the categorization_analyzer property instead and include the filters as pattern_replace character filters.", - "type": "array", - "items": { - "type": "string" - } - }, - "categorization_analyzer": { - "$ref": "#/components/schemas/_types.aggregations:CategorizeTextAnalyzer" - }, - "shard_size": { - "description": "The number of categorization buckets to return from each shard before merging all the results.", - "type": "number" - }, - "size": { - "description": "The number of buckets to return.", - "type": "number" - }, - "min_doc_count": { - "description": "The minimum number of documents in a bucket to be returned to the results.", - "type": "number" - }, - "shard_min_doc_count": { - "description": "The minimum number of documents in a bucket to be returned from the shard before merging.", - "type": "number" + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsHistogramBucket" } }, "required": [ - "field" + "buckets" ] } ] }, - "_types.aggregations:CategorizeTextAnalyzer": { + "_types.aggregations:BucketsHistogramBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", "oneOf": [ { - "type": "string" - }, - { - "$ref": "#/components/schemas/_types.aggregations:CustomCategorizeTextAnalyzer" - } - ] - }, - "_types.aggregations:CustomCategorizeTextAnalyzer": { - "type": "object", - "properties": { - "char_filter": { - "type": "array", - "items": { - "type": "string" + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:HistogramBucket" } }, - "tokenizer": { - "type": "string" - }, - "filter": { + { "type": "array", "items": { - "type": "string" - } - } - } - }, - "_types.aggregations:ChildrenAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/_types:RelationName" - } + "$ref": "#/components/schemas/_types.aggregations:HistogramBucket" } } ] }, - "_types.aggregations:CompositeAggregation": { + "_types.aggregations:HistogramBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" }, { "type": "object", "properties": { - "after": { - "$ref": "#/components/schemas/_types.aggregations:CompositeAggregateKey" + "key_as_string": { + "type": "string" }, - "size": { - "description": "The number of composite buckets that should be returned.", + "key": { "type": "number" - }, - "sources": { - "description": "The value sources used to build composite buckets.\nKeys are returned in the order of the `sources` definition.", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationSource" - } - } } - } + }, + "required": [ + "key" + ] } ] }, - "_types.aggregations:CompositeAggregationSource": { + "_types.aggregations:MultiBucketBase": { "type": "object", "properties": { - "terms": { - "$ref": "#/components/schemas/_types.aggregations:CompositeTermsAggregation" - }, - "histogram": { - "$ref": "#/components/schemas/_types.aggregations:CompositeHistogramAggregation" - }, - "date_histogram": { - "$ref": "#/components/schemas/_types.aggregations:CompositeDateHistogramAggregation" - }, - "geotile_grid": { - "$ref": "#/components/schemas/_types.aggregations:CompositeGeoTileGridAggregation" + "doc_count": { + "type": "number" } - } + }, + "required": [ + "doc_count" + ] }, - "_types.aggregations:CompositeTermsAggregation": { + "_types.aggregations:DateHistogramAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseDateHistogramBucket" }, { "type": "object" } ] }, - "_types.aggregations:CompositeAggregationBase": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "missing_bucket": { - "type": "boolean" - }, - "missing_order": { - "$ref": "#/components/schemas/_types.aggregations:MissingOrder" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "value_type": { - "$ref": "#/components/schemas/_types.aggregations:ValueType" + "_types.aggregations:MultiBucketAggregateBaseDateHistogramBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, - "order": { - "$ref": "#/components/schemas/_types:SortOrder" + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsDateHistogramBucket" + } + }, + "required": [ + "buckets" + ] } - } - }, - "_types.aggregations:MissingOrder": { - "type": "string", - "enum": [ - "first", - "last", - "default" ] }, - "_types.aggregations:ValueType": { - "type": "string", - "enum": [ - "string", - "long", - "double", - "number", - "date", - "date_nanos", - "ip", - "numeric", - "geo_point", - "boolean" + "_types.aggregations:BucketsDateHistogramBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:DateHistogramBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:DateHistogramBucket" + } + } ] }, - "_types.aggregations:CompositeHistogramAggregation": { + "_types.aggregations:DateHistogramBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" }, { "type": "object", "properties": { - "interval": { - "type": "number" + "key_as_string": { + "type": "string" + }, + "key": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" } }, "required": [ - "interval" + "key" ] } ] }, - "_types.aggregations:CompositeDateHistogramAggregation": { + "_types:EpochTimeUnitMillis": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationBase" + "$ref": "#/components/schemas/_types:UnitMillis" + } + ] + }, + "_types:UnitMillis": { + "description": "Time unit for milliseconds", + "type": "number" + }, + "_types.aggregations:AutoDateHistogramAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseDateHistogramBucket" }, { "type": "object", "properties": { - "format": { - "type": "string" - }, - "calendar_interval": { - "$ref": "#/components/schemas/_types:DurationLarge" - }, - "fixed_interval": { + "interval": { "$ref": "#/components/schemas/_types:DurationLarge" - }, - "offset": { - "$ref": "#/components/schemas/_types:Duration" - }, - "time_zone": { - "$ref": "#/components/schemas/_types:TimeZone" } - } + }, + "required": [ + "interval" + ] } ] }, - "_types.aggregations:CompositeGeoTileGridAggregation": { + "_types:DurationLarge": { + "description": "A date histogram interval. Similar to `Duration` with additional units: `w` (week), `M` (month), `q` (quarter) and\n`y` (year)", + "type": "string" + }, + "_types.aggregations:VariableWidthHistogramAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseVariableWidthHistogramBucket" }, { - "type": "object", - "properties": { - "precision": { - "type": "number" - }, - "bounds": { - "$ref": "#/components/schemas/_types:GeoBounds" - } - } + "type": "object" } ] }, - "_types.aggregations:CumulativeCardinalityAggregation": { + "_types.aggregations:MultiBucketAggregateBaseVariableWidthHistogramBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { - "type": "object" + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsVariableWidthHistogramBucket" + } + }, + "required": [ + "buckets" + ] } ] }, - "_types.aggregations:CumulativeSumAggregation": { - "allOf": [ + "_types.aggregations:BucketsVariableWidthHistogramBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:VariableWidthHistogramBucket" + } }, { - "type": "object" + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:VariableWidthHistogramBucket" + } } ] }, - "_types.aggregations:DateHistogramAggregation": { + "_types.aggregations:VariableWidthHistogramBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" }, { "type": "object", "properties": { - "calendar_interval": { - "$ref": "#/components/schemas/_types.aggregations:CalendarInterval" - }, - "extended_bounds": { - "$ref": "#/components/schemas/_types.aggregations:ExtendedBoundsFieldDateMath" - }, - "hard_bounds": { - "$ref": "#/components/schemas/_types.aggregations:ExtendedBoundsFieldDateMath" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "fixed_interval": { - "$ref": "#/components/schemas/_types:Duration" - }, - "format": { - "description": "The date format used to format `key_as_string` in the response.\nIf no `format` is specified, the first date format specified in the field mapping is used.", - "type": "string" - }, - "interval": { - "$ref": "#/components/schemas/_types:Duration" - }, - "min_doc_count": { - "description": "Only returns buckets that have `min_doc_count` number of documents.\nBy default, all buckets between the first bucket that matches documents and the last one are returned.", + "min": { "type": "number" }, - "missing": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "offset": { - "$ref": "#/components/schemas/_types:Duration" - }, - "order": { - "$ref": "#/components/schemas/_types.aggregations:AggregateOrder" + "key": { + "type": "number" }, - "params": { - "type": "object", - "additionalProperties": { - "type": "object" - } + "max": { + "type": "number" }, - "script": { - "$ref": "#/components/schemas/_types:Script" + "min_as_string": { + "type": "string" }, - "time_zone": { - "$ref": "#/components/schemas/_types:TimeZone" + "key_as_string": { + "type": "string" }, - "keyed": { - "description": "Set to `true` to associate a unique string key with each bucket and return the ranges as a hash rather than an array.", - "type": "boolean" + "max_as_string": { + "type": "string" } - } + }, + "required": [ + "min", + "key", + "max" + ] } ] }, - "_types.aggregations:CalendarInterval": { - "type": "string", - "enum": [ - "second", - "minute", - "hour", - "day", - "week", - "month", - "quarter", - "year" + "_types.aggregations:StringTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseStringTermsBucket" + }, + { + "type": "object" + } ] }, - "_types.aggregations:ExtendedBoundsFieldDateMath": { - "type": "object", - "properties": { - "max": { - "$ref": "#/components/schemas/_types.aggregations:FieldDateMath" + "_types.aggregations:TermsAggregateBaseStringTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseStringTermsBucket" }, - "min": { - "$ref": "#/components/schemas/_types.aggregations:FieldDateMath" + { + "type": "object", + "properties": { + "doc_count_error_upper_bound": { + "type": "number" + }, + "sum_other_doc_count": { + "type": "number" + } + } } - }, - "required": [ - "max", - "min" ] }, - "_types.aggregations:FieldDateMath": { - "description": "A date range limit, represented either as a DateMath expression or a number expressed\naccording to the target field's precision.", - "oneOf": [ + "_types.aggregations:MultiBucketAggregateBaseStringTermsBucket": { + "allOf": [ { - "$ref": "#/components/schemas/_types:DateMath" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { - "type": "number" + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsStringTermsBucket" + } + }, + "required": [ + "buckets" + ] } ] }, - "_types.aggregations:AggregateOrder": { + "_types.aggregations:BucketsStringTermsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", "oneOf": [ { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/_types:SortOrder" - }, - "minProperties": 1, - "maxProperties": 1 + "$ref": "#/components/schemas/_types.aggregations:StringTermsBucket" + } }, { "type": "array", "items": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:SortOrder" - }, - "minProperties": 1, - "maxProperties": 1 + "$ref": "#/components/schemas/_types.aggregations:StringTermsBucket" } } ] }, - "_types.aggregations:DateRangeAggregation": { + "_types.aggregations:StringTermsBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:TermsBucketBase" }, { "type": "object", "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "format": { - "description": "The date format used to format `from` and `to` in the response.", - "type": "string" - }, - "missing": { - "$ref": "#/components/schemas/_types.aggregations:Missing" - }, - "ranges": { - "description": "Array of date ranges.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:DateRangeExpression" - } - }, - "time_zone": { - "$ref": "#/components/schemas/_types:TimeZone" - }, - "keyed": { - "description": "Set to `true` to associate a unique string key with each bucket and returns the ranges as a hash rather than an array.", - "type": "boolean" + "key": { + "$ref": "#/components/schemas/_types:FieldValue" } - } + }, + "required": [ + "key" + ] } ] }, - "_types.aggregations:DateRangeExpression": { - "type": "object", - "properties": { - "from": { - "$ref": "#/components/schemas/_types.aggregations:FieldDateMath" + "_types:FieldValue": { + "description": "A field value.", + "oneOf": [ + { + "type": "number" }, - "key": { - "description": "Custom key to return the range with.", + { + "type": "number" + }, + { "type": "string" }, - "to": { - "$ref": "#/components/schemas/_types.aggregations:FieldDateMath" - } - } - }, - "_types.aggregations:DerivativeAggregation": { - "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + "type": "boolean" + }, + { + "nullable": true, + "type": "string" }, { "type": "object" } ] }, - "_types.aggregations:DiversifiedSamplerAggregation": { + "_types.aggregations:TermsBucketBase": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" }, { "type": "object", "properties": { - "execution_hint": { - "$ref": "#/components/schemas/_types.aggregations:SamplerAggregationExecutionHint" - }, - "max_docs_per_value": { - "description": "Limits how many documents are permitted per choice of de-duplicating value.", - "type": "number" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "shard_size": { - "description": "Limits how many top-scoring documents are collected in the sample processed on each shard.", + "doc_count_error": { "type": "number" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" } } } ] }, - "_types.aggregations:SamplerAggregationExecutionHint": { - "type": "string", - "enum": [ - "map", - "global_ordinals", - "bytes_hash" + "_types.aggregations:LongTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseLongTermsBucket" + }, + { + "type": "object" + } ] }, - "_types.aggregations:ExtendedStatsAggregation": { + "_types.aggregations:TermsAggregateBaseLongTermsBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseLongTermsBucket" }, { "type": "object", "properties": { - "sigma": { - "description": "The number of standard deviations above/below the mean to display.", + "doc_count_error_upper_bound": { + "type": "number" + }, + "sum_other_doc_count": { "type": "number" } } } ] }, - "_types.aggregations:ExtendedStatsBucketAggregation": { + "_types.aggregations:MultiBucketAggregateBaseLongTermsBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "sigma": { - "description": "The number of standard deviations above/below the mean to display.", - "type": "number" + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsLongTermsBucket" } - } + }, + "required": [ + "buckets" + ] } ] }, - "_types.aggregations:FrequentItemSetsAggregation": { - "type": "object", - "properties": { - "fields": { - "description": "Fields to analyze.", + "_types.aggregations:BucketsLongTermsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:LongTermsBucket" + } + }, + { "type": "array", "items": { - "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsField" + "$ref": "#/components/schemas/_types.aggregations:LongTermsBucket" } - }, - "minimum_set_size": { - "description": "The minimum size of one item set.", - "type": "number" - }, - "minimum_support": { - "description": "The minimum support of one item set.", - "type": "number" - }, - "size": { - "description": "The number of top item sets to return.", - "type": "number" - }, - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" } - }, - "required": [ - "fields" ] }, - "_types.aggregations:FrequentItemSetsField": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" + "_types.aggregations:LongTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:TermsBucketBase" }, - "exclude": { - "description": "Values to exclude.\nCan be regular expression strings or arrays of strings of exact terms.", - "oneOf": [ - { - "type": "string" + { + "type": "object", + "properties": { + "key": { + "type": "number" }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "include": { - "description": "Values to include.\nCan be regular expression strings or arrays of strings of exact terms.", - "oneOf": [ - { + "key_as_string": { "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } } + }, + "required": [ + "key" ] } - }, - "required": [ - "field" ] }, - "_types.aggregations:FiltersAggregation": { + "_types.aggregations:DoubleTermsAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseDoubleTermsBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:TermsAggregateBaseDoubleTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseDoubleTermsBucket" }, { "type": "object", "properties": { - "filters": { - "$ref": "#/components/schemas/_types.aggregations:BucketsQueryContainer" - }, - "other_bucket": { - "description": "Set to `true` to add a bucket to the response which will contain all documents that do not match any of the given filters.", - "type": "boolean" - }, - "other_bucket_key": { - "description": "The key with which the other bucket is returned.", - "type": "string" + "doc_count_error_upper_bound": { + "type": "number" }, - "keyed": { - "description": "By default, the named filters aggregation returns the buckets as an object.\nSet to `false` to return the buckets as an array of objects.", - "type": "boolean" + "sum_other_doc_count": { + "type": "number" } } } ] }, - "_types.aggregations:BucketsQueryContainer": { + "_types.aggregations:MultiBucketAggregateBaseDoubleTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsDoubleTermsBucket" + } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsDoubleTermsBucket": { "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", "oneOf": [ { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + "$ref": "#/components/schemas/_types.aggregations:DoubleTermsBucket" } }, { "type": "array", "items": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - } - ] - }, - "_types.aggregations:GeoBoundsAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" - }, - { - "type": "object", - "properties": { - "wrap_longitude": { - "description": "Specifies whether the bounding box should be allowed to overlap the international date line.", - "type": "boolean" - } + "$ref": "#/components/schemas/_types.aggregations:DoubleTermsBucket" } } ] }, - "_types.aggregations:GeoCentroidAggregation": { + "_types.aggregations:DoubleTermsBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:TermsBucketBase" }, { "type": "object", "properties": { - "count": { + "key": { "type": "number" }, - "location": { - "$ref": "#/components/schemas/_types:GeoLocation" + "key_as_string": { + "type": "string" } - } + }, + "required": [ + "key" + ] } ] }, - "_types.aggregations:GeoDistanceAggregation": { + "_types.aggregations:UnmappedTermsAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseVoid" }, { - "type": "object", - "properties": { - "distance_type": { - "$ref": "#/components/schemas/_types:GeoDistanceType" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "origin": { - "$ref": "#/components/schemas/_types:GeoLocation" - }, - "ranges": { - "description": "An array of ranges used to bucket documents.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:AggregationRange" - } - }, - "unit": { - "$ref": "#/components/schemas/_types:DistanceUnit" - } - } + "type": "object" } ] }, - "_types.aggregations:AggregationRange": { - "type": "object", - "properties": { - "from": { - "description": "Start of the range (inclusive).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "key": { - "description": "Custom key to return the range with.", - "type": "string" - }, - "to": { - "description": "End of the range (exclusive).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - } - } - }, - "_types.aggregations:GeoHashGridAggregation": { + "_types.aggregations:TermsAggregateBaseVoid": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseVoid" }, { "type": "object", "properties": { - "bounds": { - "$ref": "#/components/schemas/_types:GeoBounds" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "precision": { - "$ref": "#/components/schemas/_types:GeoHashPrecision" - }, - "shard_size": { - "description": "Allows for more accurate counting of the top cells returned in the final result the aggregation.\nDefaults to returning `max(10,(size x number-of-shards))` buckets from each shard.", + "doc_count_error_upper_bound": { "type": "number" }, - "size": { - "description": "The maximum number of geohash buckets to return.", + "sum_other_doc_count": { "type": "number" } } } ] }, - "_types:GeoHashPrecision": { - "description": "A precision that can be expressed as a geohash length between 1 and 12, or a distance measure like \"1km\", \"10m\".", - "oneOf": [ + "_types.aggregations:MultiBucketAggregateBaseVoid": { + "allOf": [ { - "type": "number" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { - "type": "string" + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsVoid" + } + }, + "required": [ + "buckets" + ] } ] }, - "_types.aggregations:GeoLineAggregation": { - "type": "object", - "properties": { - "point": { - "$ref": "#/components/schemas/_types.aggregations:GeoLinePoint" - }, - "sort": { - "$ref": "#/components/schemas/_types.aggregations:GeoLineSort" - }, - "include_sort": { - "description": "When `true`, returns an additional array of the sort values in the feature properties.", - "type": "boolean" - }, - "sort_order": { - "$ref": "#/components/schemas/_types:SortOrder" + "_types.aggregations:BucketsVoid": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_spec_utils:Void" + } }, - "size": { - "description": "The maximum length of the line represented in the aggregation.\nValid sizes are between 1 and 10000.", - "type": "number" + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_spec_utils:Void" + } } - }, - "required": [ - "point", - "sort" ] }, - "_types.aggregations:GeoLinePoint": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field" - ] + "_spec_utils:Void": { + "description": "The absence of any type. This is commonly used in APIs that don't return a body.\n\nAlthough \"void\" is generally used for the unit type that has only one value, this is to be interpreted as\nthe bottom type that has no value at all. Most languages have a unit type, but few have a bottom type.\n\nSee https://en.m.wikipedia.org/wiki/Unit_type and https://en.m.wikipedia.org/wiki/Bottom_type", + "type": "object" }, - "_types.aggregations:GeoLineSort": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" + "_types.aggregations:LongRareTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseLongRareTermsBucket" + }, + { + "type": "object" } - }, - "required": [ - "field" ] }, - "_types.aggregations:GeoTileGridAggregation": { + "_types.aggregations:MultiBucketAggregateBaseLongRareTermsBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "precision": { - "$ref": "#/components/schemas/_types:GeoTilePrecision" - }, - "shard_size": { - "description": "Allows for more accurate counting of the top cells returned in the final result the aggregation.\nDefaults to returning `max(10,(size x number-of-shards))` buckets from each shard.", - "type": "number" - }, - "size": { - "description": "The maximum number of buckets to return.", - "type": "number" - }, - "bounds": { - "$ref": "#/components/schemas/_types:GeoBounds" + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsLongRareTermsBucket" } - } + }, + "required": [ + "buckets" + ] } ] }, - "_types:GeoTilePrecision": { - "type": "number" + "_types.aggregations:BucketsLongRareTermsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:LongRareTermsBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:LongRareTermsBucket" + } + } + ] }, - "_types.aggregations:GeohexGridAggregation": { + "_types.aggregations:LongRareTermsBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" }, { "type": "object", "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "precision": { - "description": "Integer zoom of the key used to defined cells or buckets\nin the results. Value should be between 0-15.", - "type": "number" - }, - "bounds": { - "$ref": "#/components/schemas/_types:GeoBounds" - }, - "size": { - "description": "Maximum number of buckets to return.", + "key": { "type": "number" }, - "shard_size": { - "description": "Number of buckets returned from each shard.", - "type": "number" + "key_as_string": { + "type": "string" } }, "required": [ - "field" + "key" ] } ] }, - "_types.aggregations:GlobalAggregation": { + "_types.aggregations:StringRareTermsAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseStringRareTermsBucket" }, { "type": "object" } ] }, - "_types.aggregations:HistogramAggregation": { + "_types.aggregations:MultiBucketAggregateBaseStringRareTermsBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "extended_bounds": { - "$ref": "#/components/schemas/_types.aggregations:ExtendedBoundsdouble" - }, - "hard_bounds": { - "$ref": "#/components/schemas/_types.aggregations:ExtendedBoundsdouble" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "interval": { - "description": "The interval for the buckets.\nMust be a positive decimal.", - "type": "number" - }, - "min_doc_count": { - "description": "Only returns buckets that have `min_doc_count` number of documents.\nBy default, the response will fill gaps in the histogram with empty buckets.", - "type": "number" - }, - "missing": { - "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", - "type": "number" - }, - "offset": { - "description": "By default, the bucket keys start with 0 and then continue in even spaced steps of `interval`.\nThe bucket boundaries can be shifted by using the `offset` option.", - "type": "number" - }, - "order": { - "$ref": "#/components/schemas/_types.aggregations:AggregateOrder" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "format": { - "type": "string" - }, - "keyed": { - "description": "If `true`, returns buckets as a hash instead of an array, keyed by the bucket keys.", - "type": "boolean" + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsStringRareTermsBucket" } - } + }, + "required": [ + "buckets" + ] } ] }, - "_types.aggregations:ExtendedBoundsdouble": { - "type": "object", - "properties": { - "max": { - "description": "Maximum value for the bound.", - "type": "number" + "_types.aggregations:BucketsStringRareTermsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:StringRareTermsBucket" + } }, - "min": { - "description": "Minimum value for the bound.", - "type": "number" + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:StringRareTermsBucket" + } } - }, - "required": [ - "max", - "min" ] }, - "_types.aggregations:IpRangeAggregation": { + "_types.aggregations:StringRareTermsBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" }, { "type": "object", "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ranges": { - "description": "Array of IP ranges.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:IpRangeAggregationRange" - } + "key": { + "type": "string" } - } + }, + "required": [ + "key" + ] } ] }, - "_types.aggregations:IpRangeAggregationRange": { - "type": "object", - "properties": { - "from": { - "description": "Start of the range.", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] + "_types.aggregations:UnmappedRareTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseVoid" }, - "mask": { - "description": "IP range defined as a CIDR mask.", - "type": "string" + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiTermsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseMultiTermsBucket" }, - "to": { - "description": "End of the range.", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] + { + "type": "object" } - } + ] }, - "_types.aggregations:IpPrefixAggregation": { + "_types.aggregations:TermsAggregateBaseMultiTermsBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseMultiTermsBucket" }, { "type": "object", "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "prefix_length": { - "description": "Length of the network prefix. For IPv4 addresses the accepted range is [0, 32].\nFor IPv6 addresses the accepted range is [0, 128].", + "doc_count_error_upper_bound": { "type": "number" }, - "is_ipv6": { - "description": "Defines whether the prefix applies to IPv6 addresses.", - "type": "boolean" - }, - "append_prefix_length": { - "description": "Defines whether the prefix length is appended to IP address keys in the response.", - "type": "boolean" - }, - "keyed": { - "description": "Defines whether buckets are returned as a hash rather than an array in the response.", - "type": "boolean" - }, - "min_doc_count": { - "description": "Minimum number of documents in a bucket for it to be included in the response.", + "sum_other_doc_count": { "type": "number" } - }, - "required": [ - "field", - "prefix_length" - ] + } } ] }, - "_types.aggregations:InferenceAggregation": { + "_types.aggregations:MultiBucketAggregateBaseMultiTermsBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "model_id": { - "$ref": "#/components/schemas/_types:Name" - }, - "inference_config": { - "$ref": "#/components/schemas/_types.aggregations:InferenceConfigContainer" + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsMultiTermsBucket" } }, "required": [ - "model_id" + "buckets" ] } ] }, - "_types.aggregations:InferenceConfigContainer": { - "type": "object", - "properties": { - "regression": { - "$ref": "#/components/schemas/ml._types:RegressionInferenceOptions" - }, - "classification": { - "$ref": "#/components/schemas/ml._types:ClassificationInferenceOptions" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "ml._types:RegressionInferenceOptions": { - "type": "object", - "properties": { - "results_field": { - "$ref": "#/components/schemas/_types:Field" + "_types.aggregations:BucketsMultiTermsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:MultiTermsBucket" + } }, - "num_top_feature_importance_values": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-feature-importance.html" - }, - "description": "Specifies the maximum number of feature importance values per document.", - "type": "number" + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:MultiTermsBucket" + } } - } + ] }, - "ml._types:ClassificationInferenceOptions": { - "type": "object", - "properties": { - "num_top_classes": { - "description": "Specifies the number of top class predictions to return. Defaults to 0.", - "type": "number" - }, - "num_top_feature_importance_values": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-feature-importance.html" - }, - "description": "Specifies the maximum number of feature importance values per document.", - "type": "number" - }, - "prediction_field_type": { - "description": "Specifies the type of the predicted field to write. Acceptable values are: string, number, boolean. When boolean is provided 1.0 is transformed to true and 0.0 to false.", - "type": "string" - }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" + "_types.aggregations:MultiTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" }, - "top_classes_results_field": { - "description": "Specifies the field to which the top classes are written. Defaults to top_classes.", - "type": "string" + { + "type": "object", + "properties": { + "key": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:FieldValue" + } + }, + "key_as_string": { + "type": "string" + }, + "doc_count_error_upper_bound": { + "type": "number" + } + }, + "required": [ + "key" + ] } - } + ] }, - "_types.aggregations:MatrixStatsAggregation": { + "_types.aggregations:MissingAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:MatrixAggregation" + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" }, { - "type": "object", - "properties": { - "mode": { - "$ref": "#/components/schemas/_types:SortMode" - } - } + "type": "object" } ] }, - "_types.aggregations:MatrixAggregation": { + "_types.aggregations:SingleBucketAggregateBase": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:Aggregation" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "missing": { - "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", - "type": "object", - "additionalProperties": { - "type": "number" - } + "doc_count": { + "type": "number" } - } + }, + "required": [ + "doc_count" + ] } ] }, - "_types.aggregations:MaxAggregation": { + "_types.aggregations:NestedAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" }, { "type": "object" } ] }, - "_types.aggregations:MaxBucketAggregation": { + "_types.aggregations:ReverseNestedAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" }, { "type": "object" } ] }, - "_types.aggregations:MedianAbsoluteDeviationAggregation": { + "_types.aggregations:GlobalAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" }, { - "type": "object", - "properties": { - "compression": { - "description": "Limits the maximum number of nodes used by the underlying TDigest algorithm to `20 * compression`, enabling control of memory usage and approximation error.", - "type": "number" - } - } + "type": "object" } ] }, - "_types.aggregations:MinAggregation": { + "_types.aggregations:FilterAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" }, { "type": "object" } ] }, - "_types.aggregations:MinBucketAggregation": { + "_types.aggregations:ChildrenAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" }, { "type": "object" } ] }, - "_types.aggregations:MissingAggregation": { + "_types.aggregations:ParentAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" }, { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "missing": { - "$ref": "#/components/schemas/_types.aggregations:Missing" - } - } + "type": "object" } ] }, - "_types.aggregations:MovingAverageAggregation": { - "discriminator": { - "propertyName": "model" - }, - "oneOf": [ + "_types.aggregations:SamplerAggregate": { + "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:LinearMovingAverageAggregation" + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" }, { - "$ref": "#/components/schemas/_types.aggregations:SimpleMovingAverageAggregation" - }, + "type": "object" + } + ] + }, + "_types.aggregations:UnmappedSamplerAggregate": { + "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:EwmaMovingAverageAggregation" + "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" }, { - "$ref": "#/components/schemas/_types.aggregations:HoltMovingAverageAggregation" + "type": "object" + } + ] + }, + "_types.aggregations:GeoHashGridAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseGeoHashGridBucket" }, { - "$ref": "#/components/schemas/_types.aggregations:HoltWintersMovingAverageAggregation" + "type": "object" } ] }, - "_types.aggregations:LinearMovingAverageAggregation": { + "_types.aggregations:MultiBucketAggregateBaseGeoHashGridBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "model": { - "type": "string", - "enum": [ - "linear" - ] - }, - "settings": { - "$ref": "#/components/schemas/_types:EmptyObject" + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsGeoHashGridBucket" } }, "required": [ - "model", - "settings" + "buckets" ] } ] }, - "_types:EmptyObject": { - "type": "object" - }, - "_types.aggregations:MovingAverageAggregationBase": { - "allOf": [ + "_types.aggregations:BucketsGeoHashGridBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:GeoHashGridBucket" + } }, { - "type": "object", - "properties": { - "minimize": { - "type": "boolean" - }, - "predict": { - "type": "number" - }, - "window": { - "type": "number" - } + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:GeoHashGridBucket" } } ] }, - "_types.aggregations:SimpleMovingAverageAggregation": { + "_types.aggregations:GeoHashGridBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" }, { "type": "object", "properties": { - "model": { - "type": "string", - "enum": [ - "simple" - ] - }, - "settings": { - "$ref": "#/components/schemas/_types:EmptyObject" + "key": { + "$ref": "#/components/schemas/_types:GeoHash" } }, "required": [ - "model", - "settings" + "key" ] } ] }, - "_types.aggregations:EwmaMovingAverageAggregation": { + "_types.aggregations:GeoTileGridAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseGeoTileGridBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseGeoTileGridBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "model": { - "type": "string", - "enum": [ - "ewma" - ] - }, - "settings": { - "$ref": "#/components/schemas/_types.aggregations:EwmaModelSettings" + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsGeoTileGridBucket" } }, "required": [ - "model", - "settings" + "buckets" ] } ] }, - "_types.aggregations:EwmaModelSettings": { - "type": "object", - "properties": { - "alpha": { - "type": "number" + "_types.aggregations:BucketsGeoTileGridBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:GeoTileGridBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:GeoTileGridBucket" + } } - } + ] }, - "_types.aggregations:HoltMovingAverageAggregation": { + "_types.aggregations:GeoTileGridBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" }, { "type": "object", "properties": { - "model": { - "type": "string", - "enum": [ - "holt" - ] - }, - "settings": { - "$ref": "#/components/schemas/_types.aggregations:HoltLinearModelSettings" + "key": { + "$ref": "#/components/schemas/_types:GeoTile" } }, "required": [ - "model", - "settings" + "key" ] } ] }, - "_types.aggregations:HoltLinearModelSettings": { - "type": "object", - "properties": { - "alpha": { - "type": "number" + "_types:GeoTile": { + "description": "A map tile reference, represented as `{zoom}/{x}/{y}`", + "type": "string" + }, + "_types.aggregations:GeoHexGridAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseGeoHexGridBucket" }, - "beta": { - "type": "number" + { + "type": "object" } - } + ] }, - "_types.aggregations:HoltWintersMovingAverageAggregation": { + "_types.aggregations:MultiBucketAggregateBaseGeoHexGridBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "model": { - "type": "string", - "enum": [ - "holt_winters" - ] - }, - "settings": { - "$ref": "#/components/schemas/_types.aggregations:HoltWintersModelSettings" + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsGeoHexGridBucket" } }, "required": [ - "model", - "settings" + "buckets" ] } ] }, - "_types.aggregations:HoltWintersModelSettings": { - "type": "object", - "properties": { - "alpha": { - "type": "number" - }, - "beta": { - "type": "number" - }, - "gamma": { - "type": "number" - }, - "pad": { - "type": "boolean" - }, - "period": { - "type": "number" + "_types.aggregations:BucketsGeoHexGridBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:GeoHexGridBucket" + } }, - "type": { - "$ref": "#/components/schemas/_types.aggregations:HoltWintersType" + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:GeoHexGridBucket" + } } - } - }, - "_types.aggregations:HoltWintersType": { - "type": "string", - "enum": [ - "add", - "mult" ] }, - "_types.aggregations:MovingPercentilesAggregation": { + "_types.aggregations:GeoHexGridBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" }, { "type": "object", "properties": { - "window": { - "description": "The size of window to \"slide\" across the histogram.", - "type": "number" - }, - "shift": { - "description": "By default, the window consists of the last n values excluding the current bucket.\nIncreasing `shift` by 1, moves the starting window position by 1 to the right.", - "type": "number" - }, - "keyed": { - "type": "boolean" + "key": { + "$ref": "#/components/schemas/_types:GeoHexCell" } - } + }, + "required": [ + "key" + ] } ] }, - "_types.aggregations:MovingFunctionAggregation": { + "_types:GeoHexCell": { + "description": "A map hex cell (H3) reference", + "type": "string" + }, + "_types.aggregations:RangeAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseRangeBucket" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:MultiBucketAggregateBaseRangeBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "script": { - "description": "The script that should be executed on each window of data.", - "type": "string" - }, - "shift": { - "description": "By default, the window consists of the last n values excluding the current bucket.\nIncreasing `shift` by 1, moves the starting window position by 1 to the right.", - "type": "number" - }, - "window": { - "description": "The size of window to \"slide\" across the histogram.", - "type": "number" + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsRangeBucket" } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsRangeBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:RangeBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:RangeBucket" } } ] }, - "_types.aggregations:MultiTermsAggregation": { + "_types.aggregations:RangeBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" }, { "type": "object", "properties": { - "collect_mode": { - "$ref": "#/components/schemas/_types.aggregations:TermsAggregationCollectMode" - }, - "order": { - "$ref": "#/components/schemas/_types.aggregations:AggregateOrder" - }, - "min_doc_count": { - "description": "The minimum number of documents in a bucket for it to be returned.", - "type": "number" - }, - "shard_min_doc_count": { - "description": "The minimum number of documents in a bucket on each shard for it to be returned.", + "from": { "type": "number" }, - "shard_size": { - "description": "The number of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", + "to": { "type": "number" }, - "show_term_doc_count_error": { - "description": "Calculates the doc count error on per term basis.", - "type": "boolean" + "from_as_string": { + "type": "string" }, - "size": { - "description": "The number of term buckets should be returned out of the overall terms list.", - "type": "number" + "to_as_string": { + "type": "string" }, - "terms": { - "description": "The field from which to generate sets of terms.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:MultiTermLookup" - } + "key": { + "description": "The bucket key. Present if the aggregation is _not_ keyed", + "type": "string" } - }, - "required": [ - "terms" - ] + } } ] }, - "_types.aggregations:TermsAggregationCollectMode": { - "type": "string", - "enum": [ - "depth_first", - "breadth_first" + "_types.aggregations:DateRangeAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:RangeAggregate" + }, + { + "type": "object" + } ] }, - "_types.aggregations:MultiTermLookup": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" + "_types.aggregations:GeoDistanceAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:RangeAggregate" }, - "missing": { - "$ref": "#/components/schemas/_types.aggregations:Missing" + { + "type": "object" } - }, - "required": [ - "field" ] }, - "_types.aggregations:NestedAggregation": { + "_types.aggregations:IpRangeAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseIpRangeBucket" }, { - "type": "object", - "properties": { - "path": { - "$ref": "#/components/schemas/_types:Field" - } - } + "type": "object" } ] }, - "_types.aggregations:NormalizeAggregation": { + "_types.aggregations:MultiBucketAggregateBaseIpRangeBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "method": { - "$ref": "#/components/schemas/_types.aggregations:NormalizeMethod" + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsIpRangeBucket" } - } + }, + "required": [ + "buckets" + ] } ] }, - "_types.aggregations:NormalizeMethod": { - "type": "string", - "enum": [ - "rescale_0_1", - "rescale_0_100", - "percent_of_sum", - "mean", - "z-score", - "softmax" - ] - }, - "_types.aggregations:ParentAggregation": { - "allOf": [ + "_types.aggregations:BucketsIpRangeBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:IpRangeBucket" + } }, { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/_types:RelationName" - } + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:IpRangeBucket" } } ] }, - "_types.aggregations:PercentileRanksAggregation": { + "_types.aggregations:IpRangeBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" }, { "type": "object", "properties": { - "keyed": { - "description": "By default, the aggregation associates a unique string key with each bucket and returns the ranges as a hash rather than an array.\nSet to `false` to disable this behavior.", - "type": "boolean" - }, - "values": { - "description": "An array of values for which to calculate the percentile ranks.", - "oneOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "nullable": true, - "type": "string" - } - ] + "key": { + "type": "string" }, - "hdr": { - "$ref": "#/components/schemas/_types.aggregations:HdrMethod" + "from": { + "type": "string" }, - "tdigest": { - "$ref": "#/components/schemas/_types.aggregations:TDigest" + "to": { + "type": "string" } } } ] }, - "_types.aggregations:HdrMethod": { - "type": "object", - "properties": { - "number_of_significant_value_digits": { - "description": "Specifies the resolution of values for the histogram in number of significant digits.", - "type": "number" - } - } - }, - "_types.aggregations:TDigest": { - "type": "object", - "properties": { - "compression": { - "description": "Limits the maximum number of nodes used by the underlying TDigest algorithm to `20 * compression`, enabling control of memory usage and approximation error.", - "type": "number" + "_types.aggregations:IpPrefixAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseIpPrefixBucket" + }, + { + "type": "object" } - } + ] }, - "_types.aggregations:PercentilesAggregation": { + "_types.aggregations:MultiBucketAggregateBaseIpPrefixBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "keyed": { - "description": "By default, the aggregation associates a unique string key with each bucket and returns the ranges as a hash rather than an array.\nSet to `false` to disable this behavior.", - "type": "boolean" - }, - "percents": { - "description": "The percentiles to calculate.", - "type": "array", - "items": { - "type": "number" - } - }, - "hdr": { - "$ref": "#/components/schemas/_types.aggregations:HdrMethod" - }, - "tdigest": { - "$ref": "#/components/schemas/_types.aggregations:TDigest" + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsIpPrefixBucket" } - } + }, + "required": [ + "buckets" + ] } ] }, - "_types.aggregations:PercentilesBucketAggregation": { - "allOf": [ + "_types.aggregations:BucketsIpPrefixBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:IpPrefixBucket" + } }, { - "type": "object", - "properties": { - "percents": { - "description": "The list of percentiles to calculate.", - "type": "array", - "items": { - "type": "number" - } - } + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:IpPrefixBucket" } } ] }, - "_types.aggregations:RangeAggregation": { + "_types.aggregations:IpPrefixBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" }, { "type": "object", "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "missing": { - "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", - "type": "number" - }, - "ranges": { - "description": "An array of ranges used to bucket documents.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:AggregationRange" - } + "is_ipv6": { + "type": "boolean" }, - "script": { - "$ref": "#/components/schemas/_types:Script" + "key": { + "type": "string" }, - "keyed": { - "description": "Set to `true` to associate a unique string key with each bucket and return the ranges as a hash rather than an array.", - "type": "boolean" + "prefix_length": { + "type": "number" }, - "format": { + "netmask": { "type": "string" } - } + }, + "required": [ + "is_ipv6", + "key", + "prefix_length" + ] } ] }, - "_types.aggregations:RareTermsAggregation": { + "_types.aggregations:FiltersAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseFiltersBucket" }, { - "type": "object", - "properties": { - "exclude": { - "$ref": "#/components/schemas/_types.aggregations:TermsExclude" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "include": { - "$ref": "#/components/schemas/_types.aggregations:TermsInclude" - }, - "max_doc_count": { - "description": "The maximum number of documents a term should appear in.", - "type": "number" - }, - "missing": { - "$ref": "#/components/schemas/_types.aggregations:Missing" - }, - "precision": { - "description": "The precision of the internal CuckooFilters.\nSmaller precision leads to better approximation, but higher memory usage.", - "type": "number" - }, - "value_type": { - "type": "string" - } - } + "type": "object" } ] }, - "_types.aggregations:TermsExclude": { - "oneOf": [ + "_types.aggregations:MultiBucketAggregateBaseFiltersBucket": { + "allOf": [ { - "type": "string" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { - "type": "array", - "items": { - "type": "string" - } + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsFiltersBucket" + } + }, + "required": [ + "buckets" + ] } ] }, - "_types.aggregations:TermsInclude": { + "_types.aggregations:BucketsFiltersBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", "oneOf": [ { - "type": "string" + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:FiltersBucket" + } }, { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/_types.aggregations:FiltersBucket" } - }, - { - "$ref": "#/components/schemas/_types.aggregations:TermsPartition" } ] }, - "_types.aggregations:TermsPartition": { - "type": "object", - "properties": { - "num_partitions": { - "description": "The number of partitions.", - "type": "number" + "_types.aggregations:FiltersBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" }, - "partition": { - "description": "The partition number for this request.", - "type": "number" + { + "type": "object" } - }, - "required": [ - "num_partitions", - "partition" ] }, - "_types.aggregations:RateAggregation": { + "_types.aggregations:AdjacencyMatrixAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseAdjacencyMatrixBucket" }, { - "type": "object", - "properties": { - "unit": { - "$ref": "#/components/schemas/_types.aggregations:CalendarInterval" - }, - "mode": { - "$ref": "#/components/schemas/_types.aggregations:RateMode" - } - } + "type": "object" } ] }, - "_types.aggregations:RateMode": { - "type": "string", - "enum": [ - "sum", - "value_count" - ] - }, - "_types.aggregations:ReverseNestedAggregation": { + "_types.aggregations:MultiBucketAggregateBaseAdjacencyMatrixBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "path": { - "$ref": "#/components/schemas/_types:Field" + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsAdjacencyMatrixBucket" } - } + }, + "required": [ + "buckets" + ] } ] }, - "_types.aggregations:SamplerAggregation": { - "allOf": [ + "_types.aggregations:BucketsAdjacencyMatrixBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AdjacencyMatrixBucket" + } }, { - "type": "object", - "properties": { - "shard_size": { - "description": "Limits how many top-scoring documents are collected in the sample processed on each shard.", - "type": "number" - } + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:AdjacencyMatrixBucket" } } ] }, - "_types.aggregations:ScriptedMetricAggregation": { + "_types.aggregations:AdjacencyMatrixBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" }, { "type": "object", "properties": { - "combine_script": { - "$ref": "#/components/schemas/_types:Script" - }, - "init_script": { - "$ref": "#/components/schemas/_types:Script" - }, - "map_script": { - "$ref": "#/components/schemas/_types:Script" - }, - "params": { - "description": "A global object with script parameters for `init`, `map` and `combine` scripts.\nIt is shared between the scripts.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "reduce_script": { - "$ref": "#/components/schemas/_types:Script" + "key": { + "type": "string" } - } + }, + "required": [ + "key" + ] } ] }, - "_types.aggregations:SerialDifferencingAggregation": { + "_types.aggregations:SignificantLongTermsAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:SignificantTermsAggregateBaseSignificantLongTermsBucket" }, { - "type": "object", - "properties": { - "lag": { - "description": "The historical bucket to subtract from the current value.\nMust be a positive, non-zero integer.", - "type": "number" - } - } + "type": "object" } ] }, - "_types.aggregations:SignificantTermsAggregation": { + "_types.aggregations:SignificantTermsAggregateBaseSignificantLongTermsBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseSignificantLongTermsBucket" }, { "type": "object", "properties": { - "background_filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "chi_square": { - "$ref": "#/components/schemas/_types.aggregations:ChiSquareHeuristic" - }, - "exclude": { - "$ref": "#/components/schemas/_types.aggregations:TermsExclude" - }, - "execution_hint": { - "$ref": "#/components/schemas/_types.aggregations:TermsAggregationExecutionHint" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "gnd": { - "$ref": "#/components/schemas/_types.aggregations:GoogleNormalizedDistanceHeuristic" - }, - "include": { - "$ref": "#/components/schemas/_types.aggregations:TermsInclude" - }, - "jlh": { - "$ref": "#/components/schemas/_types:EmptyObject" - }, - "min_doc_count": { - "description": "Only return terms that are found in more than `min_doc_count` hits.", - "type": "number" - }, - "mutual_information": { - "$ref": "#/components/schemas/_types.aggregations:MutualInformationHeuristic" - }, - "percentage": { - "$ref": "#/components/schemas/_types.aggregations:PercentageScoreHeuristic" - }, - "script_heuristic": { - "$ref": "#/components/schemas/_types.aggregations:ScriptedHeuristic" - }, - "shard_min_doc_count": { - "description": "Regulates the certainty a shard has if the term should actually be added to the candidate list or not with respect to the `min_doc_count`.\nTerms will only be considered if their local shard frequency within the set is higher than the `shard_min_doc_count`.", - "type": "number" - }, - "shard_size": { - "description": "Can be used to control the volumes of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", + "bg_count": { "type": "number" }, - "size": { - "description": "The number of buckets returned out of the overall terms list.", + "doc_count": { "type": "number" } } } ] }, - "_types.aggregations:ChiSquareHeuristic": { - "type": "object", - "properties": { - "background_is_superset": { - "description": "Set to `false` if you defined a custom background filter that represents a different set of documents that you want to compare to.", - "type": "boolean" + "_types.aggregations:MultiBucketAggregateBaseSignificantLongTermsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, - "include_negatives": { - "description": "Set to `false` to filter out the terms that appear less often in the subset than in documents outside the subset.", - "type": "boolean" + { + "type": "object", + "properties": { + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsSignificantLongTermsBucket" + } + }, + "required": [ + "buckets" + ] } - }, - "required": [ - "background_is_superset", - "include_negatives" - ] - }, - "_types.aggregations:TermsAggregationExecutionHint": { - "type": "string", - "enum": [ - "map", - "global_ordinals", - "global_ordinals_hash", - "global_ordinals_low_cardinality" ] }, - "_types.aggregations:GoogleNormalizedDistanceHeuristic": { - "type": "object", - "properties": { - "background_is_superset": { - "description": "Set to `false` if you defined a custom background filter that represents a different set of documents that you want to compare to.", - "type": "boolean" - } - } - }, - "_types.aggregations:MutualInformationHeuristic": { - "type": "object", - "properties": { - "background_is_superset": { - "description": "Set to `false` if you defined a custom background filter that represents a different set of documents that you want to compare to.", - "type": "boolean" + "_types.aggregations:BucketsSignificantLongTermsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:SignificantLongTermsBucket" + } }, - "include_negatives": { - "description": "Set to `false` to filter out the terms that appear less often in the subset than in documents outside the subset.", - "type": "boolean" - } - } - }, - "_types.aggregations:PercentageScoreHeuristic": { - "type": "object" - }, - "_types.aggregations:ScriptedHeuristic": { - "type": "object", - "properties": { - "script": { - "$ref": "#/components/schemas/_types:Script" + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:SignificantLongTermsBucket" + } } - }, - "required": [ - "script" ] }, - "_types.aggregations:SignificantTextAggregation": { + "_types.aggregations:SignificantLongTermsBucket": { "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "background_filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "chi_square": { - "$ref": "#/components/schemas/_types.aggregations:ChiSquareHeuristic" - }, - "exclude": { - "$ref": "#/components/schemas/_types.aggregations:TermsExclude" - }, - "execution_hint": { - "$ref": "#/components/schemas/_types.aggregations:TermsAggregationExecutionHint" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "filter_duplicate_text": { - "description": "Whether to out duplicate text to deal with noisy data.", - "type": "boolean" - }, - "gnd": { - "$ref": "#/components/schemas/_types.aggregations:GoogleNormalizedDistanceHeuristic" - }, - "include": { - "description": "Values to include.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "jlh": { - "$ref": "#/components/schemas/_types:EmptyObject" - }, - "min_doc_count": { - "description": "Only return values that are found in more than `min_doc_count` hits.", - "type": "number" - }, - "mutual_information": { - "$ref": "#/components/schemas/_types.aggregations:MutualInformationHeuristic" - }, - "percentage": { - "$ref": "#/components/schemas/_types.aggregations:PercentageScoreHeuristic" - }, - "script_heuristic": { - "$ref": "#/components/schemas/_types.aggregations:ScriptedHeuristic" - }, - "shard_min_doc_count": { - "description": "Regulates the certainty a shard has if the values should actually be added to the candidate list or not with respect to the min_doc_count.\nValues will only be considered if their local shard frequency within the set is higher than the `shard_min_doc_count`.", + { + "$ref": "#/components/schemas/_types.aggregations:SignificantTermsBucketBase" + }, + { + "type": "object", + "properties": { + "key": { "type": "number" }, - "shard_size": { - "description": "The number of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", + "key_as_string": { + "type": "string" + } + }, + "required": [ + "key" + ] + } + ] + }, + "_types.aggregations:SignificantTermsBucketBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "score": { "type": "number" }, - "size": { - "description": "The number of buckets returned out of the overall terms list.", + "bg_count": { "type": "number" - }, - "source_fields": { - "$ref": "#/components/schemas/_types:Fields" } - } + }, + "required": [ + "score", + "bg_count" + ] } ] }, - "_types.aggregations:StatsAggregation": { + "_types.aggregations:SignificantStringTermsAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:SignificantTermsAggregateBaseSignificantStringTermsBucket" }, { "type": "object" } ] }, - "_types.aggregations:StatsBucketAggregation": { + "_types.aggregations:SignificantTermsAggregateBaseSignificantStringTermsBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseSignificantStringTermsBucket" }, { - "type": "object" + "type": "object", + "properties": { + "bg_count": { + "type": "number" + }, + "doc_count": { + "type": "number" + } + } } ] }, - "_types.aggregations:StringStatsAggregation": { + "_types.aggregations:MultiBucketAggregateBaseSignificantStringTermsBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "show_distribution": { - "description": "Shows the probability distribution for all characters.", - "type": "boolean" + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsSignificantStringTermsBucket" } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsSignificantStringTermsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:SignificantStringTermsBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:SignificantStringTermsBucket" } } ] }, - "_types.aggregations:SumAggregation": { + "_types.aggregations:SignificantStringTermsBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:SignificantTermsBucketBase" }, { - "type": "object" + "type": "object", + "properties": { + "key": { + "type": "string" + } + }, + "required": [ + "key" + ] } ] }, - "_types.aggregations:SumBucketAggregation": { + "_types.aggregations:UnmappedSignificantTermsAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:SignificantTermsAggregateBaseVoid" }, { "type": "object" } ] }, - "_types.aggregations:TermsAggregation": { + "_types.aggregations:SignificantTermsAggregateBaseVoid": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseVoid" }, { "type": "object", "properties": { - "collect_mode": { - "$ref": "#/components/schemas/_types.aggregations:TermsAggregationCollectMode" - }, - "exclude": { - "$ref": "#/components/schemas/_types.aggregations:TermsExclude" - }, - "execution_hint": { - "$ref": "#/components/schemas/_types.aggregations:TermsAggregationExecutionHint" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "include": { - "$ref": "#/components/schemas/_types.aggregations:TermsInclude" - }, - "min_doc_count": { - "description": "Only return values that are found in more than `min_doc_count` hits.", - "type": "number" - }, - "missing": { - "$ref": "#/components/schemas/_types.aggregations:Missing" - }, - "missing_order": { - "$ref": "#/components/schemas/_types.aggregations:MissingOrder" - }, - "missing_bucket": { - "type": "boolean" - }, - "value_type": { - "description": "Coerced unmapped fields into the specified type.", - "type": "string" - }, - "order": { - "$ref": "#/components/schemas/_types.aggregations:AggregateOrder" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "shard_size": { - "description": "The number of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", + "bg_count": { "type": "number" }, - "show_term_doc_count_error": { - "description": "Set to `true` to return the `doc_count_error_upper_bound`, which is an upper bound to the error on the `doc_count` returned by each shard.", - "type": "boolean" - }, - "size": { - "description": "The number of buckets returned out of the overall terms list.", + "doc_count": { "type": "number" - }, - "format": { - "type": "string" } } } ] }, - "_types.aggregations:TopHitsAggregation": { + "_types.aggregations:CompositeAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseCompositeBucket" }, { "type": "object", "properties": { - "docvalue_fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "explain": { - "description": "If `true`, returns detailed information about score computation as part of a hit.", - "type": "boolean" - }, - "from": { - "description": "Starting document offset.", - "type": "number" - }, - "highlight": { - "$ref": "#/components/schemas/_global.search._types:Highlight" - }, - "script_fields": { - "description": "Returns the result of one or more script evaluations for each hit.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ScriptField" - } - }, - "size": { - "description": "The maximum number of top matching hits to return per bucket.", - "type": "number" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" - }, - "_source": { - "$ref": "#/components/schemas/_global.search._types:SourceConfig" - }, - "stored_fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "track_scores": { - "description": "If `true`, calculates and returns document scores, even if the scores are not used for sorting.", - "type": "boolean" - }, - "version": { - "description": "If `true`, returns document version as part of a hit.", - "type": "boolean" - }, - "seq_no_primary_term": { - "description": "If `true`, returns sequence number and primary term of the last modification of each hit.", - "type": "boolean" + "after_key": { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregateKey" } } } ] }, - "_types.aggregations:TTestAggregation": { + "_types.aggregations:CompositeAggregateKey": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:FieldValue" + } + }, + "_types.aggregations:MultiBucketAggregateBaseCompositeBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:Aggregation" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "a": { - "$ref": "#/components/schemas/_types.aggregations:TestPopulation" - }, - "b": { - "$ref": "#/components/schemas/_types.aggregations:TestPopulation" - }, - "type": { - "$ref": "#/components/schemas/_types.aggregations:TTestType" + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsCompositeBucket" } - } + }, + "required": [ + "buckets" + ] } ] }, - "_types.aggregations:TestPopulation": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" + "_types.aggregations:BucketsCompositeBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:CompositeBucket" + } }, - "script": { - "$ref": "#/components/schemas/_types:Script" + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:CompositeBucket" + } + } + ] + }, + "_types.aggregations:CompositeBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" }, - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + { + "type": "object", + "properties": { + "key": { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregateKey" + } + }, + "required": [ + "key" + ] } - }, - "required": [ - "field" ] }, - "_types.aggregations:TTestType": { - "type": "string", - "enum": [ - "paired", - "homoscedastic", - "heteroscedastic" + "_types.aggregations:FrequentItemSetsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseFrequentItemSetsBucket" + }, + { + "type": "object" + } ] }, - "_types.aggregations:TopMetricsAggregation": { + "_types.aggregations:MultiBucketAggregateBaseFrequentItemSetsBucket": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "metrics": { - "description": "The fields of the top document to return.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:TopMetricsValue" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:TopMetricsValue" - } - } - ] - }, - "size": { - "description": "The number of top documents from which to return metrics.", - "type": "number" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" + "buckets": { + "$ref": "#/components/schemas/_types.aggregations:BucketsFrequentItemSetsBucket" } + }, + "required": [ + "buckets" + ] + } + ] + }, + "_types.aggregations:BucketsFrequentItemSetsBucket": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsBucket" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsBucket" } } ] }, - "_types.aggregations:TopMetricsValue": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" + "_types.aggregations:FrequentItemSetsBucket": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" + }, + { + "type": "object", + "properties": { + "key": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "support": { + "type": "number" + } + }, + "required": [ + "key", + "support" + ] } - }, - "required": [ - "field" ] }, - "_types.aggregations:ValueCountAggregation": { + "_types.aggregations:ScriptedMetricAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:FormattableMetricAggregation" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { - "type": "object" + "type": "object", + "properties": { + "value": { + "type": "object" + } + }, + "required": [ + "value" + ] } ] }, - "_types.aggregations:FormattableMetricAggregation": { + "_types.aggregations:TopHitsAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "format": { + "hits": { + "$ref": "#/components/schemas/_global.search._types:HitsMetadata" + } + }, + "required": [ + "hits" + ] + } + ] + }, + "_global.search._types:HitsMetadata": { + "type": "object", + "properties": { + "total": { + "description": "Total hit count information, present only if `track_total_hits` wasn't `false` in the search request.", + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:TotalHits" + }, + { + "type": "number" + } + ] + }, + "hits": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Hit" + } + }, + "max_score": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + } + }, + "required": [ + "hits" + ] + }, + "_global.search._types:TotalHits": { + "type": "object", + "properties": { + "relation": { + "$ref": "#/components/schemas/_global.search._types:TotalHitsRelation" + }, + "value": { + "type": "number" + } + }, + "required": [ + "relation", + "value" + ] + }, + "_global.search._types:TotalHitsRelation": { + "type": "string", + "enum": [ + "eq", + "gte" + ] + }, + "_global.search._types:Hit": { + "type": "object", + "properties": { + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_score": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "_explanation": { + "$ref": "#/components/schemas/_global.explain:Explanation" + }, + "fields": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "highlight": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { "type": "string" } } - } - ] - }, - "_types.aggregations:WeightedAverageAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:Aggregation" }, - { + "inner_hits": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.search._types:InnerHitsResult" + } + }, + "matched_queries": { + "type": "array", + "items": { + "type": "string" + } + }, + "_nested": { + "$ref": "#/components/schemas/_global.search._types:NestedIdentity" + }, + "_ignored": { + "type": "array", + "items": { + "type": "string" + } + }, + "ignored_field_values": { "type": "object", - "properties": { - "format": { - "description": "A numeric response formatter.", + "additionalProperties": { + "type": "array", + "items": { "type": "string" - }, - "value": { - "$ref": "#/components/schemas/_types.aggregations:WeightedAverageValue" - }, - "value_type": { - "$ref": "#/components/schemas/_types.aggregations:ValueType" - }, - "weight": { - "$ref": "#/components/schemas/_types.aggregations:WeightedAverageValue" } } - } - ] - }, - "_types.aggregations:WeightedAverageValue": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "missing": { - "description": "A value or weight to use if the field is missing.", - "type": "number" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - } - } - }, - "_types.aggregations:VariableWidthHistogramAggregation": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" }, - "buckets": { - "description": "The target number of buckets.", - "type": "number" - }, - "shard_size": { - "description": "The number of buckets that the coordinating node will request from each shard.\nDefaults to `buckets * 50`.", - "type": "number" + "_shard": { + "type": "string" }, - "initial_buffer": { - "description": "Specifies the number of individual documents that will be stored in memory on a shard before the initial bucketing algorithm is run.\nDefaults to `min(10 * shard_size, 50000)`.", - "type": "number" - } - } - }, - "_types:KnnQuery": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" + "_node": { + "type": "string" }, - "query_vector": { - "$ref": "#/components/schemas/_types:QueryVector" + "_routing": { + "type": "string" }, - "query_vector_builder": { - "$ref": "#/components/schemas/_types:QueryVectorBuilder" + "_source": { + "type": "object" }, - "k": { - "description": "The final number of nearest neighbors to return as top hits", - "type": "number" + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" }, - "num_candidates": { - "description": "The number of nearest neighbor candidates to consider per shard", + "_primary_term": { "type": "number" }, - "boost": { - "description": "Boost value to apply to kNN scores", - "type": "number" + "_version": { + "$ref": "#/components/schemas/_types:VersionNumber" }, - "filter": { - "description": "Filters for the kNN search query", - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - } - ] + "sort": { + "$ref": "#/components/schemas/_types:SortResults" } }, "required": [ - "field", - "k", - "num_candidates" + "_index", + "_id" ] }, - "_types:QueryVector": { - "type": "array", - "items": { - "type": "number" - } - }, - "_types:QueryVectorBuilder": { - "type": "object", - "properties": { - "text_embedding": { - "$ref": "#/components/schemas/_types:TextEmbedding" - } - }, - "minProperties": 1, - "maxProperties": 1 + "_types:IndexName": { + "type": "string" }, - "_types:TextEmbedding": { + "_global.explain:Explanation": { "type": "object", "properties": { - "model_id": { + "description": { "type": "string" }, - "model_text": { - "type": "string" + "details": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.explain:ExplanationDetail" + } + }, + "value": { + "type": "number" } }, "required": [ - "model_id", - "model_text" + "description", + "details", + "value" ] }, - "_global.search._types:Rescore": { + "_global.explain:ExplanationDetail": { "type": "object", "properties": { - "query": { - "$ref": "#/components/schemas/_global.search._types:RescoreQuery" + "description": { + "type": "string" }, - "window_size": { + "details": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.explain:ExplanationDetail" + } + }, + "value": { "type": "number" } }, "required": [ - "query" + "description", + "value" ] }, - "_global.search._types:RescoreQuery": { + "_global.search._types:InnerHitsResult": { "type": "object", "properties": { - "rescore_query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "query_weight": { - "description": "Relative importance of the original query versus the rescore query.", - "type": "number" - }, - "rescore_query_weight": { - "description": "Relative importance of the rescore query versus the original query.", - "type": "number" - }, - "score_mode": { - "$ref": "#/components/schemas/_global.search._types:ScoreMode" + "hits": { + "$ref": "#/components/schemas/_global.search._types:HitsMetadata" } }, "required": [ - "rescore_query" - ] - }, - "_global.search._types:ScoreMode": { - "type": "string", - "enum": [ - "avg", - "max", - "min", - "multiply", - "total" + "hits" ] }, - "_types:SlicedScroll": { + "_global.search._types:NestedIdentity": { "type": "object", "properties": { "field": { "$ref": "#/components/schemas/_types:Field" }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "max": { + "offset": { "type": "number" + }, + "_nested": { + "$ref": "#/components/schemas/_global.search._types:NestedIdentity" } }, "required": [ - "id", - "max" + "field", + "offset" ] }, - "_global.search._types:Suggester": { - "type": "object", - "properties": { - "text": { - "description": "Global suggest text, to avoid repetition when the same text is used in several suggesters", - "type": "string" - } + "_types:Field": { + "description": "Path to field or array of paths. Some API's support wildcards in the path to select multiple fields.", + "type": "string" + }, + "_types:SequenceNumber": { + "type": "number" + }, + "_types:VersionNumber": { + "type": "number" + }, + "_types:SortResults": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:FieldValue" } }, - "_global.search._types:PointInTimeReference": { + "_types.aggregations:InferenceAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "value": { + "$ref": "#/components/schemas/_types:FieldValue" + }, + "feature_importance": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:InferenceFeatureImportance" + } + }, + "top_classes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:InferenceTopClassEntry" + } + }, + "warning": { + "type": "string" + } + } + } + ] + }, + "_types.aggregations:InferenceFeatureImportance": { "type": "object", "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" + "feature_name": { + "type": "string" }, - "keep_alive": { - "$ref": "#/components/schemas/_types:Duration" + "importance": { + "type": "number" + }, + "classes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:InferenceClassImportance" + } } }, "required": [ - "id" + "feature_name" ] }, - "_types.mapping:RuntimeFields": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.mapping:RuntimeField" - } - }, - "_types.mapping:RuntimeField": { + "_types.aggregations:InferenceClassImportance": { "type": "object", "properties": { - "fetch_fields": { - "description": "For type `lookup`", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFieldFetchFields" - } - }, - "format": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-date-format.html" - }, - "description": "A custom format for `date` type runtime fields.", + "class_name": { "type": "string" }, - "input_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "target_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "type": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFieldType" + "importance": { + "type": "number" } }, "required": [ - "type" + "class_name", + "importance" ] }, - "_types.mapping:RuntimeFieldFetchFields": { + "_types.aggregations:InferenceTopClassEntry": { "type": "object", "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" + "class_name": { + "$ref": "#/components/schemas/_types:FieldValue" }, - "format": { - "type": "string" + "class_probability": { + "type": "number" + }, + "class_score": { + "type": "number" } }, "required": [ - "field" + "class_name", + "class_probability", + "class_score" ] }, - "_types.mapping:RuntimeFieldType": { - "type": "string", - "enum": [ - "boolean", - "date", - "double", - "geo_point", - "ip", - "keyword", - "long", - "lookup" + "_types.aggregations:StringStatsAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "min_length": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "max_length": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "avg_length": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "entropy": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "distribution": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "min_length_as_string": { + "type": "string" + }, + "max_length_as_string": { + "type": "string" + }, + "avg_length_as_string": { + "type": "string" + } + }, + "required": [ + "count", + "min_length", + "max_length", + "avg_length", + "entropy" + ] + } ] }, - "_types:Refresh": { - "type": "string", - "enum": [ - "true", - "false", - "wait_for" + "_types.aggregations:BoxPlotAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "min": { + "type": "number" + }, + "max": { + "type": "number" + }, + "q1": { + "type": "number" + }, + "q2": { + "type": "number" + }, + "q3": { + "type": "number" + }, + "lower": { + "type": "number" + }, + "upper": { + "type": "number" + }, + "min_as_string": { + "type": "string" + }, + "max_as_string": { + "type": "string" + }, + "q1_as_string": { + "type": "string" + }, + "q2_as_string": { + "type": "string" + }, + "q3_as_string": { + "type": "string" + }, + "lower_as_string": { + "type": "string" + }, + "upper_as_string": { + "type": "string" + } + }, + "required": [ + "min", + "max", + "q1", + "q2", + "q3", + "lower", + "upper" + ] + } ] }, - "_types:WaitForActiveShards": { - "oneOf": [ + "_types.aggregations:TopMetricsAggregate": { + "allOf": [ { - "type": "number" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { - "$ref": "#/components/schemas/_types:WaitForActiveShardOptions" + "type": "object", + "properties": { + "top": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:TopMetrics" + } + } + }, + "required": [ + "top" + ] } ] }, - "_types:WaitForActiveShardOptions": { - "type": "string", - "enum": [ - "all", - "index-setting" - ] - }, - "_global.bulk:OperationContainer": { + "_types.aggregations:TopMetrics": { "type": "object", "properties": { - "index": { - "$ref": "#/components/schemas/_global.bulk:IndexOperation" - }, - "create": { - "$ref": "#/components/schemas/_global.bulk:CreateOperation" - }, - "update": { - "$ref": "#/components/schemas/_global.bulk:UpdateOperation" + "sort": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:FieldValue" + }, + { + "nullable": true, + "type": "string" + } + ] + } }, - "delete": { - "$ref": "#/components/schemas/_global.bulk:DeleteOperation" + "metrics": { + "type": "object", + "additionalProperties": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:FieldValue" + }, + { + "nullable": true, + "type": "string" + } + ] + } } }, - "minProperties": 1, - "maxProperties": 1 - }, - "_global.bulk:IndexOperation": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.bulk:WriteOperation" - }, - { - "type": "object" - } + "required": [ + "sort", + "metrics" ] }, - "_global.bulk:WriteOperation": { + "_types.aggregations:TTestAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_global.bulk:OperationBase" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "dynamic_templates": { - "description": "A map from the full name of fields to the name of dynamic templates.\nDefaults to an empty map.\nIf a name matches a dynamic template, then that template will be applied regardless of other match predicates defined in the template.\nIf a field is already defined in the mapping, then this parameter won’t be used.", - "type": "object", - "additionalProperties": { - "type": "string" - } + "value": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] }, - "pipeline": { - "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", + "value_as_string": { "type": "string" - }, - "require_alias": { - "description": "If `true`, the request’s actions must target an index alias.", - "type": "boolean" } - } + }, + "required": [ + "value" + ] } ] }, - "_global.bulk:OperationBase": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "if_primary_term": { - "type": "number" - }, - "if_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "version_type": { - "$ref": "#/components/schemas/_types:VersionType" - } - } - }, - "_global.bulk:CreateOperation": { + "_types.aggregations:RateAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_global.bulk:WriteOperation" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { - "type": "object" + "type": "object", + "properties": { + "value": { + "type": "number" + }, + "value_as_string": { + "type": "string" + } + }, + "required": [ + "value" + ] } ] }, - "_global.bulk:UpdateOperation": { + "_types.aggregations:CumulativeCardinalityAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_global.bulk:OperationBase" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { "type": "object", "properties": { - "require_alias": { - "description": "If `true`, the request’s actions must target an index alias.", - "type": "boolean" - }, - "retry_on_conflict": { + "value": { "type": "number" + }, + "value_as_string": { + "type": "string" } - } + }, + "required": [ + "value" + ] } ] }, - "_global.bulk:DeleteOperation": { + "_types.aggregations:MatrixStatsAggregate": { "allOf": [ { - "$ref": "#/components/schemas/_global.bulk:OperationBase" + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" }, { - "type": "object" + "type": "object", + "properties": { + "doc_count": { + "type": "number" + }, + "fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:MatrixStatsFields" + } + } + }, + "required": [ + "doc_count" + ] } ] }, - "_global.bulk:UpdateAction": { + "_types.aggregations:MatrixStatsFields": { "type": "object", "properties": { - "detect_noop": { - "description": "Set to false to disable setting 'result' in the response\nto 'noop' if no change to the document occurred.", - "type": "boolean" + "name": { + "$ref": "#/components/schemas/_types:Field" }, - "doc": { - "description": "A partial update to an existing document.", - "type": "object" + "count": { + "type": "number" }, - "doc_as_upsert": { - "description": "Set to true to use the contents of 'doc' as the value of 'upsert'", - "type": "boolean" + "mean": { + "type": "number" }, - "script": { - "$ref": "#/components/schemas/_types:Script" + "variance": { + "type": "number" }, - "scripted_upsert": { - "description": "Set to true to execute the script whether or not the document exists.", - "type": "boolean" + "skewness": { + "type": "number" }, - "_source": { - "$ref": "#/components/schemas/_global.search._types:SourceConfig" + "kurtosis": { + "type": "number" }, - "upsert": { - "description": "If the document does not already exist, the contents of 'upsert' are inserted as a\nnew document. If the document exists, the 'script' is executed.", - "type": "object" + "covariance": { + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "correlation": { + "type": "object", + "additionalProperties": { + "type": "number" + } } - } + }, + "required": [ + "name", + "count", + "mean", + "variance", + "skewness", + "kurtosis", + "covariance", + "correlation" + ] }, - "_global.bulk:ResponseItem": { - "type": "object", - "properties": { - "_id": { - "description": "The document ID associated with the operation.", - "oneOf": [ - { + "_types.aggregations:GeoLineAggregate": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:AggregateBase" + }, + { + "type": "object", + "properties": { + "type": { "type": "string" }, - { - "nullable": true, - "type": "string" + "geometry": { + "$ref": "#/components/schemas/_types:GeoLine" + }, + "properties": { + "type": "object" } + }, + "required": [ + "type", + "geometry", + "properties" ] - }, - "_index": { - "description": "Name of the index associated with the operation.\nIf the operation targeted a data stream, this is the backing index into which the document was written.", - "type": "string" - }, - "status": { - "description": "HTTP status code returned for the operation.", - "type": "number" - }, - "error": { - "$ref": "#/components/schemas/_types:ErrorCause" - }, - "_primary_term": { - "description": "The primary term assigned to the document for the operation.", - "type": "number" - }, - "result": { - "description": "Result of the operation.\nSuccessful values are `created`, `deleted`, and `updated`.", + } + ] + }, + "_types:GeoLine": { + "type": "object", + "properties": { + "type": { + "description": "Always `\"LineString\"`", "type": "string" }, - "_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "_version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "forced_refresh": { - "type": "boolean" - }, - "get": { - "$ref": "#/components/schemas/_types:InlineGetDictUserDefined" + "coordinates": { + "description": "Array of `[lon, lat]` coordinates", + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number" + } + } } }, "required": [ - "_index", - "status" + "type", + "coordinates" ] }, - "_types:InlineGetDictUserDefined": { + "_types:ClusterStatistics": { "type": "object", "properties": { - "fields": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "found": { - "type": "boolean" - }, - "_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" + "skipped": { + "type": "number" }, - "_primary_term": { + "successful": { "type": "number" }, - "_routing": { - "$ref": "#/components/schemas/_types:Routing" + "total": { + "type": "number" }, - "_source": { + "details": { "type": "object", "additionalProperties": { - "type": "object" + "$ref": "#/components/schemas/_types:ClusterDetails" } } }, "required": [ - "found", - "_source" - ] - }, - "_types:Names": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Name" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Name" - } - } + "skipped", + "successful", + "total" ] }, - "cat.aliases:AliasesRecord": { + "_types:ClusterDetails": { "type": "object", "properties": { - "alias": { - "description": "alias name", - "type": "string" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" + "status": { + "$ref": "#/components/schemas/_types:ClusterSearchStatus" }, - "filter": { - "description": "filter", + "indices": { "type": "string" }, - "routing.index": { - "description": "index routing", - "type": "string" + "took": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" }, - "routing.search": { - "description": "search routing", - "type": "string" + "timed_out": { + "type": "boolean" }, - "is_write_index": { - "description": "write index", - "type": "string" - } - } - }, - "_types:NodeIds": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:NodeId" + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" }, - { + "failures": { "type": "array", "items": { - "$ref": "#/components/schemas/_types:NodeId" + "$ref": "#/components/schemas/_types:ShardFailure" } } + }, + "required": [ + "status", + "indices", + "timed_out" ] }, - "_types:NodeId": { - "type": "string" - }, - "_types:Bytes": { + "_types:ClusterSearchStatus": { "type": "string", "enum": [ - "b", - "kb", - "mb", - "gb", - "tb", - "pb" - ] - }, - "cat.allocation:AllocationRecord": { - "type": "object", - "properties": { - "shards": { - "description": "Number of primary and replica shards assigned to the node.", - "type": "string" - }, - "disk.indices": { - "description": "Disk space used by the node’s shards. Does not include disk space for the translog or unassigned shards.\nIMPORTANT: This metric double-counts disk space for hard-linked files, such as those created when shrinking, splitting, or cloning an index.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:ByteSize" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "disk.used": { - "description": "Total disk space in use.\nElasticsearch retrieves this metric from the node’s operating system (OS).\nThe metric includes disk space for: Elasticsearch, including the translog and unassigned shards; the node’s operating system; any other applications or files on the node.\nUnlike `disk.indices`, this metric does not double-count disk space for hard-linked files.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:ByteSize" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "disk.avail": { - "description": "Free disk space available to Elasticsearch.\nElasticsearch retrieves this metric from the node’s operating system.\nDisk-based shard allocation uses this metric to assign shards to nodes based on available disk space.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:ByteSize" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "disk.total": { - "description": "Total disk space for the node, including in-use and available space.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:ByteSize" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "disk.percent": { - "description": "Total percentage of disk space in use. Calculated as `disk.used / disk.total`.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Percentage" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "host": { - "description": "Network host for the node. Set using the `network.host` setting.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Host" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "ip": { - "description": "IP address and port for the node.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Ip" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "node": { - "description": "Name for the node. Set using the `node.name` setting.", - "type": "string" - } - } - }, - "_types:ByteSize": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/api-conventions.html#byte-units" - }, - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } + "running", + "successful", + "partial", + "skipped", + "failed" ] }, - "_types:Percentage": { - "oneOf": [ - { - "type": "string" - }, + "_types:DurationValueUnitMillis": { + "allOf": [ { - "type": "number" + "$ref": "#/components/schemas/_types:UnitMillis" } ] }, - "_types:Host": { - "type": "string" - }, - "_types:Ip": { - "type": "string" - }, - "cat.component_templates:ComponentTemplate": { + "_types:ShardStatistics": { "type": "object", "properties": { - "name": { - "type": "string" - }, - "version": { - "type": "string" - }, - "alias_count": { - "type": "string" + "failed": { + "$ref": "#/components/schemas/_types:uint" }, - "mapping_count": { - "type": "string" + "successful": { + "$ref": "#/components/schemas/_types:uint" }, - "settings_count": { - "type": "string" + "total": { + "$ref": "#/components/schemas/_types:uint" }, - "metadata_count": { - "type": "string" + "failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ShardFailure" + } }, - "included_in": { - "type": "string" + "skipped": { + "$ref": "#/components/schemas/_types:uint" } }, "required": [ - "name", - "version", - "alias_count", - "mapping_count", - "settings_count", - "metadata_count", - "included_in" + "failed", + "successful", + "total" ] }, - "cat.count:CountRecord": { + "_types:uint": { + "type": "number" + }, + "_types:ShardFailure": { "type": "object", "properties": { - "epoch": { - "$ref": "#/components/schemas/_spec_utils:StringifiedEpochTimeUnitSeconds" - }, - "timestamp": { - "$ref": "#/components/schemas/_types:TimeOfDay" + "index": { + "$ref": "#/components/schemas/_types:IndexName" }, - "count": { - "description": "the document count", + "node": { "type": "string" - } - } - }, - "_spec_utils:StringifiedEpochTimeUnitSeconds": { - "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:EpochTimeUnitSeconds" }, - { + "reason": { + "$ref": "#/components/schemas/_types:ErrorCause" + }, + "shard": { + "type": "number" + }, + "status": { "type": "string" } + }, + "required": [ + "reason", + "shard" ] }, - "_types:EpochTimeUnitSeconds": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:UnitSeconds" - } - ] - }, - "_types:UnitSeconds": { - "description": "Time unit for seconds", - "type": "number" - }, - "_types:TimeOfDay": { - "description": "Time of day, expressed as HH:MM:SS", - "type": "string" - }, - "cat.fielddata:FielddataRecord": { + "_types:ErrorCause": { "type": "object", "properties": { - "id": { - "description": "node id", + "type": { + "description": "The type of error", "type": "string" }, - "host": { - "description": "host name", + "reason": { + "description": "A human-readable explanation of the error, in english", "type": "string" }, - "ip": { - "description": "ip address", + "stack_trace": { + "description": "The server stack trace. Present only if the `error_trace=true` parameter was sent with the request.", "type": "string" }, - "node": { - "description": "node name", - "type": "string" + "caused_by": { + "$ref": "#/components/schemas/_types:ErrorCause" }, - "field": { - "description": "field name", - "type": "string" + "root_cause": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ErrorCause" + } }, - "size": { - "description": "field data usage", - "type": "string" + "suppressed": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ErrorCause" + } } - } + }, + "required": [ + "type" + ] }, - "cat.help:HelpRecord": { + "_global.search._types:Profile": { "type": "object", "properties": { - "endpoint": { - "type": "string" + "shards": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:ShardProfile" + } } }, "required": [ - "endpoint" - ] - }, - "_types:HealthStatus": { - "type": "string", - "enum": [ - "green", - "yellow", - "red" - ] - }, - "_types:TimeUnit": { - "type": "string", - "enum": [ - "nanos", - "micros", - "ms", - "s", - "m", - "h", - "d" + "shards" ] }, - "cat.indices:IndicesRecord": { + "_global.search._types:ShardProfile": { "type": "object", "properties": { - "health": { - "description": "current health status", - "type": "string" - }, - "status": { - "description": "open/close status", - "type": "string" - }, - "index": { - "description": "index name", - "type": "string" - }, - "uuid": { - "description": "index uuid", - "type": "string" - }, - "pri": { - "description": "number of primary shards", - "type": "string" - }, - "rep": { - "description": "number of replica shards", - "type": "string" - }, - "docs.count": { - "description": "available docs", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "docs.deleted": { - "description": "deleted docs", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "creation.date": { - "description": "index creation date (millisecond value)", - "type": "string" - }, - "creation.date.string": { - "description": "index creation date (as string)", - "type": "string" - }, - "store.size": { - "description": "store size of primaries & replicas", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "pri.store.size": { - "description": "store size of primaries", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "completion.size": { - "description": "size of completion", - "type": "string" - }, - "pri.completion.size": { - "description": "size of completion", - "type": "string" - }, - "fielddata.memory_size": { - "description": "used fielddata cache", - "type": "string" - }, - "pri.fielddata.memory_size": { - "description": "used fielddata cache", - "type": "string" - }, - "fielddata.evictions": { - "description": "fielddata evictions", - "type": "string" - }, - "pri.fielddata.evictions": { - "description": "fielddata evictions", - "type": "string" - }, - "query_cache.memory_size": { - "description": "used query cache", - "type": "string" - }, - "pri.query_cache.memory_size": { - "description": "used query cache", - "type": "string" - }, - "query_cache.evictions": { - "description": "query cache evictions", - "type": "string" - }, - "pri.query_cache.evictions": { - "description": "query cache evictions", - "type": "string" - }, - "request_cache.memory_size": { - "description": "used request cache", - "type": "string" - }, - "pri.request_cache.memory_size": { - "description": "used request cache", - "type": "string" - }, - "request_cache.evictions": { - "description": "request cache evictions", - "type": "string" - }, - "pri.request_cache.evictions": { - "description": "request cache evictions", - "type": "string" - }, - "request_cache.hit_count": { - "description": "request cache hit count", - "type": "string" - }, - "pri.request_cache.hit_count": { - "description": "request cache hit count", - "type": "string" - }, - "request_cache.miss_count": { - "description": "request cache miss count", - "type": "string" - }, - "pri.request_cache.miss_count": { - "description": "request cache miss count", - "type": "string" - }, - "flush.total": { - "description": "number of flushes", - "type": "string" - }, - "pri.flush.total": { - "description": "number of flushes", - "type": "string" - }, - "flush.total_time": { - "description": "time spent in flush", - "type": "string" - }, - "pri.flush.total_time": { - "description": "time spent in flush", - "type": "string" - }, - "get.current": { - "description": "number of current get ops", - "type": "string" - }, - "pri.get.current": { - "description": "number of current get ops", - "type": "string" - }, - "get.time": { - "description": "time spent in get", - "type": "string" + "aggregations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:AggregationProfile" + } }, - "pri.get.time": { - "description": "time spent in get", + "id": { "type": "string" }, - "get.total": { - "description": "number of get ops", - "type": "string" + "searches": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:SearchProfile" + } }, - "pri.get.total": { - "description": "number of get ops", - "type": "string" + "fetch": { + "$ref": "#/components/schemas/_global.search._types:FetchProfile" + } + }, + "required": [ + "aggregations", + "id", + "searches" + ] + }, + "_global.search._types:AggregationProfile": { + "type": "object", + "properties": { + "breakdown": { + "$ref": "#/components/schemas/_global.search._types:AggregationBreakdown" }, - "get.exists_time": { - "description": "time spent in successful gets", + "description": { "type": "string" }, - "pri.get.exists_time": { - "description": "time spent in successful gets", - "type": "string" + "time_in_nanos": { + "$ref": "#/components/schemas/_types:DurationValueUnitNanos" }, - "get.exists_total": { - "description": "number of successful gets", + "type": { "type": "string" }, - "pri.get.exists_total": { - "description": "number of successful gets", - "type": "string" + "debug": { + "$ref": "#/components/schemas/_global.search._types:AggregationProfileDebug" }, - "get.missing_time": { - "description": "time spent in failed gets", - "type": "string" + "children": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:AggregationProfile" + } + } + }, + "required": [ + "breakdown", + "description", + "time_in_nanos", + "type" + ] + }, + "_global.search._types:AggregationBreakdown": { + "type": "object", + "properties": { + "build_aggregation": { + "type": "number" }, - "pri.get.missing_time": { - "description": "time spent in failed gets", - "type": "string" + "build_aggregation_count": { + "type": "number" }, - "get.missing_total": { - "description": "number of failed gets", - "type": "string" + "build_leaf_collector": { + "type": "number" }, - "pri.get.missing_total": { - "description": "number of failed gets", - "type": "string" + "build_leaf_collector_count": { + "type": "number" }, - "indexing.delete_current": { - "description": "number of current deletions", - "type": "string" + "collect": { + "type": "number" }, - "pri.indexing.delete_current": { - "description": "number of current deletions", - "type": "string" + "collect_count": { + "type": "number" }, - "indexing.delete_time": { - "description": "time spent in deletions", - "type": "string" + "initialize": { + "type": "number" }, - "pri.indexing.delete_time": { - "description": "time spent in deletions", - "type": "string" + "initialize_count": { + "type": "number" }, - "indexing.delete_total": { - "description": "number of delete ops", - "type": "string" + "post_collection": { + "type": "number" }, - "pri.indexing.delete_total": { - "description": "number of delete ops", - "type": "string" + "post_collection_count": { + "type": "number" }, - "indexing.index_current": { - "description": "number of current indexing ops", - "type": "string" + "reduce": { + "type": "number" }, - "pri.indexing.index_current": { - "description": "number of current indexing ops", - "type": "string" + "reduce_count": { + "type": "number" + } + }, + "required": [ + "build_aggregation", + "build_aggregation_count", + "build_leaf_collector", + "build_leaf_collector_count", + "collect", + "collect_count", + "initialize", + "initialize_count", + "reduce", + "reduce_count" + ] + }, + "_types:DurationValueUnitNanos": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:UnitNanos" + } + ] + }, + "_types:UnitNanos": { + "description": "Time unit for nanoseconds", + "type": "number" + }, + "_global.search._types:AggregationProfileDebug": { + "type": "object", + "properties": { + "segments_with_multi_valued_ords": { + "type": "number" }, - "indexing.index_time": { - "description": "time spent in indexing", + "collection_strategy": { "type": "string" }, - "pri.indexing.index_time": { - "description": "time spent in indexing", - "type": "string" + "segments_with_single_valued_ords": { + "type": "number" }, - "indexing.index_total": { - "description": "number of indexing ops", - "type": "string" + "total_buckets": { + "type": "number" }, - "pri.indexing.index_total": { - "description": "number of indexing ops", - "type": "string" + "built_buckets": { + "type": "number" }, - "indexing.index_failed": { - "description": "number of failed indexing ops", + "result_strategy": { "type": "string" }, - "pri.indexing.index_failed": { - "description": "number of failed indexing ops", - "type": "string" + "has_filter": { + "type": "boolean" }, - "merges.current": { - "description": "number of current merges", + "delegate": { "type": "string" }, - "pri.merges.current": { - "description": "number of current merges", - "type": "string" + "delegate_debug": { + "$ref": "#/components/schemas/_global.search._types:AggregationProfileDebug" }, - "merges.current_docs": { - "description": "number of current merging docs", - "type": "string" + "chars_fetched": { + "type": "number" }, - "pri.merges.current_docs": { - "description": "number of current merging docs", - "type": "string" + "extract_count": { + "type": "number" }, - "merges.current_size": { - "description": "size of current merges", - "type": "string" + "extract_ns": { + "type": "number" }, - "pri.merges.current_size": { - "description": "size of current merges", - "type": "string" + "values_fetched": { + "type": "number" }, - "merges.total": { - "description": "number of completed merge ops", - "type": "string" + "collect_analyzed_ns": { + "type": "number" }, - "pri.merges.total": { - "description": "number of completed merge ops", - "type": "string" + "collect_analyzed_count": { + "type": "number" }, - "merges.total_docs": { - "description": "docs merged", - "type": "string" + "surviving_buckets": { + "type": "number" }, - "pri.merges.total_docs": { - "description": "docs merged", - "type": "string" + "ordinals_collectors_used": { + "type": "number" }, - "merges.total_size": { - "description": "size merged", - "type": "string" + "ordinals_collectors_overhead_too_high": { + "type": "number" }, - "pri.merges.total_size": { - "description": "size merged", - "type": "string" + "string_hashing_collectors_used": { + "type": "number" }, - "merges.total_time": { - "description": "time spent in merges", - "type": "string" + "numeric_collectors_used": { + "type": "number" }, - "pri.merges.total_time": { - "description": "time spent in merges", - "type": "string" + "empty_collectors_used": { + "type": "number" }, - "refresh.total": { - "description": "total refreshes", - "type": "string" + "deferred_aggregators": { + "type": "array", + "items": { + "type": "string" + } }, - "pri.refresh.total": { - "description": "total refreshes", - "type": "string" + "segments_with_doc_count_field": { + "type": "number" }, - "refresh.time": { - "description": "time spent in refreshes", - "type": "string" + "segments_with_deleted_docs": { + "type": "number" }, - "pri.refresh.time": { - "description": "time spent in refreshes", - "type": "string" + "filters": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:AggregationProfileDelegateDebugFilter" + } }, - "refresh.external_total": { - "description": "total external refreshes", - "type": "string" + "segments_counted": { + "type": "number" }, - "pri.refresh.external_total": { - "description": "total external refreshes", - "type": "string" + "segments_collected": { + "type": "number" }, - "refresh.external_time": { - "description": "time spent in external refreshes", + "map_reducer": { "type": "string" + } + } + }, + "_global.search._types:AggregationProfileDelegateDebugFilter": { + "type": "object", + "properties": { + "results_from_metadata": { + "type": "number" }, - "pri.refresh.external_time": { - "description": "time spent in external refreshes", + "query": { "type": "string" }, - "refresh.listeners": { - "description": "number of pending refresh listeners", + "specialized_for": { "type": "string" }, - "pri.refresh.listeners": { - "description": "number of pending refresh listeners", - "type": "string" + "segments_counted_in_constant_time": { + "type": "number" + } + } + }, + "_global.search._types:SearchProfile": { + "type": "object", + "properties": { + "collector": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Collector" + } }, - "search.fetch_current": { - "description": "current fetch phase ops", - "type": "string" + "query": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:QueryProfile" + } }, - "pri.search.fetch_current": { - "description": "current fetch phase ops", + "rewrite_time": { + "type": "number" + } + }, + "required": [ + "collector", + "query", + "rewrite_time" + ] + }, + "_global.search._types:Collector": { + "type": "object", + "properties": { + "name": { "type": "string" }, - "search.fetch_time": { - "description": "time spent in fetch phase", + "reason": { "type": "string" }, - "pri.search.fetch_time": { - "description": "time spent in fetch phase", - "type": "string" + "time_in_nanos": { + "$ref": "#/components/schemas/_types:DurationValueUnitNanos" }, - "search.fetch_total": { - "description": "total fetch ops", - "type": "string" + "children": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Collector" + } + } + }, + "required": [ + "name", + "reason", + "time_in_nanos" + ] + }, + "_global.search._types:QueryProfile": { + "type": "object", + "properties": { + "breakdown": { + "$ref": "#/components/schemas/_global.search._types:QueryBreakdown" }, - "pri.search.fetch_total": { - "description": "total fetch ops", + "description": { "type": "string" }, - "search.open_contexts": { - "description": "open search contexts", - "type": "string" + "time_in_nanos": { + "$ref": "#/components/schemas/_types:DurationValueUnitNanos" }, - "pri.search.open_contexts": { - "description": "open search contexts", + "type": { "type": "string" }, - "search.query_current": { - "description": "current query phase ops", - "type": "string" + "children": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:QueryProfile" + } + } + }, + "required": [ + "breakdown", + "description", + "time_in_nanos", + "type" + ] + }, + "_global.search._types:QueryBreakdown": { + "type": "object", + "properties": { + "advance": { + "type": "number" }, - "pri.search.query_current": { - "description": "current query phase ops", - "type": "string" + "advance_count": { + "type": "number" }, - "search.query_time": { - "description": "time spent in query phase", - "type": "string" + "build_scorer": { + "type": "number" }, - "pri.search.query_time": { - "description": "time spent in query phase", - "type": "string" + "build_scorer_count": { + "type": "number" }, - "search.query_total": { - "description": "total query phase ops", - "type": "string" + "create_weight": { + "type": "number" }, - "pri.search.query_total": { - "description": "total query phase ops", - "type": "string" + "create_weight_count": { + "type": "number" }, - "search.scroll_current": { - "description": "open scroll contexts", - "type": "string" + "match": { + "type": "number" }, - "pri.search.scroll_current": { - "description": "open scroll contexts", - "type": "string" + "match_count": { + "type": "number" }, - "search.scroll_time": { - "description": "time scroll contexts held open", - "type": "string" + "shallow_advance": { + "type": "number" }, - "pri.search.scroll_time": { - "description": "time scroll contexts held open", - "type": "string" + "shallow_advance_count": { + "type": "number" }, - "search.scroll_total": { - "description": "completed scroll contexts", - "type": "string" + "next_doc": { + "type": "number" }, - "pri.search.scroll_total": { - "description": "completed scroll contexts", - "type": "string" + "next_doc_count": { + "type": "number" }, - "segments.count": { - "description": "number of segments", - "type": "string" + "score": { + "type": "number" }, - "pri.segments.count": { - "description": "number of segments", - "type": "string" + "score_count": { + "type": "number" }, - "segments.memory": { - "description": "memory used by segments", - "type": "string" + "compute_max_score": { + "type": "number" }, - "pri.segments.memory": { - "description": "memory used by segments", - "type": "string" + "compute_max_score_count": { + "type": "number" }, - "segments.index_writer_memory": { - "description": "memory used by index writer", - "type": "string" + "set_min_competitive_score": { + "type": "number" }, - "pri.segments.index_writer_memory": { - "description": "memory used by index writer", + "set_min_competitive_score_count": { + "type": "number" + } + }, + "required": [ + "advance", + "advance_count", + "build_scorer", + "build_scorer_count", + "create_weight", + "create_weight_count", + "match", + "match_count", + "shallow_advance", + "shallow_advance_count", + "next_doc", + "next_doc_count", + "score", + "score_count", + "compute_max_score", + "compute_max_score_count", + "set_min_competitive_score", + "set_min_competitive_score_count" + ] + }, + "_global.search._types:FetchProfile": { + "type": "object", + "properties": { + "type": { "type": "string" }, - "segments.version_map_memory": { - "description": "memory used by version map", + "description": { "type": "string" }, - "pri.segments.version_map_memory": { - "description": "memory used by version map", - "type": "string" + "time_in_nanos": { + "$ref": "#/components/schemas/_types:DurationValueUnitNanos" }, - "segments.fixed_bitset_memory": { - "description": "memory used by fixed bit sets for nested object field types and export type filters for types referred in _parent fields", - "type": "string" + "breakdown": { + "$ref": "#/components/schemas/_global.search._types:FetchProfileBreakdown" }, - "pri.segments.fixed_bitset_memory": { - "description": "memory used by fixed bit sets for nested object field types and export type filters for types referred in _parent fields", - "type": "string" + "debug": { + "$ref": "#/components/schemas/_global.search._types:FetchProfileDebug" }, - "warmer.current": { - "description": "current warmer ops", - "type": "string" + "children": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:FetchProfile" + } + } + }, + "required": [ + "type", + "description", + "time_in_nanos", + "breakdown" + ] + }, + "_global.search._types:FetchProfileBreakdown": { + "type": "object", + "properties": { + "load_source": { + "type": "number" }, - "pri.warmer.current": { - "description": "current warmer ops", - "type": "string" + "load_source_count": { + "type": "number" }, - "warmer.total": { - "description": "total warmer ops", - "type": "string" + "load_stored_fields": { + "type": "number" }, - "pri.warmer.total": { - "description": "total warmer ops", - "type": "string" + "load_stored_fields_count": { + "type": "number" }, - "warmer.total_time": { - "description": "time spent in warmers", - "type": "string" + "next_reader": { + "type": "number" }, - "pri.warmer.total_time": { - "description": "time spent in warmers", - "type": "string" + "next_reader_count": { + "type": "number" }, - "suggest.current": { - "description": "number of current suggest ops", - "type": "string" + "process_count": { + "type": "number" }, - "pri.suggest.current": { - "description": "number of current suggest ops", - "type": "string" + "process": { + "type": "number" + } + } + }, + "_global.search._types:FetchProfileDebug": { + "type": "object", + "properties": { + "stored_fields": { + "type": "array", + "items": { + "type": "string" + } }, - "suggest.time": { - "description": "time spend in suggest", - "type": "string" + "fast_path": { + "type": "number" + } + } + }, + "_types:ScrollId": { + "type": "string" + }, + "_global.search._types:Suggest": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:CompletionSuggest" }, - "pri.suggest.time": { - "description": "time spend in suggest", - "type": "string" + { + "$ref": "#/components/schemas/_global.search._types:PhraseSuggest" }, - "suggest.total": { - "description": "number of suggest ops", - "type": "string" + { + "$ref": "#/components/schemas/_global.search._types:TermSuggest" + } + ] + }, + "_global.search._types:CompletionSuggest": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.search._types:SuggestBase" }, - "pri.suggest.total": { - "description": "number of suggest ops", - "type": "string" + { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:CompletionSuggestOption" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:CompletionSuggestOption" + } + } + ] + } + }, + "required": [ + "options" + ] + } + ] + }, + "_global.search._types:CompletionSuggestOption": { + "type": "object", + "properties": { + "collate_match": { + "type": "boolean" }, - "memory.total": { - "description": "total used memory", - "type": "string" + "contexts": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Context" + } + } }, - "pri.memory.total": { - "description": "total user memory", - "type": "string" + "fields": { + "type": "object", + "additionalProperties": { + "type": "object" + } }, - "search.throttled": { - "description": "indicates if the index is search throttled", + "_id": { "type": "string" }, - "bulk.total_operations": { - "description": "number of bulk shard ops", - "type": "string" + "_index": { + "$ref": "#/components/schemas/_types:IndexName" }, - "pri.bulk.total_operations": { - "description": "number of bulk shard ops", - "type": "string" + "_routing": { + "$ref": "#/components/schemas/_types:Routing" }, - "bulk.total_time": { - "description": "time spend in shard bulk", - "type": "string" + "_score": { + "type": "number" }, - "pri.bulk.total_time": { - "description": "time spend in shard bulk", - "type": "string" + "_source": { + "type": "object" }, - "bulk.total_size_in_bytes": { - "description": "total size in bytes of shard bulk", + "text": { "type": "string" }, - "pri.bulk.total_size_in_bytes": { - "description": "total size in bytes of shard bulk", + "score": { + "type": "number" + } + }, + "required": [ + "text" + ] + }, + "_global.search._types:Context": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-mlt-query.html#_document_input_parameters" + }, + "description": "Text or location that we want similar documents for or a lookup to a document's field for the text.", + "oneOf": [ + { "type": "string" }, - "bulk.avg_time": { - "description": "average time spend in shard bulk", - "type": "string" + { + "$ref": "#/components/schemas/_types:GeoLocation" + } + ] + }, + "_types:Routing": { + "type": "string" + }, + "_global.search._types:SuggestBase": { + "type": "object", + "properties": { + "length": { + "type": "number" }, - "pri.bulk.avg_time": { - "description": "average time spend in shard bulk", - "type": "string" + "offset": { + "type": "number" }, - "bulk.avg_size_in_bytes": { - "description": "average size in bytes of shard bulk", + "text": { "type": "string" + } + }, + "required": [ + "length", + "offset", + "text" + ] + }, + "_global.search._types:PhraseSuggest": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.search._types:SuggestBase" }, - "pri.bulk.avg_size_in_bytes": { - "description": "average size in bytes of shard bulk", - "type": "string" + { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:PhraseSuggestOption" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:PhraseSuggestOption" + } + } + ] + } + }, + "required": [ + "options" + ] } - } + ] }, - "cat.master:MasterRecord": { + "_global.search._types:PhraseSuggestOption": { "type": "object", "properties": { - "id": { - "description": "node id", + "text": { "type": "string" }, - "host": { - "description": "host name", - "type": "string" + "score": { + "type": "number" }, - "ip": { - "description": "ip address", + "highlighted": { "type": "string" }, - "node": { - "description": "node name", - "type": "string" + "collate_match": { + "type": "boolean" } - } + }, + "required": [ + "text", + "score" + ] }, - "cat._types:CatDfaColumns": { - "oneOf": [ + "_global.search._types:TermSuggest": { + "allOf": [ { - "$ref": "#/components/schemas/cat._types:CatDfaColumn" + "$ref": "#/components/schemas/_global.search._types:SuggestBase" }, { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat._types:CatDfaColumn" - } + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:TermSuggestOption" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:TermSuggestOption" + } + } + ] + } + }, + "required": [ + "options" + ] } ] }, - "cat._types:CatDfaColumn": { - "type": "string", - "enum": [ - "assignment_explanation", - "create_time", - "description", - "dest_index", - "failure_reason", - "id", - "model_memory_limit", - "node.address", - "node.ephemeral_id", - "node.id", - "node.name", - "progress", - "source_index", - "state", - "type", - "version" - ] - }, - "cat.ml_data_frame_analytics:DataFrameAnalyticsRecord": { + "_global.search._types:TermSuggestOption": { "type": "object", "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "type": { - "description": "The type of analysis that the job performs.", - "type": "string" - }, - "create_time": { - "description": "The time when the job was created.", + "text": { "type": "string" }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "source_index": { - "$ref": "#/components/schemas/_types:IndexName" + "score": { + "type": "number" }, - "dest_index": { - "$ref": "#/components/schemas/_types:IndexName" + "freq": { + "type": "number" }, - "description": { - "description": "A description of the job.", + "highlighted": { "type": "string" }, - "model_memory_limit": { - "description": "The approximate maximum amount of memory resources that are permitted for the job.", - "type": "string" + "collate_match": { + "type": "boolean" + } + }, + "required": [ + "text", + "score", + "freq" + ] + }, + "async_search._types:AsyncSearchResponseBase": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" }, - "state": { - "description": "The current status of the job.", - "type": "string" + "is_partial": { + "description": "When the query is no longer running, this property indicates whether the search failed or was successfully completed on all shards.\nWhile the query is running, `is_partial` is always set to `true`.", + "type": "boolean" }, - "failure_reason": { - "description": "Messages about the reason why the job failed.", - "type": "string" + "is_running": { + "description": "Indicates whether the search is still running or has completed.\nNOTE: If the search failed after some shards returned their results or the node that is coordinating the async search dies, results may be partial even though `is_running` is `false`.", + "type": "boolean" }, - "progress": { - "description": "The progress report for the job by phase.", - "type": "string" + "expiration_time": { + "$ref": "#/components/schemas/_types:DateTime" }, - "assignment_explanation": { - "description": "Messages related to the selection of a node.", - "type": "string" + "expiration_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" }, - "node.id": { - "$ref": "#/components/schemas/_types:Id" + "start_time": { + "$ref": "#/components/schemas/_types:DateTime" }, - "node.name": { - "$ref": "#/components/schemas/_types:Name" + "start_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" }, - "node.ephemeral_id": { - "$ref": "#/components/schemas/_types:Id" + "completion_time": { + "$ref": "#/components/schemas/_types:DateTime" }, - "node.address": { - "description": "The network address of the assigned node.", + "completion_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + } + }, + "required": [ + "is_partial", + "is_running", + "expiration_time_in_millis", + "start_time_in_millis" + ] + }, + "_types:DateTime": { + "description": "A date and time, either as a string whose format can depend on the context (defaulting to ISO 8601), or a\nnumber of milliseconds since the Epoch. Elasticsearch accepts both as input, but will generally output a string\nrepresentation.", + "oneOf": [ + { "type": "string" + }, + { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" } - } + ] }, - "cat._types:CatDatafeedColumns": { + "async_search.status:StatusResponseBase": { + "allOf": [ + { + "$ref": "#/components/schemas/async_search._types:AsyncSearchResponseBase" + }, + { + "type": "object", + "properties": { + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "_clusters": { + "$ref": "#/components/schemas/_types:ClusterStatistics" + }, + "completion_status": { + "description": "If the async search completed, this field shows the status code of the search.\nFor example, 200 indicates that the async search was successfully completed.\n503 indicates that the async search was completed with an error.", + "type": "number" + } + }, + "required": [ + "_shards" + ] + } + ] + }, + "_types:Indices": { "oneOf": [ { - "$ref": "#/components/schemas/cat._types:CatDatafeedColumn" + "$ref": "#/components/schemas/_types:IndexName" }, { "type": "array", "items": { - "$ref": "#/components/schemas/cat._types:CatDatafeedColumn" + "$ref": "#/components/schemas/_types:IndexName" } } ] }, - "cat._types:CatDatafeedColumn": { + "_types.query_dsl:Operator": { "type": "string", "enum": [ - "ae", - "bc", - "id", - "na", - "ne", - "ni", - "nn", - "sba", - "sc", - "seah", - "st", - "s" + "and", + "or" ] }, - "cat.ml_datafeeds:DatafeedsRecord": { - "type": "object", - "properties": { - "id": { - "description": "The datafeed identifier.", - "type": "string" - }, - "state": { - "$ref": "#/components/schemas/ml._types:DatafeedState" - }, - "assignment_explanation": { - "description": "For started datafeeds only, contains messages relating to the selection of a node.", - "type": "string" - }, - "buckets.count": { - "description": "The number of buckets processed.", - "type": "string" - }, - "search.count": { - "description": "The number of searches run by the datafeed.", - "type": "string" - }, - "search.time": { - "description": "The total time the datafeed spent searching, in milliseconds.", - "type": "string" - }, - "search.bucket_avg": { - "description": "The average search time per bucket, in milliseconds.", - "type": "string" + "_types:Fields": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Field" }, - "search.exp_avg_hour": { - "description": "The exponential average search time per hour, in milliseconds.", - "type": "string" + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + } + ] + }, + "_types:ExpandWildcards": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:ExpandWildcard" }, - "node.id": { - "description": "The unique identifier of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", - "type": "string" + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ExpandWildcard" + } + } + ] + }, + "_types:ExpandWildcard": { + "type": "string", + "enum": [ + "all", + "open", + "closed", + "hidden", + "none" + ] + }, + "_types:VersionString": { + "type": "string" + }, + "_types:SearchType": { + "type": "string", + "enum": [ + "query_then_fetch", + "dfs_query_then_fetch" + ] + }, + "_types:SuggestMode": { + "type": "string", + "enum": [ + "missing", + "popular", + "always" + ] + }, + "_global.search._types:TrackHits": { + "description": "Number of hits matching the query to count accurately. If true, the exact\nnumber of hits is returned at the cost of some performance. If false, the\nresponse does not include the total number of hits matching the query.\nDefaults to 10,000 hits.", + "oneOf": [ + { + "type": "boolean" }, - "node.name": { - "description": "The name of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", - "type": "string" + { + "type": "number" + } + ] + }, + "_global.search._types:SourceConfigParam": { + "description": "Defines how to fetch a source. Fetching can be disabled entirely, or the source can be filtered.\nUsed as a query parameter along with the `_source_includes` and `_source_excludes` parameters.", + "oneOf": [ + { + "type": "boolean" }, - "node.ephemeral_id": { - "description": "The ephemeral identifier of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", - "type": "string" + { + "$ref": "#/components/schemas/_types:Fields" + } + ] + }, + "_types.aggregations:AggregationContainer": { + "allOf": [ + { + "type": "object", + "properties": { + "aggregations": { + "description": "Sub-aggregations for this aggregation.\nOnly applies to bucket aggregations.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "meta": { + "$ref": "#/components/schemas/_types:Metadata" + } + } }, - "node.address": { - "description": "The network address of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", - "type": "string" + { + "type": "object", + "properties": { + "adjacency_matrix": { + "$ref": "#/components/schemas/_types.aggregations:AdjacencyMatrixAggregation" + }, + "auto_date_histogram": { + "$ref": "#/components/schemas/_types.aggregations:AutoDateHistogramAggregation" + }, + "avg": { + "$ref": "#/components/schemas/_types.aggregations:AverageAggregation" + }, + "avg_bucket": { + "$ref": "#/components/schemas/_types.aggregations:AverageBucketAggregation" + }, + "boxplot": { + "$ref": "#/components/schemas/_types.aggregations:BoxplotAggregation" + }, + "bucket_script": { + "$ref": "#/components/schemas/_types.aggregations:BucketScriptAggregation" + }, + "bucket_selector": { + "$ref": "#/components/schemas/_types.aggregations:BucketSelectorAggregation" + }, + "bucket_sort": { + "$ref": "#/components/schemas/_types.aggregations:BucketSortAggregation" + }, + "bucket_count_ks_test": { + "$ref": "#/components/schemas/_types.aggregations:BucketKsAggregation" + }, + "bucket_correlation": { + "$ref": "#/components/schemas/_types.aggregations:BucketCorrelationAggregation" + }, + "cardinality": { + "$ref": "#/components/schemas/_types.aggregations:CardinalityAggregation" + }, + "categorize_text": { + "$ref": "#/components/schemas/_types.aggregations:CategorizeTextAggregation" + }, + "children": { + "$ref": "#/components/schemas/_types.aggregations:ChildrenAggregation" + }, + "composite": { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregation" + }, + "cumulative_cardinality": { + "$ref": "#/components/schemas/_types.aggregations:CumulativeCardinalityAggregation" + }, + "cumulative_sum": { + "$ref": "#/components/schemas/_types.aggregations:CumulativeSumAggregation" + }, + "date_histogram": { + "$ref": "#/components/schemas/_types.aggregations:DateHistogramAggregation" + }, + "date_range": { + "$ref": "#/components/schemas/_types.aggregations:DateRangeAggregation" + }, + "derivative": { + "$ref": "#/components/schemas/_types.aggregations:DerivativeAggregation" + }, + "diversified_sampler": { + "$ref": "#/components/schemas/_types.aggregations:DiversifiedSamplerAggregation" + }, + "extended_stats": { + "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsAggregation" + }, + "extended_stats_bucket": { + "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsBucketAggregation" + }, + "frequent_item_sets": { + "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsAggregation" + }, + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "filters": { + "$ref": "#/components/schemas/_types.aggregations:FiltersAggregation" + }, + "geo_bounds": { + "$ref": "#/components/schemas/_types.aggregations:GeoBoundsAggregation" + }, + "geo_centroid": { + "$ref": "#/components/schemas/_types.aggregations:GeoCentroidAggregation" + }, + "geo_distance": { + "$ref": "#/components/schemas/_types.aggregations:GeoDistanceAggregation" + }, + "geohash_grid": { + "$ref": "#/components/schemas/_types.aggregations:GeoHashGridAggregation" + }, + "geo_line": { + "$ref": "#/components/schemas/_types.aggregations:GeoLineAggregation" + }, + "geotile_grid": { + "$ref": "#/components/schemas/_types.aggregations:GeoTileGridAggregation" + }, + "geohex_grid": { + "$ref": "#/components/schemas/_types.aggregations:GeohexGridAggregation" + }, + "global": { + "$ref": "#/components/schemas/_types.aggregations:GlobalAggregation" + }, + "histogram": { + "$ref": "#/components/schemas/_types.aggregations:HistogramAggregation" + }, + "ip_range": { + "$ref": "#/components/schemas/_types.aggregations:IpRangeAggregation" + }, + "ip_prefix": { + "$ref": "#/components/schemas/_types.aggregations:IpPrefixAggregation" + }, + "inference": { + "$ref": "#/components/schemas/_types.aggregations:InferenceAggregation" + }, + "line": { + "$ref": "#/components/schemas/_types.aggregations:GeoLineAggregation" + }, + "matrix_stats": { + "$ref": "#/components/schemas/_types.aggregations:MatrixStatsAggregation" + }, + "max": { + "$ref": "#/components/schemas/_types.aggregations:MaxAggregation" + }, + "max_bucket": { + "$ref": "#/components/schemas/_types.aggregations:MaxBucketAggregation" + }, + "median_absolute_deviation": { + "$ref": "#/components/schemas/_types.aggregations:MedianAbsoluteDeviationAggregation" + }, + "min": { + "$ref": "#/components/schemas/_types.aggregations:MinAggregation" + }, + "min_bucket": { + "$ref": "#/components/schemas/_types.aggregations:MinBucketAggregation" + }, + "missing": { + "$ref": "#/components/schemas/_types.aggregations:MissingAggregation" + }, + "moving_avg": { + "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregation" + }, + "moving_percentiles": { + "$ref": "#/components/schemas/_types.aggregations:MovingPercentilesAggregation" + }, + "moving_fn": { + "$ref": "#/components/schemas/_types.aggregations:MovingFunctionAggregation" + }, + "multi_terms": { + "$ref": "#/components/schemas/_types.aggregations:MultiTermsAggregation" + }, + "nested": { + "$ref": "#/components/schemas/_types.aggregations:NestedAggregation" + }, + "normalize": { + "$ref": "#/components/schemas/_types.aggregations:NormalizeAggregation" + }, + "parent": { + "$ref": "#/components/schemas/_types.aggregations:ParentAggregation" + }, + "percentile_ranks": { + "$ref": "#/components/schemas/_types.aggregations:PercentileRanksAggregation" + }, + "percentiles": { + "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregation" + }, + "percentiles_bucket": { + "$ref": "#/components/schemas/_types.aggregations:PercentilesBucketAggregation" + }, + "range": { + "$ref": "#/components/schemas/_types.aggregations:RangeAggregation" + }, + "rare_terms": { + "$ref": "#/components/schemas/_types.aggregations:RareTermsAggregation" + }, + "rate": { + "$ref": "#/components/schemas/_types.aggregations:RateAggregation" + }, + "reverse_nested": { + "$ref": "#/components/schemas/_types.aggregations:ReverseNestedAggregation" + }, + "sampler": { + "$ref": "#/components/schemas/_types.aggregations:SamplerAggregation" + }, + "scripted_metric": { + "$ref": "#/components/schemas/_types.aggregations:ScriptedMetricAggregation" + }, + "serial_diff": { + "$ref": "#/components/schemas/_types.aggregations:SerialDifferencingAggregation" + }, + "significant_terms": { + "$ref": "#/components/schemas/_types.aggregations:SignificantTermsAggregation" + }, + "significant_text": { + "$ref": "#/components/schemas/_types.aggregations:SignificantTextAggregation" + }, + "stats": { + "$ref": "#/components/schemas/_types.aggregations:StatsAggregation" + }, + "stats_bucket": { + "$ref": "#/components/schemas/_types.aggregations:StatsBucketAggregation" + }, + "string_stats": { + "$ref": "#/components/schemas/_types.aggregations:StringStatsAggregation" + }, + "sum": { + "$ref": "#/components/schemas/_types.aggregations:SumAggregation" + }, + "sum_bucket": { + "$ref": "#/components/schemas/_types.aggregations:SumBucketAggregation" + }, + "terms": { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregation" + }, + "top_hits": { + "$ref": "#/components/schemas/_types.aggregations:TopHitsAggregation" + }, + "t_test": { + "$ref": "#/components/schemas/_types.aggregations:TTestAggregation" + }, + "top_metrics": { + "$ref": "#/components/schemas/_types.aggregations:TopMetricsAggregation" + }, + "value_count": { + "$ref": "#/components/schemas/_types.aggregations:ValueCountAggregation" + }, + "weighted_avg": { + "$ref": "#/components/schemas/_types.aggregations:WeightedAverageAggregation" + }, + "variable_width_histogram": { + "$ref": "#/components/schemas/_types.aggregations:VariableWidthHistogramAggregation" + } + }, + "minProperties": 1, + "maxProperties": 1 } - } - }, - "ml._types:DatafeedState": { - "type": "string", - "enum": [ - "started", - "stopped", - "starting", - "stopping" ] }, - "cat._types:CatAnonalyDetectorColumns": { - "oneOf": [ + "_types.aggregations:AdjacencyMatrixAggregation": { + "allOf": [ { - "$ref": "#/components/schemas/cat._types:CatAnomalyDetectorColumn" + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" }, { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat._types:CatAnomalyDetectorColumn" + "type": "object", + "properties": { + "filters": { + "description": "Filters used to create buckets.\nAt least one filter is required.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } } } ] }, - "cat._types:CatAnomalyDetectorColumn": { - "type": "string", - "enum": [ - "assignment_explanation", - "buckets.count", - "buckets.time.exp_avg", - "buckets.time.exp_avg_hour", - "buckets.time.max", - "buckets.time.min", - "buckets.time.total", - "data.buckets", - "data.earliest_record", - "data.empty_buckets", - "data.input_bytes", - "data.input_fields", - "data.input_records", - "data.invalid_dates", - "data.last", - "data.last_empty_bucket", - "data.last_sparse_bucket", - "data.latest_record", - "data.missing_fields", - "data.out_of_order_timestamps", - "data.processed_fields", - "data.processed_records", - "data.sparse_buckets", - "forecasts.memory.avg", - "forecasts.memory.max", - "forecasts.memory.min", - "forecasts.memory.total", - "forecasts.records.avg", - "forecasts.records.max", - "forecasts.records.min", - "forecasts.records.total", - "forecasts.time.avg", - "forecasts.time.max", - "forecasts.time.min", - "forecasts.time.total", - "forecasts.total", - "id", - "model.bucket_allocation_failures", - "model.by_fields", - "model.bytes", - "model.bytes_exceeded", - "model.categorization_status", - "model.categorized_doc_count", - "model.dead_category_count", - "model.failed_category_count", - "model.frequent_category_count", - "model.log_time", - "model.memory_limit", - "model.memory_status", - "model.over_fields", - "model.partition_fields", - "model.rare_category_count", - "model.timestamp", - "model.total_category_count", - "node.address", - "node.ephemeral_id", - "node.id", - "node.name", - "opened_time", - "state" - ] - }, - "cat.ml_jobs:JobsRecord": { + "_types.query_dsl:QueryContainer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html" + }, "type": "object", "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "state": { - "$ref": "#/components/schemas/ml._types:JobState" + "bool": { + "$ref": "#/components/schemas/_types.query_dsl:BoolQuery" }, - "opened_time": { - "description": "For open jobs only, the amount of time the job has been opened.", - "type": "string" + "boosting": { + "$ref": "#/components/schemas/_types.query_dsl:BoostingQuery" }, - "assignment_explanation": { - "description": "For open anomaly detection jobs only, contains messages relating to the selection of a node to run the job.", - "type": "string" + "common": { + "deprecated": true, + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:CommonTermsQuery" + }, + "minProperties": 1, + "maxProperties": 1 }, - "data.processed_records": { - "description": "The number of input documents that have been processed by the anomaly detection job.\nThis value includes documents with missing fields, since they are nonetheless analyzed.\nIf you use datafeeds and have aggregations in your search query, the `processed_record_count` is the number of aggregation results processed, not the number of Elasticsearch documents.", - "type": "string" + "combined_fields": { + "$ref": "#/components/schemas/_types.query_dsl:CombinedFieldsQuery" }, - "data.processed_fields": { - "description": "The total number of fields in all the documents that have been processed by the anomaly detection job.\nOnly fields that are specified in the detector configuration object contribute to this count.\nThe timestamp is not included in this count.", - "type": "string" + "constant_score": { + "$ref": "#/components/schemas/_types.query_dsl:ConstantScoreQuery" }, - "data.input_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" + "dis_max": { + "$ref": "#/components/schemas/_types.query_dsl:DisMaxQuery" }, - "data.input_records": { - "description": "The number of input documents posted to the anomaly detection job.", - "type": "string" + "distance_feature": { + "$ref": "#/components/schemas/_types.query_dsl:DistanceFeatureQuery" }, - "data.input_fields": { - "description": "The total number of fields in input documents posted to the anomaly detection job.\nThis count includes fields that are not used in the analysis.\nHowever, be aware that if you are using a datafeed, it extracts only the required fields from the documents it retrieves before posting them to the job.", - "type": "string" + "exists": { + "$ref": "#/components/schemas/_types.query_dsl:ExistsQuery" }, - "data.invalid_dates": { - "description": "The number of input documents with either a missing date field or a date that could not be parsed.", - "type": "string" + "function_score": { + "$ref": "#/components/schemas/_types.query_dsl:FunctionScoreQuery" }, - "data.missing_fields": { - "description": "The number of input documents that are missing a field that the anomaly detection job is configured to analyze.\nInput documents with missing fields are still processed because it is possible that not all fields are missing.\nIf you are using datafeeds or posting data to the job in JSON format, a high `missing_field_count` is often not an indication of data issues.\nIt is not necessarily a cause for concern.", - "type": "string" + "fuzzy": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-fuzzy-query.html" + }, + "description": "Returns documents that contain terms similar to the search term, as measured by a Levenshtein edit distance.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:FuzzyQuery" + }, + "minProperties": 1, + "maxProperties": 1 }, - "data.out_of_order_timestamps": { - "description": "The number of input documents that have a timestamp chronologically preceding the start of the current anomaly detection bucket offset by the latency window.\nThis information is applicable only when you provide data to the anomaly detection job by using the post data API.\nThese out of order documents are discarded, since jobs require time series data to be in ascending chronological order.", - "type": "string" + "geo_bounding_box": { + "$ref": "#/components/schemas/_types.query_dsl:GeoBoundingBoxQuery" }, - "data.empty_buckets": { - "description": "The number of buckets which did not contain any data.\nIf your data contains many empty buckets, consider increasing your `bucket_span` or using functions that are tolerant to gaps in data such as mean, `non_null_sum` or `non_zero_count`.", - "type": "string" + "geo_distance": { + "$ref": "#/components/schemas/_types.query_dsl:GeoDistanceQuery" }, - "data.sparse_buckets": { - "description": "The number of buckets that contained few data points compared to the expected number of data points.\nIf your data contains many sparse buckets, consider using a longer `bucket_span`.", - "type": "string" + "geo_polygon": { + "$ref": "#/components/schemas/_types.query_dsl:GeoPolygonQuery" }, - "data.buckets": { - "description": "The total number of buckets processed.", - "type": "string" + "geo_shape": { + "$ref": "#/components/schemas/_types.query_dsl:GeoShapeQuery" }, - "data.earliest_record": { - "description": "The timestamp of the earliest chronologically input document.", - "type": "string" + "has_child": { + "$ref": "#/components/schemas/_types.query_dsl:HasChildQuery" }, - "data.latest_record": { - "description": "The timestamp of the latest chronologically input document.", - "type": "string" + "has_parent": { + "$ref": "#/components/schemas/_types.query_dsl:HasParentQuery" }, - "data.last": { - "description": "The timestamp at which data was last analyzed, according to server time.", - "type": "string" + "ids": { + "$ref": "#/components/schemas/_types.query_dsl:IdsQuery" }, - "data.last_empty_bucket": { - "description": "The timestamp of the last bucket that did not contain any data.", - "type": "string" + "intervals": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-intervals-query.html" + }, + "description": "Returns documents based on the order and proximity of matching terms.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsQuery" + }, + "minProperties": 1, + "maxProperties": 1 }, - "data.last_sparse_bucket": { - "description": "The timestamp of the last bucket that was considered sparse.", - "type": "string" + "match": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query.html" + }, + "description": "Returns documents that match a provided text, number, date or boolean value.\nThe provided text is analyzed before matching.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:MatchQuery" + }, + "minProperties": 1, + "maxProperties": 1 }, - "model.bytes": { - "$ref": "#/components/schemas/_types:ByteSize" + "match_all": { + "$ref": "#/components/schemas/_types.query_dsl:MatchAllQuery" }, - "model.memory_status": { - "$ref": "#/components/schemas/ml._types:MemoryStatus" + "match_bool_prefix": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-bool-prefix-query.html" + }, + "description": "Analyzes its input and constructs a `bool` query from the terms.\nEach term except the last is used in a `term` query.\nThe last term is used in a prefix query.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:MatchBoolPrefixQuery" + }, + "minProperties": 1, + "maxProperties": 1 }, - "model.bytes_exceeded": { - "$ref": "#/components/schemas/_types:ByteSize" + "match_none": { + "$ref": "#/components/schemas/_types.query_dsl:MatchNoneQuery" }, - "model.memory_limit": { - "description": "The upper limit for model memory usage, checked on increasing values.", - "type": "string" + "match_phrase": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query-phrase.html" + }, + "description": "Analyzes the text and creates a phrase query out of the analyzed text.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:MatchPhraseQuery" + }, + "minProperties": 1, + "maxProperties": 1 }, - "model.by_fields": { - "description": "The number of `by` field values that were analyzed by the models.\nThis value is cumulative for all detectors in the job.", - "type": "string" + "match_phrase_prefix": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query-phrase-prefix.html" + }, + "description": "Returns documents that contain the words of a provided text, in the same order as provided.\nThe last term of the provided text is treated as a prefix, matching any words that begin with that term.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:MatchPhrasePrefixQuery" + }, + "minProperties": 1, + "maxProperties": 1 }, - "model.over_fields": { - "description": "The number of `over` field values that were analyzed by the models.\nThis value is cumulative for all detectors in the job.", - "type": "string" + "more_like_this": { + "$ref": "#/components/schemas/_types.query_dsl:MoreLikeThisQuery" }, - "model.partition_fields": { - "description": "The number of `partition` field values that were analyzed by the models.\nThis value is cumulative for all detectors in the job.", - "type": "string" + "multi_match": { + "$ref": "#/components/schemas/_types.query_dsl:MultiMatchQuery" }, - "model.bucket_allocation_failures": { - "description": "The number of buckets for which new entities in incoming data were not processed due to insufficient model memory.\nThis situation is also signified by a `hard_limit: memory_status` property value.", - "type": "string" + "nested": { + "$ref": "#/components/schemas/_types.query_dsl:NestedQuery" }, - "model.categorization_status": { - "$ref": "#/components/schemas/ml._types:CategorizationStatus" + "parent_id": { + "$ref": "#/components/schemas/_types.query_dsl:ParentIdQuery" }, - "model.categorized_doc_count": { - "description": "The number of documents that have had a field categorized.", - "type": "string" + "percolate": { + "$ref": "#/components/schemas/_types.query_dsl:PercolateQuery" }, - "model.total_category_count": { - "description": "The number of categories created by categorization.", - "type": "string" + "pinned": { + "$ref": "#/components/schemas/_types.query_dsl:PinnedQuery" }, - "model.frequent_category_count": { - "description": "The number of categories that match more than 1% of categorized documents.", - "type": "string" + "prefix": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-prefix-query.html" + }, + "description": "Returns documents that contain a specific prefix in a provided field.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:PrefixQuery" + }, + "minProperties": 1, + "maxProperties": 1 }, - "model.rare_category_count": { - "description": "The number of categories that match just one categorized document.", - "type": "string" + "query_string": { + "$ref": "#/components/schemas/_types.query_dsl:QueryStringQuery" }, - "model.dead_category_count": { - "description": "The number of categories created by categorization that will never be assigned again because another category’s definition makes it a superset of the dead category.\nDead categories are a side effect of the way categorization has no prior training.", - "type": "string" + "range": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html" + }, + "description": "Returns documents that contain terms within a provided range.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:RangeQuery" + }, + "minProperties": 1, + "maxProperties": 1 }, - "model.failed_category_count": { - "description": "The number of times that categorization wanted to create a new category but couldn’t because the job had hit its `model_memory_limit`.\nThis count does not track which specific categories failed to be created.\nTherefore you cannot use this value to determine the number of unique categories that were missed.", - "type": "string" + "rank_feature": { + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureQuery" }, - "model.log_time": { - "description": "The timestamp when the model stats were gathered, according to server time.", - "type": "string" + "regexp": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-regexp-query.html" + }, + "description": "Returns documents that contain terms matching a regular expression.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:RegexpQuery" + }, + "minProperties": 1, + "maxProperties": 1 }, - "model.timestamp": { - "description": "The timestamp of the last record when the model stats were gathered.", - "type": "string" + "rule_query": { + "$ref": "#/components/schemas/_types.query_dsl:RuleQuery" }, - "forecasts.total": { - "description": "The number of individual forecasts currently available for the job.\nA value of one or more indicates that forecasts exist.", - "type": "string" + "script": { + "$ref": "#/components/schemas/_types.query_dsl:ScriptQuery" }, - "forecasts.memory.min": { - "description": "The minimum memory usage in bytes for forecasts related to the anomaly detection job.", - "type": "string" + "script_score": { + "$ref": "#/components/schemas/_types.query_dsl:ScriptScoreQuery" }, - "forecasts.memory.max": { - "description": "The maximum memory usage in bytes for forecasts related to the anomaly detection job.", - "type": "string" + "shape": { + "$ref": "#/components/schemas/_types.query_dsl:ShapeQuery" }, - "forecasts.memory.avg": { - "description": "The average memory usage in bytes for forecasts related to the anomaly detection job.", - "type": "string" + "simple_query_string": { + "$ref": "#/components/schemas/_types.query_dsl:SimpleQueryStringQuery" }, - "forecasts.memory.total": { - "description": "The total memory usage in bytes for forecasts related to the anomaly detection job.", - "type": "string" + "span_containing": { + "$ref": "#/components/schemas/_types.query_dsl:SpanContainingQuery" }, - "forecasts.records.min": { - "description": "The minimum number of `model_forecast` documents written for forecasts related to the anomaly detection job.", - "type": "string" + "field_masking_span": { + "$ref": "#/components/schemas/_types.query_dsl:SpanFieldMaskingQuery" }, - "forecasts.records.max": { - "description": "The maximum number of `model_forecast` documents written for forecasts related to the anomaly detection job.", - "type": "string" + "span_first": { + "$ref": "#/components/schemas/_types.query_dsl:SpanFirstQuery" }, - "forecasts.records.avg": { - "description": "The average number of `model_forecast` documents written for forecasts related to the anomaly detection job.", - "type": "string" + "span_multi": { + "$ref": "#/components/schemas/_types.query_dsl:SpanMultiTermQuery" }, - "forecasts.records.total": { - "description": "The total number of `model_forecast` documents written for forecasts related to the anomaly detection job.", - "type": "string" + "span_near": { + "$ref": "#/components/schemas/_types.query_dsl:SpanNearQuery" }, - "forecasts.time.min": { - "description": "The minimum runtime in milliseconds for forecasts related to the anomaly detection job.", - "type": "string" + "span_not": { + "$ref": "#/components/schemas/_types.query_dsl:SpanNotQuery" }, - "forecasts.time.max": { - "description": "The maximum runtime in milliseconds for forecasts related to the anomaly detection job.", - "type": "string" + "span_or": { + "$ref": "#/components/schemas/_types.query_dsl:SpanOrQuery" }, - "forecasts.time.avg": { - "description": "The average runtime in milliseconds for forecasts related to the anomaly detection job.", - "type": "string" + "span_term": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-span-term-query.html" + }, + "description": "Matches spans containing a term.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:SpanTermQuery" + }, + "minProperties": 1, + "maxProperties": 1 }, - "forecasts.time.total": { - "description": "The total runtime in milliseconds for forecasts related to the anomaly detection job.", - "type": "string" + "span_within": { + "$ref": "#/components/schemas/_types.query_dsl:SpanWithinQuery" }, - "node.id": { - "$ref": "#/components/schemas/_types:NodeId" + "term": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-term-query.html" + }, + "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": "#/components/schemas/_types.query_dsl:TermQuery" + }, + "minProperties": 1, + "maxProperties": 1 }, - "node.name": { - "description": "The name of the assigned node.", - "type": "string" + "terms": { + "$ref": "#/components/schemas/_types.query_dsl:TermsQuery" }, - "node.ephemeral_id": { - "$ref": "#/components/schemas/_types:NodeId" + "terms_set": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-set-query.html" + }, + "description": "Returns documents that contain a minimum number of exact terms in a provided field.\nTo return a document, a required number of terms must exactly match the field values, including whitespace and capitalization.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:TermsSetQuery" + }, + "minProperties": 1, + "maxProperties": 1 }, - "node.address": { - "description": "The network address of the assigned node.", - "type": "string" + "text_expansion": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-text-expansion-query.html" + }, + "description": "Uses a natural language processing model to convert the query text into a list of token-weight pairs which are then used in a query against a rank features field.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:TextExpansionQuery" + }, + "minProperties": 1, + "maxProperties": 1 }, - "buckets.count": { - "description": "The number of bucket results produced by the job.", - "type": "string" + "wildcard": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-wildcard-query.html" + }, + "description": "Returns documents that contain terms matching a wildcard pattern.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:WildcardQuery" + }, + "minProperties": 1, + "maxProperties": 1 }, - "buckets.time.total": { - "description": "The sum of all bucket processing times, in milliseconds.", - "type": "string" + "wrapper": { + "$ref": "#/components/schemas/_types.query_dsl:WrapperQuery" }, - "buckets.time.min": { - "description": "The minimum of all bucket processing times, in milliseconds.", - "type": "string" + "type": { + "$ref": "#/components/schemas/_types.query_dsl:TypeQuery" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_types.query_dsl:BoolQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, - "buckets.time.max": { - "description": "The maximum of all bucket processing times, in milliseconds.", - "type": "string" + { + "type": "object", + "properties": { + "filter": { + "description": "The clause (query) must appear in matching documents.\nHowever, unlike `must`, the score of the query will be ignored.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + ] + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "must": { + "description": "The clause (query) must appear in matching documents and will contribute to the score.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + ] + }, + "must_not": { + "description": "The clause (query) must not appear in the matching documents.\nBecause scoring is ignored, a score of `0` is returned for all documents.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + ] + }, + "should": { + "description": "The clause (query) should appear in the matching document.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + ] + } + } + } + ] + }, + "_types:MinimumShouldMatch": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-minimum-should-match.html" + }, + "description": "The minimum number of terms that should match as integer, percentage or range", + "oneOf": [ + { + "type": "number" }, - "buckets.time.exp_avg": { - "description": "The exponential moving average of all bucket processing times, in milliseconds.", + { "type": "string" + } + ] + }, + "_types.query_dsl:QueryBase": { + "type": "object", + "properties": { + "boost": { + "description": "Floating point number used to decrease or increase the relevance scores of the query.\nBoost values are relative to the default value of 1.0.\nA boost value between 0 and 1.0 decreases the relevance score.\nA value greater than 1.0 increases the relevance score.", + "type": "number" }, - "buckets.time.exp_avg_hour": { - "description": "The exponential moving average of bucket processing times calculated in a one hour time window, in milliseconds.", + "_name": { "type": "string" } } }, - "ml._types:JobState": { + "_types.query_dsl:BoostingQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "negative_boost": { + "description": "Floating point number between 0 and 1.0 used to decrease the relevance scores of documents matching the `negative` query.", + "type": "number" + }, + "negative": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "positive": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "required": [ + "negative_boost", + "negative", + "positive" + ] + } + ] + }, + "_types.query_dsl:CommonTermsQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "type": "string" + }, + "cutoff_frequency": { + "type": "number" + }, + "high_freq_operator": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "low_freq_operator": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "query": { + "type": "string" + } + }, + "required": [ + "query" + ] + } + ] + }, + "_types.query_dsl:CombinedFieldsQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "fields": { + "description": "List of fields to search. Field wildcard patterns are allowed. Only `text` fields are supported, and they must all have the same search `analyzer`.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "query": { + "description": "Text to search for in the provided `fields`.\nThe `combined_fields` query analyzes the provided text before performing a search.", + "type": "string" + }, + "auto_generate_synonyms_phrase_query": { + "description": "If true, match phrase queries are automatically created for multi-term synonyms.", + "type": "boolean" + }, + "operator": { + "$ref": "#/components/schemas/_types.query_dsl:CombinedFieldsOperator" + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "zero_terms_query": { + "$ref": "#/components/schemas/_types.query_dsl:CombinedFieldsZeroTerms" + } + }, + "required": [ + "fields", + "query" + ] + } + ] + }, + "_types.query_dsl:CombinedFieldsOperator": { "type": "string", "enum": [ - "closing", - "closed", - "opened", - "failed", - "opening" + "or", + "and" ] }, - "ml._types:MemoryStatus": { + "_types.query_dsl:CombinedFieldsZeroTerms": { "type": "string", "enum": [ - "ok", - "soft_limit", - "hard_limit" + "none", + "all" + ] + }, + "_types.query_dsl:ConstantScoreQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "required": [ + "filter" + ] + } + ] + }, + "_types.query_dsl:DisMaxQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "queries": { + "description": "One or more query clauses.\nReturned documents must match one or more of these queries.\nIf a document matches multiple queries, Elasticsearch uses the highest relevance score.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "tie_breaker": { + "description": "Floating point number between 0 and 1.0 used to increase the relevance scores of documents matching multiple query clauses.", + "type": "number" + } + }, + "required": [ + "queries" + ] + } + ] + }, + "_types.query_dsl:DistanceFeatureQuery": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:GeoDistanceFeatureQuery" + }, + { + "$ref": "#/components/schemas/_types.query_dsl:DateDistanceFeatureQuery" + } + ] + }, + "_types.query_dsl:GeoDistanceFeatureQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:DistanceFeatureQueryBaseGeoLocationDistance" + }, + { + "type": "object" + } + ] + }, + "_types.query_dsl:DistanceFeatureQueryBaseGeoLocationDistance": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "origin": { + "$ref": "#/components/schemas/_types:GeoLocation" + }, + "pivot": { + "$ref": "#/components/schemas/_types:Distance" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "origin", + "pivot", + "field" + ] + } + ] + }, + "_types:Distance": { + "type": "string" + }, + "_types.query_dsl:DateDistanceFeatureQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:DistanceFeatureQueryBaseDateMathDuration" + }, + { + "type": "object" + } + ] + }, + "_types.query_dsl:DistanceFeatureQueryBaseDateMathDuration": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "origin": { + "$ref": "#/components/schemas/_types:DateMath" + }, + "pivot": { + "$ref": "#/components/schemas/_types:Duration" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "origin", + "pivot", + "field" + ] + } ] }, - "ml._types:CategorizationStatus": { - "type": "string", - "enum": [ - "ok", - "warn" + "_types:DateMath": { + "type": "string" + }, + "_types.query_dsl:ExistsQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + } ] }, - "cat._types:CatTrainedModelsColumns": { - "oneOf": [ + "_types.query_dsl:FunctionScoreQuery": { + "allOf": [ { - "$ref": "#/components/schemas/cat._types:CatTrainedModelsColumn" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat._types:CatTrainedModelsColumn" + "type": "object", + "properties": { + "boost_mode": { + "$ref": "#/components/schemas/_types.query_dsl:FunctionBoostMode" + }, + "functions": { + "description": "One or more functions that compute a new score for each document returned by the query.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FunctionScoreContainer" + } + }, + "max_boost": { + "description": "Restricts the new score to not exceed the provided limit.", + "type": "number" + }, + "min_score": { + "description": "Excludes documents that do not meet the provided score threshold.", + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "score_mode": { + "$ref": "#/components/schemas/_types.query_dsl:FunctionScoreMode" + } } } ] }, - "cat._types:CatTrainedModelsColumn": { + "_types.query_dsl:FunctionBoostMode": { "type": "string", "enum": [ - "create_time", - "created_by", - "data_frame_analytics_id", - "description", - "heap_size", - "id", - "ingest.count", - "ingest.current", - "ingest.failed", - "ingest.pipelines", - "ingest.time", - "license", - "operations", - "version" + "multiply", + "replace", + "sum", + "avg", + "max", + "min" ] }, - "cat.ml_trained_models:TrainedModelsRecord": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "created_by": { - "description": "Information about the creator of the model.", - "type": "string" - }, - "heap_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "operations": { - "description": "The estimated number of operations to use the model.\nThis number helps to measure the computational complexity of the model.", - "type": "string" - }, - "license": { - "description": "The license level of the model.", - "type": "string" - }, - "create_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "description": { - "description": "A description of the model.", - "type": "string" - }, - "ingest.pipelines": { - "description": "The number of pipelines that are referencing the model.", - "type": "string" - }, - "ingest.count": { - "description": "The total number of documents that are processed by the model.", - "type": "string" - }, - "ingest.time": { - "description": "The total time spent processing documents with thie model.", - "type": "string" - }, - "ingest.current": { - "description": "The total number of documents that are currently being handled by the model.", - "type": "string" - }, - "ingest.failed": { - "description": "The total number of failed ingest attempts with the model.", - "type": "string" - }, - "data_frame.id": { - "description": "The identifier for the data frame analytics job that created the model.\nOnly displayed if the job is still available.", - "type": "string" - }, - "data_frame.create_time": { - "description": "The time the data frame analytics job was created.", - "type": "string" - }, - "data_frame.source_index": { - "description": "The source index used to train in the data frame analysis.", - "type": "string" - }, - "data_frame.analysis": { - "description": "The analysis used by the data frame to build the model.", - "type": "string" + "_types.query_dsl:FunctionScoreContainer": { + "allOf": [ + { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "weight": { + "type": "number" + } + } }, - "type": { - "type": "string" + { + "type": "object", + "properties": { + "exp": { + "$ref": "#/components/schemas/_types.query_dsl:DecayFunction" + }, + "gauss": { + "$ref": "#/components/schemas/_types.query_dsl:DecayFunction" + }, + "linear": { + "$ref": "#/components/schemas/_types.query_dsl:DecayFunction" + }, + "field_value_factor": { + "$ref": "#/components/schemas/_types.query_dsl:FieldValueFactorScoreFunction" + }, + "random_score": { + "$ref": "#/components/schemas/_types.query_dsl:RandomScoreFunction" + }, + "script_score": { + "$ref": "#/components/schemas/_types.query_dsl:ScriptScoreFunction" + } + }, + "minProperties": 1, + "maxProperties": 1 } - } + ] }, - "cat.nodeattrs:NodeAttributesRecord": { - "type": "object", - "properties": { - "node": { - "description": "The node name.", - "type": "string" - }, - "id": { - "description": "The unique node identifier.", - "type": "string" - }, - "pid": { - "description": "The process identifier.", - "type": "string" - }, - "host": { - "description": "The host name.", - "type": "string" - }, - "ip": { - "description": "The IP address.", - "type": "string" + "_types.query_dsl:DecayFunction": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:DateDecayFunction" }, - "port": { - "description": "The bound transport port.", - "type": "string" + { + "$ref": "#/components/schemas/_types.query_dsl:NumericDecayFunction" }, - "attr": { - "description": "The attribute name.", - "type": "string" + { + "$ref": "#/components/schemas/_types.query_dsl:GeoDecayFunction" + } + ] + }, + "_types.query_dsl:DateDecayFunction": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:DecayFunctionBase" }, - "value": { - "description": "The attribute value.", - "type": "string" + { + "type": "object" } - } + ] }, - "cat.nodes:NodesRecord": { + "_types.query_dsl:DecayFunctionBase": { "type": "object", "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "pid": { - "description": "The process identifier.", - "type": "string" - }, - "ip": { - "description": "The IP address.", - "type": "string" - }, - "port": { - "description": "The bound transport port.", - "type": "string" - }, - "http_address": { - "description": "The bound HTTP address.", - "type": "string" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "flavor": { - "description": "The Elasticsearch distribution flavor.", - "type": "string" - }, - "type": { - "description": "The Elasticsearch distribution type.", - "type": "string" - }, - "build": { - "description": "The Elasticsearch build hash.", - "type": "string" - }, - "jdk": { - "description": "The Java version.", - "type": "string" - }, - "disk.total": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "disk.used": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "disk.avail": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "disk.used_percent": { - "$ref": "#/components/schemas/_types:Percentage" - }, - "heap.current": { - "description": "The used heap.", - "type": "string" - }, - "heap.percent": { - "$ref": "#/components/schemas/_types:Percentage" - }, - "heap.max": { - "description": "The maximum configured heap.", - "type": "string" - }, - "ram.current": { - "description": "The used machine memory.", - "type": "string" - }, - "ram.percent": { - "$ref": "#/components/schemas/_types:Percentage" - }, - "ram.max": { - "description": "The total machine memory.", - "type": "string" - }, - "file_desc.current": { - "description": "The used file descriptors.", - "type": "string" - }, - "file_desc.percent": { - "$ref": "#/components/schemas/_types:Percentage" - }, - "file_desc.max": { - "description": "The maximum number of file descriptors.", - "type": "string" - }, - "cpu": { - "description": "The recent system CPU usage as a percentage.", - "type": "string" - }, - "load_1m": { - "description": "The load average for the most recent minute.", - "type": "string" - }, - "load_5m": { - "description": "The load average for the last five minutes.", - "type": "string" - }, - "load_15m": { - "description": "The load average for the last fifteen minutes.", - "type": "string" - }, - "uptime": { - "description": "The node uptime.", - "type": "string" - }, - "node.role": { - "description": "The roles of the node.\nReturned values include `c`(cold node), `d`(data node), `f`(frozen node), `h`(hot node), `i`(ingest node), `l`(machine learning node), `m` (master eligible node), `r`(remote cluster client node), `s`(content node), `t`(transform node), `v`(voting-only node), `w`(warm node),and `-`(coordinating node only).", - "type": "string" - }, - "master": { - "description": "Indicates whether the node is the elected master node.\nReturned values include `*`(elected master) and `-`(not elected master).", - "type": "string" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "completion.size": { - "description": "The size of completion.", - "type": "string" - }, - "fielddata.memory_size": { - "description": "The used fielddata cache.", - "type": "string" - }, - "fielddata.evictions": { - "description": "The fielddata evictions.", - "type": "string" - }, - "query_cache.memory_size": { - "description": "The used query cache.", - "type": "string" - }, - "query_cache.evictions": { - "description": "The query cache evictions.", - "type": "string" - }, - "query_cache.hit_count": { - "description": "The query cache hit counts.", - "type": "string" - }, - "query_cache.miss_count": { - "description": "The query cache miss counts.", - "type": "string" - }, - "request_cache.memory_size": { - "description": "The used request cache.", - "type": "string" - }, - "request_cache.evictions": { - "description": "The request cache evictions.", - "type": "string" - }, - "request_cache.hit_count": { - "description": "The request cache hit counts.", - "type": "string" - }, - "request_cache.miss_count": { - "description": "The request cache miss counts.", - "type": "string" - }, - "flush.total": { - "description": "The number of flushes.", - "type": "string" - }, - "flush.total_time": { - "description": "The time spent in flush.", - "type": "string" - }, - "get.current": { - "description": "The number of current get ops.", - "type": "string" - }, - "get.time": { - "description": "The time spent in get.", - "type": "string" - }, - "get.total": { - "description": "The number of get ops.", - "type": "string" - }, - "get.exists_time": { - "description": "The time spent in successful gets.", - "type": "string" - }, - "get.exists_total": { - "description": "The number of successful get operations.", - "type": "string" - }, - "get.missing_time": { - "description": "The time spent in failed gets.", - "type": "string" - }, - "get.missing_total": { - "description": "The number of failed gets.", - "type": "string" - }, - "indexing.delete_current": { - "description": "The number of current deletions.", - "type": "string" - }, - "indexing.delete_time": { - "description": "The time spent in deletions.", - "type": "string" - }, - "indexing.delete_total": { - "description": "The number of delete operations.", - "type": "string" - }, - "indexing.index_current": { - "description": "The number of current indexing operations.", - "type": "string" - }, - "indexing.index_time": { - "description": "The time spent in indexing.", - "type": "string" - }, - "indexing.index_total": { - "description": "The number of indexing operations.", - "type": "string" - }, - "indexing.index_failed": { - "description": "The number of failed indexing operations.", - "type": "string" - }, - "merges.current": { - "description": "The number of current merges.", - "type": "string" - }, - "merges.current_docs": { - "description": "The number of current merging docs.", - "type": "string" - }, - "merges.current_size": { - "description": "The size of current merges.", - "type": "string" - }, - "merges.total": { - "description": "The number of completed merge operations.", - "type": "string" - }, - "merges.total_docs": { - "description": "The docs merged.", - "type": "string" - }, - "merges.total_size": { - "description": "The size merged.", - "type": "string" - }, - "merges.total_time": { - "description": "The time spent in merges.", - "type": "string" - }, - "refresh.total": { - "description": "The total refreshes.", - "type": "string" - }, - "refresh.time": { - "description": "The time spent in refreshes.", - "type": "string" - }, - "refresh.external_total": { - "description": "The total external refreshes.", - "type": "string" - }, - "refresh.external_time": { - "description": "The time spent in external refreshes.", - "type": "string" - }, - "refresh.listeners": { - "description": "The number of pending refresh listeners.", - "type": "string" - }, - "script.compilations": { - "description": "The total script compilations.", - "type": "string" - }, - "script.cache_evictions": { - "description": "The total compiled scripts evicted from the cache.", - "type": "string" - }, - "script.compilation_limit_triggered": { - "description": "The script cache compilation limit triggered.", - "type": "string" - }, - "search.fetch_current": { - "description": "The current fetch phase operations.", - "type": "string" - }, - "search.fetch_time": { - "description": "The time spent in fetch phase.", - "type": "string" - }, - "search.fetch_total": { - "description": "The total fetch operations.", - "type": "string" - }, - "search.open_contexts": { - "description": "The open search contexts.", - "type": "string" - }, - "search.query_current": { - "description": "The current query phase operations.", - "type": "string" - }, - "search.query_time": { - "description": "The time spent in query phase.", - "type": "string" - }, - "search.query_total": { - "description": "The total query phase operations.", - "type": "string" - }, - "search.scroll_current": { - "description": "The open scroll contexts.", - "type": "string" - }, - "search.scroll_time": { - "description": "The time scroll contexts held open.", - "type": "string" - }, - "search.scroll_total": { - "description": "The completed scroll contexts.", - "type": "string" - }, - "segments.count": { - "description": "The number of segments.", - "type": "string" - }, - "segments.memory": { - "description": "The memory used by segments.", - "type": "string" - }, - "segments.index_writer_memory": { - "description": "The memory used by the index writer.", - "type": "string" - }, - "segments.version_map_memory": { - "description": "The memory used by the version map.", - "type": "string" - }, - "segments.fixed_bitset_memory": { - "description": "The memory used by fixed bit sets for nested object field types and export type filters for types referred in _parent fields.", - "type": "string" - }, - "suggest.current": { - "description": "The number of current suggest operations.", - "type": "string" - }, - "suggest.time": { - "description": "The time spend in suggest.", - "type": "string" - }, - "suggest.total": { - "description": "The number of suggest operations.", - "type": "string" - }, - "bulk.total_operations": { - "description": "The number of bulk shard operations.", - "type": "string" - }, - "bulk.total_time": { - "description": "The time spend in shard bulk.", - "type": "string" - }, - "bulk.total_size_in_bytes": { - "description": "The total size in bytes of shard bulk.", - "type": "string" - }, - "bulk.avg_time": { - "description": "The average time spend in shard bulk.", - "type": "string" - }, - "bulk.avg_size_in_bytes": { - "description": "The average size in bytes of shard bulk.", - "type": "string" + "multi_value_mode": { + "$ref": "#/components/schemas/_types.query_dsl:MultiValueMode" } } }, - "cat.pending_tasks:PendingTasksRecord": { - "type": "object", - "properties": { - "insertOrder": { - "description": "The task insertion order.", - "type": "string" - }, - "timeInQueue": { - "description": "Indicates how long the task has been in queue.", - "type": "string" - }, - "priority": { - "description": "The task priority.", - "type": "string" + "_types.query_dsl:MultiValueMode": { + "type": "string", + "enum": [ + "min", + "max", + "avg", + "sum" + ] + }, + "_types.query_dsl:NumericDecayFunction": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:DecayFunctionBase" }, - "source": { - "description": "The task source.", - "type": "string" + { + "type": "object" } - } + ] }, - "cat.plugins:PluginsRecord": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:NodeId" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "component": { - "description": "The component name.", - "type": "string" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "description": { - "description": "The plugin details.", - "type": "string" + "_types.query_dsl:GeoDecayFunction": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:DecayFunctionBase" }, - "type": { - "description": "The plugin type.", - "type": "string" + { + "type": "object" } - } + ] }, - "cat.segments:SegmentsRecord": { + "_types.query_dsl:FieldValueFactorScoreFunction": { "type": "object", "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "shard": { - "description": "The shard name.", - "type": "string" - }, - "prirep": { - "description": "The shard type: `primary` or `replica`.", - "type": "string" - }, - "ip": { - "description": "The IP address of the node where it lives.", - "type": "string" - }, - "id": { - "$ref": "#/components/schemas/_types:NodeId" - }, - "segment": { - "description": "The segment name, which is derived from the segment generation and used internally to create file names in the directory of the shard.", - "type": "string" - }, - "generation": { - "description": "The segment generation number.\nElasticsearch increments this generation number for each segment written then uses this number to derive the segment name.", - "type": "string" - }, - "docs.count": { - "description": "The number of documents in the segment.\nThis excludes deleted documents and counts any nested documents separately from their parents.\nIt also excludes documents which were indexed recently and do not yet belong to a segment.", - "type": "string" - }, - "docs.deleted": { - "description": "The number of deleted documents in the segment, which might be higher or lower than the number of delete operations you have performed.\nThis number excludes deletes that were performed recently and do not yet belong to a segment.\nDeleted documents are cleaned up by the automatic merge process if it makes sense to do so.\nAlso, Elasticsearch creates extra deleted documents to internally track the recent history of operations on a shard.", - "type": "string" - }, - "size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "size.memory": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "committed": { - "description": "If `true`, the segment is synced to disk.\nSegments that are synced can survive a hard reboot.\nIf `false`, the data from uncommitted segments is also stored in the transaction log so that Elasticsearch is able to replay changes on the next start.", - "type": "string" + "field": { + "$ref": "#/components/schemas/_types:Field" }, - "searchable": { - "description": "If `true`, the segment is searchable.\nIf `false`, the segment has most likely been written to disk but needs a refresh to be searchable.", - "type": "string" + "factor": { + "description": "Optional factor to multiply the field value with.", + "type": "number" }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" + "missing": { + "description": "Value used if the document doesn’t have that field.\nThe modifier and factor are still applied to it as though it were read from the document.", + "type": "number" }, - "compound": { - "description": "If `true`, the segment is stored in a compound file.\nThis means Lucene merged all files from the segment in a single file to save file descriptors.", - "type": "string" + "modifier": { + "$ref": "#/components/schemas/_types.query_dsl:FieldValueFactorModifier" } - } + }, + "required": [ + "field" + ] + }, + "_types.query_dsl:FieldValueFactorModifier": { + "type": "string", + "enum": [ + "none", + "log", + "log1p", + "log2p", + "ln", + "ln1p", + "ln2p", + "square", + "sqrt", + "reciprocal" + ] }, - "cat.shards:ShardsRecord": { + "_types.query_dsl:RandomScoreFunction": { "type": "object", "properties": { - "index": { - "description": "The index name.", - "type": "string" - }, - "shard": { - "description": "The shard name.", - "type": "string" - }, - "prirep": { - "description": "The shard type: `primary` or `replica`.", - "type": "string" - }, - "state": { - "description": "The shard state.\nReturned values include:\n`INITIALIZING`: The shard is recovering from a peer shard or gateway.\n`RELOCATING`: The shard is relocating.\n`STARTED`: The shard has started.\n`UNASSIGNED`: The shard is not assigned to any node.", - "type": "string" + "field": { + "$ref": "#/components/schemas/_types:Field" }, - "docs": { - "description": "The number of documents in the shard.", + "seed": { "oneOf": [ { - "type": "string" + "type": "number" }, { - "nullable": true, "type": "string" } ] + } + } + }, + "_types.query_dsl:ScriptScoreFunction": { + "type": "object", + "properties": { + "script": { + "$ref": "#/components/schemas/_types:Script" + } + }, + "required": [ + "script" + ] + }, + "_types:Script": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:InlineScript" }, - "store": { - "description": "The disk space used by the shard.", - "oneOf": [ - { - "type": "string" + { + "$ref": "#/components/schemas/_types:StoredScriptId" + } + ] + }, + "_types:InlineScript": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:ScriptBase" + }, + { + "type": "object", + "properties": { + "lang": { + "$ref": "#/components/schemas/_types:ScriptLanguage" }, - { - "nullable": true, + "options": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "source": { + "description": "The script source.", "type": "string" } + }, + "required": [ + "source" ] + } + ] + }, + "_types:ScriptLanguage": { + "type": "string", + "enum": [ + "painless", + "expression", + "mustache", + "java" + ] + }, + "_types:ScriptBase": { + "type": "object", + "properties": { + "params": { + "description": "Specifies any named parameters that are passed into the script as variables.\nUse parameters instead of hard-coded values to decrease compile time.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "_types:StoredScriptId": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:ScriptBase" }, - "ip": { - "description": "The IP address of the node.", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" + { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" } + }, + "required": [ + "id" ] + } + ] + }, + "_types.query_dsl:FunctionScoreMode": { + "type": "string", + "enum": [ + "multiply", + "sum", + "avg", + "first", + "max", + "min" + ] + }, + "_types.query_dsl:FuzzyQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, - "id": { - "description": "The unique identifier for the node.", - "type": "string" - }, - "node": { - "description": "The name of node.", - "oneOf": [ - { - "type": "string" + { + "type": "object", + "properties": { + "max_expansions": { + "description": "Maximum number of variations created.", + "type": "number" }, - { - "nullable": true, - "type": "string" + "prefix_length": { + "description": "Number of beginning characters left unchanged when creating expansions.", + "type": "number" + }, + "rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "transpositions": { + "description": "Indicates whether edits include transpositions of two adjacent characters (for example `ab` to `ba`).", + "type": "boolean" + }, + "fuzziness": { + "$ref": "#/components/schemas/_types:Fuzziness" + }, + "value": { + "description": "Term you wish to find in the provided field.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] } + }, + "required": [ + "value" ] - }, - "sync_id": { - "description": "The sync identifier.", - "type": "string" - }, - "unassigned.reason": { - "description": "The reason for the last change to the state of an unassigned shard.\nIt does not explain why the shard is currently unassigned; use the cluster allocation explain API for that information.\nReturned values include:\n`ALLOCATION_FAILED`: Unassigned as a result of a failed allocation of the shard.\n`CLUSTER_RECOVERED`: Unassigned as a result of a full cluster recovery.\n`DANGLING_INDEX_IMPORTED`: Unassigned as a result of importing a dangling index.\n`EXISTING_INDEX_RESTORED`: Unassigned as a result of restoring into a closed index.\n`FORCED_EMPTY_PRIMARY`: The shard’s allocation was last modified by forcing an empty primary using the cluster reroute API.\n`INDEX_CLOSED`: Unassigned because the index was closed.\n`INDEX_CREATED`: Unassigned as a result of an API creation of an index.\n`INDEX_REOPENED`: Unassigned as a result of opening a closed index.\n`MANUAL_ALLOCATION`: The shard’s allocation was last modified by the cluster reroute API.\n`NEW_INDEX_RESTORED`: Unassigned as a result of restoring into a new index.\n`NODE_LEFT`: Unassigned as a result of the node hosting it leaving the cluster.\n`NODE_RESTARTING`: Similar to `NODE_LEFT`, except that the node was registered as restarting using the node shutdown API.\n`PRIMARY_FAILED`: The shard was initializing as a replica, but the primary shard failed before the initialization completed.\n`REALLOCATED_REPLICA`: A better replica location is identified and causes the existing replica allocation to be cancelled.\n`REINITIALIZED`: When a shard moves from started back to initializing.\n`REPLICA_ADDED`: Unassigned as a result of explicit addition of a replica.\n`REROUTE_CANCELLED`: Unassigned as a result of explicit cancel reroute command.", - "type": "string" - }, - "unassigned.at": { - "description": "The time at which the shard became unassigned in Coordinated Universal Time (UTC).", - "type": "string" - }, - "unassigned.for": { - "description": "The time at which the shard was requested to be unassigned in Coordinated Universal Time (UTC).", - "type": "string" - }, - "unassigned.details": { - "description": "Additional details as to why the shard became unassigned.\nIt does not explain why the shard is not assigned; use the cluster allocation explain API for that information.", - "type": "string" - }, - "recoverysource.type": { - "description": "The type of recovery source.", - "type": "string" - }, - "completion.size": { - "description": "The size of completion.", - "type": "string" - }, - "fielddata.memory_size": { - "description": "The used fielddata cache memory.", - "type": "string" - }, - "fielddata.evictions": { - "description": "The fielddata cache evictions.", - "type": "string" - }, - "query_cache.memory_size": { - "description": "The used query cache memory.", - "type": "string" - }, - "query_cache.evictions": { - "description": "The query cache evictions.", - "type": "string" - }, - "flush.total": { - "description": "The number of flushes.", - "type": "string" - }, - "flush.total_time": { - "description": "The time spent in flush.", - "type": "string" - }, - "get.current": { - "description": "The number of current get operations.", - "type": "string" - }, - "get.time": { - "description": "The time spent in get operations.", - "type": "string" - }, - "get.total": { - "description": "The number of get operations.", - "type": "string" - }, - "get.exists_time": { - "description": "The time spent in successful get operations.", - "type": "string" - }, - "get.exists_total": { - "description": "The number of successful get operations.", - "type": "string" - }, - "get.missing_time": { - "description": "The time spent in failed get operations.", - "type": "string" - }, - "get.missing_total": { - "description": "The number of failed get operations.", - "type": "string" - }, - "indexing.delete_current": { - "description": "The number of current deletion operations.", - "type": "string" - }, - "indexing.delete_time": { - "description": "The time spent in deletion operations.", - "type": "string" - }, - "indexing.delete_total": { - "description": "The number of delete operations.", - "type": "string" - }, - "indexing.index_current": { - "description": "The number of current indexing operations.", - "type": "string" - }, - "indexing.index_time": { - "description": "The time spent in indexing operations.", - "type": "string" - }, - "indexing.index_total": { - "description": "The number of indexing operations.", - "type": "string" - }, - "indexing.index_failed": { - "description": "The number of failed indexing operations.", - "type": "string" - }, - "merges.current": { - "description": "The number of current merge operations.", - "type": "string" - }, - "merges.current_docs": { - "description": "The number of current merging documents.", - "type": "string" - }, - "merges.current_size": { - "description": "The size of current merge operations.", - "type": "string" - }, - "merges.total": { - "description": "The number of completed merge operations.", - "type": "string" - }, - "merges.total_docs": { - "description": "The nuber of merged documents.", - "type": "string" - }, - "merges.total_size": { - "description": "The size of current merges.", - "type": "string" - }, - "merges.total_time": { - "description": "The time spent merging documents.", - "type": "string" - }, - "refresh.total": { - "description": "The total number of refreshes.", - "type": "string" - }, - "refresh.time": { - "description": "The time spent in refreshes.", - "type": "string" - }, - "refresh.external_total": { - "description": "The total nunber of external refreshes.", - "type": "string" - }, - "refresh.external_time": { - "description": "The time spent in external refreshes.", - "type": "string" - }, - "refresh.listeners": { - "description": "The number of pending refresh listeners.", - "type": "string" - }, - "search.fetch_current": { - "description": "The current fetch phase operations.", - "type": "string" - }, - "search.fetch_time": { - "description": "The time spent in fetch phase.", - "type": "string" - }, - "search.fetch_total": { - "description": "The total number of fetch operations.", - "type": "string" - }, - "search.open_contexts": { - "description": "The number of open search contexts.", - "type": "string" - }, - "search.query_current": { - "description": "The current query phase operations.", - "type": "string" - }, - "search.query_time": { - "description": "The time spent in query phase.", - "type": "string" - }, - "search.query_total": { - "description": "The total number of query phase operations.", - "type": "string" - }, - "search.scroll_current": { - "description": "The open scroll contexts.", - "type": "string" - }, - "search.scroll_time": { - "description": "The time scroll contexts were held open.", - "type": "string" - }, - "search.scroll_total": { - "description": "The number of completed scroll contexts.", - "type": "string" - }, - "segments.count": { - "description": "The number of segments.", - "type": "string" - }, - "segments.memory": { - "description": "The memory used by segments.", - "type": "string" - }, - "segments.index_writer_memory": { - "description": "The memory used by the index writer.", - "type": "string" - }, - "segments.version_map_memory": { - "description": "The memory used by the version map.", - "type": "string" - }, - "segments.fixed_bitset_memory": { - "description": "The memory used by fixed bit sets for nested object field types and export type filters for types referred in `_parent` fields.", - "type": "string" - }, - "seq_no.max": { - "description": "The maximum sequence number.", - "type": "string" - }, - "seq_no.local_checkpoint": { - "description": "The local checkpoint.", - "type": "string" - }, - "seq_no.global_checkpoint": { - "description": "The global checkpoint.", - "type": "string" - }, - "warmer.current": { - "description": "The number of current warmer operations.", - "type": "string" - }, - "warmer.total": { - "description": "The total number of warmer operations.", - "type": "string" - }, - "warmer.total_time": { - "description": "The time spent in warmer operations.", - "type": "string" - }, - "path.data": { - "description": "The shard data path.", - "type": "string" - }, - "path.state": { - "description": "The shard state path.", - "type": "string" - }, - "bulk.total_operations": { - "description": "The number of bulk shard operations.", - "type": "string" - }, - "bulk.total_time": { - "description": "The time spent in shard bulk operations.", + } + ] + }, + "_types:MultiTermQueryRewrite": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-term-rewrite.html" + }, + "type": "string" + }, + "_types:Fuzziness": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#fuzziness" + }, + "oneOf": [ + { "type": "string" }, - "bulk.total_size_in_bytes": { - "description": "The total size in bytes of shard bulk operations.", - "type": "string" + { + "type": "number" + } + ] + }, + "_types.query_dsl:GeoBoundingBoxQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, - "bulk.avg_time": { - "description": "The average time spent in shard bulk operations.", - "type": "string" + { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/_types.query_dsl:GeoExecution" + }, + "validation_method": { + "$ref": "#/components/schemas/_types.query_dsl:GeoValidationMethod" + }, + "ignore_unmapped": { + "description": "Set to `true` to ignore an unmapped field and not match any documents for this query.\nSet to `false` to throw an exception if the field is not mapped.", + "type": "boolean" + } + } + } + ] + }, + "_types.query_dsl:GeoExecution": { + "type": "string", + "enum": [ + "memory", + "indexed" + ] + }, + "_types.query_dsl:GeoValidationMethod": { + "type": "string", + "enum": [ + "coerce", + "ignore_malformed", + "strict" + ] + }, + "_types.query_dsl:GeoDistanceQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, - "bulk.avg_size_in_bytes": { - "description": "The average size in bytes of shard bulk operations.", - "type": "string" + { + "type": "object", + "properties": { + "distance": { + "$ref": "#/components/schemas/_types:Distance" + }, + "distance_type": { + "$ref": "#/components/schemas/_types:GeoDistanceType" + }, + "validation_method": { + "$ref": "#/components/schemas/_types.query_dsl:GeoValidationMethod" + } + }, + "required": [ + "distance" + ] } - } + ] }, - "cat.snapshots:SnapshotsRecord": { - "type": "object", - "properties": { - "id": { - "description": "The unique identifier for the snapshot.", - "type": "string" - }, - "repository": { - "description": "The repository name.", - "type": "string" - }, - "status": { - "description": "The state of the snapshot process.\nReturned values include:\n`FAILED`: The snapshot process failed.\n`INCOMPATIBLE`: The snapshot process is incompatible with the current cluster version.\n`IN_PROGRESS`: The snapshot process started but has not completed.\n`PARTIAL`: The snapshot process completed with a partial success.\n`SUCCESS`: The snapshot process completed with a full success.", - "type": "string" - }, - "start_epoch": { - "$ref": "#/components/schemas/_spec_utils:StringifiedEpochTimeUnitSeconds" - }, - "start_time": { - "$ref": "#/components/schemas/watcher._types:ScheduleTimeOfDay" - }, - "end_epoch": { - "$ref": "#/components/schemas/_spec_utils:StringifiedEpochTimeUnitSeconds" - }, - "end_time": { - "$ref": "#/components/schemas/_types:TimeOfDay" - }, - "duration": { - "$ref": "#/components/schemas/_types:Duration" - }, - "indices": { - "description": "The number of indices in the snapshot.", - "type": "string" - }, - "successful_shards": { - "description": "The number of successful shards in the snapshot.", - "type": "string" - }, - "failed_shards": { - "description": "The number of failed shards in the snapshot.", - "type": "string" - }, - "total_shards": { - "description": "The total number of shards in the snapshot.", - "type": "string" + "_types:GeoDistanceType": { + "type": "string", + "enum": [ + "arc", + "plane" + ] + }, + "_types.query_dsl:GeoPolygonQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, - "reason": { - "description": "The reason for any snapshot failures.", - "type": "string" + { + "type": "object", + "properties": { + "validation_method": { + "$ref": "#/components/schemas/_types.query_dsl:GeoValidationMethod" + }, + "ignore_unmapped": { + "type": "boolean" + } + } } - } + ] }, - "watcher._types:ScheduleTimeOfDay": { - "description": "A time of day, expressed either as `hh:mm`, `noon`, `midnight`, or an hour/minutes structure.", - "oneOf": [ + "_types.query_dsl:GeoShapeQuery": { + "allOf": [ { - "type": "string" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { - "$ref": "#/components/schemas/watcher._types:HourAndMinute" + "type": "object", + "properties": { + "ignore_unmapped": { + "description": "Set to `true` to ignore an unmapped field and not match any documents for this query.\nSet to `false` to throw an exception if the field is not mapped.", + "type": "boolean" + } + } } ] }, - "watcher._types:HourAndMinute": { - "type": "object", - "properties": { - "hour": { - "type": "array", - "items": { - "type": "number" - } + "_types.query_dsl:HasChildQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, - "minute": { - "type": "array", - "items": { - "type": "number" - } + { + "type": "object", + "properties": { + "ignore_unmapped": { + "description": "Indicates whether to ignore an unmapped `type` and not return any documents instead of an error.", + "type": "boolean" + }, + "inner_hits": { + "$ref": "#/components/schemas/_global.search._types:InnerHits" + }, + "max_children": { + "description": "Maximum number of child documents that match the query allowed for a returned parent document.\nIf the parent document exceeds this limit, it is excluded from the search results.", + "type": "number" + }, + "min_children": { + "description": "Minimum number of child documents that match the query required to match the query for a returned parent document.\nIf the parent document does not meet this limit, it is excluded from the search results.", + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "score_mode": { + "$ref": "#/components/schemas/_types.query_dsl:ChildScoreMode" + }, + "type": { + "$ref": "#/components/schemas/_types:RelationName" + } + }, + "required": [ + "query", + "type" + ] } - }, - "required": [ - "hour", - "minute" ] }, - "cat.tasks:TasksRecord": { + "_global.search._types:InnerHits": { "type": "object", "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" + "name": { + "$ref": "#/components/schemas/_types:Name" }, - "action": { - "description": "The task action.", - "type": "string" + "size": { + "description": "The maximum number of hits to return per `inner_hits`.", + "type": "number" }, - "task_id": { - "$ref": "#/components/schemas/_types:Id" + "from": { + "description": "Inner hit starting document offset.", + "type": "number" }, - "parent_task_id": { - "description": "The parent task identifier.", - "type": "string" + "collapse": { + "$ref": "#/components/schemas/_global.search._types:FieldCollapse" }, - "type": { - "description": "The task type.", - "type": "string" + "docvalue_fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } }, - "start_time": { - "description": "The start time in milliseconds.", - "type": "string" + "explain": { + "type": "boolean" }, - "timestamp": { - "description": "The start time in `HH:MM:SS` format.", - "type": "string" + "highlight": { + "$ref": "#/components/schemas/_global.search._types:Highlight" }, - "running_time_ns": { - "description": "The running time in nanoseconds.", - "type": "string" + "ignore_unmapped": { + "type": "boolean" }, - "running_time": { - "description": "The running time.", - "type": "string" + "script_fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } }, - "node_id": { - "$ref": "#/components/schemas/_types:NodeId" + "seq_no_primary_term": { + "type": "boolean" }, - "ip": { - "description": "The IP address for the node.", - "type": "string" + "fields": { + "$ref": "#/components/schemas/_types:Fields" }, - "port": { - "description": "The bound transport port for the node.", - "type": "string" + "sort": { + "$ref": "#/components/schemas/_types:Sort" }, - "node": { - "description": "The node name.", - "type": "string" + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" + "stored_field": { + "$ref": "#/components/schemas/_types:Fields" }, - "x_opaque_id": { - "description": "The X-Opaque-ID header.", - "type": "string" + "track_scores": { + "type": "boolean" }, - "description": { - "description": "The task action description.", - "type": "string" + "version": { + "type": "boolean" } } }, - "cat.templates:TemplatesRecord": { + "_types:Name": { + "type": "string" + }, + "_global.search._types:FieldCollapse": { "type": "object", "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "index_patterns": { - "description": "The template index patterns.", - "type": "string" - }, - "order": { - "description": "The template application order or priority number.", - "type": "string" + "field": { + "$ref": "#/components/schemas/_types:Field" }, - "version": { - "description": "The template version.", + "inner_hits": { + "description": "The number of inner hits and their sort order", "oneOf": [ { - "$ref": "#/components/schemas/_types:VersionString" + "$ref": "#/components/schemas/_global.search._types:InnerHits" }, { - "nullable": true, - "type": "string" + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:InnerHits" + } } ] }, - "composed_of": { - "description": "The component templates that comprise the index template.", - "type": "string" + "max_concurrent_group_searches": { + "description": "The number of concurrent requests allowed to retrieve the inner_hits per group", + "type": "number" + }, + "collapse": { + "$ref": "#/components/schemas/_global.search._types:FieldCollapse" } - } + }, + "required": [ + "field" + ] }, - "cat.thread_pool:ThreadPoolRecord": { + "_types.query_dsl:FieldAndFormat": { "type": "object", "properties": { - "node_name": { - "description": "The node name.", - "type": "string" - }, - "node_id": { - "$ref": "#/components/schemas/_types:NodeId" - }, - "ephemeral_node_id": { - "description": "The ephemeral node identifier.", - "type": "string" - }, - "pid": { - "description": "The process identifier.", - "type": "string" - }, - "host": { - "description": "The host name for the current node.", - "type": "string" - }, - "ip": { - "description": "The IP address for the current node.", - "type": "string" - }, - "port": { - "description": "The bound transport port for the current node.", - "type": "string" - }, - "name": { - "description": "The thread pool name.", - "type": "string" - }, - "type": { - "description": "The thread pool type.\nReturned values include `fixed`, `fixed_auto_queue_size`, `direct`, and `scaling`.", - "type": "string" - }, - "active": { - "description": "The number of active threads in the current thread pool.", - "type": "string" - }, - "pool_size": { - "description": "The number of threads in the current thread pool.", - "type": "string" - }, - "queue": { - "description": "The number of tasks currently in queue.", - "type": "string" - }, - "queue_size": { - "description": "The maximum number of tasks permitted in the queue.", - "type": "string" - }, - "rejected": { - "description": "The number of rejected tasks.", - "type": "string" - }, - "largest": { - "description": "The highest number of active threads in the current thread pool.", - "type": "string" + "field": { + "$ref": "#/components/schemas/_types:Field" }, - "completed": { - "description": "The number of completed tasks.", + "format": { + "description": "Format in which the values are returned.", "type": "string" }, - "core": { - "description": "The core number of active threads allowed in a scaling thread pool.", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "max": { - "description": "The maximum number of active threads allowed in a scaling thread pool.", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "size": { - "description": "The number of active threads allowed in a fixed thread pool.", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "keep_alive": { - "description": "The thread keep alive time.", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] + "include_unmapped": { + "type": "boolean" } - } + }, + "required": [ + "field" + ] }, - "cat._types:CatTransformColumns": { - "oneOf": [ + "_global.search._types:Highlight": { + "allOf": [ { - "$ref": "#/components/schemas/cat._types:CatTransformColumn" + "$ref": "#/components/schemas/_global.search._types:HighlightBase" }, { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat._types:CatTransformColumn" - } + "type": "object", + "properties": { + "encoder": { + "$ref": "#/components/schemas/_global.search._types:HighlighterEncoder" + }, + "fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.search._types:HighlightField" + } + } + }, + "required": [ + "fields" + ] } ] }, - "cat._types:CatTransformColumn": { + "_global.search._types:HighlighterEncoder": { "type": "string", "enum": [ - "changes_last_detection_time", - "checkpoint", - "checkpoint_duration_time_exp_avg", - "checkpoint_progress", - "create_time", - "delete_time", - "description", - "dest_index", - "documents_deleted", - "documents_indexed", - "docs_per_second", - "documents_processed", - "frequency", - "id", - "index_failure", - "index_time", - "index_total", - "indexed_documents_exp_avg", - "last_search_time", - "max_page_search_size", - "pages_processed", - "pipeline", - "processed_documents_exp_avg", - "processing_time", - "reason", - "search_failure", - "search_time", - "search_total", - "source_index", - "state", - "transform_type", - "trigger_count", - "version" + "default", + "html" ] }, - "cat.transforms:TransformsRecord": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "state": { - "description": "The status of the transform.\nReturned values include:\n`aborting`: The transform is aborting.\n`failed: The transform failed. For more information about the failure, check the `reason` field.\n`indexing`: The transform is actively processing data and creating new documents.\n`started`: The transform is running but not actively indexing data.\n`stopped`: The transform is stopped.\n`stopping`: The transform is stopping.", - "type": "string" - }, - "checkpoint": { - "description": "The sequence number for the checkpoint.", - "type": "string" - }, - "documents_processed": { - "description": "The number of documents that have been processed from the source index of the transform.", - "type": "string" - }, - "checkpoint_progress": { - "description": "The progress of the next checkpoint that is currently in progress.", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] + "_global.search._types:HighlightField": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.search._types:HighlightBase" }, - "last_search_time": { - "description": "The timestamp of the last search in the source indices.\nThis field is shown only if the transform is running.", - "oneOf": [ - { - "type": "string" + { + "type": "object", + "properties": { + "fragment_offset": { + "type": "number" }, - { - "nullable": true, - "type": "string" - } - ] - }, - "changes_last_detection_time": { - "description": "The timestamp when changes were last detected in the source indices.", - "oneOf": [ - { - "type": "string" + "matched_fields": { + "$ref": "#/components/schemas/_types:Fields" }, - { - "nullable": true, - "type": "string" + "analyzer": { + "$ref": "#/components/schemas/_types.analysis:Analyzer" } - ] - }, - "create_time": { - "description": "The time the transform was created.", - "type": "string" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "source_index": { - "description": "The source indices for the transform.", - "type": "string" + } + } + ] + }, + "_types.analysis:Analyzer": { + "discriminator": { + "propertyName": "type" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CustomAnalyzer" }, - "dest_index": { - "description": "The destination index for the transform.", - "type": "string" + { + "$ref": "#/components/schemas/_types.analysis:FingerprintAnalyzer" }, - "pipeline": { - "description": "The unique identifier for the ingest pipeline.", - "type": "string" + { + "$ref": "#/components/schemas/_types.analysis:KeywordAnalyzer" }, - "description": { - "description": "The description of the transform.", - "type": "string" + { + "$ref": "#/components/schemas/_types.analysis:LanguageAnalyzer" }, - "transform_type": { - "description": "The type of transform: `batch` or `continuous`.", - "type": "string" + { + "$ref": "#/components/schemas/_types.analysis:NoriAnalyzer" }, - "frequency": { - "description": "The interval between checks for changes in the source indices when the transform is running continuously.", - "type": "string" + { + "$ref": "#/components/schemas/_types.analysis:PatternAnalyzer" }, - "max_page_search_size": { - "description": "The initial page size that is used for the composite aggregation for each checkpoint.", - "type": "string" + { + "$ref": "#/components/schemas/_types.analysis:SimpleAnalyzer" }, - "docs_per_second": { - "description": "The number of input documents per second.", - "type": "string" + { + "$ref": "#/components/schemas/_types.analysis:StandardAnalyzer" }, - "reason": { - "description": "If a transform has a `failed` state, these details describe the reason for failure.", - "type": "string" + { + "$ref": "#/components/schemas/_types.analysis:StopAnalyzer" }, - "search_total": { - "description": "The total number of search operations on the source index for the transform.", - "type": "string" + { + "$ref": "#/components/schemas/_types.analysis:WhitespaceAnalyzer" }, - "search_failure": { - "description": "The total number of search failures.", - "type": "string" + { + "$ref": "#/components/schemas/_types.analysis:IcuAnalyzer" }, - "search_time": { - "description": "The total amount of search time, in milliseconds.", - "type": "string" + { + "$ref": "#/components/schemas/_types.analysis:KuromojiAnalyzer" }, - "index_total": { - "description": "The total number of index operations done by the transform.", - "type": "string" + { + "$ref": "#/components/schemas/_types.analysis:SnowballAnalyzer" }, - "index_failure": { - "description": "The total number of indexing failures.", - "type": "string" + { + "$ref": "#/components/schemas/_types.analysis:DutchAnalyzer" + } + ] + }, + "_types.analysis:CustomAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "custom" + ] }, - "index_time": { - "description": "The total time spent indexing documents, in milliseconds.", - "type": "string" + "char_filter": { + "type": "array", + "items": { + "type": "string" + } }, - "documents_indexed": { - "description": "The number of documents that have been indexed into the destination index for the transform.", - "type": "string" + "filter": { + "type": "array", + "items": { + "type": "string" + } }, - "delete_time": { - "description": "The total time spent deleting documents, in milliseconds.", - "type": "string" + "position_increment_gap": { + "type": "number" }, - "documents_deleted": { - "description": "The number of documents deleted from the destination index due to the retention policy for the transform.", - "type": "string" + "position_offset_gap": { + "type": "number" }, - "trigger_count": { - "description": "The number of times the transform has been triggered by the scheduler.\nFor example, the scheduler triggers the transform indexer to check for updates or ingest new data at an interval specified in the `frequency` property.", + "tokenizer": { "type": "string" + } + }, + "required": [ + "type", + "tokenizer" + ] + }, + "_types.analysis:FingerprintAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "fingerprint" + ] }, - "pages_processed": { - "description": "The number of search or bulk index operations processed.\nDocuments are processed in batches instead of individually.", - "type": "string" + "version": { + "$ref": "#/components/schemas/_types:VersionString" }, - "processing_time": { - "description": "The total time spent processing results, in milliseconds.", - "type": "string" + "max_output_size": { + "type": "number" }, - "checkpoint_duration_time_exp_avg": { - "description": "The exponential moving average of the duration of the checkpoint, in milliseconds.", - "type": "string" + "preserve_original": { + "type": "boolean" }, - "indexed_documents_exp_avg": { - "description": "The exponential moving average of the number of new documents that have been indexed.", + "separator": { "type": "string" }, - "processed_documents_exp_avg": { - "description": "The exponential moving average of the number of documents that have been processed.", + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" + }, + "stopwords_path": { "type": "string" } - } + }, + "required": [ + "type", + "max_output_size", + "preserve_original", + "separator" + ] }, - "_types:ScrollIds": { + "_types.analysis:StopWords": { + "description": "Language value, such as _arabic_ or _thai_. Defaults to _english_.\nEach language value corresponds to a predefined list of stop words in Lucene. See Stop words by language for supported language values and their stop words.\nAlso accepts an array of stop words.", "oneOf": [ { - "$ref": "#/components/schemas/_types:ScrollId" + "type": "string" }, { "type": "array", "items": { - "$ref": "#/components/schemas/_types:ScrollId" + "type": "string" } } ] }, - "cluster.allocation_explain:Decision": { - "type": "string", - "enum": [ - "yes", - "no", - "worse_balance", - "throttled", - "awaiting_info", - "allocation_delayed", - "no_valid_shard_copy", - "no_attempt" + "_types.analysis:KeywordAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "keyword" + ] + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + }, + "required": [ + "type" ] }, - "cluster.allocation_explain:AllocationDecision": { + "_types.analysis:LanguageAnalyzer": { "type": "object", "properties": { - "decider": { - "type": "string" + "type": { + "type": "string", + "enum": [ + "language" + ] }, - "decision": { - "$ref": "#/components/schemas/cluster.allocation_explain:AllocationExplainDecision" + "version": { + "$ref": "#/components/schemas/_types:VersionString" }, - "explanation": { + "language": { + "$ref": "#/components/schemas/_types.analysis:Language" + }, + "stem_exclusion": { + "type": "array", + "items": { + "type": "string" + } + }, + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" + }, + "stopwords_path": { "type": "string" } }, "required": [ - "decider", - "decision", - "explanation" + "type", + "language", + "stem_exclusion" ] }, - "cluster.allocation_explain:AllocationExplainDecision": { + "_types.analysis:Language": { "type": "string", "enum": [ - "NO", - "YES", - "THROTTLE", - "ALWAYS" + "Arabic", + "Armenian", + "Basque", + "Brazilian", + "Bulgarian", + "Catalan", + "Chinese", + "Cjk", + "Czech", + "Danish", + "Dutch", + "English", + "Estonian", + "Finnish", + "French", + "Galician", + "German", + "Greek", + "Hindi", + "Hungarian", + "Indonesian", + "Irish", + "Italian", + "Latvian", + "Norwegian", + "Persian", + "Portuguese", + "Romanian", + "Russian", + "Sorani", + "Spanish", + "Swedish", + "Turkish", + "Thai" ] }, - "cluster.allocation_explain:ClusterInfo": { + "_types.analysis:NoriAnalyzer": { "type": "object", "properties": { - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/cluster.allocation_explain:NodeDiskUsage" - } - }, - "shard_sizes": { - "type": "object", - "additionalProperties": { - "type": "number" - } + "type": { + "type": "string", + "enum": [ + "nori" + ] }, - "shard_data_set_sizes": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "version": { + "$ref": "#/components/schemas/_types:VersionString" }, - "shard_paths": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "decompound_mode": { + "$ref": "#/components/schemas/_types.analysis:NoriDecompoundMode" }, - "reserved_sizes": { + "stoptags": { "type": "array", "items": { - "$ref": "#/components/schemas/cluster.allocation_explain:ReservedSize" + "type": "string" } + }, + "user_dictionary": { + "type": "string" } }, "required": [ - "nodes", - "shard_sizes", - "shard_paths", - "reserved_sizes" + "type" ] }, - "cluster.allocation_explain:NodeDiskUsage": { - "type": "object", - "properties": { - "node_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "least_available": { - "$ref": "#/components/schemas/cluster.allocation_explain:DiskUsage" - }, - "most_available": { - "$ref": "#/components/schemas/cluster.allocation_explain:DiskUsage" - } - }, - "required": [ - "node_name", - "least_available", - "most_available" + "_types.analysis:NoriDecompoundMode": { + "type": "string", + "enum": [ + "discard", + "none", + "mixed" ] }, - "cluster.allocation_explain:DiskUsage": { + "_types.analysis:PatternAnalyzer": { "type": "object", "properties": { - "path": { - "type": "string" + "type": { + "type": "string", + "enum": [ + "pattern" + ] }, - "total_bytes": { - "type": "number" + "version": { + "$ref": "#/components/schemas/_types:VersionString" }, - "used_bytes": { - "type": "number" + "flags": { + "type": "string" }, - "free_bytes": { - "type": "number" + "lowercase": { + "type": "boolean" }, - "free_disk_percent": { - "type": "number" + "pattern": { + "type": "string" }, - "used_disk_percent": { - "type": "number" + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" } }, "required": [ - "path", - "total_bytes", - "used_bytes", - "free_bytes", - "free_disk_percent", - "used_disk_percent" + "type", + "pattern" ] }, - "cluster.allocation_explain:ReservedSize": { + "_types.analysis:SimpleAnalyzer": { "type": "object", "properties": { - "node_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "path": { - "type": "string" - }, - "total": { - "type": "number" + "type": { + "type": "string", + "enum": [ + "simple" + ] }, - "shards": { - "type": "array", - "items": { - "type": "string" - } + "version": { + "$ref": "#/components/schemas/_types:VersionString" } }, "required": [ - "node_id", - "path", - "total", - "shards" + "type" ] }, - "cluster.allocation_explain:CurrentNode": { + "_types.analysis:StandardAnalyzer": { "type": "object", "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "attributes": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "transport_address": { - "$ref": "#/components/schemas/_types:TransportAddress" + "type": { + "type": "string", + "enum": [ + "standard" + ] }, - "weight_ranking": { + "max_token_length": { "type": "number" + }, + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" } }, "required": [ - "id", - "name", - "attributes", - "transport_address", - "weight_ranking" + "type" ] }, - "_types:TransportAddress": { - "type": "string" - }, - "cluster.allocation_explain:NodeAllocationExplanation": { + "_types.analysis:StopAnalyzer": { "type": "object", "properties": { - "deciders": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.allocation_explain:AllocationDecision" - } - }, - "node_attributes": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "node_decision": { - "$ref": "#/components/schemas/cluster.allocation_explain:Decision" - }, - "node_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "node_name": { - "$ref": "#/components/schemas/_types:Name" + "type": { + "type": "string", + "enum": [ + "stop" + ] }, - "store": { - "$ref": "#/components/schemas/cluster.allocation_explain:AllocationStore" + "version": { + "$ref": "#/components/schemas/_types:VersionString" }, - "transport_address": { - "$ref": "#/components/schemas/_types:TransportAddress" + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" }, - "weight_ranking": { - "type": "number" + "stopwords_path": { + "type": "string" } }, "required": [ - "deciders", - "node_attributes", - "node_decision", - "node_id", - "node_name", - "transport_address", - "weight_ranking" + "type" ] }, - "cluster.allocation_explain:AllocationStore": { + "_types.analysis:WhitespaceAnalyzer": { "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" + "type": { + "type": "string", + "enum": [ + "whitespace" + ] }, - "store_exception": { - "type": "string" + "version": { + "$ref": "#/components/schemas/_types:VersionString" } }, "required": [ - "allocation_id", - "found", - "in_sync", - "matching_size_in_bytes", - "matching_sync_id", - "store_exception" + "type" ] }, - "cluster.allocation_explain:UnassignedInformation": { + "_types.analysis:IcuAnalyzer": { "type": "object", "properties": { - "at": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "last_allocation_status": { - "type": "string" - }, - "reason": { - "$ref": "#/components/schemas/cluster.allocation_explain:UnassignedInformationReason" - }, - "details": { - "type": "string" - }, - "failed_allocation_attempts": { - "type": "number" + "type": { + "type": "string", + "enum": [ + "icu_analyzer" + ] }, - "delayed": { - "type": "boolean" + "method": { + "$ref": "#/components/schemas/_types.analysis:IcuNormalizationType" }, - "allocation_status": { - "type": "string" + "mode": { + "$ref": "#/components/schemas/_types.analysis:IcuNormalizationMode" } }, "required": [ - "at", - "reason" + "type", + "method", + "mode" + ] + }, + "_types.analysis:IcuNormalizationType": { + "type": "string", + "enum": [ + "nfc", + "nfkc", + "nfkc_cf" ] }, - "cluster.allocation_explain:UnassignedInformationReason": { + "_types.analysis:IcuNormalizationMode": { "type": "string", "enum": [ - "INDEX_CREATED", - "CLUSTER_RECOVERED", - "INDEX_REOPENED", - "DANGLING_INDEX_IMPORTED", - "NEW_INDEX_RESTORED", - "EXISTING_INDEX_RESTORED", - "REPLICA_ADDED", - "ALLOCATION_FAILED", - "NODE_LEFT", - "REROUTE_CANCELLED", - "REINITIALIZED", - "REALLOCATED_REPLICA", - "PRIMARY_FAILED", - "FORCED_EMPTY_PRIMARY", - "MANUAL_ALLOCATION" + "decompose", + "compose" ] }, - "cluster._types:ComponentTemplate": { + "_types.analysis:KuromojiAnalyzer": { "type": "object", "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" + "type": { + "type": "string", + "enum": [ + "kuromoji" + ] }, - "component_template": { - "$ref": "#/components/schemas/cluster._types:ComponentTemplateNode" + "mode": { + "$ref": "#/components/schemas/_types.analysis:KuromojiTokenizationMode" + }, + "user_dictionary": { + "type": "string" } }, "required": [ - "name", - "component_template" + "type", + "mode" ] }, - "cluster._types:ComponentTemplateNode": { + "_types.analysis:KuromojiTokenizationMode": { + "type": "string", + "enum": [ + "normal", + "search", + "extended" + ] + }, + "_types.analysis:SnowballAnalyzer": { "type": "object", "properties": { - "template": { - "$ref": "#/components/schemas/cluster._types:ComponentTemplateSummary" + "type": { + "type": "string", + "enum": [ + "snowball" + ] }, "version": { - "$ref": "#/components/schemas/_types:VersionNumber" + "$ref": "#/components/schemas/_types:VersionString" }, - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" + "language": { + "$ref": "#/components/schemas/_types.analysis:SnowballLanguage" + }, + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" } }, "required": [ - "template" + "type", + "language" ] }, - "cluster._types:ComponentTemplateSummary": { - "type": "object", - "properties": { - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "settings": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:IndexSettings" - } - }, - "mappings": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" - }, - "aliases": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:AliasDefinition" - } + "_types.analysis:SnowballLanguage": { + "type": "string", + "enum": [ + "Armenian", + "Basque", + "Catalan", + "Danish", + "Dutch", + "English", + "Finnish", + "French", + "German", + "German2", + "Hungarian", + "Italian", + "Kp", + "Lovins", + "Norwegian", + "Porter", + "Portuguese", + "Romanian", + "Russian", + "Spanish", + "Swedish", + "Turkish" + ] + }, + "_types.analysis:DutchAnalyzer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "dutch" + ] }, - "lifecycle": { - "$ref": "#/components/schemas/indices._types:DataStreamLifecycleWithRollover" + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" } - } + }, + "required": [ + "type" + ] }, - "indices._types:IndexSettings": { + "_global.search._types:HighlightBase": { "type": "object", "properties": { - "index": { - "$ref": "#/components/schemas/indices._types:IndexSettings" + "type": { + "$ref": "#/components/schemas/_global.search._types:HighlighterType" }, - "mode": { + "boundary_chars": { + "description": "A string that contains each boundary character.", "type": "string" }, - "routing_path": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "soft_deletes": { - "$ref": "#/components/schemas/indices._types:SoftDeletes" - }, - "sort": { - "$ref": "#/components/schemas/indices._types:IndexSegmentSort" - }, - "number_of_shards": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "number_of_replicas": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "number_of_routing_shards": { + "boundary_max_scan": { + "description": "How far to scan for boundary characters.", "type": "number" }, - "check_on_startup": { - "$ref": "#/components/schemas/indices._types:IndexCheckOnStartup" + "boundary_scanner": { + "$ref": "#/components/schemas/_global.search._types:BoundaryScanner" }, - "codec": { + "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\"`.", "type": "string" }, - "routing_partition_size": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" - }, - "load_fixed_bitset_filters_eagerly": { + "force_source": { + "deprecated": true, "type": "boolean" }, - "hidden": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "auto_expand_replicas": { - "type": "string" - }, - "merge": { - "$ref": "#/components/schemas/indices._types:Merge" - }, - "search": { - "$ref": "#/components/schemas/indices._types:SettingsSearch" - }, - "refresh_interval": { - "$ref": "#/components/schemas/_types:Duration" - }, - "max_result_window": { - "type": "number" - }, - "max_inner_result_window": { - "type": "number" - }, - "max_rescore_window": { - "type": "number" - }, - "max_docvalue_fields_search": { - "type": "number" - }, - "max_script_fields": { - "type": "number" - }, - "max_ngram_diff": { - "type": "number" - }, - "max_shingle_diff": { - "type": "number" - }, - "blocks": { - "$ref": "#/components/schemas/indices._types:IndexSettingBlocks" + "fragmenter": { + "$ref": "#/components/schemas/_global.search._types:HighlighterFragmenter" }, - "max_refresh_listeners": { + "fragment_size": { + "description": "The size of the highlighted fragment in characters.", "type": "number" }, - "analyze": { - "$ref": "#/components/schemas/indices._types:SettingsAnalyze" + "highlight_filter": { + "type": "boolean" }, - "highlight": { - "$ref": "#/components/schemas/indices._types:SettingsHighlight" + "highlight_query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" }, - "max_terms_count": { + "max_fragment_length": { "type": "number" }, - "max_regex_length": { + "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" }, - "routing": { - "$ref": "#/components/schemas/indices._types:IndexRouting" - }, - "gc_deletes": { - "$ref": "#/components/schemas/_types:Duration" - }, - "default_pipeline": { - "$ref": "#/components/schemas/_types:PipelineName" - }, - "final_pipeline": { - "$ref": "#/components/schemas/_types:PipelineName" - }, - "lifecycle": { - "$ref": "#/components/schemas/indices._types:IndexSettingsLifecycle" - }, - "provided_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "creation_date": { - "$ref": "#/components/schemas/_spec_utils:StringifiedEpochTimeUnitMillis" - }, - "creation_date_string": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "uuid": { - "$ref": "#/components/schemas/_types:Uuid" - }, - "version": { - "$ref": "#/components/schemas/indices._types:IndexVersioning" - }, - "verified_before_close": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "format": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "max_slices_per_scroll": { + "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.", "type": "number" }, - "translog": { - "$ref": "#/components/schemas/indices._types:Translog" - }, - "query_string": { - "$ref": "#/components/schemas/indices._types:SettingsQueryString" - }, - "priority": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "top_metrics_max_size": { + "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.", "type": "number" }, - "analysis": { - "$ref": "#/components/schemas/indices._types:IndexSettingsAnalysis" - }, - "settings": { - "$ref": "#/components/schemas/indices._types:IndexSettings" + "options": { + "type": "object", + "additionalProperties": { + "type": "object" + } }, - "time_series": { - "$ref": "#/components/schemas/indices._types:IndexSettingsTimeSeries" + "order": { + "$ref": "#/components/schemas/_global.search._types:HighlighterOrder" }, - "shards": { + "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.", "type": "number" }, - "queries": { - "$ref": "#/components/schemas/indices._types:Queries" - }, - "similarity": { - "$ref": "#/components/schemas/indices._types:SettingsSimilarity" - }, - "mapping": { - "$ref": "#/components/schemas/indices._types:MappingLimitSettings" - }, - "indexing.slowlog": { - "$ref": "#/components/schemas/indices._types:IndexingSlowlogSettings" + "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 `` and `` tags.", + "type": "array", + "items": { + "type": "string" + } }, - "indexing_pressure": { - "$ref": "#/components/schemas/indices._types:IndexingPressure" + "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 `` and `` tags.", + "type": "array", + "items": { + "type": "string" + } }, - "store": { - "$ref": "#/components/schemas/indices._types:Storage" - } - } - }, - "indices._types:SoftDeletes": { - "type": "object", - "properties": { - "enabled": { - "description": "Indicates whether soft deletes are enabled on the index.", + "require_field_match": { + "description": "By default, only fields that contains a query match are highlighted.\nSet to `false` to highlight all fields.", "type": "boolean" }, - "retention_lease": { - "$ref": "#/components/schemas/indices._types:RetentionLease" + "tags_schema": { + "$ref": "#/components/schemas/_global.search._types:HighlighterTagsSchema" } } }, - "indices._types:RetentionLease": { - "type": "object", - "properties": { - "period": { - "$ref": "#/components/schemas/_types:Duration" - } - }, - "required": [ - "period" + "_global.search._types:HighlighterType": { + "type": "string", + "enum": [ + "plain", + "fvh", + "unified" ] }, - "indices._types:IndexSegmentSort": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Fields" - }, - "order": { - "oneOf": [ - { - "$ref": "#/components/schemas/indices._types:SegmentSortOrder" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices._types:SegmentSortOrder" - } - } - ] - }, - "mode": { - "oneOf": [ - { - "$ref": "#/components/schemas/indices._types:SegmentSortMode" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices._types:SegmentSortMode" - } - } - ] - }, - "missing": { - "oneOf": [ - { - "$ref": "#/components/schemas/indices._types:SegmentSortMissing" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices._types:SegmentSortMissing" - } - } - ] - } - } - }, - "indices._types:SegmentSortOrder": { + "_global.search._types:BoundaryScanner": { "type": "string", "enum": [ - "asc", - "desc" + "chars", + "sentence", + "word" ] }, - "indices._types:SegmentSortMode": { + "_global.search._types:HighlighterFragmenter": { "type": "string", "enum": [ - "min", - "max" + "simple", + "span" ] }, - "indices._types:SegmentSortMissing": { + "_global.search._types:HighlighterOrder": { "type": "string", "enum": [ - "_last", - "_first" + "score" ] }, - "indices._types:IndexCheckOnStartup": { + "_global.search._types:HighlighterTagsSchema": { "type": "string", "enum": [ - "true", - "false", - "checksum" + "styled" ] }, - "_spec_utils:Stringifiedinteger": { - "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", + "_types:ScriptField": { + "type": "object", + "properties": { + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "ignore_failure": { + "type": "boolean" + } + }, + "required": [ + "script" + ] + }, + "_types:Sort": { "oneOf": [ { - "type": "number" + "$ref": "#/components/schemas/_types:SortCombinations" }, { - "type": "string" + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:SortCombinations" + } } ] }, - "indices._types:Merge": { - "type": "object", - "properties": { - "scheduler": { - "$ref": "#/components/schemas/indices._types:MergeScheduler" - } - } - }, - "indices._types:MergeScheduler": { - "type": "object", - "properties": { - "max_thread_count": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" + "_types:SortCombinations": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Field" }, - "max_merge_count": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" + { + "$ref": "#/components/schemas/_types:SortOptions" } - } + ] }, - "indices._types:SettingsSearch": { + "_types:SortOptions": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sort-search-results.html" + }, "type": "object", "properties": { - "idle": { - "$ref": "#/components/schemas/indices._types:SearchIdle" + "_score": { + "$ref": "#/components/schemas/_types:ScoreSort" }, - "slowlog": { - "$ref": "#/components/schemas/indices._types:SlowlogSettings" + "_doc": { + "$ref": "#/components/schemas/_types:ScoreSort" + }, + "_geo_distance": { + "$ref": "#/components/schemas/_types:GeoDistanceSort" + }, + "_script": { + "$ref": "#/components/schemas/_types:ScriptSort" } - } + }, + "minProperties": 1, + "maxProperties": 1 }, - "indices._types:SearchIdle": { + "_types:ScoreSort": { "type": "object", "properties": { - "after": { - "$ref": "#/components/schemas/_types:Duration" + "order": { + "$ref": "#/components/schemas/_types:SortOrder" } } }, - "indices._types:SlowlogSettings": { + "_types:SortOrder": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + }, + "_types:GeoDistanceSort": { "type": "object", "properties": { - "level": { - "type": "string" + "mode": { + "$ref": "#/components/schemas/_types:SortMode" }, - "source": { - "type": "number" + "distance_type": { + "$ref": "#/components/schemas/_types:GeoDistanceType" }, - "reformat": { + "ignore_unmapped": { "type": "boolean" }, - "threshold": { - "$ref": "#/components/schemas/indices._types:SlowlogTresholds" - } - } - }, - "indices._types:SlowlogTresholds": { - "type": "object", - "properties": { - "query": { - "$ref": "#/components/schemas/indices._types:SlowlogTresholdLevels" + "order": { + "$ref": "#/components/schemas/_types:SortOrder" }, - "fetch": { - "$ref": "#/components/schemas/indices._types:SlowlogTresholdLevels" + "unit": { + "$ref": "#/components/schemas/_types:DistanceUnit" } } }, - "indices._types:SlowlogTresholdLevels": { + "_types:SortMode": { + "type": "string", + "enum": [ + "min", + "max", + "sum", + "avg", + "median" + ] + }, + "_types:DistanceUnit": { + "type": "string", + "enum": [ + "in", + "ft", + "yd", + "mi", + "nmi", + "km", + "m", + "cm", + "mm" + ] + }, + "_types:ScriptSort": { "type": "object", "properties": { - "warn": { - "$ref": "#/components/schemas/_types:Duration" + "order": { + "$ref": "#/components/schemas/_types:SortOrder" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" }, - "info": { - "$ref": "#/components/schemas/_types:Duration" + "type": { + "$ref": "#/components/schemas/_types:ScriptSortType" }, - "debug": { - "$ref": "#/components/schemas/_types:Duration" + "mode": { + "$ref": "#/components/schemas/_types:SortMode" }, - "trace": { - "$ref": "#/components/schemas/_types:Duration" + "nested": { + "$ref": "#/components/schemas/_types:NestedSortValue" } - } + }, + "required": [ + "script" + ] }, - "indices._types:IndexSettingBlocks": { + "_types:ScriptSortType": { + "type": "string", + "enum": [ + "string", + "number", + "version" + ] + }, + "_types:NestedSortValue": { "type": "object", "properties": { - "read_only": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" - }, - "read_only_allow_delete": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" }, - "read": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + "max_children": { + "type": "number" }, - "write": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + "nested": { + "$ref": "#/components/schemas/_types:NestedSortValue" }, - "metadata": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + "path": { + "$ref": "#/components/schemas/_types:Field" } - } + }, + "required": [ + "path" + ] }, - "_spec_utils:Stringifiedboolean": { - "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", + "_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" }, { - "type": "string" + "$ref": "#/components/schemas/_global.search._types:SourceFilter" } ] }, - "indices._types:SettingsAnalyze": { - "type": "object", - "properties": { - "max_token_count": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" - } - } - }, - "indices._types:SettingsHighlight": { - "type": "object", - "properties": { - "max_analyzed_offset": { - "type": "number" - } - } - }, - "indices._types:IndexRouting": { - "type": "object", - "properties": { - "allocation": { - "$ref": "#/components/schemas/indices._types:IndexRoutingAllocation" - }, - "rebalance": { - "$ref": "#/components/schemas/indices._types:IndexRoutingRebalance" - } - } - }, - "indices._types:IndexRoutingAllocation": { + "_global.search._types:SourceFilter": { "type": "object", "properties": { - "enable": { - "$ref": "#/components/schemas/indices._types:IndexRoutingAllocationOptions" - }, - "include": { - "$ref": "#/components/schemas/indices._types:IndexRoutingAllocationInclude" - }, - "initial_recovery": { - "$ref": "#/components/schemas/indices._types:IndexRoutingAllocationInitialRecovery" + "excludes": { + "$ref": "#/components/schemas/_types:Fields" }, - "disk": { - "$ref": "#/components/schemas/indices._types:IndexRoutingAllocationDisk" + "includes": { + "$ref": "#/components/schemas/_types:Fields" } } }, - "indices._types:IndexRoutingAllocationOptions": { + "_types.query_dsl:ChildScoreMode": { "type": "string", "enum": [ - "all", - "primaries", - "new_primaries", - "none" + "none", + "avg", + "sum", + "max", + "min" ] }, - "indices._types:IndexRoutingAllocationInclude": { - "type": "object", - "properties": { - "_tier_preference": { - "type": "string" - }, - "_id": { - "$ref": "#/components/schemas/_types:Id" - } - } - }, - "indices._types:IndexRoutingAllocationInitialRecovery": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" - } - } + "_types:RelationName": { + "type": "string" }, - "indices._types:IndexRoutingAllocationDisk": { - "type": "object", - "properties": { - "threshold_enabled": { - "oneOf": [ - { + "_types.query_dsl:HasParentQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "ignore_unmapped": { + "description": "Indicates whether to ignore an unmapped `parent_type` and not return any documents instead of an error.\nYou can use this parameter to query multiple indices that may not contain the `parent_type`.", "type": "boolean" }, - { - "type": "string" + "inner_hits": { + "$ref": "#/components/schemas/_global.search._types:InnerHits" + }, + "parent_type": { + "$ref": "#/components/schemas/_types:RelationName" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "score": { + "description": "Indicates whether the relevance score of a matching parent document is aggregated into its child documents.", + "type": "boolean" } + }, + "required": [ + "parent_type", + "query" ] } - } + ] }, - "indices._types:IndexRoutingRebalance": { - "type": "object", - "properties": { - "enable": { - "$ref": "#/components/schemas/indices._types:IndexRoutingRebalanceOptions" + "_types.query_dsl:IdsQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "values": { + "$ref": "#/components/schemas/_types:Ids" + } + } } - }, - "required": [ - "enable" ] }, - "indices._types:IndexRoutingRebalanceOptions": { - "type": "string", - "enum": [ - "all", - "primaries", - "replicas", - "none" + "_types:Ids": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:Id" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } + } ] }, - "_types:PipelineName": { - "type": "string" + "_types.query_dsl:IntervalsQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "all_of": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsAllOf" + }, + "any_of": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsAnyOf" + }, + "fuzzy": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsFuzzy" + }, + "match": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsMatch" + }, + "prefix": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsPrefix" + }, + "wildcard": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsWildcard" + } + }, + "minProperties": 1, + "maxProperties": 1 + } + ] }, - "indices._types:IndexSettingsLifecycle": { + "_types.query_dsl:IntervalsAllOf": { "type": "object", "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "indexing_complete": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + "intervals": { + "description": "An array of rules to combine. All rules must produce a match in a document for the overall source to match.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + } }, - "origination_date": { - "description": "If specified, this is the timestamp used to calculate the index age for its phase transitions. Use this setting\nif you create a new index that contains old data and want to use the original creation date to calculate the index\nage. Specified as a Unix epoch value in milliseconds.", + "max_gaps": { + "description": "Maximum number of positions between the matching terms.\nIntervals produced by the rules further apart than this are not considered matches.", "type": "number" }, - "parse_origination_date": { - "description": "Set to true to parse the origination date from the index name. This origination date is used to calculate the index age\nfor its phase transitions. The index name must match the pattern ^.*-{date_format}-\\\\d+, where the date_format is\nyyyy.MM.dd and the trailing digits are optional. An index that was rolled over would normally match the full format,\nfor example logs-2016.10.31-000002). If the index name doesn’t match the pattern, index creation fails.", + "ordered": { + "description": "If `true`, intervals produced by the rules should appear in the order in which they are specified.", "type": "boolean" }, - "step": { - "$ref": "#/components/schemas/indices._types:IndexSettingsLifecycleStep" - }, - "rollover_alias": { - "description": "The index alias to update when the index rolls over. Specify when using a policy that contains a rollover action.\nWhen the index rolls over, the alias is updated to reflect that the index is no longer the write index. For more\ninformation about rolling indices, see Rollover.", - "type": "string" + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsFilter" } }, "required": [ - "name" + "intervals" ] }, - "indices._types:IndexSettingsLifecycleStep": { + "_types.query_dsl:IntervalsContainer": { "type": "object", "properties": { - "wait_time_threshold": { - "$ref": "#/components/schemas/_types:Duration" - } - } - }, - "_spec_utils:StringifiedEpochTimeUnitMillis": { - "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + "all_of": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsAllOf" }, - { - "type": "string" + "any_of": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsAnyOf" + }, + "fuzzy": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsFuzzy" + }, + "match": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsMatch" + }, + "prefix": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsPrefix" + }, + "wildcard": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsWildcard" } - ] - }, - "_types:Uuid": { - "type": "string" + }, + "minProperties": 1, + "maxProperties": 1 }, - "indices._types:IndexVersioning": { + "_types.query_dsl:IntervalsAnyOf": { "type": "object", "properties": { - "created": { - "$ref": "#/components/schemas/_types:VersionString" + "intervals": { + "description": "An array of rules to match.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + } }, - "created_string": { - "type": "string" + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsFilter" } - } + }, + "required": [ + "intervals" + ] }, - "indices._types:Translog": { + "_types.query_dsl:IntervalsFilter": { "type": "object", "properties": { - "sync_interval": { - "$ref": "#/components/schemas/_types:Duration" + "after": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" }, - "durability": { - "$ref": "#/components/schemas/indices._types:TranslogDurability" + "before": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" }, - "flush_threshold_size": { - "$ref": "#/components/schemas/_types:ByteSize" + "contained_by": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" }, - "retention": { - "$ref": "#/components/schemas/indices._types:TranslogRetention" - } - } - }, - "indices._types:TranslogDurability": { - "type": "string", - "enum": [ - "request", - "async" - ] - }, - "indices._types:TranslogRetention": { - "type": "object", - "properties": { - "size": { - "$ref": "#/components/schemas/_types:ByteSize" + "containing": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" }, - "age": { - "$ref": "#/components/schemas/_types:Duration" + "not_contained_by": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + }, + "not_containing": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + }, + "not_overlapping": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + }, + "overlapping": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" } - } + }, + "minProperties": 1, + "maxProperties": 1 }, - "indices._types:SettingsQueryString": { + "_types.query_dsl:IntervalsFuzzy": { "type": "object", "properties": { - "lenient": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + }, + "description": "Analyzer used to normalize the term.", + "type": "string" + }, + "fuzziness": { + "$ref": "#/components/schemas/_types:Fuzziness" + }, + "prefix_length": { + "description": "Number of beginning characters left unchanged when creating expansions.", + "type": "number" + }, + "term": { + "description": "The term to match.", + "type": "string" + }, + "transpositions": { + "description": "Indicates whether edits include transpositions of two adjacent characters (for example, `ab` to `ba`).", + "type": "boolean" + }, + "use_field": { + "$ref": "#/components/schemas/_types:Field" } }, "required": [ - "lenient" + "term" ] }, - "indices._types:IndexSettingsAnalysis": { + "_types.query_dsl:IntervalsMatch": { "type": "object", "properties": { "analyzer": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.analysis:Analyzer" - } + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + }, + "description": "Analyzer used to analyze terms in the query.", + "type": "string" }, - "char_filter": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.analysis:CharFilter" - } + "max_gaps": { + "description": "Maximum number of positions between the matching terms.\nTerms further apart than this are not considered matches.", + "type": "number" }, - "filter": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.analysis:TokenFilter" - } + "ordered": { + "description": "If `true`, matching terms must appear in their specified order.", + "type": "boolean" }, - "normalizer": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.analysis:Normalizer" - } + "query": { + "description": "Text you wish to find in the provided field.", + "type": "string" }, - "tokenizer": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.analysis:Tokenizer" - } + "use_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:IntervalsFilter" } - } + }, + "required": [ + "query" + ] }, - "_types.analysis:CharFilter": { - "oneOf": [ - { + "_types.query_dsl:IntervalsPrefix": { + "type": "object", + "properties": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + }, + "description": "Analyzer used to analyze the `prefix`.", "type": "string" }, - { - "$ref": "#/components/schemas/_types.analysis:CharFilterDefinition" + "prefix": { + "description": "Beginning characters of terms you wish to find in the top-level field.", + "type": "string" + }, + "use_field": { + "$ref": "#/components/schemas/_types:Field" } + }, + "required": [ + "prefix" ] }, - "_types.analysis:CharFilterDefinition": { - "discriminator": { - "propertyName": "type" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/_types.analysis:HtmlStripCharFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:MappingCharFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:PatternReplaceCharFilter" + "_types.query_dsl:IntervalsWildcard": { + "type": "object", + "properties": { + "analyzer": { + "description": "Analyzer used to analyze the `pattern`.\nDefaults to the top-level field's analyzer.", + "type": "string" }, - { - "$ref": "#/components/schemas/_types.analysis:IcuNormalizationCharFilter" + "pattern": { + "description": "Wildcard pattern used to find matching terms.", + "type": "string" }, - { - "$ref": "#/components/schemas/_types.analysis:KuromojiIterationMarkCharFilter" + "use_field": { + "$ref": "#/components/schemas/_types:Field" } + }, + "required": [ + "pattern" ] }, - "_types.analysis:HtmlStripCharFilter": { + "_types.query_dsl:MatchQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:CharFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "html_strip" + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + }, + "description": "Analyzer used to convert the text in the query value into tokens.", + "type": "string" + }, + "auto_generate_synonyms_phrase_query": { + "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", + "type": "boolean" + }, + "cutoff_frequency": { + "deprecated": true, + "type": "number" + }, + "fuzziness": { + "$ref": "#/components/schemas/_types:Fuzziness" + }, + "fuzzy_rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "fuzzy_transpositions": { + "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).", + "type": "boolean" + }, + "lenient": { + "description": "If `true`, format-based errors, such as providing a text query value for a numeric field, are ignored.", + "type": "boolean" + }, + "max_expansions": { + "description": "Maximum number of terms to which the query will expand.", + "type": "number" + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "operator": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "prefix_length": { + "description": "Number of beginning characters left unchanged for fuzzy matching.", + "type": "number" + }, + "query": { + "description": "Text, number, boolean value or date you wish to find in the provided field.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } ] + }, + "zero_terms_query": { + "$ref": "#/components/schemas/_types.query_dsl:ZeroTermsQuery" } }, "required": [ - "type" + "query" ] } ] }, - "_types.analysis:CharFilterBase": { - "type": "object", - "properties": { - "version": { - "$ref": "#/components/schemas/_types:VersionString" - } - } + "_types.query_dsl:ZeroTermsQuery": { + "type": "string", + "enum": [ + "all", + "none" + ] }, - "_types.analysis:MappingCharFilter": { + "_types.query_dsl:MatchAllQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:CharFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "mapping" - ] - }, - "mappings": { - "type": "array", - "items": { - "type": "string" - } - }, - "mappings_path": { - "type": "string" - } - }, - "required": [ - "type" - ] + "type": "object" } ] }, - "_types.analysis:PatternReplaceCharFilter": { + "_types.query_dsl:MatchBoolPrefixQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:CharFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "pattern_replace" - ] - }, - "flags": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + }, + "description": "Analyzer used to convert the text in the query value into tokens.", "type": "string" }, - "pattern": { - "type": "string" + "fuzziness": { + "$ref": "#/components/schemas/_types:Fuzziness" }, - "replacement": { + "fuzzy_rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "fuzzy_transpositions": { + "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).\nCan be applied to the term subqueries constructed for all terms but the final term.", + "type": "boolean" + }, + "max_expansions": { + "description": "Maximum number of terms to which the query will expand.\nCan be applied to the term subqueries constructed for all terms but the final term.", + "type": "number" + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "operator": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "prefix_length": { + "description": "Number of beginning characters left unchanged for fuzzy matching.\nCan be applied to the term subqueries constructed for all terms but the final term.", + "type": "number" + }, + "query": { + "description": "Terms you wish to find in the provided field.\nThe last term is used in a prefix query.", "type": "string" } }, "required": [ - "type", - "pattern" + "query" ] } ] }, - "_types.analysis:IcuNormalizationCharFilter": { + "_types.query_dsl:MatchNoneQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:CharFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "icu_normalizer" - ] - }, - "mode": { - "$ref": "#/components/schemas/_types.analysis:IcuNormalizationMode" - }, - "name": { - "$ref": "#/components/schemas/_types.analysis:IcuNormalizationType" - } - }, - "required": [ - "type" - ] + "type": "object" } ] }, - "_types.analysis:KuromojiIterationMarkCharFilter": { + "_types.query_dsl:MatchPhraseQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:CharFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "kuromoji_iteration_mark" - ] + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + }, + "description": "Analyzer used to convert the text in the query value into tokens.", + "type": "string" }, - "normalize_kana": { - "type": "boolean" + "query": { + "description": "Query terms that are analyzed and turned into a phrase query.", + "type": "string" }, - "normalize_kanji": { - "type": "boolean" + "slop": { + "description": "Maximum number of positions allowed between matching tokens.", + "type": "number" + }, + "zero_terms_query": { + "$ref": "#/components/schemas/_types.query_dsl:ZeroTermsQuery" } }, "required": [ - "type", - "normalize_kana", - "normalize_kanji" + "query" ] } ] }, - "_types.analysis:TokenFilter": { - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterDefinition" - } - ] - }, - "_types.analysis:TokenFilterDefinition": { - "discriminator": { - "propertyName": "type" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/_types.analysis:AsciiFoldingTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:CommonGramsTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:ConditionTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:DelimitedPayloadTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:EdgeNGramTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:ElisionTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:FingerprintTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:HunspellTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:HyphenationDecompounderTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:KeepTypesTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:KeepWordsTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:KeywordMarkerTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:KStemTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:LengthTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:LimitTokenCountTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:LowercaseTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:MultiplexerTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:NGramTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:NoriPartOfSpeechTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:PatternCaptureTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:PatternReplaceTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:PorterStemTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:PredicateTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:RemoveDuplicatesTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:ReverseTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:ShingleTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:SnowballTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:StemmerOverrideTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:StemmerTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:StopTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:SynonymGraphTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:SynonymTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:TrimTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:TruncateTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:UniqueTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:UppercaseTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:WordDelimiterGraphTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:WordDelimiterTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:KuromojiStemmerTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:KuromojiReadingFormTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:KuromojiPartOfSpeechTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:IcuTokenizer" - }, - { - "$ref": "#/components/schemas/_types.analysis:IcuCollationTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:IcuFoldingTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:IcuNormalizationTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:IcuTransformTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:PhoneticTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:DictionaryDecompounderTokenFilter" - } - ] - }, - "_types.analysis:AsciiFoldingTokenFilter": { + "_types.query_dsl:MatchPhrasePrefixQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "asciifolding" - ] + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + }, + "description": "Analyzer used to convert text in the query value into tokens.", + "type": "string" }, - "preserve_original": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + "max_expansions": { + "description": "Maximum number of terms to which the last provided term of the query value will expand.", + "type": "number" + }, + "query": { + "description": "Text you wish to find in the provided field.", + "type": "string" + }, + "slop": { + "description": "Maximum number of positions allowed between matching tokens.", + "type": "number" + }, + "zero_terms_query": { + "$ref": "#/components/schemas/_types.query_dsl:ZeroTermsQuery" } }, "required": [ - "type" + "query" ] } ] }, - "_types.analysis:TokenFilterBase": { - "type": "object", - "properties": { - "version": { - "$ref": "#/components/schemas/_types:VersionString" - } - } - }, - "_types.analysis:CommonGramsTokenFilter": { + "_types.query_dsl:MoreLikeThisQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "common_grams" - ] + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + }, + "description": "The analyzer that is used to analyze the free form text.\nDefaults to the analyzer associated with the first field in fields.", + "type": "string" }, - "common_words": { + "boost_terms": { + "description": "Each term in the formed query could be further boosted by their tf-idf score.\nThis sets the boost factor to use when using this feature.\nDefaults to deactivated (0).", + "type": "number" + }, + "fail_on_unsupported_field": { + "description": "Controls whether the query should fail (throw an exception) if any of the specified fields are not of the supported types (`text` or `keyword`).", + "type": "boolean" + }, + "fields": { + "description": "A list of fields to fetch and analyze the text from.\nDefaults to the `index.query.default_field` index setting, which has a default value of `*`.", "type": "array", "items": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "include": { + "description": "Specifies whether the input documents should also be included in the search results returned.", + "type": "boolean" + }, + "like": { + "description": "Specifies free form text and/or a single or multiple documents for which you want to find similar documents.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:Like" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:Like" + } + } + ] + }, + "max_doc_freq": { + "description": "The maximum document frequency above which the terms are ignored from the input document.", + "type": "number" + }, + "max_query_terms": { + "description": "The maximum number of query terms that can be selected.", + "type": "number" + }, + "max_word_length": { + "description": "The maximum word length above which the terms are ignored.\nDefaults to unbounded (`0`).", + "type": "number" + }, + "min_doc_freq": { + "description": "The minimum document frequency below which the terms are ignored from the input document.", + "type": "number" + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "min_term_freq": { + "description": "The minimum term frequency below which the terms are ignored from the input document.", + "type": "number" + }, + "min_word_length": { + "description": "The minimum word length below which the terms are ignored.", + "type": "number" + }, + "per_field_analyzer": { + "description": "Overrides the default analyzer.", + "type": "object", + "additionalProperties": { "type": "string" } }, - "common_words_path": { - "type": "string" + "routing": { + "$ref": "#/components/schemas/_types:Routing" }, - "ignore_case": { - "type": "boolean" + "stop_words": { + "$ref": "#/components/schemas/_types.analysis:StopWords" + }, + "unlike": { + "description": "Used in combination with `like` to exclude documents that match a set of terms.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:Like" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:Like" + } + } + ] }, - "query_mode": { - "type": "boolean" + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "version_type": { + "$ref": "#/components/schemas/_types:VersionType" } }, "required": [ - "type" + "like" ] } ] }, - "_types.analysis:ConditionTokenFilter": { - "allOf": [ + "_types.query_dsl:Like": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-mlt-query.html#_document_input_parameters" + }, + "description": "Text that we want similar documents for or a lookup to a document's field for the text.", + "oneOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "type": "string" }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "condition" - ] - }, - "filter": { - "type": "array", - "items": { - "type": "string" - } - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - } - }, - "required": [ - "type", - "filter", - "script" - ] + "$ref": "#/components/schemas/_types.query_dsl:LikeDocument" } ] }, - "_types.analysis:DelimitedPayloadTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "_types.query_dsl:LikeDocument": { + "type": "object", + "properties": { + "doc": { + "description": "A document not present in the index.", + "type": "object" }, - { + "fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "per_field_analyzer": { "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "delimited_payload" - ] - }, - "delimiter": { - "type": "string" - }, - "encoding": { - "$ref": "#/components/schemas/_types.analysis:DelimitedPayloadEncoding" - } - }, - "required": [ - "type" - ] + "additionalProperties": { + "type": "string" + } + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "version_type": { + "$ref": "#/components/schemas/_types:VersionType" } - ] + } }, - "_types.analysis:DelimitedPayloadEncoding": { + "_types:VersionType": { "type": "string", "enum": [ - "int", - "float", - "identity" + "internal", + "external", + "external_gte", + "force" ] }, - "_types.analysis:EdgeNGramTokenFilter": { + "_types.query_dsl:MultiMatchQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "edge_ngram" - ] + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + }, + "description": "Analyzer used to convert the text in the query value into tokens.", + "type": "string" }, - "max_gram": { + "auto_generate_synonyms_phrase_query": { + "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", + "type": "boolean" + }, + "cutoff_frequency": { + "deprecated": true, "type": "number" }, - "min_gram": { + "fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "fuzziness": { + "$ref": "#/components/schemas/_types:Fuzziness" + }, + "fuzzy_rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "fuzzy_transpositions": { + "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).\nCan be applied to the term subqueries constructed for all terms but the final term.", + "type": "boolean" + }, + "lenient": { + "description": "If `true`, format-based errors, such as providing a text query value for a numeric field, are ignored.", + "type": "boolean" + }, + "max_expansions": { + "description": "Maximum number of terms to which the query will expand.", "type": "number" }, - "side": { - "$ref": "#/components/schemas/_types.analysis:EdgeNGramSide" + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" }, - "preserve_original": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + "operator": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "prefix_length": { + "description": "Number of beginning characters left unchanged for fuzzy matching.", + "type": "number" + }, + "query": { + "description": "Text, number, boolean value or date you wish to find in the provided field.", + "type": "string" + }, + "slop": { + "description": "Maximum number of positions allowed between matching tokens.", + "type": "number" + }, + "tie_breaker": { + "description": "Determines how scores for each per-term blended query and scores across groups are combined.", + "type": "number" + }, + "type": { + "$ref": "#/components/schemas/_types.query_dsl:TextQueryType" + }, + "zero_terms_query": { + "$ref": "#/components/schemas/_types.query_dsl:ZeroTermsQuery" } }, "required": [ - "type" + "query" ] } ] }, - "_types.analysis:EdgeNGramSide": { + "_types.query_dsl:TextQueryType": { "type": "string", "enum": [ - "front", - "back" + "best_fields", + "most_fields", + "cross_fields", + "phrase", + "phrase_prefix", + "bool_prefix" ] }, - "_types.analysis:ElisionTokenFilter": { + "_types.query_dsl:NestedQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "elision" - ] + "ignore_unmapped": { + "description": "Indicates whether to ignore an unmapped path and not return any documents instead of an error.", + "type": "boolean" }, - "articles": { - "type": "array", - "items": { - "type": "string" - } + "inner_hits": { + "$ref": "#/components/schemas/_global.search._types:InnerHits" }, - "articles_path": { - "type": "string" + "path": { + "$ref": "#/components/schemas/_types:Field" }, - "articles_case": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "score_mode": { + "$ref": "#/components/schemas/_types.query_dsl:ChildScoreMode" } }, "required": [ - "type" + "path", + "query" ] } ] }, - "_types.analysis:FingerprintTokenFilter": { + "_types.query_dsl:ParentIdQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "fingerprint" - ] + "id": { + "$ref": "#/components/schemas/_types:Id" }, - "max_output_size": { - "type": "number" + "ignore_unmapped": { + "description": "Indicates whether to ignore an unmapped `type` and not return any documents instead of an error.", + "type": "boolean" }, - "separator": { - "type": "string" + "type": { + "$ref": "#/components/schemas/_types:RelationName" } - }, - "required": [ - "type" - ] + } } ] }, - "_types.analysis:HunspellTokenFilter": { + "_types.query_dsl:PercolateQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "hunspell" - ] + "document": { + "description": "The source of the document being percolated.", + "type": "object" }, - "dedup": { - "type": "boolean" + "documents": { + "description": "An array of sources of the documents being percolated.", + "type": "array", + "items": { + "type": "object" + } }, - "dictionary": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "name": { + "description": "The suffix used for the `_percolator_document_slot` field when multiple `percolate` queries are specified.", "type": "string" }, - "locale": { + "preference": { + "description": "Preference used to fetch document to percolate.", "type": "string" }, - "longest_only": { - "type": "boolean" + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" } }, "required": [ - "type", - "locale" + "field" ] } ] }, - "_types.analysis:HyphenationDecompounderTokenFilter": { + "_types.query_dsl:PinnedQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:CompoundWordTokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "hyphenation_decompounder" + "allOf": [ + { + "type": "object", + "properties": { + "organic": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "required": [ + "organic" ] + }, + { + "type": "object", + "properties": { + "ids": { + "description": "Document IDs listed in the order they are to appear in results.\nRequired if `docs` is not specified.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "docs": { + "description": "Documents listed in the order they are to appear in results.\nRequired if `ids` is not specified.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:PinnedDoc" + } + } + }, + "minProperties": 1, + "maxProperties": 1 } - }, - "required": [ - "type" ] } ] }, - "_types.analysis:CompoundWordTokenFilterBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "_types.query_dsl:PinnedDoc": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" }, - { - "type": "object", - "properties": { - "hyphenation_patterns_path": { - "type": "string" - }, - "max_subword_size": { - "type": "number" - }, - "min_subword_size": { - "type": "number" - }, - "min_word_size": { - "type": "number" - }, - "only_longest_match": { - "type": "boolean" - }, - "word_list": { - "type": "array", - "items": { - "type": "string" - } - }, - "word_list_path": { - "type": "string" - } - } + "_index": { + "$ref": "#/components/schemas/_types:IndexName" } + }, + "required": [ + "_id", + "_index" ] }, - "_types.analysis:KeepTypesTokenFilter": { + "_types.query_dsl:PrefixQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "keep_types" - ] + "rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" }, - "mode": { - "$ref": "#/components/schemas/_types.analysis:KeepTypesMode" + "value": { + "description": "Beginning characters of terms you wish to find in the provided field.", + "type": "string" }, - "types": { - "type": "array", - "items": { - "type": "string" - } + "case_insensitive": { + "description": "Allows ASCII case insensitive matching of the value with the indexed field values when set to `true`.\nDefault is `false` which means the case sensitivity of matching depends on the underlying field’s mapping.", + "type": "boolean" } }, "required": [ - "type" + "value" ] } ] }, - "_types.analysis:KeepTypesMode": { - "type": "string", - "enum": [ - "include", - "exclude" - ] - }, - "_types.analysis:KeepWordsTokenFilter": { + "_types.query_dsl:QueryStringQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "keep" - ] + "allow_leading_wildcard": { + "description": "If `true`, the wildcard characters `*` and `?` are allowed as the first character of the query string.", + "type": "boolean" }, - "keep_words": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + }, + "description": "Analyzer used to convert text in the query string into tokens.", + "type": "string" + }, + "analyze_wildcard": { + "description": "If `true`, the query attempts to analyze wildcard terms in the query string.", + "type": "boolean" + }, + "auto_generate_synonyms_phrase_query": { + "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", + "type": "boolean" + }, + "default_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "default_operator": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "enable_position_increments": { + "description": "If `true`, enable position increments in queries constructed from a `query_string` search.", + "type": "boolean" + }, + "escape": { + "type": "boolean" + }, + "fields": { + "description": "Array of fields to search. Supports wildcards (`*`).", "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/_types:Field" } }, - "keep_words_case": { + "fuzziness": { + "$ref": "#/components/schemas/_types:Fuzziness" + }, + "fuzzy_max_expansions": { + "description": "Maximum number of terms to which the query expands for fuzzy matching.", + "type": "number" + }, + "fuzzy_prefix_length": { + "description": "Number of beginning characters left unchanged for fuzzy matching.", + "type": "number" + }, + "fuzzy_rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "fuzzy_transpositions": { + "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).", + "type": "boolean" + }, + "lenient": { + "description": "If `true`, format-based errors, such as providing a text value for a numeric field, are ignored.", "type": "boolean" }, - "keep_words_path": { - "type": "string" + "max_determinized_states": { + "description": "Maximum number of automaton states required for the query.", + "type": "number" + }, + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "phrase_slop": { + "description": "Maximum number of positions allowed between matching tokens for phrases.", + "type": "number" + }, + "query": { + "description": "Query string you wish to parse and use for search.", + "type": "string" + }, + "quote_analyzer": { + "description": "Analyzer used to convert quoted text in the query string into tokens.\nFor quoted text, this parameter overrides the analyzer specified in the `analyzer` parameter.", + "type": "string" + }, + "quote_field_suffix": { + "description": "Suffix appended to quoted text in the query string.\nYou can use this suffix to use a different analysis method for exact matches.", + "type": "string" + }, + "rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "tie_breaker": { + "description": "How to combine the queries generated from the individual search terms in the resulting `dis_max` query.", + "type": "number" + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" + }, + "type": { + "$ref": "#/components/schemas/_types.query_dsl:TextQueryType" } }, "required": [ - "type" + "query" ] } ] }, - "_types.analysis:KeywordMarkerTokenFilter": { + "_types:TimeZone": { + "type": "string" + }, + "_types.query_dsl:RangeQuery": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:DateRangeQuery" + }, + { + "$ref": "#/components/schemas/_types.query_dsl:NumberRangeQuery" + } + ] + }, + "_types.query_dsl:DateRangeQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:RangeQueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "keyword_marker" - ] + "gt": { + "$ref": "#/components/schemas/_types:DateMath" }, - "ignore_case": { - "type": "boolean" + "gte": { + "$ref": "#/components/schemas/_types:DateMath" }, - "keywords": { - "type": "array", - "items": { - "type": "string" - } + "lt": { + "$ref": "#/components/schemas/_types:DateMath" }, - "keywords_path": { - "type": "string" + "lte": { + "$ref": "#/components/schemas/_types:DateMath" }, - "keywords_pattern": { - "type": "string" + "from": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:DateMath" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "to": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:DateMath" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "format": { + "$ref": "#/components/schemas/_types:DateFormat" + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" } - }, - "required": [ - "type" - ] + } } ] }, - "_types.analysis:KStemTokenFilter": { + "_types:DateFormat": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-date-format.html" + }, + "type": "string" + }, + "_types.query_dsl:RangeQueryBase": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "kstem" - ] + "relation": { + "$ref": "#/components/schemas/_types.query_dsl:RangeRelation" } - }, - "required": [ - "type" - ] + } } ] }, - "_types.analysis:LengthTokenFilter": { + "_types.query_dsl:RangeRelation": { + "type": "string", + "enum": [ + "within", + "contains", + "intersects" + ] + }, + "_types.query_dsl:NumberRangeQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:RangeQueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "length" - ] + "gt": { + "description": "Greater than.", + "type": "number" }, - "max": { + "gte": { + "description": "Greater than or equal to.", "type": "number" }, - "min": { + "lt": { + "description": "Less than.", "type": "number" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:LimitTokenCountTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "limit" - ] }, - "consume_all_tokens": { - "type": "boolean" + "lte": { + "description": "Less than or equal to.", + "type": "number" }, - "max_token_count": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" + "from": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "to": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] } - }, - "required": [ - "type" - ] + } } ] }, - "_types.analysis:LowercaseTokenFilter": { + "_types.query_dsl:RankFeatureQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "lowercase" - ] + "field": { + "$ref": "#/components/schemas/_types:Field" }, - "language": { - "type": "string" + "saturation": { + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunctionSaturation" + }, + "log": { + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunctionLogarithm" + }, + "linear": { + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunctionLinear" + }, + "sigmoid": { + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunctionSigmoid" } }, "required": [ - "type" + "field" ] } ] }, - "_types.analysis:MultiplexerTokenFilter": { + "_types.query_dsl:RankFeatureFunctionSaturation": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunction" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "multiplexer" - ] - }, - "filters": { - "type": "array", - "items": { - "type": "string" - } - }, - "preserve_original": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + "pivot": { + "description": "Configurable pivot value so that the result will be less than 0.5.", + "type": "number" } - }, - "required": [ - "type", - "filters" - ] + } } ] }, - "_types.analysis:NGramTokenFilter": { + "_types.query_dsl:RankFeatureFunction": { + "type": "object" + }, + "_types.query_dsl:RankFeatureFunctionLogarithm": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunction" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "ngram" - ] - }, - "max_gram": { - "type": "number" - }, - "min_gram": { + "scaling_factor": { + "description": "Configurable scaling factor.", "type": "number" - }, - "preserve_original": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" } }, "required": [ - "type" + "scaling_factor" ] } ] }, - "_types.analysis:NoriPartOfSpeechTokenFilter": { + "_types.query_dsl:RankFeatureFunctionLinear": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunction" }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "nori_part_of_speech" - ] - }, - "stoptags": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "type" - ] + "type": "object" } ] }, - "_types.analysis:PatternCaptureTokenFilter": { + "_types.query_dsl:RankFeatureFunctionSigmoid": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunction" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "pattern_capture" - ] - }, - "patterns": { - "type": "array", - "items": { - "type": "string" - } + "pivot": { + "description": "Configurable pivot value so that the result will be less than 0.5.", + "type": "number" }, - "preserve_original": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + "exponent": { + "description": "Configurable Exponent.", + "type": "number" } }, "required": [ - "type", - "patterns" + "pivot", + "exponent" ] } ] }, - "_types.analysis:PatternReplaceTokenFilter": { + "_types.query_dsl:RegexpQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "pattern_replace" - ] - }, - "all": { + "case_insensitive": { + "description": "Allows case insensitive matching of the regular expression value with the indexed field values when set to `true`.\nWhen `false`, case sensitivity of matching depends on the underlying field’s mapping.", "type": "boolean" }, "flags": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/regexp-syntax.html" + }, + "description": "Enables optional operators for the regular expression.", "type": "string" }, - "pattern": { - "type": "string" + "max_determinized_states": { + "description": "Maximum number of automaton states required for the query.", + "type": "number" }, - "replacement": { + "rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "value": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/regexp-syntax.html" + }, + "description": "Regular expression for terms you wish to find in the provided field.", "type": "string" } }, "required": [ - "type", - "pattern" + "value" ] } ] }, - "_types.analysis:PorterStemTokenFilter": { + "_types.query_dsl:RuleQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "porter_stem" - ] + "organic": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "ruleset_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "match_criteria": { + "type": "object" } }, "required": [ - "type" + "organic", + "ruleset_id", + "match_criteria" ] } ] }, - "_types.analysis:PredicateTokenFilter": { + "_types.query_dsl:ScriptQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "predicate_token_filter" - ] - }, "script": { "$ref": "#/components/schemas/_types:Script" } }, "required": [ - "type", "script" ] } ] }, - "_types.analysis:RemoveDuplicatesTokenFilter": { + "_types.query_dsl:ScriptScoreQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "remove_duplicates" - ] + "min_score": { + "description": "Documents with a score lower than this floating point number are excluded from the search results.", + "type": "number" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" } }, "required": [ - "type" + "query", + "script" ] } ] }, - "_types.analysis:ReverseTokenFilter": { + "_types.query_dsl:ShapeQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "reverse" - ] + "ignore_unmapped": { + "description": "When set to `true` the query ignores an unmapped field and will not match any documents.", + "type": "boolean" } - }, - "required": [ - "type" - ] + } } ] }, - "_types.analysis:ShingleTokenFilter": { + "_types.query_dsl:SimpleQueryStringQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "shingle" - ] - }, - "filler_token": { + "analyzer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" + }, + "description": "Analyzer used to convert text in the query string into tokens.", "type": "string" }, - "max_shingle_size": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] + "analyze_wildcard": { + "description": "If `true`, the query attempts to analyze wildcard terms in the query string.", + "type": "boolean" }, - "min_shingle_size": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] + "auto_generate_synonyms_phrase_query": { + "description": "If `true`, the parser creates a match_phrase query for each multi-position token.", + "type": "boolean" }, - "output_unigrams": { + "default_operator": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "fields": { + "description": "Array of fields you wish to search.\nAccepts wildcard expressions.\nYou also can boost relevance scores for matches to particular fields using a caret (`^`) notation.\nDefaults to the `index.query.default_field index` setting, which has a default value of `*`.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "flags": { + "$ref": "#/components/schemas/_types.query_dsl:SimpleQueryStringFlags" + }, + "fuzzy_max_expansions": { + "description": "Maximum number of terms to which the query expands for fuzzy matching.", + "type": "number" + }, + "fuzzy_prefix_length": { + "description": "Number of beginning characters left unchanged for fuzzy matching.", + "type": "number" + }, + "fuzzy_transpositions": { + "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).", "type": "boolean" }, - "output_unigrams_if_no_shingles": { + "lenient": { + "description": "If `true`, format-based errors, such as providing a text value for a numeric field, are ignored.", "type": "boolean" }, - "token_separator": { + "minimum_should_match": { + "$ref": "#/components/schemas/_types:MinimumShouldMatch" + }, + "query": { + "description": "Query string in the simple query string syntax you wish to parse and use for search.", + "type": "string" + }, + "quote_field_suffix": { + "description": "Suffix appended to quoted text in the query string.", "type": "string" } }, "required": [ - "type" + "query" ] } ] }, - "_types.analysis:SnowballTokenFilter": { + "_types.query_dsl:SimpleQueryStringFlags": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-simple-query-string-query.html#supported-flags" + }, + "description": "Query flags can be either a single flag or a combination of flags, e.g. `OR|AND|PREFIX`", + "allOf": [ + { + "$ref": "#/components/schemas/_spec_utils:PipeSeparatedFlagsSimpleQueryStringFlag" + } + ] + }, + "_spec_utils:PipeSeparatedFlagsSimpleQueryStringFlag": { + "description": "A set of flags that can be represented as a single enum value or a set of values that are encoded\nas a pipe-separated string\n\nDepending on the target language, code generators can use this hint to generate language specific\nflags enum constructs and the corresponding (de-)serialization code.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:SimpleQueryStringFlag" + }, + { + "type": "string" + } + ] + }, + "_types.query_dsl:SimpleQueryStringFlag": { + "type": "string", + "enum": [ + "NONE", + "AND", + "NOT", + "OR", + "PREFIX", + "PHRASE", + "PRECEDENCE", + "ESCAPE", + "WHITESPACE", + "FUZZY", + "NEAR", + "SLOP", + "ALL" + ] + }, + "_types.query_dsl:SpanContainingQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "snowball" - ] + "big": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" }, - "language": { - "$ref": "#/components/schemas/_types.analysis:SnowballLanguage" + "little": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" } }, "required": [ - "type", - "language" + "big", + "little" ] } ] }, - "_types.analysis:StemmerOverrideTokenFilter": { + "_types.query_dsl:SpanQuery": { + "type": "object", + "properties": { + "span_containing": { + "$ref": "#/components/schemas/_types.query_dsl:SpanContainingQuery" + }, + "field_masking_span": { + "$ref": "#/components/schemas/_types.query_dsl:SpanFieldMaskingQuery" + }, + "span_first": { + "$ref": "#/components/schemas/_types.query_dsl:SpanFirstQuery" + }, + "span_gap": { + "$ref": "#/components/schemas/_types.query_dsl:SpanGapQuery" + }, + "span_multi": { + "$ref": "#/components/schemas/_types.query_dsl:SpanMultiTermQuery" + }, + "span_near": { + "$ref": "#/components/schemas/_types.query_dsl:SpanNearQuery" + }, + "span_not": { + "$ref": "#/components/schemas/_types.query_dsl:SpanNotQuery" + }, + "span_or": { + "$ref": "#/components/schemas/_types.query_dsl:SpanOrQuery" + }, + "span_term": { + "description": "The equivalent of the `term` query but for use with other span queries.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:SpanTermQuery" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "span_within": { + "$ref": "#/components/schemas/_types.query_dsl:SpanWithinQuery" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_types.query_dsl:SpanFieldMaskingQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "stemmer_override" - ] - }, - "rules": { - "type": "array", - "items": { - "type": "string" - } + "field": { + "$ref": "#/components/schemas/_types:Field" }, - "rules_path": { - "type": "string" + "query": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" } }, "required": [ - "type" + "field", + "query" ] } ] }, - "_types.analysis:StemmerTokenFilter": { + "_types.query_dsl:SpanFirstQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "stemmer" - ] + "end": { + "description": "Controls the maximum end position permitted in a match.", + "type": "number" }, - "language": { - "type": "string" + "match": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" } }, "required": [ - "type" + "end", + "match" ] } ] }, - "_types.analysis:StopTokenFilter": { + "_types.query_dsl:SpanGapQuery": { + "description": "Can only be used as a clause in a span_near query.", + "type": "object", + "additionalProperties": { + "type": "number" + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_types.query_dsl:SpanMultiTermQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "stop" - ] - }, - "ignore_case": { - "type": "boolean" - }, - "remove_trailing": { - "type": "boolean" - }, - "stopwords": { - "$ref": "#/components/schemas/_types.analysis:StopWords" - }, - "stopwords_path": { - "type": "string" + "match": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" } }, "required": [ - "type" + "match" ] } ] }, - "_types.analysis:SynonymGraphTokenFilter": { + "_types.query_dsl:SpanNearQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "synonym_graph" - ] - }, - "expand": { - "type": "boolean" - }, - "format": { - "$ref": "#/components/schemas/_types.analysis:SynonymFormat" - }, - "lenient": { - "type": "boolean" - }, - "synonyms": { + "clauses": { + "description": "Array of one or more other span type queries.", "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" } }, - "synonyms_path": { - "type": "string" - }, - "tokenizer": { - "type": "string" - }, - "updateable": { + "in_order": { + "description": "Controls whether matches are required to be in-order.", "type": "boolean" + }, + "slop": { + "description": "Controls the maximum number of intervening unmatched positions permitted.", + "type": "number" } }, "required": [ - "type" + "clauses" ] } ] }, - "_types.analysis:SynonymFormat": { - "type": "string", - "enum": [ - "solr", - "wordnet" - ] - }, - "_types.analysis:SynonymTokenFilter": { + "_types.query_dsl:SpanNotQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "synonym" - ] - }, - "expand": { - "type": "boolean" - }, - "format": { - "$ref": "#/components/schemas/_types.analysis:SynonymFormat" - }, - "lenient": { - "type": "boolean" + "dist": { + "description": "The number of tokens from within the include span that can’t have overlap with the exclude span.\nEquivalent to setting both `pre` and `post`.", + "type": "number" }, - "synonyms": { - "type": "array", - "items": { - "type": "string" - } + "exclude": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" }, - "synonyms_path": { - "type": "string" + "include": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" }, - "tokenizer": { - "type": "string" + "post": { + "description": "The number of tokens after the include span that can’t have overlap with the exclude span.", + "type": "number" }, - "updateable": { - "type": "boolean" + "pre": { + "description": "The number of tokens before the include span that can’t have overlap with the exclude span.", + "type": "number" } }, "required": [ - "type" + "exclude", + "include" ] } ] }, - "_types.analysis:TrimTokenFilter": { + "_types.query_dsl:SpanOrQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "trim" - ] + "clauses": { + "description": "Array of one or more other span type queries.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" + } } }, "required": [ - "type" + "clauses" ] } ] }, - "_types.analysis:TruncateTokenFilter": { + "_types.query_dsl:SpanTermQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "truncate" - ] - }, - "length": { - "type": "number" + "value": { + "type": "string" } }, "required": [ - "type" + "value" ] } ] }, - "_types.analysis:UniqueTokenFilter": { + "_types.query_dsl:SpanWithinQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "unique" - ] + "big": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" }, - "only_on_same_position": { - "type": "boolean" + "little": { + "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" } }, "required": [ - "type" + "big", + "little" ] } ] }, - "_types.analysis:UppercaseTokenFilter": { + "_types.query_dsl:TermQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "uppercase" - ] + "value": { + "$ref": "#/components/schemas/_types:FieldValue" + }, + "case_insensitive": { + "description": "Allows ASCII case insensitive matching of the value with the indexed field values when set to `true`.\nWhen `false`, the case sensitivity of matching depends on the underlying field’s mapping.", + "type": "boolean" } }, "required": [ - "type" + "value" ] } ] }, - "_types.analysis:WordDelimiterGraphTokenFilter": { + "_types.query_dsl:TermsQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "word_delimiter_graph" - ] - }, - "adjust_offsets": { - "type": "boolean" - }, - "catenate_all": { - "type": "boolean" - }, - "catenate_numbers": { - "type": "boolean" - }, - "catenate_words": { - "type": "boolean" - }, - "generate_number_parts": { - "type": "boolean" - }, - "generate_word_parts": { - "type": "boolean" - }, - "ignore_keywords": { - "type": "boolean" - }, - "preserve_original": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" - }, - "protected_words": { - "type": "array", - "items": { - "type": "string" - } - }, - "protected_words_path": { - "type": "string" - }, - "split_on_case_change": { - "type": "boolean" - }, - "split_on_numerics": { - "type": "boolean" - }, - "stem_english_possessive": { - "type": "boolean" - }, - "type_table": { - "type": "array", - "items": { - "type": "string" - } - }, - "type_table_path": { - "type": "string" - } - }, - "required": [ - "type" - ] + "type": "object" } ] }, - "_types.analysis:WordDelimiterTokenFilter": { + "_types.query_dsl:TermsSetQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "word_delimiter" - ] - }, - "catenate_all": { - "type": "boolean" - }, - "catenate_numbers": { - "type": "boolean" - }, - "catenate_words": { - "type": "boolean" - }, - "generate_number_parts": { - "type": "boolean" - }, - "generate_word_parts": { - "type": "boolean" - }, - "preserve_original": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" - }, - "protected_words": { - "type": "array", - "items": { - "type": "string" - } - }, - "protected_words_path": { - "type": "string" - }, - "split_on_case_change": { - "type": "boolean" - }, - "split_on_numerics": { - "type": "boolean" + "minimum_should_match_field": { + "$ref": "#/components/schemas/_types:Field" }, - "stem_english_possessive": { - "type": "boolean" + "minimum_should_match_script": { + "$ref": "#/components/schemas/_types:Script" }, - "type_table": { + "terms": { + "description": "Array of terms you wish to find in the provided field.", "type": "array", "items": { "type": "string" } - }, - "type_table_path": { - "type": "string" } }, "required": [ - "type" + "terms" ] } ] }, - "_types.analysis:KuromojiStemmerTokenFilter": { + "_types.query_dsl:TextExpansionQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "kuromoji_stemmer" - ] + "model_id": { + "description": "The text expansion NLP model to use", + "type": "string" }, - "minimum_length": { - "type": "number" + "model_text": { + "description": "The query text", + "type": "string" } }, "required": [ - "type", - "minimum_length" + "model_id", + "model_text" ] } ] }, - "_types.analysis:KuromojiReadingFormTokenFilter": { + "_types.query_dsl:WildcardQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "kuromoji_readingform" - ] - }, - "use_romaji": { + "case_insensitive": { + "description": "Allows case insensitive matching of the pattern with the indexed field values when set to true. Default is false which means the case sensitivity of matching depends on the underlying field’s mapping.", "type": "boolean" + }, + "rewrite": { + "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" + }, + "value": { + "description": "Wildcard pattern for terms you wish to find in the provided field. Required, when wildcard is not set.", + "type": "string" + }, + "wildcard": { + "description": "Wildcard pattern for terms you wish to find in the provided field. Required, when value is not set.", + "type": "string" } - }, - "required": [ - "type", - "use_romaji" - ] + } } ] }, - "_types.analysis:KuromojiPartOfSpeechTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "kuromoji_part_of_speech" - ] - }, - "stoptags": { - "type": "array", - "items": { - "type": "string" - } + "_types.query_dsl:WrapperQuery": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" + }, + { + "type": "object", + "properties": { + "query": { + "description": "A base64 encoded query.\nThe binary data format can be any of JSON, YAML, CBOR or SMILE encodings", + "type": "string" } }, "required": [ - "type", - "stoptags" + "query" ] } ] }, - "_types.analysis:IcuTokenizer": { + "_types.query_dsl:TypeQuery": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + "$ref": "#/components/schemas/_types.query_dsl:QueryBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "icu_tokenizer" - ] - }, - "rule_files": { + "value": { "type": "string" } }, "required": [ - "type", - "rule_files" + "value" ] } ] }, - "_types.analysis:TokenizerBase": { + "_types.aggregations:BucketAggregationBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:Aggregation" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:Aggregation": { "type": "object", "properties": { - "version": { - "$ref": "#/components/schemas/_types:VersionString" + "meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "name": { + "type": "string" } } }, - "_types.analysis:IcuCollationTokenFilter": { + "_types.aggregations:AutoDateHistogramAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "icu_collation" - ] - }, - "alternate": { - "$ref": "#/components/schemas/_types.analysis:IcuCollationAlternate" - }, - "caseFirst": { - "$ref": "#/components/schemas/_types.analysis:IcuCollationCaseFirst" + "buckets": { + "description": "The target number of buckets.", + "type": "number" }, - "caseLevel": { - "type": "boolean" + "field": { + "$ref": "#/components/schemas/_types:Field" }, - "country": { + "format": { + "description": "The date format used to format `key_as_string` in the response.\nIf no `format` is specified, the first date format specified in the field mapping is used.", "type": "string" }, - "decomposition": { - "$ref": "#/components/schemas/_types.analysis:IcuCollationDecomposition" - }, - "hiraganaQuaternaryMode": { - "type": "boolean" - }, - "language": { - "type": "string" + "minimum_interval": { + "$ref": "#/components/schemas/_types.aggregations:MinimumInterval" }, - "numeric": { - "type": "boolean" + "missing": { + "$ref": "#/components/schemas/_types:DateTime" }, - "rules": { + "offset": { + "description": "Time zone specified as a ISO 8601 UTC offset.", "type": "string" }, - "strength": { - "$ref": "#/components/schemas/_types.analysis:IcuCollationStrength" + "params": { + "type": "object", + "additionalProperties": { + "type": "object" + } }, - "variableTop": { - "type": "string" + "script": { + "$ref": "#/components/schemas/_types:Script" }, - "variant": { - "type": "string" + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" } - }, - "required": [ - "type" - ] + } } ] }, - "_types.analysis:IcuCollationAlternate": { + "_types.aggregations:MinimumInterval": { "type": "string", "enum": [ - "shifted", - "non-ignorable" + "second", + "minute", + "hour", + "day", + "month", + "year" ] }, - "_types.analysis:IcuCollationCaseFirst": { - "type": "string", - "enum": [ - "lower", - "upper" + "_types.aggregations:AverageAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + }, + { + "type": "object" + } ] }, - "_types.analysis:IcuCollationDecomposition": { - "type": "string", - "enum": [ - "no", - "identical" + "_types.aggregations:FormatMetricAggregationBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "format": { + "type": "string" + } + } + } ] }, - "_types.analysis:IcuCollationStrength": { + "_types.aggregations:MetricAggregationBase": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "missing": { + "$ref": "#/components/schemas/_types.aggregations:Missing" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + } + } + }, + "_types.aggregations:Missing": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "_types.aggregations:AverageBucketAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:PipelineAggregationBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketPathAggregation" + }, + { + "type": "object", + "properties": { + "format": { + "description": "`DecimalFormat` pattern for the output value.\nIf specified, the formatted value is returned in the aggregation’s `value_as_string` property.", + "type": "string" + }, + "gap_policy": { + "$ref": "#/components/schemas/_types.aggregations:GapPolicy" + } + } + } + ] + }, + "_types.aggregations:GapPolicy": { "type": "string", "enum": [ - "primary", - "secondary", - "tertiary", - "quaternary", - "identical" + "skip", + "insert_zeros", + "keep_values" ] }, - "_types.analysis:IcuFoldingTokenFilter": { + "_types.aggregations:BucketPathAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.aggregations:Aggregation" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "icu_folding" - ] - }, - "unicode_set_filter": { - "type": "string" + "buckets_path": { + "$ref": "#/components/schemas/_types.aggregations:BucketsPath" } - }, - "required": [ - "type", - "unicode_set_filter" - ] + } } ] }, - "_types.analysis:IcuNormalizationTokenFilter": { + "_types.aggregations:BucketsPath": { + "description": "Buckets path can be expressed in different ways, and an aggregation may accept some or all of these\nforms depending on its type. Please refer to each aggregation's documentation to know what buckets\npath forms they accept.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + ] + }, + "_types.aggregations:BoxplotAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "icu_normalizer" - ] - }, - "name": { - "$ref": "#/components/schemas/_types.analysis:IcuNormalizationType" + "compression": { + "description": "Limits the maximum number of nodes used by the underlying TDigest algorithm to `20 * compression`, enabling control of memory usage and approximation error.", + "type": "number" } - }, - "required": [ - "type", - "name" - ] + } } ] }, - "_types.analysis:IcuTransformTokenFilter": { + "_types.aggregations:BucketScriptAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "icu_transform" - ] - }, - "dir": { - "$ref": "#/components/schemas/_types.analysis:IcuTransformDirection" - }, - "id": { - "type": "string" + "script": { + "$ref": "#/components/schemas/_types:Script" } - }, - "required": [ - "type", - "id" - ] + } } ] }, - "_types.analysis:IcuTransformDirection": { - "type": "string", - "enum": [ - "forward", - "reverse" + "_types.aggregations:BucketSelectorAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object", + "properties": { + "script": { + "$ref": "#/components/schemas/_types:Script" + } + } + } ] }, - "_types.analysis:PhoneticTokenFilter": { + "_types.aggregations:BucketSortAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + "$ref": "#/components/schemas/_types.aggregations:Aggregation" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "phonetic" - ] + "from": { + "description": "Buckets in positions prior to `from` will be truncated.", + "type": "number" }, - "encoder": { - "$ref": "#/components/schemas/_types.analysis:PhoneticEncoder" + "gap_policy": { + "$ref": "#/components/schemas/_types.aggregations:GapPolicy" }, - "languageset": { + "size": { + "description": "The number of buckets to return.\nDefaults to all buckets of the parent aggregation.", + "type": "number" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + } + } + } + ] + }, + "_types.aggregations:BucketKsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketPathAggregation" + }, + { + "type": "object", + "properties": { + "alternative": { + "description": "A list of string values indicating which K-S test alternative to calculate. The valid values\nare: \"greater\", \"less\", \"two_sided\". This parameter is key for determining the K-S statistic used\nwhen calculating the K-S test. Default value is all possible alternative hypotheses.", "type": "array", "items": { - "$ref": "#/components/schemas/_types.analysis:PhoneticLanguage" + "type": "string" } }, - "max_code_len": { - "type": "number" - }, - "name_type": { - "$ref": "#/components/schemas/_types.analysis:PhoneticNameType" - }, - "replace": { - "type": "boolean" + "fractions": { + "description": "A list of doubles indicating the distribution of the samples with which to compare to the `buckets_path` results.\nIn typical usage this is the overall proportion of documents in each bucket, which is compared with the actual\ndocument proportions in each bucket from the sibling aggregation counts. The default is to assume that overall\ndocuments are uniformly distributed on these buckets, which they would be if one used equal percentiles of a\nmetric to define the bucket end points.", + "type": "array", + "items": { + "type": "number" + } }, - "rule_type": { - "$ref": "#/components/schemas/_types.analysis:PhoneticRuleType" + "sampling_method": { + "description": "Indicates the sampling methodology when calculating the K-S test. Note, this is sampling of the returned values.\nThis determines the cumulative distribution function (CDF) points used comparing the two samples. Default is\n`upper_tail`, which emphasizes the upper end of the CDF points. Valid options are: `upper_tail`, `uniform`,\nand `lower_tail`.", + "type": "string" + } + } + } + ] + }, + "_types.aggregations:BucketCorrelationAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketPathAggregation" + }, + { + "type": "object", + "properties": { + "function": { + "$ref": "#/components/schemas/_types.aggregations:BucketCorrelationFunction" } }, "required": [ - "type", - "encoder", - "languageset", - "name_type", - "rule_type" + "function" ] } ] }, - "_types.analysis:PhoneticEncoder": { - "type": "string", - "enum": [ - "metaphone", - "double_metaphone", - "soundex", - "refined_soundex", - "caverphone1", - "caverphone2", - "cologne", - "nysiis", - "koelnerphonetik", - "haasephonetik", - "beider_morse", - "daitch_mokotoff" + "_types.aggregations:BucketCorrelationFunction": { + "type": "object", + "properties": { + "count_correlation": { + "$ref": "#/components/schemas/_types.aggregations:BucketCorrelationFunctionCountCorrelation" + } + }, + "required": [ + "count_correlation" ] }, - "_types.analysis:PhoneticLanguage": { - "type": "string", - "enum": [ - "any", - "common", - "cyrillic", - "english", - "french", - "german", - "hebrew", - "hungarian", - "polish", - "romanian", - "russian", - "spanish" + "_types.aggregations:BucketCorrelationFunctionCountCorrelation": { + "type": "object", + "properties": { + "indicator": { + "$ref": "#/components/schemas/_types.aggregations:BucketCorrelationFunctionCountCorrelationIndicator" + } + }, + "required": [ + "indicator" ] }, - "_types.analysis:PhoneticNameType": { - "type": "string", - "enum": [ - "generic", - "ashkenazi", - "sephardic" + "_types.aggregations:BucketCorrelationFunctionCountCorrelationIndicator": { + "type": "object", + "properties": { + "doc_count": { + "description": "The total number of documents that initially created the expectations. It’s required to be greater\nthan or equal to the sum of all values in the buckets_path as this is the originating superset of data\nto which the term values are correlated.", + "type": "number" + }, + "expectations": { + "description": "An array of numbers with which to correlate the configured `bucket_path` values.\nThe length of this value must always equal the number of buckets returned by the `bucket_path`.", + "type": "array", + "items": { + "type": "number" + } + }, + "fractions": { + "description": "An array of fractions to use when averaging and calculating variance. This should be used if\nthe pre-calculated data and the buckets_path have known gaps. The length of fractions, if provided,\nmust equal expectations.", + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "doc_count", + "expectations" ] }, - "_types.analysis:PhoneticRuleType": { + "_types.aggregations:CardinalityAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "precision_threshold": { + "description": "A unique count below which counts are expected to be close to accurate.\nThis allows to trade memory for accuracy.", + "type": "number" + }, + "rehash": { + "type": "boolean" + }, + "execution_hint": { + "$ref": "#/components/schemas/_types.aggregations:CardinalityExecutionMode" + } + } + } + ] + }, + "_types.aggregations:CardinalityExecutionMode": { "type": "string", "enum": [ - "approx", - "exact" + "global_ordinals", + "segment_ordinals", + "direct", + "save_memory_heuristic", + "save_time_heuristic" ] }, - "_types.analysis:DictionaryDecompounderTokenFilter": { + "_types.aggregations:CategorizeTextAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:CompoundWordTokenFilterBase" + "$ref": "#/components/schemas/_types.aggregations:Aggregation" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "dictionary_decompounder" - ] + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "max_unique_tokens": { + "description": "The maximum number of unique tokens at any position up to max_matched_tokens. Must be larger than 1.\nSmaller values use less memory and create fewer categories. Larger values will use more memory and\ncreate narrower categories. Max allowed value is 100.", + "type": "number" + }, + "max_matched_tokens": { + "description": "The maximum number of token positions to match on before attempting to merge categories. Larger\nvalues will use more memory and create narrower categories. Max allowed value is 100.", + "type": "number" + }, + "similarity_threshold": { + "description": "The minimum percentage of tokens that must match for text to be added to the category bucket. Must\nbe between 1 and 100. The larger the value the narrower the categories. Larger values will increase memory\nusage and create narrower categories.", + "type": "number" + }, + "categorization_filters": { + "description": "This property expects an array of regular expressions. The expressions are used to filter out matching\nsequences from the categorization field values. You can use this functionality to fine tune the categorization\nby excluding sequences from consideration when categories are defined. For example, you can exclude SQL\nstatements that appear in your log files. This property cannot be used at the same time as categorization_analyzer.\nIf you only want to define simple regular expression filters that are applied prior to tokenization, setting\nthis property is the easiest method. If you also want to customize the tokenizer or post-tokenization filtering,\nuse the categorization_analyzer property instead and include the filters as pattern_replace character filters.", + "type": "array", + "items": { + "type": "string" + } + }, + "categorization_analyzer": { + "$ref": "#/components/schemas/_types.aggregations:CategorizeTextAnalyzer" + }, + "shard_size": { + "description": "The number of categorization buckets to return from each shard before merging all the results.", + "type": "number" + }, + "size": { + "description": "The number of buckets to return.", + "type": "number" + }, + "min_doc_count": { + "description": "The minimum number of documents in a bucket to be returned to the results.", + "type": "number" + }, + "shard_min_doc_count": { + "description": "The minimum number of documents in a bucket to be returned from the shard before merging.", + "type": "number" } }, "required": [ - "type" + "field" ] } ] }, - "_types.analysis:Normalizer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-normalizers.html" - }, - "discriminator": { - "propertyName": "type" - }, + "_types.aggregations:CategorizeTextAnalyzer": { "oneOf": [ { - "$ref": "#/components/schemas/_types.analysis:LowercaseNormalizer" + "type": "string" }, { - "$ref": "#/components/schemas/_types.analysis:CustomNormalizer" - } - ] - }, - "_types.analysis:LowercaseNormalizer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "lowercase" - ] + "$ref": "#/components/schemas/_types.aggregations:CustomCategorizeTextAnalyzer" } - }, - "required": [ - "type" ] }, - "_types.analysis:CustomNormalizer": { + "_types.aggregations:CustomCategorizeTextAnalyzer": { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "custom" - ] - }, "char_filter": { "type": "array", "items": { "type": "string" } }, + "tokenizer": { + "type": "string" + }, "filter": { "type": "array", "items": { "type": "string" } } - }, - "required": [ - "type" - ] + } }, - "_types.analysis:Tokenizer": { - "oneOf": [ + "_types.aggregations:ChildrenAggregation": { + "allOf": [ { - "type": "string" + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" }, { - "$ref": "#/components/schemas/_types.analysis:TokenizerDefinition" + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/_types:RelationName" + } + } } ] }, - "_types.analysis:TokenizerDefinition": { - "discriminator": { - "propertyName": "type" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/_types.analysis:CharGroupTokenizer" - }, - { - "$ref": "#/components/schemas/_types.analysis:EdgeNGramTokenizer" - }, - { - "$ref": "#/components/schemas/_types.analysis:KeywordTokenizer" - }, + "_types.aggregations:CompositeAggregation": { + "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:LetterTokenizer" + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" }, { - "$ref": "#/components/schemas/_types.analysis:LowercaseTokenizer" + "type": "object", + "properties": { + "after": { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregateKey" + }, + "size": { + "description": "The number of composite buckets that should be returned.", + "type": "number" + }, + "sources": { + "description": "The value sources used to build composite buckets.\nKeys are returned in the order of the `sources` definition.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationSource" + } + } + } + } + } + ] + }, + "_types.aggregations:CompositeAggregationSource": { + "type": "object", + "properties": { + "terms": { + "$ref": "#/components/schemas/_types.aggregations:CompositeTermsAggregation" }, - { - "$ref": "#/components/schemas/_types.analysis:NGramTokenizer" + "histogram": { + "$ref": "#/components/schemas/_types.aggregations:CompositeHistogramAggregation" }, - { - "$ref": "#/components/schemas/_types.analysis:NoriTokenizer" + "date_histogram": { + "$ref": "#/components/schemas/_types.aggregations:CompositeDateHistogramAggregation" }, + "geotile_grid": { + "$ref": "#/components/schemas/_types.aggregations:CompositeGeoTileGridAggregation" + } + } + }, + "_types.aggregations:CompositeTermsAggregation": { + "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:PathHierarchyTokenizer" + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationBase" }, { - "$ref": "#/components/schemas/_types.analysis:StandardTokenizer" + "type": "object" + } + ] + }, + "_types.aggregations:CompositeAggregationBase": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" }, - { - "$ref": "#/components/schemas/_types.analysis:UaxEmailUrlTokenizer" + "missing_bucket": { + "type": "boolean" }, - { - "$ref": "#/components/schemas/_types.analysis:WhitespaceTokenizer" + "missing_order": { + "$ref": "#/components/schemas/_types.aggregations:MissingOrder" }, - { - "$ref": "#/components/schemas/_types.analysis:KuromojiTokenizer" + "script": { + "$ref": "#/components/schemas/_types:Script" }, - { - "$ref": "#/components/schemas/_types.analysis:PatternTokenizer" + "value_type": { + "$ref": "#/components/schemas/_types.aggregations:ValueType" }, - { - "$ref": "#/components/schemas/_types.analysis:IcuTokenizer" + "order": { + "$ref": "#/components/schemas/_types:SortOrder" } + } + }, + "_types.aggregations:MissingOrder": { + "type": "string", + "enum": [ + "first", + "last", + "default" ] }, - "_types.analysis:CharGroupTokenizer": { + "_types.aggregations:ValueType": { + "type": "string", + "enum": [ + "string", + "long", + "double", + "number", + "date", + "date_nanos", + "ip", + "numeric", + "geo_point", + "boolean" + ] + }, + "_types.aggregations:CompositeHistogramAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "char_group" - ] - }, - "tokenize_on_chars": { - "type": "array", - "items": { - "type": "string" - } - }, - "max_token_length": { + "interval": { "type": "number" } }, "required": [ - "type", - "tokenize_on_chars" + "interval" ] } ] }, - "_types.analysis:EdgeNGramTokenizer": { + "_types.aggregations:CompositeDateHistogramAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "edge_ngram" - ] - }, - "custom_token_chars": { + "format": { "type": "string" }, - "max_gram": { - "type": "number" + "calendar_interval": { + "$ref": "#/components/schemas/_types:DurationLarge" }, - "min_gram": { - "type": "number" + "fixed_interval": { + "$ref": "#/components/schemas/_types:DurationLarge" }, - "token_chars": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.analysis:TokenChar" - } + "offset": { + "$ref": "#/components/schemas/_types:Duration" + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" } - }, - "required": [ - "type", - "max_gram", - "min_gram", - "token_chars" - ] + } } ] }, - "_types.analysis:TokenChar": { - "type": "string", - "enum": [ - "letter", - "digit", - "whitespace", - "punctuation", - "symbol", - "custom" - ] - }, - "_types.analysis:KeywordTokenizer": { + "_types.aggregations:CompositeGeoTileGridAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "keyword" - ] - }, - "buffer_size": { + "precision": { "type": "number" + }, + "bounds": { + "$ref": "#/components/schemas/_types:GeoBounds" } - }, - "required": [ - "type", - "buffer_size" - ] + } } ] }, - "_types.analysis:LetterTokenizer": { + "_types.aggregations:CumulativeCardinalityAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "letter" - ] - } - }, - "required": [ - "type" - ] + "type": "object" } ] }, - "_types.analysis:LowercaseTokenizer": { + "_types.aggregations:CumulativeSumAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "lowercase" - ] - } - }, - "required": [ - "type" - ] + "type": "object" } ] }, - "_types.analysis:NGramTokenizer": { + "_types.aggregations:DateHistogramAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "ngram" - ] + "calendar_interval": { + "$ref": "#/components/schemas/_types.aggregations:CalendarInterval" }, - "custom_token_chars": { + "extended_bounds": { + "$ref": "#/components/schemas/_types.aggregations:ExtendedBoundsFieldDateMath" + }, + "hard_bounds": { + "$ref": "#/components/schemas/_types.aggregations:ExtendedBoundsFieldDateMath" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "fixed_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "format": { + "description": "The date format used to format `key_as_string` in the response.\nIf no `format` is specified, the first date format specified in the field mapping is used.", "type": "string" }, - "max_gram": { - "type": "number" + "interval": { + "$ref": "#/components/schemas/_types:Duration" }, - "min_gram": { + "min_doc_count": { + "description": "Only returns buckets that have `min_doc_count` number of documents.\nBy default, all buckets between the first bucket that matches documents and the last one are returned.", "type": "number" }, - "token_chars": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.analysis:TokenChar" - } - } - }, - "required": [ - "type", - "max_gram", - "min_gram", - "token_chars" - ] - } - ] - }, - "_types.analysis:NoriTokenizer": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "nori_tokenizer" - ] - }, - "decompound_mode": { - "$ref": "#/components/schemas/_types.analysis:NoriDecompoundMode" + "missing": { + "$ref": "#/components/schemas/_types:DateTime" }, - "discard_punctuation": { - "type": "boolean" + "offset": { + "$ref": "#/components/schemas/_types:Duration" }, - "user_dictionary": { - "type": "string" + "order": { + "$ref": "#/components/schemas/_types.aggregations:AggregateOrder" }, - "user_dictionary_rules": { - "type": "array", - "items": { - "type": "string" + "params": { + "type": "object", + "additionalProperties": { + "type": "object" } + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" + }, + "keyed": { + "description": "Set to `true` to associate a unique string key with each bucket and return the ranges as a hash rather than an array.", + "type": "boolean" } - }, - "required": [ - "type" - ] + } } ] }, - "_types.analysis:PathHierarchyTokenizer": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + "_types.aggregations:CalendarInterval": { + "type": "string", + "enum": [ + "second", + "minute", + "hour", + "day", + "week", + "month", + "quarter", + "year" + ] + }, + "_types.aggregations:ExtendedBoundsFieldDateMath": { + "type": "object", + "properties": { + "max": { + "$ref": "#/components/schemas/_types.aggregations:FieldDateMath" }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "path_hierarchy" - ] - }, - "buffer_size": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" - }, - "delimiter": { - "type": "string" - }, - "replacement": { - "type": "string" - }, - "reverse": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" - }, - "skip": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" - } - }, - "required": [ - "type", - "buffer_size", - "delimiter", - "replacement", - "reverse", - "skip" - ] + "min": { + "$ref": "#/components/schemas/_types.aggregations:FieldDateMath" + } + }, + "required": [ + "max", + "min" + ] + }, + "_types.aggregations:FieldDateMath": { + "description": "A date range limit, represented either as a DateMath expression or a number expressed\naccording to the target field's precision.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:DateMath" + }, + { + "type": "number" } ] }, - "_types.analysis:StandardTokenizer": { - "allOf": [ + "_types.aggregations:AggregateOrder": { + "oneOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:SortOrder" + }, + "minProperties": 1, + "maxProperties": 1 }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "standard" - ] + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:SortOrder" }, - "max_token_length": { - "type": "number" - } - }, - "required": [ - "type" - ] + "minProperties": 1, + "maxProperties": 1 + } } ] }, - "_types.analysis:UaxEmailUrlTokenizer": { + "_types.aggregations:DateRangeAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "uax_url_email" - ] + "field": { + "$ref": "#/components/schemas/_types:Field" }, - "max_token_length": { - "type": "number" + "format": { + "description": "The date format used to format `from` and `to` in the response.", + "type": "string" + }, + "missing": { + "$ref": "#/components/schemas/_types.aggregations:Missing" + }, + "ranges": { + "description": "Array of date ranges.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:DateRangeExpression" + } + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" + }, + "keyed": { + "description": "Set to `true` to associate a unique string key with each bucket and returns the ranges as a hash rather than an array.", + "type": "boolean" } - }, - "required": [ - "type" - ] + } } ] }, - "_types.analysis:WhitespaceTokenizer": { + "_types.aggregations:DateRangeExpression": { + "type": "object", + "properties": { + "from": { + "$ref": "#/components/schemas/_types.aggregations:FieldDateMath" + }, + "key": { + "description": "Custom key to return the range with.", + "type": "string" + }, + "to": { + "$ref": "#/components/schemas/_types.aggregations:FieldDateMath" + } + } + }, + "_types.aggregations:DerivativeAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "whitespace" - ] - }, - "max_token_length": { - "type": "number" - } - }, - "required": [ - "type" - ] + "type": "object" } ] }, - "_types.analysis:KuromojiTokenizer": { + "_types.aggregations:DiversifiedSamplerAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "kuromoji_tokenizer" - ] - }, - "discard_punctuation": { - "type": "boolean" - }, - "mode": { - "$ref": "#/components/schemas/_types.analysis:KuromojiTokenizationMode" + "execution_hint": { + "$ref": "#/components/schemas/_types.aggregations:SamplerAggregationExecutionHint" }, - "nbest_cost": { + "max_docs_per_value": { + "description": "Limits how many documents are permitted per choice of de-duplicating value.", "type": "number" }, - "nbest_examples": { - "type": "string" - }, - "user_dictionary": { - "type": "string" + "script": { + "$ref": "#/components/schemas/_types:Script" }, - "user_dictionary_rules": { - "type": "array", - "items": { - "type": "string" - } + "shard_size": { + "description": "Limits how many top-scoring documents are collected in the sample processed on each shard.", + "type": "number" }, - "discard_compound_token": { - "type": "boolean" + "field": { + "$ref": "#/components/schemas/_types:Field" } - }, - "required": [ - "type", - "mode" - ] + } } ] }, - "_types.analysis:PatternTokenizer": { + "_types.aggregations:SamplerAggregationExecutionHint": { + "type": "string", + "enum": [ + "map", + "global_ordinals", + "bytes_hash" + ] + }, + "_types.aggregations:ExtendedStatsAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "pattern" - ] - }, - "flags": { - "type": "string" - }, - "group": { + "sigma": { + "description": "The number of standard deviations above/below the mean to display.", "type": "number" - }, - "pattern": { - "type": "string" } - }, - "required": [ - "type" - ] + } } ] }, - "indices._types:IndexSettingsTimeSeries": { - "type": "object", - "properties": { - "end_time": { - "$ref": "#/components/schemas/_types:DateTime" + "_types.aggregations:ExtendedStatsBucketAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" }, - "start_time": { - "$ref": "#/components/schemas/_types:DateTime" - } - } - }, - "indices._types:Queries": { - "type": "object", - "properties": { - "cache": { - "$ref": "#/components/schemas/indices._types:CacheQueries" - } - } - }, - "indices._types:CacheQueries": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" + { + "type": "object", + "properties": { + "sigma": { + "description": "The number of standard deviations above/below the mean to display.", + "type": "number" + } + } } - }, - "required": [ - "enabled" ] }, - "indices._types:SettingsSimilarity": { + "_types.aggregations:FrequentItemSetsAggregation": { "type": "object", "properties": { - "bm25": { - "$ref": "#/components/schemas/indices._types:SettingsSimilarityBm25" - }, - "dfi": { - "$ref": "#/components/schemas/indices._types:SettingsSimilarityDfi" - }, - "dfr": { - "$ref": "#/components/schemas/indices._types:SettingsSimilarityDfr" - }, - "ib": { - "$ref": "#/components/schemas/indices._types:SettingsSimilarityIb" - }, - "lmd": { - "$ref": "#/components/schemas/indices._types:SettingsSimilarityLmd" - }, - "lmj": { - "$ref": "#/components/schemas/indices._types:SettingsSimilarityLmj" + "fields": { + "description": "Fields to analyze.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsField" + } }, - "scripted_tfidf": { - "$ref": "#/components/schemas/indices._types:SettingsSimilarityScriptedTfidf" - } - } - }, - "indices._types:SettingsSimilarityBm25": { - "type": "object", - "properties": { - "b": { + "minimum_set_size": { + "description": "The minimum size of one item set.", "type": "number" }, - "discount_overlaps": { - "type": "boolean" + "minimum_support": { + "description": "The minimum support of one item set.", + "type": "number" }, - "k1": { + "size": { + "description": "The number of top item sets to return.", "type": "number" }, - "type": { - "type": "string", - "enum": [ - "BM25" - ] + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" } }, "required": [ - "b", - "discount_overlaps", - "k1", - "type" + "fields" ] }, - "indices._types:SettingsSimilarityDfi": { + "_types.aggregations:FrequentItemSetsField": { "type": "object", "properties": { - "independence_measure": { - "$ref": "#/components/schemas/_types:DFIIndependenceMeasure" + "field": { + "$ref": "#/components/schemas/_types:Field" }, - "type": { - "type": "string", - "enum": [ - "DFI" + "exclude": { + "description": "Values to exclude.\nCan be regular expression strings or arrays of strings of exact terms.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } ] - } - }, - "required": [ - "independence_measure", - "type" - ] - }, - "_types:DFIIndependenceMeasure": { - "type": "string", - "enum": [ - "standardized", - "saturated", - "chisquared" - ] - }, - "indices._types:SettingsSimilarityDfr": { - "type": "object", - "properties": { - "after_effect": { - "$ref": "#/components/schemas/_types:DFRAfterEffect" - }, - "basic_model": { - "$ref": "#/components/schemas/_types:DFRBasicModel" }, - "normalization": { - "$ref": "#/components/schemas/_types:Normalization" - }, - "type": { - "type": "string", - "enum": [ - "DFR" + "include": { + "description": "Values to include.\nCan be regular expression strings or arrays of strings of exact terms.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } ] } }, "required": [ - "after_effect", - "basic_model", - "normalization", - "type" - ] - }, - "_types:DFRAfterEffect": { - "type": "string", - "enum": [ - "no", - "b", - "l" - ] - }, - "_types:DFRBasicModel": { - "type": "string", - "enum": [ - "be", - "d", - "g", - "if", - "in", - "ine", - "p" + "field" ] }, - "_types:Normalization": { - "type": "string", - "enum": [ - "no", - "h1", - "h2", - "h3", - "z" + "_types.aggregations:FiltersAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "filters": { + "$ref": "#/components/schemas/_types.aggregations:BucketsQueryContainer" + }, + "other_bucket": { + "description": "Set to `true` to add a bucket to the response which will contain all documents that do not match any of the given filters.", + "type": "boolean" + }, + "other_bucket_key": { + "description": "The key with which the other bucket is returned.", + "type": "string" + }, + "keyed": { + "description": "By default, the named filters aggregation returns the buckets as an object.\nSet to `false` to return the buckets as an array of objects.", + "type": "boolean" + } + } + } ] }, - "indices._types:SettingsSimilarityIb": { - "type": "object", - "properties": { - "distribution": { - "$ref": "#/components/schemas/_types:IBDistribution" - }, - "lambda": { - "$ref": "#/components/schemas/_types:IBLambda" - }, - "normalization": { - "$ref": "#/components/schemas/_types:Normalization" + "_types.aggregations:BucketsQueryContainer": { + "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } }, - "type": { - "type": "string", - "enum": [ - "IB" - ] + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } } - }, - "required": [ - "distribution", - "lambda", - "normalization", - "type" ] }, - "_types:IBDistribution": { - "type": "string", - "enum": [ - "ll", - "spl" + "_types.aggregations:GeoBoundsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "wrap_longitude": { + "description": "Specifies whether the bounding box should be allowed to overlap the international date line.", + "type": "boolean" + } + } + } ] }, - "_types:IBLambda": { - "type": "string", - "enum": [ - "df", - "ttf" + "_types.aggregations:GeoCentroidAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "count": { + "type": "number" + }, + "location": { + "$ref": "#/components/schemas/_types:GeoLocation" + } + } + } ] }, - "indices._types:SettingsSimilarityLmd": { - "type": "object", - "properties": { - "mu": { - "type": "number" + "_types.aggregations:GeoDistanceAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" }, - "type": { - "type": "string", - "enum": [ - "LMDirichlet" - ] + { + "type": "object", + "properties": { + "distance_type": { + "$ref": "#/components/schemas/_types:GeoDistanceType" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "origin": { + "$ref": "#/components/schemas/_types:GeoLocation" + }, + "ranges": { + "description": "An array of ranges used to bucket documents.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:AggregationRange" + } + }, + "unit": { + "$ref": "#/components/schemas/_types:DistanceUnit" + } + } } - }, - "required": [ - "mu", - "type" ] }, - "indices._types:SettingsSimilarityLmj": { + "_types.aggregations:AggregationRange": { "type": "object", "properties": { - "lambda": { - "type": "number" + "from": { + "description": "Start of the range (inclusive).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] }, - "type": { - "type": "string", - "enum": [ - "LMJelinekMercer" + "key": { + "description": "Custom key to return the range with.", + "type": "string" + }, + "to": { + "description": "End of the range (exclusive).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } ] } - }, - "required": [ - "lambda", - "type" + } + }, + "_types.aggregations:GeoHashGridAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "bounds": { + "$ref": "#/components/schemas/_types:GeoBounds" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "precision": { + "$ref": "#/components/schemas/_types:GeoHashPrecision" + }, + "shard_size": { + "description": "Allows for more accurate counting of the top cells returned in the final result the aggregation.\nDefaults to returning `max(10,(size x number-of-shards))` buckets from each shard.", + "type": "number" + }, + "size": { + "description": "The maximum number of geohash buckets to return.", + "type": "number" + } + } + } ] }, - "indices._types:SettingsSimilarityScriptedTfidf": { - "type": "object", - "properties": { - "script": { - "$ref": "#/components/schemas/_types:Script" + "_types:GeoHashPrecision": { + "description": "A precision that can be expressed as a geohash length between 1 and 12, or a distance measure like \"1km\", \"10m\".", + "oneOf": [ + { + "type": "number" }, - "type": { - "type": "string", - "enum": [ - "scripted" - ] + { + "type": "string" } - }, - "required": [ - "script", - "type" ] }, - "indices._types:MappingLimitSettings": { + "_types.aggregations:GeoLineAggregation": { "type": "object", "properties": { - "coerce": { - "type": "boolean" - }, - "total_fields": { - "$ref": "#/components/schemas/indices._types:MappingLimitSettingsTotalFields" - }, - "depth": { - "$ref": "#/components/schemas/indices._types:MappingLimitSettingsDepth" - }, - "nested_fields": { - "$ref": "#/components/schemas/indices._types:MappingLimitSettingsNestedFields" + "point": { + "$ref": "#/components/schemas/_types.aggregations:GeoLinePoint" }, - "nested_objects": { - "$ref": "#/components/schemas/indices._types:MappingLimitSettingsNestedObjects" + "sort": { + "$ref": "#/components/schemas/_types.aggregations:GeoLineSort" }, - "field_name_length": { - "$ref": "#/components/schemas/indices._types:MappingLimitSettingsFieldNameLength" + "include_sort": { + "description": "When `true`, returns an additional array of the sort values in the feature properties.", + "type": "boolean" }, - "dimension_fields": { - "$ref": "#/components/schemas/indices._types:MappingLimitSettingsDimensionFields" + "sort_order": { + "$ref": "#/components/schemas/_types:SortOrder" }, - "ignore_malformed": { - "type": "boolean" - } - } - }, - "indices._types:MappingLimitSettingsTotalFields": { - "type": "object", - "properties": { - "limit": { - "description": "The maximum number of fields in an index. Field and object mappings, as well as field aliases count towards this limit.\nThe limit is in place to prevent mappings and searches from becoming too large. Higher values can lead to performance\ndegradations and memory issues, especially in clusters with a high load or few resources.", - "type": "number" - } - } - }, - "indices._types:MappingLimitSettingsDepth": { - "type": "object", - "properties": { - "limit": { - "description": "The maximum depth for a field, which is measured as the number of inner objects. For instance, if all fields are defined\nat the root object level, then the depth is 1. If there is one object mapping, then the depth is 2, etc.", + "size": { + "description": "The maximum length of the line represented in the aggregation.\nValid sizes are between 1 and 10000.", "type": "number" } - } + }, + "required": [ + "point", + "sort" + ] }, - "indices._types:MappingLimitSettingsNestedFields": { + "_types.aggregations:GeoLinePoint": { "type": "object", "properties": { - "limit": { - "description": "The maximum number of distinct nested mappings in an index. The nested type should only be used in special cases, when\narrays of objects need to be queried independently of each other. To safeguard against poorly designed mappings, this\nsetting limits the number of unique nested types per index.", - "type": "number" + "field": { + "$ref": "#/components/schemas/_types:Field" } - } + }, + "required": [ + "field" + ] }, - "indices._types:MappingLimitSettingsNestedObjects": { + "_types.aggregations:GeoLineSort": { "type": "object", "properties": { - "limit": { - "description": "The maximum number of nested JSON objects that a single document can contain across all nested types. This limit helps\nto prevent out of memory errors when a document contains too many nested objects.", - "type": "number" + "field": { + "$ref": "#/components/schemas/_types:Field" } - } + }, + "required": [ + "field" + ] }, - "indices._types:MappingLimitSettingsFieldNameLength": { - "type": "object", - "properties": { - "limit": { - "description": "Setting for the maximum length of a field name. This setting isn’t really something that addresses mappings explosion but\nmight still be useful if you want to limit the field length. It usually shouldn’t be necessary to set this setting. The\ndefault is okay unless a user starts to add a huge number of fields with really long names. Default is `Long.MAX_VALUE` (no limit).", - "type": "number" + "_types.aggregations:GeoTileGridAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "precision": { + "$ref": "#/components/schemas/_types:GeoTilePrecision" + }, + "shard_size": { + "description": "Allows for more accurate counting of the top cells returned in the final result the aggregation.\nDefaults to returning `max(10,(size x number-of-shards))` buckets from each shard.", + "type": "number" + }, + "size": { + "description": "The maximum number of buckets to return.", + "type": "number" + }, + "bounds": { + "$ref": "#/components/schemas/_types:GeoBounds" + } + } } - } + ] }, - "indices._types:MappingLimitSettingsDimensionFields": { - "type": "object", - "properties": { - "limit": { - "description": "[preview] This functionality is in technical preview and may be changed or removed in a future release. Elastic will\napply best effort to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.", - "type": "number" - } - } + "_types:GeoTilePrecision": { + "type": "number" }, - "indices._types:IndexingSlowlogSettings": { - "type": "object", - "properties": { - "level": { - "type": "string" - }, - "source": { - "type": "number" - }, - "reformat": { - "type": "boolean" + "_types.aggregations:GeohexGridAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" }, - "threshold": { - "$ref": "#/components/schemas/indices._types:IndexingSlowlogTresholds" + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "precision": { + "description": "Integer zoom of the key used to defined cells or buckets\nin the results. Value should be between 0-15.", + "type": "number" + }, + "bounds": { + "$ref": "#/components/schemas/_types:GeoBounds" + }, + "size": { + "description": "Maximum number of buckets to return.", + "type": "number" + }, + "shard_size": { + "description": "Number of buckets returned from each shard.", + "type": "number" + } + }, + "required": [ + "field" + ] } - } + ] }, - "indices._types:IndexingSlowlogTresholds": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/indices._types:SlowlogTresholdLevels" + "_types.aggregations:GlobalAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object" } - } + ] }, - "indices._types:IndexingPressure": { - "type": "object", - "properties": { - "memory": { - "$ref": "#/components/schemas/indices._types:IndexingPressureMemory" + "_types.aggregations:HistogramAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "extended_bounds": { + "$ref": "#/components/schemas/_types.aggregations:ExtendedBoundsdouble" + }, + "hard_bounds": { + "$ref": "#/components/schemas/_types.aggregations:ExtendedBoundsdouble" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "interval": { + "description": "The interval for the buckets.\nMust be a positive decimal.", + "type": "number" + }, + "min_doc_count": { + "description": "Only returns buckets that have `min_doc_count` number of documents.\nBy default, the response will fill gaps in the histogram with empty buckets.", + "type": "number" + }, + "missing": { + "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", + "type": "number" + }, + "offset": { + "description": "By default, the bucket keys start with 0 and then continue in even spaced steps of `interval`.\nThe bucket boundaries can be shifted by using the `offset` option.", + "type": "number" + }, + "order": { + "$ref": "#/components/schemas/_types.aggregations:AggregateOrder" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "format": { + "type": "string" + }, + "keyed": { + "description": "If `true`, returns buckets as a hash instead of an array, keyed by the bucket keys.", + "type": "boolean" + } + } } - }, - "required": [ - "memory" ] }, - "indices._types:IndexingPressureMemory": { + "_types.aggregations:ExtendedBoundsdouble": { "type": "object", "properties": { - "limit": { - "description": "Number of outstanding bytes that may be consumed by indexing requests. When this limit is reached or exceeded,\nthe node will reject new coordinating and primary operations. When replica operations consume 1.5x this limit,\nthe node will reject new replica operations. Defaults to 10% of the heap.", + "max": { + "description": "Maximum value for the bound.", "type": "number" - } - } - }, - "indices._types:Storage": { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/indices._types:StorageType" }, - "allow_mmap": { - "description": "You can restrict the use of the mmapfs and the related hybridfs store type via the setting node.store.allow_mmap.\nThis is a boolean setting indicating whether or not memory-mapping is allowed. The default is to allow it. This\nsetting is useful, for example, if you are in an environment where you can not control the ability to create a lot\nof memory maps so you need disable the ability to use memory-mapping.", - "type": "boolean" + "min": { + "description": "Minimum value for the bound.", + "type": "number" } }, "required": [ - "type" + "max", + "min" ] }, - "indices._types:StorageType": { - "type": "string", - "enum": [ - "fs", - "niofs", - "mmapfs", - "hybridfs" + "_types.aggregations:IpRangeAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ranges": { + "description": "Array of IP ranges.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:IpRangeAggregationRange" + } + } + } + } ] }, - "_types.mapping:TypeMapping": { + "_types.aggregations:IpRangeAggregationRange": { "type": "object", "properties": { - "all_field": { - "$ref": "#/components/schemas/_types.mapping:AllField" - }, - "date_detection": { - "type": "boolean" - }, - "dynamic": { - "$ref": "#/components/schemas/_types.mapping:DynamicMapping" - }, - "dynamic_date_formats": { - "type": "array", - "items": { - "type": "string" - } - }, - "dynamic_templates": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.mapping:DynamicTemplate" + "from": { + "description": "Start of the range.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" } - } - }, - "_field_names": { - "$ref": "#/components/schemas/_types.mapping:FieldNamesField" - }, - "index_field": { - "$ref": "#/components/schemas/_types.mapping:IndexField" - }, - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "numeric_detection": { - "type": "boolean" - }, - "properties": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.mapping:Property" - } - }, - "_routing": { - "$ref": "#/components/schemas/_types.mapping:RoutingField" + ] }, - "_size": { - "$ref": "#/components/schemas/_types.mapping:SizeField" + "mask": { + "description": "IP range defined as a CIDR mask.", + "type": "string" }, - "_source": { - "$ref": "#/components/schemas/_types.mapping:SourceField" + "to": { + "description": "End of the range.", + "oneOf": [ + { + "type": "string" + }, + { + "nullable": true, + "type": "string" + } + ] + } + } + }, + "_types.aggregations:IpPrefixAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" }, - "runtime": { + { "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.mapping:RuntimeField" - } - }, - "enabled": { - "type": "boolean" + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "prefix_length": { + "description": "Length of the network prefix. For IPv4 addresses the accepted range is [0, 32].\nFor IPv6 addresses the accepted range is [0, 128].", + "type": "number" + }, + "is_ipv6": { + "description": "Defines whether the prefix applies to IPv6 addresses.", + "type": "boolean" + }, + "append_prefix_length": { + "description": "Defines whether the prefix length is appended to IP address keys in the response.", + "type": "boolean" + }, + "keyed": { + "description": "Defines whether buckets are returned as a hash rather than an array in the response.", + "type": "boolean" + }, + "min_doc_count": { + "description": "Minimum number of documents in a bucket for it to be included in the response.", + "type": "number" + } + }, + "required": [ + "field", + "prefix_length" + ] + } + ] + }, + "_types.aggregations:InferenceAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" }, - "_data_stream_timestamp": { - "$ref": "#/components/schemas/_types.mapping:DataStreamTimestamp" + { + "type": "object", + "properties": { + "model_id": { + "$ref": "#/components/schemas/_types:Name" + }, + "inference_config": { + "$ref": "#/components/schemas/_types.aggregations:InferenceConfigContainer" + } + }, + "required": [ + "model_id" + ] } - } + ] }, - "_types.mapping:AllField": { + "_types.aggregations:InferenceConfigContainer": { "type": "object", "properties": { - "analyzer": { - "type": "string" - }, - "enabled": { - "type": "boolean" - }, - "omit_norms": { - "type": "boolean" - }, - "search_analyzer": { - "type": "string" - }, - "similarity": { - "type": "string" - }, - "store": { - "type": "boolean" - }, - "store_term_vector_offsets": { - "type": "boolean" - }, - "store_term_vector_payloads": { - "type": "boolean" - }, - "store_term_vector_positions": { - "type": "boolean" + "regression": { + "$ref": "#/components/schemas/ml._types:RegressionInferenceOptions" }, - "store_term_vectors": { - "type": "boolean" + "classification": { + "$ref": "#/components/schemas/ml._types:ClassificationInferenceOptions" } }, - "required": [ - "analyzer", - "enabled", - "omit_norms", - "search_analyzer", - "similarity", - "store", - "store_term_vector_offsets", - "store_term_vector_payloads", - "store_term_vector_positions", - "store_term_vectors" - ] - }, - "_types.mapping:DynamicMapping": { - "type": "string", - "enum": [ - "strict", - "runtime", - "true", - "false" - ] + "minProperties": 1, + "maxProperties": 1 }, - "_types.mapping:DynamicTemplate": { + "ml._types:RegressionInferenceOptions": { "type": "object", "properties": { - "mapping": { - "$ref": "#/components/schemas/_types.mapping:Property" - }, - "match": { - "type": "string" + "results_field": { + "$ref": "#/components/schemas/_types:Field" }, - "match_mapping_type": { - "type": "string" + "num_top_feature_importance_values": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-feature-importance.html" + }, + "description": "Specifies the maximum number of feature importance values per document.", + "type": "number" + } + } + }, + "ml._types:ClassificationInferenceOptions": { + "type": "object", + "properties": { + "num_top_classes": { + "description": "Specifies the number of top class predictions to return. Defaults to 0.", + "type": "number" }, - "match_pattern": { - "$ref": "#/components/schemas/_types.mapping:MatchType" + "num_top_feature_importance_values": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-feature-importance.html" + }, + "description": "Specifies the maximum number of feature importance values per document.", + "type": "number" }, - "path_match": { + "prediction_field_type": { + "description": "Specifies the type of the predicted field to write. Acceptable values are: string, number, boolean. When boolean is provided 1.0 is transformed to true and 0.0 to false.", "type": "string" }, - "path_unmatch": { + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "type": "string" }, - "unmatch": { + "top_classes_results_field": { + "description": "Specifies the field to which the top classes are written. Defaults to top_classes.", "type": "string" } } }, - "_types.mapping:Property": { - "discriminator": { - "propertyName": "type" - }, - "oneOf": [ + "_types.aggregations:MatrixStatsAggregation": { + "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:BinaryProperty" + "$ref": "#/components/schemas/_types.aggregations:MatrixAggregation" }, { - "$ref": "#/components/schemas/_types.mapping:BooleanProperty" - }, + "type": "object", + "properties": { + "mode": { + "$ref": "#/components/schemas/_types:SortMode" + } + } + } + ] + }, + "_types.aggregations:MatrixAggregation": { + "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:DynamicProperty" + "$ref": "#/components/schemas/_types.aggregations:Aggregation" }, { - "$ref": "#/components/schemas/_types.mapping:JoinProperty" - }, + "type": "object", + "properties": { + "fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "missing": { + "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", + "type": "object", + "additionalProperties": { + "type": "number" + } + } + } + } + ] + }, + "_types.aggregations:MaxAggregation": { + "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:KeywordProperty" + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" }, { - "$ref": "#/components/schemas/_types.mapping:MatchOnlyTextProperty" - }, + "type": "object" + } + ] + }, + "_types.aggregations:MaxBucketAggregation": { + "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:PercolatorProperty" + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" }, { - "$ref": "#/components/schemas/_types.mapping:RankFeatureProperty" - }, + "type": "object" + } + ] + }, + "_types.aggregations:MedianAbsoluteDeviationAggregation": { + "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:RankFeaturesProperty" + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" }, { - "$ref": "#/components/schemas/_types.mapping:SearchAsYouTypeProperty" - }, + "type": "object", + "properties": { + "compression": { + "description": "Limits the maximum number of nodes used by the underlying TDigest algorithm to `20 * compression`, enabling control of memory usage and approximation error.", + "type": "number" + } + } + } + ] + }, + "_types.aggregations:MinAggregation": { + "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:TextProperty" + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" }, { - "$ref": "#/components/schemas/_types.mapping:VersionProperty" - }, + "type": "object" + } + ] + }, + "_types.aggregations:MinBucketAggregation": { + "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:WildcardProperty" + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" }, { - "$ref": "#/components/schemas/_types.mapping:DateNanosProperty" - }, + "type": "object" + } + ] + }, + "_types.aggregations:MissingAggregation": { + "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:DateProperty" + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" }, { - "$ref": "#/components/schemas/_types.mapping:AggregateMetricDoubleProperty" - }, + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "missing": { + "$ref": "#/components/schemas/_types.aggregations:Missing" + } + } + } + ] + }, + "_types.aggregations:MovingAverageAggregation": { + "discriminator": { + "propertyName": "model" + }, + "oneOf": [ { - "$ref": "#/components/schemas/_types.mapping:DenseVectorProperty" + "$ref": "#/components/schemas/_types.aggregations:LinearMovingAverageAggregation" }, { - "$ref": "#/components/schemas/_types.mapping:FlattenedProperty" + "$ref": "#/components/schemas/_types.aggregations:SimpleMovingAverageAggregation" }, { - "$ref": "#/components/schemas/_types.mapping:NestedProperty" + "$ref": "#/components/schemas/_types.aggregations:EwmaMovingAverageAggregation" }, { - "$ref": "#/components/schemas/_types.mapping:ObjectProperty" + "$ref": "#/components/schemas/_types.aggregations:HoltMovingAverageAggregation" }, { - "$ref": "#/components/schemas/_types.mapping:CompletionProperty" - }, + "$ref": "#/components/schemas/_types.aggregations:HoltWintersMovingAverageAggregation" + } + ] + }, + "_types.aggregations:LinearMovingAverageAggregation": { + "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:ConstantKeywordProperty" + "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" }, { - "$ref": "#/components/schemas/_types.mapping:FieldAliasProperty" - }, + "type": "object", + "properties": { + "model": { + "type": "string", + "enum": [ + "linear" + ] + }, + "settings": { + "$ref": "#/components/schemas/_types:EmptyObject" + } + }, + "required": [ + "model", + "settings" + ] + } + ] + }, + "_types:EmptyObject": { + "type": "object" + }, + "_types.aggregations:MovingAverageAggregationBase": { + "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:HistogramProperty" + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" }, { - "$ref": "#/components/schemas/_types.mapping:IpProperty" - }, + "type": "object", + "properties": { + "minimize": { + "type": "boolean" + }, + "predict": { + "type": "number" + }, + "window": { + "type": "number" + } + } + } + ] + }, + "_types.aggregations:SimpleMovingAverageAggregation": { + "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:Murmur3HashProperty" + "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" }, { - "$ref": "#/components/schemas/_types.mapping:TokenCountProperty" - }, + "type": "object", + "properties": { + "model": { + "type": "string", + "enum": [ + "simple" + ] + }, + "settings": { + "$ref": "#/components/schemas/_types:EmptyObject" + } + }, + "required": [ + "model", + "settings" + ] + } + ] + }, + "_types.aggregations:EwmaMovingAverageAggregation": { + "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:GeoPointProperty" + "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" }, { - "$ref": "#/components/schemas/_types.mapping:GeoShapeProperty" - }, + "type": "object", + "properties": { + "model": { + "type": "string", + "enum": [ + "ewma" + ] + }, + "settings": { + "$ref": "#/components/schemas/_types.aggregations:EwmaModelSettings" + } + }, + "required": [ + "model", + "settings" + ] + } + ] + }, + "_types.aggregations:EwmaModelSettings": { + "type": "object", + "properties": { + "alpha": { + "type": "number" + } + } + }, + "_types.aggregations:HoltMovingAverageAggregation": { + "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:PointProperty" + "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" }, { - "$ref": "#/components/schemas/_types.mapping:ShapeProperty" + "type": "object", + "properties": { + "model": { + "type": "string", + "enum": [ + "holt" + ] + }, + "settings": { + "$ref": "#/components/schemas/_types.aggregations:HoltLinearModelSettings" + } + }, + "required": [ + "model", + "settings" + ] + } + ] + }, + "_types.aggregations:HoltLinearModelSettings": { + "type": "object", + "properties": { + "alpha": { + "type": "number" }, + "beta": { + "type": "number" + } + } + }, + "_types.aggregations:HoltWintersMovingAverageAggregation": { + "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:ByteNumberProperty" + "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" }, { - "$ref": "#/components/schemas/_types.mapping:DoubleNumberProperty" + "type": "object", + "properties": { + "model": { + "type": "string", + "enum": [ + "holt_winters" + ] + }, + "settings": { + "$ref": "#/components/schemas/_types.aggregations:HoltWintersModelSettings" + } + }, + "required": [ + "model", + "settings" + ] + } + ] + }, + "_types.aggregations:HoltWintersModelSettings": { + "type": "object", + "properties": { + "alpha": { + "type": "number" }, - { - "$ref": "#/components/schemas/_types.mapping:FloatNumberProperty" + "beta": { + "type": "number" }, - { - "$ref": "#/components/schemas/_types.mapping:HalfFloatNumberProperty" + "gamma": { + "type": "number" }, - { - "$ref": "#/components/schemas/_types.mapping:IntegerNumberProperty" + "pad": { + "type": "boolean" }, - { - "$ref": "#/components/schemas/_types.mapping:LongNumberProperty" + "period": { + "type": "number" }, + "type": { + "$ref": "#/components/schemas/_types.aggregations:HoltWintersType" + } + } + }, + "_types.aggregations:HoltWintersType": { + "type": "string", + "enum": [ + "add", + "mult" + ] + }, + "_types.aggregations:MovingPercentilesAggregation": { + "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:ScaledFloatNumberProperty" + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" }, { - "$ref": "#/components/schemas/_types.mapping:ShortNumberProperty" - }, + "type": "object", + "properties": { + "window": { + "description": "The size of window to \"slide\" across the histogram.", + "type": "number" + }, + "shift": { + "description": "By default, the window consists of the last n values excluding the current bucket.\nIncreasing `shift` by 1, moves the starting window position by 1 to the right.", + "type": "number" + }, + "keyed": { + "type": "boolean" + } + } + } + ] + }, + "_types.aggregations:MovingFunctionAggregation": { + "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:UnsignedLongNumberProperty" + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" }, { - "$ref": "#/components/schemas/_types.mapping:DateRangeProperty" + "type": "object", + "properties": { + "script": { + "description": "The script that should be executed on each window of data.", + "type": "string" + }, + "shift": { + "description": "By default, the window consists of the last n values excluding the current bucket.\nIncreasing `shift` by 1, moves the starting window position by 1 to the right.", + "type": "number" + }, + "window": { + "description": "The size of window to \"slide\" across the histogram.", + "type": "number" + } + } + } + ] + }, + "_types.aggregations:MultiTermsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" }, { - "$ref": "#/components/schemas/_types.mapping:DoubleRangeProperty" + "type": "object", + "properties": { + "collect_mode": { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregationCollectMode" + }, + "order": { + "$ref": "#/components/schemas/_types.aggregations:AggregateOrder" + }, + "min_doc_count": { + "description": "The minimum number of documents in a bucket for it to be returned.", + "type": "number" + }, + "shard_min_doc_count": { + "description": "The minimum number of documents in a bucket on each shard for it to be returned.", + "type": "number" + }, + "shard_size": { + "description": "The number of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", + "type": "number" + }, + "show_term_doc_count_error": { + "description": "Calculates the doc count error on per term basis.", + "type": "boolean" + }, + "size": { + "description": "The number of term buckets should be returned out of the overall terms list.", + "type": "number" + }, + "terms": { + "description": "The field from which to generate sets of terms.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:MultiTermLookup" + } + } + }, + "required": [ + "terms" + ] + } + ] + }, + "_types.aggregations:TermsAggregationCollectMode": { + "type": "string", + "enum": [ + "depth_first", + "breadth_first" + ] + }, + "_types.aggregations:MultiTermLookup": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" }, + "missing": { + "$ref": "#/components/schemas/_types.aggregations:Missing" + } + }, + "required": [ + "field" + ] + }, + "_types.aggregations:NestedAggregation": { + "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:FloatRangeProperty" + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" }, { - "$ref": "#/components/schemas/_types.mapping:IntegerRangeProperty" - }, + "type": "object", + "properties": { + "path": { + "$ref": "#/components/schemas/_types:Field" + } + } + } + ] + }, + "_types.aggregations:NormalizeAggregation": { + "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:IpRangeProperty" + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" }, { - "$ref": "#/components/schemas/_types.mapping:LongRangeProperty" + "type": "object", + "properties": { + "method": { + "$ref": "#/components/schemas/_types.aggregations:NormalizeMethod" + } + } } ] }, - "_types.mapping:BinaryProperty": { + "_types.aggregations:NormalizeMethod": { + "type": "string", + "enum": [ + "rescale_0_1", + "rescale_0_100", + "percent_of_sum", + "mean", + "z-score", + "softmax" + ] + }, + "_types.aggregations:ParentAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" }, { "type": "object", "properties": { "type": { - "type": "string", - "enum": [ - "binary" - ] + "$ref": "#/components/schemas/_types:RelationName" } - }, - "required": [ - "type" - ] + } } ] }, - "_types.mapping:DocValuesPropertyBase": { + "_types.aggregations:PercentileRanksAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" }, { "type": "object", "properties": { - "doc_values": { + "keyed": { + "description": "By default, the aggregation associates a unique string key with each bucket and returns the ranges as a hash rather than an array.\nSet to `false` to disable this behavior.", "type": "boolean" + }, + "values": { + "description": "An array of values for which to calculate the percentile ranks.", + "oneOf": [ + { + "type": "array", + "items": { + "type": "number" + } + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "hdr": { + "$ref": "#/components/schemas/_types.aggregations:HdrMethod" + }, + "tdigest": { + "$ref": "#/components/schemas/_types.aggregations:TDigest" } } } ] }, - "_types.mapping:CorePropertyBase": { + "_types.aggregations:HdrMethod": { + "type": "object", + "properties": { + "number_of_significant_value_digits": { + "description": "Specifies the resolution of values for the histogram in number of significant digits.", + "type": "number" + } + } + }, + "_types.aggregations:TDigest": { + "type": "object", + "properties": { + "compression": { + "description": "Limits the maximum number of nodes used by the underlying TDigest algorithm to `20 * compression`, enabling control of memory usage and approximation error.", + "type": "number" + } + } + }, + "_types.aggregations:PercentilesAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:PropertyBase" + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" }, { "type": "object", "properties": { - "copy_to": { - "$ref": "#/components/schemas/_types:Fields" + "keyed": { + "description": "By default, the aggregation associates a unique string key with each bucket and returns the ranges as a hash rather than an array.\nSet to `false` to disable this behavior.", + "type": "boolean" }, - "similarity": { - "type": "string" + "percents": { + "description": "The percentiles to calculate.", + "type": "array", + "items": { + "type": "number" + } }, - "store": { - "type": "boolean" + "hdr": { + "$ref": "#/components/schemas/_types.aggregations:HdrMethod" + }, + "tdigest": { + "$ref": "#/components/schemas/_types.aggregations:TDigest" } } } ] }, - "_types.mapping:PropertyBase": { - "type": "object", - "properties": { - "meta": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-meta-field.html" - }, - "description": "Metadata about the field.", - "type": "object", - "additionalProperties": { - "type": "string" - } + "_types.aggregations:PercentilesBucketAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" }, - "properties": { + { "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.mapping:Property" + "properties": { + "percents": { + "description": "The list of percentiles to calculate.", + "type": "array", + "items": { + "type": "number" + } + } } + } + ] + }, + "_types.aggregations:RangeAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" }, - "ignore_above": { - "type": "number" - }, - "dynamic": { - "$ref": "#/components/schemas/_types.mapping:DynamicMapping" - }, - "fields": { + { "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.mapping:Property" + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "missing": { + "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", + "type": "number" + }, + "ranges": { + "description": "An array of ranges used to bucket documents.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:AggregationRange" + } + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "keyed": { + "description": "Set to `true` to associate a unique string key with each bucket and return the ranges as a hash rather than an array.", + "type": "boolean" + }, + "format": { + "type": "string" + } } } - } + ] }, - "_types.mapping:BooleanProperty": { + "_types.aggregations:RareTermsAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" }, { "type": "object", "properties": { - "boost": { - "type": "number" + "exclude": { + "$ref": "#/components/schemas/_types.aggregations:TermsExclude" }, - "fielddata": { - "$ref": "#/components/schemas/indices._types:NumericFielddata" + "field": { + "$ref": "#/components/schemas/_types:Field" }, - "index": { - "type": "boolean" + "include": { + "$ref": "#/components/schemas/_types.aggregations:TermsInclude" }, - "null_value": { - "type": "boolean" + "max_doc_count": { + "description": "The maximum number of documents a term should appear in.", + "type": "number" }, - "type": { - "type": "string", - "enum": [ - "boolean" - ] + "missing": { + "$ref": "#/components/schemas/_types.aggregations:Missing" + }, + "precision": { + "description": "The precision of the internal CuckooFilters.\nSmaller precision leads to better approximation, but higher memory usage.", + "type": "number" + }, + "value_type": { + "type": "string" } - }, - "required": [ - "type" - ] + } } ] }, - "indices._types:NumericFielddata": { + "_types.aggregations:TermsExclude": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "_types.aggregations:TermsInclude": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/components/schemas/_types.aggregations:TermsPartition" + } + ] + }, + "_types.aggregations:TermsPartition": { "type": "object", "properties": { - "format": { - "$ref": "#/components/schemas/indices._types:NumericFielddataFormat" + "num_partitions": { + "description": "The number of partitions.", + "type": "number" + }, + "partition": { + "description": "The partition number for this request.", + "type": "number" } }, "required": [ - "format" + "num_partitions", + "partition" ] }, - "indices._types:NumericFielddataFormat": { + "_types.aggregations:RateAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" + }, + { + "type": "object", + "properties": { + "unit": { + "$ref": "#/components/schemas/_types.aggregations:CalendarInterval" + }, + "mode": { + "$ref": "#/components/schemas/_types.aggregations:RateMode" + } + } + } + ] + }, + "_types.aggregations:RateMode": { "type": "string", "enum": [ - "array", - "disabled" + "sum", + "value_count" ] }, - "_types.mapping:DynamicProperty": { + "_types.aggregations:ReverseNestedAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "{dynamic_property}" - ] - }, - "enabled": { - "type": "boolean" - }, - "null_value": { - "$ref": "#/components/schemas/_types:FieldValue" - }, - "boost": { + "path": { + "$ref": "#/components/schemas/_types:Field" + } + } + } + ] + }, + "_types.aggregations:SamplerAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "shard_size": { + "description": "Limits how many top-scoring documents are collected in the sample processed on each shard.", "type": "number" + } + } + } + ] + }, + "_types.aggregations:ScriptedMetricAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "combine_script": { + "$ref": "#/components/schemas/_types:Script" }, - "coerce": { - "type": "boolean" - }, - "script": { + "init_script": { "$ref": "#/components/schemas/_types:Script" }, - "on_script_error": { - "$ref": "#/components/schemas/_types.mapping:OnScriptError" + "map_script": { + "$ref": "#/components/schemas/_types:Script" }, - "ignore_malformed": { - "type": "boolean" + "params": { + "description": "A global object with script parameters for `init`, `map` and `combine` scripts.\nIt is shared between the scripts.", + "type": "object", + "additionalProperties": { + "type": "object" + } }, - "time_series_metric": { - "$ref": "#/components/schemas/_types.mapping:TimeSeriesMetricType" + "reduce_script": { + "$ref": "#/components/schemas/_types:Script" + } + } + } + ] + }, + "_types.aggregations:SerialDifferencingAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object", + "properties": { + "lag": { + "description": "The historical bucket to subtract from the current value.\nMust be a positive, non-zero integer.", + "type": "number" + } + } + } + ] + }, + "_types.aggregations:SignificantTermsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" + }, + { + "type": "object", + "properties": { + "background_filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" }, - "analyzer": { - "type": "string" + "chi_square": { + "$ref": "#/components/schemas/_types.aggregations:ChiSquareHeuristic" }, - "eager_global_ordinals": { - "type": "boolean" + "exclude": { + "$ref": "#/components/schemas/_types.aggregations:TermsExclude" }, - "index": { - "type": "boolean" + "execution_hint": { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregationExecutionHint" }, - "index_options": { - "$ref": "#/components/schemas/_types.mapping:IndexOptions" + "field": { + "$ref": "#/components/schemas/_types:Field" }, - "index_phrases": { - "type": "boolean" + "gnd": { + "$ref": "#/components/schemas/_types.aggregations:GoogleNormalizedDistanceHeuristic" }, - "index_prefixes": { - "$ref": "#/components/schemas/_types.mapping:TextIndexPrefixes" + "include": { + "$ref": "#/components/schemas/_types.aggregations:TermsInclude" }, - "norms": { - "type": "boolean" + "jlh": { + "$ref": "#/components/schemas/_types:EmptyObject" }, - "position_increment_gap": { + "min_doc_count": { + "description": "Only return terms that are found in more than `min_doc_count` hits.", "type": "number" }, - "search_analyzer": { - "type": "string" + "mutual_information": { + "$ref": "#/components/schemas/_types.aggregations:MutualInformationHeuristic" }, - "search_quote_analyzer": { - "type": "string" + "percentage": { + "$ref": "#/components/schemas/_types.aggregations:PercentageScoreHeuristic" }, - "term_vector": { - "$ref": "#/components/schemas/_types.mapping:TermVectorOption" + "script_heuristic": { + "$ref": "#/components/schemas/_types.aggregations:ScriptedHeuristic" }, - "format": { - "type": "string" + "shard_min_doc_count": { + "description": "Regulates the certainty a shard has if the term should actually be added to the candidate list or not with respect to the `min_doc_count`.\nTerms will only be considered if their local shard frequency within the set is higher than the `shard_min_doc_count`.", + "type": "number" }, - "precision_step": { + "shard_size": { + "description": "Can be used to control the volumes of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", "type": "number" }, - "locale": { - "type": "string" - } - }, - "required": [ - "type" - ] + "size": { + "description": "The number of buckets returned out of the overall terms list.", + "type": "number" + } + } } ] }, - "_types.mapping:OnScriptError": { - "type": "string", - "enum": [ - "fail", - "continue" + "_types.aggregations:ChiSquareHeuristic": { + "type": "object", + "properties": { + "background_is_superset": { + "description": "Set to `false` if you defined a custom background filter that represents a different set of documents that you want to compare to.", + "type": "boolean" + }, + "include_negatives": { + "description": "Set to `false` to filter out the terms that appear less often in the subset than in documents outside the subset.", + "type": "boolean" + } + }, + "required": [ + "background_is_superset", + "include_negatives" ] }, - "_types.mapping:TimeSeriesMetricType": { + "_types.aggregations:TermsAggregationExecutionHint": { "type": "string", "enum": [ - "gauge", - "counter", - "summary", - "histogram", - "position" + "map", + "global_ordinals", + "global_ordinals_hash", + "global_ordinals_low_cardinality" ] }, - "_types.mapping:IndexOptions": { - "type": "string", - "enum": [ - "docs", - "freqs", - "positions", - "offsets" - ] + "_types.aggregations:GoogleNormalizedDistanceHeuristic": { + "type": "object", + "properties": { + "background_is_superset": { + "description": "Set to `false` if you defined a custom background filter that represents a different set of documents that you want to compare to.", + "type": "boolean" + } + } }, - "_types.mapping:TextIndexPrefixes": { + "_types.aggregations:MutualInformationHeuristic": { "type": "object", "properties": { - "max_chars": { - "type": "number" + "background_is_superset": { + "description": "Set to `false` if you defined a custom background filter that represents a different set of documents that you want to compare to.", + "type": "boolean" }, - "min_chars": { - "type": "number" + "include_negatives": { + "description": "Set to `false` to filter out the terms that appear less often in the subset than in documents outside the subset.", + "type": "boolean" + } + } + }, + "_types.aggregations:PercentageScoreHeuristic": { + "type": "object" + }, + "_types.aggregations:ScriptedHeuristic": { + "type": "object", + "properties": { + "script": { + "$ref": "#/components/schemas/_types:Script" } }, "required": [ - "max_chars", - "min_chars" - ] - }, - "_types.mapping:TermVectorOption": { - "type": "string", - "enum": [ - "no", - "yes", - "with_offsets", - "with_positions", - "with_positions_offsets", - "with_positions_offsets_payloads", - "with_positions_payloads" + "script" ] }, - "_types.mapping:JoinProperty": { + "_types.aggregations:SignificantTextAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:PropertyBase" + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" }, { "type": "object", "properties": { - "relations": { - "type": "object", - "additionalProperties": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:RelationName" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:RelationName" - } - } - ] - } + "background_filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" }, - "eager_global_ordinals": { + "chi_square": { + "$ref": "#/components/schemas/_types.aggregations:ChiSquareHeuristic" + }, + "exclude": { + "$ref": "#/components/schemas/_types.aggregations:TermsExclude" + }, + "execution_hint": { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregationExecutionHint" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "filter_duplicate_text": { + "description": "Whether to out duplicate text to deal with noisy data.", "type": "boolean" }, - "type": { - "type": "string", - "enum": [ - "join" + "gnd": { + "$ref": "#/components/schemas/_types.aggregations:GoogleNormalizedDistanceHeuristic" + }, + "include": { + "description": "Values to include.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:KeywordProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" - }, - { - "type": "object", - "properties": { - "boost": { - "type": "number" }, - "eager_global_ordinals": { - "type": "boolean" + "jlh": { + "$ref": "#/components/schemas/_types:EmptyObject" }, - "index": { - "type": "boolean" + "min_doc_count": { + "description": "Only return values that are found in more than `min_doc_count` hits.", + "type": "number" }, - "index_options": { - "$ref": "#/components/schemas/_types.mapping:IndexOptions" + "mutual_information": { + "$ref": "#/components/schemas/_types.aggregations:MutualInformationHeuristic" }, - "normalizer": { - "type": "string" + "percentage": { + "$ref": "#/components/schemas/_types.aggregations:PercentageScoreHeuristic" }, - "norms": { - "type": "boolean" + "script_heuristic": { + "$ref": "#/components/schemas/_types.aggregations:ScriptedHeuristic" }, - "null_value": { - "type": "string" + "shard_min_doc_count": { + "description": "Regulates the certainty a shard has if the values should actually be added to the candidate list or not with respect to the min_doc_count.\nValues will only be considered if their local shard frequency within the set is higher than the `shard_min_doc_count`.", + "type": "number" }, - "split_queries_on_whitespace": { - "type": "boolean" + "shard_size": { + "description": "The number of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", + "type": "number" }, - "time_series_dimension": { - "description": "For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.", - "type": "boolean" + "size": { + "description": "The number of buckets returned out of the overall terms list.", + "type": "number" }, - "type": { - "type": "string", - "enum": [ - "keyword" - ] + "source_fields": { + "$ref": "#/components/schemas/_types:Fields" } - }, - "required": [ - "type" - ] + } } ] }, - "_types.mapping:MatchOnlyTextProperty": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "match_only_text" - ] - }, - "fields": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/multi-fields.html" - }, - "description": "Multi-fields allow the same string value to be indexed in multiple ways for different purposes, such as one\nfield for search and a multi-field for sorting and aggregations, or the same string value analyzed by different analyzers.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.mapping:Property" - } - }, - "meta": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-meta-field.html" - }, - "description": "Metadata about the field.", - "type": "object", - "additionalProperties": { - "type": "string" - } + "_types.aggregations:StatsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" }, - "copy_to": { - "$ref": "#/components/schemas/_types:Fields" + { + "type": "object" } - }, - "required": [ - "type" ] }, - "_types.mapping:PercolatorProperty": { + "_types.aggregations:StatsBucketAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:PropertyBase" + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "percolator" - ] - } - }, - "required": [ - "type" - ] + "type": "object" } ] }, - "_types.mapping:RankFeatureProperty": { + "_types.aggregations:StringStatsAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:PropertyBase" + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" }, { "type": "object", "properties": { - "positive_score_impact": { + "show_distribution": { + "description": "Shows the probability distribution for all characters.", "type": "boolean" - }, - "type": { - "type": "string", - "enum": [ - "rank_feature" - ] } - }, - "required": [ - "type" - ] + } } ] }, - "_types.mapping:RankFeaturesProperty": { + "_types.aggregations:SumAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:PropertyBase" + "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "rank_features" - ] - } - }, - "required": [ - "type" - ] + "type": "object" } ] }, - "_types.mapping:SearchAsYouTypeProperty": { + "_types.aggregations:SumBucketAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" + "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" + }, + { + "type": "object" + } + ] + }, + "_types.aggregations:TermsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" }, { "type": "object", "properties": { - "analyzer": { - "type": "string" + "collect_mode": { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregationCollectMode" }, - "index": { - "type": "boolean" + "exclude": { + "$ref": "#/components/schemas/_types.aggregations:TermsExclude" }, - "index_options": { - "$ref": "#/components/schemas/_types.mapping:IndexOptions" + "execution_hint": { + "$ref": "#/components/schemas/_types.aggregations:TermsAggregationExecutionHint" }, - "max_shingle_size": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "include": { + "$ref": "#/components/schemas/_types.aggregations:TermsInclude" + }, + "min_doc_count": { + "description": "Only return values that are found in more than `min_doc_count` hits.", "type": "number" }, - "norms": { + "missing": { + "$ref": "#/components/schemas/_types.aggregations:Missing" + }, + "missing_order": { + "$ref": "#/components/schemas/_types.aggregations:MissingOrder" + }, + "missing_bucket": { "type": "boolean" }, - "search_analyzer": { + "value_type": { + "description": "Coerced unmapped fields into the specified type.", "type": "string" }, - "search_quote_analyzer": { - "type": "string" + "order": { + "$ref": "#/components/schemas/_types.aggregations:AggregateOrder" }, - "term_vector": { - "$ref": "#/components/schemas/_types.mapping:TermVectorOption" + "script": { + "$ref": "#/components/schemas/_types:Script" }, - "type": { - "type": "string", - "enum": [ - "search_as_you_type" - ] + "shard_size": { + "description": "The number of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", + "type": "number" + }, + "show_term_doc_count_error": { + "description": "Set to `true` to return the `doc_count_error_upper_bound`, which is an upper bound to the error on the `doc_count` returned by each shard.", + "type": "boolean" + }, + "size": { + "description": "The number of buckets returned out of the overall terms list.", + "type": "number" + }, + "format": { + "type": "string" } - }, - "required": [ - "type" - ] + } } ] }, - "_types.mapping:TextProperty": { + "_types.aggregations:TopHitsAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" }, { "type": "object", "properties": { - "analyzer": { - "type": "string" - }, - "boost": { - "type": "number" + "docvalue_fields": { + "$ref": "#/components/schemas/_types:Fields" }, - "eager_global_ordinals": { + "explain": { + "description": "If `true`, returns detailed information about score computation as part of a hit.", "type": "boolean" }, - "fielddata": { - "type": "boolean" + "from": { + "description": "Starting document offset.", + "type": "number" }, - "fielddata_frequency_filter": { - "$ref": "#/components/schemas/indices._types:FielddataFrequencyFilter" + "highlight": { + "$ref": "#/components/schemas/_global.search._types:Highlight" }, - "index": { - "type": "boolean" + "script_fields": { + "description": "Returns the result of one or more script evaluations for each hit.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } }, - "index_options": { - "$ref": "#/components/schemas/_types.mapping:IndexOptions" + "size": { + "description": "The maximum number of top matching hits to return per bucket.", + "type": "number" }, - "index_phrases": { - "type": "boolean" + "sort": { + "$ref": "#/components/schemas/_types:Sort" }, - "index_prefixes": { - "$ref": "#/components/schemas/_types.mapping:TextIndexPrefixes" + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" }, - "norms": { - "type": "boolean" + "stored_fields": { + "$ref": "#/components/schemas/_types:Fields" }, - "position_increment_gap": { - "type": "number" + "track_scores": { + "description": "If `true`, calculates and returns document scores, even if the scores are not used for sorting.", + "type": "boolean" }, - "search_analyzer": { - "type": "string" + "version": { + "description": "If `true`, returns document version as part of a hit.", + "type": "boolean" }, - "search_quote_analyzer": { - "type": "string" + "seq_no_primary_term": { + "description": "If `true`, returns sequence number and primary term of the last modification of each hit.", + "type": "boolean" + } + } + } + ] + }, + "_types.aggregations:TTestAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:Aggregation" + }, + { + "type": "object", + "properties": { + "a": { + "$ref": "#/components/schemas/_types.aggregations:TestPopulation" }, - "term_vector": { - "$ref": "#/components/schemas/_types.mapping:TermVectorOption" + "b": { + "$ref": "#/components/schemas/_types.aggregations:TestPopulation" }, "type": { - "type": "string", - "enum": [ - "text" + "$ref": "#/components/schemas/_types.aggregations:TTestType" + } + } + } + ] + }, + "_types.aggregations:TestPopulation": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + }, + "required": [ + "field" + ] + }, + "_types.aggregations:TTestType": { + "type": "string", + "enum": [ + "paired", + "homoscedastic", + "heteroscedastic" + ] + }, + "_types.aggregations:TopMetricsAggregation": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" + }, + { + "type": "object", + "properties": { + "metrics": { + "description": "The fields of the top document to return.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.aggregations:TopMetricsValue" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.aggregations:TopMetricsValue" + } + } ] + }, + "size": { + "description": "The number of top documents from which to return metrics.", + "type": "number" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" } - }, - "required": [ - "type" - ] + } } ] }, - "indices._types:FielddataFrequencyFilter": { + "_types.aggregations:TopMetricsValue": { "type": "object", "properties": { - "max": { - "type": "number" - }, - "min": { - "type": "number" - }, - "min_segment_size": { - "type": "number" + "field": { + "$ref": "#/components/schemas/_types:Field" } }, "required": [ - "max", - "min", - "min_segment_size" + "field" ] }, - "_types.mapping:VersionProperty": { + "_types.aggregations:ValueCountAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + "$ref": "#/components/schemas/_types.aggregations:FormattableMetricAggregation" }, { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "version" - ] - } - }, - "required": [ - "type" - ] + "type": "object" } ] }, - "_types.mapping:WildcardProperty": { + "_types.aggregations:FormattableMetricAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" }, { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "wildcard" - ] - }, - "null_value": { + "format": { "type": "string" } - }, - "required": [ - "type" - ] + } } ] }, - "_types.mapping:DateNanosProperty": { + "_types.aggregations:WeightedAverageAggregation": { "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + "$ref": "#/components/schemas/_types.aggregations:Aggregation" }, { "type": "object", "properties": { - "boost": { - "type": "number" - }, "format": { + "description": "A numeric response formatter.", "type": "string" }, - "ignore_malformed": { - "type": "boolean" - }, - "index": { - "type": "boolean" - }, - "null_value": { - "$ref": "#/components/schemas/_types:DateTime" + "value": { + "$ref": "#/components/schemas/_types.aggregations:WeightedAverageValue" }, - "precision_step": { - "type": "number" + "value_type": { + "$ref": "#/components/schemas/_types.aggregations:ValueType" }, - "type": { - "type": "string", - "enum": [ - "date_nanos" - ] + "weight": { + "$ref": "#/components/schemas/_types.aggregations:WeightedAverageValue" } - }, - "required": [ - "type" - ] + } } ] }, - "_types.mapping:DateProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + "_types.aggregations:WeightedAverageValue": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" }, - { - "type": "object", - "properties": { - "boost": { - "type": "number" - }, - "fielddata": { - "$ref": "#/components/schemas/indices._types:NumericFielddata" - }, - "format": { - "type": "string" - }, - "ignore_malformed": { - "type": "boolean" - }, - "index": { - "type": "boolean" - }, - "null_value": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "precision_step": { - "type": "number" - }, - "locale": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "date" - ] - } - }, - "required": [ - "type" - ] + "missing": { + "description": "A value or weight to use if the field is missing.", + "type": "number" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" } - ] + } }, - "_types.mapping:AggregateMetricDoubleProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:PropertyBase" + "_types.aggregations:VariableWidthHistogramAggregation": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "aggregate_metric_double" - ] - }, - "default_metric": { - "type": "string" + "buckets": { + "description": "The target number of buckets.", + "type": "number" + }, + "shard_size": { + "description": "The number of buckets that the coordinating node will request from each shard.\nDefaults to `buckets * 50`.", + "type": "number" + }, + "initial_buffer": { + "description": "Specifies the number of individual documents that will be stored in memory on a shard before the initial bucketing algorithm is run.\nDefaults to `min(10 * shard_size, 50000)`.", + "type": "number" + } + } + }, + "_types:KnnQuery": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "query_vector": { + "$ref": "#/components/schemas/_types:QueryVector" + }, + "query_vector_builder": { + "$ref": "#/components/schemas/_types:QueryVectorBuilder" + }, + "k": { + "description": "The final number of nearest neighbors to return as top hits", + "type": "number" + }, + "num_candidates": { + "description": "The number of nearest neighbor candidates to consider per shard", + "type": "number" + }, + "boost": { + "description": "Boost value to apply to kNN scores", + "type": "number" + }, + "filter": { + "description": "Filters for the kNN search query", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" }, - "metrics": { + { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" } - }, - "time_series_metric": { - "$ref": "#/components/schemas/_types.mapping:TimeSeriesMetricType" } - }, - "required": [ - "type", - "default_metric", - "metrics" ] } + }, + "required": [ + "field", + "k", + "num_candidates" ] }, - "_types.mapping:DenseVectorProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:PropertyBase" + "_types:QueryVector": { + "type": "array", + "items": { + "type": "number" + } + }, + "_types:QueryVectorBuilder": { + "type": "object", + "properties": { + "text_embedding": { + "$ref": "#/components/schemas/_types:TextEmbedding" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_types:TextEmbedding": { + "type": "object", + "properties": { + "model_id": { + "type": "string" }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "dense_vector" - ] - }, - "dims": { - "type": "number" - }, - "similarity": { - "type": "string" - }, - "index": { - "type": "boolean" - }, - "index_options": { - "$ref": "#/components/schemas/_types.mapping:DenseVectorIndexOptions" - } - }, - "required": [ - "type", - "dims" - ] + "model_text": { + "type": "string" + } + }, + "required": [ + "model_id", + "model_text" + ] + }, + "_global.search._types:Rescore": { + "type": "object", + "properties": { + "query": { + "$ref": "#/components/schemas/_global.search._types:RescoreQuery" + }, + "window_size": { + "type": "number" } + }, + "required": [ + "query" ] }, - "_types.mapping:DenseVectorIndexOptions": { + "_global.search._types:RescoreQuery": { "type": "object", "properties": { - "type": { - "type": "string" + "rescore_query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" }, - "m": { + "query_weight": { + "description": "Relative importance of the original query versus the rescore query.", "type": "number" }, - "ef_construction": { + "rescore_query_weight": { + "description": "Relative importance of the rescore query versus the original query.", "type": "number" + }, + "score_mode": { + "$ref": "#/components/schemas/_global.search._types:ScoreMode" } }, "required": [ - "type", - "m", - "ef_construction" + "rescore_query" ] }, - "_types.mapping:FlattenedProperty": { - "allOf": [ + "_global.search._types:ScoreMode": { + "type": "string", + "enum": [ + "avg", + "max", + "min", + "multiply", + "total" + ] + }, + "_types:SlicedScroll": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max": { + "type": "number" + } + }, + "required": [ + "id", + "max" + ] + }, + "_global.search._types:Suggester": { + "type": "object", + "properties": { + "text": { + "description": "Global suggest text, to avoid repetition when the same text is used in several suggesters", + "type": "string" + } + } + }, + "_global.search._types:PointInTimeReference": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "keep_alive": { + "$ref": "#/components/schemas/_types:Duration" + } + }, + "required": [ + "id" + ] + }, + "_types.mapping:RuntimeFields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:RuntimeField" + } + }, + "_types.mapping:RuntimeField": { + "type": "object", + "properties": { + "fetch_fields": { + "description": "For type `lookup`", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFieldFetchFields" + } + }, + "format": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-date-format.html" + }, + "description": "A custom format for `date` type runtime fields.", + "type": "string" + }, + "input_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "target_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "type": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFieldType" + } + }, + "required": [ + "type" + ] + }, + "_types.mapping:RuntimeFieldFetchFields": { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "format": { + "type": "string" + } + }, + "required": [ + "field" + ] + }, + "_types.mapping:RuntimeFieldType": { + "type": "string", + "enum": [ + "boolean", + "date", + "double", + "geo_point", + "ip", + "keyword", + "long", + "lookup" + ] + }, + "_types:Refresh": { + "type": "string", + "enum": [ + "true", + "false", + "wait_for" + ] + }, + "_types:WaitForActiveShards": { + "oneOf": [ { - "$ref": "#/components/schemas/_types.mapping:PropertyBase" + "type": "number" }, { - "type": "object", - "properties": { - "boost": { - "type": "number" - }, - "depth_limit": { - "type": "number" - }, - "doc_values": { - "type": "boolean" - }, - "eager_global_ordinals": { - "type": "boolean" - }, - "index": { - "type": "boolean" - }, - "index_options": { - "$ref": "#/components/schemas/_types.mapping:IndexOptions" - }, - "null_value": { - "type": "string" - }, - "similarity": { - "type": "string" - }, - "split_queries_on_whitespace": { - "type": "boolean" - }, - "type": { - "type": "string", - "enum": [ - "flattened" - ] - } - }, - "required": [ - "type" - ] + "$ref": "#/components/schemas/_types:WaitForActiveShardOptions" + } + ] + }, + "_types:WaitForActiveShardOptions": { + "type": "string", + "enum": [ + "all", + "index-setting" + ] + }, + "_global.bulk:OperationContainer": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_global.bulk:IndexOperation" + }, + "create": { + "$ref": "#/components/schemas/_global.bulk:CreateOperation" + }, + "update": { + "$ref": "#/components/schemas/_global.bulk:UpdateOperation" + }, + "delete": { + "$ref": "#/components/schemas/_global.bulk:DeleteOperation" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "_global.bulk:IndexOperation": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.bulk:WriteOperation" + }, + { + "type": "object" } ] }, - "_types.mapping:NestedProperty": { + "_global.bulk:WriteOperation": { "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" + "$ref": "#/components/schemas/_global.bulk:OperationBase" }, { "type": "object", "properties": { - "enabled": { - "type": "boolean" + "dynamic_templates": { + "description": "A map from the full name of fields to the name of dynamic templates.\nDefaults to an empty map.\nIf a name matches a dynamic template, then that template will be applied regardless of other match predicates defined in the template.\nIf a field is already defined in the mapping, then this parameter won’t be used.", + "type": "object", + "additionalProperties": { + "type": "string" + } }, - "include_in_parent": { - "type": "boolean" + "pipeline": { + "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", + "type": "string" }, - "include_in_root": { + "require_alias": { + "description": "If `true`, the request’s actions must target an index alias.", "type": "boolean" - }, - "type": { - "type": "string", - "enum": [ - "nested" - ] } - }, - "required": [ - "type" - ] + } } ] }, - "_types.mapping:ObjectProperty": { + "_global.bulk:OperationBase": { + "type": "object", + "properties": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "if_primary_term": { + "type": "number" + }, + "if_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "version_type": { + "$ref": "#/components/schemas/_types:VersionType" + } + } + }, + "_global.bulk:CreateOperation": { "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" + "$ref": "#/components/schemas/_global.bulk:WriteOperation" + }, + { + "type": "object" + } + ] + }, + "_global.bulk:UpdateOperation": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.bulk:OperationBase" }, { "type": "object", "properties": { - "enabled": { + "require_alias": { + "description": "If `true`, the request’s actions must target an index alias.", "type": "boolean" }, - "type": { - "type": "string", - "enum": [ - "object" - ] + "retry_on_conflict": { + "type": "number" } } } ] }, - "_types.mapping:CompletionProperty": { + "_global.bulk:DeleteOperation": { "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + "$ref": "#/components/schemas/_global.bulk:OperationBase" }, { - "type": "object", - "properties": { - "analyzer": { - "type": "string" - }, - "contexts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.mapping:SuggestContext" - } - }, - "max_input_length": { - "type": "number" - }, - "preserve_position_increments": { - "type": "boolean" - }, - "preserve_separators": { - "type": "boolean" - }, - "search_analyzer": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "completion" - ] - } - }, - "required": [ - "type" - ] + "type": "object" } ] }, - "_types.mapping:SuggestContext": { + "_global.bulk:UpdateAction": { "type": "object", "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" + "detect_noop": { + "description": "Set to false to disable setting 'result' in the response\nto 'noop' if no change to the document occurred.", + "type": "boolean" }, - "path": { - "$ref": "#/components/schemas/_types:Field" + "doc": { + "description": "A partial update to an existing document.", + "type": "object" }, - "type": { - "type": "string" + "doc_as_upsert": { + "description": "Set to true to use the contents of 'doc' as the value of 'upsert'", + "type": "boolean" }, - "precision": { + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "scripted_upsert": { + "description": "Set to true to execute the script whether or not the document exists.", + "type": "boolean" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "upsert": { + "description": "If the document does not already exist, the contents of 'upsert' are inserted as a\nnew document. If the document exists, the 'script' is executed.", + "type": "object" + } + } + }, + "_global.bulk:ResponseItem": { + "type": "object", + "properties": { + "_id": { + "description": "The document ID associated with the operation.", "oneOf": [ { - "type": "number" + "type": "string" }, { + "nullable": true, "type": "string" } ] + }, + "_index": { + "description": "Name of the index associated with the operation.\nIf the operation targeted a data stream, this is the backing index into which the document was written.", + "type": "string" + }, + "status": { + "description": "HTTP status code returned for the operation.", + "type": "number" + }, + "error": { + "$ref": "#/components/schemas/_types:ErrorCause" + }, + "_primary_term": { + "description": "The primary term assigned to the document for the operation.", + "type": "number" + }, + "result": { + "description": "Result of the operation.\nSuccessful values are `created`, `deleted`, and `updated`.", + "type": "string" + }, + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "_version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "forced_refresh": { + "type": "boolean" + }, + "get": { + "$ref": "#/components/schemas/_types:InlineGetDictUserDefined" } }, "required": [ - "name", - "type" + "_index", + "status" ] }, - "_types.mapping:ConstantKeywordProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:PropertyBase" + "_types:InlineGetDictUserDefined": { + "type": "object", + "properties": { + "fields": { + "type": "object", + "additionalProperties": { + "type": "object" + } }, - { + "found": { + "type": "boolean" + }, + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "_primary_term": { + "type": "number" + }, + "_routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "_source": { "type": "object", - "properties": { - "value": { - "type": "object" - }, - "type": { - "type": "string", - "enum": [ - "constant_keyword" - ] - } - }, - "required": [ - "type" - ] + "additionalProperties": { + "type": "object" + } } + }, + "required": [ + "found", + "_source" ] }, - "_types.mapping:FieldAliasProperty": { - "allOf": [ + "_types:Names": { + "oneOf": [ { - "$ref": "#/components/schemas/_types.mapping:PropertyBase" + "$ref": "#/components/schemas/_types:Name" }, { - "type": "object", - "properties": { - "path": { - "$ref": "#/components/schemas/_types:Field" - }, - "type": { - "type": "string", - "enum": [ - "alias" - ] - } - }, - "required": [ - "type" - ] + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Name" + } } ] }, - "_types.mapping:HistogramProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:PropertyBase" + "cat.aliases:AliasesRecord": { + "type": "object", + "properties": { + "alias": { + "description": "alias name", + "type": "string" }, - { - "type": "object", - "properties": { - "ignore_malformed": { - "type": "boolean" - }, - "type": { - "type": "string", - "enum": [ - "histogram" - ] - } - }, - "required": [ - "type" - ] + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "filter": { + "description": "filter", + "type": "string" + }, + "routing.index": { + "description": "index routing", + "type": "string" + }, + "routing.search": { + "description": "search routing", + "type": "string" + }, + "is_write_index": { + "description": "write index", + "type": "string" } - ] + } }, - "_types.mapping:IpProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + "cat.component_templates:ComponentTemplate": { + "type": "object", + "properties": { + "name": { + "type": "string" }, - { - "type": "object", - "properties": { - "boost": { - "type": "number" - }, - "index": { - "type": "boolean" - }, - "ignore_malformed": { - "type": "boolean" - }, - "null_value": { - "type": "string" - }, - "on_script_error": { - "$ref": "#/components/schemas/_types.mapping:OnScriptError" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "time_series_dimension": { - "description": "For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.", - "type": "boolean" - }, - "type": { - "type": "string", - "enum": [ - "ip" - ] - } - }, - "required": [ - "type" - ] + "version": { + "type": "string" + }, + "alias_count": { + "type": "string" + }, + "mapping_count": { + "type": "string" + }, + "settings_count": { + "type": "string" + }, + "metadata_count": { + "type": "string" + }, + "included_in": { + "type": "string" } + }, + "required": [ + "name", + "version", + "alias_count", + "mapping_count", + "settings_count", + "metadata_count", + "included_in" ] }, - "_types.mapping:Murmur3HashProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + "cat.count:CountRecord": { + "type": "object", + "properties": { + "epoch": { + "$ref": "#/components/schemas/_spec_utils:StringifiedEpochTimeUnitSeconds" }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "murmur3" - ] - } - }, - "required": [ - "type" - ] + "timestamp": { + "$ref": "#/components/schemas/_types:TimeOfDay" + }, + "count": { + "description": "the document count", + "type": "string" } - ] + } }, - "_types.mapping:TokenCountProperty": { - "allOf": [ + "_spec_utils:StringifiedEpochTimeUnitSeconds": { + "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", + "oneOf": [ { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + "$ref": "#/components/schemas/_types:EpochTimeUnitSeconds" }, { - "type": "object", - "properties": { - "analyzer": { - "type": "string" - }, - "boost": { - "type": "number" - }, - "index": { - "type": "boolean" - }, - "null_value": { - "type": "number" - }, - "enable_position_increments": { - "type": "boolean" - }, - "type": { - "type": "string", - "enum": [ - "token_count" - ] - } - }, - "required": [ - "type" - ] + "type": "string" } ] }, - "_types.mapping:GeoPointProperty": { + "_types:EpochTimeUnitSeconds": { "allOf": [ { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" - }, - { - "type": "object", - "properties": { - "ignore_malformed": { - "type": "boolean" - }, - "ignore_z_value": { - "type": "boolean" - }, - "null_value": { - "$ref": "#/components/schemas/_types:GeoLocation" - }, - "type": { - "type": "string", - "enum": [ - "geo_point" - ] - } - }, - "required": [ - "type" - ] + "$ref": "#/components/schemas/_types:UnitSeconds" + } + ] + }, + "_types:UnitSeconds": { + "description": "Time unit for seconds", + "type": "number" + }, + "_types:TimeOfDay": { + "description": "Time of day, expressed as HH:MM:SS", + "type": "string" + }, + "cat.help:HelpRecord": { + "type": "object", + "properties": { + "endpoint": { + "type": "string" } + }, + "required": [ + "endpoint" ] }, - "_types.mapping:GeoShapeProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" - }, - { - "type": "object", - "properties": { - "coerce": { - "type": "boolean" - }, - "ignore_malformed": { - "type": "boolean" - }, - "ignore_z_value": { - "type": "boolean" - }, - "orientation": { - "$ref": "#/components/schemas/_types.mapping:GeoOrientation" - }, - "strategy": { - "$ref": "#/components/schemas/_types.mapping:GeoStrategy" - }, - "type": { - "type": "string", - "enum": [ - "geo_shape" - ] - } - }, - "required": [ - "type" - ] - } + "_types:Bytes": { + "type": "string", + "enum": [ + "b", + "kb", + "mb", + "gb", + "tb", + "pb" ] }, - "_types.mapping:GeoOrientation": { + "_types:HealthStatus": { "type": "string", "enum": [ - "right", - "left" + "green", + "yellow", + "red" ] }, - "_types.mapping:GeoStrategy": { + "_types:TimeUnit": { "type": "string", "enum": [ - "recursive", - "term" + "nanos", + "micros", + "ms", + "s", + "m", + "h", + "d" ] }, - "_types.mapping:PointProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + "cat.indices:IndicesRecord": { + "type": "object", + "properties": { + "health": { + "description": "current health status", + "type": "string" }, - { - "type": "object", - "properties": { - "ignore_malformed": { - "type": "boolean" - }, - "ignore_z_value": { - "type": "boolean" - }, - "null_value": { + "status": { + "description": "open/close status", + "type": "string" + }, + "index": { + "description": "index name", + "type": "string" + }, + "uuid": { + "description": "index uuid", + "type": "string" + }, + "pri": { + "description": "number of primary shards", + "type": "string" + }, + "rep": { + "description": "number of replica shards", + "type": "string" + }, + "docs.count": { + "description": "available docs", + "oneOf": [ + { "type": "string" }, - "type": { - "type": "string", - "enum": [ - "point" - ] + { + "nullable": true, + "type": "string" } - }, - "required": [ - "type" ] - } - ] - }, - "_types.mapping:ShapeProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" }, - { - "type": "object", - "properties": { - "coerce": { - "type": "boolean" - }, - "ignore_malformed": { - "type": "boolean" + "docs.deleted": { + "description": "deleted docs", + "oneOf": [ + { + "type": "string" }, - "ignore_z_value": { - "type": "boolean" + { + "nullable": true, + "type": "string" + } + ] + }, + "creation.date": { + "description": "index creation date (millisecond value)", + "type": "string" + }, + "creation.date.string": { + "description": "index creation date (as string)", + "type": "string" + }, + "store.size": { + "description": "store size of primaries & replicas", + "oneOf": [ + { + "type": "string" }, - "orientation": { - "$ref": "#/components/schemas/_types.mapping:GeoOrientation" + { + "nullable": true, + "type": "string" + } + ] + }, + "pri.store.size": { + "description": "store size of primaries", + "oneOf": [ + { + "type": "string" }, - "type": { - "type": "string", - "enum": [ - "shape" - ] + { + "nullable": true, + "type": "string" } - }, - "required": [ - "type" ] - } - ] - }, - "_types.mapping:ByteNumberProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "byte" - ] - }, - "null_value": { - "$ref": "#/components/schemas/_types:byte" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types:byte": { - "type": "number" - }, - "_types.mapping:NumberPropertyBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + "completion.size": { + "description": "size of completion", + "type": "string" + }, + "pri.completion.size": { + "description": "size of completion", + "type": "string" + }, + "fielddata.memory_size": { + "description": "used fielddata cache", + "type": "string" + }, + "pri.fielddata.memory_size": { + "description": "used fielddata cache", + "type": "string" + }, + "fielddata.evictions": { + "description": "fielddata evictions", + "type": "string" + }, + "pri.fielddata.evictions": { + "description": "fielddata evictions", + "type": "string" + }, + "query_cache.memory_size": { + "description": "used query cache", + "type": "string" + }, + "pri.query_cache.memory_size": { + "description": "used query cache", + "type": "string" + }, + "query_cache.evictions": { + "description": "query cache evictions", + "type": "string" + }, + "pri.query_cache.evictions": { + "description": "query cache evictions", + "type": "string" + }, + "request_cache.memory_size": { + "description": "used request cache", + "type": "string" + }, + "pri.request_cache.memory_size": { + "description": "used request cache", + "type": "string" + }, + "request_cache.evictions": { + "description": "request cache evictions", + "type": "string" + }, + "pri.request_cache.evictions": { + "description": "request cache evictions", + "type": "string" + }, + "request_cache.hit_count": { + "description": "request cache hit count", + "type": "string" + }, + "pri.request_cache.hit_count": { + "description": "request cache hit count", + "type": "string" + }, + "request_cache.miss_count": { + "description": "request cache miss count", + "type": "string" + }, + "pri.request_cache.miss_count": { + "description": "request cache miss count", + "type": "string" + }, + "flush.total": { + "description": "number of flushes", + "type": "string" + }, + "pri.flush.total": { + "description": "number of flushes", + "type": "string" + }, + "flush.total_time": { + "description": "time spent in flush", + "type": "string" + }, + "pri.flush.total_time": { + "description": "time spent in flush", + "type": "string" + }, + "get.current": { + "description": "number of current get ops", + "type": "string" + }, + "pri.get.current": { + "description": "number of current get ops", + "type": "string" + }, + "get.time": { + "description": "time spent in get", + "type": "string" + }, + "pri.get.time": { + "description": "time spent in get", + "type": "string" + }, + "get.total": { + "description": "number of get ops", + "type": "string" + }, + "pri.get.total": { + "description": "number of get ops", + "type": "string" + }, + "get.exists_time": { + "description": "time spent in successful gets", + "type": "string" + }, + "pri.get.exists_time": { + "description": "time spent in successful gets", + "type": "string" + }, + "get.exists_total": { + "description": "number of successful gets", + "type": "string" + }, + "pri.get.exists_total": { + "description": "number of successful gets", + "type": "string" + }, + "get.missing_time": { + "description": "time spent in failed gets", + "type": "string" + }, + "pri.get.missing_time": { + "description": "time spent in failed gets", + "type": "string" + }, + "get.missing_total": { + "description": "number of failed gets", + "type": "string" + }, + "pri.get.missing_total": { + "description": "number of failed gets", + "type": "string" + }, + "indexing.delete_current": { + "description": "number of current deletions", + "type": "string" + }, + "pri.indexing.delete_current": { + "description": "number of current deletions", + "type": "string" + }, + "indexing.delete_time": { + "description": "time spent in deletions", + "type": "string" + }, + "pri.indexing.delete_time": { + "description": "time spent in deletions", + "type": "string" + }, + "indexing.delete_total": { + "description": "number of delete ops", + "type": "string" + }, + "pri.indexing.delete_total": { + "description": "number of delete ops", + "type": "string" + }, + "indexing.index_current": { + "description": "number of current indexing ops", + "type": "string" + }, + "pri.indexing.index_current": { + "description": "number of current indexing ops", + "type": "string" + }, + "indexing.index_time": { + "description": "time spent in indexing", + "type": "string" + }, + "pri.indexing.index_time": { + "description": "time spent in indexing", + "type": "string" + }, + "indexing.index_total": { + "description": "number of indexing ops", + "type": "string" + }, + "pri.indexing.index_total": { + "description": "number of indexing ops", + "type": "string" + }, + "indexing.index_failed": { + "description": "number of failed indexing ops", + "type": "string" + }, + "pri.indexing.index_failed": { + "description": "number of failed indexing ops", + "type": "string" + }, + "merges.current": { + "description": "number of current merges", + "type": "string" + }, + "pri.merges.current": { + "description": "number of current merges", + "type": "string" + }, + "merges.current_docs": { + "description": "number of current merging docs", + "type": "string" + }, + "pri.merges.current_docs": { + "description": "number of current merging docs", + "type": "string" + }, + "merges.current_size": { + "description": "size of current merges", + "type": "string" + }, + "pri.merges.current_size": { + "description": "size of current merges", + "type": "string" + }, + "merges.total": { + "description": "number of completed merge ops", + "type": "string" + }, + "pri.merges.total": { + "description": "number of completed merge ops", + "type": "string" + }, + "merges.total_docs": { + "description": "docs merged", + "type": "string" + }, + "pri.merges.total_docs": { + "description": "docs merged", + "type": "string" + }, + "merges.total_size": { + "description": "size merged", + "type": "string" + }, + "pri.merges.total_size": { + "description": "size merged", + "type": "string" + }, + "merges.total_time": { + "description": "time spent in merges", + "type": "string" + }, + "pri.merges.total_time": { + "description": "time spent in merges", + "type": "string" + }, + "refresh.total": { + "description": "total refreshes", + "type": "string" + }, + "pri.refresh.total": { + "description": "total refreshes", + "type": "string" + }, + "refresh.time": { + "description": "time spent in refreshes", + "type": "string" + }, + "pri.refresh.time": { + "description": "time spent in refreshes", + "type": "string" + }, + "refresh.external_total": { + "description": "total external refreshes", + "type": "string" + }, + "pri.refresh.external_total": { + "description": "total external refreshes", + "type": "string" + }, + "refresh.external_time": { + "description": "time spent in external refreshes", + "type": "string" + }, + "pri.refresh.external_time": { + "description": "time spent in external refreshes", + "type": "string" + }, + "refresh.listeners": { + "description": "number of pending refresh listeners", + "type": "string" + }, + "pri.refresh.listeners": { + "description": "number of pending refresh listeners", + "type": "string" + }, + "search.fetch_current": { + "description": "current fetch phase ops", + "type": "string" + }, + "pri.search.fetch_current": { + "description": "current fetch phase ops", + "type": "string" + }, + "search.fetch_time": { + "description": "time spent in fetch phase", + "type": "string" + }, + "pri.search.fetch_time": { + "description": "time spent in fetch phase", + "type": "string" + }, + "search.fetch_total": { + "description": "total fetch ops", + "type": "string" + }, + "pri.search.fetch_total": { + "description": "total fetch ops", + "type": "string" }, - { - "type": "object", - "properties": { - "boost": { - "type": "number" - }, - "coerce": { - "type": "boolean" - }, - "ignore_malformed": { - "type": "boolean" - }, - "index": { - "type": "boolean" - }, - "on_script_error": { - "$ref": "#/components/schemas/_types.mapping:OnScriptError" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "time_series_metric": { - "$ref": "#/components/schemas/_types.mapping:TimeSeriesMetricType" - }, - "time_series_dimension": { - "description": "For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.", - "type": "boolean" - } - } - } - ] - }, - "_types.mapping:DoubleNumberProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + "search.open_contexts": { + "description": "open search contexts", + "type": "string" }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "double" - ] - }, - "null_value": { - "type": "number" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:FloatNumberProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + "pri.search.open_contexts": { + "description": "open search contexts", + "type": "string" }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "float" - ] - }, - "null_value": { - "type": "number" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:HalfFloatNumberProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + "search.query_current": { + "description": "current query phase ops", + "type": "string" }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "half_float" - ] - }, - "null_value": { - "type": "number" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:IntegerNumberProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + "pri.search.query_current": { + "description": "current query phase ops", + "type": "string" }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "integer" - ] - }, - "null_value": { - "type": "number" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:LongNumberProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + "search.query_time": { + "description": "time spent in query phase", + "type": "string" }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "long" - ] - }, - "null_value": { - "type": "number" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:ScaledFloatNumberProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + "pri.search.query_time": { + "description": "time spent in query phase", + "type": "string" }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "scaled_float" - ] - }, - "null_value": { - "type": "number" - }, - "scaling_factor": { - "type": "number" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:ShortNumberProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + "search.query_total": { + "description": "total query phase ops", + "type": "string" }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "short" - ] - }, - "null_value": { - "$ref": "#/components/schemas/_types:short" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types:short": { - "type": "number" - }, - "_types.mapping:UnsignedLongNumberProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + "pri.search.query_total": { + "description": "total query phase ops", + "type": "string" }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "unsigned_long" - ] - }, - "null_value": { - "$ref": "#/components/schemas/_types:ulong" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types:ulong": { - "type": "number" - }, - "_types.mapping:DateRangeProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" + "search.scroll_current": { + "description": "open scroll contexts", + "type": "string" }, - { - "type": "object", - "properties": { - "format": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "date_range" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:RangePropertyBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + "pri.search.scroll_current": { + "description": "open scroll contexts", + "type": "string" }, - { - "type": "object", - "properties": { - "boost": { - "type": "number" - }, - "coerce": { - "type": "boolean" - }, - "index": { - "type": "boolean" - } - } - } - ] - }, - "_types.mapping:DoubleRangeProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" + "search.scroll_time": { + "description": "time scroll contexts held open", + "type": "string" }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "double_range" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:FloatRangeProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" + "pri.search.scroll_time": { + "description": "time scroll contexts held open", + "type": "string" }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "float_range" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:IntegerRangeProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" + "search.scroll_total": { + "description": "completed scroll contexts", + "type": "string" }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "integer_range" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:IpRangeProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" + "pri.search.scroll_total": { + "description": "completed scroll contexts", + "type": "string" }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "ip_range" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:LongRangeProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" + "segments.count": { + "description": "number of segments", + "type": "string" }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "long_range" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:MatchType": { - "type": "string", - "enum": [ - "simple", - "regex" - ] - }, - "_types.mapping:FieldNamesField": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - }, - "required": [ - "enabled" - ] - }, - "_types.mapping:IndexField": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - }, - "required": [ - "enabled" - ] - }, - "_types.mapping:RoutingField": { - "type": "object", - "properties": { - "required": { - "type": "boolean" - } - }, - "required": [ - "required" - ] - }, - "_types.mapping:SizeField": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - }, - "required": [ - "enabled" - ] - }, - "_types.mapping:SourceField": { - "type": "object", - "properties": { - "compress": { - "type": "boolean" + "pri.segments.count": { + "description": "number of segments", + "type": "string" + }, + "segments.memory": { + "description": "memory used by segments", + "type": "string" + }, + "pri.segments.memory": { + "description": "memory used by segments", + "type": "string" + }, + "segments.index_writer_memory": { + "description": "memory used by index writer", + "type": "string" }, - "compress_threshold": { + "pri.segments.index_writer_memory": { + "description": "memory used by index writer", "type": "string" }, - "enabled": { - "type": "boolean" + "segments.version_map_memory": { + "description": "memory used by version map", + "type": "string" }, - "excludes": { - "type": "array", - "items": { - "type": "string" - } + "pri.segments.version_map_memory": { + "description": "memory used by version map", + "type": "string" }, - "includes": { - "type": "array", - "items": { - "type": "string" - } + "segments.fixed_bitset_memory": { + "description": "memory used by fixed bit sets for nested object field types and export type filters for types referred in _parent fields", + "type": "string" }, - "mode": { - "$ref": "#/components/schemas/_types.mapping:SourceFieldMode" - } - } - }, - "_types.mapping:SourceFieldMode": { - "type": "string", - "enum": [ - "disabled", - "stored", - "synthetic" - ] - }, - "_types.mapping:DataStreamTimestamp": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - }, - "required": [ - "enabled" - ] - }, - "indices._types:AliasDefinition": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + "pri.segments.fixed_bitset_memory": { + "description": "memory used by fixed bit sets for nested object field types and export type filters for types referred in _parent fields", + "type": "string" }, - "index_routing": { - "description": "Value used to route indexing operations to a specific shard.\nIf specified, this overwrites the `routing` value for indexing operations.", + "warmer.current": { + "description": "current warmer ops", "type": "string" }, - "is_write_index": { - "description": "If `true`, the index is the write index for the alias.", - "type": "boolean" + "pri.warmer.current": { + "description": "current warmer ops", + "type": "string" }, - "routing": { - "description": "Value used to route indexing and search operations to a specific shard.", + "warmer.total": { + "description": "total warmer ops", "type": "string" }, - "search_routing": { - "description": "Value used to route search operations to a specific shard.\nIf specified, this overwrites the `routing` value for search operations.", + "pri.warmer.total": { + "description": "total warmer ops", "type": "string" }, - "is_hidden": { - "description": "If `true`, the alias is hidden.\nAll indices for the alias must have the same `is_hidden` value.", - "type": "boolean" - } - } - }, - "indices._types:DataStreamLifecycleWithRollover": { - "type": "object", - "properties": { - "data_retention": { - "$ref": "#/components/schemas/_types:Duration" + "warmer.total_time": { + "description": "time spent in warmers", + "type": "string" }, - "downsampling": { - "$ref": "#/components/schemas/indices._types:DataStreamLifecycleDownsampling" + "pri.warmer.total_time": { + "description": "time spent in warmers", + "type": "string" }, - "rollover": { - "$ref": "#/components/schemas/indices._types:DataStreamLifecycleRolloverConditions" - } - } - }, - "indices._types:DataStreamLifecycleDownsampling": { - "type": "object", - "properties": { - "rounds": { - "description": "The list of downsampling rounds to execute as part of this downsampling configuration", - "type": "array", - "items": { - "$ref": "#/components/schemas/indices._types:DownsamplingRound" - } - } - }, - "required": [ - "rounds" - ] - }, - "indices._types:DownsamplingRound": { - "type": "object", - "properties": { - "after": { - "$ref": "#/components/schemas/_types:Duration" + "suggest.current": { + "description": "number of current suggest ops", + "type": "string" }, - "config": { - "$ref": "#/components/schemas/indices._types:DownsampleConfig" - } - }, - "required": [ - "after", - "config" - ] - }, - "indices._types:DownsampleConfig": { - "type": "object", - "properties": { - "fixed_interval": { - "$ref": "#/components/schemas/_types:DurationLarge" - } - }, - "required": [ - "fixed_interval" - ] - }, - "indices._types:DataStreamLifecycleRolloverConditions": { - "type": "object", - "properties": { - "min_age": { - "$ref": "#/components/schemas/_types:Duration" + "pri.suggest.current": { + "description": "number of current suggest ops", + "type": "string" }, - "max_age": { + "suggest.time": { + "description": "time spend in suggest", "type": "string" }, - "min_docs": { - "type": "number" + "pri.suggest.time": { + "description": "time spend in suggest", + "type": "string" }, - "max_docs": { - "type": "number" + "suggest.total": { + "description": "number of suggest ops", + "type": "string" }, - "min_size": { - "$ref": "#/components/schemas/_types:ByteSize" + "pri.suggest.total": { + "description": "number of suggest ops", + "type": "string" }, - "max_size": { - "$ref": "#/components/schemas/_types:ByteSize" + "memory.total": { + "description": "total used memory", + "type": "string" }, - "min_primary_shard_size": { - "$ref": "#/components/schemas/_types:ByteSize" + "pri.memory.total": { + "description": "total user memory", + "type": "string" }, - "max_primary_shard_size": { - "$ref": "#/components/schemas/_types:ByteSize" + "search.throttled": { + "description": "indicates if the index is search throttled", + "type": "string" }, - "min_primary_shard_docs": { - "type": "number" + "bulk.total_operations": { + "description": "number of bulk shard ops", + "type": "string" }, - "max_primary_shard_docs": { - "type": "number" + "pri.bulk.total_operations": { + "description": "number of bulk shard ops", + "type": "string" + }, + "bulk.total_time": { + "description": "time spend in shard bulk", + "type": "string" + }, + "pri.bulk.total_time": { + "description": "time spend in shard bulk", + "type": "string" + }, + "bulk.total_size_in_bytes": { + "description": "total size in bytes of shard bulk", + "type": "string" + }, + "pri.bulk.total_size_in_bytes": { + "description": "total size in bytes of shard bulk", + "type": "string" + }, + "bulk.avg_time": { + "description": "average time spend in shard bulk", + "type": "string" + }, + "pri.bulk.avg_time": { + "description": "average time spend in shard bulk", + "type": "string" + }, + "bulk.avg_size_in_bytes": { + "description": "average size in bytes of shard bulk", + "type": "string" + }, + "pri.bulk.avg_size_in_bytes": { + "description": "average size in bytes of shard bulk", + "type": "string" } } }, - "_types:Level": { - "type": "string", - "enum": [ - "cluster", - "indices", - "shards" + "cat._types:CatDfaColumns": { + "oneOf": [ + { + "$ref": "#/components/schemas/cat._types:CatDfaColumn" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat._types:CatDfaColumn" + } + } ] }, - "_types:WaitForEvents": { + "cat._types:CatDfaColumn": { "type": "string", "enum": [ - "immediate", - "urgent", - "high", - "normal", - "low", - "languid" + "assignment_explanation", + "create_time", + "description", + "dest_index", + "failure_reason", + "id", + "model_memory_limit", + "node.address", + "node.ephemeral_id", + "node.id", + "node.name", + "progress", + "source_index", + "state", + "type", + "version" ] }, - "cluster.health:HealthResponseBody": { + "cat.ml_data_frame_analytics:DataFrameAnalyticsRecord": { "type": "object", "properties": { - "active_primary_shards": { - "description": "The number of active primary shards.", - "type": "number" + "id": { + "$ref": "#/components/schemas/_types:Id" }, - "active_shards": { - "description": "The total number of active primary and replica shards.", - "type": "number" + "type": { + "description": "The type of analysis that the job performs.", + "type": "string" }, - "active_shards_percent_as_number": { - "$ref": "#/components/schemas/_types:Percentage" + "create_time": { + "description": "The time when the job was created.", + "type": "string" }, - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" + "version": { + "$ref": "#/components/schemas/_types:VersionString" }, - "delayed_unassigned_shards": { - "description": "The number of shards whose allocation has been delayed by the timeout settings.", - "type": "number" + "source_index": { + "$ref": "#/components/schemas/_types:IndexName" }, - "indices": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/cluster.health:IndexHealthStats" - } + "dest_index": { + "$ref": "#/components/schemas/_types:IndexName" }, - "initializing_shards": { - "description": "The number of shards that are under initialization.", - "type": "number" + "description": { + "description": "A description of the job.", + "type": "string" }, - "number_of_data_nodes": { - "description": "The number of nodes that are dedicated data nodes.", - "type": "number" + "model_memory_limit": { + "description": "The approximate maximum amount of memory resources that are permitted for the job.", + "type": "string" }, - "number_of_in_flight_fetch": { - "description": "The number of unfinished fetches.", - "type": "number" + "state": { + "description": "The current status of the job.", + "type": "string" }, - "number_of_nodes": { - "description": "The number of nodes within the cluster.", - "type": "number" + "failure_reason": { + "description": "Messages about the reason why the job failed.", + "type": "string" }, - "number_of_pending_tasks": { - "description": "The number of cluster-level changes that have not yet been executed.", - "type": "number" + "progress": { + "description": "The progress report for the job by phase.", + "type": "string" }, - "relocating_shards": { - "description": "The number of shards that are under relocation.", - "type": "number" + "assignment_explanation": { + "description": "Messages related to the selection of a node.", + "type": "string" }, - "status": { - "$ref": "#/components/schemas/_types:HealthStatus" + "node.id": { + "$ref": "#/components/schemas/_types:Id" }, - "task_max_waiting_in_queue": { - "$ref": "#/components/schemas/_types:Duration" + "node.name": { + "$ref": "#/components/schemas/_types:Name" }, - "task_max_waiting_in_queue_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "node.ephemeral_id": { + "$ref": "#/components/schemas/_types:Id" }, - "timed_out": { - "description": "If false the response returned within the period of time that is specified by the timeout parameter (30s by default)", - "type": "boolean" + "node.address": { + "description": "The network address of the assigned node.", + "type": "string" + } + } + }, + "cat._types:CatDatafeedColumns": { + "oneOf": [ + { + "$ref": "#/components/schemas/cat._types:CatDatafeedColumn" }, - "unassigned_shards": { - "description": "The number of shards that are not allocated.", - "type": "number" + { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat._types:CatDatafeedColumn" + } } - }, - "required": [ - "active_primary_shards", - "active_shards", - "active_shards_percent_as_number", - "cluster_name", - "delayed_unassigned_shards", - "initializing_shards", - "number_of_data_nodes", - "number_of_in_flight_fetch", - "number_of_nodes", - "number_of_pending_tasks", - "relocating_shards", - "status", - "task_max_waiting_in_queue_millis", - "timed_out", - "unassigned_shards" ] }, - "cluster.health:IndexHealthStats": { + "cat._types:CatDatafeedColumn": { + "type": "string", + "enum": [ + "ae", + "bc", + "id", + "na", + "ne", + "ni", + "nn", + "sba", + "sc", + "seah", + "st", + "s" + ] + }, + "cat.ml_datafeeds:DatafeedsRecord": { "type": "object", "properties": { - "active_primary_shards": { - "type": "number" + "id": { + "description": "The datafeed identifier.", + "type": "string" }, - "active_shards": { - "type": "number" + "state": { + "$ref": "#/components/schemas/ml._types:DatafeedState" }, - "initializing_shards": { - "type": "number" + "assignment_explanation": { + "description": "For started datafeeds only, contains messages relating to the selection of a node.", + "type": "string" }, - "number_of_replicas": { - "type": "number" + "buckets.count": { + "description": "The number of buckets processed.", + "type": "string" }, - "number_of_shards": { - "type": "number" + "search.count": { + "description": "The number of searches run by the datafeed.", + "type": "string" }, - "relocating_shards": { - "type": "number" + "search.time": { + "description": "The total time the datafeed spent searching, in milliseconds.", + "type": "string" }, - "shards": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/cluster.health:ShardHealthStats" - } + "search.bucket_avg": { + "description": "The average search time per bucket, in milliseconds.", + "type": "string" }, - "status": { - "$ref": "#/components/schemas/_types:HealthStatus" + "search.exp_avg_hour": { + "description": "The exponential average search time per hour, in milliseconds.", + "type": "string" }, - "unassigned_shards": { - "type": "number" + "node.id": { + "description": "The unique identifier of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", + "type": "string" + }, + "node.name": { + "description": "The name of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", + "type": "string" + }, + "node.ephemeral_id": { + "description": "The ephemeral identifier of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", + "type": "string" + }, + "node.address": { + "description": "The network address of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", + "type": "string" } - }, - "required": [ - "active_primary_shards", - "active_shards", - "initializing_shards", - "number_of_replicas", - "number_of_shards", - "relocating_shards", - "status", - "unassigned_shards" + } + }, + "ml._types:DatafeedState": { + "type": "string", + "enum": [ + "started", + "stopped", + "starting", + "stopping" + ] + }, + "cat._types:CatAnonalyDetectorColumns": { + "oneOf": [ + { + "$ref": "#/components/schemas/cat._types:CatAnomalyDetectorColumn" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/cat._types:CatAnomalyDetectorColumn" + } + } + ] + }, + "cat._types:CatAnomalyDetectorColumn": { + "type": "string", + "enum": [ + "assignment_explanation", + "buckets.count", + "buckets.time.exp_avg", + "buckets.time.exp_avg_hour", + "buckets.time.max", + "buckets.time.min", + "buckets.time.total", + "data.buckets", + "data.earliest_record", + "data.empty_buckets", + "data.input_bytes", + "data.input_fields", + "data.input_records", + "data.invalid_dates", + "data.last", + "data.last_empty_bucket", + "data.last_sparse_bucket", + "data.latest_record", + "data.missing_fields", + "data.out_of_order_timestamps", + "data.processed_fields", + "data.processed_records", + "data.sparse_buckets", + "forecasts.memory.avg", + "forecasts.memory.max", + "forecasts.memory.min", + "forecasts.memory.total", + "forecasts.records.avg", + "forecasts.records.max", + "forecasts.records.min", + "forecasts.records.total", + "forecasts.time.avg", + "forecasts.time.max", + "forecasts.time.min", + "forecasts.time.total", + "forecasts.total", + "id", + "model.bucket_allocation_failures", + "model.by_fields", + "model.bytes", + "model.bytes_exceeded", + "model.categorization_status", + "model.categorized_doc_count", + "model.dead_category_count", + "model.failed_category_count", + "model.frequent_category_count", + "model.log_time", + "model.memory_limit", + "model.memory_status", + "model.over_fields", + "model.partition_fields", + "model.rare_category_count", + "model.timestamp", + "model.total_category_count", + "node.address", + "node.ephemeral_id", + "node.id", + "node.name", + "opened_time", + "state" ] }, - "cluster.health:ShardHealthStats": { + "cat.ml_jobs:JobsRecord": { "type": "object", "properties": { - "active_shards": { - "type": "number" + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "state": { + "$ref": "#/components/schemas/ml._types:JobState" + }, + "opened_time": { + "description": "For open jobs only, the amount of time the job has been opened.", + "type": "string" + }, + "assignment_explanation": { + "description": "For open anomaly detection jobs only, contains messages relating to the selection of a node to run the job.", + "type": "string" }, - "initializing_shards": { - "type": "number" + "data.processed_records": { + "description": "The number of input documents that have been processed by the anomaly detection job.\nThis value includes documents with missing fields, since they are nonetheless analyzed.\nIf you use datafeeds and have aggregations in your search query, the `processed_record_count` is the number of aggregation results processed, not the number of Elasticsearch documents.", + "type": "string" }, - "primary_active": { - "type": "boolean" + "data.processed_fields": { + "description": "The total number of fields in all the documents that have been processed by the anomaly detection job.\nOnly fields that are specified in the detector configuration object contribute to this count.\nThe timestamp is not included in this count.", + "type": "string" }, - "relocating_shards": { - "type": "number" + "data.input_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" }, - "status": { - "$ref": "#/components/schemas/_types:HealthStatus" + "data.input_records": { + "description": "The number of input documents posted to the anomaly detection job.", + "type": "string" }, - "unassigned_shards": { - "type": "number" - } - }, - "required": [ - "active_shards", - "initializing_shards", - "primary_active", - "relocating_shards", - "status", - "unassigned_shards" - ] - }, - "_types:ClusterInfoTargets": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:ClusterInfoTarget" + "data.input_fields": { + "description": "The total number of fields in input documents posted to the anomaly detection job.\nThis count includes fields that are not used in the analysis.\nHowever, be aware that if you are using a datafeed, it extracts only the required fields from the documents it retrieves before posting them to the job.", + "type": "string" }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ClusterInfoTarget" - } - } - ] - }, - "_types:ClusterInfoTarget": { - "type": "string", - "enum": [ - "_all", - "http", - "ingest", - "thread_pool", - "script" - ] - }, - "nodes._types:Http": { - "type": "object", - "properties": { - "current_open": { - "description": "Current number of open HTTP connections for the node.", - "type": "number" + "data.invalid_dates": { + "description": "The number of input documents with either a missing date field or a date that could not be parsed.", + "type": "string" }, - "total_opened": { - "description": "Total number of HTTP connections opened for the node.", - "type": "number" + "data.missing_fields": { + "description": "The number of input documents that are missing a field that the anomaly detection job is configured to analyze.\nInput documents with missing fields are still processed because it is possible that not all fields are missing.\nIf you are using datafeeds or posting data to the job in JSON format, a high `missing_field_count` is often not an indication of data issues.\nIt is not necessarily a cause for concern.", + "type": "string" }, - "clients": { - "description": "Information on current and recently-closed HTTP client connections.\nClients that have been closed longer than the `http.client_stats.closed_channels.max_age` setting will not be represented here.", - "type": "array", - "items": { - "$ref": "#/components/schemas/nodes._types:Client" - } - } - } - }, - "nodes._types:Client": { - "type": "object", - "properties": { - "id": { - "description": "Unique ID for the HTTP client.", - "type": "number" + "data.out_of_order_timestamps": { + "description": "The number of input documents that have a timestamp chronologically preceding the start of the current anomaly detection bucket offset by the latency window.\nThis information is applicable only when you provide data to the anomaly detection job by using the post data API.\nThese out of order documents are discarded, since jobs require time series data to be in ascending chronological order.", + "type": "string" }, - "agent": { - "description": "Reported agent for the HTTP client.\nIf unavailable, this property is not included in the response.", + "data.empty_buckets": { + "description": "The number of buckets which did not contain any data.\nIf your data contains many empty buckets, consider increasing your `bucket_span` or using functions that are tolerant to gaps in data such as mean, `non_null_sum` or `non_zero_count`.", "type": "string" }, - "local_address": { - "description": "Local address for the HTTP connection.", + "data.sparse_buckets": { + "description": "The number of buckets that contained few data points compared to the expected number of data points.\nIf your data contains many sparse buckets, consider using a longer `bucket_span`.", "type": "string" }, - "remote_address": { - "description": "Remote address for the HTTP connection.", + "data.buckets": { + "description": "The total number of buckets processed.", "type": "string" }, - "last_uri": { - "description": "The URI of the client’s most recent request.", + "data.earliest_record": { + "description": "The timestamp of the earliest chronologically input document.", "type": "string" }, - "opened_time_millis": { - "description": "Time at which the client opened the connection.", - "type": "number" + "data.latest_record": { + "description": "The timestamp of the latest chronologically input document.", + "type": "string" }, - "closed_time_millis": { - "description": "Time at which the client closed the connection if the connection is closed.", - "type": "number" + "data.last": { + "description": "The timestamp at which data was last analyzed, according to server time.", + "type": "string" }, - "last_request_time_millis": { - "description": "Time of the most recent request from this client.", - "type": "number" + "data.last_empty_bucket": { + "description": "The timestamp of the last bucket that did not contain any data.", + "type": "string" }, - "request_count": { - "description": "Number of requests from this client.", - "type": "number" + "data.last_sparse_bucket": { + "description": "The timestamp of the last bucket that was considered sparse.", + "type": "string" }, - "request_size_bytes": { - "description": "Cumulative size in bytes of all requests from this client.", - "type": "number" + "model.bytes": { + "$ref": "#/components/schemas/_types:ByteSize" }, - "x_opaque_id": { - "description": "Value from the client’s `x-opaque-id` HTTP header.\nIf unavailable, this property is not included in the response.", + "model.memory_status": { + "$ref": "#/components/schemas/ml._types:MemoryStatus" + }, + "model.bytes_exceeded": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "model.memory_limit": { + "description": "The upper limit for model memory usage, checked on increasing values.", "type": "string" - } - } - }, - "nodes._types:Ingest": { - "type": "object", - "properties": { - "pipelines": { - "description": "Contains statistics about ingest pipelines for the node.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:IngestTotal" - } }, - "total": { - "$ref": "#/components/schemas/nodes._types:IngestTotal" - } - } - }, - "nodes._types:IngestTotal": { - "type": "object", - "properties": { - "count": { - "description": "Total number of documents ingested during the lifetime of this node.", - "type": "number" + "model.by_fields": { + "description": "The number of `by` field values that were analyzed by the models.\nThis value is cumulative for all detectors in the job.", + "type": "string" }, - "current": { - "description": "Total number of documents currently being ingested.", - "type": "number" + "model.over_fields": { + "description": "The number of `over` field values that were analyzed by the models.\nThis value is cumulative for all detectors in the job.", + "type": "string" }, - "failed": { - "description": "Total number of failed ingest operations during the lifetime of this node.", - "type": "number" + "model.partition_fields": { + "description": "The number of `partition` field values that were analyzed by the models.\nThis value is cumulative for all detectors in the job.", + "type": "string" }, - "processors": { - "description": "Total number of ingest processors.", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:KeyedProcessor" - } - } + "model.bucket_allocation_failures": { + "description": "The number of buckets for which new entities in incoming data were not processed due to insufficient model memory.\nThis situation is also signified by a `hard_limit: memory_status` property value.", + "type": "string" }, - "time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - } - }, - "nodes._types:KeyedProcessor": { - "type": "object", - "properties": { - "stats": { - "$ref": "#/components/schemas/nodes._types:Processor" + "model.categorization_status": { + "$ref": "#/components/schemas/ml._types:CategorizationStatus" }, - "type": { + "model.categorized_doc_count": { + "description": "The number of documents that have had a field categorized.", "type": "string" - } - } - }, - "nodes._types:Processor": { - "type": "object", - "properties": { - "count": { - "description": "Number of documents transformed by the processor.", - "type": "number" }, - "current": { - "description": "Number of documents currently being transformed by the processor.", - "type": "number" + "model.total_category_count": { + "description": "The number of categories created by categorization.", + "type": "string" }, - "failed": { - "description": "Number of failed operations for the processor.", - "type": "number" + "model.frequent_category_count": { + "description": "The number of categories that match more than 1% of categorized documents.", + "type": "string" }, - "time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - } - }, - "nodes._types:ThreadCount": { - "type": "object", - "properties": { - "active": { - "description": "Number of active threads in the thread pool.", - "type": "number" + "model.rare_category_count": { + "description": "The number of categories that match just one categorized document.", + "type": "string" }, - "completed": { - "description": "Number of tasks completed by the thread pool executor.", - "type": "number" + "model.dead_category_count": { + "description": "The number of categories created by categorization that will never be assigned again because another category’s definition makes it a superset of the dead category.\nDead categories are a side effect of the way categorization has no prior training.", + "type": "string" }, - "largest": { - "description": "Highest number of active threads in the thread pool.", - "type": "number" + "model.failed_category_count": { + "description": "The number of times that categorization wanted to create a new category but couldn’t because the job had hit its `model_memory_limit`.\nThis count does not track which specific categories failed to be created.\nTherefore you cannot use this value to determine the number of unique categories that were missed.", + "type": "string" }, - "queue": { - "description": "Number of tasks in queue for the thread pool.", - "type": "number" + "model.log_time": { + "description": "The timestamp when the model stats were gathered, according to server time.", + "type": "string" }, - "rejected": { - "description": "Number of tasks rejected by the thread pool executor.", - "type": "number" + "model.timestamp": { + "description": "The timestamp of the last record when the model stats were gathered.", + "type": "string" }, - "threads": { - "description": "Number of threads in the thread pool.", - "type": "number" - } - } - }, - "nodes._types:Scripting": { - "type": "object", - "properties": { - "cache_evictions": { - "description": "Total number of times the script cache has evicted old data.", - "type": "number" + "forecasts.total": { + "description": "The number of individual forecasts currently available for the job.\nA value of one or more indicates that forecasts exist.", + "type": "string" }, - "compilations": { - "description": "Total number of inline script compilations performed by the node.", - "type": "number" + "forecasts.memory.min": { + "description": "The minimum memory usage in bytes for forecasts related to the anomaly detection job.", + "type": "string" }, - "compilations_history": { - "description": "Contains this recent history of script compilations.", - "type": "object", - "additionalProperties": { - "type": "number" - } + "forecasts.memory.max": { + "description": "The maximum memory usage in bytes for forecasts related to the anomaly detection job.", + "type": "string" }, - "compilation_limit_triggered": { - "description": "Total number of times the script compilation circuit breaker has limited inline script compilations.", - "type": "number" + "forecasts.memory.avg": { + "description": "The average memory usage in bytes for forecasts related to the anomaly detection job.", + "type": "string" }, - "contexts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/nodes._types:Context" - } - } - } - }, - "nodes._types:Context": { - "type": "object", - "properties": { - "context": { + "forecasts.memory.total": { + "description": "The total memory usage in bytes for forecasts related to the anomaly detection job.", "type": "string" }, - "compilations": { - "type": "number" + "forecasts.records.min": { + "description": "The minimum number of `model_forecast` documents written for forecasts related to the anomaly detection job.", + "type": "string" }, - "cache_evictions": { - "type": "number" + "forecasts.records.max": { + "description": "The maximum number of `model_forecast` documents written for forecasts related to the anomaly detection job.", + "type": "string" }, - "compilation_limit_triggered": { - "type": "number" - } - } - }, - "cluster.pending_tasks:PendingTask": { - "type": "object", - "properties": { - "executing": { - "description": "Indicates whether the pending tasks are currently executing or not.", - "type": "boolean" + "forecasts.records.avg": { + "description": "The average number of `model_forecast` documents written for forecasts related to the anomaly detection job.", + "type": "string" }, - "insert_order": { - "description": "The number that represents when the task has been inserted into the task queue.", - "type": "number" + "forecasts.records.total": { + "description": "The total number of `model_forecast` documents written for forecasts related to the anomaly detection job.", + "type": "string" }, - "priority": { - "description": "The priority of the pending task.\nThe valid priorities in descending priority order are: `IMMEDIATE` > `URGENT` > `HIGH` > `NORMAL` > `LOW` > `LANGUID`.", + "forecasts.time.min": { + "description": "The minimum runtime in milliseconds for forecasts related to the anomaly detection job.", "type": "string" }, - "source": { - "description": "A general description of the cluster task that may include a reason and origin.", + "forecasts.time.max": { + "description": "The maximum runtime in milliseconds for forecasts related to the anomaly detection job.", "type": "string" }, - "time_in_queue": { - "$ref": "#/components/schemas/_types:Duration" + "forecasts.time.avg": { + "description": "The average runtime in milliseconds for forecasts related to the anomaly detection job.", + "type": "string" }, - "time_in_queue_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "executing", - "insert_order", - "priority", - "source", - "time_in_queue_millis" - ] - }, - "indices._types:IndexState": { - "type": "object", - "properties": { - "aliases": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:Alias" - } + "forecasts.time.total": { + "description": "The total runtime in milliseconds for forecasts related to the anomaly detection job.", + "type": "string" }, - "mappings": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" + "node.id": { + "$ref": "#/components/schemas/_types:NodeId" }, - "settings": { - "$ref": "#/components/schemas/indices._types:IndexSettings" + "node.name": { + "description": "The name of the assigned node.", + "type": "string" }, - "defaults": { - "$ref": "#/components/schemas/indices._types:IndexSettings" + "node.ephemeral_id": { + "$ref": "#/components/schemas/_types:NodeId" }, - "data_stream": { - "$ref": "#/components/schemas/_types:DataStreamName" + "node.address": { + "description": "The network address of the assigned node.", + "type": "string" }, - "lifecycle": { - "$ref": "#/components/schemas/indices._types:DataStreamLifecycle" - } - } - }, - "indices._types:Alias": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + "buckets.count": { + "description": "The number of bucket results produced by the job.", + "type": "string" }, - "index_routing": { - "$ref": "#/components/schemas/_types:Routing" + "buckets.time.total": { + "description": "The sum of all bucket processing times, in milliseconds.", + "type": "string" }, - "is_hidden": { - "description": "If `true`, the alias is hidden.\nAll indices for the alias must have the same `is_hidden` value.", - "type": "boolean" + "buckets.time.min": { + "description": "The minimum of all bucket processing times, in milliseconds.", + "type": "string" }, - "is_write_index": { - "description": "If `true`, the index is the write index for the alias.", - "type": "boolean" + "buckets.time.max": { + "description": "The maximum of all bucket processing times, in milliseconds.", + "type": "string" }, - "routing": { - "$ref": "#/components/schemas/_types:Routing" + "buckets.time.exp_avg": { + "description": "The exponential moving average of all bucket processing times, in milliseconds.", + "type": "string" }, - "search_routing": { - "$ref": "#/components/schemas/_types:Routing" + "buckets.time.exp_avg_hour": { + "description": "The exponential moving average of bucket processing times calculated in a one hour time window, in milliseconds.", + "type": "string" } } }, - "_types:DataStreamName": { + "ml._types:JobState": { + "type": "string", + "enum": [ + "closing", + "closed", + "opened", + "failed", + "opening" + ] + }, + "_types:ByteSize": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-data-stream.html#indices-create-data-stream-api-path-params" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/api-conventions.html#byte-units" }, - "type": "string" - }, - "indices._types:DataStreamLifecycle": { - "type": "object", - "properties": { - "data_retention": { - "$ref": "#/components/schemas/_types:Duration" + "oneOf": [ + { + "type": "number" }, - "downsampling": { - "$ref": "#/components/schemas/indices._types:DataStreamLifecycleDownsampling" + { + "type": "string" } - } + ] + }, + "ml._types:MemoryStatus": { + "type": "string", + "enum": [ + "ok", + "soft_limit", + "hard_limit" + ] + }, + "ml._types:CategorizationStatus": { + "type": "string", + "enum": [ + "ok", + "warn" + ] + }, + "_types:NodeId": { + "type": "string" }, - "_types:Metrics": { + "cat._types:CatTrainedModelsColumns": { "oneOf": [ { - "type": "string" + "$ref": "#/components/schemas/cat._types:CatTrainedModelsColumn" }, { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/cat._types:CatTrainedModelsColumn" } } ] }, - "cluster.reroute:Command": { + "cat._types:CatTrainedModelsColumn": { + "type": "string", + "enum": [ + "create_time", + "created_by", + "data_frame_analytics_id", + "description", + "heap_size", + "id", + "ingest.count", + "ingest.current", + "ingest.failed", + "ingest.pipelines", + "ingest.time", + "license", + "operations", + "version" + ] + }, + "cat.ml_trained_models:TrainedModelsRecord": { "type": "object", "properties": { - "cancel": { - "$ref": "#/components/schemas/cluster.reroute:CommandCancelAction" + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "created_by": { + "description": "Information about the creator of the model.", + "type": "string" }, - "move": { - "$ref": "#/components/schemas/cluster.reroute:CommandMoveAction" + "heap_size": { + "$ref": "#/components/schemas/_types:ByteSize" }, - "allocate_replica": { - "$ref": "#/components/schemas/cluster.reroute:CommandAllocateReplicaAction" + "operations": { + "description": "The estimated number of operations to use the model.\nThis number helps to measure the computational complexity of the model.", + "type": "string" }, - "allocate_stale_primary": { - "$ref": "#/components/schemas/cluster.reroute:CommandAllocatePrimaryAction" + "license": { + "description": "The license level of the model.", + "type": "string" }, - "allocate_empty_primary": { - "$ref": "#/components/schemas/cluster.reroute:CommandAllocatePrimaryAction" - } - } - }, - "cluster.reroute:CommandCancelAction": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" + "create_time": { + "$ref": "#/components/schemas/_types:DateTime" }, - "shard": { - "type": "number" + "version": { + "$ref": "#/components/schemas/_types:VersionString" }, - "node": { + "description": { + "description": "A description of the model.", "type": "string" }, - "allow_primary": { - "type": "boolean" - } - }, - "required": [ - "index", - "shard", - "node" - ] - }, - "cluster.reroute:CommandMoveAction": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" + "ingest.pipelines": { + "description": "The number of pipelines that are referencing the model.", + "type": "string" }, - "shard": { - "type": "number" + "ingest.count": { + "description": "The total number of documents that are processed by the model.", + "type": "string" }, - "from_node": { - "description": "The node to move the shard from", + "ingest.time": { + "description": "The total time spent processing documents with thie model.", "type": "string" }, - "to_node": { - "description": "The node to move the shard to", + "ingest.current": { + "description": "The total number of documents that are currently being handled by the model.", "type": "string" - } - }, - "required": [ - "index", - "shard", - "from_node", - "to_node" - ] - }, - "cluster.reroute:CommandAllocateReplicaAction": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" }, - "shard": { - "type": "number" + "ingest.failed": { + "description": "The total number of failed ingest attempts with the model.", + "type": "string" }, - "node": { + "data_frame.id": { + "description": "The identifier for the data frame analytics job that created the model.\nOnly displayed if the job is still available.", "type": "string" - } - }, - "required": [ - "index", - "shard", - "node" - ] - }, - "cluster.reroute:CommandAllocatePrimaryAction": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" }, - "shard": { - "type": "number" + "data_frame.create_time": { + "description": "The time the data frame analytics job was created.", + "type": "string" }, - "node": { + "data_frame.source_index": { + "description": "The source index used to train in the data frame analysis.", "type": "string" }, - "accept_data_loss": { - "description": "If a node which has a copy of the data rejoins the cluster later on, that data will be deleted. To ensure that these implications are well-understood, this command requires the flag accept_data_loss to be explicitly set to true", - "type": "boolean" + "data_frame.analysis": { + "description": "The analysis used by the data frame to build the model.", + "type": "string" + }, + "type": { + "type": "string" } - }, - "required": [ - "index", - "shard", - "node", - "accept_data_loss" - ] + } }, - "cluster.reroute:RerouteExplanation": { - "type": "object", - "properties": { - "command": { - "type": "string" + "cat._types:CatTransformColumns": { + "oneOf": [ + { + "$ref": "#/components/schemas/cat._types:CatTransformColumn" }, - "decisions": { + { "type": "array", "items": { - "$ref": "#/components/schemas/cluster.reroute:RerouteDecision" + "$ref": "#/components/schemas/cat._types:CatTransformColumn" } - }, - "parameters": { - "$ref": "#/components/schemas/cluster.reroute:RerouteParameters" } - }, - "required": [ - "command", - "decisions", - "parameters" ] }, - "cluster.reroute:RerouteDecision": { - "type": "object", - "properties": { - "decider": { - "type": "string" - }, - "decision": { - "type": "string" - }, - "explanation": { - "type": "string" - } - }, - "required": [ - "decider", - "decision", - "explanation" + "cat._types:CatTransformColumn": { + "type": "string", + "enum": [ + "changes_last_detection_time", + "checkpoint", + "checkpoint_duration_time_exp_avg", + "checkpoint_progress", + "create_time", + "delete_time", + "description", + "dest_index", + "documents_deleted", + "documents_indexed", + "docs_per_second", + "documents_processed", + "frequency", + "id", + "index_failure", + "index_time", + "index_total", + "indexed_documents_exp_avg", + "last_search_time", + "max_page_search_size", + "pages_processed", + "pipeline", + "processed_documents_exp_avg", + "processing_time", + "reason", + "search_failure", + "search_time", + "search_total", + "source_index", + "state", + "transform_type", + "trigger_count", + "version" ] }, - "cluster.reroute:RerouteParameters": { + "cat.transforms:TransformsRecord": { "type": "object", "properties": { - "allow_primary": { - "type": "boolean" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "node": { - "$ref": "#/components/schemas/_types:NodeName" + "id": { + "$ref": "#/components/schemas/_types:Id" }, - "shard": { - "type": "number" + "state": { + "description": "The status of the transform.\nReturned values include:\n`aborting`: The transform is aborting.\n`failed: The transform failed. For more information about the failure, check the `reason` field.\n`indexing`: The transform is actively processing data and creating new documents.\n`started`: The transform is running but not actively indexing data.\n`stopped`: The transform is stopped.\n`stopping`: The transform is stopping.", + "type": "string" }, - "from_node": { - "$ref": "#/components/schemas/_types:NodeName" + "checkpoint": { + "description": "The sequence number for the checkpoint.", + "type": "string" }, - "to_node": { - "$ref": "#/components/schemas/_types:NodeName" - } - }, - "required": [ - "allow_primary", - "index", - "node", - "shard" - ] - }, - "_types:NodeName": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html" - }, - "type": "string" - }, - "cluster.stats:StatsResponseBase": { - "allOf": [ - { - "$ref": "#/components/schemas/nodes._types:NodesResponseBase" + "documents_processed": { + "description": "The number of documents that have been processed from the source index of the transform.", + "type": "string" }, - { - "type": "object", - "properties": { - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "cluster_uuid": { - "$ref": "#/components/schemas/_types:Uuid" - }, - "indices": { - "$ref": "#/components/schemas/cluster.stats:ClusterIndices" + "checkpoint_progress": { + "description": "The progress of the next checkpoint that is currently in progress.", + "oneOf": [ + { + "type": "string" }, - "nodes": { - "$ref": "#/components/schemas/cluster.stats:ClusterNodes" + { + "nullable": true, + "type": "string" + } + ] + }, + "last_search_time": { + "description": "The timestamp of the last search in the source indices.\nThis field is shown only if the transform is running.", + "oneOf": [ + { + "type": "string" }, - "status": { - "$ref": "#/components/schemas/_types:HealthStatus" + { + "nullable": true, + "type": "string" + } + ] + }, + "changes_last_detection_time": { + "description": "The timestamp when changes were last detected in the source indices.", + "oneOf": [ + { + "type": "string" }, - "timestamp": { - "description": "Unix timestamp, in milliseconds, for the last time the cluster statistics were refreshed.", - "type": "number" + { + "nullable": true, + "type": "string" } - }, - "required": [ - "cluster_name", - "cluster_uuid", - "indices", - "nodes", - "status", - "timestamp" ] - } - ] - }, - "cluster.stats:ClusterIndices": { - "type": "object", - "properties": { - "analysis": { - "$ref": "#/components/schemas/cluster.stats:CharFilterTypes" }, - "completion": { - "$ref": "#/components/schemas/_types:CompletionStats" + "create_time": { + "description": "The time the transform was created.", + "type": "string" }, - "count": { - "description": "Total number of indices with shards assigned to selected nodes.", - "type": "number" + "version": { + "$ref": "#/components/schemas/_types:VersionString" }, - "docs": { - "$ref": "#/components/schemas/_types:DocStats" + "source_index": { + "description": "The source indices for the transform.", + "type": "string" }, - "fielddata": { - "$ref": "#/components/schemas/_types:FielddataStats" + "dest_index": { + "description": "The destination index for the transform.", + "type": "string" }, - "query_cache": { - "$ref": "#/components/schemas/_types:QueryCacheStats" + "pipeline": { + "description": "The unique identifier for the ingest pipeline.", + "type": "string" }, - "segments": { - "$ref": "#/components/schemas/_types:SegmentsStats" + "description": { + "description": "The description of the transform.", + "type": "string" }, - "shards": { - "$ref": "#/components/schemas/cluster.stats:ClusterIndicesShards" + "transform_type": { + "description": "The type of transform: `batch` or `continuous`.", + "type": "string" }, - "store": { - "$ref": "#/components/schemas/_types:StoreStats" + "frequency": { + "description": "The interval between checks for changes in the source indices when the transform is running continuously.", + "type": "string" }, - "mappings": { - "$ref": "#/components/schemas/cluster.stats:FieldTypesMappings" + "max_page_search_size": { + "description": "The initial page size that is used for the composite aggregation for each checkpoint.", + "type": "string" }, - "versions": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analyzer-anatomy.html" - }, - "description": "Contains statistics about analyzers and analyzer components used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:IndicesVersions" - } - } - }, - "required": [ - "analysis", - "completion", - "count", - "docs", - "fielddata", - "query_cache", - "segments", - "shards", - "store", - "mappings" - ] - }, - "cluster.stats:CharFilterTypes": { - "type": "object", - "properties": { - "analyzer_types": { - "description": "Contains statistics about analyzer types used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } + "docs_per_second": { + "description": "The number of input documents per second.", + "type": "string" }, - "built_in_analyzers": { - "description": "Contains statistics about built-in analyzers used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } + "reason": { + "description": "If a transform has a `failed` state, these details describe the reason for failure.", + "type": "string" }, - "built_in_char_filters": { - "description": "Contains statistics about built-in character filters used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } + "search_total": { + "description": "The total number of search operations on the source index for the transform.", + "type": "string" }, - "built_in_filters": { - "description": "Contains statistics about built-in token filters used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } + "search_failure": { + "description": "The total number of search failures.", + "type": "string" }, - "built_in_tokenizers": { - "description": "Contains statistics about built-in tokenizers used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } + "search_time": { + "description": "The total amount of search time, in milliseconds.", + "type": "string" }, - "char_filter_types": { - "description": "Contains statistics about character filter types used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } + "index_total": { + "description": "The total number of index operations done by the transform.", + "type": "string" }, - "filter_types": { - "description": "Contains statistics about token filter types used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } + "index_failure": { + "description": "The total number of indexing failures.", + "type": "string" }, - "tokenizer_types": { - "description": "Contains statistics about tokenizer types used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } - } - }, - "required": [ - "analyzer_types", - "built_in_analyzers", - "built_in_char_filters", - "built_in_filters", - "built_in_tokenizers", - "char_filter_types", - "filter_types", - "tokenizer_types" - ] - }, - "cluster.stats:FieldTypes": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" + "index_time": { + "description": "The total time spent indexing documents, in milliseconds.", + "type": "string" }, - "count": { - "description": "The number of occurrences of the field type in selected nodes.", - "type": "number" + "documents_indexed": { + "description": "The number of documents that have been indexed into the destination index for the transform.", + "type": "string" }, - "index_count": { - "description": "The number of indices containing the field type in selected nodes.", - "type": "number" + "delete_time": { + "description": "The total time spent deleting documents, in milliseconds.", + "type": "string" }, - "indexed_vector_count": { - "description": "For dense_vector field types, number of indexed vector types in selected nodes.", - "type": "number" + "documents_deleted": { + "description": "The number of documents deleted from the destination index due to the retention policy for the transform.", + "type": "string" }, - "indexed_vector_dim_max": { - "description": "For dense_vector field types, the maximum dimension of all indexed vector types in selected nodes.", - "type": "number" + "trigger_count": { + "description": "The number of times the transform has been triggered by the scheduler.\nFor example, the scheduler triggers the transform indexer to check for updates or ingest new data at an interval specified in the `frequency` property.", + "type": "string" }, - "indexed_vector_dim_min": { - "description": "For dense_vector field types, the minimum dimension of all indexed vector types in selected nodes.", - "type": "number" + "pages_processed": { + "description": "The number of search or bulk index operations processed.\nDocuments are processed in batches instead of individually.", + "type": "string" }, - "script_count": { - "description": "The number of fields that declare a script.", - "type": "number" + "processing_time": { + "description": "The total time spent processing results, in milliseconds.", + "type": "string" + }, + "checkpoint_duration_time_exp_avg": { + "description": "The exponential moving average of the duration of the checkpoint, in milliseconds.", + "type": "string" + }, + "indexed_documents_exp_avg": { + "description": "The exponential moving average of the number of new documents that have been indexed.", + "type": "string" + }, + "processed_documents_exp_avg": { + "description": "The exponential moving average of the number of documents that have been processed.", + "type": "string" } - }, - "required": [ - "name", - "count", - "index_count" - ] + } }, - "_types:CompletionStats": { - "type": "object", - "properties": { - "size_in_bytes": { - "description": "Total amount, in bytes, of memory used for completion across all shards assigned to selected nodes.", - "type": "number" - }, - "size": { - "$ref": "#/components/schemas/_types:ByteSize" + "_types:ScrollIds": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:ScrollId" }, - "fields": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:FieldSizeUsage" + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ScrollId" } } - }, - "required": [ - "size_in_bytes" ] }, - "_types:FieldSizeUsage": { + "cluster._types:ComponentTemplate": { "type": "object", "properties": { - "size": { - "$ref": "#/components/schemas/_types:ByteSize" + "name": { + "$ref": "#/components/schemas/_types:Name" }, - "size_in_bytes": { - "type": "number" + "component_template": { + "$ref": "#/components/schemas/cluster._types:ComponentTemplateNode" } }, "required": [ - "size_in_bytes" + "name", + "component_template" ] }, - "_types:DocStats": { + "cluster._types:ComponentTemplateNode": { "type": "object", "properties": { - "count": { - "description": "Total number of non-deleted documents across all primary shards assigned to selected nodes.\nThis number is based on documents in Lucene segments and may include documents from nested fields.", - "type": "number" + "template": { + "$ref": "#/components/schemas/cluster._types:ComponentTemplateSummary" }, - "deleted": { - "description": "Total number of deleted documents across all primary shards assigned to selected nodes.\nThis number is based on documents in Lucene segments.\nElasticsearch reclaims the disk space of deleted Lucene documents when a segment is merged.", - "type": "number" + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" } }, "required": [ - "count" + "template" ] }, - "_types:FielddataStats": { + "cluster._types:ComponentTemplateSummary": { "type": "object", "properties": { - "evictions": { - "type": "number" + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" }, - "memory_size": { - "$ref": "#/components/schemas/_types:ByteSize" + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" }, - "memory_size_in_bytes": { - "type": "number" + "settings": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + } }, - "fields": { + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "aliases": { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/_types:FieldMemoryUsage" + "$ref": "#/components/schemas/indices._types:AliasDefinition" } - } - }, - "required": [ - "memory_size_in_bytes" - ] - }, - "_types:FieldMemoryUsage": { - "type": "object", - "properties": { - "memory_size": { - "$ref": "#/components/schemas/_types:ByteSize" }, - "memory_size_in_bytes": { - "type": "number" + "lifecycle": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleWithRollover" } - }, - "required": [ - "memory_size_in_bytes" - ] + } }, - "_types:QueryCacheStats": { + "indices._types:IndexSettings": { "type": "object", "properties": { - "cache_count": { - "description": "Total number of entries added to the query cache across all shards assigned to selected nodes.\nThis number includes current and evicted entries.", - "type": "number" + "index": { + "$ref": "#/components/schemas/indices._types:IndexSettings" }, - "cache_size": { - "description": "Total number of entries currently in the query cache across all shards assigned to selected nodes.", - "type": "number" + "mode": { + "type": "string" }, - "evictions": { - "description": "Total number of query cache evictions across all shards assigned to selected nodes.", - "type": "number" + "routing_path": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] }, - "hit_count": { - "description": "Total count of query cache hits across all shards assigned to selected nodes.", + "soft_deletes": { + "$ref": "#/components/schemas/indices._types:SoftDeletes" + }, + "sort": { + "$ref": "#/components/schemas/indices._types:IndexSegmentSort" + }, + "number_of_shards": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "number_of_replicas": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "number_of_routing_shards": { "type": "number" }, - "memory_size": { - "$ref": "#/components/schemas/_types:ByteSize" + "check_on_startup": { + "$ref": "#/components/schemas/indices._types:IndexCheckOnStartup" }, - "memory_size_in_bytes": { - "description": "Total amount, in bytes, of memory used for the query cache across all shards assigned to selected nodes.", + "codec": { + "type": "string" + }, + "routing_partition_size": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" + }, + "load_fixed_bitset_filters_eagerly": { + "type": "boolean" + }, + "hidden": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] + }, + "auto_expand_replicas": { + "type": "string" + }, + "merge": { + "$ref": "#/components/schemas/indices._types:Merge" + }, + "search": { + "$ref": "#/components/schemas/indices._types:SettingsSearch" + }, + "refresh_interval": { + "$ref": "#/components/schemas/_types:Duration" + }, + "max_result_window": { "type": "number" }, - "miss_count": { - "description": "Total count of query cache misses across all shards assigned to selected nodes.", + "max_inner_result_window": { "type": "number" }, - "total_count": { - "description": "Total count of hits and misses in the query cache across all shards assigned to selected nodes.", + "max_rescore_window": { "type": "number" - } - }, - "required": [ - "cache_count", - "cache_size", - "evictions", - "hit_count", - "memory_size_in_bytes", - "miss_count", - "total_count" - ] - }, - "_types:SegmentsStats": { - "type": "object", - "properties": { - "count": { - "description": "Total number of segments across all shards assigned to selected nodes.", + }, + "max_docvalue_fields_search": { "type": "number" }, - "doc_values_memory": { - "$ref": "#/components/schemas/_types:ByteSize" + "max_script_fields": { + "type": "number" }, - "doc_values_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used for doc values across all shards assigned to selected nodes.", + "max_ngram_diff": { "type": "number" }, - "file_sizes": { - "description": "This object is not populated by the cluster stats API.\nTo get information on segment files, use the node stats API.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices.stats:ShardFileSizeInfo" - } + "max_shingle_diff": { + "type": "number" }, - "fixed_bit_set": { - "$ref": "#/components/schemas/_types:ByteSize" + "blocks": { + "$ref": "#/components/schemas/indices._types:IndexSettingBlocks" }, - "fixed_bit_set_memory_in_bytes": { - "description": "Total amount of memory, in bytes, used by fixed bit sets across all shards assigned to selected nodes.", + "max_refresh_listeners": { "type": "number" }, - "index_writer_memory": { - "$ref": "#/components/schemas/_types:ByteSize" + "analyze": { + "$ref": "#/components/schemas/indices._types:SettingsAnalyze" }, - "index_writer_max_memory_in_bytes": { - "type": "number" + "highlight": { + "$ref": "#/components/schemas/indices._types:SettingsHighlight" }, - "index_writer_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used by all index writers across all shards assigned to selected nodes.", + "max_terms_count": { "type": "number" }, - "max_unsafe_auto_id_timestamp": { - "description": "Unix timestamp, in milliseconds, of the most recently retried indexing request.", + "max_regex_length": { "type": "number" }, - "memory": { - "$ref": "#/components/schemas/_types:ByteSize" + "routing": { + "$ref": "#/components/schemas/indices._types:IndexRouting" }, - "memory_in_bytes": { - "description": "Total amount, in bytes, of memory used for segments across all shards assigned to selected nodes.", - "type": "number" + "gc_deletes": { + "$ref": "#/components/schemas/_types:Duration" }, - "norms_memory": { - "$ref": "#/components/schemas/_types:ByteSize" + "default_pipeline": { + "$ref": "#/components/schemas/_types:PipelineName" }, - "norms_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used for normalization factors across all shards assigned to selected nodes.", - "type": "number" + "final_pipeline": { + "$ref": "#/components/schemas/_types:PipelineName" }, - "points_memory": { - "$ref": "#/components/schemas/_types:ByteSize" + "lifecycle": { + "$ref": "#/components/schemas/indices._types:IndexSettingsLifecycle" }, - "points_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used for points across all shards assigned to selected nodes.", - "type": "number" + "provided_name": { + "$ref": "#/components/schemas/_types:Name" }, - "stored_memory": { - "$ref": "#/components/schemas/_types:ByteSize" + "creation_date": { + "$ref": "#/components/schemas/_spec_utils:StringifiedEpochTimeUnitMillis" }, - "stored_fields_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used for stored fields across all shards assigned to selected nodes.", - "type": "number" + "creation_date_string": { + "$ref": "#/components/schemas/_types:DateTime" }, - "terms_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used for terms across all shards assigned to selected nodes.", + "uuid": { + "$ref": "#/components/schemas/_types:Uuid" + }, + "version": { + "$ref": "#/components/schemas/indices._types:IndexVersioning" + }, + "verified_before_close": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] + }, + "format": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "max_slices_per_scroll": { "type": "number" }, - "terms_memory": { - "$ref": "#/components/schemas/_types:ByteSize" + "translog": { + "$ref": "#/components/schemas/indices._types:Translog" }, - "term_vectory_memory": { - "$ref": "#/components/schemas/_types:ByteSize" + "query_string": { + "$ref": "#/components/schemas/indices._types:SettingsQueryString" }, - "term_vectors_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used for term vectors across all shards assigned to selected nodes.", + "priority": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "top_metrics_max_size": { "type": "number" }, - "version_map_memory": { - "$ref": "#/components/schemas/_types:ByteSize" + "analysis": { + "$ref": "#/components/schemas/indices._types:IndexSettingsAnalysis" }, - "version_map_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used by all version maps across all shards assigned to selected nodes.", + "settings": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + }, + "time_series": { + "$ref": "#/components/schemas/indices._types:IndexSettingsTimeSeries" + }, + "shards": { "type": "number" + }, + "queries": { + "$ref": "#/components/schemas/indices._types:Queries" + }, + "similarity": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarity" + }, + "mapping": { + "$ref": "#/components/schemas/indices._types:MappingLimitSettings" + }, + "indexing.slowlog": { + "$ref": "#/components/schemas/indices._types:IndexingSlowlogSettings" + }, + "indexing_pressure": { + "$ref": "#/components/schemas/indices._types:IndexingPressure" + }, + "store": { + "$ref": "#/components/schemas/indices._types:Storage" + } + } + }, + "indices._types:SoftDeletes": { + "type": "object", + "properties": { + "enabled": { + "description": "Indicates whether soft deletes are enabled on the index.", + "type": "boolean" + }, + "retention_lease": { + "$ref": "#/components/schemas/indices._types:RetentionLease" + } + } + }, + "indices._types:RetentionLease": { + "type": "object", + "properties": { + "period": { + "$ref": "#/components/schemas/_types:Duration" } }, "required": [ - "count", - "doc_values_memory_in_bytes", - "file_sizes", - "fixed_bit_set_memory_in_bytes", - "index_writer_memory_in_bytes", - "max_unsafe_auto_id_timestamp", - "memory_in_bytes", - "norms_memory_in_bytes", - "points_memory_in_bytes", - "stored_fields_memory_in_bytes", - "terms_memory_in_bytes", - "term_vectors_memory_in_bytes", - "version_map_memory_in_bytes" + "period" ] }, - "indices.stats:ShardFileSizeInfo": { + "indices._types:IndexSegmentSort": { "type": "object", "properties": { - "description": { - "type": "string" - }, - "size_in_bytes": { - "type": "number" + "field": { + "$ref": "#/components/schemas/_types:Fields" }, - "min_size_in_bytes": { - "type": "number" + "order": { + "oneOf": [ + { + "$ref": "#/components/schemas/indices._types:SegmentSortOrder" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices._types:SegmentSortOrder" + } + } + ] }, - "max_size_in_bytes": { - "type": "number" + "mode": { + "oneOf": [ + { + "$ref": "#/components/schemas/indices._types:SegmentSortMode" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices._types:SegmentSortMode" + } + } + ] }, - "average_size_in_bytes": { + "missing": { + "oneOf": [ + { + "$ref": "#/components/schemas/indices._types:SegmentSortMissing" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices._types:SegmentSortMissing" + } + } + ] + } + } + }, + "indices._types:SegmentSortOrder": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + }, + "indices._types:SegmentSortMode": { + "type": "string", + "enum": [ + "min", + "max" + ] + }, + "indices._types:SegmentSortMissing": { + "type": "string", + "enum": [ + "_last", + "_first" + ] + }, + "indices._types:IndexCheckOnStartup": { + "type": "string", + "enum": [ + "true", + "false", + "checksum" + ] + }, + "_spec_utils:Stringifiedinteger": { + "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", + "oneOf": [ + { "type": "number" }, - "count": { - "type": "number" + { + "type": "string" } - }, - "required": [ - "description", - "size_in_bytes" ] }, - "cluster.stats:ClusterIndicesShards": { + "indices._types:Merge": { "type": "object", "properties": { - "index": { - "$ref": "#/components/schemas/cluster.stats:ClusterIndicesShardsIndex" + "scheduler": { + "$ref": "#/components/schemas/indices._types:MergeScheduler" + } + } + }, + "indices._types:MergeScheduler": { + "type": "object", + "properties": { + "max_thread_count": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" }, - "primaries": { - "description": "Number of primary shards assigned to selected nodes.", - "type": "number" + "max_merge_count": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" + } + } + }, + "indices._types:SettingsSearch": { + "type": "object", + "properties": { + "idle": { + "$ref": "#/components/schemas/indices._types:SearchIdle" }, - "replication": { - "description": "Ratio of replica shards to primary shards across all selected nodes.", - "type": "number" + "slowlog": { + "$ref": "#/components/schemas/indices._types:SlowlogSettings" + } + } + }, + "indices._types:SearchIdle": { + "type": "object", + "properties": { + "after": { + "$ref": "#/components/schemas/_types:Duration" + } + } + }, + "indices._types:SlowlogSettings": { + "type": "object", + "properties": { + "level": { + "type": "string" }, - "total": { - "description": "Total number of shards assigned to selected nodes.", + "source": { "type": "number" + }, + "reformat": { + "type": "boolean" + }, + "threshold": { + "$ref": "#/components/schemas/indices._types:SlowlogTresholds" } } }, - "cluster.stats:ClusterIndicesShardsIndex": { + "indices._types:SlowlogTresholds": { "type": "object", "properties": { - "primaries": { - "$ref": "#/components/schemas/cluster.stats:ClusterShardMetrics" - }, - "replication": { - "$ref": "#/components/schemas/cluster.stats:ClusterShardMetrics" + "query": { + "$ref": "#/components/schemas/indices._types:SlowlogTresholdLevels" }, - "shards": { - "$ref": "#/components/schemas/cluster.stats:ClusterShardMetrics" + "fetch": { + "$ref": "#/components/schemas/indices._types:SlowlogTresholdLevels" } - }, - "required": [ - "primaries", - "replication", - "shards" - ] + } }, - "cluster.stats:ClusterShardMetrics": { + "indices._types:SlowlogTresholdLevels": { "type": "object", "properties": { - "avg": { - "description": "Mean number of shards in an index, counting only shards assigned to selected nodes.", - "type": "number" + "warn": { + "$ref": "#/components/schemas/_types:Duration" }, - "max": { - "description": "Maximum number of shards in an index, counting only shards assigned to selected nodes.", - "type": "number" + "info": { + "$ref": "#/components/schemas/_types:Duration" }, - "min": { - "description": "Minimum number of shards in an index, counting only shards assigned to selected nodes.", - "type": "number" + "debug": { + "$ref": "#/components/schemas/_types:Duration" + }, + "trace": { + "$ref": "#/components/schemas/_types:Duration" } - }, - "required": [ - "avg", - "max", - "min" - ] + } }, - "_types:StoreStats": { + "indices._types:IndexSettingBlocks": { "type": "object", "properties": { - "size": { - "$ref": "#/components/schemas/_types:ByteSize" + "read_only": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" }, - "size_in_bytes": { - "description": "Total size, in bytes, of all shards assigned to selected nodes.", - "type": "number" + "read_only_allow_delete": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" }, - "reserved": { - "$ref": "#/components/schemas/_types:ByteSize" + "read": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" }, - "reserved_in_bytes": { - "description": "A prediction, in bytes, of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.", - "type": "number" + "write": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" }, - "total_data_set_size": { - "$ref": "#/components/schemas/_types:ByteSize" + "metadata": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + } + } + }, + "_spec_utils:Stringifiedboolean": { + "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", + "oneOf": [ + { + "type": "boolean" }, - "total_data_set_size_in_bytes": { - "description": "Total data set size, in bytes, of all shards assigned to selected nodes.\nThis includes the size of shards not stored fully on the nodes, such as the cache for partially mounted indices.", - "type": "number" + { + "type": "string" } - }, - "required": [ - "size_in_bytes", - "reserved_in_bytes" ] }, - "cluster.stats:FieldTypesMappings": { + "indices._types:SettingsAnalyze": { "type": "object", "properties": { - "field_types": { - "description": "Contains statistics about field data types used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } - }, - "runtime_field_types": { - "description": "Contains statistics about runtime field data types used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:RuntimeFieldTypes" - } - }, - "total_field_count": { - "description": "Total number of fields in all non-system indices.", - "type": "number" - }, - "total_deduplicated_field_count": { - "description": "Total number of fields in all non-system indices, accounting for mapping deduplication.", - "type": "number" - }, - "total_deduplicated_mapping_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "total_deduplicated_mapping_size_in_bytes": { - "description": "Total size of all mappings, in bytes, after deduplication and compression.", - "type": "number" + "max_token_count": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" } - }, - "required": [ - "field_types" - ] + } }, - "cluster.stats:RuntimeFieldTypes": { + "indices._types:SettingsHighlight": { "type": "object", "properties": { - "chars_max": { - "description": "Maximum number of characters for a single runtime field script.", - "type": "number" - }, - "chars_total": { - "description": "Total number of characters for the scripts that define the current runtime field data type.", - "type": "number" - }, - "count": { - "description": "Number of runtime fields mapped to the field data type in selected nodes.", - "type": "number" - }, - "doc_max": { - "description": "Maximum number of accesses to doc_values for a single runtime field script", - "type": "number" - }, - "doc_total": { - "description": "Total number of accesses to doc_values for the scripts that define the current runtime field data type.", - "type": "number" - }, - "index_count": { - "description": "Number of indices containing a mapping of the runtime field data type in selected nodes.", - "type": "number" - }, - "lang": { - "description": "Script languages used for the runtime fields scripts.", - "type": "array", - "items": { - "type": "string" - } - }, - "lines_max": { - "description": "Maximum number of lines for a single runtime field script.", - "type": "number" - }, - "lines_total": { - "description": "Total number of lines for the scripts that define the current runtime field data type.", - "type": "number" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "scriptless_count": { - "description": "Number of runtime fields that don’t declare a script.", - "type": "number" - }, - "shadowed_count": { - "description": "Number of runtime fields that shadow an indexed field.", - "type": "number" - }, - "source_max": { - "description": "Maximum number of accesses to _source for a single runtime field script.", - "type": "number" - }, - "source_total": { - "description": "Total number of accesses to _source for the scripts that define the current runtime field data type.", + "max_analyzed_offset": { "type": "number" } - }, - "required": [ - "chars_max", - "chars_total", - "count", - "doc_max", - "doc_total", - "index_count", - "lang", - "lines_max", - "lines_total", - "name", - "scriptless_count", - "shadowed_count", - "source_max", - "source_total" - ] + } }, - "cluster.stats:IndicesVersions": { + "indices._types:IndexRouting": { "type": "object", "properties": { - "index_count": { - "type": "number" - }, - "primary_shard_count": { - "type": "number" - }, - "total_primary_bytes": { - "type": "number" + "allocation": { + "$ref": "#/components/schemas/indices._types:IndexRoutingAllocation" }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" + "rebalance": { + "$ref": "#/components/schemas/indices._types:IndexRoutingRebalance" } - }, - "required": [ - "index_count", - "primary_shard_count", - "total_primary_bytes", - "version" - ] + } }, - "cluster.stats:ClusterNodes": { + "indices._types:IndexRoutingAllocation": { "type": "object", "properties": { - "count": { - "$ref": "#/components/schemas/cluster.stats:ClusterNodeCount" - }, - "discovery_types": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-hosts-providers.html" - }, - "description": "Contains statistics about the discovery types used by selected nodes.", - "type": "object", - "additionalProperties": { - "type": "number" - } - }, - "fs": { - "$ref": "#/components/schemas/cluster.stats:ClusterFileSystem" - }, - "indexing_pressure": { - "$ref": "#/components/schemas/cluster.stats:IndexingPressure" - }, - "ingest": { - "$ref": "#/components/schemas/cluster.stats:ClusterIngest" - }, - "jvm": { - "$ref": "#/components/schemas/cluster.stats:ClusterJvm" - }, - "network_types": { - "$ref": "#/components/schemas/cluster.stats:ClusterNetworkTypes" - }, - "os": { - "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystem" - }, - "packaging_types": { - "description": "Contains statistics about Elasticsearch distributions installed on selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:NodePackagingType" - } + "enable": { + "$ref": "#/components/schemas/indices._types:IndexRoutingAllocationOptions" }, - "plugins": { - "description": "Contains statistics about installed plugins and modules by selected nodes.\nIf no plugins or modules are installed, this array is empty.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:PluginStats" - } + "include": { + "$ref": "#/components/schemas/indices._types:IndexRoutingAllocationInclude" }, - "process": { - "$ref": "#/components/schemas/cluster.stats:ClusterProcess" + "initial_recovery": { + "$ref": "#/components/schemas/indices._types:IndexRoutingAllocationInitialRecovery" }, - "versions": { - "description": "Array of Elasticsearch versions used on selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:VersionString" - } + "disk": { + "$ref": "#/components/schemas/indices._types:IndexRoutingAllocationDisk" } - }, - "required": [ - "count", - "discovery_types", - "fs", - "indexing_pressure", - "ingest", - "jvm", - "network_types", - "os", - "packaging_types", - "plugins", - "process", - "versions" + } + }, + "indices._types:IndexRoutingAllocationOptions": { + "type": "string", + "enum": [ + "all", + "primaries", + "new_primaries", + "none" ] }, - "cluster.stats:ClusterNodeCount": { + "indices._types:IndexRoutingAllocationInclude": { "type": "object", "properties": { - "coordinating_only": { - "type": "number" - }, - "data": { - "type": "number" - }, - "data_cold": { - "type": "number" - }, - "data_content": { - "type": "number" - }, - "data_frozen": { - "type": "number" - }, - "data_hot": { - "type": "number" - }, - "data_warm": { - "type": "number" - }, - "ingest": { - "type": "number" - }, - "master": { - "type": "number" - }, - "ml": { - "type": "number" - }, - "remote_cluster_client": { - "type": "number" - }, - "total": { - "type": "number" - }, - "transform": { - "type": "number" + "_tier_preference": { + "type": "string" }, - "voting_only": { - "type": "number" + "_id": { + "$ref": "#/components/schemas/_types:Id" } - }, - "required": [ - "coordinating_only", - "data", - "data_cold", - "data_content", - "data_hot", - "data_warm", - "ingest", - "master", - "ml", - "remote_cluster_client", - "total", - "transform", - "voting_only" - ] + } }, - "cluster.stats:ClusterFileSystem": { + "indices._types:IndexRoutingAllocationInitialRecovery": { "type": "object", "properties": { - "available_in_bytes": { - "description": "Total number of bytes available to JVM in file stores across all selected nodes.\nDepending on operating system or process-level restrictions, this number may be less than `nodes.fs.free_in_byes`.\nThis is the actual amount of free disk space the selected Elasticsearch nodes can use.", - "type": "number" - }, - "free_in_bytes": { - "description": "Total number of unallocated bytes in file stores across all selected nodes.", - "type": "number" - }, - "total_in_bytes": { - "description": "Total size, in bytes, of all file stores across all selected nodes.", - "type": "number" + "_id": { + "$ref": "#/components/schemas/_types:Id" } - }, - "required": [ - "available_in_bytes", - "free_in_bytes", - "total_in_bytes" - ] + } }, - "cluster.stats:IndexingPressure": { + "indices._types:IndexRoutingAllocationDisk": { "type": "object", "properties": { - "memory": { - "$ref": "#/components/schemas/cluster.stats:IndexingPressureMemory" + "threshold_enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] } - }, - "required": [ - "memory" - ] + } }, - "cluster.stats:IndexingPressureMemory": { + "indices._types:IndexRoutingRebalance": { "type": "object", "properties": { - "current": { - "$ref": "#/components/schemas/cluster.stats:IndexingPressureMemorySummary" - }, - "limit_in_bytes": { - "type": "number" - }, - "total": { - "$ref": "#/components/schemas/cluster.stats:IndexingPressureMemorySummary" + "enable": { + "$ref": "#/components/schemas/indices._types:IndexRoutingRebalanceOptions" } }, "required": [ - "current", - "limit_in_bytes", - "total" + "enable" ] }, - "cluster.stats:IndexingPressureMemorySummary": { + "indices._types:IndexRoutingRebalanceOptions": { + "type": "string", + "enum": [ + "all", + "primaries", + "replicas", + "none" + ] + }, + "_types:PipelineName": { + "type": "string" + }, + "indices._types:IndexSettingsLifecycle": { "type": "object", "properties": { - "all_in_bytes": { - "type": "number" - }, - "combined_coordinating_and_primary_in_bytes": { - "type": "number" - }, - "coordinating_in_bytes": { - "type": "number" + "name": { + "$ref": "#/components/schemas/_types:Name" }, - "coordinating_rejections": { - "type": "number" + "indexing_complete": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" }, - "primary_in_bytes": { + "origination_date": { + "description": "If specified, this is the timestamp used to calculate the index age for its phase transitions. Use this setting\nif you create a new index that contains old data and want to use the original creation date to calculate the index\nage. Specified as a Unix epoch value in milliseconds.", "type": "number" }, - "primary_rejections": { - "type": "number" + "parse_origination_date": { + "description": "Set to true to parse the origination date from the index name. This origination date is used to calculate the index age\nfor its phase transitions. The index name must match the pattern ^.*-{date_format}-\\\\d+, where the date_format is\nyyyy.MM.dd and the trailing digits are optional. An index that was rolled over would normally match the full format,\nfor example logs-2016.10.31-000002). If the index name doesn’t match the pattern, index creation fails.", + "type": "boolean" }, - "replica_in_bytes": { - "type": "number" + "step": { + "$ref": "#/components/schemas/indices._types:IndexSettingsLifecycleStep" }, - "replica_rejections": { - "type": "number" + "rollover_alias": { + "description": "The index alias to update when the index rolls over. Specify when using a policy that contains a rollover action.\nWhen the index rolls over, the alias is updated to reflect that the index is no longer the write index. For more\ninformation about rolling indices, see Rollover.", + "type": "string" } }, "required": [ - "all_in_bytes", - "combined_coordinating_and_primary_in_bytes", - "coordinating_in_bytes", - "primary_in_bytes", - "replica_in_bytes" + "name" ] }, - "cluster.stats:ClusterIngest": { + "indices._types:IndexSettingsLifecycleStep": { "type": "object", "properties": { - "number_of_pipelines": { - "type": "number" - }, - "processor_stats": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/cluster.stats:ClusterProcessor" - } + "wait_time_threshold": { + "$ref": "#/components/schemas/_types:Duration" + } + } + }, + "_spec_utils:StringifiedEpochTimeUnitMillis": { + "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + { + "type": "string" } - }, - "required": [ - "number_of_pipelines", - "processor_stats" ] }, - "cluster.stats:ClusterProcessor": { + "_types:Uuid": { + "type": "string" + }, + "indices._types:IndexVersioning": { "type": "object", "properties": { - "count": { - "type": "number" - }, - "current": { - "type": "number" - }, - "failed": { - "type": "number" - }, - "time": { - "$ref": "#/components/schemas/_types:Duration" + "created": { + "$ref": "#/components/schemas/_types:VersionString" }, - "time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "created_string": { + "type": "string" } - }, - "required": [ - "count", - "current", - "failed", - "time_in_millis" - ] + } }, - "cluster.stats:ClusterJvm": { + "indices._types:Translog": { "type": "object", "properties": { - "max_uptime_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "sync_interval": { + "$ref": "#/components/schemas/_types:Duration" }, - "mem": { - "$ref": "#/components/schemas/cluster.stats:ClusterJvmMemory" + "durability": { + "$ref": "#/components/schemas/indices._types:TranslogDurability" }, - "threads": { - "description": "Number of active threads in use by JVM across all selected nodes.", - "type": "number" + "flush_threshold_size": { + "$ref": "#/components/schemas/_types:ByteSize" }, - "versions": { - "description": "Contains statistics about the JVM versions used by selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:ClusterJvmVersion" - } + "retention": { + "$ref": "#/components/schemas/indices._types:TranslogRetention" } - }, - "required": [ - "max_uptime_in_millis", - "mem", - "threads", - "versions" + } + }, + "indices._types:TranslogDurability": { + "type": "string", + "enum": [ + "request", + "async" ] }, - "cluster.stats:ClusterJvmMemory": { + "indices._types:TranslogRetention": { "type": "object", "properties": { - "heap_max_in_bytes": { - "description": "Maximum amount of memory, in bytes, available for use by the heap across all selected nodes.", - "type": "number" + "size": { + "$ref": "#/components/schemas/_types:ByteSize" }, - "heap_used_in_bytes": { - "description": "Memory, in bytes, currently in use by the heap across all selected nodes.", - "type": "number" + "age": { + "$ref": "#/components/schemas/_types:Duration" } - }, - "required": [ - "heap_max_in_bytes", - "heap_used_in_bytes" - ] + } }, - "cluster.stats:ClusterJvmVersion": { + "indices._types:SettingsQueryString": { "type": "object", "properties": { - "bundled_jdk": { - "description": "Always `true`. All distributions come with a bundled Java Development Kit (JDK).", - "type": "boolean" - }, - "count": { - "description": "Total number of selected nodes using JVM.", - "type": "number" - }, - "using_bundled_jdk": { - "description": "If `true`, a bundled JDK is in use by JVM.", - "type": "boolean" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "vm_name": { - "description": "Name of the JVM.", - "type": "string" - }, - "vm_vendor": { - "description": "Vendor of the JVM.", - "type": "string" - }, - "vm_version": { - "$ref": "#/components/schemas/_types:VersionString" + "lenient": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" } }, "required": [ - "bundled_jdk", - "count", - "using_bundled_jdk", - "version", - "vm_name", - "vm_vendor", - "vm_version" + "lenient" ] }, - "cluster.stats:ClusterNetworkTypes": { + "indices._types:IndexSettingsAnalysis": { "type": "object", "properties": { - "http_types": { - "description": "Contains statistics about the HTTP network types used by selected nodes.", + "analyzer": { "type": "object", "additionalProperties": { - "type": "number" + "$ref": "#/components/schemas/_types.analysis:Analyzer" } }, - "transport_types": { - "description": "Contains statistics about the transport network types used by selected nodes.", + "char_filter": { "type": "object", "additionalProperties": { - "type": "number" + "$ref": "#/components/schemas/_types.analysis:CharFilter" + } + }, + "filter": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.analysis:TokenFilter" + } + }, + "normalizer": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.analysis:Normalizer" + } + }, + "tokenizer": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.analysis:Tokenizer" } } - }, - "required": [ - "http_types", - "transport_types" + } + }, + "_types.analysis:CharFilter": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/_types.analysis:CharFilterDefinition" + } ] }, - "cluster.stats:ClusterOperatingSystem": { - "type": "object", - "properties": { - "allocated_processors": { - "description": "Number of processors used to calculate thread pool size across all selected nodes.\nThis number can be set with the processors setting of a node and defaults to the number of processors reported by the operating system.\nIn both cases, this number will never be larger than 32.", - "type": "number" + "_types.analysis:CharFilterDefinition": { + "discriminator": { + "propertyName": "type" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/_types.analysis:HtmlStripCharFilter" }, - "architectures": { - "description": "Contains statistics about processor architectures (for example, x86_64 or aarch64) used by selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystemArchitecture" - } + { + "$ref": "#/components/schemas/_types.analysis:MappingCharFilter" }, - "available_processors": { - "description": "Number of processors available to JVM across all selected nodes.", - "type": "number" + { + "$ref": "#/components/schemas/_types.analysis:PatternReplaceCharFilter" }, - "mem": { - "$ref": "#/components/schemas/cluster.stats:OperatingSystemMemoryInfo" + { + "$ref": "#/components/schemas/_types.analysis:IcuNormalizationCharFilter" }, - "names": { - "description": "Contains statistics about operating systems used by selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystemName" - } + { + "$ref": "#/components/schemas/_types.analysis:KuromojiIterationMarkCharFilter" + } + ] + }, + "_types.analysis:HtmlStripCharFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CharFilterBase" }, - "pretty_names": { - "description": "Contains statistics about operating systems used by selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystemPrettyName" - } + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "html_strip" + ] + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "allocated_processors", - "available_processors", - "mem", - "names", - "pretty_names" ] }, - "cluster.stats:ClusterOperatingSystemArchitecture": { + "_types.analysis:CharFilterBase": { "type": "object", "properties": { - "arch": { - "description": "Name of an architecture used by one or more selected nodes.", + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + } + }, + "_types.analysis:MappingCharFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CharFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "mapping" + ] + }, + "mappings": { + "type": "array", + "items": { + "type": "string" + } + }, + "mappings_path": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:PatternReplaceCharFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CharFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "pattern_replace" + ] + }, + "flags": { + "type": "string" + }, + "pattern": { + "type": "string" + }, + "replacement": { + "type": "string" + } + }, + "required": [ + "type", + "pattern" + ] + } + ] + }, + "_types.analysis:IcuNormalizationCharFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CharFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "icu_normalizer" + ] + }, + "mode": { + "$ref": "#/components/schemas/_types.analysis:IcuNormalizationMode" + }, + "name": { + "$ref": "#/components/schemas/_types.analysis:IcuNormalizationType" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:KuromojiIterationMarkCharFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CharFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "kuromoji_iteration_mark" + ] + }, + "normalize_kana": { + "type": "boolean" + }, + "normalize_kanji": { + "type": "boolean" + } + }, + "required": [ + "type", + "normalize_kana", + "normalize_kanji" + ] + } + ] + }, + "_types.analysis:TokenFilter": { + "oneOf": [ + { "type": "string" }, - "count": { - "description": "Number of selected nodes using the architecture.", - "type": "number" + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterDefinition" } - }, - "required": [ - "arch", - "count" ] }, - "cluster.stats:OperatingSystemMemoryInfo": { - "type": "object", - "properties": { - "adjusted_total_in_bytes": { - "description": "Total amount, in bytes, of memory across all selected nodes, but using the value specified using the `es.total_memory_bytes` system property instead of measured total memory for those nodes where that system property was set.", - "type": "number" + "_types.analysis:TokenFilterDefinition": { + "discriminator": { + "propertyName": "type" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/_types.analysis:AsciiFoldingTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:CommonGramsTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:ConditionTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:DelimitedPayloadTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:EdgeNGramTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:ElisionTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:FingerprintTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:HunspellTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:HyphenationDecompounderTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:KeepTypesTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:KeepWordsTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:KeywordMarkerTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:KStemTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:LengthTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:LimitTokenCountTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:LowercaseTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:MultiplexerTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:NGramTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:NoriPartOfSpeechTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:PatternCaptureTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:PatternReplaceTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:PorterStemTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:PredicateTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:RemoveDuplicatesTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:ReverseTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:ShingleTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:SnowballTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:StemmerOverrideTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:StemmerTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:StopTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:SynonymGraphTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:SynonymTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:TrimTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:TruncateTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:UniqueTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:UppercaseTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:WordDelimiterGraphTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:WordDelimiterTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:KuromojiStemmerTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:KuromojiReadingFormTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:KuromojiPartOfSpeechTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:IcuTokenizer" }, - "free_in_bytes": { - "description": "Amount, in bytes, of free physical memory across all selected nodes.", - "type": "number" + { + "$ref": "#/components/schemas/_types.analysis:IcuCollationTokenFilter" }, - "free_percent": { - "description": "Percentage of free physical memory across all selected nodes.", - "type": "number" + { + "$ref": "#/components/schemas/_types.analysis:IcuFoldingTokenFilter" }, - "total_in_bytes": { - "description": "Total amount, in bytes, of physical memory across all selected nodes.", - "type": "number" + { + "$ref": "#/components/schemas/_types.analysis:IcuNormalizationTokenFilter" }, - "used_in_bytes": { - "description": "Amount, in bytes, of physical memory in use across all selected nodes.", - "type": "number" + { + "$ref": "#/components/schemas/_types.analysis:IcuTransformTokenFilter" }, - "used_percent": { - "description": "Percentage of physical memory in use across all selected nodes.", - "type": "number" + { + "$ref": "#/components/schemas/_types.analysis:PhoneticTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis:DictionaryDecompounderTokenFilter" } - }, - "required": [ - "free_in_bytes", - "free_percent", - "total_in_bytes", - "used_in_bytes", - "used_percent" ] }, - "cluster.stats:ClusterOperatingSystemName": { - "type": "object", - "properties": { - "count": { - "description": "Number of selected nodes using the operating system.", - "type": "number" + "_types.analysis:AsciiFoldingTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "name": { - "$ref": "#/components/schemas/_types:Name" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "asciifolding" + ] + }, + "preserve_original": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "count", - "name" ] }, - "cluster.stats:ClusterOperatingSystemPrettyName": { + "_types.analysis:TokenFilterBase": { "type": "object", "properties": { - "count": { - "description": "Number of selected nodes using the operating system.", - "type": "number" - }, - "pretty_name": { - "$ref": "#/components/schemas/_types:Name" + "version": { + "$ref": "#/components/schemas/_types:VersionString" } - }, - "required": [ - "count", - "pretty_name" - ] + } }, - "cluster.stats:NodePackagingType": { - "type": "object", - "properties": { - "count": { - "description": "Number of selected nodes using the distribution flavor and file type.", - "type": "number" - }, - "flavor": { - "description": "Type of Elasticsearch distribution. This is always `default`.", - "type": "string" + "_types.analysis:CommonGramsTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "type": { - "description": "File type (such as `tar` or `zip`) used for the distribution package.", - "type": "string" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "common_grams" + ] + }, + "common_words": { + "type": "array", + "items": { + "type": "string" + } + }, + "common_words_path": { + "type": "string" + }, + "ignore_case": { + "type": "boolean" + }, + "query_mode": { + "type": "boolean" + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "count", - "flavor", - "type" ] }, - "_types:PluginStats": { - "type": "object", - "properties": { - "classname": { - "type": "string" - }, - "description": { - "type": "string" - }, - "elasticsearch_version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "extended_plugins": { - "type": "array", - "items": { - "type": "string" - } - }, - "has_native_controller": { - "type": "boolean" - }, - "java_version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" + "_types.analysis:ConditionTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "licensed": { - "type": "boolean" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "condition" + ] + }, + "filter": { + "type": "array", + "items": { + "type": "string" + } + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + } + }, + "required": [ + "type", + "filter", + "script" + ] } - }, - "required": [ - "classname", - "description", - "elasticsearch_version", - "extended_plugins", - "has_native_controller", - "java_version", - "name", - "version", - "licensed" ] }, - "cluster.stats:ClusterProcess": { - "type": "object", - "properties": { - "cpu": { - "$ref": "#/components/schemas/cluster.stats:ClusterProcessCpu" + "_types.analysis:DelimitedPayloadTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "open_file_descriptors": { - "$ref": "#/components/schemas/cluster.stats:ClusterProcessOpenFileDescriptors" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "delimited_payload" + ] + }, + "delimiter": { + "type": "string" + }, + "encoding": { + "$ref": "#/components/schemas/_types.analysis:DelimitedPayloadEncoding" + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "cpu", - "open_file_descriptors" ] }, - "cluster.stats:ClusterProcessCpu": { - "type": "object", - "properties": { - "percent": { - "description": "Percentage of CPU used across all selected nodes.\nReturns `-1` if not supported.", - "type": "number" - } - }, - "required": [ - "percent" + "_types.analysis:DelimitedPayloadEncoding": { + "type": "string", + "enum": [ + "int", + "float", + "identity" ] }, - "cluster.stats:ClusterProcessOpenFileDescriptors": { - "type": "object", - "properties": { - "avg": { - "description": "Average number of concurrently open file descriptors.\nReturns `-1` if not supported.", - "type": "number" - }, - "max": { - "description": "Maximum number of concurrently open file descriptors allowed across all selected nodes.\nReturns `-1` if not supported.", - "type": "number" + "_types.analysis:EdgeNGramTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "min": { - "description": "Minimum number of concurrently open file descriptors across all selected nodes.\nReturns -1 if not supported.", - "type": "number" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "edge_ngram" + ] + }, + "max_gram": { + "type": "number" + }, + "min_gram": { + "type": "number" + }, + "side": { + "$ref": "#/components/schemas/_types.analysis:EdgeNGramSide" + }, + "preserve_original": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "avg", - "max", - "min" ] }, - "nodes._types:NodesResponseBase": { - "type": "object", - "properties": { - "_nodes": { - "$ref": "#/components/schemas/_types:NodeStatistics" - } - } + "_types.analysis:EdgeNGramSide": { + "type": "string", + "enum": [ + "front", + "back" + ] }, - "_types:NodeStatistics": { - "type": "object", - "properties": { - "failures": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ErrorCause" - } - }, - "total": { - "description": "Total number of nodes selected by the request.", - "type": "number" - }, - "successful": { - "description": "Number of nodes that responded successfully to the request.", - "type": "number" + "_types.analysis:ElisionTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "failed": { - "description": "Number of nodes that rejected the request or failed to respond. If this value is not 0, a reason for the rejection or failure is included in the response.", - "type": "number" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "elision" + ] + }, + "articles": { + "type": "array", + "items": { + "type": "string" + } + }, + "articles_path": { + "type": "string" + }, + "articles_case": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "total", - "successful", - "failed" ] }, - "_types:WriteResponseBase": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "_primary_term": { - "type": "number" - }, - "result": { - "$ref": "#/components/schemas/_types:Result" - }, - "_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" + "_types.analysis:FingerprintTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "_version": { - "$ref": "#/components/schemas/_types:VersionNumber" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "fingerprint" + ] + }, + "max_output_size": { + "type": "number" + }, + "separator": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:HunspellTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "forced_refresh": { - "type": "boolean" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "hunspell" + ] + }, + "dedup": { + "type": "boolean" + }, + "dictionary": { + "type": "string" + }, + "locale": { + "type": "string" + }, + "longest_only": { + "type": "boolean" + } + }, + "required": [ + "type", + "locale" + ] } - }, - "required": [ - "_id", - "_index", - "_primary_term", - "result", - "_seq_no", - "_shards", - "_version" ] }, - "_types:Result": { - "type": "string", - "enum": [ - "created", - "updated", - "deleted", - "not_found", - "noop" + "_types.analysis:HyphenationDecompounderTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CompoundWordTokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "hyphenation_decompounder" + ] + } + }, + "required": [ + "type" + ] + } ] }, - "_types:Conflicts": { - "type": "string", - "enum": [ - "abort", - "proceed" + "_types.analysis:CompoundWordTokenFilterBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "hyphenation_patterns_path": { + "type": "string" + }, + "max_subword_size": { + "type": "number" + }, + "min_subword_size": { + "type": "number" + }, + "min_word_size": { + "type": "number" + }, + "only_longest_match": { + "type": "boolean" + }, + "word_list": { + "type": "array", + "items": { + "type": "string" + } + }, + "word_list_path": { + "type": "string" + } + } + } ] }, - "_types:Slices": { - "description": "Slices configuration used to parallelize a process.", - "oneOf": [ + "_types.analysis:KeepTypesTokenFilter": { + "allOf": [ { - "type": "number" + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, { - "$ref": "#/components/schemas/_types:SlicesCalculation" + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "keep_types" + ] + }, + "mode": { + "$ref": "#/components/schemas/_types.analysis:KeepTypesMode" + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "type" + ] } ] }, - "_types:SlicesCalculation": { + "_types.analysis:KeepTypesMode": { "type": "string", "enum": [ - "auto" + "include", + "exclude" ] }, - "_types:BulkIndexByScrollFailure": { - "type": "object", - "properties": { - "cause": { - "$ref": "#/components/schemas/_types:ErrorCause" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "status": { - "type": "number" + "_types.analysis:KeepWordsTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "type": { - "type": "string" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "keep" + ] + }, + "keep_words": { + "type": "array", + "items": { + "type": "string" + } + }, + "keep_words_case": { + "type": "boolean" + }, + "keep_words_path": { + "type": "string" + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "cause", - "id", - "index", - "status", - "type" ] }, - "_types:Retries": { - "type": "object", - "properties": { - "bulk": { - "type": "number" + "_types.analysis:KeywordMarkerTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "search": { - "type": "number" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "keyword_marker" + ] + }, + "ignore_case": { + "type": "boolean" + }, + "keywords": { + "type": "array", + "items": { + "type": "string" + } + }, + "keywords_path": { + "type": "string" + }, + "keywords_pattern": { + "type": "string" + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "bulk", - "search" ] }, - "_types:TaskId": { - "oneOf": [ + "_types.analysis:KStemTokenFilter": { + "allOf": [ { - "type": "string" + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, { - "type": "number" + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "kstem" + ] + } + }, + "required": [ + "type" + ] } ] }, - "enrich.execute_policy:ExecuteEnrichPolicyStatus": { - "type": "object", - "properties": { - "phase": { - "$ref": "#/components/schemas/enrich.execute_policy:EnrichPolicyPhase" + "_types.analysis:LengthTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "length" + ] + }, + "max": { + "type": "number" + }, + "min": { + "type": "number" + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "phase" ] }, - "enrich.execute_policy:EnrichPolicyPhase": { - "type": "string", - "enum": [ - "SCHEDULED", - "RUNNING", - "COMPLETE", - "FAILED" + "_types.analysis:LimitTokenCountTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "limit" + ] + }, + "consume_all_tokens": { + "type": "boolean" + }, + "max_token_count": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" + } + }, + "required": [ + "type" + ] + } ] }, - "enrich._types:Summary": { - "type": "object", - "properties": { - "config": { + "_types.analysis:LowercaseTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" + }, + { "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/enrich._types:Policy" + "properties": { + "type": { + "type": "string", + "enum": [ + "lowercase" + ] + }, + "language": { + "type": "string" + } }, - "minProperties": 1, - "maxProperties": 1 + "required": [ + "type" + ] } - }, - "required": [ - "config" ] }, - "enrich._types:Policy": { - "type": "object", - "properties": { - "enrich_fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "match_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "query": { - "type": "string" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" + "_types.analysis:MultiplexerTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "elasticsearch_version": { - "type": "string" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "multiplexer" + ] + }, + "filters": { + "type": "array", + "items": { + "type": "string" + } + }, + "preserve_original": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + } + }, + "required": [ + "type", + "filters" + ] } - }, - "required": [ - "enrich_fields", - "indices", - "match_field" ] }, - "enrich.stats:CoordinatorStats": { - "type": "object", - "properties": { - "executed_searches_total": { - "type": "number" - }, - "node_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "queue_size": { - "type": "number" - }, - "remote_requests_current": { - "type": "number" + "_types.analysis:NGramTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "remote_requests_total": { - "type": "number" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "ngram" + ] + }, + "max_gram": { + "type": "number" + }, + "min_gram": { + "type": "number" + }, + "preserve_original": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "executed_searches_total", - "node_id", - "queue_size", - "remote_requests_current", - "remote_requests_total" ] }, - "enrich.stats:ExecutingPolicy": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" + "_types.analysis:NoriPartOfSpeechTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "task": { - "$ref": "#/components/schemas/tasks._types:TaskInfo" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "nori_part_of_speech" + ] + }, + "stoptags": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "name", - "task" ] }, - "tasks._types:TaskInfo": { - "type": "object", - "properties": { - "action": { - "type": "string" - }, - "cancelled": { - "type": "boolean" - }, - "cancellable": { - "type": "boolean" - }, - "description": { - "type": "string" + "_types.analysis:PatternCaptureTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "headers": { + { "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "id": { - "type": "number" - }, - "node": { - "$ref": "#/components/schemas/_types:NodeId" - }, - "running_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "running_time_in_nanos": { - "$ref": "#/components/schemas/_types:DurationValueUnitNanos" - }, - "start_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "status": { - "description": "Task status information can vary wildly from task to task.", - "type": "object" - }, - "type": { - "type": "string" - }, - "parent_task_id": { - "$ref": "#/components/schemas/_types:TaskId" + "properties": { + "type": { + "type": "string", + "enum": [ + "pattern_capture" + ] + }, + "patterns": { + "type": "array", + "items": { + "type": "string" + } + }, + "preserve_original": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + } + }, + "required": [ + "type", + "patterns" + ] } - }, - "required": [ - "action", - "cancellable", - "headers", - "id", - "node", - "running_time_in_nanos", - "start_time_in_millis", - "type" ] }, - "enrich.stats:CacheStats": { - "type": "object", - "properties": { - "node_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "count": { - "type": "number" - }, - "hits": { - "type": "number" + "_types.analysis:PatternReplaceTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "misses": { - "type": "number" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "pattern_replace" + ] + }, + "all": { + "type": "boolean" + }, + "flags": { + "type": "string" + }, + "pattern": { + "type": "string" + }, + "replacement": { + "type": "string" + } + }, + "required": [ + "type", + "pattern" + ] + } + ] + }, + "_types.analysis:PorterStemTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "evictions": { - "type": "number" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "porter_stem" + ] + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "node_id", - "count", - "hits", - "misses", - "evictions" ] }, - "_global.field_caps:FieldCapability": { - "type": "object", - "properties": { - "aggregatable": { - "description": "Whether this field can be aggregated on all indices.", - "type": "boolean" - }, - "indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "meta": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "non_aggregatable_indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "non_searchable_indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "searchable": { - "description": "Whether this field is indexed for search on all indices.", - "type": "boolean" - }, - "type": { - "type": "string" + "_types.analysis:PredicateTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "metadata_field": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-fields.html" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "predicate_token_filter" + ] + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + } }, - "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.", - "type": "boolean" - }, - "time_series_metric": { - "$ref": "#/components/schemas/_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.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_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.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:IndexName" - } + "required": [ + "type", + "script" + ] } - }, - "required": [ - "aggregatable", - "searchable", - "type" ] }, - "_types:IndexAlias": { - "type": "string" - }, - "fleet._types:Checkpoint": { - "type": "number" - }, - "_global.msearch:RequestItem": { - "oneOf": [ + "_types.analysis:RemoveDuplicatesTokenFilter": { + "allOf": [ { - "$ref": "#/components/schemas/_global.msearch:MultisearchHeader" + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, { - "$ref": "#/components/schemas/_global.msearch:MultisearchBody" + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "remove_duplicates" + ] + } + }, + "required": [ + "type" + ] } ] }, - "_global.msearch:MultisearchHeader": { - "type": "object", - "properties": { - "allow_no_indices": { - "type": "boolean" - }, - "expand_wildcards": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "ignore_unavailable": { - "type": "boolean" - }, - "index": { - "$ref": "#/components/schemas/_types:Indices" - }, - "preference": { - "type": "string" - }, - "request_cache": { - "type": "boolean" - }, - "routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "search_type": { - "$ref": "#/components/schemas/_types:SearchType" - }, - "ccs_minimize_roundtrips": { - "type": "boolean" - }, - "allow_partial_search_results": { - "type": "boolean" + "_types.analysis:ReverseTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "ignore_throttled": { - "type": "boolean" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "reverse" + ] + } + }, + "required": [ + "type" + ] } - } + ] }, - "_global.msearch:MultisearchBody": { - "type": "object", - "properties": { - "aggregations": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "collapse": { - "$ref": "#/components/schemas/_global.search._types:FieldCollapse" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "explain": { - "description": "If true, returns detailed information about score computation as part of a hit.", - "type": "boolean" + "_types.analysis:ShingleTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "ext": { - "description": "Configuration of search extensions defined by Elasticsearch plugins.", + { "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "stored_fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "docvalue_fields": { - "description": "Array of wildcard (*) patterns. The request returns doc values for field\nnames matching these patterns in the hits.fields property of the response.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" - } - }, - "knn": { - "description": "Defines the approximate kNN search to run.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:KnnQuery" + "properties": { + "type": { + "type": "string", + "enum": [ + "shingle" + ] }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:KnnQuery" - } + "filler_token": { + "type": "string" + }, + "max_shingle_size": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "min_shingle_size": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "output_unigrams": { + "type": "boolean" + }, + "output_unigrams_if_no_shingles": { + "type": "boolean" + }, + "token_separator": { + "type": "string" } + }, + "required": [ + "type" ] + } + ] + }, + "_types.analysis:SnowballTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "from": { - "description": "Starting document offset. By default, you cannot page through more than 10,000\nhits using the from and size parameters. To page through more hits, use the\nsearch_after parameter.", - "type": "number" - }, - "highlight": { - "$ref": "#/components/schemas/_global.search._types:Highlight" - }, - "indices_boost": { - "description": "Boosts the _score of documents from specified indices.", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "number" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "snowball" + ] + }, + "language": { + "$ref": "#/components/schemas/_types.analysis:SnowballLanguage" } - } - }, - "min_score": { - "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in the search results.", - "type": "number" - }, - "post_filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "profile": { - "type": "boolean" + }, + "required": [ + "type", + "language" + ] + } + ] + }, + "_types.analysis:StemmerOverrideTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "rescore": { - "oneOf": [ - { - "$ref": "#/components/schemas/_global.search._types:Rescore" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "stemmer_override" + ] }, - { + "rules": { "type": "array", "items": { - "$ref": "#/components/schemas/_global.search._types:Rescore" + "type": "string" } + }, + "rules_path": { + "type": "string" } + }, + "required": [ + "type" ] + } + ] + }, + "_types.analysis:StemmerTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "script_fields": { - "description": "Retrieve a script evaluation (based on different fields) for each hit.", + { "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ScriptField" - } - }, - "search_after": { - "$ref": "#/components/schemas/_types:SortResults" - }, - "size": { - "description": "The number of hits to return. By default, you cannot page through more\nthan 10,000 hits using the from and size parameters. To page through more\nhits, use the search_after parameter.", - "type": "number" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" - }, - "_source": { - "$ref": "#/components/schemas/_global.search._types:SourceConfig" - }, - "fields": { - "description": "Array of wildcard (*) patterns. The request returns values for field names\nmatching these patterns in the hits.fields property of the response.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" - } - }, - "terminate_after": { - "description": "Maximum number of documents to collect for each shard. If a query reaches this\nlimit, Elasticsearch terminates the query early. Elasticsearch collects documents\nbefore sorting. Defaults to 0, which does not terminate query execution early.", - "type": "number" - }, - "stats": { - "description": "Stats groups to associate with the search. Each group maintains a statistics\naggregation for its associated searches. You can retrieve these stats using\nthe indices stats API.", - "type": "array", - "items": { - "type": "string" - } - }, - "timeout": { - "description": "Specifies the period of time to wait for a response from each shard. If no response\nis 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.", - "type": "boolean" - }, - "track_total_hits": { - "$ref": "#/components/schemas/_global.search._types:TrackHits" - }, - "version": { - "description": "If true, returns document version as part of a hit.", - "type": "boolean" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - }, - "seq_no_primary_term": { - "description": "If true, returns sequence number and primary term of the last modification\nof each hit. See Optimistic concurrency control.", - "type": "boolean" - }, - "pit": { - "$ref": "#/components/schemas/_global.search._types:PointInTimeReference" + "properties": { + "type": { + "type": "string", + "enum": [ + "stemmer" + ] + }, + "language": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:StopTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "suggest": { - "$ref": "#/components/schemas/_global.search._types:Suggester" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "stop" + ] + }, + "ignore_case": { + "type": "boolean" + }, + "remove_trailing": { + "type": "boolean" + }, + "stopwords": { + "$ref": "#/components/schemas/_types.analysis:StopWords" + }, + "stopwords_path": { + "type": "string" + } + }, + "required": [ + "type" + ] } - } + ] }, - "_global.msearch:ResponseItem": { - "oneOf": [ + "_types.analysis:SynonymGraphTokenFilter": { + "allOf": [ { - "$ref": "#/components/schemas/_global.msearch:MultiSearchItem" + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, { - "$ref": "#/components/schemas/_types:ErrorResponseBase" + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "synonym_graph" + ] + }, + "expand": { + "type": "boolean" + }, + "format": { + "$ref": "#/components/schemas/_types.analysis:SynonymFormat" + }, + "lenient": { + "type": "boolean" + }, + "synonyms": { + "type": "array", + "items": { + "type": "string" + } + }, + "synonyms_path": { + "type": "string" + }, + "tokenizer": { + "type": "string" + }, + "updateable": { + "type": "boolean" + } + }, + "required": [ + "type" + ] } ] }, - "_global.msearch:MultiSearchItem": { + "_types.analysis:SynonymFormat": { + "type": "string", + "enum": [ + "solr", + "wordnet" + ] + }, + "_types.analysis:SynonymTokenFilter": { "allOf": [ { - "$ref": "#/components/schemas/_global.search:ResponseBody" + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, { "type": "object", "properties": { - "status": { - "type": "number" + "type": { + "type": "string", + "enum": [ + "synonym" + ] + }, + "expand": { + "type": "boolean" + }, + "format": { + "$ref": "#/components/schemas/_types.analysis:SynonymFormat" + }, + "lenient": { + "type": "boolean" + }, + "synonyms": { + "type": "array", + "items": { + "type": "string" + } + }, + "synonyms_path": { + "type": "string" + }, + "tokenizer": { + "type": "string" + }, + "updateable": { + "type": "boolean" } - } + }, + "required": [ + "type" + ] } ] }, - "_global.search:ResponseBody": { - "type": "object", - "properties": { - "took": { - "type": "number" - }, - "timed_out": { - "type": "boolean" - }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "hits": { - "$ref": "#/components/schemas/_global.search._types:HitsMetadata" - }, - "aggregations": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:Aggregate" - } - }, - "_clusters": { - "$ref": "#/components/schemas/_types:ClusterStatistics" - }, - "fields": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "max_score": { - "type": "number" - }, - "num_reduce_phases": { - "type": "number" - }, - "profile": { - "$ref": "#/components/schemas/_global.search._types:Profile" - }, - "pit_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_scroll_id": { - "$ref": "#/components/schemas/_types:ScrollId" + "_types.analysis:TrimTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "suggest": { + { "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:Suggest" + "properties": { + "type": { + "type": "string", + "enum": [ + "trim" + ] } - } - }, - "terminated_early": { - "type": "boolean" + }, + "required": [ + "type" + ] } - }, - "required": [ - "took", - "timed_out", - "_shards", - "hits" ] }, - "_types:ErrorResponseBase": { - "type": "object", - "properties": { - "error": { - "$ref": "#/components/schemas/_types:ErrorCause" + "_types.analysis:TruncateTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "status": { - "type": "number" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "truncate" + ] + }, + "length": { + "type": "number" + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "error", - "status" ] }, - "_global.get:GetResult": { - "type": "object", - "properties": { - "_index": { - "$ref": "#/components/schemas/_types:IndexName" + "_types.analysis:UniqueTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "fields": { + { "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "found": { - "type": "boolean" - }, - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_primary_term": { - "type": "number" - }, - "_routing": { - "type": "string" - }, - "_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "_source": { - "type": "object" - }, - "_version": { - "$ref": "#/components/schemas/_types:VersionNumber" + "properties": { + "type": { + "type": "string", + "enum": [ + "unique" + ] + }, + "only_on_same_position": { + "type": "boolean" + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "_index", - "found", - "_id" ] }, - "_types:StoredScript": { - "type": "object", - "properties": { - "lang": { - "$ref": "#/components/schemas/_types:ScriptLanguage" + "_types.analysis:UppercaseTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "options": { + { "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "source": { - "description": "The script source.", - "type": "string" + "properties": { + "type": { + "type": "string", + "enum": [ + "uppercase" + ] + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "lang", - "source" ] }, - "graph._types:Hop": { - "type": "object", - "properties": { - "connections": { - "$ref": "#/components/schemas/graph._types:Hop" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + "_types.analysis:WordDelimiterGraphTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "vertices": { - "description": "Contains the fields you are interested in.", - "type": "array", - "items": { - "$ref": "#/components/schemas/graph._types:VertexDefinition" - } + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "word_delimiter_graph" + ] + }, + "adjust_offsets": { + "type": "boolean" + }, + "catenate_all": { + "type": "boolean" + }, + "catenate_numbers": { + "type": "boolean" + }, + "catenate_words": { + "type": "boolean" + }, + "generate_number_parts": { + "type": "boolean" + }, + "generate_word_parts": { + "type": "boolean" + }, + "ignore_keywords": { + "type": "boolean" + }, + "preserve_original": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + }, + "protected_words": { + "type": "array", + "items": { + "type": "string" + } + }, + "protected_words_path": { + "type": "string" + }, + "split_on_case_change": { + "type": "boolean" + }, + "split_on_numerics": { + "type": "boolean" + }, + "stem_english_possessive": { + "type": "boolean" + }, + "type_table": { + "type": "array", + "items": { + "type": "string" + } + }, + "type_table_path": { + "type": "string" + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "query", - "vertices" ] }, - "graph._types:VertexDefinition": { - "type": "object", - "properties": { - "exclude": { - "description": "Prevents the specified terms from being included in the results.", - "type": "array", - "items": { - "type": "string" - } - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "include": { - "description": "Identifies the terms of interest that form the starting points from which you want to spider out.", - "type": "array", - "items": { - "$ref": "#/components/schemas/graph._types:VertexInclude" - } - }, - "min_doc_count": { - "description": "Specifies how many documents must contain a pair of terms before it is considered to be a useful connection.\nThis setting acts as a certainty threshold.", - "type": "number" - }, - "shard_min_doc_count": { - "description": "Controls how many documents on a particular shard have to contain a pair of terms before the connection is returned for global consideration.", - "type": "number" + "_types.analysis:WordDelimiterTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "size": { - "description": "Specifies the maximum number of vertex terms returned for each field.", - "type": "number" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "word_delimiter" + ] + }, + "catenate_all": { + "type": "boolean" + }, + "catenate_numbers": { + "type": "boolean" + }, + "catenate_words": { + "type": "boolean" + }, + "generate_number_parts": { + "type": "boolean" + }, + "generate_word_parts": { + "type": "boolean" + }, + "preserve_original": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + }, + "protected_words": { + "type": "array", + "items": { + "type": "string" + } + }, + "protected_words_path": { + "type": "string" + }, + "split_on_case_change": { + "type": "boolean" + }, + "split_on_numerics": { + "type": "boolean" + }, + "stem_english_possessive": { + "type": "boolean" + }, + "type_table": { + "type": "array", + "items": { + "type": "string" + } + }, + "type_table_path": { + "type": "string" + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "field" ] }, - "graph._types:VertexInclude": { - "type": "object", - "properties": { - "boost": { - "type": "number" + "_types.analysis:KuromojiStemmerTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "term": { - "type": "string" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "kuromoji_stemmer" + ] + }, + "minimum_length": { + "type": "number" + } + }, + "required": [ + "type", + "minimum_length" + ] } - }, - "required": [ - "boost", - "term" ] }, - "graph._types:ExploreControls": { - "type": "object", - "properties": { - "sample_diversity": { - "$ref": "#/components/schemas/graph._types:SampleDiversity" - }, - "sample_size": { - "description": "Each hop considers a sample of the best-matching documents on each shard.\nUsing samples improves the speed of execution and keeps exploration focused on meaningfully-connected terms.\nVery small values (less than 50) might not provide sufficient weight-of-evidence to identify significant connections between terms.\nVery large sample sizes can dilute the quality of the results and increase execution times.", - "type": "number" - }, - "timeout": { - "$ref": "#/components/schemas/_types:Duration" + "_types.analysis:KuromojiReadingFormTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "use_significance": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-significantterms-aggregation.html" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "kuromoji_readingform" + ] + }, + "use_romaji": { + "type": "boolean" + } }, - "description": "Filters associated terms so only those that are significantly associated with your query are included.", - "type": "boolean" + "required": [ + "type", + "use_romaji" + ] } - }, - "required": [ - "use_significance" ] }, - "graph._types:SampleDiversity": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" + "_types.analysis:KuromojiPartOfSpeechTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "max_docs_per_value": { - "type": "number" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "kuromoji_part_of_speech" + ] + }, + "stoptags": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "type", + "stoptags" + ] } - }, - "required": [ - "field", - "max_docs_per_value" ] }, - "graph._types:Connection": { - "type": "object", - "properties": { - "doc_count": { - "type": "number" - }, - "source": { - "type": "number" - }, - "target": { - "type": "number" + "_types.analysis:IcuTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" }, - "weight": { - "type": "number" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "icu_tokenizer" + ] + }, + "rule_files": { + "type": "string" + } + }, + "required": [ + "type", + "rule_files" + ] } - }, - "required": [ - "doc_count", - "source", - "target", - "weight" ] }, - "graph._types:Vertex": { + "_types.analysis:TokenizerBase": { "type": "object", "properties": { - "depth": { - "type": "number" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "term": { - "type": "string" + "version": { + "$ref": "#/components/schemas/_types:VersionString" + } + } + }, + "_types.analysis:IcuCollationTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "weight": { - "type": "number" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "icu_collation" + ] + }, + "alternate": { + "$ref": "#/components/schemas/_types.analysis:IcuCollationAlternate" + }, + "caseFirst": { + "$ref": "#/components/schemas/_types.analysis:IcuCollationCaseFirst" + }, + "caseLevel": { + "type": "boolean" + }, + "country": { + "type": "string" + }, + "decomposition": { + "$ref": "#/components/schemas/_types.analysis:IcuCollationDecomposition" + }, + "hiraganaQuaternaryMode": { + "type": "boolean" + }, + "language": { + "type": "string" + }, + "numeric": { + "type": "boolean" + }, + "rules": { + "type": "string" + }, + "strength": { + "$ref": "#/components/schemas/_types.analysis:IcuCollationStrength" + }, + "variableTop": { + "type": "string" + }, + "variant": { + "type": "string" + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "depth", - "field", - "term", - "weight" ] }, - "_types:OpType": { + "_types.analysis:IcuCollationAlternate": { "type": "string", "enum": [ - "index", - "create" + "shifted", + "non-ignorable" ] }, - "indices.analyze:TextToAnalyze": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } + "_types.analysis:IcuCollationCaseFirst": { + "type": "string", + "enum": [ + "lower", + "upper" ] }, - "indices.analyze:AnalyzeDetail": { - "type": "object", - "properties": { - "analyzer": { - "$ref": "#/components/schemas/indices.analyze:AnalyzerDetail" - }, - "charfilters": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.analyze:CharFilterDetail" - } - }, - "custom_analyzer": { - "type": "boolean" - }, - "tokenfilters": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.analyze:TokenDetail" - } - }, - "tokenizer": { - "$ref": "#/components/schemas/indices.analyze:TokenDetail" - } - }, - "required": [ - "custom_analyzer" + "_types.analysis:IcuCollationDecomposition": { + "type": "string", + "enum": [ + "no", + "identical" ] }, - "indices.analyze:AnalyzerDetail": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "tokens": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.analyze:ExplainAnalyzeToken" - } - } - }, - "required": [ - "name", - "tokens" + "_types.analysis:IcuCollationStrength": { + "type": "string", + "enum": [ + "primary", + "secondary", + "tertiary", + "quaternary", + "identical" ] }, - "indices.analyze:ExplainAnalyzeToken": { - "type": "object", - "properties": { - "bytes": { - "type": "string" - }, - "end_offset": { - "type": "number" - }, - "keyword": { - "type": "boolean" - }, - "position": { - "type": "number" - }, - "positionLength": { - "type": "number" - }, - "start_offset": { - "type": "number" - }, - "termFrequency": { - "type": "number" - }, - "token": { - "type": "string" + "_types.analysis:IcuFoldingTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "type": { - "type": "string" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "icu_folding" + ] + }, + "unicode_set_filter": { + "type": "string" + } + }, + "required": [ + "type", + "unicode_set_filter" + ] } - }, - "required": [ - "bytes", - "end_offset", - "position", - "positionLength", - "start_offset", - "termFrequency", - "token", - "type" ] }, - "indices.analyze:CharFilterDetail": { - "type": "object", - "properties": { - "filtered_text": { - "type": "array", - "items": { - "type": "string" - } + "_types.analysis:IcuNormalizationTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "name": { - "type": "string" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "icu_normalizer" + ] + }, + "name": { + "$ref": "#/components/schemas/_types.analysis:IcuNormalizationType" + } + }, + "required": [ + "type", + "name" + ] } - }, - "required": [ - "filtered_text", - "name" ] }, - "indices.analyze:TokenDetail": { - "type": "object", - "properties": { - "name": { - "type": "string" + "_types.analysis:IcuTransformTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "tokens": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.analyze:ExplainAnalyzeToken" - } + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "icu_transform" + ] + }, + "dir": { + "$ref": "#/components/schemas/_types.analysis:IcuTransformDirection" + }, + "id": { + "type": "string" + } + }, + "required": [ + "type", + "id" + ] } - }, - "required": [ - "name", - "tokens" ] }, - "indices.analyze:AnalyzeToken": { - "type": "object", - "properties": { - "end_offset": { - "type": "number" - }, - "position": { - "type": "number" - }, - "positionLength": { - "type": "number" - }, - "start_offset": { - "type": "number" - }, - "token": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "end_offset", - "position", - "start_offset", - "token", - "type" + "_types.analysis:IcuTransformDirection": { + "type": "string", + "enum": [ + "forward", + "reverse" ] }, - "indices.close:CloseIndexResult": { - "type": "object", - "properties": { - "closed": { - "type": "boolean" + "_types.analysis:PhoneticTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" }, - "shards": { + { "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices.close:CloseShardResult" - } + "properties": { + "type": { + "type": "string", + "enum": [ + "phonetic" + ] + }, + "encoder": { + "$ref": "#/components/schemas/_types.analysis:PhoneticEncoder" + }, + "languageset": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.analysis:PhoneticLanguage" + } + }, + "max_code_len": { + "type": "number" + }, + "name_type": { + "$ref": "#/components/schemas/_types.analysis:PhoneticNameType" + }, + "replace": { + "type": "boolean" + }, + "rule_type": { + "$ref": "#/components/schemas/_types.analysis:PhoneticRuleType" + } + }, + "required": [ + "type", + "encoder", + "languageset", + "name_type", + "rule_type" + ] } - }, - "required": [ - "closed" ] }, - "indices.close:CloseShardResult": { - "type": "object", - "properties": { - "failures": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ShardFailure" - } - } - }, - "required": [ - "failures" + "_types.analysis:PhoneticEncoder": { + "type": "string", + "enum": [ + "metaphone", + "double_metaphone", + "soundex", + "refined_soundex", + "caverphone1", + "caverphone2", + "cologne", + "nysiis", + "koelnerphonetik", + "haasephonetik", + "beider_morse", + "daitch_mokotoff" ] }, - "indices.data_streams_stats:DataStreamsStatsItem": { - "type": "object", - "properties": { - "backing_indices": { - "description": "Current number of backing indices for the data stream.", - "type": "number" - }, - "data_stream": { - "$ref": "#/components/schemas/_types:Name" - }, - "maximum_timestamp": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "store_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "store_size_bytes": { - "description": "Total size, in bytes, of all shards for the data stream’s backing indices.", - "type": "number" - } - }, - "required": [ - "backing_indices", - "data_stream", - "maximum_timestamp", - "store_size_bytes" + "_types.analysis:PhoneticLanguage": { + "type": "string", + "enum": [ + "any", + "common", + "cyrillic", + "english", + "french", + "german", + "hebrew", + "hungarian", + "polish", + "romanian", + "russian", + "spanish" ] }, - "_types:IndicesResponseBase": { + "_types.analysis:PhoneticNameType": { + "type": "string", + "enum": [ + "generic", + "ashkenazi", + "sephardic" + ] + }, + "_types.analysis:PhoneticRuleType": { + "type": "string", + "enum": [ + "approx", + "exact" + ] + }, + "_types.analysis:DictionaryDecompounderTokenFilter": { "allOf": [ { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + "$ref": "#/components/schemas/_types.analysis:CompoundWordTokenFilterBase" }, { "type": "object", "properties": { - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" + "type": { + "type": "string", + "enum": [ + "dictionary_decompounder" + ] } - } + }, + "required": [ + "type" + ] } ] }, - "_types:DataStreamNames": { + "_types.analysis:Normalizer": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-normalizers.html" + }, + "discriminator": { + "propertyName": "type" + }, "oneOf": [ { - "$ref": "#/components/schemas/_types:DataStreamName" + "$ref": "#/components/schemas/_types.analysis:LowercaseNormalizer" }, { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:DataStreamName" - } + "$ref": "#/components/schemas/_types.analysis:CustomNormalizer" } ] }, - "indices.explain_data_lifecycle:DataStreamLifecycleExplain": { + "_types.analysis:LowercaseNormalizer": { "type": "object", "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "managed_by_lifecycle": { - "type": "boolean" - }, - "index_creation_date_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "time_since_index_creation": { - "$ref": "#/components/schemas/_types:Duration" - }, - "rollover_date_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "time_since_rollover": { - "$ref": "#/components/schemas/_types:Duration" - }, - "lifecycle": { - "$ref": "#/components/schemas/indices._types:DataStreamLifecycleWithRollover" - }, - "generation_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "error": { - "type": "string" + "type": { + "type": "string", + "enum": [ + "lowercase" + ] } }, "required": [ - "index", - "managed_by_lifecycle" + "type" ] }, - "indices.get:Features": { - "oneOf": [ - { - "$ref": "#/components/schemas/indices.get:Feature" + "_types.analysis:CustomNormalizer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "custom" + ] }, - { + "char_filter": { "type": "array", "items": { - "$ref": "#/components/schemas/indices.get:Feature" + "type": "string" } - } - ] - }, - "indices.get:Feature": { - "type": "string", - "enum": [ - "aliases", - "mappings", - "settings" - ] - }, - "indices.get_alias:IndexAliases": { - "type": "object", - "properties": { - "aliases": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:AliasDefinition" + }, + "filter": { + "type": "array", + "items": { + "type": "string" } } }, "required": [ - "aliases" + "type" ] }, - "indices.get_data_lifecycle:DataStreamWithLifecycle": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:DataStreamName" + "_types.analysis:Tokenizer": { + "oneOf": [ + { + "type": "string" }, - "lifecycle": { - "$ref": "#/components/schemas/indices._types:DataStreamLifecycle" + { + "$ref": "#/components/schemas/_types.analysis:TokenizerDefinition" } - }, - "required": [ - "name" ] }, - "indices._types:DataStream": { - "type": "object", - "properties": { - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" + "_types.analysis:TokenizerDefinition": { + "discriminator": { + "propertyName": "type" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/_types.analysis:CharGroupTokenizer" }, - "allow_custom_routing": { - "description": "If `true`, the data stream allows custom routing on write request.", - "type": "boolean" + { + "$ref": "#/components/schemas/_types.analysis:EdgeNGramTokenizer" }, - "generation": { - "description": "Current generation for the data stream. This number acts as a cumulative count of the stream’s rollovers, starting at 1.", - "type": "number" + { + "$ref": "#/components/schemas/_types.analysis:KeywordTokenizer" }, - "hidden": { - "description": "If `true`, the data stream is hidden.", - "type": "boolean" + { + "$ref": "#/components/schemas/_types.analysis:LetterTokenizer" }, - "ilm_policy": { - "$ref": "#/components/schemas/_types:Name" + { + "$ref": "#/components/schemas/_types.analysis:LowercaseTokenizer" }, - "indices": { - "description": "Array of objects containing information about the data stream’s backing indices.\nThe last item in this array contains information about the stream’s current write index.", - "type": "array", - "items": { - "$ref": "#/components/schemas/indices._types:DataStreamIndex" - } + { + "$ref": "#/components/schemas/_types.analysis:NGramTokenizer" }, - "lifecycle": { - "$ref": "#/components/schemas/indices._types:DataStreamLifecycleWithRollover" + { + "$ref": "#/components/schemas/_types.analysis:NoriTokenizer" }, - "name": { - "$ref": "#/components/schemas/_types:DataStreamName" + { + "$ref": "#/components/schemas/_types.analysis:PathHierarchyTokenizer" }, - "replicated": { - "description": "If `true`, the data stream is created and managed by cross-cluster replication and the local cluster can not write into this data stream or change its mappings.", - "type": "boolean" + { + "$ref": "#/components/schemas/_types.analysis:StandardTokenizer" }, - "status": { - "$ref": "#/components/schemas/_types:HealthStatus" + { + "$ref": "#/components/schemas/_types.analysis:UaxEmailUrlTokenizer" }, - "system": { - "description": "If `true`, the data stream is created and managed by an Elastic stack component and cannot be modified through normal user interaction.", - "type": "boolean" + { + "$ref": "#/components/schemas/_types.analysis:WhitespaceTokenizer" }, - "template": { - "$ref": "#/components/schemas/_types:Name" + { + "$ref": "#/components/schemas/_types.analysis:KuromojiTokenizer" }, - "timestamp_field": { - "$ref": "#/components/schemas/indices._types:DataStreamTimestampField" + { + "$ref": "#/components/schemas/_types.analysis:PatternTokenizer" + }, + { + "$ref": "#/components/schemas/_types.analysis:IcuTokenizer" } - }, - "required": [ - "generation", - "hidden", - "indices", - "name", - "status", - "template", - "timestamp_field" ] }, - "indices._types:DataStreamIndex": { - "type": "object", - "properties": { - "index_name": { - "$ref": "#/components/schemas/_types:IndexName" + "_types.analysis:CharGroupTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" }, - "index_uuid": { - "$ref": "#/components/schemas/_types:Uuid" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "char_group" + ] + }, + "tokenize_on_chars": { + "type": "array", + "items": { + "type": "string" + } + }, + "max_token_length": { + "type": "number" + } + }, + "required": [ + "type", + "tokenize_on_chars" + ] } - }, - "required": [ - "index_name", - "index_uuid" ] }, - "indices._types:DataStreamTimestampField": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Field" + "_types.analysis:EdgeNGramTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "edge_ngram" + ] + }, + "custom_token_chars": { + "type": "string" + }, + "max_gram": { + "type": "number" + }, + "min_gram": { + "type": "number" + }, + "token_chars": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.analysis:TokenChar" + } + } + }, + "required": [ + "type", + "max_gram", + "min_gram", + "token_chars" + ] } - }, - "required": [ - "name" ] }, - "indices.get_index_template:IndexTemplateItem": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" + "_types.analysis:TokenChar": { + "type": "string", + "enum": [ + "letter", + "digit", + "whitespace", + "punctuation", + "symbol", + "custom" + ] + }, + "_types.analysis:KeywordTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" }, - "index_template": { - "$ref": "#/components/schemas/indices._types:IndexTemplate" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "keyword" + ] + }, + "buffer_size": { + "type": "number" + } + }, + "required": [ + "type", + "buffer_size" + ] } - }, - "required": [ - "name", - "index_template" ] }, - "indices._types:IndexTemplate": { - "type": "object", - "properties": { - "index_patterns": { - "$ref": "#/components/schemas/_types:Names" - }, - "composed_of": { - "description": "An ordered list of component template names.\nComponent templates are merged in the order specified, meaning that the last component template specified has the highest precedence.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "template": { - "$ref": "#/components/schemas/indices._types:IndexTemplateSummary" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "priority": { - "description": "Priority to determine index template precedence when a new data stream or index is created.\nThe index template with the highest priority is chosen.\nIf no priority is specified the template is treated as though it is of priority 0 (lowest priority).\nThis number is not automatically generated by Elasticsearch.", - "type": "number" - }, - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "allow_auto_create": { - "type": "boolean" + "_types.analysis:LetterTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" }, - "data_stream": { - "$ref": "#/components/schemas/indices._types:IndexTemplateDataStreamConfiguration" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "letter" + ] + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "index_patterns", - "composed_of" ] }, - "indices._types:IndexTemplateSummary": { - "type": "object", - "properties": { - "aliases": { - "description": "Aliases to add.\nIf the index template includes a `data_stream` object, these are data stream aliases.\nOtherwise, these are index aliases.\nData stream aliases ignore the `index_routing`, `routing`, and `search_routing` options.", + "_types.analysis:LowercaseTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" + }, + { "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:Alias" - } + "properties": { + "type": { + "type": "string", + "enum": [ + "lowercase" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:NGramTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" }, - "mappings": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "ngram" + ] + }, + "custom_token_chars": { + "type": "string" + }, + "max_gram": { + "type": "number" + }, + "min_gram": { + "type": "number" + }, + "token_chars": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.analysis:TokenChar" + } + } + }, + "required": [ + "type", + "max_gram", + "min_gram", + "token_chars" + ] + } + ] + }, + "_types.analysis:NoriTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" }, - "settings": { - "$ref": "#/components/schemas/indices._types:IndexSettings" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "nori_tokenizer" + ] + }, + "decompound_mode": { + "$ref": "#/components/schemas/_types.analysis:NoriDecompoundMode" + }, + "discard_punctuation": { + "type": "boolean" + }, + "user_dictionary": { + "type": "string" + }, + "user_dictionary_rules": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis:PathHierarchyTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" }, - "lifecycle": { - "$ref": "#/components/schemas/indices._types:DataStreamLifecycleWithRollover" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "path_hierarchy" + ] + }, + "buffer_size": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" + }, + "delimiter": { + "type": "string" + }, + "replacement": { + "type": "string" + }, + "reverse": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" + }, + "skip": { + "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" + } + }, + "required": [ + "type", + "buffer_size", + "delimiter", + "replacement", + "reverse", + "skip" + ] } - } + ] }, - "indices._types:IndexTemplateDataStreamConfiguration": { - "type": "object", - "properties": { - "hidden": { - "description": "If true, the data stream is hidden.", - "type": "boolean" + "_types.analysis:StandardTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" }, - "allow_custom_routing": { - "description": "If true, the data stream supports custom routing.", - "type": "boolean" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "standard" + ] + }, + "max_token_length": { + "type": "number" + } + }, + "required": [ + "type" + ] } - } + ] }, - "indices.get_mapping:IndexMappingRecord": { - "type": "object", - "properties": { - "item": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" + "_types.analysis:UaxEmailUrlTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" }, - "mappings": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "uax_url_email" + ] + }, + "max_token_length": { + "type": "number" + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "mappings" ] }, - "indices._types:TemplateMapping": { - "type": "object", - "properties": { - "aliases": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:Alias" - } - }, - "index_patterns": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "mappings": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" - }, - "order": { - "type": "number" + "_types.analysis:WhitespaceTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" }, - "settings": { + { "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" + "properties": { + "type": { + "type": "string", + "enum": [ + "whitespace" + ] + }, + "max_token_length": { + "type": "number" + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "aliases", - "index_patterns", - "mappings", - "order", - "settings" ] }, - "indices.modify_data_stream:Action": { - "type": "object", - "properties": { - "add_backing_index": { - "$ref": "#/components/schemas/indices.modify_data_stream:IndexAndDataStreamAction" + "_types.analysis:KuromojiTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" }, - "remove_backing_index": { - "$ref": "#/components/schemas/indices.modify_data_stream:IndexAndDataStreamAction" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "kuromoji_tokenizer" + ] + }, + "discard_punctuation": { + "type": "boolean" + }, + "mode": { + "$ref": "#/components/schemas/_types.analysis:KuromojiTokenizationMode" + }, + "nbest_cost": { + "type": "number" + }, + "nbest_examples": { + "type": "string" + }, + "user_dictionary": { + "type": "string" + }, + "user_dictionary_rules": { + "type": "array", + "items": { + "type": "string" + } + }, + "discard_compound_token": { + "type": "boolean" + } + }, + "required": [ + "type", + "mode" + ] } - }, - "minProperties": 1, - "maxProperties": 1 + ] }, - "indices.modify_data_stream:IndexAndDataStreamAction": { - "type": "object", - "properties": { - "data_stream": { - "$ref": "#/components/schemas/_types:DataStreamName" + "_types.analysis:PatternTokenizer": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis:TokenizerBase" }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "pattern" + ] + }, + "flags": { + "type": "string" + }, + "group": { + "type": "number" + }, + "pattern": { + "type": "string" + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "data_stream", - "index" ] }, - "indices.put_index_template:IndexTemplateMapping": { + "indices._types:IndexSettingsTimeSeries": { "type": "object", "properties": { - "aliases": { - "description": "Aliases to add.\nIf the index template includes a `data_stream` object, these are data stream aliases.\nOtherwise, these are index aliases.\nData stream aliases ignore the `index_routing`, `routing`, and `search_routing` options.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:Alias" - } - }, - "mappings": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" - }, - "settings": { - "$ref": "#/components/schemas/indices._types:IndexSettings" + "end_time": { + "$ref": "#/components/schemas/_types:DateTime" }, - "lifecycle": { - "$ref": "#/components/schemas/indices._types:DataStreamLifecycle" + "start_time": { + "$ref": "#/components/schemas/_types:DateTime" } } }, - "indices._types:DataStreamVisibility": { + "indices._types:Queries": { "type": "object", "properties": { - "hidden": { - "type": "boolean" + "cache": { + "$ref": "#/components/schemas/indices._types:CacheQueries" } } }, - "indices.recovery:RecoveryStatus": { + "indices._types:CacheQueries": { "type": "object", "properties": { - "shards": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.recovery:ShardRecovery" - } + "enabled": { + "type": "boolean" } }, "required": [ - "shards" + "enabled" ] }, - "indices.recovery:ShardRecovery": { + "indices._types:SettingsSimilarity": { "type": "object", "properties": { - "id": { - "type": "number" - }, - "index": { - "$ref": "#/components/schemas/indices.recovery:RecoveryIndexStatus" - }, - "primary": { - "type": "boolean" - }, - "source": { - "$ref": "#/components/schemas/indices.recovery:RecoveryOrigin" - }, - "stage": { - "type": "string" - }, - "start": { - "$ref": "#/components/schemas/indices.recovery:RecoveryStartStatus" - }, - "start_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "start_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "stop_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "stop_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + "bm25": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarityBm25" }, - "target": { - "$ref": "#/components/schemas/indices.recovery:RecoveryOrigin" + "dfi": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarityDfi" }, - "total_time": { - "$ref": "#/components/schemas/_types:Duration" + "dfr": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarityDfr" }, - "total_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "ib": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarityIb" }, - "translog": { - "$ref": "#/components/schemas/indices.recovery:TranslogStatus" + "lmd": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarityLmd" }, - "type": { - "type": "string" + "lmj": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarityLmj" }, - "verify_index": { - "$ref": "#/components/schemas/indices.recovery:VerifyIndex" + "scripted_tfidf": { + "$ref": "#/components/schemas/indices._types:SettingsSimilarityScriptedTfidf" } - }, - "required": [ - "id", - "index", - "primary", - "source", - "stage", - "start_time_in_millis", - "target", - "total_time_in_millis", - "translog", - "type", - "verify_index" - ] + } }, - "indices.recovery:RecoveryIndexStatus": { + "indices._types:SettingsSimilarityBm25": { "type": "object", "properties": { - "bytes": { - "$ref": "#/components/schemas/indices.recovery:RecoveryBytes" - }, - "files": { - "$ref": "#/components/schemas/indices.recovery:RecoveryFiles" - }, - "size": { - "$ref": "#/components/schemas/indices.recovery:RecoveryBytes" - }, - "source_throttle_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "source_throttle_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "target_throttle_time": { - "$ref": "#/components/schemas/_types:Duration" + "b": { + "type": "number" }, - "target_throttle_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "discount_overlaps": { + "type": "boolean" }, - "total_time": { - "$ref": "#/components/schemas/_types:Duration" + "k1": { + "type": "number" }, - "total_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "type": { + "type": "string", + "enum": [ + "BM25" + ] } }, "required": [ - "files", - "size", - "source_throttle_time_in_millis", - "target_throttle_time_in_millis", - "total_time_in_millis" + "b", + "discount_overlaps", + "k1", + "type" ] }, - "indices.recovery:RecoveryBytes": { + "indices._types:SettingsSimilarityDfi": { "type": "object", "properties": { - "percent": { - "$ref": "#/components/schemas/_types:Percentage" - }, - "recovered": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "recovered_in_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "recovered_from_snapshot": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "recovered_from_snapshot_in_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "reused": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "reused_in_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "total": { - "$ref": "#/components/schemas/_types:ByteSize" + "independence_measure": { + "$ref": "#/components/schemas/_types:DFIIndependenceMeasure" }, - "total_in_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" + "type": { + "type": "string", + "enum": [ + "DFI" + ] } }, "required": [ - "percent", - "recovered_in_bytes", - "reused_in_bytes", - "total_in_bytes" + "independence_measure", + "type" ] }, - "indices.recovery:RecoveryFiles": { + "_types:DFIIndependenceMeasure": { + "type": "string", + "enum": [ + "standardized", + "saturated", + "chisquared" + ] + }, + "indices._types:SettingsSimilarityDfr": { "type": "object", "properties": { - "details": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.recovery:FileDetails" - } - }, - "percent": { - "$ref": "#/components/schemas/_types:Percentage" + "after_effect": { + "$ref": "#/components/schemas/_types:DFRAfterEffect" }, - "recovered": { - "type": "number" + "basic_model": { + "$ref": "#/components/schemas/_types:DFRBasicModel" }, - "reused": { - "type": "number" + "normalization": { + "$ref": "#/components/schemas/_types:Normalization" }, - "total": { - "type": "number" + "type": { + "type": "string", + "enum": [ + "DFR" + ] } }, "required": [ - "percent", - "recovered", - "reused", - "total" + "after_effect", + "basic_model", + "normalization", + "type" ] }, - "indices.recovery:FileDetails": { - "type": "object", - "properties": { - "length": { - "type": "number" - }, - "name": { - "type": "string" - }, - "recovered": { - "type": "number" - } - }, - "required": [ - "length", - "name", - "recovered" + "_types:DFRAfterEffect": { + "type": "string", + "enum": [ + "no", + "b", + "l" ] }, - "indices.recovery:RecoveryOrigin": { - "type": "object", - "properties": { - "hostname": { - "type": "string" - }, - "host": { - "$ref": "#/components/schemas/_types:Host" - }, - "transport_address": { - "$ref": "#/components/schemas/_types:TransportAddress" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "ip": { - "$ref": "#/components/schemas/_types:Ip" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "bootstrap_new_history_uuid": { - "type": "boolean" - }, - "repository": { - "$ref": "#/components/schemas/_types:Name" - }, - "snapshot": { - "$ref": "#/components/schemas/_types:Name" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "restoreUUID": { - "$ref": "#/components/schemas/_types:Uuid" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - } - } + "_types:DFRBasicModel": { + "type": "string", + "enum": [ + "be", + "d", + "g", + "if", + "in", + "ine", + "p" + ] }, - "indices.recovery:RecoveryStartStatus": { - "type": "object", - "properties": { - "check_index_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "check_index_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "total_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "total_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "check_index_time_in_millis", - "total_time_in_millis" + "_types:Normalization": { + "type": "string", + "enum": [ + "no", + "h1", + "h2", + "h3", + "z" ] }, - "indices.recovery:TranslogStatus": { + "indices._types:SettingsSimilarityIb": { "type": "object", "properties": { - "percent": { - "$ref": "#/components/schemas/_types:Percentage" - }, - "recovered": { - "type": "number" - }, - "total": { - "type": "number" + "distribution": { + "$ref": "#/components/schemas/_types:IBDistribution" }, - "total_on_start": { - "type": "number" + "lambda": { + "$ref": "#/components/schemas/_types:IBLambda" }, - "total_time": { - "$ref": "#/components/schemas/_types:Duration" + "normalization": { + "$ref": "#/components/schemas/_types:Normalization" }, - "total_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "type": { + "type": "string", + "enum": [ + "IB" + ] } }, "required": [ - "percent", - "recovered", - "total", - "total_on_start", - "total_time_in_millis" + "distribution", + "lambda", + "normalization", + "type" ] }, - "indices.recovery:VerifyIndex": { - "type": "object", - "properties": { - "check_index_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "check_index_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "total_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "total_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "check_index_time_in_millis", - "total_time_in_millis" + "_types:IBDistribution": { + "type": "string", + "enum": [ + "ll", + "spl" ] }, - "indices.resolve_index:ResolveIndexItem": { + "_types:IBLambda": { + "type": "string", + "enum": [ + "df", + "ttf" + ] + }, + "indices._types:SettingsSimilarityLmd": { "type": "object", "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "aliases": { - "type": "array", - "items": { - "type": "string" - } - }, - "attributes": { - "type": "array", - "items": { - "type": "string" - } + "mu": { + "type": "number" }, - "data_stream": { - "$ref": "#/components/schemas/_types:DataStreamName" + "type": { + "type": "string", + "enum": [ + "LMDirichlet" + ] } }, "required": [ - "name", - "attributes" + "mu", + "type" ] }, - "indices.resolve_index:ResolveIndexAliasItem": { + "indices._types:SettingsSimilarityLmj": { "type": "object", "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" + "lambda": { + "type": "number" }, - "indices": { - "$ref": "#/components/schemas/_types:Indices" + "type": { + "type": "string", + "enum": [ + "LMJelinekMercer" + ] } }, "required": [ - "name", - "indices" + "lambda", + "type" ] }, - "indices.resolve_index:ResolveIndexDataStreamsItem": { + "indices._types:SettingsSimilarityScriptedTfidf": { "type": "object", "properties": { - "name": { - "$ref": "#/components/schemas/_types:DataStreamName" - }, - "timestamp_field": { - "$ref": "#/components/schemas/_types:Field" + "script": { + "$ref": "#/components/schemas/_types:Script" }, - "backing_indices": { - "$ref": "#/components/schemas/_types:Indices" + "type": { + "type": "string", + "enum": [ + "scripted" + ] } }, "required": [ - "name", - "timestamp_field", - "backing_indices" + "script", + "type" ] }, - "indices.rollover:RolloverConditions": { + "indices._types:MappingLimitSettings": { "type": "object", "properties": { - "min_age": { - "$ref": "#/components/schemas/_types:Duration" - }, - "max_age": { - "$ref": "#/components/schemas/_types:Duration" + "coerce": { + "type": "boolean" }, - "max_age_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "total_fields": { + "$ref": "#/components/schemas/indices._types:MappingLimitSettingsTotalFields" }, - "min_docs": { - "type": "number" + "depth": { + "$ref": "#/components/schemas/indices._types:MappingLimitSettingsDepth" }, - "max_docs": { - "type": "number" + "nested_fields": { + "$ref": "#/components/schemas/indices._types:MappingLimitSettingsNestedFields" }, - "max_size": { - "$ref": "#/components/schemas/_types:ByteSize" + "nested_objects": { + "$ref": "#/components/schemas/indices._types:MappingLimitSettingsNestedObjects" }, - "max_size_bytes": { - "type": "number" + "field_name_length": { + "$ref": "#/components/schemas/indices._types:MappingLimitSettingsFieldNameLength" }, - "min_size": { - "$ref": "#/components/schemas/_types:ByteSize" + "dimension_fields": { + "$ref": "#/components/schemas/indices._types:MappingLimitSettingsDimensionFields" }, - "min_size_bytes": { + "ignore_malformed": { + "type": "boolean" + } + } + }, + "indices._types:MappingLimitSettingsTotalFields": { + "type": "object", + "properties": { + "limit": { + "description": "The maximum number of fields in an index. Field and object mappings, as well as field aliases count towards this limit.\nThe limit is in place to prevent mappings and searches from becoming too large. Higher values can lead to performance\ndegradations and memory issues, especially in clusters with a high load or few resources.", "type": "number" - }, - "max_primary_shard_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "max_primary_shard_size_bytes": { + } + } + }, + "indices._types:MappingLimitSettingsDepth": { + "type": "object", + "properties": { + "limit": { + "description": "The maximum depth for a field, which is measured as the number of inner objects. For instance, if all fields are defined\nat the root object level, then the depth is 1. If there is one object mapping, then the depth is 2, etc.", "type": "number" - }, - "min_primary_shard_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "min_primary_shard_size_bytes": { + } + } + }, + "indices._types:MappingLimitSettingsNestedFields": { + "type": "object", + "properties": { + "limit": { + "description": "The maximum number of distinct nested mappings in an index. The nested type should only be used in special cases, when\narrays of objects need to be queried independently of each other. To safeguard against poorly designed mappings, this\nsetting limits the number of unique nested types per index.", "type": "number" - }, - "max_primary_shard_docs": { + } + } + }, + "indices._types:MappingLimitSettingsNestedObjects": { + "type": "object", + "properties": { + "limit": { + "description": "The maximum number of nested JSON objects that a single document can contain across all nested types. This limit helps\nto prevent out of memory errors when a document contains too many nested objects.", "type": "number" - }, - "min_primary_shard_docs": { + } + } + }, + "indices._types:MappingLimitSettingsFieldNameLength": { + "type": "object", + "properties": { + "limit": { + "description": "Setting for the maximum length of a field name. This setting isn’t really something that addresses mappings explosion but\nmight still be useful if you want to limit the field length. It usually shouldn’t be necessary to set this setting. The\ndefault is okay unless a user starts to add a huge number of fields with really long names. Default is `Long.MAX_VALUE` (no limit).", "type": "number" } } }, - "indices.simulate_template:Overlapping": { + "indices._types:MappingLimitSettingsDimensionFields": { "type": "object", "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "index_patterns": { - "type": "array", - "items": { - "type": "string" - } + "limit": { + "description": "[preview] This functionality is in technical preview and may be changed or removed in a future release. Elastic will\napply best effort to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.", + "type": "number" } - }, - "required": [ - "name", - "index_patterns" - ] + } }, - "indices.simulate_template:Template": { + "indices._types:IndexingSlowlogSettings": { "type": "object", "properties": { - "aliases": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:Alias" - } + "level": { + "type": "string" }, - "mappings": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" + "source": { + "type": "number" }, - "settings": { - "$ref": "#/components/schemas/indices._types:IndexSettings" + "reformat": { + "type": "boolean" + }, + "threshold": { + "$ref": "#/components/schemas/indices._types:IndexingSlowlogTresholds" + } + } + }, + "indices._types:IndexingSlowlogTresholds": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/indices._types:SlowlogTresholdLevels" + } + } + }, + "indices._types:IndexingPressure": { + "type": "object", + "properties": { + "memory": { + "$ref": "#/components/schemas/indices._types:IndexingPressureMemory" } }, "required": [ - "aliases", - "mappings", - "settings" + "memory" ] }, - "indices.stats:IndicesStats": { + "indices._types:IndexingPressureMemory": { "type": "object", "properties": { - "primaries": { - "$ref": "#/components/schemas/indices.stats:IndexStats" - }, - "shards": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.stats:ShardStats" - } - } - }, - "total": { - "$ref": "#/components/schemas/indices.stats:IndexStats" - }, - "uuid": { - "$ref": "#/components/schemas/_types:Uuid" - }, - "health": { - "$ref": "#/components/schemas/_types:HealthStatus" - }, - "status": { - "$ref": "#/components/schemas/indices.stats:IndexMetadataState" + "limit": { + "description": "Number of outstanding bytes that may be consumed by indexing requests. When this limit is reached or exceeded,\nthe node will reject new coordinating and primary operations. When replica operations consume 1.5x this limit,\nthe node will reject new replica operations. Defaults to 10% of the heap.", + "type": "number" } } }, - "indices.stats:IndexStats": { + "indices._types:Storage": { "type": "object", "properties": { - "completion": { - "$ref": "#/components/schemas/_types:CompletionStats" - }, - "docs": { - "$ref": "#/components/schemas/_types:DocStats" - }, - "fielddata": { - "$ref": "#/components/schemas/_types:FielddataStats" + "type": { + "$ref": "#/components/schemas/indices._types:StorageType" }, - "flush": { - "$ref": "#/components/schemas/_types:FlushStats" + "allow_mmap": { + "description": "You can restrict the use of the mmapfs and the related hybridfs store type via the setting node.store.allow_mmap.\nThis is a boolean setting indicating whether or not memory-mapping is allowed. The default is to allow it. This\nsetting is useful, for example, if you are in an environment where you can not control the ability to create a lot\nof memory maps so you need disable the ability to use memory-mapping.", + "type": "boolean" + } + }, + "required": [ + "type" + ] + }, + "indices._types:StorageType": { + "type": "string", + "enum": [ + "fs", + "niofs", + "mmapfs", + "hybridfs" + ] + }, + "_types.mapping:TypeMapping": { + "type": "object", + "properties": { + "all_field": { + "$ref": "#/components/schemas/_types.mapping:AllField" }, - "get": { - "$ref": "#/components/schemas/_types:GetStats" + "date_detection": { + "type": "boolean" }, - "indexing": { - "$ref": "#/components/schemas/_types:IndexingStats" + "dynamic": { + "$ref": "#/components/schemas/_types.mapping:DynamicMapping" }, - "indices": { - "$ref": "#/components/schemas/indices.stats:IndicesStats" + "dynamic_date_formats": { + "type": "array", + "items": { + "type": "string" + } }, - "merges": { - "$ref": "#/components/schemas/_types:MergesStats" + "dynamic_templates": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:DynamicTemplate" + } + } }, - "query_cache": { - "$ref": "#/components/schemas/_types:QueryCacheStats" + "_field_names": { + "$ref": "#/components/schemas/_types.mapping:FieldNamesField" }, - "recovery": { - "$ref": "#/components/schemas/_types:RecoveryStats" + "index_field": { + "$ref": "#/components/schemas/_types.mapping:IndexField" }, - "refresh": { - "$ref": "#/components/schemas/_types:RefreshStats" + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" }, - "request_cache": { - "$ref": "#/components/schemas/_types:RequestCacheStats" + "numeric_detection": { + "type": "boolean" }, - "search": { - "$ref": "#/components/schemas/_types:SearchStats" + "properties": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:Property" + } }, - "segments": { - "$ref": "#/components/schemas/_types:SegmentsStats" + "_routing": { + "$ref": "#/components/schemas/_types.mapping:RoutingField" }, - "store": { - "$ref": "#/components/schemas/_types:StoreStats" + "_size": { + "$ref": "#/components/schemas/_types.mapping:SizeField" }, - "translog": { - "$ref": "#/components/schemas/_types:TranslogStats" + "_source": { + "$ref": "#/components/schemas/_types.mapping:SourceField" }, - "warmer": { - "$ref": "#/components/schemas/_types:WarmerStats" + "runtime": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:RuntimeField" + } }, - "bulk": { - "$ref": "#/components/schemas/_types:BulkStats" + "enabled": { + "type": "boolean" }, - "shard_stats": { - "$ref": "#/components/schemas/indices.stats:ShardsTotalStats" + "_data_stream_timestamp": { + "$ref": "#/components/schemas/_types.mapping:DataStreamTimestamp" } } }, - "_types:FlushStats": { - "type": "object", - "properties": { - "periodic": { - "type": "number" - }, - "total": { - "type": "number" - }, - "total_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "total_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "periodic", - "total", - "total_time_in_millis" - ] - }, - "_types:GetStats": { + "_types.mapping:AllField": { "type": "object", "properties": { - "current": { - "type": "number" + "analyzer": { + "type": "string" }, - "exists_time": { - "$ref": "#/components/schemas/_types:Duration" + "enabled": { + "type": "boolean" }, - "exists_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "omit_norms": { + "type": "boolean" }, - "exists_total": { - "type": "number" + "search_analyzer": { + "type": "string" }, - "missing_time": { - "$ref": "#/components/schemas/_types:Duration" + "similarity": { + "type": "string" }, - "missing_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "store": { + "type": "boolean" }, - "missing_total": { - "type": "number" + "store_term_vector_offsets": { + "type": "boolean" }, - "time": { - "$ref": "#/components/schemas/_types:Duration" + "store_term_vector_payloads": { + "type": "boolean" }, - "time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "store_term_vector_positions": { + "type": "boolean" }, - "total": { - "type": "number" + "store_term_vectors": { + "type": "boolean" } }, "required": [ - "current", - "exists_time_in_millis", - "exists_total", - "missing_time_in_millis", - "missing_total", - "time_in_millis", - "total" + "analyzer", + "enabled", + "omit_norms", + "search_analyzer", + "similarity", + "store", + "store_term_vector_offsets", + "store_term_vector_payloads", + "store_term_vector_positions", + "store_term_vectors" + ] + }, + "_types.mapping:DynamicMapping": { + "type": "string", + "enum": [ + "strict", + "runtime", + "true", + "false" ] }, - "_types:IndexingStats": { + "_types.mapping:DynamicTemplate": { "type": "object", "properties": { - "index_current": { - "type": "number" - }, - "delete_current": { - "type": "number" - }, - "delete_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "delete_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "delete_total": { - "type": "number" + "mapping": { + "$ref": "#/components/schemas/_types.mapping:Property" }, - "is_throttled": { - "type": "boolean" + "match": { + "type": "string" }, - "noop_update_total": { - "type": "number" + "match_mapping_type": { + "type": "string" }, - "throttle_time": { - "$ref": "#/components/schemas/_types:Duration" + "match_pattern": { + "$ref": "#/components/schemas/_types.mapping:MatchType" }, - "throttle_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "path_match": { + "type": "string" }, - "index_time": { - "$ref": "#/components/schemas/_types:Duration" + "path_unmatch": { + "type": "string" }, - "index_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "unmatch": { + "type": "string" + } + } + }, + "_types.mapping:Property": { + "discriminator": { + "propertyName": "type" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/_types.mapping:BinaryProperty" }, - "index_total": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:BooleanProperty" }, - "index_failed": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:DynamicProperty" }, - "types": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:IndexingStats" - } + { + "$ref": "#/components/schemas/_types.mapping:JoinProperty" }, - "write_load": { - "type": "number" - } - }, - "required": [ - "index_current", - "delete_current", - "delete_time_in_millis", - "delete_total", - "is_throttled", - "noop_update_total", - "throttle_time_in_millis", - "index_time_in_millis", - "index_total", - "index_failed" - ] - }, - "_types:MergesStats": { - "type": "object", - "properties": { - "current": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:KeywordProperty" }, - "current_docs": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:MatchOnlyTextProperty" }, - "current_size": { - "type": "string" + { + "$ref": "#/components/schemas/_types.mapping:PercolatorProperty" }, - "current_size_in_bytes": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:RankFeatureProperty" }, - "total": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:RankFeaturesProperty" }, - "total_auto_throttle": { - "type": "string" + { + "$ref": "#/components/schemas/_types.mapping:SearchAsYouTypeProperty" }, - "total_auto_throttle_in_bytes": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:TextProperty" }, - "total_docs": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:VersionProperty" }, - "total_size": { - "type": "string" + { + "$ref": "#/components/schemas/_types.mapping:WildcardProperty" }, - "total_size_in_bytes": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:DateNanosProperty" }, - "total_stopped_time": { - "$ref": "#/components/schemas/_types:Duration" + { + "$ref": "#/components/schemas/_types.mapping:DateProperty" }, - "total_stopped_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + { + "$ref": "#/components/schemas/_types.mapping:AggregateMetricDoubleProperty" }, - "total_throttled_time": { - "$ref": "#/components/schemas/_types:Duration" + { + "$ref": "#/components/schemas/_types.mapping:DenseVectorProperty" }, - "total_throttled_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + { + "$ref": "#/components/schemas/_types.mapping:FlattenedProperty" }, - "total_time": { - "$ref": "#/components/schemas/_types:Duration" + { + "$ref": "#/components/schemas/_types.mapping:NestedProperty" }, - "total_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "current", - "current_docs", - "current_size_in_bytes", - "total", - "total_auto_throttle_in_bytes", - "total_docs", - "total_size_in_bytes", - "total_stopped_time_in_millis", - "total_throttled_time_in_millis", - "total_time_in_millis" - ] - }, - "_types:RecoveryStats": { - "type": "object", - "properties": { - "current_as_source": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:ObjectProperty" }, - "current_as_target": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:CompletionProperty" }, - "throttle_time": { - "$ref": "#/components/schemas/_types:Duration" + { + "$ref": "#/components/schemas/_types.mapping:ConstantKeywordProperty" }, - "throttle_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "current_as_source", - "current_as_target", - "throttle_time_in_millis" - ] - }, - "_types:RefreshStats": { - "type": "object", - "properties": { - "external_total": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:FieldAliasProperty" }, - "external_total_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + { + "$ref": "#/components/schemas/_types.mapping:HistogramProperty" }, - "listeners": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:IpProperty" }, - "total": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:Murmur3HashProperty" }, - "total_time": { - "$ref": "#/components/schemas/_types:Duration" + { + "$ref": "#/components/schemas/_types.mapping:TokenCountProperty" }, - "total_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "external_total", - "external_total_time_in_millis", - "listeners", - "total", - "total_time_in_millis" - ] - }, - "_types:RequestCacheStats": { - "type": "object", - "properties": { - "evictions": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:GeoPointProperty" }, - "hit_count": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:GeoShapeProperty" }, - "memory_size": { - "type": "string" + { + "$ref": "#/components/schemas/_types.mapping:PointProperty" }, - "memory_size_in_bytes": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:ShapeProperty" }, - "miss_count": { - "type": "number" - } - }, - "required": [ - "evictions", - "hit_count", - "memory_size_in_bytes", - "miss_count" - ] - }, - "_types:SearchStats": { - "type": "object", - "properties": { - "fetch_current": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:ByteNumberProperty" }, - "fetch_time": { - "$ref": "#/components/schemas/_types:Duration" + { + "$ref": "#/components/schemas/_types.mapping:DoubleNumberProperty" }, - "fetch_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + { + "$ref": "#/components/schemas/_types.mapping:FloatNumberProperty" }, - "fetch_total": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:HalfFloatNumberProperty" }, - "open_contexts": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:IntegerNumberProperty" }, - "query_current": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:LongNumberProperty" }, - "query_time": { - "$ref": "#/components/schemas/_types:Duration" + { + "$ref": "#/components/schemas/_types.mapping:ScaledFloatNumberProperty" }, - "query_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + { + "$ref": "#/components/schemas/_types.mapping:ShortNumberProperty" }, - "query_total": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:UnsignedLongNumberProperty" }, - "scroll_current": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:DateRangeProperty" }, - "scroll_time": { - "$ref": "#/components/schemas/_types:Duration" + { + "$ref": "#/components/schemas/_types.mapping:DoubleRangeProperty" }, - "scroll_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + { + "$ref": "#/components/schemas/_types.mapping:FloatRangeProperty" }, - "scroll_total": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:IntegerRangeProperty" }, - "suggest_current": { - "type": "number" + { + "$ref": "#/components/schemas/_types.mapping:IpRangeProperty" }, - "suggest_time": { - "$ref": "#/components/schemas/_types:Duration" + { + "$ref": "#/components/schemas/_types.mapping:LongRangeProperty" + } + ] + }, + "_types.mapping:BinaryProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" }, - "suggest_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "binary" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:DocValuesPropertyBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" }, - "suggest_total": { - "type": "number" + { + "type": "object", + "properties": { + "doc_values": { + "type": "boolean" + } + } + } + ] + }, + "_types.mapping:CorePropertyBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" }, - "groups": { + { "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:SearchStats" + "properties": { + "copy_to": { + "$ref": "#/components/schemas/_types:Fields" + }, + "similarity": { + "type": "string" + }, + "store": { + "type": "boolean" + } } } - }, - "required": [ - "fetch_current", - "fetch_time_in_millis", - "fetch_total", - "query_current", - "query_time_in_millis", - "query_total", - "scroll_current", - "scroll_time_in_millis", - "scroll_total", - "suggest_current", - "suggest_time_in_millis", - "suggest_total" ] }, - "_types:TranslogStats": { + "_types.mapping:PropertyBase": { "type": "object", "properties": { - "earliest_last_modified_age": { - "type": "number" - }, - "operations": { - "type": "number" + "meta": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-meta-field.html" + }, + "description": "Metadata about the field.", + "type": "object", + "additionalProperties": { + "type": "string" + } }, - "size": { - "type": "string" + "properties": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:Property" + } }, - "size_in_bytes": { + "ignore_above": { "type": "number" }, - "uncommitted_operations": { - "type": "number" + "dynamic": { + "$ref": "#/components/schemas/_types.mapping:DynamicMapping" }, - "uncommitted_size": { - "type": "string" + "fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.mapping:Property" + } + } + } + }, + "_types.mapping:BooleanProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" }, - "uncommitted_size_in_bytes": { - "type": "number" + { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "fielddata": { + "$ref": "#/components/schemas/indices._types:NumericFielddata" + }, + "index": { + "type": "boolean" + }, + "null_value": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "boolean" + ] + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "earliest_last_modified_age", - "operations", - "size_in_bytes", - "uncommitted_operations", - "uncommitted_size_in_bytes" ] }, - "_types:WarmerStats": { + "indices._types:NumericFielddata": { "type": "object", "properties": { - "current": { - "type": "number" - }, - "total": { - "type": "number" - }, - "total_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "total_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "format": { + "$ref": "#/components/schemas/indices._types:NumericFielddataFormat" } }, "required": [ - "current", - "total", - "total_time_in_millis" + "format" + ] + }, + "indices._types:NumericFielddataFormat": { + "type": "string", + "enum": [ + "array", + "disabled" + ] + }, + "_types.mapping:DynamicProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "{dynamic_property}" + ] + }, + "enabled": { + "type": "boolean" + }, + "null_value": { + "$ref": "#/components/schemas/_types:FieldValue" + }, + "boost": { + "type": "number" + }, + "coerce": { + "type": "boolean" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "on_script_error": { + "$ref": "#/components/schemas/_types.mapping:OnScriptError" + }, + "ignore_malformed": { + "type": "boolean" + }, + "time_series_metric": { + "$ref": "#/components/schemas/_types.mapping:TimeSeriesMetricType" + }, + "analyzer": { + "type": "string" + }, + "eager_global_ordinals": { + "type": "boolean" + }, + "index": { + "type": "boolean" + }, + "index_options": { + "$ref": "#/components/schemas/_types.mapping:IndexOptions" + }, + "index_phrases": { + "type": "boolean" + }, + "index_prefixes": { + "$ref": "#/components/schemas/_types.mapping:TextIndexPrefixes" + }, + "norms": { + "type": "boolean" + }, + "position_increment_gap": { + "type": "number" + }, + "search_analyzer": { + "type": "string" + }, + "search_quote_analyzer": { + "type": "string" + }, + "term_vector": { + "$ref": "#/components/schemas/_types.mapping:TermVectorOption" + }, + "format": { + "type": "string" + }, + "precision_step": { + "type": "number" + }, + "locale": { + "type": "string" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:OnScriptError": { + "type": "string", + "enum": [ + "fail", + "continue" + ] + }, + "_types.mapping:TimeSeriesMetricType": { + "type": "string", + "enum": [ + "gauge", + "counter", + "summary", + "histogram", + "position" + ] + }, + "_types.mapping:IndexOptions": { + "type": "string", + "enum": [ + "docs", + "freqs", + "positions", + "offsets" ] }, - "_types:BulkStats": { + "_types.mapping:TextIndexPrefixes": { "type": "object", "properties": { - "total_operations": { - "type": "number" - }, - "total_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "total_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "total_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "total_size_in_bytes": { + "max_chars": { "type": "number" }, - "avg_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "avg_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "avg_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "avg_size_in_bytes": { + "min_chars": { "type": "number" } }, "required": [ - "total_operations", - "total_time_in_millis", - "total_size_in_bytes", - "avg_time_in_millis", - "avg_size_in_bytes" + "max_chars", + "min_chars" ] }, - "indices.stats:ShardsTotalStats": { - "type": "object", - "properties": { - "total_count": { - "type": "number" + "_types.mapping:TermVectorOption": { + "type": "string", + "enum": [ + "no", + "yes", + "with_offsets", + "with_positions", + "with_positions_offsets", + "with_positions_offsets_payloads", + "with_positions_payloads" + ] + }, + "_types.mapping:JoinProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "relations": { + "type": "object", + "additionalProperties": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:RelationName" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:RelationName" + } + } + ] + } + }, + "eager_global_ordinals": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "join" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:KeywordProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "eager_global_ordinals": { + "type": "boolean" + }, + "index": { + "type": "boolean" + }, + "index_options": { + "$ref": "#/components/schemas/_types.mapping:IndexOptions" + }, + "normalizer": { + "type": "string" + }, + "norms": { + "type": "boolean" + }, + "null_value": { + "type": "string" + }, + "split_queries_on_whitespace": { + "type": "boolean" + }, + "time_series_dimension": { + "description": "For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.", + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "keyword" + ] + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "total_count" ] }, - "indices.stats:ShardStats": { + "_types.mapping:MatchOnlyTextProperty": { "type": "object", "properties": { - "commit": { - "$ref": "#/components/schemas/indices.stats:ShardCommit" - }, - "completion": { - "$ref": "#/components/schemas/_types:CompletionStats" - }, - "docs": { - "$ref": "#/components/schemas/_types:DocStats" - }, - "fielddata": { - "$ref": "#/components/schemas/_types:FielddataStats" - }, - "flush": { - "$ref": "#/components/schemas/_types:FlushStats" - }, - "get": { - "$ref": "#/components/schemas/_types:GetStats" - }, - "indexing": { - "$ref": "#/components/schemas/_types:IndexingStats" - }, - "mappings": { - "$ref": "#/components/schemas/indices.stats:MappingStats" - }, - "merges": { - "$ref": "#/components/schemas/_types:MergesStats" - }, - "shard_path": { - "$ref": "#/components/schemas/indices.stats:ShardPath" - }, - "query_cache": { - "$ref": "#/components/schemas/indices.stats:ShardQueryCache" - }, - "recovery": { - "$ref": "#/components/schemas/_types:RecoveryStats" - }, - "refresh": { - "$ref": "#/components/schemas/_types:RefreshStats" - }, - "request_cache": { - "$ref": "#/components/schemas/_types:RequestCacheStats" - }, - "retention_leases": { - "$ref": "#/components/schemas/indices.stats:ShardRetentionLeases" - }, - "routing": { - "$ref": "#/components/schemas/indices.stats:ShardRouting" - }, - "search": { - "$ref": "#/components/schemas/_types:SearchStats" - }, - "segments": { - "$ref": "#/components/schemas/_types:SegmentsStats" - }, - "seq_no": { - "$ref": "#/components/schemas/indices.stats:ShardSequenceNumber" - }, - "store": { - "$ref": "#/components/schemas/_types:StoreStats" - }, - "translog": { - "$ref": "#/components/schemas/_types:TranslogStats" - }, - "warmer": { - "$ref": "#/components/schemas/_types:WarmerStats" - }, - "bulk": { - "$ref": "#/components/schemas/_types:BulkStats" + "type": { + "type": "string", + "enum": [ + "match_only_text" + ] }, - "shards": { + "fields": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/multi-fields.html" + }, + "description": "Multi-fields allow the same string value to be indexed in multiple ways for different purposes, such as one\nfield for search and a multi-field for sorting and aggregations, or the same string value analyzed by different analyzers.", "type": "object", "additionalProperties": { - "type": "object" + "$ref": "#/components/schemas/_types.mapping:Property" } }, - "shard_stats": { - "$ref": "#/components/schemas/indices.stats:ShardsTotalStats" - }, - "indices": { - "$ref": "#/components/schemas/indices.stats:IndicesStats" - } - } - }, - "indices.stats:ShardCommit": { - "type": "object", - "properties": { - "generation": { - "type": "number" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "num_docs": { - "type": "number" - }, - "user_data": { + "meta": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-meta-field.html" + }, + "description": "Metadata about the field.", "type": "object", "additionalProperties": { "type": "string" } + }, + "copy_to": { + "$ref": "#/components/schemas/_types:Fields" } }, "required": [ - "generation", - "id", - "num_docs", - "user_data" + "type" ] }, - "indices.stats:MappingStats": { - "type": "object", - "properties": { - "total_count": { - "type": "number" + "_types.mapping:PercolatorProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" }, - "total_estimated_overhead": { - "$ref": "#/components/schemas/_types:ByteSize" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "percolator" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:RankFeatureProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" }, - "total_estimated_overhead_in_bytes": { - "type": "number" + { + "type": "object", + "properties": { + "positive_score_impact": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "rank_feature" + ] + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "total_count", - "total_estimated_overhead_in_bytes" ] }, - "indices.stats:ShardPath": { - "type": "object", - "properties": { - "data_path": { - "type": "string" + "_types.mapping:RankFeaturesProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" }, - "is_custom_data_path": { - "type": "boolean" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "rank_features" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:SearchAsYouTypeProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" }, - "state_path": { - "type": "string" + { + "type": "object", + "properties": { + "analyzer": { + "type": "string" + }, + "index": { + "type": "boolean" + }, + "index_options": { + "$ref": "#/components/schemas/_types.mapping:IndexOptions" + }, + "max_shingle_size": { + "type": "number" + }, + "norms": { + "type": "boolean" + }, + "search_analyzer": { + "type": "string" + }, + "search_quote_analyzer": { + "type": "string" + }, + "term_vector": { + "$ref": "#/components/schemas/_types.mapping:TermVectorOption" + }, + "type": { + "type": "string", + "enum": [ + "search_as_you_type" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:TextProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" + }, + { + "type": "object", + "properties": { + "analyzer": { + "type": "string" + }, + "boost": { + "type": "number" + }, + "eager_global_ordinals": { + "type": "boolean" + }, + "fielddata": { + "type": "boolean" + }, + "fielddata_frequency_filter": { + "$ref": "#/components/schemas/indices._types:FielddataFrequencyFilter" + }, + "index": { + "type": "boolean" + }, + "index_options": { + "$ref": "#/components/schemas/_types.mapping:IndexOptions" + }, + "index_phrases": { + "type": "boolean" + }, + "index_prefixes": { + "$ref": "#/components/schemas/_types.mapping:TextIndexPrefixes" + }, + "norms": { + "type": "boolean" + }, + "position_increment_gap": { + "type": "number" + }, + "search_analyzer": { + "type": "string" + }, + "search_quote_analyzer": { + "type": "string" + }, + "term_vector": { + "$ref": "#/components/schemas/_types.mapping:TermVectorOption" + }, + "type": { + "type": "string", + "enum": [ + "text" + ] + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "data_path", - "is_custom_data_path", - "state_path" ] }, - "indices.stats:ShardQueryCache": { + "indices._types:FielddataFrequencyFilter": { "type": "object", "properties": { - "cache_count": { - "type": "number" - }, - "cache_size": { - "type": "number" - }, - "evictions": { - "type": "number" - }, - "hit_count": { - "type": "number" - }, - "memory_size_in_bytes": { + "max": { "type": "number" }, - "miss_count": { + "min": { "type": "number" }, - "total_count": { + "min_segment_size": { "type": "number" } }, "required": [ - "cache_count", - "cache_size", - "evictions", - "hit_count", - "memory_size_in_bytes", - "miss_count", - "total_count" + "max", + "min", + "min_segment_size" ] }, - "indices.stats:ShardRetentionLeases": { - "type": "object", - "properties": { - "primary_term": { - "type": "number" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" + "_types.mapping:VersionProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" }, - "leases": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.stats:ShardLease" - } + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "version" + ] + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "primary_term", - "version", - "leases" ] }, - "indices.stats:ShardLease": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "retaining_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "timestamp": { - "type": "number" + "_types.mapping:WildcardProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" }, - "source": { - "type": "string" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "wildcard" + ] + }, + "null_value": { + "type": "string" + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "id", - "retaining_seq_no", - "timestamp", - "source" ] }, - "indices.stats:ShardRouting": { - "type": "object", - "properties": { - "node": { - "type": "string" + "_types.mapping:DateNanosProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" }, - "primary": { - "type": "boolean" + { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "format": { + "type": "string" + }, + "ignore_malformed": { + "type": "boolean" + }, + "index": { + "type": "boolean" + }, + "null_value": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "precision_step": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "date_nanos" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:DateProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" }, - "relocating_node": { - "oneOf": [ - { + { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "fielddata": { + "$ref": "#/components/schemas/indices._types:NumericFielddata" + }, + "format": { "type": "string" }, - { - "nullable": true, + "ignore_malformed": { + "type": "boolean" + }, + "index": { + "type": "boolean" + }, + "null_value": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "precision_step": { + "type": "number" + }, + "locale": { "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "date" + ] } + }, + "required": [ + "type" ] + } + ] + }, + "_types.mapping:AggregateMetricDoubleProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" }, - "state": { - "$ref": "#/components/schemas/indices.stats:ShardRoutingState" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "aggregate_metric_double" + ] + }, + "default_metric": { + "type": "string" + }, + "metrics": { + "type": "array", + "items": { + "type": "string" + } + }, + "time_series_metric": { + "$ref": "#/components/schemas/_types.mapping:TimeSeriesMetricType" + } + }, + "required": [ + "type", + "default_metric", + "metrics" + ] } - }, - "required": [ - "node", - "primary", - "state" ] }, - "indices.stats:ShardRoutingState": { - "type": "string", - "enum": [ - "UNASSIGNED", - "INITIALIZING", - "STARTED", - "RELOCATING" + "_types.mapping:DenseVectorProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "dense_vector" + ] + }, + "dims": { + "type": "number" + }, + "similarity": { + "type": "string" + }, + "index": { + "type": "boolean" + }, + "index_options": { + "$ref": "#/components/schemas/_types.mapping:DenseVectorIndexOptions" + } + }, + "required": [ + "type", + "dims" + ] + } ] }, - "indices.stats:ShardSequenceNumber": { + "_types.mapping:DenseVectorIndexOptions": { "type": "object", "properties": { - "global_checkpoint": { - "type": "number" + "type": { + "type": "string" }, - "local_checkpoint": { + "m": { "type": "number" }, - "max_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" + "ef_construction": { + "type": "number" } }, "required": [ - "global_checkpoint", - "local_checkpoint", - "max_seq_no" - ] - }, - "indices.stats:IndexMetadataState": { - "type": "string", - "enum": [ - "open", - "close" + "type", + "m", + "ef_construction" ] }, - "indices.update_aliases:Action": { - "type": "object", - "properties": { - "add": { - "$ref": "#/components/schemas/indices.update_aliases:AddAction" - }, - "remove": { - "$ref": "#/components/schemas/indices.update_aliases:RemoveAction" + "_types.mapping:FlattenedProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" }, - "remove_index": { - "$ref": "#/components/schemas/indices.update_aliases:RemoveIndexAction" + { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "depth_limit": { + "type": "number" + }, + "doc_values": { + "type": "boolean" + }, + "eager_global_ordinals": { + "type": "boolean" + }, + "index": { + "type": "boolean" + }, + "index_options": { + "$ref": "#/components/schemas/_types.mapping:IndexOptions" + }, + "null_value": { + "type": "string" + }, + "similarity": { + "type": "string" + }, + "split_queries_on_whitespace": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "flattened" + ] + } + }, + "required": [ + "type" + ] } - }, - "minProperties": 1, - "maxProperties": 1 + ] }, - "indices.update_aliases:AddAction": { - "type": "object", - "properties": { - "alias": { - "$ref": "#/components/schemas/_types:IndexAlias" + "_types.mapping:NestedProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" }, - "aliases": { - "description": "Aliases for the action.\nIndex alias names support date math.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:IndexAlias" + { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:IndexAlias" - } + "include_in_parent": { + "type": "boolean" + }, + "include_in_root": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "nested" + ] } + }, + "required": [ + "type" ] + } + ] + }, + "_types.mapping:ObjectProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" }, - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "index_routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "is_hidden": { - "description": "If `true`, the alias is hidden.", - "type": "boolean" - }, - "is_write_index": { - "description": "If `true`, sets the write index or data stream for the alias.", - "type": "boolean" - }, - "routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "search_routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "must_exist": { - "description": "If `true`, the alias must exist to perform the action.", - "type": "boolean" + { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "object" + ] + } + } } - } + ] }, - "indices.update_aliases:RemoveAction": { - "type": "object", - "properties": { - "alias": { - "$ref": "#/components/schemas/_types:IndexAlias" + "_types.mapping:CompletionProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" }, - "aliases": { - "description": "Aliases for the action.\nIndex alias names support date math.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:IndexAlias" + { + "type": "object", + "properties": { + "analyzer": { + "type": "string" }, - { + "contexts": { "type": "array", "items": { - "$ref": "#/components/schemas/_types:IndexAlias" + "$ref": "#/components/schemas/_types.mapping:SuggestContext" } + }, + "max_input_length": { + "type": "number" + }, + "preserve_position_increments": { + "type": "boolean" + }, + "preserve_separators": { + "type": "boolean" + }, + "search_analyzer": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "completion" + ] } + }, + "required": [ + "type" ] - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "must_exist": { - "description": "If `true`, the alias must exist to perform the action.", - "type": "boolean" - } - } - }, - "indices.update_aliases:RemoveIndexAction": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "must_exist": { - "description": "If `true`, the alias must exist to perform the action.", - "type": "boolean" - } - } - }, - "indices.validate_query:IndicesValidationExplanation": { - "type": "object", - "properties": { - "error": { - "type": "string" - }, - "explanation": { - "type": "string" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "valid": { - "type": "boolean" } - }, - "required": [ - "index", - "valid" ] }, - "_types:ElasticsearchVersionInfo": { + "_types.mapping:SuggestContext": { "type": "object", "properties": { - "build_date": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "build_flavor": { - "type": "string" - }, - "build_hash": { - "type": "string" + "name": { + "$ref": "#/components/schemas/_types:Name" }, - "build_snapshot": { - "type": "boolean" + "path": { + "$ref": "#/components/schemas/_types:Field" }, - "build_type": { + "type": { "type": "string" }, - "lucene_version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "minimum_index_compatibility_version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "minimum_wire_compatibility_version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "number": { - "type": "string" + "precision": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] } }, "required": [ - "build_date", - "build_flavor", - "build_hash", - "build_snapshot", - "build_type", - "lucene_version", - "minimum_index_compatibility_version", - "minimum_wire_compatibility_version", - "number" + "name", + "type" ] }, - "ingest.geo_ip_stats:GeoIpDownloadStatistics": { - "type": "object", - "properties": { - "successful_downloads": { - "description": "Total number of successful database downloads.", - "type": "number" - }, - "failed_downloads": { - "description": "Total number of failed database downloads.", - "type": "number" - }, - "total_download_time": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "database_count": { - "description": "Current number of databases available for use.", - "type": "number" + "_types.mapping:ConstantKeywordProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" }, - "skipped_updates": { - "description": "Total number of database updates skipped.", - "type": "number" + { + "type": "object", + "properties": { + "value": { + "type": "object" + }, + "type": { + "type": "string", + "enum": [ + "constant_keyword" + ] + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "successful_downloads", - "failed_downloads", - "total_download_time", - "database_count", - "skipped_updates" ] }, - "ingest.geo_ip_stats:GeoIpNodeDatabases": { - "type": "object", - "properties": { - "databases": { - "description": "Downloaded databases for the node.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ingest.geo_ip_stats:GeoIpNodeDatabaseName" - } + "_types.mapping:FieldAliasProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" }, - "files_in_temp": { - "description": "Downloaded database files, including related license files. Elasticsearch stores these files in the node’s temporary directory: $ES_TMPDIR/geoip-databases/.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "databases", - "files_in_temp" - ] - }, - "ingest.geo_ip_stats:GeoIpNodeDatabaseName": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" + { + "type": "object", + "properties": { + "path": { + "$ref": "#/components/schemas/_types:Field" + }, + "type": { + "type": "string", + "enum": [ + "alias" + ] + } + }, + "required": [ + "type" + ] } - }, - "required": [ - "name" ] }, - "ingest._types:Pipeline": { - "type": "object", - "properties": { - "description": { - "description": "Description of the ingest pipeline.", - "type": "string" - }, - "on_failure": { - "description": "Processors to run immediately after a processor failure.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ingest._types:ProcessorContainer" - } - }, - "processors": { - "description": "Processors used to perform transformations on documents before indexing.\nProcessors run sequentially in the order specified.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ingest._types:ProcessorContainer" - } - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - } - } - }, - "ingest._types:ProcessorContainer": { - "type": "object", - "properties": { - "attachment": { - "$ref": "#/components/schemas/ingest._types:AttachmentProcessor" - }, - "append": { - "$ref": "#/components/schemas/ingest._types:AppendProcessor" - }, - "csv": { - "$ref": "#/components/schemas/ingest._types:CsvProcessor" - }, - "convert": { - "$ref": "#/components/schemas/ingest._types:ConvertProcessor" - }, - "date": { - "$ref": "#/components/schemas/ingest._types:DateProcessor" - }, - "date_index_name": { - "$ref": "#/components/schemas/ingest._types:DateIndexNameProcessor" - }, - "dot_expander": { - "$ref": "#/components/schemas/ingest._types:DotExpanderProcessor" - }, - "enrich": { - "$ref": "#/components/schemas/ingest._types:EnrichProcessor" - }, - "fail": { - "$ref": "#/components/schemas/ingest._types:FailProcessor" - }, - "foreach": { - "$ref": "#/components/schemas/ingest._types:ForeachProcessor" - }, - "json": { - "$ref": "#/components/schemas/ingest._types:JsonProcessor" - }, - "user_agent": { - "$ref": "#/components/schemas/ingest._types:UserAgentProcessor" - }, - "kv": { - "$ref": "#/components/schemas/ingest._types:KeyValueProcessor" - }, - "geoip": { - "$ref": "#/components/schemas/ingest._types:GeoIpProcessor" - }, - "grok": { - "$ref": "#/components/schemas/ingest._types:GrokProcessor" - }, - "gsub": { - "$ref": "#/components/schemas/ingest._types:GsubProcessor" - }, - "join": { - "$ref": "#/components/schemas/ingest._types:JoinProcessor" - }, - "lowercase": { - "$ref": "#/components/schemas/ingest._types:LowercaseProcessor" - }, - "remove": { - "$ref": "#/components/schemas/ingest._types:RemoveProcessor" - }, - "rename": { - "$ref": "#/components/schemas/ingest._types:RenameProcessor" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "set": { - "$ref": "#/components/schemas/ingest._types:SetProcessor" - }, - "sort": { - "$ref": "#/components/schemas/ingest._types:SortProcessor" - }, - "split": { - "$ref": "#/components/schemas/ingest._types:SplitProcessor" - }, - "trim": { - "$ref": "#/components/schemas/ingest._types:TrimProcessor" - }, - "uppercase": { - "$ref": "#/components/schemas/ingest._types:UppercaseProcessor" - }, - "urldecode": { - "$ref": "#/components/schemas/ingest._types:UrlDecodeProcessor" - }, - "bytes": { - "$ref": "#/components/schemas/ingest._types:BytesProcessor" - }, - "dissect": { - "$ref": "#/components/schemas/ingest._types:DissectProcessor" - }, - "set_security_user": { - "$ref": "#/components/schemas/ingest._types:SetSecurityUserProcessor" - }, - "pipeline": { - "$ref": "#/components/schemas/ingest._types:PipelineProcessor" - }, - "drop": { - "$ref": "#/components/schemas/ingest._types:DropProcessor" - }, - "circle": { - "$ref": "#/components/schemas/ingest._types:CircleProcessor" + "_types.mapping:HistogramProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:PropertyBase" }, - "inference": { - "$ref": "#/components/schemas/ingest._types:InferenceProcessor" + { + "type": "object", + "properties": { + "ignore_malformed": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "histogram" + ] + } + }, + "required": [ + "type" + ] } - }, - "minProperties": 1, - "maxProperties": 1 + ] }, - "ingest._types:AttachmentProcessor": { + "_types.mapping:IpProperty": { "allOf": [ { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" }, { "type": "object", "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" + "boost": { + "type": "number" }, - "ignore_missing": { - "description": "If `true` and field does not exist, the processor quietly exits without modifying the document.", + "index": { "type": "boolean" }, - "indexed_chars": { - "description": "The number of chars being used for extraction to prevent huge fields.\nUse `-1` for no limit.", - "type": "number" + "ignore_malformed": { + "type": "boolean" }, - "indexed_chars_field": { - "$ref": "#/components/schemas/_types:Field" + "null_value": { + "type": "string" }, - "properties": { - "description": "Array of properties to select to be stored.\nCan be `content`, `title`, `name`, `author`, `keywords`, `date`, `content_type`, `content_length`, `language`.", - "type": "array", - "items": { - "type": "string" - } + "on_script_error": { + "$ref": "#/components/schemas/_types.mapping:OnScriptError" }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" + "script": { + "$ref": "#/components/schemas/_types:Script" }, - "resource_name": { - "description": "Field containing the name of the resource to decode.\nIf specified, the processor passes this resource name to the underlying Tika library to enable Resource Name Based Detection.", - "type": "string" + "time_series_dimension": { + "description": "For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.", + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "ip" + ] } }, "required": [ - "field" + "type" ] } ] }, - "ingest._types:ProcessorBase": { - "type": "object", - "properties": { - "description": { - "description": "Description of the processor.\nUseful for describing the purpose of the processor or its configuration.", - "type": "string" - }, - "if": { - "description": "Conditionally execute the processor.", - "type": "string" + "_types.mapping:Murmur3HashProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" }, - "ignore_failure": { - "description": "Ignore failures for the processor.", - "type": "boolean" + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "murmur3" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:TokenCountProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" }, - "on_failure": { - "description": "Handle failures for the processor.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ingest._types:ProcessorContainer" - } + { + "type": "object", + "properties": { + "analyzer": { + "type": "string" + }, + "boost": { + "type": "number" + }, + "index": { + "type": "boolean" + }, + "null_value": { + "type": "number" + }, + "enable_position_increments": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "token_count" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:GeoPointProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" }, - "tag": { - "description": "Identifier for the processor.\nUseful for debugging and metrics.", - "type": "string" + { + "type": "object", + "properties": { + "ignore_malformed": { + "type": "boolean" + }, + "ignore_z_value": { + "type": "boolean" + }, + "null_value": { + "$ref": "#/components/schemas/_types:GeoLocation" + }, + "type": { + "type": "string", + "enum": [ + "geo_point" + ] + } + }, + "required": [ + "type" + ] } - } + ] }, - "ingest._types:AppendProcessor": { + "_types.mapping:GeoShapeProperty": { "allOf": [ { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" }, { "type": "object", "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" + "coerce": { + "type": "boolean" }, - "value": { - "description": "The value to be appended. Supports template snippets.", - "type": "array", - "items": { - "type": "object" - } + "ignore_malformed": { + "type": "boolean" }, - "allow_duplicates": { - "description": "If `false`, the processor does not append values already present in the field.", + "ignore_z_value": { "type": "boolean" + }, + "orientation": { + "$ref": "#/components/schemas/_types.mapping:GeoOrientation" + }, + "strategy": { + "$ref": "#/components/schemas/_types.mapping:GeoStrategy" + }, + "type": { + "type": "string", + "enum": [ + "geo_shape" + ] } }, "required": [ - "field", - "value" + "type" ] } ] }, - "ingest._types:CsvProcessor": { + "_types.mapping:GeoOrientation": { + "type": "string", + "enum": [ + "right", + "left" + ] + }, + "_types.mapping:GeoStrategy": { + "type": "string", + "enum": [ + "recursive", + "term" + ] + }, + "_types.mapping:PointProperty": { "allOf": [ { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" }, { "type": "object", "properties": { - "empty_value": { - "description": "Value used to fill empty fields.\nEmpty fields are skipped if this is not provided.\nAn empty field is one with no value (2 consecutive separators) or empty quotes (`\"\"`).", - "type": "object" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" + "ignore_malformed": { + "type": "boolean" }, - "ignore_missing": { - "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "ignore_z_value": { "type": "boolean" }, - "quote": { - "description": "Quote used in CSV, has to be single character string.", + "null_value": { "type": "string" }, - "separator": { - "description": "Separator used in CSV, has to be single character string.", - "type": "string" + "type": { + "type": "string", + "enum": [ + "point" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:ShapeProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "coerce": { + "type": "boolean" }, - "target_fields": { - "$ref": "#/components/schemas/_types:Fields" + "ignore_malformed": { + "type": "boolean" }, - "trim": { - "description": "Trim whitespaces in unquoted fields.", + "ignore_z_value": { "type": "boolean" + }, + "orientation": { + "$ref": "#/components/schemas/_types.mapping:GeoOrientation" + }, + "type": { + "type": "string", + "enum": [ + "shape" + ] } }, "required": [ - "field", - "target_fields" + "type" ] } ] }, - "ingest._types:ConvertProcessor": { + "_types.mapping:ByteNumberProperty": { "allOf": [ { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" }, { "type": "object", "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" + "type": { + "type": "string", + "enum": [ + "byte" + ] }, - "ignore_missing": { - "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "null_value": { + "$ref": "#/components/schemas/_types:byte" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types:byte": { + "type": "number" + }, + "_types.mapping:NumberPropertyBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" + }, + { + "type": "object", + "properties": { + "boost": { + "type": "number" + }, + "coerce": { "type": "boolean" }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" + "ignore_malformed": { + "type": "boolean" + }, + "index": { + "type": "boolean" + }, + "on_script_error": { + "$ref": "#/components/schemas/_types.mapping:OnScriptError" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "time_series_metric": { + "$ref": "#/components/schemas/_types.mapping:TimeSeriesMetricType" }, + "time_series_dimension": { + "description": "For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.", + "type": "boolean" + } + } + } + ] + }, + "_types.mapping:DoubleNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { "type": { - "$ref": "#/components/schemas/ingest._types:ConvertType" + "type": "string", + "enum": [ + "double" + ] + }, + "null_value": { + "type": "number" } }, "required": [ - "field", "type" ] } ] }, - "ingest._types:ConvertType": { - "type": "string", - "enum": [ - "integer", - "long", - "float", - "double", - "string", - "boolean", - "auto" + "_types.mapping:FloatNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "float" + ] + }, + "null_value": { + "type": "number" + } + }, + "required": [ + "type" + ] + } ] }, - "ingest._types:DateProcessor": { + "_types.mapping:HalfFloatNumberProperty": { "allOf": [ { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" }, { "type": "object", "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" + "type": { + "type": "string", + "enum": [ + "half_float" + ] }, - "formats": { - "description": "An array of the expected date formats.\nCan be a java time pattern or one of the following formats: ISO8601, UNIX, UNIX_MS, or TAI64N.", - "type": "array", - "items": { - "type": "string" - } + "null_value": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:IntegerNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "integer" + ] }, - "locale": { - "description": "The locale to use when parsing the date, relevant when parsing month names or week days.\nSupports template snippets.", - "type": "string" + "null_value": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:LongNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "long" + ] }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" + "null_value": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:ScaledFloatNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "scaled_float" + ] + }, + "null_value": { + "type": "number" + }, + "scaling_factor": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping:ShortNumberProperty": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "short" + ] }, - "timezone": { - "description": "The timezone to use when parsing the date.\nSupports template snippets.", - "type": "string" + "null_value": { + "$ref": "#/components/schemas/_types:short" } }, "required": [ - "field", - "formats" + "type" ] } ] }, - "ingest._types:DateIndexNameProcessor": { + "_types:short": { + "type": "number" + }, + "_types.mapping:UnsignedLongNumberProperty": { "allOf": [ { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" }, { "type": "object", "properties": { - "date_formats": { - "description": "An array of the expected date formats for parsing dates / timestamps in the document being preprocessed.\nCan be a java time pattern or one of the following formats: ISO8601, UNIX, UNIX_MS, or TAI64N.", - "type": "array", - "items": { - "type": "string" - } - }, - "date_rounding": { - "description": "How to round the date when formatting the date into the index name. Valid values are:\n`y` (year), `M` (month), `w` (week), `d` (day), `h` (hour), `m` (minute) and `s` (second).\nSupports template snippets.", - "type": "string" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "index_name_format": { - "description": "The format to be used when printing the parsed date into the index name.\nA valid java time pattern is expected here.\nSupports template snippets.", - "type": "string" - }, - "index_name_prefix": { - "description": "A prefix of the index name to be prepended before the printed date.\nSupports template snippets.", - "type": "string" - }, - "locale": { - "description": "The locale to use when parsing the date from the document being preprocessed, relevant when parsing month names or week days.", - "type": "string" + "type": { + "type": "string", + "enum": [ + "unsigned_long" + ] }, - "timezone": { - "description": "The timezone to use when parsing the date and when date math index supports resolves expressions into concrete index names.", - "type": "string" + "null_value": { + "$ref": "#/components/schemas/_types:ulong" } }, "required": [ - "date_formats", - "date_rounding", - "field" + "type" ] } ] }, - "ingest._types:DotExpanderProcessor": { + "_types:ulong": { + "type": "number" + }, + "_types.mapping:DateRangeProperty": { "allOf": [ { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" }, { "type": "object", "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "path": { - "description": "The field that contains the field to expand.\nOnly required if the field to expand is part another object field, because the `field` option can only understand leaf fields.", + "format": { "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "date_range" + ] } }, "required": [ - "field" + "type" ] } ] }, - "ingest._types:EnrichProcessor": { + "_types.mapping:RangePropertyBase": { "allOf": [ { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" }, { "type": "object", "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "max_matches": { - "description": "The maximum number of matched documents to include under the configured target field.\nThe `target_field` will be turned into a json array if `max_matches` is higher than 1, otherwise `target_field` will become a json object.\nIn order to avoid documents getting too large, the maximum allowed value is 128.", + "boost": { "type": "number" }, - "override": { - "description": "If processor will update fields with pre-existing non-null-valued field.\nWhen set to `false`, such fields will not be touched.", + "coerce": { "type": "boolean" }, - "policy_name": { - "description": "The name of the enrich policy to use.", - "type": "string" - }, - "shape_relation": { - "$ref": "#/components/schemas/_types:GeoShapeRelation" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" + "index": { + "type": "boolean" } - }, - "required": [ - "field", - "policy_name", - "target_field" - ] + } } ] }, - "_types:GeoShapeRelation": { - "type": "string", - "enum": [ - "intersects", - "disjoint", - "within", - "contains" - ] - }, - "ingest._types:FailProcessor": { + "_types.mapping:DoubleRangeProperty": { "allOf": [ { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" }, { "type": "object", "properties": { - "message": { - "description": "The error message thrown by the processor.\nSupports template snippets.", - "type": "string" + "type": { + "type": "string", + "enum": [ + "double_range" + ] } }, "required": [ - "message" + "type" ] } ] }, - "ingest._types:ForeachProcessor": { + "_types.mapping:FloatRangeProperty": { "allOf": [ { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" }, { "type": "object", "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true`, the processor silently exits without changing the document if the `field` is `null` or missing.", - "type": "boolean" - }, - "processor": { - "$ref": "#/components/schemas/ingest._types:ProcessorContainer" + "type": { + "type": "string", + "enum": [ + "float_range" + ] } }, "required": [ - "field", - "processor" + "type" ] } ] }, - "ingest._types:JsonProcessor": { + "_types.mapping:IntegerRangeProperty": { "allOf": [ { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" }, { "type": "object", "properties": { - "add_to_root": { - "description": "Flag that forces the parsed JSON to be added at the top level of the document.\n`target_field` must not be set when this option is chosen.", - "type": "boolean" - }, - "add_to_root_conflict_strategy": { - "$ref": "#/components/schemas/ingest._types:JsonProcessorConflictStrategy" - }, - "allow_duplicate_keys": { - "description": "When set to `true`, the JSON parser will not fail if the JSON contains duplicate keys.\nInstead, the last encountered value for any duplicate key wins.", - "type": "boolean" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" + "type": { + "type": "string", + "enum": [ + "integer_range" + ] } }, "required": [ - "field" + "type" ] } ] }, - "ingest._types:JsonProcessorConflictStrategy": { - "type": "string", - "enum": [ - "replace", - "merge" - ] - }, - "ingest._types:UserAgentProcessor": { + "_types.mapping:IpRangeProperty": { "allOf": [ { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" }, { "type": "object", "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "options": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ingest._types:UserAgentProperty" - } - }, - "regex_file": { - "description": "The name of the file in the `config/ingest-user-agent` directory containing the regular expressions for parsing the user agent string. Both the directory and the file have to be created before starting Elasticsearch. If not specified, ingest-user-agent will use the `regexes.yaml` from uap-core it ships with.", - "type": "string" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" + "type": { + "type": "string", + "enum": [ + "ip_range" + ] } }, "required": [ - "field" + "type" ] } ] }, - "ingest._types:UserAgentProperty": { - "type": "string", - "enum": [ - "NAME", - "MAJOR", - "MINOR", - "PATCH", - "OS", - "OS_NAME", - "OS_MAJOR", - "OS_MINOR", - "DEVICE", - "BUILD" - ] - }, - "ingest._types:KeyValueProcessor": { + "_types.mapping:LongRangeProperty": { "allOf": [ { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" }, { "type": "object", "properties": { - "exclude_keys": { - "description": "List of keys to exclude from document.", - "type": "array", - "items": { - "type": "string" - } - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "field_split": { - "description": "Regex pattern to use for splitting key-value pairs.", - "type": "string" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "include_keys": { - "description": "List of keys to filter and insert into document.\nDefaults to including all keys.", - "type": "array", - "items": { - "type": "string" - } - }, - "prefix": { - "description": "Prefix to be added to extracted keys.", - "type": "string" - }, - "strip_brackets": { - "description": "If `true`. strip brackets `()`, `<>`, `[]` as well as quotes `'` and `\"` from extracted values.", - "type": "boolean" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "trim_key": { - "description": "String of characters to trim from extracted keys.", - "type": "string" - }, - "trim_value": { - "description": "String of characters to trim from extracted values.", - "type": "string" - }, - "value_split": { - "description": "Regex pattern to use for splitting the key from the value within a key-value pair.", - "type": "string" + "type": { + "type": "string", + "enum": [ + "long_range" + ] } }, "required": [ - "field", - "field_split", - "value_split" + "type" ] } ] }, - "ingest._types:GeoIpProcessor": { - "allOf": [ + "_types.mapping:MatchType": { + "type": "string", + "enum": [ + "simple", + "regex" + ] + }, + "_types.mapping:FieldNamesField": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ] + }, + "_types.mapping:IndexField": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ] + }, + "_types.mapping:RoutingField": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + }, + "required": [ + "required" + ] + }, + "_types.mapping:SizeField": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ] + }, + "_types.mapping:SourceField": { + "type": "object", + "properties": { + "compress": { + "type": "boolean" + }, + "compress_threshold": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "excludes": { + "type": "array", + "items": { + "type": "string" + } + }, + "includes": { + "type": "array", + "items": { + "type": "string" + } + }, + "mode": { + "$ref": "#/components/schemas/_types.mapping:SourceFieldMode" + } + } + }, + "_types.mapping:SourceFieldMode": { + "type": "string", + "enum": [ + "disabled", + "stored", + "synthetic" + ] + }, + "_types.mapping:DataStreamTimestamp": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ] + }, + "indices._types:AliasDefinition": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "index_routing": { + "description": "Value used to route indexing operations to a specific shard.\nIf specified, this overwrites the `routing` value for indexing operations.", + "type": "string" + }, + "is_write_index": { + "description": "If `true`, the index is the write index for the alias.", + "type": "boolean" + }, + "routing": { + "description": "Value used to route indexing and search operations to a specific shard.", + "type": "string" + }, + "search_routing": { + "description": "Value used to route search operations to a specific shard.\nIf specified, this overwrites the `routing` value for search operations.", + "type": "string" + }, + "is_hidden": { + "description": "If `true`, the alias is hidden.\nAll indices for the alias must have the same `is_hidden` value.", + "type": "boolean" + } + } + }, + "indices._types:DataStreamLifecycleWithRollover": { + "type": "object", + "properties": { + "data_retention": { + "$ref": "#/components/schemas/_types:Duration" + }, + "downsampling": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleDownsampling" + }, + "rollover": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleRolloverConditions" + } + } + }, + "indices._types:DataStreamLifecycleDownsampling": { + "type": "object", + "properties": { + "rounds": { + "description": "The list of downsampling rounds to execute as part of this downsampling configuration", + "type": "array", + "items": { + "$ref": "#/components/schemas/indices._types:DownsamplingRound" + } + } + }, + "required": [ + "rounds" + ] + }, + "indices._types:DownsamplingRound": { + "type": "object", + "properties": { + "after": { + "$ref": "#/components/schemas/_types:Duration" + }, + "config": { + "$ref": "#/components/schemas/indices._types:DownsampleConfig" + } + }, + "required": [ + "after", + "config" + ] + }, + "indices._types:DownsampleConfig": { + "type": "object", + "properties": { + "fixed_interval": { + "$ref": "#/components/schemas/_types:DurationLarge" + } + }, + "required": [ + "fixed_interval" + ] + }, + "indices._types:DataStreamLifecycleRolloverConditions": { + "type": "object", + "properties": { + "min_age": { + "$ref": "#/components/schemas/_types:Duration" + }, + "max_age": { + "type": "string" + }, + "min_docs": { + "type": "number" + }, + "max_docs": { + "type": "number" + }, + "min_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "max_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "min_primary_shard_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "max_primary_shard_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "min_primary_shard_docs": { + "type": "number" + }, + "max_primary_shard_docs": { + "type": "number" + } + } + }, + "_types:ClusterInfoTargets": { + "oneOf": [ { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "$ref": "#/components/schemas/_types:ClusterInfoTarget" }, { - "type": "object", - "properties": { - "database_file": { - "description": "The database filename referring to a database the module ships with (GeoLite2-City.mmdb, GeoLite2-Country.mmdb, or GeoLite2-ASN.mmdb) or a custom database in the ingest-geoip config directory.", - "type": "string" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "first_only": { - "description": "If `true`, only the first found geoip data will be returned, even if the field contains an array.", - "type": "boolean" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "properties": { - "description": "Controls what properties are added to the `target_field` based on the geoip lookup.", - "type": "array", - "items": { - "type": "string" - } - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field" - ] + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:ClusterInfoTarget" + } } ] }, - "ingest._types:GrokProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "_types:ClusterInfoTarget": { + "type": "string", + "enum": [ + "_all", + "http", + "ingest", + "thread_pool", + "script" + ] + }, + "nodes._types:Http": { + "type": "object", + "properties": { + "current_open": { + "description": "Current number of open HTTP connections for the node.", + "type": "number" }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "pattern_definitions": { - "description": "A map of pattern-name and pattern tuples defining custom patterns to be used by the current processor.\nPatterns matching existing names will override the pre-existing definition.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "patterns": { - "description": "An ordered list of grok expression to match and extract named captures with.\nReturns on the first expression in the list that matches.", - "type": "array", - "items": { - "type": "string" - } - }, - "trace_match": { - "description": "When `true`, `_ingest._grok_match_index` will be inserted into your matched document’s metadata with the index into the pattern found in `patterns` that matched.", - "type": "boolean" - } - }, - "required": [ - "field", - "patterns" - ] + "total_opened": { + "description": "Total number of HTTP connections opened for the node.", + "type": "number" + }, + "clients": { + "description": "Information on current and recently-closed HTTP client connections.\nClients that have been closed longer than the `http.client_stats.closed_channels.max_age` setting will not be represented here.", + "type": "array", + "items": { + "$ref": "#/components/schemas/nodes._types:Client" + } } - ] + } }, - "ingest._types:GsubProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "nodes._types:Client": { + "type": "object", + "properties": { + "id": { + "description": "Unique ID for the HTTP client.", + "type": "number" }, - { + "agent": { + "description": "Reported agent for the HTTP client.\nIf unavailable, this property is not included in the response.", + "type": "string" + }, + "local_address": { + "description": "Local address for the HTTP connection.", + "type": "string" + }, + "remote_address": { + "description": "Remote address for the HTTP connection.", + "type": "string" + }, + "last_uri": { + "description": "The URI of the client’s most recent request.", + "type": "string" + }, + "opened_time_millis": { + "description": "Time at which the client opened the connection.", + "type": "number" + }, + "closed_time_millis": { + "description": "Time at which the client closed the connection if the connection is closed.", + "type": "number" + }, + "last_request_time_millis": { + "description": "Time of the most recent request from this client.", + "type": "number" + }, + "request_count": { + "description": "Number of requests from this client.", + "type": "number" + }, + "request_size_bytes": { + "description": "Cumulative size in bytes of all requests from this client.", + "type": "number" + }, + "x_opaque_id": { + "description": "Value from the client’s `x-opaque-id` HTTP header.\nIf unavailable, this property is not included in the response.", + "type": "string" + } + } + }, + "nodes._types:Ingest": { + "type": "object", + "properties": { + "pipelines": { + "description": "Contains statistics about ingest pipelines for the node.", "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "pattern": { - "description": "The pattern to be replaced.", - "type": "string" - }, - "replacement": { - "description": "The string to replace the matching patterns with.", - "type": "string" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field", - "pattern", - "replacement" - ] + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:IngestTotal" + } + }, + "total": { + "$ref": "#/components/schemas/nodes._types:IngestTotal" } - ] + } }, - "ingest._types:JoinProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "nodes._types:IngestTotal": { + "type": "object", + "properties": { + "count": { + "description": "Total number of documents ingested during the lifetime of this node.", + "type": "number" }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "separator": { - "description": "The separator character.", - "type": "string" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" + "current": { + "description": "Total number of documents currently being ingested.", + "type": "number" + }, + "failed": { + "description": "Total number of failed ingest operations during the lifetime of this node.", + "type": "number" + }, + "processors": { + "description": "Total number of ingest processors.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/nodes._types:KeyedProcessor" } - }, - "required": [ - "field", - "separator" - ] + } + }, + "time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" } - ] + } }, - "ingest._types:LowercaseProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "nodes._types:KeyedProcessor": { + "type": "object", + "properties": { + "stats": { + "$ref": "#/components/schemas/nodes._types:Processor" }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field" - ] + "type": { + "type": "string" } - ] + } }, - "ingest._types:RemoveProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "nodes._types:Processor": { + "type": "object", + "properties": { + "count": { + "description": "Number of documents transformed by the processor.", + "type": "number" }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Fields" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", - "type": "boolean" - } - }, - "required": [ - "field" - ] + "current": { + "description": "Number of documents currently being transformed by the processor.", + "type": "number" + }, + "failed": { + "description": "Number of failed operations for the processor.", + "type": "number" + }, + "time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" } - ] + } }, - "ingest._types:RenameProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "nodes._types:ThreadCount": { + "type": "object", + "properties": { + "active": { + "description": "Number of active threads in the thread pool.", + "type": "number" }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field", - "target_field" - ] + "completed": { + "description": "Number of tasks completed by the thread pool executor.", + "type": "number" + }, + "largest": { + "description": "Highest number of active threads in the thread pool.", + "type": "number" + }, + "queue": { + "description": "Number of tasks in queue for the thread pool.", + "type": "number" + }, + "rejected": { + "description": "Number of tasks rejected by the thread pool executor.", + "type": "number" + }, + "threads": { + "description": "Number of threads in the thread pool.", + "type": "number" } - ] + } }, - "ingest._types:SetProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "nodes._types:Scripting": { + "type": "object", + "properties": { + "cache_evictions": { + "description": "Total number of times the script cache has evicted old data.", + "type": "number" }, - { + "compilations": { + "description": "Total number of inline script compilations performed by the node.", + "type": "number" + }, + "compilations_history": { + "description": "Contains this recent history of script compilations.", "type": "object", - "properties": { - "copy_from": { - "$ref": "#/components/schemas/_types:Field" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_empty_value": { - "description": "If `true` and `value` is a template snippet that evaluates to `null` or the empty string, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "media_type": { - "description": "The media type for encoding `value`.\nApplies only when value is a template snippet.\nMust be one of `application/json`, `text/plain`, or `application/x-www-form-urlencoded`.", - "type": "string" - }, - "override": { - "description": "If `true` processor will update fields with pre-existing non-null-valued field.\nWhen set to `false`, such fields will not be touched.", - "type": "boolean" - }, - "value": { - "description": "The value to be set for the field.\nSupports template snippets.\nMay specify only one of `value` or `copy_from`.", - "type": "object" - } - }, - "required": [ - "field" - ] + "additionalProperties": { + "type": "number" + } + }, + "compilation_limit_triggered": { + "description": "Total number of times the script compilation circuit breaker has limited inline script compilations.", + "type": "number" + }, + "contexts": { + "type": "array", + "items": { + "$ref": "#/components/schemas/nodes._types:Context" + } } - ] + } }, - "ingest._types:SortProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "nodes._types:Context": { + "type": "object", + "properties": { + "context": { + "type": "string" }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "order": { - "$ref": "#/components/schemas/_types:SortOrder" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field" - ] + "compilations": { + "type": "number" + }, + "cache_evictions": { + "type": "number" + }, + "compilation_limit_triggered": { + "type": "number" } - ] + } }, - "ingest._types:SplitProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "cluster.pending_tasks:PendingTask": { + "type": "object", + "properties": { + "executing": { + "description": "Indicates whether the pending tasks are currently executing or not.", + "type": "boolean" }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "preserve_trailing": { - "description": "Preserves empty trailing fields, if any.", - "type": "boolean" - }, - "separator": { - "description": "A regex which matches the separator, for example, `,` or `\\s+`.", - "type": "string" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field", - "separator" - ] + "insert_order": { + "description": "The number that represents when the task has been inserted into the task queue.", + "type": "number" + }, + "priority": { + "description": "The priority of the pending task.\nThe valid priorities in descending priority order are: `IMMEDIATE` > `URGENT` > `HIGH` > `NORMAL` > `LOW` > `LANGUID`.", + "type": "string" + }, + "source": { + "description": "A general description of the cluster task that may include a reason and origin.", + "type": "string" + }, + "time_in_queue": { + "$ref": "#/components/schemas/_types:Duration" + }, + "time_in_queue_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" } + }, + "required": [ + "executing", + "insert_order", + "priority", + "source", + "time_in_queue_millis" ] }, - "ingest._types:TrimProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { + "indices._types:IndexState": { + "type": "object", + "properties": { + "aliases": { "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field" - ] + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "settings": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + }, + "defaults": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + }, + "data_stream": { + "$ref": "#/components/schemas/_types:DataStreamName" + }, + "lifecycle": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycle" } - ] + } }, - "ingest._types:UppercaseProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "indices._types:Alias": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field" - ] + "index_routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "is_hidden": { + "description": "If `true`, the alias is hidden.\nAll indices for the alias must have the same `is_hidden` value.", + "type": "boolean" + }, + "is_write_index": { + "description": "If `true`, the index is the write index for the alias.", + "type": "boolean" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "search_routing": { + "$ref": "#/components/schemas/_types:Routing" } - ] + } }, - "ingest._types:UrlDecodeProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "_types:DataStreamName": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-data-stream.html#indices-create-data-stream-api-path-params" + }, + "type": "string" + }, + "indices._types:DataStreamLifecycle": { + "type": "object", + "properties": { + "data_retention": { + "$ref": "#/components/schemas/_types:Duration" }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field" - ] + "downsampling": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleDownsampling" } - ] + } }, - "ingest._types:BytesProcessor": { - "allOf": [ + "_types:NodeIds": { + "oneOf": [ { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "$ref": "#/components/schemas/_types:NodeId" }, { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field" - ] + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:NodeId" + } } ] }, - "ingest._types:DissectProcessor": { + "cluster.stats:StatsResponseBase": { "allOf": [ { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "$ref": "#/components/schemas/nodes._types:NodesResponseBase" }, { "type": "object", "properties": { - "append_separator": { - "description": "The character(s) that separate the appended fields.", - "type": "string" + "cluster_name": { + "$ref": "#/components/schemas/_types:Name" }, - "field": { - "$ref": "#/components/schemas/_types:Field" + "cluster_uuid": { + "$ref": "#/components/schemas/_types:Uuid" }, - "ignore_missing": { - "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", - "type": "boolean" + "indices": { + "$ref": "#/components/schemas/cluster.stats:ClusterIndices" }, - "pattern": { - "description": "The pattern to apply to the field.", - "type": "string" + "nodes": { + "$ref": "#/components/schemas/cluster.stats:ClusterNodes" + }, + "status": { + "$ref": "#/components/schemas/_types:HealthStatus" + }, + "timestamp": { + "description": "Unix timestamp, in milliseconds, for the last time the cluster statistics were refreshed.", + "type": "number" } }, "required": [ - "field", - "pattern" + "cluster_name", + "cluster_uuid", + "indices", + "nodes", + "status", + "timestamp" ] } ] }, - "ingest._types:SetSecurityUserProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "cluster.stats:ClusterIndices": { + "type": "object", + "properties": { + "analysis": { + "$ref": "#/components/schemas/cluster.stats:CharFilterTypes" }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "properties": { - "description": "Controls what user related properties are added to the field.", - "type": "array", - "items": { - "type": "string" - } - } + "completion": { + "$ref": "#/components/schemas/_types:CompletionStats" + }, + "count": { + "description": "Total number of indices with shards assigned to selected nodes.", + "type": "number" + }, + "docs": { + "$ref": "#/components/schemas/_types:DocStats" + }, + "fielddata": { + "$ref": "#/components/schemas/_types:FielddataStats" + }, + "query_cache": { + "$ref": "#/components/schemas/_types:QueryCacheStats" + }, + "segments": { + "$ref": "#/components/schemas/_types:SegmentsStats" + }, + "shards": { + "$ref": "#/components/schemas/cluster.stats:ClusterIndicesShards" + }, + "store": { + "$ref": "#/components/schemas/_types:StoreStats" + }, + "mappings": { + "$ref": "#/components/schemas/cluster.stats:FieldTypesMappings" + }, + "versions": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analyzer-anatomy.html" }, - "required": [ - "field" - ] + "description": "Contains statistics about analyzers and analyzer components used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:IndicesVersions" + } } + }, + "required": [ + "analysis", + "completion", + "count", + "docs", + "fielddata", + "query_cache", + "segments", + "shards", + "store", + "mappings" ] }, - "ingest._types:PipelineProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "cluster.stats:CharFilterTypes": { + "type": "object", + "properties": { + "analyzer_types": { + "description": "Contains statistics about analyzer types used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } }, - { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "ignore_missing_pipeline": { - "description": "Whether to ignore missing pipelines instead of failing.", - "type": "boolean" - } - }, - "required": [ - "name" - ] + "built_in_analyzers": { + "description": "Contains statistics about built-in analyzers used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + }, + "built_in_char_filters": { + "description": "Contains statistics about built-in character filters used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + }, + "built_in_filters": { + "description": "Contains statistics about built-in token filters used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + }, + "built_in_tokenizers": { + "description": "Contains statistics about built-in tokenizers used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + }, + "char_filter_types": { + "description": "Contains statistics about character filter types used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + }, + "filter_types": { + "description": "Contains statistics about token filter types used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } + }, + "tokenizer_types": { + "description": "Contains statistics about tokenizer types used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } } + }, + "required": [ + "analyzer_types", + "built_in_analyzers", + "built_in_char_filters", + "built_in_filters", + "built_in_tokenizers", + "char_filter_types", + "filter_types", + "tokenizer_types" ] }, - "ingest._types:DropProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "cluster.stats:FieldTypes": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" }, - { - "type": "object" + "count": { + "description": "The number of occurrences of the field type in selected nodes.", + "type": "number" + }, + "index_count": { + "description": "The number of indices containing the field type in selected nodes.", + "type": "number" + }, + "indexed_vector_count": { + "description": "For dense_vector field types, number of indexed vector types in selected nodes.", + "type": "number" + }, + "indexed_vector_dim_max": { + "description": "For dense_vector field types, the maximum dimension of all indexed vector types in selected nodes.", + "type": "number" + }, + "indexed_vector_dim_min": { + "description": "For dense_vector field types, the minimum dimension of all indexed vector types in selected nodes.", + "type": "number" + }, + "script_count": { + "description": "The number of fields that declare a script.", + "type": "number" } + }, + "required": [ + "name", + "count", + "index_count" ] }, - "ingest._types:CircleProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "_types:CompletionStats": { + "type": "object", + "properties": { + "size_in_bytes": { + "description": "Total amount, in bytes, of memory used for completion across all shards assigned to selected nodes.", + "type": "number" }, - { + "size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "fields": { "type": "object", - "properties": { - "error_distance": { - "description": "The difference between the resulting inscribed distance from center to side and the circle’s radius (measured in meters for `geo_shape`, unit-less for `shape`).", - "type": "number" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "shape_type": { - "$ref": "#/components/schemas/ingest._types:ShapeType" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "error_distance", - "field", - "shape_type" - ] + "additionalProperties": { + "$ref": "#/components/schemas/_types:FieldSizeUsage" + } } + }, + "required": [ + "size_in_bytes" ] }, - "ingest._types:ShapeType": { - "type": "string", - "enum": [ - "geo_shape", - "shape" + "_types:FieldSizeUsage": { + "type": "object", + "properties": { + "size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "size_in_bytes": { + "type": "number" + } + }, + "required": [ + "size_in_bytes" ] }, - "ingest._types:InferenceProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" + "_types:DocStats": { + "type": "object", + "properties": { + "count": { + "description": "Total number of non-deleted documents across all primary shards assigned to selected nodes.\nThis number is based on documents in Lucene segments and may include documents from nested fields.", + "type": "number" }, - { - "type": "object", - "properties": { - "model_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "field_map": { - "description": "Maps the document field names to the known field names of the model.\nThis mapping takes precedence over any default mappings provided in the model configuration.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "inference_config": { - "$ref": "#/components/schemas/ingest._types:InferenceConfig" - } - }, - "required": [ - "model_id" - ] + "deleted": { + "description": "Total number of deleted documents across all primary shards assigned to selected nodes.\nThis number is based on documents in Lucene segments.\nElasticsearch reclaims the disk space of deleted Lucene documents when a segment is merged.", + "type": "number" } + }, + "required": [ + "count" ] }, - "ingest._types:InferenceConfig": { + "_types:FielddataStats": { "type": "object", "properties": { - "regression": { - "$ref": "#/components/schemas/ingest._types:InferenceConfigRegression" + "evictions": { + "type": "number" }, - "classification": { - "$ref": "#/components/schemas/ingest._types:InferenceConfigClassification" + "memory_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "memory_size_in_bytes": { + "type": "number" + }, + "fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:FieldMemoryUsage" + } } }, - "minProperties": 1, - "maxProperties": 1 + "required": [ + "memory_size_in_bytes" + ] }, - "ingest._types:InferenceConfigRegression": { + "_types:FieldMemoryUsage": { "type": "object", "properties": { - "results_field": { - "$ref": "#/components/schemas/_types:Field" + "memory_size": { + "$ref": "#/components/schemas/_types:ByteSize" }, - "num_top_feature_importance_values": { - "description": "Specifies the maximum number of feature importance values per document.", + "memory_size_in_bytes": { "type": "number" } - } + }, + "required": [ + "memory_size_in_bytes" + ] }, - "ingest._types:InferenceConfigClassification": { + "_types:QueryCacheStats": { "type": "object", "properties": { - "num_top_classes": { - "description": "Specifies the number of top class predictions to return.", + "cache_count": { + "description": "Total number of entries added to the query cache across all shards assigned to selected nodes.\nThis number includes current and evicted entries.", "type": "number" }, - "num_top_feature_importance_values": { - "description": "Specifies the maximum number of feature importance values per document.", + "cache_size": { + "description": "Total number of entries currently in the query cache across all shards assigned to selected nodes.", "type": "number" }, - "results_field": { - "$ref": "#/components/schemas/_types:Field" + "evictions": { + "description": "Total number of query cache evictions across all shards assigned to selected nodes.", + "type": "number" }, - "top_classes_results_field": { - "$ref": "#/components/schemas/_types:Field" + "hit_count": { + "description": "Total count of query cache hits across all shards assigned to selected nodes.", + "type": "number" }, - "prediction_field_type": { - "description": "Specifies the type of the predicted field to write.\nValid values are: `string`, `number`, `boolean`.", - "type": "string" - } - } - }, - "ingest.simulate:Document": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" + "memory_size": { + "$ref": "#/components/schemas/_types:ByteSize" }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" + "memory_size_in_bytes": { + "description": "Total amount, in bytes, of memory used for the query cache across all shards assigned to selected nodes.", + "type": "number" }, - "_source": { - "description": "JSON body for the document.", - "type": "object" + "miss_count": { + "description": "Total count of query cache misses across all shards assigned to selected nodes.", + "type": "number" + }, + "total_count": { + "description": "Total count of hits and misses in the query cache across all shards assigned to selected nodes.", + "type": "number" } }, "required": [ - "_source" + "cache_count", + "cache_size", + "evictions", + "hit_count", + "memory_size_in_bytes", + "miss_count", + "total_count" ] }, - "ingest.simulate:PipelineSimulation": { + "_types:SegmentsStats": { "type": "object", "properties": { - "doc": { - "$ref": "#/components/schemas/ingest.simulate:DocumentSimulation" + "count": { + "description": "Total number of segments across all shards assigned to selected nodes.", + "type": "number" }, - "processor_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ingest.simulate:PipelineSimulation" + "doc_values_memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "doc_values_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used for doc values across all shards assigned to selected nodes.", + "type": "number" + }, + "file_sizes": { + "description": "This object is not populated by the cluster stats API.\nTo get information on segment files, use the node stats API.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices.stats:ShardFileSizeInfo" } }, - "tag": { - "type": "string" + "fixed_bit_set": { + "$ref": "#/components/schemas/_types:ByteSize" }, - "processor_type": { - "type": "string" + "fixed_bit_set_memory_in_bytes": { + "description": "Total amount of memory, in bytes, used by fixed bit sets across all shards assigned to selected nodes.", + "type": "number" }, - "status": { - "$ref": "#/components/schemas/watcher._types:ActionStatusOptions" - } - } - }, - "ingest.simulate:DocumentSimulation": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" + "index_writer_memory": { + "$ref": "#/components/schemas/_types:ByteSize" }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" + "index_writer_max_memory_in_bytes": { + "type": "number" }, - "_ingest": { - "$ref": "#/components/schemas/ingest.simulate:Ingest" + "index_writer_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used by all index writers across all shards assigned to selected nodes.", + "type": "number" }, - "_routing": { - "description": "Value used to send the document to a specific primary shard.", - "type": "string" + "max_unsafe_auto_id_timestamp": { + "description": "Unix timestamp, in milliseconds, of the most recently retried indexing request.", + "type": "number" }, - "_source": { - "description": "JSON body for the document.", - "type": "object", - "additionalProperties": { - "type": "object" - } + "memory": { + "$ref": "#/components/schemas/_types:ByteSize" }, - "_version": { - "$ref": "#/components/schemas/_spec_utils:StringifiedVersionNumber" + "memory_in_bytes": { + "description": "Total amount, in bytes, of memory used for segments across all shards assigned to selected nodes.", + "type": "number" }, - "_version_type": { - "$ref": "#/components/schemas/_types:VersionType" + "norms_memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "norms_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used for normalization factors across all shards assigned to selected nodes.", + "type": "number" + }, + "points_memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "points_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used for points across all shards assigned to selected nodes.", + "type": "number" + }, + "stored_memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "stored_fields_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used for stored fields across all shards assigned to selected nodes.", + "type": "number" + }, + "terms_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used for terms across all shards assigned to selected nodes.", + "type": "number" + }, + "terms_memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "term_vectory_memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "term_vectors_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used for term vectors across all shards assigned to selected nodes.", + "type": "number" + }, + "version_map_memory": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "version_map_memory_in_bytes": { + "description": "Total amount, in bytes, of memory used by all version maps across all shards assigned to selected nodes.", + "type": "number" } }, "required": [ - "_id", - "_index", - "_ingest", - "_source" + "count", + "doc_values_memory_in_bytes", + "file_sizes", + "fixed_bit_set_memory_in_bytes", + "index_writer_memory_in_bytes", + "max_unsafe_auto_id_timestamp", + "memory_in_bytes", + "norms_memory_in_bytes", + "points_memory_in_bytes", + "stored_fields_memory_in_bytes", + "terms_memory_in_bytes", + "term_vectors_memory_in_bytes", + "version_map_memory_in_bytes" ] }, - "ingest.simulate:Ingest": { + "indices.stats:ShardFileSizeInfo": { "type": "object", "properties": { - "timestamp": { - "$ref": "#/components/schemas/_types:DateTime" + "description": { + "type": "string" }, - "pipeline": { - "$ref": "#/components/schemas/_types:Name" + "size_in_bytes": { + "type": "number" + }, + "min_size_in_bytes": { + "type": "number" + }, + "max_size_in_bytes": { + "type": "number" + }, + "average_size_in_bytes": { + "type": "number" + }, + "count": { + "type": "number" } }, "required": [ - "timestamp" - ] - }, - "_spec_utils:StringifiedVersionNumber": { - "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - { - "type": "string" - } - ] - }, - "watcher._types:ActionStatusOptions": { - "type": "string", - "enum": [ - "success", - "failure", - "simulated", - "throttled" + "description", + "size_in_bytes" ] }, - "logstash._types:Pipeline": { + "cluster.stats:ClusterIndicesShards": { "type": "object", "properties": { - "description": { - "description": "Description of the pipeline.\nThis description is not used by Elasticsearch or Logstash.", - "type": "string" + "index": { + "$ref": "#/components/schemas/cluster.stats:ClusterIndicesShardsIndex" }, - "last_modified": { - "$ref": "#/components/schemas/_types:DateTime" + "primaries": { + "description": "Number of primary shards assigned to selected nodes.", + "type": "number" }, - "pipeline_metadata": { - "$ref": "#/components/schemas/logstash._types:PipelineMetadata" + "replication": { + "description": "Ratio of replica shards to primary shards across all selected nodes.", + "type": "number" }, - "username": { - "description": "User who last updated the pipeline.", - "type": "string" + "total": { + "description": "Total number of shards assigned to selected nodes.", + "type": "number" + } + } + }, + "cluster.stats:ClusterIndicesShardsIndex": { + "type": "object", + "properties": { + "primaries": { + "$ref": "#/components/schemas/cluster.stats:ClusterShardMetrics" }, - "pipeline": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/logstash/current/configuration-file-structure.html" - }, - "description": "Configuration for the pipeline.", - "type": "string" + "replication": { + "$ref": "#/components/schemas/cluster.stats:ClusterShardMetrics" }, - "pipeline_settings": { - "$ref": "#/components/schemas/logstash._types:PipelineSettings" + "shards": { + "$ref": "#/components/schemas/cluster.stats:ClusterShardMetrics" } }, "required": [ - "description", - "last_modified", - "pipeline_metadata", - "username", - "pipeline", - "pipeline_settings" + "primaries", + "replication", + "shards" ] }, - "logstash._types:PipelineMetadata": { + "cluster.stats:ClusterShardMetrics": { "type": "object", "properties": { - "type": { - "type": "string" + "avg": { + "description": "Mean number of shards in an index, counting only shards assigned to selected nodes.", + "type": "number" }, - "version": { - "type": "string" + "max": { + "description": "Maximum number of shards in an index, counting only shards assigned to selected nodes.", + "type": "number" + }, + "min": { + "description": "Minimum number of shards in an index, counting only shards assigned to selected nodes.", + "type": "number" } }, "required": [ - "type", - "version" + "avg", + "max", + "min" ] }, - "logstash._types:PipelineSettings": { + "_types:StoreStats": { "type": "object", "properties": { - "pipeline.workers": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/logstash/current/logstash-settings-file.html" - }, - "description": "The number of workers that will, in parallel, execute the filter and output stages of the pipeline.", - "type": "number" - }, - "pipeline.batch.size": { - "description": "The maximum number of events an individual worker thread will collect from inputs before attempting to execute its filters and outputs.", - "type": "number" + "size": { + "$ref": "#/components/schemas/_types:ByteSize" }, - "pipeline.batch.delay": { - "description": "When creating pipeline event batches, how long in milliseconds to wait for each event before dispatching an undersized batch to pipeline workers.", + "size_in_bytes": { + "description": "Total size, in bytes, of all shards assigned to selected nodes.", "type": "number" }, - "queue.type": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/logstash/current/logstash-settings-file.html" - }, - "description": "The internal queuing model to use for event buffering.", - "type": "string" + "reserved": { + "$ref": "#/components/schemas/_types:ByteSize" }, - "queue.max_bytes.number": { - "description": "The total capacity of the queue (`queue.type: persisted`) in number of bytes.", + "reserved_in_bytes": { + "description": "A prediction, in bytes, of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.", "type": "number" }, - "queue.max_bytes.units": { - "description": "The total capacity of the queue (`queue.type: persisted`) in terms of units of bytes.", - "type": "string" + "total_data_set_size": { + "$ref": "#/components/schemas/_types:ByteSize" }, - "queue.checkpoint.writes": { - "description": "The maximum number of written events before forcing a checkpoint when persistent queues are enabled (`queue.type: persisted`).", + "total_data_set_size_in_bytes": { + "description": "Total data set size, in bytes, of all shards assigned to selected nodes.\nThis includes the size of shards not stored fully on the nodes, such as the cache for partially mounted indices.", "type": "number" } }, "required": [ - "pipeline.workers", - "pipeline.batch.size", - "pipeline.batch.delay", - "queue.type", - "queue.max_bytes.number", - "queue.max_bytes.units", - "queue.checkpoint.writes" + "size_in_bytes", + "reserved_in_bytes" ] }, - "_global.mget:Operation": { + "cluster.stats:FieldTypesMappings": { "type": "object", "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" + "field_types": { + "description": "Contains statistics about field data types used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:FieldTypes" + } }, - "routing": { - "$ref": "#/components/schemas/_types:Routing" + "runtime_field_types": { + "description": "Contains statistics about runtime field data types used in selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:RuntimeFieldTypes" + } }, - "_source": { - "$ref": "#/components/schemas/_global.search._types:SourceConfig" + "total_field_count": { + "description": "Total number of fields in all non-system indices.", + "type": "number" }, - "stored_fields": { - "$ref": "#/components/schemas/_types:Fields" + "total_deduplicated_field_count": { + "description": "Total number of fields in all non-system indices, accounting for mapping deduplication.", + "type": "number" }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" + "total_deduplicated_mapping_size": { + "$ref": "#/components/schemas/_types:ByteSize" }, - "version_type": { - "$ref": "#/components/schemas/_types:VersionType" + "total_deduplicated_mapping_size_in_bytes": { + "description": "Total size of all mappings, in bytes, after deduplication and compression.", + "type": "number" } }, "required": [ - "_id" + "field_types" ] }, - "_global.mget:ResponseItem": { - "oneOf": [ - { - "$ref": "#/components/schemas/_global.get:GetResult" + "cluster.stats:RuntimeFieldTypes": { + "type": "object", + "properties": { + "chars_max": { + "description": "Maximum number of characters for a single runtime field script.", + "type": "number" }, - { - "$ref": "#/components/schemas/_global.mget:MultiGetError" + "chars_total": { + "description": "Total number of characters for the scripts that define the current runtime field data type.", + "type": "number" + }, + "count": { + "description": "Number of runtime fields mapped to the field data type in selected nodes.", + "type": "number" + }, + "doc_max": { + "description": "Maximum number of accesses to doc_values for a single runtime field script", + "type": "number" + }, + "doc_total": { + "description": "Total number of accesses to doc_values for the scripts that define the current runtime field data type.", + "type": "number" + }, + "index_count": { + "description": "Number of indices containing a mapping of the runtime field data type in selected nodes.", + "type": "number" + }, + "lang": { + "description": "Script languages used for the runtime fields scripts.", + "type": "array", + "items": { + "type": "string" + } + }, + "lines_max": { + "description": "Maximum number of lines for a single runtime field script.", + "type": "number" + }, + "lines_total": { + "description": "Total number of lines for the scripts that define the current runtime field data type.", + "type": "number" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "scriptless_count": { + "description": "Number of runtime fields that don’t declare a script.", + "type": "number" + }, + "shadowed_count": { + "description": "Number of runtime fields that shadow an indexed field.", + "type": "number" + }, + "source_max": { + "description": "Maximum number of accesses to _source for a single runtime field script.", + "type": "number" + }, + "source_total": { + "description": "Total number of accesses to _source for the scripts that define the current runtime field data type.", + "type": "number" } + }, + "required": [ + "chars_max", + "chars_total", + "count", + "doc_max", + "doc_total", + "index_count", + "lang", + "lines_max", + "lines_total", + "name", + "scriptless_count", + "shadowed_count", + "source_max", + "source_total" ] }, - "_global.mget:MultiGetError": { + "cluster.stats:IndicesVersions": { "type": "object", "properties": { - "error": { - "$ref": "#/components/schemas/_types:ErrorCause" + "index_count": { + "type": "number" }, - "_id": { - "$ref": "#/components/schemas/_types:Id" + "primary_shard_count": { + "type": "number" }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" + "total_primary_bytes": { + "type": "number" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" } }, "required": [ - "error", - "_id", - "_index" + "index_count", + "primary_shard_count", + "total_primary_bytes", + "version" ] }, - "ml._types:AnalysisConfig": { + "cluster.stats:ClusterNodes": { "type": "object", "properties": { - "bucket_span": { - "$ref": "#/components/schemas/_types:Duration" + "count": { + "$ref": "#/components/schemas/cluster.stats:ClusterNodeCount" }, - "categorization_analyzer": { - "$ref": "#/components/schemas/ml._types:CategorizationAnalyzer" + "discovery_types": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-hosts-providers.html" + }, + "description": "Contains statistics about the discovery types used by selected nodes.", + "type": "object", + "additionalProperties": { + "type": "number" + } }, - "categorization_field_name": { - "$ref": "#/components/schemas/_types:Field" + "fs": { + "$ref": "#/components/schemas/cluster.stats:ClusterFileSystem" }, - "categorization_filters": { - "description": "If `categorization_field_name` is specified, you can also define optional filters. This property expects an array of regular expressions. The expressions are used to filter out matching sequences from the categorization field values. You can use this functionality to fine tune the categorization by excluding sequences from consideration when categories are defined. For example, you can exclude SQL statements that appear in your log files. This property cannot be used at the same time as `categorization_analyzer`. If you only want to define simple regular expression filters that are applied prior to tokenization, setting this property is the easiest method. If you also want to customize the tokenizer or post-tokenization filtering, use the `categorization_analyzer` property instead and include the filters as pattern_replace character filters. The effect is exactly the same.", + "indexing_pressure": { + "$ref": "#/components/schemas/cluster.stats:IndexingPressure" + }, + "ingest": { + "$ref": "#/components/schemas/cluster.stats:ClusterIngest" + }, + "jvm": { + "$ref": "#/components/schemas/cluster.stats:ClusterJvm" + }, + "network_types": { + "$ref": "#/components/schemas/cluster.stats:ClusterNetworkTypes" + }, + "os": { + "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystem" + }, + "packaging_types": { + "description": "Contains statistics about Elasticsearch distributions installed on selected nodes.", "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/cluster.stats:NodePackagingType" } }, - "detectors": { - "description": "Detector configuration objects specify which data fields a job analyzes. They also specify which analytical functions are used. You can specify multiple detectors for a job. If the detectors array does not contain at least one detector, no analysis can occur and an error is returned.", + "plugins": { + "description": "Contains statistics about installed plugins and modules by selected nodes.\nIf no plugins or modules are installed, this array is empty.", "type": "array", "items": { - "$ref": "#/components/schemas/ml._types:Detector" + "$ref": "#/components/schemas/_types:PluginStats" } }, - "influencers": { - "description": "A comma separated list of influencer field names. Typically these can be the by, over, or partition fields that are used in the detector configuration. You might also want to use a field name that is not specifically named in a detector, but is available as part of the input data. When you use multiple detectors, the use of influencers is recommended as it aggregates results for each influencer entity.", + "process": { + "$ref": "#/components/schemas/cluster.stats:ClusterProcess" + }, + "versions": { + "description": "Array of Elasticsearch versions used on selected nodes.", "type": "array", "items": { - "$ref": "#/components/schemas/_types:Field" + "$ref": "#/components/schemas/_types:VersionString" } - }, - "latency": { - "$ref": "#/components/schemas/_types:Duration" - }, - "model_prune_window": { - "$ref": "#/components/schemas/_types:Duration" - }, - "multivariate_by_fields": { - "description": "This functionality is reserved for internal use. It is not supported for use in customer environments and is not subject to the support SLA of official GA features. If set to `true`, the analysis will automatically find correlations between metrics for a given by field value and report anomalies when those correlations cease to hold. For example, suppose CPU and memory usage on host A is usually highly correlated with the same metrics on host B. Perhaps this correlation occurs because they are running a load-balanced application. If you enable this property, anomalies will be reported when, for example, CPU usage on host A is high and the value of CPU usage on host B is low. That is to say, you’ll see an anomaly when the CPU of host A is unusual given the CPU of host B. To use the `multivariate_by_fields` property, you must also specify `by_field_name` in your detector.", - "type": "boolean" - }, - "per_partition_categorization": { - "$ref": "#/components/schemas/ml._types:PerPartitionCategorization" - }, - "summary_count_field_name": { - "$ref": "#/components/schemas/_types:Field" } }, "required": [ - "detectors" - ] - }, - "ml._types:CategorizationAnalyzer": { - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/ml._types:CategorizationAnalyzerDefinition" - } + "count", + "discovery_types", + "fs", + "indexing_pressure", + "ingest", + "jvm", + "network_types", + "os", + "packaging_types", + "plugins", + "process", + "versions" ] }, - "ml._types:CategorizationAnalyzerDefinition": { + "cluster.stats:ClusterNodeCount": { "type": "object", "properties": { - "char_filter": { - "description": "One or more character filters. In addition to the built-in character filters, other plugins can provide more character filters. If this property is not specified, no character filters are applied prior to categorization. If you are customizing some other aspect of the analyzer and you need to achieve the equivalent of `categorization_filters` (which are not permitted when some other aspect of the analyzer is customized), add them here as pattern replace character filters.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.analysis:CharFilter" - } + "coordinating_only": { + "type": "number" }, - "filter": { - "description": "One or more token filters. In addition to the built-in token filters, other plugins can provide more token filters. If this property is not specified, no token filters are applied prior to categorization.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.analysis:TokenFilter" - } + "data": { + "type": "number" }, - "tokenizer": { - "$ref": "#/components/schemas/_types.analysis:Tokenizer" - } - } - }, - "ml._types:Detector": { - "type": "object", - "properties": { - "by_field_name": { - "$ref": "#/components/schemas/_types:Field" + "data_cold": { + "type": "number" }, - "custom_rules": { - "description": "Custom rules enable you to customize the way detectors operate. For example, a rule may dictate conditions under which results should be skipped. Kibana refers to custom rules as job rules.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:DetectionRule" - } + "data_content": { + "type": "number" }, - "detector_description": { - "description": "A description of the detector.", - "type": "string" + "data_frozen": { + "type": "number" }, - "detector_index": { - "description": "A unique identifier for the detector. This identifier is based on the order of the detectors in the `analysis_config`, starting at zero. If you specify a value for this property, it is ignored.", + "data_hot": { "type": "number" }, - "exclude_frequent": { - "$ref": "#/components/schemas/ml._types:ExcludeFrequent" + "data_warm": { + "type": "number" }, - "field_name": { - "$ref": "#/components/schemas/_types:Field" + "ingest": { + "type": "number" }, - "function": { - "description": "The analysis function that is used. For example, `count`, `rare`, `mean`, `min`, `max`, or `sum`.", - "type": "string" + "master": { + "type": "number" }, - "over_field_name": { - "$ref": "#/components/schemas/_types:Field" + "ml": { + "type": "number" }, - "partition_field_name": { - "$ref": "#/components/schemas/_types:Field" + "remote_cluster_client": { + "type": "number" }, - "use_null": { - "description": "Defines whether a new series is used as the null series when there is no value for the by or partition fields.", - "type": "boolean" - } - } - }, - "ml._types:DetectionRule": { - "type": "object", - "properties": { - "actions": { - "description": "The set of actions to be triggered when the rule applies. If more than one action is specified the effects of all actions are combined.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:RuleAction" - } + "total": { + "type": "number" }, - "conditions": { - "description": "An array of numeric conditions when the rule applies. A rule must either have a non-empty scope or at least one condition. Multiple conditions are combined together with a logical AND.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:RuleCondition" - } + "transform": { + "type": "number" }, - "scope": { - "description": "A scope of series where the rule applies. A rule must either have a non-empty scope or at least one condition. By default, the scope includes all series. Scoping is allowed for any of the fields that are also specified in `by_field_name`, `over_field_name`, or `partition_field_name`.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/ml._types:FilterRef" - } + "voting_only": { + "type": "number" } - } - }, - "ml._types:RuleAction": { - "type": "string", - "enum": [ - "skip_result", - "skip_model_update" + }, + "required": [ + "coordinating_only", + "data", + "data_cold", + "data_content", + "data_hot", + "data_warm", + "ingest", + "master", + "ml", + "remote_cluster_client", + "total", + "transform", + "voting_only" ] }, - "ml._types:RuleCondition": { + "cluster.stats:ClusterFileSystem": { "type": "object", "properties": { - "applies_to": { - "$ref": "#/components/schemas/ml._types:AppliesTo" + "available_in_bytes": { + "description": "Total number of bytes available to JVM in file stores across all selected nodes.\nDepending on operating system or process-level restrictions, this number may be less than `nodes.fs.free_in_byes`.\nThis is the actual amount of free disk space the selected Elasticsearch nodes can use.", + "type": "number" }, - "operator": { - "$ref": "#/components/schemas/ml._types:ConditionOperator" + "free_in_bytes": { + "description": "Total number of unallocated bytes in file stores across all selected nodes.", + "type": "number" }, - "value": { - "description": "The value that is compared against the `applies_to` field using the operator.", + "total_in_bytes": { + "description": "Total size, in bytes, of all file stores across all selected nodes.", "type": "number" } }, "required": [ - "applies_to", - "operator", - "value" - ] - }, - "ml._types:AppliesTo": { - "type": "string", - "enum": [ - "actual", - "typical", - "diff_from_typical", - "time" - ] - }, - "ml._types:ConditionOperator": { - "type": "string", - "enum": [ - "gt", - "gte", - "lt", - "lte" + "available_in_bytes", + "free_in_bytes", + "total_in_bytes" ] }, - "ml._types:FilterRef": { + "cluster.stats:IndexingPressure": { "type": "object", "properties": { - "filter_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "filter_type": { - "$ref": "#/components/schemas/ml._types:FilterType" + "memory": { + "$ref": "#/components/schemas/cluster.stats:IndexingPressureMemory" } }, "required": [ - "filter_id" - ] - }, - "ml._types:FilterType": { - "type": "string", - "enum": [ - "include", - "exclude" - ] - }, - "ml._types:ExcludeFrequent": { - "type": "string", - "enum": [ - "all", - "none", - "by", - "over" + "memory" ] }, - "ml._types:PerPartitionCategorization": { - "type": "object", - "properties": { - "enabled": { - "description": "To enable this setting, you must also set the `partition_field_name` property to the same value in every detector that uses the keyword `mlcategory`. Otherwise, job creation fails.", - "type": "boolean" - }, - "stop_on_warn": { - "description": "This setting can be set to true only if per-partition categorization is enabled. If true, both categorization and subsequent anomaly detection stops for partitions where the categorization status changes to warn. This setting makes it viable to have a job where it is expected that categorization works well for some partitions but not others; you do not pay the cost of bad categorization forever in the partitions where it works badly.", - "type": "boolean" - } - } - }, - "ml._types:DataframeEvaluationContainer": { + "cluster.stats:IndexingPressureMemory": { "type": "object", "properties": { - "classification": { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationClassification" + "current": { + "$ref": "#/components/schemas/cluster.stats:IndexingPressureMemorySummary" }, - "outlier_detection": { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationOutlierDetection" + "limit_in_bytes": { + "type": "number" }, - "regression": { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationRegression" + "total": { + "$ref": "#/components/schemas/cluster.stats:IndexingPressureMemorySummary" } }, - "minProperties": 1, - "maxProperties": 1 + "required": [ + "current", + "limit_in_bytes", + "total" + ] }, - "ml._types:DataframeEvaluationClassification": { + "cluster.stats:IndexingPressureMemorySummary": { "type": "object", "properties": { - "actual_field": { - "$ref": "#/components/schemas/_types:Field" + "all_in_bytes": { + "type": "number" }, - "predicted_field": { - "$ref": "#/components/schemas/_types:Field" + "combined_coordinating_and_primary_in_bytes": { + "type": "number" }, - "top_classes_field": { - "$ref": "#/components/schemas/_types:Field" + "coordinating_in_bytes": { + "type": "number" }, - "metrics": { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationClassificationMetrics" + "coordinating_rejections": { + "type": "number" + }, + "primary_in_bytes": { + "type": "number" + }, + "primary_rejections": { + "type": "number" + }, + "replica_in_bytes": { + "type": "number" + }, + "replica_rejections": { + "type": "number" } }, "required": [ - "actual_field" - ] - }, - "ml._types:DataframeEvaluationClassificationMetrics": { - "allOf": [ - { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationMetrics" - }, - { - "type": "object", - "properties": { - "accuracy": { - "description": "Accuracy of predictions (per-class and overall).", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "multiclass_confusion_matrix": { - "description": "Multiclass confusion matrix.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - } + "all_in_bytes", + "combined_coordinating_and_primary_in_bytes", + "coordinating_in_bytes", + "primary_in_bytes", + "replica_in_bytes" ] }, - "ml._types:DataframeEvaluationMetrics": { + "cluster.stats:ClusterIngest": { "type": "object", "properties": { - "auc_roc": { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationClassificationMetricsAucRoc" - }, - "precision": { - "description": "Precision of predictions (per-class and average).", - "type": "object", - "additionalProperties": { - "type": "object" - } + "number_of_pipelines": { + "type": "number" }, - "recall": { - "description": "Recall of predictions (per-class and average).", + "processor_stats": { "type": "object", "additionalProperties": { - "type": "object" + "$ref": "#/components/schemas/cluster.stats:ClusterProcessor" } } - } + }, + "required": [ + "number_of_pipelines", + "processor_stats" + ] }, - "ml._types:DataframeEvaluationClassificationMetricsAucRoc": { + "cluster.stats:ClusterProcessor": { "type": "object", "properties": { - "class_name": { - "$ref": "#/components/schemas/_types:Name" + "count": { + "type": "number" }, - "include_curve": { - "description": "Whether or not the curve should be returned in addition to the score. Default value is false.", - "type": "boolean" + "current": { + "type": "number" + }, + "failed": { + "type": "number" + }, + "time": { + "$ref": "#/components/schemas/_types:Duration" + }, + "time_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" } - } + }, + "required": [ + "count", + "current", + "failed", + "time_in_millis" + ] }, - "ml._types:DataframeEvaluationOutlierDetection": { + "cluster.stats:ClusterJvm": { "type": "object", "properties": { - "actual_field": { - "$ref": "#/components/schemas/_types:Field" + "max_uptime_in_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" }, - "predicted_probability_field": { - "$ref": "#/components/schemas/_types:Field" + "mem": { + "$ref": "#/components/schemas/cluster.stats:ClusterJvmMemory" }, - "metrics": { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationOutlierDetectionMetrics" + "threads": { + "description": "Number of active threads in use by JVM across all selected nodes.", + "type": "number" + }, + "versions": { + "description": "Contains statistics about the JVM versions used by selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:ClusterJvmVersion" + } } }, "required": [ - "actual_field", - "predicted_probability_field" + "max_uptime_in_millis", + "mem", + "threads", + "versions" ] }, - "ml._types:DataframeEvaluationOutlierDetectionMetrics": { - "allOf": [ - { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationMetrics" + "cluster.stats:ClusterJvmMemory": { + "type": "object", + "properties": { + "heap_max_in_bytes": { + "description": "Maximum amount of memory, in bytes, available for use by the heap across all selected nodes.", + "type": "number" }, - { - "type": "object", - "properties": { - "confusion_matrix": { - "description": "Accuracy of predictions (per-class and overall).", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } + "heap_used_in_bytes": { + "description": "Memory, in bytes, currently in use by the heap across all selected nodes.", + "type": "number" } + }, + "required": [ + "heap_max_in_bytes", + "heap_used_in_bytes" ] }, - "ml._types:DataframeEvaluationRegression": { + "cluster.stats:ClusterJvmVersion": { "type": "object", "properties": { - "actual_field": { - "$ref": "#/components/schemas/_types:Field" + "bundled_jdk": { + "description": "Always `true`. All distributions come with a bundled Java Development Kit (JDK).", + "type": "boolean" + }, + "count": { + "description": "Total number of selected nodes using JVM.", + "type": "number" + }, + "using_bundled_jdk": { + "description": "If `true`, a bundled JDK is in use by JVM.", + "type": "boolean" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "vm_name": { + "description": "Name of the JVM.", + "type": "string" }, - "predicted_field": { - "$ref": "#/components/schemas/_types:Field" + "vm_vendor": { + "description": "Vendor of the JVM.", + "type": "string" }, - "metrics": { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationRegressionMetrics" + "vm_version": { + "$ref": "#/components/schemas/_types:VersionString" } }, "required": [ - "actual_field", - "predicted_field" + "bundled_jdk", + "count", + "using_bundled_jdk", + "version", + "vm_name", + "vm_vendor", + "vm_version" ] }, - "ml._types:DataframeEvaluationRegressionMetrics": { + "cluster.stats:ClusterNetworkTypes": { "type": "object", "properties": { - "mse": { - "externalDocs": { - "url": "https://en.wikipedia.org/wiki/Mean_squared_error" - }, - "description": "Average squared difference between the predicted values and the actual (ground truth) value. For more information, read this wiki article.", + "http_types": { + "description": "Contains statistics about the HTTP network types used by selected nodes.", "type": "object", "additionalProperties": { - "type": "object" + "type": "number" } }, - "msle": { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationRegressionMetricsMsle" - }, - "huber": { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationRegressionMetricsHuber" - }, - "r_squared": { - "externalDocs": { - "url": "https://en.wikipedia.org/wiki/Coefficient_of_determination" - }, - "description": "Proportion of the variance in the dependent variable that is predictable from the independent variables.", + "transport_types": { + "description": "Contains statistics about the transport network types used by selected nodes.", "type": "object", "additionalProperties": { - "type": "object" + "type": "number" } } - } + }, + "required": [ + "http_types", + "transport_types" + ] }, - "ml._types:DataframeEvaluationRegressionMetricsMsle": { + "cluster.stats:ClusterOperatingSystem": { "type": "object", "properties": { - "offset": { - "description": "Defines the transition point at which you switch from minimizing quadratic error to minimizing quadratic log error. Defaults to 1.", + "allocated_processors": { + "description": "Number of processors used to calculate thread pool size across all selected nodes.\nThis number can be set with the processors setting of a node and defaults to the number of processors reported by the operating system.\nIn both cases, this number will never be larger than 32.", + "type": "number" + }, + "architectures": { + "description": "Contains statistics about processor architectures (for example, x86_64 or aarch64) used by selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystemArchitecture" + } + }, + "available_processors": { + "description": "Number of processors available to JVM across all selected nodes.", "type": "number" + }, + "mem": { + "$ref": "#/components/schemas/cluster.stats:OperatingSystemMemoryInfo" + }, + "names": { + "description": "Contains statistics about operating systems used by selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystemName" + } + }, + "pretty_names": { + "description": "Contains statistics about operating systems used by selected nodes.", + "type": "array", + "items": { + "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystemPrettyName" + } } - } + }, + "required": [ + "allocated_processors", + "available_processors", + "mem", + "names", + "pretty_names" + ] }, - "ml._types:DataframeEvaluationRegressionMetricsHuber": { + "cluster.stats:ClusterOperatingSystemArchitecture": { "type": "object", "properties": { - "delta": { - "description": "Approximates 1/2 (prediction - actual)2 for values much less than delta and approximates a straight line with slope delta for values much larger than delta. Defaults to 1. Delta needs to be greater than 0.", + "arch": { + "description": "Name of an architecture used by one or more selected nodes.", + "type": "string" + }, + "count": { + "description": "Number of selected nodes using the architecture.", "type": "number" } - } + }, + "required": [ + "arch", + "count" + ] }, - "ml.evaluate_data_frame:DataframeClassificationSummary": { + "cluster.stats:OperatingSystemMemoryInfo": { "type": "object", "properties": { - "auc_roc": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationSummaryAucRoc" + "adjusted_total_in_bytes": { + "description": "Total amount, in bytes, of memory across all selected nodes, but using the value specified using the `es.total_memory_bytes` system property instead of measured total memory for those nodes where that system property was set.", + "type": "number" }, - "accuracy": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummaryAccuracy" + "free_in_bytes": { + "description": "Amount, in bytes, of free physical memory across all selected nodes.", + "type": "number" }, - "multiclass_confusion_matrix": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummaryMulticlassConfusionMatrix" + "free_percent": { + "description": "Percentage of free physical memory across all selected nodes.", + "type": "number" }, - "precision": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummaryPrecision" + "total_in_bytes": { + "description": "Total amount, in bytes, of physical memory across all selected nodes.", + "type": "number" }, - "recall": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummaryRecall" - } - } - }, - "ml.evaluate_data_frame:DataframeEvaluationSummaryAucRoc": { - "allOf": [ - { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" + "used_in_bytes": { + "description": "Amount, in bytes, of physical memory in use across all selected nodes.", + "type": "number" }, - { - "type": "object", - "properties": { - "curve": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationSummaryAucRocCurveItem" - } - } - } + "used_percent": { + "description": "Percentage of physical memory in use across all selected nodes.", + "type": "number" } + }, + "required": [ + "free_in_bytes", + "free_percent", + "total_in_bytes", + "used_in_bytes", + "used_percent" ] }, - "ml.evaluate_data_frame:DataframeEvaluationSummaryAucRocCurveItem": { + "cluster.stats:ClusterOperatingSystemName": { "type": "object", "properties": { - "tpr": { + "count": { + "description": "Number of selected nodes using the operating system.", "type": "number" }, - "fpr": { + "name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "count", + "name" + ] + }, + "cluster.stats:ClusterOperatingSystemPrettyName": { + "type": "object", + "properties": { + "count": { + "description": "Number of selected nodes using the operating system.", "type": "number" }, - "threshold": { - "type": "number" + "pretty_name": { + "$ref": "#/components/schemas/_types:Name" } }, "required": [ - "tpr", - "fpr", - "threshold" + "count", + "pretty_name" ] }, - "ml.evaluate_data_frame:DataframeEvaluationValue": { + "cluster.stats:NodePackagingType": { "type": "object", "properties": { - "value": { + "count": { + "description": "Number of selected nodes using the distribution flavor and file type.", "type": "number" + }, + "flavor": { + "description": "Type of Elasticsearch distribution. This is always `default`.", + "type": "string" + }, + "type": { + "description": "File type (such as `tar` or `zip`) used for the distribution package.", + "type": "string" } }, "required": [ - "value" + "count", + "flavor", + "type" ] }, - "ml.evaluate_data_frame:DataframeClassificationSummaryAccuracy": { + "_types:PluginStats": { "type": "object", "properties": { - "classes": { + "classname": { + "type": "string" + }, + "description": { + "type": "string" + }, + "elasticsearch_version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "extended_plugins": { "type": "array", "items": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationClass" + "type": "string" } }, - "overall_accuracy": { - "type": "number" + "has_native_controller": { + "type": "boolean" + }, + "java_version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "licensed": { + "type": "boolean" } }, "required": [ - "classes", - "overall_accuracy" + "classname", + "description", + "elasticsearch_version", + "extended_plugins", + "has_native_controller", + "java_version", + "name", + "version", + "licensed" ] }, - "ml.evaluate_data_frame:DataframeEvaluationClass": { - "allOf": [ - { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" + "cluster.stats:ClusterProcess": { + "type": "object", + "properties": { + "cpu": { + "$ref": "#/components/schemas/cluster.stats:ClusterProcessCpu" }, - { - "type": "object", - "properties": { - "class_name": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "required": [ - "class_name" - ] + "open_file_descriptors": { + "$ref": "#/components/schemas/cluster.stats:ClusterProcessOpenFileDescriptors" } + }, + "required": [ + "cpu", + "open_file_descriptors" ] }, - "ml.evaluate_data_frame:DataframeClassificationSummaryMulticlassConfusionMatrix": { + "cluster.stats:ClusterProcessCpu": { "type": "object", "properties": { - "confusion_matrix": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:ConfusionMatrixItem" - } - }, - "other_actual_class_count": { + "percent": { + "description": "Percentage of CPU used across all selected nodes.\nReturns `-1` if not supported.", "type": "number" } }, "required": [ - "confusion_matrix", - "other_actual_class_count" + "percent" ] }, - "ml.evaluate_data_frame:ConfusionMatrixItem": { + "cluster.stats:ClusterProcessOpenFileDescriptors": { "type": "object", "properties": { - "actual_class": { - "$ref": "#/components/schemas/_types:Name" - }, - "actual_class_doc_count": { + "avg": { + "description": "Average number of concurrently open file descriptors.\nReturns `-1` if not supported.", "type": "number" }, - "predicted_classes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:ConfusionMatrixPrediction" - } + "max": { + "description": "Maximum number of concurrently open file descriptors allowed across all selected nodes.\nReturns `-1` if not supported.", + "type": "number" }, - "other_predicted_class_doc_count": { + "min": { + "description": "Minimum number of concurrently open file descriptors across all selected nodes.\nReturns -1 if not supported.", "type": "number" } }, "required": [ - "actual_class", - "actual_class_doc_count", - "predicted_classes", - "other_predicted_class_doc_count" + "avg", + "max", + "min" ] }, - "ml.evaluate_data_frame:ConfusionMatrixPrediction": { + "nodes._types:NodesResponseBase": { "type": "object", "properties": { - "predicted_class": { - "$ref": "#/components/schemas/_types:Name" - }, - "count": { - "type": "number" + "_nodes": { + "$ref": "#/components/schemas/_types:NodeStatistics" } - }, - "required": [ - "predicted_class", - "count" - ] + } }, - "ml.evaluate_data_frame:DataframeClassificationSummaryPrecision": { + "_types:NodeStatistics": { "type": "object", "properties": { - "classes": { + "failures": { "type": "array", "items": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationClass" + "$ref": "#/components/schemas/_types:ErrorCause" } }, - "avg_precision": { + "total": { + "description": "Total number of nodes selected by the request.", + "type": "number" + }, + "successful": { + "description": "Number of nodes that responded successfully to the request.", + "type": "number" + }, + "failed": { + "description": "Number of nodes that rejected the request or failed to respond. If this value is not 0, a reason for the rejection or failure is included in the response.", "type": "number" } }, "required": [ - "classes", - "avg_precision" + "total", + "successful", + "failed" ] }, - "ml.evaluate_data_frame:DataframeClassificationSummaryRecall": { + "_types:WriteResponseBase": { "type": "object", "properties": { - "classes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationClass" - } + "_id": { + "$ref": "#/components/schemas/_types:Id" }, - "avg_recall": { + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "_primary_term": { "type": "number" + }, + "result": { + "$ref": "#/components/schemas/_types:Result" + }, + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + }, + "_version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "forced_refresh": { + "type": "boolean" } }, "required": [ - "classes", - "avg_recall" + "_id", + "_index", + "_primary_term", + "result", + "_seq_no", + "_shards", + "_version" ] }, - "ml.evaluate_data_frame:DataframeOutlierDetectionSummary": { - "type": "object", - "properties": { - "auc_roc": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationSummaryAucRoc" - }, - "precision": { - "description": "Set the different thresholds of the outlier score at where the metric is calculated.", - "type": "object", - "additionalProperties": { - "type": "number" - } - }, - "recall": { - "description": "Set the different thresholds of the outlier score at where the metric is calculated.", - "type": "object", - "additionalProperties": { - "type": "number" - } + "_types:Result": { + "type": "string", + "enum": [ + "created", + "updated", + "deleted", + "not_found", + "noop" + ] + }, + "_types:Conflicts": { + "type": "string", + "enum": [ + "abort", + "proceed" + ] + }, + "_types:Slices": { + "description": "Slices configuration used to parallelize a process.", + "oneOf": [ + { + "type": "number" }, - "confusion_matrix": { - "description": "Set the different thresholds of the outlier score at where the metrics (`tp` - true positive, `fp` - false positive, `tn` - true negative, `fn` - false negative) are calculated.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:ConfusionMatrixThreshold" - } + { + "$ref": "#/components/schemas/_types:SlicesCalculation" } - } + ] }, - "ml.evaluate_data_frame:ConfusionMatrixThreshold": { + "_types:SlicesCalculation": { + "type": "string", + "enum": [ + "auto" + ] + }, + "_types:BulkIndexByScrollFailure": { "type": "object", "properties": { - "tp": { - "description": "True Positive", - "type": "number" + "cause": { + "$ref": "#/components/schemas/_types:ErrorCause" }, - "fp": { - "description": "False Positive", - "type": "number" + "id": { + "$ref": "#/components/schemas/_types:Id" }, - "tn": { - "description": "True Negative", - "type": "number" + "index": { + "$ref": "#/components/schemas/_types:IndexName" }, - "fn": { - "description": "False Negative", + "status": { "type": "number" + }, + "type": { + "type": "string" } }, "required": [ - "tp", - "fp", - "tn", - "fn" + "cause", + "id", + "index", + "status", + "type" ] }, - "ml.evaluate_data_frame:DataframeRegressionSummary": { + "_types:Retries": { "type": "object", "properties": { - "huber": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" - }, - "mse": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" + "bulk": { + "type": "number" }, - "msle": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" + "search": { + "type": "number" + } + }, + "required": [ + "bulk", + "search" + ] + }, + "_types:TaskId": { + "oneOf": [ + { + "type": "string" }, - "r_squared": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" + { + "type": "number" } - } + ] }, - "ml._types:DataframeAnalyticsSource": { + "enrich.execute_policy:ExecuteEnrichPolicyStatus": { "type": "object", "properties": { - "index": { - "$ref": "#/components/schemas/_types:Indices" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - }, - "_source": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" + "phase": { + "$ref": "#/components/schemas/enrich.execute_policy:EnrichPolicyPhase" } }, "required": [ - "index" + "phase" ] }, - "ml._types:DataframeAnalysisAnalyzedFields": { + "enrich.execute_policy:EnrichPolicyPhase": { + "type": "string", + "enum": [ + "SCHEDULED", + "RUNNING", + "COMPLETE", + "FAILED" + ] + }, + "enrich._types:Summary": { "type": "object", "properties": { - "includes": { - "description": "An array of strings that defines the fields that will be excluded from the analysis. You do not need to add fields with unsupported data types to excludes, these fields are excluded from the analysis automatically.", - "type": "array", - "items": { - "type": "string" - } - }, - "excludes": { - "description": "An array of strings that defines the fields that will be included in the analysis.", - "type": "array", - "items": { - "type": "string" - } + "config": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/enrich._types:Policy" + }, + "minProperties": 1, + "maxProperties": 1 } }, "required": [ - "includes", - "excludes" + "config" ] }, - "ml._types:DataframeAnalyticsDestination": { + "enrich._types:Policy": { "type": "object", "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" + "enrich_fields": { + "$ref": "#/components/schemas/_types:Fields" }, - "results_field": { + "indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "match_field": { "$ref": "#/components/schemas/_types:Field" + }, + "query": { + "type": "string" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "elasticsearch_version": { + "type": "string" } }, "required": [ - "index" + "enrich_fields", + "indices", + "match_field" ] }, - "ml._types:DataframeAnalysisContainer": { + "enrich.stats:CoordinatorStats": { "type": "object", "properties": { - "classification": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisClassification" + "executed_searches_total": { + "type": "number" }, - "outlier_detection": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisOutlierDetection" + "node_id": { + "$ref": "#/components/schemas/_types:Id" }, - "regression": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisRegression" + "queue_size": { + "type": "number" + }, + "remote_requests_current": { + "type": "number" + }, + "remote_requests_total": { + "type": "number" } }, - "minProperties": 1, - "maxProperties": 1 + "required": [ + "executed_searches_total", + "node_id", + "queue_size", + "remote_requests_current", + "remote_requests_total" + ] }, - "ml._types:DataframeAnalysisClassification": { - "allOf": [ - { - "$ref": "#/components/schemas/ml._types:DataframeAnalysis" + "enrich.stats:ExecutingPolicy": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" }, - { - "type": "object", - "properties": { - "class_assignment_objective": { - "type": "string" - }, - "num_top_classes": { - "description": "Defines the number of categories for which the predicted probabilities are reported. It must be non-negative or -1. If it is -1 or greater than the total number of categories, probabilities are reported for all categories; if you have a large number of categories, there could be a significant effect on the size of your destination index. NOTE: To use the AUC ROC evaluation method, `num_top_classes` must be set to -1 or a value greater than or equal to the total number of categories.", - "type": "number" - } - } + "task": { + "$ref": "#/components/schemas/tasks._types:TaskInfo" } + }, + "required": [ + "name", + "task" ] }, - "ml._types:DataframeAnalysis": { + "tasks._types:TaskInfo": { "type": "object", "properties": { - "alpha": { - "description": "Advanced configuration option. Machine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly. This parameter affects loss calculations by acting as a multiplier of the tree depth. Higher alpha values result in shallower trees and faster training times. By default, this value is calculated during hyperparameter optimization. It must be greater than or equal to zero.", - "type": "number" - }, - "dependent_variable": { - "description": "Defines which field of the document is to be predicted. It must match one of the fields in the index being used to train. If this field is missing from a document, then that document will not be used for training, but a prediction with the trained model will be generated for it. It is also known as continuous target variable.\nFor classification analysis, the data type of the field must be numeric (`integer`, `short`, `long`, `byte`), categorical (`ip` or `keyword`), or `boolean`. There must be no more than 30 different values in this field.\nFor regression analysis, the data type of the field must be numeric.", + "action": { "type": "string" }, - "downsample_factor": { - "description": "Advanced configuration option. Controls the fraction of data that is used to compute the derivatives of the loss function for tree training. A small value results in the use of a small fraction of the data. If this value is set to be less than 1, accuracy typically improves. However, too small a value may result in poor convergence for the ensemble and so require more trees. By default, this value is calculated during hyperparameter optimization. It must be greater than zero and less than or equal to 1.", - "type": "number" + "cancelled": { + "type": "boolean" }, - "early_stopping_enabled": { - "description": "Advanced configuration option. Specifies whether the training process should finish if it is not finding any better performing models. If disabled, the training process can take significantly longer and the chance of finding a better performing model is unremarkable.", + "cancellable": { "type": "boolean" }, - "eta": { - "description": "Advanced configuration option. The shrinkage applied to the weights. Smaller values result in larger forests which have a better generalization error. However, larger forests cause slower training. By default, this value is calculated during hyperparameter optimization. It must be a value between 0.001 and 1.", - "type": "number" + "description": { + "type": "string" }, - "eta_growth_rate_per_tree": { - "description": "Advanced configuration option. Specifies the rate at which `eta` increases for each new tree that is added to the forest. For example, a rate of 1.05 increases `eta` by 5% for each extra tree. By default, this value is calculated during hyperparameter optimization. It must be between 0.5 and 2.", - "type": "number" + "headers": { + "type": "object", + "additionalProperties": { + "type": "string" + } }, - "feature_bag_fraction": { - "description": "Advanced configuration option. Defines the fraction of features that will be used when selecting a random bag for each candidate split. By default, this value is calculated during hyperparameter optimization.", + "id": { "type": "number" }, - "feature_processors": { - "description": "Advanced configuration option. A collection of feature preprocessors that modify one or more included fields. The analysis uses the resulting one or more features instead of the original document field. However, these features are ephemeral; they are not stored in the destination index. Multiple `feature_processors` entries can refer to the same document fields. Automatic categorical feature encoding still occurs for the fields that are unprocessed by a custom processor or that have categorical values. Use this property only if you want to override the automatic feature encoding of the specified fields.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessor" - } + "node": { + "$ref": "#/components/schemas/_types:NodeId" }, - "gamma": { - "description": "Advanced configuration option. Regularization parameter to prevent overfitting on the training data set. Multiplies a linear penalty associated with the size of individual trees in the forest. A high gamma value causes training to prefer small trees. A small gamma value results in larger individual trees and slower training. By default, this value is calculated during hyperparameter optimization. It must be a nonnegative value.", - "type": "number" + "running_time": { + "$ref": "#/components/schemas/_types:Duration" }, - "lambda": { - "description": "Advanced configuration option. Regularization parameter to prevent overfitting on the training data set. Multiplies an L2 regularization term which applies to leaf weights of the individual trees in the forest. A high lambda value causes training to favor small leaf weights. This behavior makes the prediction function smoother at the expense of potentially not being able to capture relevant relationships between the features and the dependent variable. A small lambda value results in large individual trees and slower training. By default, this value is calculated during hyperparameter optimization. It must be a nonnegative value.", - "type": "number" + "running_time_in_nanos": { + "$ref": "#/components/schemas/_types:DurationValueUnitNanos" }, - "max_optimization_rounds_per_hyperparameter": { - "description": "Advanced configuration option. A multiplier responsible for determining the maximum number of hyperparameter optimization steps in the Bayesian optimization procedure. The maximum number of steps is determined based on the number of undefined hyperparameters times the maximum optimization rounds per hyperparameter. By default, this value is calculated during hyperparameter optimization.", - "type": "number" + "start_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" }, - "max_trees": { - "description": "Advanced configuration option. Defines the maximum number of decision trees in the forest. The maximum value is 2000. By default, this value is calculated during hyperparameter optimization.", - "type": "number" + "status": { + "description": "Task status information can vary wildly from task to task.", + "type": "object" }, - "num_top_feature_importance_values": { - "description": "Advanced configuration option. Specifies the maximum number of feature importance values per document to return. By default, no feature importance calculation occurs.", - "type": "number" + "type": { + "type": "string" }, - "prediction_field_name": { - "$ref": "#/components/schemas/_types:Field" + "parent_task_id": { + "$ref": "#/components/schemas/_types:TaskId" + } + }, + "required": [ + "action", + "cancellable", + "headers", + "id", + "node", + "running_time_in_nanos", + "start_time_in_millis", + "type" + ] + }, + "enrich.stats:CacheStats": { + "type": "object", + "properties": { + "node_id": { + "$ref": "#/components/schemas/_types:Id" }, - "randomize_seed": { - "description": "Defines the seed for the random generator that is used to pick training data. By default, it is randomly generated. Set it to a specific value to use the same training data each time you start a job (assuming other related parameters such as `source` and `analyzed_fields` are the same).", + "count": { "type": "number" }, - "soft_tree_depth_limit": { - "description": "Advanced configuration option. Machine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly. This soft limit combines with the `soft_tree_depth_tolerance` to penalize trees that exceed the specified depth; the regularized loss increases quickly beyond this depth. By default, this value is calculated during hyperparameter optimization. It must be greater than or equal to 0.", + "hits": { "type": "number" }, - "soft_tree_depth_tolerance": { - "description": "Advanced configuration option. This option controls how quickly the regularized loss increases when the tree depth exceeds `soft_tree_depth_limit`. By default, this value is calculated during hyperparameter optimization. It must be greater than or equal to 0.01.", + "misses": { "type": "number" }, - "training_percent": { - "$ref": "#/components/schemas/_types:Percentage" + "evictions": { + "type": "number" } }, "required": [ - "dependent_variable" + "node_id", + "count", + "hits", + "misses", + "evictions" ] }, - "ml._types:DataframeAnalysisFeatureProcessor": { + "_global.field_caps:FieldCapability": { "type": "object", "properties": { - "frequency_encoding": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorFrequencyEncoding" + "aggregatable": { + "description": "Whether this field can be aggregated on all indices.", + "type": "boolean" }, - "multi_encoding": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorMultiEncoding" + "indices": { + "$ref": "#/components/schemas/_types:Indices" }, - "n_gram_encoding": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorNGramEncoding" + "meta": { + "$ref": "#/components/schemas/_types:Metadata" }, - "one_hot_encoding": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorOneHotEncoding" + "non_aggregatable_indices": { + "$ref": "#/components/schemas/_types:Indices" }, - "target_mean_encoding": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorTargetMeanEncoding" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "ml._types:DataframeAnalysisFeatureProcessorFrequencyEncoding": { - "type": "object", - "properties": { - "feature_name": { - "$ref": "#/components/schemas/_types:Name" + "non_searchable_indices": { + "$ref": "#/components/schemas/_types:Indices" }, - "field": { - "$ref": "#/components/schemas/_types:Field" + "searchable": { + "description": "Whether this field is indexed for search on all indices.", + "type": "boolean" }, - "frequency_map": { - "description": "The resulting frequency map for the field value. If the field value is missing from the frequency_map, the resulting value is 0.", - "type": "object", - "additionalProperties": { - "type": "number" + "type": { + "type": "string" + }, + "metadata_field": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-fields.html" + }, + "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.", + "type": "boolean" + }, + "time_series_metric": { + "$ref": "#/components/schemas/_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.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:IndexName" } - } - }, - "required": [ - "feature_name", - "field", - "frequency_map" - ] - }, - "ml._types:DataframeAnalysisFeatureProcessorMultiEncoding": { - "type": "object", - "properties": { - "processors": { - "description": "The ordered array of custom processors to execute. Must be more than 1.", + }, + "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.", "type": "array", "items": { - "type": "number" + "$ref": "#/components/schemas/_types:IndexName" } } }, "required": [ - "processors" + "aggregatable", + "searchable", + "type" ] }, - "ml._types:DataframeAnalysisFeatureProcessorNGramEncoding": { + "_global.get:GetResult": { "type": "object", "properties": { - "feature_prefix": { - "description": "The feature name prefix. Defaults to ngram__.", - "type": "string" + "_index": { + "$ref": "#/components/schemas/_types:IndexName" }, - "field": { - "$ref": "#/components/schemas/_types:Field" + "fields": { + "type": "object", + "additionalProperties": { + "type": "object" + } }, - "length": { - "description": "Specifies the length of the n-gram substring. Defaults to 50. Must be greater than 0.", - "type": "number" + "found": { + "type": "boolean" }, - "n_grams": { - "description": "Specifies which n-grams to gather. It’s an array of integer values where the minimum value is 1, and a maximum value is 5.", - "type": "array", - "items": { - "type": "number" - } + "_id": { + "$ref": "#/components/schemas/_types:Id" }, - "start": { - "description": "Specifies the zero-indexed start of the n-gram substring. Negative values are allowed for encoding n-grams of string suffixes. Defaults to 0.", + "_primary_term": { "type": "number" }, - "custom": { - "type": "boolean" + "_routing": { + "type": "string" + }, + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" + }, + "_source": { + "type": "object" + }, + "_version": { + "$ref": "#/components/schemas/_types:VersionNumber" } }, "required": [ - "field", - "n_grams" + "_index", + "found", + "_id" ] }, - "ml._types:DataframeAnalysisFeatureProcessorOneHotEncoding": { + "_types:StoredScript": { "type": "object", "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" + "lang": { + "$ref": "#/components/schemas/_types:ScriptLanguage" }, - "hot_map": { - "description": "The one hot map mapping the field value with the column name.", + "options": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "source": { + "description": "The script source.", "type": "string" } }, "required": [ - "field", - "hot_map" + "lang", + "source" ] }, - "ml._types:DataframeAnalysisFeatureProcessorTargetMeanEncoding": { + "graph._types:Hop": { "type": "object", "properties": { - "default_value": { - "description": "The default value if field value is not found in the target_map.", - "type": "number" - }, - "feature_name": { - "$ref": "#/components/schemas/_types:Name" + "connections": { + "$ref": "#/components/schemas/graph._types:Hop" }, - "field": { - "$ref": "#/components/schemas/_types:Field" + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" }, - "target_map": { - "description": "The field value to target mean transition map.", - "type": "object", - "additionalProperties": { - "type": "object" + "vertices": { + "description": "Contains the fields you are interested in.", + "type": "array", + "items": { + "$ref": "#/components/schemas/graph._types:VertexDefinition" } } }, "required": [ - "default_value", - "feature_name", - "field", - "target_map" + "query", + "vertices" ] }, - "ml._types:DataframeAnalysisOutlierDetection": { + "graph._types:VertexDefinition": { "type": "object", "properties": { - "compute_feature_influence": { - "description": "Specifies whether the feature influence calculation is enabled.", - "type": "boolean" + "exclude": { + "description": "Prevents the specified terms from being included in the results.", + "type": "array", + "items": { + "type": "string" + } }, - "feature_influence_threshold": { - "description": "The minimum outlier score that a document needs to have in order to calculate its feature influence score. Value range: 0-1.", - "type": "number" + "field": { + "$ref": "#/components/schemas/_types:Field" }, - "method": { - "description": "The method that outlier detection uses. Available methods are `lof`, `ldof`, `distance_kth_nn`, `distance_knn`, and `ensemble`. The default value is ensemble, which means that outlier detection uses an ensemble of different methods and normalises and combines their individual outlier scores to obtain the overall outlier score.", - "type": "string" + "include": { + "description": "Identifies the terms of interest that form the starting points from which you want to spider out.", + "type": "array", + "items": { + "$ref": "#/components/schemas/graph._types:VertexInclude" + } }, - "n_neighbors": { - "description": "Defines the value for how many nearest neighbors each method of outlier detection uses to calculate its outlier score. When the value is not set, different values are used for different ensemble members. This default behavior helps improve the diversity in the ensemble; only override it if you are confident that the value you choose is appropriate for the data set.", + "min_doc_count": { + "description": "Specifies how many documents must contain a pair of terms before it is considered to be a useful connection.\nThis setting acts as a certainty threshold.", "type": "number" }, - "outlier_fraction": { - "description": "The proportion of the data set that is assumed to be outlying prior to outlier detection. For example, 0.05 means it is assumed that 5% of values are real outliers and 95% are inliers.", + "shard_min_doc_count": { + "description": "Controls how many documents on a particular shard have to contain a pair of terms before the connection is returned for global consideration.", "type": "number" }, - "standardization_enabled": { - "description": "If true, the following operation is performed on the columns before computing outlier scores: `(x_i - mean(x_i)) / sd(x_i)`.", - "type": "boolean" + "size": { + "description": "Specifies the maximum number of vertex terms returned for each field.", + "type": "number" } - } + }, + "required": [ + "field" + ] }, - "ml._types:DataframeAnalysisRegression": { - "allOf": [ - { - "$ref": "#/components/schemas/ml._types:DataframeAnalysis" + "graph._types:VertexInclude": { + "type": "object", + "properties": { + "boost": { + "type": "number" }, - { - "type": "object", - "properties": { - "loss_function": { - "description": "The loss function used during regression. Available options are `mse` (mean squared error), `msle` (mean squared logarithmic error), `huber` (Pseudo-Huber loss).", - "type": "string" - }, - "loss_function_parameter": { - "description": "A positive number that is used as a parameter to the `loss_function`.", - "type": "number" - } - } + "term": { + "type": "string" } + }, + "required": [ + "boost", + "term" ] }, - "ml._types:DataframeAnalyticsFieldSelection": { + "graph._types:ExploreControls": { "type": "object", "properties": { - "is_included": { - "description": "Whether the field is selected to be included in the analysis.", - "type": "boolean" - }, - "is_required": { - "description": "Whether the field is required.", - "type": "boolean" - }, - "feature_type": { - "description": "The feature type of this field for the analysis. May be categorical or numerical.", - "type": "string" + "sample_diversity": { + "$ref": "#/components/schemas/graph._types:SampleDiversity" }, - "mapping_types": { - "description": "The mapping types of the field.", - "type": "array", - "items": { - "type": "string" - } + "sample_size": { + "description": "Each hop considers a sample of the best-matching documents on each shard.\nUsing samples improves the speed of execution and keeps exploration focused on meaningfully-connected terms.\nVery small values (less than 50) might not provide sufficient weight-of-evidence to identify significant connections between terms.\nVery large sample sizes can dilute the quality of the results and increase execution times.", + "type": "number" }, - "name": { - "$ref": "#/components/schemas/_types:Field" + "timeout": { + "$ref": "#/components/schemas/_types:Duration" }, - "reason": { - "description": "The reason a field is not selected to be included in the analysis.", - "type": "string" + "use_significance": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-significantterms-aggregation.html" + }, + "description": "Filters associated terms so only those that are significantly associated with your query are included.", + "type": "boolean" } }, "required": [ - "is_included", - "is_required", - "mapping_types", - "name" + "use_significance" ] }, - "ml._types:DataframeAnalyticsMemoryEstimation": { + "graph._types:SampleDiversity": { "type": "object", "properties": { - "expected_memory_with_disk": { - "description": "Estimated memory usage under the assumption that overflowing to disk is allowed during data frame analytics. expected_memory_with_disk is usually smaller than expected_memory_without_disk as using disk allows to limit the main memory needed to perform data frame analytics.", - "type": "string" + "field": { + "$ref": "#/components/schemas/_types:Field" }, - "expected_memory_without_disk": { - "description": "Estimated memory usage under the assumption that the whole data frame analytics should happen in memory (i.e. without overflowing to disk).", - "type": "string" + "max_docs_per_value": { + "type": "number" } }, "required": [ - "expected_memory_with_disk", - "expected_memory_without_disk" + "field", + "max_docs_per_value" ] }, - "ml._types:Page": { + "graph._types:Connection": { "type": "object", "properties": { - "from": { - "description": "Skips the specified number of items.", + "doc_count": { "type": "number" }, - "size": { - "description": "Specifies the maximum number of items to obtain.", - "type": "number" - } - } - }, - "ml._types:BucketSummary": { - "type": "object", - "properties": { - "anomaly_score": { - "description": "The maximum anomaly score, between 0-100, for any of the bucket influencers. This is an overall, rate-limited\nscore for the job. All the anomaly records in the bucket contribute to this score. This value might be updated as\nnew data is analyzed.", + "source": { "type": "number" }, - "bucket_influencers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:BucketInfluencer" - } - }, - "bucket_span": { - "$ref": "#/components/schemas/_types:DurationValueUnitSeconds" - }, - "event_count": { - "description": "The number of input data records processed in this bucket.", + "target": { "type": "number" }, - "initial_anomaly_score": { - "description": "The maximum anomaly score for any of the bucket influencers. This is the initial value that was calculated at the\ntime the bucket was processed.", + "weight": { "type": "number" - }, - "is_interim": { - "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", - "type": "boolean" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "processing_time_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "result_type": { - "description": "Internal. This value is always set to bucket.", - "type": "string" - }, - "timestamp": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "timestamp_string": { - "$ref": "#/components/schemas/_types:DateTime" } }, "required": [ - "anomaly_score", - "bucket_influencers", - "bucket_span", - "event_count", - "initial_anomaly_score", - "is_interim", - "job_id", - "processing_time_ms", - "result_type", - "timestamp" + "doc_count", + "source", + "target", + "weight" ] }, - "ml._types:BucketInfluencer": { + "graph._types:Vertex": { "type": "object", "properties": { - "anomaly_score": { - "description": "A normalized score between 0-100, which is calculated for each bucket influencer. This score might be updated as\nnewer data is analyzed.", + "depth": { "type": "number" }, - "bucket_span": { - "$ref": "#/components/schemas/_types:DurationValueUnitSeconds" - }, - "influencer_field_name": { + "field": { "$ref": "#/components/schemas/_types:Field" }, - "initial_anomaly_score": { - "description": "The score between 0-100 for each bucket influencer. This score is the initial value that was calculated at the\ntime the bucket was processed.", - "type": "number" - }, - "is_interim": { - "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", - "type": "boolean" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "probability": { - "description": "The probability that the bucket has this behavior, in the range 0 to 1. This value can be held to a high precision\nof over 300 decimal places, so the `anomaly_score` is provided as a human-readable and friendly interpretation of\nthis.", - "type": "number" - }, - "raw_anomaly_score": { - "description": "Internal.", - "type": "number" - }, - "result_type": { - "description": "Internal. This value is always set to `bucket_influencer`.", + "term": { "type": "string" }, - "timestamp": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "timestamp_string": { - "$ref": "#/components/schemas/_types:DateTime" + "weight": { + "type": "number" } }, "required": [ - "anomaly_score", - "bucket_span", - "influencer_field_name", - "initial_anomaly_score", - "is_interim", - "job_id", - "probability", - "raw_anomaly_score", - "result_type", - "timestamp" + "depth", + "field", + "term", + "weight" ] }, - "_types:DurationValueUnitSeconds": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:UnitSeconds" - } + "_types:OpType": { + "type": "string", + "enum": [ + "index", + "create" ] }, - "ml._types:CalendarEvent": { - "type": "object", - "properties": { - "calendar_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "event_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "description": { - "description": "A description of the scheduled event.", + "indices.analyze:TextToAnalyze": { + "oneOf": [ + { "type": "string" }, - "end_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "start_time": { - "$ref": "#/components/schemas/_types:DateTime" + { + "type": "array", + "items": { + "type": "string" + } } - }, - "required": [ - "description", - "end_time", - "start_time" ] }, - "ml.get_calendars:Calendar": { + "indices.analyze:AnalyzeDetail": { "type": "object", "properties": { - "calendar_id": { - "$ref": "#/components/schemas/_types:Id" + "analyzer": { + "$ref": "#/components/schemas/indices.analyze:AnalyzerDetail" }, - "description": { - "description": "A description of the calendar.", - "type": "string" + "charfilters": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.analyze:CharFilterDetail" + } }, - "job_ids": { - "description": "An array of anomaly detection job identifiers.", + "custom_analyzer": { + "type": "boolean" + }, + "tokenfilters": { "type": "array", "items": { - "$ref": "#/components/schemas/_types:Id" + "$ref": "#/components/schemas/indices.analyze:TokenDetail" } + }, + "tokenizer": { + "$ref": "#/components/schemas/indices.analyze:TokenDetail" } }, "required": [ - "calendar_id", - "job_ids" + "custom_analyzer" ] }, - "_types:CategoryId": { - "type": "string" - }, - "ml._types:Category": { + "indices.analyze:AnalyzerDetail": { "type": "object", "properties": { - "category_id": { - "$ref": "#/components/schemas/_types:ulong" - }, - "examples": { - "description": "A list of examples of actual values that matched the category.", - "type": "array", - "items": { - "type": "string" - } - }, - "grok_pattern": { - "description": "[experimental] A Grok pattern that could be used in Logstash or an ingest pipeline to extract fields from messages that match the category. This field is experimental and may be changed or removed in a future release. The Grok patterns that are found are not optimal, but are often a good starting point for manual tweaking.", - "type": "string" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "max_matching_length": { - "$ref": "#/components/schemas/_types:ulong" - }, - "partition_field_name": { - "description": "If per-partition categorization is enabled, this property identifies the field used to segment the categorization. It is not present when per-partition categorization is disabled.", - "type": "string" - }, - "partition_field_value": { - "description": "If per-partition categorization is enabled, this property identifies the value of the partition_field_name for the category. It is not present when per-partition categorization is disabled.", - "type": "string" - }, - "regex": { - "description": "A regular expression that is used to search for values that match the category.", - "type": "string" - }, - "terms": { - "description": "A space separated list of the common tokens that are matched in values of the category.", + "name": { "type": "string" }, - "num_matches": { - "description": "The number of messages that have been matched by this category. This is only guaranteed to have the latest accurate count after a job _flush or _close", - "type": "number" - }, - "preferred_to_categories": { - "description": "A list of category_id entries that this current category encompasses. Any new message that is processed by the categorizer will match against this category and not any of the categories in this list. This is only guaranteed to have the latest accurate list of categories after a job _flush or _close", + "tokens": { "type": "array", "items": { - "$ref": "#/components/schemas/_types:Id" + "$ref": "#/components/schemas/indices.analyze:ExplainAnalyzeToken" } - }, - "p": { - "type": "string" - }, - "result_type": { - "type": "string" - }, - "mlcategory": { - "type": "string" } }, "required": [ - "category_id", - "examples", - "job_id", - "max_matching_length", - "regex", - "terms", - "result_type", - "mlcategory" + "name", + "tokens" ] }, - "ml._types:DataframeAnalyticsSummary": { + "indices.analyze:ExplainAnalyzeToken": { "type": "object", "properties": { - "allow_lazy_start": { - "type": "boolean" - }, - "analysis": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" - }, - "analyzed_fields": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" + "bytes": { + "type": "string" }, - "authorization": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsAuthorization" + "end_offset": { + "type": "number" }, - "create_time": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + "keyword": { + "type": "boolean" }, - "description": { - "type": "string" + "position": { + "type": "number" }, - "dest": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsDestination" + "positionLength": { + "type": "number" }, - "id": { - "$ref": "#/components/schemas/_types:Id" + "start_offset": { + "type": "number" }, - "max_num_threads": { + "termFrequency": { "type": "number" }, - "model_memory_limit": { + "token": { "type": "string" }, - "source": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" + "type": { + "type": "string" } }, "required": [ - "analysis", - "dest", - "id", - "source" + "bytes", + "end_offset", + "position", + "positionLength", + "start_offset", + "termFrequency", + "token", + "type" ] }, - "ml._types:DataframeAnalyticsAuthorization": { + "indices.analyze:CharFilterDetail": { "type": "object", "properties": { - "api_key": { - "$ref": "#/components/schemas/ml._types:ApiKeyAuthorization" - }, - "roles": { - "description": "If a user ID was used for the most recent update to the job, its roles at the time of the update are listed in the response.", + "filtered_text": { "type": "array", "items": { "type": "string" } }, - "service_account": { - "description": "If a service account was used for the most recent update to the job, the account name is listed in the response.", - "type": "string" - } - } - }, - "ml._types:ApiKeyAuthorization": { - "type": "object", - "properties": { - "id": { - "description": "The identifier for the API key.", - "type": "string" - }, "name": { - "description": "The name of the API key.", "type": "string" } }, "required": [ - "id", + "filtered_text", "name" ] }, - "ml._types:DataframeAnalytics": { + "indices.analyze:TokenDetail": { "type": "object", "properties": { - "analysis_stats": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsContainer" - }, - "assignment_explanation": { - "description": "For running jobs only, contains messages relating to the selection of a node to run the job.", + "name": { "type": "string" }, - "data_counts": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsDataCounts" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "memory_usage": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsMemoryUsage" - }, - "progress": { - "description": "The progress report of the data frame analytics job by phase.", + "tokens": { "type": "array", "items": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsProgress" + "$ref": "#/components/schemas/indices.analyze:ExplainAnalyzeToken" } - }, - "state": { - "$ref": "#/components/schemas/ml._types:DataframeState" } }, "required": [ - "data_counts", - "id", - "memory_usage", - "progress", - "state" + "name", + "tokens" ] }, - "ml._types:DataframeAnalyticsStatsContainer": { + "indices.analyze:AnalyzeToken": { "type": "object", "properties": { - "classification_stats": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsHyperparameters" - }, - "outlier_detection_stats": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsOutlierDetection" + "end_offset": { + "type": "number" }, - "regression_stats": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsHyperparameters" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "ml._types:DataframeAnalyticsStatsHyperparameters": { - "type": "object", - "properties": { - "hyperparameters": { - "$ref": "#/components/schemas/ml._types:Hyperparameters" + "position": { + "type": "number" }, - "iteration": { - "description": "The number of iterations on the analysis.", + "positionLength": { "type": "number" }, - "timestamp": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + "start_offset": { + "type": "number" }, - "timing_stats": { - "$ref": "#/components/schemas/ml._types:TimingStats" + "token": { + "type": "string" }, - "validation_loss": { - "$ref": "#/components/schemas/ml._types:ValidationLoss" + "type": { + "type": "string" } }, "required": [ - "hyperparameters", - "iteration", - "timestamp", - "timing_stats", - "validation_loss" + "end_offset", + "position", + "start_offset", + "token", + "type" ] }, - "ml._types:Hyperparameters": { + "indices.data_streams_stats:DataStreamsStatsItem": { "type": "object", "properties": { - "alpha": { - "description": "Advanced configuration option.\nMachine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly.\nThis parameter affects loss calculations by acting as a multiplier of the tree depth.\nHigher alpha values result in shallower trees and faster training times.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than or equal to zero.", + "backing_indices": { + "description": "Current number of backing indices for the data stream.", "type": "number" }, - "lambda": { - "description": "Advanced configuration option.\nRegularization parameter to prevent overfitting on the training data set.\nMultiplies an L2 regularization term which applies to leaf weights of the individual trees in the forest.\nA high lambda value causes training to favor small leaf weights.\nThis behavior makes the prediction function smoother at the expense of potentially not being able to capture relevant relationships between the features and the dependent variable.\nA small lambda value results in large individual trees and slower training.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be a nonnegative value.", - "type": "number" + "data_stream": { + "$ref": "#/components/schemas/_types:Name" }, - "gamma": { - "description": "Advanced configuration option.\nRegularization parameter to prevent overfitting on the training data set.\nMultiplies a linear penalty associated with the size of individual trees in the forest.\nA high gamma value causes training to prefer small trees.\nA small gamma value results in larger individual trees and slower training.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be a nonnegative value.", - "type": "number" + "maximum_timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" }, - "eta": { - "description": "Advanced configuration option.\nThe shrinkage applied to the weights.\nSmaller values result in larger forests which have a better generalization error.\nHowever, larger forests cause slower training.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be a value between `0.001` and `1`.", - "type": "number" + "store_size": { + "$ref": "#/components/schemas/_types:ByteSize" }, - "eta_growth_rate_per_tree": { - "description": "Advanced configuration option.\nSpecifies the rate at which `eta` increases for each new tree that is added to the forest.\nFor example, a rate of 1.05 increases `eta` by 5% for each extra tree.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be between `0.5` and `2`.", + "store_size_bytes": { + "description": "Total size, in bytes, of all shards for the data stream’s backing indices.", "type": "number" + } + }, + "required": [ + "backing_indices", + "data_stream", + "maximum_timestamp", + "store_size_bytes" + ] + }, + "_types:IndicesResponseBase": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" }, - "feature_bag_fraction": { - "description": "Advanced configuration option.\nDefines the fraction of features that will be used when selecting a random bag for each candidate split.\nBy default, this value is calculated during hyperparameter optimization.", - "type": "number" + { + "type": "object", + "properties": { + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + } + } + } + ] + }, + "_types:DataStreamNames": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:DataStreamName" }, - "downsample_factor": { - "description": "Advanced configuration option.\nControls the fraction of data that is used to compute the derivatives of the loss function for tree training.\nA small value results in the use of a small fraction of the data.\nIf this value is set to be less than 1, accuracy typically improves.\nHowever, too small a value may result in poor convergence for the ensemble and so require more trees.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than zero and less than or equal to 1.", - "type": "number" + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:DataStreamName" + } + } + ] + }, + "indices.explain_data_lifecycle:DataStreamLifecycleExplain": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" }, - "max_attempts_to_add_tree": { - "description": "If the algorithm fails to determine a non-trivial tree (more than a single leaf), this parameter determines how many of such consecutive failures are tolerated.\nOnce the number of attempts exceeds the threshold, the forest training stops.", - "type": "number" + "managed_by_lifecycle": { + "type": "boolean" }, - "max_optimization_rounds_per_hyperparameter": { - "description": "Advanced configuration option.\nA multiplier responsible for determining the maximum number of hyperparameter optimization steps in the Bayesian optimization procedure.\nThe maximum number of steps is determined based on the number of undefined hyperparameters times the maximum optimization rounds per hyperparameter.\nBy default, this value is calculated during hyperparameter optimization.", - "type": "number" + "index_creation_date_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" }, - "max_trees": { - "description": "Advanced configuration option.\nDefines the maximum number of decision trees in the forest.\nThe maximum value is 2000.\nBy default, this value is calculated during hyperparameter optimization.", - "type": "number" + "time_since_index_creation": { + "$ref": "#/components/schemas/_types:Duration" }, - "num_folds": { - "description": "The maximum number of folds for the cross-validation procedure.", - "type": "number" + "rollover_date_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" }, - "num_splits_per_feature": { - "description": "Determines the maximum number of splits for every feature that can occur in a decision tree when the tree is trained.", - "type": "number" + "time_since_rollover": { + "$ref": "#/components/schemas/_types:Duration" }, - "soft_tree_depth_limit": { - "description": "Advanced configuration option.\nMachine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly.\nThis soft limit combines with the `soft_tree_depth_tolerance` to penalize trees that exceed the specified depth; the regularized loss increases quickly beyond this depth.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than or equal to 0.", - "type": "number" + "lifecycle": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleWithRollover" }, - "soft_tree_depth_tolerance": { - "description": "Advanced configuration option.\nThis option controls how quickly the regularized loss increases when the tree depth exceeds `soft_tree_depth_limit`.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than or equal to 0.01.", - "type": "number" - } - } - }, - "ml._types:TimingStats": { - "type": "object", - "properties": { - "elapsed_time": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "generation_time": { + "$ref": "#/components/schemas/_types:Duration" }, - "iteration_time": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "error": { + "type": "string" } }, "required": [ - "elapsed_time" + "index", + "managed_by_lifecycle" + ] + }, + "indices.get:Features": { + "oneOf": [ + { + "$ref": "#/components/schemas/indices.get:Feature" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.get:Feature" + } + } + ] + }, + "indices.get:Feature": { + "type": "string", + "enum": [ + "aliases", + "mappings", + "settings" ] }, - "ml._types:ValidationLoss": { + "indices.get_alias:IndexAliases": { "type": "object", "properties": { - "fold_values": { - "description": "Validation loss values for every added decision tree during the forest growing procedure.", - "type": "array", - "items": { - "type": "string" + "aliases": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:AliasDefinition" } - }, - "loss_type": { - "description": "The type of the loss metric. For example, binomial_logistic.", - "type": "string" } }, "required": [ - "fold_values", - "loss_type" + "aliases" ] }, - "ml._types:DataframeAnalyticsStatsOutlierDetection": { + "indices.get_data_lifecycle:DataStreamWithLifecycle": { "type": "object", "properties": { - "parameters": { - "$ref": "#/components/schemas/ml._types:OutlierDetectionParameters" - }, - "timestamp": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + "name": { + "$ref": "#/components/schemas/_types:DataStreamName" }, - "timing_stats": { - "$ref": "#/components/schemas/ml._types:TimingStats" + "lifecycle": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycle" } }, "required": [ - "parameters", - "timestamp", - "timing_stats" + "name" ] }, - "ml._types:OutlierDetectionParameters": { + "indices._types:DataStream": { "type": "object", "properties": { - "compute_feature_influence": { - "description": "Specifies whether the feature influence calculation is enabled.", + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "allow_custom_routing": { + "description": "If `true`, the data stream allows custom routing on write request.", "type": "boolean" }, - "feature_influence_threshold": { - "description": "The minimum outlier score that a document needs to have in order to calculate its feature influence score.\nValue range: 0-1", + "generation": { + "description": "Current generation for the data stream. This number acts as a cumulative count of the stream’s rollovers, starting at 1.", "type": "number" }, - "method": { - "description": "The method that outlier detection uses.\nAvailable methods are `lof`, `ldof`, `distance_kth_nn`, `distance_knn`, and `ensemble`.\nThe default value is ensemble, which means that outlier detection uses an ensemble of different methods and normalises and combines their individual outlier scores to obtain the overall outlier score.", - "type": "string" + "hidden": { + "description": "If `true`, the data stream is hidden.", + "type": "boolean" }, - "n_neighbors": { - "description": "Defines the value for how many nearest neighbors each method of outlier detection uses to calculate its outlier score.\nWhen the value is not set, different values are used for different ensemble members.\nThis default behavior helps improve the diversity in the ensemble; only override it if you are confident that the value you choose is appropriate for the data set.", - "type": "number" + "ilm_policy": { + "$ref": "#/components/schemas/_types:Name" }, - "outlier_fraction": { - "description": "The proportion of the data set that is assumed to be outlying prior to outlier detection.\nFor example, 0.05 means it is assumed that 5% of values are real outliers and 95% are inliers.", - "type": "number" + "indices": { + "description": "Array of objects containing information about the data stream’s backing indices.\nThe last item in this array contains information about the stream’s current write index.", + "type": "array", + "items": { + "$ref": "#/components/schemas/indices._types:DataStreamIndex" + } }, - "standardization_enabled": { - "description": "If `true`, the following operation is performed on the columns before computing outlier scores: (x_i - mean(x_i)) / sd(x_i).", + "lifecycle": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleWithRollover" + }, + "name": { + "$ref": "#/components/schemas/_types:DataStreamName" + }, + "replicated": { + "description": "If `true`, the data stream is created and managed by cross-cluster replication and the local cluster can not write into this data stream or change its mappings.", "type": "boolean" - } - } - }, - "ml._types:DataframeAnalyticsStatsDataCounts": { - "type": "object", - "properties": { - "skipped_docs_count": { - "description": "The number of documents that are skipped during the analysis because they contained values that are not supported by the analysis. For example, outlier detection does not support missing fields so it skips documents with missing fields. Likewise, all types of analysis skip documents that contain arrays with more than one element.", - "type": "number" }, - "test_docs_count": { - "description": "The number of documents that are not used for training the model and can be used for testing.", - "type": "number" + "status": { + "$ref": "#/components/schemas/_types:HealthStatus" }, - "training_docs_count": { - "description": "The number of documents that are used for training the model.", - "type": "number" + "system": { + "description": "If `true`, the data stream is created and managed by an Elastic stack component and cannot be modified through normal user interaction.", + "type": "boolean" + }, + "template": { + "$ref": "#/components/schemas/_types:Name" + }, + "timestamp_field": { + "$ref": "#/components/schemas/indices._types:DataStreamTimestampField" } }, "required": [ - "skipped_docs_count", - "test_docs_count", - "training_docs_count" + "generation", + "hidden", + "indices", + "name", + "status", + "template", + "timestamp_field" ] }, - "ml._types:DataframeAnalyticsStatsMemoryUsage": { + "indices._types:DataStreamIndex": { "type": "object", "properties": { - "memory_reestimate_bytes": { - "description": "This value is present when the status is hard_limit and it is a new estimate of how much memory the job needs.", - "type": "number" - }, - "peak_usage_bytes": { - "description": "The number of bytes used at the highest peak of memory usage.", - "type": "number" - }, - "status": { - "description": "The memory usage status.", - "type": "string" + "index_name": { + "$ref": "#/components/schemas/_types:IndexName" }, - "timestamp": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + "index_uuid": { + "$ref": "#/components/schemas/_types:Uuid" } }, "required": [ - "peak_usage_bytes", - "status" + "index_name", + "index_uuid" ] }, - "ml._types:DataframeAnalyticsStatsProgress": { + "indices._types:DataStreamTimestampField": { "type": "object", "properties": { - "phase": { - "description": "Defines the phase of the data frame analytics job.", - "type": "string" - }, - "progress_percent": { - "description": "The progress that the data frame analytics job has made expressed in percentage.", - "type": "number" + "name": { + "$ref": "#/components/schemas/_types:Field" } }, "required": [ - "phase", - "progress_percent" - ] - }, - "ml._types:DataframeState": { - "type": "string", - "enum": [ - "started", - "stopped", - "starting", - "stopping", - "failed" + "name" ] }, - "ml._types:DatafeedStats": { + "indices.get_index_template:IndexTemplateItem": { "type": "object", "properties": { - "assignment_explanation": { - "description": "For started datafeeds only, contains messages relating to the selection of a node.", - "type": "string" - }, - "datafeed_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "state": { - "$ref": "#/components/schemas/ml._types:DatafeedState" - }, - "timing_stats": { - "$ref": "#/components/schemas/ml._types:DatafeedTimingStats" + "name": { + "$ref": "#/components/schemas/_types:Name" }, - "running_state": { - "$ref": "#/components/schemas/ml._types:DatafeedRunningState" + "index_template": { + "$ref": "#/components/schemas/indices._types:IndexTemplate" } }, "required": [ - "datafeed_id", - "state", - "timing_stats" + "name", + "index_template" ] }, - "ml._types:DatafeedTimingStats": { + "indices._types:IndexTemplate": { "type": "object", "properties": { - "bucket_count": { - "description": "The number of buckets processed.", - "type": "number" + "index_patterns": { + "$ref": "#/components/schemas/_types:Names" }, - "exponential_average_search_time_per_hour_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + "composed_of": { + "description": "An ordered list of component template names.\nComponent templates are merged in the order specified, meaning that the last component template specified has the highest precedence.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Name" + } }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" + "template": { + "$ref": "#/components/schemas/indices._types:IndexTemplateSummary" }, - "search_count": { - "description": "The number of searches run by the datafeed.", + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "priority": { + "description": "Priority to determine index template precedence when a new data stream or index is created.\nThe index template with the highest priority is chosen.\nIf no priority is specified the template is treated as though it is of priority 0 (lowest priority).\nThis number is not automatically generated by Elasticsearch.", "type": "number" }, - "total_search_time_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" }, - "average_search_time_per_bucket_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + "allow_auto_create": { + "type": "boolean" + }, + "data_stream": { + "$ref": "#/components/schemas/indices._types:IndexTemplateDataStreamConfiguration" } }, "required": [ - "bucket_count", - "exponential_average_search_time_per_hour_ms", - "job_id", - "search_count", - "total_search_time_ms" + "index_patterns", + "composed_of" ] }, - "_types:DurationValueUnitFloatMillis": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:UnitFloatMillis" + "indices._types:IndexTemplateSummary": { + "type": "object", + "properties": { + "aliases": { + "description": "Aliases to add.\nIf the index template includes a `data_stream` object, these are data stream aliases.\nOtherwise, these are index aliases.\nData stream aliases ignore the `index_routing`, `routing`, and `search_routing` options.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } + }, + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "settings": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + }, + "lifecycle": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycleWithRollover" } - ] - }, - "_types:UnitFloatMillis": { - "description": "Time unit for fractional milliseconds", - "type": "number" + } }, - "ml._types:DatafeedRunningState": { + "indices._types:IndexTemplateDataStreamConfiguration": { "type": "object", "properties": { - "real_time_configured": { - "description": "Indicates if the datafeed is \"real-time\"; meaning that the datafeed has no configured `end` time.", + "hidden": { + "description": "If true, the data stream is hidden.", "type": "boolean" }, - "real_time_running": { - "description": "Indicates whether the datafeed has finished running on the available past data.\nFor datafeeds without a configured `end` time, this means that the datafeed is now running on \"real-time\" data.", + "allow_custom_routing": { + "description": "If true, the data stream supports custom routing.", "type": "boolean" - }, - "search_interval": { - "$ref": "#/components/schemas/ml._types:RunningStateSearchInterval" } - }, - "required": [ - "real_time_configured", - "real_time_running" - ] + } }, - "ml._types:RunningStateSearchInterval": { + "indices.get_mapping:IndexMappingRecord": { "type": "object", "properties": { - "end": { - "$ref": "#/components/schemas/_types:Duration" - }, - "end_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "start": { - "$ref": "#/components/schemas/_types:Duration" + "item": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" }, - "start_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" } }, "required": [ - "end_ms", - "start_ms" + "mappings" ] }, - "ml._types:Datafeed": { + "indices._types:TemplateMapping": { "type": "object", "properties": { - "aggregations": { + "aliases": { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "authorization": { - "$ref": "#/components/schemas/ml._types:DatafeedAuthorization" - }, - "chunking_config": { - "$ref": "#/components/schemas/ml._types:ChunkingConfig" - }, - "datafeed_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "frequency": { - "$ref": "#/components/schemas/_types:Duration" - }, - "indices": { - "type": "array", - "items": { - "type": "string" + "$ref": "#/components/schemas/indices._types:Alias" } }, - "indexes": { + "index_patterns": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/_types:Name" } }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" }, - "max_empty_searches": { + "order": { "type": "number" }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "query_delay": { - "$ref": "#/components/schemas/_types:Duration" - }, - "script_fields": { + "settings": { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/_types:ScriptField" + "type": "object" } }, - "scroll_size": { - "type": "number" - }, - "delayed_data_check_config": { - "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - }, - "indices_options": { - "$ref": "#/components/schemas/_types:IndicesOptions" + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" } }, "required": [ - "datafeed_id", - "indices", - "job_id", - "query", - "delayed_data_check_config" + "aliases", + "index_patterns", + "mappings", + "order", + "settings" ] }, - "ml._types:DatafeedAuthorization": { + "indices.modify_data_stream:Action": { "type": "object", "properties": { - "api_key": { - "$ref": "#/components/schemas/ml._types:ApiKeyAuthorization" - }, - "roles": { - "description": "If a user ID was used for the most recent update to the datafeed, its roles at the time of the update are listed in the response.", - "type": "array", - "items": { - "type": "string" - } + "add_backing_index": { + "$ref": "#/components/schemas/indices.modify_data_stream:IndexAndDataStreamAction" }, - "service_account": { - "description": "If a service account was used for the most recent update to the datafeed, the account name is listed in the response.", - "type": "string" + "remove_backing_index": { + "$ref": "#/components/schemas/indices.modify_data_stream:IndexAndDataStreamAction" } - } + }, + "minProperties": 1, + "maxProperties": 1 }, - "ml._types:ChunkingConfig": { + "indices.modify_data_stream:IndexAndDataStreamAction": { "type": "object", "properties": { - "mode": { - "$ref": "#/components/schemas/ml._types:ChunkingMode" + "data_stream": { + "$ref": "#/components/schemas/_types:DataStreamName" }, - "time_span": { - "$ref": "#/components/schemas/_types:Duration" + "index": { + "$ref": "#/components/schemas/_types:IndexName" } }, "required": [ - "mode" - ] - }, - "ml._types:ChunkingMode": { - "type": "string", - "enum": [ - "auto", - "manual", - "off" + "data_stream", + "index" ] }, - "ml._types:DelayedDataCheckConfig": { + "indices.put_index_template:IndexTemplateMapping": { "type": "object", "properties": { - "check_window": { - "$ref": "#/components/schemas/_types:Duration" + "aliases": { + "description": "Aliases to add.\nIf the index template includes a `data_stream` object, these are data stream aliases.\nOtherwise, these are index aliases.\nData stream aliases ignore the `index_routing`, `routing`, and `search_routing` options.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/indices._types:Alias" + } }, - "enabled": { - "description": "Specifies whether the datafeed periodically checks for delayed data.", - "type": "boolean" + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" + }, + "settings": { + "$ref": "#/components/schemas/indices._types:IndexSettings" + }, + "lifecycle": { + "$ref": "#/components/schemas/indices._types:DataStreamLifecycle" } - }, - "required": [ - "enabled" - ] + } }, - "_types:IndicesOptions": { + "indices._types:DataStreamVisibility": { "type": "object", "properties": { - "allow_no_indices": { - "description": "If false, the request returns an error if any wildcard expression, index alias, or `_all` value targets only\nmissing or closed indices. This behavior applies even if the request targets other open indices. For example,\na request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", - "type": "boolean" - }, - "expand_wildcards": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "ignore_unavailable": { - "description": "If true, missing or closed indices are not included in the response.", - "type": "boolean" - }, - "ignore_throttled": { - "description": "If true, concrete, expanded or aliased indices are ignored when frozen.", + "hidden": { "type": "boolean" } } }, - "ml._types:Filter": { + "indices.resolve_index:ResolveIndexItem": { "type": "object", "properties": { - "description": { - "description": "A description of the filter.", - "type": "string" + "name": { + "$ref": "#/components/schemas/_types:Name" }, - "filter_id": { - "$ref": "#/components/schemas/_types:Id" + "aliases": { + "type": "array", + "items": { + "type": "string" + } }, - "items": { - "description": "An array of strings which is the filter item list.", + "attributes": { "type": "array", "items": { "type": "string" } + }, + "data_stream": { + "$ref": "#/components/schemas/_types:DataStreamName" } }, "required": [ - "filter_id", - "items" + "name", + "attributes" ] }, - "ml._types:Influencer": { + "indices.resolve_index:ResolveIndexAliasItem": { "type": "object", "properties": { - "bucket_span": { - "$ref": "#/components/schemas/_types:DurationValueUnitSeconds" - }, - "influencer_score": { - "description": "A normalized score between 0-100, which is based on the probability of the influencer in this bucket aggregated\nacross detectors. Unlike `initial_influencer_score`, this value is updated by a re-normalization process as new\ndata is analyzed.", - "type": "number" - }, - "influencer_field_name": { - "$ref": "#/components/schemas/_types:Field" - }, - "influencer_field_value": { - "description": "The entity that influenced, contributed to, or was to blame for the anomaly.", - "type": "string" - }, - "initial_influencer_score": { - "description": "A normalized score between 0-100, which is based on the probability of the influencer aggregated across detectors.\nThis is the initial value that was calculated at the time the bucket was processed.", - "type": "number" - }, - "is_interim": { - "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", - "type": "boolean" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "probability": { - "description": "The probability that the influencer has this behavior, in the range 0 to 1. This value can be held to a high\nprecision of over 300 decimal places, so the `influencer_score` is provided as a human-readable and friendly\ninterpretation of this value.", - "type": "number" - }, - "result_type": { - "description": "Internal. This value is always set to `influencer`.", - "type": "string" - }, - "timestamp": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + "name": { + "$ref": "#/components/schemas/_types:Name" }, - "foo": { - "description": "Additional influencer properties are added, depending on the fields being analyzed. For example, if it’s\nanalyzing `user_name` as an influencer, a field `user_name` is added to the result document. This\ninformation enables you to filter the anomaly results more easily.", - "type": "string" + "indices": { + "$ref": "#/components/schemas/_types:Indices" } }, "required": [ - "bucket_span", - "influencer_score", - "influencer_field_name", - "influencer_field_value", - "initial_influencer_score", - "is_interim", - "job_id", - "probability", - "result_type", - "timestamp" + "name", + "indices" ] }, - "ml._types:JobStats": { + "indices.resolve_index:ResolveIndexDataStreamsItem": { "type": "object", "properties": { - "assignment_explanation": { - "description": "For open anomaly detection jobs only, contains messages relating to the selection of a node to run the job.", - "type": "string" - }, - "data_counts": { - "$ref": "#/components/schemas/ml._types:DataCounts" - }, - "forecasts_stats": { - "$ref": "#/components/schemas/ml._types:JobForecastStatistics" - }, - "job_id": { - "description": "Identifier for the anomaly detection job.", - "type": "string" - }, - "model_size_stats": { - "$ref": "#/components/schemas/ml._types:ModelSizeStats" - }, - "open_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "state": { - "$ref": "#/components/schemas/ml._types:JobState" + "name": { + "$ref": "#/components/schemas/_types:DataStreamName" }, - "timing_stats": { - "$ref": "#/components/schemas/ml._types:JobTimingStats" + "timestamp_field": { + "$ref": "#/components/schemas/_types:Field" }, - "deleting": { - "description": "Indicates that the process of deleting the job is in progress but not yet completed. It is only reported when `true`.", - "type": "boolean" + "backing_indices": { + "$ref": "#/components/schemas/_types:Indices" } }, "required": [ - "data_counts", - "forecasts_stats", - "job_id", - "model_size_stats", - "state", - "timing_stats" + "name", + "timestamp_field", + "backing_indices" ] }, - "ml._types:DataCounts": { + "_types:IndexAlias": { + "type": "string" + }, + "indices.rollover:RolloverConditions": { "type": "object", "properties": { - "bucket_count": { - "type": "number" - }, - "earliest_record_timestamp": { - "type": "number" - }, - "empty_bucket_count": { - "type": "number" + "min_age": { + "$ref": "#/components/schemas/_types:Duration" }, - "input_bytes": { - "type": "number" + "max_age": { + "$ref": "#/components/schemas/_types:Duration" }, - "input_field_count": { - "type": "number" + "max_age_millis": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" }, - "input_record_count": { + "min_docs": { "type": "number" }, - "invalid_date_count": { + "max_docs": { "type": "number" }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "last_data_time": { - "type": "number" + "max_size": { + "$ref": "#/components/schemas/_types:ByteSize" }, - "latest_empty_bucket_timestamp": { + "max_size_bytes": { "type": "number" }, - "latest_record_timestamp": { - "type": "number" + "min_size": { + "$ref": "#/components/schemas/_types:ByteSize" }, - "latest_sparse_bucket_timestamp": { + "min_size_bytes": { "type": "number" }, - "latest_bucket_timestamp": { - "type": "number" + "max_primary_shard_size": { + "$ref": "#/components/schemas/_types:ByteSize" }, - "log_time": { + "max_primary_shard_size_bytes": { "type": "number" }, - "missing_field_count": { - "type": "number" + "min_primary_shard_size": { + "$ref": "#/components/schemas/_types:ByteSize" }, - "out_of_order_timestamp_count": { + "min_primary_shard_size_bytes": { "type": "number" }, - "processed_field_count": { + "max_primary_shard_docs": { "type": "number" }, - "processed_record_count": { + "min_primary_shard_docs": { "type": "number" + } + } + }, + "indices.simulate_template:Overlapping": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" }, - "sparse_bucket_count": { - "type": "number" + "index_patterns": { + "type": "array", + "items": { + "type": "string" + } } }, "required": [ - "bucket_count", - "empty_bucket_count", - "input_bytes", - "input_field_count", - "input_record_count", - "invalid_date_count", - "job_id", - "missing_field_count", - "out_of_order_timestamp_count", - "processed_field_count", - "processed_record_count", - "sparse_bucket_count" + "name", + "index_patterns" ] }, - "ml._types:JobForecastStatistics": { + "indices.simulate_template:Template": { "type": "object", "properties": { - "memory_bytes": { - "$ref": "#/components/schemas/ml._types:JobStatistics" - }, - "processing_time_ms": { - "$ref": "#/components/schemas/ml._types:JobStatistics" - }, - "records": { - "$ref": "#/components/schemas/ml._types:JobStatistics" - }, - "status": { + "aliases": { "type": "object", "additionalProperties": { - "type": "number" + "$ref": "#/components/schemas/indices._types:Alias" } }, - "total": { - "type": "number" + "mappings": { + "$ref": "#/components/schemas/_types.mapping:TypeMapping" }, - "forecasted_jobs": { - "type": "number" + "settings": { + "$ref": "#/components/schemas/indices._types:IndexSettings" } }, "required": [ - "total", - "forecasted_jobs" + "aliases", + "mappings", + "settings" ] }, - "ml._types:JobStatistics": { + "indices.update_aliases:Action": { "type": "object", "properties": { - "avg": { - "type": "number" - }, - "max": { - "type": "number" + "add": { + "$ref": "#/components/schemas/indices.update_aliases:AddAction" }, - "min": { - "type": "number" + "remove": { + "$ref": "#/components/schemas/indices.update_aliases:RemoveAction" }, - "total": { - "type": "number" + "remove_index": { + "$ref": "#/components/schemas/indices.update_aliases:RemoveIndexAction" } }, - "required": [ - "avg", - "max", - "min", - "total" - ] + "minProperties": 1, + "maxProperties": 1 }, - "ml._types:ModelSizeStats": { + "indices.update_aliases:AddAction": { "type": "object", "properties": { - "bucket_allocation_failures_count": { - "type": "number" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" + "alias": { + "$ref": "#/components/schemas/_types:IndexAlias" }, - "log_time": { - "$ref": "#/components/schemas/_types:DateTime" + "aliases": { + "description": "Aliases for the action.\nIndex alias names support date math.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:IndexAlias" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:IndexAlias" + } + } + ] }, - "memory_status": { - "$ref": "#/components/schemas/ml._types:MemoryStatus" + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" }, - "model_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" + "index": { + "$ref": "#/components/schemas/_types:IndexName" }, - "model_bytes_exceeded": { - "$ref": "#/components/schemas/_types:ByteSize" + "indices": { + "$ref": "#/components/schemas/_types:Indices" }, - "model_bytes_memory_limit": { - "$ref": "#/components/schemas/_types:ByteSize" + "index_routing": { + "$ref": "#/components/schemas/_types:Routing" }, - "peak_model_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" + "is_hidden": { + "description": "If `true`, the alias is hidden.", + "type": "boolean" }, - "assignment_memory_basis": { - "type": "string" + "is_write_index": { + "description": "If `true`, sets the write index or data stream for the alias.", + "type": "boolean" }, - "result_type": { - "type": "string" + "routing": { + "$ref": "#/components/schemas/_types:Routing" }, - "total_by_field_count": { - "type": "number" + "search_routing": { + "$ref": "#/components/schemas/_types:Routing" }, - "total_over_field_count": { - "type": "number" + "must_exist": { + "description": "If `true`, the alias must exist to perform the action.", + "type": "boolean" + } + } + }, + "indices.update_aliases:RemoveAction": { + "type": "object", + "properties": { + "alias": { + "$ref": "#/components/schemas/_types:IndexAlias" }, - "total_partition_field_count": { - "type": "number" + "aliases": { + "description": "Aliases for the action.\nIndex alias names support date math.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:IndexAlias" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:IndexAlias" + } + } + ] }, - "categorization_status": { - "$ref": "#/components/schemas/ml._types:CategorizationStatus" + "index": { + "$ref": "#/components/schemas/_types:IndexName" }, - "categorized_doc_count": { - "type": "number" + "indices": { + "$ref": "#/components/schemas/_types:Indices" }, - "dead_category_count": { - "type": "number" + "must_exist": { + "description": "If `true`, the alias must exist to perform the action.", + "type": "boolean" + } + } + }, + "indices.update_aliases:RemoveIndexAction": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" }, - "failed_category_count": { - "type": "number" + "indices": { + "$ref": "#/components/schemas/_types:Indices" }, - "frequent_category_count": { - "type": "number" + "must_exist": { + "description": "If `true`, the alias must exist to perform the action.", + "type": "boolean" + } + } + }, + "indices.validate_query:IndicesValidationExplanation": { + "type": "object", + "properties": { + "error": { + "type": "string" }, - "rare_category_count": { - "type": "number" + "explanation": { + "type": "string" }, - "total_category_count": { - "type": "number" + "index": { + "$ref": "#/components/schemas/_types:IndexName" }, - "timestamp": { - "type": "number" + "valid": { + "type": "boolean" } }, "required": [ - "bucket_allocation_failures_count", - "job_id", - "log_time", - "memory_status", - "model_bytes", - "result_type", - "total_by_field_count", - "total_over_field_count", - "total_partition_field_count", - "categorization_status", - "categorized_doc_count", - "dead_category_count", - "failed_category_count", - "frequent_category_count", - "rare_category_count", - "total_category_count" + "index", + "valid" ] }, - "ml._types:JobTimingStats": { + "_types:ElasticsearchVersionInfo": { "type": "object", "properties": { - "average_bucket_processing_time_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + "build_date": { + "$ref": "#/components/schemas/_types:DateTime" }, - "bucket_count": { - "type": "number" + "build_flavor": { + "type": "string" }, - "exponential_average_bucket_processing_time_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + "build_hash": { + "type": "string" }, - "exponential_average_bucket_processing_time_per_hour_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + "build_snapshot": { + "type": "boolean" }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" + "build_type": { + "type": "string" }, - "total_bucket_processing_time_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + "lucene_version": { + "$ref": "#/components/schemas/_types:VersionString" }, - "maximum_bucket_processing_time_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + "minimum_index_compatibility_version": { + "$ref": "#/components/schemas/_types:VersionString" }, - "minimum_bucket_processing_time_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + "minimum_wire_compatibility_version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "number": { + "type": "string" } }, "required": [ - "bucket_count", - "exponential_average_bucket_processing_time_per_hour_ms", - "job_id", - "total_bucket_processing_time_ms" + "build_date", + "build_flavor", + "build_hash", + "build_snapshot", + "build_type", + "lucene_version", + "minimum_index_compatibility_version", + "minimum_wire_compatibility_version", + "number" ] }, - "ml._types:Job": { + "ingest._types:Pipeline": { "type": "object", "properties": { - "allow_lazy_open": { - "description": "Advanced configuration option.\nSpecifies whether this job can open when there is insufficient machine learning node capacity for it to be immediately assigned to a node.", - "type": "boolean" + "description": { + "description": "Description of the ingest pipeline.", + "type": "string" }, - "analysis_config": { - "$ref": "#/components/schemas/ml._types:AnalysisConfig" + "on_failure": { + "description": "Processors to run immediately after a processor failure.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest._types:ProcessorContainer" + } }, - "analysis_limits": { - "$ref": "#/components/schemas/ml._types:AnalysisLimits" + "processors": { + "description": "Processors used to perform transformations on documents before indexing.\nProcessors run sequentially in the order specified.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest._types:ProcessorContainer" + } }, - "background_persist_interval": { - "$ref": "#/components/schemas/_types:Duration" + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + } + } + }, + "ingest._types:ProcessorContainer": { + "type": "object", + "properties": { + "attachment": { + "$ref": "#/components/schemas/ingest._types:AttachmentProcessor" }, - "blocked": { - "$ref": "#/components/schemas/ml._types:JobBlocked" + "append": { + "$ref": "#/components/schemas/ingest._types:AppendProcessor" }, - "create_time": { - "$ref": "#/components/schemas/_types:DateTime" + "csv": { + "$ref": "#/components/schemas/ingest._types:CsvProcessor" + }, + "convert": { + "$ref": "#/components/schemas/ingest._types:ConvertProcessor" + }, + "date": { + "$ref": "#/components/schemas/ingest._types:DateProcessor" + }, + "date_index_name": { + "$ref": "#/components/schemas/ingest._types:DateIndexNameProcessor" + }, + "dot_expander": { + "$ref": "#/components/schemas/ingest._types:DotExpanderProcessor" + }, + "enrich": { + "$ref": "#/components/schemas/ingest._types:EnrichProcessor" + }, + "fail": { + "$ref": "#/components/schemas/ingest._types:FailProcessor" + }, + "foreach": { + "$ref": "#/components/schemas/ingest._types:ForeachProcessor" + }, + "json": { + "$ref": "#/components/schemas/ingest._types:JsonProcessor" + }, + "user_agent": { + "$ref": "#/components/schemas/ingest._types:UserAgentProcessor" + }, + "kv": { + "$ref": "#/components/schemas/ingest._types:KeyValueProcessor" + }, + "geoip": { + "$ref": "#/components/schemas/ingest._types:GeoIpProcessor" + }, + "grok": { + "$ref": "#/components/schemas/ingest._types:GrokProcessor" + }, + "gsub": { + "$ref": "#/components/schemas/ingest._types:GsubProcessor" + }, + "join": { + "$ref": "#/components/schemas/ingest._types:JoinProcessor" + }, + "lowercase": { + "$ref": "#/components/schemas/ingest._types:LowercaseProcessor" + }, + "remove": { + "$ref": "#/components/schemas/ingest._types:RemoveProcessor" + }, + "rename": { + "$ref": "#/components/schemas/ingest._types:RenameProcessor" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "set": { + "$ref": "#/components/schemas/ingest._types:SetProcessor" + }, + "sort": { + "$ref": "#/components/schemas/ingest._types:SortProcessor" + }, + "split": { + "$ref": "#/components/schemas/ingest._types:SplitProcessor" + }, + "trim": { + "$ref": "#/components/schemas/ingest._types:TrimProcessor" + }, + "uppercase": { + "$ref": "#/components/schemas/ingest._types:UppercaseProcessor" + }, + "urldecode": { + "$ref": "#/components/schemas/ingest._types:UrlDecodeProcessor" + }, + "bytes": { + "$ref": "#/components/schemas/ingest._types:BytesProcessor" + }, + "dissect": { + "$ref": "#/components/schemas/ingest._types:DissectProcessor" }, - "custom_settings": { - "$ref": "#/components/schemas/ml._types:CustomSettings" + "set_security_user": { + "$ref": "#/components/schemas/ingest._types:SetSecurityUserProcessor" }, - "daily_model_snapshot_retention_after_days": { - "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies a period of time (in days) after which only the first snapshot per day is retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.\nValid values range from 0 to `model_snapshot_retention_days`.", - "type": "number" + "pipeline": { + "$ref": "#/components/schemas/ingest._types:PipelineProcessor" }, - "data_description": { - "$ref": "#/components/schemas/ml._types:DataDescription" + "drop": { + "$ref": "#/components/schemas/ingest._types:DropProcessor" }, - "datafeed_config": { - "$ref": "#/components/schemas/ml._types:Datafeed" + "circle": { + "$ref": "#/components/schemas/ingest._types:CircleProcessor" }, - "deleting": { - "description": "Indicates that the process of deleting the job is in progress but not yet completed.\nIt is only reported when `true`.", - "type": "boolean" + "inference": { + "$ref": "#/components/schemas/ingest._types:InferenceProcessor" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ingest._types:AttachmentProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and field does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "indexed_chars": { + "description": "The number of chars being used for extraction to prevent huge fields.\nUse `-1` for no limit.", + "type": "number" + }, + "indexed_chars_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "properties": { + "description": "Array of properties to select to be stored.\nCan be `content`, `title`, `name`, `author`, `keywords`, `date`, `content_type`, `content_length`, `language`.", + "type": "array", + "items": { + "type": "string" + } + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "resource_name": { + "description": "Field containing the name of the resource to decode.\nIf specified, the processor passes this resource name to the underlying Tika library to enable Resource Name Based Detection.", + "type": "string" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:ProcessorBase": { + "type": "object", + "properties": { "description": { - "description": "A description of the job.", + "description": "Description of the processor.\nUseful for describing the purpose of the processor or its configuration.", "type": "string" }, - "finished_time": { - "$ref": "#/components/schemas/_types:DateTime" + "if": { + "description": "Conditionally execute the processor.", + "type": "string" }, - "groups": { - "description": "A list of job groups.\nA job can belong to no groups or many.", + "ignore_failure": { + "description": "Ignore failures for the processor.", + "type": "boolean" + }, + "on_failure": { + "description": "Handle failures for the processor.", "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/ingest._types:ProcessorContainer" } }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "job_type": { - "description": "Reserved for future use, currently set to `anomaly_detector`.", + "tag": { + "description": "Identifier for the processor.\nUseful for debugging and metrics.", "type": "string" + } + } + }, + "ingest._types:AppendProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "job_version": { - "$ref": "#/components/schemas/_types:VersionString" + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "value": { + "description": "The value to be appended. Supports template snippets.", + "type": "array", + "items": { + "type": "object" + } + }, + "allow_duplicates": { + "description": "If `false`, the processor does not append values already present in the field.", + "type": "boolean" + } + }, + "required": [ + "field", + "value" + ] + } + ] + }, + "ingest._types:CsvProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "model_plot_config": { - "$ref": "#/components/schemas/ml._types:ModelPlotConfig" + { + "type": "object", + "properties": { + "empty_value": { + "description": "Value used to fill empty fields.\nEmpty fields are skipped if this is not provided.\nAn empty field is one with no value (2 consecutive separators) or empty quotes (`\"\"`).", + "type": "object" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "quote": { + "description": "Quote used in CSV, has to be single character string.", + "type": "string" + }, + "separator": { + "description": "Separator used in CSV, has to be single character string.", + "type": "string" + }, + "target_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "trim": { + "description": "Trim whitespaces in unquoted fields.", + "type": "boolean" + } + }, + "required": [ + "field", + "target_fields" + ] + } + ] + }, + "ingest._types:ConvertProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "model_snapshot_id": { - "$ref": "#/components/schemas/_types:Id" + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "type": { + "$ref": "#/components/schemas/ingest._types:ConvertType" + } + }, + "required": [ + "field", + "type" + ] + } + ] + }, + "ingest._types:ConvertType": { + "type": "string", + "enum": [ + "integer", + "long", + "float", + "double", + "string", + "boolean", + "auto" + ] + }, + "ingest._types:DateProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "model_snapshot_retention_days": { - "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies the maximum period of time (in days) that snapshots are retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.\nBy default, snapshots ten days older than the newest snapshot are deleted.", - "type": "number" + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "formats": { + "description": "An array of the expected date formats.\nCan be a java time pattern or one of the following formats: ISO8601, UNIX, UNIX_MS, or TAI64N.", + "type": "array", + "items": { + "type": "string" + } + }, + "locale": { + "description": "The locale to use when parsing the date, relevant when parsing month names or week days.\nSupports template snippets.", + "type": "string" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "timezone": { + "description": "The timezone to use when parsing the date.\nSupports template snippets.", + "type": "string" + } + }, + "required": [ + "field", + "formats" + ] + } + ] + }, + "ingest._types:DateIndexNameProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "renormalization_window_days": { - "description": "Advanced configuration option.\nThe period over which adjustments to the score are applied, as new data is seen.\nThe default value is the longer of 30 days or 100 `bucket_spans`.", - "type": "number" + { + "type": "object", + "properties": { + "date_formats": { + "description": "An array of the expected date formats for parsing dates / timestamps in the document being preprocessed.\nCan be a java time pattern or one of the following formats: ISO8601, UNIX, UNIX_MS, or TAI64N.", + "type": "array", + "items": { + "type": "string" + } + }, + "date_rounding": { + "description": "How to round the date when formatting the date into the index name. Valid values are:\n`y` (year), `M` (month), `w` (week), `d` (day), `h` (hour), `m` (minute) and `s` (second).\nSupports template snippets.", + "type": "string" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "index_name_format": { + "description": "The format to be used when printing the parsed date into the index name.\nA valid java time pattern is expected here.\nSupports template snippets.", + "type": "string" + }, + "index_name_prefix": { + "description": "A prefix of the index name to be prepended before the printed date.\nSupports template snippets.", + "type": "string" + }, + "locale": { + "description": "The locale to use when parsing the date from the document being preprocessed, relevant when parsing month names or week days.", + "type": "string" + }, + "timezone": { + "description": "The timezone to use when parsing the date and when date math index supports resolves expressions into concrete index names.", + "type": "string" + } + }, + "required": [ + "date_formats", + "date_rounding", + "field" + ] + } + ] + }, + "ingest._types:DotExpanderProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "results_index_name": { - "$ref": "#/components/schemas/_types:IndexName" + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "path": { + "description": "The field that contains the field to expand.\nOnly required if the field to expand is part another object field, because the `field` option can only understand leaf fields.", + "type": "string" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:EnrichProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "results_retention_days": { - "description": "Advanced configuration option.\nThe period of time (in days) that results are retained.\nAge is calculated relative to the timestamp of the latest bucket result.\nIf this property has a non-null value, once per day at 00:30 (server time), results that are the specified number of days older than the latest bucket result are deleted from Elasticsearch.\nThe default value is null, which means all results are retained.\nAnnotations generated by the system also count as results for retention purposes; they are deleted after the same number of days as results.\nAnnotations added by users are retained forever.", - "type": "number" + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "max_matches": { + "description": "The maximum number of matched documents to include under the configured target field.\nThe `target_field` will be turned into a json array if `max_matches` is higher than 1, otherwise `target_field` will become a json object.\nIn order to avoid documents getting too large, the maximum allowed value is 128.", + "type": "number" + }, + "override": { + "description": "If processor will update fields with pre-existing non-null-valued field.\nWhen set to `false`, such fields will not be touched.", + "type": "boolean" + }, + "policy_name": { + "description": "The name of the enrich policy to use.", + "type": "string" + }, + "shape_relation": { + "$ref": "#/components/schemas/_types:GeoShapeRelation" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field", + "policy_name", + "target_field" + ] } - }, - "required": [ - "allow_lazy_open", - "analysis_config", - "data_description", - "job_id", - "model_snapshot_retention_days", - "results_index_name" ] }, - "ml._types:AnalysisLimits": { - "type": "object", - "properties": { - "categorization_examples_limit": { - "description": "The maximum number of examples stored per category in memory and in the results data store. If you increase this value, more examples are available, however it requires that you have more storage available. If you set this value to 0, no examples are stored. NOTE: The `categorization_examples_limit` applies only to analysis that uses categorization.", - "type": "number" + "_types:GeoShapeRelation": { + "type": "string", + "enum": [ + "intersects", + "disjoint", + "within", + "contains" + ] + }, + "ingest._types:FailProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "model_memory_limit": { - "description": "The approximate maximum amount of memory resources that are required for analytical processing. Once this limit is approached, data pruning becomes more aggressive. Upon exceeding this limit, new entities are not modeled. If the `xpack.ml.max_model_memory_limit` setting has a value greater than 0 and less than 1024mb, that value is used instead of the default. The default value is relatively small to ensure that high resource usage is a conscious decision. If you have jobs that are expected to analyze high cardinality fields, you will likely need to use a higher value. If you specify a number instead of a string, the units are assumed to be MiB. Specifying a string is recommended for clarity. If you specify a byte size unit of `b` or `kb` and the number does not equate to a discrete number of megabytes, it is rounded down to the closest MiB. The minimum valid value is 1 MiB. If you specify a value less than 1 MiB, an error occurs. If you specify a value for the `xpack.ml.max_model_memory_limit` setting, an error occurs when you try to create jobs that have `model_memory_limit` values greater than that setting value.", - "type": "string" + { + "type": "object", + "properties": { + "message": { + "description": "The error message thrown by the processor.\nSupports template snippets.", + "type": "string" + } + }, + "required": [ + "message" + ] } - } + ] }, - "ml._types:JobBlocked": { - "type": "object", - "properties": { - "reason": { - "$ref": "#/components/schemas/ml._types:JobBlockedReason" + "ingest._types:ForeachProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "task_id": { - "$ref": "#/components/schemas/_types:TaskId" + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true`, the processor silently exits without changing the document if the `field` is `null` or missing.", + "type": "boolean" + }, + "processor": { + "$ref": "#/components/schemas/ingest._types:ProcessorContainer" + } + }, + "required": [ + "field", + "processor" + ] + } + ] + }, + "ingest._types:JsonProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "add_to_root": { + "description": "Flag that forces the parsed JSON to be added at the top level of the document.\n`target_field` must not be set when this option is chosen.", + "type": "boolean" + }, + "add_to_root_conflict_strategy": { + "$ref": "#/components/schemas/ingest._types:JsonProcessorConflictStrategy" + }, + "allow_duplicate_keys": { + "description": "When set to `true`, the JSON parser will not fail if the JSON contains duplicate keys.\nInstead, the last encountered value for any duplicate key wins.", + "type": "boolean" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:JsonProcessorConflictStrategy": { + "type": "string", + "enum": [ + "replace", + "merge" + ] + }, + "ingest._types:UserAgentProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "options": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest._types:UserAgentProperty" + } + }, + "regex_file": { + "description": "The name of the file in the `config/ingest-user-agent` directory containing the regular expressions for parsing the user agent string. Both the directory and the file have to be created before starting Elasticsearch. If not specified, ingest-user-agent will use the `regexes.yaml` from uap-core it ships with.", + "type": "string" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] } - }, - "required": [ - "reason" ] }, - "ml._types:JobBlockedReason": { + "ingest._types:UserAgentProperty": { "type": "string", "enum": [ - "delete", - "reset", - "revert" + "NAME", + "MAJOR", + "MINOR", + "PATCH", + "OS", + "OS_NAME", + "OS_MAJOR", + "OS_MINOR", + "DEVICE", + "BUILD" ] }, - "ml._types:CustomSettings": { - "description": "Custom metadata about the job", - "type": "object" - }, - "ml._types:DataDescription": { - "type": "object", - "properties": { - "format": { - "description": "Only JSON format is supported at this time.", - "type": "string" - }, - "time_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "time_format": { - "description": "The time format, which can be `epoch`, `epoch_ms`, or a custom pattern. The value `epoch` refers to UNIX or Epoch time (the number of seconds since 1 Jan 1970). The value `epoch_ms` indicates that time is measured in milliseconds since the epoch. The `epoch` and `epoch_ms` time formats accept either integer or real values. Custom patterns must conform to the Java DateTimeFormatter class. When you use date-time formatting patterns, it is recommended that you provide the full date, time and time zone. For example: `yyyy-MM-dd'T'HH:mm:ssX`. If the pattern that you specify is not sufficient to produce a complete timestamp, job creation fails.", - "type": "string" + "ingest._types:KeyValueProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "field_delimiter": { - "type": "string" + { + "type": "object", + "properties": { + "exclude_keys": { + "description": "List of keys to exclude from document.", + "type": "array", + "items": { + "type": "string" + } + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "field_split": { + "description": "Regex pattern to use for splitting key-value pairs.", + "type": "string" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "include_keys": { + "description": "List of keys to filter and insert into document.\nDefaults to including all keys.", + "type": "array", + "items": { + "type": "string" + } + }, + "prefix": { + "description": "Prefix to be added to extracted keys.", + "type": "string" + }, + "strip_brackets": { + "description": "If `true`. strip brackets `()`, `<>`, `[]` as well as quotes `'` and `\"` from extracted values.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "trim_key": { + "description": "String of characters to trim from extracted keys.", + "type": "string" + }, + "trim_value": { + "description": "String of characters to trim from extracted values.", + "type": "string" + }, + "value_split": { + "description": "Regex pattern to use for splitting the key from the value within a key-value pair.", + "type": "string" + } + }, + "required": [ + "field", + "field_split", + "value_split" + ] } - } + ] }, - "ml._types:ModelPlotConfig": { - "type": "object", - "properties": { - "annotations_enabled": { - "description": "If true, enables calculation and storage of the model change annotations for each entity that is being analyzed.", - "type": "boolean" - }, - "enabled": { - "description": "If true, enables calculation and storage of the model bounds for each entity that is being analyzed.", - "type": "boolean" + "ingest._types:GeoIpProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "terms": { - "$ref": "#/components/schemas/_types:Field" + { + "type": "object", + "properties": { + "database_file": { + "description": "The database filename referring to a database the module ships with (GeoLite2-City.mmdb, GeoLite2-Country.mmdb, or GeoLite2-ASN.mmdb) or a custom database in the ingest-geoip config directory.", + "type": "string" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "first_only": { + "description": "If `true`, only the first found geoip data will be returned, even if the field contains an array.", + "type": "boolean" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "properties": { + "description": "Controls what properties are added to the `target_field` based on the geoip lookup.", + "type": "array", + "items": { + "type": "string" + } + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] } - } + ] }, - "ml.get_memory_stats:Memory": { - "type": "object", - "properties": { - "attributes": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "jvm": { - "$ref": "#/components/schemas/ml.get_memory_stats:JvmStats" - }, - "mem": { - "$ref": "#/components/schemas/ml.get_memory_stats:MemStats" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "roles": { - "description": "Roles assigned to the node.", - "type": "array", - "items": { - "type": "string" - } - }, - "transport_address": { - "$ref": "#/components/schemas/_types:TransportAddress" + "ingest._types:GrokProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "ephemeral_id": { - "$ref": "#/components/schemas/_types:Id" + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "pattern_definitions": { + "description": "A map of pattern-name and pattern tuples defining custom patterns to be used by the current processor.\nPatterns matching existing names will override the pre-existing definition.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "patterns": { + "description": "An ordered list of grok expression to match and extract named captures with.\nReturns on the first expression in the list that matches.", + "type": "array", + "items": { + "type": "string" + } + }, + "trace_match": { + "description": "When `true`, `_ingest._grok_match_index` will be inserted into your matched document’s metadata with the index into the pattern found in `patterns` that matched.", + "type": "boolean" + } + }, + "required": [ + "field", + "patterns" + ] } - }, - "required": [ - "attributes", - "jvm", - "mem", - "name", - "roles", - "transport_address", - "ephemeral_id" ] }, - "ml.get_memory_stats:JvmStats": { - "type": "object", - "properties": { - "heap_max": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "heap_max_in_bytes": { - "description": "Maximum amount of memory, in bytes, available for use by the heap.", - "type": "number" - }, - "java_inference": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "java_inference_in_bytes": { - "description": "Amount of Java heap, in bytes, currently being used for caching inference models.", - "type": "number" - }, - "java_inference_max": { - "$ref": "#/components/schemas/_types:ByteSize" + "ingest._types:GsubProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "java_inference_max_in_bytes": { - "description": "Maximum amount of Java heap, in bytes, to be used for caching inference models.", - "type": "number" + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "pattern": { + "description": "The pattern to be replaced.", + "type": "string" + }, + "replacement": { + "description": "The string to replace the matching patterns with.", + "type": "string" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field", + "pattern", + "replacement" + ] } - }, - "required": [ - "heap_max_in_bytes", - "java_inference_in_bytes", - "java_inference_max_in_bytes" ] }, - "ml.get_memory_stats:MemStats": { - "type": "object", - "properties": { - "adjusted_total": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "adjusted_total_in_bytes": { - "description": "If the amount of physical memory has been overridden using the `es.total_memory_bytes` system property\nthen this reports the overridden value in bytes. Otherwise it reports the same value as `total_in_bytes`.", - "type": "number" - }, - "total": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "total_in_bytes": { - "description": "Total amount of physical memory in bytes.", - "type": "number" + "ingest._types:JoinProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "ml": { - "$ref": "#/components/schemas/ml.get_memory_stats:MemMlStats" + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "separator": { + "description": "The separator character.", + "type": "string" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field", + "separator" + ] } - }, - "required": [ - "adjusted_total_in_bytes", - "total_in_bytes", - "ml" ] }, - "ml.get_memory_stats:MemMlStats": { - "type": "object", - "properties": { - "anomaly_detectors": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "anomaly_detectors_in_bytes": { - "description": "Amount of native memory, in bytes, set aside for anomaly detection jobs.", - "type": "number" - }, - "data_frame_analytics": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "data_frame_analytics_in_bytes": { - "description": "Amount of native memory, in bytes, set aside for data frame analytics jobs.", - "type": "number" - }, - "max": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "max_in_bytes": { - "description": "Maximum amount of native memory (separate to the JVM heap), in bytes, that may be used by machine learning native processes.", - "type": "number" - }, - "native_code_overhead": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "native_code_overhead_in_bytes": { - "description": "Amount of native memory, in bytes, set aside for loading machine learning native code shared libraries.", - "type": "number" - }, - "native_inference": { - "$ref": "#/components/schemas/_types:ByteSize" + "ingest._types:LowercaseProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "native_inference_in_bytes": { - "description": "Amount of native memory, in bytes, set aside for trained models that have a PyTorch model_type.", - "type": "number" + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] } - }, - "required": [ - "anomaly_detectors_in_bytes", - "data_frame_analytics_in_bytes", - "max_in_bytes", - "native_code_overhead_in_bytes", - "native_inference_in_bytes" ] }, - "ml._types:ModelSnapshotUpgrade": { - "type": "object", - "properties": { - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "snapshot_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "state": { - "$ref": "#/components/schemas/ml._types:SnapshotUpgradeState" + "ingest._types:RemoveProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "assignment_explanation": { - "type": "string" + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Fields" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + } + }, + "required": [ + "field" + ] } - }, - "required": [ - "job_id", - "snapshot_id", - "state", - "assignment_explanation" ] }, - "ml._types:SnapshotUpgradeState": { - "type": "string", - "enum": [ - "loading_old_state", - "saving_new_state", - "stopped", - "failed" + "ingest._types:RenameProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field", + "target_field" + ] + } ] }, - "ml._types:ModelSnapshot": { - "type": "object", - "properties": { - "description": { - "description": "An optional description of the job.", - "type": "string" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "latest_record_time_stamp": { - "description": "The timestamp of the latest processed record.", - "type": "number" - }, - "latest_result_time_stamp": { - "description": "The timestamp of the latest bucket result.", - "type": "number" - }, - "min_version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "model_size_stats": { - "$ref": "#/components/schemas/ml._types:ModelSizeStats" - }, - "retain": { - "description": "If true, this snapshot will not be deleted during automatic cleanup of snapshots older than model_snapshot_retention_days. However, this snapshot will be deleted when the job is deleted. The default value is false.", - "type": "boolean" + "ingest._types:SetProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "snapshot_doc_count": { - "description": "For internal use only.", - "type": "number" + { + "type": "object", + "properties": { + "copy_from": { + "$ref": "#/components/schemas/_types:Field" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_empty_value": { + "description": "If `true` and `value` is a template snippet that evaluates to `null` or the empty string, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "media_type": { + "description": "The media type for encoding `value`.\nApplies only when value is a template snippet.\nMust be one of `application/json`, `text/plain`, or `application/x-www-form-urlencoded`.", + "type": "string" + }, + "override": { + "description": "If `true` processor will update fields with pre-existing non-null-valued field.\nWhen set to `false`, such fields will not be touched.", + "type": "boolean" + }, + "value": { + "description": "The value to be set for the field.\nSupports template snippets.\nMay specify only one of `value` or `copy_from`.", + "type": "object" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:SortProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "snapshot_id": { - "$ref": "#/components/schemas/_types:Id" + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "order": { + "$ref": "#/components/schemas/_types:SortOrder" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] + } + ] + }, + "ingest._types:SplitProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "timestamp": { - "description": "The creation timestamp for the snapshot.", - "type": "number" + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "preserve_trailing": { + "description": "Preserves empty trailing fields, if any.", + "type": "boolean" + }, + "separator": { + "description": "A regex which matches the separator, for example, `,` or `\\s+`.", + "type": "string" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field", + "separator" + ] } - }, - "required": [ - "job_id", - "min_version", - "retain", - "snapshot_doc_count", - "snapshot_id", - "timestamp" ] }, - "ml._types:OverallBucket": { - "type": "object", - "properties": { - "bucket_span": { - "$ref": "#/components/schemas/_types:DurationValueUnitSeconds" - }, - "is_interim": { - "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", - "type": "boolean" - }, - "jobs": { - "description": "An array of objects that contain the max_anomaly_score per job_id.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:OverallBucketJob" - } - }, - "overall_score": { - "description": "The top_n average of the maximum bucket anomaly_score per job.", - "type": "number" - }, - "result_type": { - "description": "Internal. This is always set to overall_bucket.", - "type": "string" - }, - "timestamp": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + "ingest._types:TrimProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "timestamp_string": { - "$ref": "#/components/schemas/_types:DateTime" + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] } - }, - "required": [ - "bucket_span", - "is_interim", - "jobs", - "overall_score", - "result_type", - "timestamp", - "timestamp_string" ] }, - "ml._types:OverallBucketJob": { - "type": "object", - "properties": { - "job_id": { - "$ref": "#/components/schemas/_types:Id" + "ingest._types:UppercaseProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "max_anomaly_score": { - "type": "number" + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] } - }, - "required": [ - "job_id", - "max_anomaly_score" ] }, - "ml._types:Anomaly": { - "type": "object", - "properties": { - "actual": { - "description": "The actual value for the bucket.", - "type": "array", - "items": { - "type": "number" - } - }, - "anomaly_score_explanation": { - "$ref": "#/components/schemas/ml._types:AnomalyExplanation" - }, - "bucket_span": { - "$ref": "#/components/schemas/_types:DurationValueUnitSeconds" - }, - "by_field_name": { - "description": "The field used to split the data. In particular, this property is used for analyzing the splits with respect to their own history. It is used for finding unusual values in the context of the split.", - "type": "string" - }, - "by_field_value": { - "description": "The value of `by_field_name`.", - "type": "string" - }, - "causes": { - "description": "For population analysis, an over field must be specified in the detector. This property contains an array of anomaly records that are the causes for the anomaly that has been identified for the over field. This sub-resource contains the most anomalous records for the `over_field_name`. For scalability reasons, a maximum of the 10 most significant causes of the anomaly are returned. As part of the core analytical modeling, these low-level anomaly records are aggregated for their parent over field record. The `causes` resource contains similar elements to the record resource, namely `actual`, `typical`, `geo_results.actual_point`, `geo_results.typical_point`, `*_field_name` and `*_field_value`. Probability and scores are not applicable to causes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:AnomalyCause" - } - }, - "detector_index": { - "description": "A unique identifier for the detector.", - "type": "number" - }, - "field_name": { - "description": "Certain functions require a field to operate on, for example, `sum()`. For those functions, this value is the name of the field to be analyzed.", - "type": "string" - }, - "function": { - "description": "The function in which the anomaly occurs, as specified in the detector configuration. For example, `max`.", - "type": "string" - }, - "function_description": { - "description": "The description of the function in which the anomaly occurs, as specified in the detector configuration.", - "type": "string" - }, - "geo_results": { - "$ref": "#/components/schemas/ml._types:GeoResults" - }, - "influencers": { - "description": "If influencers were specified in the detector configuration, this array contains influencers that contributed to or were to blame for an anomaly.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:Influence" - } - }, - "initial_record_score": { - "description": "A normalized score between 0-100, which is based on the probability of the anomalousness of this record. This is the initial value that was calculated at the time the bucket was processed.", - "type": "number" - }, - "is_interim": { - "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", - "type": "boolean" - }, - "job_id": { - "description": "Identifier for the anomaly detection job.", - "type": "string" - }, - "over_field_name": { - "description": "The field used to split the data. In particular, this property is used for analyzing the splits with respect to the history of all splits. It is used for finding unusual values in the population of all splits.", - "type": "string" - }, - "over_field_value": { - "description": "The value of `over_field_name`.", - "type": "string" - }, - "partition_field_name": { - "description": "The field used to segment the analysis. When you use this property, you have completely independent baselines for each value of this field.", - "type": "string" - }, - "partition_field_value": { - "description": "The value of `partition_field_name`.", - "type": "string" - }, - "probability": { - "description": "The probability of the individual anomaly occurring, in the range 0 to 1. For example, `0.0000772031`. This value can be held to a high precision of over 300 decimal places, so the `record_score` is provided as a human-readable and friendly interpretation of this.", - "type": "number" - }, - "record_score": { - "description": "A normalized score between 0-100, which is based on the probability of the anomalousness of this record. Unlike `initial_record_score`, this value will be updated by a re-normalization process as new data is analyzed.", - "type": "number" - }, - "result_type": { - "description": "Internal. This is always set to `record`.", - "type": "string" - }, - "timestamp": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + "ingest._types:UrlDecodeProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "typical": { - "description": "The typical value for the bucket, according to analytical modeling.", - "type": "array", - "items": { - "type": "number" - } + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] } - }, - "required": [ - "bucket_span", - "detector_index", - "initial_record_score", - "is_interim", - "job_id", - "probability", - "record_score", - "result_type", - "timestamp" ] }, - "ml._types:AnomalyExplanation": { - "type": "object", - "properties": { - "anomaly_characteristics_impact": { - "description": "Impact from the duration and magnitude of the detected anomaly relative to the historical average.", - "type": "number" - }, - "anomaly_length": { - "description": "Length of the detected anomaly in the number of buckets.", - "type": "number" - }, - "anomaly_type": { - "description": "Type of the detected anomaly: `spike` or `dip`.", - "type": "string" - }, - "high_variance_penalty": { - "description": "Indicates reduction of anomaly score for the bucket with large confidence intervals. If a bucket has large confidence intervals, the score is reduced.", - "type": "boolean" - }, - "incomplete_bucket_penalty": { - "description": "If the bucket contains fewer samples than expected, the score is reduced.", - "type": "boolean" - }, - "lower_confidence_bound": { - "description": "Lower bound of the 95% confidence interval.", - "type": "number" - }, - "multi_bucket_impact": { - "description": "Impact of the deviation between actual and typical values in the past 12 buckets.", - "type": "number" - }, - "single_bucket_impact": { - "description": "Impact of the deviation between actual and typical values in the current bucket.", - "type": "number" - }, - "typical_value": { - "description": "Typical (expected) value for this bucket.", - "type": "number" + "ingest._types:BytesProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "upper_confidence_bound": { - "description": "Upper bound of the 95% confidence interval.", - "type": "number" + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "field" + ] } - } + ] }, - "ml._types:AnomalyCause": { - "type": "object", - "properties": { - "actual": { - "type": "array", - "items": { - "type": "number" - } - }, - "by_field_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "by_field_value": { - "type": "string" - }, - "correlated_by_field_value": { - "type": "string" - }, - "field_name": { - "$ref": "#/components/schemas/_types:Field" - }, - "function": { - "type": "string" - }, - "function_description": { - "type": "string" - }, - "influencers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:Influence" - } - }, - "over_field_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "over_field_value": { - "type": "string" - }, - "partition_field_name": { - "type": "string" - }, - "partition_field_value": { - "type": "string" - }, - "probability": { - "type": "number" + "ingest._types:DissectProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "typical": { - "type": "array", - "items": { - "type": "number" - } + { + "type": "object", + "properties": { + "append_separator": { + "description": "The character(s) that separate the appended fields.", + "type": "string" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "pattern": { + "description": "The pattern to apply to the field.", + "type": "string" + } + }, + "required": [ + "field", + "pattern" + ] } - }, - "required": [ - "actual", - "by_field_name", - "by_field_value", - "correlated_by_field_value", - "field_name", - "function", - "function_description", - "influencers", - "over_field_name", - "over_field_value", - "partition_field_name", - "partition_field_value", - "probability", - "typical" ] }, - "ml._types:Influence": { - "type": "object", - "properties": { - "influencer_field_name": { - "type": "string" + "ingest._types:SetSecurityUserProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "influencer_field_values": { - "type": "array", - "items": { - "type": "string" - } + { + "type": "object", + "properties": { + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "properties": { + "description": "Controls what user related properties are added to the field.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "field" + ] } - }, - "required": [ - "influencer_field_name", - "influencer_field_values" ] }, - "ml._types:GeoResults": { - "type": "object", - "properties": { - "actual_point": { - "description": "The actual value for the bucket formatted as a `geo_point`.", - "type": "string" + "ingest._types:PipelineProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "typical_point": { - "description": "The typical value for the bucket formatted as a `geo_point`.", - "type": "string" + { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "ignore_missing_pipeline": { + "description": "Whether to ignore missing pipelines instead of failing.", + "type": "boolean" + } + }, + "required": [ + "name" + ] } - }, - "required": [ - "actual_point", - "typical_point" ] }, - "ml._types:Include": { - "type": "string", - "enum": [ - "definition", - "feature_importance_baseline", - "hyperparameters", - "total_feature_importance", - "definition_status" + "ingest._types:DropProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object" + } ] }, - "ml._types:TrainedModelConfig": { - "type": "object", - "properties": { - "model_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "model_type": { - "$ref": "#/components/schemas/ml._types:TrainedModelType" - }, - "tags": { - "description": "A comma delimited string of tags. A trained model can have many tags, or none.", - "type": "array", - "items": { - "type": "string" - } - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "compressed_definition": { - "type": "string" - }, - "created_by": { - "description": "Information on the creator of the trained model.", - "type": "string" - }, - "create_time": { - "$ref": "#/components/schemas/_types:DateTime" + "ingest._types:CircleProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" }, - "default_field_map": { - "description": "Any field map described in the inference configuration takes precedence.", + { "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "description": { - "description": "The free-text description of the trained model.", - "type": "string" - }, - "estimated_heap_memory_usage_bytes": { - "description": "The estimated heap usage in bytes to keep the trained model in memory.", - "type": "number" - }, - "estimated_operations": { - "description": "The estimated number of operations to use the trained model.", - "type": "number" - }, - "fully_defined": { - "description": "True if the full model definition is present.", - "type": "boolean" - }, - "inference_config": { - "$ref": "#/components/schemas/ml._types:InferenceConfigCreateContainer" - }, - "input": { - "$ref": "#/components/schemas/ml._types:TrainedModelConfigInput" - }, - "license_level": { - "description": "The license level of the trained model.", - "type": "string" - }, - "metadata": { - "$ref": "#/components/schemas/ml._types:TrainedModelConfigMetadata" - }, - "model_size_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "location": { - "$ref": "#/components/schemas/ml._types:TrainedModelLocation" + "properties": { + "error_distance": { + "description": "The difference between the resulting inscribed distance from center to side and the circle’s radius (measured in meters for `geo_shape`, unit-less for `shape`).", + "type": "number" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" + }, + "ignore_missing": { + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "type": "boolean" + }, + "shape_type": { + "$ref": "#/components/schemas/ingest._types:ShapeType" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "error_distance", + "field", + "shape_type" + ] } - }, - "required": [ - "model_id", - "tags", - "input" ] }, - "ml._types:TrainedModelType": { + "ingest._types:ShapeType": { "type": "string", "enum": [ - "tree_ensemble", - "lang_ident", - "pytorch" + "geo_shape", + "shape" + ] + }, + "ingest._types:InferenceProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "model_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "target_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "field_map": { + "description": "Maps the document field names to the known field names of the model.\nThis mapping takes precedence over any default mappings provided in the model configuration.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "inference_config": { + "$ref": "#/components/schemas/ingest._types:InferenceConfig" + } + }, + "required": [ + "model_id" + ] + } ] }, - "ml._types:InferenceConfigCreateContainer": { - "description": "Inference configuration provided when storing the model config", + "ingest._types:InferenceConfig": { "type": "object", "properties": { "regression": { - "$ref": "#/components/schemas/ml._types:RegressionInferenceOptions" + "$ref": "#/components/schemas/ingest._types:InferenceConfigRegression" }, "classification": { - "$ref": "#/components/schemas/ml._types:ClassificationInferenceOptions" - }, - "text_classification": { - "$ref": "#/components/schemas/ml._types:TextClassificationInferenceOptions" - }, - "zero_shot_classification": { - "$ref": "#/components/schemas/ml._types:ZeroShotClassificationInferenceOptions" - }, - "fill_mask": { - "$ref": "#/components/schemas/ml._types:FillMaskInferenceOptions" - }, - "ner": { - "$ref": "#/components/schemas/ml._types:NerInferenceOptions" - }, - "pass_through": { - "$ref": "#/components/schemas/ml._types:PassThroughInferenceOptions" - }, - "text_embedding": { - "$ref": "#/components/schemas/ml._types:TextEmbeddingInferenceOptions" - }, - "text_expansion": { - "$ref": "#/components/schemas/ml._types:TextExpansionInferenceOptions" - }, - "question_answering": { - "$ref": "#/components/schemas/ml._types:QuestionAnsweringInferenceOptions" + "$ref": "#/components/schemas/ingest._types:InferenceConfigClassification" } }, "minProperties": 1, "maxProperties": 1 }, - "ml._types:TextClassificationInferenceOptions": { + "ingest._types:InferenceConfigRegression": { "type": "object", "properties": { - "num_top_classes": { - "description": "Specifies the number of top class predictions to return. Defaults to 0.", - "type": "number" - }, - "tokenization": { - "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" - }, "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" + "$ref": "#/components/schemas/_types:Field" }, - "classification_labels": { - "description": "Classification labels to apply other than the stored labels. Must have the same deminsions as the default configured labels", - "type": "array", - "items": { - "type": "string" - } + "num_top_feature_importance_values": { + "description": "Specifies the maximum number of feature importance values per document.", + "type": "number" } } }, - "ml._types:TokenizationConfigContainer": { - "description": "Tokenization options stored in inference configuration", - "type": "object", - "properties": { - "bert": { - "$ref": "#/components/schemas/ml._types:NlpBertTokenizationConfig" - }, - "mpnet": { - "$ref": "#/components/schemas/ml._types:NlpBertTokenizationConfig" - }, - "roberta": { - "$ref": "#/components/schemas/ml._types:NlpRobertaTokenizationConfig" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "ml._types:NlpBertTokenizationConfig": { + "ingest._types:InferenceConfigClassification": { "type": "object", "properties": { - "do_lower_case": { - "description": "Should the tokenizer lower case the text", - "type": "boolean" - }, - "with_special_tokens": { - "description": "Is tokenization completed with special tokens", - "type": "boolean" - }, - "max_sequence_length": { - "description": "Maximum input sequence length for the model", + "num_top_classes": { + "description": "Specifies the number of top class predictions to return.", "type": "number" }, - "truncate": { - "$ref": "#/components/schemas/ml._types:TokenizationTruncate" - }, - "span": { - "description": "Tokenization spanning options. Special value of -1 indicates no spanning takes place", + "num_top_feature_importance_values": { + "description": "Specifies the maximum number of feature importance values per document.", "type": "number" - } - } - }, - "ml._types:TokenizationTruncate": { - "type": "string", - "enum": [ - "first", - "second", - "none" - ] - }, - "ml._types:NlpRobertaTokenizationConfig": { - "type": "object", - "properties": { - "add_prefix_space": { - "description": "Should the tokenizer prefix input with a space character", - "type": "boolean" - }, - "with_special_tokens": { - "description": "Is tokenization completed with special tokens", - "type": "boolean" }, - "max_sequence_length": { - "description": "Maximum input sequence length for the model", - "type": "number" + "results_field": { + "$ref": "#/components/schemas/_types:Field" }, - "truncate": { - "$ref": "#/components/schemas/ml._types:TokenizationTruncate" + "top_classes_results_field": { + "$ref": "#/components/schemas/_types:Field" }, - "span": { - "description": "Tokenization spanning options. Special value of -1 indicates no spanning takes place", - "type": "number" + "prediction_field_type": { + "description": "Specifies the type of the predicted field to write.\nValid values are: `string`, `number`, `boolean`.", + "type": "string" } } }, - "ml._types:ZeroShotClassificationInferenceOptions": { + "ingest.simulate:Document": { "type": "object", "properties": { - "tokenization": { - "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" - }, - "hypothesis_template": { - "description": "Hypothesis template used when tokenizing labels for prediction", - "type": "string" - }, - "classification_labels": { - "description": "The zero shot classification labels indicating entailment, neutral, and contradiction\nMust contain exactly and only entailment, neutral, and contradiction", - "type": "array", - "items": { - "type": "string" - } - }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" + "_id": { + "$ref": "#/components/schemas/_types:Id" }, - "multi_label": { - "description": "Indicates if more than one true label exists.", - "type": "boolean" + "_index": { + "$ref": "#/components/schemas/_types:IndexName" }, - "labels": { - "description": "The labels to predict.", - "type": "array", - "items": { - "type": "string" - } + "_source": { + "description": "JSON body for the document.", + "type": "object" } }, "required": [ - "classification_labels" + "_source" ] }, - "ml._types:FillMaskInferenceOptions": { + "ingest.simulate:PipelineSimulation": { "type": "object", "properties": { - "mask_token": { - "description": "The string/token which will be removed from incoming documents and replaced with the inference prediction(s).\nIn a response, this field contains the mask token for the specified model/tokenizer. Each model and tokenizer\nhas a predefined mask token which cannot be changed. Thus, it is recommended not to set this value in requests.\nHowever, if this field is present in a request, its value must match the predefined value for that model/tokenizer,\notherwise the request will fail.", - "type": "string" + "doc": { + "$ref": "#/components/schemas/ingest.simulate:DocumentSimulation" }, - "num_top_classes": { - "description": "Specifies the number of top class predictions to return. Defaults to 0.", - "type": "number" + "processor_results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ingest.simulate:PipelineSimulation" + } }, - "tokenization": { - "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + "tag": { + "type": "string" }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "processor_type": { "type": "string" + }, + "status": { + "$ref": "#/components/schemas/watcher._types:ActionStatusOptions" } } }, - "ml._types:NerInferenceOptions": { + "ingest.simulate:DocumentSimulation": { "type": "object", "properties": { - "tokenization": { - "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + "_id": { + "$ref": "#/components/schemas/_types:Id" }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "_ingest": { + "$ref": "#/components/schemas/ingest.simulate:Ingest" + }, + "_routing": { + "description": "Value used to send the document to a specific primary shard.", "type": "string" }, - "classification_labels": { - "description": "The token classification labels. Must be IOB formatted tags", - "type": "array", - "items": { - "type": "string" + "_source": { + "description": "JSON body for the document.", + "type": "object", + "additionalProperties": { + "type": "object" } }, - "vocabulary": { - "$ref": "#/components/schemas/ml._types:Vocabulary" + "_version": { + "$ref": "#/components/schemas/_spec_utils:StringifiedVersionNumber" + }, + "_version_type": { + "$ref": "#/components/schemas/_types:VersionType" } - } + }, + "required": [ + "_id", + "_index", + "_ingest", + "_source" + ] }, - "ml._types:Vocabulary": { + "ingest.simulate:Ingest": { "type": "object", "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" + "timestamp": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "pipeline": { + "$ref": "#/components/schemas/_types:Name" } }, "required": [ - "index" + "timestamp" ] }, - "ml._types:PassThroughInferenceOptions": { - "type": "object", - "properties": { - "tokenization": { - "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + "_spec_utils:StringifiedVersionNumber": { + "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:VersionNumber" }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + { "type": "string" - }, - "vocabulary": { - "$ref": "#/components/schemas/ml._types:Vocabulary" } - } + ] }, - "ml._types:TextEmbeddingInferenceOptions": { + "watcher._types:ActionStatusOptions": { + "type": "string", + "enum": [ + "success", + "failure", + "simulated", + "throttled" + ] + }, + "logstash._types:Pipeline": { "type": "object", "properties": { - "embedding_size": { - "description": "The number of dimensions in the embedding output", - "type": "number" + "description": { + "description": "Description of the pipeline.\nThis description is not used by Elasticsearch or Logstash.", + "type": "string" }, - "tokenization": { - "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + "last_modified": { + "$ref": "#/components/schemas/_types:DateTime" }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" - } - } - }, - "ml._types:TextExpansionInferenceOptions": { - "type": "object", - "properties": { - "tokenization": { - "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + "pipeline_metadata": { + "$ref": "#/components/schemas/logstash._types:PipelineMetadata" }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "username": { + "description": "User who last updated the pipeline.", "type": "string" - } - } - }, - "ml._types:QuestionAnsweringInferenceOptions": { - "type": "object", - "properties": { - "num_top_classes": { - "description": "Specifies the number of top class predictions to return. Defaults to 0.", - "type": "number" - }, - "tokenization": { - "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "pipeline": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/logstash/current/configuration-file-structure.html" + }, + "description": "Configuration for the pipeline.", "type": "string" }, - "max_answer_length": { - "description": "The maximum answer length to consider", - "type": "number" - } - } - }, - "ml._types:TrainedModelConfigInput": { - "type": "object", - "properties": { - "field_names": { - "description": "An array of input field names for the model.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Field" - } + "pipeline_settings": { + "$ref": "#/components/schemas/logstash._types:PipelineSettings" } }, "required": [ - "field_names" + "description", + "last_modified", + "pipeline_metadata", + "username", + "pipeline", + "pipeline_settings" ] }, - "ml._types:TrainedModelConfigMetadata": { + "logstash._types:PipelineMetadata": { "type": "object", "properties": { - "model_aliases": { - "type": "array", - "items": { - "type": "string" - } - }, - "feature_importance_baseline": { - "description": "An object that contains the baseline for feature importance values. For regression analysis, it is a single value. For classification analysis, there is a value for each class.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "hyperparameters": { - "description": "List of the available hyperparameters optimized during the fine_parameter_tuning phase as well as specified by the user.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:Hyperparameter" - } + "type": { + "type": "string" }, - "total_feature_importance": { - "description": "An array of the total feature importance for each feature used from the training data set. This array of objects is returned if data frame analytics trained the model and the request includes total_feature_importance in the include request parameter.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:TotalFeatureImportance" - } + "version": { + "type": "string" } - } + }, + "required": [ + "type", + "version" + ] }, - "ml._types:Hyperparameter": { + "logstash._types:PipelineSettings": { "type": "object", "properties": { - "absolute_importance": { + "pipeline.workers": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/machine-learning/current/dfa-regression-lossfunction.html" + "url": "https://www.elastic.co/guide/en/logstash/current/logstash-settings-file.html" }, - "description": "A positive number showing how much the parameter influences the variation of the loss function. For hyperparameters with values that are not specified by the user but tuned during hyperparameter optimization.", + "description": "The number of workers that will, in parallel, execute the filter and output stages of the pipeline.", "type": "number" }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "relative_importance": { - "description": "A number between 0 and 1 showing the proportion of influence on the variation of the loss function among all tuned hyperparameters. For hyperparameters with values that are not specified by the user but tuned during hyperparameter optimization.", + "pipeline.batch.size": { + "description": "The maximum number of events an individual worker thread will collect from inputs before attempting to execute its filters and outputs.", "type": "number" }, - "supplied": { - "description": "Indicates if the hyperparameter is specified by the user (true) or optimized (false).", - "type": "boolean" - }, - "value": { - "description": "The value of the hyperparameter, either optimized or specified by the user.", + "pipeline.batch.delay": { + "description": "When creating pipeline event batches, how long in milliseconds to wait for each event before dispatching an undersized batch to pipeline workers.", "type": "number" - } - }, - "required": [ - "name", - "supplied", - "value" - ] - }, - "ml._types:TotalFeatureImportance": { - "type": "object", - "properties": { - "feature_name": { - "$ref": "#/components/schemas/_types:Name" }, - "importance": { - "description": "A collection of feature importance statistics related to the training data set for this particular feature.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:TotalFeatureImportanceStatistics" - } + "queue.type": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/logstash/current/logstash-settings-file.html" + }, + "description": "The internal queuing model to use for event buffering.", + "type": "string" }, - "classes": { - "description": "If the trained model is a classification model, feature importance statistics are gathered per target class value.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:TotalFeatureImportanceClass" - } - } - }, - "required": [ - "feature_name", - "importance", - "classes" - ] - }, - "ml._types:TotalFeatureImportanceStatistics": { - "type": "object", - "properties": { - "mean_magnitude": { - "description": "The average magnitude of this feature across all the training data. This value is the average of the absolute values of the importance for this feature.", + "queue.max_bytes.number": { + "description": "The total capacity of the queue (`queue.type: persisted`) in number of bytes.", "type": "number" }, - "max": { - "description": "The maximum importance value across all the training data for this feature.", - "type": "number" + "queue.max_bytes.units": { + "description": "The total capacity of the queue (`queue.type: persisted`) in terms of units of bytes.", + "type": "string" }, - "min": { - "description": "The minimum importance value across all the training data for this feature.", + "queue.checkpoint.writes": { + "description": "The maximum number of written events before forcing a checkpoint when persistent queues are enabled (`queue.type: persisted`).", "type": "number" } }, "required": [ - "mean_magnitude", - "max", - "min" + "pipeline.workers", + "pipeline.batch.size", + "pipeline.batch.delay", + "queue.type", + "queue.max_bytes.number", + "queue.max_bytes.units", + "queue.checkpoint.writes" ] }, - "ml._types:TotalFeatureImportanceClass": { + "_global.mget:Operation": { "type": "object", "properties": { - "class_name": { - "$ref": "#/components/schemas/_types:Name" + "_id": { + "$ref": "#/components/schemas/_types:Id" }, - "importance": { - "description": "A collection of feature importance statistics related to the training data set for this particular feature.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:TotalFeatureImportanceStatistics" - } - } - }, - "required": [ - "class_name", - "importance" - ] - }, - "ml._types:TrainedModelLocation": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/ml._types:TrainedModelLocationIndex" + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "stored_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "version_type": { + "$ref": "#/components/schemas/_types:VersionType" } }, "required": [ - "index" + "_id" ] }, - "ml._types:TrainedModelLocationIndex": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:IndexName" + "_global.mget:ResponseItem": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.get:GetResult" + }, + { + "$ref": "#/components/schemas/_global.mget:MultiGetError" } - }, - "required": [ - "name" ] }, - "ml._types:TrainedModelStats": { + "_global.mget:MultiGetError": { "type": "object", "properties": { - "deployment_stats": { - "$ref": "#/components/schemas/ml._types:TrainedModelDeploymentStats" - }, - "inference_stats": { - "$ref": "#/components/schemas/ml._types:TrainedModelInferenceStats" - }, - "ingest": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" - }, - "description": "A collection of ingest stats for the model across all nodes.\nThe values are summations of the individual node statistics.\nThe format matches the ingest section in the nodes stats API.", - "type": "object", - "additionalProperties": { - "type": "object" - } + "error": { + "$ref": "#/components/schemas/_types:ErrorCause" }, - "model_id": { + "_id": { "$ref": "#/components/schemas/_types:Id" }, - "model_size_stats": { - "$ref": "#/components/schemas/ml._types:TrainedModelSizeStats" - }, - "pipeline_count": { - "description": "The number of ingest pipelines that currently refer to the model.", - "type": "number" + "_index": { + "$ref": "#/components/schemas/_types:IndexName" } }, "required": [ - "model_id", - "model_size_stats", - "pipeline_count" + "error", + "_id", + "_index" ] }, - "ml._types:TrainedModelDeploymentStats": { + "ml._types:AnalysisConfig": { "type": "object", "properties": { - "allocation_status": { - "$ref": "#/components/schemas/ml._types:TrainedModelDeploymentAllocationStatus" - }, - "cache_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "deployment_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "error_count": { - "description": "The sum of `error_count` for all nodes in the deployment.", - "type": "number" - }, - "inference_count": { - "description": "The sum of `inference_count` for all nodes in the deployment.", - "type": "number" + "bucket_span": { + "$ref": "#/components/schemas/_types:Duration" }, - "model_id": { - "$ref": "#/components/schemas/_types:Id" + "categorization_analyzer": { + "$ref": "#/components/schemas/ml._types:CategorizationAnalyzer" }, - "nodes": { - "$ref": "#/components/schemas/ml._types:TrainedModelDeploymentNodesStats" + "categorization_field_name": { + "$ref": "#/components/schemas/_types:Field" }, - "number_of_allocations": { - "description": "The number of allocations requested.", - "type": "number" + "categorization_filters": { + "description": "If `categorization_field_name` is specified, you can also define optional filters. This property expects an array of regular expressions. The expressions are used to filter out matching sequences from the categorization field values. You can use this functionality to fine tune the categorization by excluding sequences from consideration when categories are defined. For example, you can exclude SQL statements that appear in your log files. This property cannot be used at the same time as `categorization_analyzer`. If you only want to define simple regular expression filters that are applied prior to tokenization, setting this property is the easiest method. If you also want to customize the tokenizer or post-tokenization filtering, use the `categorization_analyzer` property instead and include the filters as pattern_replace character filters. The effect is exactly the same.", + "type": "array", + "items": { + "type": "string" + } }, - "queue_capacity": { - "description": "The number of inference requests that can be queued before new requests are rejected.", - "type": "number" + "detectors": { + "description": "Detector configuration objects specify which data fields a job analyzes. They also specify which analytical functions are used. You can specify multiple detectors for a job. If the detectors array does not contain at least one detector, no analysis can occur and an error is returned.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Detector" + } }, - "rejected_execution_count": { - "description": "The sum of `rejected_execution_count` for all nodes in the deployment.\nIndividual nodes reject an inference request if the inference queue is full.\nThe queue size is controlled by the `queue_capacity` setting in the start\ntrained model deployment API.", - "type": "number" + "influencers": { + "description": "A comma separated list of influencer field names. Typically these can be the by, over, or partition fields that are used in the detector configuration. You might also want to use a field name that is not specifically named in a detector, but is available as part of the input data. When you use multiple detectors, the use of influencers is recommended as it aggregates results for each influencer entity.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } }, - "reason": { - "description": "The reason for the current deployment state. Usually only populated when\nthe model is not deployed to a node.", - "type": "string" + "latency": { + "$ref": "#/components/schemas/_types:Duration" }, - "start_time": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + "model_prune_window": { + "$ref": "#/components/schemas/_types:Duration" }, - "state": { - "$ref": "#/components/schemas/ml._types:DeploymentState" + "multivariate_by_fields": { + "description": "This functionality is reserved for internal use. It is not supported for use in customer environments and is not subject to the support SLA of official GA features. If set to `true`, the analysis will automatically find correlations between metrics for a given by field value and report anomalies when those correlations cease to hold. For example, suppose CPU and memory usage on host A is usually highly correlated with the same metrics on host B. Perhaps this correlation occurs because they are running a load-balanced application. If you enable this property, anomalies will be reported when, for example, CPU usage on host A is high and the value of CPU usage on host B is low. That is to say, you’ll see an anomaly when the CPU of host A is unusual given the CPU of host B. To use the `multivariate_by_fields` property, you must also specify `by_field_name` in your detector.", + "type": "boolean" }, - "threads_per_allocation": { - "description": "The number of threads used be each allocation during inference.", - "type": "number" + "per_partition_categorization": { + "$ref": "#/components/schemas/ml._types:PerPartitionCategorization" }, - "timeout_count": { - "description": "The sum of `timeout_count` for all nodes in the deployment.", - "type": "number" + "summary_count_field_name": { + "$ref": "#/components/schemas/_types:Field" } }, "required": [ - "allocation_status", - "deployment_id", - "error_count", - "inference_count", - "model_id", - "nodes", - "number_of_allocations", - "queue_capacity", - "rejected_execution_count", - "reason", - "start_time", - "state", - "threads_per_allocation", - "timeout_count" + "detectors" ] }, - "ml._types:TrainedModelDeploymentAllocationStatus": { + "ml._types:CategorizationAnalyzer": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/ml._types:CategorizationAnalyzerDefinition" + } + ] + }, + "ml._types:CategorizationAnalyzerDefinition": { "type": "object", "properties": { - "allocation_count": { - "description": "The current number of nodes where the model is allocated.", - "type": "number" + "char_filter": { + "description": "One or more character filters. In addition to the built-in character filters, other plugins can provide more character filters. If this property is not specified, no character filters are applied prior to categorization. If you are customizing some other aspect of the analyzer and you need to achieve the equivalent of `categorization_filters` (which are not permitted when some other aspect of the analyzer is customized), add them here as pattern replace character filters.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.analysis:CharFilter" + } }, - "state": { - "$ref": "#/components/schemas/ml._types:DeploymentAllocationState" + "filter": { + "description": "One or more token filters. In addition to the built-in token filters, other plugins can provide more token filters. If this property is not specified, no token filters are applied prior to categorization.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.analysis:TokenFilter" + } }, - "target_allocation_count": { - "description": "The desired number of nodes for model allocation.", - "type": "number" + "tokenizer": { + "$ref": "#/components/schemas/_types.analysis:Tokenizer" } - }, - "required": [ - "allocation_count", - "state", - "target_allocation_count" - ] - }, - "ml._types:DeploymentAllocationState": { - "type": "string", - "enum": [ - "started", - "starting", - "fully_allocated" - ] + } }, - "ml._types:TrainedModelDeploymentNodesStats": { + "ml._types:Detector": { "type": "object", "properties": { - "average_inference_time_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + "by_field_name": { + "$ref": "#/components/schemas/_types:Field" }, - "error_count": { - "description": "The number of errors when evaluating the trained model.", - "type": "number" + "custom_rules": { + "description": "Custom rules enable you to customize the way detectors operate. For example, a rule may dictate conditions under which results should be skipped. Kibana refers to custom rules as job rules.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DetectionRule" + } }, - "inference_count": { - "description": "The total number of inference calls made against this node for this model.", - "type": "number" + "detector_description": { + "description": "A description of the detector.", + "type": "string" }, - "last_access": { - "description": "The epoch time stamp of the last inference call for the model on this node.", + "detector_index": { + "description": "A unique identifier for the detector. This identifier is based on the order of the detectors in the `analysis_config`, starting at zero. If you specify a value for this property, it is ignored.", "type": "number" }, - "number_of_allocations": { - "description": "The number of allocations assigned to this node.", - "type": "number" + "exclude_frequent": { + "$ref": "#/components/schemas/ml._types:ExcludeFrequent" }, - "number_of_pending_requests": { - "description": "The number of inference requests queued to be processed.", - "type": "number" + "field_name": { + "$ref": "#/components/schemas/_types:Field" }, - "rejection_execution_count": { - "description": "The number of inference requests that were not processed because the queue was full.", - "type": "number" + "function": { + "description": "The analysis function that is used. For example, `count`, `rare`, `mean`, `min`, `max`, or `sum`.", + "type": "string" }, - "routing_state": { - "$ref": "#/components/schemas/ml._types:TrainedModelAssignmentRoutingTable" + "over_field_name": { + "$ref": "#/components/schemas/_types:Field" }, - "start_time": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + "partition_field_name": { + "$ref": "#/components/schemas/_types:Field" }, - "threads_per_allocation": { - "description": "The number of threads used by each allocation during inference.", - "type": "number" + "use_null": { + "description": "Defines whether a new series is used as the null series when there is no value for the by or partition fields.", + "type": "boolean" + } + } + }, + "ml._types:DetectionRule": { + "type": "object", + "properties": { + "actions": { + "description": "The set of actions to be triggered when the rule applies. If more than one action is specified the effects of all actions are combined.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:RuleAction" + } }, - "timeout_count": { - "description": "The number of inference requests that timed out before being processed.", - "type": "number" + "conditions": { + "description": "An array of numeric conditions when the rule applies. A rule must either have a non-empty scope or at least one condition. Multiple conditions are combined together with a logical AND.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:RuleCondition" + } + }, + "scope": { + "description": "A scope of series where the rule applies. A rule must either have a non-empty scope or at least one condition. By default, the scope includes all series. Scoping is allowed for any of the fields that are also specified in `by_field_name`, `over_field_name`, or `partition_field_name`.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ml._types:FilterRef" + } } - }, - "required": [ - "average_inference_time_ms", - "error_count", - "inference_count", - "last_access", - "number_of_allocations", - "number_of_pending_requests", - "rejection_execution_count", - "routing_state", - "start_time", - "threads_per_allocation", - "timeout_count" + } + }, + "ml._types:RuleAction": { + "type": "string", + "enum": [ + "skip_result", + "skip_model_update" ] }, - "ml._types:TrainedModelAssignmentRoutingTable": { + "ml._types:RuleCondition": { "type": "object", "properties": { - "reason": { - "description": "The reason for the current state. It is usually populated only when the\n`routing_state` is `failed`.", - "type": "string" - }, - "routing_state": { - "$ref": "#/components/schemas/ml._types:RoutingState" + "applies_to": { + "$ref": "#/components/schemas/ml._types:AppliesTo" }, - "current_allocations": { - "description": "Current number of allocations.", - "type": "number" + "operator": { + "$ref": "#/components/schemas/ml._types:ConditionOperator" }, - "target_allocations": { - "description": "Target number of allocations.", + "value": { + "description": "The value that is compared against the `applies_to` field using the operator.", "type": "number" } }, "required": [ - "reason", - "routing_state", - "current_allocations", - "target_allocations" + "applies_to", + "operator", + "value" ] }, - "ml._types:RoutingState": { + "ml._types:AppliesTo": { "type": "string", "enum": [ - "failed", - "started", - "starting", - "stopped", - "stopping" + "actual", + "typical", + "diff_from_typical", + "time" ] }, - "ml._types:DeploymentState": { + "ml._types:ConditionOperator": { "type": "string", "enum": [ - "started", - "starting", - "stopping" + "gt", + "gte", + "lt", + "lte" ] }, - "ml._types:TrainedModelInferenceStats": { + "ml._types:FilterRef": { "type": "object", "properties": { - "cache_miss_count": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" - }, - "description": "The number of times the model was loaded for inference and was not retrieved from the cache.\nIf this number is close to the `inference_count`, the cache is not being appropriately used.\nThis can be solved by increasing the cache size or its time-to-live (TTL).\nRefer to general machine learning settings for the appropriate settings.", - "type": "number" - }, - "failure_count": { - "description": "The number of failures when using the model for inference.", - "type": "number" - }, - "inference_count": { - "description": "The total number of times the model has been called for inference.\nThis is across all inference contexts, including all pipelines.", - "type": "number" - }, - "missing_all_fields_count": { - "description": "The number of inference calls where all the training features for the model were missing.", - "type": "number" + "filter_id": { + "$ref": "#/components/schemas/_types:Id" }, - "timestamp": { - "$ref": "#/components/schemas/_types:DateTime" + "filter_type": { + "$ref": "#/components/schemas/ml._types:FilterType" } }, "required": [ - "cache_miss_count", - "failure_count", - "inference_count", - "missing_all_fields_count", - "timestamp" + "filter_id" ] }, - "ml._types:TrainedModelSizeStats": { + "ml._types:FilterType": { + "type": "string", + "enum": [ + "include", + "exclude" + ] + }, + "ml._types:ExcludeFrequent": { + "type": "string", + "enum": [ + "all", + "none", + "by", + "over" + ] + }, + "ml._types:PerPartitionCategorization": { "type": "object", "properties": { - "model_size_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" + "enabled": { + "description": "To enable this setting, you must also set the `partition_field_name` property to the same value in every detector that uses the keyword `mlcategory`. Otherwise, job creation fails.", + "type": "boolean" }, - "required_native_memory_bytes": { - "description": "The amount of memory required to load the model in bytes.", - "type": "number" + "stop_on_warn": { + "description": "This setting can be set to true only if per-partition categorization is enabled. If true, both categorization and subsequent anomaly detection stops for partitions where the categorization status changes to warn. This setting makes it viable to have a job where it is expected that categorization works well for some partitions but not others; you do not pay the cost of bad categorization forever in the partitions where it works badly.", + "type": "boolean" } - }, - "required": [ - "model_size_bytes", - "required_native_memory_bytes" - ] + } }, - "ml._types:InferenceConfigUpdateContainer": { + "ml._types:DataframeEvaluationContainer": { "type": "object", "properties": { - "regression": { - "$ref": "#/components/schemas/ml._types:RegressionInferenceOptions" - }, "classification": { - "$ref": "#/components/schemas/ml._types:ClassificationInferenceOptions" - }, - "text_classification": { - "$ref": "#/components/schemas/ml._types:TextClassificationInferenceUpdateOptions" - }, - "zero_shot_classification": { - "$ref": "#/components/schemas/ml._types:ZeroShotClassificationInferenceUpdateOptions" - }, - "fill_mask": { - "$ref": "#/components/schemas/ml._types:FillMaskInferenceUpdateOptions" - }, - "ner": { - "$ref": "#/components/schemas/ml._types:NerInferenceUpdateOptions" - }, - "pass_through": { - "$ref": "#/components/schemas/ml._types:PassThroughInferenceUpdateOptions" - }, - "text_embedding": { - "$ref": "#/components/schemas/ml._types:TextEmbeddingInferenceUpdateOptions" + "$ref": "#/components/schemas/ml._types:DataframeEvaluationClassification" }, - "text_expansion": { - "$ref": "#/components/schemas/ml._types:TextExpansionInferenceUpdateOptions" + "outlier_detection": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationOutlierDetection" }, - "question_answering": { - "$ref": "#/components/schemas/ml._types:QuestionAnsweringInferenceUpdateOptions" + "regression": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationRegression" } }, "minProperties": 1, "maxProperties": 1 }, - "ml._types:TextClassificationInferenceUpdateOptions": { + "ml._types:DataframeEvaluationClassification": { "type": "object", "properties": { - "num_top_classes": { - "description": "Specifies the number of top class predictions to return. Defaults to 0.", - "type": "number" + "actual_field": { + "$ref": "#/components/schemas/_types:Field" }, - "tokenization": { - "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" + "predicted_field": { + "$ref": "#/components/schemas/_types:Field" }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" + "top_classes_field": { + "$ref": "#/components/schemas/_types:Field" }, - "classification_labels": { - "description": "Classification labels to apply other than the stored labels. Must have the same deminsions as the default configured labels", - "type": "array", - "items": { - "type": "string" + "metrics": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationClassificationMetrics" + } + }, + "required": [ + "actual_field" + ] + }, + "ml._types:DataframeEvaluationClassificationMetrics": { + "allOf": [ + { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationMetrics" + }, + { + "type": "object", + "properties": { + "accuracy": { + "description": "Accuracy of predictions (per-class and overall).", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "multiclass_confusion_matrix": { + "description": "Multiclass confusion matrix.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } + ] + }, + "ml._types:DataframeEvaluationMetrics": { + "type": "object", + "properties": { + "auc_roc": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationClassificationMetricsAucRoc" + }, + "precision": { + "description": "Precision of predictions (per-class and average).", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "recall": { + "description": "Recall of predictions (per-class and average).", + "type": "object", + "additionalProperties": { + "type": "object" } } } }, - "ml._types:NlpTokenizationUpdateOptions": { + "ml._types:DataframeEvaluationClassificationMetricsAucRoc": { "type": "object", "properties": { - "truncate": { - "$ref": "#/components/schemas/ml._types:TokenizationTruncate" + "class_name": { + "$ref": "#/components/schemas/_types:Name" }, - "span": { - "description": "Span options to apply", - "type": "number" + "include_curve": { + "description": "Whether or not the curve should be returned in addition to the score. Default value is false.", + "type": "boolean" } } }, - "ml._types:ZeroShotClassificationInferenceUpdateOptions": { + "ml._types:DataframeEvaluationOutlierDetection": { "type": "object", "properties": { - "tokenization": { - "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" - }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" + "actual_field": { + "$ref": "#/components/schemas/_types:Field" }, - "multi_label": { - "description": "Update the configured multi label option. Indicates if more than one true label exists. Defaults to the configured value.", - "type": "boolean" + "predicted_probability_field": { + "$ref": "#/components/schemas/_types:Field" }, - "labels": { - "description": "The labels to predict.", - "type": "array", - "items": { - "type": "string" - } + "metrics": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationOutlierDetectionMetrics" } }, "required": [ - "labels" + "actual_field", + "predicted_probability_field" ] }, - "ml._types:FillMaskInferenceUpdateOptions": { - "type": "object", - "properties": { - "num_top_classes": { - "description": "Specifies the number of top class predictions to return. Defaults to 0.", - "type": "number" - }, - "tokenization": { - "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" + "ml._types:DataframeEvaluationOutlierDetectionMetrics": { + "allOf": [ + { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationMetrics" }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" + { + "type": "object", + "properties": { + "confusion_matrix": { + "description": "Accuracy of predictions (per-class and overall).", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } } - } + ] }, - "ml._types:NerInferenceUpdateOptions": { + "ml._types:DataframeEvaluationRegression": { "type": "object", "properties": { - "tokenization": { - "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" + "actual_field": { + "$ref": "#/components/schemas/_types:Field" }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" + "predicted_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "metrics": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationRegressionMetrics" } - } + }, + "required": [ + "actual_field", + "predicted_field" + ] }, - "ml._types:PassThroughInferenceUpdateOptions": { + "ml._types:DataframeEvaluationRegressionMetrics": { "type": "object", "properties": { - "tokenization": { - "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" + "mse": { + "externalDocs": { + "url": "https://en.wikipedia.org/wiki/Mean_squared_error" + }, + "description": "Average squared difference between the predicted values and the actual (ground truth) value. For more information, read this wiki article.", + "type": "object", + "additionalProperties": { + "type": "object" + } }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" + "msle": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationRegressionMetricsMsle" + }, + "huber": { + "$ref": "#/components/schemas/ml._types:DataframeEvaluationRegressionMetricsHuber" + }, + "r_squared": { + "externalDocs": { + "url": "https://en.wikipedia.org/wiki/Coefficient_of_determination" + }, + "description": "Proportion of the variance in the dependent variable that is predictable from the independent variables.", + "type": "object", + "additionalProperties": { + "type": "object" + } } } }, - "ml._types:TextEmbeddingInferenceUpdateOptions": { + "ml._types:DataframeEvaluationRegressionMetricsMsle": { "type": "object", "properties": { - "tokenization": { - "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" - }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" + "offset": { + "description": "Defines the transition point at which you switch from minimizing quadratic error to minimizing quadratic log error. Defaults to 1.", + "type": "number" } } }, - "ml._types:TextExpansionInferenceUpdateOptions": { + "ml._types:DataframeEvaluationRegressionMetricsHuber": { "type": "object", "properties": { - "tokenization": { - "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" - }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" + "delta": { + "description": "Approximates 1/2 (prediction - actual)2 for values much less than delta and approximates a straight line with slope delta for values much larger than delta. Defaults to 1. Delta needs to be greater than 0.", + "type": "number" } } }, - "ml._types:QuestionAnsweringInferenceUpdateOptions": { + "ml.evaluate_data_frame:DataframeClassificationSummary": { "type": "object", "properties": { - "question": { - "description": "The question to answer given the inference context", - "type": "string" + "auc_roc": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationSummaryAucRoc" }, - "num_top_classes": { - "description": "Specifies the number of top class predictions to return. Defaults to 0.", - "type": "number" + "accuracy": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummaryAccuracy" }, - "tokenization": { - "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" + "multiclass_confusion_matrix": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummaryMulticlassConfusionMatrix" }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" + "precision": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummaryPrecision" }, - "max_answer_length": { - "description": "The maximum answer length to consider for extraction", - "type": "number" + "recall": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummaryRecall" } - }, - "required": [ - "question" - ] + } }, - "ml._types:InferenceResponseResult": { - "type": "object", - "properties": { - "entities": { - "description": "If the model is trained for named entity recognition (NER) tasks, the response contains the recognized entities.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:TrainedModelEntities" - } - }, - "is_truncated": { - "description": "Indicates whether the input text was truncated to meet the model's maximum sequence length limit. This property\nis present only when it is true.", - "type": "boolean" - }, - "predicted_value": { - "description": "If the model is trained for a text classification or zero shot classification task, the response is the\npredicted class.\nFor named entity recognition (NER) tasks, it contains the annotated text output.\nFor fill mask tasks, it contains the top prediction for replacing the mask token.\nFor text embedding tasks, it contains the raw numerical text embedding values.\nFor regression models, its a numerical value\nFor classification models, it may be an integer, double, boolean or string depending on prediction type", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:PredictedValue" - } - }, - "predicted_value_sequence": { - "description": "For fill mask tasks, the response contains the input text sequence with the mask token replaced by the predicted\nvalue.\nAdditionally", - "type": "string" - }, - "prediction_probability": { - "description": "Specifies a probability for the predicted value.", - "type": "number" - }, - "prediction_score": { - "description": "Specifies a confidence score for the predicted value.", - "type": "number" - }, - "top_classes": { - "description": "For fill mask, text classification, and zero shot classification tasks, the response contains a list of top\nclass entries.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:TopClassEntry" - } - }, - "warning": { - "description": "If the request failed, the response contains the reason for the failure.", - "type": "string" + "ml.evaluate_data_frame:DataframeEvaluationSummaryAucRoc": { + "allOf": [ + { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" }, - "feature_importance": { - "description": "The feature importance for the inference results. Relevant only for classification or regression models", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:TrainedModelInferenceFeatureImportance" + { + "type": "object", + "properties": { + "curve": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationSummaryAucRocCurveItem" + } + } } } - } + ] }, - "ml._types:TrainedModelEntities": { + "ml.evaluate_data_frame:DataframeEvaluationSummaryAucRocCurveItem": { "type": "object", "properties": { - "class_name": { - "type": "string" - }, - "class_probability": { + "tpr": { "type": "number" }, - "entity": { - "type": "string" - }, - "start_pos": { + "fpr": { "type": "number" }, - "end_pos": { + "threshold": { "type": "number" } }, "required": [ - "class_name", - "class_probability", - "entity", - "start_pos", - "end_pos" - ] - }, - "ml._types:PredictedValue": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "number" - } + "tpr", + "fpr", + "threshold" ] }, - "ml._types:TopClassEntry": { + "ml.evaluate_data_frame:DataframeEvaluationValue": { "type": "object", "properties": { - "class_name": { - "type": "string" - }, - "class_probability": { - "type": "number" - }, - "class_score": { + "value": { "type": "number" } }, "required": [ - "class_name", - "class_probability", - "class_score" + "value" ] }, - "ml._types:TrainedModelInferenceFeatureImportance": { + "ml.evaluate_data_frame:DataframeClassificationSummaryAccuracy": { "type": "object", "properties": { - "feature_name": { - "type": "string" - }, - "importance": { - "type": "number" - }, "classes": { "type": "array", "items": { - "$ref": "#/components/schemas/ml._types:TrainedModelInferenceClassImportance" + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationClass" } + }, + "overall_accuracy": { + "type": "number" } }, "required": [ - "feature_name" + "classes", + "overall_accuracy" ] }, - "ml._types:TrainedModelInferenceClassImportance": { - "type": "object", - "properties": { - "class_name": { - "type": "string" + "ml.evaluate_data_frame:DataframeEvaluationClass": { + "allOf": [ + { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" }, - "importance": { - "type": "number" + { + "type": "object", + "properties": { + "class_name": { + "$ref": "#/components/schemas/_types:Name" + } + }, + "required": [ + "class_name" + ] } - }, - "required": [ - "class_name", - "importance" ] }, - "ml.info:Defaults": { + "ml.evaluate_data_frame:DataframeClassificationSummaryMulticlassConfusionMatrix": { "type": "object", "properties": { - "anomaly_detectors": { - "$ref": "#/components/schemas/ml.info:AnomalyDetectors" + "confusion_matrix": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:ConfusionMatrixItem" + } }, - "datafeeds": { - "$ref": "#/components/schemas/ml.info:Datafeeds" + "other_actual_class_count": { + "type": "number" } }, "required": [ - "anomaly_detectors", - "datafeeds" + "confusion_matrix", + "other_actual_class_count" ] }, - "ml.info:AnomalyDetectors": { + "ml.evaluate_data_frame:ConfusionMatrixItem": { "type": "object", "properties": { - "categorization_analyzer": { - "$ref": "#/components/schemas/ml._types:CategorizationAnalyzer" + "actual_class": { + "$ref": "#/components/schemas/_types:Name" }, - "categorization_examples_limit": { + "actual_class_doc_count": { "type": "number" }, - "model_memory_limit": { - "type": "string" - }, - "model_snapshot_retention_days": { - "type": "number" + "predicted_classes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:ConfusionMatrixPrediction" + } }, - "daily_model_snapshot_retention_after_days": { + "other_predicted_class_doc_count": { "type": "number" } }, "required": [ - "categorization_analyzer", - "categorization_examples_limit", - "model_memory_limit", - "model_snapshot_retention_days", - "daily_model_snapshot_retention_after_days" + "actual_class", + "actual_class_doc_count", + "predicted_classes", + "other_predicted_class_doc_count" ] }, - "ml.info:Datafeeds": { + "ml.evaluate_data_frame:ConfusionMatrixPrediction": { "type": "object", "properties": { - "scroll_size": { + "predicted_class": { + "$ref": "#/components/schemas/_types:Name" + }, + "count": { "type": "number" } }, "required": [ - "scroll_size" + "predicted_class", + "count" ] }, - "ml.info:Limits": { + "ml.evaluate_data_frame:DataframeClassificationSummaryPrecision": { "type": "object", "properties": { - "max_model_memory_limit": { - "type": "string" - }, - "effective_max_model_memory_limit": { - "type": "string" + "classes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationClass" + } }, - "total_ml_memory": { - "type": "string" + "avg_precision": { + "type": "number" } }, "required": [ - "effective_max_model_memory_limit", - "total_ml_memory" + "classes", + "avg_precision" ] }, - "ml.info:NativeCode": { + "ml.evaluate_data_frame:DataframeClassificationSummaryRecall": { "type": "object", "properties": { - "build_hash": { - "type": "string" + "classes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationClass" + } }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" + "avg_recall": { + "type": "number" } }, "required": [ - "build_hash", - "version" + "classes", + "avg_recall" ] }, - "ml.preview_data_frame_analytics:DataframePreviewConfig": { + "ml.evaluate_data_frame:DataframeOutlierDetectionSummary": { "type": "object", "properties": { - "source": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" + "auc_roc": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationSummaryAucRoc" }, - "analysis": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" + "precision": { + "description": "Set the different thresholds of the outlier score at where the metric is calculated.", + "type": "object", + "additionalProperties": { + "type": "number" + } }, - "model_memory_limit": { - "type": "string" + "recall": { + "description": "Set the different thresholds of the outlier score at where the metric is calculated.", + "type": "object", + "additionalProperties": { + "type": "number" + } }, - "max_num_threads": { + "confusion_matrix": { + "description": "Set the different thresholds of the outlier score at where the metrics (`tp` - true positive, `fp` - false positive, `tn` - true negative, `fn` - false negative) are calculated.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:ConfusionMatrixThreshold" + } + } + } + }, + "ml.evaluate_data_frame:ConfusionMatrixThreshold": { + "type": "object", + "properties": { + "tp": { + "description": "True Positive", "type": "number" }, - "analyzed_fields": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" + "fp": { + "description": "False Positive", + "type": "number" + }, + "tn": { + "description": "True Negative", + "type": "number" + }, + "fn": { + "description": "False Negative", + "type": "number" } }, "required": [ - "source", - "analysis" + "tp", + "fp", + "tn", + "fn" ] }, - "ml._types:DatafeedConfig": { + "ml.evaluate_data_frame:DataframeRegressionSummary": { "type": "object", "properties": { - "aggregations": { - "description": "If set, the datafeed performs aggregation searches. Support for aggregations is limited and should be used only with low cardinality data.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "chunking_config": { - "$ref": "#/components/schemas/ml._types:ChunkingConfig" - }, - "datafeed_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "delayed_data_check_config": { - "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" - }, - "frequency": { - "$ref": "#/components/schemas/_types:Duration" - }, - "indices": { - "description": "An array of index names. Wildcards are supported. If any indices are in remote clusters, the machine learning nodes must have the `remote_cluster_client` role.", - "type": "array", - "items": { - "type": "string" - } - }, - "indices_options": { - "$ref": "#/components/schemas/_types:IndicesOptions" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "max_empty_searches": { - "description": "If a real-time datafeed has never seen any data (including during any initial training period) then it will automatically stop itself and close its associated job after this many real-time searches that return no documents. In other words, it will stop after `frequency` times `max_empty_searches` of real-time operation. If not set then a datafeed with no end time that sees no data will remain started until it is explicitly stopped.", - "type": "number" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "query_delay": { - "$ref": "#/components/schemas/_types:Duration" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + "huber": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" }, - "script_fields": { - "description": "Specifies scripts that evaluate custom expressions and returns script fields to the datafeed. The detector configuration objects in a job can contain functions that use these script fields.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ScriptField" - } + "mse": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" }, - "scroll_size": { - "description": "The size parameter that is used in Elasticsearch searches when the datafeed does not use aggregations. The maximum value is the value of `index.max_result_window`, which is 10,000 by default.", - "type": "number" + "msle": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" + }, + "r_squared": { + "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" } } }, - "ml._types:JobConfig": { + "ml._types:CalendarEvent": { "type": "object", "properties": { - "allow_lazy_open": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html" - }, - "description": "Advanced configuration option. Specifies whether this job can open when there is insufficient machine learning node capacity for it to be immediately assigned to a node.", - "type": "boolean" - }, - "analysis_config": { - "$ref": "#/components/schemas/ml._types:AnalysisConfig" + "calendar_id": { + "$ref": "#/components/schemas/_types:Id" }, - "analysis_limits": { - "$ref": "#/components/schemas/ml._types:AnalysisLimits" + "event_id": { + "$ref": "#/components/schemas/_types:Id" }, - "background_persist_interval": { - "$ref": "#/components/schemas/_types:Duration" + "description": { + "description": "A description of the scheduled event.", + "type": "string" }, - "custom_settings": { - "$ref": "#/components/schemas/ml._types:CustomSettings" + "end_time": { + "$ref": "#/components/schemas/_types:DateTime" }, - "daily_model_snapshot_retention_after_days": { - "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies a period of time (in days) after which only the first snapshot per day is retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.", + "start_time": { + "$ref": "#/components/schemas/_types:DateTime" + } + }, + "required": [ + "description", + "end_time", + "start_time" + ] + }, + "ml._types:Page": { + "type": "object", + "properties": { + "from": { + "description": "Skips the specified number of items.", "type": "number" }, - "data_description": { - "$ref": "#/components/schemas/ml._types:DataDescription" - }, - "datafeed_config": { - "$ref": "#/components/schemas/ml._types:DatafeedConfig" + "size": { + "description": "Specifies the maximum number of items to obtain.", + "type": "number" + } + } + }, + "ml.get_calendars:Calendar": { + "type": "object", + "properties": { + "calendar_id": { + "$ref": "#/components/schemas/_types:Id" }, "description": { - "description": "A description of the job.", + "description": "A description of the calendar.", "type": "string" }, - "groups": { - "description": "A list of job groups. A job can belong to no groups or many.", + "job_ids": { + "description": "An array of anomaly detection job identifiers.", "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/_types:Id" } + } + }, + "required": [ + "calendar_id", + "job_ids" + ] + }, + "ml._types:DataframeAnalyticsSummary": { + "type": "object", + "properties": { + "allow_lazy_start": { + "type": "boolean" }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" + "analysis": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" }, - "job_type": { - "description": "Reserved for future use, currently set to `anomaly_detector`.", + "analyzed_fields": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" + }, + "authorization": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsAuthorization" + }, + "create_time": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "description": { "type": "string" }, - "model_plot_config": { - "$ref": "#/components/schemas/ml._types:ModelPlotConfig" + "dest": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsDestination" }, - "model_snapshot_retention_days": { - "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies the maximum period of time (in days) that snapshots are retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.\nThe default value is `10`, which means snapshots ten days older than the newest snapshot are deleted.", - "type": "number" + "id": { + "$ref": "#/components/schemas/_types:Id" }, - "renormalization_window_days": { - "description": "Advanced configuration option.\nThe period over which adjustments to the score are applied, as new data is seen.\nThe default value is the longer of 30 days or 100 `bucket_spans`.", + "max_num_threads": { "type": "number" }, - "results_index_name": { - "$ref": "#/components/schemas/_types:IndexName" + "model_memory_limit": { + "type": "string" }, - "results_retention_days": { - "description": "Advanced configuration option.\nThe period of time (in days) that results are retained.\nAge is calculated relative to the timestamp of the latest bucket result.\nIf this property has a non-null value, once per day at 00:30 (server time), results that are the specified number of days older than the latest bucket result are deleted from Elasticsearch.\nThe default value is null, which means all results are retained.\nAnnotations generated by the system also count as results for retention purposes; they are deleted after the same number of days as results.\nAnnotations added by users are retained forever.", - "type": "number" + "source": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionString" } }, "required": [ - "analysis_config", - "data_description" + "analysis", + "dest", + "id", + "source" ] }, - "_types:HttpHeaders": { + "ml._types:DataframeAnalysisContainer": { "type": "object", - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { + "properties": { + "classification": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisClassification" + }, + "outlier_detection": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisOutlierDetection" + }, + "regression": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisRegression" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ml._types:DataframeAnalysisClassification": { + "allOf": [ + { + "$ref": "#/components/schemas/ml._types:DataframeAnalysis" + }, + { + "type": "object", + "properties": { + "class_assignment_objective": { "type": "string" + }, + "num_top_classes": { + "description": "Defines the number of categories for which the predicted probabilities are reported. It must be non-negative or -1. If it is -1 or greater than the total number of categories, probabilities are reported for all categories; if you have a large number of categories, there could be a significant effect on the size of your destination index. NOTE: To use the AUC ROC evaluation method, `num_top_classes` must be set to -1 or a value greater than or equal to the total number of categories.", + "type": "number" } } - ] - } + } + ] }, - "ml._types:AnalysisConfigRead": { + "ml._types:DataframeAnalysis": { "type": "object", "properties": { - "bucket_span": { - "$ref": "#/components/schemas/_types:Duration" - }, - "categorization_analyzer": { - "$ref": "#/components/schemas/ml._types:CategorizationAnalyzer" - }, - "categorization_field_name": { - "$ref": "#/components/schemas/_types:Field" - }, - "categorization_filters": { - "description": "If `categorization_field_name` is specified, you can also define optional filters.\nThis property expects an array of regular expressions.\nThe expressions are used to filter out matching sequences from the categorization field values.", - "type": "array", - "items": { - "type": "string" - } - }, - "detectors": { - "description": "An array of detector configuration objects.\nDetector configuration objects specify which data fields a job analyzes.\nThey also specify which analytical functions are used.\nYou can specify multiple detectors for a job.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:DetectorRead" - } - }, - "influencers": { - "description": "A comma separated list of influencer field names.\nTypically these can be the by, over, or partition fields that are used in the detector configuration.\nYou might also want to use a field name that is not specifically named in a detector, but is available as part of the input data.\nWhen you use multiple detectors, the use of influencers is recommended as it aggregates results for each influencer entity.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Field" - } + "alpha": { + "description": "Advanced configuration option. Machine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly. This parameter affects loss calculations by acting as a multiplier of the tree depth. Higher alpha values result in shallower trees and faster training times. By default, this value is calculated during hyperparameter optimization. It must be greater than or equal to zero.", + "type": "number" }, - "model_prune_window": { - "$ref": "#/components/schemas/_types:Duration" + "dependent_variable": { + "description": "Defines which field of the document is to be predicted. It must match one of the fields in the index being used to train. If this field is missing from a document, then that document will not be used for training, but a prediction with the trained model will be generated for it. It is also known as continuous target variable.\nFor classification analysis, the data type of the field must be numeric (`integer`, `short`, `long`, `byte`), categorical (`ip` or `keyword`), or `boolean`. There must be no more than 30 different values in this field.\nFor regression analysis, the data type of the field must be numeric.", + "type": "string" }, - "latency": { - "$ref": "#/components/schemas/_types:Duration" + "downsample_factor": { + "description": "Advanced configuration option. Controls the fraction of data that is used to compute the derivatives of the loss function for tree training. A small value results in the use of a small fraction of the data. If this value is set to be less than 1, accuracy typically improves. However, too small a value may result in poor convergence for the ensemble and so require more trees. By default, this value is calculated during hyperparameter optimization. It must be greater than zero and less than or equal to 1.", + "type": "number" }, - "multivariate_by_fields": { - "description": "This functionality is reserved for internal use.\nIt is not supported for use in customer environments and is not subject to the support SLA of official GA features.\nIf set to `true`, the analysis will automatically find correlations between metrics for a given by field value and report anomalies when those correlations cease to hold.", + "early_stopping_enabled": { + "description": "Advanced configuration option. Specifies whether the training process should finish if it is not finding any better performing models. If disabled, the training process can take significantly longer and the chance of finding a better performing model is unremarkable.", "type": "boolean" }, - "per_partition_categorization": { - "$ref": "#/components/schemas/ml._types:PerPartitionCategorization" + "eta": { + "description": "Advanced configuration option. The shrinkage applied to the weights. Smaller values result in larger forests which have a better generalization error. However, larger forests cause slower training. By default, this value is calculated during hyperparameter optimization. It must be a value between 0.001 and 1.", + "type": "number" }, - "summary_count_field_name": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "bucket_span", - "detectors", - "influencers" - ] - }, - "ml._types:DetectorRead": { - "type": "object", - "properties": { - "by_field_name": { - "$ref": "#/components/schemas/_types:Field" + "eta_growth_rate_per_tree": { + "description": "Advanced configuration option. Specifies the rate at which `eta` increases for each new tree that is added to the forest. For example, a rate of 1.05 increases `eta` by 5% for each extra tree. By default, this value is calculated during hyperparameter optimization. It must be between 0.5 and 2.", + "type": "number" }, - "custom_rules": { - "description": "An array of custom rule objects, which enable you to customize the way detectors operate.\nFor example, a rule may dictate to the detector conditions under which results should be skipped.\nKibana refers to custom rules as job rules.", + "feature_bag_fraction": { + "description": "Advanced configuration option. Defines the fraction of features that will be used when selecting a random bag for each candidate split. By default, this value is calculated during hyperparameter optimization.", + "type": "number" + }, + "feature_processors": { + "description": "Advanced configuration option. A collection of feature preprocessors that modify one or more included fields. The analysis uses the resulting one or more features instead of the original document field. However, these features are ephemeral; they are not stored in the destination index. Multiple `feature_processors` entries can refer to the same document fields. Automatic categorical feature encoding still occurs for the fields that are unprocessed by a custom processor or that have categorical values. Use this property only if you want to override the automatic feature encoding of the specified fields.", "type": "array", "items": { - "$ref": "#/components/schemas/ml._types:DetectionRule" + "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessor" } }, - "detector_description": { - "description": "A description of the detector.", - "type": "string" + "gamma": { + "description": "Advanced configuration option. Regularization parameter to prevent overfitting on the training data set. Multiplies a linear penalty associated with the size of individual trees in the forest. A high gamma value causes training to prefer small trees. A small gamma value results in larger individual trees and slower training. By default, this value is calculated during hyperparameter optimization. It must be a nonnegative value.", + "type": "number" }, - "detector_index": { - "description": "A unique identifier for the detector.\nThis identifier is based on the order of the detectors in the `analysis_config`, starting at zero.", + "lambda": { + "description": "Advanced configuration option. Regularization parameter to prevent overfitting on the training data set. Multiplies an L2 regularization term which applies to leaf weights of the individual trees in the forest. A high lambda value causes training to favor small leaf weights. This behavior makes the prediction function smoother at the expense of potentially not being able to capture relevant relationships between the features and the dependent variable. A small lambda value results in large individual trees and slower training. By default, this value is calculated during hyperparameter optimization. It must be a nonnegative value.", "type": "number" }, - "exclude_frequent": { - "$ref": "#/components/schemas/ml._types:ExcludeFrequent" + "max_optimization_rounds_per_hyperparameter": { + "description": "Advanced configuration option. A multiplier responsible for determining the maximum number of hyperparameter optimization steps in the Bayesian optimization procedure. The maximum number of steps is determined based on the number of undefined hyperparameters times the maximum optimization rounds per hyperparameter. By default, this value is calculated during hyperparameter optimization.", + "type": "number" }, - "field_name": { - "$ref": "#/components/schemas/_types:Field" + "max_trees": { + "description": "Advanced configuration option. Defines the maximum number of decision trees in the forest. The maximum value is 2000. By default, this value is calculated during hyperparameter optimization.", + "type": "number" }, - "function": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-functions.html" - }, - "description": "The analysis function that is used.\nFor example, `count`, `rare`, `mean`, `min`, `max`, and `sum`.", - "type": "string" + "num_top_feature_importance_values": { + "description": "Advanced configuration option. Specifies the maximum number of feature importance values per document to return. By default, no feature importance calculation occurs.", + "type": "number" }, - "over_field_name": { + "prediction_field_name": { "$ref": "#/components/schemas/_types:Field" }, - "partition_field_name": { - "$ref": "#/components/schemas/_types:Field" + "randomize_seed": { + "description": "Defines the seed for the random generator that is used to pick training data. By default, it is randomly generated. Set it to a specific value to use the same training data each time you start a job (assuming other related parameters such as `source` and `analyzed_fields` are the same).", + "type": "number" }, - "use_null": { - "description": "Defines whether a new series is used as the null series when there is no value for the by or partition fields.", - "type": "boolean" - } - }, - "required": [ - "function" - ] - }, - "ml.put_trained_model:Definition": { - "type": "object", - "properties": { - "preprocessors": { - "description": "Collection of preprocessors", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml.put_trained_model:Preprocessor" - } + "soft_tree_depth_limit": { + "description": "Advanced configuration option. Machine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly. This soft limit combines with the `soft_tree_depth_tolerance` to penalize trees that exceed the specified depth; the regularized loss increases quickly beyond this depth. By default, this value is calculated during hyperparameter optimization. It must be greater than or equal to 0.", + "type": "number" }, - "trained_model": { - "$ref": "#/components/schemas/ml.put_trained_model:TrainedModel" + "soft_tree_depth_tolerance": { + "description": "Advanced configuration option. This option controls how quickly the regularized loss increases when the tree depth exceeds `soft_tree_depth_limit`. By default, this value is calculated during hyperparameter optimization. It must be greater than or equal to 0.01.", + "type": "number" + }, + "training_percent": { + "$ref": "#/components/schemas/_types:Percentage" } }, "required": [ - "trained_model" + "dependent_variable" ] }, - "ml.put_trained_model:Preprocessor": { + "ml._types:DataframeAnalysisFeatureProcessor": { "type": "object", "properties": { "frequency_encoding": { - "$ref": "#/components/schemas/ml.put_trained_model:FrequencyEncodingPreprocessor" + "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorFrequencyEncoding" + }, + "multi_encoding": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorMultiEncoding" + }, + "n_gram_encoding": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorNGramEncoding" }, "one_hot_encoding": { - "$ref": "#/components/schemas/ml.put_trained_model:OneHotEncodingPreprocessor" + "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorOneHotEncoding" }, "target_mean_encoding": { - "$ref": "#/components/schemas/ml.put_trained_model:TargetMeanEncodingPreprocessor" + "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorTargetMeanEncoding" } }, "minProperties": 1, "maxProperties": 1 }, - "ml.put_trained_model:FrequencyEncodingPreprocessor": { + "ml._types:DataframeAnalysisFeatureProcessorFrequencyEncoding": { "type": "object", "properties": { - "field": { - "type": "string" - }, "feature_name": { - "type": "string" + "$ref": "#/components/schemas/_types:Name" + }, + "field": { + "$ref": "#/components/schemas/_types:Field" }, "frequency_map": { + "description": "The resulting frequency map for the field value. If the field value is missing from the frequency_map, the resulting value is 0.", "type": "object", "additionalProperties": { "type": "number" @@ -68004,4446 +50226,4446 @@ } }, "required": [ - "field", "feature_name", + "field", "frequency_map" ] }, - "ml.put_trained_model:OneHotEncodingPreprocessor": { + "ml._types:DataframeAnalysisFeatureProcessorMultiEncoding": { "type": "object", "properties": { - "field": { - "type": "string" - }, - "hot_map": { - "type": "object", - "additionalProperties": { - "type": "string" + "processors": { + "description": "The ordered array of custom processors to execute. Must be more than 1.", + "type": "array", + "items": { + "type": "number" } } }, "required": [ - "field", - "hot_map" + "processors" ] }, - "ml.put_trained_model:TargetMeanEncodingPreprocessor": { + "ml._types:DataframeAnalysisFeatureProcessorNGramEncoding": { "type": "object", "properties": { - "field": { + "feature_prefix": { + "description": "The feature name prefix. Defaults to ngram__.", "type": "string" }, - "feature_name": { - "type": "string" + "field": { + "$ref": "#/components/schemas/_types:Field" }, - "target_map": { - "type": "object", - "additionalProperties": { + "length": { + "description": "Specifies the length of the n-gram substring. Defaults to 50. Must be greater than 0.", + "type": "number" + }, + "n_grams": { + "description": "Specifies which n-grams to gather. It’s an array of integer values where the minimum value is 1, and a maximum value is 5.", + "type": "array", + "items": { "type": "number" } }, - "default_value": { + "start": { + "description": "Specifies the zero-indexed start of the n-gram substring. Negative values are allowed for encoding n-grams of string suffixes. Defaults to 0.", "type": "number" + }, + "custom": { + "type": "boolean" } }, "required": [ "field", - "feature_name", - "target_map", - "default_value" + "n_grams" ] }, - "ml.put_trained_model:TrainedModel": { + "ml._types:DataframeAnalysisFeatureProcessorOneHotEncoding": { "type": "object", "properties": { - "tree": { - "$ref": "#/components/schemas/ml.put_trained_model:TrainedModelTree" - }, - "tree_node": { - "$ref": "#/components/schemas/ml.put_trained_model:TrainedModelTreeNode" + "field": { + "$ref": "#/components/schemas/_types:Field" }, - "ensemble": { - "$ref": "#/components/schemas/ml.put_trained_model:Ensemble" + "hot_map": { + "description": "The one hot map mapping the field value with the column name.", + "type": "string" } - } + }, + "required": [ + "field", + "hot_map" + ] }, - "ml.put_trained_model:TrainedModelTree": { + "ml._types:DataframeAnalysisFeatureProcessorTargetMeanEncoding": { "type": "object", "properties": { - "classification_labels": { - "type": "array", - "items": { - "type": "string" - } + "default_value": { + "description": "The default value if field value is not found in the target_map.", + "type": "number" }, - "feature_names": { - "type": "array", - "items": { - "type": "string" - } + "feature_name": { + "$ref": "#/components/schemas/_types:Name" }, - "target_type": { - "type": "string" + "field": { + "$ref": "#/components/schemas/_types:Field" }, - "tree_structure": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml.put_trained_model:TrainedModelTreeNode" + "target_map": { + "description": "The field value to target mean transition map.", + "type": "object", + "additionalProperties": { + "type": "object" } } }, "required": [ - "feature_names", - "tree_structure" + "default_value", + "feature_name", + "field", + "target_map" ] }, - "ml.put_trained_model:TrainedModelTreeNode": { - "type": "object", - "properties": { - "decision_type": { + "_types:Percentage": { + "oneOf": [ + { "type": "string" }, - "default_left": { - "type": "boolean" - }, - "leaf_value": { + { "type": "number" + } + ] + }, + "ml._types:DataframeAnalysisOutlierDetection": { + "type": "object", + "properties": { + "compute_feature_influence": { + "description": "Specifies whether the feature influence calculation is enabled.", + "type": "boolean" }, - "left_child": { + "feature_influence_threshold": { + "description": "The minimum outlier score that a document needs to have in order to calculate its feature influence score. Value range: 0-1.", "type": "number" }, - "node_index": { - "type": "number" + "method": { + "description": "The method that outlier detection uses. Available methods are `lof`, `ldof`, `distance_kth_nn`, `distance_knn`, and `ensemble`. The default value is ensemble, which means that outlier detection uses an ensemble of different methods and normalises and combines their individual outlier scores to obtain the overall outlier score.", + "type": "string" }, - "right_child": { + "n_neighbors": { + "description": "Defines the value for how many nearest neighbors each method of outlier detection uses to calculate its outlier score. When the value is not set, different values are used for different ensemble members. This default behavior helps improve the diversity in the ensemble; only override it if you are confident that the value you choose is appropriate for the data set.", "type": "number" }, - "split_feature": { + "outlier_fraction": { + "description": "The proportion of the data set that is assumed to be outlying prior to outlier detection. For example, 0.05 means it is assumed that 5% of values are real outliers and 95% are inliers.", "type": "number" }, - "split_gain": { - "type": "number" + "standardization_enabled": { + "description": "If true, the following operation is performed on the columns before computing outlier scores: `(x_i - mean(x_i)) / sd(x_i)`.", + "type": "boolean" + } + } + }, + "ml._types:DataframeAnalysisRegression": { + "allOf": [ + { + "$ref": "#/components/schemas/ml._types:DataframeAnalysis" }, - "threshold": { - "type": "number" + { + "type": "object", + "properties": { + "loss_function": { + "description": "The loss function used during regression. Available options are `mse` (mean squared error), `msle` (mean squared logarithmic error), `huber` (Pseudo-Huber loss).", + "type": "string" + }, + "loss_function_parameter": { + "description": "A positive number that is used as a parameter to the `loss_function`.", + "type": "number" + } + } } - }, - "required": [ - "node_index" ] }, - "ml.put_trained_model:Ensemble": { + "ml._types:DataframeAnalysisAnalyzedFields": { "type": "object", "properties": { - "aggregate_output": { - "$ref": "#/components/schemas/ml.put_trained_model:AggregateOutput" - }, - "classification_labels": { + "includes": { + "description": "An array of strings that defines the fields that will be excluded from the analysis. You do not need to add fields with unsupported data types to excludes, these fields are excluded from the analysis automatically.", "type": "array", "items": { "type": "string" } }, - "feature_names": { + "excludes": { + "description": "An array of strings that defines the fields that will be included in the analysis.", "type": "array", "items": { "type": "string" } - }, - "target_type": { - "type": "string" - }, - "trained_models": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml.put_trained_model:TrainedModel" - } } }, "required": [ - "trained_models" + "includes", + "excludes" ] }, - "ml.put_trained_model:AggregateOutput": { + "ml._types:DataframeAnalyticsAuthorization": { "type": "object", "properties": { - "logistic_regression": { - "$ref": "#/components/schemas/ml.put_trained_model:Weights" - }, - "weighted_sum": { - "$ref": "#/components/schemas/ml.put_trained_model:Weights" + "api_key": { + "$ref": "#/components/schemas/ml._types:ApiKeyAuthorization" }, - "weighted_mode": { - "$ref": "#/components/schemas/ml.put_trained_model:Weights" + "roles": { + "description": "If a user ID was used for the most recent update to the job, its roles at the time of the update are listed in the response.", + "type": "array", + "items": { + "type": "string" + } }, - "exponent": { - "$ref": "#/components/schemas/ml.put_trained_model:Weights" + "service_account": { + "description": "If a service account was used for the most recent update to the job, the account name is listed in the response.", + "type": "string" } } }, - "ml.put_trained_model:Weights": { + "ml._types:ApiKeyAuthorization": { "type": "object", "properties": { - "weights": { - "type": "number" + "id": { + "description": "The identifier for the API key.", + "type": "string" + }, + "name": { + "description": "The name of the API key.", + "type": "string" } }, "required": [ - "weights" + "id", + "name" ] }, - "ml.put_trained_model:Input": { + "ml._types:DataframeAnalyticsDestination": { "type": "object", "properties": { - "field_names": { - "$ref": "#/components/schemas/_types:Names" + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "results_field": { + "$ref": "#/components/schemas/_types:Field" } }, "required": [ - "field_names" - ] - }, - "ml._types:TrainingPriority": { - "type": "string", - "enum": [ - "normal", - "low" + "index" ] }, - "ml._types:TrainedModelAssignment": { + "ml._types:DataframeAnalyticsSource": { "type": "object", "properties": { - "assignment_state": { - "$ref": "#/components/schemas/ml._types:DeploymentAssignmentState" - }, - "max_assigned_allocations": { - "type": "number" + "index": { + "$ref": "#/components/schemas/_types:Indices" }, - "routing_table": { - "description": "The allocation state for each node.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/ml._types:TrainedModelAssignmentRoutingTable" - } + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" }, - "start_time": { - "$ref": "#/components/schemas/_types:DateTime" + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" }, - "task_parameters": { - "$ref": "#/components/schemas/ml._types:TrainedModelAssignmentTaskParameters" + "_source": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" } }, "required": [ - "assignment_state", - "routing_table", - "start_time", - "task_parameters" - ] - }, - "ml._types:DeploymentAssignmentState": { - "type": "string", - "enum": [ - "starting", - "started", - "stopping", - "failed" + "index" ] }, - "ml._types:TrainedModelAssignmentTaskParameters": { + "ml._types:DataframeAnalytics": { "type": "object", "properties": { - "model_bytes": { - "description": "The size of the trained model in bytes.", - "type": "number" - }, - "model_id": { - "$ref": "#/components/schemas/_types:Id" + "analysis_stats": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsContainer" }, - "deployment_id": { - "$ref": "#/components/schemas/_types:Id" + "assignment_explanation": { + "description": "For running jobs only, contains messages relating to the selection of a node to run the job.", + "type": "string" }, - "cache_size": { - "$ref": "#/components/schemas/_types:ByteSize" + "data_counts": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsDataCounts" }, - "number_of_allocations": { - "description": "The total number of allocations this model is assigned across ML nodes.", - "type": "number" + "id": { + "$ref": "#/components/schemas/_types:Id" }, - "priority": { - "$ref": "#/components/schemas/ml._types:TrainingPriority" + "memory_usage": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsMemoryUsage" }, - "queue_capacity": { - "description": "Number of inference requests are allowed in the queue at a time.", - "type": "number" + "progress": { + "description": "The progress report of the data frame analytics job by phase.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsProgress" + } }, - "threads_per_allocation": { - "description": "Number of threads per allocation.", - "type": "number" + "state": { + "$ref": "#/components/schemas/ml._types:DataframeState" } }, "required": [ - "model_bytes", - "model_id", - "deployment_id", - "cache_size", - "number_of_allocations", - "priority", - "queue_capacity", - "threads_per_allocation" + "data_counts", + "id", + "memory_usage", + "progress", + "state" ] }, - "ml._types:AnalysisMemoryLimit": { + "ml._types:DataframeAnalyticsStatsContainer": { "type": "object", "properties": { - "model_memory_limit": { - "description": "Limits can be applied for the resources required to hold the mathematical models in memory. These limits are approximate and can be set per job. They do not control the memory used by other processes, for example the Elasticsearch Java processes.", - "type": "string" + "classification_stats": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsHyperparameters" + }, + "outlier_detection_stats": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsOutlierDetection" + }, + "regression_stats": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsHyperparameters" } }, - "required": [ - "model_memory_limit" - ] + "minProperties": 1, + "maxProperties": 1 }, - "_global.msearch:MultiSearchResult": { + "ml._types:DataframeAnalyticsStatsHyperparameters": { "type": "object", "properties": { - "took": { + "hyperparameters": { + "$ref": "#/components/schemas/ml._types:Hyperparameters" + }, + "iteration": { + "description": "The number of iterations on the analysis.", "type": "number" }, - "responses": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.msearch:ResponseItem" - } + "timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "timing_stats": { + "$ref": "#/components/schemas/ml._types:TimingStats" + }, + "validation_loss": { + "$ref": "#/components/schemas/ml._types:ValidationLoss" } }, "required": [ - "took", - "responses" - ] - }, - "_global.msearch_template:RequestItem": { - "oneOf": [ - { - "$ref": "#/components/schemas/_global.msearch:MultisearchHeader" - }, - { - "$ref": "#/components/schemas/_global.msearch_template:TemplateConfig" - } + "hyperparameters", + "iteration", + "timestamp", + "timing_stats", + "validation_loss" ] }, - "_global.msearch_template:TemplateConfig": { + "ml._types:Hyperparameters": { "type": "object", "properties": { - "explain": { - "description": "If `true`, returns detailed information about score calculation as part of each hit.", - "type": "boolean" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" + "alpha": { + "description": "Advanced configuration option.\nMachine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly.\nThis parameter affects loss calculations by acting as a multiplier of the tree depth.\nHigher alpha values result in shallower trees and faster training times.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than or equal to zero.", + "type": "number" }, - "params": { - "description": "Key-value pairs used to replace Mustache variables in the template.\nThe key is the variable name.\nThe value is the variable value.", - "type": "object", - "additionalProperties": { - "type": "object" - } + "lambda": { + "description": "Advanced configuration option.\nRegularization parameter to prevent overfitting on the training data set.\nMultiplies an L2 regularization term which applies to leaf weights of the individual trees in the forest.\nA high lambda value causes training to favor small leaf weights.\nThis behavior makes the prediction function smoother at the expense of potentially not being able to capture relevant relationships between the features and the dependent variable.\nA small lambda value results in large individual trees and slower training.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be a nonnegative value.", + "type": "number" }, - "profile": { - "description": "If `true`, the query execution is profiled.", - "type": "boolean" + "gamma": { + "description": "Advanced configuration option.\nRegularization parameter to prevent overfitting on the training data set.\nMultiplies a linear penalty associated with the size of individual trees in the forest.\nA high gamma value causes training to prefer small trees.\nA small gamma value results in larger individual trees and slower training.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be a nonnegative value.", + "type": "number" }, - "source": { - "description": "An inline search template. Supports the same parameters as the search API's\nrequest body. Also supports Mustache variables. If no id is specified, this\nparameter is required.", - "type": "string" - } - } - }, - "_global.mtermvectors:Operation": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" + "eta": { + "description": "Advanced configuration option.\nThe shrinkage applied to the weights.\nSmaller values result in larger forests which have a better generalization error.\nHowever, larger forests cause slower training.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be a value between `0.001` and `1`.", + "type": "number" }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" + "eta_growth_rate_per_tree": { + "description": "Advanced configuration option.\nSpecifies the rate at which `eta` increases for each new tree that is added to the forest.\nFor example, a rate of 1.05 increases `eta` by 5% for each extra tree.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be between `0.5` and `2`.", + "type": "number" }, - "doc": { - "description": "An artificial document (a document not present in the index) for which you want to retrieve term vectors.", - "type": "object" + "feature_bag_fraction": { + "description": "Advanced configuration option.\nDefines the fraction of features that will be used when selecting a random bag for each candidate split.\nBy default, this value is calculated during hyperparameter optimization.", + "type": "number" }, - "fields": { - "$ref": "#/components/schemas/_types:Fields" + "downsample_factor": { + "description": "Advanced configuration option.\nControls the fraction of data that is used to compute the derivatives of the loss function for tree training.\nA small value results in the use of a small fraction of the data.\nIf this value is set to be less than 1, accuracy typically improves.\nHowever, too small a value may result in poor convergence for the ensemble and so require more trees.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than zero and less than or equal to 1.", + "type": "number" }, - "field_statistics": { - "description": "If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies.", - "type": "boolean" + "max_attempts_to_add_tree": { + "description": "If the algorithm fails to determine a non-trivial tree (more than a single leaf), this parameter determines how many of such consecutive failures are tolerated.\nOnce the number of attempts exceeds the threshold, the forest training stops.", + "type": "number" }, - "filter": { - "$ref": "#/components/schemas/_global.termvectors:Filter" + "max_optimization_rounds_per_hyperparameter": { + "description": "Advanced configuration option.\nA multiplier responsible for determining the maximum number of hyperparameter optimization steps in the Bayesian optimization procedure.\nThe maximum number of steps is determined based on the number of undefined hyperparameters times the maximum optimization rounds per hyperparameter.\nBy default, this value is calculated during hyperparameter optimization.", + "type": "number" }, - "offsets": { - "description": "If `true`, the response includes term offsets.", - "type": "boolean" + "max_trees": { + "description": "Advanced configuration option.\nDefines the maximum number of decision trees in the forest.\nThe maximum value is 2000.\nBy default, this value is calculated during hyperparameter optimization.", + "type": "number" }, - "payloads": { - "description": "If `true`, the response includes term payloads.", - "type": "boolean" + "num_folds": { + "description": "The maximum number of folds for the cross-validation procedure.", + "type": "number" }, - "positions": { - "description": "If `true`, the response includes term positions.", - "type": "boolean" + "num_splits_per_feature": { + "description": "Determines the maximum number of splits for every feature that can occur in a decision tree when the tree is trained.", + "type": "number" }, - "routing": { - "$ref": "#/components/schemas/_types:Routing" + "soft_tree_depth_limit": { + "description": "Advanced configuration option.\nMachine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly.\nThis soft limit combines with the `soft_tree_depth_tolerance` to penalize trees that exceed the specified depth; the regularized loss increases quickly beyond this depth.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than or equal to 0.", + "type": "number" }, - "term_statistics": { - "description": "If true, the response includes term frequency and document frequency.", - "type": "boolean" + "soft_tree_depth_tolerance": { + "description": "Advanced configuration option.\nThis option controls how quickly the regularized loss increases when the tree depth exceeds `soft_tree_depth_limit`.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than or equal to 0.01.", + "type": "number" + } + } + }, + "ml._types:TimingStats": { + "type": "object", + "properties": { + "elapsed_time": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" + "iteration_time": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + } + }, + "required": [ + "elapsed_time" + ] + }, + "ml._types:ValidationLoss": { + "type": "object", + "properties": { + "fold_values": { + "description": "Validation loss values for every added decision tree during the forest growing procedure.", + "type": "array", + "items": { + "type": "string" + } }, - "version_type": { - "$ref": "#/components/schemas/_types:VersionType" + "loss_type": { + "description": "The type of the loss metric. For example, binomial_logistic.", + "type": "string" } }, "required": [ - "_id" + "fold_values", + "loss_type" ] }, - "_global.termvectors:Filter": { + "ml._types:DataframeAnalyticsStatsOutlierDetection": { "type": "object", "properties": { - "max_doc_freq": { - "description": "Ignore words which occur in more than this many docs.\nDefaults to unbounded.", - "type": "number" + "parameters": { + "$ref": "#/components/schemas/ml._types:OutlierDetectionParameters" }, - "max_num_terms": { - "description": "Maximum number of terms that must be returned per field.", - "type": "number" + "timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" }, - "max_term_freq": { - "description": "Ignore words with more than this frequency in the source doc.\nDefaults to unbounded.", - "type": "number" + "timing_stats": { + "$ref": "#/components/schemas/ml._types:TimingStats" + } + }, + "required": [ + "parameters", + "timestamp", + "timing_stats" + ] + }, + "ml._types:OutlierDetectionParameters": { + "type": "object", + "properties": { + "compute_feature_influence": { + "description": "Specifies whether the feature influence calculation is enabled.", + "type": "boolean" }, - "max_word_length": { - "description": "The maximum word length above which words will be ignored.\nDefaults to unbounded.", + "feature_influence_threshold": { + "description": "The minimum outlier score that a document needs to have in order to calculate its feature influence score.\nValue range: 0-1", "type": "number" }, - "min_doc_freq": { - "description": "Ignore terms which do not occur in at least this many docs.", - "type": "number" + "method": { + "description": "The method that outlier detection uses.\nAvailable methods are `lof`, `ldof`, `distance_kth_nn`, `distance_knn`, and `ensemble`.\nThe default value is ensemble, which means that outlier detection uses an ensemble of different methods and normalises and combines their individual outlier scores to obtain the overall outlier score.", + "type": "string" }, - "min_term_freq": { - "description": "Ignore words with less than this frequency in the source doc.", + "n_neighbors": { + "description": "Defines the value for how many nearest neighbors each method of outlier detection uses to calculate its outlier score.\nWhen the value is not set, different values are used for different ensemble members.\nThis default behavior helps improve the diversity in the ensemble; only override it if you are confident that the value you choose is appropriate for the data set.", "type": "number" }, - "min_word_length": { - "description": "The minimum word length below which words will be ignored.", + "outlier_fraction": { + "description": "The proportion of the data set that is assumed to be outlying prior to outlier detection.\nFor example, 0.05 means it is assumed that 5% of values are real outliers and 95% are inliers.", "type": "number" + }, + "standardization_enabled": { + "description": "If `true`, the following operation is performed on the columns before computing outlier scores: (x_i - mean(x_i)) / sd(x_i).", + "type": "boolean" } } }, - "_global.mtermvectors:TermVectorsResult": { + "ml._types:DataframeAnalyticsStatsDataCounts": { "type": "object", "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "_version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "took": { + "skipped_docs_count": { + "description": "The number of documents that are skipped during the analysis because they contained values that are not supported by the analysis. For example, outlier detection does not support missing fields so it skips documents with missing fields. Likewise, all types of analysis skip documents that contain arrays with more than one element.", "type": "number" }, - "found": { - "type": "boolean" - }, - "term_vectors": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_global.termvectors:TermVector" - } + "test_docs_count": { + "description": "The number of documents that are not used for training the model and can be used for testing.", + "type": "number" }, - "error": { - "$ref": "#/components/schemas/_types:ErrorCause" + "training_docs_count": { + "description": "The number of documents that are used for training the model.", + "type": "number" } }, "required": [ - "_id", - "_index" + "skipped_docs_count", + "test_docs_count", + "training_docs_count" ] }, - "_global.termvectors:TermVector": { + "ml._types:DataframeAnalyticsStatsMemoryUsage": { "type": "object", "properties": { - "field_statistics": { - "$ref": "#/components/schemas/_global.termvectors:FieldStatistics" + "memory_reestimate_bytes": { + "description": "This value is present when the status is hard_limit and it is a new estimate of how much memory the job needs.", + "type": "number" }, - "terms": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_global.termvectors:Term" - } + "peak_usage_bytes": { + "description": "The number of bytes used at the highest peak of memory usage.", + "type": "number" + }, + "status": { + "description": "The memory usage status.", + "type": "string" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" } }, "required": [ - "field_statistics", - "terms" + "peak_usage_bytes", + "status" ] }, - "_global.termvectors:FieldStatistics": { + "ml._types:DataframeAnalyticsStatsProgress": { "type": "object", "properties": { - "doc_count": { - "type": "number" - }, - "sum_doc_freq": { - "type": "number" + "phase": { + "description": "Defines the phase of the data frame analytics job.", + "type": "string" }, - "sum_ttf": { + "progress_percent": { + "description": "The progress that the data frame analytics job has made expressed in percentage.", "type": "number" } }, "required": [ - "doc_count", - "sum_doc_freq", - "sum_ttf" + "phase", + "progress_percent" + ] + }, + "ml._types:DataframeState": { + "type": "string", + "enum": [ + "started", + "stopped", + "starting", + "stopping", + "failed" ] }, - "_global.termvectors:Term": { + "ml._types:DatafeedStats": { "type": "object", "properties": { - "doc_freq": { - "type": "number" + "assignment_explanation": { + "description": "For started datafeeds only, contains messages relating to the selection of a node.", + "type": "string" }, - "score": { - "type": "number" + "datafeed_id": { + "$ref": "#/components/schemas/_types:Id" }, - "term_freq": { - "type": "number" + "state": { + "$ref": "#/components/schemas/ml._types:DatafeedState" }, - "tokens": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.termvectors:Token" - } + "timing_stats": { + "$ref": "#/components/schemas/ml._types:DatafeedTimingStats" }, - "ttf": { - "type": "number" + "running_state": { + "$ref": "#/components/schemas/ml._types:DatafeedRunningState" } }, "required": [ - "term_freq" + "datafeed_id", + "state", + "timing_stats" ] }, - "_global.termvectors:Token": { + "ml._types:DatafeedTimingStats": { "type": "object", "properties": { - "end_offset": { + "bucket_count": { + "description": "The number of buckets processed.", "type": "number" }, - "payload": { - "type": "string" + "exponential_average_search_time_per_hour_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" }, - "position": { - "type": "number" + "job_id": { + "$ref": "#/components/schemas/_types:Id" }, - "start_offset": { + "search_count": { + "description": "The number of searches run by the datafeed.", "type": "number" + }, + "total_search_time_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + }, + "average_search_time_per_bucket_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" } }, "required": [ - "position" + "bucket_count", + "exponential_average_search_time_per_hour_ms", + "job_id", + "search_count", + "total_search_time_ms" ] }, - "_types:ThreadType": { - "type": "string", - "enum": [ - "cpu", - "wait", - "block", - "gpu", - "mem" + "_types:DurationValueUnitFloatMillis": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:UnitFloatMillis" + } ] }, - "nodes.hot_threads:HotThread": { + "_types:UnitFloatMillis": { + "description": "Time unit for fractional milliseconds", + "type": "number" + }, + "ml._types:DatafeedRunningState": { "type": "object", "properties": { - "hosts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Host" - } - }, - "node_id": { - "$ref": "#/components/schemas/_types:Id" + "real_time_configured": { + "description": "Indicates if the datafeed is \"real-time\"; meaning that the datafeed has no configured `end` time.", + "type": "boolean" }, - "node_name": { - "$ref": "#/components/schemas/_types:Name" + "real_time_running": { + "description": "Indicates whether the datafeed has finished running on the available past data.\nFor datafeeds without a configured `end` time, this means that the datafeed is now running on \"real-time\" data.", + "type": "boolean" }, - "threads": { - "type": "array", - "items": { - "type": "string" - } + "search_interval": { + "$ref": "#/components/schemas/ml._types:RunningStateSearchInterval" } }, "required": [ - "hosts", - "node_id", - "node_name", - "threads" + "real_time_configured", + "real_time_running" ] }, - "nodes.info:ResponseBase": { - "allOf": [ - { - "$ref": "#/components/schemas/nodes._types:NodesResponseBase" + "ml._types:RunningStateSearchInterval": { + "type": "object", + "properties": { + "end": { + "$ref": "#/components/schemas/_types:Duration" }, - { - "type": "object", - "properties": { - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes.info:NodeInfo" - } - } - }, - "required": [ - "cluster_name", - "nodes" - ] + "end_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "start": { + "$ref": "#/components/schemas/_types:Duration" + }, + "start_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" } + }, + "required": [ + "end_ms", + "start_ms" ] }, - "nodes.info:NodeInfo": { + "ml._types:Datafeed": { "type": "object", "properties": { - "attributes": { + "aggregations": { "type": "object", "additionalProperties": { - "type": "string" + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" } }, - "build_flavor": { - "type": "string" - }, - "build_hash": { - "description": "Short hash of the last git commit in this release.", - "type": "string" - }, - "build_type": { - "type": "string" - }, - "host": { - "$ref": "#/components/schemas/_types:Host" - }, - "http": { - "$ref": "#/components/schemas/nodes.info:NodeInfoHttp" - }, - "ip": { - "$ref": "#/components/schemas/_types:Ip" + "authorization": { + "$ref": "#/components/schemas/ml._types:DatafeedAuthorization" }, - "jvm": { - "$ref": "#/components/schemas/nodes.info:NodeJvmInfo" + "chunking_config": { + "$ref": "#/components/schemas/ml._types:ChunkingConfig" }, - "name": { - "$ref": "#/components/schemas/_types:Name" + "datafeed_id": { + "$ref": "#/components/schemas/_types:Id" }, - "network": { - "$ref": "#/components/schemas/nodes.info:NodeInfoNetwork" + "frequency": { + "$ref": "#/components/schemas/_types:Duration" }, - "os": { - "$ref": "#/components/schemas/nodes.info:NodeOperatingSystemInfo" + "indices": { + "type": "array", + "items": { + "type": "string" + } }, - "plugins": { + "indexes": { "type": "array", "items": { - "$ref": "#/components/schemas/_types:PluginStats" + "type": "string" } }, - "process": { - "$ref": "#/components/schemas/nodes.info:NodeProcessInfo" + "job_id": { + "$ref": "#/components/schemas/_types:Id" }, - "roles": { - "$ref": "#/components/schemas/_types:NodeRoles" + "max_empty_searches": { + "type": "number" }, - "settings": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSettings" + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "query_delay": { + "$ref": "#/components/schemas/_types:Duration" }, - "thread_pool": { + "script_fields": { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/nodes.info:NodeThreadPoolInfo" + "$ref": "#/components/schemas/_types:ScriptField" } }, - "total_indexing_buffer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indexing-buffer.html" - }, - "description": "Total heap allowed to be used to hold recently indexed documents before they must be written to disk. This size is a shared pool across all shards on this node, and is controlled by Indexing Buffer settings.", + "scroll_size": { "type": "number" }, - "total_indexing_buffer_in_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "transport": { - "$ref": "#/components/schemas/nodes.info:NodeInfoTransport" - }, - "transport_address": { - "$ref": "#/components/schemas/_types:TransportAddress" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "modules": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:PluginStats" - } + "delayed_data_check_config": { + "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" }, - "ingest": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngest" + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" }, - "aggregations": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes.info:NodeInfoAggregation" - } + "indices_options": { + "$ref": "#/components/schemas/_types:IndicesOptions" } }, "required": [ - "attributes", - "build_flavor", - "build_hash", - "build_type", - "host", - "ip", - "name", - "roles", - "transport_address", - "version" + "datafeed_id", + "indices", + "job_id", + "query", + "delayed_data_check_config" ] }, - "nodes.info:NodeInfoHttp": { + "ml._types:DatafeedAuthorization": { "type": "object", "properties": { - "bound_address": { + "api_key": { + "$ref": "#/components/schemas/ml._types:ApiKeyAuthorization" + }, + "roles": { + "description": "If a user ID was used for the most recent update to the datafeed, its roles at the time of the update are listed in the response.", "type": "array", "items": { "type": "string" } }, - "max_content_length": { - "$ref": "#/components/schemas/_types:ByteSize" + "service_account": { + "description": "If a service account was used for the most recent update to the datafeed, the account name is listed in the response.", + "type": "string" + } + } + }, + "ml._types:ChunkingConfig": { + "type": "object", + "properties": { + "mode": { + "$ref": "#/components/schemas/ml._types:ChunkingMode" }, - "max_content_length_in_bytes": { - "type": "number" + "time_span": { + "$ref": "#/components/schemas/_types:Duration" + } + }, + "required": [ + "mode" + ] + }, + "ml._types:ChunkingMode": { + "type": "string", + "enum": [ + "auto", + "manual", + "off" + ] + }, + "ml._types:DelayedDataCheckConfig": { + "type": "object", + "properties": { + "check_window": { + "$ref": "#/components/schemas/_types:Duration" }, - "publish_address": { - "type": "string" + "enabled": { + "description": "Specifies whether the datafeed periodically checks for delayed data.", + "type": "boolean" } }, "required": [ - "bound_address", - "max_content_length_in_bytes", - "publish_address" + "enabled" ] }, - "nodes.info:NodeJvmInfo": { + "_types:IndicesOptions": { "type": "object", "properties": { - "gc_collectors": { - "type": "array", - "items": { - "type": "string" - } + "allow_no_indices": { + "description": "If false, the request returns an error if any wildcard expression, index alias, or `_all` value targets only\nmissing or closed indices. This behavior applies even if the request targets other open indices. For example,\na request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", + "type": "boolean" }, - "mem": { - "$ref": "#/components/schemas/nodes.info:NodeInfoJvmMemory" + "expand_wildcards": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "ignore_unavailable": { + "description": "If true, missing or closed indices are not included in the response.", + "type": "boolean" + }, + "ignore_throttled": { + "description": "If true, concrete, expanded or aliased indices are ignored when frozen.", + "type": "boolean" + } + } + }, + "ml._types:Filter": { + "type": "object", + "properties": { + "description": { + "description": "A description of the filter.", + "type": "string" + }, + "filter_id": { + "$ref": "#/components/schemas/_types:Id" }, - "memory_pools": { + "items": { + "description": "An array of strings which is the filter item list.", "type": "array", "items": { "type": "string" } + } + }, + "required": [ + "filter_id", + "items" + ] + }, + "ml._types:JobStats": { + "type": "object", + "properties": { + "assignment_explanation": { + "description": "For open anomaly detection jobs only, contains messages relating to the selection of a node to run the job.", + "type": "string" }, - "pid": { - "type": "number" - }, - "start_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" + "data_counts": { + "$ref": "#/components/schemas/ml._types:DataCounts" }, - "vm_name": { - "$ref": "#/components/schemas/_types:Name" + "forecasts_stats": { + "$ref": "#/components/schemas/ml._types:JobForecastStatistics" }, - "vm_vendor": { + "job_id": { + "description": "Identifier for the anomaly detection job.", "type": "string" }, - "vm_version": { - "$ref": "#/components/schemas/_types:VersionString" + "model_size_stats": { + "$ref": "#/components/schemas/ml._types:ModelSizeStats" }, - "using_bundled_jdk": { - "type": "boolean" + "open_time": { + "$ref": "#/components/schemas/_types:DateTime" }, - "using_compressed_ordinary_object_pointers": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] + "state": { + "$ref": "#/components/schemas/ml._types:JobState" }, - "input_arguments": { - "type": "array", - "items": { - "type": "string" - } + "timing_stats": { + "$ref": "#/components/schemas/ml._types:JobTimingStats" + }, + "deleting": { + "description": "Indicates that the process of deleting the job is in progress but not yet completed. It is only reported when `true`.", + "type": "boolean" } }, "required": [ - "gc_collectors", - "mem", - "memory_pools", - "pid", - "start_time_in_millis", - "version", - "vm_name", - "vm_vendor", - "vm_version", - "using_bundled_jdk", - "input_arguments" + "data_counts", + "forecasts_stats", + "job_id", + "model_size_stats", + "state", + "timing_stats" ] }, - "nodes.info:NodeInfoJvmMemory": { + "ml._types:DataCounts": { "type": "object", "properties": { - "direct_max": { - "$ref": "#/components/schemas/_types:ByteSize" + "bucket_count": { + "type": "number" }, - "direct_max_in_bytes": { + "earliest_record_timestamp": { "type": "number" }, - "heap_init": { - "$ref": "#/components/schemas/_types:ByteSize" + "empty_bucket_count": { + "type": "number" }, - "heap_init_in_bytes": { + "input_bytes": { "type": "number" }, - "heap_max": { - "$ref": "#/components/schemas/_types:ByteSize" + "input_field_count": { + "type": "number" }, - "heap_max_in_bytes": { + "input_record_count": { "type": "number" }, - "non_heap_init": { - "$ref": "#/components/schemas/_types:ByteSize" + "invalid_date_count": { + "type": "number" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" }, - "non_heap_init_in_bytes": { + "last_data_time": { "type": "number" }, - "non_heap_max": { - "$ref": "#/components/schemas/_types:ByteSize" + "latest_empty_bucket_timestamp": { + "type": "number" + }, + "latest_record_timestamp": { + "type": "number" + }, + "latest_sparse_bucket_timestamp": { + "type": "number" + }, + "latest_bucket_timestamp": { + "type": "number" + }, + "log_time": { + "type": "number" + }, + "missing_field_count": { + "type": "number" + }, + "out_of_order_timestamp_count": { + "type": "number" + }, + "processed_field_count": { + "type": "number" + }, + "processed_record_count": { + "type": "number" }, - "non_heap_max_in_bytes": { + "sparse_bucket_count": { "type": "number" } }, "required": [ - "direct_max_in_bytes", - "heap_init_in_bytes", - "heap_max_in_bytes", - "non_heap_init_in_bytes", - "non_heap_max_in_bytes" + "bucket_count", + "empty_bucket_count", + "input_bytes", + "input_field_count", + "input_record_count", + "invalid_date_count", + "job_id", + "missing_field_count", + "out_of_order_timestamp_count", + "processed_field_count", + "processed_record_count", + "sparse_bucket_count" ] }, - "nodes.info:NodeInfoNetwork": { + "ml._types:JobForecastStatistics": { "type": "object", "properties": { - "primary_interface": { - "$ref": "#/components/schemas/nodes.info:NodeInfoNetworkInterface" + "memory_bytes": { + "$ref": "#/components/schemas/ml._types:JobStatistics" }, - "refresh_interval": { + "processing_time_ms": { + "$ref": "#/components/schemas/ml._types:JobStatistics" + }, + "records": { + "$ref": "#/components/schemas/ml._types:JobStatistics" + }, + "status": { + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "total": { + "type": "number" + }, + "forecasted_jobs": { "type": "number" } }, "required": [ - "primary_interface", - "refresh_interval" + "total", + "forecasted_jobs" ] }, - "nodes.info:NodeInfoNetworkInterface": { + "ml._types:JobStatistics": { "type": "object", "properties": { - "address": { - "type": "string" + "avg": { + "type": "number" }, - "mac_address": { - "type": "string" + "max": { + "type": "number" }, - "name": { - "$ref": "#/components/schemas/_types:Name" + "min": { + "type": "number" + }, + "total": { + "type": "number" } }, "required": [ - "address", - "mac_address", - "name" + "avg", + "max", + "min", + "total" ] }, - "nodes.info:NodeOperatingSystemInfo": { + "ml._types:ModelSizeStats": { "type": "object", "properties": { - "arch": { - "description": "Name of the JVM architecture (ex: amd64, x86)", - "type": "string" - }, - "available_processors": { - "description": "Number of processors available to the Java virtual machine", - "type": "number" - }, - "allocated_processors": { - "description": "The number of processors actually used to calculate thread pool size. This number can be set with the node.processors setting of a node and defaults to the number of processors reported by the OS.", + "bucket_allocation_failures_count": { "type": "number" }, - "name": { - "$ref": "#/components/schemas/_types:Name" + "job_id": { + "$ref": "#/components/schemas/_types:Id" }, - "pretty_name": { - "$ref": "#/components/schemas/_types:Name" + "log_time": { + "$ref": "#/components/schemas/_types:DateTime" }, - "refresh_interval_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "memory_status": { + "$ref": "#/components/schemas/ml._types:MemoryStatus" }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" + "model_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" }, - "cpu": { - "$ref": "#/components/schemas/nodes.info:NodeInfoOSCPU" + "model_bytes_exceeded": { + "$ref": "#/components/schemas/_types:ByteSize" }, - "mem": { - "$ref": "#/components/schemas/nodes.info:NodeInfoMemory" + "model_bytes_memory_limit": { + "$ref": "#/components/schemas/_types:ByteSize" }, - "swap": { - "$ref": "#/components/schemas/nodes.info:NodeInfoMemory" - } - }, - "required": [ - "arch", - "available_processors", - "name", - "pretty_name", - "refresh_interval_in_millis", - "version" - ] - }, - "nodes.info:NodeInfoOSCPU": { - "type": "object", - "properties": { - "cache_size": { + "peak_model_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "assignment_memory_basis": { + "type": "string" + }, + "result_type": { "type": "string" }, - "cache_size_in_bytes": { + "total_by_field_count": { "type": "number" }, - "cores_per_socket": { + "total_over_field_count": { "type": "number" }, - "mhz": { + "total_partition_field_count": { "type": "number" }, - "model": { - "type": "string" + "categorization_status": { + "$ref": "#/components/schemas/ml._types:CategorizationStatus" }, - "total_cores": { + "categorized_doc_count": { "type": "number" }, - "total_sockets": { + "dead_category_count": { "type": "number" }, - "vendor": { - "type": "string" - } - }, - "required": [ - "cache_size", - "cache_size_in_bytes", - "cores_per_socket", - "mhz", - "model", - "total_cores", - "total_sockets", - "vendor" - ] - }, - "nodes.info:NodeInfoMemory": { - "type": "object", - "properties": { - "total": { - "type": "string" + "failed_category_count": { + "type": "number" }, - "total_in_bytes": { + "frequent_category_count": { + "type": "number" + }, + "rare_category_count": { + "type": "number" + }, + "total_category_count": { + "type": "number" + }, + "timestamp": { "type": "number" } }, "required": [ - "total", - "total_in_bytes" + "bucket_allocation_failures_count", + "job_id", + "log_time", + "memory_status", + "model_bytes", + "result_type", + "total_by_field_count", + "total_over_field_count", + "total_partition_field_count", + "categorization_status", + "categorized_doc_count", + "dead_category_count", + "failed_category_count", + "frequent_category_count", + "rare_category_count", + "total_category_count" ] }, - "nodes.info:NodeProcessInfo": { + "ml._types:JobTimingStats": { "type": "object", "properties": { - "id": { - "description": "Process identifier (PID)", + "average_bucket_processing_time_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + }, + "bucket_count": { "type": "number" }, - "mlockall": { - "description": "Indicates if the process address space has been successfully locked in memory", - "type": "boolean" + "exponential_average_bucket_processing_time_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" }, - "refresh_interval_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "exponential_average_bucket_processing_time_per_hour_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "total_bucket_processing_time_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + }, + "maximum_bucket_processing_time_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" + }, + "minimum_bucket_processing_time_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" } }, "required": [ - "id", - "mlockall", - "refresh_interval_in_millis" - ] - }, - "_types:NodeRoles": { - "description": "* @doc_id node-roles", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:NodeRole" - } - }, - "_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" + "bucket_count", + "exponential_average_bucket_processing_time_per_hour_ms", + "job_id", + "total_bucket_processing_time_ms" ] }, - "nodes.info:NodeInfoSettings": { + "ml._types:Job": { "type": "object", "properties": { - "cluster": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsCluster" + "allow_lazy_open": { + "description": "Advanced configuration option.\nSpecifies whether this job can open when there is insufficient machine learning node capacity for it to be immediately assigned to a node.", + "type": "boolean" }, - "node": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsNode" + "analysis_config": { + "$ref": "#/components/schemas/ml._types:AnalysisConfig" }, - "path": { - "$ref": "#/components/schemas/nodes.info:NodeInfoPath" + "analysis_limits": { + "$ref": "#/components/schemas/ml._types:AnalysisLimits" }, - "repositories": { - "$ref": "#/components/schemas/nodes.info:NodeInfoRepositories" + "background_persist_interval": { + "$ref": "#/components/schemas/_types:Duration" }, - "discovery": { - "$ref": "#/components/schemas/nodes.info:NodeInfoDiscover" + "blocked": { + "$ref": "#/components/schemas/ml._types:JobBlocked" }, - "action": { - "$ref": "#/components/schemas/nodes.info:NodeInfoAction" + "create_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "custom_settings": { + "$ref": "#/components/schemas/ml._types:CustomSettings" + }, + "daily_model_snapshot_retention_after_days": { + "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies a period of time (in days) after which only the first snapshot per day is retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.\nValid values range from 0 to `model_snapshot_retention_days`.", + "type": "number" + }, + "data_description": { + "$ref": "#/components/schemas/ml._types:DataDescription" }, - "client": { - "$ref": "#/components/schemas/nodes.info:NodeInfoClient" + "datafeed_config": { + "$ref": "#/components/schemas/ml._types:Datafeed" }, - "http": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsHttp" + "deleting": { + "description": "Indicates that the process of deleting the job is in progress but not yet completed.\nIt is only reported when `true`.", + "type": "boolean" }, - "bootstrap": { - "$ref": "#/components/schemas/nodes.info:NodeInfoBootstrap" + "description": { + "description": "A description of the job.", + "type": "string" }, - "transport": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsTransport" + "finished_time": { + "$ref": "#/components/schemas/_types:DateTime" }, - "network": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsNetwork" + "groups": { + "description": "A list of job groups.\nA job can belong to no groups or many.", + "type": "array", + "items": { + "type": "string" + } }, - "xpack": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpack" + "job_id": { + "$ref": "#/components/schemas/_types:Id" }, - "script": { - "$ref": "#/components/schemas/nodes.info:NodeInfoScript" + "job_type": { + "description": "Reserved for future use, currently set to `anomaly_detector`.", + "type": "string" }, - "search": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSearch" + "job_version": { + "$ref": "#/components/schemas/_types:VersionString" }, - "ingest": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsIngest" - } - }, - "required": [ - "cluster", - "node", - "path", - "client", - "http", - "transport" - ] - }, - "nodes.info:NodeInfoSettingsCluster": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" + "model_plot_config": { + "$ref": "#/components/schemas/ml._types:ModelPlotConfig" }, - "routing": { - "$ref": "#/components/schemas/indices._types:IndexRouting" + "model_snapshot_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "model_snapshot_retention_days": { + "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies the maximum period of time (in days) that snapshots are retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.\nBy default, snapshots ten days older than the newest snapshot are deleted.", + "type": "number" }, - "election": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsClusterElection" + "renormalization_window_days": { + "description": "Advanced configuration option.\nThe period over which adjustments to the score are applied, as new data is seen.\nThe default value is the longer of 30 days or 100 `bucket_spans`.", + "type": "number" }, - "initial_master_nodes": { - "type": "string" + "results_index_name": { + "$ref": "#/components/schemas/_types:IndexName" }, - "deprecation_indexing": { - "$ref": "#/components/schemas/nodes.info:DeprecationIndexing" + "results_retention_days": { + "description": "Advanced configuration option.\nThe period of time (in days) that results are retained.\nAge is calculated relative to the timestamp of the latest bucket result.\nIf this property has a non-null value, once per day at 00:30 (server time), results that are the specified number of days older than the latest bucket result are deleted from Elasticsearch.\nThe default value is null, which means all results are retained.\nAnnotations generated by the system also count as results for retention purposes; they are deleted after the same number of days as results.\nAnnotations added by users are retained forever.", + "type": "number" } }, "required": [ - "name", - "election" + "allow_lazy_open", + "analysis_config", + "data_description", + "job_id", + "model_snapshot_retention_days", + "results_index_name" ] }, - "nodes.info:NodeInfoSettingsClusterElection": { + "ml._types:AnalysisLimits": { "type": "object", "properties": { - "strategy": { - "$ref": "#/components/schemas/_types:Name" + "categorization_examples_limit": { + "description": "The maximum number of examples stored per category in memory and in the results data store. If you increase this value, more examples are available, however it requires that you have more storage available. If you set this value to 0, no examples are stored. NOTE: The `categorization_examples_limit` applies only to analysis that uses categorization.", + "type": "number" + }, + "model_memory_limit": { + "description": "The approximate maximum amount of memory resources that are required for analytical processing. Once this limit is approached, data pruning becomes more aggressive. Upon exceeding this limit, new entities are not modeled. If the `xpack.ml.max_model_memory_limit` setting has a value greater than 0 and less than 1024mb, that value is used instead of the default. The default value is relatively small to ensure that high resource usage is a conscious decision. If you have jobs that are expected to analyze high cardinality fields, you will likely need to use a higher value. If you specify a number instead of a string, the units are assumed to be MiB. Specifying a string is recommended for clarity. If you specify a byte size unit of `b` or `kb` and the number does not equate to a discrete number of megabytes, it is rounded down to the closest MiB. The minimum valid value is 1 MiB. If you specify a value less than 1 MiB, an error occurs. If you specify a value for the `xpack.ml.max_model_memory_limit` setting, an error occurs when you try to create jobs that have `model_memory_limit` values greater than that setting value.", + "type": "string" } - }, - "required": [ - "strategy" - ] + } }, - "nodes.info:DeprecationIndexing": { + "ml._types:JobBlocked": { "type": "object", "properties": { - "enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] + "reason": { + "$ref": "#/components/schemas/ml._types:JobBlockedReason" + }, + "task_id": { + "$ref": "#/components/schemas/_types:TaskId" } }, "required": [ - "enabled" + "reason" ] }, - "nodes.info:NodeInfoSettingsNode": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "attr": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "max_local_storage_nodes": { - "type": "string" - } - }, - "required": [ - "name", - "attr" + "ml._types:JobBlockedReason": { + "type": "string", + "enum": [ + "delete", + "reset", + "revert" ] }, - "nodes.info:NodeInfoPath": { + "ml._types:CustomSettings": { + "description": "Custom metadata about the job", + "type": "object" + }, + "ml._types:DataDescription": { "type": "object", "properties": { - "logs": { + "format": { + "description": "Only JSON format is supported at this time.", "type": "string" }, - "home": { - "type": "string" + "time_field": { + "$ref": "#/components/schemas/_types:Field" }, - "repo": { - "type": "array", - "items": { - "type": "string" - } + "time_format": { + "description": "The time format, which can be `epoch`, `epoch_ms`, or a custom pattern. The value `epoch` refers to UNIX or Epoch time (the number of seconds since 1 Jan 1970). The value `epoch_ms` indicates that time is measured in milliseconds since the epoch. The `epoch` and `epoch_ms` time formats accept either integer or real values. Custom patterns must conform to the Java DateTimeFormatter class. When you use date-time formatting patterns, it is recommended that you provide the full date, time and time zone. For example: `yyyy-MM-dd'T'HH:mm:ssX`. If the pattern that you specify is not sufficient to produce a complete timestamp, job creation fails.", + "type": "string" }, - "data": { - "type": "array", - "items": { - "type": "string" - } + "field_delimiter": { + "type": "string" } - }, - "required": [ - "logs", - "home", - "repo" - ] + } }, - "nodes.info:NodeInfoRepositories": { + "ml._types:ModelPlotConfig": { "type": "object", "properties": { - "url": { - "$ref": "#/components/schemas/nodes.info:NodeInfoRepositoriesUrl" + "annotations_enabled": { + "description": "If true, enables calculation and storage of the model change annotations for each entity that is being analyzed.", + "type": "boolean" + }, + "enabled": { + "description": "If true, enables calculation and storage of the model bounds for each entity that is being analyzed.", + "type": "boolean" + }, + "terms": { + "$ref": "#/components/schemas/_types:Field" } - }, - "required": [ - "url" - ] + } }, - "nodes.info:NodeInfoRepositoriesUrl": { + "ml._types:OverallBucket": { "type": "object", "properties": { - "allowed_urls": { + "bucket_span": { + "$ref": "#/components/schemas/_types:DurationValueUnitSeconds" + }, + "is_interim": { + "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", + "type": "boolean" + }, + "jobs": { + "description": "An array of objects that contain the max_anomaly_score per job_id.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:OverallBucketJob" + } + }, + "overall_score": { + "description": "The top_n average of the maximum bucket anomaly_score per job.", + "type": "number" + }, + "result_type": { + "description": "Internal. This is always set to overall_bucket.", "type": "string" + }, + "timestamp": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "timestamp_string": { + "$ref": "#/components/schemas/_types:DateTime" } }, "required": [ - "allowed_urls" + "bucket_span", + "is_interim", + "jobs", + "overall_score", + "result_type", + "timestamp", + "timestamp_string" ] }, - "nodes.info:NodeInfoDiscover": { - "type": "object", - "properties": { - "seed_hosts": { - "type": "string" + "_types:DurationValueUnitSeconds": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:UnitSeconds" } - }, - "required": [ - "seed_hosts" ] }, - "nodes.info:NodeInfoAction": { + "ml._types:OverallBucketJob": { "type": "object", "properties": { - "destructive_requires_name": { - "type": "string" + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "max_anomaly_score": { + "type": "number" } }, "required": [ - "destructive_requires_name" + "job_id", + "max_anomaly_score" ] }, - "nodes.info:NodeInfoClient": { - "type": "object", - "properties": { - "type": { - "type": "string" - } - }, - "required": [ - "type" + "ml._types:Include": { + "type": "string", + "enum": [ + "definition", + "feature_importance_baseline", + "hyperparameters", + "total_feature_importance", + "definition_status" ] }, - "nodes.info:NodeInfoSettingsHttp": { + "ml._types:TrainedModelConfig": { "type": "object", "properties": { - "type": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsHttpType" + "model_id": { + "$ref": "#/components/schemas/_types:Id" }, - "type.default": { - "type": "string" + "model_type": { + "$ref": "#/components/schemas/ml._types:TrainedModelType" }, - "compression": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] + "tags": { + "description": "A comma delimited string of tags. A trained model can have many tags, or none.", + "type": "array", + "items": { + "type": "string" + } }, - "port": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "type" - ] - }, - "nodes.info:NodeInfoSettingsHttpType": { - "type": "object", - "properties": { - "default": { + "version": { + "$ref": "#/components/schemas/_types:VersionString" + }, + "compressed_definition": { "type": "string" - } - }, - "required": [ - "default" - ] - }, - "nodes.info:NodeInfoBootstrap": { - "type": "object", - "properties": { - "memory_lock": { + }, + "created_by": { + "description": "Information on the creator of the trained model.", "type": "string" - } - }, - "required": [ - "memory_lock" - ] - }, - "nodes.info:NodeInfoSettingsTransport": { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsTransportType" }, - "type.default": { + "create_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "default_field_map": { + "description": "Any field map described in the inference configuration takes precedence.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "description": { + "description": "The free-text description of the trained model.", "type": "string" }, - "features": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsTransportFeatures" - } - }, - "required": [ - "type" - ] - }, - "nodes.info:NodeInfoSettingsTransportType": { - "type": "object", - "properties": { - "default": { + "estimated_heap_memory_usage_bytes": { + "description": "The estimated heap usage in bytes to keep the trained model in memory.", + "type": "number" + }, + "estimated_operations": { + "description": "The estimated number of operations to use the trained model.", + "type": "number" + }, + "fully_defined": { + "description": "True if the full model definition is present.", + "type": "boolean" + }, + "inference_config": { + "$ref": "#/components/schemas/ml._types:InferenceConfigCreateContainer" + }, + "input": { + "$ref": "#/components/schemas/ml._types:TrainedModelConfigInput" + }, + "license_level": { + "description": "The license level of the trained model.", "type": "string" + }, + "metadata": { + "$ref": "#/components/schemas/ml._types:TrainedModelConfigMetadata" + }, + "model_size_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "location": { + "$ref": "#/components/schemas/ml._types:TrainedModelLocation" } }, "required": [ - "default" + "model_id", + "tags", + "input" ] }, - "nodes.info:NodeInfoSettingsTransportFeatures": { - "type": "object", - "properties": { - "x-pack": { - "type": "string" - } - }, - "required": [ - "x-pack" + "ml._types:TrainedModelType": { + "type": "string", + "enum": [ + "tree_ensemble", + "lang_ident", + "pytorch" ] }, - "nodes.info:NodeInfoSettingsNetwork": { + "ml._types:InferenceConfigCreateContainer": { + "description": "Inference configuration provided when storing the model config", "type": "object", "properties": { - "host": { - "$ref": "#/components/schemas/_types:Host" + "regression": { + "$ref": "#/components/schemas/ml._types:RegressionInferenceOptions" + }, + "classification": { + "$ref": "#/components/schemas/ml._types:ClassificationInferenceOptions" + }, + "text_classification": { + "$ref": "#/components/schemas/ml._types:TextClassificationInferenceOptions" + }, + "zero_shot_classification": { + "$ref": "#/components/schemas/ml._types:ZeroShotClassificationInferenceOptions" + }, + "fill_mask": { + "$ref": "#/components/schemas/ml._types:FillMaskInferenceOptions" + }, + "ner": { + "$ref": "#/components/schemas/ml._types:NerInferenceOptions" + }, + "pass_through": { + "$ref": "#/components/schemas/ml._types:PassThroughInferenceOptions" + }, + "text_embedding": { + "$ref": "#/components/schemas/ml._types:TextEmbeddingInferenceOptions" + }, + "text_expansion": { + "$ref": "#/components/schemas/ml._types:TextExpansionInferenceOptions" + }, + "question_answering": { + "$ref": "#/components/schemas/ml._types:QuestionAnsweringInferenceOptions" } }, - "required": [ - "host" - ] + "minProperties": 1, + "maxProperties": 1 }, - "nodes.info:NodeInfoXpack": { + "ml._types:TextClassificationInferenceOptions": { "type": "object", "properties": { - "license": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpackLicense" + "num_top_classes": { + "description": "Specifies the number of top class predictions to return. Defaults to 0.", + "type": "number" }, - "security": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurity" + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" }, - "notification": { - "type": "object", - "additionalProperties": { - "type": "object" + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + }, + "classification_labels": { + "description": "Classification labels to apply other than the stored labels. Must have the same deminsions as the default configured labels", + "type": "array", + "items": { + "type": "string" } } - }, - "required": [ - "security" - ] - }, - "nodes.info:NodeInfoXpackLicense": { - "type": "object", - "properties": { - "self_generated": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpackLicenseType" - } - }, - "required": [ - "self_generated" - ] + } }, - "nodes.info:NodeInfoXpackLicenseType": { + "ml._types:TokenizationConfigContainer": { + "description": "Tokenization options stored in inference configuration", "type": "object", "properties": { - "type": { - "type": "string" + "bert": { + "$ref": "#/components/schemas/ml._types:NlpBertTokenizationConfig" + }, + "mpnet": { + "$ref": "#/components/schemas/ml._types:NlpBertTokenizationConfig" + }, + "roberta": { + "$ref": "#/components/schemas/ml._types:NlpRobertaTokenizationConfig" } }, - "required": [ - "type" - ] + "minProperties": 1, + "maxProperties": 1 }, - "nodes.info:NodeInfoXpackSecurity": { + "ml._types:NlpBertTokenizationConfig": { "type": "object", "properties": { - "http": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecuritySsl" + "do_lower_case": { + "description": "Should the tokenizer lower case the text", + "type": "boolean" }, - "enabled": { - "type": "string" + "with_special_tokens": { + "description": "Is tokenization completed with special tokens", + "type": "boolean" + }, + "max_sequence_length": { + "description": "Maximum input sequence length for the model", + "type": "number" }, - "transport": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecuritySsl" + "truncate": { + "$ref": "#/components/schemas/ml._types:TokenizationTruncate" }, - "authc": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthc" + "span": { + "description": "Tokenization spanning options. Special value of -1 indicates no spanning takes place", + "type": "number" } - }, - "required": [ - "http", - "enabled" - ] + } }, - "nodes.info:NodeInfoXpackSecuritySsl": { - "type": "object", - "properties": { - "ssl": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "required": [ - "ssl" + "ml._types:TokenizationTruncate": { + "type": "string", + "enum": [ + "first", + "second", + "none" ] }, - "nodes.info:NodeInfoXpackSecurityAuthc": { + "ml._types:NlpRobertaTokenizationConfig": { "type": "object", "properties": { - "realms": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthcRealms" + "add_prefix_space": { + "description": "Should the tokenizer prefix input with a space character", + "type": "boolean" }, - "token": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthcToken" - } - }, - "required": [ - "realms", - "token" - ] - }, - "nodes.info:NodeInfoXpackSecurityAuthcRealms": { - "type": "object", - "properties": { - "file": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthcRealmsStatus" - } + "with_special_tokens": { + "description": "Is tokenization completed with special tokens", + "type": "boolean" }, - "native": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthcRealmsStatus" - } + "max_sequence_length": { + "description": "Maximum input sequence length for the model", + "type": "number" }, - "pki": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthcRealmsStatus" - } + "truncate": { + "$ref": "#/components/schemas/ml._types:TokenizationTruncate" + }, + "span": { + "description": "Tokenization spanning options. Special value of -1 indicates no spanning takes place", + "type": "number" } } }, - "nodes.info:NodeInfoXpackSecurityAuthcRealmsStatus": { + "ml._types:ZeroShotClassificationInferenceOptions": { "type": "object", "properties": { - "enabled": { + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + }, + "hypothesis_template": { + "description": "Hypothesis template used when tokenizing labels for prediction", "type": "string" }, - "order": { + "classification_labels": { + "description": "The zero shot classification labels indicating entailment, neutral, and contradiction\nMust contain exactly and only entailment, neutral, and contradiction", + "type": "array", + "items": { + "type": "string" + } + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "type": "string" + }, + "multi_label": { + "description": "Indicates if more than one true label exists.", + "type": "boolean" + }, + "labels": { + "description": "The labels to predict.", + "type": "array", + "items": { + "type": "string" + } } }, "required": [ - "order" + "classification_labels" ] }, - "nodes.info:NodeInfoXpackSecurityAuthcToken": { + "ml._types:FillMaskInferenceOptions": { "type": "object", "properties": { - "enabled": { + "mask_token": { + "description": "The string/token which will be removed from incoming documents and replaced with the inference prediction(s).\nIn a response, this field contains the mask token for the specified model/tokenizer. Each model and tokenizer\nhas a predefined mask token which cannot be changed. Thus, it is recommended not to set this value in requests.\nHowever, if this field is present in a request, its value must match the predefined value for that model/tokenizer,\notherwise the request will fail.", + "type": "string" + }, + "num_top_classes": { + "description": "Specifies the number of top class predictions to return. Defaults to 0.", + "type": "number" + }, + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "type": "string" } - }, - "required": [ - "enabled" - ] + } }, - "nodes.info:NodeInfoScript": { + "ml._types:NerInferenceOptions": { "type": "object", "properties": { - "allowed_types": { - "type": "string" + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" }, - "disable_max_compilations_rate": { + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "type": "string" + }, + "classification_labels": { + "description": "The token classification labels. Must be IOB formatted tags", + "type": "array", + "items": { + "type": "string" + } + }, + "vocabulary": { + "$ref": "#/components/schemas/ml._types:Vocabulary" } - }, - "required": [ - "allowed_types", - "disable_max_compilations_rate" - ] + } }, - "nodes.info:NodeInfoSearch": { + "ml._types:Vocabulary": { "type": "object", "properties": { - "remote": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSearchRemote" + "index": { + "$ref": "#/components/schemas/_types:IndexName" } }, "required": [ - "remote" + "index" ] }, - "nodes.info:NodeInfoSearchRemote": { + "ml._types:PassThroughInferenceOptions": { "type": "object", "properties": { - "connect": { + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "type": "string" + }, + "vocabulary": { + "$ref": "#/components/schemas/ml._types:Vocabulary" } - }, - "required": [ - "connect" - ] + } }, - "nodes.info:NodeInfoSettingsIngest": { + "ml._types:TextEmbeddingInferenceOptions": { "type": "object", "properties": { - "attachment": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "append": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "csv": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "convert": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "date": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "date_index_name": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "dot_expander": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "enrich": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "fail": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "foreach": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "json": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "user_agent": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "kv": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "geoip": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "grok": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "gsub": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "join": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "lowercase": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "remove": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "rename": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "script": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "set": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "sort": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "split": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "trim": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "uppercase": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "urldecode": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "bytes": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "dissect": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "set_security_user": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "pipeline": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "drop": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + "embedding_size": { + "description": "The number of dimensions in the embedding output", + "type": "number" }, - "circle": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" }, - "inference": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" } } }, - "nodes.info:NodeInfoIngestInfo": { - "type": "object", - "properties": { - "downloader": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestDownloader" - } - }, - "required": [ - "downloader" - ] - }, - "nodes.info:NodeInfoIngestDownloader": { + "ml._types:TextExpansionInferenceOptions": { "type": "object", "properties": { - "enabled": { + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "type": "string" } - }, - "required": [ - "enabled" - ] + } }, - "nodes.info:NodeThreadPoolInfo": { + "ml._types:QuestionAnsweringInferenceOptions": { "type": "object", "properties": { - "core": { + "num_top_classes": { + "description": "Specifies the number of top class predictions to return. Defaults to 0.", "type": "number" }, - "keep_alive": { - "$ref": "#/components/schemas/_types:Duration" - }, - "max": { - "type": "number" + "tokenization": { + "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" }, - "queue_size": { - "type": "number" + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" }, - "size": { + "max_answer_length": { + "description": "The maximum answer length to consider", "type": "number" - }, - "type": { - "type": "string" + } + } + }, + "ml._types:TrainedModelConfigInput": { + "type": "object", + "properties": { + "field_names": { + "description": "An array of input field names for the model.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } } }, "required": [ - "queue_size", - "type" + "field_names" ] }, - "nodes.info:NodeInfoTransport": { + "ml._types:TrainedModelConfigMetadata": { "type": "object", "properties": { - "bound_address": { + "model_aliases": { "type": "array", "items": { "type": "string" } }, - "publish_address": { - "type": "string" - }, - "profiles": { + "feature_importance_baseline": { + "description": "An object that contains the baseline for feature importance values. For regression analysis, it is a single value. For classification analysis, there is a value for each class.", "type": "object", "additionalProperties": { "type": "string" } - } - }, - "required": [ - "bound_address", - "publish_address", - "profiles" - ] - }, - "nodes.info:NodeInfoIngest": { - "type": "object", - "properties": { - "processors": { + }, + "hyperparameters": { + "description": "List of the available hyperparameters optimized during the fine_parameter_tuning phase as well as specified by the user.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:Hyperparameter" + } + }, + "total_feature_importance": { + "description": "An array of the total feature importance for each feature used from the training data set. This array of objects is returned if data frame analytics trained the model and the request includes total_feature_importance in the include request parameter.", "type": "array", "items": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestProcessor" + "$ref": "#/components/schemas/ml._types:TotalFeatureImportance" } } - }, - "required": [ - "processors" - ] + } }, - "nodes.info:NodeInfoIngestProcessor": { + "ml._types:Hyperparameter": { "type": "object", "properties": { - "type": { - "type": "string" + "absolute_importance": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/machine-learning/current/dfa-regression-lossfunction.html" + }, + "description": "A positive number showing how much the parameter influences the variation of the loss function. For hyperparameters with values that are not specified by the user but tuned during hyperparameter optimization.", + "type": "number" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "relative_importance": { + "description": "A number between 0 and 1 showing the proportion of influence on the variation of the loss function among all tuned hyperparameters. For hyperparameters with values that are not specified by the user but tuned during hyperparameter optimization.", + "type": "number" + }, + "supplied": { + "description": "Indicates if the hyperparameter is specified by the user (true) or optimized (false).", + "type": "boolean" + }, + "value": { + "description": "The value of the hyperparameter, either optimized or specified by the user.", + "type": "number" } }, "required": [ - "type" + "name", + "supplied", + "value" ] }, - "nodes.info:NodeInfoAggregation": { + "ml._types:TotalFeatureImportance": { "type": "object", "properties": { - "types": { + "feature_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "importance": { + "description": "A collection of feature importance statistics related to the training data set for this particular feature.", "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/ml._types:TotalFeatureImportanceStatistics" + } + }, + "classes": { + "description": "If the trained model is a classification model, feature importance statistics are gathered per target class value.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TotalFeatureImportanceClass" } } }, "required": [ - "types" - ] - }, - "nodes.stats:ResponseBase": { - "allOf": [ - { - "$ref": "#/components/schemas/nodes._types:NodesResponseBase" - }, - { - "type": "object", - "properties": { - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:Stats" - } - } - }, - "required": [ - "nodes" - ] - } + "feature_name", + "importance", + "classes" ] }, - "nodes._types:Stats": { + "ml._types:TotalFeatureImportanceStatistics": { "type": "object", "properties": { - "adaptive_selection": { - "description": "Statistics about adaptive replica selection.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:AdaptiveSelection" - } - }, - "breakers": { - "description": "Statistics about the field data circuit breaker.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:Breaker" - } - }, - "fs": { - "$ref": "#/components/schemas/nodes._types:FileSystem" - }, - "host": { - "$ref": "#/components/schemas/_types:Host" - }, - "http": { - "$ref": "#/components/schemas/nodes._types:Http" - }, - "ingest": { - "$ref": "#/components/schemas/nodes._types:Ingest" - }, - "ip": { - "description": "IP address and port for the node.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Ip" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Ip" - } - } - ] - }, - "jvm": { - "$ref": "#/components/schemas/nodes._types:Jvm" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "os": { - "$ref": "#/components/schemas/nodes._types:OperatingSystem" - }, - "process": { - "$ref": "#/components/schemas/nodes._types:Process" - }, - "roles": { - "$ref": "#/components/schemas/_types:NodeRoles" - }, - "script": { - "$ref": "#/components/schemas/nodes._types:Scripting" - }, - "script_cache": { - "type": "object", - "additionalProperties": { - "oneOf": [ - { - "$ref": "#/components/schemas/nodes._types:ScriptCache" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/nodes._types:ScriptCache" - } - } - ] - } + "mean_magnitude": { + "description": "The average magnitude of this feature across all the training data. This value is the average of the absolute values of the importance for this feature.", + "type": "number" }, - "thread_pool": { - "description": "Statistics about each thread pool, including current size, queue and rejected tasks.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:ThreadCount" - } + "max": { + "description": "The maximum importance value across all the training data for this feature.", + "type": "number" }, - "timestamp": { + "min": { + "description": "The minimum importance value across all the training data for this feature.", "type": "number" + } + }, + "required": [ + "mean_magnitude", + "max", + "min" + ] + }, + "ml._types:TotalFeatureImportanceClass": { + "type": "object", + "properties": { + "class_name": { + "$ref": "#/components/schemas/_types:Name" }, - "transport": { - "$ref": "#/components/schemas/nodes._types:Transport" + "importance": { + "description": "A collection of feature importance statistics related to the training data set for this particular feature.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TotalFeatureImportanceStatistics" + } + } + }, + "required": [ + "class_name", + "importance" + ] + }, + "ml._types:TrainedModelLocation": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/ml._types:TrainedModelLocationIndex" + } + }, + "required": [ + "index" + ] + }, + "ml._types:TrainedModelLocationIndex": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "required": [ + "name" + ] + }, + "ml._types:TrainedModelStats": { + "type": "object", + "properties": { + "deployment_stats": { + "$ref": "#/components/schemas/ml._types:TrainedModelDeploymentStats" }, - "transport_address": { - "$ref": "#/components/schemas/_types:TransportAddress" + "inference_stats": { + "$ref": "#/components/schemas/ml._types:TrainedModelInferenceStats" }, - "attributes": { - "description": "Contains a list of attributes for the node.", + "ingest": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" + }, + "description": "A collection of ingest stats for the model across all nodes.\nThe values are summations of the individual node statistics.\nThe format matches the ingest section in the nodes stats API.", "type": "object", "additionalProperties": { - "type": "string" + "type": "object" } }, - "discovery": { - "$ref": "#/components/schemas/nodes._types:Discovery" + "model_id": { + "$ref": "#/components/schemas/_types:Id" }, - "indexing_pressure": { - "$ref": "#/components/schemas/nodes._types:IndexingPressure" + "model_size_stats": { + "$ref": "#/components/schemas/ml._types:TrainedModelSizeStats" }, - "indices": { - "$ref": "#/components/schemas/indices.stats:ShardStats" + "pipeline_count": { + "description": "The number of ingest pipelines that currently refer to the model.", + "type": "number" } - } + }, + "required": [ + "model_id", + "model_size_stats", + "pipeline_count" + ] }, - "nodes._types:AdaptiveSelection": { + "ml._types:TrainedModelDeploymentStats": { "type": "object", "properties": { - "avg_queue_size": { - "description": "The exponentially weighted moving average queue size of search requests on the keyed node.", - "type": "number" + "allocation_status": { + "$ref": "#/components/schemas/ml._types:TrainedModelDeploymentAllocationStatus" }, - "avg_response_time": { - "$ref": "#/components/schemas/_types:Duration" + "cache_size": { + "$ref": "#/components/schemas/_types:ByteSize" }, - "avg_response_time_ns": { - "description": "The exponentially weighted moving average response time, in nanoseconds, of search requests on the keyed node.", - "type": "number" + "deployment_id": { + "$ref": "#/components/schemas/_types:Id" }, - "avg_service_time": { - "$ref": "#/components/schemas/_types:Duration" + "error_count": { + "description": "The sum of `error_count` for all nodes in the deployment.", + "type": "number" }, - "avg_service_time_ns": { - "description": "The exponentially weighted moving average service time, in nanoseconds, of search requests on the keyed node.", + "inference_count": { + "description": "The sum of `inference_count` for all nodes in the deployment.", "type": "number" }, - "outgoing_searches": { - "description": "The number of outstanding search requests to the keyed node from the node these stats are for.", + "model_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "nodes": { + "$ref": "#/components/schemas/ml._types:TrainedModelDeploymentNodesStats" + }, + "number_of_allocations": { + "description": "The number of allocations requested.", "type": "number" }, - "rank": { - "description": "The rank of this node; used for shard selection when routing search requests.", - "type": "string" - } - } - }, - "nodes._types:Breaker": { - "type": "object", - "properties": { - "estimated_size": { - "description": "Estimated memory used for the operation.", - "type": "string" + "queue_capacity": { + "description": "The number of inference requests that can be queued before new requests are rejected.", + "type": "number" }, - "estimated_size_in_bytes": { - "description": "Estimated memory used, in bytes, for the operation.", + "rejected_execution_count": { + "description": "The sum of `rejected_execution_count` for all nodes in the deployment.\nIndividual nodes reject an inference request if the inference queue is full.\nThe queue size is controlled by the `queue_capacity` setting in the start\ntrained model deployment API.", "type": "number" }, - "limit_size": { - "description": "Memory limit for the circuit breaker.", + "reason": { + "description": "The reason for the current deployment state. Usually only populated when\nthe model is not deployed to a node.", "type": "string" }, - "limit_size_in_bytes": { - "description": "Memory limit, in bytes, for the circuit breaker.", - "type": "number" + "start_time": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "state": { + "$ref": "#/components/schemas/ml._types:DeploymentState" }, - "overhead": { - "description": "A constant that all estimates for the circuit breaker are multiplied with to calculate a final estimate.", + "threads_per_allocation": { + "description": "The number of threads used be each allocation during inference.", "type": "number" }, - "tripped": { - "description": "Total number of times the circuit breaker has been triggered and prevented an out of memory error.", + "timeout_count": { + "description": "The sum of `timeout_count` for all nodes in the deployment.", "type": "number" } - } + }, + "required": [ + "allocation_status", + "deployment_id", + "error_count", + "inference_count", + "model_id", + "nodes", + "number_of_allocations", + "queue_capacity", + "rejected_execution_count", + "reason", + "start_time", + "state", + "threads_per_allocation", + "timeout_count" + ] }, - "nodes._types:FileSystem": { + "ml._types:TrainedModelDeploymentAllocationStatus": { "type": "object", "properties": { - "data": { - "description": "List of all file stores.", - "type": "array", - "items": { - "$ref": "#/components/schemas/nodes._types:DataPathStats" - } - }, - "timestamp": { - "description": "Last time the file stores statistics were refreshed.\nRecorded in milliseconds since the Unix Epoch.", + "allocation_count": { + "description": "The current number of nodes where the model is allocated.", "type": "number" }, - "total": { - "$ref": "#/components/schemas/nodes._types:FileSystemTotal" + "state": { + "$ref": "#/components/schemas/ml._types:DeploymentAllocationState" }, - "io_stats": { - "$ref": "#/components/schemas/nodes._types:IoStats" + "target_allocation_count": { + "description": "The desired number of nodes for model allocation.", + "type": "number" } - } + }, + "required": [ + "allocation_count", + "state", + "target_allocation_count" + ] + }, + "ml._types:DeploymentAllocationState": { + "type": "string", + "enum": [ + "started", + "starting", + "fully_allocated" + ] }, - "nodes._types:DataPathStats": { + "ml._types:TrainedModelDeploymentNodesStats": { "type": "object", "properties": { - "available": { - "description": "Total amount of disk space available to this Java virtual machine on this file store.", - "type": "string" + "average_inference_time_ms": { + "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" }, - "available_in_bytes": { - "description": "Total number of bytes available to this Java virtual machine on this file store.", + "error_count": { + "description": "The number of errors when evaluating the trained model.", "type": "number" }, - "disk_queue": { - "type": "string" - }, - "disk_reads": { + "inference_count": { + "description": "The total number of inference calls made against this node for this model.", "type": "number" }, - "disk_read_size": { - "type": "string" - }, - "disk_read_size_in_bytes": { + "last_access": { + "description": "The epoch time stamp of the last inference call for the model on this node.", "type": "number" }, - "disk_writes": { + "number_of_allocations": { + "description": "The number of allocations assigned to this node.", "type": "number" }, - "disk_write_size": { - "type": "string" - }, - "disk_write_size_in_bytes": { + "number_of_pending_requests": { + "description": "The number of inference requests queued to be processed.", "type": "number" }, - "free": { - "description": "Total amount of unallocated disk space in the file store.", - "type": "string" - }, - "free_in_bytes": { - "description": "Total number of unallocated bytes in the file store.", + "rejection_execution_count": { + "description": "The number of inference requests that were not processed because the queue was full.", "type": "number" }, - "mount": { - "description": "Mount point of the file store (for example: `/dev/sda2`).", - "type": "string" - }, - "path": { - "description": "Path to the file store.", - "type": "string" + "routing_state": { + "$ref": "#/components/schemas/ml._types:TrainedModelAssignmentRoutingTable" }, - "total": { - "description": "Total size of the file store.", - "type": "string" + "start_time": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" }, - "total_in_bytes": { - "description": "Total size of the file store in bytes.", + "threads_per_allocation": { + "description": "The number of threads used by each allocation during inference.", "type": "number" }, - "type": { - "description": "Type of the file store (ex: ext4).", - "type": "string" + "timeout_count": { + "description": "The number of inference requests that timed out before being processed.", + "type": "number" } - } + }, + "required": [ + "average_inference_time_ms", + "error_count", + "inference_count", + "last_access", + "number_of_allocations", + "number_of_pending_requests", + "rejection_execution_count", + "routing_state", + "start_time", + "threads_per_allocation", + "timeout_count" + ] }, - "nodes._types:FileSystemTotal": { + "ml._types:TrainedModelAssignmentRoutingTable": { "type": "object", "properties": { - "available": { - "description": "Total disk space available to this Java virtual machine on all file stores.\nDepending on OS or process level restrictions, this might appear less than `free`.\nThis is the actual amount of free disk space the Elasticsearch node can utilise.", + "reason": { + "description": "The reason for the current state. It is usually populated only when the\n`routing_state` is `failed`.", "type": "string" }, - "available_in_bytes": { - "description": "Total number of bytes available to this Java virtual machine on all file stores.\nDepending on OS or process level restrictions, this might appear less than `free_in_bytes`.\nThis is the actual amount of free disk space the Elasticsearch node can utilise.", - "type": "number" - }, - "free": { - "description": "Total unallocated disk space in all file stores.", - "type": "string" + "routing_state": { + "$ref": "#/components/schemas/ml._types:RoutingState" }, - "free_in_bytes": { - "description": "Total number of unallocated bytes in all file stores.", + "current_allocations": { + "description": "Current number of allocations.", "type": "number" }, - "total": { - "description": "Total size of all file stores.", - "type": "string" - }, - "total_in_bytes": { - "description": "Total size of all file stores in bytes.", + "target_allocations": { + "description": "Target number of allocations.", "type": "number" } - } + }, + "required": [ + "reason", + "routing_state", + "current_allocations", + "target_allocations" + ] }, - "nodes._types:IoStats": { - "type": "object", - "properties": { - "devices": { - "description": "Array of disk metrics for each device that is backing an Elasticsearch data path.\nThese disk metrics are probed periodically and averages between the last probe and the current probe are computed.", - "type": "array", - "items": { - "$ref": "#/components/schemas/nodes._types:IoStatDevice" - } - }, - "total": { - "$ref": "#/components/schemas/nodes._types:IoStatDevice" - } - } + "ml._types:RoutingState": { + "type": "string", + "enum": [ + "failed", + "started", + "starting", + "stopped", + "stopping" + ] + }, + "ml._types:DeploymentState": { + "type": "string", + "enum": [ + "started", + "starting", + "stopping" + ] }, - "nodes._types:IoStatDevice": { + "ml._types:TrainedModelInferenceStats": { "type": "object", "properties": { - "device_name": { - "description": "The Linux device name.", - "type": "string" - }, - "operations": { - "description": "The total number of read and write operations for the device completed since starting Elasticsearch.", + "cache_miss_count": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" + }, + "description": "The number of times the model was loaded for inference and was not retrieved from the cache.\nIf this number is close to the `inference_count`, the cache is not being appropriately used.\nThis can be solved by increasing the cache size or its time-to-live (TTL).\nRefer to general machine learning settings for the appropriate settings.", "type": "number" }, - "read_kilobytes": { - "description": "The total number of kilobytes read for the device since starting Elasticsearch.", + "failure_count": { + "description": "The number of failures when using the model for inference.", "type": "number" }, - "read_operations": { - "description": "The total number of read operations for the device completed since starting Elasticsearch.", + "inference_count": { + "description": "The total number of times the model has been called for inference.\nThis is across all inference contexts, including all pipelines.", "type": "number" }, - "write_kilobytes": { - "description": "The total number of kilobytes written for the device since starting Elasticsearch.", + "missing_all_fields_count": { + "description": "The number of inference calls where all the training features for the model were missing.", "type": "number" }, - "write_operations": { - "description": "The total number of write operations for the device completed since starting Elasticsearch.", + "timestamp": { + "$ref": "#/components/schemas/_types:DateTime" + } + }, + "required": [ + "cache_miss_count", + "failure_count", + "inference_count", + "missing_all_fields_count", + "timestamp" + ] + }, + "ml._types:TrainedModelSizeStats": { + "type": "object", + "properties": { + "model_size_bytes": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "required_native_memory_bytes": { + "description": "The amount of memory required to load the model in bytes.", "type": "number" } - } + }, + "required": [ + "model_size_bytes", + "required_native_memory_bytes" + ] }, - "nodes._types:Jvm": { + "ml._types:InferenceConfigUpdateContainer": { "type": "object", "properties": { - "buffer_pools": { - "description": "Contains statistics about JVM buffer pools for the node.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:NodeBufferPool" - } + "regression": { + "$ref": "#/components/schemas/ml._types:RegressionInferenceOptions" }, - "classes": { - "$ref": "#/components/schemas/nodes._types:JvmClasses" + "classification": { + "$ref": "#/components/schemas/ml._types:ClassificationInferenceOptions" }, - "gc": { - "$ref": "#/components/schemas/nodes._types:GarbageCollector" + "text_classification": { + "$ref": "#/components/schemas/ml._types:TextClassificationInferenceUpdateOptions" }, - "mem": { - "$ref": "#/components/schemas/nodes._types:JvmMemoryStats" + "zero_shot_classification": { + "$ref": "#/components/schemas/ml._types:ZeroShotClassificationInferenceUpdateOptions" }, - "threads": { - "$ref": "#/components/schemas/nodes._types:JvmThreads" + "fill_mask": { + "$ref": "#/components/schemas/ml._types:FillMaskInferenceUpdateOptions" }, - "timestamp": { - "description": "Last time JVM statistics were refreshed.", - "type": "number" + "ner": { + "$ref": "#/components/schemas/ml._types:NerInferenceUpdateOptions" }, - "uptime": { - "description": "Human-readable JVM uptime.\nOnly returned if the `human` query parameter is `true`.", - "type": "string" + "pass_through": { + "$ref": "#/components/schemas/ml._types:PassThroughInferenceUpdateOptions" }, - "uptime_in_millis": { - "description": "JVM uptime in milliseconds.", - "type": "number" + "text_embedding": { + "$ref": "#/components/schemas/ml._types:TextEmbeddingInferenceUpdateOptions" + }, + "text_expansion": { + "$ref": "#/components/schemas/ml._types:TextExpansionInferenceUpdateOptions" + }, + "question_answering": { + "$ref": "#/components/schemas/ml._types:QuestionAnsweringInferenceUpdateOptions" } - } + }, + "minProperties": 1, + "maxProperties": 1 }, - "nodes._types:NodeBufferPool": { + "ml._types:TextClassificationInferenceUpdateOptions": { "type": "object", "properties": { - "count": { - "description": "Number of buffer pools.", + "num_top_classes": { + "description": "Specifies the number of top class predictions to return. Defaults to 0.", "type": "number" }, - "total_capacity": { - "description": "Total capacity of buffer pools.", - "type": "string" - }, - "total_capacity_in_bytes": { - "description": "Total capacity of buffer pools in bytes.", - "type": "number" + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" }, - "used": { - "description": "Size of buffer pools.", + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "type": "string" }, - "used_in_bytes": { - "description": "Size of buffer pools in bytes.", - "type": "number" + "classification_labels": { + "description": "Classification labels to apply other than the stored labels. Must have the same deminsions as the default configured labels", + "type": "array", + "items": { + "type": "string" + } } } }, - "nodes._types:JvmClasses": { + "ml._types:NlpTokenizationUpdateOptions": { "type": "object", "properties": { - "current_loaded_count": { - "description": "Number of classes currently loaded by JVM.", - "type": "number" - }, - "total_loaded_count": { - "description": "Total number of classes loaded since the JVM started.", - "type": "number" + "truncate": { + "$ref": "#/components/schemas/ml._types:TokenizationTruncate" }, - "total_unloaded_count": { - "description": "Total number of classes unloaded since the JVM started.", + "span": { + "description": "Span options to apply", "type": "number" } } }, - "nodes._types:GarbageCollector": { + "ml._types:ZeroShotClassificationInferenceUpdateOptions": { "type": "object", "properties": { - "collectors": { - "description": "Contains statistics about JVM garbage collectors for the node.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:GarbageCollectorTotal" + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + }, + "multi_label": { + "description": "Update the configured multi label option. Indicates if more than one true label exists. Defaults to the configured value.", + "type": "boolean" + }, + "labels": { + "description": "The labels to predict.", + "type": "array", + "items": { + "type": "string" } } - } + }, + "required": [ + "labels" + ] }, - "nodes._types:GarbageCollectorTotal": { + "ml._types:FillMaskInferenceUpdateOptions": { "type": "object", "properties": { - "collection_count": { - "description": "Total number of JVM garbage collectors that collect objects.", + "num_top_classes": { + "description": "Specifies the number of top class predictions to return. Defaults to 0.", "type": "number" }, - "collection_time": { - "description": "Total time spent by JVM collecting objects.", - "type": "string" + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" }, - "collection_time_in_millis": { - "description": "Total time, in milliseconds, spent by JVM collecting objects.", - "type": "number" + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" } } }, - "nodes._types:JvmMemoryStats": { + "ml._types:NerInferenceUpdateOptions": { "type": "object", "properties": { - "heap_used_in_bytes": { - "description": "Memory, in bytes, currently in use by the heap.", - "type": "number" - }, - "heap_used_percent": { - "description": "Percentage of memory currently in use by the heap.", - "type": "number" - }, - "heap_committed_in_bytes": { - "description": "Amount of memory, in bytes, available for use by the heap.", - "type": "number" - }, - "heap_max_in_bytes": { - "description": "Maximum amount of memory, in bytes, available for use by the heap.", - "type": "number" - }, - "non_heap_used_in_bytes": { - "description": "Non-heap memory used, in bytes.", - "type": "number" - }, - "non_heap_committed_in_bytes": { - "description": "Amount of non-heap memory available, in bytes.", - "type": "number" + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" }, - "pools": { - "description": "Contains statistics about heap memory usage for the node.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:Pool" - } + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" } } }, - "nodes._types:Pool": { + "ml._types:PassThroughInferenceUpdateOptions": { "type": "object", "properties": { - "used_in_bytes": { - "description": "Memory, in bytes, used by the heap.", - "type": "number" - }, - "max_in_bytes": { - "description": "Maximum amount of memory, in bytes, available for use by the heap.", - "type": "number" - }, - "peak_used_in_bytes": { - "description": "Largest amount of memory, in bytes, historically used by the heap.", - "type": "number" + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" }, - "peak_max_in_bytes": { - "description": "Largest amount of memory, in bytes, historically used by the heap.", - "type": "number" + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" } } }, - "nodes._types:JvmThreads": { + "ml._types:TextEmbeddingInferenceUpdateOptions": { "type": "object", "properties": { - "count": { - "description": "Number of active threads in use by JVM.", - "type": "number" + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" }, - "peak_count": { - "description": "Highest number of threads used by JVM.", - "type": "number" + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" } } }, - "nodes._types:OperatingSystem": { + "ml._types:TextExpansionInferenceUpdateOptions": { "type": "object", "properties": { - "cpu": { - "$ref": "#/components/schemas/nodes._types:Cpu" - }, - "mem": { - "$ref": "#/components/schemas/nodes._types:ExtendedMemoryStats" - }, - "swap": { - "$ref": "#/components/schemas/nodes._types:MemoryStats" - }, - "cgroup": { - "$ref": "#/components/schemas/nodes._types:Cgroup" + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" }, - "timestamp": { - "type": "number" + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" } } }, - "nodes._types:Cpu": { + "ml._types:QuestionAnsweringInferenceUpdateOptions": { "type": "object", "properties": { - "percent": { - "type": "number" - }, - "sys": { - "$ref": "#/components/schemas/_types:Duration" - }, - "sys_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "total": { - "$ref": "#/components/schemas/_types:Duration" - }, - "total_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "user": { - "$ref": "#/components/schemas/_types:Duration" - }, - "user_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "question": { + "description": "The question to answer given the inference context", + "type": "string" }, - "load_average": { - "type": "object", - "additionalProperties": { - "type": "number" - } - } - } - }, - "nodes._types:ExtendedMemoryStats": { - "allOf": [ - { - "$ref": "#/components/schemas/nodes._types:MemoryStats" + "num_top_classes": { + "description": "Specifies the number of top class predictions to return. Defaults to 0.", + "type": "number" }, - { - "type": "object", - "properties": { - "free_percent": { - "description": "Percentage of free memory.", - "type": "number" - }, - "used_percent": { - "description": "Percentage of used memory.", - "type": "number" - } - } + "tokenization": { + "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" + }, + "results_field": { + "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", + "type": "string" + }, + "max_answer_length": { + "description": "The maximum answer length to consider for extraction", + "type": "number" } + }, + "required": [ + "question" ] }, - "nodes._types:MemoryStats": { + "ml._types:InferenceResponseResult": { "type": "object", "properties": { - "adjusted_total_in_bytes": { - "description": "If the amount of physical memory has been overridden using the `es`.`total_memory_bytes` system property then this reports the overridden value in bytes.\nOtherwise it reports the same value as `total_in_bytes`.", - "type": "number" + "entities": { + "description": "If the model is trained for named entity recognition (NER) tasks, the response contains the recognized entities.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TrainedModelEntities" + } }, - "resident": { - "type": "string" + "is_truncated": { + "description": "Indicates whether the input text was truncated to meet the model's maximum sequence length limit. This property\nis present only when it is true.", + "type": "boolean" }, - "resident_in_bytes": { - "type": "number" + "predicted_value": { + "description": "If the model is trained for a text classification or zero shot classification task, the response is the\npredicted class.\nFor named entity recognition (NER) tasks, it contains the annotated text output.\nFor fill mask tasks, it contains the top prediction for replacing the mask token.\nFor text embedding tasks, it contains the raw numerical text embedding values.\nFor regression models, its a numerical value\nFor classification models, it may be an integer, double, boolean or string depending on prediction type", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:PredictedValue" + } }, - "share": { + "predicted_value_sequence": { + "description": "For fill mask tasks, the response contains the input text sequence with the mask token replaced by the predicted\nvalue.\nAdditionally", "type": "string" }, - "share_in_bytes": { + "prediction_probability": { + "description": "Specifies a probability for the predicted value.", "type": "number" }, - "total_virtual": { - "type": "string" - }, - "total_virtual_in_bytes": { + "prediction_score": { + "description": "Specifies a confidence score for the predicted value.", "type": "number" }, - "total_in_bytes": { - "description": "Total amount of physical memory in bytes.", - "type": "number" + "top_classes": { + "description": "For fill mask, text classification, and zero shot classification tasks, the response contains a list of top\nclass entries.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TopClassEntry" + } }, - "free_in_bytes": { - "description": "Amount of free physical memory in bytes.", - "type": "number" + "warning": { + "description": "If the request failed, the response contains the reason for the failure.", + "type": "string" }, - "used_in_bytes": { - "description": "Amount of used physical memory in bytes.", - "type": "number" + "feature_importance": { + "description": "The feature importance for the inference results. Relevant only for classification or regression models", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TrainedModelInferenceFeatureImportance" + } } } }, - "nodes._types:Cgroup": { + "ml._types:TrainedModelEntities": { "type": "object", "properties": { - "cpuacct": { - "$ref": "#/components/schemas/nodes._types:CpuAcct" + "class_name": { + "type": "string" }, - "cpu": { - "$ref": "#/components/schemas/nodes._types:CgroupCpu" + "class_probability": { + "type": "number" }, - "memory": { - "$ref": "#/components/schemas/nodes._types:CgroupMemory" - } - } - }, - "nodes._types:CpuAcct": { - "type": "object", - "properties": { - "control_group": { - "description": "The `cpuacct` control group to which the Elasticsearch process belongs.", + "entity": { "type": "string" }, - "usage_nanos": { - "$ref": "#/components/schemas/_types:DurationValueUnitNanos" + "start_pos": { + "type": "number" + }, + "end_pos": { + "type": "number" } - } + }, + "required": [ + "class_name", + "class_probability", + "entity", + "start_pos", + "end_pos" + ] }, - "nodes._types:CgroupCpu": { - "type": "object", - "properties": { - "control_group": { - "description": "The `cpu` control group to which the Elasticsearch process belongs.", + "ml._types:PredictedValue": { + "oneOf": [ + { "type": "string" }, - "cfs_period_micros": { - "description": "The period of time, in microseconds, for how regularly all tasks in the same cgroup as the Elasticsearch process should have their access to CPU resources reallocated.", + { "type": "number" }, - "cfs_quota_micros": { - "description": "The total amount of time, in microseconds, for which all tasks in the same cgroup as the Elasticsearch process can run during one period `cfs_period_micros`.", - "type": "number" + { + "type": "boolean" }, - "stat": { - "$ref": "#/components/schemas/nodes._types:CgroupCpuStat" + { + "type": "number" } - } + ] }, - "nodes._types:CgroupCpuStat": { + "ml._types:TopClassEntry": { "type": "object", "properties": { - "number_of_elapsed_periods": { - "description": "The number of reporting periods (as specified by `cfs_period_micros`) that have elapsed.", - "type": "number" + "class_name": { + "type": "string" }, - "number_of_times_throttled": { - "description": "The number of times all tasks in the same cgroup as the Elasticsearch process have been throttled.", + "class_probability": { "type": "number" }, - "time_throttled_nanos": { - "$ref": "#/components/schemas/_types:DurationValueUnitNanos" + "class_score": { + "type": "number" } - } + }, + "required": [ + "class_name", + "class_probability", + "class_score" + ] }, - "nodes._types:CgroupMemory": { + "ml._types:TrainedModelInferenceFeatureImportance": { "type": "object", "properties": { - "control_group": { - "description": "The `memory` control group to which the Elasticsearch process belongs.", + "feature_name": { "type": "string" }, - "limit_in_bytes": { - "description": "The maximum amount of user memory (including file cache) allowed for all tasks in the same cgroup as the Elasticsearch process.\nThis value can be too big to store in a `long`, so is returned as a string so that the value returned can exactly match what the underlying operating system interface returns.\nAny value that is too large to parse into a `long` almost certainly means no limit has been set for the cgroup.", - "type": "string" + "importance": { + "type": "number" }, - "usage_in_bytes": { - "description": "The total current memory usage by processes in the cgroup, in bytes, by all tasks in the same cgroup as the Elasticsearch process.\nThis value is stored as a string for consistency with `limit_in_bytes`.", - "type": "string" + "classes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:TrainedModelInferenceClassImportance" + } } - } + }, + "required": [ + "feature_name" + ] }, - "nodes._types:Process": { + "ml._types:TrainedModelInferenceClassImportance": { "type": "object", "properties": { - "cpu": { - "$ref": "#/components/schemas/nodes._types:Cpu" - }, - "mem": { - "$ref": "#/components/schemas/nodes._types:MemoryStats" - }, - "open_file_descriptors": { - "description": "Number of opened file descriptors associated with the current or `-1` if not supported.", - "type": "number" - }, - "max_file_descriptors": { - "description": "Maximum number of file descriptors allowed on the system, or `-1` if not supported.", - "type": "number" + "class_name": { + "type": "string" }, - "timestamp": { - "description": "Last time the statistics were refreshed.\nRecorded in milliseconds since the Unix Epoch.", + "importance": { "type": "number" } - } + }, + "required": [ + "class_name", + "importance" + ] }, - "nodes._types:ScriptCache": { + "ml.preview_data_frame_analytics:DataframePreviewConfig": { "type": "object", "properties": { - "cache_evictions": { - "description": "Total number of times the script cache has evicted old data.", - "type": "number" + "source": { + "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" }, - "compilation_limit_triggered": { - "description": "Total number of times the script compilation circuit breaker has limited inline script compilations.", - "type": "number" + "analysis": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" }, - "compilations": { - "description": "Total number of inline script compilations performed by the node.", + "model_memory_limit": { + "type": "string" + }, + "max_num_threads": { "type": "number" }, - "context": { - "type": "string" + "analyzed_fields": { + "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" } - } + }, + "required": [ + "source", + "analysis" + ] }, - "nodes._types:Transport": { + "ml._types:DatafeedConfig": { "type": "object", "properties": { - "inbound_handling_time_histogram": { - "description": "The distribution of the time spent handling each inbound message on a transport thread, represented as a histogram.", - "type": "array", - "items": { - "$ref": "#/components/schemas/nodes._types:TransportHistogram" + "aggregations": { + "description": "If set, the datafeed performs aggregation searches. Support for aggregations is limited and should be used only with low cardinality data.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" } }, - "outbound_handling_time_histogram": { - "description": "The distribution of the time spent sending each outbound transport message on a transport thread, represented as a histogram.", + "chunking_config": { + "$ref": "#/components/schemas/ml._types:ChunkingConfig" + }, + "datafeed_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "delayed_data_check_config": { + "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" + }, + "frequency": { + "$ref": "#/components/schemas/_types:Duration" + }, + "indices": { + "description": "An array of index names. Wildcards are supported. If any indices are in remote clusters, the machine learning nodes must have the `remote_cluster_client` role.", "type": "array", "items": { - "$ref": "#/components/schemas/nodes._types:TransportHistogram" + "type": "string" } }, - "rx_count": { - "description": "Total number of RX (receive) packets received by the node during internal cluster communication.", - "type": "number" + "indices_options": { + "$ref": "#/components/schemas/_types:IndicesOptions" }, - "rx_size": { - "description": "Size of RX packets received by the node during internal cluster communication.", - "type": "string" + "job_id": { + "$ref": "#/components/schemas/_types:Id" }, - "rx_size_in_bytes": { - "description": "Size, in bytes, of RX packets received by the node during internal cluster communication.", + "max_empty_searches": { + "description": "If a real-time datafeed has never seen any data (including during any initial training period) then it will automatically stop itself and close its associated job after this many real-time searches that return no documents. In other words, it will stop after `frequency` times `max_empty_searches` of real-time operation. If not set then a datafeed with no end time that sees no data will remain started until it is explicitly stopped.", "type": "number" }, - "server_open": { - "description": "Current number of inbound TCP connections used for internal communication between nodes.", - "type": "number" + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" }, - "tx_count": { - "description": "Total number of TX (transmit) packets sent by the node during internal cluster communication.", - "type": "number" + "query_delay": { + "$ref": "#/components/schemas/_types:Duration" }, - "tx_size": { - "description": "Size of TX packets sent by the node during internal cluster communication.", - "type": "string" + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" }, - "tx_size_in_bytes": { - "description": "Size, in bytes, of TX packets sent by the node during internal cluster communication.", - "type": "number" + "script_fields": { + "description": "Specifies scripts that evaluate custom expressions and returns script fields to the datafeed. The detector configuration objects in a job can contain functions that use these script fields.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } }, - "total_outbound_connections": { - "description": "The cumulative number of outbound transport connections that this node has opened since it started.\nEach transport connection may comprise multiple TCP connections but is only counted once in this statistic.\nTransport connections are typically long-lived so this statistic should remain constant in a stable cluster.", + "scroll_size": { + "description": "The size parameter that is used in Elasticsearch searches when the datafeed does not use aggregations. The maximum value is the value of `index.max_result_window`, which is 10,000 by default.", "type": "number" } } }, - "nodes._types:TransportHistogram": { + "ml._types:JobConfig": { "type": "object", "properties": { - "count": { - "description": "The number of times a transport thread took a period of time within the bounds of this bucket to handle an inbound message.", - "type": "number" + "allow_lazy_open": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html" + }, + "description": "Advanced configuration option. Specifies whether this job can open when there is insufficient machine learning node capacity for it to be immediately assigned to a node.", + "type": "boolean" }, - "lt_millis": { - "description": "The exclusive upper bound of the bucket in milliseconds.\nMay be omitted on the last bucket if this bucket has no upper bound.", - "type": "number" + "analysis_config": { + "$ref": "#/components/schemas/ml._types:AnalysisConfig" + }, + "analysis_limits": { + "$ref": "#/components/schemas/ml._types:AnalysisLimits" + }, + "background_persist_interval": { + "$ref": "#/components/schemas/_types:Duration" }, - "ge_millis": { - "description": "The inclusive lower bound of the bucket in milliseconds. May be omitted on the first bucket if this bucket has no lower bound.", + "custom_settings": { + "$ref": "#/components/schemas/ml._types:CustomSettings" + }, + "daily_model_snapshot_retention_after_days": { + "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies a period of time (in days) after which only the first snapshot per day is retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.", "type": "number" - } - } - }, - "nodes._types:Discovery": { - "type": "object", - "properties": { - "cluster_state_queue": { - "$ref": "#/components/schemas/nodes._types:ClusterStateQueue" }, - "published_cluster_states": { - "$ref": "#/components/schemas/nodes._types:PublishedClusterStates" + "data_description": { + "$ref": "#/components/schemas/ml._types:DataDescription" }, - "cluster_state_update": { - "description": "Contains low-level statistics about how long various activities took during cluster state updates while the node was the elected master.\nOmitted if the node is not master-eligible.\nEvery field whose name ends in `_time` within this object is also represented as a raw number of milliseconds in a field whose name ends in `_time_millis`.\nThe human-readable fields with a `_time` suffix are only returned if requested with the `?human=true` query parameter.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:ClusterStateUpdate" + "datafeed_config": { + "$ref": "#/components/schemas/ml._types:DatafeedConfig" + }, + "description": { + "description": "A description of the job.", + "type": "string" + }, + "groups": { + "description": "A list of job groups. A job can belong to no groups or many.", + "type": "array", + "items": { + "type": "string" } }, - "serialized_cluster_states": { - "$ref": "#/components/schemas/nodes._types:SerializedClusterState" + "job_id": { + "$ref": "#/components/schemas/_types:Id" }, - "cluster_applier_stats": { - "$ref": "#/components/schemas/nodes._types:ClusterAppliedStats" - } - } - }, - "nodes._types:ClusterStateQueue": { - "type": "object", - "properties": { - "total": { - "description": "Total number of cluster states in queue.", - "type": "number" + "job_type": { + "description": "Reserved for future use, currently set to `anomaly_detector`.", + "type": "string" }, - "pending": { - "description": "Number of pending cluster states in queue.", - "type": "number" + "model_plot_config": { + "$ref": "#/components/schemas/ml._types:ModelPlotConfig" }, - "committed": { - "description": "Number of committed cluster states in queue.", - "type": "number" - } - } - }, - "nodes._types:PublishedClusterStates": { - "type": "object", - "properties": { - "full_states": { - "description": "Number of published cluster states.", + "model_snapshot_retention_days": { + "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies the maximum period of time (in days) that snapshots are retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.\nThe default value is `10`, which means snapshots ten days older than the newest snapshot are deleted.", "type": "number" }, - "incompatible_diffs": { - "description": "Number of incompatible differences between published cluster states.", + "renormalization_window_days": { + "description": "Advanced configuration option.\nThe period over which adjustments to the score are applied, as new data is seen.\nThe default value is the longer of 30 days or 100 `bucket_spans`.", "type": "number" }, - "compatible_diffs": { - "description": "Number of compatible differences between published cluster states.", + "results_index_name": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "results_retention_days": { + "description": "Advanced configuration option.\nThe period of time (in days) that results are retained.\nAge is calculated relative to the timestamp of the latest bucket result.\nIf this property has a non-null value, once per day at 00:30 (server time), results that are the specified number of days older than the latest bucket result are deleted from Elasticsearch.\nThe default value is null, which means all results are retained.\nAnnotations generated by the system also count as results for retention purposes; they are deleted after the same number of days as results.\nAnnotations added by users are retained forever.", "type": "number" } + }, + "required": [ + "analysis_config", + "data_description" + ] + }, + "_types:HttpHeaders": { + "type": "object", + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] } }, - "nodes._types:ClusterStateUpdate": { + "ml._types:AnalysisConfigRead": { "type": "object", "properties": { - "count": { - "description": "The number of cluster state update attempts that did not change the cluster state since the node started.", - "type": "number" - }, - "computation_time": { + "bucket_span": { "$ref": "#/components/schemas/_types:Duration" }, - "computation_time_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "categorization_analyzer": { + "$ref": "#/components/schemas/ml._types:CategorizationAnalyzer" }, - "publication_time": { - "$ref": "#/components/schemas/_types:Duration" + "categorization_field_name": { + "$ref": "#/components/schemas/_types:Field" }, - "publication_time_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "categorization_filters": { + "description": "If `categorization_field_name` is specified, you can also define optional filters.\nThis property expects an array of regular expressions.\nThe expressions are used to filter out matching sequences from the categorization field values.", + "type": "array", + "items": { + "type": "string" + } }, - "context_construction_time": { - "$ref": "#/components/schemas/_types:Duration" + "detectors": { + "description": "An array of detector configuration objects.\nDetector configuration objects specify which data fields a job analyzes.\nThey also specify which analytical functions are used.\nYou can specify multiple detectors for a job.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DetectorRead" + } }, - "context_construction_time_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "influencers": { + "description": "A comma separated list of influencer field names.\nTypically these can be the by, over, or partition fields that are used in the detector configuration.\nYou might also want to use a field name that is not specifically named in a detector, but is available as part of the input data.\nWhen you use multiple detectors, the use of influencers is recommended as it aggregates results for each influencer entity.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Field" + } }, - "commit_time": { + "model_prune_window": { "$ref": "#/components/schemas/_types:Duration" }, - "commit_time_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "completion_time": { + "latency": { "$ref": "#/components/schemas/_types:Duration" }, - "completion_time_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "multivariate_by_fields": { + "description": "This functionality is reserved for internal use.\nIt is not supported for use in customer environments and is not subject to the support SLA of official GA features.\nIf set to `true`, the analysis will automatically find correlations between metrics for a given by field value and report anomalies when those correlations cease to hold.", + "type": "boolean" }, - "master_apply_time": { - "$ref": "#/components/schemas/_types:Duration" + "per_partition_categorization": { + "$ref": "#/components/schemas/ml._types:PerPartitionCategorization" }, - "master_apply_time_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "summary_count_field_name": { + "$ref": "#/components/schemas/_types:Field" + } + }, + "required": [ + "bucket_span", + "detectors", + "influencers" + ] + }, + "ml._types:DetectorRead": { + "type": "object", + "properties": { + "by_field_name": { + "$ref": "#/components/schemas/_types:Field" }, - "notification_time": { - "$ref": "#/components/schemas/_types:Duration" + "custom_rules": { + "description": "An array of custom rule objects, which enable you to customize the way detectors operate.\nFor example, a rule may dictate to the detector conditions under which results should be skipped.\nKibana refers to custom rules as job rules.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml._types:DetectionRule" + } }, - "notification_time_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "detector_description": { + "description": "A description of the detector.", + "type": "string" + }, + "detector_index": { + "description": "A unique identifier for the detector.\nThis identifier is based on the order of the detectors in the `analysis_config`, starting at zero.", + "type": "number" + }, + "exclude_frequent": { + "$ref": "#/components/schemas/ml._types:ExcludeFrequent" + }, + "field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "function": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-functions.html" + }, + "description": "The analysis function that is used.\nFor example, `count`, `rare`, `mean`, `min`, `max`, and `sum`.", + "type": "string" + }, + "over_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "partition_field_name": { + "$ref": "#/components/schemas/_types:Field" + }, + "use_null": { + "description": "Defines whether a new series is used as the null series when there is no value for the by or partition fields.", + "type": "boolean" } }, "required": [ - "count" + "function" ] }, - "nodes._types:SerializedClusterState": { + "ml.put_trained_model:Definition": { "type": "object", "properties": { - "full_states": { - "$ref": "#/components/schemas/nodes._types:SerializedClusterStateDetail" + "preprocessors": { + "description": "Collection of preprocessors", + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.put_trained_model:Preprocessor" + } }, - "diffs": { - "$ref": "#/components/schemas/nodes._types:SerializedClusterStateDetail" + "trained_model": { + "$ref": "#/components/schemas/ml.put_trained_model:TrainedModel" } - } + }, + "required": [ + "trained_model" + ] }, - "nodes._types:SerializedClusterStateDetail": { + "ml.put_trained_model:Preprocessor": { "type": "object", "properties": { - "count": { - "type": "number" + "frequency_encoding": { + "$ref": "#/components/schemas/ml.put_trained_model:FrequencyEncodingPreprocessor" }, - "uncompressed_size": { - "type": "string" + "one_hot_encoding": { + "$ref": "#/components/schemas/ml.put_trained_model:OneHotEncodingPreprocessor" }, - "uncompressed_size_in_bytes": { - "type": "number" + "target_mean_encoding": { + "$ref": "#/components/schemas/ml.put_trained_model:TargetMeanEncodingPreprocessor" + } + }, + "minProperties": 1, + "maxProperties": 1 + }, + "ml.put_trained_model:FrequencyEncodingPreprocessor": { + "type": "object", + "properties": { + "field": { + "type": "string" }, - "compressed_size": { + "feature_name": { "type": "string" }, - "compressed_size_in_bytes": { - "type": "number" + "frequency_map": { + "type": "object", + "additionalProperties": { + "type": "number" + } } - } + }, + "required": [ + "field", + "feature_name", + "frequency_map" + ] }, - "nodes._types:ClusterAppliedStats": { + "ml.put_trained_model:OneHotEncodingPreprocessor": { "type": "object", "properties": { - "recordings": { - "type": "array", - "items": { - "$ref": "#/components/schemas/nodes._types:Recording" + "field": { + "type": "string" + }, + "hot_map": { + "type": "object", + "additionalProperties": { + "type": "string" } } - } + }, + "required": [ + "field", + "hot_map" + ] }, - "nodes._types:Recording": { + "ml.put_trained_model:TargetMeanEncodingPreprocessor": { "type": "object", "properties": { - "name": { + "field": { "type": "string" }, - "cumulative_execution_count": { - "type": "number" + "feature_name": { + "type": "string" }, - "cumulative_execution_time": { - "$ref": "#/components/schemas/_types:Duration" + "target_map": { + "type": "object", + "additionalProperties": { + "type": "number" + } }, - "cumulative_execution_time_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + "default_value": { + "type": "number" } - } + }, + "required": [ + "field", + "feature_name", + "target_map", + "default_value" + ] }, - "nodes._types:IndexingPressure": { + "ml.put_trained_model:TrainedModel": { "type": "object", "properties": { - "memory": { - "$ref": "#/components/schemas/nodes._types:IndexingPressureMemory" + "tree": { + "$ref": "#/components/schemas/ml.put_trained_model:TrainedModelTree" + }, + "tree_node": { + "$ref": "#/components/schemas/ml.put_trained_model:TrainedModelTreeNode" + }, + "ensemble": { + "$ref": "#/components/schemas/ml.put_trained_model:Ensemble" } } }, - "nodes._types:IndexingPressureMemory": { + "ml.put_trained_model:TrainedModelTree": { "type": "object", "properties": { - "limit": { - "$ref": "#/components/schemas/_types:ByteSize" + "classification_labels": { + "type": "array", + "items": { + "type": "string" + } }, - "limit_in_bytes": { - "description": "Configured memory limit, in bytes, for the indexing requests.\nReplica requests have an automatic limit that is 1.5x this value.", - "type": "number" + "feature_names": { + "type": "array", + "items": { + "type": "string" + } }, - "current": { - "$ref": "#/components/schemas/nodes._types:PressureMemory" + "target_type": { + "type": "string" }, - "total": { - "$ref": "#/components/schemas/nodes._types:PressureMemory" + "tree_structure": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.put_trained_model:TrainedModelTreeNode" + } } - } + }, + "required": [ + "feature_names", + "tree_structure" + ] }, - "nodes._types:PressureMemory": { + "ml.put_trained_model:TrainedModelTreeNode": { "type": "object", "properties": { - "all": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "all_in_bytes": { - "description": "Memory consumed, in bytes, by indexing requests in the coordinating, primary, or replica stage.", - "type": "number" + "decision_type": { + "type": "string" }, - "combined_coordinating_and_primary": { - "$ref": "#/components/schemas/_types:ByteSize" + "default_left": { + "type": "boolean" }, - "combined_coordinating_and_primary_in_bytes": { - "description": "Memory consumed, in bytes, by indexing requests in the coordinating or primary stage.\nThis value is not the sum of coordinating and primary as a node can reuse the coordinating memory if the primary stage is executed locally.", + "leaf_value": { "type": "number" }, - "coordinating": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "coordinating_in_bytes": { - "description": "Memory consumed, in bytes, by indexing requests in the coordinating stage.", + "left_child": { "type": "number" }, - "primary": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "primary_in_bytes": { - "description": "Memory consumed, in bytes, by indexing requests in the primary stage.", + "node_index": { "type": "number" }, - "replica": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "replica_in_bytes": { - "description": "Memory consumed, in bytes, by indexing requests in the replica stage.", + "right_child": { "type": "number" }, - "coordinating_rejections": { - "description": "Number of indexing requests rejected in the coordinating stage.", + "split_feature": { "type": "number" }, - "primary_rejections": { - "description": "Number of indexing requests rejected in the primary stage.", + "split_gain": { "type": "number" }, - "replica_rejections": { - "description": "Number of indexing requests rejected in the replica stage.", + "threshold": { "type": "number" } - } - }, - "nodes.usage:ResponseBase": { - "allOf": [ - { - "$ref": "#/components/schemas/nodes._types:NodesResponseBase" - }, - { - "type": "object", - "properties": { - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes.usage:NodeUsage" - } - } - }, - "required": [ - "cluster_name", - "nodes" - ] - } + }, + "required": [ + "node_index" ] }, - "nodes.usage:NodeUsage": { + "ml.put_trained_model:Ensemble": { "type": "object", "properties": { - "rest_actions": { - "type": "object", - "additionalProperties": { - "type": "number" + "aggregate_output": { + "$ref": "#/components/schemas/ml.put_trained_model:AggregateOutput" + }, + "classification_labels": { + "type": "array", + "items": { + "type": "string" } }, - "since": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + "feature_names": { + "type": "array", + "items": { + "type": "string" + } }, - "timestamp": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + "target_type": { + "type": "string" }, - "aggregations": { - "type": "object", - "additionalProperties": { - "type": "object" + "trained_models": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ml.put_trained_model:TrainedModel" } } }, "required": [ - "rest_actions", - "since", - "timestamp", - "aggregations" + "trained_models" ] }, - "query_ruleset._types:QueryRuleset": { + "ml.put_trained_model:AggregateOutput": { "type": "object", "properties": { - "ruleset_id": { - "$ref": "#/components/schemas/_types:Id" + "logistic_regression": { + "$ref": "#/components/schemas/ml.put_trained_model:Weights" }, - "rules": { - "description": "Rules associated with the query ruleset", - "type": "array", - "items": { - "$ref": "#/components/schemas/query_ruleset._types:QueryRule" - } + "weighted_sum": { + "$ref": "#/components/schemas/ml.put_trained_model:Weights" + }, + "weighted_mode": { + "$ref": "#/components/schemas/ml.put_trained_model:Weights" + }, + "exponent": { + "$ref": "#/components/schemas/ml.put_trained_model:Weights" + } + } + }, + "ml.put_trained_model:Weights": { + "type": "object", + "properties": { + "weights": { + "type": "number" } }, "required": [ - "ruleset_id", - "rules" + "weights" ] }, - "query_ruleset._types:QueryRule": { + "ml.put_trained_model:Input": { "type": "object", "properties": { - "rule_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "type": { - "$ref": "#/components/schemas/query_ruleset._types:QueryRuleType" - }, - "criteria": { - "type": "array", - "items": { - "$ref": "#/components/schemas/query_ruleset._types:QueryRuleCriteria" - } - }, - "actions": { - "$ref": "#/components/schemas/query_ruleset._types:QueryRuleActions" + "field_names": { + "$ref": "#/components/schemas/_types:Names" } }, "required": [ - "rule_id", - "type", - "criteria", - "actions" + "field_names" ] }, - "query_ruleset._types:QueryRuleType": { + "ml._types:TrainingPriority": { "type": "string", "enum": [ - "pinned" + "normal", + "low" ] }, - "query_ruleset._types:QueryRuleCriteria": { + "ml._types:TrainedModelAssignment": { "type": "object", "properties": { - "type": { - "$ref": "#/components/schemas/query_ruleset._types:QueryRuleCriteriaType" + "assignment_state": { + "$ref": "#/components/schemas/ml._types:DeploymentAssignmentState" }, - "metadata": { - "type": "string" + "max_assigned_allocations": { + "type": "number" }, - "values": { - "type": "array", - "items": { - "type": "object" + "routing_table": { + "description": "The allocation state for each node.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ml._types:TrainedModelAssignmentRoutingTable" } + }, + "start_time": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "task_parameters": { + "$ref": "#/components/schemas/ml._types:TrainedModelAssignmentTaskParameters" } }, "required": [ - "type", - "metadata" + "assignment_state", + "routing_table", + "start_time", + "task_parameters" ] }, - "query_ruleset._types:QueryRuleCriteriaType": { + "ml._types:DeploymentAssignmentState": { "type": "string", "enum": [ - "global", - "exact", - "exact_fuzzy", - "prefix", - "suffix", - "contains", - "lt", - "lte", - "gt", - "gte" + "starting", + "started", + "stopping", + "failed" ] }, - "query_ruleset._types:QueryRuleActions": { + "ml._types:TrainedModelAssignmentTaskParameters": { "type": "object", "properties": { - "ids": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Id" - } + "model_bytes": { + "description": "The size of the trained model in bytes.", + "type": "number" }, - "docs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:PinnedDoc" - } + "model_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "deployment_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "cache_size": { + "$ref": "#/components/schemas/_types:ByteSize" + }, + "number_of_allocations": { + "description": "The total number of allocations this model is assigned across ML nodes.", + "type": "number" + }, + "priority": { + "$ref": "#/components/schemas/ml._types:TrainingPriority" + }, + "queue_capacity": { + "description": "Number of inference requests are allowed in the queue at a time.", + "type": "number" + }, + "threads_per_allocation": { + "description": "Number of threads per allocation.", + "type": "number" } - } + }, + "required": [ + "model_bytes", + "model_id", + "deployment_id", + "cache_size", + "number_of_allocations", + "priority", + "queue_capacity", + "threads_per_allocation" + ] }, - "query_ruleset.list:QueryRulesetListItem": { + "ml._types:AnalysisMemoryLimit": { "type": "object", "properties": { - "ruleset_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "rules_count": { - "description": "The number of rules associated with this ruleset", - "type": "number" + "model_memory_limit": { + "description": "Limits can be applied for the resources required to hold the mathematical models in memory. These limits are approximate and can be set per job. They do not control the memory used by other processes, for example the Elasticsearch Java processes.", + "type": "string" } }, "required": [ - "ruleset_id", - "rules_count" + "model_memory_limit" ] }, - "_global.rank_eval:RankEvalRequestItem": { + "_global.msearch:RequestItem": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.msearch:MultisearchHeader" + }, + { + "$ref": "#/components/schemas/_global.msearch:MultisearchBody" + } + ] + }, + "_global.msearch:MultisearchHeader": { "type": "object", "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" + "allow_no_indices": { + "type": "boolean" }, - "request": { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalQuery" + "expand_wildcards": { + "$ref": "#/components/schemas/_types:ExpandWildcards" }, - "ratings": { - "description": "List of document ratings", - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.rank_eval:DocumentRating" - } + "ignore_unavailable": { + "type": "boolean" }, - "template_id": { - "$ref": "#/components/schemas/_types:Id" + "index": { + "$ref": "#/components/schemas/_types:Indices" }, - "params": { - "description": "The search template parameters.", - "type": "object", - "additionalProperties": { - "type": "object" - } + "preference": { + "type": "string" + }, + "request_cache": { + "type": "boolean" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "search_type": { + "$ref": "#/components/schemas/_types:SearchType" + }, + "ccs_minimize_roundtrips": { + "type": "boolean" + }, + "allow_partial_search_results": { + "type": "boolean" + }, + "ignore_throttled": { + "type": "boolean" } - }, - "required": [ - "id", - "ratings" - ] + } }, - "_global.rank_eval:RankEvalQuery": { + "_global.msearch:MultisearchBody": { "type": "object", "properties": { + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "collapse": { + "$ref": "#/components/schemas/_global.search._types:FieldCollapse" + }, "query": { "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" }, + "explain": { + "description": "If true, returns detailed information about score computation as part of a hit.", + "type": "boolean" + }, + "ext": { + "description": "Configuration of search extensions defined by Elasticsearch plugins.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "stored_fields": { + "$ref": "#/components/schemas/_types:Fields" + }, + "docvalue_fields": { + "description": "Array of wildcard (*) patterns. The request returns doc values for field\nnames matching these patterns in the hits.fields property of the response.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "knn": { + "description": "Defines the approximate kNN search to run.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types:KnnQuery" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:KnnQuery" + } + } + ] + }, + "from": { + "description": "Starting document offset. By default, you cannot page through more than 10,000\nhits using the from and size parameters. To page through more hits, use the\nsearch_after parameter.", + "type": "number" + }, + "highlight": { + "$ref": "#/components/schemas/_global.search._types:Highlight" + }, + "indices_boost": { + "description": "Boosts the _score of documents from specified indices.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "number" + } + } + }, + "min_score": { + "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in the search results.", + "type": "number" + }, + "post_filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "profile": { + "type": "boolean" + }, + "rescore": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.search._types:Rescore" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Rescore" + } + } + ] + }, + "script_fields": { + "description": "Retrieve a script evaluation (based on different fields) for each hit.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types:ScriptField" + } + }, + "search_after": { + "$ref": "#/components/schemas/_types:SortResults" + }, "size": { + "description": "The number of hits to return. By default, you cannot page through more\nthan 10,000 hits using the from and size parameters. To page through more\nhits, use the search_after parameter.", "type": "number" - } - }, - "required": [ - "query" - ] - }, - "_global.rank_eval:DocumentRating": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "fields": { + "description": "Array of wildcard (*) patterns. The request returns values for field names\nmatching these patterns in the hits.fields property of the response.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "terminate_after": { + "description": "Maximum number of documents to collect for each shard. If a query reaches this\nlimit, Elasticsearch terminates the query early. Elasticsearch collects documents\nbefore sorting. Defaults to 0, which does not terminate query execution early.", + "type": "number" + }, + "stats": { + "description": "Stats groups to associate with the search. Each group maintains a statistics\naggregation for its associated searches. You can retrieve these stats using\nthe indices stats API.", + "type": "array", + "items": { + "type": "string" + } + }, + "timeout": { + "description": "Specifies the period of time to wait for a response from each shard. If no response\nis 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.", + "type": "boolean" + }, + "track_total_hits": { + "$ref": "#/components/schemas/_global.search._types:TrackHits" + }, + "version": { + "description": "If true, returns document version as part of a hit.", + "type": "boolean" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "seq_no_primary_term": { + "description": "If true, returns sequence number and primary term of the last modification\nof each hit. See Optimistic concurrency control.", + "type": "boolean" + }, + "pit": { + "$ref": "#/components/schemas/_global.search._types:PointInTimeReference" }, - "rating": { - "description": "The document’s relevance with regard to this search request.", - "type": "number" + "suggest": { + "$ref": "#/components/schemas/_global.search._types:Suggester" } - }, - "required": [ - "_id", - "_index", - "rating" - ] + } }, - "_global.rank_eval:RankEvalMetric": { + "_global.msearch:MultiSearchResult": { "type": "object", "properties": { - "precision": { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricPrecision" - }, - "recall": { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricRecall" - }, - "mean_reciprocal_rank": { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricMeanReciprocalRank" - }, - "dcg": { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricDiscountedCumulativeGain" + "took": { + "type": "number" }, - "expected_reciprocal_rank": { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricExpectedReciprocalRank" + "responses": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.msearch:ResponseItem" + } } - } + }, + "required": [ + "took", + "responses" + ] }, - "_global.rank_eval:RankEvalMetricPrecision": { - "allOf": [ + "_global.msearch:ResponseItem": { + "oneOf": [ { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricRatingTreshold" + "$ref": "#/components/schemas/_global.msearch:MultiSearchItem" }, { - "type": "object", - "properties": { - "ignore_unlabeled": { - "description": "Controls how unlabeled documents in the search results are counted. If set to true, unlabeled documents are ignored and neither count as relevant or irrelevant. Set to false (the default), they are treated as irrelevant.", - "type": "boolean" - } - } + "$ref": "#/components/schemas/_types:ErrorResponseBase" } ] }, - "_global.rank_eval:RankEvalMetricRatingTreshold": { + "_global.msearch:MultiSearchItem": { "allOf": [ { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricBase" + "$ref": "#/components/schemas/_global.search:ResponseBody" }, { "type": "object", "properties": { - "relevant_rating_threshold": { - "description": "Sets the rating threshold above which documents are considered to be \"relevant\".", + "status": { "type": "number" } } } ] }, - "_global.rank_eval:RankEvalMetricBase": { + "_global.search:ResponseBody": { "type": "object", "properties": { - "k": { - "description": "Sets the maximum number of documents retrieved per query. This value will act in place of the usual size parameter in the query.", + "took": { "type": "number" - } - } - }, - "_global.rank_eval:RankEvalMetricRecall": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricRatingTreshold" }, - { - "type": "object" - } - ] - }, - "_global.rank_eval:RankEvalMetricMeanReciprocalRank": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricRatingTreshold" + "timed_out": { + "type": "boolean" }, - { - "type": "object" - } - ] - }, - "_global.rank_eval:RankEvalMetricDiscountedCumulativeGain": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricBase" + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" }, - { + "hits": { + "$ref": "#/components/schemas/_global.search._types:HitsMetadata" + }, + "aggregations": { "type": "object", - "properties": { - "normalize": { - "externalDocs": { - "url": "https://en.wikipedia.org/wiki/Discounted_cumulative_gain#Normalized_DCG" - }, - "description": "If set to true, this metric will calculate the Normalized DCG.", - "type": "boolean" - } + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:Aggregate" } - } - ] - }, - "_global.rank_eval:RankEvalMetricExpectedReciprocalRank": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricBase" }, - { + "_clusters": { + "$ref": "#/components/schemas/_types:ClusterStatistics" + }, + "fields": { "type": "object", - "properties": { - "maximum_relevance": { - "description": "The highest relevance grade used in the user-supplied relevance judgments.", - "type": "number" - } - }, - "required": [ - "maximum_relevance" - ] - } - ] - }, - "_global.rank_eval:RankEvalMetricDetail": { - "type": "object", - "properties": { - "metric_score": { - "description": "The metric_score in the details section shows the contribution of this query to the global quality metric score", + "additionalProperties": { + "type": "object" + } + }, + "max_score": { "type": "number" }, - "unrated_docs": { - "description": "The unrated_docs section contains an _index and _id entry for each document in the search result for this query that didn’t have a ratings value. This can be used to ask the user to supply ratings for these documents", - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.rank_eval:UnratedDocument" - } + "num_reduce_phases": { + "type": "number" }, - "hits": { - "description": "The hits section shows a grouping of the search results with their supplied ratings", - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalHitItem" - } + "profile": { + "$ref": "#/components/schemas/_global.search._types:Profile" }, - "metric_details": { - "description": "The metric_details give additional information about the calculated quality metric (e.g. how many of the retrieved documents were relevant). The content varies for each metric but allows for better interpretation of the results", + "pit_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_scroll_id": { + "$ref": "#/components/schemas/_types:ScrollId" + }, + "suggest": { "type": "object", "additionalProperties": { - "type": "object", - "additionalProperties": { - "type": "object" + "type": "array", + "items": { + "$ref": "#/components/schemas/_global.search._types:Suggest" } } + }, + "terminated_early": { + "type": "boolean" } }, "required": [ - "metric_score", - "unrated_docs", - "hits", - "metric_details" + "took", + "timed_out", + "_shards", + "hits" ] }, - "_global.rank_eval:UnratedDocument": { + "_types:ErrorResponseBase": { "type": "object", "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" + "error": { + "$ref": "#/components/schemas/_types:ErrorCause" }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" + "status": { + "type": "number" } }, "required": [ - "_id", - "_index" + "error", + "status" ] }, - "_global.rank_eval:RankEvalHitItem": { - "type": "object", - "properties": { - "hit": { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalHit" + "_global.msearch_template:RequestItem": { + "oneOf": [ + { + "$ref": "#/components/schemas/_global.msearch:MultisearchHeader" }, - "rating": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] + { + "$ref": "#/components/schemas/_global.msearch_template:TemplateConfig" } - }, - "required": [ - "hit" ] }, - "_global.rank_eval:RankEvalHit": { + "_global.msearch_template:TemplateConfig": { "type": "object", "properties": { - "_id": { + "explain": { + "description": "If `true`, returns detailed information about score calculation as part of each hit.", + "type": "boolean" + }, + "id": { "$ref": "#/components/schemas/_types:Id" }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" + "params": { + "description": "Key-value pairs used to replace Mustache variables in the template.\nThe key is the variable name.\nThe value is the variable value.", + "type": "object", + "additionalProperties": { + "type": "object" + } }, - "_score": { - "type": "number" + "profile": { + "description": "If `true`, the query execution is profiled.", + "type": "boolean" + }, + "source": { + "description": "An inline search template. Supports the same parameters as the search API's\nrequest body. Also supports Mustache variables. If no id is specified, this\nparameter is required.", + "type": "string" } - }, - "required": [ - "_id", - "_index", - "_score" - ] + } }, - "_global.scripts_painless_execute:PainlessContextSetup": { + "_global.mtermvectors:Operation": { "type": "object", "properties": { - "document": { - "description": "Document that’s temporarily indexed in-memory and accessible from the script.", - "type": "object" + "_id": { + "$ref": "#/components/schemas/_types:Id" }, - "index": { + "_index": { "$ref": "#/components/schemas/_types:IndexName" }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - }, - "required": [ - "document", - "index", - "query" - ] - }, - "_types:RankContainer": { - "type": "object", - "properties": { - "rrf": { - "$ref": "#/components/schemas/_types:RrfRank" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "_types:RrfRank": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:RankBase" + "doc": { + "description": "An artificial document (a document not present in the index) for which you want to retrieve term vectors.", + "type": "object" }, - { - "type": "object", - "properties": { - "rank_constant": { - "description": "How much influence documents in individual result sets per query have over the final ranked result set", - "type": "number" - }, - "window_size": { - "description": "Size of the individual result sets per query", - "type": "number" - } - } - } - ] - }, - "_types:RankBase": { - "type": "object" - }, - "search_application._types:SearchApplication": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" + "fields": { + "$ref": "#/components/schemas/_types:Fields" }, - "indices": { - "description": "Indices that are part of the Search Application.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:IndexName" - } + "field_statistics": { + "description": "If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies.", + "type": "boolean" }, - "updated_at_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + "filter": { + "$ref": "#/components/schemas/_global.termvectors:Filter" }, - "analytics_collection_name": { - "$ref": "#/components/schemas/_types:Name" + "offsets": { + "description": "If `true`, the response includes term offsets.", + "type": "boolean" }, - "template": { - "$ref": "#/components/schemas/search_application._types:SearchApplicationTemplate" - } - }, - "required": [ - "name", - "indices", - "updated_at_millis" - ] - }, - "search_application._types:SearchApplicationTemplate": { - "type": "object", - "properties": { - "script": { - "$ref": "#/components/schemas/_types:InlineScript" - } - }, - "required": [ - "script" - ] - }, - "search_application._types:AnalyticsCollection": { - "type": "object", - "properties": { - "event_data_stream": { - "$ref": "#/components/schemas/search_application._types:EventDataStream" - } - }, - "required": [ - "event_data_stream" - ] - }, - "search_application._types:EventDataStream": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:IndexName" + "payloads": { + "description": "If `true`, the response includes term payloads.", + "type": "boolean" + }, + "positions": { + "description": "If `true`, the response includes term positions.", + "type": "boolean" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "term_statistics": { + "description": "If true, the response includes term frequency and document frequency.", + "type": "boolean" + }, + "version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "version_type": { + "$ref": "#/components/schemas/_types:VersionType" } }, "required": [ - "name" + "_id" ] }, - "search_application.list:SearchApplicationListItem": { + "_global.termvectors:Filter": { "type": "object", "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" + "max_doc_freq": { + "description": "Ignore words which occur in more than this many docs.\nDefaults to unbounded.", + "type": "number" }, - "indices": { - "description": "Indices that are part of the Search Application", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:IndexName" - } + "max_num_terms": { + "description": "Maximum number of terms that must be returned per field.", + "type": "number" }, - "updated_at_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + "max_term_freq": { + "description": "Ignore words with more than this frequency in the source doc.\nDefaults to unbounded.", + "type": "number" }, - "analytics_collection_name": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "required": [ - "name", - "indices", - "updated_at_millis" - ] - }, - "search_application.put_behavioral_analytics:AnalyticsAcknowledgeResponseBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + "max_word_length": { + "description": "The maximum word length above which words will be ignored.\nDefaults to unbounded.", + "type": "number" }, - { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "required": [ - "name" - ] - } - ] - }, - "_global.search_mvt._types:ZoomLevel": { - "type": "number" - }, - "_global.search_mvt._types:Coordinate": { - "type": "number" - }, - "_global.search_mvt._types:GridAggregationType": { - "type": "string", - "enum": [ - "geotile", - "geohex" - ] - }, - "_global.search_mvt._types:GridType": { - "type": "string", - "enum": [ - "grid", - "point", - "centroid" - ] - }, - "_types:MapboxVectorTiles": { - "type": "object" - }, - "security._types:GrantType": { - "type": "string", - "enum": [ - "password", - "access_token" - ] - }, - "security._types:UserProfileWithMetadata": { - "allOf": [ - { - "$ref": "#/components/schemas/security._types:UserProfile" + "min_doc_freq": { + "description": "Ignore terms which do not occur in at least this many docs.", + "type": "number" }, - { - "type": "object", - "properties": { - "last_synchronized": { - "type": "number" - }, - "_doc": { - "$ref": "#/components/schemas/security._types:UserProfileHitMetadata" - } - }, - "required": [ - "last_synchronized", - "_doc" - ] + "min_term_freq": { + "description": "Ignore words with less than this frequency in the source doc.", + "type": "number" + }, + "min_word_length": { + "description": "The minimum word length below which words will be ignored.", + "type": "number" } - ] + } }, - "security._types:UserProfileHitMetadata": { + "_global.mtermvectors:TermVectorsResult": { "type": "object", "properties": { - "_primary_term": { + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "_version": { + "$ref": "#/components/schemas/_types:VersionNumber" + }, + "took": { "type": "number" }, - "_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" + "found": { + "type": "boolean" + }, + "term_vectors": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_global.termvectors:TermVector" + } + }, + "error": { + "$ref": "#/components/schemas/_types:ErrorCause" } }, "required": [ - "_primary_term", - "_seq_no" + "_id", + "_index" ] }, - "security._types:UserProfile": { + "_global.termvectors:TermVector": { "type": "object", "properties": { - "uid": { - "$ref": "#/components/schemas/security._types:UserProfileId" - }, - "user": { - "$ref": "#/components/schemas/security._types:UserProfileUser" - }, - "data": { - "type": "object", - "additionalProperties": { - "type": "object" - } + "field_statistics": { + "$ref": "#/components/schemas/_global.termvectors:FieldStatistics" }, - "labels": { + "terms": { "type": "object", "additionalProperties": { - "type": "object" + "$ref": "#/components/schemas/_global.termvectors:Term" } - }, - "enabled": { - "type": "boolean" } }, "required": [ - "uid", - "user", - "data", - "labels" + "field_statistics", + "terms" ] }, - "security._types:UserProfileId": { - "type": "string" - }, - "security._types:UserProfileUser": { + "_global.termvectors:FieldStatistics": { "type": "object", "properties": { - "email": { - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "full_name": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Name" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "realm_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "realm_domain": { - "$ref": "#/components/schemas/_types:Name" + "doc_count": { + "type": "number" }, - "roles": { - "type": "array", - "items": { - "type": "string" - } + "sum_doc_freq": { + "type": "number" }, - "username": { - "$ref": "#/components/schemas/_types:Username" + "sum_ttf": { + "type": "number" } }, "required": [ - "realm_name", - "roles", - "username" + "doc_count", + "sum_doc_freq", + "sum_ttf" ] }, - "_types:Username": { - "type": "string" - }, - "security._types:ApiKey": { + "_global.termvectors:Term": { "type": "object", "properties": { - "creation": { - "description": "Creation time for the API key in milliseconds.", + "doc_freq": { "type": "number" }, - "expiration": { - "description": "Expiration time for the API key in milliseconds.", + "score": { "type": "number" }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "invalidated": { - "description": "Invalidation status for the API key.\nIf the key has been invalidated, it has a value of `true`. Otherwise, it is `false`.", - "type": "boolean" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "realm": { - "description": "Realm name of the principal for which this API key was created.", - "type": "string" - }, - "username": { - "$ref": "#/components/schemas/_types:Username" - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "role_descriptors": { - "description": "The role descriptors assigned to this API key when it was created or last updated.\nAn empty role descriptor means the API key inherits the owner user’s permissions.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:RoleDescriptor" - } + "term_freq": { + "type": "number" }, - "limited_by": { - "description": "The owner user’s permissions associated with the API key.\nIt is a point-in-time snapshot captured at creation and subsequent updates.\nAn API key’s effective permissions are an intersection of its assigned privileges and the owner user’s permissions.", + "tokens": { "type": "array", "items": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:RoleDescriptor" - } + "$ref": "#/components/schemas/_global.termvectors:Token" } }, - "_sort": { - "$ref": "#/components/schemas/_types:SortResults" + "ttf": { + "type": "number" } }, "required": [ - "id", - "name" + "term_freq" ] }, - "security._types:RoleDescriptor": { + "_global.termvectors:Token": { "type": "object", "properties": { - "cluster": { - "description": "A list of cluster privileges. These privileges define the cluster level actions that API keys are able to execute.", - "type": "array", - "items": { - "type": "string" - } - }, - "indices": { - "description": "A list of indices permissions entries.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:IndicesPrivileges" - } + "end_offset": { + "type": "number" }, - "global": { - "description": "An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware. Support for global privileges is currently limited to the management of application privileges.", - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:GlobalPrivilege" - } - }, - { - "$ref": "#/components/schemas/security._types:GlobalPrivilege" - } - ] + "payload": { + "type": "string" }, - "applications": { - "description": "A list of application privilege entries", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:ApplicationPrivileges" - } + "position": { + "type": "number" }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" + "start_offset": { + "type": "number" + } + }, + "required": [ + "position" + ] + }, + "query_ruleset._types:QueryRuleset": { + "type": "object", + "properties": { + "ruleset_id": { + "$ref": "#/components/schemas/_types:Id" }, - "run_as": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/run-as-privilege.html" - }, - "description": "A list of users that the API keys can impersonate.", + "rules": { + "description": "Rules associated with the query ruleset", "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/query_ruleset._types:QueryRule" } - }, - "transient_metadata": { - "$ref": "#/components/schemas/security._types:TransientMetadataConfig" } - } + }, + "required": [ + "ruleset_id", + "rules" + ] }, - "security._types:IndicesPrivileges": { + "query_ruleset._types:QueryRule": { "type": "object", "properties": { - "field_security": { - "$ref": "#/components/schemas/security._types:FieldSecurity" + "rule_id": { + "$ref": "#/components/schemas/_types:Id" }, - "names": { - "$ref": "#/components/schemas/_types:Indices" + "type": { + "$ref": "#/components/schemas/query_ruleset._types:QueryRuleType" }, - "privileges": { - "description": "The index level privileges that owners of the role have on the specified indices.", + "criteria": { "type": "array", "items": { - "$ref": "#/components/schemas/security._types:IndexPrivilege" + "$ref": "#/components/schemas/query_ruleset._types:QueryRuleCriteria" } }, - "query": { - "$ref": "#/components/schemas/security._types:IndicesPrivilegesQuery" - }, - "allow_restricted_indices": { - "description": "Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`.", - "type": "boolean" + "actions": { + "$ref": "#/components/schemas/query_ruleset._types:QueryRuleActions" } }, "required": [ - "names", - "privileges" + "rule_id", + "type", + "criteria", + "actions" ] }, - "security._types:FieldSecurity": { - "type": "object", - "properties": { - "except": { - "$ref": "#/components/schemas/_types:Fields" - }, - "grant": { - "$ref": "#/components/schemas/_types:Fields" - } - } - }, - "security._types:IndexPrivilege": { + "query_ruleset._types:QueryRuleType": { "type": "string", "enum": [ - "none", - "all", - "auto_configure", - "create", - "create_doc", - "create_index", - "delete", - "delete_index", - "index", - "maintenance", - "manage", - "manage_follow_index", - "manage_ilm", - "manage_leader_index", - "monitor", - "read", - "read_cross_cluster", - "view_index_metadata", - "write" - ] - }, - "security._types:IndicesPrivilegesQuery": { - "description": "While creating or updating a role you can provide either a JSON structure or a string to the API.\nHowever, the response provided by Elasticsearch will only be string with a json-as-text content.\n\nSince this is embedded in `IndicesPrivileges`, the same structure is used for clarity in both contexts.", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - { - "$ref": "#/components/schemas/security._types:RoleTemplateQuery" - } + "pinned" ] }, - "security._types:RoleTemplateQuery": { + "query_ruleset._types:QueryRuleCriteria": { "type": "object", "properties": { - "template": { - "$ref": "#/components/schemas/security._types:RoleTemplateScript" - } - } - }, - "security._types:RoleTemplateScript": { - "oneOf": [ - { - "$ref": "#/components/schemas/security._types:RoleTemplateInlineScript" + "type": { + "$ref": "#/components/schemas/query_ruleset._types:QueryRuleCriteriaType" }, - { - "$ref": "#/components/schemas/_types:StoredScriptId" - } - ] - }, - "security._types:RoleTemplateInlineScript": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:ScriptBase" + "metadata": { + "type": "string" }, - { - "type": "object", - "properties": { - "lang": { - "$ref": "#/components/schemas/_types:ScriptLanguage" - }, - "options": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "source": { - "$ref": "#/components/schemas/security._types:RoleTemplateInlineQuery" - } - }, - "required": [ - "source" - ] + "values": { + "type": "array", + "items": { + "type": "object" + } } + }, + "required": [ + "type", + "metadata" ] }, - "security._types:RoleTemplateInlineQuery": { - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } + "query_ruleset._types:QueryRuleCriteriaType": { + "type": "string", + "enum": [ + "global", + "exact", + "exact_fuzzy", + "prefix", + "suffix", + "contains", + "lt", + "lte", + "gt", + "gte" ] }, - "security._types:GlobalPrivilege": { + "query_ruleset._types:QueryRuleActions": { "type": "object", "properties": { - "application": { - "$ref": "#/components/schemas/security._types:ApplicationGlobalUserPrivileges" + "ids": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:Id" + } + }, + "docs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:PinnedDoc" + } } - }, - "required": [ - "application" - ] + } }, - "security._types:ApplicationGlobalUserPrivileges": { + "query_ruleset.list:QueryRulesetListItem": { "type": "object", "properties": { - "manage": { - "$ref": "#/components/schemas/security._types:ManageUserPrivileges" + "ruleset_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "rules_count": { + "description": "The number of rules associated with this ruleset", + "type": "number" } }, "required": [ - "manage" + "ruleset_id", + "rules_count" ] }, - "security._types:ManageUserPrivileges": { + "_global.rank_eval:RankEvalRequestItem": { "type": "object", "properties": { - "applications": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "request": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalQuery" + }, + "ratings": { + "description": "List of document ratings", "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/_global.rank_eval:DocumentRating" + } + }, + "template_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "params": { + "description": "The search template parameters.", + "type": "object", + "additionalProperties": { + "type": "object" } } }, "required": [ - "applications" + "id", + "ratings" ] }, - "security._types:ApplicationPrivileges": { + "_global.rank_eval:RankEvalQuery": { "type": "object", "properties": { - "application": { - "description": "The name of the application to which this entry applies.", - "type": "string" - }, - "privileges": { - "description": "A list of strings, where each element is the name of an application privilege or action.", - "type": "array", - "items": { - "type": "string" - } + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" }, - "resources": { - "description": "A list resources to which the privileges are applied.", - "type": "array", - "items": { - "type": "string" - } + "size": { + "type": "number" } }, "required": [ - "application", - "privileges", - "resources" + "query" ] }, - "security._types:TransientMetadataConfig": { + "_global.rank_eval:DocumentRating": { "type": "object", "properties": { - "enabled": { - "type": "boolean" + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "rating": { + "description": "The document’s relevance with regard to this search request.", + "type": "number" } }, "required": [ - "enabled" + "_id", + "_index", + "rating" ] }, - "security._types:RealmInfo": { + "_global.rank_eval:RankEvalMetric": { "type": "object", "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" + "precision": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricPrecision" }, - "type": { - "type": "string" + "recall": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricRecall" + }, + "mean_reciprocal_rank": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricMeanReciprocalRank" + }, + "dcg": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricDiscountedCumulativeGain" + }, + "expected_reciprocal_rank": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricExpectedReciprocalRank" + } + } + }, + "_global.rank_eval:RankEvalMetricPrecision": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricRatingTreshold" + }, + { + "type": "object", + "properties": { + "ignore_unlabeled": { + "description": "Controls how unlabeled documents in the search results are counted. If set to true, unlabeled documents are ignored and neither count as relevant or irrelevant. Set to false (the default), they are treated as irrelevant.", + "type": "boolean" + } + } + } + ] + }, + "_global.rank_eval:RankEvalMetricRatingTreshold": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricBase" + }, + { + "type": "object", + "properties": { + "relevant_rating_threshold": { + "description": "Sets the rating threshold above which documents are considered to be \"relevant\".", + "type": "number" + } + } } - }, - "required": [ - "name", - "type" ] }, - "security.authenticate:Token": { + "_global.rank_eval:RankEvalMetricBase": { "type": "object", "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "type": { - "type": "string" + "k": { + "description": "Sets the maximum number of documents retrieved per query. This value will act in place of the usual size parameter in the query.", + "type": "number" } - }, - "required": [ - "name" - ] + } }, - "security._types:ClusterNode": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" + "_global.rank_eval:RankEvalMetricRecall": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricRatingTreshold" + }, + { + "type": "object" } - }, - "required": [ - "name" ] }, - "_types:Namespace": { - "type": "string" - }, - "_types:Service": { - "type": "string" - }, - "security.create_service_token:Token": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" + "_global.rank_eval:RankEvalMetricMeanReciprocalRank": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricRatingTreshold" }, - "value": { - "type": "string" + { + "type": "object" } - }, - "required": [ - "name", - "value" ] }, - "security.delete_privileges:FoundStatus": { - "type": "object", - "properties": { - "found": { - "type": "boolean" + "_global.rank_eval:RankEvalMetricDiscountedCumulativeGain": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricBase" + }, + { + "type": "object", + "properties": { + "normalize": { + "externalDocs": { + "url": "https://en.wikipedia.org/wiki/Discounted_cumulative_gain#Normalized_DCG" + }, + "description": "If set to true, this metric will calculate the Normalized DCG.", + "type": "boolean" + } + } } - }, - "required": [ - "found" ] }, - "security.put_privileges:Actions": { - "type": "object", - "properties": { - "actions": { - "type": "array", - "items": { - "type": "string" - } - }, - "application": { - "type": "string" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" + "_global.rank_eval:RankEvalMetricExpectedReciprocalRank": { + "allOf": [ + { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricBase" }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" + { + "type": "object", + "properties": { + "maximum_relevance": { + "description": "The highest relevance grade used in the user-supplied relevance judgments.", + "type": "number" + } + }, + "required": [ + "maximum_relevance" + ] } - }, - "required": [ - "actions" ] }, - "security.get_role:Role": { + "_global.rank_eval:RankEvalMetricDetail": { "type": "object", "properties": { - "cluster": { - "type": "array", - "items": { - "type": "string" - } - }, - "indices": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:IndicesPrivileges" - } - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "run_as": { - "type": "array", - "items": { - "type": "string" - } - }, - "transient_metadata": { - "$ref": "#/components/schemas/security._types:TransientMetadataConfig" + "metric_score": { + "description": "The metric_score in the details section shows the contribution of this query to the global quality metric score", + "type": "number" }, - "applications": { + "unrated_docs": { + "description": "The unrated_docs section contains an _index and _id entry for each document in the search result for this query that didn’t have a ratings value. This can be used to ask the user to supply ratings for these documents", "type": "array", "items": { - "$ref": "#/components/schemas/security._types:ApplicationPrivileges" + "$ref": "#/components/schemas/_global.rank_eval:UnratedDocument" } }, - "role_templates": { + "hits": { + "description": "The hits section shows a grouping of the search results with their supplied ratings", "type": "array", "items": { - "$ref": "#/components/schemas/security.get_role:RoleTemplate" + "$ref": "#/components/schemas/_global.rank_eval:RankEvalHitItem" } }, - "global": { + "metric_details": { + "description": "The metric_details give additional information about the calculated quality metric (e.g. how many of the retrieved documents were relevant). The content varies for each metric but allows for better interpretation of the results", "type": "object", "additionalProperties": { "type": "object", "additionalProperties": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - } + "type": "object" } } } }, "required": [ - "cluster", - "indices", - "metadata", - "run_as", - "transient_metadata", - "applications" + "metric_score", + "unrated_docs", + "hits", + "metric_details" ] }, - "security.get_role:RoleTemplate": { + "_global.rank_eval:UnratedDocument": { "type": "object", "properties": { - "format": { - "$ref": "#/components/schemas/security.get_role:TemplateFormat" + "_id": { + "$ref": "#/components/schemas/_types:Id" }, - "template": { - "$ref": "#/components/schemas/_types:Script" + "_index": { + "$ref": "#/components/schemas/_types:IndexName" } }, "required": [ - "template" + "_id", + "_index" ] }, - "security.get_role:TemplateFormat": { - "type": "string", - "enum": [ - "string", - "json" + "_global.rank_eval:RankEvalHitItem": { + "type": "object", + "properties": { + "hit": { + "$ref": "#/components/schemas/_global.rank_eval:RankEvalHit" + }, + "rating": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + } + }, + "required": [ + "hit" ] }, - "security._types:RoleMapping": { + "_global.rank_eval:RankEvalHit": { "type": "object", "properties": { - "enabled": { - "type": "boolean" - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } + "_id": { + "$ref": "#/components/schemas/_types:Id" }, - "rules": { - "$ref": "#/components/schemas/security._types:RoleMappingRule" + "_index": { + "$ref": "#/components/schemas/_types:IndexName" }, - "role_templates": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security.get_role:RoleTemplate" - } + "_score": { + "type": "number" } }, "required": [ - "enabled", - "metadata", - "roles", - "rules" + "_id", + "_index", + "_score" ] }, - "security._types:RoleMappingRule": { + "_global.scripts_painless_execute:PainlessContextSetup": { "type": "object", "properties": { - "any": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:RoleMappingRule" - } - }, - "all": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:RoleMappingRule" - } + "document": { + "description": "Document that’s temporarily indexed in-memory and accessible from the script.", + "type": "object" }, - "field": { - "$ref": "#/components/schemas/security._types:FieldRule" + "index": { + "$ref": "#/components/schemas/_types:IndexName" }, - "except": { - "$ref": "#/components/schemas/security._types:RoleMappingRule" + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" } }, - "minProperties": 1, - "maxProperties": 1 + "required": [ + "document", + "index", + "query" + ] }, - "security._types:FieldRule": { + "_types:RankContainer": { "type": "object", "properties": { - "username": { - "$ref": "#/components/schemas/_types:Name" - }, - "dn": { - "$ref": "#/components/schemas/_types:Names" - }, - "groups": { - "$ref": "#/components/schemas/_types:Names" - }, - "metadata": { - "type": "object" - }, - "realm": { - "$ref": "#/components/schemas/security._types:Realm" + "rrf": { + "$ref": "#/components/schemas/_types:RrfRank" } }, "minProperties": 1, "maxProperties": 1 }, - "security._types:Realm": { + "_types:RrfRank": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:RankBase" + }, + { + "type": "object", + "properties": { + "rank_constant": { + "description": "How much influence documents in individual result sets per query have over the final ranked result set", + "type": "number" + }, + "window_size": { + "description": "Size of the individual result sets per query", + "type": "number" + } + } + } + ] + }, + "_types:RankBase": { + "type": "object" + }, + "search_application._types:SearchApplication": { "type": "object", "properties": { "name": { "$ref": "#/components/schemas/_types:Name" + }, + "indices": { + "description": "Indices that are part of the Search Application.", + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:IndexName" + } + }, + "updated_at_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "analytics_collection_name": { + "$ref": "#/components/schemas/_types:Name" + }, + "template": { + "$ref": "#/components/schemas/search_application._types:SearchApplicationTemplate" } }, "required": [ - "name" + "name", + "indices", + "updated_at_millis" ] }, - "security.get_service_accounts:RoleDescriptorWrapper": { + "search_application._types:SearchApplicationTemplate": { "type": "object", "properties": { - "role_descriptor": { - "$ref": "#/components/schemas/security._types:RoleDescriptorRead" + "script": { + "$ref": "#/components/schemas/_types:InlineScript" } }, "required": [ - "role_descriptor" + "script" ] }, - "security._types:RoleDescriptorRead": { + "search_application._types:AnalyticsCollection": { "type": "object", "properties": { - "cluster": { - "description": "A list of cluster privileges. These privileges define the cluster level actions that API keys are able to execute.", - "type": "array", - "items": { - "type": "string" - } - }, - "indices": { - "description": "A list of indices permissions entries.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:IndicesPrivileges" - } - }, - "global": { - "description": "An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware. Support for global privileges is currently limited to the management of application privileges.", - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:GlobalPrivilege" - } - }, - { - "$ref": "#/components/schemas/security._types:GlobalPrivilege" - } - ] - }, - "applications": { - "description": "A list of application privilege entries", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:ApplicationPrivileges" - } - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "run_as": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/run-as-privilege.html" - }, - "description": "A list of users that the API keys can impersonate.", - "type": "array", - "items": { - "type": "string" - } - }, - "transient_metadata": { - "$ref": "#/components/schemas/security._types:TransientMetadataConfig" + "event_data_stream": { + "$ref": "#/components/schemas/search_application._types:EventDataStream" } }, "required": [ - "cluster", - "indices" + "event_data_stream" ] }, - "security.get_service_credentials:NodesCredentials": { + "search_application._types:EventDataStream": { "type": "object", "properties": { - "_nodes": { - "$ref": "#/components/schemas/_types:NodeStatistics" - }, - "file_tokens": { - "description": "File-backed tokens collected from all nodes", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security.get_service_credentials:NodesCredentialsFileToken" - } + "name": { + "$ref": "#/components/schemas/_types:IndexName" } }, "required": [ - "_nodes", - "file_tokens" + "name" ] }, - "security.get_service_credentials:NodesCredentialsFileToken": { + "search_application.list:SearchApplicationListItem": { "type": "object", "properties": { - "nodes": { + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "indices": { + "description": "Indices that are part of the Search Application", "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/_types:IndexName" } + }, + "updated_at_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "analytics_collection_name": { + "$ref": "#/components/schemas/_types:Name" } }, "required": [ - "nodes" - ] - }, - "security.get_token:AccessTokenGrantType": { - "type": "string", - "enum": [ - "password", - "client_credentials", - "_kerberos", - "refresh_token" + "name", + "indices", + "updated_at_millis" ] }, - "_types:Password": { - "type": "string" - }, - "security.get_token:AuthenticatedUser": { + "search_application.put_behavioral_analytics:AnalyticsAcknowledgeResponseBase": { "allOf": [ { - "$ref": "#/components/schemas/security._types:User" + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" }, { "type": "object", "properties": { - "authentication_realm": { - "$ref": "#/components/schemas/security.get_token:UserRealm" - }, - "lookup_realm": { - "$ref": "#/components/schemas/security.get_token:UserRealm" - }, - "authentication_provider": { - "$ref": "#/components/schemas/security.get_token:AuthenticationProvider" - }, - "authentication_type": { - "type": "string" + "name": { + "$ref": "#/components/schemas/_types:Name" } }, "required": [ - "authentication_realm", - "lookup_realm", - "authentication_type" + "name" ] } ] }, - "security.get_token:UserRealm": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name", - "type" + "_global.search_mvt._types:ZoomLevel": { + "type": "number" + }, + "_global.search_mvt._types:Coordinate": { + "type": "number" + }, + "_global.search_mvt._types:GridAggregationType": { + "type": "string", + "enum": [ + "geotile", + "geohex" + ] + }, + "_global.search_mvt._types:GridType": { + "type": "string", + "enum": [ + "grid", + "point", + "centroid" ] }, - "security.get_token:AuthenticationProvider": { + "_types:MapboxVectorTiles": { + "type": "object" + }, + "security._types:ApiKey": { "type": "object", "properties": { - "type": { - "type": "string" + "creation": { + "description": "Creation time for the API key in milliseconds.", + "type": "number" + }, + "expiration": { + "description": "Expiration time for the API key in milliseconds.", + "type": "number" + }, + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "invalidated": { + "description": "Invalidation status for the API key.\nIf the key has been invalidated, it has a value of `true`. Otherwise, it is `false`.", + "type": "boolean" }, "name": { "$ref": "#/components/schemas/_types:Name" + }, + "realm": { + "description": "Realm name of the principal for which this API key was created.", + "type": "string" + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + }, + "metadata": { + "$ref": "#/components/schemas/_types:Metadata" + }, + "role_descriptors": { + "description": "The role descriptors assigned to this API key when it was created or last updated.\nAn empty role descriptor means the API key inherits the owner user’s permissions.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:RoleDescriptor" + } + }, + "limited_by": { + "description": "The owner user’s permissions associated with the API key.\nIt is a point-in-time snapshot captured at creation and subsequent updates.\nAn API key’s effective permissions are an intersection of its assigned privileges and the owner user’s permissions.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security._types:RoleDescriptor" + } + } + }, + "_sort": { + "$ref": "#/components/schemas/_types:SortResults" } }, "required": [ - "type", + "id", "name" ] }, - "security._types:User": { + "_types:Username": { + "type": "string" + }, + "security._types:RoleDescriptor": { "type": "object", "properties": { - "email": { - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] + "cluster": { + "description": "A list of cluster privileges. These privileges define the cluster level actions that API keys are able to execute.", + "type": "array", + "items": { + "type": "string" + } + }, + "indices": { + "description": "A list of indices permissions entries.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:IndicesPrivileges" + } }, - "full_name": { + "global": { + "description": "An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware. Support for global privileges is currently limited to the management of application privileges.", "oneOf": [ { - "$ref": "#/components/schemas/_types:Name" + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:GlobalPrivilege" + } }, { - "nullable": true, - "type": "string" + "$ref": "#/components/schemas/security._types:GlobalPrivilege" } ] }, + "applications": { + "description": "A list of application privilege entries", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:ApplicationPrivileges" + } + }, "metadata": { "$ref": "#/components/schemas/_types:Metadata" }, - "roles": { + "run_as": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/run-as-privilege.html" + }, + "description": "A list of users that the API keys can impersonate.", "type": "array", "items": { "type": "string" } }, - "username": { - "$ref": "#/components/schemas/_types:Username" - }, - "enabled": { - "type": "boolean" - }, - "profile_uid": { - "$ref": "#/components/schemas/security._types:UserProfileId" + "transient_metadata": { + "$ref": "#/components/schemas/security._types:TransientMetadataConfig" } - }, - "required": [ - "metadata", - "roles", - "username", - "enabled" - ] + } }, - "security._types:UserIndicesPrivileges": { + "security._types:IndicesPrivileges": { "type": "object", "properties": { "field_security": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/field-and-document-access-control.html" - }, - "description": "The document fields that the owners of the role have read access to.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:FieldSecurity" - } + "$ref": "#/components/schemas/security._types:FieldSecurity" }, "names": { "$ref": "#/components/schemas/_types:Indices" @@ -72456,11 +54678,7 @@ } }, "query": { - "description": "Search queries that define the documents the user has access to. A document within the specified indices must match these queries for it to be accessible by the owners of the role.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:IndicesPrivilegesQuery" - } + "$ref": "#/components/schemas/security._types:IndicesPrivilegesQuery" }, "allow_restricted_indices": { "description": "Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`.", @@ -72469,324 +54687,226 @@ }, "required": [ "names", - "privileges", - "allow_restricted_indices" + "privileges" ] }, - "security.get_user_profile:GetUserProfileErrors": { + "security._types:FieldSecurity": { "type": "object", "properties": { - "count": { - "type": "number" + "except": { + "$ref": "#/components/schemas/_types:Fields" }, - "details": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ErrorCause" - } + "grant": { + "$ref": "#/components/schemas/_types:Fields" + } + } + }, + "security._types:IndexPrivilege": { + "type": "string", + "enum": [ + "none", + "all", + "auto_configure", + "create", + "create_doc", + "create_index", + "delete", + "delete_index", + "index", + "maintenance", + "manage", + "manage_follow_index", + "manage_ilm", + "manage_leader_index", + "monitor", + "read", + "read_cross_cluster", + "view_index_metadata", + "write" + ] + }, + "security._types:IndicesPrivilegesQuery": { + "description": "While creating or updating a role you can provide either a JSON structure or a string to the API.\nHowever, the response provided by Elasticsearch will only be string with a json-as-text content.\n\nSince this is embedded in `IndicesPrivileges`, the same structure is used for clarity in both contexts.", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + { + "$ref": "#/components/schemas/security._types:RoleTemplateQuery" } - }, - "required": [ - "count", - "details" ] }, - "security.grant_api_key:GrantApiKey": { + "security._types:RoleTemplateQuery": { "type": "object", "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" + "template": { + "$ref": "#/components/schemas/security._types:RoleTemplateScript" + } + } + }, + "security._types:RoleTemplateScript": { + "oneOf": [ + { + "$ref": "#/components/schemas/security._types:RoleTemplateInlineScript" }, - "expiration": { - "$ref": "#/components/schemas/_types:DurationLarge" + { + "$ref": "#/components/schemas/_types:StoredScriptId" + } + ] + }, + "security._types:RoleTemplateInlineScript": { + "allOf": [ + { + "$ref": "#/components/schemas/_types:ScriptBase" }, - "role_descriptors": { - "description": "The role descriptors for this API key.\nThis parameter is optional.\nWhen it is not specified or is an empty array, the API key has a point in time snapshot of permissions of the specified user or access token.\nIf you supply role descriptors, the resultant permissions are an intersection of API keys permissions and the permissions of the user or access token.", - "oneOf": [ - { + { + "type": "object", + "properties": { + "lang": { + "$ref": "#/components/schemas/_types:ScriptLanguage" + }, + "options": { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/security._types:RoleDescriptor" + "type": "string" } }, - { - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:RoleDescriptor" - } - } + "source": { + "$ref": "#/components/schemas/security._types:RoleTemplateInlineQuery" } + }, + "required": [ + "source" ] - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" } - }, - "required": [ - "name" ] }, - "security.grant_api_key:ApiKeyGrantType": { - "type": "string", - "enum": [ - "access_token", - "password" + "security._types:RoleTemplateInlineQuery": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } ] }, - "security.has_privileges:ApplicationPrivilegesCheck": { + "security._types:GlobalPrivilege": { "type": "object", "properties": { "application": { - "description": "The name of the application.", - "type": "string" - }, - "privileges": { - "description": "A list of the privileges that you want to check for the specified resources. May be either application privilege names, or the names of actions that are granted by those privileges", - "type": "array", - "items": { - "type": "string" - } - }, - "resources": { - "description": "A list of resource names against which the privileges should be checked", - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/security._types:ApplicationGlobalUserPrivileges" } }, "required": [ - "application", - "privileges", - "resources" + "application" ] }, - "security._types:ClusterPrivilege": { - "type": "string", - "enum": [ - "all", - "cancel_task", - "create_snapshot", - "grant_api_key", - "manage", - "manage_api_key", - "manage_ccr", - "manage_enrich", - "manage_ilm", - "manage_index_templates", - "manage_ingest_pipelines", - "manage_logstash_pipelines", - "manage_ml", - "manage_oidc", - "manage_own_api_key", - "manage_pipeline", - "manage_rollup", - "manage_saml", - "manage_security", - "manage_service_account", - "manage_slm", - "manage_token", - "manage_transform", - "manage_user_profile", - "manage_watcher", - "monitor", - "monitor_ml", - "monitor_rollup", - "monitor_snapshot", - "monitor_text_structure", - "monitor_transform", - "monitor_watcher", - "read_ccr", - "read_ilm", - "read_pipeline", - "read_slm", - "transport_client" + "security._types:ApplicationGlobalUserPrivileges": { + "type": "object", + "properties": { + "manage": { + "$ref": "#/components/schemas/security._types:ManageUserPrivileges" + } + }, + "required": [ + "manage" ] }, - "security.has_privileges:IndexPrivilegesCheck": { + "security._types:ManageUserPrivileges": { "type": "object", "properties": { - "names": { - "$ref": "#/components/schemas/_types:Indices" - }, - "privileges": { - "description": "A list of the privileges that you want to check for the specified indices.", + "applications": { "type": "array", "items": { - "$ref": "#/components/schemas/security._types:IndexPrivilege" + "type": "string" } - }, - "allow_restricted_indices": { - "description": "This needs to be set to true (default is false) if using wildcards or regexps for patterns that cover restricted indices.\nImplicitly, restricted indices do not match index patterns because restricted indices usually have limited privileges and including them in pattern tests would render most such tests false.\nIf restricted indices are explicitly included in the names list, privileges will be checked against them regardless of the value of allow_restricted_indices.", - "type": "boolean" } }, "required": [ - "names", - "privileges" + "applications" ] }, - "security.has_privileges:ApplicationsPrivileges": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security.has_privileges:ResourcePrivileges" - } - }, - "security.has_privileges:ResourcePrivileges": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security.has_privileges:Privileges" - } - }, - "security.has_privileges:Privileges": { - "type": "object", - "additionalProperties": { - "type": "boolean" - } - }, - "security.has_privileges_user_profile:PrivilegesCheck": { + "security._types:ApplicationPrivileges": { "type": "object", "properties": { "application": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security.has_privileges:ApplicationPrivilegesCheck" - } + "description": "The name of the application to which this entry applies.", + "type": "string" }, - "cluster": { - "description": "A list of the cluster privileges that you want to check.", + "privileges": { + "description": "A list of strings, where each element is the name of an application privilege or action.", "type": "array", "items": { - "$ref": "#/components/schemas/security._types:ClusterPrivilege" + "type": "string" } }, - "index": { + "resources": { + "description": "A list resources to which the privileges are applied.", "type": "array", "items": { - "$ref": "#/components/schemas/security.has_privileges:IndexPrivilegesCheck" - } - } - } - }, - "security.has_privileges_user_profile:HasPrivilegesUserProfileErrors": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "details": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ErrorCause" + "type": "string" } } }, "required": [ - "count", - "details" + "application", + "privileges", + "resources" ] }, - "security._types:CreatedStatus": { + "security._types:TransientMetadataConfig": { "type": "object", "properties": { - "created": { + "enabled": { "type": "boolean" } }, "required": [ - "created" + "enabled" ] }, - "security.suggest_user_profiles:Hint": { + "security._types:RealmInfo": { "type": "object", "properties": { - "uids": { - "description": "A list of Profile UIDs to match against.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:UserProfileId" - } + "name": { + "$ref": "#/components/schemas/_types:Name" }, - "labels": { - "description": "A single key-value pair to match against the labels section\nof a profile. A profile is considered matching if it matches\nat least one of the strings.", - "type": "object", - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } + "type": { + "type": "string" } - } + }, + "required": [ + "name", + "type" + ] }, - "security.suggest_user_profiles:TotalUserProfiles": { + "security.authenticate:Token": { "type": "object", "properties": { - "value": { - "type": "number" + "name": { + "$ref": "#/components/schemas/_types:Name" }, - "relation": { - "$ref": "#/components/schemas/_types:RelationName" + "type": { + "type": "string" } }, "required": [ - "value", - "relation" + "name" ] }, - "ssl.certificates:CertificateInformation": { + "security._types:ClusterNode": { "type": "object", "properties": { - "alias": { - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "expiry": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "format": { - "type": "string" - }, - "has_private_key": { - "type": "boolean" - }, - "issuer": { - "type": "string" - }, - "path": { - "type": "string" - }, - "serial_number": { - "type": "string" - }, - "subject_dn": { - "type": "string" + "name": { + "$ref": "#/components/schemas/_types:Name" } }, "required": [ - "alias", - "expiry", - "format", - "has_private_key", - "path", - "serial_number", - "subject_dn" + "name" ] }, "synonyms._types:SynonymsUpdateResult": { @@ -72895,83 +55015,6 @@ "synonyms" ] }, - "text_structure.find_structure:FieldStat": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "cardinality": { - "type": "number" - }, - "top_hits": { - "type": "array", - "items": { - "$ref": "#/components/schemas/text_structure.find_structure:TopHit" - } - }, - "mean_value": { - "type": "number" - }, - "median_value": { - "type": "number" - }, - "max_value": { - "type": "number" - }, - "min_value": { - "type": "number" - }, - "earliest": { - "type": "string" - }, - "latest": { - "type": "string" - } - }, - "required": [ - "count", - "cardinality", - "top_hits" - ] - }, - "text_structure.find_structure:TopHit": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "value": { - "type": "object" - } - }, - "required": [ - "count", - "value" - ] - }, - "ingest._types:PipelineConfig": { - "type": "object", - "properties": { - "description": { - "description": "Description of the ingest pipeline.", - "type": "string" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "processors": { - "description": "Processors used to perform transformations on documents before indexing.\nProcessors run sequentially in the order specified.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ingest._types:ProcessorContainer" - } - } - }, - "required": [ - "processors" - ] - }, "transform.get_transform:TransformSummary": { "type": "object", "properties": { @@ -73487,6 +55530,12 @@ "host" ] }, + "_types:Host": { + "type": "string" + }, + "_types:Password": { + "type": "string" + }, "_global.update:UpdateWriteResponseBase": { "allOf": [ { @@ -73531,221 +55580,6 @@ "found", "_source" ] - }, - "xpack.info:BuildInformation": { - "type": "object", - "properties": { - "date": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "hash": { - "type": "string" - } - }, - "required": [ - "date", - "hash" - ] - }, - "xpack.info:Features": { - "type": "object", - "properties": { - "aggregate_metric": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "analytics": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "ccr": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "data_frame": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "data_science": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "data_streams": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "data_tiers": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "enrich": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "eql": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "flattened": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "frozen_indices": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "graph": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "ilm": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "logstash": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "ml": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "monitoring": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "rollup": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "runtime_fields": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "searchable_snapshots": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "security": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "slm": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "spatial": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "sql": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "transform": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "vectors": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "voting_only": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "watcher": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "archive": { - "$ref": "#/components/schemas/xpack.info:Feature" - } - }, - "required": [ - "aggregate_metric", - "analytics", - "ccr", - "data_streams", - "data_tiers", - "enrich", - "eql", - "frozen_indices", - "graph", - "ilm", - "logstash", - "ml", - "monitoring", - "rollup", - "searchable_snapshots", - "security", - "slm", - "spatial", - "sql", - "transform", - "voting_only", - "watcher", - "archive" - ] - }, - "xpack.info:Feature": { - "type": "object", - "properties": { - "available": { - "type": "boolean" - }, - "description": { - "type": "string" - }, - "enabled": { - "type": "boolean" - }, - "native_code_info": { - "$ref": "#/components/schemas/xpack.info:NativeCodeInformation" - } - }, - "required": [ - "available", - "enabled" - ] - }, - "xpack.info:NativeCodeInformation": { - "type": "object", - "properties": { - "build_hash": { - "type": "string" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - } - }, - "required": [ - "build_hash", - "version" - ] - }, - "xpack.info:MinimalLicenseInformation": { - "type": "object", - "properties": { - "expiry_date_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "mode": { - "$ref": "#/components/schemas/license._types:LicenseType" - }, - "status": { - "$ref": "#/components/schemas/license._types:LicenseStatus" - }, - "type": { - "$ref": "#/components/schemas/license._types:LicenseType" - }, - "uid": { - "type": "string" - } - }, - "required": [ - "expiry_date_in_millis", - "mode", - "status", - "type", - "uid" - ] - }, - "license._types:LicenseType": { - "type": "string", - "enum": [ - "missing", - "trial", - "basic", - "standard", - "dev", - "silver", - "gold", - "platinum", - "enterprise" - ] - }, - "license._types:LicenseStatus": { - "type": "string", - "enum": [ - "active", - "valid", - "invalid", - "expired" - ] } } } From ce791915f8c44e50599f1fd99c5017c16c96716d Mon Sep 17 00:00:00 2001 From: Sylvain Wallez Date: Wed, 4 Oct 2023 18:45:49 +0200 Subject: [PATCH 10/17] Add operation tag and description --- .../clients_schema_to_openapi/src/paths.rs | 4 +- .../elasticsearch-serverless-openapi.json | 1284 +++++++++++++++++ 2 files changed, 1286 insertions(+), 2 deletions(-) diff --git a/openapi-converter/clients_schema_to_openapi/src/paths.rs b/openapi-converter/clients_schema_to_openapi/src/paths.rs index 2f215de1ed..2c09f0d540 100644 --- a/openapi-converter/clients_schema_to_openapi/src/paths.rs +++ b/openapi-converter/clients_schema_to_openapi/src/paths.rs @@ -183,8 +183,8 @@ pub fn add_endpoint(endpoint: &clients_schema::Endpoint, tac: &mut TypesAndCompo // Create the operation, it will be repeated if we have several methods let operation = openapiv3::Operation { - tags: vec![], - summary: None, + tags: vec![endpoint.name.clone()], + summary: Some(endpoint.description.clone()), description: Some(endpoint.description.clone()), external_docs: tac.convert_external_docs(endpoint), operation_id: None, // set in clone_operation below with operation_counter diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 336a77d84e..d8e612ce24 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -11,6 +11,10 @@ "paths": { "/_async_search/{id}": { "get": { + "tags": [ + "async_search.get" + ], + "summary": "Retrieves the results of a previously submitted async search request given its ID.", "description": "Retrieves the results of a previously submitted async search request given its ID.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" @@ -73,6 +77,10 @@ } }, "delete": { + "tags": [ + "async_search.delete" + ], + "summary": "Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.", "description": "Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" @@ -107,6 +115,10 @@ }, "/_async_search/status/{id}": { "get": { + "tags": [ + "async_search.status" + ], + "summary": "Retrieves the status of a previously submitted async search request given its ID.", "description": "Retrieves the status of a previously submitted async search request given its ID.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" @@ -141,6 +153,10 @@ }, "/_async_search": { "post": { + "tags": [ + "async_search.submit" + ], + "summary": "Executes a search request asynchronously.", "description": "Executes a search request asynchronously.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" @@ -298,6 +314,10 @@ }, "/{index}/_async_search": { "post": { + "tags": [ + "async_search.submit" + ], + "summary": "Executes a search request asynchronously.", "description": "Executes a search request asynchronously.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" @@ -458,6 +478,10 @@ }, "/_bulk": { "put": { + "tags": [ + "bulk" + ], + "summary": "Allows to perform multiple index/update/delete operations in a single request.", "description": "Allows to perform multiple index/update/delete operations in a single request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html" @@ -502,6 +526,10 @@ } }, "post": { + "tags": [ + "bulk" + ], + "summary": "Allows to perform multiple index/update/delete operations in a single request.", "description": "Allows to perform multiple index/update/delete operations in a single request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html" @@ -548,6 +576,10 @@ }, "/{index}/_bulk": { "put": { + "tags": [ + "bulk" + ], + "summary": "Allows to perform multiple index/update/delete operations in a single request.", "description": "Allows to perform multiple index/update/delete operations in a single request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html" @@ -595,6 +627,10 @@ } }, "post": { + "tags": [ + "bulk" + ], + "summary": "Allows to perform multiple index/update/delete operations in a single request.", "description": "Allows to perform multiple index/update/delete operations in a single request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html" @@ -644,6 +680,10 @@ }, "/_cat/aliases": { "get": { + "tags": [ + "cat.aliases" + ], + "summary": "Shows information about currently configured aliases to indices including filter and routing infos.", "description": "Shows information about currently configured aliases to indices including filter and routing infos.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-alias.html" @@ -663,6 +703,10 @@ }, "/_cat/aliases/{name}": { "get": { + "tags": [ + "cat.aliases" + ], + "summary": "Shows information about currently configured aliases to indices including filter and routing infos.", "description": "Shows information about currently configured aliases to indices including filter and routing infos.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-alias.html" @@ -685,6 +729,10 @@ }, "/_cat/component_templates": { "get": { + "tags": [ + "cat.component_templates" + ], + "summary": "Returns information about existing component_templates templates.", "description": "Returns information about existing component_templates templates.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html" @@ -699,6 +747,10 @@ }, "/_cat/component_templates/{name}": { "get": { + "tags": [ + "cat.component_templates" + ], + "summary": "Returns information about existing component_templates templates.", "description": "Returns information about existing component_templates templates.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html" @@ -718,6 +770,10 @@ }, "/_cat/count": { "get": { + "tags": [ + "cat.count" + ], + "summary": "Provides quick access to the document count of the entire cluster, or individual indices.", "description": "Provides quick access to the document count of the entire cluster, or individual indices.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-count.html" @@ -732,6 +788,10 @@ }, "/_cat/count/{index}": { "get": { + "tags": [ + "cat.count" + ], + "summary": "Provides quick access to the document count of the entire cluster, or individual indices.", "description": "Provides quick access to the document count of the entire cluster, or individual indices.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-count.html" @@ -751,6 +811,10 @@ }, "/_cat": { "get": { + "tags": [ + "cat.help" + ], + "summary": "Returns help for the Cat APIs.", "description": "Returns help for the Cat APIs.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat.html" @@ -775,6 +839,10 @@ }, "/_cat/indices": { "get": { + "tags": [ + "cat.indices" + ], + "summary": "Returns information about indices: number of primaries and replicas, document counts, disk size, ...", "description": "Returns information about indices: number of primaries and replicas, document counts, disk size, ...", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-indices.html" @@ -809,6 +877,10 @@ }, "/_cat/indices/{index}": { "get": { + "tags": [ + "cat.indices" + ], + "summary": "Returns information about indices: number of primaries and replicas, document counts, disk size, ...", "description": "Returns information about indices: number of primaries and replicas, document counts, disk size, ...", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-indices.html" @@ -846,6 +918,10 @@ }, "/_cat/ml/data_frame/analytics": { "get": { + "tags": [ + "cat.ml_data_frame_analytics" + ], + "summary": "Gets configuration and usage information about data frame analytics jobs.", "description": "Gets configuration and usage information about data frame analytics jobs.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-dfanalytics.html" @@ -877,6 +953,10 @@ }, "/_cat/ml/data_frame/analytics/{id}": { "get": { + "tags": [ + "cat.ml_data_frame_analytics" + ], + "summary": "Gets configuration and usage information about data frame analytics jobs.", "description": "Gets configuration and usage information about data frame analytics jobs.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-dfanalytics.html" @@ -911,6 +991,10 @@ }, "/_cat/ml/datafeeds": { "get": { + "tags": [ + "cat.ml_datafeeds" + ], + "summary": "Gets configuration and usage information about datafeeds.", "description": "Gets configuration and usage information about datafeeds.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-datafeeds.html" @@ -939,6 +1023,10 @@ }, "/_cat/ml/datafeeds/{datafeed_id}": { "get": { + "tags": [ + "cat.ml_datafeeds" + ], + "summary": "Gets configuration and usage information about datafeeds.", "description": "Gets configuration and usage information about datafeeds.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-datafeeds.html" @@ -970,6 +1058,10 @@ }, "/_cat/ml/anomaly_detectors": { "get": { + "tags": [ + "cat.ml_jobs" + ], + "summary": "Gets configuration and usage information about anomaly detection jobs.", "description": "Gets configuration and usage information about anomaly detection jobs.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-anomaly-detectors.html" @@ -1001,6 +1093,10 @@ }, "/_cat/ml/anomaly_detectors/{job_id}": { "get": { + "tags": [ + "cat.ml_jobs" + ], + "summary": "Gets configuration and usage information about anomaly detection jobs.", "description": "Gets configuration and usage information about anomaly detection jobs.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-anomaly-detectors.html" @@ -1035,6 +1131,10 @@ }, "/_cat/ml/trained_models": { "get": { + "tags": [ + "cat.ml_trained_models" + ], + "summary": "Gets configuration and usage information about inference trained models.", "description": "Gets configuration and usage information about inference trained models.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-trained-model.html" @@ -1069,6 +1169,10 @@ }, "/_cat/ml/trained_models/{model_id}": { "get": { + "tags": [ + "cat.ml_trained_models" + ], + "summary": "Gets configuration and usage information about inference trained models.", "description": "Gets configuration and usage information about inference trained models.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-trained-model.html" @@ -1106,6 +1210,10 @@ }, "/_cat/transforms": { "get": { + "tags": [ + "cat.transforms" + ], + "summary": "Gets configuration and usage information about transforms.", "description": "Gets configuration and usage information about transforms.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-transforms.html" @@ -1140,6 +1248,10 @@ }, "/_cat/transforms/{transform_id}": { "get": { + "tags": [ + "cat.transforms" + ], + "summary": "Gets configuration and usage information about transforms.", "description": "Gets configuration and usage information about transforms.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-transforms.html" @@ -1177,6 +1289,10 @@ }, "/_search/scroll": { "get": { + "tags": [ + "scroll" + ], + "summary": "Allows to retrieve a large numbers of results from a single search request.", "description": "Allows to retrieve a large numbers of results from a single search request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" @@ -1203,6 +1319,10 @@ } }, "post": { + "tags": [ + "scroll" + ], + "summary": "Allows to retrieve a large numbers of results from a single search request.", "description": "Allows to retrieve a large numbers of results from a single search request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" @@ -1229,6 +1349,10 @@ } }, "delete": { + "tags": [ + "clear_scroll" + ], + "summary": "Explicitly clears the search context for a scroll.", "description": "Explicitly clears the search context for a scroll.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-scroll-api.html" @@ -1246,6 +1370,10 @@ }, "/_search/scroll/{scroll_id}": { "get": { + "tags": [ + "scroll" + ], + "summary": "Allows to retrieve a large numbers of results from a single search request.", "description": "Allows to retrieve a large numbers of results from a single search request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" @@ -1275,6 +1403,10 @@ } }, "post": { + "tags": [ + "scroll" + ], + "summary": "Allows to retrieve a large numbers of results from a single search request.", "description": "Allows to retrieve a large numbers of results from a single search request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" @@ -1304,6 +1436,10 @@ } }, "delete": { + "tags": [ + "clear_scroll" + ], + "summary": "Explicitly clears the search context for a scroll.", "description": "Explicitly clears the search context for a scroll.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-scroll-api.html" @@ -1326,6 +1462,10 @@ }, "/_pit": { "delete": { + "tags": [ + "close_point_in_time" + ], + "summary": "Close a point in time", "description": "Close a point in time", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/point-in-time-api.html" @@ -1376,6 +1516,10 @@ }, "/_component_template/{name}": { "get": { + "tags": [ + "cluster.get_component_template" + ], + "summary": "Returns one or more component templates", "description": "Returns one or more component templates", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" @@ -1405,6 +1549,10 @@ } }, "put": { + "tags": [ + "cluster.put_component_template" + ], + "summary": "Creates or updates a component template", "description": "Creates or updates a component template", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" @@ -1431,6 +1579,10 @@ } }, "post": { + "tags": [ + "cluster.put_component_template" + ], + "summary": "Creates or updates a component template", "description": "Creates or updates a component template", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" @@ -1457,6 +1609,10 @@ } }, "delete": { + "tags": [ + "cluster.delete_component_template" + ], + "summary": "Deletes a component template", "description": "Deletes a component template", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" @@ -1509,6 +1665,10 @@ } }, "head": { + "tags": [ + "cluster.exists_component_template" + ], + "summary": "Returns information about whether a particular component template exist", "description": "Returns information about whether a particular component template exist", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" @@ -1559,6 +1719,10 @@ }, "/_component_template": { "get": { + "tags": [ + "cluster.get_component_template" + ], + "summary": "Returns one or more component templates", "description": "Returns one or more component templates", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" @@ -1587,6 +1751,10 @@ }, "/_cluster/settings": { "get": { + "tags": [ + "cluster.get_settings" + ], + "summary": "Returns cluster settings.", "description": "Returns cluster settings.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-get-settings.html" @@ -1672,6 +1840,10 @@ } }, "put": { + "tags": [ + "cluster.put_settings" + ], + "summary": "Updates the cluster settings.", "description": "Updates the cluster settings.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-update-settings.html" @@ -1771,6 +1943,10 @@ }, "/_info/{target}": { "get": { + "tags": [ + "cluster.info" + ], + "summary": "Returns different information about the cluster.", "description": "Returns different information about the cluster.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-info.html" @@ -1828,6 +2004,10 @@ }, "/_cluster/pending_tasks": { "get": { + "tags": [ + "cluster.pending_tasks" + ], + "summary": "Returns a list of any cluster-level changes (e.g. create index, update mapping,\nallocate or fail shard) which have not yet been executed.", "description": "Returns a list of any cluster-level changes (e.g. create index, update mapping,\nallocate or fail shard) which have not yet been executed.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-pending.html" @@ -1882,6 +2062,10 @@ }, "/_cluster/stats": { "get": { + "tags": [ + "cluster.stats" + ], + "summary": "Returns high-level overview of cluster statistics.", "description": "Returns high-level overview of cluster statistics.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-stats.html" @@ -1904,6 +2088,10 @@ }, "/_cluster/stats/nodes/{node_id}": { "get": { + "tags": [ + "cluster.stats" + ], + "summary": "Returns high-level overview of cluster statistics.", "description": "Returns high-level overview of cluster statistics.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-stats.html" @@ -1929,6 +2117,10 @@ }, "/_count": { "get": { + "tags": [ + "count" + ], + "summary": "Returns number of documents matching a query.", "description": "Returns number of documents matching a query.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html" @@ -1988,6 +2180,10 @@ } }, "post": { + "tags": [ + "count" + ], + "summary": "Returns number of documents matching a query.", "description": "Returns number of documents matching a query.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html" @@ -2049,6 +2245,10 @@ }, "/{index}/_count": { "get": { + "tags": [ + "count" + ], + "summary": "Returns number of documents matching a query.", "description": "Returns number of documents matching a query.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html" @@ -2111,6 +2311,10 @@ } }, "post": { + "tags": [ + "count" + ], + "summary": "Returns number of documents matching a query.", "description": "Returns number of documents matching a query.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html" @@ -2175,6 +2379,10 @@ }, "/{index}/_create/{id}": { "put": { + "tags": [ + "create" + ], + "summary": "Creates a new document in the index.\n\nReturns a 409 response when a document with a same ID already exists in the index.", "description": "Creates a new document in the index.\n\nReturns a 409 response when a document with a same ID already exists in the index.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" @@ -2219,6 +2427,10 @@ } }, "post": { + "tags": [ + "create" + ], + "summary": "Creates a new document in the index.\n\nReturns a 409 response when a document with a same ID already exists in the index.", "description": "Creates a new document in the index.\n\nReturns a 409 response when a document with a same ID already exists in the index.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" @@ -2265,6 +2477,10 @@ }, "/{index}/_doc/{id}": { "get": { + "tags": [ + "get" + ], + "summary": "Returns a document.", "description": "Returns a document.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" @@ -2408,6 +2624,10 @@ } }, "put": { + "tags": [ + "index" + ], + "summary": "Creates or updates a document in an index.", "description": "Creates or updates a document in an index.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" @@ -2464,6 +2684,10 @@ } }, "post": { + "tags": [ + "index" + ], + "summary": "Creates or updates a document in an index.", "description": "Creates or updates a document in an index.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" @@ -2520,6 +2744,10 @@ } }, "delete": { + "tags": [ + "delete" + ], + "summary": "Removes a document from the index.", "description": "Removes a document from the index.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html" @@ -2643,6 +2871,10 @@ } }, "head": { + "tags": [ + "exists" + ], + "summary": "Returns information about whether a document exists in an index.", "description": "Returns information about whether a document exists in an index.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" @@ -2784,6 +3016,10 @@ }, "/{index}/_delete_by_query": { "post": { + "tags": [ + "delete_by_query" + ], + "summary": "Deletes documents matching the provided query.", "description": "Deletes documents matching the provided query.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html" @@ -3189,6 +3425,10 @@ }, "/_scripts/{id}": { "get": { + "tags": [ + "get_script" + ], + "summary": "Returns a script.", "description": "Returns a script.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" @@ -3246,6 +3486,10 @@ } }, "put": { + "tags": [ + "put_script" + ], + "summary": "Creates or updates a script.", "description": "Creates or updates a script.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" @@ -3272,6 +3516,10 @@ } }, "post": { + "tags": [ + "put_script" + ], + "summary": "Creates or updates a script.", "description": "Creates or updates a script.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" @@ -3298,6 +3546,10 @@ } }, "delete": { + "tags": [ + "delete_script" + ], + "summary": "Deletes a script.", "description": "Deletes a script.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" @@ -3352,6 +3604,10 @@ }, "/_enrich/policy/{name}": { "get": { + "tags": [ + "enrich.get_policy" + ], + "summary": "Gets information about an enrich policy.", "description": "Gets information about an enrich policy.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-enrich-policy-api.html" @@ -3369,6 +3625,10 @@ } }, "put": { + "tags": [ + "enrich.put_policy" + ], + "summary": "Creates a new enrich policy.", "description": "Creates a new enrich policy.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-enrich-policy-api.html" @@ -3422,6 +3682,10 @@ } }, "delete": { + "tags": [ + "enrich.delete_policy" + ], + "summary": "Deletes an existing enrich policy and its enrich index.", "description": "Deletes an existing enrich policy and its enrich index.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-enrich-policy-api.html" @@ -3456,6 +3720,10 @@ }, "/_enrich/policy/{name}/_execute": { "put": { + "tags": [ + "enrich.execute_policy" + ], + "summary": "Creates the enrich index for an existing enrich policy.", "description": "Creates the enrich index for an existing enrich policy.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/execute-enrich-policy-api.html" @@ -3511,6 +3779,10 @@ }, "/_enrich/policy": { "get": { + "tags": [ + "enrich.get_policy" + ], + "summary": "Gets information about an enrich policy.", "description": "Gets information about an enrich policy.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-enrich-policy-api.html" @@ -3525,6 +3797,10 @@ }, "/_enrich/_stats": { "get": { + "tags": [ + "enrich.stats" + ], + "summary": "Gets enrich coordinator statistics and information about enrich policies that are currently executing.", "description": "Gets enrich coordinator statistics and information about enrich policies that are currently executing.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-stats-api.html" @@ -3573,6 +3849,10 @@ }, "/{index}/_source/{id}": { "get": { + "tags": [ + "get_source" + ], + "summary": "Returns the source of a document.", "description": "Returns the source of a document.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" @@ -3715,6 +3995,10 @@ } }, "head": { + "tags": [ + "exists_source" + ], + "summary": "Returns information about whether a document source exists in an index.", "description": "Returns information about whether a document source exists in an index.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" @@ -3846,6 +4130,10 @@ }, "/_field_caps": { "get": { + "tags": [ + "field_caps" + ], + "summary": "Returns the information about the capabilities of fields among multiple indices.", "description": "Returns the information about the capabilities of fields among multiple indices.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html" @@ -3884,6 +4172,10 @@ } }, "post": { + "tags": [ + "field_caps" + ], + "summary": "Returns the information about the capabilities of fields among multiple indices.", "description": "Returns the information about the capabilities of fields among multiple indices.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html" @@ -3924,6 +4216,10 @@ }, "/{index}/_field_caps": { "get": { + "tags": [ + "field_caps" + ], + "summary": "Returns the information about the capabilities of fields among multiple indices.", "description": "Returns the information about the capabilities of fields among multiple indices.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html" @@ -3965,6 +4261,10 @@ } }, "post": { + "tags": [ + "field_caps" + ], + "summary": "Returns the information about the capabilities of fields among multiple indices.", "description": "Returns the information about the capabilities of fields among multiple indices.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html" @@ -4008,6 +4308,10 @@ }, "/{index}/_graph/explore": { "get": { + "tags": [ + "graph.explore" + ], + "summary": "Explore extracted and summarized information about the documents and terms in an index.", "description": "Explore extracted and summarized information about the documents and terms in an index.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html" @@ -4034,6 +4338,10 @@ } }, "post": { + "tags": [ + "graph.explore" + ], + "summary": "Explore extracted and summarized information about the documents and terms in an index.", "description": "Explore extracted and summarized information about the documents and terms in an index.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html" @@ -4062,6 +4370,10 @@ }, "/{index}/_doc": { "post": { + "tags": [ + "index" + ], + "summary": "Creates or updates a document in an index.", "description": "Creates or updates a document in an index.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" @@ -4117,6 +4429,10 @@ }, "/_analyze": { "get": { + "tags": [ + "indices.analyze" + ], + "summary": "Performs the analysis process on a text and return the tokens breakdown of the text.", "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" @@ -4132,6 +4448,10 @@ } }, "post": { + "tags": [ + "indices.analyze" + ], + "summary": "Performs the analysis process on a text and return the tokens breakdown of the text.", "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" @@ -4149,6 +4469,10 @@ }, "/{index}/_analyze": { "get": { + "tags": [ + "indices.analyze" + ], + "summary": "Performs the analysis process on a text and return the tokens breakdown of the text.", "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" @@ -4169,6 +4493,10 @@ } }, "post": { + "tags": [ + "indices.analyze" + ], + "summary": "Performs the analysis process on a text and return the tokens breakdown of the text.", "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" @@ -4191,6 +4519,10 @@ }, "/{index}": { "get": { + "tags": [ + "indices.get" + ], + "summary": "Returns information about one or more indices.", "description": "Returns information about one or more indices.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html" @@ -4306,6 +4638,10 @@ } }, "put": { + "tags": [ + "indices.create" + ], + "summary": "Creates an index with optional settings and mappings.", "description": "Creates an index with optional settings and mappings.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html" @@ -4408,6 +4744,10 @@ } }, "delete": { + "tags": [ + "indices.delete" + ], + "summary": "Deletes an index.", "description": "Deletes an index.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html" @@ -4490,6 +4830,10 @@ } }, "head": { + "tags": [ + "indices.exists" + ], + "summary": "Returns information about whether a particular index exists.", "description": "Returns information about whether a particular index exists.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html" @@ -4580,6 +4924,10 @@ }, "/_data_stream/{name}": { "get": { + "tags": [ + "indices.get_data_stream" + ], + "summary": "Returns data streams.", "description": "Returns data streams.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" @@ -4603,6 +4951,10 @@ } }, "put": { + "tags": [ + "indices.create_data_stream" + ], + "summary": "Creates a data stream", "description": "Creates a data stream", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" @@ -4635,6 +4987,10 @@ } }, "delete": { + "tags": [ + "indices.delete_data_stream" + ], + "summary": "Deletes a data stream.", "description": "Deletes a data stream.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" @@ -4679,6 +5035,10 @@ }, "/_data_stream/_stats": { "get": { + "tags": [ + "indices.data_streams_stats" + ], + "summary": "Provides statistics on operations happening in a data stream.", "description": "Provides statistics on operations happening in a data stream.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" @@ -4698,6 +5058,10 @@ }, "/_data_stream/{name}/_stats": { "get": { + "tags": [ + "indices.data_streams_stats" + ], + "summary": "Provides statistics on operations happening in a data stream.", "description": "Provides statistics on operations happening in a data stream.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" @@ -4720,6 +5084,10 @@ }, "/{index}/_alias/{name}": { "get": { + "tags": [ + "indices.get_alias" + ], + "summary": "Returns an alias.", "description": "Returns an alias.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" @@ -4752,6 +5120,10 @@ } }, "put": { + "tags": [ + "indices.put_alias" + ], + "summary": "Creates or updates an alias.", "description": "Creates or updates an alias.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" @@ -4781,6 +5153,10 @@ } }, "post": { + "tags": [ + "indices.put_alias" + ], + "summary": "Creates or updates an alias.", "description": "Creates or updates an alias.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" @@ -4810,6 +5186,10 @@ } }, "delete": { + "tags": [ + "indices.delete_alias" + ], + "summary": "Deletes an alias.", "description": "Deletes an alias.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" @@ -4836,6 +5216,10 @@ } }, "head": { + "tags": [ + "indices.exists_alias" + ], + "summary": "Returns information about whether a particular alias exists.", "description": "Returns information about whether a particular alias exists.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" @@ -4870,6 +5254,10 @@ }, "/{index}/_aliases/{name}": { "put": { + "tags": [ + "indices.put_alias" + ], + "summary": "Creates or updates an alias.", "description": "Creates or updates an alias.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" @@ -4899,6 +5287,10 @@ } }, "post": { + "tags": [ + "indices.put_alias" + ], + "summary": "Creates or updates an alias.", "description": "Creates or updates an alias.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" @@ -4928,6 +5320,10 @@ } }, "delete": { + "tags": [ + "indices.delete_alias" + ], + "summary": "Deletes an alias.", "description": "Deletes an alias.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" @@ -4956,6 +5352,10 @@ }, "/_data_stream/{name}/_lifecycle": { "get": { + "tags": [ + "indices.get_data_lifecycle" + ], + "summary": "Returns the data stream lifecycle of the selected data streams.", "description": "Returns the data stream lifecycle of the selected data streams.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-get-lifecycle.html" @@ -5019,6 +5419,10 @@ } }, "put": { + "tags": [ + "indices.put_data_lifecycle" + ], + "summary": "Updates the data stream lifecycle of the selected data streams.", "description": "Updates the data stream lifecycle of the selected data streams.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-put-lifecycle.html" @@ -5098,6 +5502,10 @@ } }, "delete": { + "tags": [ + "indices.delete_data_lifecycle" + ], + "summary": "Deletes the data stream lifecycle of the selected data streams.", "description": "Deletes the data stream lifecycle of the selected data streams.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-delete-lifecycle.html" @@ -5162,6 +5570,10 @@ }, "/_index_template/{name}": { "get": { + "tags": [ + "indices.get_index_template" + ], + "summary": "Returns an index template.", "description": "Returns an index template.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" @@ -5191,6 +5603,10 @@ } }, "put": { + "tags": [ + "indices.put_index_template" + ], + "summary": "Creates or updates an index template.", "description": "Creates or updates an index template.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" @@ -5214,6 +5630,10 @@ } }, "post": { + "tags": [ + "indices.put_index_template" + ], + "summary": "Creates or updates an index template.", "description": "Creates or updates an index template.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" @@ -5237,6 +5657,10 @@ } }, "delete": { + "tags": [ + "indices.delete_index_template" + ], + "summary": "Deletes an index template.", "description": "Deletes an index template.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" @@ -5289,6 +5713,10 @@ } }, "head": { + "tags": [ + "indices.exists_index_template" + ], + "summary": "Returns information about whether a particular index template exists.", "description": "Returns information about whether a particular index template exists.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" @@ -5329,6 +5757,10 @@ }, "/_template/{name}": { "get": { + "tags": [ + "indices.get_template" + ], + "summary": "Returns an index template.", "description": "Returns an index template.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" @@ -5355,6 +5787,10 @@ } }, "put": { + "tags": [ + "indices.put_template" + ], + "summary": "Creates or updates an index template.", "description": "Creates or updates an index template.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" @@ -5390,6 +5826,10 @@ } }, "post": { + "tags": [ + "indices.put_template" + ], + "summary": "Creates or updates an index template.", "description": "Creates or updates an index template.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" @@ -5425,6 +5865,10 @@ } }, "delete": { + "tags": [ + "indices.delete_template" + ], + "summary": "Deletes an index template.", "description": "Deletes an index template.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" @@ -5477,6 +5921,10 @@ } }, "head": { + "tags": [ + "indices.exists_template" + ], + "summary": "Returns information about whether a particular index template exists.", "description": "Returns information about whether a particular index template exists.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" @@ -5537,6 +5985,10 @@ }, "/{index}/_disk_usage": { "post": { + "tags": [ + "indices.disk_usage" + ], + "summary": "Analyzes the disk usage of each field of an index or data stream", "description": "Analyzes the disk usage of each field of an index or data stream", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-disk-usage.html" @@ -5621,6 +6073,10 @@ }, "/_alias/{name}": { "get": { + "tags": [ + "indices.get_alias" + ], + "summary": "Returns an alias.", "description": "Returns an alias.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" @@ -5650,6 +6106,10 @@ } }, "head": { + "tags": [ + "indices.exists_alias" + ], + "summary": "Returns information about whether a particular alias exists.", "description": "Returns information about whether a particular alias exists.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" @@ -5681,6 +6141,10 @@ }, "/{index}/_lifecycle/explain": { "get": { + "tags": [ + "indices.explain_data_lifecycle" + ], + "summary": "Retrieves information about the index's current data stream lifecycle, such as any potential encountered error, time since creation etc.", "description": "Retrieves information about the index's current data stream lifecycle, such as any potential encountered error, time since creation etc.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/data-streams-explain-lifecycle.html" @@ -5746,6 +6210,10 @@ }, "/_alias": { "get": { + "tags": [ + "indices.get_alias" + ], + "summary": "Returns an alias.", "description": "Returns an alias.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" @@ -5774,6 +6242,10 @@ }, "/{index}/_alias": { "get": { + "tags": [ + "indices.get_alias" + ], + "summary": "Returns an alias.", "description": "Returns an alias.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" @@ -5805,6 +6277,10 @@ }, "/_data_stream": { "get": { + "tags": [ + "indices.get_data_stream" + ], + "summary": "Returns data streams.", "description": "Returns data streams.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" @@ -5827,6 +6303,10 @@ }, "/_index_template": { "get": { + "tags": [ + "indices.get_index_template" + ], + "summary": "Returns an index template.", "description": "Returns an index template.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" @@ -5855,6 +6335,10 @@ }, "/_mapping": { "get": { + "tags": [ + "indices.get_mapping" + ], + "summary": "Returns mappings for one or more indices.", "description": "Returns mappings for one or more indices.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html" @@ -5886,6 +6370,10 @@ }, "/{index}/_mapping": { "get": { + "tags": [ + "indices.get_mapping" + ], + "summary": "Returns mappings for one or more indices.", "description": "Returns mappings for one or more indices.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html" @@ -5918,6 +6406,10 @@ } }, "put": { + "tags": [ + "indices.put_mapping" + ], + "summary": "Updates the index mappings.", "description": "Updates the index mappings.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html" @@ -5956,6 +6448,10 @@ } }, "post": { + "tags": [ + "indices.put_mapping" + ], + "summary": "Updates the index mappings.", "description": "Updates the index mappings.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html" @@ -5996,6 +6492,10 @@ }, "/_settings": { "get": { + "tags": [ + "indices.get_settings" + ], + "summary": "Returns settings for one or more indices.", "description": "Returns settings for one or more indices.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html" @@ -6031,6 +6531,10 @@ } }, "put": { + "tags": [ + "indices.put_settings" + ], + "summary": "Updates the index settings.", "description": "Updates the index settings.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html" @@ -6071,6 +6575,10 @@ }, "/{index}/_settings": { "get": { + "tags": [ + "indices.get_settings" + ], + "summary": "Returns settings for one or more indices.", "description": "Returns settings for one or more indices.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html" @@ -6109,6 +6617,10 @@ } }, "put": { + "tags": [ + "indices.put_settings" + ], + "summary": "Updates the index settings.", "description": "Updates the index settings.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html" @@ -6152,6 +6664,10 @@ }, "/{index}/_settings/{name}": { "get": { + "tags": [ + "indices.get_settings" + ], + "summary": "Returns settings for one or more indices.", "description": "Returns settings for one or more indices.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html" @@ -6195,6 +6711,10 @@ }, "/_settings/{name}": { "get": { + "tags": [ + "indices.get_settings" + ], + "summary": "Returns settings for one or more indices.", "description": "Returns settings for one or more indices.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html" @@ -6235,6 +6755,10 @@ }, "/_template": { "get": { + "tags": [ + "indices.get_template" + ], + "summary": "Returns an index template.", "description": "Returns an index template.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" @@ -6260,6 +6784,10 @@ }, "/_data_stream/_migrate/{name}": { "post": { + "tags": [ + "indices.migrate_to_data_stream" + ], + "summary": "Migrates an alias to a data stream", "description": "Migrates an alias to a data stream", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" @@ -6294,6 +6822,10 @@ }, "/_data_stream/_modify": { "post": { + "tags": [ + "indices.modify_data_stream" + ], + "summary": "Modifies a data stream", "description": "Modifies a data stream", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" @@ -6337,6 +6869,10 @@ }, "/_resolve/index/{name}": { "get": { + "tags": [ + "indices.resolve_index" + ], + "summary": "Returns information about any matching indices, aliases, and data streams", "description": "Returns information about any matching indices, aliases, and data streams", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-index-api.html" @@ -6406,6 +6942,10 @@ }, "/{alias}/_rollover": { "post": { + "tags": [ + "indices.rollover" + ], + "summary": "Updates an alias to point to a new index when the existing index\nis considered to be too large or too old.", "description": "Updates an alias to point to a new index when the existing index\nis considered to be too large or too old.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-rollover-index.html" @@ -6440,6 +6980,10 @@ }, "/{alias}/_rollover/{new_index}": { "post": { + "tags": [ + "indices.rollover" + ], + "summary": "Updates an alias to point to a new index when the existing index\nis considered to be too large or too old.", "description": "Updates an alias to point to a new index when the existing index\nis considered to be too large or too old.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-rollover-index.html" @@ -6477,6 +7021,10 @@ }, "/_index_template/_simulate_index/{name}": { "post": { + "tags": [ + "indices.simulate_index_template" + ], + "summary": "Simulate matching the given index name against the index templates in the system", "description": "Simulate matching the given index name against the index templates in the system", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" @@ -6582,6 +7130,10 @@ }, "/_index_template/_simulate": { "post": { + "tags": [ + "indices.simulate_template" + ], + "summary": "Simulate resolving the given template name or body", "description": "Simulate resolving the given template name or body", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" @@ -6610,6 +7162,10 @@ }, "/_index_template/_simulate/{name}": { "post": { + "tags": [ + "indices.simulate_template" + ], + "summary": "Simulate resolving the given template name or body", "description": "Simulate resolving the given template name or body", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" @@ -6641,6 +7197,10 @@ }, "/_aliases": { "post": { + "tags": [ + "indices.update_aliases" + ], + "summary": "Updates index aliases.", "description": "Updates index aliases.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" @@ -6703,6 +7263,10 @@ }, "/_validate/query": { "get": { + "tags": [ + "indices.validate_query" + ], + "summary": "Allows a user to validate a potentially expensive query without executing it.", "description": "Allows a user to validate a potentially expensive query without executing it.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html" @@ -6756,6 +7320,10 @@ } }, "post": { + "tags": [ + "indices.validate_query" + ], + "summary": "Allows a user to validate a potentially expensive query without executing it.", "description": "Allows a user to validate a potentially expensive query without executing it.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html" @@ -6811,6 +7379,10 @@ }, "/{index}/_validate/query": { "get": { + "tags": [ + "indices.validate_query" + ], + "summary": "Allows a user to validate a potentially expensive query without executing it.", "description": "Allows a user to validate a potentially expensive query without executing it.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html" @@ -6867,6 +7439,10 @@ } }, "post": { + "tags": [ + "indices.validate_query" + ], + "summary": "Allows a user to validate a potentially expensive query without executing it.", "description": "Allows a user to validate a potentially expensive query without executing it.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html" @@ -6925,6 +7501,10 @@ }, "/": { "get": { + "tags": [ + "info" + ], + "summary": "Returns basic information about the cluster.", "description": "Returns basic information about the cluster.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html" @@ -6968,6 +7548,10 @@ } }, "head": { + "tags": [ + "ping" + ], + "summary": "Returns whether the cluster is running.", "description": "Returns whether the cluster is running.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html" @@ -6985,6 +7569,10 @@ }, "/_ingest/pipeline/{id}": { "get": { + "tags": [ + "ingest.get_pipeline" + ], + "summary": "Returns a pipeline.", "description": "Returns a pipeline.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-pipeline-api.html" @@ -7008,6 +7596,10 @@ } }, "put": { + "tags": [ + "ingest.put_pipeline" + ], + "summary": "Creates or updates a pipeline.", "description": "Creates or updates a pipeline.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ingest.html" @@ -7106,6 +7698,10 @@ } }, "delete": { + "tags": [ + "ingest.delete_pipeline" + ], + "summary": "Deletes a pipeline.", "description": "Deletes a pipeline.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html" @@ -7160,6 +7756,10 @@ }, "/_ingest/pipeline": { "get": { + "tags": [ + "ingest.get_pipeline" + ], + "summary": "Returns a pipeline.", "description": "Returns a pipeline.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-pipeline-api.html" @@ -7182,6 +7782,10 @@ }, "/_ingest/processor/grok": { "get": { + "tags": [ + "ingest.processor_grok" + ], + "summary": "Returns a list of the built-in patterns.", "description": "Returns a list of the built-in patterns.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/grok-processor.html" @@ -7214,6 +7818,10 @@ }, "/_ingest/pipeline/_simulate": { "get": { + "tags": [ + "ingest.simulate" + ], + "summary": "Allows to simulate a pipeline with example documents.", "description": "Allows to simulate a pipeline with example documents.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" @@ -7234,6 +7842,10 @@ } }, "post": { + "tags": [ + "ingest.simulate" + ], + "summary": "Allows to simulate a pipeline with example documents.", "description": "Allows to simulate a pipeline with example documents.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" @@ -7256,6 +7868,10 @@ }, "/_ingest/pipeline/{id}/_simulate": { "get": { + "tags": [ + "ingest.simulate" + ], + "summary": "Allows to simulate a pipeline with example documents.", "description": "Allows to simulate a pipeline with example documents.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" @@ -7279,6 +7895,10 @@ } }, "post": { + "tags": [ + "ingest.simulate" + ], + "summary": "Allows to simulate a pipeline with example documents.", "description": "Allows to simulate a pipeline with example documents.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" @@ -7304,6 +7924,10 @@ }, "/_logstash/pipeline/{id}": { "get": { + "tags": [ + "logstash.get_pipeline" + ], + "summary": "Retrieves Logstash Pipelines used by Central Management", "description": "Retrieves Logstash Pipelines used by Central Management", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-get-pipeline.html" @@ -7321,6 +7945,10 @@ } }, "put": { + "tags": [ + "logstash.put_pipeline" + ], + "summary": "Adds and updates Logstash Pipelines used for Central Management", "description": "Adds and updates Logstash Pipelines used for Central Management", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-put-pipeline.html" @@ -7359,6 +7987,10 @@ } }, "delete": { + "tags": [ + "logstash.delete_pipeline" + ], + "summary": "Deletes Logstash Pipelines used by Central Management", "description": "Deletes Logstash Pipelines used by Central Management", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-delete-pipeline.html" @@ -7389,6 +8021,10 @@ }, "/_logstash/pipeline": { "get": { + "tags": [ + "logstash.get_pipeline" + ], + "summary": "Retrieves Logstash Pipelines used by Central Management", "description": "Retrieves Logstash Pipelines used by Central Management", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-get-pipeline.html" @@ -7403,6 +8039,10 @@ }, "/_mget": { "get": { + "tags": [ + "mget" + ], + "summary": "Allows to get multiple documents in one request.", "description": "Allows to get multiple documents in one request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html" @@ -7444,6 +8084,10 @@ } }, "post": { + "tags": [ + "mget" + ], + "summary": "Allows to get multiple documents in one request.", "description": "Allows to get multiple documents in one request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html" @@ -7487,6 +8131,10 @@ }, "/{index}/_mget": { "get": { + "tags": [ + "mget" + ], + "summary": "Allows to get multiple documents in one request.", "description": "Allows to get multiple documents in one request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html" @@ -7531,6 +8179,10 @@ } }, "post": { + "tags": [ + "mget" + ], + "summary": "Allows to get multiple documents in one request.", "description": "Allows to get multiple documents in one request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html" @@ -7577,6 +8229,10 @@ }, "/_ml/anomaly_detectors/{job_id}/_close": { "post": { + "tags": [ + "ml.close_job" + ], + "summary": "Closes one or more anomaly detection jobs. A job can be opened and closed multiple times throughout its lifecycle.", "description": "Closes one or more anomaly detection jobs. A job can be opened and closed multiple times throughout its lifecycle.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-close-job.html" @@ -7671,6 +8327,10 @@ }, "/_ml/calendars/{calendar_id}": { "get": { + "tags": [ + "ml.get_calendars" + ], + "summary": "Retrieves configuration information for calendars.", "description": "Retrieves configuration information for calendars.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" @@ -7697,6 +8357,10 @@ } }, "put": { + "tags": [ + "ml.put_calendar" + ], + "summary": "Instantiates a calendar.", "description": "Instantiates a calendar.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-calendar.html" @@ -7767,6 +8431,10 @@ } }, "post": { + "tags": [ + "ml.get_calendars" + ], + "summary": "Retrieves configuration information for calendars.", "description": "Retrieves configuration information for calendars.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" @@ -7793,6 +8461,10 @@ } }, "delete": { + "tags": [ + "ml.delete_calendar" + ], + "summary": "Deletes a calendar.", "description": "Deletes a calendar.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar.html" @@ -7827,6 +8499,10 @@ }, "/_ml/calendars/{calendar_id}/events/{event_id}": { "delete": { + "tags": [ + "ml.delete_calendar_event" + ], + "summary": "Deletes scheduled events from a calendar.", "description": "Deletes scheduled events from a calendar.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar-event.html" @@ -7872,6 +8548,10 @@ }, "/_ml/calendars/{calendar_id}/jobs/{job_id}": { "put": { + "tags": [ + "ml.put_calendar_job" + ], + "summary": "Adds an anomaly detection job to a calendar.", "description": "Adds an anomaly detection job to a calendar.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-calendar-job.html" @@ -7931,6 +8611,10 @@ } }, "delete": { + "tags": [ + "ml.delete_calendar_job" + ], + "summary": "Deletes anomaly detection jobs from a calendar.", "description": "Deletes anomaly detection jobs from a calendar.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar-job.html" @@ -7992,6 +8676,10 @@ }, "/_ml/data_frame/analytics/{id}": { "get": { + "tags": [ + "ml.get_data_frame_analytics" + ], + "summary": "Retrieves configuration information for data frame analytics jobs.", "description": "Retrieves configuration information for data frame analytics jobs.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics.html" @@ -8021,6 +8709,10 @@ } }, "put": { + "tags": [ + "ml.put_data_frame_analytics" + ], + "summary": "Instantiates a data frame analytics job.", "description": "Instantiates a data frame analytics job.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-dfanalytics.html" @@ -8156,6 +8848,10 @@ } }, "delete": { + "tags": [ + "ml.delete_data_frame_analytics" + ], + "summary": "Deletes an existing data frame analytics job.", "description": "Deletes an existing data frame analytics job.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-dfanalytics.html" @@ -8210,6 +8906,10 @@ }, "/_ml/datafeeds/{datafeed_id}": { "get": { + "tags": [ + "ml.get_datafeeds" + ], + "summary": "Retrieves configuration information for datafeeds.", "description": "Retrieves configuration information for datafeeds.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html" @@ -8233,6 +8933,10 @@ } }, "put": { + "tags": [ + "ml.put_datafeed" + ], + "summary": "Instantiates a datafeed.", "description": "Instantiates a datafeed.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html" @@ -8434,6 +9138,10 @@ } }, "delete": { + "tags": [ + "ml.delete_datafeed" + ], + "summary": "Deletes an existing datafeed.", "description": "Deletes an existing datafeed.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-datafeed.html" @@ -8478,6 +9186,10 @@ }, "/_ml/filters/{filter_id}": { "get": { + "tags": [ + "ml.get_filters" + ], + "summary": "Retrieves filters.", "description": "Retrieves filters.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-filter.html" @@ -8501,6 +9213,10 @@ } }, "put": { + "tags": [ + "ml.put_filter" + ], + "summary": "Instantiates a filter.", "description": "Instantiates a filter.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-filter.html" @@ -8575,6 +9291,10 @@ } }, "delete": { + "tags": [ + "ml.delete_filter" + ], + "summary": "Deletes a filter.", "description": "Deletes a filter.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-filter.html" @@ -8609,6 +9329,10 @@ }, "/_ml/anomaly_detectors/{job_id}": { "get": { + "tags": [ + "ml.get_jobs" + ], + "summary": "Retrieves configuration information for anomaly detection jobs.", "description": "Retrieves configuration information for anomaly detection jobs.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html" @@ -8632,6 +9356,10 @@ } }, "put": { + "tags": [ + "ml.put_job" + ], + "summary": "Instantiates an anomaly detection job.", "description": "Instantiates an anomaly detection job.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html" @@ -8813,6 +9541,10 @@ } }, "delete": { + "tags": [ + "ml.delete_job" + ], + "summary": "Deletes an existing anomaly detection job.", "description": "Deletes an existing anomaly detection job.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html" @@ -8877,6 +9609,10 @@ }, "/_ml/trained_models/{model_id}": { "get": { + "tags": [ + "ml.get_trained_models" + ], + "summary": "Retrieves configuration information for a trained inference model.", "description": "Retrieves configuration information for a trained inference model.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models.html" @@ -8915,6 +9651,10 @@ } }, "put": { + "tags": [ + "ml.put_trained_model" + ], + "summary": "Creates an inference trained model.", "description": "Creates an inference trained model.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-models.html" @@ -9004,6 +9744,10 @@ } }, "delete": { + "tags": [ + "ml.delete_trained_model" + ], + "summary": "Deletes an existing trained inference model that is currently not referenced by an ingest pipeline.", "description": "Deletes an existing trained inference model that is currently not referenced by an ingest pipeline.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-trained-models.html" @@ -9048,6 +9792,10 @@ }, "/_ml/trained_models/{model_id}/model_aliases/{model_alias}": { "put": { + "tags": [ + "ml.put_trained_model_alias" + ], + "summary": "Creates a new model alias (or reassigns an existing one) to refer to the trained model", "description": "Creates a new model alias (or reassigns an existing one) to refer to the trained model", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-models-aliases.html" @@ -9101,6 +9849,10 @@ } }, "delete": { + "tags": [ + "ml.delete_trained_model_alias" + ], + "summary": "Deletes a model alias that refers to the trained model", "description": "Deletes a model alias that refers to the trained model", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-trained-models-aliases.html" @@ -9146,6 +9898,10 @@ }, "/_ml/anomaly_detectors/_estimate_model_memory": { "post": { + "tags": [ + "ml.estimate_model_memory" + ], + "summary": "Estimates the model memory", "description": "Estimates the model memory", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-apis.html" @@ -9204,6 +9960,10 @@ }, "/_ml/data_frame/_evaluate": { "post": { + "tags": [ + "ml.evaluate_data_frame" + ], + "summary": "Evaluates the data frame analytics for an annotated index.", "description": "Evaluates the data frame analytics for an annotated index.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/evaluate-dfanalytics.html" @@ -9261,6 +10021,10 @@ }, "/_ml/anomaly_detectors/{job_id}/_flush": { "post": { + "tags": [ + "ml.flush_job" + ], + "summary": "Forces any buffered data to be processed by the job.", "description": "Forces any buffered data to be processed by the job.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html" @@ -9384,6 +10148,10 @@ }, "/_ml/calendars/{calendar_id}/events": { "get": { + "tags": [ + "ml.get_calendar_events" + ], + "summary": "Retrieves information about the scheduled events in calendars.", "description": "Retrieves information about the scheduled events in calendars.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar-event.html" @@ -9481,6 +10249,10 @@ } }, "post": { + "tags": [ + "ml.post_calendar_events" + ], + "summary": "Posts scheduled events in a calendar.", "description": "Posts scheduled events in a calendar.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-calendar-event.html" @@ -9548,6 +10320,10 @@ }, "/_ml/calendars": { "get": { + "tags": [ + "ml.get_calendars" + ], + "summary": "Retrieves configuration information for calendars.", "description": "Retrieves configuration information for calendars.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" @@ -9571,6 +10347,10 @@ } }, "post": { + "tags": [ + "ml.get_calendars" + ], + "summary": "Retrieves configuration information for calendars.", "description": "Retrieves configuration information for calendars.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" @@ -9596,6 +10376,10 @@ }, "/_ml/data_frame/analytics": { "get": { + "tags": [ + "ml.get_data_frame_analytics" + ], + "summary": "Retrieves configuration information for data frame analytics jobs.", "description": "Retrieves configuration information for data frame analytics jobs.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics.html" @@ -9624,6 +10408,10 @@ }, "/_ml/data_frame/analytics/_stats": { "get": { + "tags": [ + "ml.get_data_frame_analytics_stats" + ], + "summary": "Retrieves usage information for data frame analytics jobs.", "description": "Retrieves usage information for data frame analytics jobs.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics-stats.html" @@ -9652,6 +10440,10 @@ }, "/_ml/data_frame/analytics/{id}/_stats": { "get": { + "tags": [ + "ml.get_data_frame_analytics_stats" + ], + "summary": "Retrieves usage information for data frame analytics jobs.", "description": "Retrieves usage information for data frame analytics jobs.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics-stats.html" @@ -9683,6 +10475,10 @@ }, "/_ml/datafeeds/{datafeed_id}/_stats": { "get": { + "tags": [ + "ml.get_datafeed_stats" + ], + "summary": "Retrieves usage information for datafeeds.", "description": "Retrieves usage information for datafeeds.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html" @@ -9705,6 +10501,10 @@ }, "/_ml/datafeeds/_stats": { "get": { + "tags": [ + "ml.get_datafeed_stats" + ], + "summary": "Retrieves usage information for datafeeds.", "description": "Retrieves usage information for datafeeds.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html" @@ -9724,6 +10524,10 @@ }, "/_ml/datafeeds": { "get": { + "tags": [ + "ml.get_datafeeds" + ], + "summary": "Retrieves configuration information for datafeeds.", "description": "Retrieves configuration information for datafeeds.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html" @@ -9746,6 +10550,10 @@ }, "/_ml/filters": { "get": { + "tags": [ + "ml.get_filters" + ], + "summary": "Retrieves filters.", "description": "Retrieves filters.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-filter.html" @@ -9768,6 +10576,10 @@ }, "/_ml/anomaly_detectors/_stats": { "get": { + "tags": [ + "ml.get_job_stats" + ], + "summary": "Retrieves usage information for anomaly detection jobs.", "description": "Retrieves usage information for anomaly detection jobs.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html" @@ -9787,6 +10599,10 @@ }, "/_ml/anomaly_detectors/{job_id}/_stats": { "get": { + "tags": [ + "ml.get_job_stats" + ], + "summary": "Retrieves usage information for anomaly detection jobs.", "description": "Retrieves usage information for anomaly detection jobs.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html" @@ -9809,6 +10625,10 @@ }, "/_ml/anomaly_detectors": { "get": { + "tags": [ + "ml.get_jobs" + ], + "summary": "Retrieves configuration information for anomaly detection jobs.", "description": "Retrieves configuration information for anomaly detection jobs.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html" @@ -9831,6 +10651,10 @@ }, "/_ml/anomaly_detectors/{job_id}/results/overall_buckets": { "get": { + "tags": [ + "ml.get_overall_buckets" + ], + "summary": "Retrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.", "description": "Retrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html" @@ -9872,6 +10696,10 @@ } }, "post": { + "tags": [ + "ml.get_overall_buckets" + ], + "summary": "Retrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.", "description": "Retrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html" @@ -9915,6 +10743,10 @@ }, "/_ml/trained_models": { "get": { + "tags": [ + "ml.get_trained_models" + ], + "summary": "Retrieves configuration information for a trained inference model.", "description": "Retrieves configuration information for a trained inference model.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models.html" @@ -9952,6 +10784,10 @@ }, "/_ml/trained_models/{model_id}/_stats": { "get": { + "tags": [ + "ml.get_trained_models_stats" + ], + "summary": "Retrieves usage information for trained inference models.", "description": "Retrieves usage information for trained inference models.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models-stats.html" @@ -9980,6 +10816,10 @@ }, "/_ml/trained_models/_stats": { "get": { + "tags": [ + "ml.get_trained_models_stats" + ], + "summary": "Retrieves usage information for trained inference models.", "description": "Retrieves usage information for trained inference models.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models-stats.html" @@ -10005,6 +10845,10 @@ }, "/_ml/trained_models/{model_id}/_infer": { "post": { + "tags": [ + "ml.infer_trained_model" + ], + "summary": "Evaluate a trained model.", "description": "Evaluate a trained model.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/infer-trained-model.html" @@ -10030,6 +10874,10 @@ }, "/_ml/trained_models/{model_id}/deployment/_infer": { "post": { + "tags": [ + "ml.infer_trained_model" + ], + "summary": "Evaluate a trained model.", "description": "Evaluate a trained model.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/infer-trained-model.html" @@ -10055,6 +10903,10 @@ }, "/_ml/anomaly_detectors/{job_id}/_open": { "post": { + "tags": [ + "ml.open_job" + ], + "summary": "Opens one or more anomaly detection jobs.", "description": "Opens one or more anomaly detection jobs.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html" @@ -10125,6 +10977,10 @@ }, "/_ml/data_frame/analytics/_preview": { "get": { + "tags": [ + "ml.preview_data_frame_analytics" + ], + "summary": "Previews that will be analyzed given a data frame analytics config.", "description": "Previews that will be analyzed given a data frame analytics config.", "externalDocs": { "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" @@ -10140,6 +10996,10 @@ } }, "post": { + "tags": [ + "ml.preview_data_frame_analytics" + ], + "summary": "Previews that will be analyzed given a data frame analytics config.", "description": "Previews that will be analyzed given a data frame analytics config.", "externalDocs": { "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" @@ -10157,6 +11017,10 @@ }, "/_ml/data_frame/analytics/{id}/_preview": { "get": { + "tags": [ + "ml.preview_data_frame_analytics" + ], + "summary": "Previews that will be analyzed given a data frame analytics config.", "description": "Previews that will be analyzed given a data frame analytics config.", "externalDocs": { "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" @@ -10177,6 +11041,10 @@ } }, "post": { + "tags": [ + "ml.preview_data_frame_analytics" + ], + "summary": "Previews that will be analyzed given a data frame analytics config.", "description": "Previews that will be analyzed given a data frame analytics config.", "externalDocs": { "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" @@ -10199,6 +11067,10 @@ }, "/_ml/datafeeds/{datafeed_id}/_preview": { "get": { + "tags": [ + "ml.preview_datafeed" + ], + "summary": "Previews a datafeed.", "description": "Previews a datafeed.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" @@ -10225,6 +11097,10 @@ } }, "post": { + "tags": [ + "ml.preview_datafeed" + ], + "summary": "Previews a datafeed.", "description": "Previews a datafeed.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" @@ -10253,6 +11129,10 @@ }, "/_ml/datafeeds/_preview": { "get": { + "tags": [ + "ml.preview_datafeed" + ], + "summary": "Previews a datafeed.", "description": "Previews a datafeed.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" @@ -10276,6 +11156,10 @@ } }, "post": { + "tags": [ + "ml.preview_datafeed" + ], + "summary": "Previews a datafeed.", "description": "Previews a datafeed.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" @@ -10301,6 +11185,10 @@ }, "/_ml/trained_models/{model_id}/definition/{part}": { "put": { + "tags": [ + "ml.put_trained_model_definition_part" + ], + "summary": "Creates part of a trained model definition", "description": "Creates part of a trained model definition", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-model-definition-part.html" @@ -10375,6 +11263,10 @@ }, "/_ml/trained_models/{model_id}/vocabulary": { "put": { + "tags": [ + "ml.put_trained_model_vocabulary" + ], + "summary": "Creates a trained model vocabulary", "description": "Creates a trained model vocabulary", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-model-vocabulary.html" @@ -10438,6 +11330,10 @@ }, "/_ml/anomaly_detectors/{job_id}/_reset": { "post": { + "tags": [ + "ml.reset_job" + ], + "summary": "Resets an existing anomaly detection job.", "description": "Resets an existing anomaly detection job.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-reset-job.html" @@ -10492,6 +11388,10 @@ }, "/_ml/data_frame/analytics/{id}/_start": { "post": { + "tags": [ + "ml.start_data_frame_analytics" + ], + "summary": "Starts a data frame analytics job.", "description": "Starts a data frame analytics job.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/start-dfanalytics.html" @@ -10548,6 +11448,10 @@ }, "/_ml/datafeeds/{datafeed_id}/_start": { "post": { + "tags": [ + "ml.start_datafeed" + ], + "summary": "Starts one or more datafeeds.", "description": "Starts one or more datafeeds.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html" @@ -10645,6 +11549,10 @@ }, "/_ml/trained_models/{model_id}/deployment/_start": { "post": { + "tags": [ + "ml.start_trained_model_deployment" + ], + "summary": "Start a trained model deployment.", "description": "Start a trained model deployment.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/start-trained-model-deployment.html" @@ -10757,6 +11665,10 @@ }, "/_ml/data_frame/analytics/{id}/_stop": { "post": { + "tags": [ + "ml.stop_data_frame_analytics" + ], + "summary": "Stops one or more data frame analytics jobs.", "description": "Stops one or more data frame analytics jobs.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-dfanalytics.html" @@ -10829,6 +11741,10 @@ }, "/_ml/datafeeds/{datafeed_id}/_stop": { "post": { + "tags": [ + "ml.stop_datafeed" + ], + "summary": "Stops one or more datafeeds.", "description": "Stops one or more datafeeds.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-stop-datafeed.html" @@ -10923,6 +11839,10 @@ }, "/_ml/trained_models/{model_id}/deployment/_stop": { "post": { + "tags": [ + "ml.stop_trained_model_deployment" + ], + "summary": "Stop a trained model deployment.", "description": "Stop a trained model deployment.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/stop-trained-model-deployment.html" @@ -10985,6 +11905,10 @@ }, "/_ml/data_frame/analytics/{id}/_update": { "post": { + "tags": [ + "ml.update_data_frame_analytics" + ], + "summary": "Updates certain properties of a data frame analytics job.", "description": "Updates certain properties of a data frame analytics job.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/update-dfanalytics.html" @@ -11102,6 +12026,10 @@ }, "/_ml/datafeeds/{datafeed_id}/_update": { "post": { + "tags": [ + "ml.update_datafeed" + ], + "summary": "Updates certain properties of a datafeed.", "description": "Updates certain properties of a datafeed.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html" @@ -11306,6 +12234,10 @@ }, "/_ml/filters/{filter_id}/_update": { "post": { + "tags": [ + "ml.update_filter" + ], + "summary": "Updates the description of a filter, adds items, or removes items.", "description": "Updates the description of a filter, adds items, or removes items.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-filter.html" @@ -11389,6 +12321,10 @@ }, "/_ml/anomaly_detectors/{job_id}/_update": { "post": { + "tags": [ + "ml.update_job" + ], + "summary": "Updates certain properties of an anomaly detection job.", "description": "Updates certain properties of an anomaly detection job.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html" @@ -11594,6 +12530,10 @@ }, "/_msearch": { "get": { + "tags": [ + "msearch" + ], + "summary": "Allows to execute several search operations in one request.", "description": "Allows to execute several search operations in one request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html" @@ -11647,6 +12587,10 @@ } }, "post": { + "tags": [ + "msearch" + ], + "summary": "Allows to execute several search operations in one request.", "description": "Allows to execute several search operations in one request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html" @@ -11702,6 +12646,10 @@ }, "/{index}/_msearch": { "get": { + "tags": [ + "msearch" + ], + "summary": "Allows to execute several search operations in one request.", "description": "Allows to execute several search operations in one request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html" @@ -11758,6 +12706,10 @@ } }, "post": { + "tags": [ + "msearch" + ], + "summary": "Allows to execute several search operations in one request.", "description": "Allows to execute several search operations in one request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html" @@ -11816,6 +12768,10 @@ }, "/_msearch/template": { "get": { + "tags": [ + "msearch_template" + ], + "summary": "Allows to execute several search template operations in one request.", "description": "Allows to execute several search template operations in one request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html" @@ -11848,6 +12804,10 @@ } }, "post": { + "tags": [ + "msearch_template" + ], + "summary": "Allows to execute several search template operations in one request.", "description": "Allows to execute several search template operations in one request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html" @@ -11882,6 +12842,10 @@ }, "/{index}/_msearch/template": { "get": { + "tags": [ + "msearch_template" + ], + "summary": "Allows to execute several search template operations in one request.", "description": "Allows to execute several search template operations in one request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html" @@ -11917,6 +12881,10 @@ } }, "post": { + "tags": [ + "msearch_template" + ], + "summary": "Allows to execute several search template operations in one request.", "description": "Allows to execute several search template operations in one request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html" @@ -11954,6 +12922,10 @@ }, "/_mtermvectors": { "get": { + "tags": [ + "mtermvectors" + ], + "summary": "Returns multiple termvectors in one request.", "description": "Returns multiple termvectors in one request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" @@ -12007,6 +12979,10 @@ } }, "post": { + "tags": [ + "mtermvectors" + ], + "summary": "Returns multiple termvectors in one request.", "description": "Returns multiple termvectors in one request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" @@ -12062,6 +13038,10 @@ }, "/{index}/_mtermvectors": { "get": { + "tags": [ + "mtermvectors" + ], + "summary": "Returns multiple termvectors in one request.", "description": "Returns multiple termvectors in one request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" @@ -12118,6 +13098,10 @@ } }, "post": { + "tags": [ + "mtermvectors" + ], + "summary": "Returns multiple termvectors in one request.", "description": "Returns multiple termvectors in one request.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" @@ -12176,6 +13160,10 @@ }, "/{index}/_pit": { "post": { + "tags": [ + "open_point_in_time" + ], + "summary": "Open a point in time that can be used in subsequent searches", "description": "Open a point in time that can be used in subsequent searches", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/point-in-time-api.html" @@ -12269,6 +13257,10 @@ }, "/_scripts/{id}/{context}": { "put": { + "tags": [ + "put_script" + ], + "summary": "Creates or updates a script.", "description": "Creates or updates a script.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" @@ -12298,6 +13290,10 @@ } }, "post": { + "tags": [ + "put_script" + ], + "summary": "Creates or updates a script.", "description": "Creates or updates a script.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" @@ -12329,6 +13325,10 @@ }, "/_query_rules/{ruleset_id}": { "get": { + "tags": [ + "query_ruleset.get" + ], + "summary": "Returns the details about a query ruleset.", "description": "Returns the details about a query ruleset.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-query-ruleset.html" @@ -12361,6 +13361,10 @@ } }, "put": { + "tags": [ + "query_ruleset.put" + ], + "summary": "Creates or updates a query ruleset.", "description": "Creates or updates a query ruleset.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-query-ruleset.html" @@ -12411,6 +13415,10 @@ } }, "delete": { + "tags": [ + "query_ruleset.delete" + ], + "summary": "Deletes a query ruleset.", "description": "Deletes a query ruleset.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-query-ruleset.html" @@ -12445,6 +13453,10 @@ }, "/_query_rules": { "get": { + "tags": [ + "query_ruleset.list" + ], + "summary": "Lists query rulesets.", "description": "Lists query rulesets.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-query-rulesets.html" @@ -12503,6 +13515,10 @@ }, "/_rank_eval": { "get": { + "tags": [ + "rank_eval" + ], + "summary": "Allows to evaluate the quality of ranked search results over a set of typical search queries", "description": "Allows to evaluate the quality of ranked search results over a set of typical search queries", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html" @@ -12532,6 +13548,10 @@ } }, "post": { + "tags": [ + "rank_eval" + ], + "summary": "Allows to evaluate the quality of ranked search results over a set of typical search queries", "description": "Allows to evaluate the quality of ranked search results over a set of typical search queries", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html" @@ -12563,6 +13583,10 @@ }, "/{index}/_rank_eval": { "get": { + "tags": [ + "rank_eval" + ], + "summary": "Allows to evaluate the quality of ranked search results over a set of typical search queries", "description": "Allows to evaluate the quality of ranked search results over a set of typical search queries", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html" @@ -12595,6 +13619,10 @@ } }, "post": { + "tags": [ + "rank_eval" + ], + "summary": "Allows to evaluate the quality of ranked search results over a set of typical search queries", "description": "Allows to evaluate the quality of ranked search results over a set of typical search queries", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html" @@ -12629,6 +13657,10 @@ }, "/_render/template": { "get": { + "tags": [ + "render_search_template" + ], + "summary": "Allows to use the Mustache language to pre-render a search definition.", "description": "Allows to use the Mustache language to pre-render a search definition.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/render-search-template-api.html" @@ -12644,6 +13676,10 @@ } }, "post": { + "tags": [ + "render_search_template" + ], + "summary": "Allows to use the Mustache language to pre-render a search definition.", "description": "Allows to use the Mustache language to pre-render a search definition.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/render-search-template-api.html" @@ -12661,6 +13697,10 @@ }, "/_render/template/{id}": { "get": { + "tags": [ + "render_search_template" + ], + "summary": "Allows to use the Mustache language to pre-render a search definition.", "description": "Allows to use the Mustache language to pre-render a search definition.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/render-search-template-api.html" @@ -12681,6 +13721,10 @@ } }, "post": { + "tags": [ + "render_search_template" + ], + "summary": "Allows to use the Mustache language to pre-render a search definition.", "description": "Allows to use the Mustache language to pre-render a search definition.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/render-search-template-api.html" @@ -12703,6 +13747,10 @@ }, "/_scripts/painless/_execute": { "get": { + "tags": [ + "scripts_painless_execute" + ], + "summary": "Allows an arbitrary script to be executed and a result to be returned", "description": "Allows an arbitrary script to be executed and a result to be returned", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-execute-api.html" @@ -12718,6 +13766,10 @@ } }, "post": { + "tags": [ + "scripts_painless_execute" + ], + "summary": "Allows an arbitrary script to be executed and a result to be returned", "description": "Allows an arbitrary script to be executed and a result to be returned", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-execute-api.html" @@ -12735,6 +13787,10 @@ }, "/_search": { "get": { + "tags": [ + "search" + ], + "summary": "Returns results matching a query.", "description": "Returns results matching a query.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" @@ -12881,6 +13937,10 @@ } }, "post": { + "tags": [ + "search" + ], + "summary": "Returns results matching a query.", "description": "Returns results matching a query.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" @@ -13029,6 +14089,10 @@ }, "/{index}/_search": { "get": { + "tags": [ + "search" + ], + "summary": "Returns results matching a query.", "description": "Returns results matching a query.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" @@ -13178,6 +14242,10 @@ } }, "post": { + "tags": [ + "search" + ], + "summary": "Returns results matching a query.", "description": "Returns results matching a query.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" @@ -13329,6 +14397,10 @@ }, "/_application/search_application/{name}": { "get": { + "tags": [ + "search_application.get" + ], + "summary": "Returns the details about a search application.", "description": "Returns the details about a search application.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-search-application.html" @@ -13361,6 +14433,10 @@ } }, "put": { + "tags": [ + "search_application.put" + ], + "summary": "Creates or updates a search application.", "description": "Creates or updates a search application.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-search-application.html" @@ -13421,6 +14497,10 @@ } }, "delete": { + "tags": [ + "search_application.delete" + ], + "summary": "Deletes a search application.", "description": "Deletes a search application.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-search-application.html" @@ -13455,6 +14535,10 @@ }, "/_application/analytics/{name}": { "get": { + "tags": [ + "search_application.get_behavioral_analytics" + ], + "summary": "Returns the existing behavioral analytics collections.", "description": "Returns the existing behavioral analytics collections.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-analytics-collection.html" @@ -13472,6 +14556,10 @@ } }, "put": { + "tags": [ + "search_application.put_behavioral_analytics" + ], + "summary": "Creates a behavioral analytics collection.", "description": "Creates a behavioral analytics collection.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-analytics-collection.html" @@ -13504,6 +14592,10 @@ } }, "delete": { + "tags": [ + "search_application.delete_behavioral_analytics" + ], + "summary": "Delete a behavioral analytics collection.", "description": "Delete a behavioral analytics collection.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-analytics-collection.html" @@ -13538,6 +14630,10 @@ }, "/_application/analytics": { "get": { + "tags": [ + "search_application.get_behavioral_analytics" + ], + "summary": "Returns the existing behavioral analytics collections.", "description": "Returns the existing behavioral analytics collections.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-analytics-collection.html" @@ -13552,6 +14648,10 @@ }, "/_application/search_application": { "get": { + "tags": [ + "search_application.list" + ], + "summary": "Returns the existing search applications.", "description": "Returns the existing search applications.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-search-applications.html" @@ -13620,6 +14720,10 @@ }, "/_application/search_application/{name}/_search": { "get": { + "tags": [ + "search_application.search" + ], + "summary": "Perform a search against a search application", "description": "Perform a search against a search application", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-application-search.html" @@ -13640,6 +14744,10 @@ } }, "post": { + "tags": [ + "search_application.search" + ], + "summary": "Perform a search against a search application", "description": "Perform a search against a search application", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-application-search.html" @@ -13662,6 +14770,10 @@ }, "/{index}/_mvt/{field}/{zoom}/{x}/{y}": { "get": { + "tags": [ + "search_mvt" + ], + "summary": "Searches a vector tile for geospatial values. Returns results as a binary Mapbox vector tile.", "description": "Searches a vector tile for geospatial values. Returns results as a binary Mapbox vector tile.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-vector-tile-api.html" @@ -13715,6 +14827,10 @@ } }, "post": { + "tags": [ + "search_mvt" + ], + "summary": "Searches a vector tile for geospatial values. Returns results as a binary Mapbox vector tile.", "description": "Searches a vector tile for geospatial values. Returns results as a binary Mapbox vector tile.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-vector-tile-api.html" @@ -13770,6 +14886,10 @@ }, "/_search/template": { "get": { + "tags": [ + "search_template" + ], + "summary": "Allows to use the Mustache language to pre-render a search definition.", "description": "Allows to use the Mustache language to pre-render a search definition.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html" @@ -13826,6 +14946,10 @@ } }, "post": { + "tags": [ + "search_template" + ], + "summary": "Allows to use the Mustache language to pre-render a search definition.", "description": "Allows to use the Mustache language to pre-render a search definition.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html" @@ -13884,6 +15008,10 @@ }, "/{index}/_search/template": { "get": { + "tags": [ + "search_template" + ], + "summary": "Allows to use the Mustache language to pre-render a search definition.", "description": "Allows to use the Mustache language to pre-render a search definition.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html" @@ -13943,6 +15071,10 @@ } }, "post": { + "tags": [ + "search_template" + ], + "summary": "Allows to use the Mustache language to pre-render a search definition.", "description": "Allows to use the Mustache language to pre-render a search definition.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html" @@ -14004,6 +15136,10 @@ }, "/_security/_authenticate": { "get": { + "tags": [ + "security.authenticate" + ], + "summary": "Enables authentication as a user and retrieve information about the authenticated user.", "description": "Enables authentication as a user and retrieve information about the authenticated user.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html" @@ -14088,6 +15224,10 @@ }, "/_security/api_key/{ids}/_clear_cache": { "post": { + "tags": [ + "security.clear_api_key_cache" + ], + "summary": "Clear a subset or all entries from the API key cache.", "description": "Clear a subset or all entries from the API key cache.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-api-key-cache.html" @@ -14141,6 +15281,10 @@ }, "/_security/api_key": { "get": { + "tags": [ + "security.get_api_key" + ], + "summary": "Retrieves information for one or more API keys.", "description": "Retrieves information for one or more API keys.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-api-key.html" @@ -14233,6 +15377,10 @@ } }, "put": { + "tags": [ + "security.create_api_key" + ], + "summary": "Creates an API key for access without requiring basic authentication.", "description": "Creates an API key for access without requiring basic authentication.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html" @@ -14253,6 +15401,10 @@ } }, "post": { + "tags": [ + "security.create_api_key" + ], + "summary": "Creates an API key for access without requiring basic authentication.", "description": "Creates an API key for access without requiring basic authentication.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html" @@ -14273,6 +15425,10 @@ } }, "delete": { + "tags": [ + "security.invalidate_api_key" + ], + "summary": "Invalidates one or more API keys.", "description": "Invalidates one or more API keys.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-api-key.html" @@ -14358,6 +15514,10 @@ }, "/_security/_query/api_key": { "get": { + "tags": [ + "security.query_api_keys" + ], + "summary": "Retrieves information for API keys using a subset of query DSL", "description": "Retrieves information for API keys using a subset of query DSL", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-query-api-key.html" @@ -14378,6 +15538,10 @@ } }, "post": { + "tags": [ + "security.query_api_keys" + ], + "summary": "Retrieves information for API keys using a subset of query DSL", "description": "Retrieves information for API keys using a subset of query DSL", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-query-api-key.html" @@ -14400,6 +15564,10 @@ }, "/_security/api_key/{id}": { "put": { + "tags": [ + "security.update_api_key" + ], + "summary": "Updates attributes of an existing API key.", "description": "Updates attributes of an existing API key.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-api-key.html" @@ -14467,6 +15635,10 @@ }, "/_synonyms/{id}": { "get": { + "tags": [ + "synonyms.get_synonym" + ], + "summary": "Retrieves a synonym set", "description": "Retrieves a synonym set", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-synonyms-set.html" @@ -14534,6 +15706,10 @@ } }, "put": { + "tags": [ + "synonyms.put_synonym" + ], + "summary": "Creates or updates a synonyms set", "description": "Creates or updates a synonyms set", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-synonyms-set.html" @@ -14600,6 +15776,10 @@ } }, "delete": { + "tags": [ + "synonyms.delete_synonym" + ], + "summary": "Deletes a synonym set", "description": "Deletes a synonym set", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-synonyms-set.html" @@ -14634,6 +15814,10 @@ }, "/_synonyms/{set_id}/{rule_id}": { "get": { + "tags": [ + "synonyms.get_synonym_rule" + ], + "summary": "Retrieves a synonym rule from a synonym set", "description": "Retrieves a synonym rule from a synonym set", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-synonym-rule.html" @@ -14677,6 +15861,10 @@ } }, "put": { + "tags": [ + "synonyms.put_synonym_rule" + ], + "summary": "Creates or updates a synonym rule in a synonym set", "description": "Creates or updates a synonym rule in a synonym set", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-synonym-rule.html" @@ -14741,6 +15929,10 @@ } }, "delete": { + "tags": [ + "synonyms.delete_synonym_rule" + ], + "summary": "Deletes a synonym rule in a synonym set", "description": "Deletes a synonym rule in a synonym set", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-synonym-rule.html" @@ -14786,6 +15978,10 @@ }, "/_synonyms": { "get": { + "tags": [ + "synonyms.get_synonyms_sets" + ], + "summary": "Retrieves a summary of all defined synonym sets", "description": "Retrieves a summary of all defined synonym sets", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-synonyms-sets.html" @@ -14844,6 +16040,10 @@ }, "/{index}/_terms_enum": { "get": { + "tags": [ + "terms_enum" + ], + "summary": "The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios.", "description": "The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html" @@ -14864,6 +16064,10 @@ } }, "post": { + "tags": [ + "terms_enum" + ], + "summary": "The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios.", "description": "The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html" @@ -14886,6 +16090,10 @@ }, "/{index}/_termvectors/{id}": { "get": { + "tags": [ + "termvectors" + ], + "summary": "Returns information and statistics about terms in the fields of a particular document.", "description": "Returns information and statistics about terms in the fields of a particular document.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" @@ -14942,6 +16150,10 @@ } }, "post": { + "tags": [ + "termvectors" + ], + "summary": "Returns information and statistics about terms in the fields of a particular document.", "description": "Returns information and statistics about terms in the fields of a particular document.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" @@ -15000,6 +16212,10 @@ }, "/{index}/_termvectors": { "get": { + "tags": [ + "termvectors" + ], + "summary": "Returns information and statistics about terms in the fields of a particular document.", "description": "Returns information and statistics about terms in the fields of a particular document.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" @@ -15053,6 +16269,10 @@ } }, "post": { + "tags": [ + "termvectors" + ], + "summary": "Returns information and statistics about terms in the fields of a particular document.", "description": "Returns information and statistics about terms in the fields of a particular document.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" @@ -15108,6 +16328,10 @@ }, "/_transform/{transform_id}": { "get": { + "tags": [ + "transform.get_transform" + ], + "summary": "Retrieves configuration information for transforms.", "description": "Retrieves configuration information for transforms.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html" @@ -15137,6 +16361,10 @@ } }, "put": { + "tags": [ + "transform.put_transform" + ], + "summary": "Instantiates a transform.", "description": "Instantiates a transform.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html" @@ -15236,6 +16464,10 @@ } }, "delete": { + "tags": [ + "transform.delete_transform" + ], + "summary": "Deletes an existing transform.", "description": "Deletes an existing transform.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-transform.html" @@ -15290,6 +16522,10 @@ }, "/_transform": { "get": { + "tags": [ + "transform.get_transform" + ], + "summary": "Retrieves configuration information for transforms.", "description": "Retrieves configuration information for transforms.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html" @@ -15318,6 +16554,10 @@ }, "/_transform/{transform_id}/_stats": { "get": { + "tags": [ + "transform.get_transform_stats" + ], + "summary": "Retrieves usage information for transforms.", "description": "Retrieves usage information for transforms.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform-stats.html" @@ -15407,6 +16647,10 @@ }, "/_transform/{transform_id}/_preview": { "get": { + "tags": [ + "transform.preview_transform" + ], + "summary": "Previews a transform.", "description": "Previews a transform.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" @@ -15430,6 +16674,10 @@ } }, "post": { + "tags": [ + "transform.preview_transform" + ], + "summary": "Previews a transform.", "description": "Previews a transform.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" @@ -15455,6 +16703,10 @@ }, "/_transform/_preview": { "get": { + "tags": [ + "transform.preview_transform" + ], + "summary": "Previews a transform.", "description": "Previews a transform.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" @@ -15475,6 +16727,10 @@ } }, "post": { + "tags": [ + "transform.preview_transform" + ], + "summary": "Previews a transform.", "description": "Previews a transform.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" @@ -15497,6 +16753,10 @@ }, "/_transform/{transform_id}/_reset": { "post": { + "tags": [ + "transform.reset_transform" + ], + "summary": "Resets an existing transform.", "description": "Resets an existing transform.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/reset-transform.html" @@ -15541,6 +16801,10 @@ }, "/_transform/{transform_id}/_schedule_now": { "post": { + "tags": [ + "transform.schedule_now_transform" + ], + "summary": "Schedules now a transform.", "description": "Schedules now a transform.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/schedule-now-transform.html" @@ -15585,6 +16849,10 @@ }, "/_transform/{transform_id}/_start": { "post": { + "tags": [ + "transform.start_transform" + ], + "summary": "Starts one or more transforms.", "description": "Starts one or more transforms.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/start-transform.html" @@ -15639,6 +16907,10 @@ }, "/_transform/{transform_id}/_stop": { "post": { + "tags": [ + "transform.stop_transform" + ], + "summary": "Stops one or more transforms.", "description": "Stops one or more transforms.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-transform.html" @@ -15723,6 +16995,10 @@ }, "/_transform/{transform_id}/_update": { "post": { + "tags": [ + "transform.update_transform" + ], + "summary": "Updates certain properties of a transform.", "description": "Updates certain properties of a transform.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/update-transform.html" @@ -15876,6 +17152,10 @@ }, "/{index}/_update/{id}": { "post": { + "tags": [ + "update" + ], + "summary": "Updates a document with a script or partial document.", "description": "Updates a document with a script or partial document.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html" @@ -16079,6 +17359,10 @@ }, "/{index}/_update_by_query": { "post": { + "tags": [ + "update_by_query" + ], + "summary": "Performs an update on every document in the index without changing the source,\nfor example to pick up a mapping change.", "description": "Performs an update on every document in the index without changing the source,\nfor example to pick up a mapping change.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html" From 0a8bd3edb1296c00452b3c8ada686e0ab781d10a Mon Sep 17 00:00:00 2001 From: Sylvain Wallez Date: Wed, 4 Oct 2023 19:04:27 +0200 Subject: [PATCH 11/17] Make operation ids URL-safe --- .../clients_schema_to_openapi/src/paths.rs | 13 +- .../elasticsearch-serverless-openapi.json | 642 +++++++++--------- 2 files changed, 333 insertions(+), 322 deletions(-) diff --git a/openapi-converter/clients_schema_to_openapi/src/paths.rs b/openapi-converter/clients_schema_to_openapi/src/paths.rs index 2c09f0d540..d0ba26021a 100644 --- a/openapi-converter/clients_schema_to_openapi/src/paths.rs +++ b/openapi-converter/clients_schema_to_openapi/src/paths.rs @@ -16,6 +16,7 @@ // under the License. use std::collections::HashMap; +use std::fmt::Write; use anyhow::{anyhow, bail}; use indexmap::indexmap; @@ -260,7 +261,17 @@ pub fn add_endpoint(endpoint: &clients_schema::Endpoint, tac: &mut TypesAndCompo }; let mut operation = operation.clone(); - operation.operation_id = Some(format!("{}#{}", endpoint.name, operation_counter)); + let mut operation_id: String = endpoint.name + .chars() + .map(|x| match x { + '_' | '.' => '-', + _ => x + }).collect(); + if operation_counter != 0 { + write!(&mut operation_id, "-{}", operation_counter)?; + } + operation.operation_id = Some(operation_id); + operation_counter += 1; *method_field = Some(operation); } diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index d8e612ce24..1d952edb4c 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -19,7 +19,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" }, - "operationId": "async_search.get#0", + "operationId": "async-search-get", "parameters": [ { "in": "path", @@ -85,7 +85,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" }, - "operationId": "async_search.delete#0", + "operationId": "async-search-delete", "parameters": [ { "in": "path", @@ -123,7 +123,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" }, - "operationId": "async_search.status#0", + "operationId": "async-search-status", "parameters": [ { "in": "path", @@ -161,7 +161,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" }, - "operationId": "async_search.submit#0", + "operationId": "async-search-submit", "parameters": [ { "$ref": "#/components/parameters/async_search.submit#wait_for_completion_timeout" @@ -322,7 +322,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" }, - "operationId": "async_search.submit#1", + "operationId": "async-search-submit-1", "parameters": [ { "$ref": "#/components/parameters/async_search.submit#index" @@ -486,7 +486,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html" }, - "operationId": "bulk#1", + "operationId": "bulk-1", "parameters": [ { "$ref": "#/components/parameters/bulk#pipeline" @@ -534,7 +534,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html" }, - "operationId": "bulk#0", + "operationId": "bulk", "parameters": [ { "$ref": "#/components/parameters/bulk#pipeline" @@ -584,7 +584,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html" }, - "operationId": "bulk#3", + "operationId": "bulk-3", "parameters": [ { "$ref": "#/components/parameters/bulk#index" @@ -635,7 +635,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html" }, - "operationId": "bulk#2", + "operationId": "bulk-2", "parameters": [ { "$ref": "#/components/parameters/bulk#index" @@ -688,7 +688,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-alias.html" }, - "operationId": "cat.aliases#0", + "operationId": "cat-aliases", "parameters": [ { "$ref": "#/components/parameters/cat.aliases#expand_wildcards" @@ -711,7 +711,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-alias.html" }, - "operationId": "cat.aliases#1", + "operationId": "cat-aliases-1", "parameters": [ { "$ref": "#/components/parameters/cat.aliases#name" @@ -737,7 +737,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html" }, - "operationId": "cat.component_templates#0", + "operationId": "cat-component-templates", "responses": { "200": { "$ref": "#/components/responses/cat.component_templates#200" @@ -755,7 +755,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html" }, - "operationId": "cat.component_templates#1", + "operationId": "cat-component-templates-1", "parameters": [ { "$ref": "#/components/parameters/cat.component_templates#name" @@ -778,7 +778,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-count.html" }, - "operationId": "cat.count#0", + "operationId": "cat-count", "responses": { "200": { "$ref": "#/components/responses/cat.count#200" @@ -796,7 +796,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-count.html" }, - "operationId": "cat.count#1", + "operationId": "cat-count-1", "parameters": [ { "$ref": "#/components/parameters/cat.count#index" @@ -819,7 +819,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat.html" }, - "operationId": "cat.help#0", + "operationId": "cat-help", "responses": { "200": { "description": "", @@ -847,7 +847,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-indices.html" }, - "operationId": "cat.indices#0", + "operationId": "cat-indices", "parameters": [ { "$ref": "#/components/parameters/cat.indices#bytes" @@ -885,7 +885,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-indices.html" }, - "operationId": "cat.indices#1", + "operationId": "cat-indices-1", "parameters": [ { "$ref": "#/components/parameters/cat.indices#index" @@ -926,7 +926,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-dfanalytics.html" }, - "operationId": "cat.ml_data_frame_analytics#0", + "operationId": "cat-ml-data-frame-analytics", "parameters": [ { "$ref": "#/components/parameters/cat.ml_data_frame_analytics#allow_no_match" @@ -961,7 +961,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-dfanalytics.html" }, - "operationId": "cat.ml_data_frame_analytics#1", + "operationId": "cat-ml-data-frame-analytics-1", "parameters": [ { "$ref": "#/components/parameters/cat.ml_data_frame_analytics#id" @@ -999,7 +999,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-datafeeds.html" }, - "operationId": "cat.ml_datafeeds#0", + "operationId": "cat-ml-datafeeds", "parameters": [ { "$ref": "#/components/parameters/cat.ml_datafeeds#allow_no_match" @@ -1031,7 +1031,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-datafeeds.html" }, - "operationId": "cat.ml_datafeeds#1", + "operationId": "cat-ml-datafeeds-1", "parameters": [ { "$ref": "#/components/parameters/cat.ml_datafeeds#datafeed_id" @@ -1066,7 +1066,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-anomaly-detectors.html" }, - "operationId": "cat.ml_jobs#0", + "operationId": "cat-ml-jobs", "parameters": [ { "$ref": "#/components/parameters/cat.ml_jobs#allow_no_match" @@ -1101,7 +1101,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-anomaly-detectors.html" }, - "operationId": "cat.ml_jobs#1", + "operationId": "cat-ml-jobs-1", "parameters": [ { "$ref": "#/components/parameters/cat.ml_jobs#job_id" @@ -1139,7 +1139,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-trained-model.html" }, - "operationId": "cat.ml_trained_models#0", + "operationId": "cat-ml-trained-models", "parameters": [ { "$ref": "#/components/parameters/cat.ml_trained_models#allow_no_match" @@ -1177,7 +1177,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-trained-model.html" }, - "operationId": "cat.ml_trained_models#1", + "operationId": "cat-ml-trained-models-1", "parameters": [ { "$ref": "#/components/parameters/cat.ml_trained_models#model_id" @@ -1218,7 +1218,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-transforms.html" }, - "operationId": "cat.transforms#0", + "operationId": "cat-transforms", "parameters": [ { "$ref": "#/components/parameters/cat.transforms#allow_no_match" @@ -1256,7 +1256,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-transforms.html" }, - "operationId": "cat.transforms#1", + "operationId": "cat-transforms-1", "parameters": [ { "$ref": "#/components/parameters/cat.transforms#transform_id" @@ -1297,7 +1297,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" }, - "operationId": "scroll#0", + "operationId": "scroll", "parameters": [ { "$ref": "#/components/parameters/scroll#scroll" @@ -1327,7 +1327,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" }, - "operationId": "scroll#1", + "operationId": "scroll-1", "parameters": [ { "$ref": "#/components/parameters/scroll#scroll" @@ -1357,7 +1357,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-scroll-api.html" }, - "operationId": "clear_scroll#0", + "operationId": "clear-scroll", "requestBody": { "$ref": "#/components/requestBodies/clear_scroll" }, @@ -1378,7 +1378,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" }, - "operationId": "scroll#2", + "operationId": "scroll-2", "parameters": [ { "$ref": "#/components/parameters/scroll#scroll_id" @@ -1411,7 +1411,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" }, - "operationId": "scroll#3", + "operationId": "scroll-3", "parameters": [ { "$ref": "#/components/parameters/scroll#scroll_id" @@ -1444,7 +1444,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-scroll-api.html" }, - "operationId": "clear_scroll#1", + "operationId": "clear-scroll-1", "parameters": [ { "$ref": "#/components/parameters/clear_scroll#scroll_id" @@ -1470,7 +1470,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/point-in-time-api.html" }, - "operationId": "close_point_in_time#0", + "operationId": "close-point-in-time", "requestBody": { "content": { "application/json": { @@ -1524,7 +1524,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" }, - "operationId": "cluster.get_component_template#1", + "operationId": "cluster-get-component-template-1", "parameters": [ { "$ref": "#/components/parameters/cluster.get_component_template#name" @@ -1557,7 +1557,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" }, - "operationId": "cluster.put_component_template#0", + "operationId": "cluster-put-component-template", "parameters": [ { "$ref": "#/components/parameters/cluster.put_component_template#name" @@ -1587,7 +1587,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" }, - "operationId": "cluster.put_component_template#1", + "operationId": "cluster-put-component-template-1", "parameters": [ { "$ref": "#/components/parameters/cluster.put_component_template#name" @@ -1617,7 +1617,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" }, - "operationId": "cluster.delete_component_template#0", + "operationId": "cluster-delete-component-template", "parameters": [ { "in": "path", @@ -1673,7 +1673,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" }, - "operationId": "cluster.exists_component_template#0", + "operationId": "cluster-exists-component-template", "parameters": [ { "in": "path", @@ -1727,7 +1727,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" }, - "operationId": "cluster.get_component_template#0", + "operationId": "cluster-get-component-template", "parameters": [ { "$ref": "#/components/parameters/cluster.get_component_template#flat_settings" @@ -1759,7 +1759,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-get-settings.html" }, - "operationId": "cluster.get_settings#0", + "operationId": "cluster-get-settings", "parameters": [ { "in": "query", @@ -1848,7 +1848,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-update-settings.html" }, - "operationId": "cluster.put_settings#0", + "operationId": "cluster-put-settings", "parameters": [ { "in": "query", @@ -1951,7 +1951,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-info.html" }, - "operationId": "cluster.info#0", + "operationId": "cluster-info", "parameters": [ { "in": "path", @@ -2012,7 +2012,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-pending.html" }, - "operationId": "cluster.pending_tasks#0", + "operationId": "cluster-pending-tasks", "parameters": [ { "in": "query", @@ -2070,7 +2070,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-stats.html" }, - "operationId": "cluster.stats#0", + "operationId": "cluster-stats", "parameters": [ { "$ref": "#/components/parameters/cluster.stats#flat_settings" @@ -2096,7 +2096,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-stats.html" }, - "operationId": "cluster.stats#1", + "operationId": "cluster-stats-1", "parameters": [ { "$ref": "#/components/parameters/cluster.stats#node_id" @@ -2125,7 +2125,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html" }, - "operationId": "count#1", + "operationId": "count-1", "parameters": [ { "$ref": "#/components/parameters/count#allow_no_indices" @@ -2188,7 +2188,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html" }, - "operationId": "count#0", + "operationId": "count", "parameters": [ { "$ref": "#/components/parameters/count#allow_no_indices" @@ -2253,7 +2253,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html" }, - "operationId": "count#3", + "operationId": "count-3", "parameters": [ { "$ref": "#/components/parameters/count#index" @@ -2319,7 +2319,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html" }, - "operationId": "count#2", + "operationId": "count-2", "parameters": [ { "$ref": "#/components/parameters/count#index" @@ -2387,7 +2387,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" }, - "operationId": "create#0", + "operationId": "create", "parameters": [ { "$ref": "#/components/parameters/create#index" @@ -2435,7 +2435,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" }, - "operationId": "create#1", + "operationId": "create-1", "parameters": [ { "$ref": "#/components/parameters/create#index" @@ -2485,7 +2485,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" }, - "operationId": "get#0", + "operationId": "get", "parameters": [ { "in": "path", @@ -2632,7 +2632,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" }, - "operationId": "index#0", + "operationId": "index", "parameters": [ { "$ref": "#/components/parameters/index#index" @@ -2692,7 +2692,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" }, - "operationId": "index#1", + "operationId": "index-1", "parameters": [ { "$ref": "#/components/parameters/index#index" @@ -2752,7 +2752,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html" }, - "operationId": "delete#0", + "operationId": "delete", "parameters": [ { "in": "path", @@ -2879,7 +2879,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" }, - "operationId": "exists#0", + "operationId": "exists", "parameters": [ { "in": "path", @@ -3024,7 +3024,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html" }, - "operationId": "delete_by_query#0", + "operationId": "delete-by-query", "parameters": [ { "in": "path", @@ -3433,7 +3433,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" }, - "operationId": "get_script#0", + "operationId": "get-script", "parameters": [ { "in": "path", @@ -3494,7 +3494,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" }, - "operationId": "put_script#0", + "operationId": "put-script", "parameters": [ { "$ref": "#/components/parameters/put_script#id" @@ -3524,7 +3524,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" }, - "operationId": "put_script#1", + "operationId": "put-script-1", "parameters": [ { "$ref": "#/components/parameters/put_script#id" @@ -3554,7 +3554,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" }, - "operationId": "delete_script#0", + "operationId": "delete-script", "parameters": [ { "in": "path", @@ -3612,7 +3612,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-enrich-policy-api.html" }, - "operationId": "enrich.get_policy#0", + "operationId": "enrich-get-policy", "parameters": [ { "$ref": "#/components/parameters/enrich.get_policy#name" @@ -3633,7 +3633,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-enrich-policy-api.html" }, - "operationId": "enrich.put_policy#0", + "operationId": "enrich-put-policy", "parameters": [ { "in": "path", @@ -3690,7 +3690,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-enrich-policy-api.html" }, - "operationId": "enrich.delete_policy#0", + "operationId": "enrich-delete-policy", "parameters": [ { "in": "path", @@ -3728,7 +3728,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/execute-enrich-policy-api.html" }, - "operationId": "enrich.execute_policy#0", + "operationId": "enrich-execute-policy", "parameters": [ { "in": "path", @@ -3787,7 +3787,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-enrich-policy-api.html" }, - "operationId": "enrich.get_policy#1", + "operationId": "enrich-get-policy-1", "responses": { "200": { "$ref": "#/components/responses/enrich.get_policy#200" @@ -3805,7 +3805,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-stats-api.html" }, - "operationId": "enrich.stats#0", + "operationId": "enrich-stats", "responses": { "200": { "description": "", @@ -3857,7 +3857,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" }, - "operationId": "get_source#0", + "operationId": "get-source", "parameters": [ { "in": "path", @@ -4003,7 +4003,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" }, - "operationId": "exists_source#0", + "operationId": "exists-source", "parameters": [ { "in": "path", @@ -4138,7 +4138,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html" }, - "operationId": "field_caps#0", + "operationId": "field-caps", "parameters": [ { "$ref": "#/components/parameters/field_caps#allow_no_indices" @@ -4180,7 +4180,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html" }, - "operationId": "field_caps#1", + "operationId": "field-caps-1", "parameters": [ { "$ref": "#/components/parameters/field_caps#allow_no_indices" @@ -4224,7 +4224,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html" }, - "operationId": "field_caps#2", + "operationId": "field-caps-2", "parameters": [ { "$ref": "#/components/parameters/field_caps#index" @@ -4269,7 +4269,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html" }, - "operationId": "field_caps#3", + "operationId": "field-caps-3", "parameters": [ { "$ref": "#/components/parameters/field_caps#index" @@ -4316,7 +4316,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html" }, - "operationId": "graph.explore#0", + "operationId": "graph-explore", "parameters": [ { "$ref": "#/components/parameters/graph.explore#index" @@ -4346,7 +4346,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html" }, - "operationId": "graph.explore#1", + "operationId": "graph-explore-1", "parameters": [ { "$ref": "#/components/parameters/graph.explore#index" @@ -4378,7 +4378,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" }, - "operationId": "index#2", + "operationId": "index-2", "parameters": [ { "$ref": "#/components/parameters/index#index" @@ -4437,7 +4437,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" }, - "operationId": "indices.analyze#0", + "operationId": "indices-analyze", "requestBody": { "$ref": "#/components/requestBodies/indices.analyze" }, @@ -4456,7 +4456,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" }, - "operationId": "indices.analyze#1", + "operationId": "indices-analyze-1", "requestBody": { "$ref": "#/components/requestBodies/indices.analyze" }, @@ -4477,7 +4477,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" }, - "operationId": "indices.analyze#2", + "operationId": "indices-analyze-2", "parameters": [ { "$ref": "#/components/parameters/indices.analyze#index" @@ -4501,7 +4501,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" }, - "operationId": "indices.analyze#3", + "operationId": "indices-analyze-3", "parameters": [ { "$ref": "#/components/parameters/indices.analyze#index" @@ -4527,7 +4527,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html" }, - "operationId": "indices.get#0", + "operationId": "indices-get", "parameters": [ { "in": "path", @@ -4646,7 +4646,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html" }, - "operationId": "indices.create#0", + "operationId": "indices-create", "parameters": [ { "in": "path", @@ -4752,7 +4752,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html" }, - "operationId": "indices.delete#0", + "operationId": "indices-delete", "parameters": [ { "in": "path", @@ -4838,7 +4838,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html" }, - "operationId": "indices.exists#0", + "operationId": "indices-exists", "parameters": [ { "in": "path", @@ -4932,7 +4932,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" }, - "operationId": "indices.get_data_stream#1", + "operationId": "indices-get-data-stream-1", "parameters": [ { "$ref": "#/components/parameters/indices.get_data_stream#name" @@ -4959,7 +4959,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" }, - "operationId": "indices.create_data_stream#0", + "operationId": "indices-create-data-stream", "parameters": [ { "in": "path", @@ -4995,7 +4995,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" }, - "operationId": "indices.delete_data_stream#0", + "operationId": "indices-delete-data-stream", "parameters": [ { "in": "path", @@ -5043,7 +5043,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" }, - "operationId": "indices.data_streams_stats#0", + "operationId": "indices-data-streams-stats", "parameters": [ { "$ref": "#/components/parameters/indices.data_streams_stats#expand_wildcards" @@ -5066,7 +5066,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" }, - "operationId": "indices.data_streams_stats#1", + "operationId": "indices-data-streams-stats-1", "parameters": [ { "$ref": "#/components/parameters/indices.data_streams_stats#name" @@ -5092,7 +5092,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" }, - "operationId": "indices.get_alias#2", + "operationId": "indices-get-alias-2", "parameters": [ { "$ref": "#/components/parameters/indices.get_alias#index" @@ -5128,7 +5128,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" }, - "operationId": "indices.put_alias#0", + "operationId": "indices-put-alias", "parameters": [ { "$ref": "#/components/parameters/indices.put_alias#index" @@ -5161,7 +5161,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" }, - "operationId": "indices.put_alias#1", + "operationId": "indices-put-alias-1", "parameters": [ { "$ref": "#/components/parameters/indices.put_alias#index" @@ -5194,7 +5194,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" }, - "operationId": "indices.delete_alias#0", + "operationId": "indices-delete-alias", "parameters": [ { "$ref": "#/components/parameters/indices.delete_alias#index" @@ -5224,7 +5224,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" }, - "operationId": "indices.exists_alias#1", + "operationId": "indices-exists-alias-1", "parameters": [ { "$ref": "#/components/parameters/indices.exists_alias#index" @@ -5262,7 +5262,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" }, - "operationId": "indices.put_alias#2", + "operationId": "indices-put-alias-2", "parameters": [ { "$ref": "#/components/parameters/indices.put_alias#index" @@ -5295,7 +5295,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" }, - "operationId": "indices.put_alias#3", + "operationId": "indices-put-alias-3", "parameters": [ { "$ref": "#/components/parameters/indices.put_alias#index" @@ -5328,7 +5328,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" }, - "operationId": "indices.delete_alias#1", + "operationId": "indices-delete-alias-1", "parameters": [ { "$ref": "#/components/parameters/indices.delete_alias#index" @@ -5360,7 +5360,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-get-lifecycle.html" }, - "operationId": "indices.get_data_lifecycle#0", + "operationId": "indices-get-data-lifecycle", "parameters": [ { "in": "path", @@ -5427,7 +5427,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-put-lifecycle.html" }, - "operationId": "indices.put_data_lifecycle#0", + "operationId": "indices-put-data-lifecycle", "parameters": [ { "in": "path", @@ -5510,7 +5510,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-delete-lifecycle.html" }, - "operationId": "indices.delete_data_lifecycle#0", + "operationId": "indices-delete-data-lifecycle", "parameters": [ { "in": "path", @@ -5578,7 +5578,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" }, - "operationId": "indices.get_index_template#1", + "operationId": "indices-get-index-template-1", "parameters": [ { "$ref": "#/components/parameters/indices.get_index_template#name" @@ -5611,7 +5611,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" }, - "operationId": "indices.put_index_template#0", + "operationId": "indices-put-index-template", "parameters": [ { "$ref": "#/components/parameters/indices.put_index_template#name" @@ -5638,7 +5638,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" }, - "operationId": "indices.put_index_template#1", + "operationId": "indices-put-index-template-1", "parameters": [ { "$ref": "#/components/parameters/indices.put_index_template#name" @@ -5665,7 +5665,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" }, - "operationId": "indices.delete_index_template#0", + "operationId": "indices-delete-index-template", "parameters": [ { "in": "path", @@ -5721,7 +5721,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" }, - "operationId": "indices.exists_index_template#0", + "operationId": "indices-exists-index-template", "parameters": [ { "in": "path", @@ -5765,7 +5765,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" }, - "operationId": "indices.get_template#1", + "operationId": "indices-get-template-1", "parameters": [ { "$ref": "#/components/parameters/indices.get_template#name" @@ -5795,7 +5795,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" }, - "operationId": "indices.put_template#0", + "operationId": "indices-put-template", "parameters": [ { "$ref": "#/components/parameters/indices.put_template#name" @@ -5834,7 +5834,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" }, - "operationId": "indices.put_template#1", + "operationId": "indices-put-template-1", "parameters": [ { "$ref": "#/components/parameters/indices.put_template#name" @@ -5873,7 +5873,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" }, - "operationId": "indices.delete_template#0", + "operationId": "indices-delete-template", "parameters": [ { "in": "path", @@ -5929,7 +5929,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" }, - "operationId": "indices.exists_template#0", + "operationId": "indices-exists-template", "parameters": [ { "in": "path", @@ -5993,7 +5993,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-disk-usage.html" }, - "operationId": "indices.disk_usage#0", + "operationId": "indices-disk-usage", "parameters": [ { "in": "path", @@ -6081,7 +6081,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" }, - "operationId": "indices.get_alias#1", + "operationId": "indices-get-alias-1", "parameters": [ { "$ref": "#/components/parameters/indices.get_alias#name" @@ -6114,7 +6114,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" }, - "operationId": "indices.exists_alias#0", + "operationId": "indices-exists-alias", "parameters": [ { "$ref": "#/components/parameters/indices.exists_alias#name" @@ -6149,7 +6149,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/data-streams-explain-lifecycle.html" }, - "operationId": "indices.explain_data_lifecycle#0", + "operationId": "indices-explain-data-lifecycle", "parameters": [ { "in": "path", @@ -6218,7 +6218,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" }, - "operationId": "indices.get_alias#0", + "operationId": "indices-get-alias", "parameters": [ { "$ref": "#/components/parameters/indices.get_alias#allow_no_indices" @@ -6250,7 +6250,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" }, - "operationId": "indices.get_alias#3", + "operationId": "indices-get-alias-3", "parameters": [ { "$ref": "#/components/parameters/indices.get_alias#index" @@ -6285,7 +6285,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" }, - "operationId": "indices.get_data_stream#0", + "operationId": "indices-get-data-stream", "parameters": [ { "$ref": "#/components/parameters/indices.get_data_stream#expand_wildcards" @@ -6311,7 +6311,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" }, - "operationId": "indices.get_index_template#0", + "operationId": "indices-get-index-template", "parameters": [ { "$ref": "#/components/parameters/indices.get_index_template#local" @@ -6343,7 +6343,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html" }, - "operationId": "indices.get_mapping#0", + "operationId": "indices-get-mapping", "parameters": [ { "$ref": "#/components/parameters/indices.get_mapping#allow_no_indices" @@ -6378,7 +6378,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html" }, - "operationId": "indices.get_mapping#1", + "operationId": "indices-get-mapping-1", "parameters": [ { "$ref": "#/components/parameters/indices.get_mapping#index" @@ -6414,7 +6414,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html" }, - "operationId": "indices.put_mapping#0", + "operationId": "indices-put-mapping", "parameters": [ { "$ref": "#/components/parameters/indices.put_mapping#index" @@ -6456,7 +6456,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html" }, - "operationId": "indices.put_mapping#1", + "operationId": "indices-put-mapping-1", "parameters": [ { "$ref": "#/components/parameters/indices.put_mapping#index" @@ -6500,7 +6500,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html" }, - "operationId": "indices.get_settings#0", + "operationId": "indices-get-settings", "parameters": [ { "$ref": "#/components/parameters/indices.get_settings#allow_no_indices" @@ -6539,7 +6539,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html" }, - "operationId": "indices.put_settings#0", + "operationId": "indices-put-settings", "parameters": [ { "$ref": "#/components/parameters/indices.put_settings#allow_no_indices" @@ -6583,7 +6583,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html" }, - "operationId": "indices.get_settings#1", + "operationId": "indices-get-settings-1", "parameters": [ { "$ref": "#/components/parameters/indices.get_settings#index" @@ -6625,7 +6625,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html" }, - "operationId": "indices.put_settings#1", + "operationId": "indices-put-settings-1", "parameters": [ { "$ref": "#/components/parameters/indices.put_settings#index" @@ -6672,7 +6672,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html" }, - "operationId": "indices.get_settings#2", + "operationId": "indices-get-settings-2", "parameters": [ { "$ref": "#/components/parameters/indices.get_settings#index" @@ -6719,7 +6719,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html" }, - "operationId": "indices.get_settings#3", + "operationId": "indices-get-settings-3", "parameters": [ { "$ref": "#/components/parameters/indices.get_settings#name" @@ -6763,7 +6763,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" }, - "operationId": "indices.get_template#0", + "operationId": "indices-get-template", "parameters": [ { "$ref": "#/components/parameters/indices.get_template#flat_settings" @@ -6792,7 +6792,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" }, - "operationId": "indices.migrate_to_data_stream#0", + "operationId": "indices-migrate-to-data-stream", "parameters": [ { "in": "path", @@ -6830,7 +6830,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" }, - "operationId": "indices.modify_data_stream#0", + "operationId": "indices-modify-data-stream", "requestBody": { "content": { "application/json": { @@ -6877,7 +6877,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-index-api.html" }, - "operationId": "indices.resolve_index#0", + "operationId": "indices-resolve-index", "parameters": [ { "in": "path", @@ -6950,7 +6950,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-rollover-index.html" }, - "operationId": "indices.rollover#0", + "operationId": "indices-rollover", "parameters": [ { "$ref": "#/components/parameters/indices.rollover#alias" @@ -6988,7 +6988,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-rollover-index.html" }, - "operationId": "indices.rollover#1", + "operationId": "indices-rollover-1", "parameters": [ { "$ref": "#/components/parameters/indices.rollover#alias" @@ -7029,7 +7029,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" }, - "operationId": "indices.simulate_index_template#0", + "operationId": "indices-simulate-index-template", "parameters": [ { "in": "path", @@ -7138,7 +7138,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" }, - "operationId": "indices.simulate_template#0", + "operationId": "indices-simulate-template", "parameters": [ { "$ref": "#/components/parameters/indices.simulate_template#create" @@ -7170,7 +7170,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" }, - "operationId": "indices.simulate_template#1", + "operationId": "indices-simulate-template-1", "parameters": [ { "$ref": "#/components/parameters/indices.simulate_template#name" @@ -7205,7 +7205,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" }, - "operationId": "indices.update_aliases#0", + "operationId": "indices-update-aliases", "parameters": [ { "in": "query", @@ -7271,7 +7271,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html" }, - "operationId": "indices.validate_query#0", + "operationId": "indices-validate-query", "parameters": [ { "$ref": "#/components/parameters/indices.validate_query#allow_no_indices" @@ -7328,7 +7328,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html" }, - "operationId": "indices.validate_query#1", + "operationId": "indices-validate-query-1", "parameters": [ { "$ref": "#/components/parameters/indices.validate_query#allow_no_indices" @@ -7387,7 +7387,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html" }, - "operationId": "indices.validate_query#2", + "operationId": "indices-validate-query-2", "parameters": [ { "$ref": "#/components/parameters/indices.validate_query#index" @@ -7447,7 +7447,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html" }, - "operationId": "indices.validate_query#3", + "operationId": "indices-validate-query-3", "parameters": [ { "$ref": "#/components/parameters/indices.validate_query#index" @@ -7509,7 +7509,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html" }, - "operationId": "info#0", + "operationId": "info", "responses": { "200": { "description": "", @@ -7556,7 +7556,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html" }, - "operationId": "ping#0", + "operationId": "ping", "responses": { "200": { "description": "", @@ -7577,7 +7577,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-pipeline-api.html" }, - "operationId": "ingest.get_pipeline#1", + "operationId": "ingest-get-pipeline-1", "parameters": [ { "$ref": "#/components/parameters/ingest.get_pipeline#id" @@ -7604,7 +7604,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ingest.html" }, - "operationId": "ingest.put_pipeline#0", + "operationId": "ingest-put-pipeline", "parameters": [ { "in": "path", @@ -7706,7 +7706,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html" }, - "operationId": "ingest.delete_pipeline#0", + "operationId": "ingest-delete-pipeline", "parameters": [ { "in": "path", @@ -7764,7 +7764,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-pipeline-api.html" }, - "operationId": "ingest.get_pipeline#0", + "operationId": "ingest-get-pipeline", "parameters": [ { "$ref": "#/components/parameters/ingest.get_pipeline#master_timeout" @@ -7790,7 +7790,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/grok-processor.html" }, - "operationId": "ingest.processor_grok#0", + "operationId": "ingest-processor-grok", "responses": { "200": { "description": "", @@ -7826,7 +7826,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" }, - "operationId": "ingest.simulate#0", + "operationId": "ingest-simulate", "parameters": [ { "$ref": "#/components/parameters/ingest.simulate#verbose" @@ -7850,7 +7850,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" }, - "operationId": "ingest.simulate#1", + "operationId": "ingest-simulate-1", "parameters": [ { "$ref": "#/components/parameters/ingest.simulate#verbose" @@ -7876,7 +7876,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" }, - "operationId": "ingest.simulate#2", + "operationId": "ingest-simulate-2", "parameters": [ { "$ref": "#/components/parameters/ingest.simulate#id" @@ -7903,7 +7903,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" }, - "operationId": "ingest.simulate#3", + "operationId": "ingest-simulate-3", "parameters": [ { "$ref": "#/components/parameters/ingest.simulate#id" @@ -7932,7 +7932,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-get-pipeline.html" }, - "operationId": "logstash.get_pipeline#1", + "operationId": "logstash-get-pipeline-1", "parameters": [ { "$ref": "#/components/parameters/logstash.get_pipeline#id" @@ -7953,7 +7953,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-put-pipeline.html" }, - "operationId": "logstash.put_pipeline#0", + "operationId": "logstash-put-pipeline", "parameters": [ { "in": "path", @@ -7995,7 +7995,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-delete-pipeline.html" }, - "operationId": "logstash.delete_pipeline#0", + "operationId": "logstash-delete-pipeline", "parameters": [ { "in": "path", @@ -8029,7 +8029,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-get-pipeline.html" }, - "operationId": "logstash.get_pipeline#0", + "operationId": "logstash-get-pipeline", "responses": { "200": { "$ref": "#/components/responses/logstash.get_pipeline#200" @@ -8047,7 +8047,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html" }, - "operationId": "mget#0", + "operationId": "mget", "parameters": [ { "$ref": "#/components/parameters/mget#preference" @@ -8092,7 +8092,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html" }, - "operationId": "mget#1", + "operationId": "mget-1", "parameters": [ { "$ref": "#/components/parameters/mget#preference" @@ -8139,7 +8139,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html" }, - "operationId": "mget#2", + "operationId": "mget-2", "parameters": [ { "$ref": "#/components/parameters/mget#index" @@ -8187,7 +8187,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html" }, - "operationId": "mget#3", + "operationId": "mget-3", "parameters": [ { "$ref": "#/components/parameters/mget#index" @@ -8237,7 +8237,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-close-job.html" }, - "operationId": "ml.close_job#0", + "operationId": "ml-close-job", "parameters": [ { "in": "path", @@ -8335,7 +8335,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" }, - "operationId": "ml.get_calendars#2", + "operationId": "ml-get-calendars-2", "parameters": [ { "$ref": "#/components/parameters/ml.get_calendars#calendar_id" @@ -8365,7 +8365,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-calendar.html" }, - "operationId": "ml.put_calendar#0", + "operationId": "ml-put-calendar", "parameters": [ { "in": "path", @@ -8439,7 +8439,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" }, - "operationId": "ml.get_calendars#3", + "operationId": "ml-get-calendars-3", "parameters": [ { "$ref": "#/components/parameters/ml.get_calendars#calendar_id" @@ -8469,7 +8469,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar.html" }, - "operationId": "ml.delete_calendar#0", + "operationId": "ml-delete-calendar", "parameters": [ { "in": "path", @@ -8507,7 +8507,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar-event.html" }, - "operationId": "ml.delete_calendar_event#0", + "operationId": "ml-delete-calendar-event", "parameters": [ { "in": "path", @@ -8556,7 +8556,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-calendar-job.html" }, - "operationId": "ml.put_calendar_job#0", + "operationId": "ml-put-calendar-job", "parameters": [ { "in": "path", @@ -8619,7 +8619,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar-job.html" }, - "operationId": "ml.delete_calendar_job#0", + "operationId": "ml-delete-calendar-job", "parameters": [ { "in": "path", @@ -8684,7 +8684,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics.html" }, - "operationId": "ml.get_data_frame_analytics#0", + "operationId": "ml-get-data-frame-analytics", "parameters": [ { "$ref": "#/components/parameters/ml.get_data_frame_analytics#id" @@ -8717,7 +8717,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-dfanalytics.html" }, - "operationId": "ml.put_data_frame_analytics#0", + "operationId": "ml-put-data-frame-analytics", "parameters": [ { "in": "path", @@ -8856,7 +8856,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-dfanalytics.html" }, - "operationId": "ml.delete_data_frame_analytics#0", + "operationId": "ml-delete-data-frame-analytics", "parameters": [ { "in": "path", @@ -8914,7 +8914,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html" }, - "operationId": "ml.get_datafeeds#0", + "operationId": "ml-get-datafeeds", "parameters": [ { "$ref": "#/components/parameters/ml.get_datafeeds#datafeed_id" @@ -8941,7 +8941,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html" }, - "operationId": "ml.put_datafeed#0", + "operationId": "ml-put-datafeed", "parameters": [ { "in": "path", @@ -9146,7 +9146,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-datafeed.html" }, - "operationId": "ml.delete_datafeed#0", + "operationId": "ml-delete-datafeed", "parameters": [ { "in": "path", @@ -9194,7 +9194,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-filter.html" }, - "operationId": "ml.get_filters#1", + "operationId": "ml-get-filters-1", "parameters": [ { "$ref": "#/components/parameters/ml.get_filters#filter_id" @@ -9221,7 +9221,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-filter.html" }, - "operationId": "ml.put_filter#0", + "operationId": "ml-put-filter", "parameters": [ { "in": "path", @@ -9299,7 +9299,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-filter.html" }, - "operationId": "ml.delete_filter#0", + "operationId": "ml-delete-filter", "parameters": [ { "in": "path", @@ -9337,7 +9337,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html" }, - "operationId": "ml.get_jobs#0", + "operationId": "ml-get-jobs", "parameters": [ { "$ref": "#/components/parameters/ml.get_jobs#job_id" @@ -9364,7 +9364,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html" }, - "operationId": "ml.put_job#0", + "operationId": "ml-put-job", "parameters": [ { "in": "path", @@ -9549,7 +9549,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html" }, - "operationId": "ml.delete_job#0", + "operationId": "ml-delete-job", "parameters": [ { "in": "path", @@ -9617,7 +9617,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models.html" }, - "operationId": "ml.get_trained_models#0", + "operationId": "ml-get-trained-models", "parameters": [ { "$ref": "#/components/parameters/ml.get_trained_models#model_id" @@ -9659,7 +9659,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-models.html" }, - "operationId": "ml.put_trained_model#0", + "operationId": "ml-put-trained-model", "parameters": [ { "in": "path", @@ -9752,7 +9752,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-trained-models.html" }, - "operationId": "ml.delete_trained_model#0", + "operationId": "ml-delete-trained-model", "parameters": [ { "in": "path", @@ -9800,7 +9800,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-models-aliases.html" }, - "operationId": "ml.put_trained_model_alias#0", + "operationId": "ml-put-trained-model-alias", "parameters": [ { "in": "path", @@ -9857,7 +9857,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-trained-models-aliases.html" }, - "operationId": "ml.delete_trained_model_alias#0", + "operationId": "ml-delete-trained-model-alias", "parameters": [ { "in": "path", @@ -9906,7 +9906,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-apis.html" }, - "operationId": "ml.estimate_model_memory#0", + "operationId": "ml-estimate-model-memory", "requestBody": { "content": { "application/json": { @@ -9968,7 +9968,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/evaluate-dfanalytics.html" }, - "operationId": "ml.evaluate_data_frame#0", + "operationId": "ml-evaluate-data-frame", "requestBody": { "content": { "application/json": { @@ -10029,7 +10029,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html" }, - "operationId": "ml.flush_job#0", + "operationId": "ml-flush-job", "parameters": [ { "in": "path", @@ -10156,7 +10156,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar-event.html" }, - "operationId": "ml.get_calendar_events#0", + "operationId": "ml-get-calendar-events", "parameters": [ { "in": "path", @@ -10257,7 +10257,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-calendar-event.html" }, - "operationId": "ml.post_calendar_events#0", + "operationId": "ml-post-calendar-events", "parameters": [ { "in": "path", @@ -10328,7 +10328,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" }, - "operationId": "ml.get_calendars#0", + "operationId": "ml-get-calendars", "parameters": [ { "$ref": "#/components/parameters/ml.get_calendars#from" @@ -10355,7 +10355,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" }, - "operationId": "ml.get_calendars#1", + "operationId": "ml-get-calendars-1", "parameters": [ { "$ref": "#/components/parameters/ml.get_calendars#from" @@ -10384,7 +10384,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics.html" }, - "operationId": "ml.get_data_frame_analytics#1", + "operationId": "ml-get-data-frame-analytics-1", "parameters": [ { "$ref": "#/components/parameters/ml.get_data_frame_analytics#allow_no_match" @@ -10416,7 +10416,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics-stats.html" }, - "operationId": "ml.get_data_frame_analytics_stats#0", + "operationId": "ml-get-data-frame-analytics-stats", "parameters": [ { "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#allow_no_match" @@ -10448,7 +10448,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics-stats.html" }, - "operationId": "ml.get_data_frame_analytics_stats#1", + "operationId": "ml-get-data-frame-analytics-stats-1", "parameters": [ { "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#id" @@ -10483,7 +10483,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html" }, - "operationId": "ml.get_datafeed_stats#0", + "operationId": "ml-get-datafeed-stats", "parameters": [ { "$ref": "#/components/parameters/ml.get_datafeed_stats#datafeed_id" @@ -10509,7 +10509,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html" }, - "operationId": "ml.get_datafeed_stats#1", + "operationId": "ml-get-datafeed-stats-1", "parameters": [ { "$ref": "#/components/parameters/ml.get_datafeed_stats#allow_no_match" @@ -10532,7 +10532,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html" }, - "operationId": "ml.get_datafeeds#1", + "operationId": "ml-get-datafeeds-1", "parameters": [ { "$ref": "#/components/parameters/ml.get_datafeeds#allow_no_match" @@ -10558,7 +10558,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-filter.html" }, - "operationId": "ml.get_filters#0", + "operationId": "ml-get-filters", "parameters": [ { "$ref": "#/components/parameters/ml.get_filters#from" @@ -10584,7 +10584,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html" }, - "operationId": "ml.get_job_stats#0", + "operationId": "ml-get-job-stats", "parameters": [ { "$ref": "#/components/parameters/ml.get_job_stats#allow_no_match" @@ -10607,7 +10607,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html" }, - "operationId": "ml.get_job_stats#1", + "operationId": "ml-get-job-stats-1", "parameters": [ { "$ref": "#/components/parameters/ml.get_job_stats#job_id" @@ -10633,7 +10633,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html" }, - "operationId": "ml.get_jobs#1", + "operationId": "ml-get-jobs-1", "parameters": [ { "$ref": "#/components/parameters/ml.get_jobs#allow_no_match" @@ -10659,7 +10659,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html" }, - "operationId": "ml.get_overall_buckets#0", + "operationId": "ml-get-overall-buckets", "parameters": [ { "$ref": "#/components/parameters/ml.get_overall_buckets#job_id" @@ -10704,7 +10704,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html" }, - "operationId": "ml.get_overall_buckets#1", + "operationId": "ml-get-overall-buckets-1", "parameters": [ { "$ref": "#/components/parameters/ml.get_overall_buckets#job_id" @@ -10751,7 +10751,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models.html" }, - "operationId": "ml.get_trained_models#1", + "operationId": "ml-get-trained-models-1", "parameters": [ { "$ref": "#/components/parameters/ml.get_trained_models#allow_no_match" @@ -10792,7 +10792,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models-stats.html" }, - "operationId": "ml.get_trained_models_stats#0", + "operationId": "ml-get-trained-models-stats", "parameters": [ { "$ref": "#/components/parameters/ml.get_trained_models_stats#model_id" @@ -10824,7 +10824,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models-stats.html" }, - "operationId": "ml.get_trained_models_stats#1", + "operationId": "ml-get-trained-models-stats-1", "parameters": [ { "$ref": "#/components/parameters/ml.get_trained_models_stats#allow_no_match" @@ -10853,7 +10853,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/infer-trained-model.html" }, - "operationId": "ml.infer_trained_model#0", + "operationId": "ml-infer-trained-model", "parameters": [ { "$ref": "#/components/parameters/ml.infer_trained_model#model_id" @@ -10882,7 +10882,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/infer-trained-model.html" }, - "operationId": "ml.infer_trained_model#1", + "operationId": "ml-infer-trained-model-1", "parameters": [ { "$ref": "#/components/parameters/ml.infer_trained_model#model_id" @@ -10911,7 +10911,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html" }, - "operationId": "ml.open_job#0", + "operationId": "ml-open-job", "parameters": [ { "in": "path", @@ -10985,7 +10985,7 @@ "externalDocs": { "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" }, - "operationId": "ml.preview_data_frame_analytics#0", + "operationId": "ml-preview-data-frame-analytics", "requestBody": { "$ref": "#/components/requestBodies/ml.preview_data_frame_analytics" }, @@ -11004,7 +11004,7 @@ "externalDocs": { "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" }, - "operationId": "ml.preview_data_frame_analytics#1", + "operationId": "ml-preview-data-frame-analytics-1", "requestBody": { "$ref": "#/components/requestBodies/ml.preview_data_frame_analytics" }, @@ -11025,7 +11025,7 @@ "externalDocs": { "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" }, - "operationId": "ml.preview_data_frame_analytics#2", + "operationId": "ml-preview-data-frame-analytics-2", "parameters": [ { "$ref": "#/components/parameters/ml.preview_data_frame_analytics#id" @@ -11049,7 +11049,7 @@ "externalDocs": { "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" }, - "operationId": "ml.preview_data_frame_analytics#3", + "operationId": "ml-preview-data-frame-analytics-3", "parameters": [ { "$ref": "#/components/parameters/ml.preview_data_frame_analytics#id" @@ -11075,7 +11075,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" }, - "operationId": "ml.preview_datafeed#0", + "operationId": "ml-preview-datafeed", "parameters": [ { "$ref": "#/components/parameters/ml.preview_datafeed#datafeed_id" @@ -11105,7 +11105,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" }, - "operationId": "ml.preview_datafeed#1", + "operationId": "ml-preview-datafeed-1", "parameters": [ { "$ref": "#/components/parameters/ml.preview_datafeed#datafeed_id" @@ -11137,7 +11137,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" }, - "operationId": "ml.preview_datafeed#2", + "operationId": "ml-preview-datafeed-2", "parameters": [ { "$ref": "#/components/parameters/ml.preview_datafeed#start" @@ -11164,7 +11164,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" }, - "operationId": "ml.preview_datafeed#3", + "operationId": "ml-preview-datafeed-3", "parameters": [ { "$ref": "#/components/parameters/ml.preview_datafeed#start" @@ -11193,7 +11193,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-model-definition-part.html" }, - "operationId": "ml.put_trained_model_definition_part#0", + "operationId": "ml-put-trained-model-definition-part", "parameters": [ { "in": "path", @@ -11271,7 +11271,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-model-vocabulary.html" }, - "operationId": "ml.put_trained_model_vocabulary#0", + "operationId": "ml-put-trained-model-vocabulary", "parameters": [ { "in": "path", @@ -11338,7 +11338,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-reset-job.html" }, - "operationId": "ml.reset_job#0", + "operationId": "ml-reset-job", "parameters": [ { "in": "path", @@ -11396,7 +11396,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/start-dfanalytics.html" }, - "operationId": "ml.start_data_frame_analytics#0", + "operationId": "ml-start-data-frame-analytics", "parameters": [ { "in": "path", @@ -11456,7 +11456,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html" }, - "operationId": "ml.start_datafeed#0", + "operationId": "ml-start-datafeed", "parameters": [ { "in": "path", @@ -11557,7 +11557,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/start-trained-model-deployment.html" }, - "operationId": "ml.start_trained_model_deployment#0", + "operationId": "ml-start-trained-model-deployment", "parameters": [ { "in": "path", @@ -11673,7 +11673,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-dfanalytics.html" }, - "operationId": "ml.stop_data_frame_analytics#0", + "operationId": "ml-stop-data-frame-analytics", "parameters": [ { "in": "path", @@ -11749,7 +11749,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-stop-datafeed.html" }, - "operationId": "ml.stop_datafeed#0", + "operationId": "ml-stop-datafeed", "parameters": [ { "in": "path", @@ -11847,7 +11847,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/stop-trained-model-deployment.html" }, - "operationId": "ml.stop_trained_model_deployment#0", + "operationId": "ml-stop-trained-model-deployment", "parameters": [ { "in": "path", @@ -11913,7 +11913,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/update-dfanalytics.html" }, - "operationId": "ml.update_data_frame_analytics#0", + "operationId": "ml-update-data-frame-analytics", "parameters": [ { "in": "path", @@ -12034,7 +12034,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html" }, - "operationId": "ml.update_datafeed#0", + "operationId": "ml-update-datafeed", "parameters": [ { "in": "path", @@ -12242,7 +12242,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-filter.html" }, - "operationId": "ml.update_filter#0", + "operationId": "ml-update-filter", "parameters": [ { "in": "path", @@ -12329,7 +12329,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html" }, - "operationId": "ml.update_job#0", + "operationId": "ml-update-job", "parameters": [ { "in": "path", @@ -12538,7 +12538,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html" }, - "operationId": "msearch#0", + "operationId": "msearch", "parameters": [ { "$ref": "#/components/parameters/msearch#allow_no_indices" @@ -12595,7 +12595,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html" }, - "operationId": "msearch#1", + "operationId": "msearch-1", "parameters": [ { "$ref": "#/components/parameters/msearch#allow_no_indices" @@ -12654,7 +12654,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html" }, - "operationId": "msearch#2", + "operationId": "msearch-2", "parameters": [ { "$ref": "#/components/parameters/msearch#index" @@ -12714,7 +12714,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html" }, - "operationId": "msearch#3", + "operationId": "msearch-3", "parameters": [ { "$ref": "#/components/parameters/msearch#index" @@ -12776,7 +12776,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html" }, - "operationId": "msearch_template#0", + "operationId": "msearch-template", "parameters": [ { "$ref": "#/components/parameters/msearch_template#ccs_minimize_roundtrips" @@ -12812,7 +12812,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html" }, - "operationId": "msearch_template#1", + "operationId": "msearch-template-1", "parameters": [ { "$ref": "#/components/parameters/msearch_template#ccs_minimize_roundtrips" @@ -12850,7 +12850,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html" }, - "operationId": "msearch_template#2", + "operationId": "msearch-template-2", "parameters": [ { "$ref": "#/components/parameters/msearch_template#index" @@ -12889,7 +12889,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html" }, - "operationId": "msearch_template#3", + "operationId": "msearch-template-3", "parameters": [ { "$ref": "#/components/parameters/msearch_template#index" @@ -12930,7 +12930,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" }, - "operationId": "mtermvectors#0", + "operationId": "mtermvectors", "parameters": [ { "$ref": "#/components/parameters/mtermvectors#ids" @@ -12987,7 +12987,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" }, - "operationId": "mtermvectors#1", + "operationId": "mtermvectors-1", "parameters": [ { "$ref": "#/components/parameters/mtermvectors#ids" @@ -13046,7 +13046,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" }, - "operationId": "mtermvectors#2", + "operationId": "mtermvectors-2", "parameters": [ { "$ref": "#/components/parameters/mtermvectors#index" @@ -13106,7 +13106,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" }, - "operationId": "mtermvectors#3", + "operationId": "mtermvectors-3", "parameters": [ { "$ref": "#/components/parameters/mtermvectors#index" @@ -13168,7 +13168,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/point-in-time-api.html" }, - "operationId": "open_point_in_time#0", + "operationId": "open-point-in-time", "parameters": [ { "in": "path", @@ -13265,7 +13265,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" }, - "operationId": "put_script#2", + "operationId": "put-script-2", "parameters": [ { "$ref": "#/components/parameters/put_script#id" @@ -13298,7 +13298,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" }, - "operationId": "put_script#3", + "operationId": "put-script-3", "parameters": [ { "$ref": "#/components/parameters/put_script#id" @@ -13333,7 +13333,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-query-ruleset.html" }, - "operationId": "query_ruleset.get#0", + "operationId": "query-ruleset-get", "parameters": [ { "in": "path", @@ -13369,7 +13369,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-query-ruleset.html" }, - "operationId": "query_ruleset.put#0", + "operationId": "query-ruleset-put", "parameters": [ { "in": "path", @@ -13423,7 +13423,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-query-ruleset.html" }, - "operationId": "query_ruleset.delete#0", + "operationId": "query-ruleset-delete", "parameters": [ { "in": "path", @@ -13461,7 +13461,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-query-rulesets.html" }, - "operationId": "query_ruleset.list#0", + "operationId": "query-ruleset-list", "parameters": [ { "in": "query", @@ -13523,7 +13523,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html" }, - "operationId": "rank_eval#0", + "operationId": "rank-eval", "parameters": [ { "$ref": "#/components/parameters/rank_eval#allow_no_indices" @@ -13556,7 +13556,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html" }, - "operationId": "rank_eval#1", + "operationId": "rank-eval-1", "parameters": [ { "$ref": "#/components/parameters/rank_eval#allow_no_indices" @@ -13591,7 +13591,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html" }, - "operationId": "rank_eval#2", + "operationId": "rank-eval-2", "parameters": [ { "$ref": "#/components/parameters/rank_eval#index" @@ -13627,7 +13627,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html" }, - "operationId": "rank_eval#3", + "operationId": "rank-eval-3", "parameters": [ { "$ref": "#/components/parameters/rank_eval#index" @@ -13665,7 +13665,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/render-search-template-api.html" }, - "operationId": "render_search_template#0", + "operationId": "render-search-template", "requestBody": { "$ref": "#/components/requestBodies/render_search_template" }, @@ -13684,7 +13684,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/render-search-template-api.html" }, - "operationId": "render_search_template#1", + "operationId": "render-search-template-1", "requestBody": { "$ref": "#/components/requestBodies/render_search_template" }, @@ -13705,7 +13705,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/render-search-template-api.html" }, - "operationId": "render_search_template#2", + "operationId": "render-search-template-2", "parameters": [ { "$ref": "#/components/parameters/render_search_template#id" @@ -13729,7 +13729,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/render-search-template-api.html" }, - "operationId": "render_search_template#3", + "operationId": "render-search-template-3", "parameters": [ { "$ref": "#/components/parameters/render_search_template#id" @@ -13755,7 +13755,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-execute-api.html" }, - "operationId": "scripts_painless_execute#0", + "operationId": "scripts-painless-execute", "requestBody": { "$ref": "#/components/requestBodies/scripts_painless_execute" }, @@ -13774,7 +13774,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-execute-api.html" }, - "operationId": "scripts_painless_execute#1", + "operationId": "scripts-painless-execute-1", "requestBody": { "$ref": "#/components/requestBodies/scripts_painless_execute" }, @@ -13795,7 +13795,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" }, - "operationId": "search#0", + "operationId": "search", "parameters": [ { "$ref": "#/components/parameters/search#allow_no_indices" @@ -13945,7 +13945,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" }, - "operationId": "search#1", + "operationId": "search-1", "parameters": [ { "$ref": "#/components/parameters/search#allow_no_indices" @@ -14097,7 +14097,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" }, - "operationId": "search#2", + "operationId": "search-2", "parameters": [ { "$ref": "#/components/parameters/search#index" @@ -14250,7 +14250,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" }, - "operationId": "search#3", + "operationId": "search-3", "parameters": [ { "$ref": "#/components/parameters/search#index" @@ -14405,7 +14405,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-search-application.html" }, - "operationId": "search_application.get#0", + "operationId": "search-application-get", "parameters": [ { "in": "path", @@ -14441,7 +14441,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-search-application.html" }, - "operationId": "search_application.put#0", + "operationId": "search-application-put", "parameters": [ { "in": "path", @@ -14505,7 +14505,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-search-application.html" }, - "operationId": "search_application.delete#0", + "operationId": "search-application-delete", "parameters": [ { "in": "path", @@ -14543,7 +14543,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-analytics-collection.html" }, - "operationId": "search_application.get_behavioral_analytics#1", + "operationId": "search-application-get-behavioral-analytics-1", "parameters": [ { "$ref": "#/components/parameters/search_application.get_behavioral_analytics#name" @@ -14564,7 +14564,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-analytics-collection.html" }, - "operationId": "search_application.put_behavioral_analytics#0", + "operationId": "search-application-put-behavioral-analytics", "parameters": [ { "in": "path", @@ -14600,7 +14600,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-analytics-collection.html" }, - "operationId": "search_application.delete_behavioral_analytics#0", + "operationId": "search-application-delete-behavioral-analytics", "parameters": [ { "in": "path", @@ -14638,7 +14638,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-analytics-collection.html" }, - "operationId": "search_application.get_behavioral_analytics#0", + "operationId": "search-application-get-behavioral-analytics", "responses": { "200": { "$ref": "#/components/responses/search_application.get_behavioral_analytics#200" @@ -14656,7 +14656,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-search-applications.html" }, - "operationId": "search_application.list#0", + "operationId": "search-application-list", "parameters": [ { "in": "query", @@ -14728,7 +14728,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-application-search.html" }, - "operationId": "search_application.search#0", + "operationId": "search-application-search", "parameters": [ { "$ref": "#/components/parameters/search_application.search#name" @@ -14752,7 +14752,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-application-search.html" }, - "operationId": "search_application.search#1", + "operationId": "search-application-search-1", "parameters": [ { "$ref": "#/components/parameters/search_application.search#name" @@ -14778,7 +14778,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-vector-tile-api.html" }, - "operationId": "search_mvt#1", + "operationId": "search-mvt-1", "parameters": [ { "$ref": "#/components/parameters/search_mvt#index" @@ -14835,7 +14835,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-vector-tile-api.html" }, - "operationId": "search_mvt#0", + "operationId": "search-mvt", "parameters": [ { "$ref": "#/components/parameters/search_mvt#index" @@ -14894,7 +14894,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html" }, - "operationId": "search_template#0", + "operationId": "search-template", "parameters": [ { "$ref": "#/components/parameters/search_template#allow_no_indices" @@ -14954,7 +14954,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html" }, - "operationId": "search_template#1", + "operationId": "search-template-1", "parameters": [ { "$ref": "#/components/parameters/search_template#allow_no_indices" @@ -15016,7 +15016,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html" }, - "operationId": "search_template#2", + "operationId": "search-template-2", "parameters": [ { "$ref": "#/components/parameters/search_template#index" @@ -15079,7 +15079,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html" }, - "operationId": "search_template#3", + "operationId": "search-template-3", "parameters": [ { "$ref": "#/components/parameters/search_template#index" @@ -15144,7 +15144,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html" }, - "operationId": "security.authenticate#0", + "operationId": "security-authenticate", "responses": { "200": { "description": "", @@ -15232,7 +15232,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-api-key-cache.html" }, - "operationId": "security.clear_api_key_cache#0", + "operationId": "security-clear-api-key-cache", "parameters": [ { "in": "path", @@ -15289,7 +15289,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-api-key.html" }, - "operationId": "security.get_api_key#0", + "operationId": "security-get-api-key", "parameters": [ { "in": "query", @@ -15385,7 +15385,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html" }, - "operationId": "security.create_api_key#0", + "operationId": "security-create-api-key", "parameters": [ { "$ref": "#/components/parameters/security.create_api_key#refresh" @@ -15409,7 +15409,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html" }, - "operationId": "security.create_api_key#1", + "operationId": "security-create-api-key-1", "parameters": [ { "$ref": "#/components/parameters/security.create_api_key#refresh" @@ -15433,7 +15433,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-api-key.html" }, - "operationId": "security.invalidate_api_key#0", + "operationId": "security-invalidate-api-key", "requestBody": { "content": { "application/json": { @@ -15522,7 +15522,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-query-api-key.html" }, - "operationId": "security.query_api_keys#0", + "operationId": "security-query-api-keys", "parameters": [ { "$ref": "#/components/parameters/security.query_api_keys#with_limited_by" @@ -15546,7 +15546,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-query-api-key.html" }, - "operationId": "security.query_api_keys#1", + "operationId": "security-query-api-keys-1", "parameters": [ { "$ref": "#/components/parameters/security.query_api_keys#with_limited_by" @@ -15572,7 +15572,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-api-key.html" }, - "operationId": "security.update_api_key#0", + "operationId": "security-update-api-key", "parameters": [ { "in": "path", @@ -15643,7 +15643,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-synonyms-set.html" }, - "operationId": "synonyms.get_synonym#0", + "operationId": "synonyms-get-synonym", "parameters": [ { "in": "path", @@ -15714,7 +15714,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-synonyms-set.html" }, - "operationId": "synonyms.put_synonym#0", + "operationId": "synonyms-put-synonym", "parameters": [ { "in": "path", @@ -15784,7 +15784,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-synonyms-set.html" }, - "operationId": "synonyms.delete_synonym#0", + "operationId": "synonyms-delete-synonym", "parameters": [ { "in": "path", @@ -15822,7 +15822,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-synonym-rule.html" }, - "operationId": "synonyms.get_synonym_rule#0", + "operationId": "synonyms-get-synonym-rule", "parameters": [ { "in": "path", @@ -15869,7 +15869,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-synonym-rule.html" }, - "operationId": "synonyms.put_synonym_rule#0", + "operationId": "synonyms-put-synonym-rule", "parameters": [ { "in": "path", @@ -15937,7 +15937,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-synonym-rule.html" }, - "operationId": "synonyms.delete_synonym_rule#0", + "operationId": "synonyms-delete-synonym-rule", "parameters": [ { "in": "path", @@ -15986,7 +15986,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-synonyms-sets.html" }, - "operationId": "synonyms.get_synonyms_sets#0", + "operationId": "synonyms-get-synonyms-sets", "parameters": [ { "in": "query", @@ -16048,7 +16048,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html" }, - "operationId": "terms_enum#0", + "operationId": "terms-enum", "parameters": [ { "$ref": "#/components/parameters/terms_enum#index" @@ -16072,7 +16072,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html" }, - "operationId": "terms_enum#1", + "operationId": "terms-enum-1", "parameters": [ { "$ref": "#/components/parameters/terms_enum#index" @@ -16098,7 +16098,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" }, - "operationId": "termvectors#0", + "operationId": "termvectors", "parameters": [ { "$ref": "#/components/parameters/termvectors#index" @@ -16158,7 +16158,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" }, - "operationId": "termvectors#1", + "operationId": "termvectors-1", "parameters": [ { "$ref": "#/components/parameters/termvectors#index" @@ -16220,7 +16220,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" }, - "operationId": "termvectors#2", + "operationId": "termvectors-2", "parameters": [ { "$ref": "#/components/parameters/termvectors#index" @@ -16277,7 +16277,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" }, - "operationId": "termvectors#3", + "operationId": "termvectors-3", "parameters": [ { "$ref": "#/components/parameters/termvectors#index" @@ -16336,7 +16336,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html" }, - "operationId": "transform.get_transform#0", + "operationId": "transform-get-transform", "parameters": [ { "$ref": "#/components/parameters/transform.get_transform#transform_id" @@ -16369,7 +16369,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html" }, - "operationId": "transform.put_transform#0", + "operationId": "transform-put-transform", "parameters": [ { "in": "path", @@ -16472,7 +16472,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-transform.html" }, - "operationId": "transform.delete_transform#0", + "operationId": "transform-delete-transform", "parameters": [ { "in": "path", @@ -16530,7 +16530,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html" }, - "operationId": "transform.get_transform#1", + "operationId": "transform-get-transform-1", "parameters": [ { "$ref": "#/components/parameters/transform.get_transform#allow_no_match" @@ -16562,7 +16562,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform-stats.html" }, - "operationId": "transform.get_transform_stats#0", + "operationId": "transform-get-transform-stats", "parameters": [ { "in": "path", @@ -16655,7 +16655,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" }, - "operationId": "transform.preview_transform#0", + "operationId": "transform-preview-transform", "parameters": [ { "$ref": "#/components/parameters/transform.preview_transform#transform_id" @@ -16682,7 +16682,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" }, - "operationId": "transform.preview_transform#1", + "operationId": "transform-preview-transform-1", "parameters": [ { "$ref": "#/components/parameters/transform.preview_transform#transform_id" @@ -16711,7 +16711,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" }, - "operationId": "transform.preview_transform#2", + "operationId": "transform-preview-transform-2", "parameters": [ { "$ref": "#/components/parameters/transform.preview_transform#timeout" @@ -16735,7 +16735,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" }, - "operationId": "transform.preview_transform#3", + "operationId": "transform-preview-transform-3", "parameters": [ { "$ref": "#/components/parameters/transform.preview_transform#timeout" @@ -16761,7 +16761,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/reset-transform.html" }, - "operationId": "transform.reset_transform#0", + "operationId": "transform-reset-transform", "parameters": [ { "in": "path", @@ -16809,7 +16809,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/schedule-now-transform.html" }, - "operationId": "transform.schedule_now_transform#0", + "operationId": "transform-schedule-now-transform", "parameters": [ { "in": "path", @@ -16857,7 +16857,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/start-transform.html" }, - "operationId": "transform.start_transform#0", + "operationId": "transform-start-transform", "parameters": [ { "in": "path", @@ -16915,7 +16915,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-transform.html" }, - "operationId": "transform.stop_transform#0", + "operationId": "transform-stop-transform", "parameters": [ { "in": "path", @@ -17003,7 +17003,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/update-transform.html" }, - "operationId": "transform.update_transform#0", + "operationId": "transform-update-transform", "parameters": [ { "in": "path", @@ -17160,7 +17160,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html" }, - "operationId": "update#0", + "operationId": "update", "parameters": [ { "in": "path", @@ -17367,7 +17367,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html" }, - "operationId": "update_by_query#0", + "operationId": "update-by-query", "parameters": [ { "in": "path", From e863d62d2221a8a815fea541d847a6cd9b67755a Mon Sep 17 00:00:00 2001 From: Sylvain Wallez Date: Fri, 13 Oct 2023 20:47:15 +0200 Subject: [PATCH 12/17] Add WASM module to convert schema.json to OpenAPI --- compiler/package-lock.json | 11 + compiler/package.json | 2 + compiler/src/transform/schema-to-openapi.ts | 21 + openapi-converter/Cargo.lock | 194 +- openapi-converter/Cargo.toml | 9 +- openapi-converter/clients_schema/Cargo.toml | 7 +- openapi-converter/clients_schema/src/lib.rs | 126 +- .../src/transform/expand_generics.rs | 409 ++ .../clients_schema/src/transform/mod.rs | 7 + .../package-lock.json | 276 +- .../clients_schema_to_openapi/package.json | 3 +- .../clients_schema_to_openapi/src/lib.rs | 15 + .../clients_schema_to_openapi/src/main.rs | 10 + .../clients_schema_to_openapi/src/schemas.rs | 9 + openapi-converter/schema-wasm-lib/Cargo.toml | 28 + openapi-converter/schema-wasm-lib/Makefile | 9 + .../schema-wasm-lib/pkg/package.json | 12 + .../schema-wasm-lib/pkg/schema_wasm_lib.js | 191 + .../pkg/schema_wasm_lib_bg.wasm | Bin 0 -> 1473564 bytes openapi-converter/schema-wasm-lib/src/lib.rs | 62 + .../elasticsearch-serverless-openapi.json | 5424 +++++++++-------- 21 files changed, 4027 insertions(+), 2798 deletions(-) create mode 100644 compiler/src/transform/schema-to-openapi.ts create mode 100644 openapi-converter/clients_schema/src/transform/expand_generics.rs create mode 100644 openapi-converter/schema-wasm-lib/Cargo.toml create mode 100644 openapi-converter/schema-wasm-lib/Makefile create mode 100644 openapi-converter/schema-wasm-lib/pkg/package.json create mode 100644 openapi-converter/schema-wasm-lib/pkg/schema_wasm_lib.js create mode 100644 openapi-converter/schema-wasm-lib/pkg/schema_wasm_lib_bg.wasm create mode 100644 openapi-converter/schema-wasm-lib/src/lib.rs diff --git a/compiler/package-lock.json b/compiler/package-lock.json index ac87698c61..bffd34c2ba 100644 --- a/compiler/package-lock.json +++ b/compiler/package-lock.json @@ -13,6 +13,7 @@ "fastest-levenshtein": "^1.0.12", "ora": "^5.4.1", "safe-stable-stringify": "^2.3.1", + "schema-wasm-lib": "file:../openapi-converter/schema-wasm-lib/pkg", "semver": "^7.5.2", "ts-morph": "^13.0.3", "zx": "^4.3.0" @@ -31,6 +32,9 @@ "node": ">=14" } }, + "../openapi-converter/schema-wasm-lib/pkg": { + "version": "0.1.0" + }, "node_modules/@babel/code-frame": { "version": "7.12.11", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz", @@ -4491,6 +4495,10 @@ "node": ">=10" } }, + "node_modules/schema-wasm-lib": { + "resolved": "../openapi-converter/schema-wasm-lib/pkg", + "link": true + }, "node_modules/semver": { "version": "7.5.2", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.2.tgz", @@ -8544,6 +8552,9 @@ "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.3.1.tgz", "integrity": "sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg==" }, + "schema-wasm-lib": { + "version": "file:../openapi-converter/schema-wasm-lib/pkg" + }, "semver": { "version": "7.5.2", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.2.tgz", diff --git a/compiler/package.json b/compiler/package.json index 805891335b..80db325d8e 100644 --- a/compiler/package.json +++ b/compiler/package.json @@ -10,6 +10,7 @@ "format:fix": "prettier --config .prettierrc.json --write ../specification/", "generate-schema": "ts-node src/index.ts", "transform-expand-generics": "ts-node src/transform/expand-generics.ts", + "transform-to-openapi": "ts-node src/transform/schema-to-openapi.ts", "filter-by-availability": "ts-node src/transform/filter-by-availability.ts", "dump-routes": "ts-node src/dump/extract-routes.ts", "compile:specification": "tsc --project ../specification/tsconfig.json --noEmit", @@ -36,6 +37,7 @@ "fastest-levenshtein": "^1.0.12", "ora": "^5.4.1", "safe-stable-stringify": "^2.3.1", + "schema-wasm-lib": "file:../openapi-converter/schema-wasm-lib/pkg", "semver": "^7.5.2", "ts-morph": "^13.0.3", "zx": "^4.3.0" diff --git a/compiler/src/transform/schema-to-openapi.ts b/compiler/src/transform/schema-to-openapi.ts new file mode 100644 index 0000000000..2e8bb888a3 --- /dev/null +++ b/compiler/src/transform/schema-to-openapi.ts @@ -0,0 +1,21 @@ +import {convert_schema_to_openapi} from 'schema-wasm-lib'; +import {argv} from "zx"; +import {join} from "path"; +import {readFileSync, writeFileSync} from "fs"; + + +const inputPath = argv.input ?? join(__dirname, '..', '..', '..', 'output', 'schema', 'schema.json') +const outputPath = argv.output ?? join(__dirname, '..', '..', '..', 'output', 'openapi', 'elasticsearch-serverless-openapi.json') + +const inputText = readFileSync( + inputPath, + { encoding: 'utf8' } +); + +const output = convert_schema_to_openapi(inputText, "serverless"); + +writeFileSync( + outputPath, + output, + 'utf8' +) diff --git a/openapi-converter/Cargo.lock b/openapi-converter/Cargo.lock index 3a78d5e617..c783e69e44 100644 --- a/openapi-converter/Cargo.lock +++ b/openapi-converter/Cargo.lock @@ -61,9 +61,18 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.70" +version = "1.0.75" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4" +checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" + +[[package]] +name = "arcstr" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f907281554a3d0312bb7aab855a8e0ef6cbf1614d06de54105039ca8b34460e" +dependencies = [ + "serde", +] [[package]] name = "autocfg" @@ -71,6 +80,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +[[package]] +name = "bumpalo" +version = "3.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" + [[package]] name = "cfg-if" version = "1.0.0" @@ -108,7 +123,7 @@ dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.11", + "syn 2.0.38", ] [[package]] @@ -122,12 +137,14 @@ name = "clients_schema" version = "0.1.0" dependencies = [ "anyhow", + "arcstr", "indexmap", "once_cell", "serde", "serde_ignored", "serde_json", "serde_path_to_error", + "testresult", "typed-builder", ] @@ -159,6 +176,16 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" +[[package]] +name = "console_error_panic_hook" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a06aeb73f470f66dcdbf7223caeebb85984942f22f1adb2a088cf9668146bbbc" +dependencies = [ + "cfg-if", + "wasm-bindgen", +] + [[package]] name = "convert_case" version = "0.6.0" @@ -203,6 +230,15 @@ version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" +[[package]] +name = "js-sys" +version = "0.3.64" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" +dependencies = [ + "wasm-bindgen", +] + [[package]] name = "lazy_static" version = "1.4.0" @@ -289,9 +325,9 @@ checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" [[package]] name = "proc-macro2" -version = "1.0.54" +version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e472a104799c74b514a57226160104aa483546de37e839ec50e3c2e41dd87534" +checksum = "134c189feb4956b20f6f547d2cf727d4c0fe06722b20a0eec87ed445a97f92da" dependencies = [ "unicode-ident", ] @@ -304,9 +340,9 @@ checksum = "c10fa813fb26fb6c321a6f3085b5ade4cb4730d08d0b9e70a3759136940957f2" [[package]] name = "quote" -version = "1.0.26" +version = "1.0.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc" +checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" dependencies = [ "proc-macro2", ] @@ -346,24 +382,44 @@ version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041" +[[package]] +name = "schema-wasm-lib" +version = "0.1.0" +dependencies = [ + "anyhow", + "clients_schema", + "clients_schema_to_openapi", + "console_error_panic_hook", + "serde_json", + "wasm-bindgen", + "wasm-bindgen-test", + "web-sys", +] + +[[package]] +name = "scoped-tls" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" + [[package]] name = "serde" -version = "1.0.159" +version = "1.0.189" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c04e8343c3daeec41f58990b9d77068df31209f2af111e059e9fe9646693065" +checksum = "8e422a44e74ad4001bdc8eede9a4570ab52f71190e9c076d14369f38b9200537" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.159" +version = "1.0.189" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c614d17805b093df4b147b51339e7e44bf05ef59fba1e45d83500bcfb4d8585" +checksum = "1e48d1f918009ce3145511378cf68d613e3b3d9137d67272562080d68a2b32d5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.11", + "syn 2.0.38", ] [[package]] @@ -377,9 +433,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.95" +version = "1.0.107" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d721eca97ac802aa7777b701877c8004d950fc142651367300d21c1cc0194744" +checksum = "6b420ce6e3d8bd882e9b243c6eed35dbc9a6110c9769e74b584e0d68d1f20c65" dependencies = [ "itoa", "ryu", @@ -429,15 +485,21 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.11" +version = "2.0.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21e3787bb71465627110e7d87ed4faaa36c1f61042ee67badb9e2ef173accc40" +checksum = "e96b79aaa137db8f61e26363a0c9b47d8b4ec75da28b7d1d614c2303e232408b" dependencies = [ "proc-macro2", "quote", "unicode-ident", ] +[[package]] +name = "testresult" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52e045f5cf9ad69772c1c9652f5567a75df88bbb5a1310a64e53cab140c5c459" + [[package]] name = "thread_local" version = "1.1.7" @@ -541,6 +603,106 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" +[[package]] +name = "wasm-bindgen" +version = "0.2.87" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" +dependencies = [ + "cfg-if", + "wasm-bindgen-macro", +] + +[[package]] +name = "wasm-bindgen-backend" +version = "0.2.87" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" +dependencies = [ + "bumpalo", + "log", + "once_cell", + "proc-macro2", + "quote", + "syn 2.0.38", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c02dbc21516f9f1f04f187958890d7e6026df8d16540b7ad9492bc34a67cea03" +dependencies = [ + "cfg-if", + "js-sys", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.87" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.87" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.38", + "wasm-bindgen-backend", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.87" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" + +[[package]] +name = "wasm-bindgen-test" +version = "0.3.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e6e302a7ea94f83a6d09e78e7dc7d9ca7b186bc2829c24a22d0753efd680671" +dependencies = [ + "console_error_panic_hook", + "js-sys", + "scoped-tls", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-bindgen-test-macro", +] + +[[package]] +name = "wasm-bindgen-test-macro" +version = "0.3.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ecb993dd8c836930ed130e020e77d9b2e65dd0fbab1b67c790b0f5d80b11a575" +dependencies = [ + "proc-macro2", + "quote", +] + +[[package]] +name = "web-sys" +version = "0.3.64" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + [[package]] name = "winapi" version = "0.3.9" diff --git a/openapi-converter/Cargo.toml b/openapi-converter/Cargo.toml index 9d4d059b69..e2d603c0a5 100644 --- a/openapi-converter/Cargo.toml +++ b/openapi-converter/Cargo.toml @@ -1,6 +1,13 @@ [workspace] +resolver = "2" members = [ "clients_schema", "openapi_to_clients_schema", - "clients_schema_to_openapi" + "clients_schema_to_openapi", + "schema-wasm-lib", ] + +[profile.release] +lto = true +# Tell `rustc` to optimize for small code size. +opt-level = "s" diff --git a/openapi-converter/clients_schema/Cargo.toml b/openapi-converter/clients_schema/Cargo.toml index 056c516976..798b6f3806 100644 --- a/openapi-converter/clients_schema/Cargo.toml +++ b/openapi-converter/clients_schema/Cargo.toml @@ -5,13 +5,16 @@ edition = "2021" publish = false [dependencies] -serde = {version = "1.0", features=["derive"]} +serde = {version = "1.0", features=["derive", 'rc']} serde_json = "1.0" typed-builder = "0.11" once_cell = "1.16" anyhow = "1.0" -indexmap = "1.9.3" +indexmap = { version="1.9.3", features = ["serde"] } + +arcstr = { version = "1.1.5", features = ["serde", "substr"] } [dev-dependencies] serde_path_to_error = "0.1" serde_ignored = "0.1" +testresult = "0.3.0" diff --git a/openapi-converter/clients_schema/src/lib.rs b/openapi-converter/clients_schema/src/lib.rs index c9c849c5ee..263bf8a916 100644 --- a/openapi-converter/clients_schema/src/lib.rs +++ b/openapi-converter/clients_schema/src/lib.rs @@ -15,8 +15,8 @@ // specific language governing permissions and limitations // under the License. -use std::collections::HashMap; -use std::fmt::{Display, Formatter}; +use std::cmp::Ordering; +use std::fmt::{Debug, Display, Formatter}; use anyhow::anyhow; use indexmap::IndexMap; // Re-export crates whose types we expose publicly @@ -44,16 +44,23 @@ pub trait Documented { fn since(&self) -> Option<&str>; } +// ArcStr is a compact reference counted string that makes cloning a very cheap operation. +// This is particularly important for `TypeName` that is cloned a lot, e.g. for `IndexedModel` keys +// See https://swatinem.de/blog/optimized-strings/ for a general discussion +// +// TODO: interning at deserialization time to reuse identical values (links from values to types) #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, PartialOrd, Hash)] pub struct TypeName { - pub namespace: String, - pub name: String + pub namespace: arcstr::ArcStr, + pub name: arcstr::ArcStr, + // pub namespace: String, + // pub name: String, } impl TypeName { pub fn new(namespace: &str, name: &str) -> TypeName { TypeName { - namespace: String::from(namespace), + namespace: namespace.into(), name: name.into(), } } @@ -69,6 +76,16 @@ impl Display for TypeName { } } +impl Ord for TypeName { + fn cmp(&self, other: &Self) -> Ordering { + match self.namespace.cmp(&other.namespace) { + Ordering::Equal => self.name.cmp(&other.name), + ordering @ _ => ordering, + } + } +} + +//----------------------------------------------------------------------------- /// /// Type of a value. Used both for property types and nested type definitions. @@ -90,6 +107,30 @@ impl ValueOf { } } +impl From for ValueOf { + fn from(value: InstanceOf) -> Self { + ValueOf::InstanceOf(value) + } +} + +impl From for ValueOf { + fn from(value: ArrayOf) -> Self { + ValueOf::ArrayOf(value) + } +} + +impl From for ValueOf { + fn from(value: UnionOf) -> Self { + ValueOf::UnionOf(value) + } +} + +impl From for ValueOf { + fn from(value: DictionaryOf) -> Self { + ValueOf::DictionaryOf(value) + } +} + impl From for ValueOf { fn from(name: TypeName) -> Self { ValueOf::InstanceOf(InstanceOf::new(name)) @@ -108,6 +149,8 @@ impl From<&Lazy> for ValueOf { } } +//----------------------------------------------------------------------------- + /// /// A single value /// @@ -188,6 +231,12 @@ pub struct LiteralValue { pub value: LiteralValueValue } +impl Display for LiteralValue { + fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { + Display::fmt(&self.value, f) + } +} + #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, PartialOrd)] #[serde(untagged)] pub enum LiteralValueValue { @@ -196,6 +245,16 @@ pub enum LiteralValueValue { Boolean(bool) } +impl Display for LiteralValueValue { + fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { + match self { + LiteralValueValue::String(x) => Display::fmt(x, f), + LiteralValueValue::Number(x) => Display::fmt(x, f), + LiteralValueValue::Boolean(x) => Display::fmt(x, f), + } + } +} + //-------------------------------------------------------------------------------------------- #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] @@ -239,7 +298,7 @@ pub struct Availability { } /// The availability of an -pub type Availabilities = HashMap; +pub type Availabilities = IndexMap; pub trait AvailabilityFilter: Fn(&Option) -> bool {} @@ -423,15 +482,60 @@ impl TypeDefinition { } } +impl From for TypeDefinition { + fn from(value: Interface) -> Self { + TypeDefinition::Interface(value) + } +} + +impl From for TypeDefinition { + fn from(value: Request) -> Self { + TypeDefinition::Request(value) + } +} + +impl From for TypeDefinition { + fn from(value: Response) -> Self { + TypeDefinition::Response(value) + } +} + +impl From for TypeDefinition { + fn from(value: Enum) -> Self { + TypeDefinition::Enum(value) + } +} + +impl From for TypeDefinition { + fn from(value: TypeAlias) -> Self { + TypeDefinition::TypeAlias(value) + } +} + impl TypeDefinition { pub fn name(&self) -> &TypeName { + &self.base().name + } + + pub fn base(&self) -> &BaseType { + use TypeDefinition::*; + match self { + Interface(x) => &x.base, + Request(x) => &x.base, + Response(x) => &x.base, + Enum(x) => &x.base, + TypeAlias(x) => &x.base, + } + } + + pub fn base_mut(&mut self) -> &mut BaseType { use TypeDefinition::*; match self { - Interface(x) => &x.base.name, - Request(x) => &x.base.name, - Response(x) => &x.base.name, - Enum(x) => &x.base.name, - TypeAlias(x) => &x.base.name, + Interface(x) => &mut x.base, + Request(x) => &mut x.base, + Response(x) => &mut x.base, + Enum(x) => &mut x.base, + TypeAlias(x) => &mut x.base, } } } diff --git a/openapi-converter/clients_schema/src/transform/expand_generics.rs b/openapi-converter/clients_schema/src/transform/expand_generics.rs new file mode 100644 index 0000000000..aa4e8f5226 --- /dev/null +++ b/openapi-converter/clients_schema/src/transform/expand_generics.rs @@ -0,0 +1,409 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +use std::collections::HashMap; +use anyhow::bail; +use indexmap::IndexMap; +use crate::*; + +#[derive(Default)] +struct Ctx { + new_types: IndexMap, + types_seen: std::collections::HashSet, +} + +/// Generic parameters of a type +type GenericParams = Vec; +/// Generic arguments for an instanciated generic type +type GenericArgs = Vec; +/// Mapping from generic arguments to values +type GenericMapping = HashMap; + +/// Expand all generics by creating new concrete types for every instanciation of a generic type. +/// +/// The resulting model has no generics anymore. Top-level generic parameters (e.g. SearchRequest's TDocument) are +/// replaced by user_defined_data. +/// +pub fn expand_generics( + model: IndexedModel +) -> anyhow::Result { + + let mut model = model; + let mut ctx = Ctx::default(); + + for endpoint in &model.endpoints { + endpoint.request.as_ref().map(|t| expand_root_type(&t, &model, &mut ctx)); + endpoint.response.as_ref().map(|t| expand_root_type(&t, &model, &mut ctx)); + } + + // Add new types that were created to the model + ctx.new_types.sort_keys(); + model.types = ctx.new_types; + + return Ok(model); + + //--------------------------------------------------------------------------------------------- + // Expanding types + //--------------------------------------------------------------------------------------------- + + fn expand_root_type(t: &TypeName, model: &IndexedModel, ctx: &mut Ctx) -> anyhow::Result<()> { + const NO_GENERICS: &Vec = &Vec::new(); + const USER_DEFINED: ValueOf = ValueOf::UserDefinedValue(UserDefinedValue{}); + + use TypeDefinition::*; + let generics = match model.get_type(t)? { + Interface(itf) => &itf.generics, + Request(req) => &req.generics, + Response(resp) => &resp.generics, + Enum(_) | TypeAlias(_) => NO_GENERICS, + }; + + // Top-level generic parameters (e.g. TDocument in SearchResponse) are set to UserDefined + let args: GenericArgs = generics.iter().map(|_| USER_DEFINED).collect(); + + expand_type(t, args, model, ctx)?; + + Ok(()) + } + + /// + /// Expand a type definition, given concrete values for its generic parameters. + /// The new type definition is stored in the context. + /// + /// Returns the name to use for this (type, args) combination + /// + fn expand_type(name: &TypeName, args: GenericArgs, model: &IndexedModel, ctx: &mut Ctx) -> anyhow::Result { + if name.is_builtin() { + return Ok(name.clone()); + } + + let def = model.get_type(name)?; + let name = expanded_name(def.name(), &args); + + if !ctx.types_seen.contains(&name) { + // Mark it as seen to avoid infinite recursion + ctx.types_seen.insert(name.clone()); + + let mut new_def = match def { + TypeDefinition::Interface(ref itf) => expand_interface(itf, args, model, ctx)?, + TypeDefinition::Request(req) => expand_request(req, args, model, ctx)?, + TypeDefinition::Response(resp) => expand_response(resp, args, model, ctx)?, + TypeDefinition::TypeAlias(ref alias) => expand_type_alias(alias, args, model, ctx)?, + TypeDefinition::Enum(_) => def.clone(), + + }; + new_def.base_mut().name = name.clone(); + ctx.new_types.insert(name.clone(), new_def); + } + + Ok(name) + } + + fn expand_interface(itf: &Interface, args: GenericArgs, model: &IndexedModel, ctx: &mut Ctx) -> anyhow::Result { + // Clone and modify in place + let mut itf = itf.clone(); + + let mappings = param_mapping(&itf.generics, args); + + itf.generics = Vec::new(); + + if let Some(inherit) = itf.inherits { + itf.inherits = Some(expand_inherits(inherit, &mappings, model, ctx)?); + } + + // We keep the generic parameters of behaviors, but expand their value + for behavior in &mut itf.behaviors { + for arg in &mut behavior.generics { + *arg = expand_valueof(arg, &mappings, model, ctx)?; + } + } + + expand_properties(&mut itf.properties, &mappings, model, ctx)?; + + Ok(itf.into()) + } + + fn expand_request(req: &Request, args: GenericArgs, model: &IndexedModel, ctx: &mut Ctx) -> anyhow::Result { + // Clone and modify in place + let mut req = req.clone(); + + let mappings = param_mapping(&req.generics, args); + req.generics = Vec::new(); + + if let Some(inherit) = req.inherits { + req.inherits = Some(expand_inherits(inherit, &mappings, model, ctx)?); + } + + expand_behaviors(&mut req.behaviors, &mappings, model, ctx)?; + expand_properties(&mut req.path, &mappings, model, ctx)?; + expand_properties(&mut req.query, &mappings, model, ctx)?; + expand_body(&mut req.body, &mappings, model, ctx)?; + + Ok(req.into()) + } + + fn expand_response(resp: &Response, args: GenericArgs, model: &IndexedModel, ctx: &mut Ctx) -> anyhow::Result { + // Clone and modify in place + let mut resp = resp.clone(); + + let mappings = param_mapping(&resp.generics, args); + resp.generics = Vec::new(); + + expand_behaviors(&mut resp.behaviors, &mappings, model, ctx)?; + expand_body(&mut resp.body, &mappings, model, ctx)?; + + // TODO: exceptions + + Ok(resp.into()) + } + + fn expand_type_alias(t: &TypeAlias, args: GenericArgs, model: &IndexedModel, ctx: &mut Ctx) -> anyhow::Result { + let mapping = param_mapping(&t.generics, args); + let value = expand_valueof(&t.typ, &mapping, model, ctx)?; + + Ok(TypeDefinition::TypeAlias(TypeAlias { + base: t.base.clone(), + generics: Vec::new(), + typ: value, + variants: t.variants.clone(), + })) + } + + //--------------------------------------------------------------------------------------------- + // Expanding type parts in place + //--------------------------------------------------------------------------------------------- + + fn expand_inherits(i: Inherits, mappings: &GenericMapping, model: &IndexedModel, ctx: &mut Ctx) -> anyhow::Result { + let expanded = expand_valueof(&InstanceOf { + typ: i.typ, + generics: i.generics + }.into(), mappings, model, ctx)?; + + if let ValueOf::InstanceOf(inst) = expanded { + Ok(Inherits { + typ: inst.typ, + generics: Vec::new(), + }) + } else { + bail!("Inherits clause doesn't expand to an instance_of: {:?}", &expanded); + } + } + + /// + /// Expand behaviors in place + /// + fn expand_behaviors(behaviors: &mut Vec, mappings: &GenericMapping, model: &IndexedModel, ctx: &mut Ctx) -> anyhow::Result<()> { + // We keep the generic parameters of behaviors, but expand their value + for behavior in behaviors { + for arg in &mut behavior.generics { + *arg = expand_valueof(arg, &mappings, model, ctx)?; + } + } + Ok(()) + } + + /// + /// Expand properties in place + /// + fn expand_properties(props: &mut Vec, mappings: &GenericMapping, model: &IndexedModel, ctx: &mut Ctx) -> anyhow::Result<()> { + for prop in props { + prop.typ = expand_valueof(&prop.typ, mappings, model, ctx)?; + } + Ok(()) + } + + /// + /// Expand body in place + /// + fn expand_body(body: &mut Body, mappings: &GenericMapping, model: &IndexedModel, ctx: &mut Ctx) -> anyhow::Result<()> { + match body { + Body::Value(ref mut value) => { + value.value = expand_valueof(&value.value, mappings, model, ctx)?; + }, + Body::Properties(ref mut prop_body) => { + expand_properties(&mut prop_body.properties, mappings, model, ctx)?; + }, + Body::NoBody(_) => {}, + } + + Ok(()) + } + + //--------------------------------------------------------------------------------------------- + // Expanding values + //--------------------------------------------------------------------------------------------- + + fn expand_valueof(value: &ValueOf, mappings: &GenericMapping, model: &IndexedModel, ctx: &mut Ctx) -> anyhow::Result { + match value { + ValueOf::ArrayOf(ref arr) => { + let value = expand_valueof(&arr.value, mappings, model, ctx)?; + Ok(ArrayOf{ + value: Box::new(value) + }.into()) + }, + + ValueOf::DictionaryOf(dict) => { + let key = expand_valueof(&dict.key, mappings, model, ctx)?; + let value = expand_valueof(&dict.value, mappings, model, ctx)?; + Ok(DictionaryOf { + single_key: dict.single_key, + key: Box::new(key), + value: Box::new(value), + }.into()) + + }, + + ValueOf::InstanceOf(inst) => { + // If this is a generic parameter, return its mapping + if let Some(p) = mappings.get(&inst.typ) { + return Ok(p.clone()); + } + + // Expand generic parameters, if any + let args = inst.generics.iter() + .map(|arg| expand_valueof(arg, mappings, model, ctx)) + .collect::, _>>()?; + + Ok(InstanceOf { + typ: expand_type(&inst.typ, args, model, ctx)?, + generics: Vec::new() + }.into()) + }, + + ValueOf::UnionOf(u) => { + let items = u.items.iter() + .map(|item| expand_valueof(item, mappings, model, ctx)) + .collect::, _>>()?; + Ok(UnionOf { items }.into()) + }, + + ValueOf::UserDefinedValue(_) => { + Ok(value.clone()) + }, + + ValueOf::LiteralValue(_) => { + Ok(value.clone()) + }, + } + } + + //--------------------------------------------------------------------------------------------- + // Misc + //--------------------------------------------------------------------------------------------- + + /// + /// Builds the mapping from generic parameter name to actual value + /// + fn param_mapping(generics: &GenericParams, args: GenericArgs) -> GenericMapping { + generics.iter().map(|name| name.clone()).zip(args).collect() + } + + /// + /// Creates an expanded type name if needed (i.e. when `generics` is not empty) + /// + fn expanded_name(type_name: &TypeName, args: &GenericArgs) -> TypeName { + if args.is_empty() { + return type_name.clone(); + } + + let mut name: String = type_name.name.to_string(); + for arg in args { + if let ValueOf::UserDefinedValue(_) = arg { + // Top-level types. Don't append it. + } else { + push_valueof_name(&mut name, arg); + } + } + + TypeName { + namespace: type_name.namespace.clone(), + name: name.into(), + } + } + + /// + /// Appends the type representation of a value to a string + /// + fn push_valueof_name(name: &mut String, value: &ValueOf) { + use std::fmt::Write; + match value { + ValueOf::LiteralValue(lit) => { + write!(name, "{}", lit).unwrap() + } + ValueOf::UserDefinedValue(_) => { + write!(name, "UserDefined").unwrap() + } + ValueOf::ArrayOf(a) => { + name.push_str("Array"); + push_valueof_name(name, a.value.as_ref()); + } + ValueOf::DictionaryOf(dict) => { + // Don't care about key, it's always aliased to string + name.push_str("Dict"); + push_valueof_name(name, dict.value.as_ref()) + } + ValueOf::UnionOf(u) => { + name.push_str("Union"); + for item in &u.items { + push_valueof_name(name, item) + } + } + ValueOf::InstanceOf(inst) => { + // Append unqualified name (assuming we have no duplicate generic value for the same type) + name.push_str(&inst.typ.name); + } + } + } +} + +#[cfg(test)] +mod tests { + use std::io::Write; + use super::*; + + #[test] + pub fn compare_with_js_version() -> testresult::TestResult { + + let canonical_json = { + // Deserialize and reserialize to have a consistent JSON format + let json = std::fs::read_to_string("../../output/schema/schema-no-generics.json")?; + let model: IndexedModel = serde_json::from_str(&json)?; + serde_json::to_string_pretty(&model)? + }; + + let schema_json = std::fs::read_to_string("../../output/schema/schema.json")?; + let model: IndexedModel = serde_json::from_str(&schema_json)?; + let model = expand_generics(model)?; + + let json_no_generics = serde_json::to_string_pretty(&model)?; + + if canonical_json != json_no_generics { + std::fs::create_dir("test-output")?; + let mut out = std::fs::File::create("test-output/schema-no-generics-canonical.json")?; + out.write(canonical_json.as_bytes())?; + + let mut out = std::fs::File::create("test-output/schema-no-generics-new.json")?; + out.write(json_no_generics.as_bytes())?; + + panic!("Output differs from the canonical version. Both were written to 'test-output'"); + } + + Ok(()) + } +} + + diff --git a/openapi-converter/clients_schema/src/transform/mod.rs b/openapi-converter/clients_schema/src/transform/mod.rs index 585ac243d4..3a8bb06a9d 100644 --- a/openapi-converter/clients_schema/src/transform/mod.rs +++ b/openapi-converter/clients_schema/src/transform/mod.rs @@ -20,6 +20,7 @@ //! mod availability; +mod expand_generics; use std::collections::HashSet; use availability::Availability; @@ -71,3 +72,9 @@ pub fn filter_availability( ) -> anyhow::Result { Availability::filter(model, avail_filter) } + +pub fn expand_generics( + model: IndexedModel +) -> anyhow::Result { + expand_generics::expand_generics(model) +} diff --git a/openapi-converter/clients_schema_to_openapi/package-lock.json b/openapi-converter/clients_schema_to_openapi/package-lock.json index 3ce87e9a44..921545df06 100644 --- a/openapi-converter/clients_schema_to_openapi/package-lock.json +++ b/openapi-converter/clients_schema_to_openapi/package-lock.json @@ -9,51 +9,8 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "@apidevtools/swagger-parser": "^10.1.0", "@stoplight/spectral-cli": "^6.10.1", - "ajv": "^8.12.0", - "minimist": "^1.2.8", - "openapi-types": "^12.1.3" - } - }, - "node_modules/@apidevtools/json-schema-ref-parser": { - "version": "9.0.6", - "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-9.0.6.tgz", - "integrity": "sha512-M3YgsLjI0lZxvrpeGVk9Ap032W6TPQkH6pRAZz81Ac3WUNF79VQooAFnp8umjvVzUmD93NkogxEwbSce7qMsUg==", - "dependencies": { - "@jsdevtools/ono": "^7.1.3", - "call-me-maybe": "^1.0.1", - "js-yaml": "^3.13.1" - } - }, - "node_modules/@apidevtools/openapi-schemas": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@apidevtools/openapi-schemas/-/openapi-schemas-2.1.0.tgz", - "integrity": "sha512-Zc1AlqrJlX3SlpupFGpiLi2EbteyP7fXmUOGup6/DnkRgjP9bgMM/ag+n91rsv0U1Gpz0H3VILA/o3bW7Ua6BQ==", - "engines": { - "node": ">=10" - } - }, - "node_modules/@apidevtools/swagger-methods": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@apidevtools/swagger-methods/-/swagger-methods-3.0.2.tgz", - "integrity": "sha512-QAkD5kK2b1WfjDS/UQn/qQkbwF31uqRjPTrsCs5ZG9BQGAkjwvqGFjjPqAuzac/IYzpPtRzjCP1WrTuAIjMrXg==" - }, - "node_modules/@apidevtools/swagger-parser": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/@apidevtools/swagger-parser/-/swagger-parser-10.1.0.tgz", - "integrity": "sha512-9Kt7EuS/7WbMAUv2gSziqjvxwDbFSg3Xeyfuj5laUODX8o/k/CpsAKiQ8W7/R88eXFTMbJYg6+7uAmOWNKmwnw==", - "dependencies": { - "@apidevtools/json-schema-ref-parser": "9.0.6", - "@apidevtools/openapi-schemas": "^2.1.0", - "@apidevtools/swagger-methods": "^3.0.2", - "@jsdevtools/ono": "^7.1.3", - "ajv": "^8.6.3", - "ajv-draft-04": "^1.0.0", - "call-me-maybe": "^1.0.1" - }, - "peerDependencies": { - "openapi-types": ">=7" + "json-diff": "^1.0.6" } }, "node_modules/@asyncapi/specs": { @@ -64,10 +21,13 @@ "@types/json-schema": "^7.0.11" } }, - "node_modules/@jsdevtools/ono": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", - "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==" + "node_modules/@ewoudenberg/difflib": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@ewoudenberg/difflib/-/difflib-0.1.0.tgz", + "integrity": "sha512-OU5P5mJyD3OoWYMWY+yIgwvgNS9cFAU10f+DDuvtogcWQOoJIsQ4Hy2McSfUfhKjq8L0FuWVb4Rt7kgA+XK86A==", + "dependencies": { + "heap": ">= 0.2.0" + } }, "node_modules/@jsep-plugin/regex": { "version": "1.0.3", @@ -654,14 +614,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "dependencies": { - "sprintf-js": "~1.0.2" - } - }, "node_modules/array-buffer-byte-length": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", @@ -773,11 +725,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/call-me-maybe": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.2.tgz", - "integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==" - }, "node_modules/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", @@ -819,6 +766,14 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, + "node_modules/colors": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", + "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", + "engines": { + "node": ">=0.1.90" + } + }, "node_modules/commondir": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", @@ -857,6 +812,17 @@ "node": ">= 0.6.0" } }, + "node_modules/dreamopt": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/dreamopt/-/dreamopt-0.8.0.tgz", + "integrity": "sha512-vyJTp8+mC+G+5dfgsY+r3ckxlz+QMX40VjPQsZc5gxVAxLmi64TBoVkP54A/pRAXMXsbu2GMMBrZPxNv23waMg==", + "dependencies": { + "wordwrap": ">=0.0.2" + }, + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", @@ -971,18 +937,6 @@ "node": ">=6" } }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/estree-walker": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", @@ -1271,6 +1225,11 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/heap": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/heap/-/heap-0.2.7.tgz", + "integrity": "sha512-2bsegYkkHO+h/9MGbn6KWcE45cHZgPANo5LXF7EvWdT0yT2EguSVO1nDgU5c8+ZOPwp2vMNa7YFsJhVcDR9Sdg==" + }, "node_modules/hpagent": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/hpagent/-/hpagent-1.2.0.tgz", @@ -1542,18 +1501,6 @@ "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" }, - "node_modules/js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, "node_modules/jsep": { "version": "1.3.8", "resolved": "https://registry.npmjs.org/jsep/-/jsep-1.3.8.tgz", @@ -1562,6 +1509,22 @@ "node": ">= 10.16.0" } }, + "node_modules/json-diff": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/json-diff/-/json-diff-1.0.6.tgz", + "integrity": "sha512-tcFIPRdlc35YkYdGxcamJjllUhXWv4n2rK9oJ2RsAzV4FBkuV4ojKEDgcZ+kpKxDmJKv+PFK65+1tVVOnSeEqA==", + "dependencies": { + "@ewoudenberg/difflib": "0.1.0", + "colors": "^1.4.0", + "dreamopt": "~0.8.0" + }, + "bin": { + "json-diff": "bin/json-diff.js" + }, + "engines": { + "node": "*" + } + }, "node_modules/json-schema-traverse": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", @@ -1645,14 +1608,6 @@ "node": "*" } }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/nimma": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/nimma/-/nimma-0.2.2.tgz", @@ -1740,11 +1695,6 @@ "wrappy": "1" } }, - "node_modules/openapi-types": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-12.1.3.tgz", - "integrity": "sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw==" - }, "node_modules/path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", @@ -1983,11 +1933,6 @@ "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", "deprecated": "Please use @jridgewell/sourcemap-codec instead" }, - "node_modules/sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" - }, "node_modules/stacktracey": { "version": "2.1.8", "resolved": "https://registry.npmjs.org/stacktracey/-/stacktracey-2.1.8.tgz", @@ -2262,6 +2207,11 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==" + }, "node_modules/wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", @@ -2318,40 +2268,6 @@ } }, "dependencies": { - "@apidevtools/json-schema-ref-parser": { - "version": "9.0.6", - "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-9.0.6.tgz", - "integrity": "sha512-M3YgsLjI0lZxvrpeGVk9Ap032W6TPQkH6pRAZz81Ac3WUNF79VQooAFnp8umjvVzUmD93NkogxEwbSce7qMsUg==", - "requires": { - "@jsdevtools/ono": "^7.1.3", - "call-me-maybe": "^1.0.1", - "js-yaml": "^3.13.1" - } - }, - "@apidevtools/openapi-schemas": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@apidevtools/openapi-schemas/-/openapi-schemas-2.1.0.tgz", - "integrity": "sha512-Zc1AlqrJlX3SlpupFGpiLi2EbteyP7fXmUOGup6/DnkRgjP9bgMM/ag+n91rsv0U1Gpz0H3VILA/o3bW7Ua6BQ==" - }, - "@apidevtools/swagger-methods": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@apidevtools/swagger-methods/-/swagger-methods-3.0.2.tgz", - "integrity": "sha512-QAkD5kK2b1WfjDS/UQn/qQkbwF31uqRjPTrsCs5ZG9BQGAkjwvqGFjjPqAuzac/IYzpPtRzjCP1WrTuAIjMrXg==" - }, - "@apidevtools/swagger-parser": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/@apidevtools/swagger-parser/-/swagger-parser-10.1.0.tgz", - "integrity": "sha512-9Kt7EuS/7WbMAUv2gSziqjvxwDbFSg3Xeyfuj5laUODX8o/k/CpsAKiQ8W7/R88eXFTMbJYg6+7uAmOWNKmwnw==", - "requires": { - "@apidevtools/json-schema-ref-parser": "9.0.6", - "@apidevtools/openapi-schemas": "^2.1.0", - "@apidevtools/swagger-methods": "^3.0.2", - "@jsdevtools/ono": "^7.1.3", - "ajv": "^8.6.3", - "ajv-draft-04": "^1.0.0", - "call-me-maybe": "^1.0.1" - } - }, "@asyncapi/specs": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-4.3.1.tgz", @@ -2360,10 +2276,13 @@ "@types/json-schema": "^7.0.11" } }, - "@jsdevtools/ono": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", - "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==" + "@ewoudenberg/difflib": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@ewoudenberg/difflib/-/difflib-0.1.0.tgz", + "integrity": "sha512-OU5P5mJyD3OoWYMWY+yIgwvgNS9cFAU10f+DDuvtogcWQOoJIsQ4Hy2McSfUfhKjq8L0FuWVb4Rt7kgA+XK86A==", + "requires": { + "heap": ">= 0.2.0" + } }, "@jsep-plugin/regex": { "version": "1.0.3", @@ -2825,14 +2744,6 @@ "color-convert": "^2.0.1" } }, - "argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "requires": { - "sprintf-js": "~1.0.2" - } - }, "array-buffer-byte-length": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", @@ -2917,11 +2828,6 @@ "get-intrinsic": "^1.0.2" } }, - "call-me-maybe": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.2.tgz", - "integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==" - }, "chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", @@ -2954,6 +2860,11 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, + "colors": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", + "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==" + }, "commondir": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", @@ -2983,6 +2894,14 @@ "resolved": "https://registry.npmjs.org/dependency-graph/-/dependency-graph-0.11.0.tgz", "integrity": "sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==" }, + "dreamopt": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/dreamopt/-/dreamopt-0.8.0.tgz", + "integrity": "sha512-vyJTp8+mC+G+5dfgsY+r3ckxlz+QMX40VjPQsZc5gxVAxLmi64TBoVkP54A/pRAXMXsbu2GMMBrZPxNv23waMg==", + "requires": { + "wordwrap": ">=0.0.2" + } + }, "emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", @@ -3073,11 +2992,6 @@ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" }, - "esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" - }, "estree-walker": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", @@ -3281,6 +3195,11 @@ "has-symbols": "^1.0.2" } }, + "heap": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/heap/-/heap-0.2.7.tgz", + "integrity": "sha512-2bsegYkkHO+h/9MGbn6KWcE45cHZgPANo5LXF7EvWdT0yT2EguSVO1nDgU5c8+ZOPwp2vMNa7YFsJhVcDR9Sdg==" + }, "hpagent": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/hpagent/-/hpagent-1.2.0.tgz", @@ -3461,20 +3380,21 @@ "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" }, - "js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - } - }, "jsep": { "version": "1.3.8", "resolved": "https://registry.npmjs.org/jsep/-/jsep-1.3.8.tgz", "integrity": "sha512-qofGylTGgYj9gZFsHuyWAN4jr35eJ66qJCK4eKDnldohuUoQFbU3iZn2zjvEbd9wOAhP9Wx5DsAAduTyE1PSWQ==" }, + "json-diff": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/json-diff/-/json-diff-1.0.6.tgz", + "integrity": "sha512-tcFIPRdlc35YkYdGxcamJjllUhXWv4n2rK9oJ2RsAzV4FBkuV4ojKEDgcZ+kpKxDmJKv+PFK65+1tVVOnSeEqA==", + "requires": { + "@ewoudenberg/difflib": "0.1.0", + "colors": "^1.4.0", + "dreamopt": "~0.8.0" + } + }, "json-schema-traverse": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", @@ -3540,11 +3460,6 @@ "brace-expansion": "^1.1.7" } }, - "minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==" - }, "nimma": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/nimma/-/nimma-0.2.2.tgz", @@ -3603,11 +3518,6 @@ "wrappy": "1" } }, - "openapi-types": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-12.1.3.tgz", - "integrity": "sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw==" - }, "path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", @@ -3753,11 +3663,6 @@ "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==" }, - "sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" - }, "stacktracey": { "version": "2.1.8", "resolved": "https://registry.npmjs.org/stacktracey/-/stacktracey-2.1.8.tgz", @@ -3969,6 +3874,11 @@ "has-tostringtag": "^1.0.0" } }, + "wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==" + }, "wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", diff --git a/openapi-converter/clients_schema_to_openapi/package.json b/openapi-converter/clients_schema_to_openapi/package.json index f7a39e0a44..2610fe5481 100644 --- a/openapi-converter/clients_schema_to_openapi/package.json +++ b/openapi-converter/clients_schema_to_openapi/package.json @@ -11,6 +11,7 @@ "author": "", "license": "ISC", "dependencies": { - "@stoplight/spectral-cli": "^6.10.1" + "@stoplight/spectral-cli": "^6.10.1", + "json-diff": "^1.0.6" } } diff --git a/openapi-converter/clients_schema_to_openapi/src/lib.rs b/openapi-converter/clients_schema_to_openapi/src/lib.rs index 3c7adff182..f5ae627245 100644 --- a/openapi-converter/clients_schema_to_openapi/src/lib.rs +++ b/openapi-converter/clients_schema_to_openapi/src/lib.rs @@ -102,6 +102,21 @@ pub fn convert_schema( paths::add_endpoint(endpoint, &mut tac, &mut openapi.paths)?; } + // // Sort maps to ensure output stability + // openapi.paths.extensions.sort_keys(); + // if let Some(ref mut comp) = openapi.components { + // comp.callbacks.sort_keys(); + // comp.examples.sort_keys(); + // comp.extensions.sort_keys(); + // comp.headers.sort_keys(); + // comp.links.sort_keys(); + // comp.parameters.sort_keys(); + // comp.request_bodies.sort_keys(); + // comp.responses.sort_keys(); + // comp.schemas.sort_keys(); + // comp.security_schemes.sort_keys(); + // } + Ok(openapi) } diff --git a/openapi-converter/clients_schema_to_openapi/src/main.rs b/openapi-converter/clients_schema_to_openapi/src/main.rs index c700ad54d2..1cd1264319 100644 --- a/openapi-converter/clients_schema_to_openapi/src/main.rs +++ b/openapi-converter/clients_schema_to_openapi/src/main.rs @@ -90,6 +90,7 @@ impl Cli { }, }; + model = clients_schema::transform::expand_generics(model)?; model = clients_schema::transform::filter_availability(model, filter)?; } } @@ -163,4 +164,13 @@ mod tests { output: Some("../../output/openapi/elasticsearch-serverless-openapi.json".into()) }.run() } + + #[test] + fn test_serverless0() -> anyhow::Result<()> { + Cli { + schema: "../../output/schema/schema.json".into(), + flavor: Some(SchemaFlavor::Serverless), + output: Some("../../output/openapi/elasticsearch-serverless-openapi2.json".into()) + }.run() + } } diff --git a/openapi-converter/clients_schema_to_openapi/src/schemas.rs b/openapi-converter/clients_schema_to_openapi/src/schemas.rs index 4bae22d1e1..a87f2b271b 100644 --- a/openapi-converter/clients_schema_to_openapi/src/schemas.rs +++ b/openapi-converter/clients_schema_to_openapi/src/schemas.rs @@ -277,6 +277,10 @@ impl <'a> TypesAndComponents<'a> { /// fn convert_interface_definition(&mut self, itf: &Interface) -> anyhow::Result { + if !itf.generics.is_empty() { + bail!("Interface definition {} has generic parameters. Expand generics before conversion", itf.base.name); + } + let mut schema = if let Some(container) = &itf.variants { // TODO: interface definition container.non_exhaustive let _non_exhaustive = container.non_exhaustive; @@ -357,6 +361,11 @@ impl <'a> TypesAndComponents<'a> { /// Creates alias an alias that references another type. /// fn convert_type_alias(&mut self, alias: &TypeAlias) -> anyhow::Result { + + if !alias.generics.is_empty() { + bail!("Type alias {} has generic parameters. Expand generics before conversion", alias.base.name); + } + let mut schema = self .convert_value_of(&alias.typ)? .into_schema_with_base(self, &alias.base); diff --git a/openapi-converter/schema-wasm-lib/Cargo.toml b/openapi-converter/schema-wasm-lib/Cargo.toml new file mode 100644 index 0000000000..de3d780d4d --- /dev/null +++ b/openapi-converter/schema-wasm-lib/Cargo.toml @@ -0,0 +1,28 @@ +[package] +name = "schema-wasm-lib" +version = "0.1.0" +edition = "2021" +description = "WASM library to manipulate and convert schema.json files" + +[lib] +crate-type = ["cdylib", "rlib"] + +[features] +default = ["console_error_panic_hook"] + +[dependencies] +wasm-bindgen = "0.2.87" +clients_schema = {path="../clients_schema"} +clients_schema_to_openapi = {path="../clients_schema_to_openapi"} +serde_json = "1.0.107" +anyhow = "1.0.75" + +console_error_panic_hook = { version = "0.1.7", optional = true } +web-sys = { version = "0.3.64", features = ["console"] } + +[dev-dependencies] +wasm-bindgen-test = "0.3.37" + +[package.metadata.wasm-pack.profile.release] +wasm-opt = ['-Oz'] + diff --git a/openapi-converter/schema-wasm-lib/Makefile b/openapi-converter/schema-wasm-lib/Makefile new file mode 100644 index 0000000000..ef80acef57 --- /dev/null +++ b/openapi-converter/schema-wasm-lib/Makefile @@ -0,0 +1,9 @@ +REQUIRED_BINS := wasm-pack +$(foreach bin,$(REQUIRED_BINS),\ + $(if $(shell command -v $(bin) 2> /dev/null),,$(error Please install `$(bin)`))) + +.PHONY: pkg + +pkg: + wasm-pack build --release -t nodejs + rm pkg/.gitignore diff --git a/openapi-converter/schema-wasm-lib/pkg/package.json b/openapi-converter/schema-wasm-lib/pkg/package.json new file mode 100644 index 0000000000..798da995f1 --- /dev/null +++ b/openapi-converter/schema-wasm-lib/pkg/package.json @@ -0,0 +1,12 @@ +{ + "name": "schema-wasm-lib", + "description": "WASM library to manipulate and convert schema.json files", + "version": "0.1.0", + "files": [ + "schema_wasm_lib_bg.wasm", + "schema_wasm_lib.js", + "schema_wasm_lib.d.ts" + ], + "main": "schema_wasm_lib.js", + "types": "schema_wasm_lib.d.ts" +} \ No newline at end of file diff --git a/openapi-converter/schema-wasm-lib/pkg/schema_wasm_lib.js b/openapi-converter/schema-wasm-lib/pkg/schema_wasm_lib.js new file mode 100644 index 0000000000..92ee4b198d --- /dev/null +++ b/openapi-converter/schema-wasm-lib/pkg/schema_wasm_lib.js @@ -0,0 +1,191 @@ +let imports = {}; +imports['__wbindgen_placeholder__'] = module.exports; +let wasm; +const { TextDecoder, TextEncoder } = require(`util`); + +let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); + +cachedTextDecoder.decode(); + +let cachedUint8Memory0 = null; + +function getUint8Memory0() { + if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) { + cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer); + } + return cachedUint8Memory0; +} + +function getStringFromWasm0(ptr, len) { + ptr = ptr >>> 0; + return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len)); +} + +const heap = new Array(128).fill(undefined); + +heap.push(undefined, null, true, false); + +let heap_next = heap.length; + +function addHeapObject(obj) { + if (heap_next === heap.length) heap.push(heap.length + 1); + const idx = heap_next; + heap_next = heap[idx]; + + heap[idx] = obj; + return idx; +} + +function getObject(idx) { return heap[idx]; } + +function dropObject(idx) { + if (idx < 132) return; + heap[idx] = heap_next; + heap_next = idx; +} + +function takeObject(idx) { + const ret = getObject(idx); + dropObject(idx); + return ret; +} + +let WASM_VECTOR_LEN = 0; + +let cachedTextEncoder = new TextEncoder('utf-8'); + +const encodeString = (typeof cachedTextEncoder.encodeInto === 'function' + ? function (arg, view) { + return cachedTextEncoder.encodeInto(arg, view); +} + : function (arg, view) { + const buf = cachedTextEncoder.encode(arg); + view.set(buf); + return { + read: arg.length, + written: buf.length + }; +}); + +function passStringToWasm0(arg, malloc, realloc) { + + if (realloc === undefined) { + const buf = cachedTextEncoder.encode(arg); + const ptr = malloc(buf.length, 1) >>> 0; + getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf); + WASM_VECTOR_LEN = buf.length; + return ptr; + } + + let len = arg.length; + let ptr = malloc(len, 1) >>> 0; + + const mem = getUint8Memory0(); + + let offset = 0; + + for (; offset < len; offset++) { + const code = arg.charCodeAt(offset); + if (code > 0x7F) break; + mem[ptr + offset] = code; + } + + if (offset !== len) { + if (offset !== 0) { + arg = arg.slice(offset); + } + ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0; + const view = getUint8Memory0().subarray(ptr + offset, ptr + len); + const ret = encodeString(arg, view); + + offset += ret.written; + } + + WASM_VECTOR_LEN = offset; + return ptr; +} + +let cachedInt32Memory0 = null; + +function getInt32Memory0() { + if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) { + cachedInt32Memory0 = new Int32Array(wasm.memory.buffer); + } + return cachedInt32Memory0; +} +/** +* @param {string} json +* @param {string} flavor +* @returns {string} +*/ +module.exports.convert_schema_to_openapi = function(json, flavor) { + let deferred4_0; + let deferred4_1; + try { + const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); + const ptr0 = passStringToWasm0(json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len0 = WASM_VECTOR_LEN; + const ptr1 = passStringToWasm0(flavor, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + wasm.convert_schema_to_openapi(retptr, ptr0, len0, ptr1, len1); + var r0 = getInt32Memory0()[retptr / 4 + 0]; + var r1 = getInt32Memory0()[retptr / 4 + 1]; + var r2 = getInt32Memory0()[retptr / 4 + 2]; + var r3 = getInt32Memory0()[retptr / 4 + 3]; + var ptr3 = r0; + var len3 = r1; + if (r3) { + ptr3 = 0; len3 = 0; + throw takeObject(r2); + } + deferred4_0 = ptr3; + deferred4_1 = len3; + return getStringFromWasm0(ptr3, len3); + } finally { + wasm.__wbindgen_add_to_stack_pointer(16); + wasm.__wbindgen_free(deferred4_0, deferred4_1, 1); + } +}; + +module.exports.__wbindgen_string_new = function(arg0, arg1) { + const ret = getStringFromWasm0(arg0, arg1); + return addHeapObject(ret); +}; + +module.exports.__wbg_new_abda76e883ba8a5f = function() { + const ret = new Error(); + return addHeapObject(ret); +}; + +module.exports.__wbg_stack_658279fe44541cf6 = function(arg0, arg1) { + const ret = getObject(arg1).stack; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getInt32Memory0()[arg0 / 4 + 1] = len1; + getInt32Memory0()[arg0 / 4 + 0] = ptr1; +}; + +module.exports.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) { + let deferred0_0; + let deferred0_1; + try { + deferred0_0 = arg0; + deferred0_1 = arg1; + console.error(getStringFromWasm0(arg0, arg1)); + } finally { + wasm.__wbindgen_free(deferred0_0, deferred0_1, 1); + } +}; + +module.exports.__wbindgen_object_drop_ref = function(arg0) { + takeObject(arg0); +}; + +const path = require('path').join(__dirname, 'schema_wasm_lib_bg.wasm'); +const bytes = require('fs').readFileSync(path); + +const wasmModule = new WebAssembly.Module(bytes); +const wasmInstance = new WebAssembly.Instance(wasmModule, imports); +wasm = wasmInstance.exports; +module.exports.__wasm = wasm; + diff --git a/openapi-converter/schema-wasm-lib/pkg/schema_wasm_lib_bg.wasm b/openapi-converter/schema-wasm-lib/pkg/schema_wasm_lib_bg.wasm new file mode 100644 index 0000000000000000000000000000000000000000..b1e8a72a8d992c7b55c223695f4ece87fca5e9d3 GIT binary patch literal 1473564 zcmeFaf3#gyb@#o0oZsi{b54?*5RyRlIYzxGJlIyjf^VD6Fo_I`FvjB_eaHKZfmHFK zH&m0DLEG_KxN5{uQL&;%M2$*?R;XB_MvIcfs93d9K}E%yDrj1%#!4+JmiP0WYyUd; zoSSn*R3kdv5CXP|1|vji%a%y?>lFXM0UCsy~D>2F#;?wT&+%ao#anf;(9A$Mu!%3zsGH1e0% zy^#m@MWDJ=s2UglWu&1ZR`}(rY^VGIzgxv`FRKZU%J-zo$>3ieye_D&yx@XA{Jr0Q z@eBX=MK8W!%Ow}S;G&CPa>)xX+IGPO%S$g_x_#U4zx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z234$F43*qZfPqHIKg_6jSB1j#N41oH?hpPp|3vZm}kpyK*nnIiStMCaJ zBwypf#0!PaVaLiso|q)8q)sqZC^P)T#p(SOv)!VkvH=z_A2wP!W# z1T}AP8#xe?5~xueQbIsUtT^)1GQ_@VMzQXk`0M^<@}LThhZ{VMNu2C*$&O-ft3S;Pjt zw<-Pw~J#BJ*yL}gXa4b`!cFCSU=zWB7Xw~Bb( zyOtc=he#!OgfpZUGLs~O^xWiPQVnB5$XuooX=UD5&qp92O&Hu-a~x?uzJm#=f`*QS zz5;StNLi9T$U9UL0V$-+;GLkR4cdBWldYg8=ph{%Lxz-5(7qzq5H`FjT1Z)uzTj5` zKJ6eoAygXjjNwswI8>A*$U+L~7F0`=+uB$x$sovN2ppRBZqQPT_;Dm9(BlPD<`5o9 zdK*B_LsLoG3djW93R09Q#n56#AJWH#*9&=1TT)i=&z~ZBP~i2TP(yf`lnpry8bkqf zGLSC0DTh~jk-_B1&Uk@-J~4nED2q)0gvV!;iHE!M!5>_3b`Yx7mzk+ z*eG+VC$tVEH5law+*Q-?QaR8XP#@vVqi$jb#K({-p&b{$DK163K!!t|0@vLYxW-W< zP|FT^4y6r61=UoK^5mdKnjpD`1WXGEvJKM>>o-Yj>ONVT$3O=8W$EUeALl%?i`ZLCGi;3|up6l=?am#wYN--xyHud-IwR>vx9AC)Rk zJgrg=eQB*C-j=Frzg1a({npIJO*kChKCJo+Ckl@X3E?my!%c#}!-Nz!ML%80=M5AN z;_-}tQQGdJd6`7h;opf zAV)w3f&@(43x4Hp&CseM961hB^3xn}5Z%;22bL&2lqQF(m)%*9=0_w#&l6&zOL;q2DZ+1})dA0Mv UBuyNA8gS&N!(7o>Jv`(80K4sQRR910 literal 0 HcmV?d00001 diff --git a/openapi-converter/schema-wasm-lib/src/lib.rs b/openapi-converter/schema-wasm-lib/src/lib.rs new file mode 100644 index 0000000000..e90090c977 --- /dev/null +++ b/openapi-converter/schema-wasm-lib/src/lib.rs @@ -0,0 +1,62 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +use anyhow::bail; +use wasm_bindgen::prelude::*; +use clients_schema::{Availabilities, Visibility}; + +#[wasm_bindgen] +pub fn convert_schema_to_openapi(json: &str, flavor: &str) -> Result { + set_panic_hook(); + convert0(json, flavor).map_err(|err| err.to_string()) +} + +fn convert0(json: &str, flavor: &str) -> anyhow::Result { + + let filter: Option) -> bool> = match flavor { + "all" => None, + "stack" => Some(|a| { + // Generate public and private items for Stack + clients_schema::Flavor::Stack.available(a) + }), + "serverless" => Some(|a| { + // Generate only public items for Serverless + clients_schema::Flavor::Serverless.visibility(a) == Some(Visibility::Public) + }), + _ => bail!("Unknown flavor {}", flavor), + }; + + let mut schema = clients_schema::IndexedModel::from_reader(json.as_bytes())?; + schema = clients_schema::transform::expand_generics(schema)?; + if let Some(filter) = filter { + schema = clients_schema::transform::filter_availability(schema, filter)?; + } + let openapi = clients_schema_to_openapi::convert_schema(&schema)?; + let result = serde_json::to_string_pretty(&openapi)?; + Ok(result) +} + +pub fn set_panic_hook() { + // When the `console_error_panic_hook` feature is enabled, we can call the + // `set_panic_hook` function at least once during initialization, and then + // we will get better error messages if our code ever panics. + // + // For more details see + // https://github.com/rustwasm/console_error_panic_hook#readme + #[cfg(feature = "console_error_panic_hook")] + console_error_panic_hook::set_once(); +} diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 1d952edb4c..ab3674c366 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -1749,198 +1749,6 @@ } } }, - "/_cluster/settings": { - "get": { - "tags": [ - "cluster.get_settings" - ], - "summary": "Returns cluster settings.", - "description": "Returns cluster settings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-get-settings.html" - }, - "operationId": "cluster-get-settings", - "parameters": [ - { - "in": "query", - "name": "flat_settings", - "description": "If `true`, returns settings in flat format.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "include_defaults", - "description": "If `true`, returns default cluster settings from the local node.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "persistent": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "transient": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "defaults": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - }, - "required": [ - "persistent", - "transient" - ] - } - } - } - } - } - }, - "put": { - "tags": [ - "cluster.put_settings" - ], - "summary": "Updates the cluster settings.", - "description": "Updates the cluster settings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-update-settings.html" - }, - "operationId": "cluster-put-settings", - "parameters": [ - { - "in": "query", - "name": "flat_settings", - "description": "Return settings in flat format (default: false)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Explicit operation timeout for connection to master node", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Explicit operation timeout", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "persistent": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "transient": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledged": { - "type": "boolean" - }, - "persistent": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "transient": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - }, - "required": [ - "acknowledged", - "persistent", - "transient" - ] - } - } - } - } - } - } - }, "/_info/{target}": { "get": { "tags": [ @@ -2002,119 +1810,6 @@ } } }, - "/_cluster/pending_tasks": { - "get": { - "tags": [ - "cluster.pending_tasks" - ], - "summary": "Returns a list of any cluster-level changes (e.g. create index, update mapping,\nallocate or fail shard) which have not yet been executed.", - "description": "Returns a list of any cluster-level changes (e.g. create index, update mapping,\nallocate or fail shard) which have not yet been executed.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-pending.html" - }, - "operationId": "cluster-pending-tasks", - "parameters": [ - { - "in": "query", - "name": "local", - "description": "If `true`, the request retrieves information from the local node only.\nIf `false`, information is retrieved from the master node.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "tasks": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.pending_tasks:PendingTask" - } - } - }, - "required": [ - "tasks" - ] - } - } - } - } - } - } - }, - "/_cluster/stats": { - "get": { - "tags": [ - "cluster.stats" - ], - "summary": "Returns high-level overview of cluster statistics.", - "description": "Returns high-level overview of cluster statistics.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-stats.html" - }, - "operationId": "cluster-stats", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.stats#flat_settings" - }, - { - "$ref": "#/components/parameters/cluster.stats#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cluster.stats#200" - } - } - } - }, - "/_cluster/stats/nodes/{node_id}": { - "get": { - "tags": [ - "cluster.stats" - ], - "summary": "Returns high-level overview of cluster statistics.", - "description": "Returns high-level overview of cluster statistics.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-stats.html" - }, - "operationId": "cluster-stats-1", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.stats#node_id" - }, - { - "$ref": "#/components/parameters/cluster.stats#flat_settings" - }, - { - "$ref": "#/components/parameters/cluster.stats#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cluster.stats#200" - } - } - } - }, "/_count": { "get": { "tags": [ @@ -3847,6 +3542,252 @@ } } }, + "/_eql/search/{id}": { + "get": { + "tags": [ + "eql.get" + ], + "summary": "Returns async results from previously executed Event Query Language (EQL) search", + "description": "Returns async results from previously executed Event Query Language (EQL) search", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-async-eql-search-api.html" + }, + "operationId": "eql-get", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the search.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "keep_alive", + "description": "Period for which the search and its results are stored on the cluster.\nDefaults to the keep_alive value set by the search’s EQL search API request.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_completion_timeout", + "description": "Timeout duration to wait for the request to finish.\nDefaults to no timeout, meaning the request waits for complete search results.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/eql._types:EqlSearchResponseBase" + } + } + } + } + } + }, + "delete": { + "tags": [ + "eql.delete" + ], + "summary": "Deletes an async EQL search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.", + "description": "Deletes an async EQL search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html" + }, + "operationId": "eql-delete", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the search to delete.\nA search ID is provided in the EQL search API's response for an async search.\nA search ID is also provided if the request’s `keep_on_completion` parameter is `true`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_eql/search/status/{id}": { + "get": { + "tags": [ + "eql.get_status" + ], + "summary": "Returns the status of a previously submitted async or stored Event Query Language (EQL) search", + "description": "Returns the status of a previously submitted async or stored Event Query Language (EQL) search", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-async-eql-status-api.html" + }, + "operationId": "eql-get-status", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the search.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "is_partial": { + "description": "If true, the search request is still executing. If false, the search is completed.", + "type": "boolean" + }, + "is_running": { + "description": "If true, the response does not contain complete search results. This could be because either the search is still running (is_running status is false), or because it is already completed (is_running status is true) and results are partial due to failures or timeouts.", + "type": "boolean" + }, + "start_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "expiration_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "completion_status": { + "description": "For a completed search shows the http status code of the completed search.", + "type": "number" + } + }, + "required": [ + "id", + "is_partial", + "is_running" + ] + } + } + } + } + } + } + }, + "/{index}/_eql/search": { + "get": { + "tags": [ + "eql.search" + ], + "summary": "Returns results matching a query expressed in Event Query Language (EQL)", + "description": "Returns results matching a query expressed in Event Query Language (EQL)", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html" + }, + "operationId": "eql-search", + "parameters": [ + { + "$ref": "#/components/parameters/eql.search#index" + }, + { + "$ref": "#/components/parameters/eql.search#allow_no_indices" + }, + { + "$ref": "#/components/parameters/eql.search#expand_wildcards" + }, + { + "$ref": "#/components/parameters/eql.search#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/eql.search#keep_alive" + }, + { + "$ref": "#/components/parameters/eql.search#keep_on_completion" + }, + { + "$ref": "#/components/parameters/eql.search#wait_for_completion_timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/eql.search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/eql.search#200" + } + } + }, + "post": { + "tags": [ + "eql.search" + ], + "summary": "Returns results matching a query expressed in Event Query Language (EQL)", + "description": "Returns results matching a query expressed in Event Query Language (EQL)", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html" + }, + "operationId": "eql-search-1", + "parameters": [ + { + "$ref": "#/components/parameters/eql.search#index" + }, + { + "$ref": "#/components/parameters/eql.search#allow_no_indices" + }, + { + "$ref": "#/components/parameters/eql.search#expand_wildcards" + }, + { + "$ref": "#/components/parameters/eql.search#ignore_unavailable" + }, + { + "$ref": "#/components/parameters/eql.search#keep_alive" + }, + { + "$ref": "#/components/parameters/eql.search#keep_on_completion" + }, + { + "$ref": "#/components/parameters/eql.search#wait_for_completion_timeout" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/eql.search" + }, + "responses": { + "200": { + "$ref": "#/components/responses/eql.search#200" + } + } + } + }, "/{index}/_source/{id}": { "get": { "tags": [ @@ -4128,6 +4069,134 @@ } } }, + "/{index}/_explain/{id}": { + "get": { + "tags": [ + "explain" + ], + "summary": "Returns information about why a specific matches (or doesn't match) a query.", + "description": "Returns information about why a specific matches (or doesn't match) a query.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html" + }, + "operationId": "explain", + "parameters": [ + { + "$ref": "#/components/parameters/explain#index" + }, + { + "$ref": "#/components/parameters/explain#id" + }, + { + "$ref": "#/components/parameters/explain#analyzer" + }, + { + "$ref": "#/components/parameters/explain#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/explain#default_operator" + }, + { + "$ref": "#/components/parameters/explain#df" + }, + { + "$ref": "#/components/parameters/explain#lenient" + }, + { + "$ref": "#/components/parameters/explain#preference" + }, + { + "$ref": "#/components/parameters/explain#routing" + }, + { + "$ref": "#/components/parameters/explain#_source" + }, + { + "$ref": "#/components/parameters/explain#_source_excludes" + }, + { + "$ref": "#/components/parameters/explain#_source_includes" + }, + { + "$ref": "#/components/parameters/explain#stored_fields" + }, + { + "$ref": "#/components/parameters/explain#q" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/explain" + }, + "responses": { + "200": { + "$ref": "#/components/responses/explain#200" + } + } + }, + "post": { + "tags": [ + "explain" + ], + "summary": "Returns information about why a specific matches (or doesn't match) a query.", + "description": "Returns information about why a specific matches (or doesn't match) a query.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html" + }, + "operationId": "explain-1", + "parameters": [ + { + "$ref": "#/components/parameters/explain#index" + }, + { + "$ref": "#/components/parameters/explain#id" + }, + { + "$ref": "#/components/parameters/explain#analyzer" + }, + { + "$ref": "#/components/parameters/explain#analyze_wildcard" + }, + { + "$ref": "#/components/parameters/explain#default_operator" + }, + { + "$ref": "#/components/parameters/explain#df" + }, + { + "$ref": "#/components/parameters/explain#lenient" + }, + { + "$ref": "#/components/parameters/explain#preference" + }, + { + "$ref": "#/components/parameters/explain#routing" + }, + { + "$ref": "#/components/parameters/explain#_source" + }, + { + "$ref": "#/components/parameters/explain#_source_excludes" + }, + { + "$ref": "#/components/parameters/explain#_source_includes" + }, + { + "$ref": "#/components/parameters/explain#stored_fields" + }, + { + "$ref": "#/components/parameters/explain#q" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/explain" + }, + "responses": { + "200": { + "$ref": "#/components/responses/explain#200" + } + } + } + }, "/_field_caps": { "get": { "tags": [ @@ -4427,6 +4496,124 @@ } } }, + "/{index}/_block/{block}": { + "put": { + "tags": [ + "indices.add_block" + ], + "summary": "Adds a block to an index.", + "description": "Adds a block to an index.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/index-modules-blocks.html" + }, + "operationId": "indices-add-block", + "parameters": [ + { + "in": "path", + "name": "index", + "description": "A comma separated list of indices to add a block to", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + { + "in": "path", + "name": "block", + "description": "The block to add (one of read, write, read_only or metadata)", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/indices.add_block:IndicesBlockOptions" + }, + "style": "simple" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "master_timeout", + "description": "Specify timeout for connection to master", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Explicit operation timeout", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "acknowledged": { + "type": "boolean" + }, + "shards_acknowledged": { + "type": "boolean" + }, + "indices": { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices.add_block:IndicesBlockStatus" + } + } + }, + "required": [ + "acknowledged", + "shards_acknowledged", + "indices" + ] + } + } + } + } + } + } + }, "/_analyze": { "get": { "tags": [ @@ -5755,322 +5942,6 @@ } } }, - "/_template/{name}": { - "get": { - "tags": [ - "indices.get_template" - ], - "summary": "Returns an index template.", - "description": "Returns an index template.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices-get-template-1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_template#name" - }, - { - "$ref": "#/components/parameters/indices.get_template#flat_settings" - }, - { - "$ref": "#/components/parameters/indices.get_template#local" - }, - { - "$ref": "#/components/parameters/indices.get_template#master_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.get_template#200" - } - } - }, - "put": { - "tags": [ - "indices.put_template" - ], - "summary": "Creates or updates an index template.", - "description": "Creates or updates an index template.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices-put-template", - "parameters": [ - { - "$ref": "#/components/parameters/indices.put_template#name" - }, - { - "$ref": "#/components/parameters/indices.put_template#create" - }, - { - "$ref": "#/components/parameters/indices.put_template#flat_settings" - }, - { - "$ref": "#/components/parameters/indices.put_template#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.put_template#timeout" - }, - { - "$ref": "#/components/parameters/indices.put_template#order" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.put_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.put_template#200" - } - } - }, - "post": { - "tags": [ - "indices.put_template" - ], - "summary": "Creates or updates an index template.", - "description": "Creates or updates an index template.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices-put-template-1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.put_template#name" - }, - { - "$ref": "#/components/parameters/indices.put_template#create" - }, - { - "$ref": "#/components/parameters/indices.put_template#flat_settings" - }, - { - "$ref": "#/components/parameters/indices.put_template#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.put_template#timeout" - }, - { - "$ref": "#/components/parameters/indices.put_template#order" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.put_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.put_template#200" - } - } - }, - "delete": { - "tags": [ - "indices.delete_template" - ], - "summary": "Deletes an index template.", - "description": "Deletes an index template.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices-delete-template", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "The name of the legacy index template to delete.\nWildcard (`*`) expressions are supported.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - }, - "head": { - "tags": [ - "indices.exists_template" - ], - "summary": "Returns information about whether a particular index template exists.", - "description": "Returns information about whether a particular index template exists.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices-exists-template", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "The comma separated names of the index templates", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - { - "in": "query", - "name": "flat_settings", - "description": "Return settings in flat format (default: false)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "local", - "description": "Return local information, do not retrieve the state from master node (default: false)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Explicit operation timeout for connection to master node", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": {} - } - } - } - } - }, - "/{index}/_disk_usage": { - "post": { - "tags": [ - "indices.disk_usage" - ], - "summary": "Analyzes the disk usage of each field of an index or data stream", - "description": "Analyzes the disk usage of each field of an index or data stream", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-disk-usage.html" - }, - "operationId": "indices-disk-usage", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nIt’s recommended to execute this API with a single index (or the latest backing index of a data stream) as the API consumes resources significantly.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_indices", - "description": "If false, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "flush", - "description": "If `true`, the API performs a flush before analysis.\nIf `false`, the response may not include uncommitted data.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "ignore_unavailable", - "description": "If `true`, missing or closed indices are not included in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "run_expensive_tasks", - "description": "Analyzing field disk usage is resource-intensive.\nTo use the API, this parameter must be set to `true`.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - } - } - } - }, "/_alias/{name}": { "get": { "tags": [ @@ -6753,35 +6624,6 @@ } } }, - "/_template": { - "get": { - "tags": [ - "indices.get_template" - ], - "summary": "Returns an index template.", - "description": "Returns an index template.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices-get-template", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_template#flat_settings" - }, - { - "$ref": "#/components/parameters/indices.get_template#local" - }, - { - "$ref": "#/components/parameters/indices.get_template#master_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.get_template#200" - } - } - } - }, "/_data_stream/_migrate/{name}": { "post": { "tags": [ @@ -6867,6 +6709,204 @@ } } }, + "/_template/{name}": { + "put": { + "tags": [ + "indices.put_template" + ], + "summary": "Creates or updates an index template.", + "description": "Creates or updates an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices-put-template", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_template#name" + }, + { + "$ref": "#/components/parameters/indices.put_template#create" + }, + { + "$ref": "#/components/parameters/indices.put_template#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.put_template#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_template#timeout" + }, + { + "$ref": "#/components/parameters/indices.put_template#order" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_template#200" + } + } + }, + "post": { + "tags": [ + "indices.put_template" + ], + "summary": "Creates or updates an index template.", + "description": "Creates or updates an index template.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" + }, + "operationId": "indices-put-template-1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.put_template#name" + }, + { + "$ref": "#/components/parameters/indices.put_template#create" + }, + { + "$ref": "#/components/parameters/indices.put_template#flat_settings" + }, + { + "$ref": "#/components/parameters/indices.put_template#master_timeout" + }, + { + "$ref": "#/components/parameters/indices.put_template#timeout" + }, + { + "$ref": "#/components/parameters/indices.put_template#order" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/indices.put_template" + }, + "responses": { + "200": { + "$ref": "#/components/responses/indices.put_template#200" + } + } + } + }, + "/_refresh": { + "get": { + "tags": [ + "indices.refresh" + ], + "summary": "Performs the refresh operation in one or more indices.", + "description": "Performs the refresh operation in one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html" + }, + "operationId": "indices-refresh-1", + "parameters": [ + { + "$ref": "#/components/parameters/indices.refresh#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.refresh#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.refresh#ignore_unavailable" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.refresh#200" + } + } + }, + "post": { + "tags": [ + "indices.refresh" + ], + "summary": "Performs the refresh operation in one or more indices.", + "description": "Performs the refresh operation in one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html" + }, + "operationId": "indices-refresh", + "parameters": [ + { + "$ref": "#/components/parameters/indices.refresh#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.refresh#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.refresh#ignore_unavailable" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.refresh#200" + } + } + } + }, + "/{index}/_refresh": { + "get": { + "tags": [ + "indices.refresh" + ], + "summary": "Performs the refresh operation in one or more indices.", + "description": "Performs the refresh operation in one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html" + }, + "operationId": "indices-refresh-3", + "parameters": [ + { + "$ref": "#/components/parameters/indices.refresh#index" + }, + { + "$ref": "#/components/parameters/indices.refresh#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.refresh#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.refresh#ignore_unavailable" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.refresh#200" + } + } + }, + "post": { + "tags": [ + "indices.refresh" + ], + "summary": "Performs the refresh operation in one or more indices.", + "description": "Performs the refresh operation in one or more indices.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html" + }, + "operationId": "indices-refresh-2", + "parameters": [ + { + "$ref": "#/components/parameters/indices.refresh#index" + }, + { + "$ref": "#/components/parameters/indices.refresh#allow_no_indices" + }, + { + "$ref": "#/components/parameters/indices.refresh#expand_wildcards" + }, + { + "$ref": "#/components/parameters/indices.refresh#ignore_unavailable" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/indices.refresh#200" + } + } + } + }, "/_resolve/index/{name}": { "get": { "tags": [ @@ -7922,6 +7962,61 @@ } } }, + "/_license": { + "get": { + "tags": [ + "license.get" + ], + "summary": "Retrieves licensing information for the cluster", + "description": "Retrieves licensing information for the cluster", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-license.html" + }, + "operationId": "license-get", + "parameters": [ + { + "in": "query", + "name": "accept_enterprise", + "description": "If `true`, this parameter returns enterprise for Enterprise license types. If `false`, this parameter returns platinum for both platinum and enterprise license types. This behavior is maintained for backwards compatibility.\nThis parameter is deprecated and will always be set to true in 8.x.", + "deprecated": true, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "local", + "description": "Specifies whether to retrieve local information. The default value is `false`, which means the information is retrieved from the master node.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "license": { + "$ref": "#/components/schemas/license.get:LicenseInformation" + } + }, + "required": [ + "license" + ] + } + } + } + } + } + } + }, "/_logstash/pipeline/{id}": { "get": { "tags": [ @@ -9717,6 +9812,10 @@ "description": "The estimated memory usage in bytes to keep the trained model in memory.\nThis property is supported only if defer_definition_decompression is true\nor the model definition is not supplied.", "type": "number" }, + "platform_architecture": { + "description": "The platform architecture (if applicable) of the trained mode. If the model\nonly works on one platform, because it is heavily optimized for a particular\nprocessor architecture and OS combination, then this field specifies which.\nThe format of the string must match the platform identifiers used by Elasticsearch,\nso one of, `linux-x86_64`, `linux-aarch64`, `darwin-x86_64`, `darwin-aarch64`,\nor `windows-x86_64`. For portable models (those that work independent of processor\narchitecture or OS features), leave this field unset.", + "type": "string" + }, "tags": { "description": "An array of tags to organize the model.", "type": "array", @@ -13387,7 +13486,18 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/query_ruleset._types:QueryRuleset" + "type": "object", + "properties": { + "rules": { + "type": "array", + "items": { + "$ref": "#/components/schemas/query_ruleset._types:QueryRule" + } + } + }, + "required": [ + "rules" + ] } } }, @@ -13655,6 +13765,201 @@ } } }, + "/_reindex": { + "post": { + "tags": [ + "reindex" + ], + "summary": "Allows to copy documents from one index to another, optionally filtering the source\ndocuments by a query, changing the destination index settings, or fetching the\ndocuments from a remote cluster.", + "description": "Allows to copy documents from one index to another, optionally filtering the source\ndocuments by a query, changing the destination index settings, or fetching the\ndocuments from a remote cluster.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html" + }, + "operationId": "reindex", + "parameters": [ + { + "in": "query", + "name": "refresh", + "description": "If `true`, the request refreshes affected shards to make this operation visible to search.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "requests_per_second", + "description": "The throttle for this request in sub-requests per second.\nDefaults to no throttle.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" + }, + { + "in": "query", + "name": "scroll", + "description": "Specifies how long a consistent view of the index should be maintained for scrolled search.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "slices", + "description": "The number of slices this task should be divided into.\nDefaults to 1 slice, meaning the task isn’t sliced into subtasks.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Slices" + }, + "style": "form" + }, + { + "in": "query", + "name": "timeout", + "description": "Period each indexing waits for automatic index creation, dynamic mapping updates, and waiting for active shards.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_active_shards", + "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:WaitForActiveShards" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_completion", + "description": "If `true`, the request blocks until the operation is complete.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "require_alias", + "description": "If `true`, the destination must be an index alias.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "conflicts": { + "$ref": "#/components/schemas/_types:Conflicts" + }, + "dest": { + "$ref": "#/components/schemas/_global.reindex:Destination" + }, + "max_docs": { + "description": "The maximum number of documents to reindex.", + "type": "number" + }, + "script": { + "$ref": "#/components/schemas/_types:Script" + }, + "size": { + "type": "number" + }, + "source": { + "$ref": "#/components/schemas/_global.reindex:Source" + } + }, + "required": [ + "dest", + "source" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "batches": { + "type": "number" + }, + "created": { + "type": "number" + }, + "deleted": { + "type": "number" + }, + "failures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:BulkIndexByScrollFailure" + } + }, + "noops": { + "type": "number" + }, + "retries": { + "$ref": "#/components/schemas/_types:Retries" + }, + "requests_per_second": { + "type": "number" + }, + "slice_id": { + "type": "number" + }, + "task": { + "$ref": "#/components/schemas/_types:TaskId" + }, + "throttled_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "throttled_until_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "timed_out": { + "type": "boolean" + }, + "took": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" + }, + "total": { + "type": "number" + }, + "updated": { + "type": "number" + }, + "version_conflicts": { + "type": "number" + } + } + } + } + } + } + } + } + }, "/_render/template": { "get": { "tags": [ @@ -15222,63 +15527,6 @@ } } }, - "/_security/api_key/{ids}/_clear_cache": { - "post": { - "tags": [ - "security.clear_api_key_cache" - ], - "summary": "Clear a subset or all entries from the API key cache.", - "description": "Clear a subset or all entries from the API key cache.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-api-key-cache.html" - }, - "operationId": "security-clear-api-key-cache", - "parameters": [ - { - "in": "path", - "name": "ids", - "description": "Comma-separated list of API key IDs to evict from the API key cache.\nTo evict all API keys, use `*`.\nDoes not support other wildcard patterns.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Ids" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_nodes": { - "$ref": "#/components/schemas/_types:NodeStatistics" - }, - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:ClusterNode" - } - } - }, - "required": [ - "_nodes", - "cluster_name", - "nodes" - ] - } - } - } - } - } - } - }, "/_security/api_key": { "get": { "tags": [ @@ -15512,6 +15760,96 @@ } } }, + "/_security/user/_has_privileges": { + "get": { + "tags": [ + "security.has_privileges" + ], + "summary": "Determines whether the specified user has a specified list of privileges.", + "description": "Determines whether the specified user has a specified list of privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html" + }, + "operationId": "security-has-privileges", + "requestBody": { + "$ref": "#/components/requestBodies/security.has_privileges" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.has_privileges#200" + } + } + }, + "post": { + "tags": [ + "security.has_privileges" + ], + "summary": "Determines whether the specified user has a specified list of privileges.", + "description": "Determines whether the specified user has a specified list of privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html" + }, + "operationId": "security-has-privileges-1", + "requestBody": { + "$ref": "#/components/requestBodies/security.has_privileges" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.has_privileges#200" + } + } + } + }, + "/_security/user/{user}/_has_privileges": { + "get": { + "tags": [ + "security.has_privileges" + ], + "summary": "Determines whether the specified user has a specified list of privileges.", + "description": "Determines whether the specified user has a specified list of privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html" + }, + "operationId": "security-has-privileges-2", + "parameters": [ + { + "$ref": "#/components/parameters/security.has_privileges#user" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.has_privileges" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.has_privileges#200" + } + } + }, + "post": { + "tags": [ + "security.has_privileges" + ], + "summary": "Determines whether the specified user has a specified list of privileges.", + "description": "Determines whether the specified user has a specified list of privileges.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html" + }, + "operationId": "security-has-privileges-3", + "parameters": [ + { + "$ref": "#/components/parameters/security.has_privileges#user" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/security.has_privileges" + }, + "responses": { + "200": { + "$ref": "#/components/responses/security.has_privileges#200" + } + } + } + }, "/_security/_query/api_key": { "get": { "tags": [ @@ -15633,6 +15971,369 @@ } } }, + "/_sql/close": { + "post": { + "tags": [ + "sql.clear_cursor" + ], + "summary": "Clears the SQL cursor", + "description": "Clears the SQL cursor", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-sql-cursor-api.html" + }, + "operationId": "sql-clear-cursor", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "cursor": { + "description": "Cursor to clear.", + "type": "string" + } + }, + "required": [ + "cursor" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "succeeded": { + "type": "boolean" + } + }, + "required": [ + "succeeded" + ] + } + } + } + } + } + } + }, + "/_sql/async/delete/{id}": { + "delete": { + "tags": [ + "sql.delete_async" + ], + "summary": "Deletes an async SQL search or a stored synchronous SQL search. If the search is still running, the API cancels it.", + "description": "Deletes an async SQL search or a stored synchronous SQL search. If the search is still running, the API cancels it.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-async-sql-search-api.html" + }, + "operationId": "sql-delete-async", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the search.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" + } + } + } + } + } + } + }, + "/_sql/async/{id}": { + "get": { + "tags": [ + "sql.get_async" + ], + "summary": "Returns the current status and available results for an async SQL search or stored synchronous SQL search", + "description": "Returns the current status and available results for an async SQL search or stored synchronous SQL search", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-async-sql-search-api.html" + }, + "operationId": "sql-get-async", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the search.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "delimiter", + "description": "Separator for CSV results. The API only supports this parameter for CSV responses.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "format", + "description": "Format for the response. You must specify a format using this parameter or the\nAccept HTTP header. If you specify both, the API uses this parameter.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "in": "query", + "name": "keep_alive", + "description": "Retention period for the search and its results. Defaults\nto the `keep_alive` period for the original SQL search.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_completion_timeout", + "description": "Period to wait for complete results. Defaults to no timeout,\nmeaning the request waits for complete search results.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "is_running": { + "description": "If `true`, the search is still running. If false, the search has finished.\nThis value is only returned for async and saved synchronous searches. For\nCSV, TSV, and TXT responses, this value is returned in the `Async-partial`\nHTTP header.", + "type": "boolean" + }, + "is_partial": { + "description": "If `true`, the response does not contain complete search results. If `is_partial`\nis `true` and `is_running` is `true`, the search is still running. If `is_partial`\nis `true` but `is_running` is `false`, the results are partial due to a failure or\ntimeout. This value is only returned for async and saved synchronous searches.\nFor CSV, TSV, and TXT responses, this value is returned in the `Async-partial` HTTP header.", + "type": "boolean" + }, + "columns": { + "description": "Column headings for the search results. Each object is a column.", + "type": "array", + "items": { + "$ref": "#/components/schemas/sql:Column" + } + }, + "cursor": { + "description": "Cursor for the next set of paginated results. For CSV, TSV, and\nTXT responses, this value is returned in the `Cursor` HTTP header.", + "type": "string" + }, + "rows": { + "description": "Values for the search results.", + "type": "array", + "items": { + "$ref": "#/components/schemas/sql:Row" + } + } + }, + "required": [ + "id", + "is_running", + "is_partial", + "rows" + ] + } + } + } + } + } + } + }, + "/_sql/async/status/{id}": { + "get": { + "tags": [ + "sql.get_async_status" + ], + "summary": "Returns the current status of an async SQL search or a stored synchronous SQL search", + "description": "Returns the current status of an async SQL search or a stored synchronous SQL search", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-async-sql-search-status-api.html" + }, + "operationId": "sql-get-async-status", + "parameters": [ + { + "in": "path", + "name": "id", + "description": "Identifier for the search.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "description": "Identifier for the search.", + "type": "string" + }, + "is_running": { + "description": "If `true`, the search is still running. If `false`, the search has finished.", + "type": "boolean" + }, + "is_partial": { + "description": "If `true`, the response does not contain complete search results. If `is_partial`\nis `true` and `is_running` is `true`, the search is still running. If `is_partial`\nis `true` but `is_running` is `false`, the results are partial due to a failure or\ntimeout.", + "type": "boolean" + }, + "start_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "expiration_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "completion_status": { + "$ref": "#/components/schemas/_types:uint" + } + }, + "required": [ + "id", + "is_running", + "is_partial", + "start_time_in_millis", + "expiration_time_in_millis" + ] + } + } + } + } + } + } + }, + "/_sql": { + "get": { + "tags": [ + "sql.query" + ], + "summary": "Executes a SQL request", + "description": "Executes a SQL request", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-search-api.html" + }, + "operationId": "sql-query-1", + "parameters": [ + { + "$ref": "#/components/parameters/sql.query#format" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/sql.query" + }, + "responses": { + "200": { + "$ref": "#/components/responses/sql.query#200" + } + } + }, + "post": { + "tags": [ + "sql.query" + ], + "summary": "Executes a SQL request", + "description": "Executes a SQL request", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-search-api.html" + }, + "operationId": "sql-query", + "parameters": [ + { + "$ref": "#/components/parameters/sql.query#format" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/sql.query" + }, + "responses": { + "200": { + "$ref": "#/components/responses/sql.query#200" + } + } + } + }, + "/_sql/translate": { + "get": { + "tags": [ + "sql.translate" + ], + "summary": "Translates SQL into Elasticsearch queries", + "description": "Translates SQL into Elasticsearch queries", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-translate-api.html" + }, + "operationId": "sql-translate-1", + "requestBody": { + "$ref": "#/components/requestBodies/sql.translate" + }, + "responses": { + "200": { + "$ref": "#/components/responses/sql.translate#200" + } + } + }, + "post": { + "tags": [ + "sql.translate" + ], + "summary": "Translates SQL into Elasticsearch queries", + "description": "Translates SQL into Elasticsearch queries", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-translate-api.html" + }, + "operationId": "sql-translate", + "requestBody": { + "$ref": "#/components/requestBodies/sql.translate" + }, + "responses": { + "200": { + "$ref": "#/components/responses/sql.translate#200" + } + } + } + }, "/_synonyms/{id}": { "get": { "tags": [ @@ -16038,6 +16739,82 @@ } } }, + "/_tasks/{task_id}": { + "get": { + "tags": [ + "tasks.get" + ], + "summary": "Returns information about a task.", + "description": "Returns information about a task.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html" + }, + "operationId": "tasks-get", + "parameters": [ + { + "in": "path", + "name": "task_id", + "description": "ID of the task.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + { + "in": "query", + "name": "wait_for_completion", + "description": "If `true`, the request blocks until the task has completed.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "completed": { + "type": "boolean" + }, + "task": { + "$ref": "#/components/schemas/tasks._types:TaskInfo" + }, + "response": { + "type": "object" + }, + "error": { + "$ref": "#/components/schemas/_types:ErrorCause" + } + }, + "required": [ + "completed", + "task" + ] + } + } + } + } + } + } + }, "/{index}/_terms_enum": { "get": { "tags": [ @@ -18001,16 +18778,6 @@ } } }, - "cluster.stats#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/cluster.stats:StatsResponseBase" - } - } - } - }, "count#200": { "description": "", "content": { @@ -18064,6 +18831,48 @@ } } }, + "eql.search#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/eql._types:EqlSearchResponseBase" + } + } + } + }, + "explain#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "_index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "_id": { + "$ref": "#/components/schemas/_types:Id" + }, + "matched": { + "type": "boolean" + }, + "explanation": { + "$ref": "#/components/schemas/_global.explain:ExplanationDetail" + }, + "get": { + "$ref": "#/components/schemas/_types:InlineGet" + } + }, + "required": [ + "_index", + "_id", + "matched" + ] + } + } + } + }, "field_caps#200": { "description": "", "content": { @@ -18307,19 +19116,6 @@ } } }, - "indices.get_template#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:TemplateMapping" - } - } - } - } - }, "indices.put_alias#200": { "description": "", "content": { @@ -18370,6 +19166,16 @@ } } }, + "indices.refresh#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/_types:ShardsOperationResponseBase" + } + } + } + }, "indices.rollover#200": { "description": "", "content": { @@ -19162,6 +19968,46 @@ } } }, + "security.has_privileges#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "application": { + "$ref": "#/components/schemas/security.has_privileges:ApplicationsPrivileges" + }, + "cluster": { + "type": "object", + "additionalProperties": { + "type": "boolean" + } + }, + "has_all_requested": { + "type": "boolean" + }, + "index": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security.has_privileges:Privileges" + } + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + } + }, + "required": [ + "application", + "cluster", + "has_all_requested", + "index", + "username" + ] + } + } + } + }, "security.query_api_keys#200": { "description": "", "content": { @@ -19194,6 +20040,86 @@ } } }, + "sql.query#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/_types:Id" + }, + "is_running": { + "description": "If `true`, the search is still running. If false, the search has finished.\nThis value is only returned for async and saved synchronous searches. For\nCSV, TSV, and TXT responses, this value is returned in the `Async-partial`\nHTTP header.", + "type": "boolean" + }, + "is_partial": { + "description": "If `true`, the response does not contain complete search results. If `is_partial`\nis `true` and `is_running` is `true`, the search is still running. If `is_partial`\nis `true` but `is_running` is `false`, the results are partial due to a failure or\ntimeout. This value is only returned for async and saved synchronous searches.\nFor CSV, TSV, and TXT responses, this value is returned in the `Async-partial` HTTP header.", + "type": "boolean" + }, + "columns": { + "description": "Column headings for the search results. Each object is a column.", + "type": "array", + "items": { + "$ref": "#/components/schemas/sql:Column" + } + }, + "cursor": { + "description": "Cursor for the next set of paginated results. For CSV, TSV, and\nTXT responses, this value is returned in the `Cursor` HTTP header.", + "type": "string" + }, + "rows": { + "description": "Values for the search results.", + "type": "array", + "items": { + "$ref": "#/components/schemas/sql:Row" + } + } + }, + "required": [ + "rows" + ] + } + } + } + }, + "sql.translate#200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aggregations": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" + } + }, + "size": { + "type": "number" + }, + "_source": { + "$ref": "#/components/schemas/_global.search._types:SourceConfig" + }, + "fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + } + } + } + } + } + }, "terms_enum#200": { "description": "", "content": { @@ -20419,37 +21345,6 @@ }, "style": "form" }, - "cluster.stats#node_id": { - "in": "path", - "name": "node_id", - "description": "Comma-separated list of node filters used to limit returned information. Defaults to all nodes in the cluster.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:NodeIds" - }, - "style": "simple" - }, - "cluster.stats#flat_settings": { - "in": "query", - "name": "flat_settings", - "description": "If `true`, returns settings in flat format.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cluster.stats#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for each node to respond.\nIf a node does not respond before its timeout expires, the response does not include its stats.\nHowever, timed out nodes are included in the response’s `_nodes.failed` property. Defaults to no timeout.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, "count#index": { "in": "path", "name": "index", @@ -20704,6 +21599,217 @@ }, "style": "simple" }, + "eql.search#index": { + "in": "path", + "name": "index", + "description": "The name of the index to scope the operation", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "eql.search#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "eql.search#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "eql.search#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If true, missing or closed indices are not included in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "eql.search#keep_alive": { + "in": "query", + "name": "keep_alive", + "description": "Period for which the search and its results are stored on the cluster.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "eql.search#keep_on_completion": { + "in": "query", + "name": "keep_on_completion", + "description": "If true, the search and its results are stored on the cluster.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "eql.search#wait_for_completion_timeout": { + "in": "query", + "name": "wait_for_completion_timeout", + "description": "Timeout duration to wait for the request to finish. Defaults to no timeout, meaning the request waits for complete search results.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Duration" + }, + "style": "form" + }, + "explain#id": { + "in": "path", + "name": "id", + "description": "Defines the document ID.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + }, + "explain#index": { + "in": "path", + "name": "index", + "description": "Index names used to limit the request.\nOnly a single index name can be provided to this parameter.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "style": "simple" + }, + "explain#analyzer": { + "in": "query", + "name": "analyzer", + "description": "Analyzer to use for the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "explain#analyze_wildcard": { + "in": "query", + "name": "analyze_wildcard", + "description": "If `true`, wildcard and prefix queries are analyzed.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "explain#default_operator": { + "in": "query", + "name": "default_operator", + "description": "The default operator for query string query: `AND` or `OR`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.query_dsl:Operator" + }, + "style": "form" + }, + "explain#df": { + "in": "query", + "name": "df", + "description": "Field to use as default where no field prefix is given in the query string.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "explain#lenient": { + "in": "query", + "name": "lenient", + "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "explain#preference": { + "in": "query", + "name": "preference", + "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + "explain#routing": { + "in": "query", + "name": "routing", + "description": "Custom value used to route operations to a specific shard.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Routing" + }, + "style": "form" + }, + "explain#_source": { + "in": "query", + "name": "_source", + "description": "True or false to return the `_source` field or not, or a list of fields to return.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" + }, + "style": "form" + }, + "explain#_source_excludes": { + "in": "query", + "name": "_source_excludes", + "description": "A comma-separated list of source fields to exclude from the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "explain#_source_includes": { + "in": "query", + "name": "_source_includes", + "description": "A comma-separated list of source fields to include in the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "explain#stored_fields": { + "in": "query", + "name": "stored_fields", + "description": "A comma-separated list of stored fields to return in the response.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Fields" + }, + "style": "form" + }, + "explain#q": { + "in": "query", + "name": "q", + "description": "Query in the Lucene query string syntax.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, "field_caps#index": { "in": "path", "name": "index", @@ -21384,47 +22490,6 @@ }, "style": "form" }, - "indices.get_template#name": { - "in": "path", - "name": "name", - "description": "Comma-separated list of index template names used to limit the request.\nWildcard (`*`) expressions are supported.\nTo return all index templates, omit this parameter or use a value of `_all` or `*`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "indices.get_template#flat_settings": { - "in": "query", - "name": "flat_settings", - "description": "If `true`, returns settings in flat format.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_template#local": { - "in": "query", - "name": "local", - "description": "If `true`, the request retrieves information from the local node only.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_template#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, "indices.put_alias#index": { "in": "path", "name": "index", @@ -21701,6 +22766,47 @@ }, "style": "form" }, + "indices.refresh#index": { + "in": "path", + "name": "index", + "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Indices" + }, + "style": "simple" + }, + "indices.refresh#allow_no_indices": { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + "indices.refresh#expand_wildcards": { + "in": "query", + "name": "expand_wildcards", + "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:ExpandWildcards" + }, + "style": "form" + }, + "indices.refresh#ignore_unavailable": { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, "indices.rollover#alias": { "in": "path", "name": "alias", @@ -23856,6 +24962,17 @@ }, "style": "form" }, + "security.has_privileges#user": { + "in": "path", + "name": "user", + "description": "Username", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Name" + }, + "style": "simple" + }, "security.query_api_keys#with_limited_by": { "in": "query", "name": "with_limited_by", @@ -23866,6 +24983,16 @@ }, "style": "form" }, + "sql.query#format": { + "in": "query", + "name": "format", + "description": "Format for the response.", + "deprecated": false, + "schema": { + "type": "string" + }, + "style": "form" + }, "terms_enum#index": { "in": "path", "name": "index", @@ -24339,6 +25466,103 @@ }, "required": true }, + "eql.search": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "query": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-syntax.html" + }, + "description": "EQL query you wish to run.", + "type": "string" + }, + "case_sensitive": { + "type": "boolean" + }, + "event_category_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "tiebreaker_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "timestamp_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "fetch_size": { + "$ref": "#/components/schemas/_types:uint" + }, + "filter": { + "description": "Query, written in Query DSL, used to filter the events on which the EQL query runs.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + ] + }, + "keep_alive": { + "$ref": "#/components/schemas/_types:Duration" + }, + "keep_on_completion": { + "type": "boolean" + }, + "wait_for_completion_timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "size": { + "$ref": "#/components/schemas/_types:uint" + }, + "fields": { + "description": "Array of wildcard (*) patterns. The response returns values for field names matching these patterns in the fields property of each hit.", + "oneOf": [ + { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" + } + } + ] + }, + "result_position": { + "$ref": "#/components/schemas/eql.search:ResultPosition" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + } + }, + "required": [ + "query" + ] + } + } + }, + "required": true + }, + "explain": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + } + } + } + } + } + }, "field_caps": { "content": { "application/json": { @@ -25351,6 +26575,37 @@ }, "required": true }, + "security.has_privileges": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "application": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security.has_privileges:ApplicationPrivilegesCheck" + } + }, + "cluster": { + "description": "A list of the cluster privileges that you want to check.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:ClusterPrivilege" + } + }, + "index": { + "type": "array", + "items": { + "$ref": "#/components/schemas/security.has_privileges:IndexPrivilegesCheck" + } + } + } + } + } + }, + "required": true + }, "security.query_api_keys": { "content": { "application/json": { @@ -25379,6 +26634,107 @@ } } }, + "sql.query": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "catalog": { + "description": "Default catalog (cluster) for queries. If unspecified, the queries execute on the data in the local cluster only.", + "type": "string" + }, + "columnar": { + "description": "If true, the results in a columnar fashion: one row represents all the values of a certain column from the current page of results.", + "type": "boolean" + }, + "cursor": { + "description": "Cursor used to retrieve a set of paginated results.\nIf you specify a cursor, the API only uses the `columnar` and `time_zone` request body parameters.\nIt ignores other request body parameters.", + "type": "string" + }, + "fetch_size": { + "description": "The maximum number of rows (or entries) to return in one response", + "type": "number" + }, + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "query": { + "description": "SQL query to run.", + "type": "string" + }, + "request_timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "page_timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" + }, + "field_multi_value_leniency": { + "description": "Throw an exception when encountering multiple values for a field (default) or be lenient and return the first value from the list (without any guarantees of what that will be - typically the first in natural ascending order).", + "type": "boolean" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + }, + "wait_for_completion_timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "params": { + "description": "Values for parameters in the query.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "keep_alive": { + "$ref": "#/components/schemas/_types:Duration" + }, + "keep_on_completion": { + "description": "If true, Elasticsearch stores synchronous searches if you also specify the wait_for_completion_timeout parameter. If false, Elasticsearch only stores async searches that don’t finish before the wait_for_completion_timeout.", + "type": "boolean" + }, + "index_using_frozen": { + "description": "If true, the search can run on frozen indices. Defaults to false.", + "type": "boolean" + } + } + } + } + }, + "required": true + }, + "sql.translate": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "fetch_size": { + "description": "The maximum number of rows (or entries) to return in one response.", + "type": "number" + }, + "filter": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "query": { + "description": "SQL query to run.", + "type": "string" + }, + "time_zone": { + "$ref": "#/components/schemas/_types:TimeZone" + } + }, + "required": [ + "query" + ] + } + } + }, + "required": true + }, "terms_enum": { "content": { "application/json": { @@ -35693,38 +37049,62 @@ "$ref": "#/components/schemas/_types:Field" }, "exclude": { - "description": "Values to exclude.\nCan be regular expression strings or arrays of strings of exact terms.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] + "$ref": "#/components/schemas/_types.aggregations:TermsExclude" }, "include": { - "description": "Values to include.\nCan be regular expression strings or arrays of strings of exact terms.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] + "$ref": "#/components/schemas/_types.aggregations:TermsInclude" } }, "required": [ "field" ] }, + "_types.aggregations:TermsExclude": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "_types.aggregations:TermsInclude": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/components/schemas/_types.aggregations:TermsPartition" + } + ] + }, + "_types.aggregations:TermsPartition": { + "type": "object", + "properties": { + "num_partitions": { + "description": "The number of partitions.", + "type": "number" + }, + "partition": { + "description": "The partition number for this request.", + "type": "number" + } + }, + "required": [ + "num_partitions", + "partition" + ] + }, "_types.aggregations:FiltersAggregation": { "allOf": [ { @@ -36951,52 +38331,6 @@ } ] }, - "_types.aggregations:TermsExclude": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "_types.aggregations:TermsInclude": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/_types.aggregations:TermsPartition" - } - ] - }, - "_types.aggregations:TermsPartition": { - "type": "object", - "properties": { - "num_partitions": { - "description": "The number of partitions.", - "type": "number" - }, - "partition": { - "description": "The partition number for this request.", - "type": "number" - } - }, - "required": [ - "num_partitions", - "partition" - ] - }, "_types.aggregations:RateAggregation": { "allOf": [ { @@ -37254,18 +38588,7 @@ "$ref": "#/components/schemas/_types.aggregations:GoogleNormalizedDistanceHeuristic" }, "include": { - "description": "Values to include.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] + "$ref": "#/components/schemas/_types.aggregations:TermsInclude" }, "jlh": { "$ref": "#/components/schemas/_types:EmptyObject" @@ -37693,6 +39016,10 @@ } } ] + }, + "similarity": { + "description": "The minimum similarity for a vector to be considered a match", + "type": "number" } }, "required": [ @@ -45959,40 +47286,6 @@ } } }, - "cluster.pending_tasks:PendingTask": { - "type": "object", - "properties": { - "executing": { - "description": "Indicates whether the pending tasks are currently executing or not.", - "type": "boolean" - }, - "insert_order": { - "description": "The number that represents when the task has been inserted into the task queue.", - "type": "number" - }, - "priority": { - "description": "The priority of the pending task.\nThe valid priorities in descending priority order are: `IMMEDIATE` > `URGENT` > `HIGH` > `NORMAL` > `LOW` > `LANGUID`.", - "type": "string" - }, - "source": { - "description": "A general description of the cluster task that may include a reason and origin.", - "type": "string" - }, - "time_in_queue": { - "$ref": "#/components/schemas/_types:Duration" - }, - "time_in_queue_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "executing", - "insert_order", - "priority", - "source", - "time_in_queue_millis" - ] - }, "indices._types:IndexState": { "type": "object", "properties": { @@ -46061,1693 +47354,465 @@ } } }, - "_types:NodeIds": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:NodeId" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:NodeId" - } - } - ] - }, - "cluster.stats:StatsResponseBase": { - "allOf": [ - { - "$ref": "#/components/schemas/nodes._types:NodesResponseBase" - }, - { - "type": "object", - "properties": { - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "cluster_uuid": { - "$ref": "#/components/schemas/_types:Uuid" - }, - "indices": { - "$ref": "#/components/schemas/cluster.stats:ClusterIndices" - }, - "nodes": { - "$ref": "#/components/schemas/cluster.stats:ClusterNodes" - }, - "status": { - "$ref": "#/components/schemas/_types:HealthStatus" - }, - "timestamp": { - "description": "Unix timestamp, in milliseconds, for the last time the cluster statistics were refreshed.", - "type": "number" - } - }, - "required": [ - "cluster_name", - "cluster_uuid", - "indices", - "nodes", - "status", - "timestamp" - ] - } - ] - }, - "cluster.stats:ClusterIndices": { + "_types:WriteResponseBase": { "type": "object", "properties": { - "analysis": { - "$ref": "#/components/schemas/cluster.stats:CharFilterTypes" + "_id": { + "$ref": "#/components/schemas/_types:Id" }, - "completion": { - "$ref": "#/components/schemas/_types:CompletionStats" + "_index": { + "$ref": "#/components/schemas/_types:IndexName" }, - "count": { - "description": "Total number of indices with shards assigned to selected nodes.", + "_primary_term": { "type": "number" }, - "docs": { - "$ref": "#/components/schemas/_types:DocStats" - }, - "fielddata": { - "$ref": "#/components/schemas/_types:FielddataStats" - }, - "query_cache": { - "$ref": "#/components/schemas/_types:QueryCacheStats" - }, - "segments": { - "$ref": "#/components/schemas/_types:SegmentsStats" + "result": { + "$ref": "#/components/schemas/_types:Result" }, - "shards": { - "$ref": "#/components/schemas/cluster.stats:ClusterIndicesShards" + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" }, - "store": { - "$ref": "#/components/schemas/_types:StoreStats" + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" }, - "mappings": { - "$ref": "#/components/schemas/cluster.stats:FieldTypesMappings" + "_version": { + "$ref": "#/components/schemas/_types:VersionNumber" }, - "versions": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analyzer-anatomy.html" - }, - "description": "Contains statistics about analyzers and analyzer components used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:IndicesVersions" - } + "forced_refresh": { + "type": "boolean" } }, "required": [ - "analysis", - "completion", - "count", - "docs", - "fielddata", - "query_cache", - "segments", - "shards", - "store", - "mappings" + "_id", + "_index", + "_primary_term", + "result", + "_seq_no", + "_shards", + "_version" ] }, - "cluster.stats:CharFilterTypes": { - "type": "object", - "properties": { - "analyzer_types": { - "description": "Contains statistics about analyzer types used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } - }, - "built_in_analyzers": { - "description": "Contains statistics about built-in analyzers used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } - }, - "built_in_char_filters": { - "description": "Contains statistics about built-in character filters used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } - }, - "built_in_filters": { - "description": "Contains statistics about built-in token filters used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } - }, - "built_in_tokenizers": { - "description": "Contains statistics about built-in tokenizers used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } - }, - "char_filter_types": { - "description": "Contains statistics about character filter types used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } - }, - "filter_types": { - "description": "Contains statistics about token filter types used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } + "_types:Result": { + "type": "string", + "enum": [ + "created", + "updated", + "deleted", + "not_found", + "noop" + ] + }, + "_types:Conflicts": { + "type": "string", + "enum": [ + "abort", + "proceed" + ] + }, + "_types:Slices": { + "description": "Slices configuration used to parallelize a process.", + "oneOf": [ + { + "type": "number" }, - "tokenizer_types": { - "description": "Contains statistics about tokenizer types used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } + { + "$ref": "#/components/schemas/_types:SlicesCalculation" } - }, - "required": [ - "analyzer_types", - "built_in_analyzers", - "built_in_char_filters", - "built_in_filters", - "built_in_tokenizers", - "char_filter_types", - "filter_types", - "tokenizer_types" ] }, - "cluster.stats:FieldTypes": { + "_types:SlicesCalculation": { + "type": "string", + "enum": [ + "auto" + ] + }, + "_types:BulkIndexByScrollFailure": { "type": "object", "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "count": { - "description": "The number of occurrences of the field type in selected nodes.", - "type": "number" - }, - "index_count": { - "description": "The number of indices containing the field type in selected nodes.", - "type": "number" + "cause": { + "$ref": "#/components/schemas/_types:ErrorCause" }, - "indexed_vector_count": { - "description": "For dense_vector field types, number of indexed vector types in selected nodes.", - "type": "number" + "id": { + "$ref": "#/components/schemas/_types:Id" }, - "indexed_vector_dim_max": { - "description": "For dense_vector field types, the maximum dimension of all indexed vector types in selected nodes.", - "type": "number" + "index": { + "$ref": "#/components/schemas/_types:IndexName" }, - "indexed_vector_dim_min": { - "description": "For dense_vector field types, the minimum dimension of all indexed vector types in selected nodes.", + "status": { "type": "number" }, - "script_count": { - "description": "The number of fields that declare a script.", - "type": "number" + "type": { + "type": "string" } }, "required": [ - "name", - "count", - "index_count" + "cause", + "id", + "index", + "status", + "type" ] }, - "_types:CompletionStats": { + "_types:Retries": { "type": "object", "properties": { - "size_in_bytes": { - "description": "Total amount, in bytes, of memory used for completion across all shards assigned to selected nodes.", + "bulk": { "type": "number" }, - "size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "fields": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:FieldSizeUsage" - } + "search": { + "type": "number" } }, "required": [ - "size_in_bytes" + "bulk", + "search" ] }, - "_types:FieldSizeUsage": { - "type": "object", - "properties": { - "size": { - "$ref": "#/components/schemas/_types:ByteSize" + "_types:TaskId": { + "oneOf": [ + { + "type": "string" }, - "size_in_bytes": { + { "type": "number" } - }, - "required": [ - "size_in_bytes" ] }, - "_types:DocStats": { + "enrich.execute_policy:ExecuteEnrichPolicyStatus": { "type": "object", "properties": { - "count": { - "description": "Total number of non-deleted documents across all primary shards assigned to selected nodes.\nThis number is based on documents in Lucene segments and may include documents from nested fields.", - "type": "number" - }, - "deleted": { - "description": "Total number of deleted documents across all primary shards assigned to selected nodes.\nThis number is based on documents in Lucene segments.\nElasticsearch reclaims the disk space of deleted Lucene documents when a segment is merged.", - "type": "number" + "phase": { + "$ref": "#/components/schemas/enrich.execute_policy:EnrichPolicyPhase" } }, "required": [ - "count" + "phase" + ] + }, + "enrich.execute_policy:EnrichPolicyPhase": { + "type": "string", + "enum": [ + "SCHEDULED", + "RUNNING", + "COMPLETE", + "FAILED" ] }, - "_types:FielddataStats": { + "enrich._types:Summary": { "type": "object", "properties": { - "evictions": { - "type": "number" - }, - "memory_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "memory_size_in_bytes": { - "type": "number" - }, - "fields": { + "config": { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/_types:FieldMemoryUsage" - } + "$ref": "#/components/schemas/enrich._types:Policy" + }, + "minProperties": 1, + "maxProperties": 1 } }, "required": [ - "memory_size_in_bytes" + "config" ] }, - "_types:FieldMemoryUsage": { + "enrich._types:Policy": { "type": "object", "properties": { - "memory_size": { - "$ref": "#/components/schemas/_types:ByteSize" + "enrich_fields": { + "$ref": "#/components/schemas/_types:Fields" }, - "memory_size_in_bytes": { - "type": "number" + "indices": { + "$ref": "#/components/schemas/_types:Indices" + }, + "match_field": { + "$ref": "#/components/schemas/_types:Field" + }, + "query": { + "type": "string" + }, + "name": { + "$ref": "#/components/schemas/_types:Name" + }, + "elasticsearch_version": { + "type": "string" } }, "required": [ - "memory_size_in_bytes" + "enrich_fields", + "indices", + "match_field" ] }, - "_types:QueryCacheStats": { + "enrich.stats:CoordinatorStats": { "type": "object", "properties": { - "cache_count": { - "description": "Total number of entries added to the query cache across all shards assigned to selected nodes.\nThis number includes current and evicted entries.", - "type": "number" - }, - "cache_size": { - "description": "Total number of entries currently in the query cache across all shards assigned to selected nodes.", + "executed_searches_total": { "type": "number" }, - "evictions": { - "description": "Total number of query cache evictions across all shards assigned to selected nodes.", - "type": "number" + "node_id": { + "$ref": "#/components/schemas/_types:Id" }, - "hit_count": { - "description": "Total count of query cache hits across all shards assigned to selected nodes.", + "queue_size": { "type": "number" }, - "memory_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "memory_size_in_bytes": { - "description": "Total amount, in bytes, of memory used for the query cache across all shards assigned to selected nodes.", + "remote_requests_current": { "type": "number" }, - "miss_count": { - "description": "Total count of query cache misses across all shards assigned to selected nodes.", + "remote_requests_total": { "type": "number" + } + }, + "required": [ + "executed_searches_total", + "node_id", + "queue_size", + "remote_requests_current", + "remote_requests_total" + ] + }, + "enrich.stats:ExecutingPolicy": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:Name" }, - "total_count": { - "description": "Total count of hits and misses in the query cache across all shards assigned to selected nodes.", - "type": "number" + "task": { + "$ref": "#/components/schemas/tasks._types:TaskInfo" } }, "required": [ - "cache_count", - "cache_size", - "evictions", - "hit_count", - "memory_size_in_bytes", - "miss_count", - "total_count" + "name", + "task" ] }, - "_types:SegmentsStats": { + "tasks._types:TaskInfo": { "type": "object", "properties": { - "count": { - "description": "Total number of segments across all shards assigned to selected nodes.", - "type": "number" + "action": { + "type": "string" }, - "doc_values_memory": { - "$ref": "#/components/schemas/_types:ByteSize" + "cancelled": { + "type": "boolean" }, - "doc_values_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used for doc values across all shards assigned to selected nodes.", - "type": "number" + "cancellable": { + "type": "boolean" }, - "file_sizes": { - "description": "This object is not populated by the cluster stats API.\nTo get information on segment files, use the node stats API.", + "description": { + "type": "string" + }, + "headers": { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/indices.stats:ShardFileSizeInfo" + "type": "string" } }, - "fixed_bit_set": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "fixed_bit_set_memory_in_bytes": { - "description": "Total amount of memory, in bytes, used by fixed bit sets across all shards assigned to selected nodes.", - "type": "number" - }, - "index_writer_memory": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "index_writer_max_memory_in_bytes": { - "type": "number" - }, - "index_writer_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used by all index writers across all shards assigned to selected nodes.", - "type": "number" - }, - "max_unsafe_auto_id_timestamp": { - "description": "Unix timestamp, in milliseconds, of the most recently retried indexing request.", + "id": { "type": "number" }, - "memory": { - "$ref": "#/components/schemas/_types:ByteSize" + "node": { + "$ref": "#/components/schemas/_types:NodeId" }, - "memory_in_bytes": { - "description": "Total amount, in bytes, of memory used for segments across all shards assigned to selected nodes.", - "type": "number" + "running_time": { + "$ref": "#/components/schemas/_types:Duration" }, - "norms_memory": { - "$ref": "#/components/schemas/_types:ByteSize" + "running_time_in_nanos": { + "$ref": "#/components/schemas/_types:DurationValueUnitNanos" }, - "norms_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used for normalization factors across all shards assigned to selected nodes.", - "type": "number" + "start_time_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" }, - "points_memory": { - "$ref": "#/components/schemas/_types:ByteSize" + "status": { + "description": "Task status information can vary wildly from task to task.", + "type": "object" }, - "points_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used for points across all shards assigned to selected nodes.", - "type": "number" + "type": { + "type": "string" }, - "stored_memory": { - "$ref": "#/components/schemas/_types:ByteSize" + "parent_task_id": { + "$ref": "#/components/schemas/_types:TaskId" + } + }, + "required": [ + "action", + "cancellable", + "headers", + "id", + "node", + "running_time_in_nanos", + "start_time_in_millis", + "type" + ] + }, + "enrich.stats:CacheStats": { + "type": "object", + "properties": { + "node_id": { + "$ref": "#/components/schemas/_types:Id" }, - "stored_fields_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used for stored fields across all shards assigned to selected nodes.", + "count": { "type": "number" }, - "terms_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used for terms across all shards assigned to selected nodes.", + "hits": { "type": "number" }, - "terms_memory": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "term_vectory_memory": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "term_vectors_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used for term vectors across all shards assigned to selected nodes.", + "misses": { "type": "number" }, - "version_map_memory": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "version_map_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used by all version maps across all shards assigned to selected nodes.", + "evictions": { "type": "number" } }, "required": [ + "node_id", "count", - "doc_values_memory_in_bytes", - "file_sizes", - "fixed_bit_set_memory_in_bytes", - "index_writer_memory_in_bytes", - "max_unsafe_auto_id_timestamp", - "memory_in_bytes", - "norms_memory_in_bytes", - "points_memory_in_bytes", - "stored_fields_memory_in_bytes", - "terms_memory_in_bytes", - "term_vectors_memory_in_bytes", - "version_map_memory_in_bytes" + "hits", + "misses", + "evictions" ] }, - "indices.stats:ShardFileSizeInfo": { + "eql._types:EqlSearchResponseBase": { "type": "object", "properties": { - "description": { - "type": "string" + "id": { + "$ref": "#/components/schemas/_types:Id" }, - "size_in_bytes": { - "type": "number" + "is_partial": { + "description": "If true, the response does not contain complete search results.", + "type": "boolean" }, - "min_size_in_bytes": { - "type": "number" + "is_running": { + "description": "If true, the search request is still executing.", + "type": "boolean" }, - "max_size_in_bytes": { - "type": "number" + "took": { + "$ref": "#/components/schemas/_types:DurationValueUnitMillis" }, - "average_size_in_bytes": { - "type": "number" + "timed_out": { + "description": "If true, the request timed out before completion.", + "type": "boolean" }, - "count": { - "type": "number" + "hits": { + "$ref": "#/components/schemas/eql._types:EqlHits" } }, "required": [ - "description", - "size_in_bytes" + "hits" ] }, - "cluster.stats:ClusterIndicesShards": { + "eql._types:EqlHits": { "type": "object", "properties": { - "index": { - "$ref": "#/components/schemas/cluster.stats:ClusterIndicesShardsIndex" - }, - "primaries": { - "description": "Number of primary shards assigned to selected nodes.", - "type": "number" - }, - "replication": { - "description": "Ratio of replica shards to primary shards across all selected nodes.", - "type": "number" - }, "total": { - "description": "Total number of shards assigned to selected nodes.", - "type": "number" - } - } - }, - "cluster.stats:ClusterIndicesShardsIndex": { - "type": "object", - "properties": { - "primaries": { - "$ref": "#/components/schemas/cluster.stats:ClusterShardMetrics" - }, - "replication": { - "$ref": "#/components/schemas/cluster.stats:ClusterShardMetrics" - }, - "shards": { - "$ref": "#/components/schemas/cluster.stats:ClusterShardMetrics" - } - }, - "required": [ - "primaries", - "replication", - "shards" - ] - }, - "cluster.stats:ClusterShardMetrics": { - "type": "object", - "properties": { - "avg": { - "description": "Mean number of shards in an index, counting only shards assigned to selected nodes.", - "type": "number" - }, - "max": { - "description": "Maximum number of shards in an index, counting only shards assigned to selected nodes.", - "type": "number" + "$ref": "#/components/schemas/_global.search._types:TotalHits" }, - "min": { - "description": "Minimum number of shards in an index, counting only shards assigned to selected nodes.", - "type": "number" - } - }, - "required": [ - "avg", - "max", - "min" - ] - }, - "_types:StoreStats": { - "type": "object", - "properties": { - "size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "size_in_bytes": { - "description": "Total size, in bytes, of all shards assigned to selected nodes.", - "type": "number" - }, - "reserved": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "reserved_in_bytes": { - "description": "A prediction, in bytes, of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.", - "type": "number" - }, - "total_data_set_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "total_data_set_size_in_bytes": { - "description": "Total data set size, in bytes, of all shards assigned to selected nodes.\nThis includes the size of shards not stored fully on the nodes, such as the cache for partially mounted indices.", - "type": "number" - } - }, - "required": [ - "size_in_bytes", - "reserved_in_bytes" - ] - }, - "cluster.stats:FieldTypesMappings": { - "type": "object", - "properties": { - "field_types": { - "description": "Contains statistics about field data types used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } - }, - "runtime_field_types": { - "description": "Contains statistics about runtime field data types used in selected nodes.", + "events": { + "description": "Contains events matching the query. Each object represents a matching event.", "type": "array", "items": { - "$ref": "#/components/schemas/cluster.stats:RuntimeFieldTypes" + "$ref": "#/components/schemas/eql._types:HitsEvent" } }, - "total_field_count": { - "description": "Total number of fields in all non-system indices.", - "type": "number" - }, - "total_deduplicated_field_count": { - "description": "Total number of fields in all non-system indices, accounting for mapping deduplication.", - "type": "number" - }, - "total_deduplicated_mapping_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "total_deduplicated_mapping_size_in_bytes": { - "description": "Total size of all mappings, in bytes, after deduplication and compression.", - "type": "number" - } - }, - "required": [ - "field_types" - ] - }, - "cluster.stats:RuntimeFieldTypes": { - "type": "object", - "properties": { - "chars_max": { - "description": "Maximum number of characters for a single runtime field script.", - "type": "number" - }, - "chars_total": { - "description": "Total number of characters for the scripts that define the current runtime field data type.", - "type": "number" - }, - "count": { - "description": "Number of runtime fields mapped to the field data type in selected nodes.", - "type": "number" - }, - "doc_max": { - "description": "Maximum number of accesses to doc_values for a single runtime field script", - "type": "number" - }, - "doc_total": { - "description": "Total number of accesses to doc_values for the scripts that define the current runtime field data type.", - "type": "number" - }, - "index_count": { - "description": "Number of indices containing a mapping of the runtime field data type in selected nodes.", - "type": "number" - }, - "lang": { - "description": "Script languages used for the runtime fields scripts.", - "type": "array", - "items": { - "type": "string" - } - }, - "lines_max": { - "description": "Maximum number of lines for a single runtime field script.", - "type": "number" - }, - "lines_total": { - "description": "Total number of lines for the scripts that define the current runtime field data type.", - "type": "number" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "scriptless_count": { - "description": "Number of runtime fields that don’t declare a script.", - "type": "number" - }, - "shadowed_count": { - "description": "Number of runtime fields that shadow an indexed field.", - "type": "number" - }, - "source_max": { - "description": "Maximum number of accesses to _source for a single runtime field script.", - "type": "number" - }, - "source_total": { - "description": "Total number of accesses to _source for the scripts that define the current runtime field data type.", - "type": "number" - } - }, - "required": [ - "chars_max", - "chars_total", - "count", - "doc_max", - "doc_total", - "index_count", - "lang", - "lines_max", - "lines_total", - "name", - "scriptless_count", - "shadowed_count", - "source_max", - "source_total" - ] - }, - "cluster.stats:IndicesVersions": { - "type": "object", - "properties": { - "index_count": { - "type": "number" - }, - "primary_shard_count": { - "type": "number" - }, - "total_primary_bytes": { - "type": "number" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - } - }, - "required": [ - "index_count", - "primary_shard_count", - "total_primary_bytes", - "version" - ] - }, - "cluster.stats:ClusterNodes": { - "type": "object", - "properties": { - "count": { - "$ref": "#/components/schemas/cluster.stats:ClusterNodeCount" - }, - "discovery_types": { + "sequences": { "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-hosts-providers.html" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-syntax.html#eql-sequences" }, - "description": "Contains statistics about the discovery types used by selected nodes.", - "type": "object", - "additionalProperties": { - "type": "number" - } - }, - "fs": { - "$ref": "#/components/schemas/cluster.stats:ClusterFileSystem" - }, - "indexing_pressure": { - "$ref": "#/components/schemas/cluster.stats:IndexingPressure" - }, - "ingest": { - "$ref": "#/components/schemas/cluster.stats:ClusterIngest" - }, - "jvm": { - "$ref": "#/components/schemas/cluster.stats:ClusterJvm" - }, - "network_types": { - "$ref": "#/components/schemas/cluster.stats:ClusterNetworkTypes" - }, - "os": { - "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystem" - }, - "packaging_types": { - "description": "Contains statistics about Elasticsearch distributions installed on selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:NodePackagingType" - } - }, - "plugins": { - "description": "Contains statistics about installed plugins and modules by selected nodes.\nIf no plugins or modules are installed, this array is empty.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:PluginStats" - } - }, - "process": { - "$ref": "#/components/schemas/cluster.stats:ClusterProcess" - }, - "versions": { - "description": "Array of Elasticsearch versions used on selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:VersionString" - } - } - }, - "required": [ - "count", - "discovery_types", - "fs", - "indexing_pressure", - "ingest", - "jvm", - "network_types", - "os", - "packaging_types", - "plugins", - "process", - "versions" - ] - }, - "cluster.stats:ClusterNodeCount": { - "type": "object", - "properties": { - "coordinating_only": { - "type": "number" - }, - "data": { - "type": "number" - }, - "data_cold": { - "type": "number" - }, - "data_content": { - "type": "number" - }, - "data_frozen": { - "type": "number" - }, - "data_hot": { - "type": "number" - }, - "data_warm": { - "type": "number" - }, - "ingest": { - "type": "number" - }, - "master": { - "type": "number" - }, - "ml": { - "type": "number" - }, - "remote_cluster_client": { - "type": "number" - }, - "total": { - "type": "number" - }, - "transform": { - "type": "number" - }, - "voting_only": { - "type": "number" - } - }, - "required": [ - "coordinating_only", - "data", - "data_cold", - "data_content", - "data_hot", - "data_warm", - "ingest", - "master", - "ml", - "remote_cluster_client", - "total", - "transform", - "voting_only" - ] - }, - "cluster.stats:ClusterFileSystem": { - "type": "object", - "properties": { - "available_in_bytes": { - "description": "Total number of bytes available to JVM in file stores across all selected nodes.\nDepending on operating system or process-level restrictions, this number may be less than `nodes.fs.free_in_byes`.\nThis is the actual amount of free disk space the selected Elasticsearch nodes can use.", - "type": "number" - }, - "free_in_bytes": { - "description": "Total number of unallocated bytes in file stores across all selected nodes.", - "type": "number" - }, - "total_in_bytes": { - "description": "Total size, in bytes, of all file stores across all selected nodes.", - "type": "number" - } - }, - "required": [ - "available_in_bytes", - "free_in_bytes", - "total_in_bytes" - ] - }, - "cluster.stats:IndexingPressure": { - "type": "object", - "properties": { - "memory": { - "$ref": "#/components/schemas/cluster.stats:IndexingPressureMemory" - } - }, - "required": [ - "memory" - ] - }, - "cluster.stats:IndexingPressureMemory": { - "type": "object", - "properties": { - "current": { - "$ref": "#/components/schemas/cluster.stats:IndexingPressureMemorySummary" - }, - "limit_in_bytes": { - "type": "number" - }, - "total": { - "$ref": "#/components/schemas/cluster.stats:IndexingPressureMemorySummary" - } - }, - "required": [ - "current", - "limit_in_bytes", - "total" - ] - }, - "cluster.stats:IndexingPressureMemorySummary": { - "type": "object", - "properties": { - "all_in_bytes": { - "type": "number" - }, - "combined_coordinating_and_primary_in_bytes": { - "type": "number" - }, - "coordinating_in_bytes": { - "type": "number" - }, - "coordinating_rejections": { - "type": "number" - }, - "primary_in_bytes": { - "type": "number" - }, - "primary_rejections": { - "type": "number" - }, - "replica_in_bytes": { - "type": "number" - }, - "replica_rejections": { - "type": "number" - } - }, - "required": [ - "all_in_bytes", - "combined_coordinating_and_primary_in_bytes", - "coordinating_in_bytes", - "primary_in_bytes", - "replica_in_bytes" - ] - }, - "cluster.stats:ClusterIngest": { - "type": "object", - "properties": { - "number_of_pipelines": { - "type": "number" - }, - "processor_stats": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/cluster.stats:ClusterProcessor" - } - } - }, - "required": [ - "number_of_pipelines", - "processor_stats" - ] - }, - "cluster.stats:ClusterProcessor": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "current": { - "type": "number" - }, - "failed": { - "type": "number" - }, - "time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "count", - "current", - "failed", - "time_in_millis" - ] - }, - "cluster.stats:ClusterJvm": { - "type": "object", - "properties": { - "max_uptime_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "mem": { - "$ref": "#/components/schemas/cluster.stats:ClusterJvmMemory" - }, - "threads": { - "description": "Number of active threads in use by JVM across all selected nodes.", - "type": "number" - }, - "versions": { - "description": "Contains statistics about the JVM versions used by selected nodes.", + "description": "Contains event sequences matching the query. Each object represents a matching sequence. This parameter is only returned for EQL queries containing a sequence.", "type": "array", "items": { - "$ref": "#/components/schemas/cluster.stats:ClusterJvmVersion" + "$ref": "#/components/schemas/eql._types:HitsSequence" } } - }, - "required": [ - "max_uptime_in_millis", - "mem", - "threads", - "versions" - ] - }, - "cluster.stats:ClusterJvmMemory": { - "type": "object", - "properties": { - "heap_max_in_bytes": { - "description": "Maximum amount of memory, in bytes, available for use by the heap across all selected nodes.", - "type": "number" - }, - "heap_used_in_bytes": { - "description": "Memory, in bytes, currently in use by the heap across all selected nodes.", - "type": "number" - } - }, - "required": [ - "heap_max_in_bytes", - "heap_used_in_bytes" - ] + } }, - "cluster.stats:ClusterJvmVersion": { + "eql._types:HitsEvent": { "type": "object", "properties": { - "bundled_jdk": { - "description": "Always `true`. All distributions come with a bundled Java Development Kit (JDK).", - "type": "boolean" - }, - "count": { - "description": "Total number of selected nodes using JVM.", - "type": "number" - }, - "using_bundled_jdk": { - "description": "If `true`, a bundled JDK is in use by JVM.", - "type": "boolean" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "vm_name": { - "description": "Name of the JVM.", - "type": "string" + "_index": { + "$ref": "#/components/schemas/_types:IndexName" }, - "vm_vendor": { - "description": "Vendor of the JVM.", - "type": "string" + "_id": { + "$ref": "#/components/schemas/_types:Id" }, - "vm_version": { - "$ref": "#/components/schemas/_types:VersionString" - } - }, - "required": [ - "bundled_jdk", - "count", - "using_bundled_jdk", - "version", - "vm_name", - "vm_vendor", - "vm_version" - ] - }, - "cluster.stats:ClusterNetworkTypes": { - "type": "object", - "properties": { - "http_types": { - "description": "Contains statistics about the HTTP network types used by selected nodes.", - "type": "object", - "additionalProperties": { - "type": "number" - } + "_source": { + "description": "Original JSON body passed for the event at index time.", + "type": "object" }, - "transport_types": { - "description": "Contains statistics about the transport network types used by selected nodes.", + "fields": { "type": "object", "additionalProperties": { - "type": "number" - } - } - }, - "required": [ - "http_types", - "transport_types" - ] - }, - "cluster.stats:ClusterOperatingSystem": { - "type": "object", - "properties": { - "allocated_processors": { - "description": "Number of processors used to calculate thread pool size across all selected nodes.\nThis number can be set with the processors setting of a node and defaults to the number of processors reported by the operating system.\nIn both cases, this number will never be larger than 32.", - "type": "number" - }, - "architectures": { - "description": "Contains statistics about processor architectures (for example, x86_64 or aarch64) used by selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystemArchitecture" - } - }, - "available_processors": { - "description": "Number of processors available to JVM across all selected nodes.", - "type": "number" - }, - "mem": { - "$ref": "#/components/schemas/cluster.stats:OperatingSystemMemoryInfo" - }, - "names": { - "description": "Contains statistics about operating systems used by selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystemName" - } - }, - "pretty_names": { - "description": "Contains statistics about operating systems used by selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystemPrettyName" + "type": "array", + "items": { + "type": "object" + } } } }, "required": [ - "allocated_processors", - "available_processors", - "mem", - "names", - "pretty_names" - ] - }, - "cluster.stats:ClusterOperatingSystemArchitecture": { - "type": "object", - "properties": { - "arch": { - "description": "Name of an architecture used by one or more selected nodes.", - "type": "string" - }, - "count": { - "description": "Number of selected nodes using the architecture.", - "type": "number" - } - }, - "required": [ - "arch", - "count" - ] - }, - "cluster.stats:OperatingSystemMemoryInfo": { - "type": "object", - "properties": { - "adjusted_total_in_bytes": { - "description": "Total amount, in bytes, of memory across all selected nodes, but using the value specified using the `es.total_memory_bytes` system property instead of measured total memory for those nodes where that system property was set.", - "type": "number" - }, - "free_in_bytes": { - "description": "Amount, in bytes, of free physical memory across all selected nodes.", - "type": "number" - }, - "free_percent": { - "description": "Percentage of free physical memory across all selected nodes.", - "type": "number" - }, - "total_in_bytes": { - "description": "Total amount, in bytes, of physical memory across all selected nodes.", - "type": "number" - }, - "used_in_bytes": { - "description": "Amount, in bytes, of physical memory in use across all selected nodes.", - "type": "number" - }, - "used_percent": { - "description": "Percentage of physical memory in use across all selected nodes.", - "type": "number" - } - }, - "required": [ - "free_in_bytes", - "free_percent", - "total_in_bytes", - "used_in_bytes", - "used_percent" - ] - }, - "cluster.stats:ClusterOperatingSystemName": { - "type": "object", - "properties": { - "count": { - "description": "Number of selected nodes using the operating system.", - "type": "number" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "required": [ - "count", - "name" - ] - }, - "cluster.stats:ClusterOperatingSystemPrettyName": { - "type": "object", - "properties": { - "count": { - "description": "Number of selected nodes using the operating system.", - "type": "number" - }, - "pretty_name": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "required": [ - "count", - "pretty_name" - ] - }, - "cluster.stats:NodePackagingType": { - "type": "object", - "properties": { - "count": { - "description": "Number of selected nodes using the distribution flavor and file type.", - "type": "number" - }, - "flavor": { - "description": "Type of Elasticsearch distribution. This is always `default`.", - "type": "string" - }, - "type": { - "description": "File type (such as `tar` or `zip`) used for the distribution package.", - "type": "string" - } - }, - "required": [ - "count", - "flavor", - "type" + "_index", + "_id", + "_source" ] }, - "_types:PluginStats": { + "eql._types:HitsSequence": { "type": "object", "properties": { - "classname": { - "type": "string" - }, - "description": { - "type": "string" - }, - "elasticsearch_version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "extended_plugins": { + "events": { + "description": "Contains events matching the query. Each object represents a matching event.", "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/eql._types:HitsEvent" } }, - "has_native_controller": { - "type": "boolean" - }, - "java_version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "licensed": { - "type": "boolean" - } - }, - "required": [ - "classname", - "description", - "elasticsearch_version", - "extended_plugins", - "has_native_controller", - "java_version", - "name", - "version", - "licensed" - ] - }, - "cluster.stats:ClusterProcess": { - "type": "object", - "properties": { - "cpu": { - "$ref": "#/components/schemas/cluster.stats:ClusterProcessCpu" - }, - "open_file_descriptors": { - "$ref": "#/components/schemas/cluster.stats:ClusterProcessOpenFileDescriptors" - } - }, - "required": [ - "cpu", - "open_file_descriptors" - ] - }, - "cluster.stats:ClusterProcessCpu": { - "type": "object", - "properties": { - "percent": { - "description": "Percentage of CPU used across all selected nodes.\nReturns `-1` if not supported.", - "type": "number" - } - }, - "required": [ - "percent" - ] - }, - "cluster.stats:ClusterProcessOpenFileDescriptors": { - "type": "object", - "properties": { - "avg": { - "description": "Average number of concurrently open file descriptors.\nReturns `-1` if not supported.", - "type": "number" - }, - "max": { - "description": "Maximum number of concurrently open file descriptors allowed across all selected nodes.\nReturns `-1` if not supported.", - "type": "number" - }, - "min": { - "description": "Minimum number of concurrently open file descriptors across all selected nodes.\nReturns -1 if not supported.", - "type": "number" - } - }, - "required": [ - "avg", - "max", - "min" - ] - }, - "nodes._types:NodesResponseBase": { - "type": "object", - "properties": { - "_nodes": { - "$ref": "#/components/schemas/_types:NodeStatistics" - } - } - }, - "_types:NodeStatistics": { - "type": "object", - "properties": { - "failures": { + "join_keys": { + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-syntax.html#eql-sequences" + }, + "description": "Shared field values used to constrain matches in the sequence. These are defined using the by keyword in the EQL query syntax.", "type": "array", "items": { - "$ref": "#/components/schemas/_types:ErrorCause" + "type": "object" } - }, - "total": { - "description": "Total number of nodes selected by the request.", - "type": "number" - }, - "successful": { - "description": "Number of nodes that responded successfully to the request.", - "type": "number" - }, - "failed": { - "description": "Number of nodes that rejected the request or failed to respond. If this value is not 0, a reason for the rejection or failure is included in the response.", - "type": "number" - } - }, - "required": [ - "total", - "successful", - "failed" - ] - }, - "_types:WriteResponseBase": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "_primary_term": { - "type": "number" - }, - "result": { - "$ref": "#/components/schemas/_types:Result" - }, - "_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "_version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "forced_refresh": { - "type": "boolean" - } - }, - "required": [ - "_id", - "_index", - "_primary_term", - "result", - "_seq_no", - "_shards", - "_version" - ] - }, - "_types:Result": { - "type": "string", - "enum": [ - "created", - "updated", - "deleted", - "not_found", - "noop" - ] - }, - "_types:Conflicts": { - "type": "string", - "enum": [ - "abort", - "proceed" - ] - }, - "_types:Slices": { - "description": "Slices configuration used to parallelize a process.", - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "#/components/schemas/_types:SlicesCalculation" - } - ] - }, - "_types:SlicesCalculation": { - "type": "string", - "enum": [ - "auto" - ] - }, - "_types:BulkIndexByScrollFailure": { - "type": "object", - "properties": { - "cause": { - "$ref": "#/components/schemas/_types:ErrorCause" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "status": { - "type": "number" - }, - "type": { - "type": "string" - } - }, - "required": [ - "cause", - "id", - "index", - "status", - "type" - ] - }, - "_types:Retries": { - "type": "object", - "properties": { - "bulk": { - "type": "number" - }, - "search": { - "type": "number" } }, "required": [ - "bulk", - "search" - ] - }, - "_types:TaskId": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } + "events", + "join_keys" ] }, - "enrich.execute_policy:ExecuteEnrichPolicyStatus": { - "type": "object", - "properties": { - "phase": { - "$ref": "#/components/schemas/enrich.execute_policy:EnrichPolicyPhase" - } - }, - "required": [ - "phase" - ] - }, - "enrich.execute_policy:EnrichPolicyPhase": { + "eql.search:ResultPosition": { "type": "string", "enum": [ - "SCHEDULED", - "RUNNING", - "COMPLETE", - "FAILED" + "tail", + "head" ] }, - "enrich._types:Summary": { + "_types:InlineGet": { "type": "object", "properties": { - "config": { + "fields": { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/enrich._types:Policy" - }, - "minProperties": 1, - "maxProperties": 1 - } - }, - "required": [ - "config" - ] - }, - "enrich._types:Policy": { - "type": "object", - "properties": { - "enrich_fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "match_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "query": { - "type": "string" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "elasticsearch_version": { - "type": "string" - } - }, - "required": [ - "enrich_fields", - "indices", - "match_field" - ] - }, - "enrich.stats:CoordinatorStats": { - "type": "object", - "properties": { - "executed_searches_total": { - "type": "number" - }, - "node_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "queue_size": { - "type": "number" - }, - "remote_requests_current": { - "type": "number" - }, - "remote_requests_total": { - "type": "number" - } - }, - "required": [ - "executed_searches_total", - "node_id", - "queue_size", - "remote_requests_current", - "remote_requests_total" - ] - }, - "enrich.stats:ExecutingPolicy": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "task": { - "$ref": "#/components/schemas/tasks._types:TaskInfo" - } - }, - "required": [ - "name", - "task" - ] - }, - "tasks._types:TaskInfo": { - "type": "object", - "properties": { - "action": { - "type": "string" - }, - "cancelled": { - "type": "boolean" + "type": "object" + } }, - "cancellable": { + "found": { "type": "boolean" }, - "description": { - "type": "string" - }, - "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "_seq_no": { + "$ref": "#/components/schemas/_types:SequenceNumber" }, - "id": { + "_primary_term": { "type": "number" }, - "node": { - "$ref": "#/components/schemas/_types:NodeId" - }, - "running_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "running_time_in_nanos": { - "$ref": "#/components/schemas/_types:DurationValueUnitNanos" - }, - "start_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + "_routing": { + "$ref": "#/components/schemas/_types:Routing" }, - "status": { - "description": "Task status information can vary wildly from task to task.", + "_source": { "type": "object" - }, - "type": { - "type": "string" - }, - "parent_task_id": { - "$ref": "#/components/schemas/_types:TaskId" } }, "required": [ - "action", - "cancellable", - "headers", - "id", - "node", - "running_time_in_nanos", - "start_time_in_millis", - "type" - ] - }, - "enrich.stats:CacheStats": { - "type": "object", - "properties": { - "node_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "count": { - "type": "number" - }, - "hits": { - "type": "number" - }, - "misses": { - "type": "number" - }, - "evictions": { - "type": "number" - } - }, - "required": [ - "node_id", - "count", - "hits", - "misses", - "evictions" + "found", + "_source" ] }, "_global.field_caps:FieldCapability": { @@ -48040,6 +48105,30 @@ "create" ] }, + "indices.add_block:IndicesBlockOptions": { + "type": "string", + "enum": [ + "metadata", + "read", + "read_only", + "write" + ] + }, + "indices.add_block:IndicesBlockStatus": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "blocked": { + "type": "boolean" + } + }, + "required": [ + "name", + "blocked" + ] + }, "indices.analyze:TextToAnalyze": { "oneOf": [ { @@ -48538,45 +48627,6 @@ "mappings" ] }, - "indices._types:TemplateMapping": { - "type": "object", - "properties": { - "aliases": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:Alias" - } - }, - "index_patterns": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "mappings": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" - }, - "order": { - "type": "number" - }, - "settings": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - } - }, - "required": [ - "aliases", - "index_patterns", - "mappings", - "order", - "settings" - ] - }, "indices.modify_data_stream:Action": { "type": "object", "properties": { @@ -48634,6 +48684,17 @@ } } }, + "_types:ShardsOperationResponseBase": { + "type": "object", + "properties": { + "_shards": { + "$ref": "#/components/schemas/_types:ShardStatistics" + } + }, + "required": [ + "_shards" + ] + }, "indices.resolve_index:ResolveIndexItem": { "type": "object", "properties": { @@ -50372,6 +50433,97 @@ "throttled" ] }, + "license.get:LicenseInformation": { + "type": "object", + "properties": { + "expiry_date": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "expiry_date_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "issue_date": { + "$ref": "#/components/schemas/_types:DateTime" + }, + "issue_date_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + }, + "issued_to": { + "type": "string" + }, + "issuer": { + "type": "string" + }, + "max_nodes": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "max_resource_units": { + "oneOf": [ + { + "type": "number" + }, + { + "nullable": true, + "type": "string" + } + ] + }, + "status": { + "$ref": "#/components/schemas/license._types:LicenseStatus" + }, + "type": { + "$ref": "#/components/schemas/license._types:LicenseType" + }, + "uid": { + "$ref": "#/components/schemas/_types:Uuid" + }, + "start_date_in_millis": { + "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" + } + }, + "required": [ + "issue_date", + "issue_date_in_millis", + "issued_to", + "issuer", + "max_nodes", + "status", + "type", + "uid", + "start_date_in_millis" + ] + }, + "license._types:LicenseStatus": { + "type": "string", + "enum": [ + "active", + "valid", + "invalid", + "expired" + ] + }, + "license._types:LicenseType": { + "type": "string", + "enum": [ + "missing", + "trial", + "basic", + "standard", + "dev", + "silver", + "gold", + "platinum", + "enterprise" + ] + }, "logstash._types:Pipeline": { "type": "object", "properties": { @@ -54577,6 +54729,19 @@ "field_names" ] }, + "_types:NodeIds": { + "oneOf": [ + { + "$ref": "#/components/schemas/_types:NodeId" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types:NodeId" + } + } + ] + }, "ml._types:TrainingPriority": { "type": "string", "enum": [ @@ -55646,6 +55811,102 @@ "_score" ] }, + "_global.reindex:Destination": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:IndexName" + }, + "op_type": { + "$ref": "#/components/schemas/_types:OpType" + }, + "pipeline": { + "description": "The name of the pipeline to use.", + "type": "string" + }, + "routing": { + "$ref": "#/components/schemas/_types:Routing" + }, + "version_type": { + "$ref": "#/components/schemas/_types:VersionType" + } + }, + "required": [ + "index" + ] + }, + "_global.reindex:Source": { + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/_types:Indices" + }, + "query": { + "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" + }, + "remote": { + "$ref": "#/components/schemas/_global.reindex:RemoteSource" + }, + "size": { + "description": "The number of documents to index per batch.\nUse when indexing from remote to ensure that the batches fit within the on-heap buffer, which defaults to a maximum size of 100 MB.", + "type": "number" + }, + "slice": { + "$ref": "#/components/schemas/_types:SlicedScroll" + }, + "sort": { + "$ref": "#/components/schemas/_types:Sort" + }, + "_source": { + "$ref": "#/components/schemas/_types:Fields" + }, + "runtime_mappings": { + "$ref": "#/components/schemas/_types.mapping:RuntimeFields" + } + }, + "required": [ + "index" + ] + }, + "_global.reindex:RemoteSource": { + "type": "object", + "properties": { + "connect_timeout": { + "$ref": "#/components/schemas/_types:Duration" + }, + "headers": { + "description": "An object containing the headers of the request.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "host": { + "$ref": "#/components/schemas/_types:Host" + }, + "username": { + "$ref": "#/components/schemas/_types:Username" + }, + "password": { + "$ref": "#/components/schemas/_types:Password" + }, + "socket_timeout": { + "$ref": "#/components/schemas/_types:Duration" + } + }, + "required": [ + "host" + ] + }, + "_types:Host": { + "type": "string" + }, + "_types:Username": { + "type": "string" + }, + "_types:Password": { + "type": "string" + }, "_global.scripts_painless_execute:PainlessContextSetup": { "type": "object", "properties": { @@ -55886,9 +56147,6 @@ "name" ] }, - "_types:Username": { - "type": "string" - }, "security._types:RoleDescriptor": { "type": "object", "properties": { @@ -56182,17 +56440,138 @@ "name" ] }, - "security._types:ClusterNode": { + "security.has_privileges:ApplicationPrivilegesCheck": { + "type": "object", + "properties": { + "application": { + "description": "The name of the application.", + "type": "string" + }, + "privileges": { + "description": "A list of the privileges that you want to check for the specified resources. May be either application privilege names, or the names of actions that are granted by those privileges", + "type": "array", + "items": { + "type": "string" + } + }, + "resources": { + "description": "A list of resource names against which the privileges should be checked", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "application", + "privileges", + "resources" + ] + }, + "security._types:ClusterPrivilege": { + "type": "string", + "enum": [ + "all", + "cancel_task", + "create_snapshot", + "grant_api_key", + "manage", + "manage_api_key", + "manage_ccr", + "manage_enrich", + "manage_ilm", + "manage_index_templates", + "manage_ingest_pipelines", + "manage_logstash_pipelines", + "manage_ml", + "manage_oidc", + "manage_own_api_key", + "manage_pipeline", + "manage_rollup", + "manage_saml", + "manage_security", + "manage_service_account", + "manage_slm", + "manage_token", + "manage_transform", + "manage_user_profile", + "manage_watcher", + "monitor", + "monitor_ml", + "monitor_rollup", + "monitor_snapshot", + "monitor_text_structure", + "monitor_transform", + "monitor_watcher", + "read_ccr", + "read_ilm", + "read_pipeline", + "read_slm", + "transport_client" + ] + }, + "security.has_privileges:IndexPrivilegesCheck": { + "type": "object", + "properties": { + "names": { + "$ref": "#/components/schemas/_types:Indices" + }, + "privileges": { + "description": "A list of the privileges that you want to check for the specified indices.", + "type": "array", + "items": { + "$ref": "#/components/schemas/security._types:IndexPrivilege" + } + }, + "allow_restricted_indices": { + "description": "This needs to be set to true (default is false) if using wildcards or regexps for patterns that cover restricted indices.\nImplicitly, restricted indices do not match index patterns because restricted indices usually have limited privileges and including them in pattern tests would render most such tests false.\nIf restricted indices are explicitly included in the names list, privileges will be checked against them regardless of the value of allow_restricted_indices.", + "type": "boolean" + } + }, + "required": [ + "names", + "privileges" + ] + }, + "security.has_privileges:ApplicationsPrivileges": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security.has_privileges:ResourcePrivileges" + } + }, + "security.has_privileges:ResourcePrivileges": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/security.has_privileges:Privileges" + } + }, + "security.has_privileges:Privileges": { + "type": "object", + "additionalProperties": { + "type": "boolean" + } + }, + "sql:Column": { "type": "object", "properties": { "name": { "$ref": "#/components/schemas/_types:Name" + }, + "type": { + "type": "string" } }, "required": [ - "name" + "name", + "type" ] }, + "sql:Row": { + "type": "array", + "items": { + "type": "object" + } + }, "synonyms._types:SynonymsUpdateResult": { "type": "object", "properties": { @@ -56371,30 +56750,6 @@ } } }, - "_global.reindex:Destination": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "op_type": { - "$ref": "#/components/schemas/_types:OpType" - }, - "pipeline": { - "description": "The name of the pipeline to use.", - "type": "string" - }, - "routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "version_type": { - "$ref": "#/components/schemas/_types:VersionType" - } - }, - "required": [ - "index" - ] - }, "transform._types:Latest": { "type": "object", "properties": { @@ -56751,75 +57106,6 @@ } } }, - "_global.reindex:Source": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:Indices" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "remote": { - "$ref": "#/components/schemas/_global.reindex:RemoteSource" - }, - "size": { - "description": "The number of documents to index per batch.\nUse when indexing from remote to ensure that the batches fit within the on-heap buffer, which defaults to a maximum size of 100 MB.", - "type": "number" - }, - "slice": { - "$ref": "#/components/schemas/_types:SlicedScroll" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" - }, - "_source": { - "$ref": "#/components/schemas/_types:Fields" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - } - }, - "required": [ - "index" - ] - }, - "_global.reindex:RemoteSource": { - "type": "object", - "properties": { - "connect_timeout": { - "$ref": "#/components/schemas/_types:Duration" - }, - "headers": { - "description": "An object containing the headers of the request.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "host": { - "$ref": "#/components/schemas/_types:Host" - }, - "username": { - "$ref": "#/components/schemas/_types:Username" - }, - "password": { - "$ref": "#/components/schemas/_types:Password" - }, - "socket_timeout": { - "$ref": "#/components/schemas/_types:Duration" - } - }, - "required": [ - "host" - ] - }, - "_types:Host": { - "type": "string" - }, - "_types:Password": { - "type": "string" - }, "_global.update:UpdateWriteResponseBase": { "allOf": [ { @@ -56834,36 +57120,6 @@ } } ] - }, - "_types:InlineGet": { - "type": "object", - "properties": { - "fields": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "found": { - "type": "boolean" - }, - "_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "_primary_term": { - "type": "number" - }, - "_routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "_source": { - "type": "object" - } - }, - "required": [ - "found", - "_source" - ] } } } From 8d00b77140e10fada2241230387392dc5d248df9 Mon Sep 17 00:00:00 2001 From: Sylvain Wallez Date: Mon, 23 Oct 2023 11:30:13 +0200 Subject: [PATCH 13/17] Add openapi conversion in the "contrib" target, misc cleanup --- .github/check-license-headers.sh | 4 +- Makefile | 5 +- compiler/src/transform/schema-to-openapi.ts | 20 +- openapi-converter/Makefile | 10 + openapi-converter/README.md | 14 +- .../clients_schema_to_openapi/.spectral.yaml | 8 +- openapi-converter/schema-wasm-lib/Makefile | 9 - output/openapi/elasticsearch-openapi.json | 93395 ---------------- 8 files changed, 49 insertions(+), 93416 deletions(-) create mode 100644 openapi-converter/Makefile delete mode 100644 openapi-converter/schema-wasm-lib/Makefile delete mode 100644 output/openapi/elasticsearch-openapi.json diff --git a/.github/check-license-headers.sh b/.github/check-license-headers.sh index 9a48a57580..094775c8f6 100755 --- a/.github/check-license-headers.sh +++ b/.github/check-license-headers.sh @@ -27,13 +27,13 @@ function check_license_header { cd "$TOP" nErrors=0 -for f in $(git ls-files | grep '\.ts$'); do +for f in $(git ls-files | grep -v schema-wasm-lib/pkg | grep '\.ts$'); do if ! check_license_header $f; then nErrors=$((nErrors+1)) fi done -for f in $(git ls-files | grep '\.js$'); do +for f in $(git ls-files | grep -v schema-wasm-lib/pkg |grep '\.js$'); do if ! check_license_header $f; then nErrors=$((nErrors+1)) fi diff --git a/Makefile b/Makefile index 76476f4659..a8fa83a89a 100644 --- a/Makefile +++ b/Makefile @@ -47,10 +47,13 @@ clean-dep: ## Clean npm dependencies transform-expand-generics: ## Create a new schema with all generics expanded @npm run transform-expand-generics --prefix compiler +transform-to-openapi: ## Generate the OpenAPI definition from the compiled schema + @npm run transform-to-openapi --prefix compiler + dump-routes: ## Create a new schema with all generics expanded @npm run dump-routes --prefix compiler -contrib: | generate license-check spec-format-fix ## Pre contribution target +contrib: | generate license-check spec-format-fix transform-to-openapi ## Pre contribution target bump: @echo ">> bumping..." diff --git a/compiler/src/transform/schema-to-openapi.ts b/compiler/src/transform/schema-to-openapi.ts index 2e8bb888a3..d039d2d8f0 100644 --- a/compiler/src/transform/schema-to-openapi.ts +++ b/compiler/src/transform/schema-to-openapi.ts @@ -1,9 +1,27 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import {convert_schema_to_openapi} from 'schema-wasm-lib'; import {argv} from "zx"; import {join} from "path"; import {readFileSync, writeFileSync} from "fs"; - const inputPath = argv.input ?? join(__dirname, '..', '..', '..', 'output', 'schema', 'schema.json') const outputPath = argv.output ?? join(__dirname, '..', '..', '..', 'output', 'openapi', 'elasticsearch-serverless-openapi.json') diff --git a/openapi-converter/Makefile b/openapi-converter/Makefile new file mode 100644 index 0000000000..ff23e54cef --- /dev/null +++ b/openapi-converter/Makefile @@ -0,0 +1,10 @@ +REQUIRED_BINS := wasm-pack cargo +$(foreach bin,$(REQUIRED_BINS),\ + $(if $(shell command -v $(bin) 2> /dev/null),,$(error Please install `$(bin)`))) + +.PHONY: schema-wasm-lib + +schema-wasm-lib: + wasm-pack build --release -t nodejs schema-wasm-lib + # we do commit the result in git + rm schema-wasm-lib/pkg/.gitignore diff --git a/openapi-converter/README.md b/openapi-converter/README.md index e77df3dbd7..046224c186 100644 --- a/openapi-converter/README.md +++ b/openapi-converter/README.md @@ -1,8 +1,14 @@ -# Elasticsearch Rust client generator and other code-generation utilities written in Rust. +# Rust API schema manipulation utilities -Workspace members: +This directory contains a set of Rust crates to manipulate and transform the API specification's `schema.json` file. The primary feature is conversion of `schema.json` to an OpenAPI schema for Elasticsearch Serverless. + +## Workspace members * [`clients_schema`](./clients_schema/): a Rust implementation of the [Elasticsearch specification schema](https://github.com/elastic/elasticsearch-specification/blob/main/compiler/src/model/metamodel.ts) metamodel. * [`clients_schema_to_openapi`](./clients_schema_to_openapi): conversion of the `schema.json` format to OpenAPI. Supersedes [elasticsearch-openapi](https://github.com/elastic/elasticsearch-openapi). -* [`openapi_to_clients_schema`](./openapi_to_clients_schema): experimental, translate an OpenAPI specification to an Elasticsearch - schema that can be used as input for code generation. +* [`schema-wasm-lib`](./schema-wasm-lib): a WebAssembly library that exposes features of this workspace, to allow its use from the larger [schema toolchain](../compiler). +* [`openapi_to_clients_schema`](./openapi_to_clients_schema): experimental, incomplete, work in progress: translate an OpenAPI specification to an Elasticsearch schema that can be used as input for code generation. + +## Building + +The output of this directory is the `schema-wasm-lib` WebAssembly library. It must be built and committed in this repository every time the Rust code is changed. diff --git a/openapi-converter/clients_schema_to_openapi/.spectral.yaml b/openapi-converter/clients_schema_to_openapi/.spectral.yaml index 57857d785e..c4f537b2af 100644 --- a/openapi-converter/clients_schema_to_openapi/.spectral.yaml +++ b/openapi-converter/clients_schema_to_openapi/.spectral.yaml @@ -4,7 +4,7 @@ extends: ["spectral:oas"] # Silence some rules rules: - operation-tags: off # Operation must have non-empty "tags" array. - oas3-api-servers: off # OpenAPI "servers" must be present and non-empty array. - info-contact: off # Info object must have "contact" object. - info-description: off # Info "description" must be present and non-empty string + oas3-api-servers: off # OpenAPI "servers" must be present and non-empty array. + info-contact: off # Info object must have "contact" object. + info-description: off # Info "description" must be present and non-empty string. + operation-tag-defined: off # Operation tags must be defined in global tags. diff --git a/openapi-converter/schema-wasm-lib/Makefile b/openapi-converter/schema-wasm-lib/Makefile deleted file mode 100644 index ef80acef57..0000000000 --- a/openapi-converter/schema-wasm-lib/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -REQUIRED_BINS := wasm-pack -$(foreach bin,$(REQUIRED_BINS),\ - $(if $(shell command -v $(bin) 2> /dev/null),,$(error Please install `$(bin)`))) - -.PHONY: pkg - -pkg: - wasm-pack build --release -t nodejs - rm pkg/.gitignore diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json deleted file mode 100644 index 229706ffed..0000000000 --- a/output/openapi/elasticsearch-openapi.json +++ /dev/null @@ -1,93395 +0,0 @@ -{ - "openapi": "3.0.3", - "info": { - "title": "Elasticsearch Request & Response Specification", - "license": { - "name": "Apache 2.0", - "url": "https://github.com/elastic/elasticsearch-specification/blob/main/LICENSE" - }, - "version": "" - }, - "paths": { - "/_async_search/{id}": { - "get": { - "description": "Retrieves the results of a previously submitted async search request given its ID.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" - }, - "operationId": "async_search.get#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "A unique identifier for the async search.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "keep_alive", - "description": "Specifies how long the async search should be available in the cluster.\nWhen not specified, the `keep_alive` set with the corresponding submit async request will be used.\nOtherwise, it is possible to override the value and extend the validity of the request.\nWhen this period expires, the search, if still running, is cancelled.\nIf the search is completed, its saved results are deleted.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "typed_keys", - "description": "Specify whether aggregation and suggester names should be prefixed by their respective types in the response", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_completion_timeout", - "description": "Specifies to wait for the search to be completed up until the provided timeout.\nFinal results will be returned if available before the timeout expires, otherwise the currently available results will be returned once the timeout expires.\nBy default no timeout is set meaning that the currently available results will be returned without any additional wait.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/async_search._types:AsyncSearchDocumentResponseBase" - } - } - } - } - } - }, - "delete": { - "description": "Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" - }, - "operationId": "async_search.delete#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "A unique identifier for the async search.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_async_search/status/{id}": { - "get": { - "description": "Retrieves the status of a previously submitted async search request given its ID.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" - }, - "operationId": "async_search.status#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "A unique identifier for the async search.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/async_search.status:StatusResponseBase" - } - } - } - } - } - } - }, - "/_async_search": { - "post": { - "description": "Executes a search request asynchronously.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" - }, - "operationId": "async_search.submit#0", - "parameters": [ - { - "$ref": "#/components/parameters/async_search.submit#wait_for_completion_timeout" - }, - { - "$ref": "#/components/parameters/async_search.submit#keep_on_completion" - }, - { - "$ref": "#/components/parameters/async_search.submit#keep_alive" - }, - { - "$ref": "#/components/parameters/async_search.submit#allow_no_indices" - }, - { - "$ref": "#/components/parameters/async_search.submit#allow_partial_search_results" - }, - { - "$ref": "#/components/parameters/async_search.submit#analyzer" - }, - { - "$ref": "#/components/parameters/async_search.submit#analyze_wildcard" - }, - { - "$ref": "#/components/parameters/async_search.submit#batched_reduce_size" - }, - { - "$ref": "#/components/parameters/async_search.submit#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/async_search.submit#default_operator" - }, - { - "$ref": "#/components/parameters/async_search.submit#df" - }, - { - "$ref": "#/components/parameters/async_search.submit#docvalue_fields" - }, - { - "$ref": "#/components/parameters/async_search.submit#expand_wildcards" - }, - { - "$ref": "#/components/parameters/async_search.submit#explain" - }, - { - "$ref": "#/components/parameters/async_search.submit#ignore_throttled" - }, - { - "$ref": "#/components/parameters/async_search.submit#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/async_search.submit#lenient" - }, - { - "$ref": "#/components/parameters/async_search.submit#max_concurrent_shard_requests" - }, - { - "$ref": "#/components/parameters/async_search.submit#min_compatible_shard_node" - }, - { - "$ref": "#/components/parameters/async_search.submit#preference" - }, - { - "$ref": "#/components/parameters/async_search.submit#pre_filter_shard_size" - }, - { - "$ref": "#/components/parameters/async_search.submit#request_cache" - }, - { - "$ref": "#/components/parameters/async_search.submit#routing" - }, - { - "$ref": "#/components/parameters/async_search.submit#scroll" - }, - { - "$ref": "#/components/parameters/async_search.submit#search_type" - }, - { - "$ref": "#/components/parameters/async_search.submit#stats" - }, - { - "$ref": "#/components/parameters/async_search.submit#stored_fields" - }, - { - "$ref": "#/components/parameters/async_search.submit#suggest_field" - }, - { - "$ref": "#/components/parameters/async_search.submit#suggest_mode" - }, - { - "$ref": "#/components/parameters/async_search.submit#suggest_size" - }, - { - "$ref": "#/components/parameters/async_search.submit#suggest_text" - }, - { - "$ref": "#/components/parameters/async_search.submit#terminate_after" - }, - { - "$ref": "#/components/parameters/async_search.submit#timeout" - }, - { - "$ref": "#/components/parameters/async_search.submit#track_total_hits" - }, - { - "$ref": "#/components/parameters/async_search.submit#track_scores" - }, - { - "$ref": "#/components/parameters/async_search.submit#typed_keys" - }, - { - "$ref": "#/components/parameters/async_search.submit#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/async_search.submit#version" - }, - { - "$ref": "#/components/parameters/async_search.submit#_source" - }, - { - "$ref": "#/components/parameters/async_search.submit#_source_excludes" - }, - { - "$ref": "#/components/parameters/async_search.submit#_source_includes" - }, - { - "$ref": "#/components/parameters/async_search.submit#seq_no_primary_term" - }, - { - "$ref": "#/components/parameters/async_search.submit#q" - }, - { - "$ref": "#/components/parameters/async_search.submit#size" - }, - { - "$ref": "#/components/parameters/async_search.submit#from" - }, - { - "$ref": "#/components/parameters/async_search.submit#sort" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/async_search.submit" - }, - "responses": { - "200": { - "$ref": "#/components/responses/async_search.submit#200" - } - } - } - }, - "/{index}/_async_search": { - "post": { - "description": "Executes a search request asynchronously.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html" - }, - "operationId": "async_search.submit#1", - "parameters": [ - { - "$ref": "#/components/parameters/async_search.submit#index" - }, - { - "$ref": "#/components/parameters/async_search.submit#wait_for_completion_timeout" - }, - { - "$ref": "#/components/parameters/async_search.submit#keep_on_completion" - }, - { - "$ref": "#/components/parameters/async_search.submit#keep_alive" - }, - { - "$ref": "#/components/parameters/async_search.submit#allow_no_indices" - }, - { - "$ref": "#/components/parameters/async_search.submit#allow_partial_search_results" - }, - { - "$ref": "#/components/parameters/async_search.submit#analyzer" - }, - { - "$ref": "#/components/parameters/async_search.submit#analyze_wildcard" - }, - { - "$ref": "#/components/parameters/async_search.submit#batched_reduce_size" - }, - { - "$ref": "#/components/parameters/async_search.submit#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/async_search.submit#default_operator" - }, - { - "$ref": "#/components/parameters/async_search.submit#df" - }, - { - "$ref": "#/components/parameters/async_search.submit#docvalue_fields" - }, - { - "$ref": "#/components/parameters/async_search.submit#expand_wildcards" - }, - { - "$ref": "#/components/parameters/async_search.submit#explain" - }, - { - "$ref": "#/components/parameters/async_search.submit#ignore_throttled" - }, - { - "$ref": "#/components/parameters/async_search.submit#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/async_search.submit#lenient" - }, - { - "$ref": "#/components/parameters/async_search.submit#max_concurrent_shard_requests" - }, - { - "$ref": "#/components/parameters/async_search.submit#min_compatible_shard_node" - }, - { - "$ref": "#/components/parameters/async_search.submit#preference" - }, - { - "$ref": "#/components/parameters/async_search.submit#pre_filter_shard_size" - }, - { - "$ref": "#/components/parameters/async_search.submit#request_cache" - }, - { - "$ref": "#/components/parameters/async_search.submit#routing" - }, - { - "$ref": "#/components/parameters/async_search.submit#scroll" - }, - { - "$ref": "#/components/parameters/async_search.submit#search_type" - }, - { - "$ref": "#/components/parameters/async_search.submit#stats" - }, - { - "$ref": "#/components/parameters/async_search.submit#stored_fields" - }, - { - "$ref": "#/components/parameters/async_search.submit#suggest_field" - }, - { - "$ref": "#/components/parameters/async_search.submit#suggest_mode" - }, - { - "$ref": "#/components/parameters/async_search.submit#suggest_size" - }, - { - "$ref": "#/components/parameters/async_search.submit#suggest_text" - }, - { - "$ref": "#/components/parameters/async_search.submit#terminate_after" - }, - { - "$ref": "#/components/parameters/async_search.submit#timeout" - }, - { - "$ref": "#/components/parameters/async_search.submit#track_total_hits" - }, - { - "$ref": "#/components/parameters/async_search.submit#track_scores" - }, - { - "$ref": "#/components/parameters/async_search.submit#typed_keys" - }, - { - "$ref": "#/components/parameters/async_search.submit#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/async_search.submit#version" - }, - { - "$ref": "#/components/parameters/async_search.submit#_source" - }, - { - "$ref": "#/components/parameters/async_search.submit#_source_excludes" - }, - { - "$ref": "#/components/parameters/async_search.submit#_source_includes" - }, - { - "$ref": "#/components/parameters/async_search.submit#seq_no_primary_term" - }, - { - "$ref": "#/components/parameters/async_search.submit#q" - }, - { - "$ref": "#/components/parameters/async_search.submit#size" - }, - { - "$ref": "#/components/parameters/async_search.submit#from" - }, - { - "$ref": "#/components/parameters/async_search.submit#sort" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/async_search.submit" - }, - "responses": { - "200": { - "$ref": "#/components/responses/async_search.submit#200" - } - } - } - }, - "/_autoscaling/policy/{name}": { - "get": { - "description": "Retrieves an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-capacity.html" - }, - "operationId": "autoscaling.get_autoscaling_policy#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "the name of the autoscaling policy", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/autoscaling._types:AutoscalingPolicy" - } - } - } - } - } - }, - "put": { - "description": "Creates a new autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-put-autoscaling-policy.html" - }, - "operationId": "autoscaling.put_autoscaling_policy#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "the name of the autoscaling policy", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/autoscaling._types:AutoscalingPolicy" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - }, - "delete": { - "description": "Deletes an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-delete-autoscaling-policy.html" - }, - "operationId": "autoscaling.delete_autoscaling_policy#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "the name of the autoscaling policy", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_autoscaling/capacity": { - "get": { - "description": "Gets the current autoscaling capacity based on the configured autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-capacity.html" - }, - "operationId": "autoscaling.get_autoscaling_capacity#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "policies": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/autoscaling.get_autoscaling_capacity:AutoscalingDeciders" - } - } - }, - "required": [ - "policies" - ] - } - } - } - } - } - } - }, - "/_bulk": { - "put": { - "description": "Allows to perform multiple index/update/delete operations in a single request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html" - }, - "operationId": "bulk#1", - "parameters": [ - { - "$ref": "#/components/parameters/bulk#pipeline" - }, - { - "$ref": "#/components/parameters/bulk#refresh" - }, - { - "$ref": "#/components/parameters/bulk#routing" - }, - { - "$ref": "#/components/parameters/bulk#_source" - }, - { - "$ref": "#/components/parameters/bulk#_source_excludes" - }, - { - "$ref": "#/components/parameters/bulk#_source_includes" - }, - { - "$ref": "#/components/parameters/bulk#timeout" - }, - { - "$ref": "#/components/parameters/bulk#wait_for_active_shards" - }, - { - "$ref": "#/components/parameters/bulk#require_alias" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/bulk" - }, - "responses": { - "200": { - "$ref": "#/components/responses/bulk#200" - } - } - }, - "post": { - "description": "Allows to perform multiple index/update/delete operations in a single request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html" - }, - "operationId": "bulk#0", - "parameters": [ - { - "$ref": "#/components/parameters/bulk#pipeline" - }, - { - "$ref": "#/components/parameters/bulk#refresh" - }, - { - "$ref": "#/components/parameters/bulk#routing" - }, - { - "$ref": "#/components/parameters/bulk#_source" - }, - { - "$ref": "#/components/parameters/bulk#_source_excludes" - }, - { - "$ref": "#/components/parameters/bulk#_source_includes" - }, - { - "$ref": "#/components/parameters/bulk#timeout" - }, - { - "$ref": "#/components/parameters/bulk#wait_for_active_shards" - }, - { - "$ref": "#/components/parameters/bulk#require_alias" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/bulk" - }, - "responses": { - "200": { - "$ref": "#/components/responses/bulk#200" - } - } - } - }, - "/{index}/_bulk": { - "put": { - "description": "Allows to perform multiple index/update/delete operations in a single request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html" - }, - "operationId": "bulk#3", - "parameters": [ - { - "$ref": "#/components/parameters/bulk#index" - }, - { - "$ref": "#/components/parameters/bulk#pipeline" - }, - { - "$ref": "#/components/parameters/bulk#refresh" - }, - { - "$ref": "#/components/parameters/bulk#routing" - }, - { - "$ref": "#/components/parameters/bulk#_source" - }, - { - "$ref": "#/components/parameters/bulk#_source_excludes" - }, - { - "$ref": "#/components/parameters/bulk#_source_includes" - }, - { - "$ref": "#/components/parameters/bulk#timeout" - }, - { - "$ref": "#/components/parameters/bulk#wait_for_active_shards" - }, - { - "$ref": "#/components/parameters/bulk#require_alias" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/bulk" - }, - "responses": { - "200": { - "$ref": "#/components/responses/bulk#200" - } - } - }, - "post": { - "description": "Allows to perform multiple index/update/delete operations in a single request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html" - }, - "operationId": "bulk#2", - "parameters": [ - { - "$ref": "#/components/parameters/bulk#index" - }, - { - "$ref": "#/components/parameters/bulk#pipeline" - }, - { - "$ref": "#/components/parameters/bulk#refresh" - }, - { - "$ref": "#/components/parameters/bulk#routing" - }, - { - "$ref": "#/components/parameters/bulk#_source" - }, - { - "$ref": "#/components/parameters/bulk#_source_excludes" - }, - { - "$ref": "#/components/parameters/bulk#_source_includes" - }, - { - "$ref": "#/components/parameters/bulk#timeout" - }, - { - "$ref": "#/components/parameters/bulk#wait_for_active_shards" - }, - { - "$ref": "#/components/parameters/bulk#require_alias" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/bulk" - }, - "responses": { - "200": { - "$ref": "#/components/responses/bulk#200" - } - } - } - }, - "/_cat/aliases": { - "get": { - "description": "Shows information about currently configured aliases to indices including filter and routing infos.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-alias.html" - }, - "operationId": "cat.aliases#0", - "parameters": [ - { - "$ref": "#/components/parameters/cat.aliases#expand_wildcards" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.aliases#200" - } - } - } - }, - "/_cat/aliases/{name}": { - "get": { - "description": "Shows information about currently configured aliases to indices including filter and routing infos.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-alias.html" - }, - "operationId": "cat.aliases#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.aliases#name" - }, - { - "$ref": "#/components/parameters/cat.aliases#expand_wildcards" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.aliases#200" - } - } - } - }, - "/_cat/allocation": { - "get": { - "description": "Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-allocation.html" - }, - "operationId": "cat.allocation#0", - "parameters": [ - { - "$ref": "#/components/parameters/cat.allocation#bytes" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.allocation#200" - } - } - } - }, - "/_cat/allocation/{node_id}": { - "get": { - "description": "Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-allocation.html" - }, - "operationId": "cat.allocation#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.allocation#node_id" - }, - { - "$ref": "#/components/parameters/cat.allocation#bytes" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.allocation#200" - } - } - } - }, - "/_cat/component_templates": { - "get": { - "description": "Returns information about existing component_templates templates.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html" - }, - "operationId": "cat.component_templates#0", - "responses": { - "200": { - "$ref": "#/components/responses/cat.component_templates#200" - } - } - } - }, - "/_cat/component_templates/{name}": { - "get": { - "description": "Returns information about existing component_templates templates.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html" - }, - "operationId": "cat.component_templates#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.component_templates#name" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.component_templates#200" - } - } - } - }, - "/_cat/count": { - "get": { - "description": "Provides quick access to the document count of the entire cluster, or individual indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-count.html" - }, - "operationId": "cat.count#0", - "responses": { - "200": { - "$ref": "#/components/responses/cat.count#200" - } - } - } - }, - "/_cat/count/{index}": { - "get": { - "description": "Provides quick access to the document count of the entire cluster, or individual indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-count.html" - }, - "operationId": "cat.count#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.count#index" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.count#200" - } - } - } - }, - "/_cat/fielddata": { - "get": { - "description": "Shows how much heap memory is currently being used by fielddata on every data node in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-fielddata.html" - }, - "operationId": "cat.fielddata#0", - "parameters": [ - { - "$ref": "#/components/parameters/cat.fielddata#bytes" - }, - { - "$ref": "#/components/parameters/cat.fielddata#fields_" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.fielddata#200" - } - } - } - }, - "/_cat/fielddata/{fields}": { - "get": { - "description": "Shows how much heap memory is currently being used by fielddata on every data node in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-fielddata.html" - }, - "operationId": "cat.fielddata#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.fielddata#fields" - }, - { - "$ref": "#/components/parameters/cat.fielddata#bytes" - }, - { - "$ref": "#/components/parameters/cat.fielddata#fields_" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.fielddata#200" - } - } - } - }, - "/_cat/health": { - "get": { - "description": "Returns a concise representation of the cluster health.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-health.html" - }, - "operationId": "cat.health#0", - "parameters": [ - { - "in": "query", - "name": "time", - "description": "The unit used to display time values.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:TimeUnit" - }, - "style": "form" - }, - { - "in": "query", - "name": "ts", - "description": "If true, returns `HH:MM:SS` and Unix epoch timestamps.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.health:HealthRecord" - } - } - } - } - } - } - } - }, - "/_cat": { - "get": { - "description": "Returns help for the Cat APIs.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat.html" - }, - "operationId": "cat.help#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.help:HelpRecord" - } - } - } - } - } - } - } - }, - "/_cat/indices": { - "get": { - "description": "Returns information about indices: number of primaries and replicas, document counts, disk size, ...", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-indices.html" - }, - "operationId": "cat.indices#0", - "parameters": [ - { - "$ref": "#/components/parameters/cat.indices#bytes" - }, - { - "$ref": "#/components/parameters/cat.indices#expand_wildcards" - }, - { - "$ref": "#/components/parameters/cat.indices#health" - }, - { - "$ref": "#/components/parameters/cat.indices#include_unloaded_segments" - }, - { - "$ref": "#/components/parameters/cat.indices#pri" - }, - { - "$ref": "#/components/parameters/cat.indices#time" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.indices#200" - } - } - } - }, - "/_cat/indices/{index}": { - "get": { - "description": "Returns information about indices: number of primaries and replicas, document counts, disk size, ...", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-indices.html" - }, - "operationId": "cat.indices#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.indices#index" - }, - { - "$ref": "#/components/parameters/cat.indices#bytes" - }, - { - "$ref": "#/components/parameters/cat.indices#expand_wildcards" - }, - { - "$ref": "#/components/parameters/cat.indices#health" - }, - { - "$ref": "#/components/parameters/cat.indices#include_unloaded_segments" - }, - { - "$ref": "#/components/parameters/cat.indices#pri" - }, - { - "$ref": "#/components/parameters/cat.indices#time" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.indices#200" - } - } - } - }, - "/_cat/master": { - "get": { - "description": "Returns information about the master node.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-master.html" - }, - "operationId": "cat.master#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.master:MasterRecord" - } - } - } - } - } - } - } - }, - "/_cat/ml/data_frame/analytics": { - "get": { - "description": "Gets configuration and usage information about data frame analytics jobs.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-dfanalytics.html" - }, - "operationId": "cat.ml_data_frame_analytics#0", - "parameters": [ - { - "$ref": "#/components/parameters/cat.ml_data_frame_analytics#allow_no_match" - }, - { - "$ref": "#/components/parameters/cat.ml_data_frame_analytics#bytes" - }, - { - "$ref": "#/components/parameters/cat.ml_data_frame_analytics#h" - }, - { - "$ref": "#/components/parameters/cat.ml_data_frame_analytics#s" - }, - { - "$ref": "#/components/parameters/cat.ml_data_frame_analytics#time" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.ml_data_frame_analytics#200" - } - } - } - }, - "/_cat/ml/data_frame/analytics/{id}": { - "get": { - "description": "Gets configuration and usage information about data frame analytics jobs.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-dfanalytics.html" - }, - "operationId": "cat.ml_data_frame_analytics#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.ml_data_frame_analytics#id" - }, - { - "$ref": "#/components/parameters/cat.ml_data_frame_analytics#allow_no_match" - }, - { - "$ref": "#/components/parameters/cat.ml_data_frame_analytics#bytes" - }, - { - "$ref": "#/components/parameters/cat.ml_data_frame_analytics#h" - }, - { - "$ref": "#/components/parameters/cat.ml_data_frame_analytics#s" - }, - { - "$ref": "#/components/parameters/cat.ml_data_frame_analytics#time" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.ml_data_frame_analytics#200" - } - } - } - }, - "/_cat/ml/datafeeds": { - "get": { - "description": "Gets configuration and usage information about datafeeds.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-datafeeds.html" - }, - "operationId": "cat.ml_datafeeds#0", - "parameters": [ - { - "$ref": "#/components/parameters/cat.ml_datafeeds#allow_no_match" - }, - { - "$ref": "#/components/parameters/cat.ml_datafeeds#h" - }, - { - "$ref": "#/components/parameters/cat.ml_datafeeds#s" - }, - { - "$ref": "#/components/parameters/cat.ml_datafeeds#time" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.ml_datafeeds#200" - } - } - } - }, - "/_cat/ml/datafeeds/{datafeed_id}": { - "get": { - "description": "Gets configuration and usage information about datafeeds.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-datafeeds.html" - }, - "operationId": "cat.ml_datafeeds#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.ml_datafeeds#datafeed_id" - }, - { - "$ref": "#/components/parameters/cat.ml_datafeeds#allow_no_match" - }, - { - "$ref": "#/components/parameters/cat.ml_datafeeds#h" - }, - { - "$ref": "#/components/parameters/cat.ml_datafeeds#s" - }, - { - "$ref": "#/components/parameters/cat.ml_datafeeds#time" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.ml_datafeeds#200" - } - } - } - }, - "/_cat/ml/anomaly_detectors": { - "get": { - "description": "Gets configuration and usage information about anomaly detection jobs.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-anomaly-detectors.html" - }, - "operationId": "cat.ml_jobs#0", - "parameters": [ - { - "$ref": "#/components/parameters/cat.ml_jobs#allow_no_match" - }, - { - "$ref": "#/components/parameters/cat.ml_jobs#bytes" - }, - { - "$ref": "#/components/parameters/cat.ml_jobs#h" - }, - { - "$ref": "#/components/parameters/cat.ml_jobs#s" - }, - { - "$ref": "#/components/parameters/cat.ml_jobs#time" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.ml_jobs#200" - } - } - } - }, - "/_cat/ml/anomaly_detectors/{job_id}": { - "get": { - "description": "Gets configuration and usage information about anomaly detection jobs.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-anomaly-detectors.html" - }, - "operationId": "cat.ml_jobs#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.ml_jobs#job_id" - }, - { - "$ref": "#/components/parameters/cat.ml_jobs#allow_no_match" - }, - { - "$ref": "#/components/parameters/cat.ml_jobs#bytes" - }, - { - "$ref": "#/components/parameters/cat.ml_jobs#h" - }, - { - "$ref": "#/components/parameters/cat.ml_jobs#s" - }, - { - "$ref": "#/components/parameters/cat.ml_jobs#time" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.ml_jobs#200" - } - } - } - }, - "/_cat/ml/trained_models": { - "get": { - "description": "Gets configuration and usage information about inference trained models.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-trained-model.html" - }, - "operationId": "cat.ml_trained_models#0", - "parameters": [ - { - "$ref": "#/components/parameters/cat.ml_trained_models#allow_no_match" - }, - { - "$ref": "#/components/parameters/cat.ml_trained_models#bytes" - }, - { - "$ref": "#/components/parameters/cat.ml_trained_models#h" - }, - { - "$ref": "#/components/parameters/cat.ml_trained_models#s" - }, - { - "$ref": "#/components/parameters/cat.ml_trained_models#from" - }, - { - "$ref": "#/components/parameters/cat.ml_trained_models#size" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.ml_trained_models#200" - } - } - } - }, - "/_cat/ml/trained_models/{model_id}": { - "get": { - "description": "Gets configuration and usage information about inference trained models.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-trained-model.html" - }, - "operationId": "cat.ml_trained_models#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.ml_trained_models#model_id" - }, - { - "$ref": "#/components/parameters/cat.ml_trained_models#allow_no_match" - }, - { - "$ref": "#/components/parameters/cat.ml_trained_models#bytes" - }, - { - "$ref": "#/components/parameters/cat.ml_trained_models#h" - }, - { - "$ref": "#/components/parameters/cat.ml_trained_models#s" - }, - { - "$ref": "#/components/parameters/cat.ml_trained_models#from" - }, - { - "$ref": "#/components/parameters/cat.ml_trained_models#size" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.ml_trained_models#200" - } - } - } - }, - "/_cat/nodeattrs": { - "get": { - "description": "Returns information about custom node attributes.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-nodeattrs.html" - }, - "operationId": "cat.nodeattrs#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.nodeattrs:NodeAttributesRecord" - } - } - } - } - } - } - } - }, - "/_cat/nodes": { - "get": { - "description": "Returns basic statistics about performance of cluster nodes.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-nodes.html" - }, - "operationId": "cat.nodes#0", - "parameters": [ - { - "in": "query", - "name": "bytes", - "description": "The unit used to display byte values.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Bytes" - }, - "style": "form" - }, - { - "in": "query", - "name": "full_id", - "description": "If `true`, return the full node ID. If `false`, return the shortened node ID.", - "deprecated": false, - "schema": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "style": "form" - }, - { - "in": "query", - "name": "include_unloaded_segments", - "description": "If true, the response includes information from segments that are not loaded into memory.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.nodes:NodesRecord" - } - } - } - } - } - } - } - }, - "/_cat/pending_tasks": { - "get": { - "description": "Returns a concise representation of the cluster pending tasks.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-pending-tasks.html" - }, - "operationId": "cat.pending_tasks#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.pending_tasks:PendingTasksRecord" - } - } - } - } - } - } - } - }, - "/_cat/plugins": { - "get": { - "description": "Returns information about installed plugins across nodes node.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-plugins.html" - }, - "operationId": "cat.plugins#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.plugins:PluginsRecord" - } - } - } - } - } - } - } - }, - "/_cat/recovery": { - "get": { - "description": "Returns information about index shard recoveries, both on-going completed.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-recovery.html" - }, - "operationId": "cat.recovery#0", - "parameters": [ - { - "$ref": "#/components/parameters/cat.recovery#active_only" - }, - { - "$ref": "#/components/parameters/cat.recovery#bytes" - }, - { - "$ref": "#/components/parameters/cat.recovery#detailed" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.recovery#200" - } - } - } - }, - "/_cat/recovery/{index}": { - "get": { - "description": "Returns information about index shard recoveries, both on-going completed.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-recovery.html" - }, - "operationId": "cat.recovery#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.recovery#index" - }, - { - "$ref": "#/components/parameters/cat.recovery#active_only" - }, - { - "$ref": "#/components/parameters/cat.recovery#bytes" - }, - { - "$ref": "#/components/parameters/cat.recovery#detailed" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.recovery#200" - } - } - } - }, - "/_cat/repositories": { - "get": { - "description": "Returns information about snapshot repositories registered in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-repositories.html" - }, - "operationId": "cat.repositories#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.repositories:RepositoriesRecord" - } - } - } - } - } - } - } - }, - "/_cat/segments": { - "get": { - "description": "Provides low-level information about the segments in the shards of an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-segments.html" - }, - "operationId": "cat.segments#0", - "parameters": [ - { - "$ref": "#/components/parameters/cat.segments#bytes" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.segments#200" - } - } - } - }, - "/_cat/segments/{index}": { - "get": { - "description": "Provides low-level information about the segments in the shards of an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-segments.html" - }, - "operationId": "cat.segments#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.segments#index" - }, - { - "$ref": "#/components/parameters/cat.segments#bytes" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.segments#200" - } - } - } - }, - "/_cat/shards": { - "get": { - "description": "Provides a detailed view of shard allocation on nodes.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-shards.html" - }, - "operationId": "cat.shards#0", - "parameters": [ - { - "$ref": "#/components/parameters/cat.shards#bytes" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.shards#200" - } - } - } - }, - "/_cat/shards/{index}": { - "get": { - "description": "Provides a detailed view of shard allocation on nodes.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-shards.html" - }, - "operationId": "cat.shards#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.shards#index" - }, - { - "$ref": "#/components/parameters/cat.shards#bytes" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.shards#200" - } - } - } - }, - "/_cat/snapshots": { - "get": { - "description": "Returns all snapshots in a specific repository.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-snapshots.html" - }, - "operationId": "cat.snapshots#0", - "parameters": [ - { - "$ref": "#/components/parameters/cat.snapshots#ignore_unavailable" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.snapshots#200" - } - } - } - }, - "/_cat/snapshots/{repository}": { - "get": { - "description": "Returns all snapshots in a specific repository.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-snapshots.html" - }, - "operationId": "cat.snapshots#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.snapshots#repository" - }, - { - "$ref": "#/components/parameters/cat.snapshots#ignore_unavailable" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.snapshots#200" - } - } - } - }, - "/_cat/tasks": { - "get": { - "description": "Returns information about the tasks currently executing on one or more nodes in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html" - }, - "operationId": "cat.tasks#0", - "parameters": [ - { - "in": "query", - "name": "actions", - "description": "The task action names, which are used to limit the response.", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form" - }, - { - "in": "query", - "name": "detailed", - "description": "If `true`, the response includes detailed information about shard recoveries.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "node_id", - "description": "Unique node identifiers, which are used to limit the response.", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form" - }, - { - "in": "query", - "name": "parent_task_id", - "description": "The parent task identifier, which is used to limit the response.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.tasks:TasksRecord" - } - } - } - } - } - } - } - }, - "/_cat/templates": { - "get": { - "description": "Returns information about existing templates.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-templates.html" - }, - "operationId": "cat.templates#0", - "responses": { - "200": { - "$ref": "#/components/responses/cat.templates#200" - } - } - } - }, - "/_cat/templates/{name}": { - "get": { - "description": "Returns information about existing templates.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-templates.html" - }, - "operationId": "cat.templates#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.templates#name" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.templates#200" - } - } - } - }, - "/_cat/thread_pool": { - "get": { - "description": "Returns cluster-wide thread pool statistics per node.\nBy default the active, queue and rejected statistics are returned for all thread pools.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-thread-pool.html" - }, - "operationId": "cat.thread_pool#0", - "parameters": [ - { - "$ref": "#/components/parameters/cat.thread_pool#time" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.thread_pool#200" - } - } - } - }, - "/_cat/thread_pool/{thread_pool_patterns}": { - "get": { - "description": "Returns cluster-wide thread pool statistics per node.\nBy default the active, queue and rejected statistics are returned for all thread pools.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-thread-pool.html" - }, - "operationId": "cat.thread_pool#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.thread_pool#thread_pool_patterns" - }, - { - "$ref": "#/components/parameters/cat.thread_pool#time" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.thread_pool#200" - } - } - } - }, - "/_cat/transforms": { - "get": { - "description": "Gets configuration and usage information about transforms.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-transforms.html" - }, - "operationId": "cat.transforms#0", - "parameters": [ - { - "$ref": "#/components/parameters/cat.transforms#allow_no_match" - }, - { - "$ref": "#/components/parameters/cat.transforms#from" - }, - { - "$ref": "#/components/parameters/cat.transforms#h" - }, - { - "$ref": "#/components/parameters/cat.transforms#s" - }, - { - "$ref": "#/components/parameters/cat.transforms#time" - }, - { - "$ref": "#/components/parameters/cat.transforms#size" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.transforms#200" - } - } - } - }, - "/_cat/transforms/{transform_id}": { - "get": { - "description": "Gets configuration and usage information about transforms.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-transforms.html" - }, - "operationId": "cat.transforms#1", - "parameters": [ - { - "$ref": "#/components/parameters/cat.transforms#transform_id" - }, - { - "$ref": "#/components/parameters/cat.transforms#allow_no_match" - }, - { - "$ref": "#/components/parameters/cat.transforms#from" - }, - { - "$ref": "#/components/parameters/cat.transforms#h" - }, - { - "$ref": "#/components/parameters/cat.transforms#s" - }, - { - "$ref": "#/components/parameters/cat.transforms#time" - }, - { - "$ref": "#/components/parameters/cat.transforms#size" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cat.transforms#200" - } - } - } - }, - "/_ccr/auto_follow/{name}": { - "get": { - "description": "Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-auto-follow-pattern.html" - }, - "operationId": "ccr.get_auto_follow_pattern#1", - "parameters": [ - { - "$ref": "#/components/parameters/ccr.get_auto_follow_pattern#name" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ccr.get_auto_follow_pattern#200" - } - } - }, - "put": { - "description": "Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-auto-follow-pattern.html" - }, - "operationId": "ccr.put_auto_follow_pattern#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "The name of the collection of auto-follow patterns.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "remote_cluster": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-remote-clusters.html" - }, - "description": "The remote cluster containing the leader indices to match against.", - "type": "string" - }, - "follow_index_pattern": { - "$ref": "#/components/schemas/_types:IndexPattern" - }, - "leader_index_patterns": { - "$ref": "#/components/schemas/_types:IndexPatterns" - }, - "leader_index_exclusion_patterns": { - "$ref": "#/components/schemas/_types:IndexPatterns" - }, - "max_outstanding_read_requests": { - "description": "The maximum number of outstanding reads requests from the remote cluster.", - "type": "number" - }, - "settings": { - "description": "Settings to override from the leader index. Note that certain settings can not be overrode (e.g., index.number_of_shards).", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "max_outstanding_write_requests": { - "description": "The maximum number of outstanding reads requests from the remote cluster.", - "type": "number" - }, - "read_poll_timeout": { - "$ref": "#/components/schemas/_types:Duration" - }, - "max_read_request_operation_count": { - "description": "The maximum number of operations to pull per read from the remote cluster.", - "type": "number" - }, - "max_read_request_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "max_retry_delay": { - "$ref": "#/components/schemas/_types:Duration" - }, - "max_write_buffer_count": { - "description": "The maximum number of operations that can be queued for writing. When this limit is reached, reads from the remote cluster will be deferred until the number of queued operations goes below the limit.", - "type": "number" - }, - "max_write_buffer_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "max_write_request_operation_count": { - "description": "The maximum number of operations per bulk write request executed on the follower.", - "type": "number" - }, - "max_write_request_size": { - "$ref": "#/components/schemas/_types:ByteSize" - } - }, - "required": [ - "remote_cluster" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - }, - "delete": { - "description": "Deletes auto-follow patterns.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-delete-auto-follow-pattern.html" - }, - "operationId": "ccr.delete_auto_follow_pattern#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "The name of the auto follow pattern.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/{index}/_ccr/follow": { - "put": { - "description": "Creates a new follower index configured to follow the referenced leader index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-follow.html" - }, - "operationId": "ccr.follow#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "The name of the follower index", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - { - "in": "query", - "name": "wait_for_active_shards", - "description": "Sets the number of shard copies that must be active before returning. Defaults to 0. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "leader_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "max_outstanding_read_requests": { - "type": "number" - }, - "max_outstanding_write_requests": { - "type": "number" - }, - "max_read_request_operation_count": { - "type": "number" - }, - "max_read_request_size": { - "type": "string" - }, - "max_retry_delay": { - "$ref": "#/components/schemas/_types:Duration" - }, - "max_write_buffer_count": { - "type": "number" - }, - "max_write_buffer_size": { - "type": "string" - }, - "max_write_request_operation_count": { - "type": "number" - }, - "max_write_request_size": { - "type": "string" - }, - "read_poll_timeout": { - "$ref": "#/components/schemas/_types:Duration" - }, - "remote_cluster": { - "type": "string" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "follow_index_created": { - "type": "boolean" - }, - "follow_index_shards_acked": { - "type": "boolean" - }, - "index_following_started": { - "type": "boolean" - } - }, - "required": [ - "follow_index_created", - "follow_index_shards_acked", - "index_following_started" - ] - } - } - } - } - } - } - }, - "/{index}/_ccr/info": { - "get": { - "description": "Retrieves information about all follower indices, including parameters and status for each follower index", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-info.html" - }, - "operationId": "ccr.follow_info#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "A comma-separated list of index patterns; use `_all` to perform the operation on all indices", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "follower_indices": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ccr.follow_info:FollowerIndex" - } - } - }, - "required": [ - "follower_indices" - ] - } - } - } - } - } - } - }, - "/{index}/_ccr/stats": { - "get": { - "description": "Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-stats.html" - }, - "operationId": "ccr.follow_stats#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "A comma-separated list of index patterns; use `_all` to perform the operation on all indices", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "indices": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ccr._types:FollowIndexStats" - } - } - }, - "required": [ - "indices" - ] - } - } - } - } - } - } - }, - "/{index}/_ccr/forget_follower": { - "post": { - "description": "Removes the follower retention leases from the leader.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-forget-follower.html" - }, - "operationId": "ccr.forget_follower#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "the name of the leader index for which specified follower retention leases should be removed", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "follower_cluster": { - "type": "string" - }, - "follower_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "follower_index_uuid": { - "$ref": "#/components/schemas/_types:Uuid" - }, - "leader_remote_cluster": { - "type": "string" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - } - }, - "required": [ - "_shards" - ] - } - } - } - } - } - } - }, - "/_ccr/auto_follow": { - "get": { - "description": "Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-auto-follow-pattern.html" - }, - "operationId": "ccr.get_auto_follow_pattern#0", - "responses": { - "200": { - "$ref": "#/components/responses/ccr.get_auto_follow_pattern#200" - } - } - } - }, - "/_ccr/auto_follow/{name}/pause": { - "post": { - "description": "Pauses an auto-follow pattern", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-pause-auto-follow-pattern.html" - }, - "operationId": "ccr.pause_auto_follow_pattern#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "The name of the auto follow pattern that should pause discovering new indices to follow.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/{index}/_ccr/pause_follow": { - "post": { - "description": "Pauses a follower index. The follower index will not fetch any additional operations from the leader index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-pause-follow.html" - }, - "operationId": "ccr.pause_follow#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "The name of the follower index that should pause following its leader index.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ccr/auto_follow/{name}/resume": { - "post": { - "description": "Resumes an auto-follow pattern that has been paused", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-resume-auto-follow-pattern.html" - }, - "operationId": "ccr.resume_auto_follow_pattern#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "The name of the auto follow pattern to resume discovering new indices to follow.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/{index}/_ccr/resume_follow": { - "post": { - "description": "Resumes a follower index that has been paused", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-resume-follow.html" - }, - "operationId": "ccr.resume_follow#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "The name of the follow index to resume following.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "max_outstanding_read_requests": { - "type": "number" - }, - "max_outstanding_write_requests": { - "type": "number" - }, - "max_read_request_operation_count": { - "type": "number" - }, - "max_read_request_size": { - "type": "string" - }, - "max_retry_delay": { - "$ref": "#/components/schemas/_types:Duration" - }, - "max_write_buffer_count": { - "type": "number" - }, - "max_write_buffer_size": { - "type": "string" - }, - "max_write_request_operation_count": { - "type": "number" - }, - "max_write_request_size": { - "type": "string" - }, - "read_poll_timeout": { - "$ref": "#/components/schemas/_types:Duration" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ccr/stats": { - "get": { - "description": "Gets all stats related to cross-cluster replication.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-stats.html" - }, - "operationId": "ccr.stats#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "auto_follow_stats": { - "$ref": "#/components/schemas/ccr.stats:AutoFollowStats" - }, - "follow_stats": { - "$ref": "#/components/schemas/ccr.stats:FollowStats" - } - }, - "required": [ - "auto_follow_stats", - "follow_stats" - ] - } - } - } - } - } - } - }, - "/{index}/_ccr/unfollow": { - "post": { - "description": "Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-unfollow.html" - }, - "operationId": "ccr.unfollow#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "The name of the follower index that should be turned into a regular index.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_search/scroll": { - "get": { - "description": "Allows to retrieve a large numbers of results from a single search request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" - }, - "operationId": "scroll#0", - "parameters": [ - { - "$ref": "#/components/parameters/scroll#scroll" - }, - { - "$ref": "#/components/parameters/scroll#scroll_id_" - }, - { - "$ref": "#/components/parameters/scroll#rest_total_hits_as_int" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/scroll" - }, - "responses": { - "200": { - "$ref": "#/components/responses/scroll#200" - } - } - }, - "post": { - "description": "Allows to retrieve a large numbers of results from a single search request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" - }, - "operationId": "scroll#1", - "parameters": [ - { - "$ref": "#/components/parameters/scroll#scroll" - }, - { - "$ref": "#/components/parameters/scroll#scroll_id_" - }, - { - "$ref": "#/components/parameters/scroll#rest_total_hits_as_int" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/scroll" - }, - "responses": { - "200": { - "$ref": "#/components/responses/scroll#200" - } - } - }, - "delete": { - "description": "Explicitly clears the search context for a scroll.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-scroll-api.html" - }, - "operationId": "clear_scroll#0", - "requestBody": { - "$ref": "#/components/requestBodies/clear_scroll" - }, - "responses": { - "200": { - "$ref": "#/components/responses/clear_scroll#200" - } - } - } - }, - "/_search/scroll/{scroll_id}": { - "get": { - "description": "Allows to retrieve a large numbers of results from a single search request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" - }, - "operationId": "scroll#2", - "parameters": [ - { - "$ref": "#/components/parameters/scroll#scroll_id" - }, - { - "$ref": "#/components/parameters/scroll#scroll" - }, - { - "$ref": "#/components/parameters/scroll#scroll_id_" - }, - { - "$ref": "#/components/parameters/scroll#rest_total_hits_as_int" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/scroll" - }, - "responses": { - "200": { - "$ref": "#/components/responses/scroll#200" - } - } - }, - "post": { - "description": "Allows to retrieve a large numbers of results from a single search request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" - }, - "operationId": "scroll#3", - "parameters": [ - { - "$ref": "#/components/parameters/scroll#scroll_id" - }, - { - "$ref": "#/components/parameters/scroll#scroll" - }, - { - "$ref": "#/components/parameters/scroll#scroll_id_" - }, - { - "$ref": "#/components/parameters/scroll#rest_total_hits_as_int" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/scroll" - }, - "responses": { - "200": { - "$ref": "#/components/responses/scroll#200" - } - } - }, - "delete": { - "description": "Explicitly clears the search context for a scroll.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-scroll-api.html" - }, - "operationId": "clear_scroll#1", - "parameters": [ - { - "$ref": "#/components/parameters/clear_scroll#scroll_id" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/clear_scroll" - }, - "responses": { - "200": { - "$ref": "#/components/responses/clear_scroll#200" - } - } - } - }, - "/_pit": { - "delete": { - "description": "Close a point in time", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/point-in-time-api.html" - }, - "operationId": "close_point_in_time#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - } - }, - "required": [ - "id" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "succeeded": { - "type": "boolean" - }, - "num_freed": { - "type": "number" - } - }, - "required": [ - "succeeded", - "num_freed" - ] - } - } - } - } - } - } - }, - "/_cluster/allocation/explain": { - "get": { - "description": "Provides explanations for shard allocations in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-allocation-explain.html" - }, - "operationId": "cluster.allocation_explain#0", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.allocation_explain#include_disk_info" - }, - { - "$ref": "#/components/parameters/cluster.allocation_explain#include_yes_decisions" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/cluster.allocation_explain" - }, - "responses": { - "200": { - "$ref": "#/components/responses/cluster.allocation_explain#200" - } - } - }, - "post": { - "description": "Provides explanations for shard allocations in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-allocation-explain.html" - }, - "operationId": "cluster.allocation_explain#1", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.allocation_explain#include_disk_info" - }, - { - "$ref": "#/components/parameters/cluster.allocation_explain#include_yes_decisions" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/cluster.allocation_explain" - }, - "responses": { - "200": { - "$ref": "#/components/responses/cluster.allocation_explain#200" - } - } - } - }, - "/_component_template/{name}": { - "get": { - "description": "Returns one or more component templates", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" - }, - "operationId": "cluster.get_component_template#1", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.get_component_template#name" - }, - { - "$ref": "#/components/parameters/cluster.get_component_template#flat_settings" - }, - { - "$ref": "#/components/parameters/cluster.get_component_template#include_defaults" - }, - { - "$ref": "#/components/parameters/cluster.get_component_template#local" - }, - { - "$ref": "#/components/parameters/cluster.get_component_template#master_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cluster.get_component_template#200" - } - } - }, - "put": { - "description": "Creates or updates a component template", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" - }, - "operationId": "cluster.put_component_template#0", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.put_component_template#name" - }, - { - "$ref": "#/components/parameters/cluster.put_component_template#create" - }, - { - "$ref": "#/components/parameters/cluster.put_component_template#master_timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/cluster.put_component_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/cluster.put_component_template#200" - } - } - }, - "post": { - "description": "Creates or updates a component template", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" - }, - "operationId": "cluster.put_component_template#1", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.put_component_template#name" - }, - { - "$ref": "#/components/parameters/cluster.put_component_template#create" - }, - { - "$ref": "#/components/parameters/cluster.put_component_template#master_timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/cluster.put_component_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/cluster.put_component_template#200" - } - } - }, - "delete": { - "description": "Deletes a component template", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" - }, - "operationId": "cluster.delete_component_template#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Comma-separated list or wildcard expression of component template names used to limit the request.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - }, - "head": { - "description": "Returns information about whether a particular component template exist", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" - }, - "operationId": "cluster.exists_component_template#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Comma-separated list of component template names used to limit the request.\nWildcard (*) expressions are supported.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "local", - "description": "If true, the request retrieves information from the local node only.\nDefaults to false, which means information is retrieved from the master node.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": {} - } - } - } - } - }, - "/_cluster/voting_config_exclusions": { - "post": { - "description": "Updates the cluster voting config exclusions by node ids or node names.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/voting-config-exclusions.html" - }, - "operationId": "cluster.post_voting_config_exclusions#0", - "parameters": [ - { - "in": "query", - "name": "node_names", - "description": "A comma-separated list of the names of the nodes to exclude from the\nvoting configuration. If specified, you may not also specify node_ids.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "form" - }, - { - "in": "query", - "name": "node_ids", - "description": "A comma-separated list of the persistent ids of the nodes to exclude\nfrom the voting configuration. If specified, you may not also specify node_names.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Ids" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "When adding a voting configuration exclusion, the API waits for the\nspecified nodes to be excluded from the voting configuration before\nreturning. If the timeout expires before the appropriate condition\nis satisfied, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": {} - } - } - } - }, - "delete": { - "description": "Clears cluster voting config exclusions.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/voting-config-exclusions.html" - }, - "operationId": "cluster.delete_voting_config_exclusions#0", - "parameters": [ - { - "in": "query", - "name": "wait_for_removal", - "description": "Specifies whether to wait for all excluded nodes to be removed from the\ncluster before clearing the voting configuration exclusions list.\nDefaults to true, meaning that all excluded nodes must be removed from\nthe cluster before this API takes any action. If set to false then the\nvoting configuration exclusions list is cleared even if some excluded\nnodes are still in the cluster.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": {} - } - } - } - } - }, - "/_component_template": { - "get": { - "description": "Returns one or more component templates", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" - }, - "operationId": "cluster.get_component_template#0", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.get_component_template#flat_settings" - }, - { - "$ref": "#/components/parameters/cluster.get_component_template#include_defaults" - }, - { - "$ref": "#/components/parameters/cluster.get_component_template#local" - }, - { - "$ref": "#/components/parameters/cluster.get_component_template#master_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cluster.get_component_template#200" - } - } - } - }, - "/_cluster/settings": { - "get": { - "description": "Returns cluster settings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-get-settings.html" - }, - "operationId": "cluster.get_settings#0", - "parameters": [ - { - "in": "query", - "name": "flat_settings", - "description": "If `true`, returns settings in flat format.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "include_defaults", - "description": "If `true`, returns default cluster settings from the local node.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "persistent": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "transient": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "defaults": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - }, - "required": [ - "persistent", - "transient" - ] - } - } - } - } - } - }, - "put": { - "description": "Updates the cluster settings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-update-settings.html" - }, - "operationId": "cluster.put_settings#0", - "parameters": [ - { - "in": "query", - "name": "flat_settings", - "description": "Return settings in flat format (default: false)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Explicit operation timeout for connection to master node", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Explicit operation timeout", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "persistent": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "transient": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledged": { - "type": "boolean" - }, - "persistent": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "transient": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - }, - "required": [ - "acknowledged", - "persistent", - "transient" - ] - } - } - } - } - } - } - }, - "/_cluster/health": { - "get": { - "description": "Returns basic information about the health of the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-health.html" - }, - "operationId": "cluster.health#0", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.health#expand_wildcards" - }, - { - "$ref": "#/components/parameters/cluster.health#level" - }, - { - "$ref": "#/components/parameters/cluster.health#local" - }, - { - "$ref": "#/components/parameters/cluster.health#master_timeout" - }, - { - "$ref": "#/components/parameters/cluster.health#timeout" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_active_shards" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_events" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_nodes" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_no_initializing_shards" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_no_relocating_shards" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_status" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cluster.health#200" - } - } - } - }, - "/_cluster/health/{index}": { - "get": { - "description": "Returns basic information about the health of the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-health.html" - }, - "operationId": "cluster.health#1", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.health#index" - }, - { - "$ref": "#/components/parameters/cluster.health#expand_wildcards" - }, - { - "$ref": "#/components/parameters/cluster.health#level" - }, - { - "$ref": "#/components/parameters/cluster.health#local" - }, - { - "$ref": "#/components/parameters/cluster.health#master_timeout" - }, - { - "$ref": "#/components/parameters/cluster.health#timeout" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_active_shards" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_events" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_nodes" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_no_initializing_shards" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_no_relocating_shards" - }, - { - "$ref": "#/components/parameters/cluster.health#wait_for_status" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cluster.health#200" - } - } - } - }, - "/_info/{target}": { - "get": { - "description": "Returns different information about the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-info.html" - }, - "operationId": "cluster.info#0", - "parameters": [ - { - "in": "path", - "name": "target", - "description": "Limits the information returned to the specific target. Supports a comma-separated list, such as http,ingest.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ClusterInfoTargets" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "http": { - "$ref": "#/components/schemas/nodes._types:Http" - }, - "ingest": { - "$ref": "#/components/schemas/nodes._types:Ingest" - }, - "thread_pool": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:ThreadCount" - } - }, - "script": { - "$ref": "#/components/schemas/nodes._types:Scripting" - } - }, - "required": [ - "cluster_name" - ] - } - } - } - } - } - } - }, - "/_cluster/pending_tasks": { - "get": { - "description": "Returns a list of any cluster-level changes (e.g. create index, update mapping,\nallocate or fail shard) which have not yet been executed.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-pending.html" - }, - "operationId": "cluster.pending_tasks#0", - "parameters": [ - { - "in": "query", - "name": "local", - "description": "If `true`, the request retrieves information from the local node only.\nIf `false`, information is retrieved from the master node.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "tasks": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.pending_tasks:PendingTask" - } - } - }, - "required": [ - "tasks" - ] - } - } - } - } - } - } - }, - "/_remote/info": { - "get": { - "description": "Returns the information about configured remote clusters.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-remote-info.html" - }, - "operationId": "cluster.remote_info#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/cluster.remote_info:ClusterRemoteInfo" - } - } - } - } - } - } - } - }, - "/_cluster/reroute": { - "post": { - "description": "Allows to manually change the allocation of individual shards in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-reroute.html" - }, - "operationId": "cluster.reroute#0", - "parameters": [ - { - "in": "query", - "name": "dry_run", - "description": "If true, then the request simulates the operation only and returns the resulting state.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "explain", - "description": "If true, then the response contains an explanation of why the commands can or cannot be executed.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "metric", - "description": "Limits the information returned to the specified metrics.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Metrics" - }, - "style": "form" - }, - { - "in": "query", - "name": "retry_failed", - "description": "If true, then retries allocation of shards that are blocked due to too many subsequent allocation failures.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "commands": { - "description": "Defines the commands to perform.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.reroute:Command" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledged": { - "type": "boolean" - }, - "explanations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.reroute:RerouteExplanation" - } - }, - "state": { - "description": "There aren't any guarantees on the output/structure of the raw cluster state.\nHere you will find the internal representation of the cluster, which can\ndiffer from the external representation.", - "type": "object" - } - }, - "required": [ - "acknowledged" - ] - } - } - } - } - } - } - }, - "/_cluster/state": { - "get": { - "description": "Returns a comprehensive information about the state of the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-state.html" - }, - "operationId": "cluster.state#0", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.state#allow_no_indices" - }, - { - "$ref": "#/components/parameters/cluster.state#expand_wildcards" - }, - { - "$ref": "#/components/parameters/cluster.state#flat_settings" - }, - { - "$ref": "#/components/parameters/cluster.state#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/cluster.state#local" - }, - { - "$ref": "#/components/parameters/cluster.state#master_timeout" - }, - { - "$ref": "#/components/parameters/cluster.state#wait_for_metadata_version" - }, - { - "$ref": "#/components/parameters/cluster.state#wait_for_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cluster.state#200" - } - } - } - }, - "/_cluster/state/{metric}": { - "get": { - "description": "Returns a comprehensive information about the state of the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-state.html" - }, - "operationId": "cluster.state#1", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.state#metric" - }, - { - "$ref": "#/components/parameters/cluster.state#allow_no_indices" - }, - { - "$ref": "#/components/parameters/cluster.state#expand_wildcards" - }, - { - "$ref": "#/components/parameters/cluster.state#flat_settings" - }, - { - "$ref": "#/components/parameters/cluster.state#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/cluster.state#local" - }, - { - "$ref": "#/components/parameters/cluster.state#master_timeout" - }, - { - "$ref": "#/components/parameters/cluster.state#wait_for_metadata_version" - }, - { - "$ref": "#/components/parameters/cluster.state#wait_for_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cluster.state#200" - } - } - } - }, - "/_cluster/state/{metric}/{index}": { - "get": { - "description": "Returns a comprehensive information about the state of the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-state.html" - }, - "operationId": "cluster.state#2", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.state#metric" - }, - { - "$ref": "#/components/parameters/cluster.state#index" - }, - { - "$ref": "#/components/parameters/cluster.state#allow_no_indices" - }, - { - "$ref": "#/components/parameters/cluster.state#expand_wildcards" - }, - { - "$ref": "#/components/parameters/cluster.state#flat_settings" - }, - { - "$ref": "#/components/parameters/cluster.state#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/cluster.state#local" - }, - { - "$ref": "#/components/parameters/cluster.state#master_timeout" - }, - { - "$ref": "#/components/parameters/cluster.state#wait_for_metadata_version" - }, - { - "$ref": "#/components/parameters/cluster.state#wait_for_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cluster.state#200" - } - } - } - }, - "/_cluster/stats": { - "get": { - "description": "Returns high-level overview of cluster statistics.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-stats.html" - }, - "operationId": "cluster.stats#0", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.stats#flat_settings" - }, - { - "$ref": "#/components/parameters/cluster.stats#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cluster.stats#200" - } - } - } - }, - "/_cluster/stats/nodes/{node_id}": { - "get": { - "description": "Returns high-level overview of cluster statistics.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-stats.html" - }, - "operationId": "cluster.stats#1", - "parameters": [ - { - "$ref": "#/components/parameters/cluster.stats#node_id" - }, - { - "$ref": "#/components/parameters/cluster.stats#flat_settings" - }, - { - "$ref": "#/components/parameters/cluster.stats#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/cluster.stats#200" - } - } - } - }, - "/_count": { - "get": { - "description": "Returns number of documents matching a query.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html" - }, - "operationId": "count#1", - "parameters": [ - { - "$ref": "#/components/parameters/count#allow_no_indices" - }, - { - "$ref": "#/components/parameters/count#analyzer" - }, - { - "$ref": "#/components/parameters/count#analyze_wildcard" - }, - { - "$ref": "#/components/parameters/count#default_operator" - }, - { - "$ref": "#/components/parameters/count#df" - }, - { - "$ref": "#/components/parameters/count#expand_wildcards" - }, - { - "$ref": "#/components/parameters/count#ignore_throttled" - }, - { - "$ref": "#/components/parameters/count#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/count#lenient" - }, - { - "$ref": "#/components/parameters/count#min_score" - }, - { - "$ref": "#/components/parameters/count#preference" - }, - { - "$ref": "#/components/parameters/count#routing" - }, - { - "$ref": "#/components/parameters/count#terminate_after" - }, - { - "$ref": "#/components/parameters/count#q" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/count" - }, - "responses": { - "200": { - "$ref": "#/components/responses/count#200" - } - } - }, - "post": { - "description": "Returns number of documents matching a query.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html" - }, - "operationId": "count#0", - "parameters": [ - { - "$ref": "#/components/parameters/count#allow_no_indices" - }, - { - "$ref": "#/components/parameters/count#analyzer" - }, - { - "$ref": "#/components/parameters/count#analyze_wildcard" - }, - { - "$ref": "#/components/parameters/count#default_operator" - }, - { - "$ref": "#/components/parameters/count#df" - }, - { - "$ref": "#/components/parameters/count#expand_wildcards" - }, - { - "$ref": "#/components/parameters/count#ignore_throttled" - }, - { - "$ref": "#/components/parameters/count#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/count#lenient" - }, - { - "$ref": "#/components/parameters/count#min_score" - }, - { - "$ref": "#/components/parameters/count#preference" - }, - { - "$ref": "#/components/parameters/count#routing" - }, - { - "$ref": "#/components/parameters/count#terminate_after" - }, - { - "$ref": "#/components/parameters/count#q" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/count" - }, - "responses": { - "200": { - "$ref": "#/components/responses/count#200" - } - } - } - }, - "/{index}/_count": { - "get": { - "description": "Returns number of documents matching a query.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html" - }, - "operationId": "count#3", - "parameters": [ - { - "$ref": "#/components/parameters/count#index" - }, - { - "$ref": "#/components/parameters/count#allow_no_indices" - }, - { - "$ref": "#/components/parameters/count#analyzer" - }, - { - "$ref": "#/components/parameters/count#analyze_wildcard" - }, - { - "$ref": "#/components/parameters/count#default_operator" - }, - { - "$ref": "#/components/parameters/count#df" - }, - { - "$ref": "#/components/parameters/count#expand_wildcards" - }, - { - "$ref": "#/components/parameters/count#ignore_throttled" - }, - { - "$ref": "#/components/parameters/count#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/count#lenient" - }, - { - "$ref": "#/components/parameters/count#min_score" - }, - { - "$ref": "#/components/parameters/count#preference" - }, - { - "$ref": "#/components/parameters/count#routing" - }, - { - "$ref": "#/components/parameters/count#terminate_after" - }, - { - "$ref": "#/components/parameters/count#q" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/count" - }, - "responses": { - "200": { - "$ref": "#/components/responses/count#200" - } - } - }, - "post": { - "description": "Returns number of documents matching a query.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html" - }, - "operationId": "count#2", - "parameters": [ - { - "$ref": "#/components/parameters/count#index" - }, - { - "$ref": "#/components/parameters/count#allow_no_indices" - }, - { - "$ref": "#/components/parameters/count#analyzer" - }, - { - "$ref": "#/components/parameters/count#analyze_wildcard" - }, - { - "$ref": "#/components/parameters/count#default_operator" - }, - { - "$ref": "#/components/parameters/count#df" - }, - { - "$ref": "#/components/parameters/count#expand_wildcards" - }, - { - "$ref": "#/components/parameters/count#ignore_throttled" - }, - { - "$ref": "#/components/parameters/count#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/count#lenient" - }, - { - "$ref": "#/components/parameters/count#min_score" - }, - { - "$ref": "#/components/parameters/count#preference" - }, - { - "$ref": "#/components/parameters/count#routing" - }, - { - "$ref": "#/components/parameters/count#terminate_after" - }, - { - "$ref": "#/components/parameters/count#q" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/count" - }, - "responses": { - "200": { - "$ref": "#/components/responses/count#200" - } - } - } - }, - "/{index}/_create/{id}": { - "put": { - "description": "Creates a new document in the index.\n\nReturns a 409 response when a document with a same ID already exists in the index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" - }, - "operationId": "create#0", - "parameters": [ - { - "$ref": "#/components/parameters/create#index" - }, - { - "$ref": "#/components/parameters/create#id" - }, - { - "$ref": "#/components/parameters/create#pipeline" - }, - { - "$ref": "#/components/parameters/create#refresh" - }, - { - "$ref": "#/components/parameters/create#routing" - }, - { - "$ref": "#/components/parameters/create#timeout" - }, - { - "$ref": "#/components/parameters/create#version" - }, - { - "$ref": "#/components/parameters/create#version_type" - }, - { - "$ref": "#/components/parameters/create#wait_for_active_shards" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/create" - }, - "responses": { - "200": { - "$ref": "#/components/responses/create#200" - } - } - }, - "post": { - "description": "Creates a new document in the index.\n\nReturns a 409 response when a document with a same ID already exists in the index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" - }, - "operationId": "create#1", - "parameters": [ - { - "$ref": "#/components/parameters/create#index" - }, - { - "$ref": "#/components/parameters/create#id" - }, - { - "$ref": "#/components/parameters/create#pipeline" - }, - { - "$ref": "#/components/parameters/create#refresh" - }, - { - "$ref": "#/components/parameters/create#routing" - }, - { - "$ref": "#/components/parameters/create#timeout" - }, - { - "$ref": "#/components/parameters/create#version" - }, - { - "$ref": "#/components/parameters/create#version_type" - }, - { - "$ref": "#/components/parameters/create#wait_for_active_shards" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/create" - }, - "responses": { - "200": { - "$ref": "#/components/responses/create#200" - } - } - } - }, - "/_dangling/{index_uuid}": { - "post": { - "description": "Imports the specified dangling index", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html" - }, - "operationId": "dangling_indices.import_dangling_index#0", - "parameters": [ - { - "in": "path", - "name": "index_uuid", - "description": "The UUID of the dangling index", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Uuid" - }, - "style": "simple" - }, - { - "in": "query", - "name": "accept_data_loss", - "description": "Must be set to true in order to import the dangling index", - "required": true, - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Specify timeout for connection to master", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Explicit operation timeout", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - }, - "delete": { - "description": "Deletes the specified dangling index", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html" - }, - "operationId": "dangling_indices.delete_dangling_index#0", - "parameters": [ - { - "in": "path", - "name": "index_uuid", - "description": "The UUID of the dangling index", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Uuid" - }, - "style": "simple" - }, - { - "in": "query", - "name": "accept_data_loss", - "description": "Must be set to true in order to delete the dangling index", - "required": true, - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Specify timeout for connection to master", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Explicit operation timeout", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_dangling": { - "get": { - "description": "Returns all dangling indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html" - }, - "operationId": "dangling_indices.list_dangling_indices#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "dangling_indices": { - "type": "array", - "items": { - "$ref": "#/components/schemas/dangling_indices.list_dangling_indices:DanglingIndex" - } - } - }, - "required": [ - "dangling_indices" - ] - } - } - } - } - } - } - }, - "/{index}/_doc/{id}": { - "get": { - "description": "Returns a document.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" - }, - "operationId": "get#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Name of the index that contains the document.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - { - "in": "path", - "name": "id", - "description": "Unique identifier of the document.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "preference", - "description": "Specifies the node or shard the operation should be performed on. Random by default.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "realtime", - "description": "If `true`, the request is real-time as opposed to near-real-time.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "refresh", - "description": "If true, Elasticsearch refreshes the affected shards to make this operation visible to search. If false, do nothing with refreshes.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "routing", - "description": "Target the specified primary shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - { - "in": "query", - "name": "_source", - "description": "True or false to return the _source field or not, or a list of fields to return.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" - }, - "style": "form" - }, - { - "in": "query", - "name": "_source_excludes", - "description": "A comma-separated list of source fields to exclude in the response.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - { - "in": "query", - "name": "_source_includes", - "description": "A comma-separated list of source fields to include in the response.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - { - "in": "query", - "name": "stored_fields", - "description": "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` parameter defaults to false.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - { - "in": "query", - "name": "version", - "description": "Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "style": "form" - }, - { - "in": "query", - "name": "version_type", - "description": "Specific version type: internal, external, external_gte.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionType" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_global.get:GetResult" - } - } - } - } - } - }, - "put": { - "description": "Creates or updates a document in an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" - }, - "operationId": "index#0", - "parameters": [ - { - "$ref": "#/components/parameters/index#index" - }, - { - "$ref": "#/components/parameters/index#id" - }, - { - "$ref": "#/components/parameters/index#if_primary_term" - }, - { - "$ref": "#/components/parameters/index#if_seq_no" - }, - { - "$ref": "#/components/parameters/index#op_type" - }, - { - "$ref": "#/components/parameters/index#pipeline" - }, - { - "$ref": "#/components/parameters/index#refresh" - }, - { - "$ref": "#/components/parameters/index#routing" - }, - { - "$ref": "#/components/parameters/index#timeout" - }, - { - "$ref": "#/components/parameters/index#version" - }, - { - "$ref": "#/components/parameters/index#version_type" - }, - { - "$ref": "#/components/parameters/index#wait_for_active_shards" - }, - { - "$ref": "#/components/parameters/index#require_alias" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/index" - }, - "responses": { - "200": { - "$ref": "#/components/responses/index#200" - } - } - }, - "post": { - "description": "Creates or updates a document in an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" - }, - "operationId": "index#1", - "parameters": [ - { - "$ref": "#/components/parameters/index#index" - }, - { - "$ref": "#/components/parameters/index#id" - }, - { - "$ref": "#/components/parameters/index#if_primary_term" - }, - { - "$ref": "#/components/parameters/index#if_seq_no" - }, - { - "$ref": "#/components/parameters/index#op_type" - }, - { - "$ref": "#/components/parameters/index#pipeline" - }, - { - "$ref": "#/components/parameters/index#refresh" - }, - { - "$ref": "#/components/parameters/index#routing" - }, - { - "$ref": "#/components/parameters/index#timeout" - }, - { - "$ref": "#/components/parameters/index#version" - }, - { - "$ref": "#/components/parameters/index#version_type" - }, - { - "$ref": "#/components/parameters/index#wait_for_active_shards" - }, - { - "$ref": "#/components/parameters/index#require_alias" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/index" - }, - "responses": { - "200": { - "$ref": "#/components/responses/index#200" - } - } - }, - "delete": { - "description": "Removes a document from the index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html" - }, - "operationId": "delete#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Name of the target index.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - { - "in": "path", - "name": "id", - "description": "Unique identifier for the document.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "if_primary_term", - "description": "Only perform the operation if the document has this primary term.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "if_seq_no", - "description": "Only perform the operation if the document has this sequence number.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "style": "form" - }, - { - "in": "query", - "name": "refresh", - "description": "If `true`, Elasticsearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.\nValid values: `true`, `false`, `wait_for`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for active shards.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "version", - "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "style": "form" - }, - { - "in": "query", - "name": "version_type", - "description": "Specific version type: `external`, `external_gte`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionType" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:WriteResponseBase" - } - } - } - } - } - }, - "head": { - "description": "Returns information about whether a document exists in an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" - }, - "operationId": "exists#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases.\nSupports wildcards (`*`).", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - { - "in": "path", - "name": "id", - "description": "Identifier of the document.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "preference", - "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "realtime", - "description": "If `true`, the request is real-time as opposed to near-real-time.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "refresh", - "description": "If `true`, Elasticsearch refreshes all shards involved in the delete by query after the request completes.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "routing", - "description": "Target the specified primary shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - { - "in": "query", - "name": "_source", - "description": "`true` or `false` to return the `_source` field or not, or a list of fields to return.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" - }, - "style": "form" - }, - { - "in": "query", - "name": "_source_excludes", - "description": "A comma-separated list of source fields to exclude in the response.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - { - "in": "query", - "name": "_source_includes", - "description": "A comma-separated list of source fields to include in the response.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - { - "in": "query", - "name": "stored_fields", - "description": "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` parameter defaults to false.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - { - "in": "query", - "name": "version", - "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "style": "form" - }, - { - "in": "query", - "name": "version_type", - "description": "Specific version type: `external`, `external_gte`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionType" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": {} - } - } - } - } - }, - "/{index}/_delete_by_query": { - "post": { - "description": "Deletes documents matching the provided query.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html" - }, - "operationId": "delete_by_query#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams or indices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "analyzer", - "description": "Analyzer to use for the query string.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "analyze_wildcard", - "description": "If `true`, wildcard and prefix queries are analyzed.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "conflicts", - "description": "What to do if delete by query hits version conflicts: `abort` or `proceed`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Conflicts" - }, - "style": "form" - }, - { - "in": "query", - "name": "default_operator", - "description": "The default operator for query string query: `AND` or `OR`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "style": "form" - }, - { - "in": "query", - "name": "df", - "description": "Field to use as default where no field prefix is given in the query string.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`. Valid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "from", - "description": "Starting offset (default: 0)", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "lenient", - "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "max_docs", - "description": "Maximum number of documents to process.\nDefaults to all documents.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "preference", - "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "refresh", - "description": "If `true`, Elasticsearch refreshes all shards involved in the delete by query after the request completes.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "request_cache", - "description": "If `true`, the request cache is used for this request.\nDefaults to the index-level setting.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "requests_per_second", - "description": "The throttle for this request in sub-requests per second.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - { - "in": "query", - "name": "q", - "description": "Query in the Lucene query string syntax.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "scroll", - "description": "Period to retain the search context for scrolling.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "scroll_size", - "description": "Size of the scroll request that powers the operation.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "search_timeout", - "description": "Explicit timeout for each search request.\nDefaults to no timeout.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "search_type", - "description": "The type of the search operation.\nAvailable options: `query_then_fetch`, `dfs_query_then_fetch`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SearchType" - }, - "style": "form" - }, - { - "in": "query", - "name": "slices", - "description": "The number of slices this task should be divided into.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Slices" - }, - "style": "form" - }, - { - "in": "query", - "name": "sort", - "description": "A comma-separated list of : pairs.", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form" - }, - { - "in": "query", - "name": "stats", - "description": "Specific `tag` of the request for logging and statistical purposes.", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form" - }, - { - "in": "query", - "name": "terminate_after", - "description": "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.\nUse with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period each deletion request waits for active shards.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "version", - "description": "If `true`, returns the document version as part of a hit.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_completion", - "description": "If `true`, the request blocks until the operation is complete.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "max_docs": { - "description": "The maximum number of documents to delete.", - "type": "number" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "slice": { - "$ref": "#/components/schemas/_types:SlicedScroll" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "batches": { - "type": "number" - }, - "deleted": { - "type": "number" - }, - "failures": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:BulkIndexByScrollFailure" - } - }, - "noops": { - "type": "number" - }, - "requests_per_second": { - "type": "number" - }, - "retries": { - "$ref": "#/components/schemas/_types:Retries" - }, - "slice_id": { - "type": "number" - }, - "task": { - "$ref": "#/components/schemas/_types:TaskId" - }, - "throttled": { - "$ref": "#/components/schemas/_types:Duration" - }, - "throttled_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "throttled_until": { - "$ref": "#/components/schemas/_types:Duration" - }, - "throttled_until_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "timed_out": { - "type": "boolean" - }, - "took": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "total": { - "type": "number" - }, - "version_conflicts": { - "type": "number" - } - } - } - } - } - } - } - } - }, - "/_delete_by_query/{task_id}/_rethrottle": { - "post": { - "description": "Changes the number of requests per second for a particular Delete By Query operation.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html" - }, - "operationId": "delete_by_query_rethrottle#0", - "parameters": [ - { - "in": "path", - "name": "task_id", - "description": "The ID for the task.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:TaskId" - }, - "style": "simple" - }, - { - "in": "query", - "name": "requests_per_second", - "description": "The throttle for this request in sub-requests per second.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/tasks._types:TaskListResponseBase" - } - } - } - } - } - } - }, - "/_scripts/{id}": { - "get": { - "description": "Returns a script.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" - }, - "operationId": "get_script#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Identifier for the stored script or search template.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Specify timeout for connection to master", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "found": { - "type": "boolean" - }, - "script": { - "$ref": "#/components/schemas/_types:StoredScript" - } - }, - "required": [ - "_id", - "found" - ] - } - } - } - } - } - }, - "put": { - "description": "Creates or updates a script.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" - }, - "operationId": "put_script#0", - "parameters": [ - { - "$ref": "#/components/parameters/put_script#id" - }, - { - "$ref": "#/components/parameters/put_script#master_timeout" - }, - { - "$ref": "#/components/parameters/put_script#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/put_script" - }, - "responses": { - "200": { - "$ref": "#/components/responses/put_script#200" - } - } - }, - "post": { - "description": "Creates or updates a script.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" - }, - "operationId": "put_script#1", - "parameters": [ - { - "$ref": "#/components/parameters/put_script#id" - }, - { - "$ref": "#/components/parameters/put_script#master_timeout" - }, - { - "$ref": "#/components/parameters/put_script#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/put_script" - }, - "responses": { - "200": { - "$ref": "#/components/responses/put_script#200" - } - } - }, - "delete": { - "description": "Deletes a script.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" - }, - "operationId": "delete_script#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Identifier for the stored script or search template.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_enrich/policy/{name}": { - "get": { - "description": "Gets information about an enrich policy.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-enrich-policy-api.html" - }, - "operationId": "enrich.get_policy#0", - "parameters": [ - { - "$ref": "#/components/parameters/enrich.get_policy#name" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/enrich.get_policy#200" - } - } - }, - "put": { - "description": "Creates a new enrich policy.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-enrich-policy-api.html" - }, - "operationId": "enrich.put_policy#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Name of the enrich policy to create or update.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "geo_match": { - "$ref": "#/components/schemas/enrich._types:Policy" - }, - "match": { - "$ref": "#/components/schemas/enrich._types:Policy" - }, - "range": { - "$ref": "#/components/schemas/enrich._types:Policy" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - }, - "delete": { - "description": "Deletes an existing enrich policy and its enrich index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-enrich-policy-api.html" - }, - "operationId": "enrich.delete_policy#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Enrich policy to delete.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_enrich/policy/{name}/_execute": { - "put": { - "description": "Creates the enrich index for an existing enrich policy.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/execute-enrich-policy-api.html" - }, - "operationId": "enrich.execute_policy#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Enrich policy to execute.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "query", - "name": "wait_for_completion", - "description": "If `true`, the request blocks other enrich policy execution requests until complete.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/enrich.execute_policy:ExecuteEnrichPolicyStatus" - }, - "task_id": { - "$ref": "#/components/schemas/_types:TaskId" - } - }, - "required": [ - "status" - ] - } - } - } - } - } - } - }, - "/_enrich/policy": { - "get": { - "description": "Gets information about an enrich policy.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-enrich-policy-api.html" - }, - "operationId": "enrich.get_policy#1", - "responses": { - "200": { - "$ref": "#/components/responses/enrich.get_policy#200" - } - } - } - }, - "/_enrich/_stats": { - "get": { - "description": "Gets enrich coordinator statistics and information about enrich policies that are currently executing.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-stats-api.html" - }, - "operationId": "enrich.stats#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "coordinator_stats": { - "description": "Objects containing information about each coordinating ingest node for configured enrich processors.", - "type": "array", - "items": { - "$ref": "#/components/schemas/enrich.stats:CoordinatorStats" - } - }, - "executing_policies": { - "description": "Objects containing information about each enrich policy that is currently executing.", - "type": "array", - "items": { - "$ref": "#/components/schemas/enrich.stats:ExecutingPolicy" - } - }, - "cache_stats": { - "description": "Objects containing information about the enrich cache stats on each ingest node.", - "type": "array", - "items": { - "$ref": "#/components/schemas/enrich.stats:CacheStats" - } - } - }, - "required": [ - "coordinator_stats", - "executing_policies" - ] - } - } - } - } - } - } - }, - "/_eql/search/{id}": { - "get": { - "description": "Returns async results from previously executed Event Query Language (EQL) search", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-async-eql-search-api.html" - }, - "operationId": "eql.get#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Identifier for the search.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "keep_alive", - "description": "Period for which the search and its results are stored on the cluster.\nDefaults to the keep_alive value set by the search’s EQL search API request.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_completion_timeout", - "description": "Timeout duration to wait for the request to finish.\nDefaults to no timeout, meaning the request waits for complete search results.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/eql._types:EqlSearchResponseBase" - } - } - } - } - } - }, - "delete": { - "description": "Deletes an async EQL search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html" - }, - "operationId": "eql.delete#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Identifier for the search to delete.\nA search ID is provided in the EQL search API's response for an async search.\nA search ID is also provided if the request’s `keep_on_completion` parameter is `true`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_eql/search/status/{id}": { - "get": { - "description": "Returns the status of a previously submitted async or stored Event Query Language (EQL) search", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-async-eql-status-api.html" - }, - "operationId": "eql.get_status#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Identifier for the search.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "is_partial": { - "description": "If true, the search request is still executing. If false, the search is completed.", - "type": "boolean" - }, - "is_running": { - "description": "If true, the response does not contain complete search results. This could be because either the search is still running (is_running status is false), or because it is already completed (is_running status is true) and results are partial due to failures or timeouts.", - "type": "boolean" - }, - "start_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "expiration_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "completion_status": { - "description": "For a completed search shows the http status code of the completed search.", - "type": "number" - } - }, - "required": [ - "id", - "is_partial", - "is_running" - ] - } - } - } - } - } - } - }, - "/{index}/_eql/search": { - "get": { - "description": "Returns results matching a query expressed in Event Query Language (EQL)", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html" - }, - "operationId": "eql.search#0", - "parameters": [ - { - "$ref": "#/components/parameters/eql.search#index" - }, - { - "$ref": "#/components/parameters/eql.search#allow_no_indices" - }, - { - "$ref": "#/components/parameters/eql.search#expand_wildcards" - }, - { - "$ref": "#/components/parameters/eql.search#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/eql.search#keep_alive" - }, - { - "$ref": "#/components/parameters/eql.search#keep_on_completion" - }, - { - "$ref": "#/components/parameters/eql.search#wait_for_completion_timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/eql.search" - }, - "responses": { - "200": { - "$ref": "#/components/responses/eql.search#200" - } - } - }, - "post": { - "description": "Returns results matching a query expressed in Event Query Language (EQL)", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html" - }, - "operationId": "eql.search#1", - "parameters": [ - { - "$ref": "#/components/parameters/eql.search#index" - }, - { - "$ref": "#/components/parameters/eql.search#allow_no_indices" - }, - { - "$ref": "#/components/parameters/eql.search#expand_wildcards" - }, - { - "$ref": "#/components/parameters/eql.search#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/eql.search#keep_alive" - }, - { - "$ref": "#/components/parameters/eql.search#keep_on_completion" - }, - { - "$ref": "#/components/parameters/eql.search#wait_for_completion_timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/eql.search" - }, - "responses": { - "200": { - "$ref": "#/components/responses/eql.search#200" - } - } - } - }, - "/{index}/_source/{id}": { - "get": { - "description": "Returns the source of a document.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" - }, - "operationId": "get_source#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Name of the index that contains the document.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - { - "in": "path", - "name": "id", - "description": "Unique identifier of the document.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "preference", - "description": "Specifies the node or shard the operation should be performed on. Random by default.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "realtime", - "description": "Boolean) If true, the request is real-time as opposed to near-real-time.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "refresh", - "description": "If true, Elasticsearch refreshes the affected shards to make this operation visible to search. If false, do nothing with refreshes.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "routing", - "description": "Target the specified primary shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - { - "in": "query", - "name": "_source", - "description": "True or false to return the _source field or not, or a list of fields to return.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" - }, - "style": "form" - }, - { - "in": "query", - "name": "_source_excludes", - "description": "A comma-separated list of source fields to exclude in the response.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - { - "in": "query", - "name": "_source_includes", - "description": "A comma-separated list of source fields to include in the response.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - { - "in": "query", - "name": "stored_fields", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - { - "in": "query", - "name": "version", - "description": "Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "style": "form" - }, - { - "in": "query", - "name": "version_type", - "description": "Specific version type: internal, external, external_gte.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionType" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - } - } - }, - "head": { - "description": "Returns information about whether a document source exists in an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html" - }, - "operationId": "exists_source#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases.\nSupports wildcards (`*`).", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - { - "in": "path", - "name": "id", - "description": "Identifier of the document.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "preference", - "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "realtime", - "description": "If true, the request is real-time as opposed to near-real-time.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "refresh", - "description": "If `true`, Elasticsearch refreshes all shards involved in the delete by query after the request completes.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "routing", - "description": "Target the specified primary shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - { - "in": "query", - "name": "_source", - "description": "`true` or `false` to return the `_source` field or not, or a list of fields to return.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" - }, - "style": "form" - }, - { - "in": "query", - "name": "_source_excludes", - "description": "A comma-separated list of source fields to exclude in the response.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - { - "in": "query", - "name": "_source_includes", - "description": "A comma-separated list of source fields to include in the response.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - { - "in": "query", - "name": "version", - "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "style": "form" - }, - { - "in": "query", - "name": "version_type", - "description": "Specific version type: `external`, `external_gte`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionType" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": {} - } - } - } - } - }, - "/{index}/_explain/{id}": { - "get": { - "description": "Returns information about why a specific matches (or doesn't match) a query.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html" - }, - "operationId": "explain#0", - "parameters": [ - { - "$ref": "#/components/parameters/explain#index" - }, - { - "$ref": "#/components/parameters/explain#id" - }, - { - "$ref": "#/components/parameters/explain#analyzer" - }, - { - "$ref": "#/components/parameters/explain#analyze_wildcard" - }, - { - "$ref": "#/components/parameters/explain#default_operator" - }, - { - "$ref": "#/components/parameters/explain#df" - }, - { - "$ref": "#/components/parameters/explain#lenient" - }, - { - "$ref": "#/components/parameters/explain#preference" - }, - { - "$ref": "#/components/parameters/explain#routing" - }, - { - "$ref": "#/components/parameters/explain#_source" - }, - { - "$ref": "#/components/parameters/explain#_source_excludes" - }, - { - "$ref": "#/components/parameters/explain#_source_includes" - }, - { - "$ref": "#/components/parameters/explain#stored_fields" - }, - { - "$ref": "#/components/parameters/explain#q" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/explain" - }, - "responses": { - "200": { - "$ref": "#/components/responses/explain#200" - } - } - }, - "post": { - "description": "Returns information about why a specific matches (or doesn't match) a query.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html" - }, - "operationId": "explain#1", - "parameters": [ - { - "$ref": "#/components/parameters/explain#index" - }, - { - "$ref": "#/components/parameters/explain#id" - }, - { - "$ref": "#/components/parameters/explain#analyzer" - }, - { - "$ref": "#/components/parameters/explain#analyze_wildcard" - }, - { - "$ref": "#/components/parameters/explain#default_operator" - }, - { - "$ref": "#/components/parameters/explain#df" - }, - { - "$ref": "#/components/parameters/explain#lenient" - }, - { - "$ref": "#/components/parameters/explain#preference" - }, - { - "$ref": "#/components/parameters/explain#routing" - }, - { - "$ref": "#/components/parameters/explain#_source" - }, - { - "$ref": "#/components/parameters/explain#_source_excludes" - }, - { - "$ref": "#/components/parameters/explain#_source_includes" - }, - { - "$ref": "#/components/parameters/explain#stored_fields" - }, - { - "$ref": "#/components/parameters/explain#q" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/explain" - }, - "responses": { - "200": { - "$ref": "#/components/responses/explain#200" - } - } - } - }, - "/_features": { - "get": { - "description": "Gets a list of features which can be included in snapshots using the feature_states field when creating a snapshot", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-features-api.html" - }, - "operationId": "features.get_features#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "features": { - "type": "array", - "items": { - "$ref": "#/components/schemas/features._types:Feature" - } - } - }, - "required": [ - "features" - ] - } - } - } - } - } - } - }, - "/_features/_reset": { - "post": { - "description": "Resets the internal state of features, usually by deleting system indices", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" - }, - "operationId": "features.reset_features#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "features": { - "type": "array", - "items": { - "$ref": "#/components/schemas/features._types:Feature" - } - } - }, - "required": [ - "features" - ] - } - } - } - } - } - } - }, - "/_field_caps": { - "get": { - "description": "Returns the information about the capabilities of fields among multiple indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html" - }, - "operationId": "field_caps#0", - "parameters": [ - { - "$ref": "#/components/parameters/field_caps#allow_no_indices" - }, - { - "$ref": "#/components/parameters/field_caps#expand_wildcards" - }, - { - "$ref": "#/components/parameters/field_caps#fields" - }, - { - "$ref": "#/components/parameters/field_caps#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/field_caps#include_unmapped" - }, - { - "$ref": "#/components/parameters/field_caps#filters" - }, - { - "$ref": "#/components/parameters/field_caps#types" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/field_caps" - }, - "responses": { - "200": { - "$ref": "#/components/responses/field_caps#200" - } - } - }, - "post": { - "description": "Returns the information about the capabilities of fields among multiple indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html" - }, - "operationId": "field_caps#1", - "parameters": [ - { - "$ref": "#/components/parameters/field_caps#allow_no_indices" - }, - { - "$ref": "#/components/parameters/field_caps#expand_wildcards" - }, - { - "$ref": "#/components/parameters/field_caps#fields" - }, - { - "$ref": "#/components/parameters/field_caps#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/field_caps#include_unmapped" - }, - { - "$ref": "#/components/parameters/field_caps#filters" - }, - { - "$ref": "#/components/parameters/field_caps#types" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/field_caps" - }, - "responses": { - "200": { - "$ref": "#/components/responses/field_caps#200" - } - } - } - }, - "/{index}/_field_caps": { - "get": { - "description": "Returns the information about the capabilities of fields among multiple indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html" - }, - "operationId": "field_caps#2", - "parameters": [ - { - "$ref": "#/components/parameters/field_caps#index" - }, - { - "$ref": "#/components/parameters/field_caps#allow_no_indices" - }, - { - "$ref": "#/components/parameters/field_caps#expand_wildcards" - }, - { - "$ref": "#/components/parameters/field_caps#fields" - }, - { - "$ref": "#/components/parameters/field_caps#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/field_caps#include_unmapped" - }, - { - "$ref": "#/components/parameters/field_caps#filters" - }, - { - "$ref": "#/components/parameters/field_caps#types" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/field_caps" - }, - "responses": { - "200": { - "$ref": "#/components/responses/field_caps#200" - } - } - }, - "post": { - "description": "Returns the information about the capabilities of fields among multiple indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html" - }, - "operationId": "field_caps#3", - "parameters": [ - { - "$ref": "#/components/parameters/field_caps#index" - }, - { - "$ref": "#/components/parameters/field_caps#allow_no_indices" - }, - { - "$ref": "#/components/parameters/field_caps#expand_wildcards" - }, - { - "$ref": "#/components/parameters/field_caps#fields" - }, - { - "$ref": "#/components/parameters/field_caps#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/field_caps#include_unmapped" - }, - { - "$ref": "#/components/parameters/field_caps#filters" - }, - { - "$ref": "#/components/parameters/field_caps#types" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/field_caps" - }, - "responses": { - "200": { - "$ref": "#/components/responses/field_caps#200" - } - } - } - }, - "/{index}/_fleet/global_checkpoints": { - "get": { - "description": "Returns the current global checkpoints for an index. This API is design for internal use by the fleet server project.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-global-checkpoints.html" - }, - "operationId": "fleet.global_checkpoints#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "A single index or index alias that resolves to a single index.", - "required": true, - "deprecated": false, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:IndexName" - }, - { - "$ref": "#/components/schemas/_types:IndexAlias" - } - ] - }, - "style": "simple" - }, - { - "in": "query", - "name": "wait_for_advance", - "description": "A boolean value which controls whether to wait (until the timeout) for the global checkpoints\nto advance past the provided `checkpoints`.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_index", - "description": "A boolean value which controls whether to wait (until the timeout) for the target index to exist\nand all primary shards be active. Can only be true when `wait_for_advance` is true.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "checkpoints", - "description": "A comma separated list of previous global checkpoints. When used in combination with `wait_for_advance`,\nthe API will only return once the global checkpoints advances past the checkpoints. Providing an empty list\nwill cause Elasticsearch to immediately return the current global checkpoints.", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/fleet._types:Checkpoint" - } - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a global checkpoints to advance past `checkpoints`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "global_checkpoints": { - "type": "array", - "items": { - "$ref": "#/components/schemas/fleet._types:Checkpoint" - } - }, - "timed_out": { - "type": "boolean" - } - }, - "required": [ - "global_checkpoints", - "timed_out" - ] - } - } - } - } - } - } - }, - "/_fleet/_fleet_msearch": { - "get": { - "description": "Multi Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", - "operationId": "fleet.msearch#0", - "parameters": [ - { - "$ref": "#/components/parameters/fleet.msearch#allow_no_indices" - }, - { - "$ref": "#/components/parameters/fleet.msearch#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/fleet.msearch#expand_wildcards" - }, - { - "$ref": "#/components/parameters/fleet.msearch#ignore_throttled" - }, - { - "$ref": "#/components/parameters/fleet.msearch#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/fleet.msearch#max_concurrent_searches" - }, - { - "$ref": "#/components/parameters/fleet.msearch#max_concurrent_shard_requests" - }, - { - "$ref": "#/components/parameters/fleet.msearch#pre_filter_shard_size" - }, - { - "$ref": "#/components/parameters/fleet.msearch#search_type" - }, - { - "$ref": "#/components/parameters/fleet.msearch#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/fleet.msearch#typed_keys" - }, - { - "$ref": "#/components/parameters/fleet.msearch#wait_for_checkpoints" - }, - { - "$ref": "#/components/parameters/fleet.msearch#allow_partial_search_results" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/fleet.msearch" - }, - "responses": { - "200": { - "$ref": "#/components/responses/fleet.msearch#200" - } - } - }, - "post": { - "description": "Multi Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", - "operationId": "fleet.msearch#1", - "parameters": [ - { - "$ref": "#/components/parameters/fleet.msearch#allow_no_indices" - }, - { - "$ref": "#/components/parameters/fleet.msearch#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/fleet.msearch#expand_wildcards" - }, - { - "$ref": "#/components/parameters/fleet.msearch#ignore_throttled" - }, - { - "$ref": "#/components/parameters/fleet.msearch#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/fleet.msearch#max_concurrent_searches" - }, - { - "$ref": "#/components/parameters/fleet.msearch#max_concurrent_shard_requests" - }, - { - "$ref": "#/components/parameters/fleet.msearch#pre_filter_shard_size" - }, - { - "$ref": "#/components/parameters/fleet.msearch#search_type" - }, - { - "$ref": "#/components/parameters/fleet.msearch#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/fleet.msearch#typed_keys" - }, - { - "$ref": "#/components/parameters/fleet.msearch#wait_for_checkpoints" - }, - { - "$ref": "#/components/parameters/fleet.msearch#allow_partial_search_results" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/fleet.msearch" - }, - "responses": { - "200": { - "$ref": "#/components/responses/fleet.msearch#200" - } - } - } - }, - "/{index}/_fleet/_fleet_msearch": { - "get": { - "description": "Multi Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", - "operationId": "fleet.msearch#2", - "parameters": [ - { - "$ref": "#/components/parameters/fleet.msearch#index" - }, - { - "$ref": "#/components/parameters/fleet.msearch#allow_no_indices" - }, - { - "$ref": "#/components/parameters/fleet.msearch#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/fleet.msearch#expand_wildcards" - }, - { - "$ref": "#/components/parameters/fleet.msearch#ignore_throttled" - }, - { - "$ref": "#/components/parameters/fleet.msearch#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/fleet.msearch#max_concurrent_searches" - }, - { - "$ref": "#/components/parameters/fleet.msearch#max_concurrent_shard_requests" - }, - { - "$ref": "#/components/parameters/fleet.msearch#pre_filter_shard_size" - }, - { - "$ref": "#/components/parameters/fleet.msearch#search_type" - }, - { - "$ref": "#/components/parameters/fleet.msearch#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/fleet.msearch#typed_keys" - }, - { - "$ref": "#/components/parameters/fleet.msearch#wait_for_checkpoints" - }, - { - "$ref": "#/components/parameters/fleet.msearch#allow_partial_search_results" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/fleet.msearch" - }, - "responses": { - "200": { - "$ref": "#/components/responses/fleet.msearch#200" - } - } - }, - "post": { - "description": "Multi Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", - "operationId": "fleet.msearch#3", - "parameters": [ - { - "$ref": "#/components/parameters/fleet.msearch#index" - }, - { - "$ref": "#/components/parameters/fleet.msearch#allow_no_indices" - }, - { - "$ref": "#/components/parameters/fleet.msearch#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/fleet.msearch#expand_wildcards" - }, - { - "$ref": "#/components/parameters/fleet.msearch#ignore_throttled" - }, - { - "$ref": "#/components/parameters/fleet.msearch#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/fleet.msearch#max_concurrent_searches" - }, - { - "$ref": "#/components/parameters/fleet.msearch#max_concurrent_shard_requests" - }, - { - "$ref": "#/components/parameters/fleet.msearch#pre_filter_shard_size" - }, - { - "$ref": "#/components/parameters/fleet.msearch#search_type" - }, - { - "$ref": "#/components/parameters/fleet.msearch#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/fleet.msearch#typed_keys" - }, - { - "$ref": "#/components/parameters/fleet.msearch#wait_for_checkpoints" - }, - { - "$ref": "#/components/parameters/fleet.msearch#allow_partial_search_results" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/fleet.msearch" - }, - "responses": { - "200": { - "$ref": "#/components/responses/fleet.msearch#200" - } - } - } - }, - "/{index}/_fleet/_fleet_search": { - "get": { - "description": "Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", - "operationId": "fleet.search#0", - "parameters": [ - { - "$ref": "#/components/parameters/fleet.search#index" - }, - { - "$ref": "#/components/parameters/fleet.search#allow_no_indices" - }, - { - "$ref": "#/components/parameters/fleet.search#analyzer" - }, - { - "$ref": "#/components/parameters/fleet.search#analyze_wildcard" - }, - { - "$ref": "#/components/parameters/fleet.search#batched_reduce_size" - }, - { - "$ref": "#/components/parameters/fleet.search#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/fleet.search#default_operator" - }, - { - "$ref": "#/components/parameters/fleet.search#df" - }, - { - "$ref": "#/components/parameters/fleet.search#docvalue_fields" - }, - { - "$ref": "#/components/parameters/fleet.search#expand_wildcards" - }, - { - "$ref": "#/components/parameters/fleet.search#explain" - }, - { - "$ref": "#/components/parameters/fleet.search#ignore_throttled" - }, - { - "$ref": "#/components/parameters/fleet.search#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/fleet.search#lenient" - }, - { - "$ref": "#/components/parameters/fleet.search#max_concurrent_shard_requests" - }, - { - "$ref": "#/components/parameters/fleet.search#min_compatible_shard_node" - }, - { - "$ref": "#/components/parameters/fleet.search#preference" - }, - { - "$ref": "#/components/parameters/fleet.search#pre_filter_shard_size" - }, - { - "$ref": "#/components/parameters/fleet.search#request_cache" - }, - { - "$ref": "#/components/parameters/fleet.search#routing" - }, - { - "$ref": "#/components/parameters/fleet.search#scroll" - }, - { - "$ref": "#/components/parameters/fleet.search#search_type" - }, - { - "$ref": "#/components/parameters/fleet.search#stats" - }, - { - "$ref": "#/components/parameters/fleet.search#stored_fields" - }, - { - "$ref": "#/components/parameters/fleet.search#suggest_field" - }, - { - "$ref": "#/components/parameters/fleet.search#suggest_mode" - }, - { - "$ref": "#/components/parameters/fleet.search#suggest_size" - }, - { - "$ref": "#/components/parameters/fleet.search#suggest_text" - }, - { - "$ref": "#/components/parameters/fleet.search#terminate_after" - }, - { - "$ref": "#/components/parameters/fleet.search#timeout" - }, - { - "$ref": "#/components/parameters/fleet.search#track_total_hits" - }, - { - "$ref": "#/components/parameters/fleet.search#track_scores" - }, - { - "$ref": "#/components/parameters/fleet.search#typed_keys" - }, - { - "$ref": "#/components/parameters/fleet.search#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/fleet.search#version" - }, - { - "$ref": "#/components/parameters/fleet.search#_source" - }, - { - "$ref": "#/components/parameters/fleet.search#_source_excludes" - }, - { - "$ref": "#/components/parameters/fleet.search#_source_includes" - }, - { - "$ref": "#/components/parameters/fleet.search#seq_no_primary_term" - }, - { - "$ref": "#/components/parameters/fleet.search#q" - }, - { - "$ref": "#/components/parameters/fleet.search#size" - }, - { - "$ref": "#/components/parameters/fleet.search#from" - }, - { - "$ref": "#/components/parameters/fleet.search#sort" - }, - { - "$ref": "#/components/parameters/fleet.search#wait_for_checkpoints" - }, - { - "$ref": "#/components/parameters/fleet.search#allow_partial_search_results" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/fleet.search" - }, - "responses": { - "200": { - "$ref": "#/components/responses/fleet.search#200" - } - } - }, - "post": { - "description": "Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", - "operationId": "fleet.search#1", - "parameters": [ - { - "$ref": "#/components/parameters/fleet.search#index" - }, - { - "$ref": "#/components/parameters/fleet.search#allow_no_indices" - }, - { - "$ref": "#/components/parameters/fleet.search#analyzer" - }, - { - "$ref": "#/components/parameters/fleet.search#analyze_wildcard" - }, - { - "$ref": "#/components/parameters/fleet.search#batched_reduce_size" - }, - { - "$ref": "#/components/parameters/fleet.search#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/fleet.search#default_operator" - }, - { - "$ref": "#/components/parameters/fleet.search#df" - }, - { - "$ref": "#/components/parameters/fleet.search#docvalue_fields" - }, - { - "$ref": "#/components/parameters/fleet.search#expand_wildcards" - }, - { - "$ref": "#/components/parameters/fleet.search#explain" - }, - { - "$ref": "#/components/parameters/fleet.search#ignore_throttled" - }, - { - "$ref": "#/components/parameters/fleet.search#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/fleet.search#lenient" - }, - { - "$ref": "#/components/parameters/fleet.search#max_concurrent_shard_requests" - }, - { - "$ref": "#/components/parameters/fleet.search#min_compatible_shard_node" - }, - { - "$ref": "#/components/parameters/fleet.search#preference" - }, - { - "$ref": "#/components/parameters/fleet.search#pre_filter_shard_size" - }, - { - "$ref": "#/components/parameters/fleet.search#request_cache" - }, - { - "$ref": "#/components/parameters/fleet.search#routing" - }, - { - "$ref": "#/components/parameters/fleet.search#scroll" - }, - { - "$ref": "#/components/parameters/fleet.search#search_type" - }, - { - "$ref": "#/components/parameters/fleet.search#stats" - }, - { - "$ref": "#/components/parameters/fleet.search#stored_fields" - }, - { - "$ref": "#/components/parameters/fleet.search#suggest_field" - }, - { - "$ref": "#/components/parameters/fleet.search#suggest_mode" - }, - { - "$ref": "#/components/parameters/fleet.search#suggest_size" - }, - { - "$ref": "#/components/parameters/fleet.search#suggest_text" - }, - { - "$ref": "#/components/parameters/fleet.search#terminate_after" - }, - { - "$ref": "#/components/parameters/fleet.search#timeout" - }, - { - "$ref": "#/components/parameters/fleet.search#track_total_hits" - }, - { - "$ref": "#/components/parameters/fleet.search#track_scores" - }, - { - "$ref": "#/components/parameters/fleet.search#typed_keys" - }, - { - "$ref": "#/components/parameters/fleet.search#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/fleet.search#version" - }, - { - "$ref": "#/components/parameters/fleet.search#_source" - }, - { - "$ref": "#/components/parameters/fleet.search#_source_excludes" - }, - { - "$ref": "#/components/parameters/fleet.search#_source_includes" - }, - { - "$ref": "#/components/parameters/fleet.search#seq_no_primary_term" - }, - { - "$ref": "#/components/parameters/fleet.search#q" - }, - { - "$ref": "#/components/parameters/fleet.search#size" - }, - { - "$ref": "#/components/parameters/fleet.search#from" - }, - { - "$ref": "#/components/parameters/fleet.search#sort" - }, - { - "$ref": "#/components/parameters/fleet.search#wait_for_checkpoints" - }, - { - "$ref": "#/components/parameters/fleet.search#allow_partial_search_results" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/fleet.search" - }, - "responses": { - "200": { - "$ref": "#/components/responses/fleet.search#200" - } - } - } - }, - "/_script_context": { - "get": { - "description": "Returns all script contexts.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-contexts.html" - }, - "operationId": "get_script_context#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "contexts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.get_script_context:Context" - } - } - }, - "required": [ - "contexts" - ] - } - } - } - } - } - } - }, - "/_script_language": { - "get": { - "description": "Returns available script types, languages and contexts", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" - }, - "operationId": "get_script_languages#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "language_contexts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.get_script_languages:LanguageContext" - } - }, - "types_allowed": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "language_contexts", - "types_allowed" - ] - } - } - } - } - } - } - }, - "/{index}/_graph/explore": { - "get": { - "description": "Explore extracted and summarized information about the documents and terms in an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html" - }, - "operationId": "graph.explore#0", - "parameters": [ - { - "$ref": "#/components/parameters/graph.explore#index" - }, - { - "$ref": "#/components/parameters/graph.explore#routing" - }, - { - "$ref": "#/components/parameters/graph.explore#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/graph.explore" - }, - "responses": { - "200": { - "$ref": "#/components/responses/graph.explore#200" - } - } - }, - "post": { - "description": "Explore extracted and summarized information about the documents and terms in an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html" - }, - "operationId": "graph.explore#1", - "parameters": [ - { - "$ref": "#/components/parameters/graph.explore#index" - }, - { - "$ref": "#/components/parameters/graph.explore#routing" - }, - { - "$ref": "#/components/parameters/graph.explore#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/graph.explore" - }, - "responses": { - "200": { - "$ref": "#/components/responses/graph.explore#200" - } - } - } - }, - "/_health_report": { - "get": { - "description": "Returns the health of the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/health-api.html" - }, - "operationId": "health_report#0", - "parameters": [ - { - "$ref": "#/components/parameters/health_report#timeout" - }, - { - "$ref": "#/components/parameters/health_report#verbose" - }, - { - "$ref": "#/components/parameters/health_report#size" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/health_report#200" - } - } - } - }, - "/_health_report/{feature}": { - "get": { - "description": "Returns the health of the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/health-api.html" - }, - "operationId": "health_report#1", - "parameters": [ - { - "$ref": "#/components/parameters/health_report#feature" - }, - { - "$ref": "#/components/parameters/health_report#timeout" - }, - { - "$ref": "#/components/parameters/health_report#verbose" - }, - { - "$ref": "#/components/parameters/health_report#size" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/health_report#200" - } - } - } - }, - "/_ilm/policy/{policy}": { - "get": { - "description": "Returns the specified policy definition. Includes the policy version and last modified date.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-lifecycle.html" - }, - "operationId": "ilm.get_lifecycle#0", - "parameters": [ - { - "$ref": "#/components/parameters/ilm.get_lifecycle#policy" - }, - { - "$ref": "#/components/parameters/ilm.get_lifecycle#master_timeout" - }, - { - "$ref": "#/components/parameters/ilm.get_lifecycle#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ilm.get_lifecycle#200" - } - } - }, - "put": { - "description": "Creates a lifecycle policy", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-put-lifecycle.html" - }, - "operationId": "ilm.put_lifecycle#0", - "parameters": [ - { - "in": "path", - "name": "policy", - "description": "Identifier for the policy.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "policy": { - "$ref": "#/components/schemas/ilm._types:Policy" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - }, - "delete": { - "description": "Deletes the specified lifecycle policy definition. A currently used policy cannot be deleted.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-delete-lifecycle.html" - }, - "operationId": "ilm.delete_lifecycle#0", - "parameters": [ - { - "in": "path", - "name": "policy", - "description": "Identifier for the policy.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/{index}/_ilm/explain": { - "get": { - "description": "Retrieves information about the index's current lifecycle state, such as the currently executing phase, action, and step.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-explain-lifecycle.html" - }, - "operationId": "ilm.explain_lifecycle#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases to target. Supports wildcards (`*`).\nTo target all data streams and indices, use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - { - "in": "query", - "name": "only_errors", - "description": "Filters the returned indices to only indices that are managed by ILM and are in an error state, either due to an encountering an error while executing the policy, or attempting to use a policy that does not exist.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "only_managed", - "description": "Filters the returned indices to only indices that are managed by ILM.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "indices": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/ilm.explain_lifecycle:LifecycleExplain" - } - } - }, - "required": [ - "indices" - ] - } - } - } - } - } - } - }, - "/_ilm/policy": { - "get": { - "description": "Returns the specified policy definition. Includes the policy version and last modified date.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-lifecycle.html" - }, - "operationId": "ilm.get_lifecycle#1", - "parameters": [ - { - "$ref": "#/components/parameters/ilm.get_lifecycle#master_timeout" - }, - { - "$ref": "#/components/parameters/ilm.get_lifecycle#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ilm.get_lifecycle#200" - } - } - } - }, - "/_ilm/status": { - "get": { - "description": "Retrieves the current index lifecycle management (ILM) status.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-status.html" - }, - "operationId": "ilm.get_status#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "operation_mode": { - "$ref": "#/components/schemas/_types:LifecycleOperationMode" - } - }, - "required": [ - "operation_mode" - ] - } - } - } - } - } - } - }, - "/_ilm/migrate_to_data_tiers": { - "post": { - "description": "Migrates the indices and ILM policies away from custom node attribute allocation routing to data tiers routing", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-migrate-to-data-tiers.html" - }, - "operationId": "ilm.migrate_to_data_tiers#0", - "parameters": [ - { - "in": "query", - "name": "dry_run", - "description": "If true, simulates the migration from node attributes based allocation filters to data tiers, but does not perform the migration.\nThis provides a way to retrieve the indices and ILM policies that need to be migrated.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "legacy_template_to_delete": { - "type": "string" - }, - "node_attribute": { - "type": "string" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "dry_run": { - "type": "boolean" - }, - "removed_legacy_template": { - "type": "string" - }, - "migrated_ilm_policies": { - "type": "array", - "items": { - "type": "string" - } - }, - "migrated_indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "migrated_legacy_templates": { - "type": "array", - "items": { - "type": "string" - } - }, - "migrated_composable_templates": { - "type": "array", - "items": { - "type": "string" - } - }, - "migrated_component_templates": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "dry_run", - "removed_legacy_template", - "migrated_ilm_policies", - "migrated_indices", - "migrated_legacy_templates", - "migrated_composable_templates", - "migrated_component_templates" - ] - } - } - } - } - } - } - }, - "/_ilm/move/{index}": { - "post": { - "description": "Manually moves an index into the specified step and executes that step.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-move-to-step.html" - }, - "operationId": "ilm.move_to_step#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "The name of the index whose lifecycle step is to change", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "current_step": { - "$ref": "#/components/schemas/ilm.move_to_step:StepKey" - }, - "next_step": { - "$ref": "#/components/schemas/ilm.move_to_step:StepKey" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/{index}/_ilm/remove": { - "post": { - "description": "Removes the assigned lifecycle policy and stops managing the specified index", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-remove-policy.html" - }, - "operationId": "ilm.remove_policy#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "The name of the index to remove policy on", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "failed_indexes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:IndexName" - } - }, - "has_failures": { - "type": "boolean" - } - }, - "required": [ - "failed_indexes", - "has_failures" - ] - } - } - } - } - } - } - }, - "/{index}/_ilm/retry": { - "post": { - "description": "Retries executing the policy for an index that is in the ERROR step.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-retry-policy.html" - }, - "operationId": "ilm.retry#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "The name of the indices (comma-separated) whose failed lifecycle step is to be retry", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ilm/start": { - "post": { - "description": "Start the index lifecycle management (ILM) plugin.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-start.html" - }, - "operationId": "ilm.start#0", - "parameters": [ - { - "in": "query", - "name": "master_timeout", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ilm/stop": { - "post": { - "description": "Halts all lifecycle management operations and stops the index lifecycle management (ILM) plugin", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-stop.html" - }, - "operationId": "ilm.stop#0", - "parameters": [ - { - "in": "query", - "name": "master_timeout", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/{index}/_doc": { - "post": { - "description": "Creates or updates a document in an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html" - }, - "operationId": "index#2", - "parameters": [ - { - "$ref": "#/components/parameters/index#index" - }, - { - "$ref": "#/components/parameters/index#if_primary_term" - }, - { - "$ref": "#/components/parameters/index#if_seq_no" - }, - { - "$ref": "#/components/parameters/index#op_type" - }, - { - "$ref": "#/components/parameters/index#pipeline" - }, - { - "$ref": "#/components/parameters/index#refresh" - }, - { - "$ref": "#/components/parameters/index#routing" - }, - { - "$ref": "#/components/parameters/index#timeout" - }, - { - "$ref": "#/components/parameters/index#version" - }, - { - "$ref": "#/components/parameters/index#version_type" - }, - { - "$ref": "#/components/parameters/index#wait_for_active_shards" - }, - { - "$ref": "#/components/parameters/index#require_alias" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/index" - }, - "responses": { - "200": { - "$ref": "#/components/responses/index#200" - } - } - } - }, - "/{index}/_block/{block}": { - "put": { - "description": "Adds a block to an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/index-modules-blocks.html" - }, - "operationId": "indices.add_block#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "A comma separated list of indices to add a block to", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - { - "in": "path", - "name": "block", - "description": "The block to add (one of read, write, read_only or metadata)", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/indices.add_block:IndicesBlockOptions" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_indices", - "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "ignore_unavailable", - "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Specify timeout for connection to master", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Explicit operation timeout", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledged": { - "type": "boolean" - }, - "shards_acknowledged": { - "type": "boolean" - }, - "indices": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.add_block:IndicesBlockStatus" - } - } - }, - "required": [ - "acknowledged", - "shards_acknowledged", - "indices" - ] - } - } - } - } - } - } - }, - "/_analyze": { - "get": { - "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" - }, - "operationId": "indices.analyze#0", - "requestBody": { - "$ref": "#/components/requestBodies/indices.analyze" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.analyze#200" - } - } - }, - "post": { - "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" - }, - "operationId": "indices.analyze#1", - "requestBody": { - "$ref": "#/components/requestBodies/indices.analyze" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.analyze#200" - } - } - } - }, - "/{index}/_analyze": { - "get": { - "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" - }, - "operationId": "indices.analyze#2", - "parameters": [ - { - "$ref": "#/components/parameters/indices.analyze#index" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.analyze" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.analyze#200" - } - } - }, - "post": { - "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html" - }, - "operationId": "indices.analyze#3", - "parameters": [ - { - "$ref": "#/components/parameters/indices.analyze#index" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.analyze" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.analyze#200" - } - } - } - }, - "/_cache/clear": { - "post": { - "description": "Clears all or specific caches for one or more indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html" - }, - "operationId": "indices.clear_cache#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.clear_cache#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.clear_cache#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.clear_cache#fielddata" - }, - { - "$ref": "#/components/parameters/indices.clear_cache#fields" - }, - { - "$ref": "#/components/parameters/indices.clear_cache#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.clear_cache#query" - }, - { - "$ref": "#/components/parameters/indices.clear_cache#request" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.clear_cache#200" - } - } - } - }, - "/{index}/_cache/clear": { - "post": { - "description": "Clears all or specific caches for one or more indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html" - }, - "operationId": "indices.clear_cache#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.clear_cache#index" - }, - { - "$ref": "#/components/parameters/indices.clear_cache#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.clear_cache#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.clear_cache#fielddata" - }, - { - "$ref": "#/components/parameters/indices.clear_cache#fields" - }, - { - "$ref": "#/components/parameters/indices.clear_cache#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.clear_cache#query" - }, - { - "$ref": "#/components/parameters/indices.clear_cache#request" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.clear_cache#200" - } - } - } - }, - "/{index}/_clone/{target}": { - "put": { - "description": "Clones an index", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clone-index.html" - }, - "operationId": "indices.clone#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.clone#index" - }, - { - "$ref": "#/components/parameters/indices.clone#target" - }, - { - "$ref": "#/components/parameters/indices.clone#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.clone#timeout" - }, - { - "$ref": "#/components/parameters/indices.clone#wait_for_active_shards" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.clone" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.clone#200" - } - } - }, - "post": { - "description": "Clones an index", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clone-index.html" - }, - "operationId": "indices.clone#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.clone#index" - }, - { - "$ref": "#/components/parameters/indices.clone#target" - }, - { - "$ref": "#/components/parameters/indices.clone#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.clone#timeout" - }, - { - "$ref": "#/components/parameters/indices.clone#wait_for_active_shards" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.clone" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.clone#200" - } - } - } - }, - "/{index}/_close": { - "post": { - "description": "Closes an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-close.html" - }, - "operationId": "indices.close#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Comma-separated list or wildcard expression of index names used to limit the request.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledged": { - "type": "boolean" - }, - "indices": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices.close:CloseIndexResult" - } - }, - "shards_acknowledged": { - "type": "boolean" - } - }, - "required": [ - "acknowledged", - "indices", - "shards_acknowledged" - ] - } - } - } - } - } - } - }, - "/{index}": { - "get": { - "description": "Returns information about one or more indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html" - }, - "operationId": "indices.get#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and index aliases used to limit the request.\nWildcard expressions (*) are supported.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_indices", - "description": "If false, the request returns an error if any wildcard expression, index alias, or _all value targets only\nmissing or closed indices. This behavior applies even if the request targets other open indices. For example,\na request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard expressions can match. If the request can target data streams, this argument\ndetermines whether wildcard expressions match hidden data streams. Supports comma-separated values,\nsuch as open,hidden.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "flat_settings", - "description": "If true, returns settings in flat format.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "ignore_unavailable", - "description": "If false, requests that target a missing index return an error.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "include_defaults", - "description": "If true, return all default settings in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "local", - "description": "If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "features", - "description": "Return only information on specified index features", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/indices.get:Features" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:IndexState" - } - } - } - } - } - } - }, - "put": { - "description": "Creates an index with optional settings and mappings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html" - }, - "operationId": "indices.create#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Name of the index you wish to create.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operation. \nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aliases": { - "description": "Aliases for the index.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:Alias" - } - }, - "mappings": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" - }, - "settings": { - "$ref": "#/components/schemas/indices._types:IndexSettings" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "shards_acknowledged": { - "type": "boolean" - }, - "acknowledged": { - "type": "boolean" - } - }, - "required": [ - "index", - "shards_acknowledged", - "acknowledged" - ] - } - } - } - } - } - }, - "delete": { - "description": "Deletes an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html" - }, - "operationId": "indices.delete#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Comma-separated list of indices to delete.\nYou cannot specify index aliases.\nBy default, this parameter does not support wildcards (`*`) or `_all`.\nTo use wildcards or `_all`, set the `action.destructive_requires_name` cluster setting to `false`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:IndicesResponseBase" - } - } - } - } - } - }, - "head": { - "description": "Returns information about whether a particular index exists.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html" - }, - "operationId": "indices.exists#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases. Supports wildcards (`*`).", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "flat_settings", - "description": "If `true`, returns settings in flat format.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "include_defaults", - "description": "If `true`, return all default settings in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "local", - "description": "If `true`, the request retrieves information from the local node only.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": {} - } - } - } - } - }, - "/_data_stream/{name}": { - "get": { - "description": "Returns data streams.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" - }, - "operationId": "indices.get_data_stream#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_data_stream#name" - }, - { - "$ref": "#/components/parameters/indices.get_data_stream#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.get_data_stream#include_defaults" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.get_data_stream#200" - } - } - }, - "put": { - "description": "Creates a data stream", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" - }, - "operationId": "indices.create_data_stream#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Name of the data stream, which must meet the following criteria:\nLowercase only;\nCannot include `\\`, `/`, `*`, `?`, `\"`, `<`, `>`, `|`, `,`, `#`, `:`, or a space character;\nCannot start with `-`, `_`, `+`, or `.ds-`;\nCannot be `.` or `..`;\nCannot be longer than 255 bytes. Multi-byte characters count towards this limit faster.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DataStreamName" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - }, - "delete": { - "description": "Deletes a data stream.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" - }, - "operationId": "indices.delete_data_stream#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Comma-separated list of data streams to delete. Wildcard (`*`) expressions are supported.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DataStreamNames" - }, - "style": "simple" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of data stream that wildcard patterns can match. Supports comma-separated values,such as `open,hidden`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_data_stream/_stats": { - "get": { - "description": "Provides statistics on operations happening in a data stream.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" - }, - "operationId": "indices.data_streams_stats#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.data_streams_stats#expand_wildcards" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.data_streams_stats#200" - } - } - } - }, - "/_data_stream/{name}/_stats": { - "get": { - "description": "Provides statistics on operations happening in a data stream.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" - }, - "operationId": "indices.data_streams_stats#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.data_streams_stats#name" - }, - { - "$ref": "#/components/parameters/indices.data_streams_stats#expand_wildcards" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.data_streams_stats#200" - } - } - } - }, - "/{index}/_alias/{name}": { - "get": { - "description": "Returns an alias.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" - }, - "operationId": "indices.get_alias#2", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_alias#index" - }, - { - "$ref": "#/components/parameters/indices.get_alias#name" - }, - { - "$ref": "#/components/parameters/indices.get_alias#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.get_alias#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.get_alias#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.get_alias#local" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.get_alias#200" - } - } - }, - "put": { - "description": "Creates or updates an alias.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" - }, - "operationId": "indices.put_alias#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.put_alias#index" - }, - { - "$ref": "#/components/parameters/indices.put_alias#name" - }, - { - "$ref": "#/components/parameters/indices.put_alias#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.put_alias#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.put_alias" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.put_alias#200" - } - } - }, - "post": { - "description": "Creates or updates an alias.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" - }, - "operationId": "indices.put_alias#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.put_alias#index" - }, - { - "$ref": "#/components/parameters/indices.put_alias#name" - }, - { - "$ref": "#/components/parameters/indices.put_alias#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.put_alias#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.put_alias" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.put_alias#200" - } - } - }, - "delete": { - "description": "Deletes an alias.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" - }, - "operationId": "indices.delete_alias#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.delete_alias#index" - }, - { - "$ref": "#/components/parameters/indices.delete_alias#name" - }, - { - "$ref": "#/components/parameters/indices.delete_alias#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.delete_alias#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.delete_alias#200" - } - } - }, - "head": { - "description": "Returns information about whether a particular alias exists.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" - }, - "operationId": "indices.exists_alias#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.exists_alias#index" - }, - { - "$ref": "#/components/parameters/indices.exists_alias#name" - }, - { - "$ref": "#/components/parameters/indices.exists_alias#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.exists_alias#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.exists_alias#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.exists_alias#local" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.exists_alias#200" - } - } - } - }, - "/{index}/_aliases/{name}": { - "put": { - "description": "Creates or updates an alias.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" - }, - "operationId": "indices.put_alias#2", - "parameters": [ - { - "$ref": "#/components/parameters/indices.put_alias#index" - }, - { - "$ref": "#/components/parameters/indices.put_alias#name" - }, - { - "$ref": "#/components/parameters/indices.put_alias#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.put_alias#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.put_alias" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.put_alias#200" - } - } - }, - "post": { - "description": "Creates or updates an alias.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" - }, - "operationId": "indices.put_alias#3", - "parameters": [ - { - "$ref": "#/components/parameters/indices.put_alias#index" - }, - { - "$ref": "#/components/parameters/indices.put_alias#name" - }, - { - "$ref": "#/components/parameters/indices.put_alias#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.put_alias#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.put_alias" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.put_alias#200" - } - } - }, - "delete": { - "description": "Deletes an alias.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" - }, - "operationId": "indices.delete_alias#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.delete_alias#index" - }, - { - "$ref": "#/components/parameters/indices.delete_alias#name" - }, - { - "$ref": "#/components/parameters/indices.delete_alias#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.delete_alias#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.delete_alias#200" - } - } - } - }, - "/_data_stream/{name}/_lifecycle": { - "get": { - "description": "Returns the data stream lifecycle of the selected data streams.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-get-lifecycle.html" - }, - "operationId": "indices.get_data_lifecycle#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Comma-separated list of data streams to limit the request.\nSupports wildcards (`*`).\nTo target all data streams, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DataStreamNames" - }, - "style": "simple" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "include_defaults", - "description": "If `true`, return all default settings in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data_streams": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.get_data_lifecycle:DataStreamWithLifecycle" - } - } - }, - "required": [ - "data_streams" - ] - } - } - } - } - } - }, - "put": { - "description": "Updates the data stream lifecycle of the selected data streams.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-put-lifecycle.html" - }, - "operationId": "indices.put_data_lifecycle#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Comma-separated list of data streams used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DataStreamNames" - }, - "style": "simple" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `hidden`, `open`, `closed`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data_retention": { - "$ref": "#/components/schemas/_types:Duration" - }, - "downsampling": { - "$ref": "#/components/schemas/indices._types:DataStreamLifecycleDownsampling" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - }, - "delete": { - "description": "Deletes the data stream lifecycle of the selected data streams.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-delete-lifecycle.html" - }, - "operationId": "indices.delete_data_lifecycle#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "A comma-separated list of data streams of which the data stream lifecycle will be deleted; use `*` to get all data streams", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DataStreamNames" - }, - "style": "simple" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Whether wildcard expressions should get expanded to open or closed indices (default: open)", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Specify timeout for connection to master", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Explicit timestamp for the document", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_index_template/{name}": { - "get": { - "description": "Returns an index template.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices.get_index_template#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_index_template#name" - }, - { - "$ref": "#/components/parameters/indices.get_index_template#local" - }, - { - "$ref": "#/components/parameters/indices.get_index_template#flat_settings" - }, - { - "$ref": "#/components/parameters/indices.get_index_template#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.get_index_template#include_defaults" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.get_index_template#200" - } - } - }, - "put": { - "description": "Creates or updates an index template.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices.put_index_template#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.put_index_template#name" - }, - { - "$ref": "#/components/parameters/indices.put_index_template#create" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.put_index_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.put_index_template#200" - } - } - }, - "post": { - "description": "Creates or updates an index template.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices.put_index_template#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.put_index_template#name" - }, - { - "$ref": "#/components/parameters/indices.put_index_template#create" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.put_index_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.put_index_template#200" - } - } - }, - "delete": { - "description": "Deletes an index template.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices.delete_index_template#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - }, - "head": { - "description": "Returns information about whether a particular index template exists.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices.exists_index_template#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": {} - } - } - } - } - }, - "/_template/{name}": { - "get": { - "description": "Returns an index template.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices.get_template#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_template#name" - }, - { - "$ref": "#/components/parameters/indices.get_template#flat_settings" - }, - { - "$ref": "#/components/parameters/indices.get_template#local" - }, - { - "$ref": "#/components/parameters/indices.get_template#master_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.get_template#200" - } - } - }, - "put": { - "description": "Creates or updates an index template.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices.put_template#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.put_template#name" - }, - { - "$ref": "#/components/parameters/indices.put_template#create" - }, - { - "$ref": "#/components/parameters/indices.put_template#flat_settings" - }, - { - "$ref": "#/components/parameters/indices.put_template#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.put_template#timeout" - }, - { - "$ref": "#/components/parameters/indices.put_template#order" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.put_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.put_template#200" - } - } - }, - "post": { - "description": "Creates or updates an index template.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices.put_template#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.put_template#name" - }, - { - "$ref": "#/components/parameters/indices.put_template#create" - }, - { - "$ref": "#/components/parameters/indices.put_template#flat_settings" - }, - { - "$ref": "#/components/parameters/indices.put_template#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.put_template#timeout" - }, - { - "$ref": "#/components/parameters/indices.put_template#order" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.put_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.put_template#200" - } - } - }, - "delete": { - "description": "Deletes an index template.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices.delete_template#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "The name of the legacy index template to delete.\nWildcard (`*`) expressions are supported.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - }, - "head": { - "description": "Returns information about whether a particular index template exists.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices.exists_template#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "The comma separated names of the index templates", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - { - "in": "query", - "name": "flat_settings", - "description": "Return settings in flat format (default: false)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "local", - "description": "Return local information, do not retrieve the state from master node (default: false)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Explicit operation timeout for connection to master node", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": {} - } - } - } - } - }, - "/{index}/_disk_usage": { - "post": { - "description": "Analyzes the disk usage of each field of an index or data stream", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-disk-usage.html" - }, - "operationId": "indices.disk_usage#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nIt’s recommended to execute this API with a single index (or the latest backing index of a data stream) as the API consumes resources significantly.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_indices", - "description": "If false, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "flush", - "description": "If `true`, the API performs a flush before analysis.\nIf `false`, the response may not include uncommitted data.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "ignore_unavailable", - "description": "If `true`, missing or closed indices are not included in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "run_expensive_tasks", - "description": "Analyzing field disk usage is resource-intensive.\nTo use the API, this parameter must be set to `true`.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - } - } - } - }, - "/{index}/_downsample/{target_index}": { - "post": { - "description": "Downsample an index", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-downsample-data-stream.html" - }, - "operationId": "indices.downsample#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Name of the time series index to downsample.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - { - "in": "path", - "name": "target_index", - "description": "Name of the index to create.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/indices._types:DownsampleConfig" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - } - } - } - }, - "/_alias/{name}": { - "get": { - "description": "Returns an alias.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" - }, - "operationId": "indices.get_alias#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_alias#name" - }, - { - "$ref": "#/components/parameters/indices.get_alias#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.get_alias#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.get_alias#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.get_alias#local" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.get_alias#200" - } - } - }, - "head": { - "description": "Returns information about whether a particular alias exists.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" - }, - "operationId": "indices.exists_alias#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.exists_alias#name" - }, - { - "$ref": "#/components/parameters/indices.exists_alias#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.exists_alias#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.exists_alias#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.exists_alias#local" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.exists_alias#200" - } - } - } - }, - "/{index}/_lifecycle/explain": { - "get": { - "description": "Retrieves information about the index's current data stream lifecycle, such as any potential encountered error, time since creation etc.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/data-streams-explain-lifecycle.html" - }, - "operationId": "indices.explain_data_lifecycle#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "The name of the index to explain", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - { - "in": "query", - "name": "include_defaults", - "description": "indicates if the API should return the default values the system uses for the index's lifecycle", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Specify timeout for connection to master", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "indices": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices.explain_data_lifecycle:DataStreamLifecycleExplain" - } - } - }, - "required": [ - "indices" - ] - } - } - } - } - } - } - }, - "/{index}/_field_usage_stats": { - "get": { - "description": "Returns the field usage stats for each field of an index", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/field-usage-stats.html" - }, - "operationId": "indices.field_usage_stats#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Comma-separated list or wildcard expression of index names used to limit the request.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "ignore_unavailable", - "description": "If `true`, missing or closed indices are not included in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "fields", - "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/indices.field_usage_stats:FieldsUsageBody" - } - } - } - } - } - } - }, - "/_flush": { - "get": { - "description": "Performs the flush operation on one or more indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-flush.html" - }, - "operationId": "indices.flush#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.flush#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.flush#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.flush#force" - }, - { - "$ref": "#/components/parameters/indices.flush#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.flush#wait_if_ongoing" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.flush#200" - } - } - }, - "post": { - "description": "Performs the flush operation on one or more indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-flush.html" - }, - "operationId": "indices.flush#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.flush#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.flush#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.flush#force" - }, - { - "$ref": "#/components/parameters/indices.flush#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.flush#wait_if_ongoing" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.flush#200" - } - } - } - }, - "/{index}/_flush": { - "get": { - "description": "Performs the flush operation on one or more indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-flush.html" - }, - "operationId": "indices.flush#3", - "parameters": [ - { - "$ref": "#/components/parameters/indices.flush#index" - }, - { - "$ref": "#/components/parameters/indices.flush#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.flush#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.flush#force" - }, - { - "$ref": "#/components/parameters/indices.flush#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.flush#wait_if_ongoing" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.flush#200" - } - } - }, - "post": { - "description": "Performs the flush operation on one or more indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-flush.html" - }, - "operationId": "indices.flush#2", - "parameters": [ - { - "$ref": "#/components/parameters/indices.flush#index" - }, - { - "$ref": "#/components/parameters/indices.flush#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.flush#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.flush#force" - }, - { - "$ref": "#/components/parameters/indices.flush#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.flush#wait_if_ongoing" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.flush#200" - } - } - } - }, - "/_forcemerge": { - "post": { - "description": "Performs the force merge operation on one or more indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html" - }, - "operationId": "indices.forcemerge#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.forcemerge#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.forcemerge#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.forcemerge#flush" - }, - { - "$ref": "#/components/parameters/indices.forcemerge#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.forcemerge#max_num_segments" - }, - { - "$ref": "#/components/parameters/indices.forcemerge#only_expunge_deletes" - }, - { - "$ref": "#/components/parameters/indices.forcemerge#wait_for_completion" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.forcemerge#200" - } - } - } - }, - "/{index}/_forcemerge": { - "post": { - "description": "Performs the force merge operation on one or more indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html" - }, - "operationId": "indices.forcemerge#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.forcemerge#index" - }, - { - "$ref": "#/components/parameters/indices.forcemerge#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.forcemerge#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.forcemerge#flush" - }, - { - "$ref": "#/components/parameters/indices.forcemerge#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.forcemerge#max_num_segments" - }, - { - "$ref": "#/components/parameters/indices.forcemerge#only_expunge_deletes" - }, - { - "$ref": "#/components/parameters/indices.forcemerge#wait_for_completion" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.forcemerge#200" - } - } - } - }, - "/_alias": { - "get": { - "description": "Returns an alias.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" - }, - "operationId": "indices.get_alias#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_alias#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.get_alias#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.get_alias#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.get_alias#local" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.get_alias#200" - } - } - } - }, - "/{index}/_alias": { - "get": { - "description": "Returns an alias.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" - }, - "operationId": "indices.get_alias#3", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_alias#index" - }, - { - "$ref": "#/components/parameters/indices.get_alias#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.get_alias#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.get_alias#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.get_alias#local" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.get_alias#200" - } - } - } - }, - "/_data_stream": { - "get": { - "description": "Returns data streams.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" - }, - "operationId": "indices.get_data_stream#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_data_stream#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.get_data_stream#include_defaults" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.get_data_stream#200" - } - } - } - }, - "/_mapping/field/{fields}": { - "get": { - "description": "Returns mapping for one or more fields.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html" - }, - "operationId": "indices.get_field_mapping#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_field_mapping#fields" - }, - { - "$ref": "#/components/parameters/indices.get_field_mapping#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.get_field_mapping#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.get_field_mapping#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.get_field_mapping#include_defaults" - }, - { - "$ref": "#/components/parameters/indices.get_field_mapping#local" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.get_field_mapping#200" - } - } - } - }, - "/{index}/_mapping/field/{fields}": { - "get": { - "description": "Returns mapping for one or more fields.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html" - }, - "operationId": "indices.get_field_mapping#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_field_mapping#index" - }, - { - "$ref": "#/components/parameters/indices.get_field_mapping#fields" - }, - { - "$ref": "#/components/parameters/indices.get_field_mapping#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.get_field_mapping#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.get_field_mapping#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.get_field_mapping#include_defaults" - }, - { - "$ref": "#/components/parameters/indices.get_field_mapping#local" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.get_field_mapping#200" - } - } - } - }, - "/_index_template": { - "get": { - "description": "Returns an index template.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices.get_index_template#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_index_template#local" - }, - { - "$ref": "#/components/parameters/indices.get_index_template#flat_settings" - }, - { - "$ref": "#/components/parameters/indices.get_index_template#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.get_index_template#include_defaults" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.get_index_template#200" - } - } - } - }, - "/_mapping": { - "get": { - "description": "Returns mappings for one or more indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html" - }, - "operationId": "indices.get_mapping#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_mapping#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.get_mapping#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.get_mapping#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.get_mapping#local" - }, - { - "$ref": "#/components/parameters/indices.get_mapping#master_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.get_mapping#200" - } - } - } - }, - "/{index}/_mapping": { - "get": { - "description": "Returns mappings for one or more indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html" - }, - "operationId": "indices.get_mapping#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_mapping#index" - }, - { - "$ref": "#/components/parameters/indices.get_mapping#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.get_mapping#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.get_mapping#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.get_mapping#local" - }, - { - "$ref": "#/components/parameters/indices.get_mapping#master_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.get_mapping#200" - } - } - }, - "put": { - "description": "Updates the index mappings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html" - }, - "operationId": "indices.put_mapping#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.put_mapping#index" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#timeout" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#write_index_only" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.put_mapping" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.put_mapping#200" - } - } - }, - "post": { - "description": "Updates the index mappings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html" - }, - "operationId": "indices.put_mapping#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.put_mapping#index" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#timeout" - }, - { - "$ref": "#/components/parameters/indices.put_mapping#write_index_only" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.put_mapping" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.put_mapping#200" - } - } - } - }, - "/_settings": { - "get": { - "description": "Returns settings for one or more indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html" - }, - "operationId": "indices.get_settings#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_settings#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.get_settings#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.get_settings#flat_settings" - }, - { - "$ref": "#/components/parameters/indices.get_settings#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.get_settings#include_defaults" - }, - { - "$ref": "#/components/parameters/indices.get_settings#local" - }, - { - "$ref": "#/components/parameters/indices.get_settings#master_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.get_settings#200" - } - } - }, - "put": { - "description": "Updates the index settings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html" - }, - "operationId": "indices.put_settings#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.put_settings#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.put_settings#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.put_settings#flat_settings" - }, - { - "$ref": "#/components/parameters/indices.put_settings#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.put_settings#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.put_settings#preserve_existing" - }, - { - "$ref": "#/components/parameters/indices.put_settings#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.put_settings" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.put_settings#200" - } - } - } - }, - "/{index}/_settings": { - "get": { - "description": "Returns settings for one or more indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html" - }, - "operationId": "indices.get_settings#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_settings#index" - }, - { - "$ref": "#/components/parameters/indices.get_settings#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.get_settings#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.get_settings#flat_settings" - }, - { - "$ref": "#/components/parameters/indices.get_settings#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.get_settings#include_defaults" - }, - { - "$ref": "#/components/parameters/indices.get_settings#local" - }, - { - "$ref": "#/components/parameters/indices.get_settings#master_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.get_settings#200" - } - } - }, - "put": { - "description": "Updates the index settings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html" - }, - "operationId": "indices.put_settings#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.put_settings#index" - }, - { - "$ref": "#/components/parameters/indices.put_settings#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.put_settings#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.put_settings#flat_settings" - }, - { - "$ref": "#/components/parameters/indices.put_settings#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.put_settings#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.put_settings#preserve_existing" - }, - { - "$ref": "#/components/parameters/indices.put_settings#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.put_settings" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.put_settings#200" - } - } - } - }, - "/{index}/_settings/{name}": { - "get": { - "description": "Returns settings for one or more indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html" - }, - "operationId": "indices.get_settings#2", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_settings#index" - }, - { - "$ref": "#/components/parameters/indices.get_settings#name" - }, - { - "$ref": "#/components/parameters/indices.get_settings#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.get_settings#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.get_settings#flat_settings" - }, - { - "$ref": "#/components/parameters/indices.get_settings#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.get_settings#include_defaults" - }, - { - "$ref": "#/components/parameters/indices.get_settings#local" - }, - { - "$ref": "#/components/parameters/indices.get_settings#master_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.get_settings#200" - } - } - } - }, - "/_settings/{name}": { - "get": { - "description": "Returns settings for one or more indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html" - }, - "operationId": "indices.get_settings#3", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_settings#name" - }, - { - "$ref": "#/components/parameters/indices.get_settings#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.get_settings#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.get_settings#flat_settings" - }, - { - "$ref": "#/components/parameters/indices.get_settings#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.get_settings#include_defaults" - }, - { - "$ref": "#/components/parameters/indices.get_settings#local" - }, - { - "$ref": "#/components/parameters/indices.get_settings#master_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.get_settings#200" - } - } - } - }, - "/_template": { - "get": { - "description": "Returns an index template.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices.get_template#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.get_template#flat_settings" - }, - { - "$ref": "#/components/parameters/indices.get_template#local" - }, - { - "$ref": "#/components/parameters/indices.get_template#master_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.get_template#200" - } - } - } - }, - "/_data_stream/_migrate/{name}": { - "post": { - "description": "Migrates an alias to a data stream", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" - }, - "operationId": "indices.migrate_to_data_stream#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Name of the index alias to convert to a data stream.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_data_stream/_modify": { - "post": { - "description": "Modifies a data stream", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" - }, - "operationId": "indices.modify_data_stream#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "actions": { - "description": "Actions to perform.", - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.modify_data_stream:Action" - } - } - }, - "required": [ - "actions" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/{index}/_open": { - "post": { - "description": "Opens an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html" - }, - "operationId": "indices.open#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nBy default, you must explicitly name the indices you using to limit the request.\nTo limit a request using `_all`, `*`, or other wildcard expressions, change the `action.destructive_requires_name` setting to false.\nYou can update this setting in the `elasticsearch.yml` file or using the cluster update settings API.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledged": { - "type": "boolean" - }, - "shards_acknowledged": { - "type": "boolean" - } - }, - "required": [ - "acknowledged", - "shards_acknowledged" - ] - } - } - } - } - } - } - }, - "/_data_stream/_promote/{name}": { - "post": { - "description": "Promotes a data stream from a replicated data stream managed by CCR to a regular data stream", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" - }, - "operationId": "indices.promote_data_stream#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "The name of the data stream", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - } - } - } - }, - "/_recovery": { - "get": { - "description": "Returns information about ongoing index shard recoveries.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html" - }, - "operationId": "indices.recovery#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.recovery#active_only" - }, - { - "$ref": "#/components/parameters/indices.recovery#detailed" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.recovery#200" - } - } - } - }, - "/{index}/_recovery": { - "get": { - "description": "Returns information about ongoing index shard recoveries.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html" - }, - "operationId": "indices.recovery#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.recovery#index" - }, - { - "$ref": "#/components/parameters/indices.recovery#active_only" - }, - { - "$ref": "#/components/parameters/indices.recovery#detailed" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.recovery#200" - } - } - } - }, - "/_refresh": { - "get": { - "description": "Performs the refresh operation in one or more indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html" - }, - "operationId": "indices.refresh#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.refresh#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.refresh#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.refresh#ignore_unavailable" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.refresh#200" - } - } - }, - "post": { - "description": "Performs the refresh operation in one or more indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html" - }, - "operationId": "indices.refresh#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.refresh#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.refresh#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.refresh#ignore_unavailable" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.refresh#200" - } - } - } - }, - "/{index}/_refresh": { - "get": { - "description": "Performs the refresh operation in one or more indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html" - }, - "operationId": "indices.refresh#3", - "parameters": [ - { - "$ref": "#/components/parameters/indices.refresh#index" - }, - { - "$ref": "#/components/parameters/indices.refresh#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.refresh#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.refresh#ignore_unavailable" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.refresh#200" - } - } - }, - "post": { - "description": "Performs the refresh operation in one or more indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html" - }, - "operationId": "indices.refresh#2", - "parameters": [ - { - "$ref": "#/components/parameters/indices.refresh#index" - }, - { - "$ref": "#/components/parameters/indices.refresh#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.refresh#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.refresh#ignore_unavailable" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.refresh#200" - } - } - } - }, - "/{index}/_reload_search_analyzers": { - "get": { - "description": "Reloads an index's search analyzers and their resources.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-reload-analyzers.html" - }, - "operationId": "indices.reload_search_analyzers#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.reload_search_analyzers#index" - }, - { - "$ref": "#/components/parameters/indices.reload_search_analyzers#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.reload_search_analyzers#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.reload_search_analyzers#ignore_unavailable" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.reload_search_analyzers#200" - } - } - }, - "post": { - "description": "Reloads an index's search analyzers and their resources.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-reload-analyzers.html" - }, - "operationId": "indices.reload_search_analyzers#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.reload_search_analyzers#index" - }, - { - "$ref": "#/components/parameters/indices.reload_search_analyzers#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.reload_search_analyzers#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.reload_search_analyzers#ignore_unavailable" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.reload_search_analyzers#200" - } - } - } - }, - "/_resolve/index/{name}": { - "get": { - "description": "Returns information about any matching indices, aliases, and data streams", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-index-api.html" - }, - "operationId": "indices.resolve_index#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Comma-separated name(s) or index pattern(s) of the indices, aliases, and data streams to resolve.\nResources on remote clusters can be specified using the ``:`` syntax.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "indices": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.resolve_index:ResolveIndexItem" - } - }, - "aliases": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.resolve_index:ResolveIndexAliasItem" - } - }, - "data_streams": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.resolve_index:ResolveIndexDataStreamsItem" - } - } - }, - "required": [ - "indices", - "aliases", - "data_streams" - ] - } - } - } - } - } - } - }, - "/{alias}/_rollover": { - "post": { - "description": "Updates an alias to point to a new index when the existing index\nis considered to be too large or too old.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-rollover-index.html" - }, - "operationId": "indices.rollover#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.rollover#alias" - }, - { - "$ref": "#/components/parameters/indices.rollover#dry_run" - }, - { - "$ref": "#/components/parameters/indices.rollover#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.rollover#timeout" - }, - { - "$ref": "#/components/parameters/indices.rollover#wait_for_active_shards" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.rollover" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.rollover#200" - } - } - } - }, - "/{alias}/_rollover/{new_index}": { - "post": { - "description": "Updates an alias to point to a new index when the existing index\nis considered to be too large or too old.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-rollover-index.html" - }, - "operationId": "indices.rollover#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.rollover#alias" - }, - { - "$ref": "#/components/parameters/indices.rollover#new_index" - }, - { - "$ref": "#/components/parameters/indices.rollover#dry_run" - }, - { - "$ref": "#/components/parameters/indices.rollover#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.rollover#timeout" - }, - { - "$ref": "#/components/parameters/indices.rollover#wait_for_active_shards" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.rollover" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.rollover#200" - } - } - } - }, - "/_segments": { - "get": { - "description": "Provides low-level information about segments in a Lucene index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html" - }, - "operationId": "indices.segments#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.segments#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.segments#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.segments#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.segments#verbose" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.segments#200" - } - } - } - }, - "/{index}/_segments": { - "get": { - "description": "Provides low-level information about segments in a Lucene index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html" - }, - "operationId": "indices.segments#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.segments#index" - }, - { - "$ref": "#/components/parameters/indices.segments#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.segments#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.segments#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.segments#verbose" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.segments#200" - } - } - } - }, - "/_shard_stores": { - "get": { - "description": "Provides store information for shard copies of indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html" - }, - "operationId": "indices.shard_stores#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.shard_stores#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.shard_stores#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.shard_stores#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.shard_stores#status" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.shard_stores#200" - } - } - } - }, - "/{index}/_shard_stores": { - "get": { - "description": "Provides store information for shard copies of indices.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html" - }, - "operationId": "indices.shard_stores#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.shard_stores#index" - }, - { - "$ref": "#/components/parameters/indices.shard_stores#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.shard_stores#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.shard_stores#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.shard_stores#status" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.shard_stores#200" - } - } - } - }, - "/{index}/_shrink/{target}": { - "put": { - "description": "Allow to shrink an existing index into a new index with fewer primary shards.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-shrink-index.html" - }, - "operationId": "indices.shrink#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.shrink#index" - }, - { - "$ref": "#/components/parameters/indices.shrink#target" - }, - { - "$ref": "#/components/parameters/indices.shrink#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.shrink#timeout" - }, - { - "$ref": "#/components/parameters/indices.shrink#wait_for_active_shards" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.shrink" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.shrink#200" - } - } - }, - "post": { - "description": "Allow to shrink an existing index into a new index with fewer primary shards.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-shrink-index.html" - }, - "operationId": "indices.shrink#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.shrink#index" - }, - { - "$ref": "#/components/parameters/indices.shrink#target" - }, - { - "$ref": "#/components/parameters/indices.shrink#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.shrink#timeout" - }, - { - "$ref": "#/components/parameters/indices.shrink#wait_for_active_shards" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.shrink" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.shrink#200" - } - } - } - }, - "/_index_template/_simulate_index/{name}": { - "post": { - "description": "Simulate matching the given index name against the index templates in the system", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices.simulate_index_template#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Index or template name to simulate", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "query", - "name": "create", - "description": "If `true`, the template passed in the body is only used if no existing\ntemplates match the same index patterns. If `false`, the simulation uses\nthe template with the highest priority. Note that the template is not\npermanently added or updated in either case; it is only used for the\nsimulation.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received\nbefore the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "include_defaults", - "description": "If true, returns all relevant default configurations for the index template.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "allow_auto_create": { - "description": "This setting overrides the value of the `action.auto_create_index` cluster setting.\nIf set to `true` in a template, then indices can be automatically created using that template even if auto-creation of indices is disabled via `actions.auto_create_index`.\nIf set to `false`, then indices or data streams matching the template must always be explicitly created, and may never be automatically created.", - "type": "boolean" - }, - "index_patterns": { - "$ref": "#/components/schemas/_types:Indices" - }, - "composed_of": { - "description": "An ordered list of component template names.\nComponent templates are merged in the order specified, meaning that the last component template specified has the highest precedence.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "template": { - "$ref": "#/components/schemas/indices.put_index_template:IndexTemplateMapping" - }, - "data_stream": { - "$ref": "#/components/schemas/indices._types:DataStreamVisibility" - }, - "priority": { - "description": "Priority to determine index template precedence when a new data stream or index is created.\nThe index template with the highest priority is chosen.\nIf no priority is specified the template is treated as though it is of priority 0 (lowest priority).\nThis number is not automatically generated by Elasticsearch.", - "type": "number" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - } - } - } - }, - "/_index_template/_simulate": { - "post": { - "description": "Simulate resolving the given template name or body", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices.simulate_template#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.simulate_template#create" - }, - { - "$ref": "#/components/parameters/indices.simulate_template#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.simulate_template#include_defaults" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.simulate_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.simulate_template#200" - } - } - } - }, - "/_index_template/_simulate/{name}": { - "post": { - "description": "Simulate resolving the given template name or body", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" - }, - "operationId": "indices.simulate_template#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.simulate_template#name" - }, - { - "$ref": "#/components/parameters/indices.simulate_template#create" - }, - { - "$ref": "#/components/parameters/indices.simulate_template#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.simulate_template#include_defaults" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.simulate_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.simulate_template#200" - } - } - } - }, - "/{index}/_split/{target}": { - "put": { - "description": "Allows you to split an existing index into a new index with more primary shards.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-split-index.html" - }, - "operationId": "indices.split#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.split#index" - }, - { - "$ref": "#/components/parameters/indices.split#target" - }, - { - "$ref": "#/components/parameters/indices.split#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.split#timeout" - }, - { - "$ref": "#/components/parameters/indices.split#wait_for_active_shards" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.split" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.split#200" - } - } - }, - "post": { - "description": "Allows you to split an existing index into a new index with more primary shards.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-split-index.html" - }, - "operationId": "indices.split#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.split#index" - }, - { - "$ref": "#/components/parameters/indices.split#target" - }, - { - "$ref": "#/components/parameters/indices.split#master_timeout" - }, - { - "$ref": "#/components/parameters/indices.split#timeout" - }, - { - "$ref": "#/components/parameters/indices.split#wait_for_active_shards" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.split" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.split#200" - } - } - } - }, - "/_stats": { - "get": { - "description": "Provides statistics on operations happening in an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html" - }, - "operationId": "indices.stats#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.stats#completion_fields" - }, - { - "$ref": "#/components/parameters/indices.stats#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.stats#fielddata_fields" - }, - { - "$ref": "#/components/parameters/indices.stats#fields" - }, - { - "$ref": "#/components/parameters/indices.stats#forbid_closed_indices" - }, - { - "$ref": "#/components/parameters/indices.stats#groups" - }, - { - "$ref": "#/components/parameters/indices.stats#include_segment_file_sizes" - }, - { - "$ref": "#/components/parameters/indices.stats#include_unloaded_segments" - }, - { - "$ref": "#/components/parameters/indices.stats#level" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.stats#200" - } - } - } - }, - "/_stats/{metric}": { - "get": { - "description": "Provides statistics on operations happening in an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html" - }, - "operationId": "indices.stats#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.stats#metric" - }, - { - "$ref": "#/components/parameters/indices.stats#completion_fields" - }, - { - "$ref": "#/components/parameters/indices.stats#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.stats#fielddata_fields" - }, - { - "$ref": "#/components/parameters/indices.stats#fields" - }, - { - "$ref": "#/components/parameters/indices.stats#forbid_closed_indices" - }, - { - "$ref": "#/components/parameters/indices.stats#groups" - }, - { - "$ref": "#/components/parameters/indices.stats#include_segment_file_sizes" - }, - { - "$ref": "#/components/parameters/indices.stats#include_unloaded_segments" - }, - { - "$ref": "#/components/parameters/indices.stats#level" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.stats#200" - } - } - } - }, - "/{index}/_stats": { - "get": { - "description": "Provides statistics on operations happening in an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html" - }, - "operationId": "indices.stats#2", - "parameters": [ - { - "$ref": "#/components/parameters/indices.stats#index" - }, - { - "$ref": "#/components/parameters/indices.stats#completion_fields" - }, - { - "$ref": "#/components/parameters/indices.stats#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.stats#fielddata_fields" - }, - { - "$ref": "#/components/parameters/indices.stats#fields" - }, - { - "$ref": "#/components/parameters/indices.stats#forbid_closed_indices" - }, - { - "$ref": "#/components/parameters/indices.stats#groups" - }, - { - "$ref": "#/components/parameters/indices.stats#include_segment_file_sizes" - }, - { - "$ref": "#/components/parameters/indices.stats#include_unloaded_segments" - }, - { - "$ref": "#/components/parameters/indices.stats#level" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.stats#200" - } - } - } - }, - "/{index}/_stats/{metric}": { - "get": { - "description": "Provides statistics on operations happening in an index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html" - }, - "operationId": "indices.stats#3", - "parameters": [ - { - "$ref": "#/components/parameters/indices.stats#index" - }, - { - "$ref": "#/components/parameters/indices.stats#metric" - }, - { - "$ref": "#/components/parameters/indices.stats#completion_fields" - }, - { - "$ref": "#/components/parameters/indices.stats#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.stats#fielddata_fields" - }, - { - "$ref": "#/components/parameters/indices.stats#fields" - }, - { - "$ref": "#/components/parameters/indices.stats#forbid_closed_indices" - }, - { - "$ref": "#/components/parameters/indices.stats#groups" - }, - { - "$ref": "#/components/parameters/indices.stats#include_segment_file_sizes" - }, - { - "$ref": "#/components/parameters/indices.stats#include_unloaded_segments" - }, - { - "$ref": "#/components/parameters/indices.stats#level" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/indices.stats#200" - } - } - } - }, - "/{index}/_unfreeze": { - "post": { - "description": "Unfreezes an index. When a frozen index is unfrozen, the index goes through the normal recovery process and becomes writeable again.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/unfreeze-index-api.html" - }, - "operationId": "indices.unfreeze#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Identifier for the index.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledged": { - "type": "boolean" - }, - "shards_acknowledged": { - "type": "boolean" - } - }, - "required": [ - "acknowledged", - "shards_acknowledged" - ] - } - } - } - } - } - } - }, - "/_aliases": { - "post": { - "description": "Updates index aliases.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html" - }, - "operationId": "indices.update_aliases#0", - "parameters": [ - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "actions": { - "description": "Actions to perform.", - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.update_aliases:Action" - } - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_validate/query": { - "get": { - "description": "Allows a user to validate a potentially expensive query without executing it.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html" - }, - "operationId": "indices.validate_query#0", - "parameters": [ - { - "$ref": "#/components/parameters/indices.validate_query#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.validate_query#all_shards" - }, - { - "$ref": "#/components/parameters/indices.validate_query#analyzer" - }, - { - "$ref": "#/components/parameters/indices.validate_query#analyze_wildcard" - }, - { - "$ref": "#/components/parameters/indices.validate_query#default_operator" - }, - { - "$ref": "#/components/parameters/indices.validate_query#df" - }, - { - "$ref": "#/components/parameters/indices.validate_query#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.validate_query#explain" - }, - { - "$ref": "#/components/parameters/indices.validate_query#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.validate_query#lenient" - }, - { - "$ref": "#/components/parameters/indices.validate_query#rewrite" - }, - { - "$ref": "#/components/parameters/indices.validate_query#q" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.validate_query" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.validate_query#200" - } - } - }, - "post": { - "description": "Allows a user to validate a potentially expensive query without executing it.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html" - }, - "operationId": "indices.validate_query#1", - "parameters": [ - { - "$ref": "#/components/parameters/indices.validate_query#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.validate_query#all_shards" - }, - { - "$ref": "#/components/parameters/indices.validate_query#analyzer" - }, - { - "$ref": "#/components/parameters/indices.validate_query#analyze_wildcard" - }, - { - "$ref": "#/components/parameters/indices.validate_query#default_operator" - }, - { - "$ref": "#/components/parameters/indices.validate_query#df" - }, - { - "$ref": "#/components/parameters/indices.validate_query#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.validate_query#explain" - }, - { - "$ref": "#/components/parameters/indices.validate_query#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.validate_query#lenient" - }, - { - "$ref": "#/components/parameters/indices.validate_query#rewrite" - }, - { - "$ref": "#/components/parameters/indices.validate_query#q" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.validate_query" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.validate_query#200" - } - } - } - }, - "/{index}/_validate/query": { - "get": { - "description": "Allows a user to validate a potentially expensive query without executing it.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html" - }, - "operationId": "indices.validate_query#2", - "parameters": [ - { - "$ref": "#/components/parameters/indices.validate_query#index" - }, - { - "$ref": "#/components/parameters/indices.validate_query#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.validate_query#all_shards" - }, - { - "$ref": "#/components/parameters/indices.validate_query#analyzer" - }, - { - "$ref": "#/components/parameters/indices.validate_query#analyze_wildcard" - }, - { - "$ref": "#/components/parameters/indices.validate_query#default_operator" - }, - { - "$ref": "#/components/parameters/indices.validate_query#df" - }, - { - "$ref": "#/components/parameters/indices.validate_query#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.validate_query#explain" - }, - { - "$ref": "#/components/parameters/indices.validate_query#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.validate_query#lenient" - }, - { - "$ref": "#/components/parameters/indices.validate_query#rewrite" - }, - { - "$ref": "#/components/parameters/indices.validate_query#q" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.validate_query" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.validate_query#200" - } - } - }, - "post": { - "description": "Allows a user to validate a potentially expensive query without executing it.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html" - }, - "operationId": "indices.validate_query#3", - "parameters": [ - { - "$ref": "#/components/parameters/indices.validate_query#index" - }, - { - "$ref": "#/components/parameters/indices.validate_query#allow_no_indices" - }, - { - "$ref": "#/components/parameters/indices.validate_query#all_shards" - }, - { - "$ref": "#/components/parameters/indices.validate_query#analyzer" - }, - { - "$ref": "#/components/parameters/indices.validate_query#analyze_wildcard" - }, - { - "$ref": "#/components/parameters/indices.validate_query#default_operator" - }, - { - "$ref": "#/components/parameters/indices.validate_query#df" - }, - { - "$ref": "#/components/parameters/indices.validate_query#expand_wildcards" - }, - { - "$ref": "#/components/parameters/indices.validate_query#explain" - }, - { - "$ref": "#/components/parameters/indices.validate_query#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/indices.validate_query#lenient" - }, - { - "$ref": "#/components/parameters/indices.validate_query#rewrite" - }, - { - "$ref": "#/components/parameters/indices.validate_query#q" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/indices.validate_query" - }, - "responses": { - "200": { - "$ref": "#/components/responses/indices.validate_query#200" - } - } - } - }, - "/": { - "get": { - "description": "Returns basic information about the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html" - }, - "operationId": "info#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "cluster_uuid": { - "$ref": "#/components/schemas/_types:Uuid" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "tagline": { - "type": "string" - }, - "version": { - "$ref": "#/components/schemas/_types:ElasticsearchVersionInfo" - } - }, - "required": [ - "cluster_name", - "cluster_uuid", - "name", - "tagline", - "version" - ] - } - } - } - } - } - }, - "head": { - "description": "Returns whether the cluster is running.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html" - }, - "operationId": "ping#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": {} - } - } - } - } - }, - "/_ingest/pipeline/{id}": { - "get": { - "description": "Returns a pipeline.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-pipeline-api.html" - }, - "operationId": "ingest.get_pipeline#1", - "parameters": [ - { - "$ref": "#/components/parameters/ingest.get_pipeline#id" - }, - { - "$ref": "#/components/parameters/ingest.get_pipeline#master_timeout" - }, - { - "$ref": "#/components/parameters/ingest.get_pipeline#summary" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ingest.get_pipeline#200" - } - } - }, - "put": { - "description": "Creates or updates a pipeline.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ingest.html" - }, - "operationId": "ingest.put_pipeline#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "ID of the ingest pipeline to create or update.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "if_version", - "description": "Required version for optimistic concurrency control for pipeline updates", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "description": { - "description": "Description of the ingest pipeline.", - "type": "string" - }, - "on_failure": { - "description": "Processors to run immediately after a processor failure. Each processor supports a processor-level `on_failure` value. If a processor without an `on_failure` value fails, Elasticsearch uses this pipeline-level parameter as a fallback. The processors in this parameter run sequentially in the order specified. Elasticsearch will not attempt to run the pipeline's remaining processors.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ingest._types:ProcessorContainer" - } - }, - "processors": { - "description": "Processors used to perform transformations on documents before indexing. Processors run sequentially in the order specified.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ingest._types:ProcessorContainer" - } - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - }, - "delete": { - "description": "Deletes a pipeline.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html" - }, - "operationId": "ingest.delete_pipeline#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Pipeline ID or wildcard expression of pipeline IDs used to limit the request.\nTo delete all ingest pipelines in a cluster, use a value of `*`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ingest/geoip/stats": { - "get": { - "description": "Returns statistical information about geoip databases", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/geoip-processor.html" - }, - "operationId": "ingest.geo_ip_stats#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "stats": { - "$ref": "#/components/schemas/ingest.geo_ip_stats:GeoIpDownloadStatistics" - }, - "nodes": { - "description": "Downloaded GeoIP2 databases for each node.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/ingest.geo_ip_stats:GeoIpNodeDatabases" - } - } - }, - "required": [ - "stats", - "nodes" - ] - } - } - } - } - } - } - }, - "/_ingest/pipeline": { - "get": { - "description": "Returns a pipeline.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-pipeline-api.html" - }, - "operationId": "ingest.get_pipeline#0", - "parameters": [ - { - "$ref": "#/components/parameters/ingest.get_pipeline#master_timeout" - }, - { - "$ref": "#/components/parameters/ingest.get_pipeline#summary" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ingest.get_pipeline#200" - } - } - } - }, - "/_ingest/processor/grok": { - "get": { - "description": "Returns a list of the built-in patterns.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/grok-processor.html" - }, - "operationId": "ingest.processor_grok#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "patterns": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "required": [ - "patterns" - ] - } - } - } - } - } - } - }, - "/_ingest/pipeline/_simulate": { - "get": { - "description": "Allows to simulate a pipeline with example documents.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" - }, - "operationId": "ingest.simulate#0", - "parameters": [ - { - "$ref": "#/components/parameters/ingest.simulate#verbose" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ingest.simulate" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ingest.simulate#200" - } - } - }, - "post": { - "description": "Allows to simulate a pipeline with example documents.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" - }, - "operationId": "ingest.simulate#1", - "parameters": [ - { - "$ref": "#/components/parameters/ingest.simulate#verbose" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ingest.simulate" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ingest.simulate#200" - } - } - } - }, - "/_ingest/pipeline/{id}/_simulate": { - "get": { - "description": "Allows to simulate a pipeline with example documents.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" - }, - "operationId": "ingest.simulate#2", - "parameters": [ - { - "$ref": "#/components/parameters/ingest.simulate#id" - }, - { - "$ref": "#/components/parameters/ingest.simulate#verbose" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ingest.simulate" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ingest.simulate#200" - } - } - }, - "post": { - "description": "Allows to simulate a pipeline with example documents.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" - }, - "operationId": "ingest.simulate#3", - "parameters": [ - { - "$ref": "#/components/parameters/ingest.simulate#id" - }, - { - "$ref": "#/components/parameters/ingest.simulate#verbose" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ingest.simulate" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ingest.simulate#200" - } - } - } - }, - "/{index}/_knn_search": { - "get": { - "description": "Performs a kNN search.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" - }, - "operationId": "knn_search#0", - "parameters": [ - { - "$ref": "#/components/parameters/knn_search#index" - }, - { - "$ref": "#/components/parameters/knn_search#routing" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/knn_search" - }, - "responses": { - "200": { - "$ref": "#/components/responses/knn_search#200" - } - } - }, - "post": { - "description": "Performs a kNN search.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" - }, - "operationId": "knn_search#1", - "parameters": [ - { - "$ref": "#/components/parameters/knn_search#index" - }, - { - "$ref": "#/components/parameters/knn_search#routing" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/knn_search" - }, - "responses": { - "200": { - "$ref": "#/components/responses/knn_search#200" - } - } - } - }, - "/_license": { - "get": { - "description": "Retrieves licensing information for the cluster", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-license.html" - }, - "operationId": "license.get#0", - "parameters": [ - { - "in": "query", - "name": "accept_enterprise", - "description": "If `true`, this parameter returns enterprise for Enterprise license types. If `false`, this parameter returns platinum for both platinum and enterprise license types. This behavior is maintained for backwards compatibility.\nThis parameter is deprecated and will always be set to true in 8.x.", - "deprecated": true, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "local", - "description": "Specifies whether to retrieve local information. The default value is `false`, which means the information is retrieved from the master node.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "license": { - "$ref": "#/components/schemas/license.get:LicenseInformation" - } - }, - "required": [ - "license" - ] - } - } - } - } - } - }, - "put": { - "description": "Updates the license for the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/update-license.html" - }, - "operationId": "license.post#0", - "parameters": [ - { - "$ref": "#/components/parameters/license.post#acknowledge" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/license.post" - }, - "responses": { - "200": { - "$ref": "#/components/responses/license.post#200" - } - } - }, - "post": { - "description": "Updates the license for the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/update-license.html" - }, - "operationId": "license.post#1", - "parameters": [ - { - "$ref": "#/components/parameters/license.post#acknowledge" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/license.post" - }, - "responses": { - "200": { - "$ref": "#/components/responses/license.post#200" - } - } - }, - "delete": { - "description": "Deletes licensing information for the cluster", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-license.html" - }, - "operationId": "license.delete#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_license/basic_status": { - "get": { - "description": "Retrieves information about the status of the basic license.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-basic-status.html" - }, - "operationId": "license.get_basic_status#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "eligible_to_start_basic": { - "type": "boolean" - } - }, - "required": [ - "eligible_to_start_basic" - ] - } - } - } - } - } - } - }, - "/_license/trial_status": { - "get": { - "description": "Retrieves information about the status of the trial license.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-trial-status.html" - }, - "operationId": "license.get_trial_status#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "eligible_to_start_trial": { - "type": "boolean" - } - }, - "required": [ - "eligible_to_start_trial" - ] - } - } - } - } - } - } - }, - "/_license/start_basic": { - "post": { - "description": "Starts an indefinite basic license.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/start-basic.html" - }, - "operationId": "license.post_start_basic#0", - "parameters": [ - { - "in": "query", - "name": "acknowledge", - "description": "whether the user has acknowledged acknowledge messages (default: false)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledged": { - "type": "boolean" - }, - "basic_was_started": { - "type": "boolean" - }, - "error_message": { - "type": "string" - }, - "type": { - "$ref": "#/components/schemas/license._types:LicenseType" - }, - "acknowledge": { - "type": "object", - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - "required": [ - "acknowledged", - "basic_was_started" - ] - } - } - } - } - } - } - }, - "/_license/start_trial": { - "post": { - "description": "starts a limited time trial license.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/start-trial.html" - }, - "operationId": "license.post_start_trial#0", - "parameters": [ - { - "in": "query", - "name": "acknowledge", - "description": "whether the user has acknowledged acknowledge messages (default: false)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "type_query_string", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledged": { - "type": "boolean" - }, - "error_message": { - "type": "string" - }, - "trial_was_started": { - "type": "boolean" - }, - "type": { - "$ref": "#/components/schemas/license._types:LicenseType" - } - }, - "required": [ - "acknowledged", - "trial_was_started" - ] - } - } - } - } - } - } - }, - "/_logstash/pipeline/{id}": { - "get": { - "description": "Retrieves Logstash Pipelines used by Central Management", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-get-pipeline.html" - }, - "operationId": "logstash.get_pipeline#1", - "parameters": [ - { - "$ref": "#/components/parameters/logstash.get_pipeline#id" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/logstash.get_pipeline#200" - } - } - }, - "put": { - "description": "Adds and updates Logstash Pipelines used for Central Management", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-put-pipeline.html" - }, - "operationId": "logstash.put_pipeline#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Identifier for the pipeline.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/logstash._types:Pipeline" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": {} - } - } - } - }, - "delete": { - "description": "Deletes Logstash Pipelines used by Central Management", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-delete-pipeline.html" - }, - "operationId": "logstash.delete_pipeline#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Identifier for the pipeline.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": {} - } - } - } - } - }, - "/_logstash/pipeline": { - "get": { - "description": "Retrieves Logstash Pipelines used by Central Management", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-get-pipeline.html" - }, - "operationId": "logstash.get_pipeline#0", - "responses": { - "200": { - "$ref": "#/components/responses/logstash.get_pipeline#200" - } - } - } - }, - "/_mget": { - "get": { - "description": "Allows to get multiple documents in one request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html" - }, - "operationId": "mget#0", - "parameters": [ - { - "$ref": "#/components/parameters/mget#preference" - }, - { - "$ref": "#/components/parameters/mget#realtime" - }, - { - "$ref": "#/components/parameters/mget#refresh" - }, - { - "$ref": "#/components/parameters/mget#routing" - }, - { - "$ref": "#/components/parameters/mget#_source" - }, - { - "$ref": "#/components/parameters/mget#_source_excludes" - }, - { - "$ref": "#/components/parameters/mget#_source_includes" - }, - { - "$ref": "#/components/parameters/mget#stored_fields" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/mget" - }, - "responses": { - "200": { - "$ref": "#/components/responses/mget#200" - } - } - }, - "post": { - "description": "Allows to get multiple documents in one request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html" - }, - "operationId": "mget#1", - "parameters": [ - { - "$ref": "#/components/parameters/mget#preference" - }, - { - "$ref": "#/components/parameters/mget#realtime" - }, - { - "$ref": "#/components/parameters/mget#refresh" - }, - { - "$ref": "#/components/parameters/mget#routing" - }, - { - "$ref": "#/components/parameters/mget#_source" - }, - { - "$ref": "#/components/parameters/mget#_source_excludes" - }, - { - "$ref": "#/components/parameters/mget#_source_includes" - }, - { - "$ref": "#/components/parameters/mget#stored_fields" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/mget" - }, - "responses": { - "200": { - "$ref": "#/components/responses/mget#200" - } - } - } - }, - "/{index}/_mget": { - "get": { - "description": "Allows to get multiple documents in one request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html" - }, - "operationId": "mget#2", - "parameters": [ - { - "$ref": "#/components/parameters/mget#index" - }, - { - "$ref": "#/components/parameters/mget#preference" - }, - { - "$ref": "#/components/parameters/mget#realtime" - }, - { - "$ref": "#/components/parameters/mget#refresh" - }, - { - "$ref": "#/components/parameters/mget#routing" - }, - { - "$ref": "#/components/parameters/mget#_source" - }, - { - "$ref": "#/components/parameters/mget#_source_excludes" - }, - { - "$ref": "#/components/parameters/mget#_source_includes" - }, - { - "$ref": "#/components/parameters/mget#stored_fields" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/mget" - }, - "responses": { - "200": { - "$ref": "#/components/responses/mget#200" - } - } - }, - "post": { - "description": "Allows to get multiple documents in one request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html" - }, - "operationId": "mget#3", - "parameters": [ - { - "$ref": "#/components/parameters/mget#index" - }, - { - "$ref": "#/components/parameters/mget#preference" - }, - { - "$ref": "#/components/parameters/mget#realtime" - }, - { - "$ref": "#/components/parameters/mget#refresh" - }, - { - "$ref": "#/components/parameters/mget#routing" - }, - { - "$ref": "#/components/parameters/mget#_source" - }, - { - "$ref": "#/components/parameters/mget#_source_excludes" - }, - { - "$ref": "#/components/parameters/mget#_source_includes" - }, - { - "$ref": "#/components/parameters/mget#stored_fields" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/mget" - }, - "responses": { - "200": { - "$ref": "#/components/responses/mget#200" - } - } - } - }, - "/_migration/deprecations": { - "get": { - "description": "Retrieves information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-deprecation.html" - }, - "operationId": "migration.deprecations#0", - "responses": { - "200": { - "$ref": "#/components/responses/migration.deprecations#200" - } - } - } - }, - "/{index}/_migration/deprecations": { - "get": { - "description": "Retrieves information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-deprecation.html" - }, - "operationId": "migration.deprecations#1", - "parameters": [ - { - "$ref": "#/components/parameters/migration.deprecations#index" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/migration.deprecations#200" - } - } - } - }, - "/_migration/system_features": { - "get": { - "description": "Find out whether system features need to be upgraded or not", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-feature-upgrade.html" - }, - "operationId": "migration.get_feature_upgrade_status#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "features": { - "type": "array", - "items": { - "$ref": "#/components/schemas/migration.get_feature_upgrade_status:MigrationFeature" - } - }, - "migration_status": { - "$ref": "#/components/schemas/migration.get_feature_upgrade_status:MigrationStatus" - } - }, - "required": [ - "features", - "migration_status" - ] - } - } - } - } - } - }, - "post": { - "description": "Begin upgrades for system features", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-feature-upgrade.html" - }, - "operationId": "migration.post_feature_upgrade#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "accepted": { - "type": "boolean" - }, - "features": { - "type": "array", - "items": { - "$ref": "#/components/schemas/migration.post_feature_upgrade:MigrationFeature" - } - } - }, - "required": [ - "accepted", - "features" - ] - } - } - } - } - } - } - }, - "/_ml/trained_models/{model_id}/deployment/cache/_clear": { - "post": { - "description": "Clear the cached results from a trained model deployment", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/clear-trained-model-deployment-cache.html" - }, - "operationId": "ml.clear_trained_model_deployment_cache#0", - "parameters": [ - { - "in": "path", - "name": "model_id", - "description": "The unique identifier of the trained model.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "cleared": { - "type": "boolean" - } - }, - "required": [ - "cleared" - ] - } - } - } - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/_close": { - "post": { - "description": "Closes one or more anomaly detection jobs. A job can be opened and closed multiple times throughout its lifecycle.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-close-job.html" - }, - "operationId": "ml.close_job#0", - "parameters": [ - { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job. It can be a job identifier, a group name, or a wildcard expression. You can close multiple anomaly detection jobs in a single API request by using a group name, a comma-separated list of jobs, or a wildcard expression. You can close all jobs by using `_all` or by specifying `*` as the job identifier.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request: contains wildcard expressions and there are no jobs that match; contains the `_all` string or no identifiers and there are no matches; or contains wildcard expressions and there are only partial matches. By default, it returns an empty jobs array when there are no matches and the subset of results when there are partial matches.\nIf `false`, the request returns a 404 status code when there are no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "force", - "description": "Use to close a failed job, or to forcefully close a job which has not responded to its initial close request; the request returns without performing the associated actions such as flushing buffers and persisting the model snapshots.\nIf you want the job to be in a consistent state after the close job API returns, do not set to `true`. This parameter should be used only in situations where the job has already failed or where you are not interested in results the job might have recently produced or might produce in the future.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Controls the time to wait until a job has closed.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "allow_no_match": { - "description": "Refer to the description for the `allow_no_match` query parameter.", - "type": "boolean" - }, - "force": { - "description": "Refer to the descriptiion for the `force` query parameter.", - "type": "boolean" - }, - "timeout": { - "$ref": "#/components/schemas/_types:Duration" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "closed": { - "type": "boolean" - } - }, - "required": [ - "closed" - ] - } - } - } - } - } - } - }, - "/_ml/calendars/{calendar_id}": { - "get": { - "description": "Retrieves configuration information for calendars.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" - }, - "operationId": "ml.get_calendars#2", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_calendars#calendar_id" - }, - { - "$ref": "#/components/parameters/ml.get_calendars#from" - }, - { - "$ref": "#/components/parameters/ml.get_calendars#size" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_calendars" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_calendars#200" - } - } - }, - "put": { - "description": "Instantiates a calendar.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-calendar.html" - }, - "operationId": "ml.put_calendar#0", - "parameters": [ - { - "in": "path", - "name": "calendar_id", - "description": "A string that uniquely identifies a calendar.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "job_ids": { - "description": "An array of anomaly detection job identifiers.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Id" - } - }, - "description": { - "description": "A description of the calendar.", - "type": "string" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "calendar_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "description": { - "description": "A description of the calendar.", - "type": "string" - }, - "job_ids": { - "$ref": "#/components/schemas/_types:Ids" - } - }, - "required": [ - "calendar_id", - "job_ids" - ] - } - } - } - } - } - }, - "post": { - "description": "Retrieves configuration information for calendars.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" - }, - "operationId": "ml.get_calendars#3", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_calendars#calendar_id" - }, - { - "$ref": "#/components/parameters/ml.get_calendars#from" - }, - { - "$ref": "#/components/parameters/ml.get_calendars#size" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_calendars" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_calendars#200" - } - } - }, - "delete": { - "description": "Deletes a calendar.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar.html" - }, - "operationId": "ml.delete_calendar#0", - "parameters": [ - { - "in": "path", - "name": "calendar_id", - "description": "A string that uniquely identifies a calendar.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ml/calendars/{calendar_id}/events/{event_id}": { - "delete": { - "description": "Deletes scheduled events from a calendar.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar-event.html" - }, - "operationId": "ml.delete_calendar_event#0", - "parameters": [ - { - "in": "path", - "name": "calendar_id", - "description": "A string that uniquely identifies a calendar.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "path", - "name": "event_id", - "description": "Identifier for the scheduled event.\nYou can obtain this identifier by using the get calendar events API.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ml/calendars/{calendar_id}/jobs/{job_id}": { - "put": { - "description": "Adds an anomaly detection job to a calendar.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-calendar-job.html" - }, - "operationId": "ml.put_calendar_job#0", - "parameters": [ - { - "in": "path", - "name": "calendar_id", - "description": "A string that uniquely identifies a calendar.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "path", - "name": "job_id", - "description": "An identifier for the anomaly detection jobs. It can be a job identifier, a group name, or a comma-separated list of jobs or groups.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "calendar_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "description": { - "description": "A description of the calendar.", - "type": "string" - }, - "job_ids": { - "$ref": "#/components/schemas/_types:Ids" - } - }, - "required": [ - "calendar_id", - "job_ids" - ] - } - } - } - } - } - }, - "delete": { - "description": "Deletes anomaly detection jobs from a calendar.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar-job.html" - }, - "operationId": "ml.delete_calendar_job#0", - "parameters": [ - { - "in": "path", - "name": "calendar_id", - "description": "A string that uniquely identifies a calendar.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "path", - "name": "job_id", - "description": "An identifier for the anomaly detection jobs. It can be a job identifier, a group name, or a\ncomma-separated list of jobs or groups.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Ids" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "calendar_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "description": { - "description": "A description of the calendar.", - "type": "string" - }, - "job_ids": { - "$ref": "#/components/schemas/_types:Ids" - } - }, - "required": [ - "calendar_id", - "job_ids" - ] - } - } - } - } - } - } - }, - "/_ml/data_frame/analytics/{id}": { - "get": { - "description": "Retrieves configuration information for data frame analytics jobs.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics.html" - }, - "operationId": "ml.get_data_frame_analytics#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics#id" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics#from" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics#size" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics#exclude_generated" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_data_frame_analytics#200" - } - } - }, - "put": { - "description": "Instantiates a data frame analytics job.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-dfanalytics.html" - }, - "operationId": "ml.put_data_frame_analytics#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "allow_lazy_start": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" - }, - "description": "Specifies whether this job can start when there is insufficient machine\nlearning node capacity for it to be immediately assigned to a node. If\nset to `false` and a machine learning node with capacity to run the job\ncannot be immediately found, the API returns an error. If set to `true`,\nthe API does not return an error; the job waits in the `starting` state\nuntil sufficient machine learning node capacity is available. This\nbehavior is also affected by the cluster-wide\n`xpack.ml.max_lazy_ml_nodes` setting.", - "type": "boolean" - }, - "analysis": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" - }, - "analyzed_fields": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" - }, - "description": { - "description": "A description of the job.", - "type": "string" - }, - "dest": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsDestination" - }, - "max_num_threads": { - "description": "The maximum number of threads to be used by the analysis. Using more\nthreads may decrease the time necessary to complete the analysis at the\ncost of using more CPU. Note that the process may use additional threads\nfor operational functionality other than the analysis itself.", - "type": "number" - }, - "model_memory_limit": { - "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try\nto create data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", - "type": "string" - }, - "source": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" - }, - "headers": { - "$ref": "#/components/schemas/_types:HttpHeaders" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - } - }, - "required": [ - "analysis", - "dest", - "source" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "authorization": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsAuthorization" - }, - "allow_lazy_start": { - "type": "boolean" - }, - "analysis": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" - }, - "analyzed_fields": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" - }, - "create_time": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "description": { - "type": "string" - }, - "dest": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsDestination" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "max_num_threads": { - "type": "number" - }, - "model_memory_limit": { - "type": "string" - }, - "source": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - } - }, - "required": [ - "allow_lazy_start", - "analysis", - "create_time", - "dest", - "id", - "max_num_threads", - "model_memory_limit", - "source", - "version" - ] - } - } - } - } - } - }, - "delete": { - "description": "Deletes an existing data frame analytics job.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-dfanalytics.html" - }, - "operationId": "ml.delete_data_frame_analytics#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Identifier for the data frame analytics job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "force", - "description": "If `true`, it deletes a job that is not stopped; this method is quicker than stopping and deleting the job.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "The time to wait for the job to be deleted.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ml/datafeeds/{datafeed_id}": { - "get": { - "description": "Retrieves configuration information for datafeeds.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html" - }, - "operationId": "ml.get_datafeeds#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_datafeeds#datafeed_id" - }, - { - "$ref": "#/components/parameters/ml.get_datafeeds#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_datafeeds#exclude_generated" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_datafeeds#200" - } - } - }, - "put": { - "description": "Instantiates a datafeed.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html" - }, - "operationId": "ml.put_datafeed#0", - "parameters": [ - { - "in": "path", - "name": "datafeed_id", - "description": "A numerical character string that uniquely identifies the datafeed.\nThis identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores.\nIt must start and end with alphanumeric characters.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_indices", - "description": "If true, wildcard indices expressions that resolve into no concrete indices are ignored. This includes the `_all`\nstring or when no indices are specified.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match. If the request can target data streams, this argument determines\nwhether wildcard expressions match hidden data streams. Supports comma-separated values.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "ignore_throttled", - "description": "If true, concrete, expanded, or aliased indices are ignored when frozen.", - "deprecated": true, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "ignore_unavailable", - "description": "If true, unavailable indices (missing or closed) are ignored.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aggregations": { - "description": "If set, the datafeed performs aggregation searches.\nSupport for aggregations is limited and should be used only with low cardinality data.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "chunking_config": { - "$ref": "#/components/schemas/ml._types:ChunkingConfig" - }, - "delayed_data_check_config": { - "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" - }, - "frequency": { - "$ref": "#/components/schemas/_types:Duration" - }, - "indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "indices_options": { - "$ref": "#/components/schemas/_types:IndicesOptions" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "max_empty_searches": { - "description": "If a real-time datafeed has never seen any data (including during any initial training period), it automatically\nstops and closes the associated job after this many real-time searches return no documents. In other words,\nit stops after `frequency` times `max_empty_searches` of real-time operation. If not set, a datafeed with no\nend time that sees no data remains started until it is explicitly stopped. By default, it is not set.", - "type": "number" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "query_delay": { - "$ref": "#/components/schemas/_types:Duration" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - }, - "script_fields": { - "description": "Specifies scripts that evaluate custom expressions and returns script fields to the datafeed.\nThe detector configuration objects in a job can contain functions that use these script fields.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ScriptField" - } - }, - "scroll_size": { - "description": "The size parameter that is used in Elasticsearch searches when the datafeed does not use aggregations.\nThe maximum value is the value of `index.max_result_window`, which is 10,000 by default.", - "type": "number" - }, - "headers": { - "$ref": "#/components/schemas/_types:HttpHeaders" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aggregations": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "authorization": { - "$ref": "#/components/schemas/ml._types:DatafeedAuthorization" - }, - "chunking_config": { - "$ref": "#/components/schemas/ml._types:ChunkingConfig" - }, - "delayed_data_check_config": { - "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" - }, - "datafeed_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "frequency": { - "$ref": "#/components/schemas/_types:Duration" - }, - "indices": { - "type": "array", - "items": { - "type": "string" - } - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "indices_options": { - "$ref": "#/components/schemas/_types:IndicesOptions" - }, - "max_empty_searches": { - "type": "number" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "query_delay": { - "$ref": "#/components/schemas/_types:Duration" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - }, - "script_fields": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ScriptField" - } - }, - "scroll_size": { - "type": "number" - } - }, - "required": [ - "chunking_config", - "datafeed_id", - "indices", - "job_id", - "query", - "query_delay", - "scroll_size" - ] - } - } - } - } - } - }, - "delete": { - "description": "Deletes an existing datafeed.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-datafeed.html" - }, - "operationId": "ml.delete_datafeed#0", - "parameters": [ - { - "in": "path", - "name": "datafeed_id", - "description": "A numerical character string that uniquely identifies the datafeed. This\nidentifier can contain lowercase alphanumeric characters (a-z and 0-9),\nhyphens, and underscores. It must start and end with alphanumeric\ncharacters.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "force", - "description": "Use to forcefully delete a started datafeed; this method is quicker than\nstopping and deleting the datafeed.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ml/_delete_expired_data/{job_id}": { - "delete": { - "description": "Deletes expired and unused machine learning data.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-expired-data.html" - }, - "operationId": "ml.delete_expired_data#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.delete_expired_data#job_id" - }, - { - "$ref": "#/components/parameters/ml.delete_expired_data#requests_per_second" - }, - { - "$ref": "#/components/parameters/ml.delete_expired_data#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.delete_expired_data" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.delete_expired_data#200" - } - } - } - }, - "/_ml/_delete_expired_data": { - "delete": { - "description": "Deletes expired and unused machine learning data.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-expired-data.html" - }, - "operationId": "ml.delete_expired_data#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.delete_expired_data#requests_per_second" - }, - { - "$ref": "#/components/parameters/ml.delete_expired_data#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.delete_expired_data" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.delete_expired_data#200" - } - } - } - }, - "/_ml/filters/{filter_id}": { - "get": { - "description": "Retrieves filters.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-filter.html" - }, - "operationId": "ml.get_filters#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_filters#filter_id" - }, - { - "$ref": "#/components/parameters/ml.get_filters#from" - }, - { - "$ref": "#/components/parameters/ml.get_filters#size" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_filters#200" - } - } - }, - "put": { - "description": "Instantiates a filter.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-filter.html" - }, - "operationId": "ml.put_filter#0", - "parameters": [ - { - "in": "path", - "name": "filter_id", - "description": "A string that uniquely identifies a filter.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "description": { - "description": "A description of the filter.", - "type": "string" - }, - "items": { - "description": "The items of the filter. A wildcard `*` can be used at the beginning or the end of an item.\nUp to 10000 items are allowed in each filter.", - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "filter_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "items": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "description", - "filter_id", - "items" - ] - } - } - } - } - } - }, - "delete": { - "description": "Deletes a filter.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-filter.html" - }, - "operationId": "ml.delete_filter#0", - "parameters": [ - { - "in": "path", - "name": "filter_id", - "description": "A string that uniquely identifies a filter.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/_forecast": { - "post": { - "description": "Predicts the future behavior of a time series by using its historical behavior.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-forecast.html" - }, - "operationId": "ml.forecast#0", - "parameters": [ - { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job. The job must be open when you\ncreate a forecast; otherwise, an error occurs.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "duration", - "description": "A period of time that indicates how far into the future to forecast. For\nexample, `30d` corresponds to 30 days. The forecast starts at the last\nrecord that was processed.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "expires_in", - "description": "The period of time that forecast results are retained. After a forecast\nexpires, the results are deleted. If set to a value of 0, the forecast is\nnever automatically deleted.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "max_model_memory", - "description": "The maximum memory the forecast can use. If the forecast needs to use\nmore than the provided amount, it will spool to disk. Default is 20mb,\nmaximum is 500mb and minimum is 1mb. If set to 40% or more of the job’s\nconfigured memory limit, it is automatically reduced to below that\namount.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "duration": { - "$ref": "#/components/schemas/_types:Duration" - }, - "expires_in": { - "$ref": "#/components/schemas/_types:Duration" - }, - "max_model_memory": { - "description": "Refer to the description for the `max_model_memory` query parameter.", - "type": "string" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledged": { - "type": "boolean" - }, - "forecast_id": { - "$ref": "#/components/schemas/_types:Id" - } - }, - "required": [ - "acknowledged", - "forecast_id" - ] - } - } - } - } - } - }, - "delete": { - "description": "Deletes forecasts from a machine learning job.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html" - }, - "operationId": "ml.delete_forecast#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.delete_forecast#job_id" - }, - { - "$ref": "#/components/parameters/ml.delete_forecast#allow_no_forecasts" - }, - { - "$ref": "#/components/parameters/ml.delete_forecast#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.delete_forecast#200" - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/_forecast/{forecast_id}": { - "delete": { - "description": "Deletes forecasts from a machine learning job.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html" - }, - "operationId": "ml.delete_forecast#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.delete_forecast#job_id" - }, - { - "$ref": "#/components/parameters/ml.delete_forecast#forecast_id" - }, - { - "$ref": "#/components/parameters/ml.delete_forecast#allow_no_forecasts" - }, - { - "$ref": "#/components/parameters/ml.delete_forecast#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.delete_forecast#200" - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}": { - "get": { - "description": "Retrieves configuration information for anomaly detection jobs.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html" - }, - "operationId": "ml.get_jobs#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_jobs#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_jobs#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_jobs#exclude_generated" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_jobs#200" - } - } - }, - "put": { - "description": "Instantiates an anomaly detection job.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html" - }, - "operationId": "ml.put_job#0", - "parameters": [ - { - "in": "path", - "name": "job_id", - "description": "The identifier for the anomaly detection job. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "allow_lazy_open": { - "description": "Advanced configuration option. Specifies whether this job can open when there is insufficient machine learning node capacity for it to be immediately assigned to a node. By default, if a machine learning node with capacity to run the job cannot immediately be found, the open anomaly detection jobs API returns an error. However, this is also subject to the cluster-wide `xpack.ml.max_lazy_ml_nodes` setting. If this option is set to true, the open anomaly detection jobs API does not return an error and the job waits in the opening state until sufficient machine learning node capacity is available.", - "type": "boolean" - }, - "analysis_config": { - "$ref": "#/components/schemas/ml._types:AnalysisConfig" - }, - "analysis_limits": { - "$ref": "#/components/schemas/ml._types:AnalysisLimits" - }, - "background_persist_interval": { - "$ref": "#/components/schemas/_types:Duration" - }, - "custom_settings": { - "$ref": "#/components/schemas/ml._types:CustomSettings" - }, - "daily_model_snapshot_retention_after_days": { - "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job. It specifies a period of time (in days) after which only the first snapshot per day is retained. This period is relative to the timestamp of the most recent snapshot for this job. Valid values range from 0 to `model_snapshot_retention_days`.", - "type": "number" - }, - "data_description": { - "$ref": "#/components/schemas/ml._types:DataDescription" - }, - "datafeed_config": { - "$ref": "#/components/schemas/ml._types:DatafeedConfig" - }, - "description": { - "description": "A description of the job.", - "type": "string" - }, - "groups": { - "description": "A list of job groups. A job can belong to no groups or many.", - "type": "array", - "items": { - "type": "string" - } - }, - "model_plot_config": { - "$ref": "#/components/schemas/ml._types:ModelPlotConfig" - }, - "model_snapshot_retention_days": { - "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job. It specifies the maximum period of time (in days) that snapshots are retained. This period is relative to the timestamp of the most recent snapshot for this job. By default, snapshots ten days older than the newest snapshot are deleted.", - "type": "number" - }, - "renormalization_window_days": { - "description": "Advanced configuration option. The period over which adjustments to the score are applied, as new data is seen. The default value is the longer of 30 days or 100 bucket spans.", - "type": "number" - }, - "results_index_name": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "results_retention_days": { - "description": "Advanced configuration option. The period of time (in days) that results are retained. Age is calculated relative to the timestamp of the latest bucket result. If this property has a non-null value, once per day at 00:30 (server time), results that are the specified number of days older than the latest bucket result are deleted from Elasticsearch. The default value is null, which means all results are retained. Annotations generated by the system also count as results for retention purposes; they are deleted after the same number of days as results. Annotations added by users are retained forever.", - "type": "number" - } - }, - "required": [ - "analysis_config", - "data_description" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "allow_lazy_open": { - "type": "boolean" - }, - "analysis_config": { - "$ref": "#/components/schemas/ml._types:AnalysisConfigRead" - }, - "analysis_limits": { - "$ref": "#/components/schemas/ml._types:AnalysisLimits" - }, - "background_persist_interval": { - "$ref": "#/components/schemas/_types:Duration" - }, - "create_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "custom_settings": { - "$ref": "#/components/schemas/ml._types:CustomSettings" - }, - "daily_model_snapshot_retention_after_days": { - "type": "number" - }, - "data_description": { - "$ref": "#/components/schemas/ml._types:DataDescription" - }, - "datafeed_config": { - "$ref": "#/components/schemas/ml._types:Datafeed" - }, - "description": { - "type": "string" - }, - "groups": { - "type": "array", - "items": { - "type": "string" - } - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "job_type": { - "type": "string" - }, - "job_version": { - "type": "string" - }, - "model_plot_config": { - "$ref": "#/components/schemas/ml._types:ModelPlotConfig" - }, - "model_snapshot_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "model_snapshot_retention_days": { - "type": "number" - }, - "renormalization_window_days": { - "type": "number" - }, - "results_index_name": { - "type": "string" - }, - "results_retention_days": { - "type": "number" - } - }, - "required": [ - "allow_lazy_open", - "analysis_config", - "analysis_limits", - "create_time", - "daily_model_snapshot_retention_after_days", - "data_description", - "job_id", - "job_type", - "job_version", - "model_snapshot_retention_days", - "results_index_name" - ] - } - } - } - } - } - }, - "delete": { - "description": "Deletes an existing anomaly detection job.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html" - }, - "operationId": "ml.delete_job#0", - "parameters": [ - { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "force", - "description": "Use to forcefully delete an opened job; this method is quicker than\nclosing and deleting the job.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "delete_user_annotations", - "description": "Specifies whether annotations that have been added by the\nuser should be deleted along with any auto-generated annotations when the job is\nreset.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_completion", - "description": "Specifies whether the request should return immediately or wait until the\njob deletion completes.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}": { - "get": { - "description": "Retrieves information about model snapshots.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" - }, - "operationId": "ml.get_model_snapshots#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#snapshot_id" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#desc" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#end" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#from" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#size" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#sort" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#start" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_model_snapshots" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_model_snapshots#200" - } - } - }, - "post": { - "description": "Retrieves information about model snapshots.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" - }, - "operationId": "ml.get_model_snapshots#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#snapshot_id" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#desc" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#end" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#from" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#size" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#sort" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#start" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_model_snapshots" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_model_snapshots#200" - } - } - }, - "delete": { - "description": "Deletes an existing model snapshot.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html" - }, - "operationId": "ml.delete_model_snapshot#0", - "parameters": [ - { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "path", - "name": "snapshot_id", - "description": "Identifier for the model snapshot.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ml/trained_models/{model_id}": { - "get": { - "description": "Retrieves configuration information for a trained inference model.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models.html" - }, - "operationId": "ml.get_trained_models#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_trained_models#model_id" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models#decompress_definition" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models#exclude_generated" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models#from" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models#include" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models#size" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models#tags" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_trained_models#200" - } - } - }, - "put": { - "description": "Creates an inference trained model.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-models.html" - }, - "operationId": "ml.put_trained_model#0", - "parameters": [ - { - "in": "path", - "name": "model_id", - "description": "The unique identifier of the trained model.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "defer_definition_decompression", - "description": "If set to `true` and a `compressed_definition` is provided, the request defers definition decompression and skips relevant validations.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "compressed_definition": { - "description": "The compressed (GZipped and Base64 encoded) inference definition of the\nmodel. If compressed_definition is specified, then definition cannot be\nspecified.", - "type": "string" - }, - "definition": { - "$ref": "#/components/schemas/ml.put_trained_model:Definition" - }, - "description": { - "description": "A human-readable description of the inference trained model.", - "type": "string" - }, - "inference_config": { - "$ref": "#/components/schemas/ml._types:InferenceConfigCreateContainer" - }, - "input": { - "$ref": "#/components/schemas/ml.put_trained_model:Input" - }, - "metadata": { - "description": "An object map that contains metadata about the model.", - "type": "object" - }, - "model_type": { - "$ref": "#/components/schemas/ml._types:TrainedModelType" - }, - "model_size_bytes": { - "description": "The estimated memory usage in bytes to keep the trained model in memory.\nThis property is supported only if defer_definition_decompression is true\nor the model definition is not supplied.", - "type": "number" - }, - "tags": { - "description": "An array of tags to organize the model.", - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ml._types:TrainedModelConfig" - } - } - } - } - } - }, - "delete": { - "description": "Deletes an existing trained inference model that is currently not referenced by an ingest pipeline.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-trained-models.html" - }, - "operationId": "ml.delete_trained_model#0", - "parameters": [ - { - "in": "path", - "name": "model_id", - "description": "The unique identifier of the trained model.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "force", - "description": "Forcefully deletes a trained model that is referenced by ingest pipelines or has a started deployment.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ml/trained_models/{model_id}/model_aliases/{model_alias}": { - "put": { - "description": "Creates a new model alias (or reassigns an existing one) to refer to the trained model", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-models-aliases.html" - }, - "operationId": "ml.put_trained_model_alias#0", - "parameters": [ - { - "in": "path", - "name": "model_id", - "description": "The identifier for the trained model that the alias refers to.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "path", - "name": "model_alias", - "description": "The alias to create or update. This value cannot end in numbers.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "query", - "name": "reassign", - "description": "Specifies whether the alias gets reassigned to the specified trained\nmodel if it is already assigned to a different model. If the alias is\nalready assigned and this parameter is false, the API returns an error.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - }, - "delete": { - "description": "Deletes a model alias that refers to the trained model", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-trained-models-aliases.html" - }, - "operationId": "ml.delete_trained_model_alias#0", - "parameters": [ - { - "in": "path", - "name": "model_id", - "description": "The trained model ID to which the model alias refers.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "path", - "name": "model_alias", - "description": "The model alias to delete.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ml/anomaly_detectors/_estimate_model_memory": { - "post": { - "description": "Estimates the model memory", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-apis.html" - }, - "operationId": "ml.estimate_model_memory#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "analysis_config": { - "$ref": "#/components/schemas/ml._types:AnalysisConfig" - }, - "max_bucket_cardinality": { - "description": "Estimates of the highest cardinality in a single bucket that is observed\nfor influencer fields over the time period that the job analyzes data.\nTo produce a good answer, values must be provided for all influencer\nfields. Providing values for fields that are not listed as `influencers`\nhas no effect on the estimation.", - "type": "object", - "additionalProperties": { - "type": "number" - } - }, - "overall_cardinality": { - "description": "Estimates of the cardinality that is observed for fields over the whole\ntime period that the job analyzes data. To produce a good answer, values\nmust be provided for fields referenced in the `by_field_name`,\n`over_field_name` and `partition_field_name` of any detectors. Providing\nvalues for other fields has no effect on the estimation. It can be\nomitted from the request if no detectors have a `by_field_name`,\n`over_field_name` or `partition_field_name`.", - "type": "object", - "additionalProperties": { - "type": "number" - } - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "model_memory_estimate": { - "type": "string" - } - }, - "required": [ - "model_memory_estimate" - ] - } - } - } - } - } - } - }, - "/_ml/data_frame/_evaluate": { - "post": { - "description": "Evaluates the data frame analytics for an annotated index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/evaluate-dfanalytics.html" - }, - "operationId": "ml.evaluate_data_frame#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "evaluation": { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationContainer" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - }, - "required": [ - "evaluation", - "index" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "classification": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummary" - }, - "outlier_detection": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeOutlierDetectionSummary" - }, - "regression": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeRegressionSummary" - } - } - } - } - } - } - } - } - }, - "/_ml/data_frame/analytics/_explain": { - "get": { - "description": "Explains a data frame analytics config.", - "externalDocs": { - "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" - }, - "operationId": "ml.explain_data_frame_analytics#0", - "requestBody": { - "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" - } - } - }, - "post": { - "description": "Explains a data frame analytics config.", - "externalDocs": { - "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" - }, - "operationId": "ml.explain_data_frame_analytics#1", - "requestBody": { - "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" - } - } - } - }, - "/_ml/data_frame/analytics/{id}/_explain": { - "get": { - "description": "Explains a data frame analytics config.", - "externalDocs": { - "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" - }, - "operationId": "ml.explain_data_frame_analytics#2", - "parameters": [ - { - "$ref": "#/components/parameters/ml.explain_data_frame_analytics#id" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" - } - } - }, - "post": { - "description": "Explains a data frame analytics config.", - "externalDocs": { - "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html" - }, - "operationId": "ml.explain_data_frame_analytics#3", - "parameters": [ - { - "$ref": "#/components/parameters/ml.explain_data_frame_analytics#id" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.explain_data_frame_analytics" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.explain_data_frame_analytics#200" - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/_flush": { - "post": { - "description": "Forces any buffered data to be processed by the job.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html" - }, - "operationId": "ml.flush_job#0", - "parameters": [ - { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "advance_time", - "description": "Specifies to advance to a particular time value. Results are generated\nand the model is updated for data from the specified time interval.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - { - "in": "query", - "name": "calc_interim", - "description": "If true, calculates the interim results for the most recent bucket or all\nbuckets within the latency period.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "end", - "description": "When used in conjunction with `calc_interim` and `start`, specifies the\nrange of buckets on which to calculate interim results.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - { - "in": "query", - "name": "skip_time", - "description": "Specifies to skip to a particular time value. Results are not generated\nand the model is not updated for data from the specified time interval.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - { - "in": "query", - "name": "start", - "description": "When used in conjunction with `calc_interim`, specifies the range of\nbuckets on which to calculate interim results.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "advance_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "calc_interim": { - "description": "Refer to the description for the `calc_interim` query parameter.", - "type": "boolean" - }, - "end": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "skip_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "start": { - "$ref": "#/components/schemas/_types:DateTime" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "flushed": { - "type": "boolean" - }, - "last_finalized_bucket_end": { - "description": "Provides the timestamp (in milliseconds since the epoch) of the end of\nthe last bucket that was processed.", - "type": "number" - } - }, - "required": [ - "flushed" - ] - } - } - } - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}": { - "get": { - "description": "Retrieves anomaly detection job results for one or more buckets.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" - }, - "operationId": "ml.get_buckets#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_buckets#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#timestamp" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#desc" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#end" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#expand" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#from" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#size" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#sort" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#start" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_buckets" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_buckets#200" - } - } - }, - "post": { - "description": "Retrieves anomaly detection job results for one or more buckets.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" - }, - "operationId": "ml.get_buckets#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_buckets#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#timestamp" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#desc" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#end" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#expand" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#from" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#size" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#sort" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#start" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_buckets" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_buckets#200" - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/results/buckets": { - "get": { - "description": "Retrieves anomaly detection job results for one or more buckets.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" - }, - "operationId": "ml.get_buckets#2", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_buckets#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#desc" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#end" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#expand" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#from" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#size" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#sort" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#start" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_buckets" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_buckets#200" - } - } - }, - "post": { - "description": "Retrieves anomaly detection job results for one or more buckets.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" - }, - "operationId": "ml.get_buckets#3", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_buckets#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#anomaly_score" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#desc" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#end" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#exclude_interim" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#expand" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#from" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#size" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#sort" - }, - { - "$ref": "#/components/parameters/ml.get_buckets#start" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_buckets" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_buckets#200" - } - } - } - }, - "/_ml/calendars/{calendar_id}/events": { - "get": { - "description": "Retrieves information about the scheduled events in calendars.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar-event.html" - }, - "operationId": "ml.get_calendar_events#0", - "parameters": [ - { - "in": "path", - "name": "calendar_id", - "description": "A string that uniquely identifies a calendar. You can get information for multiple calendars by using a comma-separated list of ids or a wildcard expression. You can get information for all calendars by using `_all` or `*` or by omitting the calendar identifier.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "end", - "description": "Specifies to get events with timestamps earlier than this time.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - { - "in": "query", - "name": "from", - "description": "Skips the specified number of events.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "job_id", - "description": "Specifies to get events for a specific anomaly detection job identifier or job group. It must be used with a calendar identifier of `_all` or `*`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "form" - }, - { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of events to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "start", - "description": "Specifies to get events with timestamps after this time.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "events": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:CalendarEvent" - } - } - }, - "required": [ - "count", - "events" - ] - } - } - } - } - } - }, - "post": { - "description": "Posts scheduled events in a calendar.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-calendar-event.html" - }, - "operationId": "ml.post_calendar_events#0", - "parameters": [ - { - "in": "path", - "name": "calendar_id", - "description": "A string that uniquely identifies a calendar.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "events": { - "description": "A list of one of more scheduled events. The event’s start and end times can be specified as integer milliseconds since the epoch or as a string in ISO 8601 format.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:CalendarEvent" - } - } - }, - "required": [ - "events" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "events": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:CalendarEvent" - } - } - }, - "required": [ - "events" - ] - } - } - } - } - } - } - }, - "/_ml/calendars": { - "get": { - "description": "Retrieves configuration information for calendars.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" - }, - "operationId": "ml.get_calendars#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_calendars#from" - }, - { - "$ref": "#/components/parameters/ml.get_calendars#size" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_calendars" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_calendars#200" - } - } - }, - "post": { - "description": "Retrieves configuration information for calendars.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html" - }, - "operationId": "ml.get_calendars#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_calendars#from" - }, - { - "$ref": "#/components/parameters/ml.get_calendars#size" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_calendars" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_calendars#200" - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/results/categories/{category_id}": { - "get": { - "description": "Retrieves anomaly detection job results for one or more categories.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" - }, - "operationId": "ml.get_categories#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_categories#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_categories#category_id" - }, - { - "$ref": "#/components/parameters/ml.get_categories#from" - }, - { - "$ref": "#/components/parameters/ml.get_categories#partition_field_value" - }, - { - "$ref": "#/components/parameters/ml.get_categories#size" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_categories" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_categories#200" - } - } - }, - "post": { - "description": "Retrieves anomaly detection job results for one or more categories.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" - }, - "operationId": "ml.get_categories#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_categories#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_categories#category_id" - }, - { - "$ref": "#/components/parameters/ml.get_categories#from" - }, - { - "$ref": "#/components/parameters/ml.get_categories#partition_field_value" - }, - { - "$ref": "#/components/parameters/ml.get_categories#size" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_categories" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_categories#200" - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/results/categories": { - "get": { - "description": "Retrieves anomaly detection job results for one or more categories.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" - }, - "operationId": "ml.get_categories#2", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_categories#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_categories#from" - }, - { - "$ref": "#/components/parameters/ml.get_categories#partition_field_value" - }, - { - "$ref": "#/components/parameters/ml.get_categories#size" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_categories" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_categories#200" - } - } - }, - "post": { - "description": "Retrieves anomaly detection job results for one or more categories.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" - }, - "operationId": "ml.get_categories#3", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_categories#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_categories#from" - }, - { - "$ref": "#/components/parameters/ml.get_categories#partition_field_value" - }, - { - "$ref": "#/components/parameters/ml.get_categories#size" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_categories" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_categories#200" - } - } - } - }, - "/_ml/data_frame/analytics": { - "get": { - "description": "Retrieves configuration information for data frame analytics jobs.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics.html" - }, - "operationId": "ml.get_data_frame_analytics#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics#from" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics#size" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics#exclude_generated" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_data_frame_analytics#200" - } - } - } - }, - "/_ml/data_frame/analytics/_stats": { - "get": { - "description": "Retrieves usage information for data frame analytics jobs.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics-stats.html" - }, - "operationId": "ml.get_data_frame_analytics_stats#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#from" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#size" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#verbose" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_data_frame_analytics_stats#200" - } - } - } - }, - "/_ml/data_frame/analytics/{id}/_stats": { - "get": { - "description": "Retrieves usage information for data frame analytics jobs.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics-stats.html" - }, - "operationId": "ml.get_data_frame_analytics_stats#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#id" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#from" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#size" - }, - { - "$ref": "#/components/parameters/ml.get_data_frame_analytics_stats#verbose" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_data_frame_analytics_stats#200" - } - } - } - }, - "/_ml/datafeeds/{datafeed_id}/_stats": { - "get": { - "description": "Retrieves usage information for datafeeds.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html" - }, - "operationId": "ml.get_datafeed_stats#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_datafeed_stats#datafeed_id" - }, - { - "$ref": "#/components/parameters/ml.get_datafeed_stats#allow_no_match" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_datafeed_stats#200" - } - } - } - }, - "/_ml/datafeeds/_stats": { - "get": { - "description": "Retrieves usage information for datafeeds.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html" - }, - "operationId": "ml.get_datafeed_stats#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_datafeed_stats#allow_no_match" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_datafeed_stats#200" - } - } - } - }, - "/_ml/datafeeds": { - "get": { - "description": "Retrieves configuration information for datafeeds.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html" - }, - "operationId": "ml.get_datafeeds#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_datafeeds#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_datafeeds#exclude_generated" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_datafeeds#200" - } - } - } - }, - "/_ml/filters": { - "get": { - "description": "Retrieves filters.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-filter.html" - }, - "operationId": "ml.get_filters#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_filters#from" - }, - { - "$ref": "#/components/parameters/ml.get_filters#size" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_filters#200" - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/results/influencers": { - "get": { - "description": "Retrieves anomaly detection job results for one or more influencers.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html" - }, - "operationId": "ml.get_influencers#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_influencers#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#desc" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#end" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#exclude_interim" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#influencer_score" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#from" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#size" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#sort" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#start" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_influencers" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_influencers#200" - } - } - }, - "post": { - "description": "Retrieves anomaly detection job results for one or more influencers.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html" - }, - "operationId": "ml.get_influencers#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_influencers#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#desc" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#end" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#exclude_interim" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#influencer_score" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#from" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#size" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#sort" - }, - { - "$ref": "#/components/parameters/ml.get_influencers#start" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_influencers" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_influencers#200" - } - } - } - }, - "/_ml/anomaly_detectors/_stats": { - "get": { - "description": "Retrieves usage information for anomaly detection jobs.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html" - }, - "operationId": "ml.get_job_stats#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_job_stats#allow_no_match" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_job_stats#200" - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/_stats": { - "get": { - "description": "Retrieves usage information for anomaly detection jobs.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html" - }, - "operationId": "ml.get_job_stats#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_job_stats#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_job_stats#allow_no_match" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_job_stats#200" - } - } - } - }, - "/_ml/anomaly_detectors": { - "get": { - "description": "Retrieves configuration information for anomaly detection jobs.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html" - }, - "operationId": "ml.get_jobs#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_jobs#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_jobs#exclude_generated" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_jobs#200" - } - } - } - }, - "/_ml/memory/_stats": { - "get": { - "description": "Returns information on how ML is using memory.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ml-memory.html" - }, - "operationId": "ml.get_memory_stats#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_memory_stats#human" - }, - { - "$ref": "#/components/parameters/ml.get_memory_stats#master_timeout" - }, - { - "$ref": "#/components/parameters/ml.get_memory_stats#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_memory_stats#200" - } - } - } - }, - "/_ml/memory/{node_id}/_stats": { - "get": { - "description": "Returns information on how ML is using memory.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ml-memory.html" - }, - "operationId": "ml.get_memory_stats#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_memory_stats#node_id" - }, - { - "$ref": "#/components/parameters/ml.get_memory_stats#human" - }, - { - "$ref": "#/components/parameters/ml.get_memory_stats#master_timeout" - }, - { - "$ref": "#/components/parameters/ml.get_memory_stats#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_memory_stats#200" - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade/_stats": { - "get": { - "description": "Gets stats for anomaly detection job model snapshot upgrades that are in progress.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-model-snapshot-upgrade-stats.html" - }, - "operationId": "ml.get_model_snapshot_upgrade_stats#0", - "parameters": [ - { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "path", - "name": "snapshot_id", - "description": "A numerical character string that uniquely identifies the model snapshot. You can get information for multiple\nsnapshots by using a comma-separated list or a wildcard expression. You can get all snapshots by using `_all`,\nby specifying `*` as the snapshot ID, or by omitting the snapshot ID.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n - Contains wildcard expressions and there are no jobs that match.\n - Contains the _all string or no identifiers and there are no matches.\n - Contains wildcard expressions and there are only partial matches.\n\nThe default value is true, which returns an empty jobs array when there are no matches and the subset of results\nwhen there are partial matches. If this parameter is false, the request returns a 404 status code when there are\nno matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "model_snapshot_upgrades": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:ModelSnapshotUpgrade" - } - } - }, - "required": [ - "count", - "model_snapshot_upgrades" - ] - } - } - } - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/model_snapshots": { - "get": { - "description": "Retrieves information about model snapshots.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" - }, - "operationId": "ml.get_model_snapshots#2", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#desc" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#end" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#from" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#size" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#sort" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#start" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_model_snapshots" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_model_snapshots#200" - } - } - }, - "post": { - "description": "Retrieves information about model snapshots.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" - }, - "operationId": "ml.get_model_snapshots#3", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_model_snapshots#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#desc" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#end" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#from" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#size" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#sort" - }, - { - "$ref": "#/components/parameters/ml.get_model_snapshots#start" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_model_snapshots" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_model_snapshots#200" - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/results/overall_buckets": { - "get": { - "description": "Retrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html" - }, - "operationId": "ml.get_overall_buckets#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_overall_buckets#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_overall_buckets#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_overall_buckets#bucket_span" - }, - { - "$ref": "#/components/parameters/ml.get_overall_buckets#end" - }, - { - "$ref": "#/components/parameters/ml.get_overall_buckets#exclude_interim" - }, - { - "$ref": "#/components/parameters/ml.get_overall_buckets#overall_score" - }, - { - "$ref": "#/components/parameters/ml.get_overall_buckets#start" - }, - { - "$ref": "#/components/parameters/ml.get_overall_buckets#top_n" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_overall_buckets" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_overall_buckets#200" - } - } - }, - "post": { - "description": "Retrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html" - }, - "operationId": "ml.get_overall_buckets#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_overall_buckets#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_overall_buckets#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_overall_buckets#bucket_span" - }, - { - "$ref": "#/components/parameters/ml.get_overall_buckets#end" - }, - { - "$ref": "#/components/parameters/ml.get_overall_buckets#exclude_interim" - }, - { - "$ref": "#/components/parameters/ml.get_overall_buckets#overall_score" - }, - { - "$ref": "#/components/parameters/ml.get_overall_buckets#start" - }, - { - "$ref": "#/components/parameters/ml.get_overall_buckets#top_n" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_overall_buckets" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_overall_buckets#200" - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/results/records": { - "get": { - "description": "Retrieves anomaly records for an anomaly detection job.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html" - }, - "operationId": "ml.get_records#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_records#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_records#desc" - }, - { - "$ref": "#/components/parameters/ml.get_records#end" - }, - { - "$ref": "#/components/parameters/ml.get_records#exclude_interim" - }, - { - "$ref": "#/components/parameters/ml.get_records#from" - }, - { - "$ref": "#/components/parameters/ml.get_records#record_score" - }, - { - "$ref": "#/components/parameters/ml.get_records#size" - }, - { - "$ref": "#/components/parameters/ml.get_records#sort" - }, - { - "$ref": "#/components/parameters/ml.get_records#start" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_records" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_records#200" - } - } - }, - "post": { - "description": "Retrieves anomaly records for an anomaly detection job.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html" - }, - "operationId": "ml.get_records#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_records#job_id" - }, - { - "$ref": "#/components/parameters/ml.get_records#desc" - }, - { - "$ref": "#/components/parameters/ml.get_records#end" - }, - { - "$ref": "#/components/parameters/ml.get_records#exclude_interim" - }, - { - "$ref": "#/components/parameters/ml.get_records#from" - }, - { - "$ref": "#/components/parameters/ml.get_records#record_score" - }, - { - "$ref": "#/components/parameters/ml.get_records#size" - }, - { - "$ref": "#/components/parameters/ml.get_records#sort" - }, - { - "$ref": "#/components/parameters/ml.get_records#start" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.get_records" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_records#200" - } - } - } - }, - "/_ml/trained_models": { - "get": { - "description": "Retrieves configuration information for a trained inference model.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models.html" - }, - "operationId": "ml.get_trained_models#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_trained_models#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models#decompress_definition" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models#exclude_generated" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models#from" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models#include" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models#size" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models#tags" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_trained_models#200" - } - } - } - }, - "/_ml/trained_models/{model_id}/_stats": { - "get": { - "description": "Retrieves usage information for trained inference models.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models-stats.html" - }, - "operationId": "ml.get_trained_models_stats#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_trained_models_stats#model_id" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models_stats#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models_stats#from" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models_stats#size" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_trained_models_stats#200" - } - } - } - }, - "/_ml/trained_models/_stats": { - "get": { - "description": "Retrieves usage information for trained inference models.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models-stats.html" - }, - "operationId": "ml.get_trained_models_stats#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.get_trained_models_stats#allow_no_match" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models_stats#from" - }, - { - "$ref": "#/components/parameters/ml.get_trained_models_stats#size" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/ml.get_trained_models_stats#200" - } - } - } - }, - "/_ml/trained_models/{model_id}/_infer": { - "post": { - "description": "Evaluate a trained model.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/infer-trained-model.html" - }, - "operationId": "ml.infer_trained_model#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.infer_trained_model#model_id" - }, - { - "$ref": "#/components/parameters/ml.infer_trained_model#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.infer_trained_model" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.infer_trained_model#200" - } - } - } - }, - "/_ml/trained_models/{model_id}/deployment/_infer": { - "post": { - "description": "Evaluate a trained model.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/infer-trained-model.html" - }, - "operationId": "ml.infer_trained_model#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.infer_trained_model#model_id" - }, - { - "$ref": "#/components/parameters/ml.infer_trained_model#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.infer_trained_model" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.infer_trained_model#200" - } - } - } - }, - "/_ml/info": { - "get": { - "description": "Returns defaults and limits used by machine learning.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ml-info.html" - }, - "operationId": "ml.info#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "defaults": { - "$ref": "#/components/schemas/ml.info:Defaults" - }, - "limits": { - "$ref": "#/components/schemas/ml.info:Limits" - }, - "upgrade_mode": { - "type": "boolean" - }, - "native_code": { - "$ref": "#/components/schemas/ml.info:NativeCode" - } - }, - "required": [ - "defaults", - "limits", - "upgrade_mode", - "native_code" - ] - } - } - } - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/_open": { - "post": { - "description": "Opens one or more anomaly detection jobs.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html" - }, - "operationId": "ml.open_job#0", - "parameters": [ - { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "timeout", - "description": "Controls the time to wait until a job has opened.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "timeout": { - "$ref": "#/components/schemas/_types:Duration" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "opened": { - "type": "boolean" - }, - "node": { - "$ref": "#/components/schemas/_types:NodeId" - } - }, - "required": [ - "opened", - "node" - ] - } - } - } - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/_data": { - "post": { - "description": "Sends data to an anomaly detection job for analysis.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-data.html" - }, - "operationId": "ml.post_data#0", - "parameters": [ - { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job. The job must have a state of open to receive and process the data.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "reset_end", - "description": "Specifies the end of the bucket resetting range.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - { - "in": "query", - "name": "reset_start", - "description": "Specifies the start of the bucket resetting range.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object" - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "bucket_count": { - "type": "number" - }, - "earliest_record_timestamp": { - "type": "number" - }, - "empty_bucket_count": { - "type": "number" - }, - "input_bytes": { - "type": "number" - }, - "input_field_count": { - "type": "number" - }, - "input_record_count": { - "type": "number" - }, - "invalid_date_count": { - "type": "number" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "last_data_time": { - "type": "number" - }, - "latest_record_timestamp": { - "type": "number" - }, - "missing_field_count": { - "type": "number" - }, - "out_of_order_timestamp_count": { - "type": "number" - }, - "processed_field_count": { - "type": "number" - }, - "processed_record_count": { - "type": "number" - }, - "sparse_bucket_count": { - "type": "number" - } - }, - "required": [ - "bucket_count", - "earliest_record_timestamp", - "empty_bucket_count", - "input_bytes", - "input_field_count", - "input_record_count", - "invalid_date_count", - "job_id", - "last_data_time", - "latest_record_timestamp", - "missing_field_count", - "out_of_order_timestamp_count", - "processed_field_count", - "processed_record_count", - "sparse_bucket_count" - ] - } - } - } - } - } - } - }, - "/_ml/data_frame/analytics/_preview": { - "get": { - "description": "Previews that will be analyzed given a data frame analytics config.", - "externalDocs": { - "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" - }, - "operationId": "ml.preview_data_frame_analytics#0", - "requestBody": { - "$ref": "#/components/requestBodies/ml.preview_data_frame_analytics" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.preview_data_frame_analytics#200" - } - } - }, - "post": { - "description": "Previews that will be analyzed given a data frame analytics config.", - "externalDocs": { - "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" - }, - "operationId": "ml.preview_data_frame_analytics#1", - "requestBody": { - "$ref": "#/components/requestBodies/ml.preview_data_frame_analytics" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.preview_data_frame_analytics#200" - } - } - } - }, - "/_ml/data_frame/analytics/{id}/_preview": { - "get": { - "description": "Previews that will be analyzed given a data frame analytics config.", - "externalDocs": { - "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" - }, - "operationId": "ml.preview_data_frame_analytics#2", - "parameters": [ - { - "$ref": "#/components/parameters/ml.preview_data_frame_analytics#id" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.preview_data_frame_analytics" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.preview_data_frame_analytics#200" - } - } - }, - "post": { - "description": "Previews that will be analyzed given a data frame analytics config.", - "externalDocs": { - "url": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html" - }, - "operationId": "ml.preview_data_frame_analytics#3", - "parameters": [ - { - "$ref": "#/components/parameters/ml.preview_data_frame_analytics#id" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.preview_data_frame_analytics" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.preview_data_frame_analytics#200" - } - } - } - }, - "/_ml/datafeeds/{datafeed_id}/_preview": { - "get": { - "description": "Previews a datafeed.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" - }, - "operationId": "ml.preview_datafeed#0", - "parameters": [ - { - "$ref": "#/components/parameters/ml.preview_datafeed#datafeed_id" - }, - { - "$ref": "#/components/parameters/ml.preview_datafeed#start" - }, - { - "$ref": "#/components/parameters/ml.preview_datafeed#end" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.preview_datafeed" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.preview_datafeed#200" - } - } - }, - "post": { - "description": "Previews a datafeed.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" - }, - "operationId": "ml.preview_datafeed#1", - "parameters": [ - { - "$ref": "#/components/parameters/ml.preview_datafeed#datafeed_id" - }, - { - "$ref": "#/components/parameters/ml.preview_datafeed#start" - }, - { - "$ref": "#/components/parameters/ml.preview_datafeed#end" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.preview_datafeed" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.preview_datafeed#200" - } - } - } - }, - "/_ml/datafeeds/_preview": { - "get": { - "description": "Previews a datafeed.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" - }, - "operationId": "ml.preview_datafeed#2", - "parameters": [ - { - "$ref": "#/components/parameters/ml.preview_datafeed#start" - }, - { - "$ref": "#/components/parameters/ml.preview_datafeed#end" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.preview_datafeed" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.preview_datafeed#200" - } - } - }, - "post": { - "description": "Previews a datafeed.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" - }, - "operationId": "ml.preview_datafeed#3", - "parameters": [ - { - "$ref": "#/components/parameters/ml.preview_datafeed#start" - }, - { - "$ref": "#/components/parameters/ml.preview_datafeed#end" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/ml.preview_datafeed" - }, - "responses": { - "200": { - "$ref": "#/components/responses/ml.preview_datafeed#200" - } - } - } - }, - "/_ml/trained_models/{model_id}/definition/{part}": { - "put": { - "description": "Creates part of a trained model definition", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-model-definition-part.html" - }, - "operationId": "ml.put_trained_model_definition_part#0", - "parameters": [ - { - "in": "path", - "name": "model_id", - "description": "The unique identifier of the trained model.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "path", - "name": "part", - "description": "The definition part number. When the definition is loaded for inference the definition parts are streamed in the\norder of their part number. The first part must be `0` and the final part must be `total_parts - 1`.", - "required": true, - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "definition": { - "description": "The definition part for the model. Must be a base64 encoded string.", - "type": "string" - }, - "total_definition_length": { - "description": "The total uncompressed definition length in bytes. Not base64 encoded.", - "type": "number" - }, - "total_parts": { - "description": "The total number of parts that will be uploaded. Must be greater than 0.", - "type": "number" - } - }, - "required": [ - "definition", - "total_definition_length", - "total_parts" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ml/trained_models/{model_id}/vocabulary": { - "put": { - "description": "Creates a trained model vocabulary", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-model-vocabulary.html" - }, - "operationId": "ml.put_trained_model_vocabulary#0", - "parameters": [ - { - "in": "path", - "name": "model_id", - "description": "The unique identifier of the trained model.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "vocabulary": { - "description": "The model vocabulary, which must not be empty.", - "type": "array", - "items": { - "type": "string" - } - }, - "merges": { - "description": "The optional model merges if required by the tokenizer.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "vocabulary" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/_reset": { - "post": { - "description": "Resets an existing anomaly detection job.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-reset-job.html" - }, - "operationId": "ml.reset_job#0", - "parameters": [ - { - "in": "path", - "name": "job_id", - "description": "The ID of the job to reset.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "wait_for_completion", - "description": "Should this request wait until the operation has completed before\nreturning.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "delete_user_annotations", - "description": "Specifies whether annotations that have been added by the\nuser should be deleted along with any auto-generated annotations when the job is\nreset.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert": { - "post": { - "description": "Reverts to a specific snapshot.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-revert-snapshot.html" - }, - "operationId": "ml.revert_model_snapshot#0", - "parameters": [ - { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "path", - "name": "snapshot_id", - "description": "You can specify `empty` as the . Reverting to the empty\nsnapshot means the anomaly detection job starts learning a new model from\nscratch when it is started.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "delete_intervening_results", - "description": "If true, deletes the results in the time period between the latest\nresults and the time of the reverted snapshot. It also resets the model\nto accept records for this time period. If you choose not to delete\nintervening results when reverting a snapshot, the job will not accept\ninput data that is older than the current time. If you want to resend\ndata, then delete the intervening results.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "delete_intervening_results": { - "description": "Refer to the description for the `delete_intervening_results` query parameter.", - "type": "boolean" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "model": { - "$ref": "#/components/schemas/ml._types:ModelSnapshot" - } - }, - "required": [ - "model" - ] - } - } - } - } - } - } - }, - "/_ml/set_upgrade_mode": { - "post": { - "description": "Sets a cluster wide upgrade_mode setting that prepares machine learning indices for an upgrade.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-set-upgrade-mode.html" - }, - "operationId": "ml.set_upgrade_mode#0", - "parameters": [ - { - "in": "query", - "name": "enabled", - "description": "When `true`, it enables `upgrade_mode` which temporarily halts all job\nand datafeed tasks and prohibits new job and datafeed tasks from\nstarting.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "The time to wait for the request to be completed.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ml/data_frame/analytics/{id}/_start": { - "post": { - "description": "Starts a data frame analytics job.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/start-dfanalytics.html" - }, - "operationId": "ml.start_data_frame_analytics#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "timeout", - "description": "Controls the amount of time to wait until the data frame analytics job\nstarts.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledged": { - "type": "boolean" - }, - "node": { - "$ref": "#/components/schemas/_types:NodeId" - } - }, - "required": [ - "acknowledged", - "node" - ] - } - } - } - } - } - } - }, - "/_ml/datafeeds/{datafeed_id}/_start": { - "post": { - "description": "Starts one or more datafeeds.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html" - }, - "operationId": "ml.start_datafeed#0", - "parameters": [ - { - "in": "path", - "name": "datafeed_id", - "description": "A numerical character string that uniquely identifies the datafeed. This identifier can contain lowercase\nalphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric\ncharacters.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "end", - "description": "The time that the datafeed should end, which can be specified by using one of the following formats:\n\n* ISO 8601 format with milliseconds, for example `2017-01-22T06:00:00.000Z`\n* ISO 8601 format without milliseconds, for example `2017-01-22T06:00:00+00:00`\n* Milliseconds since the epoch, for example `1485061200000`\n\nDate-time arguments using either of the ISO 8601 formats must have a time zone designator, where `Z` is accepted\nas an abbreviation for UTC time. When a URL is expected (for example, in browsers), the `+` used in time zone\ndesignators must be encoded as `%2B`.\nThe end time value is exclusive. If you do not specify an end time, the datafeed\nruns continuously.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - { - "in": "query", - "name": "start", - "description": "The time that the datafeed should begin, which can be specified by using the same formats as the `end` parameter.\nThis value is inclusive.\nIf you do not specify a start time and the datafeed is associated with a new anomaly detection job, the analysis\nstarts from the earliest time for which data is available.\nIf you restart a stopped datafeed and specify a start value that is earlier than the timestamp of the latest\nprocessed record, the datafeed continues from 1 millisecond after the timestamp of the latest processed record.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Specifies the amount of time to wait until a datafeed starts.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "end": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "start": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "timeout": { - "$ref": "#/components/schemas/_types:Duration" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "node": { - "$ref": "#/components/schemas/_types:NodeIds" - }, - "started": { - "description": "For a successful response, this value is always `true`. On failure, an exception is returned instead.", - "type": "boolean" - } - }, - "required": [ - "node", - "started" - ] - } - } - } - } - } - } - }, - "/_ml/trained_models/{model_id}/deployment/_start": { - "post": { - "description": "Start a trained model deployment.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/start-trained-model-deployment.html" - }, - "operationId": "ml.start_trained_model_deployment#0", - "parameters": [ - { - "in": "path", - "name": "model_id", - "description": "The unique identifier of the trained model. Currently, only PyTorch models are supported.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "cache_size", - "description": "The inference cache size (in memory outside the JVM heap) per node for the model.\nThe default value is the same size as the `model_size_bytes`. To disable the cache,\n`0b` can be provided.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "style": "form" - }, - { - "in": "query", - "name": "number_of_allocations", - "description": "The number of model allocations on each node where the model is deployed.\nAll allocations on a node share the same copy of the model in memory but use\na separate set of threads to evaluate the model.\nIncreasing this value generally increases the throughput.\nIf this setting is greater than the number of hardware threads\nit will automatically be changed to a value less than the number of hardware threads.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "priority", - "description": "The deployment priority.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/ml._types:TrainingPriority" - }, - "style": "form" - }, - { - "in": "query", - "name": "queue_capacity", - "description": "Specifies the number of inference requests that are allowed in the queue. After the number of requests exceeds\nthis value, new requests are rejected with a 429 error.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "threads_per_allocation", - "description": "Sets the number of threads used by each model allocation during inference. This generally increases\nthe inference speed. The inference process is a compute-bound process; any number\ngreater than the number of available hardware threads on the machine does not increase the\ninference speed. If this setting is greater than the number of hardware threads\nit will automatically be changed to a value less than the number of hardware threads.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Specifies the amount of time to wait for the model to deploy.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for", - "description": "Specifies the allocation status to wait for before returning.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/ml._types:DeploymentAllocationState" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "assignment": { - "$ref": "#/components/schemas/ml._types:TrainedModelAssignment" - } - }, - "required": [ - "assignment" - ] - } - } - } - } - } - } - }, - "/_ml/data_frame/analytics/{id}/_stop": { - "post": { - "description": "Stops one or more data frame analytics jobs.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-dfanalytics.html" - }, - "operationId": "ml.stop_data_frame_analytics#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no data frame analytics\njobs that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value is true, which returns an empty data_frame_analytics\narray when there are no matches and the subset of results when there are\npartial matches. If this parameter is false, the request returns a 404\nstatus code when there are no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "force", - "description": "If true, the data frame analytics job is stopped forcefully.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Controls the amount of time to wait until the data frame analytics job\nstops. Defaults to 20 seconds.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "stopped": { - "type": "boolean" - } - }, - "required": [ - "stopped" - ] - } - } - } - } - } - } - }, - "/_ml/datafeeds/{datafeed_id}/_stop": { - "post": { - "description": "Stops one or more datafeeds.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-stop-datafeed.html" - }, - "operationId": "ml.stop_datafeed#0", - "parameters": [ - { - "in": "path", - "name": "datafeed_id", - "description": "Identifier for the datafeed. You can stop multiple datafeeds in a single API request by using a comma-separated\nlist of datafeeds or a wildcard expression. You can close all datafeeds by using `_all` or by specifying `*` as\nthe identifier.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n* Contains wildcard expressions and there are no datafeeds that match.\n* Contains the `_all` string or no identifiers and there are no matches.\n* Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the API returns an empty datafeeds array when there are no matches and the subset of results when\nthere are partial matches. If `false`, the API returns a 404 status code when there are no matches or only\npartial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "force", - "description": "If `true`, the datafeed is stopped forcefully.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Specifies the amount of time to wait until a datafeed stops.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "allow_no_match": { - "description": "Refer to the description for the `allow_no_match` query parameter.", - "type": "boolean" - }, - "force": { - "description": "Refer to the description for the `force` query parameter.", - "type": "boolean" - }, - "timeout": { - "$ref": "#/components/schemas/_types:Duration" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "stopped": { - "type": "boolean" - } - }, - "required": [ - "stopped" - ] - } - } - } - } - } - } - }, - "/_ml/trained_models/{model_id}/deployment/_stop": { - "post": { - "description": "Stop a trained model deployment.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/stop-trained-model-deployment.html" - }, - "operationId": "ml.stop_trained_model_deployment#0", - "parameters": [ - { - "in": "path", - "name": "model_id", - "description": "The unique identifier of the trained model.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request: contains wildcard expressions and there are no deployments that match;\ncontains the `_all` string or no identifiers and there are no matches; or contains wildcard expressions and\nthere are only partial matches. By default, it returns an empty array when there are no matches and the subset of results when there are partial matches.\nIf `false`, the request returns a 404 status code when there are no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "force", - "description": "Forcefully stops the deployment, even if it is used by ingest pipelines. You can't use these pipelines until you\nrestart the model deployment.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "stopped": { - "type": "boolean" - } - }, - "required": [ - "stopped" - ] - } - } - } - } - } - } - }, - "/_ml/data_frame/analytics/{id}/_update": { - "post": { - "description": "Updates certain properties of a data frame analytics job.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/update-dfanalytics.html" - }, - "operationId": "ml.update_data_frame_analytics#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "description": { - "description": "A description of the job.", - "type": "string" - }, - "model_memory_limit": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" - }, - "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try\nto create data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", - "type": "string" - }, - "max_num_threads": { - "description": "The maximum number of threads to be used by the analysis. Using more\nthreads may decrease the time necessary to complete the analysis at the\ncost of using more CPU. Note that the process may use additional threads\nfor operational functionality other than the analysis itself.", - "type": "number" - }, - "allow_lazy_start": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" - }, - "description": "Specifies whether this job can start when there is insufficient machine\nlearning node capacity for it to be immediately assigned to a node.", - "type": "boolean" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "authorization": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsAuthorization" - }, - "allow_lazy_start": { - "type": "boolean" - }, - "analysis": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" - }, - "analyzed_fields": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" - }, - "create_time": { - "type": "number" - }, - "description": { - "type": "string" - }, - "dest": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsDestination" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "max_num_threads": { - "type": "number" - }, - "model_memory_limit": { - "type": "string" - }, - "source": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - } - }, - "required": [ - "allow_lazy_start", - "analysis", - "create_time", - "dest", - "id", - "max_num_threads", - "model_memory_limit", - "source", - "version" - ] - } - } - } - } - } - } - }, - "/_ml/datafeeds/{datafeed_id}/_update": { - "post": { - "description": "Updates certain properties of a datafeed.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html" - }, - "operationId": "ml.update_datafeed#0", - "parameters": [ - { - "in": "path", - "name": "datafeed_id", - "description": "A numerical character string that uniquely identifies the datafeed.\nThis identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores.\nIt must start and end with alphanumeric characters.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_indices", - "description": "If `true`, wildcard indices expressions that resolve into no concrete indices are ignored. This includes the\n`_all` string or when no indices are specified.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match. If the request can target data streams, this argument determines\nwhether wildcard expressions match hidden data streams. Supports comma-separated values. Valid values are:\n\n* `all`: Match any data stream or index, including hidden ones.\n* `closed`: Match closed, non-hidden indices. Also matches any non-hidden data stream. Data streams cannot be closed.\n* `hidden`: Match hidden data streams and hidden indices. Must be combined with `open`, `closed`, or both.\n* `none`: Wildcard patterns are not accepted.\n* `open`: Match open, non-hidden indices. Also matches any non-hidden data stream.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "ignore_throttled", - "description": "If `true`, concrete, expanded or aliased indices are ignored when frozen.", - "deprecated": true, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "ignore_unavailable", - "description": "If `true`, unavailable indices (missing or closed) are ignored.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aggregations": { - "description": "If set, the datafeed performs aggregation searches. Support for aggregations is limited and should be used only\nwith low cardinality data.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "chunking_config": { - "$ref": "#/components/schemas/ml._types:ChunkingConfig" - }, - "delayed_data_check_config": { - "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" - }, - "frequency": { - "$ref": "#/components/schemas/_types:Duration" - }, - "indices": { - "description": "An array of index names. Wildcards are supported. If any of the indices are in remote clusters, the machine\nlearning nodes must have the `remote_cluster_client` role.", - "type": "array", - "items": { - "type": "string" - } - }, - "indices_options": { - "$ref": "#/components/schemas/_types:IndicesOptions" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "max_empty_searches": { - "description": "If a real-time datafeed has never seen any data (including during any initial training period), it automatically\nstops and closes the associated job after this many real-time searches return no documents. In other words,\nit stops after `frequency` times `max_empty_searches` of real-time operation. If not set, a datafeed with no\nend time that sees no data remains started until it is explicitly stopped. By default, it is not set.", - "type": "number" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "query_delay": { - "$ref": "#/components/schemas/_types:Duration" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - }, - "script_fields": { - "description": "Specifies scripts that evaluate custom expressions and returns script fields to the datafeed.\nThe detector configuration objects in a job can contain functions that use these script fields.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ScriptField" - } - }, - "scroll_size": { - "description": "The size parameter that is used in Elasticsearch searches when the datafeed does not use aggregations.\nThe maximum value is the value of `index.max_result_window`.", - "type": "number" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "authorization": { - "$ref": "#/components/schemas/ml._types:DatafeedAuthorization" - }, - "aggregations": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "chunking_config": { - "$ref": "#/components/schemas/ml._types:ChunkingConfig" - }, - "delayed_data_check_config": { - "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" - }, - "datafeed_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "frequency": { - "$ref": "#/components/schemas/_types:Duration" - }, - "indices": { - "type": "array", - "items": { - "type": "string" - } - }, - "indices_options": { - "$ref": "#/components/schemas/_types:IndicesOptions" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "max_empty_searches": { - "type": "number" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "query_delay": { - "$ref": "#/components/schemas/_types:Duration" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - }, - "script_fields": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ScriptField" - } - }, - "scroll_size": { - "type": "number" - } - }, - "required": [ - "chunking_config", - "datafeed_id", - "indices", - "job_id", - "query", - "query_delay", - "scroll_size" - ] - } - } - } - } - } - } - }, - "/_ml/filters/{filter_id}/_update": { - "post": { - "description": "Updates the description of a filter, adds items, or removes items.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-filter.html" - }, - "operationId": "ml.update_filter#0", - "parameters": [ - { - "in": "path", - "name": "filter_id", - "description": "A string that uniquely identifies a filter.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "add_items": { - "description": "The items to add to the filter.", - "type": "array", - "items": { - "type": "string" - } - }, - "description": { - "description": "A description for the filter.", - "type": "string" - }, - "remove_items": { - "description": "The items to remove from the filter.", - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "filter_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "items": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "description", - "filter_id", - "items" - ] - } - } - } - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/_update": { - "post": { - "description": "Updates certain properties of an anomaly detection job.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html" - }, - "operationId": "ml.update_job#0", - "parameters": [ - { - "in": "path", - "name": "job_id", - "description": "Identifier for the job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "allow_lazy_open": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" - }, - "description": "Advanced configuration option. Specifies whether this job can open when\nthere is insufficient machine learning node capacity for it to be\nimmediately assigned to a node. If `false` and a machine learning node\nwith capacity to run the job cannot immediately be found, the open\nanomaly detection jobs API returns an error. However, this is also\nsubject to the cluster-wide `xpack.ml.max_lazy_ml_nodes` setting. If this\noption is set to `true`, the open anomaly detection jobs API does not\nreturn an error and the job waits in the opening state until sufficient\nmachine learning node capacity is available.", - "type": "boolean" - }, - "analysis_limits": { - "$ref": "#/components/schemas/ml._types:AnalysisMemoryLimit" - }, - "background_persist_interval": { - "$ref": "#/components/schemas/_types:Duration" - }, - "custom_settings": { - "description": "Advanced configuration option. Contains custom meta data about the job.\nFor example, it can contain custom URL information as shown in Adding\ncustom URLs to machine learning results.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "categorization_filters": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": { - "description": "A description of the job.", - "type": "string" - }, - "model_plot_config": { - "$ref": "#/components/schemas/ml._types:ModelPlotConfig" - }, - "model_prune_window": { - "$ref": "#/components/schemas/_types:Duration" - }, - "daily_model_snapshot_retention_after_days": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-ad-run-jobs.html#ml-ad-model-snapshots" - }, - "description": "Advanced configuration option, which affects the automatic removal of old\nmodel snapshots for this job. It specifies a period of time (in days)\nafter which only the first snapshot per day is retained. This period is\nrelative to the timestamp of the most recent snapshot for this job. Valid\nvalues range from 0 to `model_snapshot_retention_days`. For jobs created\nbefore version 7.8.0, the default value matches\n`model_snapshot_retention_days`.", - "type": "number" - }, - "model_snapshot_retention_days": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-ad-run-jobs.html#ml-ad-model-snapshots" - }, - "description": "Advanced configuration option, which affects the automatic removal of old\nmodel snapshots for this job. It specifies the maximum period of time (in\ndays) that snapshots are retained. This period is relative to the\ntimestamp of the most recent snapshot for this job.", - "type": "number" - }, - "renormalization_window_days": { - "description": "Advanced configuration option. The period over which adjustments to the\nscore are applied, as new data is seen.", - "type": "number" - }, - "results_retention_days": { - "description": "Advanced configuration option. The period of time (in days) that results\nare retained. Age is calculated relative to the timestamp of the latest\nbucket result. If this property has a non-null value, once per day at\n00:30 (server time), results that are the specified number of days older\nthan the latest bucket result are deleted from Elasticsearch. The default\nvalue is null, which means all results are retained.", - "type": "number" - }, - "groups": { - "description": "A list of job groups. A job can belong to no groups or many.", - "type": "array", - "items": { - "type": "string" - } - }, - "detectors": { - "description": "An array of detector update objects.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:Detector" - } - }, - "per_partition_categorization": { - "$ref": "#/components/schemas/ml._types:PerPartitionCategorization" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "allow_lazy_open": { - "type": "boolean" - }, - "analysis_config": { - "$ref": "#/components/schemas/ml._types:AnalysisConfigRead" - }, - "analysis_limits": { - "$ref": "#/components/schemas/ml._types:AnalysisLimits" - }, - "background_persist_interval": { - "$ref": "#/components/schemas/_types:Duration" - }, - "create_time": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "finished_time": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "custom_settings": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "daily_model_snapshot_retention_after_days": { - "type": "number" - }, - "data_description": { - "$ref": "#/components/schemas/ml._types:DataDescription" - }, - "datafeed_config": { - "$ref": "#/components/schemas/ml._types:Datafeed" - }, - "description": { - "type": "string" - }, - "groups": { - "type": "array", - "items": { - "type": "string" - } - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "job_type": { - "type": "string" - }, - "job_version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "model_plot_config": { - "$ref": "#/components/schemas/ml._types:ModelPlotConfig" - }, - "model_snapshot_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "model_snapshot_retention_days": { - "type": "number" - }, - "renormalization_window_days": { - "type": "number" - }, - "results_index_name": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "results_retention_days": { - "type": "number" - } - }, - "required": [ - "allow_lazy_open", - "analysis_config", - "analysis_limits", - "create_time", - "daily_model_snapshot_retention_after_days", - "data_description", - "job_id", - "job_type", - "job_version", - "model_snapshot_retention_days", - "results_index_name" - ] - } - } - } - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update": { - "post": { - "description": "Updates certain properties of a snapshot.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-snapshot.html" - }, - "operationId": "ml.update_model_snapshot#0", - "parameters": [ - { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "path", - "name": "snapshot_id", - "description": "Identifier for the model snapshot.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "description": { - "description": "A description of the model snapshot.", - "type": "string" - }, - "retain": { - "description": "If `true`, this snapshot will not be deleted during automatic cleanup of\nsnapshots older than `model_snapshot_retention_days`. However, this\nsnapshot will be deleted when the job is deleted.", - "type": "boolean" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledged": { - "type": "boolean" - }, - "model": { - "$ref": "#/components/schemas/ml._types:ModelSnapshot" - } - }, - "required": [ - "acknowledged", - "model" - ] - } - } - } - } - } - } - }, - "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade": { - "post": { - "description": "Upgrades a given job snapshot to the current major version.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-upgrade-job-model-snapshot.html" - }, - "operationId": "ml.upgrade_job_snapshot#0", - "parameters": [ - { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "path", - "name": "snapshot_id", - "description": "A numerical character string that uniquely identifies the model snapshot.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "wait_for_completion", - "description": "When true, the API won’t respond until the upgrade is complete.\nOtherwise, it responds as soon as the upgrade task is assigned to a node.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Controls the time to wait for the request to complete.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "node": { - "$ref": "#/components/schemas/_types:NodeId" - }, - "completed": { - "description": "When true, this means the task is complete. When false, it is still running.", - "type": "boolean" - } - }, - "required": [ - "node", - "completed" - ] - } - } - } - } - } - } - }, - "/_ml/anomaly_detectors/_validate": { - "post": { - "description": "Validates an anomaly detection job.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-jobs.html" - }, - "operationId": "ml.validate#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "analysis_config": { - "$ref": "#/components/schemas/ml._types:AnalysisConfig" - }, - "analysis_limits": { - "$ref": "#/components/schemas/ml._types:AnalysisLimits" - }, - "data_description": { - "$ref": "#/components/schemas/ml._types:DataDescription" - }, - "description": { - "type": "string" - }, - "model_plot": { - "$ref": "#/components/schemas/ml._types:ModelPlotConfig" - }, - "model_snapshot_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "model_snapshot_retention_days": { - "type": "number" - }, - "results_index_name": { - "$ref": "#/components/schemas/_types:IndexName" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_ml/anomaly_detectors/_validate/detector": { - "post": { - "description": "Validates an anomaly detection detector.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-jobs.html" - }, - "operationId": "ml.validate_detector#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ml._types:Detector" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_monitoring/bulk": { - "put": { - "description": "Used by the monitoring features to send monitoring data.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/monitor-elasticsearch-cluster.html" - }, - "operationId": "monitoring.bulk#1", - "parameters": [ - { - "$ref": "#/components/parameters/monitoring.bulk#system_id" - }, - { - "$ref": "#/components/parameters/monitoring.bulk#system_api_version" - }, - { - "$ref": "#/components/parameters/monitoring.bulk#interval" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/monitoring.bulk" - }, - "responses": { - "200": { - "$ref": "#/components/responses/monitoring.bulk#200" - } - } - }, - "post": { - "description": "Used by the monitoring features to send monitoring data.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/monitor-elasticsearch-cluster.html" - }, - "operationId": "monitoring.bulk#0", - "parameters": [ - { - "$ref": "#/components/parameters/monitoring.bulk#system_id" - }, - { - "$ref": "#/components/parameters/monitoring.bulk#system_api_version" - }, - { - "$ref": "#/components/parameters/monitoring.bulk#interval" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/monitoring.bulk" - }, - "responses": { - "200": { - "$ref": "#/components/responses/monitoring.bulk#200" - } - } - } - }, - "/_monitoring/{type}/bulk": { - "put": { - "description": "Used by the monitoring features to send monitoring data.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/monitor-elasticsearch-cluster.html" - }, - "operationId": "monitoring.bulk#3", - "parameters": [ - { - "$ref": "#/components/parameters/monitoring.bulk#type" - }, - { - "$ref": "#/components/parameters/monitoring.bulk#system_id" - }, - { - "$ref": "#/components/parameters/monitoring.bulk#system_api_version" - }, - { - "$ref": "#/components/parameters/monitoring.bulk#interval" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/monitoring.bulk" - }, - "responses": { - "200": { - "$ref": "#/components/responses/monitoring.bulk#200" - } - } - }, - "post": { - "description": "Used by the monitoring features to send monitoring data.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/monitor-elasticsearch-cluster.html" - }, - "operationId": "monitoring.bulk#2", - "parameters": [ - { - "$ref": "#/components/parameters/monitoring.bulk#type" - }, - { - "$ref": "#/components/parameters/monitoring.bulk#system_id" - }, - { - "$ref": "#/components/parameters/monitoring.bulk#system_api_version" - }, - { - "$ref": "#/components/parameters/monitoring.bulk#interval" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/monitoring.bulk" - }, - "responses": { - "200": { - "$ref": "#/components/responses/monitoring.bulk#200" - } - } - } - }, - "/_msearch": { - "get": { - "description": "Allows to execute several search operations in one request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html" - }, - "operationId": "msearch#0", - "parameters": [ - { - "$ref": "#/components/parameters/msearch#allow_no_indices" - }, - { - "$ref": "#/components/parameters/msearch#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/msearch#expand_wildcards" - }, - { - "$ref": "#/components/parameters/msearch#ignore_throttled" - }, - { - "$ref": "#/components/parameters/msearch#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/msearch#max_concurrent_searches" - }, - { - "$ref": "#/components/parameters/msearch#max_concurrent_shard_requests" - }, - { - "$ref": "#/components/parameters/msearch#pre_filter_shard_size" - }, - { - "$ref": "#/components/parameters/msearch#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/msearch#routing" - }, - { - "$ref": "#/components/parameters/msearch#search_type" - }, - { - "$ref": "#/components/parameters/msearch#typed_keys" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/msearch" - }, - "responses": { - "200": { - "$ref": "#/components/responses/msearch#200" - } - } - }, - "post": { - "description": "Allows to execute several search operations in one request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html" - }, - "operationId": "msearch#1", - "parameters": [ - { - "$ref": "#/components/parameters/msearch#allow_no_indices" - }, - { - "$ref": "#/components/parameters/msearch#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/msearch#expand_wildcards" - }, - { - "$ref": "#/components/parameters/msearch#ignore_throttled" - }, - { - "$ref": "#/components/parameters/msearch#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/msearch#max_concurrent_searches" - }, - { - "$ref": "#/components/parameters/msearch#max_concurrent_shard_requests" - }, - { - "$ref": "#/components/parameters/msearch#pre_filter_shard_size" - }, - { - "$ref": "#/components/parameters/msearch#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/msearch#routing" - }, - { - "$ref": "#/components/parameters/msearch#search_type" - }, - { - "$ref": "#/components/parameters/msearch#typed_keys" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/msearch" - }, - "responses": { - "200": { - "$ref": "#/components/responses/msearch#200" - } - } - } - }, - "/{index}/_msearch": { - "get": { - "description": "Allows to execute several search operations in one request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html" - }, - "operationId": "msearch#2", - "parameters": [ - { - "$ref": "#/components/parameters/msearch#index" - }, - { - "$ref": "#/components/parameters/msearch#allow_no_indices" - }, - { - "$ref": "#/components/parameters/msearch#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/msearch#expand_wildcards" - }, - { - "$ref": "#/components/parameters/msearch#ignore_throttled" - }, - { - "$ref": "#/components/parameters/msearch#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/msearch#max_concurrent_searches" - }, - { - "$ref": "#/components/parameters/msearch#max_concurrent_shard_requests" - }, - { - "$ref": "#/components/parameters/msearch#pre_filter_shard_size" - }, - { - "$ref": "#/components/parameters/msearch#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/msearch#routing" - }, - { - "$ref": "#/components/parameters/msearch#search_type" - }, - { - "$ref": "#/components/parameters/msearch#typed_keys" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/msearch" - }, - "responses": { - "200": { - "$ref": "#/components/responses/msearch#200" - } - } - }, - "post": { - "description": "Allows to execute several search operations in one request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html" - }, - "operationId": "msearch#3", - "parameters": [ - { - "$ref": "#/components/parameters/msearch#index" - }, - { - "$ref": "#/components/parameters/msearch#allow_no_indices" - }, - { - "$ref": "#/components/parameters/msearch#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/msearch#expand_wildcards" - }, - { - "$ref": "#/components/parameters/msearch#ignore_throttled" - }, - { - "$ref": "#/components/parameters/msearch#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/msearch#max_concurrent_searches" - }, - { - "$ref": "#/components/parameters/msearch#max_concurrent_shard_requests" - }, - { - "$ref": "#/components/parameters/msearch#pre_filter_shard_size" - }, - { - "$ref": "#/components/parameters/msearch#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/msearch#routing" - }, - { - "$ref": "#/components/parameters/msearch#search_type" - }, - { - "$ref": "#/components/parameters/msearch#typed_keys" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/msearch" - }, - "responses": { - "200": { - "$ref": "#/components/responses/msearch#200" - } - } - } - }, - "/_msearch/template": { - "get": { - "description": "Allows to execute several search template operations in one request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html" - }, - "operationId": "msearch_template#0", - "parameters": [ - { - "$ref": "#/components/parameters/msearch_template#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/msearch_template#max_concurrent_searches" - }, - { - "$ref": "#/components/parameters/msearch_template#search_type" - }, - { - "$ref": "#/components/parameters/msearch_template#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/msearch_template#typed_keys" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/msearch_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/msearch_template#200" - } - } - }, - "post": { - "description": "Allows to execute several search template operations in one request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html" - }, - "operationId": "msearch_template#1", - "parameters": [ - { - "$ref": "#/components/parameters/msearch_template#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/msearch_template#max_concurrent_searches" - }, - { - "$ref": "#/components/parameters/msearch_template#search_type" - }, - { - "$ref": "#/components/parameters/msearch_template#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/msearch_template#typed_keys" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/msearch_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/msearch_template#200" - } - } - } - }, - "/{index}/_msearch/template": { - "get": { - "description": "Allows to execute several search template operations in one request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html" - }, - "operationId": "msearch_template#2", - "parameters": [ - { - "$ref": "#/components/parameters/msearch_template#index" - }, - { - "$ref": "#/components/parameters/msearch_template#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/msearch_template#max_concurrent_searches" - }, - { - "$ref": "#/components/parameters/msearch_template#search_type" - }, - { - "$ref": "#/components/parameters/msearch_template#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/msearch_template#typed_keys" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/msearch_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/msearch_template#200" - } - } - }, - "post": { - "description": "Allows to execute several search template operations in one request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html" - }, - "operationId": "msearch_template#3", - "parameters": [ - { - "$ref": "#/components/parameters/msearch_template#index" - }, - { - "$ref": "#/components/parameters/msearch_template#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/msearch_template#max_concurrent_searches" - }, - { - "$ref": "#/components/parameters/msearch_template#search_type" - }, - { - "$ref": "#/components/parameters/msearch_template#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/msearch_template#typed_keys" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/msearch_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/msearch_template#200" - } - } - } - }, - "/_mtermvectors": { - "get": { - "description": "Returns multiple termvectors in one request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" - }, - "operationId": "mtermvectors#0", - "parameters": [ - { - "$ref": "#/components/parameters/mtermvectors#ids" - }, - { - "$ref": "#/components/parameters/mtermvectors#fields" - }, - { - "$ref": "#/components/parameters/mtermvectors#field_statistics" - }, - { - "$ref": "#/components/parameters/mtermvectors#offsets" - }, - { - "$ref": "#/components/parameters/mtermvectors#payloads" - }, - { - "$ref": "#/components/parameters/mtermvectors#positions" - }, - { - "$ref": "#/components/parameters/mtermvectors#preference" - }, - { - "$ref": "#/components/parameters/mtermvectors#realtime" - }, - { - "$ref": "#/components/parameters/mtermvectors#routing" - }, - { - "$ref": "#/components/parameters/mtermvectors#term_statistics" - }, - { - "$ref": "#/components/parameters/mtermvectors#version" - }, - { - "$ref": "#/components/parameters/mtermvectors#version_type" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/mtermvectors" - }, - "responses": { - "200": { - "$ref": "#/components/responses/mtermvectors#200" - } - } - }, - "post": { - "description": "Returns multiple termvectors in one request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" - }, - "operationId": "mtermvectors#1", - "parameters": [ - { - "$ref": "#/components/parameters/mtermvectors#ids" - }, - { - "$ref": "#/components/parameters/mtermvectors#fields" - }, - { - "$ref": "#/components/parameters/mtermvectors#field_statistics" - }, - { - "$ref": "#/components/parameters/mtermvectors#offsets" - }, - { - "$ref": "#/components/parameters/mtermvectors#payloads" - }, - { - "$ref": "#/components/parameters/mtermvectors#positions" - }, - { - "$ref": "#/components/parameters/mtermvectors#preference" - }, - { - "$ref": "#/components/parameters/mtermvectors#realtime" - }, - { - "$ref": "#/components/parameters/mtermvectors#routing" - }, - { - "$ref": "#/components/parameters/mtermvectors#term_statistics" - }, - { - "$ref": "#/components/parameters/mtermvectors#version" - }, - { - "$ref": "#/components/parameters/mtermvectors#version_type" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/mtermvectors" - }, - "responses": { - "200": { - "$ref": "#/components/responses/mtermvectors#200" - } - } - } - }, - "/{index}/_mtermvectors": { - "get": { - "description": "Returns multiple termvectors in one request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" - }, - "operationId": "mtermvectors#2", - "parameters": [ - { - "$ref": "#/components/parameters/mtermvectors#index" - }, - { - "$ref": "#/components/parameters/mtermvectors#ids" - }, - { - "$ref": "#/components/parameters/mtermvectors#fields" - }, - { - "$ref": "#/components/parameters/mtermvectors#field_statistics" - }, - { - "$ref": "#/components/parameters/mtermvectors#offsets" - }, - { - "$ref": "#/components/parameters/mtermvectors#payloads" - }, - { - "$ref": "#/components/parameters/mtermvectors#positions" - }, - { - "$ref": "#/components/parameters/mtermvectors#preference" - }, - { - "$ref": "#/components/parameters/mtermvectors#realtime" - }, - { - "$ref": "#/components/parameters/mtermvectors#routing" - }, - { - "$ref": "#/components/parameters/mtermvectors#term_statistics" - }, - { - "$ref": "#/components/parameters/mtermvectors#version" - }, - { - "$ref": "#/components/parameters/mtermvectors#version_type" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/mtermvectors" - }, - "responses": { - "200": { - "$ref": "#/components/responses/mtermvectors#200" - } - } - }, - "post": { - "description": "Returns multiple termvectors in one request.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" - }, - "operationId": "mtermvectors#3", - "parameters": [ - { - "$ref": "#/components/parameters/mtermvectors#index" - }, - { - "$ref": "#/components/parameters/mtermvectors#ids" - }, - { - "$ref": "#/components/parameters/mtermvectors#fields" - }, - { - "$ref": "#/components/parameters/mtermvectors#field_statistics" - }, - { - "$ref": "#/components/parameters/mtermvectors#offsets" - }, - { - "$ref": "#/components/parameters/mtermvectors#payloads" - }, - { - "$ref": "#/components/parameters/mtermvectors#positions" - }, - { - "$ref": "#/components/parameters/mtermvectors#preference" - }, - { - "$ref": "#/components/parameters/mtermvectors#realtime" - }, - { - "$ref": "#/components/parameters/mtermvectors#routing" - }, - { - "$ref": "#/components/parameters/mtermvectors#term_statistics" - }, - { - "$ref": "#/components/parameters/mtermvectors#version" - }, - { - "$ref": "#/components/parameters/mtermvectors#version_type" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/mtermvectors" - }, - "responses": { - "200": { - "$ref": "#/components/responses/mtermvectors#200" - } - } - } - }, - "/_nodes/{node_id}/_repositories_metering/{max_archive_version}": { - "delete": { - "description": "Removes the archived repositories metering information present in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-repositories-metering-archive-api.html" - }, - "operationId": "nodes.clear_repositories_metering_archive#0", - "parameters": [ - { - "in": "path", - "name": "node_id", - "description": "Comma-separated list of node IDs or names used to limit returned information.\nAll the nodes selective options are explained [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster.html#cluster-nodes).", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:NodeIds" - }, - "style": "simple" - }, - { - "in": "path", - "name": "max_archive_version", - "description": "Specifies the maximum [archive_version](https://www.elastic.co/guide/en/elasticsearch/reference/current/get-repositories-metering-api.html#get-repositories-metering-api-response-body) to be cleared from the archive.", - "required": true, - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/nodes.clear_repositories_metering_archive:ResponseBase" - } - } - } - } - } - } - }, - "/_nodes/{node_id}/_repositories_metering": { - "get": { - "description": "Returns cluster repositories metering information.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-repositories-metering-api.html" - }, - "operationId": "nodes.get_repositories_metering_info#0", - "parameters": [ - { - "in": "path", - "name": "node_id", - "description": "Comma-separated list of node IDs or names used to limit returned information.\nAll the nodes selective options are explained [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster.html#cluster-nodes).", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:NodeIds" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/nodes.get_repositories_metering_info:ResponseBase" - } - } - } - } - } - } - }, - "/_nodes/hot_threads": { - "get": { - "description": "Returns information about hot threads on each node in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-hot-threads.html" - }, - "operationId": "nodes.hot_threads#0", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.hot_threads#ignore_idle_threads" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#interval" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#snapshots" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#threads" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#timeout" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#type" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#sort" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.hot_threads#200" - } - } - } - }, - "/_nodes/{node_id}/hot_threads": { - "get": { - "description": "Returns information about hot threads on each node in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-hot-threads.html" - }, - "operationId": "nodes.hot_threads#1", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.hot_threads#node_id" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#ignore_idle_threads" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#interval" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#snapshots" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#threads" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#timeout" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#type" - }, - { - "$ref": "#/components/parameters/nodes.hot_threads#sort" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.hot_threads#200" - } - } - } - }, - "/_nodes": { - "get": { - "description": "Returns information about nodes in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html" - }, - "operationId": "nodes.info#0", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.info#flat_settings" - }, - { - "$ref": "#/components/parameters/nodes.info#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.info#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.info#200" - } - } - } - }, - "/_nodes/{node_id}": { - "get": { - "description": "Returns information about nodes in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html" - }, - "operationId": "nodes.info#1", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.info#node_id" - }, - { - "$ref": "#/components/parameters/nodes.info#flat_settings" - }, - { - "$ref": "#/components/parameters/nodes.info#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.info#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.info#200" - } - } - } - }, - "/_nodes/{metric}": { - "get": { - "description": "Returns information about nodes in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html" - }, - "operationId": "nodes.info#2", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.info#metric" - }, - { - "$ref": "#/components/parameters/nodes.info#flat_settings" - }, - { - "$ref": "#/components/parameters/nodes.info#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.info#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.info#200" - } - } - } - }, - "/_nodes/{node_id}/{metric}": { - "get": { - "description": "Returns information about nodes in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html" - }, - "operationId": "nodes.info#3", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.info#node_id" - }, - { - "$ref": "#/components/parameters/nodes.info#metric" - }, - { - "$ref": "#/components/parameters/nodes.info#flat_settings" - }, - { - "$ref": "#/components/parameters/nodes.info#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.info#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.info#200" - } - } - } - }, - "/_nodes/reload_secure_settings": { - "post": { - "description": "Reloads secure settings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/secure-settings.html#reloadable-secure-settings" - }, - "operationId": "nodes.reload_secure_settings#0", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.reload_secure_settings#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/nodes.reload_secure_settings" - }, - "responses": { - "200": { - "$ref": "#/components/responses/nodes.reload_secure_settings#200" - } - } - } - }, - "/_nodes/{node_id}/reload_secure_settings": { - "post": { - "description": "Reloads secure settings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/secure-settings.html#reloadable-secure-settings" - }, - "operationId": "nodes.reload_secure_settings#1", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.reload_secure_settings#node_id" - }, - { - "$ref": "#/components/parameters/nodes.reload_secure_settings#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/nodes.reload_secure_settings" - }, - "responses": { - "200": { - "$ref": "#/components/responses/nodes.reload_secure_settings#200" - } - } - } - }, - "/_nodes/stats": { - "get": { - "description": "Returns statistical information about nodes in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" - }, - "operationId": "nodes.stats#0", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.stats#completion_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fielddata_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#groups" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" - }, - { - "$ref": "#/components/parameters/nodes.stats#level" - }, - { - "$ref": "#/components/parameters/nodes.stats#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#types" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.stats#200" - } - } - } - }, - "/_nodes/{node_id}/stats": { - "get": { - "description": "Returns statistical information about nodes in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" - }, - "operationId": "nodes.stats#1", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.stats#node_id" - }, - { - "$ref": "#/components/parameters/nodes.stats#completion_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fielddata_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#groups" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" - }, - { - "$ref": "#/components/parameters/nodes.stats#level" - }, - { - "$ref": "#/components/parameters/nodes.stats#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#types" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.stats#200" - } - } - } - }, - "/_nodes/stats/{metric}": { - "get": { - "description": "Returns statistical information about nodes in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" - }, - "operationId": "nodes.stats#2", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.stats#metric" - }, - { - "$ref": "#/components/parameters/nodes.stats#completion_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fielddata_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#groups" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" - }, - { - "$ref": "#/components/parameters/nodes.stats#level" - }, - { - "$ref": "#/components/parameters/nodes.stats#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#types" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.stats#200" - } - } - } - }, - "/_nodes/{node_id}/stats/{metric}": { - "get": { - "description": "Returns statistical information about nodes in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" - }, - "operationId": "nodes.stats#3", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.stats#node_id" - }, - { - "$ref": "#/components/parameters/nodes.stats#metric" - }, - { - "$ref": "#/components/parameters/nodes.stats#completion_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fielddata_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#groups" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" - }, - { - "$ref": "#/components/parameters/nodes.stats#level" - }, - { - "$ref": "#/components/parameters/nodes.stats#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#types" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.stats#200" - } - } - } - }, - "/_nodes/stats/{metric}/{index_metric}": { - "get": { - "description": "Returns statistical information about nodes in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" - }, - "operationId": "nodes.stats#4", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.stats#metric" - }, - { - "$ref": "#/components/parameters/nodes.stats#index_metric" - }, - { - "$ref": "#/components/parameters/nodes.stats#completion_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fielddata_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#groups" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" - }, - { - "$ref": "#/components/parameters/nodes.stats#level" - }, - { - "$ref": "#/components/parameters/nodes.stats#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#types" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.stats#200" - } - } - } - }, - "/_nodes/{node_id}/stats/{metric}/{index_metric}": { - "get": { - "description": "Returns statistical information about nodes in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" - }, - "operationId": "nodes.stats#5", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.stats#node_id" - }, - { - "$ref": "#/components/parameters/nodes.stats#metric" - }, - { - "$ref": "#/components/parameters/nodes.stats#index_metric" - }, - { - "$ref": "#/components/parameters/nodes.stats#completion_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fielddata_fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#fields" - }, - { - "$ref": "#/components/parameters/nodes.stats#groups" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_segment_file_sizes" - }, - { - "$ref": "#/components/parameters/nodes.stats#level" - }, - { - "$ref": "#/components/parameters/nodes.stats#master_timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#timeout" - }, - { - "$ref": "#/components/parameters/nodes.stats#types" - }, - { - "$ref": "#/components/parameters/nodes.stats#include_unloaded_segments" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.stats#200" - } - } - } - }, - "/_nodes/usage": { - "get": { - "description": "Returns low-level information about REST actions usage on nodes.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-usage.html" - }, - "operationId": "nodes.usage#0", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.usage#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.usage#200" - } - } - } - }, - "/_nodes/{node_id}/usage": { - "get": { - "description": "Returns low-level information about REST actions usage on nodes.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-usage.html" - }, - "operationId": "nodes.usage#1", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.usage#node_id" - }, - { - "$ref": "#/components/parameters/nodes.usage#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.usage#200" - } - } - } - }, - "/_nodes/usage/{metric}": { - "get": { - "description": "Returns low-level information about REST actions usage on nodes.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-usage.html" - }, - "operationId": "nodes.usage#2", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.usage#metric" - }, - { - "$ref": "#/components/parameters/nodes.usage#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.usage#200" - } - } - } - }, - "/_nodes/{node_id}/usage/{metric}": { - "get": { - "description": "Returns low-level information about REST actions usage on nodes.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-usage.html" - }, - "operationId": "nodes.usage#3", - "parameters": [ - { - "$ref": "#/components/parameters/nodes.usage#node_id" - }, - { - "$ref": "#/components/parameters/nodes.usage#metric" - }, - { - "$ref": "#/components/parameters/nodes.usage#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/nodes.usage#200" - } - } - } - }, - "/{index}/_pit": { - "post": { - "description": "Open a point in time that can be used in subsequent searches", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/point-in-time-api.html" - }, - "operationId": "open_point_in_time#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "A comma-separated list of index names to open point in time; use `_all` or empty string to perform the operation on all indices", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - { - "in": "query", - "name": "keep_alive", - "description": "Extends the time to live of the corresponding point in time.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "preference", - "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`. Valid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - } - }, - "required": [ - "id" - ] - } - } - } - } - } - } - }, - "/_scripts/{id}/{context}": { - "put": { - "description": "Creates or updates a script.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" - }, - "operationId": "put_script#2", - "parameters": [ - { - "$ref": "#/components/parameters/put_script#id" - }, - { - "$ref": "#/components/parameters/put_script#context" - }, - { - "$ref": "#/components/parameters/put_script#master_timeout" - }, - { - "$ref": "#/components/parameters/put_script#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/put_script" - }, - "responses": { - "200": { - "$ref": "#/components/responses/put_script#200" - } - } - }, - "post": { - "description": "Creates or updates a script.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html" - }, - "operationId": "put_script#3", - "parameters": [ - { - "$ref": "#/components/parameters/put_script#id" - }, - { - "$ref": "#/components/parameters/put_script#context" - }, - { - "$ref": "#/components/parameters/put_script#master_timeout" - }, - { - "$ref": "#/components/parameters/put_script#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/put_script" - }, - "responses": { - "200": { - "$ref": "#/components/responses/put_script#200" - } - } - } - }, - "/_query_rules/{ruleset_id}": { - "get": { - "description": "Returns the details about a query ruleset.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-query-ruleset.html" - }, - "operationId": "query_ruleset.get#0", - "parameters": [ - { - "in": "path", - "name": "ruleset_id", - "description": "The unique identifier of the query ruleset", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/query_ruleset._types:QueryRuleset" - } - } - } - } - } - }, - "put": { - "description": "Creates or updates a query ruleset.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-query-ruleset.html" - }, - "operationId": "query_ruleset.put#0", - "parameters": [ - { - "in": "path", - "name": "ruleset_id", - "description": "The unique identifier of the query ruleset to be created or updated", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/query_ruleset._types:QueryRuleset" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "result": { - "$ref": "#/components/schemas/_types:Result" - } - }, - "required": [ - "result" - ] - } - } - } - } - } - }, - "delete": { - "description": "Deletes a query ruleset.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-query-ruleset.html" - }, - "operationId": "query_ruleset.delete#0", - "parameters": [ - { - "in": "path", - "name": "ruleset_id", - "description": "The unique identifier of the query ruleset to delete", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_query_rules": { - "get": { - "description": "Lists query rulesets.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-query-rulesets.html" - }, - "operationId": "query_ruleset.list#0", - "parameters": [ - { - "in": "query", - "name": "from", - "description": "Starting offset (default: 0)", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "size", - "description": "specifies a max number of results to get", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/query_ruleset.list:QueryRulesetListItem" - } - } - }, - "required": [ - "count", - "results" - ] - } - } - } - } - } - } - }, - "/_rank_eval": { - "get": { - "description": "Allows to evaluate the quality of ranked search results over a set of typical search queries", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html" - }, - "operationId": "rank_eval#0", - "parameters": [ - { - "$ref": "#/components/parameters/rank_eval#allow_no_indices" - }, - { - "$ref": "#/components/parameters/rank_eval#expand_wildcards" - }, - { - "$ref": "#/components/parameters/rank_eval#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/rank_eval#search_type" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/rank_eval" - }, - "responses": { - "200": { - "$ref": "#/components/responses/rank_eval#200" - } - } - }, - "post": { - "description": "Allows to evaluate the quality of ranked search results over a set of typical search queries", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html" - }, - "operationId": "rank_eval#1", - "parameters": [ - { - "$ref": "#/components/parameters/rank_eval#allow_no_indices" - }, - { - "$ref": "#/components/parameters/rank_eval#expand_wildcards" - }, - { - "$ref": "#/components/parameters/rank_eval#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/rank_eval#search_type" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/rank_eval" - }, - "responses": { - "200": { - "$ref": "#/components/responses/rank_eval#200" - } - } - } - }, - "/{index}/_rank_eval": { - "get": { - "description": "Allows to evaluate the quality of ranked search results over a set of typical search queries", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html" - }, - "operationId": "rank_eval#2", - "parameters": [ - { - "$ref": "#/components/parameters/rank_eval#index" - }, - { - "$ref": "#/components/parameters/rank_eval#allow_no_indices" - }, - { - "$ref": "#/components/parameters/rank_eval#expand_wildcards" - }, - { - "$ref": "#/components/parameters/rank_eval#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/rank_eval#search_type" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/rank_eval" - }, - "responses": { - "200": { - "$ref": "#/components/responses/rank_eval#200" - } - } - }, - "post": { - "description": "Allows to evaluate the quality of ranked search results over a set of typical search queries", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html" - }, - "operationId": "rank_eval#3", - "parameters": [ - { - "$ref": "#/components/parameters/rank_eval#index" - }, - { - "$ref": "#/components/parameters/rank_eval#allow_no_indices" - }, - { - "$ref": "#/components/parameters/rank_eval#expand_wildcards" - }, - { - "$ref": "#/components/parameters/rank_eval#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/rank_eval#search_type" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/rank_eval" - }, - "responses": { - "200": { - "$ref": "#/components/responses/rank_eval#200" - } - } - } - }, - "/_reindex": { - "post": { - "description": "Allows to copy documents from one index to another, optionally filtering the source\ndocuments by a query, changing the destination index settings, or fetching the\ndocuments from a remote cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html" - }, - "operationId": "reindex#0", - "parameters": [ - { - "in": "query", - "name": "refresh", - "description": "If `true`, the request refreshes affected shards to make this operation visible to search.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "requests_per_second", - "description": "The throttle for this request in sub-requests per second.\nDefaults to no throttle.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "scroll", - "description": "Specifies how long a consistent view of the index should be maintained for scrolled search.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "slices", - "description": "The number of slices this task should be divided into.\nDefaults to 1 slice, meaning the task isn’t sliced into subtasks.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Slices" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period each indexing waits for automatic index creation, dynamic mapping updates, and waiting for active shards.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_completion", - "description": "If `true`, the request blocks until the operation is complete.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "require_alias", - "description": "If `true`, the destination must be an index alias.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "conflicts": { - "$ref": "#/components/schemas/_types:Conflicts" - }, - "dest": { - "$ref": "#/components/schemas/_global.reindex:Destination" - }, - "max_docs": { - "description": "The maximum number of documents to reindex.", - "type": "number" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "size": { - "type": "number" - }, - "source": { - "$ref": "#/components/schemas/_global.reindex:Source" - } - }, - "required": [ - "dest", - "source" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "batches": { - "type": "number" - }, - "created": { - "type": "number" - }, - "deleted": { - "type": "number" - }, - "failures": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:BulkIndexByScrollFailure" - } - }, - "noops": { - "type": "number" - }, - "retries": { - "$ref": "#/components/schemas/_types:Retries" - }, - "requests_per_second": { - "type": "number" - }, - "slice_id": { - "type": "number" - }, - "task": { - "$ref": "#/components/schemas/_types:TaskId" - }, - "throttled_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "throttled_until_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "timed_out": { - "type": "boolean" - }, - "took": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "total": { - "type": "number" - }, - "updated": { - "type": "number" - }, - "version_conflicts": { - "type": "number" - } - } - } - } - } - } - } - } - }, - "/_reindex/{task_id}/_rethrottle": { - "post": { - "description": "Changes the number of requests per second for a particular Reindex operation.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html" - }, - "operationId": "reindex_rethrottle#0", - "parameters": [ - { - "in": "path", - "name": "task_id", - "description": "Identifier for the task.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "requests_per_second", - "description": "The throttle for this request in sub-requests per second.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_global.reindex_rethrottle:ReindexNode" - } - } - }, - "required": [ - "nodes" - ] - } - } - } - } - } - } - }, - "/_render/template": { - "get": { - "description": "Allows to use the Mustache language to pre-render a search definition.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/render-search-template-api.html" - }, - "operationId": "render_search_template#0", - "requestBody": { - "$ref": "#/components/requestBodies/render_search_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/render_search_template#200" - } - } - }, - "post": { - "description": "Allows to use the Mustache language to pre-render a search definition.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/render-search-template-api.html" - }, - "operationId": "render_search_template#1", - "requestBody": { - "$ref": "#/components/requestBodies/render_search_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/render_search_template#200" - } - } - } - }, - "/_render/template/{id}": { - "get": { - "description": "Allows to use the Mustache language to pre-render a search definition.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/render-search-template-api.html" - }, - "operationId": "render_search_template#2", - "parameters": [ - { - "$ref": "#/components/parameters/render_search_template#id" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/render_search_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/render_search_template#200" - } - } - }, - "post": { - "description": "Allows to use the Mustache language to pre-render a search definition.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/render-search-template-api.html" - }, - "operationId": "render_search_template#3", - "parameters": [ - { - "$ref": "#/components/parameters/render_search_template#id" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/render_search_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/render_search_template#200" - } - } - } - }, - "/_rollup/job/{id}": { - "get": { - "description": "Retrieves the configuration, stats, and status of rollup jobs.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-job.html" - }, - "operationId": "rollup.get_jobs#0", - "parameters": [ - { - "$ref": "#/components/parameters/rollup.get_jobs#id" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/rollup.get_jobs#200" - } - } - }, - "put": { - "description": "Creates a rollup job.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-put-job.html" - }, - "operationId": "rollup.put_job#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Identifier for the rollup job. This can be any alphanumeric string and uniquely identifies the\ndata that is associated with the rollup job. The ID is persistent; it is stored with the rolled\nup data. If you create a job, let it run for a while, then delete the job, the data that the job\nrolled up is still be associated with this job ID. You cannot create a new job with the same ID\nsince that could lead to problems with mismatched job configurations.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "cron": { - "description": "A cron string which defines the intervals when the rollup job should be executed. When the interval\ntriggers, the indexer attempts to rollup the data in the index pattern. The cron pattern is unrelated\nto the time interval of the data being rolled up. For example, you may wish to create hourly rollups\nof your document but to only run the indexer on a daily basis at midnight, as defined by the cron. The\ncron pattern is defined just like a Watcher cron schedule.", - "type": "string" - }, - "groups": { - "$ref": "#/components/schemas/rollup._types:Groupings" - }, - "index_pattern": { - "description": "The index or index pattern to roll up. Supports wildcard-style patterns (`logstash-*`). The job attempts to\nrollup the entire index or index-pattern.", - "type": "string" - }, - "metrics": { - "description": "Defines the metrics to collect for each grouping tuple. By default, only the doc_counts are collected for each\ngroup. To make rollup useful, you will often add metrics like averages, mins, maxes, etc. Metrics are defined\non a per-field basis and for each field you configure which metric should be collected.", - "type": "array", - "items": { - "$ref": "#/components/schemas/rollup._types:FieldMetric" - } - }, - "page_size": { - "description": "The number of bucket results that are processed on each iteration of the rollup indexer. A larger value tends\nto execute faster, but requires more memory during processing. This value has no effect on how the data is\nrolled up; it is merely used for tweaking the speed or memory cost of the indexer.", - "type": "number" - }, - "rollup_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "timeout": { - "$ref": "#/components/schemas/_types:Duration" - }, - "headers": { - "$ref": "#/components/schemas/_types:HttpHeaders" - } - }, - "required": [ - "cron", - "groups", - "index_pattern", - "page_size", - "rollup_index" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - }, - "delete": { - "description": "Deletes an existing rollup job.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-delete-job.html" - }, - "operationId": "rollup.delete_job#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Identifier for the job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledged": { - "type": "boolean" - }, - "task_failures": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:TaskFailure" - } - } - }, - "required": [ - "acknowledged" - ] - } - } - } - } - } - } - }, - "/_rollup/job": { - "get": { - "description": "Retrieves the configuration, stats, and status of rollup jobs.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-job.html" - }, - "operationId": "rollup.get_jobs#1", - "responses": { - "200": { - "$ref": "#/components/responses/rollup.get_jobs#200" - } - } - } - }, - "/_rollup/data/{id}": { - "get": { - "description": "Returns the capabilities of any rollup jobs that have been configured for a specific index or index pattern.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-rollup-caps.html" - }, - "operationId": "rollup.get_rollup_caps#0", - "parameters": [ - { - "$ref": "#/components/parameters/rollup.get_rollup_caps#id" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/rollup.get_rollup_caps#200" - } - } - } - }, - "/_rollup/data": { - "get": { - "description": "Returns the capabilities of any rollup jobs that have been configured for a specific index or index pattern.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-rollup-caps.html" - }, - "operationId": "rollup.get_rollup_caps#1", - "responses": { - "200": { - "$ref": "#/components/responses/rollup.get_rollup_caps#200" - } - } - } - }, - "/{index}/_rollup/data": { - "get": { - "description": "Returns the rollup capabilities of all jobs inside of a rollup index (e.g. the index where rollup data is stored).", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-rollup-index-caps.html" - }, - "operationId": "rollup.get_rollup_index_caps#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Data stream or index to check for rollup capabilities.\nWildcard (`*`) expressions are supported.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Ids" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/rollup.get_rollup_index_caps:IndexCapabilities" - } - } - } - } - } - } - } - }, - "/{index}/_rollup_search": { - "get": { - "description": "Enables searching rolled-up data using the standard query DSL.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-search.html" - }, - "operationId": "rollup.rollup_search#0", - "parameters": [ - { - "$ref": "#/components/parameters/rollup.rollup_search#index" - }, - { - "$ref": "#/components/parameters/rollup.rollup_search#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/rollup.rollup_search#typed_keys" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/rollup.rollup_search" - }, - "responses": { - "200": { - "$ref": "#/components/responses/rollup.rollup_search#200" - } - } - }, - "post": { - "description": "Enables searching rolled-up data using the standard query DSL.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-search.html" - }, - "operationId": "rollup.rollup_search#1", - "parameters": [ - { - "$ref": "#/components/parameters/rollup.rollup_search#index" - }, - { - "$ref": "#/components/parameters/rollup.rollup_search#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/rollup.rollup_search#typed_keys" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/rollup.rollup_search" - }, - "responses": { - "200": { - "$ref": "#/components/responses/rollup.rollup_search#200" - } - } - } - }, - "/_rollup/job/{id}/_start": { - "post": { - "description": "Starts an existing, stopped rollup job.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-start-job.html" - }, - "operationId": "rollup.start_job#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Identifier for the rollup job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "started": { - "type": "boolean" - } - }, - "required": [ - "started" - ] - } - } - } - } - } - } - }, - "/_rollup/job/{id}/_stop": { - "post": { - "description": "Stops an existing, started rollup job.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-stop-job.html" - }, - "operationId": "rollup.stop_job#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Identifier for the rollup job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "timeout", - "description": "If `wait_for_completion` is `true`, the API blocks for (at maximum) the specified duration while waiting for the job to stop.\nIf more than `timeout` time has passed, the API throws a timeout exception.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_completion", - "description": "If set to `true`, causes the API to block until the indexer state completely stops.\nIf set to `false`, the API returns immediately and the indexer is stopped asynchronously in the background.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "stopped": { - "type": "boolean" - } - }, - "required": [ - "stopped" - ] - } - } - } - } - } - } - }, - "/_scripts/painless/_execute": { - "get": { - "description": "Allows an arbitrary script to be executed and a result to be returned", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-execute-api.html" - }, - "operationId": "scripts_painless_execute#0", - "requestBody": { - "$ref": "#/components/requestBodies/scripts_painless_execute" - }, - "responses": { - "200": { - "$ref": "#/components/responses/scripts_painless_execute#200" - } - } - }, - "post": { - "description": "Allows an arbitrary script to be executed and a result to be returned", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-execute-api.html" - }, - "operationId": "scripts_painless_execute#1", - "requestBody": { - "$ref": "#/components/requestBodies/scripts_painless_execute" - }, - "responses": { - "200": { - "$ref": "#/components/responses/scripts_painless_execute#200" - } - } - } - }, - "/_search": { - "get": { - "description": "Returns results matching a query.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" - }, - "operationId": "search#0", - "parameters": [ - { - "$ref": "#/components/parameters/search#allow_no_indices" - }, - { - "$ref": "#/components/parameters/search#allow_partial_search_results" - }, - { - "$ref": "#/components/parameters/search#analyzer" - }, - { - "$ref": "#/components/parameters/search#analyze_wildcard" - }, - { - "$ref": "#/components/parameters/search#batched_reduce_size" - }, - { - "$ref": "#/components/parameters/search#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/search#default_operator" - }, - { - "$ref": "#/components/parameters/search#df" - }, - { - "$ref": "#/components/parameters/search#docvalue_fields" - }, - { - "$ref": "#/components/parameters/search#expand_wildcards" - }, - { - "$ref": "#/components/parameters/search#explain" - }, - { - "$ref": "#/components/parameters/search#ignore_throttled" - }, - { - "$ref": "#/components/parameters/search#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/search#lenient" - }, - { - "$ref": "#/components/parameters/search#max_concurrent_shard_requests" - }, - { - "$ref": "#/components/parameters/search#min_compatible_shard_node" - }, - { - "$ref": "#/components/parameters/search#preference" - }, - { - "$ref": "#/components/parameters/search#pre_filter_shard_size" - }, - { - "$ref": "#/components/parameters/search#request_cache" - }, - { - "$ref": "#/components/parameters/search#routing" - }, - { - "$ref": "#/components/parameters/search#scroll" - }, - { - "$ref": "#/components/parameters/search#search_type" - }, - { - "$ref": "#/components/parameters/search#stats" - }, - { - "$ref": "#/components/parameters/search#stored_fields" - }, - { - "$ref": "#/components/parameters/search#suggest_field" - }, - { - "$ref": "#/components/parameters/search#suggest_mode" - }, - { - "$ref": "#/components/parameters/search#suggest_size" - }, - { - "$ref": "#/components/parameters/search#suggest_text" - }, - { - "$ref": "#/components/parameters/search#terminate_after" - }, - { - "$ref": "#/components/parameters/search#timeout" - }, - { - "$ref": "#/components/parameters/search#track_total_hits" - }, - { - "$ref": "#/components/parameters/search#track_scores" - }, - { - "$ref": "#/components/parameters/search#typed_keys" - }, - { - "$ref": "#/components/parameters/search#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/search#version" - }, - { - "$ref": "#/components/parameters/search#_source" - }, - { - "$ref": "#/components/parameters/search#_source_excludes" - }, - { - "$ref": "#/components/parameters/search#_source_includes" - }, - { - "$ref": "#/components/parameters/search#seq_no_primary_term" - }, - { - "$ref": "#/components/parameters/search#q" - }, - { - "$ref": "#/components/parameters/search#size" - }, - { - "$ref": "#/components/parameters/search#from" - }, - { - "$ref": "#/components/parameters/search#sort" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/search" - }, - "responses": { - "200": { - "$ref": "#/components/responses/search#200" - } - } - }, - "post": { - "description": "Returns results matching a query.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" - }, - "operationId": "search#1", - "parameters": [ - { - "$ref": "#/components/parameters/search#allow_no_indices" - }, - { - "$ref": "#/components/parameters/search#allow_partial_search_results" - }, - { - "$ref": "#/components/parameters/search#analyzer" - }, - { - "$ref": "#/components/parameters/search#analyze_wildcard" - }, - { - "$ref": "#/components/parameters/search#batched_reduce_size" - }, - { - "$ref": "#/components/parameters/search#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/search#default_operator" - }, - { - "$ref": "#/components/parameters/search#df" - }, - { - "$ref": "#/components/parameters/search#docvalue_fields" - }, - { - "$ref": "#/components/parameters/search#expand_wildcards" - }, - { - "$ref": "#/components/parameters/search#explain" - }, - { - "$ref": "#/components/parameters/search#ignore_throttled" - }, - { - "$ref": "#/components/parameters/search#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/search#lenient" - }, - { - "$ref": "#/components/parameters/search#max_concurrent_shard_requests" - }, - { - "$ref": "#/components/parameters/search#min_compatible_shard_node" - }, - { - "$ref": "#/components/parameters/search#preference" - }, - { - "$ref": "#/components/parameters/search#pre_filter_shard_size" - }, - { - "$ref": "#/components/parameters/search#request_cache" - }, - { - "$ref": "#/components/parameters/search#routing" - }, - { - "$ref": "#/components/parameters/search#scroll" - }, - { - "$ref": "#/components/parameters/search#search_type" - }, - { - "$ref": "#/components/parameters/search#stats" - }, - { - "$ref": "#/components/parameters/search#stored_fields" - }, - { - "$ref": "#/components/parameters/search#suggest_field" - }, - { - "$ref": "#/components/parameters/search#suggest_mode" - }, - { - "$ref": "#/components/parameters/search#suggest_size" - }, - { - "$ref": "#/components/parameters/search#suggest_text" - }, - { - "$ref": "#/components/parameters/search#terminate_after" - }, - { - "$ref": "#/components/parameters/search#timeout" - }, - { - "$ref": "#/components/parameters/search#track_total_hits" - }, - { - "$ref": "#/components/parameters/search#track_scores" - }, - { - "$ref": "#/components/parameters/search#typed_keys" - }, - { - "$ref": "#/components/parameters/search#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/search#version" - }, - { - "$ref": "#/components/parameters/search#_source" - }, - { - "$ref": "#/components/parameters/search#_source_excludes" - }, - { - "$ref": "#/components/parameters/search#_source_includes" - }, - { - "$ref": "#/components/parameters/search#seq_no_primary_term" - }, - { - "$ref": "#/components/parameters/search#q" - }, - { - "$ref": "#/components/parameters/search#size" - }, - { - "$ref": "#/components/parameters/search#from" - }, - { - "$ref": "#/components/parameters/search#sort" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/search" - }, - "responses": { - "200": { - "$ref": "#/components/responses/search#200" - } - } - } - }, - "/{index}/_search": { - "get": { - "description": "Returns results matching a query.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" - }, - "operationId": "search#2", - "parameters": [ - { - "$ref": "#/components/parameters/search#index" - }, - { - "$ref": "#/components/parameters/search#allow_no_indices" - }, - { - "$ref": "#/components/parameters/search#allow_partial_search_results" - }, - { - "$ref": "#/components/parameters/search#analyzer" - }, - { - "$ref": "#/components/parameters/search#analyze_wildcard" - }, - { - "$ref": "#/components/parameters/search#batched_reduce_size" - }, - { - "$ref": "#/components/parameters/search#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/search#default_operator" - }, - { - "$ref": "#/components/parameters/search#df" - }, - { - "$ref": "#/components/parameters/search#docvalue_fields" - }, - { - "$ref": "#/components/parameters/search#expand_wildcards" - }, - { - "$ref": "#/components/parameters/search#explain" - }, - { - "$ref": "#/components/parameters/search#ignore_throttled" - }, - { - "$ref": "#/components/parameters/search#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/search#lenient" - }, - { - "$ref": "#/components/parameters/search#max_concurrent_shard_requests" - }, - { - "$ref": "#/components/parameters/search#min_compatible_shard_node" - }, - { - "$ref": "#/components/parameters/search#preference" - }, - { - "$ref": "#/components/parameters/search#pre_filter_shard_size" - }, - { - "$ref": "#/components/parameters/search#request_cache" - }, - { - "$ref": "#/components/parameters/search#routing" - }, - { - "$ref": "#/components/parameters/search#scroll" - }, - { - "$ref": "#/components/parameters/search#search_type" - }, - { - "$ref": "#/components/parameters/search#stats" - }, - { - "$ref": "#/components/parameters/search#stored_fields" - }, - { - "$ref": "#/components/parameters/search#suggest_field" - }, - { - "$ref": "#/components/parameters/search#suggest_mode" - }, - { - "$ref": "#/components/parameters/search#suggest_size" - }, - { - "$ref": "#/components/parameters/search#suggest_text" - }, - { - "$ref": "#/components/parameters/search#terminate_after" - }, - { - "$ref": "#/components/parameters/search#timeout" - }, - { - "$ref": "#/components/parameters/search#track_total_hits" - }, - { - "$ref": "#/components/parameters/search#track_scores" - }, - { - "$ref": "#/components/parameters/search#typed_keys" - }, - { - "$ref": "#/components/parameters/search#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/search#version" - }, - { - "$ref": "#/components/parameters/search#_source" - }, - { - "$ref": "#/components/parameters/search#_source_excludes" - }, - { - "$ref": "#/components/parameters/search#_source_includes" - }, - { - "$ref": "#/components/parameters/search#seq_no_primary_term" - }, - { - "$ref": "#/components/parameters/search#q" - }, - { - "$ref": "#/components/parameters/search#size" - }, - { - "$ref": "#/components/parameters/search#from" - }, - { - "$ref": "#/components/parameters/search#sort" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/search" - }, - "responses": { - "200": { - "$ref": "#/components/responses/search#200" - } - } - }, - "post": { - "description": "Returns results matching a query.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html" - }, - "operationId": "search#3", - "parameters": [ - { - "$ref": "#/components/parameters/search#index" - }, - { - "$ref": "#/components/parameters/search#allow_no_indices" - }, - { - "$ref": "#/components/parameters/search#allow_partial_search_results" - }, - { - "$ref": "#/components/parameters/search#analyzer" - }, - { - "$ref": "#/components/parameters/search#analyze_wildcard" - }, - { - "$ref": "#/components/parameters/search#batched_reduce_size" - }, - { - "$ref": "#/components/parameters/search#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/search#default_operator" - }, - { - "$ref": "#/components/parameters/search#df" - }, - { - "$ref": "#/components/parameters/search#docvalue_fields" - }, - { - "$ref": "#/components/parameters/search#expand_wildcards" - }, - { - "$ref": "#/components/parameters/search#explain" - }, - { - "$ref": "#/components/parameters/search#ignore_throttled" - }, - { - "$ref": "#/components/parameters/search#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/search#lenient" - }, - { - "$ref": "#/components/parameters/search#max_concurrent_shard_requests" - }, - { - "$ref": "#/components/parameters/search#min_compatible_shard_node" - }, - { - "$ref": "#/components/parameters/search#preference" - }, - { - "$ref": "#/components/parameters/search#pre_filter_shard_size" - }, - { - "$ref": "#/components/parameters/search#request_cache" - }, - { - "$ref": "#/components/parameters/search#routing" - }, - { - "$ref": "#/components/parameters/search#scroll" - }, - { - "$ref": "#/components/parameters/search#search_type" - }, - { - "$ref": "#/components/parameters/search#stats" - }, - { - "$ref": "#/components/parameters/search#stored_fields" - }, - { - "$ref": "#/components/parameters/search#suggest_field" - }, - { - "$ref": "#/components/parameters/search#suggest_mode" - }, - { - "$ref": "#/components/parameters/search#suggest_size" - }, - { - "$ref": "#/components/parameters/search#suggest_text" - }, - { - "$ref": "#/components/parameters/search#terminate_after" - }, - { - "$ref": "#/components/parameters/search#timeout" - }, - { - "$ref": "#/components/parameters/search#track_total_hits" - }, - { - "$ref": "#/components/parameters/search#track_scores" - }, - { - "$ref": "#/components/parameters/search#typed_keys" - }, - { - "$ref": "#/components/parameters/search#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/search#version" - }, - { - "$ref": "#/components/parameters/search#_source" - }, - { - "$ref": "#/components/parameters/search#_source_excludes" - }, - { - "$ref": "#/components/parameters/search#_source_includes" - }, - { - "$ref": "#/components/parameters/search#seq_no_primary_term" - }, - { - "$ref": "#/components/parameters/search#q" - }, - { - "$ref": "#/components/parameters/search#size" - }, - { - "$ref": "#/components/parameters/search#from" - }, - { - "$ref": "#/components/parameters/search#sort" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/search" - }, - "responses": { - "200": { - "$ref": "#/components/responses/search#200" - } - } - } - }, - "/_application/search_application/{name}": { - "get": { - "description": "Returns the details about a search application.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-search-application.html" - }, - "operationId": "search_application.get#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "The name of the search application", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/search_application._types:SearchApplication" - } - } - } - } - } - }, - "put": { - "description": "Creates or updates a search application.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-search-application.html" - }, - "operationId": "search_application.put#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "The name of the search application to be created or updated.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "query", - "name": "create", - "description": "If `true`, this request cannot replace or update existing Search Applications.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/search_application._types:SearchApplication" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "result": { - "$ref": "#/components/schemas/_types:Result" - } - }, - "required": [ - "result" - ] - } - } - } - } - } - }, - "delete": { - "description": "Deletes a search application.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-search-application.html" - }, - "operationId": "search_application.delete#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "The name of the search application to delete", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_application/analytics/{name}": { - "get": { - "description": "Returns the existing behavioral analytics collections.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-analytics-collection.html" - }, - "operationId": "search_application.get_behavioral_analytics#1", - "parameters": [ - { - "$ref": "#/components/parameters/search_application.get_behavioral_analytics#name" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/search_application.get_behavioral_analytics#200" - } - } - }, - "put": { - "description": "Creates a behavioral analytics collection.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-analytics-collection.html" - }, - "operationId": "search_application.put_behavioral_analytics#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "The name of the analytics collection to be created or updated.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/search_application.put_behavioral_analytics:AnalyticsAcknowledgeResponseBase" - } - } - } - } - } - }, - "delete": { - "description": "Delete a behavioral analytics collection.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-analytics-collection.html" - }, - "operationId": "search_application.delete_behavioral_analytics#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "The name of the analytics collection to be deleted", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_application/analytics": { - "get": { - "description": "Returns the existing behavioral analytics collections.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-analytics-collection.html" - }, - "operationId": "search_application.get_behavioral_analytics#0", - "responses": { - "200": { - "$ref": "#/components/responses/search_application.get_behavioral_analytics#200" - } - } - } - }, - "/_application/search_application": { - "get": { - "description": "Returns the existing search applications.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-search-applications.html" - }, - "operationId": "search_application.list#0", - "parameters": [ - { - "in": "query", - "name": "q", - "description": "Query in the Lucene query string syntax.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "from", - "description": "Starting offset.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "size", - "description": "Specifies a max number of results to get.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/search_application.list:SearchApplicationListItem" - } - } - }, - "required": [ - "count", - "results" - ] - } - } - } - } - } - } - }, - "/_application/search_application/{name}/_search": { - "get": { - "description": "Perform a search against a search application", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-application-search.html" - }, - "operationId": "search_application.search#0", - "parameters": [ - { - "$ref": "#/components/parameters/search_application.search#name" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/search_application.search" - }, - "responses": { - "200": { - "$ref": "#/components/responses/search_application.search#200" - } - } - }, - "post": { - "description": "Perform a search against a search application", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-application-search.html" - }, - "operationId": "search_application.search#1", - "parameters": [ - { - "$ref": "#/components/parameters/search_application.search#name" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/search_application.search" - }, - "responses": { - "200": { - "$ref": "#/components/responses/search_application.search#200" - } - } - } - }, - "/{index}/_mvt/{field}/{zoom}/{x}/{y}": { - "get": { - "description": "Searches a vector tile for geospatial values. Returns results as a binary Mapbox vector tile.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-vector-tile-api.html" - }, - "operationId": "search_mvt#1", - "parameters": [ - { - "$ref": "#/components/parameters/search_mvt#index" - }, - { - "$ref": "#/components/parameters/search_mvt#field" - }, - { - "$ref": "#/components/parameters/search_mvt#zoom" - }, - { - "$ref": "#/components/parameters/search_mvt#x" - }, - { - "$ref": "#/components/parameters/search_mvt#y" - }, - { - "$ref": "#/components/parameters/search_mvt#exact_bounds" - }, - { - "$ref": "#/components/parameters/search_mvt#extent" - }, - { - "$ref": "#/components/parameters/search_mvt#grid_agg" - }, - { - "$ref": "#/components/parameters/search_mvt#grid_precision" - }, - { - "$ref": "#/components/parameters/search_mvt#grid_type" - }, - { - "$ref": "#/components/parameters/search_mvt#size" - }, - { - "$ref": "#/components/parameters/search_mvt#with_labels" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/search_mvt" - }, - "responses": { - "200": { - "$ref": "#/components/responses/search_mvt#200" - } - } - }, - "post": { - "description": "Searches a vector tile for geospatial values. Returns results as a binary Mapbox vector tile.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-vector-tile-api.html" - }, - "operationId": "search_mvt#0", - "parameters": [ - { - "$ref": "#/components/parameters/search_mvt#index" - }, - { - "$ref": "#/components/parameters/search_mvt#field" - }, - { - "$ref": "#/components/parameters/search_mvt#zoom" - }, - { - "$ref": "#/components/parameters/search_mvt#x" - }, - { - "$ref": "#/components/parameters/search_mvt#y" - }, - { - "$ref": "#/components/parameters/search_mvt#exact_bounds" - }, - { - "$ref": "#/components/parameters/search_mvt#extent" - }, - { - "$ref": "#/components/parameters/search_mvt#grid_agg" - }, - { - "$ref": "#/components/parameters/search_mvt#grid_precision" - }, - { - "$ref": "#/components/parameters/search_mvt#grid_type" - }, - { - "$ref": "#/components/parameters/search_mvt#size" - }, - { - "$ref": "#/components/parameters/search_mvt#with_labels" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/search_mvt" - }, - "responses": { - "200": { - "$ref": "#/components/responses/search_mvt#200" - } - } - } - }, - "/_search_shards": { - "get": { - "description": "Returns information about the indices and shards that a search request would be executed against.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html" - }, - "operationId": "search_shards#0", - "parameters": [ - { - "$ref": "#/components/parameters/search_shards#allow_no_indices" - }, - { - "$ref": "#/components/parameters/search_shards#expand_wildcards" - }, - { - "$ref": "#/components/parameters/search_shards#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/search_shards#local" - }, - { - "$ref": "#/components/parameters/search_shards#preference" - }, - { - "$ref": "#/components/parameters/search_shards#routing" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/search_shards#200" - } - } - }, - "post": { - "description": "Returns information about the indices and shards that a search request would be executed against.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html" - }, - "operationId": "search_shards#1", - "parameters": [ - { - "$ref": "#/components/parameters/search_shards#allow_no_indices" - }, - { - "$ref": "#/components/parameters/search_shards#expand_wildcards" - }, - { - "$ref": "#/components/parameters/search_shards#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/search_shards#local" - }, - { - "$ref": "#/components/parameters/search_shards#preference" - }, - { - "$ref": "#/components/parameters/search_shards#routing" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/search_shards#200" - } - } - } - }, - "/{index}/_search_shards": { - "get": { - "description": "Returns information about the indices and shards that a search request would be executed against.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html" - }, - "operationId": "search_shards#2", - "parameters": [ - { - "$ref": "#/components/parameters/search_shards#index" - }, - { - "$ref": "#/components/parameters/search_shards#allow_no_indices" - }, - { - "$ref": "#/components/parameters/search_shards#expand_wildcards" - }, - { - "$ref": "#/components/parameters/search_shards#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/search_shards#local" - }, - { - "$ref": "#/components/parameters/search_shards#preference" - }, - { - "$ref": "#/components/parameters/search_shards#routing" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/search_shards#200" - } - } - }, - "post": { - "description": "Returns information about the indices and shards that a search request would be executed against.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html" - }, - "operationId": "search_shards#3", - "parameters": [ - { - "$ref": "#/components/parameters/search_shards#index" - }, - { - "$ref": "#/components/parameters/search_shards#allow_no_indices" - }, - { - "$ref": "#/components/parameters/search_shards#expand_wildcards" - }, - { - "$ref": "#/components/parameters/search_shards#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/search_shards#local" - }, - { - "$ref": "#/components/parameters/search_shards#preference" - }, - { - "$ref": "#/components/parameters/search_shards#routing" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/search_shards#200" - } - } - } - }, - "/_search/template": { - "get": { - "description": "Allows to use the Mustache language to pre-render a search definition.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html" - }, - "operationId": "search_template#0", - "parameters": [ - { - "$ref": "#/components/parameters/search_template#allow_no_indices" - }, - { - "$ref": "#/components/parameters/search_template#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/search_template#expand_wildcards" - }, - { - "$ref": "#/components/parameters/search_template#explain" - }, - { - "$ref": "#/components/parameters/search_template#ignore_throttled" - }, - { - "$ref": "#/components/parameters/search_template#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/search_template#preference" - }, - { - "$ref": "#/components/parameters/search_template#profile" - }, - { - "$ref": "#/components/parameters/search_template#routing" - }, - { - "$ref": "#/components/parameters/search_template#scroll" - }, - { - "$ref": "#/components/parameters/search_template#search_type" - }, - { - "$ref": "#/components/parameters/search_template#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/search_template#typed_keys" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/search_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/search_template#200" - } - } - }, - "post": { - "description": "Allows to use the Mustache language to pre-render a search definition.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html" - }, - "operationId": "search_template#1", - "parameters": [ - { - "$ref": "#/components/parameters/search_template#allow_no_indices" - }, - { - "$ref": "#/components/parameters/search_template#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/search_template#expand_wildcards" - }, - { - "$ref": "#/components/parameters/search_template#explain" - }, - { - "$ref": "#/components/parameters/search_template#ignore_throttled" - }, - { - "$ref": "#/components/parameters/search_template#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/search_template#preference" - }, - { - "$ref": "#/components/parameters/search_template#profile" - }, - { - "$ref": "#/components/parameters/search_template#routing" - }, - { - "$ref": "#/components/parameters/search_template#scroll" - }, - { - "$ref": "#/components/parameters/search_template#search_type" - }, - { - "$ref": "#/components/parameters/search_template#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/search_template#typed_keys" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/search_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/search_template#200" - } - } - } - }, - "/{index}/_search/template": { - "get": { - "description": "Allows to use the Mustache language to pre-render a search definition.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html" - }, - "operationId": "search_template#2", - "parameters": [ - { - "$ref": "#/components/parameters/search_template#index" - }, - { - "$ref": "#/components/parameters/search_template#allow_no_indices" - }, - { - "$ref": "#/components/parameters/search_template#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/search_template#expand_wildcards" - }, - { - "$ref": "#/components/parameters/search_template#explain" - }, - { - "$ref": "#/components/parameters/search_template#ignore_throttled" - }, - { - "$ref": "#/components/parameters/search_template#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/search_template#preference" - }, - { - "$ref": "#/components/parameters/search_template#profile" - }, - { - "$ref": "#/components/parameters/search_template#routing" - }, - { - "$ref": "#/components/parameters/search_template#scroll" - }, - { - "$ref": "#/components/parameters/search_template#search_type" - }, - { - "$ref": "#/components/parameters/search_template#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/search_template#typed_keys" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/search_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/search_template#200" - } - } - }, - "post": { - "description": "Allows to use the Mustache language to pre-render a search definition.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html" - }, - "operationId": "search_template#3", - "parameters": [ - { - "$ref": "#/components/parameters/search_template#index" - }, - { - "$ref": "#/components/parameters/search_template#allow_no_indices" - }, - { - "$ref": "#/components/parameters/search_template#ccs_minimize_roundtrips" - }, - { - "$ref": "#/components/parameters/search_template#expand_wildcards" - }, - { - "$ref": "#/components/parameters/search_template#explain" - }, - { - "$ref": "#/components/parameters/search_template#ignore_throttled" - }, - { - "$ref": "#/components/parameters/search_template#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/search_template#preference" - }, - { - "$ref": "#/components/parameters/search_template#profile" - }, - { - "$ref": "#/components/parameters/search_template#routing" - }, - { - "$ref": "#/components/parameters/search_template#scroll" - }, - { - "$ref": "#/components/parameters/search_template#search_type" - }, - { - "$ref": "#/components/parameters/search_template#rest_total_hits_as_int" - }, - { - "$ref": "#/components/parameters/search_template#typed_keys" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/search_template" - }, - "responses": { - "200": { - "$ref": "#/components/responses/search_template#200" - } - } - } - }, - "/_searchable_snapshots/cache/stats": { - "get": { - "description": "Retrieve node-level cache statistics about searchable snapshots.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-apis.html" - }, - "operationId": "searchable_snapshots.cache_stats#0", - "parameters": [ - { - "$ref": "#/components/parameters/searchable_snapshots.cache_stats#master_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/searchable_snapshots.cache_stats#200" - } - } - } - }, - "/_searchable_snapshots/{node_id}/cache/stats": { - "get": { - "description": "Retrieve node-level cache statistics about searchable snapshots.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-apis.html" - }, - "operationId": "searchable_snapshots.cache_stats#1", - "parameters": [ - { - "$ref": "#/components/parameters/searchable_snapshots.cache_stats#node_id" - }, - { - "$ref": "#/components/parameters/searchable_snapshots.cache_stats#master_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/searchable_snapshots.cache_stats#200" - } - } - } - }, - "/_searchable_snapshots/cache/clear": { - "post": { - "description": "Clear the cache of searchable snapshots.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-apis.html" - }, - "operationId": "searchable_snapshots.clear_cache#0", - "parameters": [ - { - "$ref": "#/components/parameters/searchable_snapshots.clear_cache#expand_wildcards" - }, - { - "$ref": "#/components/parameters/searchable_snapshots.clear_cache#allow_no_indices" - }, - { - "$ref": "#/components/parameters/searchable_snapshots.clear_cache#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/searchable_snapshots.clear_cache#pretty" - }, - { - "$ref": "#/components/parameters/searchable_snapshots.clear_cache#human" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/searchable_snapshots.clear_cache#200" - } - } - } - }, - "/{index}/_searchable_snapshots/cache/clear": { - "post": { - "description": "Clear the cache of searchable snapshots.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-apis.html" - }, - "operationId": "searchable_snapshots.clear_cache#1", - "parameters": [ - { - "$ref": "#/components/parameters/searchable_snapshots.clear_cache#index" - }, - { - "$ref": "#/components/parameters/searchable_snapshots.clear_cache#expand_wildcards" - }, - { - "$ref": "#/components/parameters/searchable_snapshots.clear_cache#allow_no_indices" - }, - { - "$ref": "#/components/parameters/searchable_snapshots.clear_cache#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/searchable_snapshots.clear_cache#pretty" - }, - { - "$ref": "#/components/parameters/searchable_snapshots.clear_cache#human" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/searchable_snapshots.clear_cache#200" - } - } - } - }, - "/_snapshot/{repository}/{snapshot}/_mount": { - "post": { - "description": "Mount a snapshot as a searchable index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-api-mount-snapshot.html" - }, - "operationId": "searchable_snapshots.mount#0", - "parameters": [ - { - "in": "path", - "name": "repository", - "description": "The name of the repository containing the snapshot of the index to mount", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "path", - "name": "snapshot", - "description": "The name of the snapshot of the index to mount", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Explicit operation timeout for connection to master node", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_completion", - "description": "Should this request wait until the operation has completed before returning", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "storage", - "description": "Selects the kind of local storage used to accelerate searches. Experimental, and defaults to `full_copy`", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "renamed_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "index_settings": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "ignore_index_settings": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "index" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "snapshot": { - "$ref": "#/components/schemas/searchable_snapshots.mount:MountedSnapshot" - } - }, - "required": [ - "snapshot" - ] - } - } - } - } - } - } - }, - "/_searchable_snapshots/stats": { - "get": { - "description": "Retrieve shard-level statistics about searchable snapshots.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-apis.html" - }, - "operationId": "searchable_snapshots.stats#0", - "parameters": [ - { - "$ref": "#/components/parameters/searchable_snapshots.stats#level" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/searchable_snapshots.stats#200" - } - } - } - }, - "/{index}/_searchable_snapshots/stats": { - "get": { - "description": "Retrieve shard-level statistics about searchable snapshots.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-apis.html" - }, - "operationId": "searchable_snapshots.stats#1", - "parameters": [ - { - "$ref": "#/components/parameters/searchable_snapshots.stats#index" - }, - { - "$ref": "#/components/parameters/searchable_snapshots.stats#level" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/searchable_snapshots.stats#200" - } - } - } - }, - "/_security/profile/_activate": { - "post": { - "description": "Creates or updates the user profile on behalf of another user.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-activate-user-profile.html" - }, - "operationId": "security.activate_user_profile#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "access_token": { - "type": "string" - }, - "grant_type": { - "$ref": "#/components/schemas/security._types:GrantType" - }, - "password": { - "type": "string" - }, - "username": { - "type": "string" - } - }, - "required": [ - "grant_type" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/security._types:UserProfileWithMetadata" - } - } - } - } - } - } - }, - "/_security/_authenticate": { - "get": { - "description": "Enables authentication as a user and retrieve information about the authenticated user.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html" - }, - "operationId": "security.authenticate#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "api_key": { - "$ref": "#/components/schemas/security._types:ApiKey" - }, - "authentication_realm": { - "$ref": "#/components/schemas/security._types:RealmInfo" - }, - "email": { - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "full_name": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Name" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "lookup_realm": { - "$ref": "#/components/schemas/security._types:RealmInfo" - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - }, - "username": { - "$ref": "#/components/schemas/_types:Username" - }, - "enabled": { - "type": "boolean" - }, - "authentication_type": { - "type": "string" - }, - "token": { - "$ref": "#/components/schemas/security.authenticate:Token" - } - }, - "required": [ - "authentication_realm", - "lookup_realm", - "metadata", - "roles", - "username", - "enabled", - "authentication_type" - ] - } - } - } - } - } - } - }, - "/_security/user/{username}/_password": { - "put": { - "description": "Changes the passwords of users in the native realm and built-in users.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html" - }, - "operationId": "security.change_password#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.change_password#username" - }, - { - "$ref": "#/components/parameters/security.change_password#refresh" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.change_password" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.change_password#200" - } - } - }, - "post": { - "description": "Changes the passwords of users in the native realm and built-in users.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html" - }, - "operationId": "security.change_password#1", - "parameters": [ - { - "$ref": "#/components/parameters/security.change_password#username" - }, - { - "$ref": "#/components/parameters/security.change_password#refresh" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.change_password" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.change_password#200" - } - } - } - }, - "/_security/user/_password": { - "put": { - "description": "Changes the passwords of users in the native realm and built-in users.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html" - }, - "operationId": "security.change_password#2", - "parameters": [ - { - "$ref": "#/components/parameters/security.change_password#refresh" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.change_password" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.change_password#200" - } - } - }, - "post": { - "description": "Changes the passwords of users in the native realm and built-in users.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html" - }, - "operationId": "security.change_password#3", - "parameters": [ - { - "$ref": "#/components/parameters/security.change_password#refresh" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.change_password" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.change_password#200" - } - } - } - }, - "/_security/api_key/{ids}/_clear_cache": { - "post": { - "description": "Clear a subset or all entries from the API key cache.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-api-key-cache.html" - }, - "operationId": "security.clear_api_key_cache#0", - "parameters": [ - { - "in": "path", - "name": "ids", - "description": "Comma-separated list of API key IDs to evict from the API key cache.\nTo evict all API keys, use `*`.\nDoes not support other wildcard patterns.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Ids" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_nodes": { - "$ref": "#/components/schemas/_types:NodeStatistics" - }, - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:ClusterNode" - } - } - }, - "required": [ - "_nodes", - "cluster_name", - "nodes" - ] - } - } - } - } - } - } - }, - "/_security/privilege/{application}/_clear_cache": { - "post": { - "description": "Evicts application privileges from the native application privileges cache.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-privilege-cache.html" - }, - "operationId": "security.clear_cached_privileges#0", - "parameters": [ - { - "in": "path", - "name": "application", - "description": "A comma-separated list of application names", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_nodes": { - "$ref": "#/components/schemas/_types:NodeStatistics" - }, - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:ClusterNode" - } - } - }, - "required": [ - "_nodes", - "cluster_name", - "nodes" - ] - } - } - } - } - } - } - }, - "/_security/realm/{realms}/_clear_cache": { - "post": { - "description": "Evicts users from the user cache. Can completely clear the cache or evict specific users.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-cache.html" - }, - "operationId": "security.clear_cached_realms#0", - "parameters": [ - { - "in": "path", - "name": "realms", - "description": "Comma-separated list of realms to clear", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - { - "in": "query", - "name": "usernames", - "description": "Comma-separated list of usernames to clear from the cache", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_nodes": { - "$ref": "#/components/schemas/_types:NodeStatistics" - }, - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:ClusterNode" - } - } - }, - "required": [ - "_nodes", - "cluster_name", - "nodes" - ] - } - } - } - } - } - } - }, - "/_security/role/{name}/_clear_cache": { - "post": { - "description": "Evicts roles from the native role cache.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-role-cache.html" - }, - "operationId": "security.clear_cached_roles#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Role name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_nodes": { - "$ref": "#/components/schemas/_types:NodeStatistics" - }, - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:ClusterNode" - } - } - }, - "required": [ - "_nodes", - "cluster_name", - "nodes" - ] - } - } - } - } - } - } - }, - "/_security/service/{namespace}/{service}/credential/token/{name}/_clear_cache": { - "post": { - "description": "Evicts tokens from the service account token caches.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-service-token-caches.html" - }, - "operationId": "security.clear_cached_service_tokens#0", - "parameters": [ - { - "in": "path", - "name": "namespace", - "description": "An identifier for the namespace", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Namespace" - }, - "style": "simple" - }, - { - "in": "path", - "name": "service", - "description": "An identifier for the service name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Service" - }, - "style": "simple" - }, - { - "in": "path", - "name": "name", - "description": "A comma-separated list of service token names", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_nodes": { - "$ref": "#/components/schemas/_types:NodeStatistics" - }, - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:ClusterNode" - } - } - }, - "required": [ - "_nodes", - "cluster_name", - "nodes" - ] - } - } - } - } - } - } - }, - "/_security/api_key": { - "get": { - "description": "Retrieves information for one or more API keys.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-api-key.html" - }, - "operationId": "security.get_api_key#0", - "parameters": [ - { - "in": "query", - "name": "id", - "description": "An API key id.\nThis parameter cannot be used with any of `name`, `realm_name` or `username`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "form" - }, - { - "in": "query", - "name": "name", - "description": "An API key name.\nThis parameter cannot be used with any of `id`, `realm_name` or `username`.\nIt supports prefix search with wildcard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "form" - }, - { - "in": "query", - "name": "owner", - "description": "A boolean flag that can be used to query API keys owned by the currently authenticated user.\nThe `realm_name` or `username` parameters cannot be specified when this parameter is set to `true` as they are assumed to be the currently authenticated ones.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "realm_name", - "description": "The name of an authentication realm.\nThis parameter cannot be used with either `id` or `name` or when `owner` flag is set to `true`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "form" - }, - { - "in": "query", - "name": "username", - "description": "The username of a user.\nThis parameter cannot be used with either `id` or `name` or when `owner` flag is set to `true`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Username" - }, - "style": "form" - }, - { - "in": "query", - "name": "with_limited_by", - "description": "Return the snapshot of the owner user's role descriptors\nassociated with the API key. An API key's actual\npermission is the intersection of its assigned role\ndescriptors and the owner user's role descriptors.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "api_keys": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:ApiKey" - } - } - }, - "required": [ - "api_keys" - ] - } - } - } - } - } - }, - "put": { - "description": "Creates an API key for access without requiring basic authentication.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html" - }, - "operationId": "security.create_api_key#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.create_api_key#refresh" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.create_api_key" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.create_api_key#200" - } - } - }, - "post": { - "description": "Creates an API key for access without requiring basic authentication.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html" - }, - "operationId": "security.create_api_key#1", - "parameters": [ - { - "$ref": "#/components/parameters/security.create_api_key#refresh" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.create_api_key" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.create_api_key#200" - } - } - }, - "delete": { - "description": "Invalidates one or more API keys.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-api-key.html" - }, - "operationId": "security.invalidate_api_key#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "ids": { - "description": "A list of API key ids.\nThis parameter cannot be used with any of `name`, `realm_name`, or `username`.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Id" - } - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "owner": { - "description": "Can be used to query API keys owned by the currently authenticated user.\nThe `realm_name` or `username` parameters cannot be specified when this parameter is set to `true` as they are assumed to be the currently authenticated ones.", - "type": "boolean" - }, - "realm_name": { - "description": "The name of an authentication realm.\nThis parameter cannot be used with either `ids` or `name`, or when `owner` flag is set to `true`.", - "type": "string" - }, - "username": { - "$ref": "#/components/schemas/_types:Username" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "error_count": { - "type": "number" - }, - "error_details": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ErrorCause" - } - }, - "invalidated_api_keys": { - "type": "array", - "items": { - "type": "string" - } - }, - "previously_invalidated_api_keys": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "error_count", - "invalidated_api_keys", - "previously_invalidated_api_keys" - ] - } - } - } - } - } - } - }, - "/_security/service/{namespace}/{service}/credential/token/{name}": { - "put": { - "description": "Creates a service account token for access without requiring basic authentication.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-service-token.html" - }, - "operationId": "security.create_service_token#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.create_service_token#namespace" - }, - { - "$ref": "#/components/parameters/security.create_service_token#service" - }, - { - "$ref": "#/components/parameters/security.create_service_token#name" - }, - { - "$ref": "#/components/parameters/security.create_service_token#refresh" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.create_service_token#200" - } - } - }, - "post": { - "description": "Creates a service account token for access without requiring basic authentication.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-service-token.html" - }, - "operationId": "security.create_service_token#1", - "parameters": [ - { - "$ref": "#/components/parameters/security.create_service_token#namespace" - }, - { - "$ref": "#/components/parameters/security.create_service_token#service" - }, - { - "$ref": "#/components/parameters/security.create_service_token#name" - }, - { - "$ref": "#/components/parameters/security.create_service_token#refresh" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.create_service_token#200" - } - } - }, - "delete": { - "description": "Deletes a service account token.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-service-token.html" - }, - "operationId": "security.delete_service_token#0", - "parameters": [ - { - "in": "path", - "name": "namespace", - "description": "An identifier for the namespace", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Namespace" - }, - "style": "simple" - }, - { - "in": "path", - "name": "service", - "description": "An identifier for the service name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Service" - }, - "style": "simple" - }, - { - "in": "path", - "name": "name", - "description": "An identifier for the token name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "query", - "name": "refresh", - "description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` (the default) then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "found": { - "type": "boolean" - } - }, - "required": [ - "found" - ] - } - } - } - } - } - } - }, - "/_security/service/{namespace}/{service}/credential/token": { - "post": { - "description": "Creates a service account token for access without requiring basic authentication.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-service-token.html" - }, - "operationId": "security.create_service_token#2", - "parameters": [ - { - "$ref": "#/components/parameters/security.create_service_token#namespace" - }, - { - "$ref": "#/components/parameters/security.create_service_token#service" - }, - { - "$ref": "#/components/parameters/security.create_service_token#refresh" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.create_service_token#200" - } - } - } - }, - "/_security/privilege/{application}/{name}": { - "get": { - "description": "Retrieves application privileges.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html" - }, - "operationId": "security.get_privileges#2", - "parameters": [ - { - "$ref": "#/components/parameters/security.get_privileges#application" - }, - { - "$ref": "#/components/parameters/security.get_privileges#name" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.get_privileges#200" - } - } - }, - "delete": { - "description": "Removes application privileges.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-privilege.html" - }, - "operationId": "security.delete_privileges#0", - "parameters": [ - { - "in": "path", - "name": "application", - "description": "Application name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "path", - "name": "name", - "description": "Privilege name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - { - "in": "query", - "name": "refresh", - "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security.delete_privileges:FoundStatus" - } - } - } - } - } - } - } - } - }, - "/_security/role/{name}": { - "get": { - "description": "Retrieves roles in the native realm.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html" - }, - "operationId": "security.get_role#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.get_role#name" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.get_role#200" - } - } - }, - "put": { - "description": "Adds and updates roles in the native realm.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html" - }, - "operationId": "security.put_role#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.put_role#name" - }, - { - "$ref": "#/components/parameters/security.put_role#refresh" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.put_role" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.put_role#200" - } - } - }, - "post": { - "description": "Adds and updates roles in the native realm.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html" - }, - "operationId": "security.put_role#1", - "parameters": [ - { - "$ref": "#/components/parameters/security.put_role#name" - }, - { - "$ref": "#/components/parameters/security.put_role#refresh" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.put_role" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.put_role#200" - } - } - }, - "delete": { - "description": "Removes roles in the native realm.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role.html" - }, - "operationId": "security.delete_role#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Role name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "query", - "name": "refresh", - "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "found": { - "type": "boolean" - } - }, - "required": [ - "found" - ] - } - } - } - } - } - } - }, - "/_security/role_mapping/{name}": { - "get": { - "description": "Retrieves role mappings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role-mapping.html" - }, - "operationId": "security.get_role_mapping#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.get_role_mapping#name" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.get_role_mapping#200" - } - } - }, - "put": { - "description": "Creates and updates role mappings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role-mapping.html" - }, - "operationId": "security.put_role_mapping#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.put_role_mapping#name" - }, - { - "$ref": "#/components/parameters/security.put_role_mapping#refresh" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.put_role_mapping" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.put_role_mapping#200" - } - } - }, - "post": { - "description": "Creates and updates role mappings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role-mapping.html" - }, - "operationId": "security.put_role_mapping#1", - "parameters": [ - { - "$ref": "#/components/parameters/security.put_role_mapping#name" - }, - { - "$ref": "#/components/parameters/security.put_role_mapping#refresh" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.put_role_mapping" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.put_role_mapping#200" - } - } - }, - "delete": { - "description": "Removes role mappings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role-mapping.html" - }, - "operationId": "security.delete_role_mapping#0", - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Role-mapping name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "query", - "name": "refresh", - "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "found": { - "type": "boolean" - } - }, - "required": [ - "found" - ] - } - } - } - } - } - } - }, - "/_security/user/{username}": { - "get": { - "description": "Retrieves information about users in the native realm and built-in users.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user.html" - }, - "operationId": "security.get_user#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.get_user#username" - }, - { - "$ref": "#/components/parameters/security.get_user#with_profile_uid" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.get_user#200" - } - } - }, - "put": { - "description": "Adds and updates users in the native realm. These users are commonly referred to as native users.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-user.html" - }, - "operationId": "security.put_user#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.put_user#username" - }, - { - "$ref": "#/components/parameters/security.put_user#refresh" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.put_user" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.put_user#200" - } - } - }, - "post": { - "description": "Adds and updates users in the native realm. These users are commonly referred to as native users.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-user.html" - }, - "operationId": "security.put_user#1", - "parameters": [ - { - "$ref": "#/components/parameters/security.put_user#username" - }, - { - "$ref": "#/components/parameters/security.put_user#refresh" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.put_user" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.put_user#200" - } - } - }, - "delete": { - "description": "Deletes users from the native realm.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-user.html" - }, - "operationId": "security.delete_user#0", - "parameters": [ - { - "in": "path", - "name": "username", - "description": "username", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Username" - }, - "style": "simple" - }, - { - "in": "query", - "name": "refresh", - "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "found": { - "type": "boolean" - } - }, - "required": [ - "found" - ] - } - } - } - } - } - } - }, - "/_security/user/{username}/_disable": { - "put": { - "description": "Disables users in the native realm.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-disable-user.html" - }, - "operationId": "security.disable_user#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.disable_user#username" - }, - { - "$ref": "#/components/parameters/security.disable_user#refresh" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.disable_user#200" - } - } - }, - "post": { - "description": "Disables users in the native realm.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-disable-user.html" - }, - "operationId": "security.disable_user#1", - "parameters": [ - { - "$ref": "#/components/parameters/security.disable_user#username" - }, - { - "$ref": "#/components/parameters/security.disable_user#refresh" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.disable_user#200" - } - } - } - }, - "/_security/profile/{uid}/_disable": { - "put": { - "description": "Disables a user profile so it's not visible in user profile searches.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-disable-user-profile.html" - }, - "operationId": "security.disable_user_profile#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.disable_user_profile#uid" - }, - { - "$ref": "#/components/parameters/security.disable_user_profile#refresh" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.disable_user_profile#200" - } - } - }, - "post": { - "description": "Disables a user profile so it's not visible in user profile searches.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-disable-user-profile.html" - }, - "operationId": "security.disable_user_profile#1", - "parameters": [ - { - "$ref": "#/components/parameters/security.disable_user_profile#uid" - }, - { - "$ref": "#/components/parameters/security.disable_user_profile#refresh" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.disable_user_profile#200" - } - } - } - }, - "/_security/user/{username}/_enable": { - "put": { - "description": "Enables users in the native realm.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-enable-user.html" - }, - "operationId": "security.enable_user#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.enable_user#username" - }, - { - "$ref": "#/components/parameters/security.enable_user#refresh" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.enable_user#200" - } - } - }, - "post": { - "description": "Enables users in the native realm.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-enable-user.html" - }, - "operationId": "security.enable_user#1", - "parameters": [ - { - "$ref": "#/components/parameters/security.enable_user#username" - }, - { - "$ref": "#/components/parameters/security.enable_user#refresh" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.enable_user#200" - } - } - } - }, - "/_security/profile/{uid}/_enable": { - "put": { - "description": "Enables a user profile so it's visible in user profile searches.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-enable-user-profile.html" - }, - "operationId": "security.enable_user_profile#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.enable_user_profile#uid" - }, - { - "$ref": "#/components/parameters/security.enable_user_profile#refresh" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.enable_user_profile#200" - } - } - }, - "post": { - "description": "Enables a user profile so it's visible in user profile searches.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-enable-user-profile.html" - }, - "operationId": "security.enable_user_profile#1", - "parameters": [ - { - "$ref": "#/components/parameters/security.enable_user_profile#uid" - }, - { - "$ref": "#/components/parameters/security.enable_user_profile#refresh" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.enable_user_profile#200" - } - } - } - }, - "/_security/enroll/kibana": { - "get": { - "description": "Allows a kibana instance to configure itself to communicate with a secured elasticsearch cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-kibana-enrollment.html" - }, - "operationId": "security.enroll_kibana#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "token": { - "$ref": "#/components/schemas/security.enroll_kibana:Token" - }, - "http_ca": { - "type": "string" - } - }, - "required": [ - "token", - "http_ca" - ] - } - } - } - } - } - } - }, - "/_security/enroll/node": { - "get": { - "description": "Allows a new node to enroll to an existing cluster with security enabled.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-node-enrollment.html" - }, - "operationId": "security.enroll_node#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "http_ca_key": { - "type": "string" - }, - "http_ca_cert": { - "type": "string" - }, - "transport_ca_cert": { - "type": "string" - }, - "transport_key": { - "type": "string" - }, - "transport_cert": { - "type": "string" - }, - "nodes_addresses": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "http_ca_key", - "http_ca_cert", - "transport_ca_cert", - "transport_key", - "transport_cert", - "nodes_addresses" - ] - } - } - } - } - } - } - }, - "/_security/privilege/_builtin": { - "get": { - "description": "Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-builtin-privileges.html" - }, - "operationId": "security.get_builtin_privileges#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "cluster": { - "type": "array", - "items": { - "type": "string" - } - }, - "index": { - "$ref": "#/components/schemas/_types:Indices" - } - }, - "required": [ - "cluster", - "index" - ] - } - } - } - } - } - } - }, - "/_security/privilege": { - "get": { - "description": "Retrieves application privileges.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html" - }, - "operationId": "security.get_privileges#0", - "responses": { - "200": { - "$ref": "#/components/responses/security.get_privileges#200" - } - } - }, - "put": { - "description": "Adds or updates application privileges.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-privileges.html" - }, - "operationId": "security.put_privileges#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.put_privileges#refresh" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.put_privileges" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.put_privileges#200" - } - } - }, - "post": { - "description": "Adds or updates application privileges.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-privileges.html" - }, - "operationId": "security.put_privileges#1", - "parameters": [ - { - "$ref": "#/components/parameters/security.put_privileges#refresh" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.put_privileges" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.put_privileges#200" - } - } - } - }, - "/_security/privilege/{application}": { - "get": { - "description": "Retrieves application privileges.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html" - }, - "operationId": "security.get_privileges#1", - "parameters": [ - { - "$ref": "#/components/parameters/security.get_privileges#application" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.get_privileges#200" - } - } - } - }, - "/_security/role": { - "get": { - "description": "Retrieves roles in the native realm.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html" - }, - "operationId": "security.get_role#1", - "responses": { - "200": { - "$ref": "#/components/responses/security.get_role#200" - } - } - } - }, - "/_security/role_mapping": { - "get": { - "description": "Retrieves role mappings.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role-mapping.html" - }, - "operationId": "security.get_role_mapping#1", - "responses": { - "200": { - "$ref": "#/components/responses/security.get_role_mapping#200" - } - } - } - }, - "/_security/service/{namespace}/{service}": { - "get": { - "description": "Retrieves information about service accounts.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-service-accounts.html" - }, - "operationId": "security.get_service_accounts#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.get_service_accounts#namespace" - }, - { - "$ref": "#/components/parameters/security.get_service_accounts#service" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.get_service_accounts#200" - } - } - } - }, - "/_security/service/{namespace}": { - "get": { - "description": "Retrieves information about service accounts.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-service-accounts.html" - }, - "operationId": "security.get_service_accounts#1", - "parameters": [ - { - "$ref": "#/components/parameters/security.get_service_accounts#namespace" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.get_service_accounts#200" - } - } - } - }, - "/_security/service": { - "get": { - "description": "Retrieves information about service accounts.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-service-accounts.html" - }, - "operationId": "security.get_service_accounts#2", - "responses": { - "200": { - "$ref": "#/components/responses/security.get_service_accounts#200" - } - } - } - }, - "/_security/service/{namespace}/{service}/credential": { - "get": { - "description": "Retrieves information of all service credentials for a service account.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-service-credentials.html" - }, - "operationId": "security.get_service_credentials#0", - "parameters": [ - { - "in": "path", - "name": "namespace", - "description": "Name of the namespace.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Namespace" - }, - "style": "simple" - }, - { - "in": "path", - "name": "service", - "description": "Name of the service name.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "service_account": { - "type": "string" - }, - "count": { - "type": "number" - }, - "tokens": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:Metadata" - } - }, - "nodes_credentials": { - "$ref": "#/components/schemas/security.get_service_credentials:NodesCredentials" - } - }, - "required": [ - "service_account", - "count", - "tokens", - "nodes_credentials" - ] - } - } - } - } - } - } - }, - "/_security/oauth2/token": { - "post": { - "description": "Creates a bearer token for access without requiring basic authentication.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-token.html" - }, - "operationId": "security.get_token#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "grant_type": { - "$ref": "#/components/schemas/security.get_token:AccessTokenGrantType" - }, - "scope": { - "type": "string" - }, - "password": { - "$ref": "#/components/schemas/_types:Password" - }, - "kerberos_ticket": { - "type": "string" - }, - "refresh_token": { - "type": "string" - }, - "username": { - "$ref": "#/components/schemas/_types:Username" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "access_token": { - "type": "string" - }, - "expires_in": { - "type": "number" - }, - "scope": { - "type": "string" - }, - "type": { - "type": "string" - }, - "refresh_token": { - "type": "string" - }, - "kerberos_authentication_response_token": { - "type": "string" - }, - "authentication": { - "$ref": "#/components/schemas/security.get_token:AuthenticatedUser" - } - }, - "required": [ - "access_token", - "expires_in", - "type", - "authentication" - ] - } - } - } - } - } - }, - "delete": { - "description": "Invalidates one or more access tokens or refresh tokens.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-token.html" - }, - "operationId": "security.invalidate_token#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "token": { - "type": "string" - }, - "refresh_token": { - "type": "string" - }, - "realm_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "username": { - "$ref": "#/components/schemas/_types:Username" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "error_count": { - "type": "number" - }, - "error_details": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ErrorCause" - } - }, - "invalidated_tokens": { - "type": "number" - }, - "previously_invalidated_tokens": { - "type": "number" - } - }, - "required": [ - "error_count", - "invalidated_tokens", - "previously_invalidated_tokens" - ] - } - } - } - } - } - } - }, - "/_security/user": { - "get": { - "description": "Retrieves information about users in the native realm and built-in users.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user.html" - }, - "operationId": "security.get_user#1", - "parameters": [ - { - "$ref": "#/components/parameters/security.get_user#with_profile_uid" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/security.get_user#200" - } - } - } - }, - "/_security/user/_privileges": { - "get": { - "description": "Retrieves security privileges for the logged in user.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user-privileges.html" - }, - "operationId": "security.get_user_privileges#0", - "parameters": [ - { - "in": "query", - "name": "application", - "description": "The name of the application. Application privileges are always associated with exactly one application. If you do not specify this parameter, the API returns information about all privileges for all applications.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "form" - }, - { - "in": "query", - "name": "priviledge", - "description": "The name of the privilege. If you do not specify this parameter, the API returns information about all privileges for the requested application.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "form" - }, - { - "in": "query", - "name": "username", - "deprecated": false, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Name" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "applications": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:ApplicationPrivileges" - } - }, - "cluster": { - "type": "array", - "items": { - "type": "string" - } - }, - "global": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:GlobalPrivilege" - } - }, - "indices": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:UserIndicesPrivileges" - } - }, - "run_as": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "applications", - "cluster", - "global", - "indices", - "run_as" - ] - } - } - } - } - } - } - }, - "/_security/profile/{uid}": { - "get": { - "description": "Retrieves user profiles for the given unique ID(s).", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user-profile.html" - }, - "operationId": "security.get_user_profile#0", - "parameters": [ - { - "in": "path", - "name": "uid", - "description": "A unique identifier for the user profile.", - "required": true, - "deprecated": false, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/security._types:UserProfileId" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:UserProfileId" - } - } - ] - }, - "style": "simple" - }, - { - "in": "query", - "name": "data", - "description": "List of filters for the `data` field of the profile document.\nTo return all content use `data=*`. To return a subset of content\nuse `data=` to retrieve content nested under the specified ``.\nBy default returns no `data` content.", - "deprecated": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "profiles": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:UserProfileWithMetadata" - } - }, - "errors": { - "$ref": "#/components/schemas/security.get_user_profile:GetUserProfileErrors" - } - }, - "required": [ - "profiles" - ] - } - } - } - } - } - } - }, - "/_security/api_key/grant": { - "post": { - "description": "Creates an API key on behalf of another user.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-grant-api-key.html" - }, - "operationId": "security.grant_api_key#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "api_key": { - "$ref": "#/components/schemas/security.grant_api_key:GrantApiKey" - }, - "grant_type": { - "$ref": "#/components/schemas/security.grant_api_key:ApiKeyGrantType" - }, - "access_token": { - "description": "The user’s access token.\nIf you specify the `access_token` grant type, this parameter is required.\nIt is not valid with other grant types.", - "type": "string" - }, - "username": { - "$ref": "#/components/schemas/_types:Username" - }, - "password": { - "$ref": "#/components/schemas/_types:Password" - }, - "run_as": { - "$ref": "#/components/schemas/_types:Username" - } - }, - "required": [ - "api_key", - "grant_type" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "api_key": { - "type": "string" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "expiration": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "encoded": { - "type": "string" - } - }, - "required": [ - "api_key", - "id", - "name", - "encoded" - ] - } - } - } - } - } - } - }, - "/_security/user/_has_privileges": { - "get": { - "description": "Determines whether the specified user has a specified list of privileges.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html" - }, - "operationId": "security.has_privileges#0", - "requestBody": { - "$ref": "#/components/requestBodies/security.has_privileges" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.has_privileges#200" - } - } - }, - "post": { - "description": "Determines whether the specified user has a specified list of privileges.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html" - }, - "operationId": "security.has_privileges#1", - "requestBody": { - "$ref": "#/components/requestBodies/security.has_privileges" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.has_privileges#200" - } - } - } - }, - "/_security/user/{user}/_has_privileges": { - "get": { - "description": "Determines whether the specified user has a specified list of privileges.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html" - }, - "operationId": "security.has_privileges#2", - "parameters": [ - { - "$ref": "#/components/parameters/security.has_privileges#user" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.has_privileges" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.has_privileges#200" - } - } - }, - "post": { - "description": "Determines whether the specified user has a specified list of privileges.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html" - }, - "operationId": "security.has_privileges#3", - "parameters": [ - { - "$ref": "#/components/parameters/security.has_privileges#user" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.has_privileges" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.has_privileges#200" - } - } - } - }, - "/_security/profile/_has_privileges": { - "get": { - "description": "Determines whether the users associated with the specified profile IDs have all the requested privileges.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges-user-profile.html" - }, - "operationId": "security.has_privileges_user_profile#0", - "requestBody": { - "$ref": "#/components/requestBodies/security.has_privileges_user_profile" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.has_privileges_user_profile#200" - } - } - }, - "post": { - "description": "Determines whether the users associated with the specified profile IDs have all the requested privileges.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges-user-profile.html" - }, - "operationId": "security.has_privileges_user_profile#1", - "requestBody": { - "$ref": "#/components/requestBodies/security.has_privileges_user_profile" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.has_privileges_user_profile#200" - } - } - } - }, - "/_security/_query/api_key": { - "get": { - "description": "Retrieves information for API keys using a subset of query DSL", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-query-api-key.html" - }, - "operationId": "security.query_api_keys#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.query_api_keys#with_limited_by" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.query_api_keys" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.query_api_keys#200" - } - } - }, - "post": { - "description": "Retrieves information for API keys using a subset of query DSL", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-query-api-key.html" - }, - "operationId": "security.query_api_keys#1", - "parameters": [ - { - "$ref": "#/components/parameters/security.query_api_keys#with_limited_by" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.query_api_keys" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.query_api_keys#200" - } - } - } - }, - "/_security/saml/authenticate": { - "post": { - "description": "Exchanges a SAML Response message for an Elasticsearch access token and refresh token pair", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-authenticate.html" - }, - "operationId": "security.saml_authenticate#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "description": "The SAML response as it was sent by the user’s browser, usually a Base64 encoded XML document.", - "type": "string" - }, - "ids": { - "$ref": "#/components/schemas/_types:Ids" - }, - "realm": { - "description": "The name of the realm that should authenticate the SAML response. Useful in cases where many SAML realms are defined.", - "type": "string" - } - }, - "required": [ - "content", - "ids" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "access_token": { - "type": "string" - }, - "username": { - "type": "string" - }, - "expires_in": { - "type": "number" - }, - "refresh_token": { - "type": "string" - }, - "realm": { - "type": "string" - } - }, - "required": [ - "access_token", - "username", - "expires_in", - "refresh_token", - "realm" - ] - } - } - } - } - } - } - }, - "/_security/saml/complete_logout": { - "post": { - "description": "Verifies the logout response sent from the SAML IdP", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-complete-logout.html" - }, - "operationId": "security.saml_complete_logout#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "realm": { - "description": "The name of the SAML realm in Elasticsearch for which the configuration is used to verify the logout response.", - "type": "string" - }, - "ids": { - "$ref": "#/components/schemas/_types:Ids" - }, - "query_string": { - "description": "If the SAML IdP sends the logout response with the HTTP-Redirect binding, this field must be set to the query string of the redirect URI.", - "type": "string" - }, - "content": { - "description": "If the SAML IdP sends the logout response with the HTTP-Post binding, this field must be set to the value of the SAMLResponse form parameter from the logout response.", - "type": "string" - } - }, - "required": [ - "realm", - "ids" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": {} - } - } - } - } - }, - "/_security/saml/invalidate": { - "post": { - "description": "Consumes a SAML LogoutRequest", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-invalidate.html" - }, - "operationId": "security.saml_invalidate#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acs": { - "description": "The Assertion Consumer Service URL that matches the one of the SAML realm in Elasticsearch that should be used. You must specify either this parameter or the realm parameter.", - "type": "string" - }, - "query_string": { - "description": "The query part of the URL that the user was redirected to by the SAML IdP to initiate the Single Logout.\nThis query should include a single parameter named SAMLRequest that contains a SAML logout request that is deflated and Base64 encoded.\nIf the SAML IdP has signed the logout request, the URL should include two extra parameters named SigAlg and Signature that contain the algorithm used for the signature and the signature value itself.\nIn order for Elasticsearch to be able to verify the IdP’s signature, the value of the query_string field must be an exact match to the string provided by the browser.\nThe client application must not attempt to parse or process the string in any way.", - "type": "string" - }, - "realm": { - "description": "The name of the SAML realm in Elasticsearch the configuration. You must specify either this parameter or the acs parameter.", - "type": "string" - } - }, - "required": [ - "query_string" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "invalidated": { - "type": "number" - }, - "realm": { - "type": "string" - }, - "redirect": { - "type": "string" - } - }, - "required": [ - "invalidated", - "realm", - "redirect" - ] - } - } - } - } - } - } - }, - "/_security/saml/logout": { - "post": { - "description": "Invalidates an access token and a refresh token that were generated via the SAML Authenticate API", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-logout.html" - }, - "operationId": "security.saml_logout#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "token": { - "description": "The access token that was returned as a response to calling the SAML authenticate API.\nAlternatively, the most recent token that was received after refreshing the original one by using a refresh_token.", - "type": "string" - }, - "refresh_token": { - "description": "The refresh token that was returned as a response to calling the SAML authenticate API.\nAlternatively, the most recent refresh token that was received after refreshing the original access token.", - "type": "string" - } - }, - "required": [ - "token" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "redirect": { - "type": "string" - } - }, - "required": [ - "redirect" - ] - } - } - } - } - } - } - }, - "/_security/saml/prepare": { - "post": { - "description": "Creates a SAML authentication request", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-prepare-authentication.html" - }, - "operationId": "security.saml_prepare_authentication#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acs": { - "description": "The Assertion Consumer Service URL that matches the one of the SAML realms in Elasticsearch.\nThe realm is used to generate the authentication request. You must specify either this parameter or the realm parameter.", - "type": "string" - }, - "realm": { - "description": "The name of the SAML realm in Elasticsearch for which the configuration is used to generate the authentication request.\nYou must specify either this parameter or the acs parameter.", - "type": "string" - }, - "relay_state": { - "description": "A string that will be included in the redirect URL that this API returns as the RelayState query parameter.\nIf the Authentication Request is signed, this value is used as part of the signature computation.", - "type": "string" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "realm": { - "type": "string" - }, - "redirect": { - "type": "string" - } - }, - "required": [ - "id", - "realm", - "redirect" - ] - } - } - } - } - } - } - }, - "/_security/saml/metadata/{realm_name}": { - "get": { - "description": "Generates SAML metadata for the Elastic stack SAML 2.0 Service Provider", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-sp-metadata.html" - }, - "operationId": "security.saml_service_provider_metadata#0", - "parameters": [ - { - "in": "path", - "name": "realm_name", - "description": "The name of the SAML realm in Elasticsearch.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "metadata": { - "type": "string" - } - }, - "required": [ - "metadata" - ] - } - } - } - } - } - } - }, - "/_security/profile/_suggest": { - "get": { - "description": "Get suggestions for user profiles that match specified search criteria.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-suggest-user-profile.html" - }, - "operationId": "security.suggest_user_profiles#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.suggest_user_profiles#data" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.suggest_user_profiles" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.suggest_user_profiles#200" - } - } - }, - "post": { - "description": "Get suggestions for user profiles that match specified search criteria.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-suggest-user-profile.html" - }, - "operationId": "security.suggest_user_profiles#1", - "parameters": [ - { - "$ref": "#/components/parameters/security.suggest_user_profiles#data" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.suggest_user_profiles" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.suggest_user_profiles#200" - } - } - } - }, - "/_security/api_key/{id}": { - "put": { - "description": "Updates attributes of an existing API key.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-api-key.html" - }, - "operationId": "security.update_api_key#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "The ID of the API key to update.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "role_descriptors": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html" - }, - "description": "An array of role descriptors for this API key. This parameter is optional. When it is not specified or is an empty array, then the API key will have a point in time snapshot of permissions of the authenticated user. If you supply role descriptors then the resultant permissions would be an intersection of API keys permissions and authenticated user’s permissions thereby limiting the access scope for API keys. The structure of role descriptor is the same as the request for create role API. For more details, see create or update roles API.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:RoleDescriptor" - } - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "updated": { - "description": "If `true`, the API key was updated.\nIf `false`, the API key didn’t change because no change was detected.", - "type": "boolean" - } - }, - "required": [ - "updated" - ] - } - } - } - } - } - } - }, - "/_security/profile/{uid}/_data": { - "put": { - "description": "Update application specific data for the user profile of the given unique ID.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-user-profile-data.html" - }, - "operationId": "security.update_user_profile_data#0", - "parameters": [ - { - "$ref": "#/components/parameters/security.update_user_profile_data#uid" - }, - { - "$ref": "#/components/parameters/security.update_user_profile_data#if_seq_no" - }, - { - "$ref": "#/components/parameters/security.update_user_profile_data#if_primary_term" - }, - { - "$ref": "#/components/parameters/security.update_user_profile_data#refresh" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.update_user_profile_data" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.update_user_profile_data#200" - } - } - }, - "post": { - "description": "Update application specific data for the user profile of the given unique ID.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-user-profile-data.html" - }, - "operationId": "security.update_user_profile_data#1", - "parameters": [ - { - "$ref": "#/components/parameters/security.update_user_profile_data#uid" - }, - { - "$ref": "#/components/parameters/security.update_user_profile_data#if_seq_no" - }, - { - "$ref": "#/components/parameters/security.update_user_profile_data#if_primary_term" - }, - { - "$ref": "#/components/parameters/security.update_user_profile_data#refresh" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/security.update_user_profile_data" - }, - "responses": { - "200": { - "$ref": "#/components/responses/security.update_user_profile_data#200" - } - } - } - }, - "/_nodes/{node_id}/shutdown": { - "get": { - "description": "Retrieve status of a node or nodes that are currently marked as shutting down. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current" - }, - "operationId": "shutdown.get_node#1", - "parameters": [ - { - "$ref": "#/components/parameters/shutdown.get_node#node_id" - }, - { - "$ref": "#/components/parameters/shutdown.get_node#master_timeout" - }, - { - "$ref": "#/components/parameters/shutdown.get_node#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/shutdown.get_node#200" - } - } - }, - "put": { - "description": "Adds a node to be shut down. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current" - }, - "operationId": "shutdown.put_node#0", - "parameters": [ - { - "in": "path", - "name": "node_id", - "description": "The node id of node to be shut down", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:NodeId" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:TimeUnit" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:TimeUnit" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/shutdown._types:Type" - }, - "reason": { - "description": "A human-readable reason that the node is being shut down.\nThis field provides information for other cluster operators; it does not affect the shut down process.", - "type": "string" - }, - "allocation_delay": { - "description": "Only valid if type is restart.\nControls how long Elasticsearch will wait for the node to restart and join the cluster before reassigning its shards to other nodes.\nThis works the same as delaying allocation with the index.unassigned.node_left.delayed_timeout setting.\nIf you specify both a restart allocation delay and an index-level allocation delay, the longer of the two is used.", - "type": "string" - }, - "target_node_name": { - "description": "Only valid if type is replace.\nSpecifies the name of the node that is replacing the node being shut down.\nShards from the shut down node are only allowed to be allocated to the target node, and no other data will be allocated to the target node.\nDuring relocation of data certain allocation rules are ignored, such as disk watermarks or user attribute filtering rules.", - "type": "string" - } - }, - "required": [ - "type", - "reason" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - }, - "delete": { - "description": "Removes a node from the shutdown list. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current" - }, - "operationId": "shutdown.delete_node#0", - "parameters": [ - { - "in": "path", - "name": "node_id", - "description": "The node id of node to be removed from the shutdown state", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:NodeId" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:TimeUnit" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:TimeUnit" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_nodes/shutdown": { - "get": { - "description": "Retrieve status of a node or nodes that are currently marked as shutting down. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current" - }, - "operationId": "shutdown.get_node#0", - "parameters": [ - { - "$ref": "#/components/parameters/shutdown.get_node#master_timeout" - }, - { - "$ref": "#/components/parameters/shutdown.get_node#timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/shutdown.get_node#200" - } - } - } - }, - "/_slm/policy/{policy_id}": { - "get": { - "description": "Retrieves one or more snapshot lifecycle policy definitions and information about the latest snapshot attempts.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get-policy.html" - }, - "operationId": "slm.get_lifecycle#0", - "parameters": [ - { - "$ref": "#/components/parameters/slm.get_lifecycle#policy_id" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/slm.get_lifecycle#200" - } - } - }, - "put": { - "description": "Creates or updates a snapshot lifecycle policy.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-put-policy.html" - }, - "operationId": "slm.put_lifecycle#0", - "parameters": [ - { - "in": "path", - "name": "policy_id", - "description": "ID for the snapshot lifecycle policy you want to create or update.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "config": { - "$ref": "#/components/schemas/slm._types:Configuration" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "repository": { - "description": "Repository used to store snapshots created by this policy. This repository must exist prior to the policy’s creation. You can create a repository using the snapshot repository API.", - "type": "string" - }, - "retention": { - "$ref": "#/components/schemas/slm._types:Retention" - }, - "schedule": { - "$ref": "#/components/schemas/watcher._types:CronExpression" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - }, - "delete": { - "description": "Deletes an existing snapshot lifecycle policy.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-delete-policy.html" - }, - "operationId": "slm.delete_lifecycle#0", - "parameters": [ - { - "in": "path", - "name": "policy_id", - "description": "The id of the snapshot lifecycle policy to remove", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_slm/policy/{policy_id}/_execute": { - "put": { - "description": "Immediately creates a snapshot according to the lifecycle policy, without waiting for the scheduled time.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute-lifecycle.html" - }, - "operationId": "slm.execute_lifecycle#0", - "parameters": [ - { - "in": "path", - "name": "policy_id", - "description": "The id of the snapshot lifecycle policy to be executed", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "snapshot_name": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "required": [ - "snapshot_name" - ] - } - } - } - } - } - } - }, - "/_slm/_execute_retention": { - "post": { - "description": "Deletes any snapshots that are expired according to the policy's retention rules.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute-retention.html" - }, - "operationId": "slm.execute_retention#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_slm/policy": { - "get": { - "description": "Retrieves one or more snapshot lifecycle policy definitions and information about the latest snapshot attempts.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get-policy.html" - }, - "operationId": "slm.get_lifecycle#1", - "responses": { - "200": { - "$ref": "#/components/responses/slm.get_lifecycle#200" - } - } - } - }, - "/_slm/stats": { - "get": { - "description": "Returns global and policy-level statistics about actions taken by snapshot lifecycle management.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/slm-api-get-stats.html" - }, - "operationId": "slm.get_stats#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "retention_deletion_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "retention_deletion_time_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "retention_failed": { - "type": "number" - }, - "retention_runs": { - "type": "number" - }, - "retention_timed_out": { - "type": "number" - }, - "total_snapshots_deleted": { - "type": "number" - }, - "total_snapshot_deletion_failures": { - "type": "number" - }, - "total_snapshots_failed": { - "type": "number" - }, - "total_snapshots_taken": { - "type": "number" - }, - "policy_stats": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "retention_deletion_time", - "retention_deletion_time_millis", - "retention_failed", - "retention_runs", - "retention_timed_out", - "total_snapshots_deleted", - "total_snapshot_deletion_failures", - "total_snapshots_failed", - "total_snapshots_taken", - "policy_stats" - ] - } - } - } - } - } - } - }, - "/_slm/status": { - "get": { - "description": "Retrieves the status of snapshot lifecycle management (SLM).", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get-status.html" - }, - "operationId": "slm.get_status#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "operation_mode": { - "$ref": "#/components/schemas/_types:LifecycleOperationMode" - } - }, - "required": [ - "operation_mode" - ] - } - } - } - } - } - } - }, - "/_slm/start": { - "post": { - "description": "Turns on snapshot lifecycle management (SLM).", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-start.html" - }, - "operationId": "slm.start#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_slm/stop": { - "post": { - "description": "Turns off snapshot lifecycle management (SLM).", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-stop.html" - }, - "operationId": "slm.stop#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_snapshot/{repository}/_cleanup": { - "post": { - "description": "Removes stale data from repository.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/clean-up-snapshot-repo-api.html" - }, - "operationId": "snapshot.cleanup_repository#0", - "parameters": [ - { - "in": "path", - "name": "repository", - "description": "Snapshot repository to clean up.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "results": { - "$ref": "#/components/schemas/snapshot.cleanup_repository:CleanupRepositoryResults" - } - }, - "required": [ - "results" - ] - } - } - } - } - } - } - }, - "/_snapshot/{repository}/{snapshot}/_clone/{target_snapshot}": { - "put": { - "description": "Clones indices from one snapshot into another snapshot in the same repository.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" - }, - "operationId": "snapshot.clone#0", - "parameters": [ - { - "in": "path", - "name": "repository", - "description": "A repository name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "path", - "name": "snapshot", - "description": "The name of the snapshot to clone from", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "path", - "name": "target_snapshot", - "description": "The name of the cloned snapshot to create", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Explicit operation timeout for connection to master node", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "indices": { - "type": "string" - } - }, - "required": [ - "indices" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_snapshot/{repository}/{snapshot}": { - "get": { - "description": "Returns information about a snapshot.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" - }, - "operationId": "snapshot.get#0", - "parameters": [ - { - "in": "path", - "name": "repository", - "description": "Comma-separated list of snapshot repository names used to limit the request. Wildcard (*) expressions are supported.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "path", - "name": "snapshot", - "description": "Comma-separated list of snapshot names to retrieve. Also accepts wildcards (*).\n- To get information about all snapshots in a registered repository, use a wildcard (*) or _all.\n- To get information about any snapshots that are currently running, use _current.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - { - "in": "query", - "name": "ignore_unavailable", - "description": "If false, the request returns an error for any snapshots that are unavailable.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "verbose", - "description": "If true, returns additional information about each snapshot such as the version of Elasticsearch which took the snapshot, the start and end times of the snapshot, and the number of shards snapshotted.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "index_details", - "description": "If true, returns additional information about each index in the snapshot comprising the number of shards in the index, the total size of the index in bytes, and the maximum number of segments per shard in the index. Defaults to false, meaning that this information is omitted.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "index_names", - "description": "If true, returns the name of each index in each snapshot.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "include_repository", - "description": "If true, returns the repository name in each snapshot.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "sort", - "description": "Allows setting a sort order for the result. Defaults to start_time, i.e. sorting by snapshot start time stamp.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/snapshot._types:SnapshotSort" - }, - "style": "form" - }, - { - "in": "query", - "name": "size", - "description": "Maximum number of snapshots to return. Defaults to 0 which means return all that match the request without limit.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "order", - "description": "Sort order. Valid values are asc for ascending and desc for descending order. Defaults to asc, meaning ascending order.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SortOrder" - }, - "style": "form" - }, - { - "in": "query", - "name": "after", - "description": "Offset identifier to start pagination from as returned by the next field in the response body.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "offset", - "description": "Numeric offset to start pagination from based on the snapshots matching this request. Using a non-zero value for this parameter is mutually exclusive with using the after parameter. Defaults to 0.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "from_sort_value", - "description": "Value of the current sort column at which to start retrieval. Can either be a string snapshot- or repository name when sorting by snapshot or repository name, a millisecond time value or a number when sorting by index- or shard count.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "slm_policy_filter", - "description": "Filter snapshots by a comma-separated list of SLM policy names that snapshots belong to. Also accepts wildcards (*) and combinations of wildcards followed by exclude patterns starting with -. To include snapshots not created by an SLM policy you can use the special pattern _none that will match all snapshots without an SLM policy.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "responses": { - "type": "array", - "items": { - "$ref": "#/components/schemas/snapshot.get:SnapshotResponseItem" - } - }, - "snapshots": { - "type": "array", - "items": { - "$ref": "#/components/schemas/snapshot._types:SnapshotInfo" - } - }, - "total": { - "description": "The total number of snapshots that match the request when ignoring size limit or after query parameter.", - "type": "number" - }, - "remaining": { - "description": "The number of remaining snapshots that were not returned due to size limits and that can be fetched by additional requests using the next field value.", - "type": "number" - } - }, - "required": [ - "total", - "remaining" - ] - } - } - } - } - } - }, - "put": { - "description": "Creates a snapshot in a repository.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" - }, - "operationId": "snapshot.create#0", - "parameters": [ - { - "$ref": "#/components/parameters/snapshot.create#repository" - }, - { - "$ref": "#/components/parameters/snapshot.create#snapshot" - }, - { - "$ref": "#/components/parameters/snapshot.create#master_timeout" - }, - { - "$ref": "#/components/parameters/snapshot.create#wait_for_completion" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/snapshot.create" - }, - "responses": { - "200": { - "$ref": "#/components/responses/snapshot.create#200" - } - } - }, - "post": { - "description": "Creates a snapshot in a repository.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" - }, - "operationId": "snapshot.create#1", - "parameters": [ - { - "$ref": "#/components/parameters/snapshot.create#repository" - }, - { - "$ref": "#/components/parameters/snapshot.create#snapshot" - }, - { - "$ref": "#/components/parameters/snapshot.create#master_timeout" - }, - { - "$ref": "#/components/parameters/snapshot.create#wait_for_completion" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/snapshot.create" - }, - "responses": { - "200": { - "$ref": "#/components/responses/snapshot.create#200" - } - } - }, - "delete": { - "description": "Deletes one or more snapshots.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" - }, - "operationId": "snapshot.delete#0", - "parameters": [ - { - "in": "path", - "name": "repository", - "description": "A repository name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "path", - "name": "snapshot", - "description": "A comma-separated list of snapshot names", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Explicit operation timeout for connection to master node", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_snapshot/{repository}": { - "get": { - "description": "Returns information about a repository.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" - }, - "operationId": "snapshot.get_repository#1", - "parameters": [ - { - "$ref": "#/components/parameters/snapshot.get_repository#repository" - }, - { - "$ref": "#/components/parameters/snapshot.get_repository#local" - }, - { - "$ref": "#/components/parameters/snapshot.get_repository#master_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/snapshot.get_repository#200" - } - } - }, - "put": { - "description": "Creates a repository.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" - }, - "operationId": "snapshot.create_repository#0", - "parameters": [ - { - "$ref": "#/components/parameters/snapshot.create_repository#repository" - }, - { - "$ref": "#/components/parameters/snapshot.create_repository#master_timeout" - }, - { - "$ref": "#/components/parameters/snapshot.create_repository#timeout" - }, - { - "$ref": "#/components/parameters/snapshot.create_repository#verify" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/snapshot.create_repository" - }, - "responses": { - "200": { - "$ref": "#/components/responses/snapshot.create_repository#200" - } - } - }, - "post": { - "description": "Creates a repository.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" - }, - "operationId": "snapshot.create_repository#1", - "parameters": [ - { - "$ref": "#/components/parameters/snapshot.create_repository#repository" - }, - { - "$ref": "#/components/parameters/snapshot.create_repository#master_timeout" - }, - { - "$ref": "#/components/parameters/snapshot.create_repository#timeout" - }, - { - "$ref": "#/components/parameters/snapshot.create_repository#verify" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/snapshot.create_repository" - }, - "responses": { - "200": { - "$ref": "#/components/responses/snapshot.create_repository#200" - } - } - }, - "delete": { - "description": "Deletes a repository.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" - }, - "operationId": "snapshot.delete_repository#0", - "parameters": [ - { - "in": "path", - "name": "repository", - "description": "Name of the snapshot repository to unregister. Wildcard (`*`) patterns are supported.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Explicit operation timeout for connection to master node", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Explicit operation timeout", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_snapshot": { - "get": { - "description": "Returns information about a repository.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" - }, - "operationId": "snapshot.get_repository#0", - "parameters": [ - { - "$ref": "#/components/parameters/snapshot.get_repository#local" - }, - { - "$ref": "#/components/parameters/snapshot.get_repository#master_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/snapshot.get_repository#200" - } - } - } - }, - "/_snapshot/{repository}/{snapshot}/_restore": { - "post": { - "description": "Restores a snapshot.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" - }, - "operationId": "snapshot.restore#0", - "parameters": [ - { - "in": "path", - "name": "repository", - "description": "A repository name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "path", - "name": "snapshot", - "description": "A snapshot name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Explicit operation timeout for connection to master node", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_completion", - "description": "Should this request wait until the operation has completed before returning", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "feature_states": { - "type": "array", - "items": { - "type": "string" - } - }, - "ignore_index_settings": { - "type": "array", - "items": { - "type": "string" - } - }, - "ignore_unavailable": { - "type": "boolean" - }, - "include_aliases": { - "type": "boolean" - }, - "include_global_state": { - "type": "boolean" - }, - "index_settings": { - "$ref": "#/components/schemas/indices._types:IndexSettings" - }, - "indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "partial": { - "type": "boolean" - }, - "rename_pattern": { - "type": "string" - }, - "rename_replacement": { - "type": "string" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "snapshot": { - "$ref": "#/components/schemas/snapshot.restore:SnapshotRestore" - } - }, - "required": [ - "snapshot" - ] - } - } - } - } - } - } - }, - "/_snapshot/_status": { - "get": { - "description": "Returns information about the status of a snapshot.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" - }, - "operationId": "snapshot.status#0", - "parameters": [ - { - "$ref": "#/components/parameters/snapshot.status#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/snapshot.status#master_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/snapshot.status#200" - } - } - } - }, - "/_snapshot/{repository}/_status": { - "get": { - "description": "Returns information about the status of a snapshot.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" - }, - "operationId": "snapshot.status#1", - "parameters": [ - { - "$ref": "#/components/parameters/snapshot.status#repository" - }, - { - "$ref": "#/components/parameters/snapshot.status#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/snapshot.status#master_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/snapshot.status#200" - } - } - } - }, - "/_snapshot/{repository}/{snapshot}/_status": { - "get": { - "description": "Returns information about the status of a snapshot.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" - }, - "operationId": "snapshot.status#2", - "parameters": [ - { - "$ref": "#/components/parameters/snapshot.status#repository" - }, - { - "$ref": "#/components/parameters/snapshot.status#snapshot" - }, - { - "$ref": "#/components/parameters/snapshot.status#ignore_unavailable" - }, - { - "$ref": "#/components/parameters/snapshot.status#master_timeout" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/snapshot.status#200" - } - } - } - }, - "/_snapshot/{repository}/_verify": { - "post": { - "description": "Verifies a repository.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html" - }, - "operationId": "snapshot.verify_repository#0", - "parameters": [ - { - "in": "path", - "name": "repository", - "description": "A repository name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Explicit operation timeout for connection to master node", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Explicit operation timeout", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/snapshot.verify_repository:CompactNodeInfo" - } - } - }, - "required": [ - "nodes" - ] - } - } - } - } - } - } - }, - "/_sql/close": { - "post": { - "description": "Clears the SQL cursor", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-sql-cursor-api.html" - }, - "operationId": "sql.clear_cursor#0", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "cursor": { - "description": "Cursor to clear.", - "type": "string" - } - }, - "required": [ - "cursor" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "succeeded": { - "type": "boolean" - } - }, - "required": [ - "succeeded" - ] - } - } - } - } - } - } - }, - "/_sql/async/delete/{id}": { - "delete": { - "description": "Deletes an async SQL search or a stored synchronous SQL search. If the search is still running, the API cancels it.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-async-sql-search-api.html" - }, - "operationId": "sql.delete_async#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Identifier for the search.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_sql/async/{id}": { - "get": { - "description": "Returns the current status and available results for an async SQL search or stored synchronous SQL search", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-async-sql-search-api.html" - }, - "operationId": "sql.get_async#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Identifier for the search.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "delimiter", - "description": "Separator for CSV results. The API only supports this parameter for CSV responses.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "format", - "description": "Format for the response. You must specify a format using this parameter or the\nAccept HTTP header. If you specify both, the API uses this parameter.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "keep_alive", - "description": "Retention period for the search and its results. Defaults\nto the `keep_alive` period for the original SQL search.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_completion_timeout", - "description": "Period to wait for complete results. Defaults to no timeout,\nmeaning the request waits for complete search results.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "is_running": { - "description": "If `true`, the search is still running. If false, the search has finished.\nThis value is only returned for async and saved synchronous searches. For\nCSV, TSV, and TXT responses, this value is returned in the `Async-partial`\nHTTP header.", - "type": "boolean" - }, - "is_partial": { - "description": "If `true`, the response does not contain complete search results. If `is_partial`\nis `true` and `is_running` is `true`, the search is still running. If `is_partial`\nis `true` but `is_running` is `false`, the results are partial due to a failure or\ntimeout. This value is only returned for async and saved synchronous searches.\nFor CSV, TSV, and TXT responses, this value is returned in the `Async-partial` HTTP header.", - "type": "boolean" - }, - "columns": { - "description": "Column headings for the search results. Each object is a column.", - "type": "array", - "items": { - "$ref": "#/components/schemas/sql:Column" - } - }, - "cursor": { - "description": "Cursor for the next set of paginated results. For CSV, TSV, and\nTXT responses, this value is returned in the `Cursor` HTTP header.", - "type": "string" - }, - "rows": { - "description": "Values for the search results.", - "type": "array", - "items": { - "$ref": "#/components/schemas/sql:Row" - } - } - }, - "required": [ - "id", - "is_running", - "is_partial", - "rows" - ] - } - } - } - } - } - } - }, - "/_sql/async/status/{id}": { - "get": { - "description": "Returns the current status of an async SQL search or a stored synchronous SQL search", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-async-sql-search-status-api.html" - }, - "operationId": "sql.get_async_status#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Identifier for the search.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "description": "Identifier for the search.", - "type": "string" - }, - "is_running": { - "description": "If `true`, the search is still running. If `false`, the search has finished.", - "type": "boolean" - }, - "is_partial": { - "description": "If `true`, the response does not contain complete search results. If `is_partial`\nis `true` and `is_running` is `true`, the search is still running. If `is_partial`\nis `true` but `is_running` is `false`, the results are partial due to a failure or\ntimeout.", - "type": "boolean" - }, - "start_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "expiration_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "completion_status": { - "$ref": "#/components/schemas/_types:uint" - } - }, - "required": [ - "id", - "is_running", - "is_partial", - "start_time_in_millis", - "expiration_time_in_millis" - ] - } - } - } - } - } - } - }, - "/_sql": { - "get": { - "description": "Executes a SQL request", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-search-api.html" - }, - "operationId": "sql.query#1", - "parameters": [ - { - "$ref": "#/components/parameters/sql.query#format" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/sql.query" - }, - "responses": { - "200": { - "$ref": "#/components/responses/sql.query#200" - } - } - }, - "post": { - "description": "Executes a SQL request", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-search-api.html" - }, - "operationId": "sql.query#0", - "parameters": [ - { - "$ref": "#/components/parameters/sql.query#format" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/sql.query" - }, - "responses": { - "200": { - "$ref": "#/components/responses/sql.query#200" - } - } - } - }, - "/_sql/translate": { - "get": { - "description": "Translates SQL into Elasticsearch queries", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-translate-api.html" - }, - "operationId": "sql.translate#1", - "requestBody": { - "$ref": "#/components/requestBodies/sql.translate" - }, - "responses": { - "200": { - "$ref": "#/components/responses/sql.translate#200" - } - } - }, - "post": { - "description": "Translates SQL into Elasticsearch queries", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-translate-api.html" - }, - "operationId": "sql.translate#0", - "requestBody": { - "$ref": "#/components/requestBodies/sql.translate" - }, - "responses": { - "200": { - "$ref": "#/components/responses/sql.translate#200" - } - } - } - }, - "/_ssl/certificates": { - "get": { - "description": "Retrieves information about the X.509 certificates used to encrypt communications in the cluster.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-ssl.html" - }, - "operationId": "ssl.certificates#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ssl.certificates:CertificateInformation" - } - } - } - } - } - } - } - }, - "/_synonyms/{id}": { - "get": { - "description": "Retrieves a synonym set", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-synonyms-set.html" - }, - "operationId": "synonyms.get_synonym#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "\"The id of the synonyms set to be retrieved", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "from", - "description": "Starting offset for query rules to be retrieved", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "size", - "description": "specifies a max number of query rules to retrieve", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "synonyms_set": { - "type": "array", - "items": { - "$ref": "#/components/schemas/synonyms._types:SynonymRuleRead" - } - } - }, - "required": [ - "count", - "synonyms_set" - ] - } - } - } - } - } - }, - "put": { - "description": "Creates or updates a synonyms set", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-synonyms-set.html" - }, - "operationId": "synonyms.put_synonym#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "The id of the synonyms set to be created or updated", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "synonyms_set": { - "description": "The synonym set information to update", - "type": "array", - "items": { - "$ref": "#/components/schemas/synonyms._types:SynonymRule" - } - } - }, - "required": [ - "synonyms_set" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "result": { - "$ref": "#/components/schemas/_types:Result" - }, - "reload_analyzers_details": { - "$ref": "#/components/schemas/indices.reload_search_analyzers:ReloadDetails" - } - }, - "required": [ - "result", - "reload_analyzers_details" - ] - } - } - } - } - } - }, - "delete": { - "description": "Deletes a synonym set", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-synonyms-set.html" - }, - "operationId": "synonyms.delete_synonym#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "The id of the synonyms set to be deleted", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_synonyms/{set_id}/{rule_id}": { - "get": { - "description": "Retrieves a synonym rule from a synonym set", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-synonym-rule.html" - }, - "operationId": "synonyms.get_synonym_rule#0", - "parameters": [ - { - "in": "path", - "name": "set_id", - "description": "The id of the synonym set to retrieve the synonym rule from", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "path", - "name": "rule_id", - "description": "The id of the synonym rule to retrieve", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/synonyms._types:SynonymRuleRead" - } - } - } - } - } - }, - "put": { - "description": "Creates or updates a synonym rule in a synonym set", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-synonym-rule.html" - }, - "operationId": "synonyms.put_synonym_rule#0", - "parameters": [ - { - "in": "path", - "name": "set_id", - "description": "The id of the synonym set to be updated with the synonym rule", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "path", - "name": "rule_id", - "description": "The id of the synonym rule to be updated or created", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "synonyms": { - "type": "array", - "items": { - "$ref": "#/components/schemas/synonyms._types:SynonymString" - } - } - }, - "required": [ - "synonyms" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/synonyms._types:SynonymsUpdateResult" - } - } - } - } - } - }, - "delete": { - "description": "Deletes a synonym rule in a synonym set", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-synonym-rule.html" - }, - "operationId": "synonyms.delete_synonym_rule#0", - "parameters": [ - { - "in": "path", - "name": "set_id", - "description": "The id of the synonym set to be updated", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "path", - "name": "rule_id", - "description": "The id of the synonym rule to be deleted", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/synonyms._types:SynonymsUpdateResult" - } - } - } - } - } - } - }, - "/_synonyms": { - "get": { - "description": "Retrieves a summary of all defined synonym sets", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-synonyms-sets.html" - }, - "operationId": "synonyms.get_synonyms_sets#0", - "parameters": [ - { - "in": "query", - "name": "from", - "description": "Starting offset", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "size", - "description": "specifies a max number of results to get", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/synonyms.get_synonyms_sets:SynonymsSetItem" - } - } - }, - "required": [ - "count", - "results" - ] - } - } - } - } - } - } - }, - "/_tasks/_cancel": { - "post": { - "description": "Cancels a task, if it can be cancelled through an API.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html" - }, - "operationId": "tasks.cancel#0", - "parameters": [ - { - "$ref": "#/components/parameters/tasks.cancel#actions" - }, - { - "$ref": "#/components/parameters/tasks.cancel#nodes" - }, - { - "$ref": "#/components/parameters/tasks.cancel#parent_task_id" - }, - { - "$ref": "#/components/parameters/tasks.cancel#wait_for_completion" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/tasks.cancel#200" - } - } - } - }, - "/_tasks/{task_id}/_cancel": { - "post": { - "description": "Cancels a task, if it can be cancelled through an API.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html" - }, - "operationId": "tasks.cancel#1", - "parameters": [ - { - "$ref": "#/components/parameters/tasks.cancel#task_id" - }, - { - "$ref": "#/components/parameters/tasks.cancel#actions" - }, - { - "$ref": "#/components/parameters/tasks.cancel#nodes" - }, - { - "$ref": "#/components/parameters/tasks.cancel#parent_task_id" - }, - { - "$ref": "#/components/parameters/tasks.cancel#wait_for_completion" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/tasks.cancel#200" - } - } - } - }, - "/_tasks/{task_id}": { - "get": { - "description": "Returns information about a task.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html" - }, - "operationId": "tasks.get#0", - "parameters": [ - { - "in": "path", - "name": "task_id", - "description": "ID of the task.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_completion", - "description": "If `true`, the request blocks until the task has completed.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "completed": { - "type": "boolean" - }, - "task": { - "$ref": "#/components/schemas/tasks._types:TaskInfo" - }, - "response": { - "type": "object" - }, - "error": { - "$ref": "#/components/schemas/_types:ErrorCause" - } - }, - "required": [ - "completed", - "task" - ] - } - } - } - } - } - } - }, - "/_tasks": { - "get": { - "description": "Returns a list of tasks.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html" - }, - "operationId": "tasks.list#0", - "parameters": [ - { - "in": "query", - "name": "actions", - "description": "Comma-separated list or wildcard expression of actions used to limit the request.", - "deprecated": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "style": "form" - }, - { - "in": "query", - "name": "detailed", - "description": "If `true`, the response includes detailed information about shard recoveries.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "group_by", - "description": "Key used to group tasks in the response.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/tasks._types:GroupBy" - }, - "style": "form" - }, - { - "in": "query", - "name": "node_id", - "description": "Comma-separated list of node IDs or names used to limit returned information.", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form" - }, - { - "in": "query", - "name": "parent_task_id", - "description": "Parent task ID used to limit returned information. To return all tasks, omit this parameter or use a value of `-1`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "form" - }, - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_completion", - "description": "If `true`, the request blocks until the operation is complete.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/tasks._types:TaskListResponseBase" - } - } - } - } - } - } - }, - "/{index}/_terms_enum": { - "get": { - "description": "The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html" - }, - "operationId": "terms_enum#0", - "parameters": [ - { - "$ref": "#/components/parameters/terms_enum#index" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/terms_enum" - }, - "responses": { - "200": { - "$ref": "#/components/responses/terms_enum#200" - } - } - }, - "post": { - "description": "The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html" - }, - "operationId": "terms_enum#1", - "parameters": [ - { - "$ref": "#/components/parameters/terms_enum#index" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/terms_enum" - }, - "responses": { - "200": { - "$ref": "#/components/responses/terms_enum#200" - } - } - } - }, - "/{index}/_termvectors/{id}": { - "get": { - "description": "Returns information and statistics about terms in the fields of a particular document.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" - }, - "operationId": "termvectors#0", - "parameters": [ - { - "$ref": "#/components/parameters/termvectors#index" - }, - { - "$ref": "#/components/parameters/termvectors#id" - }, - { - "$ref": "#/components/parameters/termvectors#fields" - }, - { - "$ref": "#/components/parameters/termvectors#field_statistics" - }, - { - "$ref": "#/components/parameters/termvectors#offsets" - }, - { - "$ref": "#/components/parameters/termvectors#payloads" - }, - { - "$ref": "#/components/parameters/termvectors#positions" - }, - { - "$ref": "#/components/parameters/termvectors#preference" - }, - { - "$ref": "#/components/parameters/termvectors#realtime" - }, - { - "$ref": "#/components/parameters/termvectors#routing" - }, - { - "$ref": "#/components/parameters/termvectors#term_statistics" - }, - { - "$ref": "#/components/parameters/termvectors#version" - }, - { - "$ref": "#/components/parameters/termvectors#version_type" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/termvectors" - }, - "responses": { - "200": { - "$ref": "#/components/responses/termvectors#200" - } - } - }, - "post": { - "description": "Returns information and statistics about terms in the fields of a particular document.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" - }, - "operationId": "termvectors#1", - "parameters": [ - { - "$ref": "#/components/parameters/termvectors#index" - }, - { - "$ref": "#/components/parameters/termvectors#id" - }, - { - "$ref": "#/components/parameters/termvectors#fields" - }, - { - "$ref": "#/components/parameters/termvectors#field_statistics" - }, - { - "$ref": "#/components/parameters/termvectors#offsets" - }, - { - "$ref": "#/components/parameters/termvectors#payloads" - }, - { - "$ref": "#/components/parameters/termvectors#positions" - }, - { - "$ref": "#/components/parameters/termvectors#preference" - }, - { - "$ref": "#/components/parameters/termvectors#realtime" - }, - { - "$ref": "#/components/parameters/termvectors#routing" - }, - { - "$ref": "#/components/parameters/termvectors#term_statistics" - }, - { - "$ref": "#/components/parameters/termvectors#version" - }, - { - "$ref": "#/components/parameters/termvectors#version_type" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/termvectors" - }, - "responses": { - "200": { - "$ref": "#/components/responses/termvectors#200" - } - } - } - }, - "/{index}/_termvectors": { - "get": { - "description": "Returns information and statistics about terms in the fields of a particular document.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" - }, - "operationId": "termvectors#2", - "parameters": [ - { - "$ref": "#/components/parameters/termvectors#index" - }, - { - "$ref": "#/components/parameters/termvectors#fields" - }, - { - "$ref": "#/components/parameters/termvectors#field_statistics" - }, - { - "$ref": "#/components/parameters/termvectors#offsets" - }, - { - "$ref": "#/components/parameters/termvectors#payloads" - }, - { - "$ref": "#/components/parameters/termvectors#positions" - }, - { - "$ref": "#/components/parameters/termvectors#preference" - }, - { - "$ref": "#/components/parameters/termvectors#realtime" - }, - { - "$ref": "#/components/parameters/termvectors#routing" - }, - { - "$ref": "#/components/parameters/termvectors#term_statistics" - }, - { - "$ref": "#/components/parameters/termvectors#version" - }, - { - "$ref": "#/components/parameters/termvectors#version_type" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/termvectors" - }, - "responses": { - "200": { - "$ref": "#/components/responses/termvectors#200" - } - } - }, - "post": { - "description": "Returns information and statistics about terms in the fields of a particular document.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html" - }, - "operationId": "termvectors#3", - "parameters": [ - { - "$ref": "#/components/parameters/termvectors#index" - }, - { - "$ref": "#/components/parameters/termvectors#fields" - }, - { - "$ref": "#/components/parameters/termvectors#field_statistics" - }, - { - "$ref": "#/components/parameters/termvectors#offsets" - }, - { - "$ref": "#/components/parameters/termvectors#payloads" - }, - { - "$ref": "#/components/parameters/termvectors#positions" - }, - { - "$ref": "#/components/parameters/termvectors#preference" - }, - { - "$ref": "#/components/parameters/termvectors#realtime" - }, - { - "$ref": "#/components/parameters/termvectors#routing" - }, - { - "$ref": "#/components/parameters/termvectors#term_statistics" - }, - { - "$ref": "#/components/parameters/termvectors#version" - }, - { - "$ref": "#/components/parameters/termvectors#version_type" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/termvectors" - }, - "responses": { - "200": { - "$ref": "#/components/responses/termvectors#200" - } - } - } - }, - "/_text_structure/find_structure": { - "post": { - "description": "Finds the structure of a text file. The text file must contain data that is suitable to be ingested into Elasticsearch.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/find-structure.html" - }, - "operationId": "text_structure.find_structure#0", - "parameters": [ - { - "in": "query", - "name": "charset", - "description": "The text’s character set. It must be a character set that is supported by the JVM that Elasticsearch uses. For example, UTF-8, UTF-16LE, windows-1252, or EUC-JP. If this parameter is not specified, the structure finder chooses an appropriate character set.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "column_names", - "description": "If you have set format to delimited, you can specify the column names in a comma-separated list. If this parameter is not specified, the structure finder uses the column names from the header row of the text. If the text does not have a header role, columns are named \"column1\", \"column2\", \"column3\", etc.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "delimiter", - "description": "If you have set format to delimited, you can specify the character used to delimit the values in each row. Only a single character is supported; the delimiter cannot have multiple characters. By default, the API considers the following possibilities: comma, tab, semi-colon, and pipe (|). In this default scenario, all rows must have the same number of fields for the delimited format to be detected. If you specify a delimiter, up to 10% of the rows can have a different number of columns than the first row.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "explain", - "description": "If this parameter is set to true, the response includes a field named explanation, which is an array of strings that indicate how the structure finder produced its result.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "format", - "description": "The high level structure of the text. Valid values are ndjson, xml, delimited, and semi_structured_text. By default, the API chooses the format. In this default scenario, all rows must have the same number of fields for a delimited format to be detected. If the format is set to delimited and the delimiter is not set, however, the API tolerates up to 5% of rows that have a different number of columns than the first row.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "grok_pattern", - "description": "If you have set format to semi_structured_text, you can specify a Grok pattern that is used to extract fields from every message in the text. The name of the timestamp field in the Grok pattern must match what is specified in the timestamp_field parameter. If that parameter is not specified, the name of the timestamp field in the Grok pattern must match \"timestamp\". If grok_pattern is not specified, the structure finder creates a Grok pattern.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "has_header_row", - "description": "If you have set format to delimited, you can use this parameter to indicate whether the column names are in the first row of the text. If this parameter is not specified, the structure finder guesses based on the similarity of the first row of the text to other rows.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "line_merge_size_limit", - "description": "The maximum number of characters in a message when lines are merged to form messages while analyzing semi-structured text. If you have extremely long messages you may need to increase this, but be aware that this may lead to very long processing times if the way to group lines into messages is misdetected.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:uint" - }, - "style": "form" - }, - { - "in": "query", - "name": "lines_to_sample", - "description": "The number of lines to include in the structural analysis, starting from the beginning of the text. The minimum is 2; If the value of this parameter is greater than the number of lines in the text, the analysis proceeds (as long as there are at least two lines in the text) for all of the lines.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:uint" - }, - "style": "form" - }, - { - "in": "query", - "name": "quote", - "description": "If you have set format to delimited, you can specify the character used to quote the values in each row if they contain newlines or the delimiter character. Only a single character is supported. If this parameter is not specified, the default value is a double quote (\"). If your delimited text format does not use quoting, a workaround is to set this argument to a character that does not appear anywhere in the sample.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "should_trim_fields", - "description": "If you have set format to delimited, you can specify whether values between delimiters should have whitespace trimmed from them. If this parameter is not specified and the delimiter is pipe (|), the default value is true. Otherwise, the default value is false.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Sets the maximum amount of time that the structure analysis make take. If the analysis is still running when the timeout expires then it will be aborted.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "timestamp_field", - "description": "Optional parameter to specify the timestamp field in the file", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Field" - }, - "style": "form" - }, - { - "in": "query", - "name": "timestamp_format", - "description": "The Java time format of the timestamp field in the text.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object" - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "charset": { - "type": "string" - }, - "has_header_row": { - "type": "boolean" - }, - "has_byte_order_marker": { - "type": "boolean" - }, - "format": { - "type": "string" - }, - "field_stats": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/text_structure.find_structure:FieldStat" - } - }, - "sample_start": { - "type": "string" - }, - "num_messages_analyzed": { - "type": "number" - }, - "mappings": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" - }, - "quote": { - "type": "string" - }, - "delimiter": { - "type": "string" - }, - "need_client_timezone": { - "type": "boolean" - }, - "num_lines_analyzed": { - "type": "number" - }, - "column_names": { - "type": "array", - "items": { - "type": "string" - } - }, - "explanation": { - "type": "array", - "items": { - "type": "string" - } - }, - "grok_pattern": { - "type": "string" - }, - "multiline_start_pattern": { - "type": "string" - }, - "exclude_lines_pattern": { - "type": "string" - }, - "java_timestamp_formats": { - "type": "array", - "items": { - "type": "string" - } - }, - "joda_timestamp_formats": { - "type": "array", - "items": { - "type": "string" - } - }, - "timestamp_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "should_trim_fields": { - "type": "boolean" - }, - "ingest_pipeline": { - "$ref": "#/components/schemas/ingest._types:PipelineConfig" - } - }, - "required": [ - "charset", - "has_byte_order_marker", - "format", - "field_stats", - "sample_start", - "num_messages_analyzed", - "mappings", - "need_client_timezone", - "num_lines_analyzed", - "ingest_pipeline" - ] - } - } - } - } - } - } - }, - "/_transform/{transform_id}": { - "get": { - "description": "Retrieves configuration information for transforms.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html" - }, - "operationId": "transform.get_transform#0", - "parameters": [ - { - "$ref": "#/components/parameters/transform.get_transform#transform_id" - }, - { - "$ref": "#/components/parameters/transform.get_transform#allow_no_match" - }, - { - "$ref": "#/components/parameters/transform.get_transform#from" - }, - { - "$ref": "#/components/parameters/transform.get_transform#size" - }, - { - "$ref": "#/components/parameters/transform.get_transform#exclude_generated" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/transform.get_transform#200" - } - } - }, - "put": { - "description": "Instantiates a transform.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html" - }, - "operationId": "transform.put_transform#0", - "parameters": [ - { - "in": "path", - "name": "transform_id", - "description": "Identifier for the transform. This identifier can contain lowercase alphanumeric characters (a-z and 0-9),\nhyphens, and underscores. It has a 64 character limit and must start and end with alphanumeric characters.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "defer_validation", - "description": "When the transform is created, a series of validations occur to ensure its success. For example, there is a\ncheck for the existence of the source indices and a check that the destination index is not part of the source\nindex pattern. You can use this parameter to skip the checks, for example when the source index does not exist\nuntil after the transform is created. The validations are always run when you start the transform, however, with\nthe exception of privilege checks.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "dest": { - "$ref": "#/components/schemas/transform._types:Destination" - }, - "description": { - "description": "Free text description of the transform.", - "type": "string" - }, - "frequency": { - "$ref": "#/components/schemas/_types:Duration" - }, - "latest": { - "$ref": "#/components/schemas/transform._types:Latest" - }, - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "pivot": { - "$ref": "#/components/schemas/transform._types:Pivot" - }, - "retention_policy": { - "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" - }, - "settings": { - "$ref": "#/components/schemas/transform._types:Settings" - }, - "source": { - "$ref": "#/components/schemas/transform._types:Source" - }, - "sync": { - "$ref": "#/components/schemas/transform._types:SyncContainer" - } - }, - "required": [ - "dest", - "source" - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - }, - "delete": { - "description": "Deletes an existing transform.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-transform.html" - }, - "operationId": "transform.delete_transform#0", - "parameters": [ - { - "in": "path", - "name": "transform_id", - "description": "Identifier for the transform.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "force", - "description": "If this value is false, the transform must be stopped before it can be deleted. If true, the transform is\ndeleted regardless of its current state.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_transform": { - "get": { - "description": "Retrieves configuration information for transforms.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html" - }, - "operationId": "transform.get_transform#1", - "parameters": [ - { - "$ref": "#/components/parameters/transform.get_transform#allow_no_match" - }, - { - "$ref": "#/components/parameters/transform.get_transform#from" - }, - { - "$ref": "#/components/parameters/transform.get_transform#size" - }, - { - "$ref": "#/components/parameters/transform.get_transform#exclude_generated" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/transform.get_transform#200" - } - } - } - }, - "/_transform/{transform_id}/_stats": { - "get": { - "description": "Retrieves usage information for transforms.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform-stats.html" - }, - "operationId": "transform.get_transform_stats#0", - "parameters": [ - { - "in": "path", - "name": "transform_id", - "description": "Identifier for the transform. It can be a transform identifier or a\nwildcard expression. You can get information for all transforms by using\n`_all`, by specifying `*` as the ``, or by omitting the\n``.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no transforms that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf this parameter is false, the request returns a 404 status code when\nthere are no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "from", - "description": "Skips the specified number of transforms.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of transforms to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Controls the time to wait for the stats", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "transforms": { - "type": "array", - "items": { - "$ref": "#/components/schemas/transform.get_transform_stats:TransformStats" - } - } - }, - "required": [ - "count", - "transforms" - ] - } - } - } - } - } - } - }, - "/_transform/{transform_id}/_preview": { - "get": { - "description": "Previews a transform.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" - }, - "operationId": "transform.preview_transform#0", - "parameters": [ - { - "$ref": "#/components/parameters/transform.preview_transform#transform_id" - }, - { - "$ref": "#/components/parameters/transform.preview_transform#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/transform.preview_transform" - }, - "responses": { - "200": { - "$ref": "#/components/responses/transform.preview_transform#200" - } - } - }, - "post": { - "description": "Previews a transform.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" - }, - "operationId": "transform.preview_transform#1", - "parameters": [ - { - "$ref": "#/components/parameters/transform.preview_transform#transform_id" - }, - { - "$ref": "#/components/parameters/transform.preview_transform#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/transform.preview_transform" - }, - "responses": { - "200": { - "$ref": "#/components/responses/transform.preview_transform#200" - } - } - } - }, - "/_transform/_preview": { - "get": { - "description": "Previews a transform.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" - }, - "operationId": "transform.preview_transform#2", - "parameters": [ - { - "$ref": "#/components/parameters/transform.preview_transform#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/transform.preview_transform" - }, - "responses": { - "200": { - "$ref": "#/components/responses/transform.preview_transform#200" - } - } - }, - "post": { - "description": "Previews a transform.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html" - }, - "operationId": "transform.preview_transform#3", - "parameters": [ - { - "$ref": "#/components/parameters/transform.preview_transform#timeout" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/transform.preview_transform" - }, - "responses": { - "200": { - "$ref": "#/components/responses/transform.preview_transform#200" - } - } - } - }, - "/_transform/{transform_id}/_reset": { - "post": { - "description": "Resets an existing transform.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/reset-transform.html" - }, - "operationId": "transform.reset_transform#0", - "parameters": [ - { - "in": "path", - "name": "transform_id", - "description": "Identifier for the transform. This identifier can contain lowercase alphanumeric characters (a-z and 0-9),\nhyphens, and underscores. It has a 64 character limit and must start and end with alphanumeric characters.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "force", - "description": "If this value is `true`, the transform is reset regardless of its current state. If it's `false`, the transform\nmust be stopped before it can be reset.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_transform/{transform_id}/_schedule_now": { - "post": { - "description": "Schedules now a transform.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/schedule-now-transform.html" - }, - "operationId": "transform.schedule_now_transform#0", - "parameters": [ - { - "in": "path", - "name": "transform_id", - "description": "Identifier for the transform.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "timeout", - "description": "Controls the time to wait for the scheduling to take place", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_transform/{transform_id}/_start": { - "post": { - "description": "Starts one or more transforms.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/start-transform.html" - }, - "operationId": "transform.start_transform#0", - "parameters": [ - { - "in": "path", - "name": "transform_id", - "description": "Identifier for the transform.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "from", - "description": "Restricts the set of transformed entities to those changed after this time. Relative times like now-30d are supported. Only applicable for continuous transforms.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_transform/{transform_id}/_stop": { - "post": { - "description": "Stops one or more transforms.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-transform.html" - }, - "operationId": "transform.stop_transform#0", - "parameters": [ - { - "in": "path", - "name": "transform_id", - "description": "Identifier for the transform. To stop multiple transforms, use a comma-separated list or a wildcard expression.\nTo stop all transforms, use `_all` or `*` as the identifier.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request: contains wildcard expressions and there are no transforms that match;\ncontains the `_all` string or no identifiers and there are no matches; contains wildcard expressions and there\nare only partial matches.\n\nIf it is true, the API returns a successful acknowledgement message when there are no matches. When there are\nonly partial matches, the API stops the appropriate transforms.\n\nIf it is false, the request returns a 404 status code when there are no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "force", - "description": "If it is true, the API forcefully stops the transforms.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response when `wait_for_completion` is `true`. If no response is received before the\ntimeout expires, the request returns a timeout exception. However, the request continues processing and\neventually moves the transform to a STOPPED state.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_checkpoint", - "description": "If it is true, the transform does not completely stop until the current checkpoint is completed. If it is false,\nthe transform stops as soon as possible.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_completion", - "description": "If it is true, the API blocks until the indexer state completely stops. If it is false, the API returns\nimmediately and the indexer is stopped asynchronously in the background.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_transform/{transform_id}/_update": { - "post": { - "description": "Updates certain properties of a transform.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/update-transform.html" - }, - "operationId": "transform.update_transform#0", - "parameters": [ - { - "in": "path", - "name": "transform_id", - "description": "Identifier for the transform.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "defer_validation", - "description": "When true, deferrable validations are not run. This behavior may be\ndesired if the source index does not exist until after the transform is\ncreated.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the\ntimeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "dest": { - "$ref": "#/components/schemas/transform._types:Destination" - }, - "description": { - "description": "Free text description of the transform.", - "type": "string" - }, - "frequency": { - "$ref": "#/components/schemas/_types:Duration" - }, - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "source": { - "$ref": "#/components/schemas/transform._types:Source" - }, - "settings": { - "$ref": "#/components/schemas/transform._types:Settings" - }, - "sync": { - "$ref": "#/components/schemas/transform._types:SyncContainer" - }, - "retention_policy": { - "description": "Defines a retention policy for the transform. Data that meets the defined\ncriteria is deleted from the destination index.", - "oneOf": [ - { - "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" - }, - { - "nullable": true, - "type": "string" - } - ] - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "authorization": { - "$ref": "#/components/schemas/ml._types:TransformAuthorization" - }, - "create_time": { - "type": "number" - }, - "description": { - "type": "string" - }, - "dest": { - "$ref": "#/components/schemas/_global.reindex:Destination" - }, - "frequency": { - "$ref": "#/components/schemas/_types:Duration" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "latest": { - "$ref": "#/components/schemas/transform._types:Latest" - }, - "pivot": { - "$ref": "#/components/schemas/transform._types:Pivot" - }, - "retention_policy": { - "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" - }, - "settings": { - "$ref": "#/components/schemas/transform._types:Settings" - }, - "source": { - "$ref": "#/components/schemas/_global.reindex:Source" - }, - "sync": { - "$ref": "#/components/schemas/transform._types:SyncContainer" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - } - }, - "required": [ - "create_time", - "description", - "dest", - "id", - "settings", - "source", - "version" - ] - } - } - } - } - } - } - }, - "/_transform/_upgrade": { - "post": { - "description": "Upgrades all transforms.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/upgrade-transforms.html" - }, - "operationId": "transform.upgrade_transforms#0", - "parameters": [ - { - "in": "query", - "name": "dry_run", - "description": "When true, the request checks for updates but does not run them.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and\nreturns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "needs_update": { - "description": "The number of transforms that need to be upgraded.", - "type": "number" - }, - "no_action": { - "description": "The number of transforms that don’t require upgrading.", - "type": "number" - }, - "updated": { - "description": "The number of transforms that have been upgraded.", - "type": "number" - } - }, - "required": [ - "needs_update", - "no_action", - "updated" - ] - } - } - } - } - } - } - }, - "/{index}/_update/{id}": { - "post": { - "description": "Updates a document with a script or partial document.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html" - }, - "operationId": "update#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "The name of the index", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - { - "in": "path", - "name": "id", - "description": "Document ID", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "if_primary_term", - "description": "Only perform the operation if the document has this primary term.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "if_seq_no", - "description": "Only perform the operation if the document has this sequence number.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "style": "form" - }, - { - "in": "query", - "name": "lang", - "description": "The script language.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "refresh", - "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search, if 'wait_for' then wait for a refresh to make this operation\nvisible to search, if 'false' do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - { - "in": "query", - "name": "require_alias", - "description": "If true, the destination must be an index alias.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "retry_on_conflict", - "description": "Specify how many times should the operation be retried when a conflict occurs.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period to wait for dynamic mapping updates and active shards.\nThis guarantees Elasticsearch waits for at least the timeout before failing.\nThe actual wait time could be longer, particularly when multiple waits occur.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operations.\nSet to 'all' or any positive integer up to the total number of shards in the index\n(number_of_replicas+1). Defaults to 1 meaning the primary shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - }, - { - "in": "query", - "name": "_source", - "description": "Set to false to disable source retrieval. You can also specify a comma-separated\nlist of the fields you want to retrieve.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" - }, - "style": "form" - }, - { - "in": "query", - "name": "_source_excludes", - "description": "Specify the source fields you want to exclude.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - { - "in": "query", - "name": "_source_includes", - "description": "Specify the source fields you want to retrieve.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "detect_noop": { - "description": "Set to false to disable setting 'result' in the response\nto 'noop' if no change to the document occurred.", - "type": "boolean" - }, - "doc": { - "description": "A partial update to an existing document.", - "type": "object" - }, - "doc_as_upsert": { - "description": "Set to true to use the contents of 'doc' as the value of 'upsert'", - "type": "boolean" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "scripted_upsert": { - "description": "Set to true to execute the script whether or not the document exists.", - "type": "boolean" - }, - "_source": { - "$ref": "#/components/schemas/_global.search._types:SourceConfig" - }, - "upsert": { - "description": "If the document does not already exist, the contents of 'upsert' are inserted as a\nnew document. If the document exists, the 'script' is executed.", - "type": "object" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_global.update:UpdateWriteResponseBase" - } - } - } - } - } - } - }, - "/{index}/_update_by_query": { - "post": { - "description": "Performs an update on every document in the index without changing the source,\nfor example to pick up a mapping change.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html" - }, - "operationId": "update_by_query#0", - "parameters": [ - { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams or indices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "analyzer", - "description": "Analyzer to use for the query string.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "analyze_wildcard", - "description": "If `true`, wildcard and prefix queries are analyzed.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "conflicts", - "description": "What to do if update by query hits version conflicts: `abort` or `proceed`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Conflicts" - }, - "style": "form" - }, - { - "in": "query", - "name": "default_operator", - "description": "The default operator for query string query: `AND` or `OR`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "style": "form" - }, - { - "in": "query", - "name": "df", - "description": "Field to use as default where no field prefix is given in the query string.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - { - "in": "query", - "name": "from", - "description": "Starting offset (default: 0)", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "lenient", - "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "max_docs", - "description": "Maximum number of documents to process.\nDefaults to all documents.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "pipeline", - "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "preference", - "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "in": "query", - "name": "refresh", - "description": "If `true`, Elasticsearch refreshes affected shards to make the operation visible to search.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "request_cache", - "description": "If `true`, the request cache is used for this request.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "requests_per_second", - "description": "The throttle for this request in sub-requests per second.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - { - "in": "query", - "name": "scroll", - "description": "Period to retain the search context for scrolling.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "scroll_size", - "description": "Size of the scroll request that powers the operation.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "search_timeout", - "description": "Explicit timeout for each search request.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "search_type", - "description": "The type of the search operation. Available options: `query_then_fetch`, `dfs_query_then_fetch`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SearchType" - }, - "style": "form" - }, - { - "in": "query", - "name": "slices", - "description": "The number of slices this task should be divided into.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Slices" - }, - "style": "form" - }, - { - "in": "query", - "name": "sort", - "description": "A comma-separated list of : pairs.", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form" - }, - { - "in": "query", - "name": "stats", - "description": "Specific `tag` of the request for logging and statistical purposes.", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form" - }, - { - "in": "query", - "name": "terminate_after", - "description": "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.\nUse with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - { - "in": "query", - "name": "timeout", - "description": "Period each update request waits for the following operations: dynamic mapping updates, waiting for active shards.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - { - "in": "query", - "name": "version", - "description": "If `true`, returns the document version as part of a hit.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "version_type", - "description": "Should the document increment the version number (internal) on hit or not (reindex)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - }, - { - "in": "query", - "name": "wait_for_completion", - "description": "If `true`, the request blocks until the operation is complete.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "max_docs": { - "description": "The maximum number of documents to update.", - "type": "number" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "slice": { - "$ref": "#/components/schemas/_types:SlicedScroll" - }, - "conflicts": { - "$ref": "#/components/schemas/_types:Conflicts" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "batches": { - "type": "number" - }, - "failures": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:BulkIndexByScrollFailure" - } - }, - "noops": { - "type": "number" - }, - "deleted": { - "type": "number" - }, - "requests_per_second": { - "type": "number" - }, - "retries": { - "$ref": "#/components/schemas/_types:Retries" - }, - "task": { - "$ref": "#/components/schemas/_types:TaskId" - }, - "timed_out": { - "type": "boolean" - }, - "took": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "total": { - "type": "number" - }, - "updated": { - "type": "number" - }, - "version_conflicts": { - "type": "number" - }, - "throttled": { - "$ref": "#/components/schemas/_types:Duration" - }, - "throttled_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "throttled_until": { - "$ref": "#/components/schemas/_types:Duration" - }, - "throttled_until_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - } - } - } - } - } - } - } - }, - "/_update_by_query/{task_id}/_rethrottle": { - "post": { - "description": "Changes the number of requests per second for a particular Update By Query operation.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update-by-query.html" - }, - "operationId": "update_by_query_rethrottle#0", - "parameters": [ - { - "in": "path", - "name": "task_id", - "description": "The ID for the task.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - { - "in": "query", - "name": "requests_per_second", - "description": "The throttle for this request in sub-requests per second.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_global.update_by_query_rethrottle:UpdateByQueryRethrottleNode" - } - } - }, - "required": [ - "nodes" - ] - } - } - } - } - } - } - }, - "/_watcher/watch/{watch_id}/_ack": { - "put": { - "description": "Acknowledges a watch, manually throttling the execution of the watch's actions.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html" - }, - "operationId": "watcher.ack_watch#0", - "parameters": [ - { - "$ref": "#/components/parameters/watcher.ack_watch#watch_id" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/watcher.ack_watch#200" - } - } - }, - "post": { - "description": "Acknowledges a watch, manually throttling the execution of the watch's actions.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html" - }, - "operationId": "watcher.ack_watch#1", - "parameters": [ - { - "$ref": "#/components/parameters/watcher.ack_watch#watch_id" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/watcher.ack_watch#200" - } - } - } - }, - "/_watcher/watch/{watch_id}/_ack/{action_id}": { - "put": { - "description": "Acknowledges a watch, manually throttling the execution of the watch's actions.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html" - }, - "operationId": "watcher.ack_watch#2", - "parameters": [ - { - "$ref": "#/components/parameters/watcher.ack_watch#watch_id" - }, - { - "$ref": "#/components/parameters/watcher.ack_watch#action_id" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/watcher.ack_watch#200" - } - } - }, - "post": { - "description": "Acknowledges a watch, manually throttling the execution of the watch's actions.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html" - }, - "operationId": "watcher.ack_watch#3", - "parameters": [ - { - "$ref": "#/components/parameters/watcher.ack_watch#watch_id" - }, - { - "$ref": "#/components/parameters/watcher.ack_watch#action_id" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/watcher.ack_watch#200" - } - } - } - }, - "/_watcher/watch/{watch_id}/_activate": { - "put": { - "description": "Activates a currently inactive watch.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html" - }, - "operationId": "watcher.activate_watch#0", - "parameters": [ - { - "$ref": "#/components/parameters/watcher.activate_watch#watch_id" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/watcher.activate_watch#200" - } - } - }, - "post": { - "description": "Activates a currently inactive watch.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html" - }, - "operationId": "watcher.activate_watch#1", - "parameters": [ - { - "$ref": "#/components/parameters/watcher.activate_watch#watch_id" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/watcher.activate_watch#200" - } - } - } - }, - "/_watcher/watch/{watch_id}/_deactivate": { - "put": { - "description": "Deactivates a currently active watch.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html" - }, - "operationId": "watcher.deactivate_watch#0", - "parameters": [ - { - "$ref": "#/components/parameters/watcher.deactivate_watch#watch_id" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/watcher.deactivate_watch#200" - } - } - }, - "post": { - "description": "Deactivates a currently active watch.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html" - }, - "operationId": "watcher.deactivate_watch#1", - "parameters": [ - { - "$ref": "#/components/parameters/watcher.deactivate_watch#watch_id" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/watcher.deactivate_watch#200" - } - } - } - }, - "/_watcher/watch/{id}": { - "get": { - "description": "Retrieves a watch by its ID.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-get-watch.html" - }, - "operationId": "watcher.get_watch#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Watch ID", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "found": { - "type": "boolean" - }, - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "status": { - "$ref": "#/components/schemas/watcher._types:WatchStatus" - }, - "watch": { - "$ref": "#/components/schemas/watcher._types:Watch" - }, - "_primary_term": { - "type": "number" - }, - "_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "_version": { - "$ref": "#/components/schemas/_types:VersionNumber" - } - }, - "required": [ - "found", - "_id" - ] - } - } - } - } - } - }, - "put": { - "description": "Creates a new watch, or updates an existing one.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html" - }, - "operationId": "watcher.put_watch#0", - "parameters": [ - { - "$ref": "#/components/parameters/watcher.put_watch#id" - }, - { - "$ref": "#/components/parameters/watcher.put_watch#active" - }, - { - "$ref": "#/components/parameters/watcher.put_watch#if_primary_term" - }, - { - "$ref": "#/components/parameters/watcher.put_watch#if_seq_no" - }, - { - "$ref": "#/components/parameters/watcher.put_watch#version" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/watcher.put_watch" - }, - "responses": { - "200": { - "$ref": "#/components/responses/watcher.put_watch#200" - } - } - }, - "post": { - "description": "Creates a new watch, or updates an existing one.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html" - }, - "operationId": "watcher.put_watch#1", - "parameters": [ - { - "$ref": "#/components/parameters/watcher.put_watch#id" - }, - { - "$ref": "#/components/parameters/watcher.put_watch#active" - }, - { - "$ref": "#/components/parameters/watcher.put_watch#if_primary_term" - }, - { - "$ref": "#/components/parameters/watcher.put_watch#if_seq_no" - }, - { - "$ref": "#/components/parameters/watcher.put_watch#version" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/watcher.put_watch" - }, - "responses": { - "200": { - "$ref": "#/components/responses/watcher.put_watch#200" - } - } - }, - "delete": { - "description": "Removes a watch from Watcher.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-delete-watch.html" - }, - "operationId": "watcher.delete_watch#0", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Watch ID", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "found": { - "type": "boolean" - }, - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_version": { - "$ref": "#/components/schemas/_types:VersionNumber" - } - }, - "required": [ - "found", - "_id", - "_version" - ] - } - } - } - } - } - } - }, - "/_watcher/watch/{id}/_execute": { - "put": { - "description": "Forces the execution of a stored watch.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html" - }, - "operationId": "watcher.execute_watch#0", - "parameters": [ - { - "$ref": "#/components/parameters/watcher.execute_watch#id" - }, - { - "$ref": "#/components/parameters/watcher.execute_watch#debug" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/watcher.execute_watch" - }, - "responses": { - "200": { - "$ref": "#/components/responses/watcher.execute_watch#200" - } - } - }, - "post": { - "description": "Forces the execution of a stored watch.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html" - }, - "operationId": "watcher.execute_watch#1", - "parameters": [ - { - "$ref": "#/components/parameters/watcher.execute_watch#id" - }, - { - "$ref": "#/components/parameters/watcher.execute_watch#debug" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/watcher.execute_watch" - }, - "responses": { - "200": { - "$ref": "#/components/responses/watcher.execute_watch#200" - } - } - } - }, - "/_watcher/watch/_execute": { - "put": { - "description": "Forces the execution of a stored watch.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html" - }, - "operationId": "watcher.execute_watch#2", - "parameters": [ - { - "$ref": "#/components/parameters/watcher.execute_watch#debug" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/watcher.execute_watch" - }, - "responses": { - "200": { - "$ref": "#/components/responses/watcher.execute_watch#200" - } - } - }, - "post": { - "description": "Forces the execution of a stored watch.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html" - }, - "operationId": "watcher.execute_watch#3", - "parameters": [ - { - "$ref": "#/components/parameters/watcher.execute_watch#debug" - } - ], - "requestBody": { - "$ref": "#/components/requestBodies/watcher.execute_watch" - }, - "responses": { - "200": { - "$ref": "#/components/responses/watcher.execute_watch#200" - } - } - } - }, - "/_watcher/_query/watches": { - "get": { - "description": "Retrieves stored watches.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-query-watches.html" - }, - "operationId": "watcher.query_watches#0", - "requestBody": { - "$ref": "#/components/requestBodies/watcher.query_watches" - }, - "responses": { - "200": { - "$ref": "#/components/responses/watcher.query_watches#200" - } - } - }, - "post": { - "description": "Retrieves stored watches.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-query-watches.html" - }, - "operationId": "watcher.query_watches#1", - "requestBody": { - "$ref": "#/components/requestBodies/watcher.query_watches" - }, - "responses": { - "200": { - "$ref": "#/components/responses/watcher.query_watches#200" - } - } - } - }, - "/_watcher/_start": { - "post": { - "description": "Starts Watcher if it is not already running.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-start.html" - }, - "operationId": "watcher.start#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_watcher/stats": { - "get": { - "description": "Retrieves the current Watcher metrics.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html" - }, - "operationId": "watcher.stats#0", - "parameters": [ - { - "$ref": "#/components/parameters/watcher.stats#emit_stacktraces" - }, - { - "$ref": "#/components/parameters/watcher.stats#metric_" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/watcher.stats#200" - } - } - } - }, - "/_watcher/stats/{metric}": { - "get": { - "description": "Retrieves the current Watcher metrics.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html" - }, - "operationId": "watcher.stats#1", - "parameters": [ - { - "$ref": "#/components/parameters/watcher.stats#metric" - }, - { - "$ref": "#/components/parameters/watcher.stats#emit_stacktraces" - }, - { - "$ref": "#/components/parameters/watcher.stats#metric_" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/watcher.stats#200" - } - } - } - }, - "/_watcher/_stop": { - "post": { - "description": "Stops Watcher if it is running.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stop.html" - }, - "operationId": "watcher.stop#0", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - } - } - } - }, - "/_xpack": { - "get": { - "description": "Retrieves information about the installed X-Pack features.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html" - }, - "operationId": "xpack.info#0", - "parameters": [ - { - "in": "query", - "name": "categories", - "description": "A comma-separated list of the information categories to include in the response. For example, `build,license,features`.", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form" - }, - { - "in": "query", - "name": "accept_enterprise", - "description": "If this param is used it must be set to true", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - { - "in": "query", - "name": "human", - "description": "Defines whether additional human-readable information is included in the response. In particular, it adds descriptions and a tag line.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "build": { - "$ref": "#/components/schemas/xpack.info:BuildInformation" - }, - "features": { - "$ref": "#/components/schemas/xpack.info:Features" - }, - "license": { - "$ref": "#/components/schemas/xpack.info:MinimalLicenseInformation" - }, - "tagline": { - "type": "string" - } - }, - "required": [ - "build", - "features", - "license", - "tagline" - ] - } - } - } - } - } - } - }, - "/_xpack/usage": { - "get": { - "description": "Retrieves usage information about the installed X-Pack features.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/usage-api.html" - }, - "operationId": "xpack.usage#0", - "parameters": [ - { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aggregate_metric": { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - "analytics": { - "$ref": "#/components/schemas/xpack.usage:Analytics" - }, - "archive": { - "$ref": "#/components/schemas/xpack.usage:Archive" - }, - "watcher": { - "$ref": "#/components/schemas/xpack.usage:Watcher" - }, - "ccr": { - "$ref": "#/components/schemas/xpack.usage:Ccr" - }, - "data_frame": { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - "data_science": { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - "data_streams": { - "$ref": "#/components/schemas/xpack.usage:DataStreams" - }, - "data_tiers": { - "$ref": "#/components/schemas/xpack.usage:DataTiers" - }, - "enrich": { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - "eql": { - "$ref": "#/components/schemas/xpack.usage:Eql" - }, - "flattened": { - "$ref": "#/components/schemas/xpack.usage:Flattened" - }, - "frozen_indices": { - "$ref": "#/components/schemas/xpack.usage:FrozenIndices" - }, - "graph": { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - "health_api": { - "$ref": "#/components/schemas/xpack.usage:HealthStatistics" - }, - "ilm": { - "$ref": "#/components/schemas/xpack.usage:Ilm" - }, - "logstash": { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - "ml": { - "$ref": "#/components/schemas/xpack.usage:MachineLearning" - }, - "monitoring": { - "$ref": "#/components/schemas/xpack.usage:Monitoring" - }, - "rollup": { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - "runtime_fields": { - "$ref": "#/components/schemas/xpack.usage:RuntimeFieldTypes" - }, - "spatial": { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - "searchable_snapshots": { - "$ref": "#/components/schemas/xpack.usage:SearchableSnapshots" - }, - "security": { - "$ref": "#/components/schemas/xpack.usage:Security" - }, - "slm": { - "$ref": "#/components/schemas/xpack.usage:Slm" - }, - "sql": { - "$ref": "#/components/schemas/xpack.usage:Sql" - }, - "transform": { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - "vectors": { - "$ref": "#/components/schemas/xpack.usage:Vector" - }, - "voting_only": { - "$ref": "#/components/schemas/xpack.usage:Base" - } - }, - "required": [ - "aggregate_metric", - "analytics", - "archive", - "watcher", - "ccr", - "data_tiers", - "eql", - "frozen_indices", - "graph", - "ilm", - "logstash", - "ml", - "monitoring", - "rollup", - "spatial", - "searchable_snapshots", - "security", - "slm", - "sql", - "transform", - "voting_only" - ] - } - } - } - } - } - } - } - }, - "components": { - "responses": { - "async_search.submit#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/async_search._types:AsyncSearchDocumentResponseBase" - } - } - } - }, - "bulk#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "errors": { - "type": "boolean" - }, - "items": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_global.bulk:ResponseItem" - }, - "minProperties": 1, - "maxProperties": 1 - } - }, - "took": { - "type": "number" - }, - "ingest_took": { - "type": "number" - } - }, - "required": [ - "errors", - "items", - "took" - ] - } - } - } - }, - "cat.aliases#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.aliases:AliasesRecord" - } - } - } - } - }, - "cat.allocation#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.allocation:AllocationRecord" - } - } - } - } - }, - "cat.component_templates#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.component_templates:ComponentTemplate" - } - } - } - } - }, - "cat.count#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.count:CountRecord" - } - } - } - } - }, - "cat.fielddata#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.fielddata:FielddataRecord" - } - } - } - } - }, - "cat.indices#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.indices:IndicesRecord" - } - } - } - } - }, - "cat.ml_data_frame_analytics#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.ml_data_frame_analytics:DataFrameAnalyticsRecord" - } - } - } - } - }, - "cat.ml_datafeeds#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.ml_datafeeds:DatafeedsRecord" - } - } - } - } - }, - "cat.ml_jobs#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.ml_jobs:JobsRecord" - } - } - } - } - }, - "cat.ml_trained_models#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.ml_trained_models:TrainedModelsRecord" - } - } - } - } - }, - "cat.recovery#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.recovery:RecoveryRecord" - } - } - } - } - }, - "cat.segments#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.segments:SegmentsRecord" - } - } - } - } - }, - "cat.shards#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.shards:ShardsRecord" - } - } - } - } - }, - "cat.snapshots#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.snapshots:SnapshotsRecord" - } - } - } - } - }, - "cat.templates#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.templates:TemplatesRecord" - } - } - } - } - }, - "cat.thread_pool#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.thread_pool:ThreadPoolRecord" - } - } - } - } - }, - "cat.transforms#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat.transforms:TransformsRecord" - } - } - } - } - }, - "ccr.get_auto_follow_pattern#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "patterns": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ccr.get_auto_follow_pattern:AutoFollowPattern" - } - } - }, - "required": [ - "patterns" - ] - } - } - } - }, - "clear_scroll#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "succeeded": { - "type": "boolean" - }, - "num_freed": { - "type": "number" - } - }, - "required": [ - "succeeded", - "num_freed" - ] - } - } - } - }, - "cluster.allocation_explain#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "allocate_explanation": { - "type": "string" - }, - "allocation_delay": { - "$ref": "#/components/schemas/_types:Duration" - }, - "allocation_delay_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "can_allocate": { - "$ref": "#/components/schemas/cluster.allocation_explain:Decision" - }, - "can_move_to_other_node": { - "$ref": "#/components/schemas/cluster.allocation_explain:Decision" - }, - "can_rebalance_cluster": { - "$ref": "#/components/schemas/cluster.allocation_explain:Decision" - }, - "can_rebalance_cluster_decisions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.allocation_explain:AllocationDecision" - } - }, - "can_rebalance_to_other_node": { - "$ref": "#/components/schemas/cluster.allocation_explain:Decision" - }, - "can_remain_decisions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.allocation_explain:AllocationDecision" - } - }, - "can_remain_on_current_node": { - "$ref": "#/components/schemas/cluster.allocation_explain:Decision" - }, - "cluster_info": { - "$ref": "#/components/schemas/cluster.allocation_explain:ClusterInfo" - }, - "configured_delay": { - "$ref": "#/components/schemas/_types:Duration" - }, - "configured_delay_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "current_node": { - "$ref": "#/components/schemas/cluster.allocation_explain:CurrentNode" - }, - "current_state": { - "type": "string" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "move_explanation": { - "type": "string" - }, - "node_allocation_decisions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.allocation_explain:NodeAllocationExplanation" - } - }, - "primary": { - "type": "boolean" - }, - "rebalance_explanation": { - "type": "string" - }, - "remaining_delay": { - "$ref": "#/components/schemas/_types:Duration" - }, - "remaining_delay_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "shard": { - "type": "number" - }, - "unassigned_info": { - "$ref": "#/components/schemas/cluster.allocation_explain:UnassignedInformation" - }, - "note": { - "type": "string" - } - }, - "required": [ - "current_state", - "index", - "primary", - "shard" - ] - } - } - } - }, - "cluster.get_component_template#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "component_templates": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster._types:ComponentTemplate" - } - } - }, - "required": [ - "component_templates" - ] - } - } - } - }, - "cluster.health#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/cluster.health:HealthResponseBody" - } - } - } - }, - "cluster.put_component_template#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - }, - "cluster.state#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - }, - "cluster.stats#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/cluster.stats:StatsResponseBase" - } - } - } - }, - "count#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - } - }, - "required": [ - "count", - "_shards" - ] - } - } - } - }, - "create#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:WriteResponseBase" - } - } - } - }, - "enrich.get_policy#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "policies": { - "type": "array", - "items": { - "$ref": "#/components/schemas/enrich._types:Summary" - } - } - }, - "required": [ - "policies" - ] - } - } - } - }, - "eql.search#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/eql._types:EqlSearchResponseBase" - } - } - } - }, - "explain#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "matched": { - "type": "boolean" - }, - "explanation": { - "$ref": "#/components/schemas/_global.explain:ExplanationDetail" - }, - "get": { - "$ref": "#/components/schemas/_types:InlineGet" - } - }, - "required": [ - "_index", - "_id", - "matched" - ] - } - } - } - }, - "field_caps#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "fields": { - "type": "object", - "additionalProperties": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_global.field_caps:FieldCapability" - } - } - } - }, - "required": [ - "indices", - "fields" - ] - } - } - } - }, - "fleet.msearch#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "docs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.msearch:ResponseItem" - } - } - }, - "required": [ - "docs" - ] - } - } - } - }, - "fleet.search#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "took": { - "type": "number" - }, - "timed_out": { - "type": "boolean" - }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "hits": { - "$ref": "#/components/schemas/_global.search._types:HitsMetadata" - }, - "aggregations": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:Aggregate" - } - }, - "_clusters": { - "$ref": "#/components/schemas/_types:ClusterStatistics" - }, - "fields": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "max_score": { - "type": "number" - }, - "num_reduce_phases": { - "type": "number" - }, - "profile": { - "$ref": "#/components/schemas/_global.search._types:Profile" - }, - "pit_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_scroll_id": { - "$ref": "#/components/schemas/_types:ScrollId" - }, - "suggest": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:Suggest" - } - } - }, - "terminated_early": { - "type": "boolean" - } - }, - "required": [ - "took", - "timed_out", - "_shards", - "hits" - ] - } - } - } - }, - "graph.explore#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "connections": { - "type": "array", - "items": { - "$ref": "#/components/schemas/graph._types:Connection" - } - }, - "failures": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ShardFailure" - } - }, - "timed_out": { - "type": "boolean" - }, - "took": { - "type": "number" - }, - "vertices": { - "type": "array", - "items": { - "$ref": "#/components/schemas/graph._types:Vertex" - } - } - }, - "required": [ - "connections", - "failures", - "timed_out", - "took", - "vertices" - ] - } - } - } - }, - "health_report#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "cluster_name": { - "type": "string" - }, - "indicators": { - "$ref": "#/components/schemas/_global.health_report:Indicators" - }, - "status": { - "$ref": "#/components/schemas/_global.health_report:IndicatorHealthStatus" - } - }, - "required": [ - "cluster_name", - "indicators" - ] - } - } - } - }, - "ilm.get_lifecycle#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/ilm.get_lifecycle:Lifecycle" - } - } - } - } - }, - "index#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:WriteResponseBase" - } - } - } - }, - "indices.analyze#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "detail": { - "$ref": "#/components/schemas/indices.analyze:AnalyzeDetail" - }, - "tokens": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.analyze:AnalyzeToken" - } - } - } - } - } - } - }, - "indices.clear_cache#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:ShardsOperationResponseBase" - } - } - } - }, - "indices.clone#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledged": { - "type": "boolean" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "shards_acknowledged": { - "type": "boolean" - } - }, - "required": [ - "acknowledged", - "index", - "shards_acknowledged" - ] - } - } - } - }, - "indices.data_streams_stats#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "backing_indices": { - "description": "Total number of backing indices for the selected data streams.", - "type": "number" - }, - "data_stream_count": { - "description": "Total number of selected data streams.", - "type": "number" - }, - "data_streams": { - "description": "Contains statistics for the selected data streams.", - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.data_streams_stats:DataStreamsStatsItem" - } - }, - "total_store_sizes": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "total_store_size_bytes": { - "description": "Total size, in bytes, of all shards for the selected data streams.", - "type": "number" - } - }, - "required": [ - "_shards", - "backing_indices", - "data_stream_count", - "data_streams", - "total_store_size_bytes" - ] - } - } - } - }, - "indices.delete_alias#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - }, - "indices.exists_alias#200": { - "description": "", - "content": { - "application/json": {} - } - }, - "indices.flush#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:ShardsOperationResponseBase" - } - } - } - }, - "indices.forcemerge#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/indices.forcemerge._types:ForceMergeResponseBody" - } - } - } - }, - "indices.get_alias#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices.get_alias:IndexAliases" - } - } - } - } - }, - "indices.get_data_stream#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data_streams": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices._types:DataStream" - } - } - }, - "required": [ - "data_streams" - ] - } - } - } - }, - "indices.get_field_mapping#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices.get_field_mapping:TypeFieldMappings" - } - } - } - } - }, - "indices.get_index_template#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "index_templates": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.get_index_template:IndexTemplateItem" - } - } - }, - "required": [ - "index_templates" - ] - } - } - } - }, - "indices.get_mapping#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices.get_mapping:IndexMappingRecord" - } - } - } - } - }, - "indices.get_settings#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:IndexState" - } - } - } - } - }, - "indices.get_template#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:TemplateMapping" - } - } - } - } - }, - "indices.put_alias#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - }, - "indices.put_index_template#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - }, - "indices.put_mapping#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:IndicesResponseBase" - } - } - } - }, - "indices.put_settings#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - }, - "indices.put_template#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - }, - "indices.recovery#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices.recovery:RecoveryStatus" - } - } - } - } - }, - "indices.refresh#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:ShardsOperationResponseBase" - } - } - } - }, - "indices.reload_search_analyzers#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/indices.reload_search_analyzers:ReloadResult" - } - } - } - }, - "indices.rollover#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledged": { - "type": "boolean" - }, - "conditions": { - "type": "object", - "additionalProperties": { - "type": "boolean" - } - }, - "dry_run": { - "type": "boolean" - }, - "new_index": { - "type": "string" - }, - "old_index": { - "type": "string" - }, - "rolled_over": { - "type": "boolean" - }, - "shards_acknowledged": { - "type": "boolean" - } - }, - "required": [ - "acknowledged", - "conditions", - "dry_run", - "new_index", - "old_index", - "rolled_over", - "shards_acknowledged" - ] - } - } - } - }, - "indices.segments#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "indices": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices.segments:IndexSegment" - } - }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - } - }, - "required": [ - "indices", - "_shards" - ] - } - } - } - }, - "indices.shard_stores#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "indices": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices.shard_stores:IndicesShardStores" - } - } - }, - "required": [ - "indices" - ] - } - } - } - }, - "indices.shrink#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledged": { - "type": "boolean" - }, - "shards_acknowledged": { - "type": "boolean" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - } - }, - "required": [ - "acknowledged", - "shards_acknowledged", - "index" - ] - } - } - } - }, - "indices.simulate_template#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "overlapping": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.simulate_template:Overlapping" - } - }, - "template": { - "$ref": "#/components/schemas/indices.simulate_template:Template" - } - }, - "required": [ - "template" - ] - } - } - } - }, - "indices.split#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledged": { - "type": "boolean" - }, - "shards_acknowledged": { - "type": "boolean" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - } - }, - "required": [ - "acknowledged", - "shards_acknowledged", - "index" - ] - } - } - } - }, - "indices.stats#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "indices": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices.stats:IndicesStats" - } - }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "_all": { - "$ref": "#/components/schemas/indices.stats:IndicesStats" - } - }, - "required": [ - "_shards", - "_all" - ] - } - } - } - }, - "indices.validate_query#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "explanations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.validate_query:IndicesValidationExplanation" - } - }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "valid": { - "type": "boolean" - }, - "error": { - "type": "string" - } - }, - "required": [ - "valid" - ] - } - } - } - }, - "ingest.get_pipeline#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/ingest._types:Pipeline" - } - } - } - } - }, - "ingest.simulate#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "docs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ingest.simulate:PipelineSimulation" - } - } - }, - "required": [ - "docs" - ] - } - } - } - }, - "knn_search#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "took": { - "description": "Milliseconds it took Elasticsearch to execute the request.", - "type": "number" - }, - "timed_out": { - "description": "If true, the request timed out before completion;\nreturned results may be partial or empty.", - "type": "boolean" - }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "hits": { - "$ref": "#/components/schemas/_global.search._types:HitsMetadata" - }, - "fields": { - "description": "Contains field values for the documents. These fields\nmust be specified in the request using the `fields` parameter.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "max_score": { - "description": "Highest returned document score. This value is null for requests\nthat do not sort by score.", - "type": "number" - } - }, - "required": [ - "took", - "timed_out", - "_shards", - "hits" - ] - } - } - } - }, - "license.post#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "acknowledge": { - "$ref": "#/components/schemas/license.post:Acknowledgement" - }, - "acknowledged": { - "type": "boolean" - }, - "license_status": { - "$ref": "#/components/schemas/license._types:LicenseStatus" - } - }, - "required": [ - "acknowledged", - "license_status" - ] - } - } - } - }, - "logstash.get_pipeline#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/logstash._types:Pipeline" - } - } - } - } - }, - "mget#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "docs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.mget:ResponseItem" - } - } - }, - "required": [ - "docs" - ] - } - } - } - }, - "migration.deprecations#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "cluster_settings": { - "type": "array", - "items": { - "$ref": "#/components/schemas/migration.deprecations:Deprecation" - } - }, - "index_settings": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/components/schemas/migration.deprecations:Deprecation" - } - } - }, - "node_settings": { - "type": "array", - "items": { - "$ref": "#/components/schemas/migration.deprecations:Deprecation" - } - }, - "ml_settings": { - "type": "array", - "items": { - "$ref": "#/components/schemas/migration.deprecations:Deprecation" - } - } - }, - "required": [ - "cluster_settings", - "index_settings", - "node_settings", - "ml_settings" - ] - } - } - } - }, - "ml.delete_expired_data#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "deleted": { - "type": "boolean" - } - }, - "required": [ - "deleted" - ] - } - } - } - }, - "ml.delete_forecast#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - }, - "ml.explain_data_frame_analytics#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "field_selection": { - "description": "An array of objects that explain selection for each field, sorted by the field names.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsFieldSelection" - } - }, - "memory_estimation": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsMemoryEstimation" - } - }, - "required": [ - "field_selection", - "memory_estimation" - ] - } - } - } - }, - "ml.get_buckets#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "buckets": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:BucketSummary" - } - }, - "count": { - "type": "number" - } - }, - "required": [ - "buckets", - "count" - ] - } - } - } - }, - "ml.get_calendars#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "calendars": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml.get_calendars:Calendar" - } - }, - "count": { - "type": "number" - } - }, - "required": [ - "calendars", - "count" - ] - } - } - } - }, - "ml.get_categories#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "categories": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:Category" - } - }, - "count": { - "type": "number" - } - }, - "required": [ - "categories", - "count" - ] - } - } - } - }, - "ml.get_data_frame_analytics#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "data_frame_analytics": { - "description": "An array of data frame analytics job resources, which are sorted by the id value in ascending order.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSummary" - } - } - }, - "required": [ - "count", - "data_frame_analytics" - ] - } - } - } - }, - "ml.get_data_frame_analytics_stats#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "data_frame_analytics": { - "description": "An array of objects that contain usage information for data frame analytics jobs, which are sorted by the id value in ascending order.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:DataframeAnalytics" - } - } - }, - "required": [ - "count", - "data_frame_analytics" - ] - } - } - } - }, - "ml.get_datafeed_stats#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "datafeeds": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:DatafeedStats" - } - } - }, - "required": [ - "count", - "datafeeds" - ] - } - } - } - }, - "ml.get_datafeeds#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "datafeeds": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:Datafeed" - } - } - }, - "required": [ - "count", - "datafeeds" - ] - } - } - } - }, - "ml.get_filters#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "filters": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:Filter" - } - } - }, - "required": [ - "count", - "filters" - ] - } - } - } - }, - "ml.get_influencers#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "influencers": { - "description": "Array of influencer objects", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:Influencer" - } - } - }, - "required": [ - "count", - "influencers" - ] - } - } - } - }, - "ml.get_job_stats#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "jobs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:JobStats" - } - } - }, - "required": [ - "count", - "jobs" - ] - } - } - } - }, - "ml.get_jobs#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "jobs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:Job" - } - } - }, - "required": [ - "count", - "jobs" - ] - } - } - } - }, - "ml.get_memory_stats#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_nodes": { - "$ref": "#/components/schemas/_types:NodeStatistics" - }, - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/ml.get_memory_stats:Memory" - } - } - }, - "required": [ - "_nodes", - "cluster_name", - "nodes" - ] - } - } - } - }, - "ml.get_model_snapshots#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "model_snapshots": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:ModelSnapshot" - } - } - }, - "required": [ - "count", - "model_snapshots" - ] - } - } - } - }, - "ml.get_overall_buckets#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "overall_buckets": { - "description": "Array of overall bucket objects", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:OverallBucket" - } - } - }, - "required": [ - "count", - "overall_buckets" - ] - } - } - } - }, - "ml.get_records#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "records": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:Anomaly" - } - } - }, - "required": [ - "count", - "records" - ] - } - } - } - }, - "ml.get_trained_models#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "trained_model_configs": { - "description": "An array of trained model resources, which are sorted by the model_id value in ascending order.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:TrainedModelConfig" - } - } - }, - "required": [ - "count", - "trained_model_configs" - ] - } - } - } - }, - "ml.get_trained_models_stats#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "description": "The total number of trained model statistics that matched the requested ID patterns. Could be higher than the number of items in the trained_model_stats array as the size of the array is restricted by the supplied size parameter.", - "type": "number" - }, - "trained_model_stats": { - "description": "An array of trained model statistics, which are sorted by the model_id value in ascending order.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:TrainedModelStats" - } - } - }, - "required": [ - "count", - "trained_model_stats" - ] - } - } - } - }, - "ml.infer_trained_model#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "inference_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:InferenceResponseResult" - } - } - }, - "required": [ - "inference_results" - ] - } - } - } - }, - "ml.preview_data_frame_analytics#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "feature_values": { - "description": "An array of objects that contain feature name and value pairs. The features have been processed and indicate what will be sent to the model for training.", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "required": [ - "feature_values" - ] - } - } - } - }, - "ml.preview_datafeed#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object" - } - } - } - } - }, - "monitoring.bulk#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "error": { - "$ref": "#/components/schemas/_types:ErrorCause" - }, - "errors": { - "description": "True if there is was an error", - "type": "boolean" - }, - "ignored": { - "description": "Was collection disabled?", - "type": "boolean" - }, - "took": { - "type": "number" - } - }, - "required": [ - "errors", - "ignored", - "took" - ] - } - } - } - }, - "msearch#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_global.msearch:MultiSearchResult" - } - } - } - }, - "msearch_template#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_global.msearch:MultiSearchResult" - } - } - } - }, - "mtermvectors#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "docs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.mtermvectors:TermVectorsResult" - } - } - }, - "required": [ - "docs" - ] - } - } - } - }, - "nodes.hot_threads#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "hot_threads": { - "type": "array", - "items": { - "$ref": "#/components/schemas/nodes.hot_threads:HotThread" - } - } - }, - "required": [ - "hot_threads" - ] - } - } - } - }, - "nodes.info#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/nodes.info:ResponseBase" - } - } - } - }, - "nodes.reload_secure_settings#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/nodes.reload_secure_settings:ResponseBase" - } - } - } - }, - "nodes.stats#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/nodes.stats:ResponseBase" - } - } - } - }, - "nodes.usage#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/nodes.usage:ResponseBase" - } - } - } - }, - "put_script#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - }, - "rank_eval#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "metric_score": { - "description": "The overall evaluation quality calculated by the defined metric", - "type": "number" - }, - "details": { - "description": "The details section contains one entry for every query in the original requests section, keyed by the search request id", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricDetail" - } - }, - "failures": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - }, - "required": [ - "metric_score", - "details", - "failures" - ] - } - } - } - }, - "render_search_template#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "template_output": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - }, - "required": [ - "template_output" - ] - } - } - } - }, - "rollup.get_jobs#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "jobs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/rollup.get_jobs:RollupJob" - } - } - }, - "required": [ - "jobs" - ] - } - } - } - }, - "rollup.get_rollup_caps#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/rollup.get_rollup_caps:RollupCapabilities" - } - } - } - } - }, - "rollup.rollup_search#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "took": { - "type": "number" - }, - "timed_out": { - "type": "boolean" - }, - "terminated_early": { - "type": "boolean" - }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "hits": { - "$ref": "#/components/schemas/_global.search._types:HitsMetadata" - }, - "aggregations": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:Aggregate" - } - } - }, - "required": [ - "took", - "timed_out", - "_shards", - "hits" - ] - } - } - } - }, - "scripts_painless_execute#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "result": { - "type": "object" - } - }, - "required": [ - "result" - ] - } - } - } - }, - "scroll#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_global.search:ResponseBody" - } - } - } - }, - "search#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_global.search:ResponseBody" - } - } - } - }, - "search_application.get_behavioral_analytics#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/search_application._types:AnalyticsCollection" - } - } - } - } - }, - "search_application.search#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_global.search:ResponseBody" - } - } - } - }, - "search_mvt#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:MapboxVectorTiles" - } - } - } - }, - "search_shards#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:NodeAttributes" - } - }, - "shards": { - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:NodeShard" - } - } - }, - "indices": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_global.search_shards:ShardStoreIndex" - } - } - }, - "required": [ - "nodes", - "shards", - "indices" - ] - } - } - } - }, - "search_template#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "took": { - "type": "number" - }, - "timed_out": { - "type": "boolean" - }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "hits": { - "$ref": "#/components/schemas/_global.search._types:HitsMetadata" - }, - "aggregations": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:Aggregate" - } - }, - "_clusters": { - "$ref": "#/components/schemas/_types:ClusterStatistics" - }, - "fields": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "max_score": { - "type": "number" - }, - "num_reduce_phases": { - "type": "number" - }, - "profile": { - "$ref": "#/components/schemas/_global.search._types:Profile" - }, - "pit_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_scroll_id": { - "$ref": "#/components/schemas/_types:ScrollId" - }, - "suggest": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:Suggest" - } - } - }, - "terminated_early": { - "type": "boolean" - } - }, - "required": [ - "took", - "timed_out", - "_shards", - "hits" - ] - } - } - } - }, - "searchable_snapshots.cache_stats#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/searchable_snapshots.cache_stats:Node" - } - } - }, - "required": [ - "nodes" - ] - } - } - } - }, - "searchable_snapshots.clear_cache#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - }, - "searchable_snapshots.stats#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "stats": { - "type": "object" - }, - "total": { - "type": "object" - } - }, - "required": [ - "stats", - "total" - ] - } - } - } - }, - "security.change_password#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - }, - "security.create_api_key#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "api_key": { - "description": "Generated API key.", - "type": "string" - }, - "expiration": { - "description": "Expiration in milliseconds for the API key.", - "type": "number" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "encoded": { - "description": "API key credentials which is the base64-encoding of\nthe UTF-8 representation of `id` and `api_key` joined\nby a colon (`:`).", - "type": "string" - } - }, - "required": [ - "api_key", - "id", - "name", - "encoded" - ] - } - } - } - }, - "security.create_service_token#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "created": { - "type": "boolean" - }, - "token": { - "$ref": "#/components/schemas/security.create_service_token:Token" - } - }, - "required": [ - "created", - "token" - ] - } - } - } - }, - "security.disable_user#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - }, - "security.disable_user_profile#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - }, - "security.enable_user#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - }, - "security.enable_user_profile#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - }, - "security.get_privileges#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security.put_privileges:Actions" - } - } - } - } - } - }, - "security.get_role#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security.get_role:Role" - } - } - } - } - }, - "security.get_role_mapping#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:RoleMapping" - } - } - } - } - }, - "security.get_service_accounts#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security.get_service_accounts:RoleDescriptorWrapper" - } - } - } - } - }, - "security.get_user#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:User" - } - } - } - } - }, - "security.has_privileges#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "application": { - "$ref": "#/components/schemas/security.has_privileges:ApplicationsPrivileges" - }, - "cluster": { - "type": "object", - "additionalProperties": { - "type": "boolean" - } - }, - "has_all_requested": { - "type": "boolean" - }, - "index": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security.has_privileges:Privileges" - } - }, - "username": { - "$ref": "#/components/schemas/_types:Username" - } - }, - "required": [ - "application", - "cluster", - "has_all_requested", - "index", - "username" - ] - } - } - } - }, - "security.has_privileges_user_profile#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "has_privilege_uids": { - "description": "The subset of the requested profile IDs of the users that\nhave all the requested privileges.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:UserProfileId" - } - }, - "errors": { - "$ref": "#/components/schemas/security.has_privileges_user_profile:HasPrivilegesUserProfileErrors" - } - }, - "required": [ - "has_privilege_uids" - ] - } - } - } - }, - "security.put_privileges#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:CreatedStatus" - } - } - } - } - } - }, - "security.put_role#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "role": { - "$ref": "#/components/schemas/security._types:CreatedStatus" - } - }, - "required": [ - "role" - ] - } - } - } - }, - "security.put_role_mapping#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "created": { - "type": "boolean" - }, - "role_mapping": { - "$ref": "#/components/schemas/security._types:CreatedStatus" - } - }, - "required": [ - "role_mapping" - ] - } - } - } - }, - "security.put_user#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "created": { - "type": "boolean" - } - }, - "required": [ - "created" - ] - } - } - } - }, - "security.query_api_keys#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total": { - "description": "The total number of API keys found.", - "type": "number" - }, - "count": { - "description": "The number of API keys returned in the response.", - "type": "number" - }, - "api_keys": { - "description": "A list of API key information.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:ApiKey" - } - } - }, - "required": [ - "total", - "count", - "api_keys" - ] - } - } - } - }, - "security.suggest_user_profiles#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total": { - "$ref": "#/components/schemas/security.suggest_user_profiles:TotalUserProfiles" - }, - "took": { - "type": "number" - }, - "profiles": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:UserProfile" - } - } - }, - "required": [ - "total", - "took", - "profiles" - ] - } - } - } - }, - "security.update_user_profile_data#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - }, - "shutdown.get_node#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "nodes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/shutdown.get_node:NodeShutdownStatus" - } - } - }, - "required": [ - "nodes" - ] - } - } - } - }, - "slm.get_lifecycle#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/slm._types:SnapshotLifecycle" - } - } - } - } - }, - "snapshot.create#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "accepted": { - "description": "Equals `true` if the snapshot was accepted. Present when the request had `wait_for_completion` set to `false`", - "type": "boolean" - }, - "snapshot": { - "$ref": "#/components/schemas/snapshot._types:SnapshotInfo" - } - } - } - } - } - }, - "snapshot.create_repository#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - } - } - } - }, - "snapshot.get_repository#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/snapshot._types:Repository" - } - } - } - } - }, - "snapshot.status#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "snapshots": { - "type": "array", - "items": { - "$ref": "#/components/schemas/snapshot._types:Status" - } - } - }, - "required": [ - "snapshots" - ] - } - } - } - }, - "sql.query#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "is_running": { - "description": "If `true`, the search is still running. If false, the search has finished.\nThis value is only returned for async and saved synchronous searches. For\nCSV, TSV, and TXT responses, this value is returned in the `Async-partial`\nHTTP header.", - "type": "boolean" - }, - "is_partial": { - "description": "If `true`, the response does not contain complete search results. If `is_partial`\nis `true` and `is_running` is `true`, the search is still running. If `is_partial`\nis `true` but `is_running` is `false`, the results are partial due to a failure or\ntimeout. This value is only returned for async and saved synchronous searches.\nFor CSV, TSV, and TXT responses, this value is returned in the `Async-partial` HTTP header.", - "type": "boolean" - }, - "columns": { - "description": "Column headings for the search results. Each object is a column.", - "type": "array", - "items": { - "$ref": "#/components/schemas/sql:Column" - } - }, - "cursor": { - "description": "Cursor for the next set of paginated results. For CSV, TSV, and\nTXT responses, this value is returned in the `Cursor` HTTP header.", - "type": "string" - }, - "rows": { - "description": "Values for the search results.", - "type": "array", - "items": { - "$ref": "#/components/schemas/sql:Row" - } - } - }, - "required": [ - "rows" - ] - } - } - } - }, - "sql.translate#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aggregations": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "size": { - "type": "number" - }, - "_source": { - "$ref": "#/components/schemas/_global.search._types:SourceConfig" - }, - "fields": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" - } - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" - } - } - } - } - } - }, - "tasks.cancel#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/tasks._types:TaskListResponseBase" - } - } - } - }, - "terms_enum#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "terms": { - "type": "array", - "items": { - "type": "string" - } - }, - "complete": { - "type": "boolean" - } - }, - "required": [ - "_shards", - "terms", - "complete" - ] - } - } - } - }, - "termvectors#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "found": { - "type": "boolean" - }, - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "term_vectors": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_global.termvectors:TermVector" - } - }, - "took": { - "type": "number" - }, - "_version": { - "$ref": "#/components/schemas/_types:VersionNumber" - } - }, - "required": [ - "found", - "_id", - "_index", - "took", - "_version" - ] - } - } - } - }, - "transform.get_transform#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "transforms": { - "type": "array", - "items": { - "$ref": "#/components/schemas/transform.get_transform:TransformSummary" - } - } - }, - "required": [ - "count", - "transforms" - ] - } - } - } - }, - "transform.preview_transform#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "generated_dest_index": { - "$ref": "#/components/schemas/indices._types:IndexState" - }, - "preview": { - "type": "array", - "items": { - "type": "object" - } - } - }, - "required": [ - "generated_dest_index", - "preview" - ] - } - } - } - }, - "watcher.ack_watch#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/watcher._types:WatchStatus" - } - }, - "required": [ - "status" - ] - } - } - } - }, - "watcher.activate_watch#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/watcher._types:ActivationStatus" - } - }, - "required": [ - "status" - ] - } - } - } - }, - "watcher.deactivate_watch#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/watcher._types:ActivationStatus" - } - }, - "required": [ - "status" - ] - } - } - } - }, - "watcher.execute_watch#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "watch_record": { - "$ref": "#/components/schemas/watcher.execute_watch:WatchRecord" - } - }, - "required": [ - "_id", - "watch_record" - ] - } - } - } - }, - "watcher.put_watch#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "created": { - "type": "boolean" - }, - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_primary_term": { - "type": "number" - }, - "_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "_version": { - "$ref": "#/components/schemas/_types:VersionNumber" - } - }, - "required": [ - "created", - "_id", - "_primary_term", - "_seq_no", - "_version" - ] - } - } - } - }, - "watcher.query_watches#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "watches": { - "type": "array", - "items": { - "$ref": "#/components/schemas/watcher._types:QueryWatch" - } - } - }, - "required": [ - "count", - "watches" - ] - } - } - } - }, - "watcher.stats#200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_nodes": { - "$ref": "#/components/schemas/_types:NodeStatistics" - }, - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "manually_stopped": { - "type": "boolean" - }, - "stats": { - "type": "array", - "items": { - "$ref": "#/components/schemas/watcher.stats:WatcherNodeStats" - } - } - }, - "required": [ - "_nodes", - "cluster_name", - "manually_stopped", - "stats" - ] - } - } - } - } - }, - "parameters": { - "async_search.submit#index": { - "in": "path", - "name": "index", - "description": "A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "async_search.submit#wait_for_completion_timeout": { - "in": "query", - "name": "wait_for_completion_timeout", - "description": "Blocks and waits until the search is completed up to a certain timeout.\nWhen the async search completes within the timeout, the response won’t include the ID as the results are not stored in the cluster.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "async_search.submit#keep_on_completion": { - "in": "query", - "name": "keep_on_completion", - "description": "If `true`, results are stored for later retrieval when the search completes within the `wait_for_completion_timeout`.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "async_search.submit#keep_alive": { - "in": "query", - "name": "keep_alive", - "description": "Specifies how long the async search needs to be available.\nOngoing async searches and any saved search results are deleted after this period.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "async_search.submit#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "async_search.submit#allow_partial_search_results": { - "in": "query", - "name": "allow_partial_search_results", - "description": "Indicate if an error should be returned if there is a partial search failure or timeout", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "async_search.submit#analyzer": { - "in": "query", - "name": "analyzer", - "description": "The analyzer to use for the query string", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "async_search.submit#analyze_wildcard": { - "in": "query", - "name": "analyze_wildcard", - "description": "Specify whether wildcard and prefix queries should be analyzed (default: false)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "async_search.submit#batched_reduce_size": { - "in": "query", - "name": "batched_reduce_size", - "description": "Affects how often partial results become available, which happens whenever shard results are reduced.\nA partial reduction is performed every time the coordinating node has received a certain number of new shard responses (5 by default).", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "async_search.submit#ccs_minimize_roundtrips": { - "in": "query", - "name": "ccs_minimize_roundtrips", - "description": "The default value is the only supported value.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "async_search.submit#default_operator": { - "in": "query", - "name": "default_operator", - "description": "The default operator for query string query (AND or OR)", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "style": "form" - }, - "async_search.submit#df": { - "in": "query", - "name": "df", - "description": "The field to use as default where no field prefix is given in the query string", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "async_search.submit#docvalue_fields": { - "in": "query", - "name": "docvalue_fields", - "description": "A comma-separated list of fields to return as the docvalue representation of a field for each hit", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "async_search.submit#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "async_search.submit#explain": { - "in": "query", - "name": "explain", - "description": "Specify whether to return detailed information about score computation as part of a hit", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "async_search.submit#ignore_throttled": { - "in": "query", - "name": "ignore_throttled", - "description": "Whether specified concrete, expanded or aliased indices should be ignored when throttled", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "async_search.submit#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "async_search.submit#lenient": { - "in": "query", - "name": "lenient", - "description": "Specify whether format-based query failures (such as providing text to a numeric field) should be ignored", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "async_search.submit#max_concurrent_shard_requests": { - "in": "query", - "name": "max_concurrent_shard_requests", - "description": "The number of concurrent shard requests per node this search executes concurrently. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "async_search.submit#min_compatible_shard_node": { - "in": "query", - "name": "min_compatible_shard_node", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "style": "form" - }, - "async_search.submit#preference": { - "in": "query", - "name": "preference", - "description": "Specify the node or shard the operation should be performed on (default: random)", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "async_search.submit#pre_filter_shard_size": { - "in": "query", - "name": "pre_filter_shard_size", - "description": "The default value cannot be changed, which enforces the execution of a pre-filter roundtrip to retrieve statistics from each shard so that the ones that surely don’t hold any document matching the query get skipped.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "async_search.submit#request_cache": { - "in": "query", - "name": "request_cache", - "description": "Specify if request cache should be used for this request or not, defaults to true", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "async_search.submit#routing": { - "in": "query", - "name": "routing", - "description": "A comma-separated list of specific routing values", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - "async_search.submit#scroll": { - "in": "query", - "name": "scroll", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "async_search.submit#search_type": { - "in": "query", - "name": "search_type", - "description": "Search operation type", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SearchType" - }, - "style": "form" - }, - "async_search.submit#stats": { - "in": "query", - "name": "stats", - "description": "Specific 'tag' of the request for logging and statistical purposes", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form" - }, - "async_search.submit#stored_fields": { - "in": "query", - "name": "stored_fields", - "description": "A comma-separated list of stored fields to return as part of a hit", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "async_search.submit#suggest_field": { - "in": "query", - "name": "suggest_field", - "description": "Specifies which field to use for suggestions.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Field" - }, - "style": "form" - }, - "async_search.submit#suggest_mode": { - "in": "query", - "name": "suggest_mode", - "description": "Specify suggest mode", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SuggestMode" - }, - "style": "form" - }, - "async_search.submit#suggest_size": { - "in": "query", - "name": "suggest_size", - "description": "How many suggestions to return in response", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "async_search.submit#suggest_text": { - "in": "query", - "name": "suggest_text", - "description": "The source text for which the suggestions should be returned.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "async_search.submit#terminate_after": { - "in": "query", - "name": "terminate_after", - "description": "The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "async_search.submit#timeout": { - "in": "query", - "name": "timeout", - "description": "Explicit operation timeout", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "async_search.submit#track_total_hits": { - "in": "query", - "name": "track_total_hits", - "description": "Indicate if the number of documents that match the query should be tracked. A number can also be specified, to accurately track the total hit count up to the number.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search._types:TrackHits" - }, - "style": "form" - }, - "async_search.submit#track_scores": { - "in": "query", - "name": "track_scores", - "description": "Whether to calculate and return scores even if they are not used for sorting", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "async_search.submit#typed_keys": { - "in": "query", - "name": "typed_keys", - "description": "Specify whether aggregation and suggester names should be prefixed by their respective types in the response", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "async_search.submit#rest_total_hits_as_int": { - "in": "query", - "name": "rest_total_hits_as_int", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "async_search.submit#version": { - "in": "query", - "name": "version", - "description": "Specify whether to return document version as part of a hit", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "async_search.submit#_source": { - "in": "query", - "name": "_source", - "description": "True or false to return the _source field or not, or a list of fields to return", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" - }, - "style": "form" - }, - "async_search.submit#_source_excludes": { - "in": "query", - "name": "_source_excludes", - "description": "A list of fields to exclude from the returned _source field", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "async_search.submit#_source_includes": { - "in": "query", - "name": "_source_includes", - "description": "A list of fields to extract and return from the _source field", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "async_search.submit#seq_no_primary_term": { - "in": "query", - "name": "seq_no_primary_term", - "description": "Specify whether to return sequence number and primary term of the last modification of each hit", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "async_search.submit#q": { - "in": "query", - "name": "q", - "description": "Query in the Lucene query string syntax", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "async_search.submit#size": { - "in": "query", - "name": "size", - "description": "Number of hits to return (default: 10)", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "async_search.submit#from": { - "in": "query", - "name": "from", - "description": "Starting offset (default: 0)", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "async_search.submit#sort": { - "in": "query", - "name": "sort", - "description": "A comma-separated list of : pairs", - "deprecated": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "style": "form" - }, - "bulk#index": { - "in": "path", - "name": "index", - "description": "Name of the data stream, index, or index alias to perform bulk actions on.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - "bulk#pipeline": { - "in": "query", - "name": "pipeline", - "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "bulk#refresh": { - "in": "query", - "name": "refresh", - "description": "If `true`, Elasticsearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.\nValid values: `true`, `false`, `wait_for`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - "bulk#routing": { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - "bulk#_source": { - "in": "query", - "name": "_source", - "description": "`true` or `false` to return the `_source` field or not, or a list of fields to return.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" - }, - "style": "form" - }, - "bulk#_source_excludes": { - "in": "query", - "name": "_source_excludes", - "description": "A comma-separated list of source fields to exclude from the response.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "bulk#_source_includes": { - "in": "query", - "name": "_source_includes", - "description": "A comma-separated list of source fields to include in the response.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "bulk#timeout": { - "in": "query", - "name": "timeout", - "description": "Period each action waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "bulk#wait_for_active_shards": { - "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - }, - "bulk#require_alias": { - "in": "query", - "name": "require_alias", - "description": "If `true`, the request’s actions must target an index alias.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cat.aliases#name": { - "in": "path", - "name": "name", - "description": "A comma-separated list of aliases to retrieve. Supports wildcards (`*`). To retrieve all aliases, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "cat.aliases#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "cat.allocation#node_id": { - "in": "path", - "name": "node_id", - "description": "Comma-separated list of node identifiers or names used to limit the returned information.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:NodeIds" - }, - "style": "simple" - }, - "cat.allocation#bytes": { - "in": "query", - "name": "bytes", - "description": "The unit used to display byte values.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Bytes" - }, - "style": "form" - }, - "cat.component_templates#name": { - "in": "path", - "name": "name", - "description": "The name of the component template. Accepts wildcard expressions. If omitted, all component templates are returned.", - "required": true, - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "simple" - }, - "cat.count#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`). To target all data streams and indices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "cat.fielddata#fields": { - "in": "path", - "name": "fields", - "description": "Comma-separated list of fields used to limit returned information.\nTo retrieve all fields, omit this parameter.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "simple" - }, - "cat.fielddata#bytes": { - "in": "query", - "name": "bytes", - "description": "The unit used to display byte values.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Bytes" - }, - "style": "form" - }, - "cat.fielddata#fields_": { - "in": "query", - "name": "fields", - "description": "Comma-separated list of fields used to limit returned information.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "cat.indices#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`). To target all data streams and indices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "cat.indices#bytes": { - "in": "query", - "name": "bytes", - "description": "The unit used to display byte values.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Bytes" - }, - "style": "form" - }, - "cat.indices#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "The type of index that wildcard patterns can match.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "cat.indices#health": { - "in": "query", - "name": "health", - "description": "The health status used to limit returned indices. By default, the response includes indices of any health status.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:HealthStatus" - }, - "style": "form" - }, - "cat.indices#include_unloaded_segments": { - "in": "query", - "name": "include_unloaded_segments", - "description": "If true, the response includes information from segments that are not loaded into memory.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cat.indices#pri": { - "in": "query", - "name": "pri", - "description": "If true, the response only includes information from primary shards.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cat.indices#time": { - "in": "query", - "name": "time", - "description": "The unit used to display time values.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:TimeUnit" - }, - "style": "form" - }, - "cat.ml_data_frame_analytics#id": { - "in": "path", - "name": "id", - "description": "The ID of the data frame analytics to fetch", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "cat.ml_data_frame_analytics#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Whether to ignore if a wildcard expression matches no configs. (This includes `_all` string or when no configs have been specified)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cat.ml_data_frame_analytics#bytes": { - "in": "query", - "name": "bytes", - "description": "The unit in which to display byte values", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Bytes" - }, - "style": "form" - }, - "cat.ml_data_frame_analytics#h": { - "in": "query", - "name": "h", - "description": "Comma-separated list of column names to display.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/cat._types:CatDfaColumns" - }, - "style": "form" - }, - "cat.ml_data_frame_analytics#s": { - "in": "query", - "name": "s", - "description": "Comma-separated list of column names or column aliases used to sort the\nresponse.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/cat._types:CatDfaColumns" - }, - "style": "form" - }, - "cat.ml_data_frame_analytics#time": { - "in": "query", - "name": "time", - "description": "Unit used to display time values.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "cat.ml_datafeeds#datafeed_id": { - "in": "path", - "name": "datafeed_id", - "description": "A numerical character string that uniquely identifies the datafeed.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "cat.ml_datafeeds#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n* Contains wildcard expressions and there are no datafeeds that match.\n* Contains the `_all` string or no identifiers and there are no matches.\n* Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the API returns an empty datafeeds array when there are no matches and the subset of results when\nthere are partial matches. If `false`, the API returns a 404 status code when there are no matches or only\npartial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cat.ml_datafeeds#h": { - "in": "query", - "name": "h", - "description": "Comma-separated list of column names to display.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/cat._types:CatDatafeedColumns" - }, - "style": "form" - }, - "cat.ml_datafeeds#s": { - "in": "query", - "name": "s", - "description": "Comma-separated list of column names or column aliases used to sort the response.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/cat._types:CatDatafeedColumns" - }, - "style": "form" - }, - "cat.ml_datafeeds#time": { - "in": "query", - "name": "time", - "description": "The unit used to display time values.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:TimeUnit" - }, - "style": "form" - }, - "cat.ml_jobs#job_id": { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "cat.ml_jobs#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n* Contains wildcard expressions and there are no jobs that match.\n* Contains the `_all` string or no identifiers and there are no matches.\n* Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the API returns an empty jobs array when there are no matches and the subset of results when there\nare partial matches. If `false`, the API returns a 404 status code when there are no matches or only partial\nmatches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cat.ml_jobs#bytes": { - "in": "query", - "name": "bytes", - "description": "The unit used to display byte values.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Bytes" - }, - "style": "form" - }, - "cat.ml_jobs#h": { - "in": "query", - "name": "h", - "description": "Comma-separated list of column names to display.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/cat._types:CatAnonalyDetectorColumns" - }, - "style": "form" - }, - "cat.ml_jobs#s": { - "in": "query", - "name": "s", - "description": "Comma-separated list of column names or column aliases used to sort the response.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/cat._types:CatAnonalyDetectorColumns" - }, - "style": "form" - }, - "cat.ml_jobs#time": { - "in": "query", - "name": "time", - "description": "The unit used to display time values.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:TimeUnit" - }, - "style": "form" - }, - "cat.ml_trained_models#model_id": { - "in": "path", - "name": "model_id", - "description": "A unique identifier for the trained model.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "cat.ml_trained_models#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request: contains wildcard expressions and there are no models that match; contains the `_all` string or no identifiers and there are no matches; contains wildcard expressions and there are only partial matches.\nIf `true`, the API returns an empty array when there are no matches and the subset of results when there are partial matches.\nIf `false`, the API returns a 404 status code when there are no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cat.ml_trained_models#bytes": { - "in": "query", - "name": "bytes", - "description": "The unit used to display byte values.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Bytes" - }, - "style": "form" - }, - "cat.ml_trained_models#h": { - "in": "query", - "name": "h", - "description": "A comma-separated list of column names to display.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/cat._types:CatTrainedModelsColumns" - }, - "style": "form" - }, - "cat.ml_trained_models#s": { - "in": "query", - "name": "s", - "description": "A comma-separated list of column names or aliases used to sort the response.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/cat._types:CatTrainedModelsColumns" - }, - "style": "form" - }, - "cat.ml_trained_models#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of transforms.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "cat.ml_trained_models#size": { - "in": "query", - "name": "size", - "description": "The maximum number of transforms to display.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "cat.recovery#index": { - "in": "path", - "name": "index", - "description": "A comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`). To target all data streams and indices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "cat.recovery#active_only": { - "in": "query", - "name": "active_only", - "description": "If `true`, the response only includes ongoing shard recoveries.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cat.recovery#bytes": { - "in": "query", - "name": "bytes", - "description": "The unit used to display byte values.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Bytes" - }, - "style": "form" - }, - "cat.recovery#detailed": { - "in": "query", - "name": "detailed", - "description": "If `true`, the response includes detailed information about shard recoveries.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cat.segments#index": { - "in": "path", - "name": "index", - "description": "A comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "cat.segments#bytes": { - "in": "query", - "name": "bytes", - "description": "The unit used to display byte values.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Bytes" - }, - "style": "form" - }, - "cat.shards#index": { - "in": "path", - "name": "index", - "description": "A comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "cat.shards#bytes": { - "in": "query", - "name": "bytes", - "description": "The unit used to display byte values.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Bytes" - }, - "style": "form" - }, - "cat.snapshots#repository": { - "in": "path", - "name": "repository", - "description": "A comma-separated list of snapshot repositories used to limit the request.\nAccepts wildcard expressions.\n`_all` returns all repositories.\nIf any repository fails during the request, Elasticsearch returns an error.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "cat.snapshots#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `true`, the response does not include information from unavailable snapshots.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cat.templates#name": { - "in": "path", - "name": "name", - "description": "The name of the template to return.\nAccepts wildcard expressions. If omitted, all templates are returned.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "cat.thread_pool#thread_pool_patterns": { - "in": "path", - "name": "thread_pool_patterns", - "description": "A comma-separated list of thread pool names used to limit the request.\nAccepts wildcard expressions.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "cat.thread_pool#time": { - "in": "query", - "name": "time", - "description": "The unit used to display time values.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:TimeUnit" - }, - "style": "form" - }, - "cat.transforms#transform_id": { - "in": "path", - "name": "transform_id", - "description": "A transform identifier or a wildcard expression.\nIf you do not specify one of these options, the API returns information for all transforms.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "cat.transforms#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request: contains wildcard expressions and there are no transforms that match; contains the `_all` string or no identifiers and there are no matches; contains wildcard expressions and there are only partial matches.\nIf `true`, it returns an empty transforms array when there are no matches and the subset of results when there are partial matches.\nIf `false`, the request returns a 404 status code when there are no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cat.transforms#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of transforms.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "cat.transforms#h": { - "in": "query", - "name": "h", - "description": "Comma-separated list of column names to display.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/cat._types:CatTransformColumns" - }, - "style": "form" - }, - "cat.transforms#s": { - "in": "query", - "name": "s", - "description": "Comma-separated list of column names or column aliases used to sort the response.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/cat._types:CatTransformColumns" - }, - "style": "form" - }, - "cat.transforms#time": { - "in": "query", - "name": "time", - "description": "The unit used to display time values.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:TimeUnit" - }, - "style": "form" - }, - "cat.transforms#size": { - "in": "query", - "name": "size", - "description": "The maximum number of transforms to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ccr.get_auto_follow_pattern#name": { - "in": "path", - "name": "name", - "description": "Specifies the auto-follow pattern collection that you want to retrieve. If you do not specify a name, the API returns information for all collections.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "clear_scroll#scroll_id": { - "in": "path", - "name": "scroll_id", - "description": "Comma-separated list of scroll IDs to clear.\nTo clear all scroll IDs, use `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ScrollIds" - }, - "style": "simple" - }, - "cluster.allocation_explain#include_disk_info": { - "in": "query", - "name": "include_disk_info", - "description": "If true, returns information about disk usage and shard sizes.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cluster.allocation_explain#include_yes_decisions": { - "in": "query", - "name": "include_yes_decisions", - "description": "If true, returns YES decisions in explanation.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cluster.get_component_template#name": { - "in": "path", - "name": "name", - "description": "Comma-separated list of component template names used to limit the request.\nWildcard (`*`) expressions are supported.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "cluster.get_component_template#flat_settings": { - "in": "query", - "name": "flat_settings", - "description": "If `true`, returns settings in flat format.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cluster.get_component_template#include_defaults": { - "in": "query", - "name": "include_defaults", - "description": "Return all default configurations for the component template (default: false)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cluster.get_component_template#local": { - "in": "query", - "name": "local", - "description": "If `true`, the request retrieves information from the local node only.\nIf `false`, information is retrieved from the master node.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cluster.get_component_template#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "cluster.health#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and index aliases used to limit the request. Wildcard expressions (*) are supported. To target all data streams and indices in a cluster, omit this parameter or use _all or *.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "cluster.health#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "cluster.health#level": { - "in": "query", - "name": "level", - "description": "Can be one of cluster, indices or shards. Controls the details level of the health information returned.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Level" - }, - "style": "form" - }, - "cluster.health#local": { - "in": "query", - "name": "local", - "description": "If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cluster.health#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "cluster.health#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "cluster.health#wait_for_active_shards": { - "in": "query", - "name": "wait_for_active_shards", - "description": "A number controlling to how many active shards to wait for, all to wait for all shards in the cluster to be active, or 0 to not wait.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - }, - "cluster.health#wait_for_events": { - "in": "query", - "name": "wait_for_events", - "description": "Can be one of immediate, urgent, high, normal, low, languid. Wait until all currently queued events with the given priority are processed.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForEvents" - }, - "style": "form" - }, - "cluster.health#wait_for_nodes": { - "in": "query", - "name": "wait_for_nodes", - "description": "The request waits until the specified number N of nodes is available. It also accepts >=N, <=N, >N and yellow > red. By default, will not wait for any status.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:HealthStatus" - }, - "style": "form" - }, - "cluster.put_component_template#name": { - "in": "path", - "name": "name", - "description": "Name of the component template to create.\nElasticsearch includes the following built-in component templates: `logs-mappings`; 'logs-settings`; `metrics-mappings`; `metrics-settings`;`synthetics-mapping`; `synthetics-settings`.\nElastic Agent uses these templates to configure backing indices for its data streams.\nIf you use Elastic Agent and want to overwrite one of these templates, set the `version` for your replacement template higher than the current version.\nIf you don’t use Elastic Agent and want to disable all built-in component and index templates, set `stack.templates.enabled` to `false` using the cluster update settings API.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "cluster.put_component_template#create": { - "in": "query", - "name": "create", - "description": "If `true`, this request cannot replace or update existing component templates.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cluster.put_component_template#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "cluster.state#metric": { - "in": "path", - "name": "metric", - "description": "Limit the information returned to the specified metrics", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Metrics" - }, - "style": "simple" - }, - "cluster.state#index": { - "in": "path", - "name": "index", - "description": "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "cluster.state#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cluster.state#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "cluster.state#flat_settings": { - "in": "query", - "name": "flat_settings", - "description": "Return settings in flat format (default: false)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cluster.state#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cluster.state#local": { - "in": "query", - "name": "local", - "description": "Return local information, do not retrieve the state from master node (default: false)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cluster.state#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Specify timeout for connection to master", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "cluster.state#wait_for_metadata_version": { - "in": "query", - "name": "wait_for_metadata_version", - "description": "Wait for the metadata version to be equal or greater than the specified metadata version", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "style": "form" - }, - "cluster.state#wait_for_timeout": { - "in": "query", - "name": "wait_for_timeout", - "description": "The maximum time to wait for wait_for_metadata_version before timing out", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "cluster.stats#node_id": { - "in": "path", - "name": "node_id", - "description": "Comma-separated list of node filters used to limit returned information. Defaults to all nodes in the cluster.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:NodeIds" - }, - "style": "simple" - }, - "cluster.stats#flat_settings": { - "in": "query", - "name": "flat_settings", - "description": "If `true`, returns settings in flat format.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "cluster.stats#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for each node to respond.\nIf a node does not respond before its timeout expires, the response does not include its stats.\nHowever, timed out nodes are included in the response’s `_nodes.failed` property. Defaults to no timeout.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "count#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "count#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "count#analyzer": { - "in": "query", - "name": "analyzer", - "description": "Analyzer to use for the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "count#analyze_wildcard": { - "in": "query", - "name": "analyze_wildcard", - "description": "If `true`, wildcard and prefix queries are analyzed.\nThis parameter can only be used when the `q` query string parameter is specified.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "count#default_operator": { - "in": "query", - "name": "default_operator", - "description": "The default operator for query string query: `AND` or `OR`.\nThis parameter can only be used when the `q` query string parameter is specified.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "style": "form" - }, - "count#df": { - "in": "query", - "name": "df", - "description": "Field to use as default where no field prefix is given in the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "count#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "count#ignore_throttled": { - "in": "query", - "name": "ignore_throttled", - "description": "If `true`, concrete, expanded or aliased indices are ignored when frozen.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "count#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "count#lenient": { - "in": "query", - "name": "lenient", - "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "count#min_score": { - "in": "query", - "name": "min_score", - "description": "Sets the minimum `_score` value that documents must have to be included in the result.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "count#preference": { - "in": "query", - "name": "preference", - "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "count#routing": { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - "count#terminate_after": { - "in": "query", - "name": "terminate_after", - "description": "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.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "count#q": { - "in": "query", - "name": "q", - "description": "Query in the Lucene query string syntax.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "create#id": { - "in": "path", - "name": "id", - "description": "Unique identifier for the document.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "create#index": { - "in": "path", - "name": "index", - "description": "Name of the data stream or index to target.\nIf the target doesn’t exist and matches the name or wildcard (`*`) pattern of an index template with a `data_stream` definition, this request creates the data stream.\nIf the target doesn’t exist and doesn’t match a data stream template, this request creates the index.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - "create#pipeline": { - "in": "query", - "name": "pipeline", - "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "create#refresh": { - "in": "query", - "name": "refresh", - "description": "If `true`, Elasticsearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.\nValid values: `true`, `false`, `wait_for`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - "create#routing": { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - "create#timeout": { - "in": "query", - "name": "timeout", - "description": "Period the request waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "create#version": { - "in": "query", - "name": "version", - "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "style": "form" - }, - "create#version_type": { - "in": "query", - "name": "version_type", - "description": "Specific version type: `external`, `external_gte`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionType" - }, - "style": "form" - }, - "create#wait_for_active_shards": { - "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - }, - "enrich.get_policy#name": { - "in": "path", - "name": "name", - "description": "Comma-separated list of enrich policy names used to limit the request.\nTo return information for all enrich policies, omit this parameter.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "eql.search#index": { - "in": "path", - "name": "index", - "description": "The name of the index to scope the operation", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "eql.search#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "eql.search#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "eql.search#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If true, missing or closed indices are not included in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "eql.search#keep_alive": { - "in": "query", - "name": "keep_alive", - "description": "Period for which the search and its results are stored on the cluster.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "eql.search#keep_on_completion": { - "in": "query", - "name": "keep_on_completion", - "description": "If true, the search and its results are stored on the cluster.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "eql.search#wait_for_completion_timeout": { - "in": "query", - "name": "wait_for_completion_timeout", - "description": "Timeout duration to wait for the request to finish. Defaults to no timeout, meaning the request waits for complete search results.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "explain#id": { - "in": "path", - "name": "id", - "description": "Defines the document ID.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "explain#index": { - "in": "path", - "name": "index", - "description": "Index names used to limit the request.\nOnly a single index name can be provided to this parameter.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - "explain#analyzer": { - "in": "query", - "name": "analyzer", - "description": "Analyzer to use for the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "explain#analyze_wildcard": { - "in": "query", - "name": "analyze_wildcard", - "description": "If `true`, wildcard and prefix queries are analyzed.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "explain#default_operator": { - "in": "query", - "name": "default_operator", - "description": "The default operator for query string query: `AND` or `OR`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "style": "form" - }, - "explain#df": { - "in": "query", - "name": "df", - "description": "Field to use as default where no field prefix is given in the query string.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "explain#lenient": { - "in": "query", - "name": "lenient", - "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "explain#preference": { - "in": "query", - "name": "preference", - "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "explain#routing": { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - "explain#_source": { - "in": "query", - "name": "_source", - "description": "True or false to return the `_source` field or not, or a list of fields to return.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" - }, - "style": "form" - }, - "explain#_source_excludes": { - "in": "query", - "name": "_source_excludes", - "description": "A comma-separated list of source fields to exclude from the response.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "explain#_source_includes": { - "in": "query", - "name": "_source_includes", - "description": "A comma-separated list of source fields to include in the response.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "explain#stored_fields": { - "in": "query", - "name": "stored_fields", - "description": "A comma-separated list of stored fields to return in the response.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "explain#q": { - "in": "query", - "name": "q", - "description": "Query in the Lucene query string syntax.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "field_caps#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indices, omit this parameter or use * or _all.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "field_caps#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If false, the request returns an error if any wildcard expression, index alias,\nor `_all` value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request\ntargeting `foo*,bar*` returns an error if an index starts with foo but no index starts with bar.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "field_caps#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams. Supports comma-separated values, such as `open,hidden`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "field_caps#fields": { - "in": "query", - "name": "fields", - "description": "Comma-separated list of fields to retrieve capabilities for. Wildcard (`*`) expressions are supported.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "field_caps#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `true`, missing or closed indices are not included in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "field_caps#include_unmapped": { - "in": "query", - "name": "include_unmapped", - "description": "If true, unmapped fields are included in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "field_caps#filters": { - "in": "query", - "name": "filters", - "description": "An optional set of filters: can include +metadata,-metadata,-nested,-multifield,-parent", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "field_caps#types": { - "in": "query", - "name": "types", - "description": "Only return results for fields that have one of the types in the list", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form" - }, - "fleet.msearch#index": { - "in": "path", - "name": "index", - "description": "A single target to search. If the target is an index alias, it must resolve to a single index.", - "required": true, - "deprecated": false, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:IndexName" - }, - { - "$ref": "#/components/schemas/_types:IndexAlias" - } - ] - }, - "style": "simple" - }, - "fleet.msearch#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "fleet.msearch#ccs_minimize_roundtrips": { - "in": "query", - "name": "ccs_minimize_roundtrips", - "description": "If true, network roundtrips between the coordinating node and remote clusters are minimized for cross-cluster search requests.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "fleet.msearch#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard expressions can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "fleet.msearch#ignore_throttled": { - "in": "query", - "name": "ignore_throttled", - "description": "If true, concrete, expanded or aliased indices are ignored when frozen.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "fleet.msearch#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If true, missing or closed indices are not included in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "fleet.msearch#max_concurrent_searches": { - "in": "query", - "name": "max_concurrent_searches", - "description": "Maximum number of concurrent searches the multi search API can execute.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "fleet.msearch#max_concurrent_shard_requests": { - "in": "query", - "name": "max_concurrent_shard_requests", - "description": "Maximum number of concurrent shard requests that each sub-search request executes per node.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "fleet.msearch#pre_filter_shard_size": { - "in": "query", - "name": "pre_filter_shard_size", - "description": "Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method i.e., if date filters are mandatory to match but the shard bounds and the query are disjoint.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "fleet.msearch#search_type": { - "in": "query", - "name": "search_type", - "description": "Indicates whether global term and document frequencies should be used when scoring returned documents.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SearchType" - }, - "style": "form" - }, - "fleet.msearch#rest_total_hits_as_int": { - "in": "query", - "name": "rest_total_hits_as_int", - "description": "If true, hits.total are returned as an integer in the response. Defaults to false, which returns an object.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "fleet.msearch#typed_keys": { - "in": "query", - "name": "typed_keys", - "description": "Specifies whether aggregation and suggester names should be prefixed by their respective types in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "fleet.msearch#wait_for_checkpoints": { - "in": "query", - "name": "wait_for_checkpoints", - "description": "A comma separated list of checkpoints. When configured, the search API will only be executed on a shard\nafter the relevant checkpoint has become visible for search. Defaults to an empty list which will cause\nElasticsearch to immediately execute the search.", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/fleet._types:Checkpoint" - } - }, - "style": "form" - }, - "fleet.msearch#allow_partial_search_results": { - "in": "query", - "name": "allow_partial_search_results", - "description": "If true, returns partial results if there are shard request timeouts or [shard failures](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-replication.html#shard-failures). If false, returns\nan error with no partial results. Defaults to the configured cluster setting `search.default_allow_partial_results`\nwhich is true by default.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "fleet.search#index": { - "in": "path", - "name": "index", - "description": "A single target to search. If the target is an index alias, it must resolve to a single index.", - "required": true, - "deprecated": false, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:IndexName" - }, - { - "$ref": "#/components/schemas/_types:IndexAlias" - } - ] - }, - "style": "simple" - }, - "fleet.search#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "fleet.search#analyzer": { - "in": "query", - "name": "analyzer", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "fleet.search#analyze_wildcard": { - "in": "query", - "name": "analyze_wildcard", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "fleet.search#batched_reduce_size": { - "in": "query", - "name": "batched_reduce_size", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "fleet.search#ccs_minimize_roundtrips": { - "in": "query", - "name": "ccs_minimize_roundtrips", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "fleet.search#default_operator": { - "in": "query", - "name": "default_operator", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "style": "form" - }, - "fleet.search#df": { - "in": "query", - "name": "df", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "fleet.search#docvalue_fields": { - "in": "query", - "name": "docvalue_fields", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "fleet.search#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "fleet.search#explain": { - "in": "query", - "name": "explain", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "fleet.search#ignore_throttled": { - "in": "query", - "name": "ignore_throttled", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "fleet.search#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "fleet.search#lenient": { - "in": "query", - "name": "lenient", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "fleet.search#max_concurrent_shard_requests": { - "in": "query", - "name": "max_concurrent_shard_requests", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "fleet.search#min_compatible_shard_node": { - "in": "query", - "name": "min_compatible_shard_node", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "style": "form" - }, - "fleet.search#preference": { - "in": "query", - "name": "preference", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "fleet.search#pre_filter_shard_size": { - "in": "query", - "name": "pre_filter_shard_size", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "fleet.search#request_cache": { - "in": "query", - "name": "request_cache", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "fleet.search#routing": { - "in": "query", - "name": "routing", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - "fleet.search#scroll": { - "in": "query", - "name": "scroll", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "fleet.search#search_type": { - "in": "query", - "name": "search_type", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SearchType" - }, - "style": "form" - }, - "fleet.search#stats": { - "in": "query", - "name": "stats", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form" - }, - "fleet.search#stored_fields": { - "in": "query", - "name": "stored_fields", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "fleet.search#suggest_field": { - "in": "query", - "name": "suggest_field", - "description": "Specifies which field to use for suggestions.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Field" - }, - "style": "form" - }, - "fleet.search#suggest_mode": { - "in": "query", - "name": "suggest_mode", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SuggestMode" - }, - "style": "form" - }, - "fleet.search#suggest_size": { - "in": "query", - "name": "suggest_size", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "fleet.search#suggest_text": { - "in": "query", - "name": "suggest_text", - "description": "The source text for which the suggestions should be returned.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "fleet.search#terminate_after": { - "in": "query", - "name": "terminate_after", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "fleet.search#timeout": { - "in": "query", - "name": "timeout", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "fleet.search#track_total_hits": { - "in": "query", - "name": "track_total_hits", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search._types:TrackHits" - }, - "style": "form" - }, - "fleet.search#track_scores": { - "in": "query", - "name": "track_scores", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "fleet.search#typed_keys": { - "in": "query", - "name": "typed_keys", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "fleet.search#rest_total_hits_as_int": { - "in": "query", - "name": "rest_total_hits_as_int", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "fleet.search#version": { - "in": "query", - "name": "version", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "fleet.search#_source": { - "in": "query", - "name": "_source", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" - }, - "style": "form" - }, - "fleet.search#_source_excludes": { - "in": "query", - "name": "_source_excludes", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "fleet.search#_source_includes": { - "in": "query", - "name": "_source_includes", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "fleet.search#seq_no_primary_term": { - "in": "query", - "name": "seq_no_primary_term", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "fleet.search#q": { - "in": "query", - "name": "q", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "fleet.search#size": { - "in": "query", - "name": "size", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "fleet.search#from": { - "in": "query", - "name": "from", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "fleet.search#sort": { - "in": "query", - "name": "sort", - "deprecated": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "style": "form" - }, - "fleet.search#wait_for_checkpoints": { - "in": "query", - "name": "wait_for_checkpoints", - "description": "A comma separated list of checkpoints. When configured, the search API will only be executed on a shard\nafter the relevant checkpoint has become visible for search. Defaults to an empty list which will cause\nElasticsearch to immediately execute the search.", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/fleet._types:Checkpoint" - } - }, - "style": "form" - }, - "fleet.search#allow_partial_search_results": { - "in": "query", - "name": "allow_partial_search_results", - "description": "If true, returns partial results if there are shard request timeouts or [shard failures](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-replication.html#shard-failures). If false, returns\nan error with no partial results. Defaults to the configured cluster setting `search.default_allow_partial_results`\nwhich is true by default.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "graph.explore#index": { - "in": "path", - "name": "index", - "description": "Name of the index.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "graph.explore#routing": { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - "graph.explore#timeout": { - "in": "query", - "name": "timeout", - "description": "Specifies 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.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "health_report#feature": { - "in": "path", - "name": "feature", - "description": "A feature of the cluster, as returned by the top-level health report API.", - "required": true, - "deprecated": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "style": "simple" - }, - "health_report#timeout": { - "in": "query", - "name": "timeout", - "description": "Explicit operation timeout.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "health_report#verbose": { - "in": "query", - "name": "verbose", - "description": "Opt-in for more information about the health of the system.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "health_report#size": { - "in": "query", - "name": "size", - "description": "Limit the number of affected resources the health report API returns.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ilm.get_lifecycle#policy": { - "in": "path", - "name": "policy", - "description": "Identifier for the policy.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "ilm.get_lifecycle#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "ilm.get_lifecycle#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "index#id": { - "in": "path", - "name": "id", - "description": "Unique identifier for the document.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "index#index": { - "in": "path", - "name": "index", - "description": "Name of the data stream or index to target.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - "index#if_primary_term": { - "in": "query", - "name": "if_primary_term", - "description": "Only perform the operation if the document has this primary term.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "index#if_seq_no": { - "in": "query", - "name": "if_seq_no", - "description": "Only perform the operation if the document has this sequence number.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "style": "form" - }, - "index#op_type": { - "in": "query", - "name": "op_type", - "description": "Set to create to only index the document if it does not already exist (put if absent).\nIf a document with the specified `_id` already exists, the indexing operation will fail.\nSame as using the `/_create` endpoint.\nValid values: `index`, `create`.\nIf document id is specified, it defaults to `index`.\nOtherwise, it defaults to `create`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:OpType" - }, - "style": "form" - }, - "index#pipeline": { - "in": "query", - "name": "pipeline", - "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "index#refresh": { - "in": "query", - "name": "refresh", - "description": "If `true`, Elasticsearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.\nValid values: `true`, `false`, `wait_for`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - "index#routing": { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - "index#timeout": { - "in": "query", - "name": "timeout", - "description": "Period the request waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "index#version": { - "in": "query", - "name": "version", - "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "style": "form" - }, - "index#version_type": { - "in": "query", - "name": "version_type", - "description": "Specific version type: `external`, `external_gte`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionType" - }, - "style": "form" - }, - "index#wait_for_active_shards": { - "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - }, - "index#require_alias": { - "in": "query", - "name": "require_alias", - "description": "If `true`, the destination must be an index alias.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.analyze#index": { - "in": "path", - "name": "index", - "description": "Index used to derive the analyzer.\nIf specified, the `analyzer` or field parameter overrides this value.\nIf no index is specified or the index does not have a default analyzer, the analyze API uses the standard analyzer.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - "indices.clear_cache#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "indices.clear_cache#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.clear_cache#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "indices.clear_cache#fielddata": { - "in": "query", - "name": "fielddata", - "description": "If `true`, clears the fields cache.\nUse the `fields` parameter to clear the cache of specific fields only.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.clear_cache#fields": { - "in": "query", - "name": "fields", - "description": "Comma-separated list of field names used to limit the `fielddata` parameter.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "indices.clear_cache#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.clear_cache#query": { - "in": "query", - "name": "query", - "description": "If `true`, clears the query cache.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.clear_cache#request": { - "in": "query", - "name": "request", - "description": "If `true`, clears the request cache.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.clone#index": { - "in": "path", - "name": "index", - "description": "Name of the source index to clone.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - "indices.clone#target": { - "in": "path", - "name": "target", - "description": "Name of the target index to create.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "indices.clone#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.clone#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.clone#wait_for_active_shards": { - "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - }, - "indices.data_streams_stats#name": { - "in": "path", - "name": "name", - "description": "Comma-separated list of data streams used to limit the request.\nWildcard expressions (`*`) are supported.\nTo target all data streams in a cluster, omit this parameter or use `*`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - "indices.data_streams_stats#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "indices.delete_alias#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams or indices used to limit the request.\nSupports wildcards (`*`).", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "indices.delete_alias#name": { - "in": "path", - "name": "name", - "description": "Comma-separated list of aliases to remove.\nSupports wildcards (`*`). To remove all aliases, use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "indices.delete_alias#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.delete_alias#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.exists_alias#name": { - "in": "path", - "name": "name", - "description": "Comma-separated list of aliases to check. Supports wildcards (`*`).", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "indices.exists_alias#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams or indices used to limit the request. Supports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "indices.exists_alias#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.exists_alias#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "indices.exists_alias#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, requests that include a missing data stream or index in the target indices or data streams return an error.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.exists_alias#local": { - "in": "query", - "name": "local", - "description": "If `true`, the request retrieves information from the local node only.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.flush#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases to flush.\nSupports wildcards (`*`).\nTo flush all data streams and indices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "indices.flush#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.flush#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "indices.flush#force": { - "in": "query", - "name": "force", - "description": "If `true`, the request forces a flush even if there are no changes to commit to the index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.flush#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.flush#wait_if_ongoing": { - "in": "query", - "name": "wait_if_ongoing", - "description": "If `true`, the flush operation blocks until execution when another flush operation is running.\nIf `false`, Elasticsearch returns an error if you request a flush when another flush operation is running.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.forcemerge#index": { - "in": "path", - "name": "index", - "description": "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "indices.forcemerge#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.forcemerge#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "indices.forcemerge#flush": { - "in": "query", - "name": "flush", - "description": "Specify whether the index should be flushed after performing the operation (default: true)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.forcemerge#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.forcemerge#max_num_segments": { - "in": "query", - "name": "max_num_segments", - "description": "The number of segments the index should be merged into (default: dynamic)", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "indices.forcemerge#only_expunge_deletes": { - "in": "query", - "name": "only_expunge_deletes", - "description": "Specify whether the operation should only expunge deleted documents", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.forcemerge#wait_for_completion": { - "in": "query", - "name": "wait_for_completion", - "description": "Should the request wait until the force merge is completed.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_alias#name": { - "in": "path", - "name": "name", - "description": "Comma-separated list of aliases to retrieve.\nSupports wildcards (`*`).\nTo retrieve all aliases, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "indices.get_alias#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams or indices used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "indices.get_alias#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_alias#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "indices.get_alias#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_alias#local": { - "in": "query", - "name": "local", - "description": "If `true`, the request retrieves information from the local node only.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_data_stream#name": { - "in": "path", - "name": "name", - "description": "Comma-separated list of data stream names used to limit the request.\nWildcard (`*`) expressions are supported. If omitted, all data streams are returned.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DataStreamNames" - }, - "style": "simple" - }, - "indices.get_data_stream#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "indices.get_data_stream#include_defaults": { - "in": "query", - "name": "include_defaults", - "description": "If true, returns all relevant default configurations for the index template.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_field_mapping#fields": { - "in": "path", - "name": "fields", - "description": "Comma-separated list or wildcard expression of fields used to limit returned information.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "simple" - }, - "indices.get_field_mapping#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "indices.get_field_mapping#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_field_mapping#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "indices.get_field_mapping#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_field_mapping#include_defaults": { - "in": "query", - "name": "include_defaults", - "description": "If `true`, return all default settings in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_field_mapping#local": { - "in": "query", - "name": "local", - "description": "If `true`, the request retrieves information from the local node only.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_index_template#name": { - "in": "path", - "name": "name", - "description": "Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "indices.get_index_template#local": { - "in": "query", - "name": "local", - "description": "If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_index_template#flat_settings": { - "in": "query", - "name": "flat_settings", - "description": "If true, returns settings in flat format.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_index_template#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.get_index_template#include_defaults": { - "in": "query", - "name": "include_defaults", - "description": "If true, returns all relevant default configurations for the index template.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_mapping#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "indices.get_mapping#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_mapping#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "indices.get_mapping#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_mapping#local": { - "in": "query", - "name": "local", - "description": "If `true`, the request retrieves information from the local node only.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_mapping#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.get_settings#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases used to limit\nthe request. Supports wildcards (`*`). To target all data streams and\nindices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "indices.get_settings#name": { - "in": "path", - "name": "name", - "description": "Comma-separated list or wildcard expression of settings to retrieve.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "indices.get_settings#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index\nalias, or `_all` value targets only missing or closed indices. This\nbehavior applies even if the request targets other open indices. For\nexample, a request targeting `foo*,bar*` returns an error if an index\nstarts with foo but no index starts with `bar`.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_settings#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "indices.get_settings#flat_settings": { - "in": "query", - "name": "flat_settings", - "description": "If `true`, returns settings in flat format.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_settings#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_settings#include_defaults": { - "in": "query", - "name": "include_defaults", - "description": "If `true`, return all default settings in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_settings#local": { - "in": "query", - "name": "local", - "description": "If `true`, the request retrieves information from the local node only. If\n`false`, information is retrieved from the master node.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_settings#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.get_template#name": { - "in": "path", - "name": "name", - "description": "Comma-separated list of index template names used to limit the request.\nWildcard (`*`) expressions are supported.\nTo return all index templates, omit this parameter or use a value of `_all` or `*`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "indices.get_template#flat_settings": { - "in": "query", - "name": "flat_settings", - "description": "If `true`, returns settings in flat format.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_template#local": { - "in": "query", - "name": "local", - "description": "If `true`, the request retrieves information from the local node only.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.get_template#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.put_alias#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams or indices to add.\nSupports wildcards (`*`).\nWildcard patterns that match both data streams and indices return an error.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "indices.put_alias#name": { - "in": "path", - "name": "name", - "description": "Alias to update.\nIf the alias doesn’t exist, the request creates it.\nIndex alias names support date math.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "indices.put_alias#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.put_alias#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.put_index_template#name": { - "in": "path", - "name": "name", - "description": "Index or template name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "indices.put_index_template#create": { - "in": "query", - "name": "create", - "description": "If `true`, this request cannot replace or update existing index templates.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.put_mapping#index": { - "in": "path", - "name": "index", - "description": "A comma-separated list of index names the mapping should be added to (supports wildcards); use `_all` or omit to add the mapping on all indices.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "indices.put_mapping#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.put_mapping#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "indices.put_mapping#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.put_mapping#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.put_mapping#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.put_mapping#write_index_only": { - "in": "query", - "name": "write_index_only", - "description": "If `true`, the mappings are applied only to the current write index for the target.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.put_settings#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases used to limit\nthe request. Supports wildcards (`*`). To target all data streams and\nindices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "indices.put_settings#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index\nalias, or `_all` value targets only missing or closed indices. This\nbehavior applies even if the request targets other open indices. For\nexample, a request targeting `foo*,bar*` returns an error if an index\nstarts with `foo` but no index starts with `bar`.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.put_settings#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match. If the request can target\ndata streams, this argument determines whether wildcard expressions match\nhidden data streams. Supports comma-separated values, such as\n`open,hidden`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "indices.put_settings#flat_settings": { - "in": "query", - "name": "flat_settings", - "description": "If `true`, returns settings in flat format.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.put_settings#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `true`, returns settings in flat format.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.put_settings#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.put_settings#preserve_existing": { - "in": "query", - "name": "preserve_existing", - "description": "If `true`, existing index settings remain unchanged.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.put_settings#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the\n timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.put_template#name": { - "in": "path", - "name": "name", - "description": "The name of the template", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "indices.put_template#create": { - "in": "query", - "name": "create", - "description": "If true, this request cannot replace or update existing index templates.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.put_template#flat_settings": { - "in": "query", - "name": "flat_settings", - "description": "If `true`, returns settings in flat format.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.put_template#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.put_template#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.put_template#order": { - "in": "query", - "name": "order", - "description": "Order in which Elasticsearch applies this template if index\nmatches multiple templates.\n\nTemplates with lower 'order' values are merged first. Templates with higher\n'order' values are merged later, overriding templates with lower values.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "indices.recovery#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "indices.recovery#active_only": { - "in": "query", - "name": "active_only", - "description": "If `true`, the response only includes ongoing shard recoveries.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.recovery#detailed": { - "in": "query", - "name": "detailed", - "description": "If `true`, the response includes detailed information about shard recoveries.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.refresh#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "indices.refresh#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.refresh#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "indices.refresh#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.reload_search_analyzers#index": { - "in": "path", - "name": "index", - "description": "A comma-separated list of index names to reload analyzers for", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "indices.reload_search_analyzers#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.reload_search_analyzers#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "indices.reload_search_analyzers#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.rollover#alias": { - "in": "path", - "name": "alias", - "description": "Name of the data stream or index alias to roll over.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexAlias" - }, - "style": "simple" - }, - "indices.rollover#new_index": { - "in": "path", - "name": "new_index", - "description": "Name of the index to create.\nSupports date math.\nData streams do not support this parameter.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - "indices.rollover#dry_run": { - "in": "query", - "name": "dry_run", - "description": "If `true`, checks whether the current index satisfies the specified conditions but does not perform a rollover.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.rollover#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.rollover#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.rollover#wait_for_active_shards": { - "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - }, - "indices.segments#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "indices.segments#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.segments#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "indices.segments#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.segments#verbose": { - "in": "query", - "name": "verbose", - "description": "If `true`, the request returns a verbose response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.shard_stores#index": { - "in": "path", - "name": "index", - "description": "List of data streams, indices, and aliases used to limit the request.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "indices.shard_stores#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If false, the request returns an error if any wildcard expression, index alias, or _all\nvalue targets only missing or closed indices. This behavior applies even if the request\ntargets other open indices.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.shard_stores#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match. If the request can target data streams,\nthis argument determines whether wildcard expressions match hidden data streams.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "indices.shard_stores#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If true, missing or closed indices are not included in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.shard_stores#status": { - "in": "query", - "name": "status", - "description": "List of shard health statuses used to limit the request.", - "deprecated": false, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/indices.shard_stores:ShardStoreStatus" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.shard_stores:ShardStoreStatus" - } - } - ] - }, - "style": "form" - }, - "indices.shrink#index": { - "in": "path", - "name": "index", - "description": "Name of the source index to shrink.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - "indices.shrink#target": { - "in": "path", - "name": "target", - "description": "Name of the target index to create.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - "indices.shrink#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.shrink#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.shrink#wait_for_active_shards": { - "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - }, - "indices.simulate_template#name": { - "in": "path", - "name": "name", - "description": "Name of the index template to simulate. To test a template configuration before you add it to the cluster, omit\nthis parameter and specify the template configuration in the request body.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "indices.simulate_template#create": { - "in": "query", - "name": "create", - "description": "If true, the template passed in the body is only used if no existing templates match the same index patterns. If false, the simulation uses the template with the highest priority. Note that the template is not permanently added or updated in either case; it is only used for the simulation.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.simulate_template#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.simulate_template#include_defaults": { - "in": "query", - "name": "include_defaults", - "description": "If true, returns all relevant default configurations for the index template.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.split#index": { - "in": "path", - "name": "index", - "description": "Name of the source index to split.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - "indices.split#target": { - "in": "path", - "name": "target", - "description": "Name of the target index to create.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - "indices.split#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.split#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "indices.split#wait_for_active_shards": { - "in": "query", - "name": "wait_for_active_shards", - "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:WaitForActiveShards" - }, - "style": "form" - }, - "indices.stats#metric": { - "in": "path", - "name": "metric", - "description": "Limit the information returned the specific metrics.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Metrics" - }, - "style": "simple" - }, - "indices.stats#index": { - "in": "path", - "name": "index", - "description": "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "indices.stats#completion_fields": { - "in": "query", - "name": "completion_fields", - "description": "Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "indices.stats#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match. If the request can target data streams, this argument\ndetermines whether wildcard expressions match hidden data streams. Supports comma-separated values,\nsuch as `open,hidden`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "indices.stats#fielddata_fields": { - "in": "query", - "name": "fielddata_fields", - "description": "Comma-separated list or wildcard expressions of fields to include in fielddata statistics.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "indices.stats#fields": { - "in": "query", - "name": "fields", - "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "indices.stats#forbid_closed_indices": { - "in": "query", - "name": "forbid_closed_indices", - "description": "If true, statistics are not collected from closed indices.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.stats#groups": { - "in": "query", - "name": "groups", - "description": "Comma-separated list of search groups to include in the search statistics.", - "deprecated": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "style": "form" - }, - "indices.stats#include_segment_file_sizes": { - "in": "query", - "name": "include_segment_file_sizes", - "description": "If true, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.stats#include_unloaded_segments": { - "in": "query", - "name": "include_unloaded_segments", - "description": "If true, the response includes information from segments that are not loaded into memory.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.stats#level": { - "in": "query", - "name": "level", - "description": "Indicates whether statistics are aggregated at the cluster, index, or shard level.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Level" - }, - "style": "form" - }, - "indices.validate_query#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams or indices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "indices.validate_query#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.validate_query#all_shards": { - "in": "query", - "name": "all_shards", - "description": "If `true`, the validation is executed on all shards instead of one random shard per index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.validate_query#analyzer": { - "in": "query", - "name": "analyzer", - "description": "Analyzer to use for the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "indices.validate_query#analyze_wildcard": { - "in": "query", - "name": "analyze_wildcard", - "description": "If `true`, wildcard and prefix queries are analyzed.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.validate_query#default_operator": { - "in": "query", - "name": "default_operator", - "description": "The default operator for query string query: `AND` or `OR`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "style": "form" - }, - "indices.validate_query#df": { - "in": "query", - "name": "df", - "description": "Field to use as default where no field prefix is given in the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "indices.validate_query#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "indices.validate_query#explain": { - "in": "query", - "name": "explain", - "description": "If `true`, the response returns detailed information if an error has occurred.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.validate_query#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.validate_query#lenient": { - "in": "query", - "name": "lenient", - "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.validate_query#rewrite": { - "in": "query", - "name": "rewrite", - "description": "If `true`, returns a more detailed explanation showing the actual Lucene query that will be executed.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "indices.validate_query#q": { - "in": "query", - "name": "q", - "description": "Query in the Lucene query string syntax.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "ingest.get_pipeline#id": { - "in": "path", - "name": "id", - "description": "Comma-separated list of pipeline IDs to retrieve.\nWildcard (`*`) expressions are supported.\nTo get all ingest pipelines, omit this parameter or use `*`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ingest.get_pipeline#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "ingest.get_pipeline#summary": { - "in": "query", - "name": "summary", - "description": "Return pipelines without their definitions (default: false)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ingest.simulate#id": { - "in": "path", - "name": "id", - "description": "Pipeline to test.\nIf you don’t specify a `pipeline` in the request body, this parameter is required.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ingest.simulate#verbose": { - "in": "query", - "name": "verbose", - "description": "If `true`, the response includes output data for each processor in the executed pipeline.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "knn_search#index": { - "in": "path", - "name": "index", - "description": "A comma-separated list of index names to search;\nuse `_all` or to perform the operation on all indices", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "knn_search#routing": { - "in": "query", - "name": "routing", - "description": "A comma-separated list of specific routing values", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - "license.post#acknowledge": { - "in": "query", - "name": "acknowledge", - "description": "Specifies whether you acknowledge the license changes.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "logstash.get_pipeline#id": { - "in": "path", - "name": "id", - "description": "Comma-separated list of pipeline identifiers.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Ids" - }, - "style": "simple" - }, - "mget#index": { - "in": "path", - "name": "index", - "description": "Name of the index to retrieve documents from when `ids` are specified, or when a document in the `docs` array does not specify an index.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - "mget#preference": { - "in": "query", - "name": "preference", - "description": "Specifies the node or shard the operation should be performed on. Random by default.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "mget#realtime": { - "in": "query", - "name": "realtime", - "description": "If `true`, the request is real-time as opposed to near-real-time.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "mget#refresh": { - "in": "query", - "name": "refresh", - "description": "If `true`, the request refreshes relevant shards before retrieving documents.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "mget#routing": { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - "mget#_source": { - "in": "query", - "name": "_source", - "description": "True or false to return the `_source` field or not, or a list of fields to return.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" - }, - "style": "form" - }, - "mget#_source_excludes": { - "in": "query", - "name": "_source_excludes", - "description": "A comma-separated list of source fields to exclude from the response.\nYou can also use this parameter to exclude fields from the subset specified in `_source_includes` query parameter.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "mget#_source_includes": { - "in": "query", - "name": "_source_includes", - "description": "A comma-separated list of source fields to include in the response.\nIf this parameter is specified, only these source fields are returned. You can exclude fields from this subset using the `_source_excludes` query parameter.\nIf the `_source` parameter is `false`, this parameter is ignored.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "mget#stored_fields": { - "in": "query", - "name": "stored_fields", - "description": "If `true`, retrieves the document fields stored in the index rather than the document `_source`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "migration.deprecations#index": { - "in": "path", - "name": "index", - "description": "Comma-separate list of data streams or indices to check. Wildcard (*) expressions are supported.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - "ml.delete_expired_data#job_id": { - "in": "path", - "name": "job_id", - "description": "Identifier for an anomaly detection job. It can be a job identifier, a\ngroup name, or a wildcard expression.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.delete_expired_data#requests_per_second": { - "in": "query", - "name": "requests_per_second", - "description": "The desired requests per second for the deletion processes. The default\nbehavior is no throttling.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.delete_expired_data#timeout": { - "in": "query", - "name": "timeout", - "description": "How long can the underlying delete processes run until they are canceled.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "ml.delete_forecast#job_id": { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.delete_forecast#forecast_id": { - "in": "path", - "name": "forecast_id", - "description": "A comma-separated list of forecast identifiers. If you do not specify\nthis optional parameter or if you specify `_all` or `*` the API deletes\nall forecasts from the job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.delete_forecast#allow_no_forecasts": { - "in": "query", - "name": "allow_no_forecasts", - "description": "Specifies whether an error occurs when there are no forecasts. In\nparticular, if this parameter is set to `false` and there are no\nforecasts associated with the job, attempts to delete all forecasts\nreturn an error.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.delete_forecast#timeout": { - "in": "query", - "name": "timeout", - "description": "Specifies the period of time to wait for the completion of the delete\noperation. When this period of time elapses, the API fails and returns an\nerror.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "ml.explain_data_frame_analytics#id": { - "in": "path", - "name": "id", - "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_buckets#job_id": { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_buckets#timestamp": { - "in": "path", - "name": "timestamp", - "description": "The timestamp of a single bucket result. If you do not specify this\nparameter, the API returns information about all buckets.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "simple" - }, - "ml.get_buckets#anomaly_score": { - "in": "query", - "name": "anomaly_score", - "description": "Returns buckets with anomaly scores greater or equal than this value.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_buckets#desc": { - "in": "query", - "name": "desc", - "description": "If `true`, the buckets are sorted in descending order.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_buckets#end": { - "in": "query", - "name": "end", - "description": "Returns buckets with timestamps earlier than this time. `-1` means it is\nunset and results are not limited to specific timestamps.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "ml.get_buckets#exclude_interim": { - "in": "query", - "name": "exclude_interim", - "description": "If `true`, the output excludes interim results.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_buckets#expand": { - "in": "query", - "name": "expand", - "description": "If true, the output includes anomaly records.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_buckets#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of buckets.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_buckets#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of buckets to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_buckets#sort": { - "in": "query", - "name": "sort", - "description": "Specifies the sort field for the requested buckets.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Field" - }, - "style": "form" - }, - "ml.get_buckets#start": { - "in": "query", - "name": "start", - "description": "Returns buckets with timestamps after this time. `-1` means it is unset\nand results are not limited to specific timestamps.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "ml.get_calendars#calendar_id": { - "in": "path", - "name": "calendar_id", - "description": "A string that uniquely identifies a calendar. You can get information for multiple calendars by using a comma-separated list of ids or a wildcard expression. You can get information for all calendars by using `_all` or `*` or by omitting the calendar identifier.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_calendars#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of calendars. This parameter is supported only when you omit the calendar identifier.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_calendars#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of calendars to obtain. This parameter is supported only when you omit the calendar identifier.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_categories#job_id": { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_categories#category_id": { - "in": "path", - "name": "category_id", - "description": "Identifier for the category, which is unique in the job. If you specify\nneither the category ID nor the partition_field_value, the API returns\ninformation about all categories. If you specify only the\npartition_field_value, it returns information about all categories for\nthe specified partition.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:CategoryId" - }, - "style": "simple" - }, - "ml.get_categories#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of categories.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_categories#partition_field_value": { - "in": "query", - "name": "partition_field_value", - "description": "Only return categories for the specified partition.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "ml.get_categories#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of categories to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_data_frame_analytics#id": { - "in": "path", - "name": "id", - "description": "Identifier for the data frame analytics job. If you do not specify this\noption, the API returns information for the first hundred data frame\nanalytics jobs.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_data_frame_analytics#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no data frame analytics\njobs that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value returns an empty data_frame_analytics array when there\nare no matches and the subset of results when there are partial matches.\nIf this parameter is `false`, the request returns a 404 status code when\nthere are no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_data_frame_analytics#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of data frame analytics jobs.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_data_frame_analytics#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of data frame analytics jobs to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_data_frame_analytics#exclude_generated": { - "in": "query", - "name": "exclude_generated", - "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_data_frame_analytics_stats#id": { - "in": "path", - "name": "id", - "description": "Identifier for the data frame analytics job. If you do not specify this\noption, the API returns information for the first hundred data frame\nanalytics jobs.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_data_frame_analytics_stats#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no data frame analytics\njobs that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value returns an empty data_frame_analytics array when there\nare no matches and the subset of results when there are partial matches.\nIf this parameter is `false`, the request returns a 404 status code when\nthere are no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_data_frame_analytics_stats#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of data frame analytics jobs.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_data_frame_analytics_stats#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of data frame analytics jobs to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_data_frame_analytics_stats#verbose": { - "in": "query", - "name": "verbose", - "description": "Defines whether the stats response should be verbose.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_datafeed_stats#datafeed_id": { - "in": "path", - "name": "datafeed_id", - "description": "Identifier for the datafeed. It can be a datafeed identifier or a\nwildcard expression. If you do not specify one of these options, the API\nreturns information about all datafeeds.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Ids" - }, - "style": "simple" - }, - "ml.get_datafeed_stats#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no datafeeds that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value is `true`, which returns an empty `datafeeds` array\nwhen there are no matches and the subset of results when there are\npartial matches. If this parameter is `false`, the request returns a\n`404` status code when there are no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_datafeeds#datafeed_id": { - "in": "path", - "name": "datafeed_id", - "description": "Identifier for the datafeed. It can be a datafeed identifier or a\nwildcard expression. If you do not specify one of these options, the API\nreturns information about all datafeeds.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Ids" - }, - "style": "simple" - }, - "ml.get_datafeeds#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no datafeeds that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value is `true`, which returns an empty `datafeeds` array\nwhen there are no matches and the subset of results when there are\npartial matches. If this parameter is `false`, the request returns a\n`404` status code when there are no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_datafeeds#exclude_generated": { - "in": "query", - "name": "exclude_generated", - "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_filters#filter_id": { - "in": "path", - "name": "filter_id", - "description": "A string that uniquely identifies a filter.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Ids" - }, - "style": "simple" - }, - "ml.get_filters#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of filters.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_filters#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of filters to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_influencers#job_id": { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_influencers#desc": { - "in": "query", - "name": "desc", - "description": "If true, the results are sorted in descending order.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_influencers#end": { - "in": "query", - "name": "end", - "description": "Returns influencers with timestamps earlier than this time.\nThe default value means it is unset and results are not limited to\nspecific timestamps.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "ml.get_influencers#exclude_interim": { - "in": "query", - "name": "exclude_interim", - "description": "If true, the output excludes interim results. By default, interim results\nare included.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_influencers#influencer_score": { - "in": "query", - "name": "influencer_score", - "description": "Returns influencers with anomaly scores greater than or equal to this\nvalue.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_influencers#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of influencers.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_influencers#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of influencers to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_influencers#sort": { - "in": "query", - "name": "sort", - "description": "Specifies the sort field for the requested influencers. By default, the\ninfluencers are sorted by the `influencer_score` value.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Field" - }, - "style": "form" - }, - "ml.get_influencers#start": { - "in": "query", - "name": "start", - "description": "Returns influencers with timestamps after this time. The default value\nmeans it is unset and results are not limited to specific timestamps.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "ml.get_job_stats#job_id": { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job. It can be a job identifier, a\ngroup name, a comma-separated list of jobs, or a wildcard expression. If\nyou do not specify one of these options, the API returns information for\nall anomaly detection jobs.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_job_stats#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no jobs that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the API returns an empty `jobs` array when\nthere are no matches and the subset of results when there are partial\nmatches. If `false`, the API returns a `404` status\ncode when there are no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_jobs#job_id": { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job. It can be a job identifier, a\ngroup name, or a wildcard expression. If you do not specify one of these\noptions, the API returns information for all anomaly detection jobs.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Ids" - }, - "style": "simple" - }, - "ml.get_jobs#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no jobs that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value is `true`, which returns an empty `jobs` array when\nthere are no matches and the subset of results when there are partial\nmatches. If this parameter is `false`, the request returns a `404` status\ncode when there are no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_jobs#exclude_generated": { - "in": "query", - "name": "exclude_generated", - "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_memory_stats#node_id": { - "in": "path", - "name": "node_id", - "description": "The names of particular nodes in the cluster to target. For example, `nodeId1,nodeId2` or\n`ml:true`", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_memory_stats#human": { - "in": "query", - "name": "human", - "description": "Specify this query parameter to include the fields with units in the response. Otherwise only\nthe `_in_bytes` sizes are returned in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_memory_stats#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout\nexpires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "ml.get_memory_stats#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request\nfails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "ml.get_model_snapshots#job_id": { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_model_snapshots#snapshot_id": { - "in": "path", - "name": "snapshot_id", - "description": "A numerical character string that uniquely identifies the model snapshot. You can get information for multiple\nsnapshots by using a comma-separated list or a wildcard expression. You can get all snapshots by using `_all`,\nby specifying `*` as the snapshot ID, or by omitting the snapshot ID.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_model_snapshots#desc": { - "in": "query", - "name": "desc", - "description": "If true, the results are sorted in descending order.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_model_snapshots#end": { - "in": "query", - "name": "end", - "description": "Returns snapshots with timestamps earlier than this time.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "ml.get_model_snapshots#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of snapshots.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_model_snapshots#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of snapshots to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_model_snapshots#sort": { - "in": "query", - "name": "sort", - "description": "Specifies the sort field for the requested snapshots. By default, the\nsnapshots are sorted by their timestamp.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Field" - }, - "style": "form" - }, - "ml.get_model_snapshots#start": { - "in": "query", - "name": "start", - "description": "Returns snapshots with timestamps after this time.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "ml.get_overall_buckets#job_id": { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job. It can be a job identifier, a\ngroup name, a comma-separated list of jobs or groups, or a wildcard\nexpression.\n\nYou can summarize the bucket results for all anomaly detection jobs by\nusing `_all` or by specifying `*` as the ``.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_overall_buckets#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no jobs that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the request returns an empty `jobs` array when there are no\nmatches and the subset of results when there are partial matches. If this\nparameter is `false`, the request returns a `404` status code when there\nare no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_overall_buckets#bucket_span": { - "in": "query", - "name": "bucket_span", - "description": "The span of the overall buckets. Must be greater or equal to the largest\nbucket span of the specified anomaly detection jobs, which is the default\nvalue.\n\nBy default, an overall bucket has a span equal to the largest bucket span\nof the specified anomaly detection jobs. To override that behavior, use\nthe optional `bucket_span` parameter.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "ml.get_overall_buckets#end": { - "in": "query", - "name": "end", - "description": "Returns overall buckets with timestamps earlier than this time.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "ml.get_overall_buckets#exclude_interim": { - "in": "query", - "name": "exclude_interim", - "description": "If `true`, the output excludes interim results.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_overall_buckets#overall_score": { - "in": "query", - "name": "overall_score", - "description": "Returns overall buckets with overall scores greater than or equal to this\nvalue.", - "deprecated": false, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "style": "form" - }, - "ml.get_overall_buckets#start": { - "in": "query", - "name": "start", - "description": "Returns overall buckets with timestamps after this time.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "ml.get_overall_buckets#top_n": { - "in": "query", - "name": "top_n", - "description": "The number of top anomaly detection job bucket scores to be used in the\n`overall_score` calculation.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_records#job_id": { - "in": "path", - "name": "job_id", - "description": "Identifier for the anomaly detection job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_records#desc": { - "in": "query", - "name": "desc", - "description": "If true, the results are sorted in descending order.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_records#end": { - "in": "query", - "name": "end", - "description": "Returns records with timestamps earlier than this time. The default value\nmeans results are not limited to specific timestamps.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "ml.get_records#exclude_interim": { - "in": "query", - "name": "exclude_interim", - "description": "If `true`, the output excludes interim results.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_records#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of records.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_records#record_score": { - "in": "query", - "name": "record_score", - "description": "Returns records with anomaly scores greater or equal than this value.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_records#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of records to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_records#sort": { - "in": "query", - "name": "sort", - "description": "Specifies the sort field for the requested records.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Field" - }, - "style": "form" - }, - "ml.get_records#start": { - "in": "query", - "name": "start", - "description": "Returns records with timestamps after this time. The default value means\nresults are not limited to specific timestamps.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "ml.get_trained_models#model_id": { - "in": "path", - "name": "model_id", - "description": "The unique identifier of the trained model.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.get_trained_models#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n- Contains wildcard expressions and there are no models that match.\n- Contains the _all string or no identifiers and there are no matches.\n- Contains wildcard expressions and there are only partial matches.\n\nIf true, it returns an empty array when there are no matches and the\nsubset of results when there are partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_trained_models#decompress_definition": { - "in": "query", - "name": "decompress_definition", - "description": "Specifies whether the included model definition should be returned as a\nJSON map (true) or in a custom compressed format (false).", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_trained_models#exclude_generated": { - "in": "query", - "name": "exclude_generated", - "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_trained_models#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of models.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_trained_models#include": { - "in": "query", - "name": "include", - "description": "A comma delimited string of optional fields to include in the response\nbody.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/ml._types:Include" - }, - "style": "form" - }, - "ml.get_trained_models#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of models to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_trained_models#tags": { - "in": "query", - "name": "tags", - "description": "A comma delimited string of tags. A trained model can have many tags, or\nnone. When supplied, only trained models that contain all the supplied\ntags are returned.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "ml.get_trained_models_stats#model_id": { - "in": "path", - "name": "model_id", - "description": "The unique identifier of the trained model or a model alias. It can be a\ncomma-separated list or a wildcard expression.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Ids" - }, - "style": "simple" - }, - "ml.get_trained_models_stats#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n- Contains wildcard expressions and there are no models that match.\n- Contains the _all string or no identifiers and there are no matches.\n- Contains wildcard expressions and there are only partial matches.\n\nIf true, it returns an empty array when there are no matches and the\nsubset of results when there are partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "ml.get_trained_models_stats#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of models.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.get_trained_models_stats#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of models to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "ml.infer_trained_model#model_id": { - "in": "path", - "name": "model_id", - "description": "The unique identifier of the trained model.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.infer_trained_model#timeout": { - "in": "query", - "name": "timeout", - "description": "Controls the amount of time to wait for inference results.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "ml.preview_data_frame_analytics#id": { - "in": "path", - "name": "id", - "description": "Identifier for the data frame analytics job.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.preview_datafeed#datafeed_id": { - "in": "path", - "name": "datafeed_id", - "description": "A numerical character string that uniquely identifies the datafeed. This identifier can contain lowercase\nalphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric\ncharacters. NOTE: If you use this path parameter, you cannot provide datafeed or anomaly detection job\nconfiguration details in the request body.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "ml.preview_datafeed#start": { - "in": "query", - "name": "start", - "description": "The start time from where the datafeed preview should begin", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "ml.preview_datafeed#end": { - "in": "query", - "name": "end", - "description": "The end time when the datafeed preview should stop", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "style": "form" - }, - "monitoring.bulk#type": { - "in": "path", - "name": "type", - "description": "Default document type for items which don't provide one", - "required": true, - "deprecated": true, - "schema": { - "type": "string" - }, - "style": "simple" - }, - "monitoring.bulk#system_id": { - "in": "query", - "name": "system_id", - "description": "Identifier of the monitored system", - "required": true, - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "monitoring.bulk#system_api_version": { - "in": "query", - "name": "system_api_version", - "description": "", - "required": true, - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "monitoring.bulk#interval": { - "in": "query", - "name": "interval", - "description": "Collection interval (e.g., '10s' or '10000ms') of the payload", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "msearch#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and index aliases to search.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "msearch#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "msearch#ccs_minimize_roundtrips": { - "in": "query", - "name": "ccs_minimize_roundtrips", - "description": "If true, network roundtrips between the coordinating node and remote clusters are minimized for cross-cluster search requests.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "msearch#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard expressions can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "msearch#ignore_throttled": { - "in": "query", - "name": "ignore_throttled", - "description": "If true, concrete, expanded or aliased indices are ignored when frozen.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "msearch#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If true, missing or closed indices are not included in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "msearch#max_concurrent_searches": { - "in": "query", - "name": "max_concurrent_searches", - "description": "Maximum number of concurrent searches the multi search API can execute.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "msearch#max_concurrent_shard_requests": { - "in": "query", - "name": "max_concurrent_shard_requests", - "description": "Maximum number of concurrent shard requests that each sub-search request executes per node.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "msearch#pre_filter_shard_size": { - "in": "query", - "name": "pre_filter_shard_size", - "description": "Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method i.e., if date filters are mandatory to match but the shard bounds and the query are disjoint.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "msearch#rest_total_hits_as_int": { - "in": "query", - "name": "rest_total_hits_as_int", - "description": "If true, hits.total are returned as an integer in the response. Defaults to false, which returns an object.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "msearch#routing": { - "in": "query", - "name": "routing", - "description": "Custom routing value used to route search operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - "msearch#search_type": { - "in": "query", - "name": "search_type", - "description": "Indicates whether global term and document frequencies should be used when scoring returned documents.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SearchType" - }, - "style": "form" - }, - "msearch#typed_keys": { - "in": "query", - "name": "typed_keys", - "description": "Specifies whether aggregation and suggester names should be prefixed by their respective types in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "msearch_template#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "msearch_template#ccs_minimize_roundtrips": { - "in": "query", - "name": "ccs_minimize_roundtrips", - "description": "If `true`, network round-trips are minimized for cross-cluster search requests.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "msearch_template#max_concurrent_searches": { - "in": "query", - "name": "max_concurrent_searches", - "description": "Maximum number of concurrent searches the API can run.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "msearch_template#search_type": { - "in": "query", - "name": "search_type", - "description": "The type of the search operation.\nAvailable options: `query_then_fetch`, `dfs_query_then_fetch`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SearchType" - }, - "style": "form" - }, - "msearch_template#rest_total_hits_as_int": { - "in": "query", - "name": "rest_total_hits_as_int", - "description": "If `true`, the response returns `hits.total` as an integer.\nIf `false`, it returns `hits.total` as an object.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "msearch_template#typed_keys": { - "in": "query", - "name": "typed_keys", - "description": "If `true`, the response prefixes aggregation and suggester names with their respective types.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "mtermvectors#index": { - "in": "path", - "name": "index", - "description": "Name of the index that contains the documents.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - "mtermvectors#ids": { - "in": "query", - "name": "ids", - "description": "A comma-separated list of documents ids. You must define ids as parameter or set \"ids\" or \"docs\" in the request body", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Id" - } - }, - "style": "form" - }, - "mtermvectors#fields": { - "in": "query", - "name": "fields", - "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.\nUsed as the default list unless a specific field list is provided in the `completion_fields` or `fielddata_fields` parameters.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "mtermvectors#field_statistics": { - "in": "query", - "name": "field_statistics", - "description": "If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "mtermvectors#offsets": { - "in": "query", - "name": "offsets", - "description": "If `true`, the response includes term offsets.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "mtermvectors#payloads": { - "in": "query", - "name": "payloads", - "description": "If `true`, the response includes term payloads.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "mtermvectors#positions": { - "in": "query", - "name": "positions", - "description": "If `true`, the response includes term positions.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "mtermvectors#preference": { - "in": "query", - "name": "preference", - "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "mtermvectors#realtime": { - "in": "query", - "name": "realtime", - "description": "If true, the request is real-time as opposed to near-real-time.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "mtermvectors#routing": { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - "mtermvectors#term_statistics": { - "in": "query", - "name": "term_statistics", - "description": "If true, the response includes term frequency and document frequency.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "mtermvectors#version": { - "in": "query", - "name": "version", - "description": "If `true`, returns the document version as part of a hit.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "style": "form" - }, - "mtermvectors#version_type": { - "in": "query", - "name": "version_type", - "description": "Specific version type.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionType" - }, - "style": "form" - }, - "nodes.hot_threads#node_id": { - "in": "path", - "name": "node_id", - "description": "List of node IDs or names used to limit returned information.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:NodeIds" - }, - "style": "simple" - }, - "nodes.hot_threads#ignore_idle_threads": { - "in": "query", - "name": "ignore_idle_threads", - "description": "If true, known idle threads (e.g. waiting in a socket select, or to get\na task from an empty queue) are filtered out.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "nodes.hot_threads#interval": { - "in": "query", - "name": "interval", - "description": "The interval to do the second sampling of threads.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "nodes.hot_threads#snapshots": { - "in": "query", - "name": "snapshots", - "description": "Number of samples of thread stacktrace.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "nodes.hot_threads#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response\nis received before the timeout expires, the request fails and\nreturns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "nodes.hot_threads#threads": { - "in": "query", - "name": "threads", - "description": "Specifies the number of hot threads to provide information for.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "nodes.hot_threads#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received\nbefore the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "nodes.hot_threads#type": { - "in": "query", - "name": "type", - "description": "The type to sample.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ThreadType" - }, - "style": "form" - }, - "nodes.hot_threads#sort": { - "in": "query", - "name": "sort", - "description": "The sort order for 'cpu' type (default: total)", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ThreadType" - }, - "style": "form" - }, - "nodes.info#node_id": { - "in": "path", - "name": "node_id", - "description": "Comma-separated list of node IDs or names used to limit returned information.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:NodeIds" - }, - "style": "simple" - }, - "nodes.info#metric": { - "in": "path", - "name": "metric", - "description": "Limits the information returned to the specific metrics. Supports a comma-separated list, such as http,ingest.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Metrics" - }, - "style": "simple" - }, - "nodes.info#flat_settings": { - "in": "query", - "name": "flat_settings", - "description": "If true, returns settings in flat format.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "nodes.info#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "nodes.info#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "nodes.reload_secure_settings#node_id": { - "in": "path", - "name": "node_id", - "description": "The names of particular nodes in the cluster to target.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:NodeIds" - }, - "style": "simple" - }, - "nodes.reload_secure_settings#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "nodes.stats#node_id": { - "in": "path", - "name": "node_id", - "description": "Comma-separated list of node IDs or names used to limit returned information.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:NodeIds" - }, - "style": "simple" - }, - "nodes.stats#metric": { - "in": "path", - "name": "metric", - "description": "Limit the information returned to the specified metrics", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Metrics" - }, - "style": "simple" - }, - "nodes.stats#index_metric": { - "in": "path", - "name": "index_metric", - "description": "Limit the information returned for indices metric to the specific index metrics. It can be used only if indices (or all) metric is specified.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Metrics" - }, - "style": "simple" - }, - "nodes.stats#completion_fields": { - "in": "query", - "name": "completion_fields", - "description": "Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "nodes.stats#fielddata_fields": { - "in": "query", - "name": "fielddata_fields", - "description": "Comma-separated list or wildcard expressions of fields to include in fielddata statistics.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "nodes.stats#fields": { - "in": "query", - "name": "fields", - "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "nodes.stats#groups": { - "in": "query", - "name": "groups", - "description": "Comma-separated list of search groups to include in the search statistics.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "nodes.stats#include_segment_file_sizes": { - "in": "query", - "name": "include_segment_file_sizes", - "description": "If true, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "nodes.stats#level": { - "in": "query", - "name": "level", - "description": "Indicates whether statistics are aggregated at the cluster, index, or shard level.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Level" - }, - "style": "form" - }, - "nodes.stats#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "nodes.stats#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "nodes.stats#types": { - "in": "query", - "name": "types", - "description": "A comma-separated list of document types for the indexing index metric.", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form" - }, - "nodes.stats#include_unloaded_segments": { - "in": "query", - "name": "include_unloaded_segments", - "description": "If `true`, the response includes information from segments that are not loaded into memory.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "nodes.usage#node_id": { - "in": "path", - "name": "node_id", - "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", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:NodeIds" - }, - "style": "simple" - }, - "nodes.usage#metric": { - "in": "path", - "name": "metric", - "description": "Limits the information returned to the specific metrics.\nA comma-separated list of the following options: `_all`, `rest_actions`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Metrics" - }, - "style": "simple" - }, - "nodes.usage#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "put_script#id": { - "in": "path", - "name": "id", - "description": "Identifier for the stored script or search template.\nMust be unique within the cluster.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "put_script#context": { - "in": "path", - "name": "context", - "description": "Context in which the script or search template should run.\nTo prevent errors, the API immediately compiles the script or template in this context.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "put_script#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "put_script#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "rank_eval#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and index aliases used to limit the request. Wildcard (`*`) expressions are supported.\nTo target all data streams and indices in a cluster, omit this parameter or use `_all` or `*`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "rank_eval#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "rank_eval#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "rank_eval#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `true`, missing or closed indices are not included in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "rank_eval#search_type": { - "in": "query", - "name": "search_type", - "description": "Search operation type", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "render_search_template#id": { - "in": "path", - "name": "id", - "description": "ID of the search template to render.\nIf no `source` is specified, this or the `id` request body parameter is required.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "rollup.get_jobs#id": { - "in": "path", - "name": "id", - "description": "Identifier for the rollup job.\nIf it is `_all` or omitted, the API returns all rollup jobs.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "rollup.get_rollup_caps#id": { - "in": "path", - "name": "id", - "description": "Index, indices or index-pattern to return rollup capabilities for.\n`_all` may be used to fetch rollup capabilities from all jobs.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "rollup.rollup_search#index": { - "in": "path", - "name": "index", - "description": "Enables searching rolled-up data using the standard Query DSL.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "rollup.rollup_search#rest_total_hits_as_int": { - "in": "query", - "name": "rest_total_hits_as_int", - "description": "Indicates whether hits.total should be rendered as an integer or an object in the rest search response", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "rollup.rollup_search#typed_keys": { - "in": "query", - "name": "typed_keys", - "description": "Specify whether aggregation and suggester names should be prefixed by their respective types in the response", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "scroll#scroll_id": { - "in": "path", - "name": "scroll_id", - "description": "The scroll ID", - "required": true, - "deprecated": true, - "schema": { - "$ref": "#/components/schemas/_types:ScrollId" - }, - "style": "simple" - }, - "scroll#scroll": { - "in": "query", - "name": "scroll", - "description": "Period to retain the search context for scrolling.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "scroll#scroll_id_": { - "in": "query", - "name": "scroll_id", - "description": "The scroll ID for scrolled search", - "deprecated": true, - "schema": { - "$ref": "#/components/schemas/_types:ScrollId" - }, - "style": "form" - }, - "scroll#rest_total_hits_as_int": { - "in": "query", - "name": "rest_total_hits_as_int", - "description": "If true, the API response’s hit.total property is returned as an integer. If false, the API response’s hit.total property is returned as an object.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*` or `_all`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "search#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#allow_partial_search_results": { - "in": "query", - "name": "allow_partial_search_results", - "description": "If true, returns partial results if there are shard request timeouts or shard failures. If false, returns an error with no partial results.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#analyzer": { - "in": "query", - "name": "analyzer", - "description": "Analyzer to use for the query string.\nThis parameter can only be used when the q query string parameter is specified.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "search#analyze_wildcard": { - "in": "query", - "name": "analyze_wildcard", - "description": "If true, wildcard and prefix queries are analyzed.\nThis parameter can only be used when the q query string parameter is specified.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#batched_reduce_size": { - "in": "query", - "name": "batched_reduce_size", - "description": "The number of shard results that should be reduced at once on the coordinating node.\nThis value should be used as a protection mechanism to reduce the memory overhead per search request if the potential number of shards in the request can be large.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "search#ccs_minimize_roundtrips": { - "in": "query", - "name": "ccs_minimize_roundtrips", - "description": "If true, network round-trips between the coordinating node and the remote clusters are minimized when executing cross-cluster search (CCS) requests.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#default_operator": { - "in": "query", - "name": "default_operator", - "description": "The default operator for query string query: AND or OR.\nThis parameter can only be used when the `q` query string parameter is specified.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "style": "form" - }, - "search#df": { - "in": "query", - "name": "df", - "description": "Field to use as default where no field prefix is given in the query string.\nThis parameter can only be used when the q query string parameter is specified.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "search#docvalue_fields": { - "in": "query", - "name": "docvalue_fields", - "description": "A comma-separated list of fields to return as the docvalue representation for each hit.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "search#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "search#explain": { - "in": "query", - "name": "explain", - "description": "If `true`, returns detailed information about score computation as part of a hit.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#ignore_throttled": { - "in": "query", - "name": "ignore_throttled", - "description": "If `true`, concrete, expanded or aliased indices will be ignored when frozen.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#lenient": { - "in": "query", - "name": "lenient", - "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.\nThis parameter can only be used when the `q` query string parameter is specified.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#max_concurrent_shard_requests": { - "in": "query", - "name": "max_concurrent_shard_requests", - "description": "Defines the number of concurrent shard requests per node this search executes concurrently.\nThis value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "search#min_compatible_shard_node": { - "in": "query", - "name": "min_compatible_shard_node", - "description": "The minimum version of the node that can handle the request\nAny handling node with a lower version will fail the request.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "style": "form" - }, - "search#preference": { - "in": "query", - "name": "preference", - "description": "Nodes and shards used for the search.\nBy default, Elasticsearch selects from eligible nodes and shards using adaptive replica selection, accounting for allocation awareness. Valid values are:\n`_only_local` to run the search only on shards on the local node;\n`_local` to, if possible, run the search on shards on the local node, or if not, select shards using the default method;\n`_only_nodes:,` to run the search on only the specified nodes IDs, where, if suitable shards exist on more than one selected node, use shards on those nodes using the default method, or if none of the specified nodes are available, select shards from any available node using the default method;\n`_prefer_nodes:,` to if possible, run the search on the specified nodes IDs, or if not, select shards using the default method;\n`_shards:,` to run the search only on the specified shards;\n`` (any string that does not start with `_`) to route searches with the same `` to the same shards in the same order.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "search#pre_filter_shard_size": { - "in": "query", - "name": "pre_filter_shard_size", - "description": "Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold.\nThis filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method (if date filters are mandatory to match but the shard bounds and the query are disjoint).\nWhen unspecified, the pre-filter phase is executed if any of these conditions is met:\nthe request targets more than 128 shards;\nthe request targets one or more read-only index;\nthe primary sort of the query targets an indexed field.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "search#request_cache": { - "in": "query", - "name": "request_cache", - "description": "If `true`, the caching of search results is enabled for requests where `size` is `0`.\nDefaults to index level settings.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#routing": { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - "search#scroll": { - "in": "query", - "name": "scroll", - "description": "Period to retain the search context for scrolling. See Scroll search results.\nBy default, this value cannot exceed `1d` (24 hours).\nYou can change this limit using the `search.max_keep_alive` cluster-level setting.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "search#search_type": { - "in": "query", - "name": "search_type", - "description": "How distributed term frequencies are calculated for relevance scoring.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SearchType" - }, - "style": "form" - }, - "search#stats": { - "in": "query", - "name": "stats", - "description": "Specific `tag` of the request for logging and statistical purposes.", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form" - }, - "search#stored_fields": { - "in": "query", - "name": "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` parameter defaults to `false`.\nYou can pass `_source: true` to return both source fields and stored fields in the search response.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "search#suggest_field": { - "in": "query", - "name": "suggest_field", - "description": "Specifies which field to use for suggestions.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Field" - }, - "style": "form" - }, - "search#suggest_mode": { - "in": "query", - "name": "suggest_mode", - "description": "Specifies the suggest mode.\nThis parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SuggestMode" - }, - "style": "form" - }, - "search#suggest_size": { - "in": "query", - "name": "suggest_size", - "description": "Number of suggestions to return.\nThis parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "search#suggest_text": { - "in": "query", - "name": "suggest_text", - "description": "The source text for which the suggestions should be returned.\nThis parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "search#terminate_after": { - "in": "query", - "name": "terminate_after", - "description": "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.\nUse with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.\nIf set to `0` (default), the query does not terminate early.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "search#timeout": { - "in": "query", - "name": "timeout", - "description": "Specifies 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.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "search#track_total_hits": { - "in": "query", - "name": "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.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search._types:TrackHits" - }, - "style": "form" - }, - "search#track_scores": { - "in": "query", - "name": "track_scores", - "description": "If `true`, calculate and return document scores, even if the scores are not used for sorting.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#typed_keys": { - "in": "query", - "name": "typed_keys", - "description": "If `true`, aggregation and suggester names are be prefixed by their respective types in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#rest_total_hits_as_int": { - "in": "query", - "name": "rest_total_hits_as_int", - "description": "Indicates whether `hits.total` should be rendered as an integer or an object in the rest search response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#version": { - "in": "query", - "name": "version", - "description": "If `true`, returns document version as part of a hit.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#_source": { - "in": "query", - "name": "_source", - "description": "Indicates which source fields are returned for matching documents.\nThese fields are returned in the `hits._source` property of the search response.\nValid values are:\n`true` to return the entire document source;\n`false` to not return the document source;\n`` to return the source fields that are specified as a comma-separated list (supports wildcard (`*`) patterns).", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search._types:SourceConfigParam" - }, - "style": "form" - }, - "search#_source_excludes": { - "in": "query", - "name": "_source_excludes", - "description": "A comma-separated list of source fields to exclude from the response.\nYou can also use this parameter to exclude fields from the subset specified in `_source_includes` query parameter.\nIf the `_source` parameter is `false`, this parameter is ignored.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "search#_source_includes": { - "in": "query", - "name": "_source_includes", - "description": "A comma-separated list of source fields to include in the response.\nIf this parameter is specified, only these source fields are returned.\nYou can exclude fields from this subset using the `_source_excludes` query parameter.\nIf the `_source` parameter is `false`, this parameter is ignored.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "search#seq_no_primary_term": { - "in": "query", - "name": "seq_no_primary_term", - "description": "If `true`, returns sequence number and primary term of the last modification of each hit.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search#q": { - "in": "query", - "name": "q", - "description": "Query in the Lucene query string syntax using query parameter search.\nQuery parameter searches do not support the full Elasticsearch Query DSL but are handy for testing.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "search#size": { - "in": "query", - "name": "size", - "description": "Defines the number of hits to return.\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.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "search#from": { - "in": "query", - "name": "from", - "description": "Starting document offset.\nNeeds to 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.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "search#sort": { - "in": "query", - "name": "sort", - "description": "A comma-separated list of : pairs.", - "deprecated": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "style": "form" - }, - "search_application.get_behavioral_analytics#name": { - "in": "path", - "name": "name", - "description": "A list of analytics collections to limit the returned information", - "required": true, - "deprecated": false, - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "style": "simple" - }, - "search_application.search#name": { - "in": "path", - "name": "name", - "description": "The name of the search application to be searched.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "search_mvt#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, or aliases to search", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "search_mvt#field": { - "in": "path", - "name": "field", - "description": "Field containing geospatial data to return", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Field" - }, - "style": "simple" - }, - "search_mvt#zoom": { - "in": "path", - "name": "zoom", - "description": "Zoom level for the vector tile to search", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search_mvt._types:ZoomLevel" - }, - "style": "simple" - }, - "search_mvt#x": { - "in": "path", - "name": "x", - "description": "X coordinate for the vector tile to search", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search_mvt._types:Coordinate" - }, - "style": "simple" - }, - "search_mvt#y": { - "in": "path", - "name": "y", - "description": "Y coordinate for the vector tile to search", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search_mvt._types:Coordinate" - }, - "style": "simple" - }, - "search_mvt#exact_bounds": { - "in": "query", - "name": "exact_bounds", - "description": "If false, the meta layer’s feature is the bounding box of the tile.\nIf true, the meta layer’s feature is a bounding box resulting from a\ngeo_bounds aggregation. The aggregation runs on values that intersect\nthe // tile with wrap_longitude set to false. The resulting\nbounding box may be larger than the vector tile.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search_mvt#extent": { - "in": "query", - "name": "extent", - "description": "Size, in pixels, of a side of the tile. Vector tiles are square with equal sides.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "search_mvt#grid_agg": { - "in": "query", - "name": "grid_agg", - "description": "Aggregation used to create a grid for `field`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search_mvt._types:GridAggregationType" - }, - "style": "form" - }, - "search_mvt#grid_precision": { - "in": "query", - "name": "grid_precision", - "description": "Additional zoom levels available through the aggs layer. For example, if is 7\nand grid_precision is 8, you can zoom in up to level 15. Accepts 0-8. If 0, results\ndon’t include the aggs layer.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "search_mvt#grid_type": { - "in": "query", - "name": "grid_type", - "description": "Determines the geometry type for features in the aggs layer. In the aggs layer,\neach feature represents a geotile_grid cell. If 'grid' each feature is a Polygon\nof the cells bounding box. If 'point' each feature is a Point that is the centroid\nof the cell.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_global.search_mvt._types:GridType" - }, - "style": "form" - }, - "search_mvt#size": { - "in": "query", - "name": "size", - "description": "Maximum number of features to return in the hits layer. Accepts 0-10000.\nIf 0, results don’t include the hits layer.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "search_mvt#with_labels": { - "in": "query", - "name": "with_labels", - "description": "If `true`, the hits and aggs layers will contain additional point features representing\nsuggested label positions for the original features.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search_shards#index": { - "in": "path", - "name": "index", - "description": "Returns the indices and shards that a search request would be executed against.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "search_shards#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search_shards#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "search_shards#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search_shards#local": { - "in": "query", - "name": "local", - "description": "If `true`, the request retrieves information from the local node only.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search_shards#preference": { - "in": "query", - "name": "preference", - "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "search_shards#routing": { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - "search_template#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices,\nand aliases to search. Supports wildcards (*).", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "search_template#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search_template#ccs_minimize_roundtrips": { - "in": "query", - "name": "ccs_minimize_roundtrips", - "description": "If `true`, network round-trips are minimized for cross-cluster search requests.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search_template#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "search_template#explain": { - "in": "query", - "name": "explain", - "description": "If `true`, the response includes additional details about score computation as part of a hit.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search_template#ignore_throttled": { - "in": "query", - "name": "ignore_throttled", - "description": "If `true`, specified concrete, expanded, or aliased indices are not included in the response when throttled.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search_template#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "If `false`, the request returns an error if it targets a missing or closed index.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search_template#preference": { - "in": "query", - "name": "preference", - "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "search_template#profile": { - "in": "query", - "name": "profile", - "description": "If `true`, the query execution is profiled.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search_template#routing": { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - "search_template#scroll": { - "in": "query", - "name": "scroll", - "description": "Specifies how long a consistent view of the index\nshould be maintained for scrolled search.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "search_template#search_type": { - "in": "query", - "name": "search_type", - "description": "The type of the search operation.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SearchType" - }, - "style": "form" - }, - "search_template#rest_total_hits_as_int": { - "in": "query", - "name": "rest_total_hits_as_int", - "description": "If true, hits.total are rendered as an integer in the response.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "search_template#typed_keys": { - "in": "query", - "name": "typed_keys", - "description": "If `true`, the response prefixes aggregation and suggester names with their respective types.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "searchable_snapshots.cache_stats#node_id": { - "in": "path", - "name": "node_id", - "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", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:NodeIds" - }, - "style": "simple" - }, - "searchable_snapshots.cache_stats#master_timeout": { - "in": "query", - "name": "master_timeout", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "searchable_snapshots.clear_cache#index": { - "in": "path", - "name": "index", - "description": "A comma-separated list of index names", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "searchable_snapshots.clear_cache#expand_wildcards": { - "in": "query", - "name": "expand_wildcards", - "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "style": "form" - }, - "searchable_snapshots.clear_cache#allow_no_indices": { - "in": "query", - "name": "allow_no_indices", - "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "searchable_snapshots.clear_cache#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "searchable_snapshots.clear_cache#pretty": { - "in": "query", - "name": "pretty", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "searchable_snapshots.clear_cache#human": { - "in": "query", - "name": "human", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "searchable_snapshots.stats#index": { - "in": "path", - "name": "index", - "description": "A comma-separated list of index names", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Indices" - }, - "style": "simple" - }, - "searchable_snapshots.stats#level": { - "in": "query", - "name": "level", - "description": "Return stats aggregated at cluster, index or shard level", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/searchable_snapshots._types:StatsLevel" - }, - "style": "form" - }, - "security.change_password#username": { - "in": "path", - "name": "username", - "description": "The user whose password you want to change. If you do not specify this\nparameter, the password is changed for the current user.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Username" - }, - "style": "simple" - }, - "security.change_password#refresh": { - "in": "query", - "name": "refresh", - "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - "security.create_api_key#refresh": { - "in": "query", - "name": "refresh", - "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - "security.create_service_token#namespace": { - "in": "path", - "name": "namespace", - "description": "An identifier for the namespace", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Namespace" - }, - "style": "simple" - }, - "security.create_service_token#service": { - "in": "path", - "name": "service", - "description": "An identifier for the service name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Service" - }, - "style": "simple" - }, - "security.create_service_token#name": { - "in": "path", - "name": "name", - "description": "An identifier for the token name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "security.create_service_token#refresh": { - "in": "query", - "name": "refresh", - "description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` (the default) then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - "security.disable_user#username": { - "in": "path", - "name": "username", - "description": "The username of the user to disable", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Username" - }, - "style": "simple" - }, - "security.disable_user#refresh": { - "in": "query", - "name": "refresh", - "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - "security.disable_user_profile#uid": { - "in": "path", - "name": "uid", - "description": "Unique identifier for the user profile.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/security._types:UserProfileId" - }, - "style": "simple" - }, - "security.disable_user_profile#refresh": { - "in": "query", - "name": "refresh", - "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search, if 'wait_for' then wait for a refresh to make this operation\nvisible to search, if 'false' do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - "security.enable_user#username": { - "in": "path", - "name": "username", - "description": "The username of the user to enable", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Username" - }, - "style": "simple" - }, - "security.enable_user#refresh": { - "in": "query", - "name": "refresh", - "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - "security.enable_user_profile#uid": { - "in": "path", - "name": "uid", - "description": "Unique identifier for the user profile.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/security._types:UserProfileId" - }, - "style": "simple" - }, - "security.enable_user_profile#refresh": { - "in": "query", - "name": "refresh", - "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search, if 'wait_for' then wait for a refresh to make this operation\nvisible to search, if 'false' do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - "security.get_privileges#application": { - "in": "path", - "name": "application", - "description": "Application name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "security.get_privileges#name": { - "in": "path", - "name": "name", - "description": "Privilege name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "security.get_role#name": { - "in": "path", - "name": "name", - "description": "The name of the role. You can specify multiple roles as a comma-separated list. If you do not specify this parameter, the API returns information about all roles.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "security.get_role_mapping#name": { - "in": "path", - "name": "name", - "description": "The distinct name that identifies the role mapping. The name is used solely as an identifier to facilitate interaction via the API; it does not affect the behavior of the mapping in any way. You can specify multiple mapping names as a comma-separated list. If you do not specify this parameter, the API returns information about all role mappings.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "security.get_service_accounts#namespace": { - "in": "path", - "name": "namespace", - "description": "Name of the namespace. Omit this parameter to retrieve information about all service accounts. If you omit this parameter, you must also omit the `service` parameter.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Namespace" - }, - "style": "simple" - }, - "security.get_service_accounts#service": { - "in": "path", - "name": "service", - "description": "Name of the service name. Omit this parameter to retrieve information about all service accounts that belong to the specified `namespace`.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Service" - }, - "style": "simple" - }, - "security.get_user#username": { - "in": "path", - "name": "username", - "description": "An identifier for the user. You can specify multiple usernames as a comma-separated list. If you omit this parameter, the API retrieves information about all users.", - "required": true, - "deprecated": false, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Username" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Username" - } - } - ] - }, - "style": "simple" - }, - "security.get_user#with_profile_uid": { - "in": "query", - "name": "with_profile_uid", - "description": "If true will return the User Profile ID for a user, if any.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "security.has_privileges#user": { - "in": "path", - "name": "user", - "description": "Username", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "security.put_privileges#refresh": { - "in": "query", - "name": "refresh", - "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - "security.put_role#name": { - "in": "path", - "name": "name", - "description": "The name of the role.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "security.put_role#refresh": { - "in": "query", - "name": "refresh", - "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - "security.put_role_mapping#name": { - "in": "path", - "name": "name", - "description": "Role-mapping name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "security.put_role_mapping#refresh": { - "in": "query", - "name": "refresh", - "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - "security.put_user#username": { - "in": "path", - "name": "username", - "description": "The username of the User", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Username" - }, - "style": "simple" - }, - "security.put_user#refresh": { - "in": "query", - "name": "refresh", - "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - "security.query_api_keys#with_limited_by": { - "in": "query", - "name": "with_limited_by", - "description": "Return the snapshot of the owner user's role descriptors associated with the API key. \nAn API key's actual permission is the intersection of its assigned role descriptors and the owner user's role descriptors.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "security.suggest_user_profiles#data": { - "in": "query", - "name": "data", - "description": "List of filters for the `data` field of the profile document.\nTo return all content use `data=*`. To return a subset of content\nuse `data=` to retrieve content nested under the specified ``.\nBy default returns no `data` content.", - "deprecated": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "style": "form" - }, - "security.update_user_profile_data#uid": { - "in": "path", - "name": "uid", - "description": "A unique identifier for the user profile.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/security._types:UserProfileId" - }, - "style": "simple" - }, - "security.update_user_profile_data#if_seq_no": { - "in": "query", - "name": "if_seq_no", - "description": "Only perform the operation if the document has this sequence number.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "style": "form" - }, - "security.update_user_profile_data#if_primary_term": { - "in": "query", - "name": "if_primary_term", - "description": "Only perform the operation if the document has this primary term.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "security.update_user_profile_data#refresh": { - "in": "query", - "name": "refresh", - "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search, if 'wait_for' then wait for a refresh to make this operation\nvisible to search, if 'false' do nothing with refreshes.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "style": "form" - }, - "shutdown.get_node#node_id": { - "in": "path", - "name": "node_id", - "description": "Which node for which to retrieve the shutdown status", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:NodeIds" - }, - "style": "simple" - }, - "shutdown.get_node#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:TimeUnit" - }, - "style": "form" - }, - "shutdown.get_node#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:TimeUnit" - }, - "style": "form" - }, - "slm.get_lifecycle#policy_id": { - "in": "path", - "name": "policy_id", - "description": "Comma-separated list of snapshot lifecycle policies to retrieve", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "snapshot.create#repository": { - "in": "path", - "name": "repository", - "description": "Repository for the snapshot.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "snapshot.create#snapshot": { - "in": "path", - "name": "snapshot", - "description": "Name of the snapshot. Must be unique in the repository.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "snapshot.create#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "snapshot.create#wait_for_completion": { - "in": "query", - "name": "wait_for_completion", - "description": "If `true`, the request returns a response when the snapshot is complete. If `false`, the request returns a response when the snapshot initializes.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "snapshot.create_repository#repository": { - "in": "path", - "name": "repository", - "description": "A repository name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "snapshot.create_repository#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Explicit operation timeout for connection to master node", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "snapshot.create_repository#timeout": { - "in": "query", - "name": "timeout", - "description": "Explicit operation timeout", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "snapshot.create_repository#verify": { - "in": "query", - "name": "verify", - "description": "Whether to verify the repository after creation", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "snapshot.get_repository#repository": { - "in": "path", - "name": "repository", - "description": "A comma-separated list of repository names", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "snapshot.get_repository#local": { - "in": "query", - "name": "local", - "description": "Return local information, do not retrieve the state from master node (default: false)", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "snapshot.get_repository#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Explicit operation timeout for connection to master node", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "snapshot.status#repository": { - "in": "path", - "name": "repository", - "description": "A repository name", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "snapshot.status#snapshot": { - "in": "path", - "name": "snapshot", - "description": "A comma-separated list of snapshot names", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "snapshot.status#ignore_unavailable": { - "in": "query", - "name": "ignore_unavailable", - "description": "Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrown", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "snapshot.status#master_timeout": { - "in": "query", - "name": "master_timeout", - "description": "Explicit operation timeout for connection to master node", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "sql.query#format": { - "in": "query", - "name": "format", - "description": "Format for the response.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "tasks.cancel#task_id": { - "in": "path", - "name": "task_id", - "description": "ID of the task.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:TaskId" - }, - "style": "simple" - }, - "tasks.cancel#actions": { - "in": "query", - "name": "actions", - "description": "Comma-separated list or wildcard expression of actions used to limit the request.", - "deprecated": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "style": "form" - }, - "tasks.cancel#nodes": { - "in": "query", - "name": "nodes", - "description": "Comma-separated list of node IDs or names used to limit the request.", - "deprecated": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form" - }, - "tasks.cancel#parent_task_id": { - "in": "query", - "name": "parent_task_id", - "description": "Parent task ID used to limit the tasks.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "tasks.cancel#wait_for_completion": { - "in": "query", - "name": "wait_for_completion", - "description": "Should the request block until the cancellation of the task and its descendant tasks is completed. Defaults to false", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "terms_enum#index": { - "in": "path", - "name": "index", - "description": "Comma-separated list of data streams, indices, and index aliases to search. Wildcard (*) expressions are supported.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - "termvectors#index": { - "in": "path", - "name": "index", - "description": "Name of the index that contains the document.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "style": "simple" - }, - "termvectors#id": { - "in": "path", - "name": "id", - "description": "Unique identifier of the document.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "termvectors#fields": { - "in": "query", - "name": "fields", - "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.\nUsed as the default list unless a specific field list is provided in the `completion_fields` or `fielddata_fields` parameters.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Fields" - }, - "style": "form" - }, - "termvectors#field_statistics": { - "in": "query", - "name": "field_statistics", - "description": "If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "termvectors#offsets": { - "in": "query", - "name": "offsets", - "description": "If `true`, the response includes term offsets.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "termvectors#payloads": { - "in": "query", - "name": "payloads", - "description": "If `true`, the response includes term payloads.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "termvectors#positions": { - "in": "query", - "name": "positions", - "description": "If `true`, the response includes term positions.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "termvectors#preference": { - "in": "query", - "name": "preference", - "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - "termvectors#realtime": { - "in": "query", - "name": "realtime", - "description": "If true, the request is real-time as opposed to near-real-time.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "termvectors#routing": { - "in": "query", - "name": "routing", - "description": "Custom value used to route operations to a specific shard.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Routing" - }, - "style": "form" - }, - "termvectors#term_statistics": { - "in": "query", - "name": "term_statistics", - "description": "If `true`, the response includes term frequency and document frequency.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "termvectors#version": { - "in": "query", - "name": "version", - "description": "If `true`, returns the document version as part of a hit.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "style": "form" - }, - "termvectors#version_type": { - "in": "query", - "name": "version_type", - "description": "Specific version type.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionType" - }, - "style": "form" - }, - "transform.get_transform#transform_id": { - "in": "path", - "name": "transform_id", - "description": "Identifier for the transform. It can be a transform identifier or a\nwildcard expression. You can get information for all transforms by using\n`_all`, by specifying `*` as the ``, or by omitting the\n``.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "transform.get_transform#allow_no_match": { - "in": "query", - "name": "allow_no_match", - "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no transforms that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf this parameter is false, the request returns a 404 status code when\nthere are no matches or only partial matches.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "transform.get_transform#from": { - "in": "query", - "name": "from", - "description": "Skips the specified number of transforms.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "transform.get_transform#size": { - "in": "query", - "name": "size", - "description": "Specifies the maximum number of transforms to obtain.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "transform.get_transform#exclude_generated": { - "in": "query", - "name": "exclude_generated", - "description": "Excludes fields that were automatically added when creating the\ntransform. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "transform.preview_transform#transform_id": { - "in": "path", - "name": "transform_id", - "description": "Identifier for the transform to preview. If you specify this path parameter, you cannot provide transform\nconfiguration details in the request body.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "transform.preview_transform#timeout": { - "in": "query", - "name": "timeout", - "description": "Period to wait for a response. If no response is received before the\ntimeout expires, the request fails and returns an error.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Duration" - }, - "style": "form" - }, - "watcher.ack_watch#watch_id": { - "in": "path", - "name": "watch_id", - "description": "Watch ID", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "watcher.ack_watch#action_id": { - "in": "path", - "name": "action_id", - "description": "A comma-separated list of the action ids to be acked", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Names" - }, - "style": "simple" - }, - "watcher.activate_watch#watch_id": { - "in": "path", - "name": "watch_id", - "description": "Watch ID", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "watcher.deactivate_watch#watch_id": { - "in": "path", - "name": "watch_id", - "description": "Watch ID", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Name" - }, - "style": "simple" - }, - "watcher.execute_watch#id": { - "in": "path", - "name": "id", - "description": "Identifier for the watch.", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "watcher.execute_watch#debug": { - "in": "query", - "name": "debug", - "description": "Defines whether the watch runs in debug mode.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "watcher.put_watch#id": { - "in": "path", - "name": "id", - "description": "Watch ID", - "required": true, - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:Id" - }, - "style": "simple" - }, - "watcher.put_watch#active": { - "in": "query", - "name": "active", - "description": "Specify whether the watch is in/active by default", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "watcher.put_watch#if_primary_term": { - "in": "query", - "name": "if_primary_term", - "description": "only update the watch if the last operation that has changed the watch has the specified primary term", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "watcher.put_watch#if_seq_no": { - "in": "query", - "name": "if_seq_no", - "description": "only update the watch if the last operation that has changed the watch has the specified sequence number", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "style": "form" - }, - "watcher.put_watch#version": { - "in": "query", - "name": "version", - "description": "Explicit version number for concurrency control", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "style": "form" - }, - "watcher.stats#metric": { - "in": "path", - "name": "metric", - "description": "Defines which additional metrics are included in the response.", - "required": true, - "deprecated": false, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/watcher.stats:WatcherMetric" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/watcher.stats:WatcherMetric" - } - } - ] - }, - "style": "simple" - }, - "watcher.stats#emit_stacktraces": { - "in": "query", - "name": "emit_stacktraces", - "description": "Defines whether stack traces are generated for each watch that is running.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, - "watcher.stats#metric_": { - "in": "query", - "name": "metric", - "description": "Defines which additional metrics are included in the response.", - "deprecated": false, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/watcher.stats:WatcherMetric" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/watcher.stats:WatcherMetric" - } - } - ] - }, - "style": "form" - } - }, - "requestBodies": { - "async_search.submit": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aggregations": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "collapse": { - "$ref": "#/components/schemas/_global.search._types:FieldCollapse" - }, - "explain": { - "description": "If true, returns detailed information about score computation as part of a hit.", - "type": "boolean" - }, - "ext": { - "description": "Configuration of search extensions defined by Elasticsearch plugins.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "from": { - "description": "Starting document offset. By default, you cannot page through more than 10,000\nhits using the from and size parameters. To page through more hits, use the\nsearch_after parameter.", - "type": "number" - }, - "highlight": { - "$ref": "#/components/schemas/_global.search._types:Highlight" - }, - "track_total_hits": { - "$ref": "#/components/schemas/_global.search._types:TrackHits" - }, - "indices_boost": { - "description": "Boosts the _score of documents from specified indices.", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "number" - } - } - }, - "docvalue_fields": { - "description": "Array of wildcard (*) patterns. The request returns doc values for field\nnames matching these patterns in the hits.fields property of the response.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" - } - }, - "knn": { - "description": "Defines the approximate kNN search to run.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:KnnQuery" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:KnnQuery" - } - } - ] - }, - "min_score": { - "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in the search results.", - "type": "number" - }, - "post_filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "profile": { - "type": "boolean" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "rescore": { - "oneOf": [ - { - "$ref": "#/components/schemas/_global.search._types:Rescore" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:Rescore" - } - } - ] - }, - "script_fields": { - "description": "Retrieve a script evaluation (based on different fields) for each hit.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ScriptField" - } - }, - "search_after": { - "$ref": "#/components/schemas/_types:SortResults" - }, - "size": { - "description": "The number of hits to return. By default, you cannot page through more\nthan 10,000 hits using the from and size parameters. To page through more\nhits, use the search_after parameter.", - "type": "number" - }, - "slice": { - "$ref": "#/components/schemas/_types:SlicedScroll" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" - }, - "_source": { - "$ref": "#/components/schemas/_global.search._types:SourceConfig" - }, - "fields": { - "description": "Array of wildcard (*) patterns. The request returns values for field names\nmatching these patterns in the hits.fields property of the response.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" - } - }, - "suggest": { - "$ref": "#/components/schemas/_global.search._types:Suggester" - }, - "terminate_after": { - "description": "Maximum number of documents to collect for each shard. If a query reaches this\nlimit, Elasticsearch terminates the query early. Elasticsearch collects documents\nbefore sorting. Defaults to 0, which does not terminate query execution early.", - "type": "number" - }, - "timeout": { - "description": "Specifies the period of time to wait for a response from each shard. If no response\nis 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.", - "type": "boolean" - }, - "version": { - "description": "If true, returns document version as part of a hit.", - "type": "boolean" - }, - "seq_no_primary_term": { - "description": "If true, returns sequence number and primary term of the last modification\nof each hit. See Optimistic concurrency control.", - "type": "boolean" - }, - "stored_fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "pit": { - "$ref": "#/components/schemas/_global.search._types:PointInTimeReference" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - }, - "stats": { - "description": "Stats groups to associate with the search. Each group maintains a statistics\naggregation for its associated searches. You can retrieve these stats using\nthe indices stats API.", - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "bulk": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/_global.bulk:OperationContainer" - }, - { - "$ref": "#/components/schemas/_global.bulk:UpdateAction" - }, - { - "type": "object" - } - ] - } - } - } - }, - "required": true - }, - "clear_scroll": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "scroll_id": { - "$ref": "#/components/schemas/_types:ScrollIds" - } - } - } - } - } - }, - "cluster.allocation_explain": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "current_node": { - "description": "Specifies the node ID or the name of the node to only explain a shard that is currently located on the specified node.", - "type": "string" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "primary": { - "description": "If true, returns explanation for the primary shard for the given shard ID.", - "type": "boolean" - }, - "shard": { - "description": "Specifies the ID of the shard that you would like an explanation for.", - "type": "number" - } - } - } - } - } - }, - "cluster.put_component_template": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "allow_auto_create": { - "description": "This setting overrides the value of the `action.auto_create_index` cluster setting.\nIf set to `true` in a template, then indices can be automatically created using that\ntemplate even if auto-creation of indices is disabled via `actions.auto_create_index`.\nIf set to `false` then data streams matching the template must always be explicitly created.", - "type": "boolean" - }, - "template": { - "$ref": "#/components/schemas/indices._types:IndexState" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - } - }, - "required": [ - "template" - ] - } - } - }, - "required": true - }, - "count": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - } - } - } - } - }, - "create": { - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - }, - "required": true - }, - "eql.search": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "query": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-syntax.html" - }, - "description": "EQL query you wish to run.", - "type": "string" - }, - "case_sensitive": { - "type": "boolean" - }, - "event_category_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "tiebreaker_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "timestamp_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "fetch_size": { - "$ref": "#/components/schemas/_types:uint" - }, - "filter": { - "description": "Query, written in Query DSL, used to filter the events on which the EQL query runs.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - } - ] - }, - "keep_alive": { - "$ref": "#/components/schemas/_types:Duration" - }, - "keep_on_completion": { - "type": "boolean" - }, - "wait_for_completion_timeout": { - "$ref": "#/components/schemas/_types:Duration" - }, - "size": { - "$ref": "#/components/schemas/_types:uint" - }, - "fields": { - "description": "Array of wildcard (*) patterns. The response returns values for field names matching these patterns in the fields property of each hit.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" - } - } - ] - }, - "result_position": { - "$ref": "#/components/schemas/eql.search:ResultPosition" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - } - }, - "required": [ - "query" - ] - } - } - }, - "required": true - }, - "explain": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - } - } - } - } - }, - "field_caps": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "index_filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - } - } - } - } - } - }, - "fleet.msearch": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.msearch:RequestItem" - } - } - } - }, - "required": true - }, - "fleet.search": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aggregations": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "collapse": { - "$ref": "#/components/schemas/_global.search._types:FieldCollapse" - }, - "explain": { - "description": "If true, returns detailed information about score computation as part of a hit.", - "type": "boolean" - }, - "ext": { - "description": "Configuration of search extensions defined by Elasticsearch plugins.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "from": { - "description": "Starting document offset. By default, you cannot page through more than 10,000\nhits using the from and size parameters. To page through more hits, use the\nsearch_after parameter.", - "type": "number" - }, - "highlight": { - "$ref": "#/components/schemas/_global.search._types:Highlight" - }, - "track_total_hits": { - "$ref": "#/components/schemas/_global.search._types:TrackHits" - }, - "indices_boost": { - "description": "Boosts the _score of documents from specified indices.", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "number" - } - } - }, - "docvalue_fields": { - "description": "Array of wildcard (*) patterns. The request returns doc values for field\nnames matching these patterns in the hits.fields property of the response.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" - } - }, - "min_score": { - "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in the search results.", - "type": "number" - }, - "post_filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "profile": { - "type": "boolean" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "rescore": { - "oneOf": [ - { - "$ref": "#/components/schemas/_global.search._types:Rescore" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:Rescore" - } - } - ] - }, - "script_fields": { - "description": "Retrieve a script evaluation (based on different fields) for each hit.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ScriptField" - } - }, - "search_after": { - "$ref": "#/components/schemas/_types:SortResults" - }, - "size": { - "description": "The number of hits to return. By default, you cannot page through more\nthan 10,000 hits using the from and size parameters. To page through more\nhits, use the search_after parameter.", - "type": "number" - }, - "slice": { - "$ref": "#/components/schemas/_types:SlicedScroll" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" - }, - "_source": { - "$ref": "#/components/schemas/_global.search._types:SourceConfig" - }, - "fields": { - "description": "Array of wildcard (*) patterns. The request returns values for field names\nmatching these patterns in the hits.fields property of the response.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" - } - }, - "suggest": { - "$ref": "#/components/schemas/_global.search._types:Suggester" - }, - "terminate_after": { - "description": "Maximum number of documents to collect for each shard. If a query reaches this\nlimit, Elasticsearch terminates the query early. Elasticsearch collects documents\nbefore sorting. Defaults to 0, which does not terminate query execution early.", - "type": "number" - }, - "timeout": { - "description": "Specifies the period of time to wait for a response from each shard. If no response\nis 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.", - "type": "boolean" - }, - "version": { - "description": "If true, returns document version as part of a hit.", - "type": "boolean" - }, - "seq_no_primary_term": { - "description": "If true, returns sequence number and primary term of the last modification\nof each hit. See Optimistic concurrency control.", - "type": "boolean" - }, - "stored_fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "pit": { - "$ref": "#/components/schemas/_global.search._types:PointInTimeReference" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - }, - "stats": { - "description": "Stats groups to associate with the search. Each group maintains a statistics\naggregation for its associated searches. You can retrieve these stats using\nthe indices stats API.", - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "graph.explore": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "connections": { - "$ref": "#/components/schemas/graph._types:Hop" - }, - "controls": { - "$ref": "#/components/schemas/graph._types:ExploreControls" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "vertices": { - "description": "Specifies one or more fields that contain the terms you want to include in the graph as vertices.", - "type": "array", - "items": { - "$ref": "#/components/schemas/graph._types:VertexDefinition" - } - } - } - } - } - } - }, - "index": { - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - }, - "required": true - }, - "indices.analyze": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-analyzers.html" - }, - "description": "The name of the analyzer that should be applied to the provided `text`.\nThis could be a built-in analyzer, or an analyzer that’s been configured in the index.", - "type": "string" - }, - "attributes": { - "description": "Array of token attributes used to filter the output of the `explain` parameter.", - "type": "array", - "items": { - "type": "string" - } - }, - "char_filter": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-charfilters.html" - }, - "description": "Array of character filters used to preprocess characters before the tokenizer.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.analysis:CharFilter" - } - }, - "explain": { - "description": "If `true`, the response includes token attributes and additional details.", - "type": "boolean" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "filter": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-tokenfilters.html" - }, - "description": "Array of token filters used to apply after the tokenizer.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.analysis:TokenFilter" - } - }, - "normalizer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-normalizers.html" - }, - "description": "Normalizer to use to convert text into a single token.", - "type": "string" - }, - "text": { - "$ref": "#/components/schemas/indices.analyze:TextToAnalyze" - }, - "tokenizer": { - "$ref": "#/components/schemas/_types.analysis:Tokenizer" - } - } - } - } - } - }, - "indices.clone": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aliases": { - "description": "Aliases for the resulting index.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:Alias" - } - }, - "settings": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html#index-modules-settings" - }, - "description": "Configuration options for the target index.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - } - } - } - }, - "indices.put_alias": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "index_routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "is_write_index": { - "description": "If `true`, sets the write index or data stream for the alias.\nIf an alias points to multiple indices or data streams and `is_write_index` isn’t set, the alias rejects write requests.\nIf an index alias points to one index and `is_write_index` isn’t set, the index automatically acts as the write index.\nData stream aliases don’t automatically set a write data stream, even if the alias points to one data stream.", - "type": "boolean" - }, - "routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "search_routing": { - "$ref": "#/components/schemas/_types:Routing" - } - } - } - } - } - }, - "indices.put_index_template": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "index_patterns": { - "$ref": "#/components/schemas/_types:Indices" - }, - "composed_of": { - "description": "An ordered list of component template names.\nComponent templates are merged in the order specified, meaning that the last component template specified has the highest precedence.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "template": { - "$ref": "#/components/schemas/indices.put_index_template:IndexTemplateMapping" - }, - "data_stream": { - "$ref": "#/components/schemas/indices._types:DataStreamVisibility" - }, - "priority": { - "description": "Priority to determine index template precedence when a new data stream or index is created.\nThe index template with the highest priority is chosen.\nIf no priority is specified the template is treated as though it is of priority 0 (lowest priority).\nThis number is not automatically generated by Elasticsearch.", - "type": "number" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - } - } - } - } - }, - "required": true - }, - "indices.put_mapping": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "date_detection": { - "description": "Controls whether dynamic date detection is enabled.", - "type": "boolean" - }, - "dynamic": { - "$ref": "#/components/schemas/_types.mapping:DynamicMapping" - }, - "dynamic_date_formats": { - "description": "If date detection is enabled then new string fields are checked\nagainst 'dynamic_date_formats' and if the value matches then\na new date field is added instead of string.", - "type": "array", - "items": { - "type": "string" - } - }, - "dynamic_templates": { - "description": "Specify dynamic templates for the mapping.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.mapping:DynamicTemplate" - } - }, - { - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.mapping:DynamicTemplate" - } - } - } - ] - }, - "_field_names": { - "$ref": "#/components/schemas/_types.mapping:FieldNamesField" - }, - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "numeric_detection": { - "description": "Automatically map strings into numeric data types for all fields.", - "type": "boolean" - }, - "properties": { - "description": "Mapping for a field. For new fields, this mapping can include:\n\n- Field name\n- Field data type\n- Mapping parameters", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.mapping:Property" - } - }, - "_routing": { - "$ref": "#/components/schemas/_types.mapping:RoutingField" - }, - "_source": { - "$ref": "#/components/schemas/_types.mapping:SourceField" - }, - "runtime": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - } - } - } - } - }, - "required": true - }, - "indices.put_settings": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/indices._types:IndexSettings" - } - } - }, - "required": true - }, - "indices.put_template": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aliases": { - "description": "Aliases for the index.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:Alias" - } - }, - "index_patterns": { - "description": "Array of wildcard expressions used to match the names\nof indices during creation.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "mappings": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" - }, - "order": { - "description": "Order in which Elasticsearch applies this template if index\nmatches multiple templates.\n\nTemplates with lower 'order' values are merged first. Templates with higher\n'order' values are merged later, overriding templates with lower values.", - "type": "number" - }, - "settings": { - "description": "Configuration options for the index.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - } - } - } - } - }, - "required": true - }, - "indices.rollover": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aliases": { - "description": "Aliases for the target index.\nData streams do not support this parameter.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:Alias" - } - }, - "conditions": { - "$ref": "#/components/schemas/indices.rollover:RolloverConditions" - }, - "mappings": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" - }, - "settings": { - "description": "Configuration options for the index.\nData streams do not support this parameter.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - } - } - } - }, - "indices.shrink": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aliases": { - "description": "The key is the alias name.\nIndex alias names support date math.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:Alias" - } - }, - "settings": { - "description": "Configuration options for the target index.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - } - } - } - }, - "indices.simulate_template": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/indices._types:IndexTemplate" - } - } - } - }, - "indices.split": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aliases": { - "description": "Aliases for the resulting index.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:Alias" - } - }, - "settings": { - "description": "Configuration options for the target index.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - } - } - } - }, - "indices.validate_query": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - } - } - } - } - }, - "ingest.simulate": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "docs": { - "description": "Sample documents to test in the pipeline.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ingest.simulate:Document" - } - }, - "pipeline": { - "$ref": "#/components/schemas/ingest._types:Pipeline" - } - } - } - } - }, - "required": true - }, - "knn_search": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "_source": { - "$ref": "#/components/schemas/_global.search._types:SourceConfig" - }, - "docvalue_fields": { - "description": "The request returns doc values for field names matching these patterns\nin the hits.fields property of the response. Accepts wildcard (*) patterns.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" - } - }, - "stored_fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "filter": { - "description": "Query to filter the documents that can match. The kNN search will return the top\n`k` documents that also match this filter. The value can be a single query or a\nlist of queries. If `filter` isn't provided, all documents are allowed to match.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - } - ] - }, - "knn": { - "$ref": "#/components/schemas/_global.knn_search._types:Query" - } - }, - "required": [ - "knn" - ] - } - } - } - }, - "license.post": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "license": { - "$ref": "#/components/schemas/license._types:License" - }, - "licenses": { - "description": "A sequence of one or more JSON documents containing the license information.", - "type": "array", - "items": { - "$ref": "#/components/schemas/license._types:License" - } - } - } - } - } - } - }, - "mget": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "docs": { - "description": "The documents you want to retrieve. Required if no index is specified in the request URI.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.mget:Operation" - } - }, - "ids": { - "$ref": "#/components/schemas/_types:Ids" - } - } - } - } - }, - "required": true - }, - "ml.delete_expired_data": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "requests_per_second": { - "description": "The desired requests per second for the deletion processes. The default\nbehavior is no throttling.", - "type": "number" - }, - "timeout": { - "$ref": "#/components/schemas/_types:Duration" - } - } - } - } - } - }, - "ml.explain_data_frame_analytics": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "source": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" - }, - "dest": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsDestination" - }, - "analysis": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" - }, - "description": { - "description": "A description of the job.", - "type": "string" - }, - "model_memory_limit": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" - }, - "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try to\ncreate data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", - "type": "string" - }, - "max_num_threads": { - "description": "The maximum number of threads to be used by the analysis. Using more\nthreads may decrease the time necessary to complete the analysis at the\ncost of using more CPU. Note that the process may use additional threads\nfor operational functionality other than the analysis itself.", - "type": "number" - }, - "analyzed_fields": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" - }, - "allow_lazy_start": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" - }, - "description": "Specifies whether this job can start when there is insufficient machine\nlearning node capacity for it to be immediately assigned to a node.", - "type": "boolean" - } - } - } - } - } - }, - "ml.get_buckets": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "anomaly_score": { - "description": "Refer to the description for the `anomaly_score` query parameter.", - "type": "number" - }, - "desc": { - "description": "Refer to the description for the `desc` query parameter.", - "type": "boolean" - }, - "end": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "exclude_interim": { - "description": "Refer to the description for the `exclude_interim` query parameter.", - "type": "boolean" - }, - "expand": { - "description": "Refer to the description for the `expand` query parameter.", - "type": "boolean" - }, - "page": { - "$ref": "#/components/schemas/ml._types:Page" - }, - "sort": { - "$ref": "#/components/schemas/_types:Field" - }, - "start": { - "$ref": "#/components/schemas/_types:DateTime" - } - } - } - } - } - }, - "ml.get_calendars": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "page": { - "$ref": "#/components/schemas/ml._types:Page" - } - } - } - } - } - }, - "ml.get_categories": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "page": { - "$ref": "#/components/schemas/ml._types:Page" - } - } - } - } - } - }, - "ml.get_influencers": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "page": { - "$ref": "#/components/schemas/ml._types:Page" - } - } - } - } - } - }, - "ml.get_model_snapshots": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "desc": { - "description": "Refer to the description for the `desc` query parameter.", - "type": "boolean" - }, - "end": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "page": { - "$ref": "#/components/schemas/ml._types:Page" - }, - "sort": { - "$ref": "#/components/schemas/_types:Field" - }, - "start": { - "$ref": "#/components/schemas/_types:DateTime" - } - } - } - } - } - }, - "ml.get_overall_buckets": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "allow_no_match": { - "description": "Refer to the description for the `allow_no_match` query parameter.", - "type": "boolean" - }, - "bucket_span": { - "$ref": "#/components/schemas/_types:Duration" - }, - "end": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "exclude_interim": { - "description": "Refer to the description for the `exclude_interim` query parameter.", - "type": "boolean" - }, - "overall_score": { - "description": "Refer to the description for the `overall_score` query parameter.", - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "start": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "top_n": { - "description": "Refer to the description for the `top_n` query parameter.", - "type": "number" - } - } - } - } - } - }, - "ml.get_records": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "desc": { - "description": "Refer to the description for the `desc` query parameter.", - "type": "boolean" - }, - "end": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "exclude_interim": { - "description": "Refer to the description for the `exclude_interim` query parameter.", - "type": "boolean" - }, - "page": { - "$ref": "#/components/schemas/ml._types:Page" - }, - "record_score": { - "description": "Refer to the description for the `record_score` query parameter.", - "type": "number" - }, - "sort": { - "$ref": "#/components/schemas/_types:Field" - }, - "start": { - "$ref": "#/components/schemas/_types:DateTime" - } - } - } - } - } - }, - "ml.infer_trained_model": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "docs": { - "description": "An array of objects to pass to the model for inference. The objects should contain a fields matching your\nconfigured trained model input. Typically, for NLP models, the field name is `text_field`.\nCurrently, for NLP models, only a single value is allowed.", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - }, - "inference_config": { - "$ref": "#/components/schemas/ml._types:InferenceConfigUpdateContainer" - } - }, - "required": [ - "docs" - ] - } - } - }, - "required": true - }, - "ml.preview_data_frame_analytics": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "config": { - "$ref": "#/components/schemas/ml.preview_data_frame_analytics:DataframePreviewConfig" - } - } - } - } - } - }, - "ml.preview_datafeed": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "datafeed_config": { - "$ref": "#/components/schemas/ml._types:DatafeedConfig" - }, - "job_config": { - "$ref": "#/components/schemas/ml._types:JobConfig" - } - } - } - } - } - }, - "monitoring.bulk": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/_global.bulk:OperationContainer" - }, - { - "$ref": "#/components/schemas/_global.bulk:UpdateAction" - }, - { - "type": "object" - } - ] - } - } - } - }, - "required": true - }, - "msearch": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.msearch:RequestItem" - } - } - } - }, - "required": true - }, - "msearch_template": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.msearch_template:RequestItem" - } - } - } - }, - "required": true - }, - "mtermvectors": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "docs": { - "description": "Array of existing or artificial documents.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.mtermvectors:Operation" - } - }, - "ids": { - "description": "Simplified syntax to specify documents by their ID if they're in the same index.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Id" - } - } - } - } - } - } - }, - "nodes.reload_secure_settings": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "secure_settings_password": { - "$ref": "#/components/schemas/_types:Password" - } - } - } - } - } - }, - "put_script": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "script": { - "$ref": "#/components/schemas/_types:StoredScript" - } - }, - "required": [ - "script" - ] - } - } - }, - "required": true - }, - "rank_eval": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "requests": { - "description": "A set of typical search requests, together with their provided ratings.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalRequestItem" - } - }, - "metric": { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetric" - } - }, - "required": [ - "requests" - ] - } - } - }, - "required": true - }, - "render_search_template": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "file": { - "type": "string" - }, - "params": { - "description": "Key-value pairs used to replace Mustache variables in the template.\nThe key is the variable name.\nThe value is the variable value.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "source": { - "description": "An inline search template.\nSupports the same parameters as the search API's request body.\nThese parameters also support Mustache variables.\nIf no `id` or `` is specified, this parameter is required.", - "type": "string" - } - } - } - } - } - }, - "rollup.rollup_search": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aggregations": { - "description": "Specifies aggregations.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "size": { - "description": "Must be zero if set, as rollups work on pre-aggregated data.", - "type": "number" - } - } - } - } - }, - "required": true - }, - "scripts_painless_execute": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "context": { - "description": "The context that the script should run in.", - "type": "string" - }, - "context_setup": { - "$ref": "#/components/schemas/_global.scripts_painless_execute:PainlessContextSetup" - }, - "script": { - "$ref": "#/components/schemas/_types:InlineScript" - } - } - } - } - } - }, - "scroll": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "scroll": { - "$ref": "#/components/schemas/_types:Duration" - }, - "scroll_id": { - "$ref": "#/components/schemas/_types:ScrollId" - } - }, - "required": [ - "scroll_id" - ] - } - } - } - }, - "search": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aggregations": { - "description": "Defines the aggregations that are run as part of the search request.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "collapse": { - "$ref": "#/components/schemas/_global.search._types:FieldCollapse" - }, - "explain": { - "description": "If true, returns detailed information about score computation as part of a hit.", - "type": "boolean" - }, - "ext": { - "description": "Configuration of search extensions defined by Elasticsearch plugins.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "from": { - "description": "Starting document offset.\nNeeds to 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.", - "type": "number" - }, - "highlight": { - "$ref": "#/components/schemas/_global.search._types:Highlight" - }, - "track_total_hits": { - "$ref": "#/components/schemas/_global.search._types:TrackHits" - }, - "indices_boost": { - "description": "Boosts the _score of documents from specified indices.", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "number" - } - } - }, - "docvalue_fields": { - "description": "Array of wildcard (`*`) patterns.\nThe request returns doc values for field names matching these patterns in the `hits.fields` property of the response.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" - } - }, - "knn": { - "description": "Defines the approximate kNN search to run.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:KnnQuery" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:KnnQuery" - } - } - ] - }, - "rank": { - "$ref": "#/components/schemas/_types:RankContainer" - }, - "min_score": { - "description": "Minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in the search results.", - "type": "number" - }, - "post_filter": { - "$ref": "#/components/schemas/_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.", - "type": "boolean" - }, - "query": { - "$ref": "#/components/schemas/_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": "#/components/schemas/_global.search._types:Rescore" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:Rescore" - } - } - ] - }, - "script_fields": { - "description": "Retrieve a script evaluation (based on different fields) for each hit.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ScriptField" - } - }, - "search_after": { - "$ref": "#/components/schemas/_types:SortResults" - }, - "size": { - "description": "The number of hits to return.\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.", - "type": "number" - }, - "slice": { - "$ref": "#/components/schemas/_types:SlicedScroll" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" - }, - "_source": { - "$ref": "#/components/schemas/_global.search._types:SourceConfig" - }, - "fields": { - "description": "Array of wildcard (`*`) patterns.\nThe request returns values for field names matching these patterns in the `hits.fields` property of the response.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" - } - }, - "suggest": { - "$ref": "#/components/schemas/_global.search._types:Suggester" - }, - "terminate_after": { - "description": "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.\nUse with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.\nIf set to `0` (default), the query does not terminate early.", - "type": "number" - }, - "timeout": { - "description": "Specifies 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.", - "type": "boolean" - }, - "version": { - "description": "If true, returns document version as part of a hit.", - "type": "boolean" - }, - "seq_no_primary_term": { - "description": "If `true`, returns sequence number and primary term of the last modification of each hit.", - "type": "boolean" - }, - "stored_fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "pit": { - "$ref": "#/components/schemas/_global.search._types:PointInTimeReference" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - }, - "stats": { - "description": "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" - } - } - } - } - } - } - }, - "search_application.search": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "params": { - "description": "Query parameters specific to this request, which will override any defaults specified in the template.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - } - } - } - }, - "search_mvt": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "aggs": { - "description": "Sub-aggregations for the geotile_grid.\n\nSupports the following aggregation types:\n- avg\n- cardinality\n- max\n- min\n- sum", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "buffer": { - "description": "Size, in pixels, of a clipping buffer outside the tile. This allows renderers\nto avoid outline artifacts from geometries that extend past the extent of the tile.", - "type": "number" - }, - "exact_bounds": { - "description": "If false, the meta layer’s feature is the bounding box of the tile.\nIf true, the meta layer’s feature is a bounding box resulting from a\ngeo_bounds aggregation. The aggregation runs on values that intersect\nthe // tile with wrap_longitude set to false. The resulting\nbounding box may be larger than the vector tile.", - "type": "boolean" - }, - "extent": { - "description": "Size, in pixels, of a side of the tile. Vector tiles are square with equal sides.", - "type": "number" - }, - "fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "grid_agg": { - "$ref": "#/components/schemas/_global.search_mvt._types:GridAggregationType" - }, - "grid_precision": { - "description": "Additional zoom levels available through the aggs layer. For example, if is 7\nand grid_precision is 8, you can zoom in up to level 15. Accepts 0-8. If 0, results\ndon’t include the aggs layer.", - "type": "number" - }, - "grid_type": { - "$ref": "#/components/schemas/_global.search_mvt._types:GridType" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - }, - "size": { - "description": "Maximum number of features to return in the hits layer. Accepts 0-10000.\nIf 0, results don’t include the hits layer.", - "type": "number" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" - }, - "track_total_hits": { - "$ref": "#/components/schemas/_global.search._types:TrackHits" - }, - "with_labels": { - "description": "If `true`, the hits and aggs layers will contain additional point features representing\nsuggested label positions for the original features.", - "type": "boolean" - } - } - } - } - } - }, - "search_template": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "explain": { - "description": "If `true`, returns detailed information about score calculation as part of each hit.", - "type": "boolean" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "params": { - "description": "Key-value pairs used to replace Mustache variables in the template.\nThe key is the variable name.\nThe value is the variable value.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "profile": { - "description": "If `true`, the query execution is profiled.", - "type": "boolean" - }, - "source": { - "description": "An inline search template. Supports the same parameters as the search API's\nrequest body. Also supports Mustache variables. If no id is specified, this\nparameter is required.", - "type": "string" - } - } - } - } - }, - "required": true - }, - "security.change_password": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "password": { - "$ref": "#/components/schemas/_types:Password" - }, - "password_hash": { - "description": "A hash of the new password value. This must be produced using the same\nhashing algorithm as has been configured for password storage. For more details,\nsee the explanation of the `xpack.security.authc.password_hashing.algorithm`\nsetting.", - "type": "string" - } - } - } - } - }, - "required": true - }, - "security.create_api_key": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "expiration": { - "$ref": "#/components/schemas/_types:Duration" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "role_descriptors": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html" - }, - "description": "An array of role descriptors for this API key. This parameter is optional. When it is not specified or is an empty array, then the API key will have a point in time snapshot of permissions of the authenticated user. If you supply role descriptors then the resultant permissions would be an intersection of API keys permissions and authenticated user’s permissions thereby limiting the access scope for API keys. The structure of role descriptor is the same as the request for create role API. For more details, see create or update roles API.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:RoleDescriptor" - } - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - } - } - } - } - }, - "required": true - }, - "security.has_privileges": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "application": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security.has_privileges:ApplicationPrivilegesCheck" - } - }, - "cluster": { - "description": "A list of the cluster privileges that you want to check.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:ClusterPrivilege" - } - }, - "index": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security.has_privileges:IndexPrivilegesCheck" - } - } - } - } - } - }, - "required": true - }, - "security.has_privileges_user_profile": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "uids": { - "description": "A list of profile IDs. The privileges are checked for associated users of the profiles.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:UserProfileId" - } - }, - "privileges": { - "$ref": "#/components/schemas/security.has_privileges_user_profile:PrivilegesCheck" - } - }, - "required": [ - "uids", - "privileges" - ] - } - } - }, - "required": true - }, - "security.put_privileges": { - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security.put_privileges:Actions" - } - } - } - } - }, - "required": true - }, - "security.put_role": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "applications": { - "description": "A list of application privilege entries.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:ApplicationPrivileges" - } - }, - "cluster": { - "description": "A list of cluster privileges. These privileges define the cluster-level actions for users with this role.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:ClusterPrivilege" - } - }, - "global": { - "description": "An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware. Support for global privileges is currently limited to the management of application privileges.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "indices": { - "description": "A list of indices permissions entries.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:IndicesPrivileges" - } - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "run_as": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/run-as-privilege.html" - }, - "description": "A list of users that the owners of this role can impersonate.", - "type": "array", - "items": { - "type": "string" - } - }, - "transient_metadata": { - "$ref": "#/components/schemas/security._types:TransientMetadataConfig" - } - } - } - } - }, - "required": true - }, - "security.put_role_mapping": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - }, - "rules": { - "$ref": "#/components/schemas/security._types:RoleMappingRule" - }, - "run_as": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - }, - "required": true - }, - "security.put_user": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "username": { - "$ref": "#/components/schemas/_types:Username" - }, - "email": { - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "full_name": { - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "password": { - "$ref": "#/components/schemas/_types:Password" - }, - "password_hash": { - "type": "string" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - }, - "enabled": { - "type": "boolean" - } - } - } - } - }, - "required": true - }, - "security.query_api_keys": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "from": { - "description": "Starting document offset.\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.", - "type": "number" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" - }, - "size": { - "description": "The number of hits to return.\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.", - "type": "number" - }, - "search_after": { - "$ref": "#/components/schemas/_types:SortResults" - } - } - } - } - } - }, - "security.suggest_user_profiles": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "description": "Query string used to match name-related fields in user profile documents.\nName-related fields are the user's `username`, `full_name`, and `email`.", - "type": "string" - }, - "size": { - "description": "Number of profiles to return.", - "type": "number" - }, - "data": { - "description": "List of filters for the `data` field of the profile document.\nTo return all content use `data=*`. To return a subset of content\nuse `data=` to retrieve content nested under the specified ``.\nBy default returns no `data` content.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "hint": { - "$ref": "#/components/schemas/security.suggest_user_profiles:Hint" - } - } - } - } - } - }, - "security.update_user_profile_data": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "labels": { - "description": "Searchable data that you want to associate with the user profile. This\nfield supports a nested data structure.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "data": { - "description": "Non-searchable data that you want to associate with the user profile.\nThis field supports a nested data structure.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - } - } - }, - "required": true - }, - "snapshot.create": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "ignore_unavailable": { - "description": "If `true`, the request ignores data streams and indices in `indices` that are missing or closed. If `false`, the request returns an error for any data stream or index that is missing or closed.", - "type": "boolean" - }, - "include_global_state": { - "description": "If `true`, the current cluster state is included in the snapshot. The cluster state includes persistent cluster settings, composable index templates, legacy index templates, ingest pipelines, and ILM policies. It also includes data stored in system indices, such as Watches and task records (configurable via `feature_states`).", - "type": "boolean" - }, - "indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "feature_states": { - "description": "Feature states to include in the snapshot. Each feature state includes one or more system indices containing related data. You can view a list of eligible features using the get features API. If `include_global_state` is `true`, all current feature states are included by default. If `include_global_state` is `false`, no feature states are included by default.", - "type": "array", - "items": { - "type": "string" - } - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "partial": { - "description": "If `true`, allows restoring a partial snapshot of indices with unavailable shards. Only shards that were successfully included in the snapshot will be restored. All missing shards will be recreated as empty. If `false`, the entire restore operation will fail if one or more indices included in the snapshot do not have all primary shards available.", - "type": "boolean" - } - } - } - } - } - }, - "snapshot.create_repository": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "repository": { - "$ref": "#/components/schemas/snapshot._types:Repository" - }, - "type": { - "type": "string" - }, - "settings": { - "$ref": "#/components/schemas/snapshot._types:RepositorySettings" - } - }, - "required": [ - "type", - "settings" - ] - } - } - }, - "required": true - }, - "sql.query": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "catalog": { - "description": "Default catalog (cluster) for queries. If unspecified, the queries execute on the data in the local cluster only.", - "type": "string" - }, - "columnar": { - "description": "If true, the results in a columnar fashion: one row represents all the values of a certain column from the current page of results.", - "type": "boolean" - }, - "cursor": { - "description": "Cursor used to retrieve a set of paginated results.\nIf you specify a cursor, the API only uses the `columnar` and `time_zone` request body parameters.\nIt ignores other request body parameters.", - "type": "string" - }, - "fetch_size": { - "description": "The maximum number of rows (or entries) to return in one response", - "type": "number" - }, - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "query": { - "description": "SQL query to run.", - "type": "string" - }, - "request_timeout": { - "$ref": "#/components/schemas/_types:Duration" - }, - "page_timeout": { - "$ref": "#/components/schemas/_types:Duration" - }, - "time_zone": { - "$ref": "#/components/schemas/_types:TimeZone" - }, - "field_multi_value_leniency": { - "description": "Throw an exception when encountering multiple values for a field (default) or be lenient and return the first value from the list (without any guarantees of what that will be - typically the first in natural ascending order).", - "type": "boolean" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - }, - "wait_for_completion_timeout": { - "$ref": "#/components/schemas/_types:Duration" - }, - "params": { - "description": "Values for parameters in the query.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "keep_alive": { - "$ref": "#/components/schemas/_types:Duration" - }, - "keep_on_completion": { - "description": "If true, Elasticsearch stores synchronous searches if you also specify the wait_for_completion_timeout parameter. If false, Elasticsearch only stores async searches that don’t finish before the wait_for_completion_timeout.", - "type": "boolean" - }, - "index_using_frozen": { - "description": "If true, the search can run on frozen indices. Defaults to false.", - "type": "boolean" - } - } - } - } - }, - "required": true - }, - "sql.translate": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "fetch_size": { - "description": "The maximum number of rows (or entries) to return in one response.", - "type": "number" - }, - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "query": { - "description": "SQL query to run.", - "type": "string" - }, - "time_zone": { - "$ref": "#/components/schemas/_types:TimeZone" - } - }, - "required": [ - "query" - ] - } - } - }, - "required": true - }, - "terms_enum": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "size": { - "description": "How many matching terms to return.", - "type": "number" - }, - "timeout": { - "$ref": "#/components/schemas/_types:Duration" - }, - "case_insensitive": { - "description": "When true the provided search string is matched against index terms without case sensitivity.", - "type": "boolean" - }, - "index_filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "string": { - "description": "The string after which terms in the index should be returned. Allows for a form of pagination if the last result from one request is passed as the search_after parameter for a subsequent request.", - "type": "string" - }, - "search_after": { - "type": "string" - } - }, - "required": [ - "field" - ] - } - } - } - }, - "termvectors": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "doc": { - "description": "An artificial document (a document not present in the index) for which you want to retrieve term vectors.", - "type": "object" - }, - "filter": { - "$ref": "#/components/schemas/_global.termvectors:Filter" - }, - "per_field_analyzer": { - "description": "Overrides the default per-field analyzer.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - } - } - } - }, - "transform.preview_transform": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "dest": { - "$ref": "#/components/schemas/transform._types:Destination" - }, - "description": { - "description": "Free text description of the transform.", - "type": "string" - }, - "frequency": { - "$ref": "#/components/schemas/_types:Duration" - }, - "pivot": { - "$ref": "#/components/schemas/transform._types:Pivot" - }, - "source": { - "$ref": "#/components/schemas/transform._types:Source" - }, - "settings": { - "$ref": "#/components/schemas/transform._types:Settings" - }, - "sync": { - "$ref": "#/components/schemas/transform._types:SyncContainer" - }, - "retention_policy": { - "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" - }, - "latest": { - "$ref": "#/components/schemas/transform._types:Latest" - } - } - } - } - } - }, - "watcher.execute_watch": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "action_modes": { - "description": "Determines how to handle the watch actions as part of the watch execution.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/watcher._types:ActionExecutionMode" - } - }, - "alternative_input": { - "description": "When present, the watch uses this object as a payload instead of executing its own input.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "ignore_condition": { - "description": "When set to `true`, the watch execution uses the always condition. This can also be specified as an HTTP parameter.", - "type": "boolean" - }, - "record_execution": { - "description": "When set to `true`, the watch record representing the watch execution result is persisted to the `.watcher-history` index for the current time. In addition, the status of the watch is updated, possibly throttling subsequent executions. This can also be specified as an HTTP parameter.", - "type": "boolean" - }, - "simulated_actions": { - "$ref": "#/components/schemas/watcher._types:SimulatedActions" - }, - "trigger_data": { - "$ref": "#/components/schemas/watcher._types:ScheduleTriggerEvent" - }, - "watch": { - "$ref": "#/components/schemas/watcher._types:Watch" - } - } - } - } - } - }, - "watcher.put_watch": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "actions": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/watcher._types:Action" - } - }, - "condition": { - "$ref": "#/components/schemas/watcher._types:ConditionContainer" - }, - "input": { - "$ref": "#/components/schemas/watcher._types:InputContainer" - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "throttle_period": { - "type": "string" - }, - "transform": { - "$ref": "#/components/schemas/_types:TransformContainer" - }, - "trigger": { - "$ref": "#/components/schemas/watcher._types:TriggerContainer" - } - } - } - } - } - }, - "watcher.query_watches": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "from": { - "description": "The offset from the first result to fetch. Needs to be non-negative.", - "type": "number" - }, - "size": { - "description": "The number of hits to return. Needs to be non-negative.", - "type": "number" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" - }, - "search_after": { - "$ref": "#/components/schemas/_types:SortResults" - } - } - } - } - } - } - }, - "schemas": { - "_types:Id": { - "type": "string" - }, - "_types:AcknowledgedResponseBase": { - "type": "object", - "properties": { - "acknowledged": { - "description": "For a successful response, this value is always true. On failure, an exception is returned instead.", - "type": "boolean" - } - }, - "required": [ - "acknowledged" - ] - }, - "_types:Duration": { - "externalDocs": { - "url": "https://github.com/elastic/elasticsearch/blob/current/libs/core/src/main/java/org/elasticsearch/core/TimeValue.java" - }, - "description": "A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and\n`d` (days). Also accepts \"0\" without a unit and \"-1\" to indicate an unspecified value.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "string", - "enum": [ - "-1" - ] - }, - { - "type": "string", - "enum": [ - "0" - ] - } - ] - }, - "async_search._types:AsyncSearchDocumentResponseBase": { - "allOf": [ - { - "$ref": "#/components/schemas/async_search._types:AsyncSearchResponseBase" - }, - { - "type": "object", - "properties": { - "response": { - "$ref": "#/components/schemas/async_search._types:AsyncSearch" - } - }, - "required": [ - "response" - ] - } - ] - }, - "async_search._types:AsyncSearch": { - "type": "object", - "properties": { - "aggregations": { - "description": "Partial aggregations results, coming from the shards that have already completed the execution of the query.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:Aggregate" - } - }, - "_clusters": { - "$ref": "#/components/schemas/_types:ClusterStatistics" - }, - "fields": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "hits": { - "$ref": "#/components/schemas/_global.search._types:HitsMetadata" - }, - "max_score": { - "type": "number" - }, - "num_reduce_phases": { - "description": "Indicates how many reductions of the results have been performed.\nIf this number increases compared to the last retrieved results for a get asynch search request, you can expect additional results included in the search response.", - "type": "number" - }, - "profile": { - "$ref": "#/components/schemas/_global.search._types:Profile" - }, - "pit_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_scroll_id": { - "$ref": "#/components/schemas/_types:ScrollId" - }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "suggest": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:Suggest" - } - } - }, - "terminated_early": { - "type": "boolean" - }, - "timed_out": { - "type": "boolean" - }, - "took": { - "type": "number" - } - }, - "required": [ - "hits", - "_shards", - "timed_out", - "took" - ] - }, - "_types.aggregations:Aggregate": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:CardinalityAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:HdrPercentilesAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:HdrPercentileRanksAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:TDigestPercentilesAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:TDigestPercentileRanksAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:PercentilesBucketAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:MedianAbsoluteDeviationAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:MinAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:MaxAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:SumAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:AvgAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:WeightedAvgAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:ValueCountAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:SimpleValueAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:DerivativeAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:BucketMetricValueAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:StatsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:StatsBucketAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsBucketAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:GeoBoundsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:GeoCentroidAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:HistogramAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:DateHistogramAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:AutoDateHistogramAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:VariableWidthHistogramAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:StringTermsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:LongTermsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:DoubleTermsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:UnmappedTermsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:LongRareTermsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:StringRareTermsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:UnmappedRareTermsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:MultiTermsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:MissingAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:NestedAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:ReverseNestedAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:GlobalAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:FilterAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:ChildrenAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:ParentAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:SamplerAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:UnmappedSamplerAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:GeoHashGridAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:GeoTileGridAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:GeoHexGridAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:RangeAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:DateRangeAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:GeoDistanceAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:IpRangeAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:IpPrefixAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:FiltersAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:AdjacencyMatrixAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:SignificantLongTermsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:SignificantStringTermsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:UnmappedSignificantTermsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:CompositeAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:ScriptedMetricAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:TopHitsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:InferenceAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:StringStatsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:BoxPlotAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:TopMetricsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:TTestAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:RateAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:CumulativeCardinalityAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:MatrixStatsAggregate" - }, - { - "$ref": "#/components/schemas/_types.aggregations:GeoLineAggregate" - } - ] - }, - "_types.aggregations:CardinalityAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ] - } - ] - }, - "_types.aggregations:AggregateBase": { - "type": "object", - "properties": { - "meta": { - "$ref": "#/components/schemas/_types:Metadata" - } - } - }, - "_types:Metadata": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "_types.aggregations:HdrPercentilesAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:PercentilesAggregateBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "values": { - "$ref": "#/components/schemas/_types.aggregations:Percentiles" - } - }, - "required": [ - "values" - ] - } - ] - }, - "_types.aggregations:Percentiles": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:KeyedPercentiles" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:ArrayPercentilesItem" - } - } - ] - }, - "_types.aggregations:KeyedPercentiles": { - "type": "object", - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - } - }, - "_types.aggregations:ArrayPercentilesItem": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "value": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "value_as_string": { - "type": "string" - } - }, - "required": [ - "key", - "value" - ] - }, - "_types.aggregations:HdrPercentileRanksAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:TDigestPercentilesAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:TDigestPercentileRanksAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:PercentilesBucketAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MedianAbsoluteDeviationAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:SingleMetricAggregateBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "value": { - "description": "The metric value. A missing value generally means that there was no data to aggregate,\nunless specified otherwise.", - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "value_as_string": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - ] - }, - "_types.aggregations:MinAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MaxAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:SumAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:AvgAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:WeightedAvgAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:ValueCountAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:SimpleValueAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:DerivativeAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" - }, - { - "type": "object", - "properties": { - "normalized_value": { - "type": "number" - }, - "normalized_value_as_string": { - "type": "string" - } - } - } - ] - }, - "_types.aggregations:BucketMetricValueAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleMetricAggregateBase" - }, - { - "type": "object", - "properties": { - "keys": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "keys" - ] - } - ] - }, - "_types.aggregations:StatsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "min": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "max": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "avg": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "sum": { - "type": "number" - }, - "min_as_string": { - "type": "string" - }, - "max_as_string": { - "type": "string" - }, - "avg_as_string": { - "type": "string" - }, - "sum_as_string": { - "type": "string" - } - }, - "required": [ - "count", - "min", - "max", - "avg", - "sum" - ] - } - ] - }, - "_types.aggregations:StatsBucketAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:StatsAggregate" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:ExtendedStatsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:StatsAggregate" - }, - { - "type": "object", - "properties": { - "sum_of_squares": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "variance": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "variance_population": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "variance_sampling": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "std_deviation": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "std_deviation_population": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "std_deviation_sampling": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "std_deviation_bounds": { - "$ref": "#/components/schemas/_types.aggregations:StandardDeviationBounds" - }, - "sum_of_squares_as_string": { - "type": "string" - }, - "variance_as_string": { - "type": "string" - }, - "variance_population_as_string": { - "type": "string" - }, - "variance_sampling_as_string": { - "type": "string" - }, - "std_deviation_as_string": { - "type": "string" - }, - "std_deviation_bounds_as_string": { - "$ref": "#/components/schemas/_types.aggregations:StandardDeviationBoundsAsString" - } - }, - "required": [ - "sum_of_squares", - "variance", - "variance_population", - "variance_sampling", - "std_deviation", - "std_deviation_population", - "std_deviation_sampling" - ] - } - ] - }, - "_types.aggregations:StandardDeviationBounds": { - "type": "object", - "properties": { - "upper": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "lower": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "upper_population": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "lower_population": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "upper_sampling": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "lower_sampling": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - } - }, - "required": [ - "upper", - "lower", - "upper_population", - "lower_population", - "upper_sampling", - "lower_sampling" - ] - }, - "_types.aggregations:StandardDeviationBoundsAsString": { - "type": "object", - "properties": { - "upper": { - "type": "string" - }, - "lower": { - "type": "string" - }, - "upper_population": { - "type": "string" - }, - "lower_population": { - "type": "string" - }, - "upper_sampling": { - "type": "string" - }, - "lower_sampling": { - "type": "string" - } - }, - "required": [ - "upper", - "lower", - "upper_population", - "lower_population", - "upper_sampling", - "lower_sampling" - ] - }, - "_types.aggregations:ExtendedStatsBucketAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsAggregate" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:GeoBoundsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "bounds": { - "$ref": "#/components/schemas/_types:GeoBounds" - } - } - } - ] - }, - "_types:GeoBounds": { - "description": "A geo bounding box. It can be represented in various ways:\n- as 4 top/bottom/left/right coordinates\n- as 2 top_left / bottom_right points\n- as 2 top_right / bottom_left points\n- as a WKT bounding box", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:CoordsGeoBounds" - }, - { - "$ref": "#/components/schemas/_types:TopLeftBottomRightGeoBounds" - }, - { - "$ref": "#/components/schemas/_types:TopRightBottomLeftGeoBounds" - }, - { - "$ref": "#/components/schemas/_types:WktGeoBounds" - } - ] - }, - "_types:CoordsGeoBounds": { - "type": "object", - "properties": { - "top": { - "type": "number" - }, - "bottom": { - "type": "number" - }, - "left": { - "type": "number" - }, - "right": { - "type": "number" - } - }, - "required": [ - "top", - "bottom", - "left", - "right" - ] - }, - "_types:TopLeftBottomRightGeoBounds": { - "type": "object", - "properties": { - "top_left": { - "$ref": "#/components/schemas/_types:GeoLocation" - }, - "bottom_right": { - "$ref": "#/components/schemas/_types:GeoLocation" - } - }, - "required": [ - "top_left", - "bottom_right" - ] - }, - "_types:GeoLocation": { - "description": "A latitude/longitude as a 2 dimensional point. It can be represented in various ways:\n- as a `{lat, long}` object\n- as a geo hash value\n- as a `[lon, lat]` array\n- as a string in `\", \"` or WKT point formats", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:LatLonGeoLocation" - }, - { - "$ref": "#/components/schemas/_types:GeoHashLocation" - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "string" - } - ] - }, - "_types:LatLonGeoLocation": { - "type": "object", - "properties": { - "lat": { - "description": "Latitude", - "type": "number" - }, - "lon": { - "description": "Longitude", - "type": "number" - } - }, - "required": [ - "lat", - "lon" - ] - }, - "_types:GeoHashLocation": { - "type": "object", - "properties": { - "geohash": { - "$ref": "#/components/schemas/_types:GeoHash" - } - }, - "required": [ - "geohash" - ] - }, - "_types:GeoHash": { - "type": "string" - }, - "_types:TopRightBottomLeftGeoBounds": { - "type": "object", - "properties": { - "top_right": { - "$ref": "#/components/schemas/_types:GeoLocation" - }, - "bottom_left": { - "$ref": "#/components/schemas/_types:GeoLocation" - } - }, - "required": [ - "top_right", - "bottom_left" - ] - }, - "_types:WktGeoBounds": { - "type": "object", - "properties": { - "wkt": { - "type": "string" - } - }, - "required": [ - "wkt" - ] - }, - "_types.aggregations:GeoCentroidAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "location": { - "$ref": "#/components/schemas/_types:GeoLocation" - } - }, - "required": [ - "count" - ] - } - ] - }, - "_types.aggregations:HistogramAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseHistogramBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseHistogramBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsHistogramBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsHistogramBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:HistogramBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:HistogramBucket" - } - } - ] - }, - "_types.aggregations:HistogramBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key_as_string": { - "type": "string" - }, - "key": { - "type": "number" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types.aggregations:MultiBucketBase": { - "type": "object", - "properties": { - "doc_count": { - "type": "number" - } - }, - "required": [ - "doc_count" - ] - }, - "_types.aggregations:DateHistogramAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseDateHistogramBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseDateHistogramBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsDateHistogramBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsDateHistogramBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:DateHistogramBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:DateHistogramBucket" - } - } - ] - }, - "_types.aggregations:DateHistogramBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key_as_string": { - "type": "string" - }, - "key": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types:EpochTimeUnitMillis": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:UnitMillis" - } - ] - }, - "_types:UnitMillis": { - "description": "Time unit for milliseconds", - "type": "number" - }, - "_types.aggregations:AutoDateHistogramAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseDateHistogramBucket" - }, - { - "type": "object", - "properties": { - "interval": { - "$ref": "#/components/schemas/_types:DurationLarge" - } - }, - "required": [ - "interval" - ] - } - ] - }, - "_types:DurationLarge": { - "description": "A date histogram interval. Similar to `Duration` with additional units: `w` (week), `M` (month), `q` (quarter) and\n`y` (year)", - "type": "string" - }, - "_types.aggregations:VariableWidthHistogramAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseVariableWidthHistogramBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseVariableWidthHistogramBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsVariableWidthHistogramBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsVariableWidthHistogramBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:VariableWidthHistogramBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:VariableWidthHistogramBucket" - } - } - ] - }, - "_types.aggregations:VariableWidthHistogramBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "min": { - "type": "number" - }, - "key": { - "type": "number" - }, - "max": { - "type": "number" - }, - "min_as_string": { - "type": "string" - }, - "key_as_string": { - "type": "string" - }, - "max_as_string": { - "type": "string" - } - }, - "required": [ - "min", - "key", - "max" - ] - } - ] - }, - "_types.aggregations:StringTermsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseStringTermsBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:TermsAggregateBaseStringTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseStringTermsBucket" - }, - { - "type": "object", - "properties": { - "doc_count_error_upper_bound": { - "type": "number" - }, - "sum_other_doc_count": { - "type": "number" - } - } - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseStringTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsStringTermsBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsStringTermsBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:StringTermsBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:StringTermsBucket" - } - } - ] - }, - "_types.aggregations:StringTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:TermsBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "$ref": "#/components/schemas/_types:FieldValue" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types:FieldValue": { - "description": "A field value.", - "oneOf": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "nullable": true, - "type": "string" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:TermsBucketBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "doc_count_error": { - "type": "number" - } - } - } - ] - }, - "_types.aggregations:LongTermsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseLongTermsBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:TermsAggregateBaseLongTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseLongTermsBucket" - }, - { - "type": "object", - "properties": { - "doc_count_error_upper_bound": { - "type": "number" - }, - "sum_other_doc_count": { - "type": "number" - } - } - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseLongTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsLongTermsBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsLongTermsBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:LongTermsBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:LongTermsBucket" - } - } - ] - }, - "_types.aggregations:LongTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:TermsBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "type": "number" - }, - "key_as_string": { - "type": "string" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types.aggregations:DoubleTermsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseDoubleTermsBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:TermsAggregateBaseDoubleTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseDoubleTermsBucket" - }, - { - "type": "object", - "properties": { - "doc_count_error_upper_bound": { - "type": "number" - }, - "sum_other_doc_count": { - "type": "number" - } - } - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseDoubleTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsDoubleTermsBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsDoubleTermsBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:DoubleTermsBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:DoubleTermsBucket" - } - } - ] - }, - "_types.aggregations:DoubleTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:TermsBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "type": "number" - }, - "key_as_string": { - "type": "string" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types.aggregations:UnmappedTermsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseVoid" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:TermsAggregateBaseVoid": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseVoid" - }, - { - "type": "object", - "properties": { - "doc_count_error_upper_bound": { - "type": "number" - }, - "sum_other_doc_count": { - "type": "number" - } - } - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseVoid": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsVoid" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsVoid": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_spec_utils:Void" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_spec_utils:Void" - } - } - ] - }, - "_spec_utils:Void": { - "description": "The absence of any type. This is commonly used in APIs that don't return a body.\n\nAlthough \"void\" is generally used for the unit type that has only one value, this is to be interpreted as\nthe bottom type that has no value at all. Most languages have a unit type, but few have a bottom type.\n\nSee https://en.m.wikipedia.org/wiki/Unit_type and https://en.m.wikipedia.org/wiki/Bottom_type", - "type": "object" - }, - "_types.aggregations:LongRareTermsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseLongRareTermsBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseLongRareTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsLongRareTermsBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsLongRareTermsBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:LongRareTermsBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:LongRareTermsBucket" - } - } - ] - }, - "_types.aggregations:LongRareTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "type": "number" - }, - "key_as_string": { - "type": "string" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types.aggregations:StringRareTermsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseStringRareTermsBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseStringRareTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsStringRareTermsBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsStringRareTermsBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:StringRareTermsBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:StringRareTermsBucket" - } - } - ] - }, - "_types.aggregations:StringRareTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "type": "string" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types.aggregations:UnmappedRareTermsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseVoid" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiTermsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:TermsAggregateBaseMultiTermsBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:TermsAggregateBaseMultiTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseMultiTermsBucket" - }, - { - "type": "object", - "properties": { - "doc_count_error_upper_bound": { - "type": "number" - }, - "sum_other_doc_count": { - "type": "number" - } - } - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseMultiTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsMultiTermsBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsMultiTermsBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:MultiTermsBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:MultiTermsBucket" - } - } - ] - }, - "_types.aggregations:MultiTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:FieldValue" - } - }, - "key_as_string": { - "type": "string" - }, - "doc_count_error_upper_bound": { - "type": "number" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types.aggregations:MissingAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:SingleBucketAggregateBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "doc_count": { - "type": "number" - } - }, - "required": [ - "doc_count" - ] - } - ] - }, - "_types.aggregations:NestedAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:ReverseNestedAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:GlobalAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:FilterAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:ChildrenAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:ParentAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:SamplerAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:UnmappedSamplerAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SingleBucketAggregateBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:GeoHashGridAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseGeoHashGridBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseGeoHashGridBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsGeoHashGridBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsGeoHashGridBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:GeoHashGridBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:GeoHashGridBucket" - } - } - ] - }, - "_types.aggregations:GeoHashGridBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "$ref": "#/components/schemas/_types:GeoHash" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types.aggregations:GeoTileGridAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseGeoTileGridBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseGeoTileGridBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsGeoTileGridBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsGeoTileGridBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:GeoTileGridBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:GeoTileGridBucket" - } - } - ] - }, - "_types.aggregations:GeoTileGridBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "$ref": "#/components/schemas/_types:GeoTile" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types:GeoTile": { - "description": "A map tile reference, represented as `{zoom}/{x}/{y}`", - "type": "string" - }, - "_types.aggregations:GeoHexGridAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseGeoHexGridBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseGeoHexGridBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsGeoHexGridBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsGeoHexGridBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:GeoHexGridBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:GeoHexGridBucket" - } - } - ] - }, - "_types.aggregations:GeoHexGridBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "$ref": "#/components/schemas/_types:GeoHexCell" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types:GeoHexCell": { - "description": "A map hex cell (H3) reference", - "type": "string" - }, - "_types.aggregations:RangeAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseRangeBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseRangeBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsRangeBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsRangeBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:RangeBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:RangeBucket" - } - } - ] - }, - "_types.aggregations:RangeBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "from": { - "type": "number" - }, - "to": { - "type": "number" - }, - "from_as_string": { - "type": "string" - }, - "to_as_string": { - "type": "string" - }, - "key": { - "description": "The bucket key. Present if the aggregation is _not_ keyed", - "type": "string" - } - } - } - ] - }, - "_types.aggregations:DateRangeAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:RangeAggregate" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:GeoDistanceAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:RangeAggregate" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:IpRangeAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseIpRangeBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseIpRangeBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsIpRangeBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsIpRangeBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:IpRangeBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:IpRangeBucket" - } - } - ] - }, - "_types.aggregations:IpRangeBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "from": { - "type": "string" - }, - "to": { - "type": "string" - } - } - } - ] - }, - "_types.aggregations:IpPrefixAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseIpPrefixBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseIpPrefixBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsIpPrefixBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsIpPrefixBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:IpPrefixBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:IpPrefixBucket" - } - } - ] - }, - "_types.aggregations:IpPrefixBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "is_ipv6": { - "type": "boolean" - }, - "key": { - "type": "string" - }, - "prefix_length": { - "type": "number" - }, - "netmask": { - "type": "string" - } - }, - "required": [ - "is_ipv6", - "key", - "prefix_length" - ] - } - ] - }, - "_types.aggregations:FiltersAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseFiltersBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseFiltersBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsFiltersBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsFiltersBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:FiltersBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:FiltersBucket" - } - } - ] - }, - "_types.aggregations:FiltersBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:AdjacencyMatrixAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseAdjacencyMatrixBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseAdjacencyMatrixBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsAdjacencyMatrixBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsAdjacencyMatrixBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AdjacencyMatrixBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:AdjacencyMatrixBucket" - } - } - ] - }, - "_types.aggregations:AdjacencyMatrixBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "type": "string" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types.aggregations:SignificantLongTermsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SignificantTermsAggregateBaseSignificantLongTermsBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:SignificantTermsAggregateBaseSignificantLongTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseSignificantLongTermsBucket" - }, - { - "type": "object", - "properties": { - "bg_count": { - "type": "number" - }, - "doc_count": { - "type": "number" - } - } - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseSignificantLongTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsSignificantLongTermsBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsSignificantLongTermsBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:SignificantLongTermsBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:SignificantLongTermsBucket" - } - } - ] - }, - "_types.aggregations:SignificantLongTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SignificantTermsBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "type": "number" - }, - "key_as_string": { - "type": "string" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types.aggregations:SignificantTermsBucketBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "bg_count": { - "type": "number" - } - }, - "required": [ - "score", - "bg_count" - ] - } - ] - }, - "_types.aggregations:SignificantStringTermsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SignificantTermsAggregateBaseSignificantStringTermsBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:SignificantTermsAggregateBaseSignificantStringTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseSignificantStringTermsBucket" - }, - { - "type": "object", - "properties": { - "bg_count": { - "type": "number" - }, - "doc_count": { - "type": "number" - } - } - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseSignificantStringTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsSignificantStringTermsBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsSignificantStringTermsBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:SignificantStringTermsBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:SignificantStringTermsBucket" - } - } - ] - }, - "_types.aggregations:SignificantStringTermsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SignificantTermsBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "type": "string" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types.aggregations:UnmappedSignificantTermsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:SignificantTermsAggregateBaseVoid" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:SignificantTermsAggregateBaseVoid": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseVoid" - }, - { - "type": "object", - "properties": { - "bg_count": { - "type": "number" - }, - "doc_count": { - "type": "number" - } - } - } - ] - }, - "_types.aggregations:CompositeAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseCompositeBucket" - }, - { - "type": "object", - "properties": { - "after_key": { - "$ref": "#/components/schemas/_types.aggregations:CompositeAggregateKey" - } - } - } - ] - }, - "_types.aggregations:CompositeAggregateKey": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:FieldValue" - } - }, - "_types.aggregations:MultiBucketAggregateBaseCompositeBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsCompositeBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsCompositeBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:CompositeBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:CompositeBucket" - } - } - ] - }, - "_types.aggregations:CompositeBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "$ref": "#/components/schemas/_types.aggregations:CompositeAggregateKey" - } - }, - "required": [ - "key" - ] - } - ] - }, - "_types.aggregations:FrequentItemSetsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketAggregateBaseFrequentItemSetsBucket" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MultiBucketAggregateBaseFrequentItemSetsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "$ref": "#/components/schemas/_types.aggregations:BucketsFrequentItemSetsBucket" - } - }, - "required": [ - "buckets" - ] - } - ] - }, - "_types.aggregations:BucketsFrequentItemSetsBucket": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsBucket" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsBucket" - } - } - ] - }, - "_types.aggregations:FrequentItemSetsBucket": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MultiBucketBase" - }, - { - "type": "object", - "properties": { - "key": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "support": { - "type": "number" - } - }, - "required": [ - "key", - "support" - ] - } - ] - }, - "_types.aggregations:ScriptedMetricAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "value": { - "type": "object" - } - }, - "required": [ - "value" - ] - } - ] - }, - "_types.aggregations:TopHitsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "hits": { - "$ref": "#/components/schemas/_global.search._types:HitsMetadata" - } - }, - "required": [ - "hits" - ] - } - ] - }, - "_global.search._types:HitsMetadata": { - "type": "object", - "properties": { - "total": { - "description": "Total hit count information, present only if `track_total_hits` wasn't `false` in the search request.", - "oneOf": [ - { - "$ref": "#/components/schemas/_global.search._types:TotalHits" - }, - { - "type": "number" - } - ] - }, - "hits": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:Hit" - } - }, - "max_score": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - } - }, - "required": [ - "hits" - ] - }, - "_global.search._types:TotalHits": { - "type": "object", - "properties": { - "relation": { - "$ref": "#/components/schemas/_global.search._types:TotalHitsRelation" - }, - "value": { - "type": "number" - } - }, - "required": [ - "relation", - "value" - ] - }, - "_global.search._types:TotalHitsRelation": { - "type": "string", - "enum": [ - "eq", - "gte" - ] - }, - "_global.search._types:Hit": { - "type": "object", - "properties": { - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_score": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "_explanation": { - "$ref": "#/components/schemas/_global.explain:Explanation" - }, - "fields": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "highlight": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "inner_hits": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_global.search._types:InnerHitsResult" - } - }, - "matched_queries": { - "type": "array", - "items": { - "type": "string" - } - }, - "_nested": { - "$ref": "#/components/schemas/_global.search._types:NestedIdentity" - }, - "_ignored": { - "type": "array", - "items": { - "type": "string" - } - }, - "ignored_field_values": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "_shard": { - "type": "string" - }, - "_node": { - "type": "string" - }, - "_routing": { - "type": "string" - }, - "_source": { - "type": "object" - }, - "_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "_primary_term": { - "type": "number" - }, - "_version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "sort": { - "$ref": "#/components/schemas/_types:SortResults" - } - }, - "required": [ - "_index", - "_id" - ] - }, - "_types:IndexName": { - "type": "string" - }, - "_global.explain:Explanation": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "details": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.explain:ExplanationDetail" - } - }, - "value": { - "type": "number" - } - }, - "required": [ - "description", - "details", - "value" - ] - }, - "_global.explain:ExplanationDetail": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "details": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.explain:ExplanationDetail" - } - }, - "value": { - "type": "number" - } - }, - "required": [ - "description", - "value" - ] - }, - "_global.search._types:InnerHitsResult": { - "type": "object", - "properties": { - "hits": { - "$ref": "#/components/schemas/_global.search._types:HitsMetadata" - } - }, - "required": [ - "hits" - ] - }, - "_global.search._types:NestedIdentity": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "offset": { - "type": "number" - }, - "_nested": { - "$ref": "#/components/schemas/_global.search._types:NestedIdentity" - } - }, - "required": [ - "field", - "offset" - ] - }, - "_types:Field": { - "description": "Path to field or array of paths. Some API's support wildcards in the path to select multiple fields.", - "type": "string" - }, - "_types:SequenceNumber": { - "type": "number" - }, - "_types:VersionNumber": { - "type": "number" - }, - "_types:SortResults": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:FieldValue" - } - }, - "_types.aggregations:InferenceAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/_types:FieldValue" - }, - "feature_importance": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:InferenceFeatureImportance" - } - }, - "top_classes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:InferenceTopClassEntry" - } - }, - "warning": { - "type": "string" - } - } - } - ] - }, - "_types.aggregations:InferenceFeatureImportance": { - "type": "object", - "properties": { - "feature_name": { - "type": "string" - }, - "importance": { - "type": "number" - }, - "classes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:InferenceClassImportance" - } - } - }, - "required": [ - "feature_name" - ] - }, - "_types.aggregations:InferenceClassImportance": { - "type": "object", - "properties": { - "class_name": { - "type": "string" - }, - "importance": { - "type": "number" - } - }, - "required": [ - "class_name", - "importance" - ] - }, - "_types.aggregations:InferenceTopClassEntry": { - "type": "object", - "properties": { - "class_name": { - "$ref": "#/components/schemas/_types:FieldValue" - }, - "class_probability": { - "type": "number" - }, - "class_score": { - "type": "number" - } - }, - "required": [ - "class_name", - "class_probability", - "class_score" - ] - }, - "_types.aggregations:StringStatsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "min_length": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "max_length": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "avg_length": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "entropy": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "distribution": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "number" - } - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "min_length_as_string": { - "type": "string" - }, - "max_length_as_string": { - "type": "string" - }, - "avg_length_as_string": { - "type": "string" - } - }, - "required": [ - "count", - "min_length", - "max_length", - "avg_length", - "entropy" - ] - } - ] - }, - "_types.aggregations:BoxPlotAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "min": { - "type": "number" - }, - "max": { - "type": "number" - }, - "q1": { - "type": "number" - }, - "q2": { - "type": "number" - }, - "q3": { - "type": "number" - }, - "lower": { - "type": "number" - }, - "upper": { - "type": "number" - }, - "min_as_string": { - "type": "string" - }, - "max_as_string": { - "type": "string" - }, - "q1_as_string": { - "type": "string" - }, - "q2_as_string": { - "type": "string" - }, - "q3_as_string": { - "type": "string" - }, - "lower_as_string": { - "type": "string" - }, - "upper_as_string": { - "type": "string" - } - }, - "required": [ - "min", - "max", - "q1", - "q2", - "q3", - "lower", - "upper" - ] - } - ] - }, - "_types.aggregations:TopMetricsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "top": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:TopMetrics" - } - } - }, - "required": [ - "top" - ] - } - ] - }, - "_types.aggregations:TopMetrics": { - "type": "object", - "properties": { - "sort": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:FieldValue" - }, - { - "nullable": true, - "type": "string" - } - ] - } - }, - "metrics": { - "type": "object", - "additionalProperties": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:FieldValue" - }, - { - "nullable": true, - "type": "string" - } - ] - } - } - }, - "required": [ - "sort", - "metrics" - ] - }, - "_types.aggregations:TTestAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "value_as_string": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - ] - }, - "_types.aggregations:RateAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "value_as_string": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - ] - }, - "_types.aggregations:CumulativeCardinalityAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "value_as_string": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - ] - }, - "_types.aggregations:MatrixStatsAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "doc_count": { - "type": "number" - }, - "fields": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:MatrixStatsFields" - } - } - }, - "required": [ - "doc_count" - ] - } - ] - }, - "_types.aggregations:MatrixStatsFields": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Field" - }, - "count": { - "type": "number" - }, - "mean": { - "type": "number" - }, - "variance": { - "type": "number" - }, - "skewness": { - "type": "number" - }, - "kurtosis": { - "type": "number" - }, - "covariance": { - "type": "object", - "additionalProperties": { - "type": "number" - } - }, - "correlation": { - "type": "object", - "additionalProperties": { - "type": "number" - } - } - }, - "required": [ - "name", - "count", - "mean", - "variance", - "skewness", - "kurtosis", - "covariance", - "correlation" - ] - }, - "_types.aggregations:GeoLineAggregate": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:AggregateBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "geometry": { - "$ref": "#/components/schemas/_types:GeoLine" - }, - "properties": { - "type": "object" - } - }, - "required": [ - "type", - "geometry", - "properties" - ] - } - ] - }, - "_types:GeoLine": { - "type": "object", - "properties": { - "type": { - "description": "Always `\"LineString\"`", - "type": "string" - }, - "coordinates": { - "description": "Array of `[lon, lat]` coordinates", - "type": "array", - "items": { - "type": "array", - "items": { - "type": "number" - } - } - } - }, - "required": [ - "type", - "coordinates" - ] - }, - "_types:ClusterStatistics": { - "type": "object", - "properties": { - "skipped": { - "type": "number" - }, - "successful": { - "type": "number" - }, - "total": { - "type": "number" - }, - "details": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ClusterDetails" - } - } - }, - "required": [ - "skipped", - "successful", - "total" - ] - }, - "_types:ClusterDetails": { - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/_types:ClusterSearchStatus" - }, - "indices": { - "type": "string" - }, - "took": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "timed_out": { - "type": "boolean" - }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "failures": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ShardFailure" - } - } - }, - "required": [ - "status", - "indices", - "timed_out" - ] - }, - "_types:ClusterSearchStatus": { - "type": "string", - "enum": [ - "running", - "successful", - "partial", - "skipped", - "failed" - ] - }, - "_types:DurationValueUnitMillis": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:UnitMillis" - } - ] - }, - "_types:ShardStatistics": { - "type": "object", - "properties": { - "failed": { - "$ref": "#/components/schemas/_types:uint" - }, - "successful": { - "$ref": "#/components/schemas/_types:uint" - }, - "total": { - "$ref": "#/components/schemas/_types:uint" - }, - "failures": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ShardFailure" - } - }, - "skipped": { - "$ref": "#/components/schemas/_types:uint" - } - }, - "required": [ - "failed", - "successful", - "total" - ] - }, - "_types:uint": { - "type": "number" - }, - "_types:ShardFailure": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "node": { - "type": "string" - }, - "reason": { - "$ref": "#/components/schemas/_types:ErrorCause" - }, - "shard": { - "type": "number" - }, - "status": { - "type": "string" - } - }, - "required": [ - "reason", - "shard" - ] - }, - "_types:ErrorCause": { - "type": "object", - "properties": { - "type": { - "description": "The type of error", - "type": "string" - }, - "reason": { - "description": "A human-readable explanation of the error, in english", - "type": "string" - }, - "stack_trace": { - "description": "The server stack trace. Present only if the `error_trace=true` parameter was sent with the request.", - "type": "string" - }, - "caused_by": { - "$ref": "#/components/schemas/_types:ErrorCause" - }, - "root_cause": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ErrorCause" - } - }, - "suppressed": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ErrorCause" - } - } - }, - "required": [ - "type" - ] - }, - "_global.search._types:Profile": { - "type": "object", - "properties": { - "shards": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:ShardProfile" - } - } - }, - "required": [ - "shards" - ] - }, - "_global.search._types:ShardProfile": { - "type": "object", - "properties": { - "aggregations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:AggregationProfile" - } - }, - "id": { - "type": "string" - }, - "searches": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:SearchProfile" - } - }, - "fetch": { - "$ref": "#/components/schemas/_global.search._types:FetchProfile" - } - }, - "required": [ - "aggregations", - "id", - "searches" - ] - }, - "_global.search._types:AggregationProfile": { - "type": "object", - "properties": { - "breakdown": { - "$ref": "#/components/schemas/_global.search._types:AggregationBreakdown" - }, - "description": { - "type": "string" - }, - "time_in_nanos": { - "$ref": "#/components/schemas/_types:DurationValueUnitNanos" - }, - "type": { - "type": "string" - }, - "debug": { - "$ref": "#/components/schemas/_global.search._types:AggregationProfileDebug" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:AggregationProfile" - } - } - }, - "required": [ - "breakdown", - "description", - "time_in_nanos", - "type" - ] - }, - "_global.search._types:AggregationBreakdown": { - "type": "object", - "properties": { - "build_aggregation": { - "type": "number" - }, - "build_aggregation_count": { - "type": "number" - }, - "build_leaf_collector": { - "type": "number" - }, - "build_leaf_collector_count": { - "type": "number" - }, - "collect": { - "type": "number" - }, - "collect_count": { - "type": "number" - }, - "initialize": { - "type": "number" - }, - "initialize_count": { - "type": "number" - }, - "post_collection": { - "type": "number" - }, - "post_collection_count": { - "type": "number" - }, - "reduce": { - "type": "number" - }, - "reduce_count": { - "type": "number" - } - }, - "required": [ - "build_aggregation", - "build_aggregation_count", - "build_leaf_collector", - "build_leaf_collector_count", - "collect", - "collect_count", - "initialize", - "initialize_count", - "reduce", - "reduce_count" - ] - }, - "_types:DurationValueUnitNanos": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:UnitNanos" - } - ] - }, - "_types:UnitNanos": { - "description": "Time unit for nanoseconds", - "type": "number" - }, - "_global.search._types:AggregationProfileDebug": { - "type": "object", - "properties": { - "segments_with_multi_valued_ords": { - "type": "number" - }, - "collection_strategy": { - "type": "string" - }, - "segments_with_single_valued_ords": { - "type": "number" - }, - "total_buckets": { - "type": "number" - }, - "built_buckets": { - "type": "number" - }, - "result_strategy": { - "type": "string" - }, - "has_filter": { - "type": "boolean" - }, - "delegate": { - "type": "string" - }, - "delegate_debug": { - "$ref": "#/components/schemas/_global.search._types:AggregationProfileDebug" - }, - "chars_fetched": { - "type": "number" - }, - "extract_count": { - "type": "number" - }, - "extract_ns": { - "type": "number" - }, - "values_fetched": { - "type": "number" - }, - "collect_analyzed_ns": { - "type": "number" - }, - "collect_analyzed_count": { - "type": "number" - }, - "surviving_buckets": { - "type": "number" - }, - "ordinals_collectors_used": { - "type": "number" - }, - "ordinals_collectors_overhead_too_high": { - "type": "number" - }, - "string_hashing_collectors_used": { - "type": "number" - }, - "numeric_collectors_used": { - "type": "number" - }, - "empty_collectors_used": { - "type": "number" - }, - "deferred_aggregators": { - "type": "array", - "items": { - "type": "string" - } - }, - "segments_with_doc_count_field": { - "type": "number" - }, - "segments_with_deleted_docs": { - "type": "number" - }, - "filters": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:AggregationProfileDelegateDebugFilter" - } - }, - "segments_counted": { - "type": "number" - }, - "segments_collected": { - "type": "number" - }, - "map_reducer": { - "type": "string" - } - } - }, - "_global.search._types:AggregationProfileDelegateDebugFilter": { - "type": "object", - "properties": { - "results_from_metadata": { - "type": "number" - }, - "query": { - "type": "string" - }, - "specialized_for": { - "type": "string" - }, - "segments_counted_in_constant_time": { - "type": "number" - } - } - }, - "_global.search._types:SearchProfile": { - "type": "object", - "properties": { - "collector": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:Collector" - } - }, - "query": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:QueryProfile" - } - }, - "rewrite_time": { - "type": "number" - } - }, - "required": [ - "collector", - "query", - "rewrite_time" - ] - }, - "_global.search._types:Collector": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "reason": { - "type": "string" - }, - "time_in_nanos": { - "$ref": "#/components/schemas/_types:DurationValueUnitNanos" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:Collector" - } - } - }, - "required": [ - "name", - "reason", - "time_in_nanos" - ] - }, - "_global.search._types:QueryProfile": { - "type": "object", - "properties": { - "breakdown": { - "$ref": "#/components/schemas/_global.search._types:QueryBreakdown" - }, - "description": { - "type": "string" - }, - "time_in_nanos": { - "$ref": "#/components/schemas/_types:DurationValueUnitNanos" - }, - "type": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:QueryProfile" - } - } - }, - "required": [ - "breakdown", - "description", - "time_in_nanos", - "type" - ] - }, - "_global.search._types:QueryBreakdown": { - "type": "object", - "properties": { - "advance": { - "type": "number" - }, - "advance_count": { - "type": "number" - }, - "build_scorer": { - "type": "number" - }, - "build_scorer_count": { - "type": "number" - }, - "create_weight": { - "type": "number" - }, - "create_weight_count": { - "type": "number" - }, - "match": { - "type": "number" - }, - "match_count": { - "type": "number" - }, - "shallow_advance": { - "type": "number" - }, - "shallow_advance_count": { - "type": "number" - }, - "next_doc": { - "type": "number" - }, - "next_doc_count": { - "type": "number" - }, - "score": { - "type": "number" - }, - "score_count": { - "type": "number" - }, - "compute_max_score": { - "type": "number" - }, - "compute_max_score_count": { - "type": "number" - }, - "set_min_competitive_score": { - "type": "number" - }, - "set_min_competitive_score_count": { - "type": "number" - } - }, - "required": [ - "advance", - "advance_count", - "build_scorer", - "build_scorer_count", - "create_weight", - "create_weight_count", - "match", - "match_count", - "shallow_advance", - "shallow_advance_count", - "next_doc", - "next_doc_count", - "score", - "score_count", - "compute_max_score", - "compute_max_score_count", - "set_min_competitive_score", - "set_min_competitive_score_count" - ] - }, - "_global.search._types:FetchProfile": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "description": { - "type": "string" - }, - "time_in_nanos": { - "$ref": "#/components/schemas/_types:DurationValueUnitNanos" - }, - "breakdown": { - "$ref": "#/components/schemas/_global.search._types:FetchProfileBreakdown" - }, - "debug": { - "$ref": "#/components/schemas/_global.search._types:FetchProfileDebug" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:FetchProfile" - } - } - }, - "required": [ - "type", - "description", - "time_in_nanos", - "breakdown" - ] - }, - "_global.search._types:FetchProfileBreakdown": { - "type": "object", - "properties": { - "load_source": { - "type": "number" - }, - "load_source_count": { - "type": "number" - }, - "load_stored_fields": { - "type": "number" - }, - "load_stored_fields_count": { - "type": "number" - }, - "next_reader": { - "type": "number" - }, - "next_reader_count": { - "type": "number" - }, - "process_count": { - "type": "number" - }, - "process": { - "type": "number" - } - } - }, - "_global.search._types:FetchProfileDebug": { - "type": "object", - "properties": { - "stored_fields": { - "type": "array", - "items": { - "type": "string" - } - }, - "fast_path": { - "type": "number" - } - } - }, - "_types:ScrollId": { - "type": "string" - }, - "_global.search._types:Suggest": { - "oneOf": [ - { - "$ref": "#/components/schemas/_global.search._types:CompletionSuggest" - }, - { - "$ref": "#/components/schemas/_global.search._types:PhraseSuggest" - }, - { - "$ref": "#/components/schemas/_global.search._types:TermSuggest" - } - ] - }, - "_global.search._types:CompletionSuggest": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.search._types:SuggestBase" - }, - { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/components/schemas/_global.search._types:CompletionSuggestOption" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:CompletionSuggestOption" - } - } - ] - } - }, - "required": [ - "options" - ] - } - ] - }, - "_global.search._types:CompletionSuggestOption": { - "type": "object", - "properties": { - "collate_match": { - "type": "boolean" - }, - "contexts": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:Context" - } - } - }, - "fields": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "_id": { - "type": "string" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "_routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "_score": { - "type": "number" - }, - "_source": { - "type": "object" - }, - "text": { - "type": "string" - }, - "score": { - "type": "number" - } - }, - "required": [ - "text" - ] - }, - "_global.search._types:Context": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-mlt-query.html#_document_input_parameters" - }, - "description": "Text or location that we want similar documents for or a lookup to a document's field for the text.", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/_types:GeoLocation" - } - ] - }, - "_types:Routing": { - "type": "string" - }, - "_global.search._types:SuggestBase": { - "type": "object", - "properties": { - "length": { - "type": "number" - }, - "offset": { - "type": "number" - }, - "text": { - "type": "string" - } - }, - "required": [ - "length", - "offset", - "text" - ] - }, - "_global.search._types:PhraseSuggest": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.search._types:SuggestBase" - }, - { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/components/schemas/_global.search._types:PhraseSuggestOption" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:PhraseSuggestOption" - } - } - ] - } - }, - "required": [ - "options" - ] - } - ] - }, - "_global.search._types:PhraseSuggestOption": { - "type": "object", - "properties": { - "text": { - "type": "string" - }, - "score": { - "type": "number" - }, - "highlighted": { - "type": "string" - }, - "collate_match": { - "type": "boolean" - } - }, - "required": [ - "text", - "score" - ] - }, - "_global.search._types:TermSuggest": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.search._types:SuggestBase" - }, - { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/components/schemas/_global.search._types:TermSuggestOption" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:TermSuggestOption" - } - } - ] - } - }, - "required": [ - "options" - ] - } - ] - }, - "_global.search._types:TermSuggestOption": { - "type": "object", - "properties": { - "text": { - "type": "string" - }, - "score": { - "type": "number" - }, - "freq": { - "type": "number" - }, - "highlighted": { - "type": "string" - }, - "collate_match": { - "type": "boolean" - } - }, - "required": [ - "text", - "score", - "freq" - ] - }, - "async_search._types:AsyncSearchResponseBase": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "is_partial": { - "description": "When the query is no longer running, this property indicates whether the search failed or was successfully completed on all shards.\nWhile the query is running, `is_partial` is always set to `true`.", - "type": "boolean" - }, - "is_running": { - "description": "Indicates whether the search is still running or has completed.\nNOTE: If the search failed after some shards returned their results or the node that is coordinating the async search dies, results may be partial even though `is_running` is `false`.", - "type": "boolean" - }, - "expiration_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "expiration_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "start_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "start_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "completion_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "completion_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - } - }, - "required": [ - "is_partial", - "is_running", - "expiration_time_in_millis", - "start_time_in_millis" - ] - }, - "_types:DateTime": { - "description": "A date and time, either as a string whose format can depend on the context (defaulting to ISO 8601), or a\nnumber of milliseconds since the Epoch. Elasticsearch accepts both as input, but will generally output a string\nrepresentation.", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - } - ] - }, - "async_search.status:StatusResponseBase": { - "allOf": [ - { - "$ref": "#/components/schemas/async_search._types:AsyncSearchResponseBase" - }, - { - "type": "object", - "properties": { - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "_clusters": { - "$ref": "#/components/schemas/_types:ClusterStatistics" - }, - "completion_status": { - "description": "If the async search completed, this field shows the status code of the search.\nFor example, 200 indicates that the async search was successfully completed.\n503 indicates that the async search was completed with an error.", - "type": "number" - } - }, - "required": [ - "_shards" - ] - } - ] - }, - "_types:Indices": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:IndexName" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:IndexName" - } - } - ] - }, - "_types.query_dsl:Operator": { - "type": "string", - "enum": [ - "and", - "or" - ] - }, - "_types:Fields": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Field" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Field" - } - } - ] - }, - "_types:ExpandWildcards": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:ExpandWildcard" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ExpandWildcard" - } - } - ] - }, - "_types:ExpandWildcard": { - "type": "string", - "enum": [ - "all", - "open", - "closed", - "hidden", - "none" - ] - }, - "_types:VersionString": { - "type": "string" - }, - "_types:SearchType": { - "type": "string", - "enum": [ - "query_then_fetch", - "dfs_query_then_fetch" - ] - }, - "_types:SuggestMode": { - "type": "string", - "enum": [ - "missing", - "popular", - "always" - ] - }, - "_global.search._types:TrackHits": { - "description": "Number of hits matching the query to count accurately. If true, the exact\nnumber of hits is returned at the cost of some performance. If false, the\nresponse does not include the total number of hits matching the query.\nDefaults to 10,000 hits.", - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ] - }, - "_global.search._types:SourceConfigParam": { - "description": "Defines how to fetch a source. Fetching can be disabled entirely, or the source can be filtered.\nUsed as a query parameter along with the `_source_includes` and `_source_excludes` parameters.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/_types:Fields" - } - ] - }, - "_types.aggregations:AggregationContainer": { - "allOf": [ - { - "type": "object", - "properties": { - "aggregations": { - "description": "Sub-aggregations for this aggregation.\nOnly applies to bucket aggregations.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "meta": { - "$ref": "#/components/schemas/_types:Metadata" - } - } - }, - { - "type": "object", - "properties": { - "adjacency_matrix": { - "$ref": "#/components/schemas/_types.aggregations:AdjacencyMatrixAggregation" - }, - "auto_date_histogram": { - "$ref": "#/components/schemas/_types.aggregations:AutoDateHistogramAggregation" - }, - "avg": { - "$ref": "#/components/schemas/_types.aggregations:AverageAggregation" - }, - "avg_bucket": { - "$ref": "#/components/schemas/_types.aggregations:AverageBucketAggregation" - }, - "boxplot": { - "$ref": "#/components/schemas/_types.aggregations:BoxplotAggregation" - }, - "bucket_script": { - "$ref": "#/components/schemas/_types.aggregations:BucketScriptAggregation" - }, - "bucket_selector": { - "$ref": "#/components/schemas/_types.aggregations:BucketSelectorAggregation" - }, - "bucket_sort": { - "$ref": "#/components/schemas/_types.aggregations:BucketSortAggregation" - }, - "bucket_count_ks_test": { - "$ref": "#/components/schemas/_types.aggregations:BucketKsAggregation" - }, - "bucket_correlation": { - "$ref": "#/components/schemas/_types.aggregations:BucketCorrelationAggregation" - }, - "cardinality": { - "$ref": "#/components/schemas/_types.aggregations:CardinalityAggregation" - }, - "categorize_text": { - "$ref": "#/components/schemas/_types.aggregations:CategorizeTextAggregation" - }, - "children": { - "$ref": "#/components/schemas/_types.aggregations:ChildrenAggregation" - }, - "composite": { - "$ref": "#/components/schemas/_types.aggregations:CompositeAggregation" - }, - "cumulative_cardinality": { - "$ref": "#/components/schemas/_types.aggregations:CumulativeCardinalityAggregation" - }, - "cumulative_sum": { - "$ref": "#/components/schemas/_types.aggregations:CumulativeSumAggregation" - }, - "date_histogram": { - "$ref": "#/components/schemas/_types.aggregations:DateHistogramAggregation" - }, - "date_range": { - "$ref": "#/components/schemas/_types.aggregations:DateRangeAggregation" - }, - "derivative": { - "$ref": "#/components/schemas/_types.aggregations:DerivativeAggregation" - }, - "diversified_sampler": { - "$ref": "#/components/schemas/_types.aggregations:DiversifiedSamplerAggregation" - }, - "extended_stats": { - "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsAggregation" - }, - "extended_stats_bucket": { - "$ref": "#/components/schemas/_types.aggregations:ExtendedStatsBucketAggregation" - }, - "frequent_item_sets": { - "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsAggregation" - }, - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "filters": { - "$ref": "#/components/schemas/_types.aggregations:FiltersAggregation" - }, - "geo_bounds": { - "$ref": "#/components/schemas/_types.aggregations:GeoBoundsAggregation" - }, - "geo_centroid": { - "$ref": "#/components/schemas/_types.aggregations:GeoCentroidAggregation" - }, - "geo_distance": { - "$ref": "#/components/schemas/_types.aggregations:GeoDistanceAggregation" - }, - "geohash_grid": { - "$ref": "#/components/schemas/_types.aggregations:GeoHashGridAggregation" - }, - "geo_line": { - "$ref": "#/components/schemas/_types.aggregations:GeoLineAggregation" - }, - "geotile_grid": { - "$ref": "#/components/schemas/_types.aggregations:GeoTileGridAggregation" - }, - "geohex_grid": { - "$ref": "#/components/schemas/_types.aggregations:GeohexGridAggregation" - }, - "global": { - "$ref": "#/components/schemas/_types.aggregations:GlobalAggregation" - }, - "histogram": { - "$ref": "#/components/schemas/_types.aggregations:HistogramAggregation" - }, - "ip_range": { - "$ref": "#/components/schemas/_types.aggregations:IpRangeAggregation" - }, - "ip_prefix": { - "$ref": "#/components/schemas/_types.aggregations:IpPrefixAggregation" - }, - "inference": { - "$ref": "#/components/schemas/_types.aggregations:InferenceAggregation" - }, - "line": { - "$ref": "#/components/schemas/_types.aggregations:GeoLineAggregation" - }, - "matrix_stats": { - "$ref": "#/components/schemas/_types.aggregations:MatrixStatsAggregation" - }, - "max": { - "$ref": "#/components/schemas/_types.aggregations:MaxAggregation" - }, - "max_bucket": { - "$ref": "#/components/schemas/_types.aggregations:MaxBucketAggregation" - }, - "median_absolute_deviation": { - "$ref": "#/components/schemas/_types.aggregations:MedianAbsoluteDeviationAggregation" - }, - "min": { - "$ref": "#/components/schemas/_types.aggregations:MinAggregation" - }, - "min_bucket": { - "$ref": "#/components/schemas/_types.aggregations:MinBucketAggregation" - }, - "missing": { - "$ref": "#/components/schemas/_types.aggregations:MissingAggregation" - }, - "moving_avg": { - "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregation" - }, - "moving_percentiles": { - "$ref": "#/components/schemas/_types.aggregations:MovingPercentilesAggregation" - }, - "moving_fn": { - "$ref": "#/components/schemas/_types.aggregations:MovingFunctionAggregation" - }, - "multi_terms": { - "$ref": "#/components/schemas/_types.aggregations:MultiTermsAggregation" - }, - "nested": { - "$ref": "#/components/schemas/_types.aggregations:NestedAggregation" - }, - "normalize": { - "$ref": "#/components/schemas/_types.aggregations:NormalizeAggregation" - }, - "parent": { - "$ref": "#/components/schemas/_types.aggregations:ParentAggregation" - }, - "percentile_ranks": { - "$ref": "#/components/schemas/_types.aggregations:PercentileRanksAggregation" - }, - "percentiles": { - "$ref": "#/components/schemas/_types.aggregations:PercentilesAggregation" - }, - "percentiles_bucket": { - "$ref": "#/components/schemas/_types.aggregations:PercentilesBucketAggregation" - }, - "range": { - "$ref": "#/components/schemas/_types.aggregations:RangeAggregation" - }, - "rare_terms": { - "$ref": "#/components/schemas/_types.aggregations:RareTermsAggregation" - }, - "rate": { - "$ref": "#/components/schemas/_types.aggregations:RateAggregation" - }, - "reverse_nested": { - "$ref": "#/components/schemas/_types.aggregations:ReverseNestedAggregation" - }, - "sampler": { - "$ref": "#/components/schemas/_types.aggregations:SamplerAggregation" - }, - "scripted_metric": { - "$ref": "#/components/schemas/_types.aggregations:ScriptedMetricAggregation" - }, - "serial_diff": { - "$ref": "#/components/schemas/_types.aggregations:SerialDifferencingAggregation" - }, - "significant_terms": { - "$ref": "#/components/schemas/_types.aggregations:SignificantTermsAggregation" - }, - "significant_text": { - "$ref": "#/components/schemas/_types.aggregations:SignificantTextAggregation" - }, - "stats": { - "$ref": "#/components/schemas/_types.aggregations:StatsAggregation" - }, - "stats_bucket": { - "$ref": "#/components/schemas/_types.aggregations:StatsBucketAggregation" - }, - "string_stats": { - "$ref": "#/components/schemas/_types.aggregations:StringStatsAggregation" - }, - "sum": { - "$ref": "#/components/schemas/_types.aggregations:SumAggregation" - }, - "sum_bucket": { - "$ref": "#/components/schemas/_types.aggregations:SumBucketAggregation" - }, - "terms": { - "$ref": "#/components/schemas/_types.aggregations:TermsAggregation" - }, - "top_hits": { - "$ref": "#/components/schemas/_types.aggregations:TopHitsAggregation" - }, - "t_test": { - "$ref": "#/components/schemas/_types.aggregations:TTestAggregation" - }, - "top_metrics": { - "$ref": "#/components/schemas/_types.aggregations:TopMetricsAggregation" - }, - "value_count": { - "$ref": "#/components/schemas/_types.aggregations:ValueCountAggregation" - }, - "weighted_avg": { - "$ref": "#/components/schemas/_types.aggregations:WeightedAverageAggregation" - }, - "variable_width_histogram": { - "$ref": "#/components/schemas/_types.aggregations:VariableWidthHistogramAggregation" - } - }, - "minProperties": 1, - "maxProperties": 1 - } - ] - }, - "_types.aggregations:AdjacencyMatrixAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "filters": { - "description": "Filters used to create buckets.\nAt least one filter is required.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - } - } - } - ] - }, - "_types.query_dsl:QueryContainer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html" - }, - "type": "object", - "properties": { - "bool": { - "$ref": "#/components/schemas/_types.query_dsl:BoolQuery" - }, - "boosting": { - "$ref": "#/components/schemas/_types.query_dsl:BoostingQuery" - }, - "common": { - "deprecated": true, - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:CommonTermsQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "combined_fields": { - "$ref": "#/components/schemas/_types.query_dsl:CombinedFieldsQuery" - }, - "constant_score": { - "$ref": "#/components/schemas/_types.query_dsl:ConstantScoreQuery" - }, - "dis_max": { - "$ref": "#/components/schemas/_types.query_dsl:DisMaxQuery" - }, - "distance_feature": { - "$ref": "#/components/schemas/_types.query_dsl:DistanceFeatureQuery" - }, - "exists": { - "$ref": "#/components/schemas/_types.query_dsl:ExistsQuery" - }, - "function_score": { - "$ref": "#/components/schemas/_types.query_dsl:FunctionScoreQuery" - }, - "fuzzy": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-fuzzy-query.html" - }, - "description": "Returns documents that contain terms similar to the search term, as measured by a Levenshtein edit distance.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:FuzzyQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "geo_bounding_box": { - "$ref": "#/components/schemas/_types.query_dsl:GeoBoundingBoxQuery" - }, - "geo_distance": { - "$ref": "#/components/schemas/_types.query_dsl:GeoDistanceQuery" - }, - "geo_polygon": { - "$ref": "#/components/schemas/_types.query_dsl:GeoPolygonQuery" - }, - "geo_shape": { - "$ref": "#/components/schemas/_types.query_dsl:GeoShapeQuery" - }, - "has_child": { - "$ref": "#/components/schemas/_types.query_dsl:HasChildQuery" - }, - "has_parent": { - "$ref": "#/components/schemas/_types.query_dsl:HasParentQuery" - }, - "ids": { - "$ref": "#/components/schemas/_types.query_dsl:IdsQuery" - }, - "intervals": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-intervals-query.html" - }, - "description": "Returns documents based on the order and proximity of matching terms.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "match": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query.html" - }, - "description": "Returns documents that match a provided text, number, date or boolean value.\nThe provided text is analyzed before matching.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:MatchQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "match_all": { - "$ref": "#/components/schemas/_types.query_dsl:MatchAllQuery" - }, - "match_bool_prefix": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-bool-prefix-query.html" - }, - "description": "Analyzes its input and constructs a `bool` query from the terms.\nEach term except the last is used in a `term` query.\nThe last term is used in a prefix query.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:MatchBoolPrefixQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "match_none": { - "$ref": "#/components/schemas/_types.query_dsl:MatchNoneQuery" - }, - "match_phrase": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query-phrase.html" - }, - "description": "Analyzes the text and creates a phrase query out of the analyzed text.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:MatchPhraseQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "match_phrase_prefix": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query-phrase-prefix.html" - }, - "description": "Returns documents that contain the words of a provided text, in the same order as provided.\nThe last term of the provided text is treated as a prefix, matching any words that begin with that term.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:MatchPhrasePrefixQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "more_like_this": { - "$ref": "#/components/schemas/_types.query_dsl:MoreLikeThisQuery" - }, - "multi_match": { - "$ref": "#/components/schemas/_types.query_dsl:MultiMatchQuery" - }, - "nested": { - "$ref": "#/components/schemas/_types.query_dsl:NestedQuery" - }, - "parent_id": { - "$ref": "#/components/schemas/_types.query_dsl:ParentIdQuery" - }, - "percolate": { - "$ref": "#/components/schemas/_types.query_dsl:PercolateQuery" - }, - "pinned": { - "$ref": "#/components/schemas/_types.query_dsl:PinnedQuery" - }, - "prefix": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-prefix-query.html" - }, - "description": "Returns documents that contain a specific prefix in a provided field.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:PrefixQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "query_string": { - "$ref": "#/components/schemas/_types.query_dsl:QueryStringQuery" - }, - "range": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html" - }, - "description": "Returns documents that contain terms within a provided range.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:RangeQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "rank_feature": { - "$ref": "#/components/schemas/_types.query_dsl:RankFeatureQuery" - }, - "regexp": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-regexp-query.html" - }, - "description": "Returns documents that contain terms matching a regular expression.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:RegexpQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "rule_query": { - "$ref": "#/components/schemas/_types.query_dsl:RuleQuery" - }, - "script": { - "$ref": "#/components/schemas/_types.query_dsl:ScriptQuery" - }, - "script_score": { - "$ref": "#/components/schemas/_types.query_dsl:ScriptScoreQuery" - }, - "shape": { - "$ref": "#/components/schemas/_types.query_dsl:ShapeQuery" - }, - "simple_query_string": { - "$ref": "#/components/schemas/_types.query_dsl:SimpleQueryStringQuery" - }, - "span_containing": { - "$ref": "#/components/schemas/_types.query_dsl:SpanContainingQuery" - }, - "field_masking_span": { - "$ref": "#/components/schemas/_types.query_dsl:SpanFieldMaskingQuery" - }, - "span_first": { - "$ref": "#/components/schemas/_types.query_dsl:SpanFirstQuery" - }, - "span_multi": { - "$ref": "#/components/schemas/_types.query_dsl:SpanMultiTermQuery" - }, - "span_near": { - "$ref": "#/components/schemas/_types.query_dsl:SpanNearQuery" - }, - "span_not": { - "$ref": "#/components/schemas/_types.query_dsl:SpanNotQuery" - }, - "span_or": { - "$ref": "#/components/schemas/_types.query_dsl:SpanOrQuery" - }, - "span_term": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-span-term-query.html" - }, - "description": "Matches spans containing a term.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:SpanTermQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "span_within": { - "$ref": "#/components/schemas/_types.query_dsl:SpanWithinQuery" - }, - "term": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-term-query.html" - }, - "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": "#/components/schemas/_types.query_dsl:TermQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "terms": { - "$ref": "#/components/schemas/_types.query_dsl:TermsQuery" - }, - "terms_set": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-set-query.html" - }, - "description": "Returns documents that contain a minimum number of exact terms in a provided field.\nTo return a document, a required number of terms must exactly match the field values, including whitespace and capitalization.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:TermsSetQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "text_expansion": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-text-expansion-query.html" - }, - "description": "Uses a natural language processing model to convert the query text into a list of token-weight pairs which are then used in a query against a rank features field.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:TextExpansionQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "wildcard": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-wildcard-query.html" - }, - "description": "Returns documents that contain terms matching a wildcard pattern.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:WildcardQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "wrapper": { - "$ref": "#/components/schemas/_types.query_dsl:WrapperQuery" - }, - "type": { - "$ref": "#/components/schemas/_types.query_dsl:TypeQuery" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "_types.query_dsl:BoolQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "filter": { - "description": "The clause (query) must appear in matching documents.\nHowever, unlike `must`, the score of the query will be ignored.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - } - ] - }, - "minimum_should_match": { - "$ref": "#/components/schemas/_types:MinimumShouldMatch" - }, - "must": { - "description": "The clause (query) must appear in matching documents and will contribute to the score.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - } - ] - }, - "must_not": { - "description": "The clause (query) must not appear in the matching documents.\nBecause scoring is ignored, a score of `0` is returned for all documents.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - } - ] - }, - "should": { - "description": "The clause (query) should appear in the matching document.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - } - ] - } - } - } - ] - }, - "_types:MinimumShouldMatch": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-minimum-should-match.html" - }, - "description": "The minimum number of terms that should match as integer, percentage or range", - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "_types.query_dsl:QueryBase": { - "type": "object", - "properties": { - "boost": { - "description": "Floating point number used to decrease or increase the relevance scores of the query.\nBoost values are relative to the default value of 1.0.\nA boost value between 0 and 1.0 decreases the relevance score.\nA value greater than 1.0 increases the relevance score.", - "type": "number" - }, - "_name": { - "type": "string" - } - } - }, - "_types.query_dsl:BoostingQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "negative_boost": { - "description": "Floating point number between 0 and 1.0 used to decrease the relevance scores of documents matching the `negative` query.", - "type": "number" - }, - "negative": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "positive": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - }, - "required": [ - "negative_boost", - "negative", - "positive" - ] - } - ] - }, - "_types.query_dsl:CommonTermsQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "analyzer": { - "type": "string" - }, - "cutoff_frequency": { - "type": "number" - }, - "high_freq_operator": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "low_freq_operator": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "minimum_should_match": { - "$ref": "#/components/schemas/_types:MinimumShouldMatch" - }, - "query": { - "type": "string" - } - }, - "required": [ - "query" - ] - } - ] - }, - "_types.query_dsl:CombinedFieldsQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "fields": { - "description": "List of fields to search. Field wildcard patterns are allowed. Only `text` fields are supported, and they must all have the same search `analyzer`.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "query": { - "description": "Text to search for in the provided `fields`.\nThe `combined_fields` query analyzes the provided text before performing a search.", - "type": "string" - }, - "auto_generate_synonyms_phrase_query": { - "description": "If true, match phrase queries are automatically created for multi-term synonyms.", - "type": "boolean" - }, - "operator": { - "$ref": "#/components/schemas/_types.query_dsl:CombinedFieldsOperator" - }, - "minimum_should_match": { - "$ref": "#/components/schemas/_types:MinimumShouldMatch" - }, - "zero_terms_query": { - "$ref": "#/components/schemas/_types.query_dsl:CombinedFieldsZeroTerms" - } - }, - "required": [ - "fields", - "query" - ] - } - ] - }, - "_types.query_dsl:CombinedFieldsOperator": { - "type": "string", - "enum": [ - "or", - "and" - ] - }, - "_types.query_dsl:CombinedFieldsZeroTerms": { - "type": "string", - "enum": [ - "none", - "all" - ] - }, - "_types.query_dsl:ConstantScoreQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - }, - "required": [ - "filter" - ] - } - ] - }, - "_types.query_dsl:DisMaxQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "queries": { - "description": "One or more query clauses.\nReturned documents must match one or more of these queries.\nIf a document matches multiple queries, Elasticsearch uses the highest relevance score.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - }, - "tie_breaker": { - "description": "Floating point number between 0 and 1.0 used to increase the relevance scores of documents matching multiple query clauses.", - "type": "number" - } - }, - "required": [ - "queries" - ] - } - ] - }, - "_types.query_dsl:DistanceFeatureQuery": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:GeoDistanceFeatureQuery" - }, - { - "$ref": "#/components/schemas/_types.query_dsl:DateDistanceFeatureQuery" - } - ] - }, - "_types.query_dsl:GeoDistanceFeatureQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:DistanceFeatureQueryBaseGeoLocationDistance" - }, - { - "type": "object" - } - ] - }, - "_types.query_dsl:DistanceFeatureQueryBaseGeoLocationDistance": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "origin": { - "$ref": "#/components/schemas/_types:GeoLocation" - }, - "pivot": { - "$ref": "#/components/schemas/_types:Distance" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "origin", - "pivot", - "field" - ] - } - ] - }, - "_types:Distance": { - "type": "string" - }, - "_types.query_dsl:DateDistanceFeatureQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:DistanceFeatureQueryBaseDateMathDuration" - }, - { - "type": "object" - } - ] - }, - "_types.query_dsl:DistanceFeatureQueryBaseDateMathDuration": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "origin": { - "$ref": "#/components/schemas/_types:DateMath" - }, - "pivot": { - "$ref": "#/components/schemas/_types:Duration" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "origin", - "pivot", - "field" - ] - } - ] - }, - "_types:DateMath": { - "type": "string" - }, - "_types.query_dsl:ExistsQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field" - ] - } - ] - }, - "_types.query_dsl:FunctionScoreQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "boost_mode": { - "$ref": "#/components/schemas/_types.query_dsl:FunctionBoostMode" - }, - "functions": { - "description": "One or more functions that compute a new score for each document returned by the query.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:FunctionScoreContainer" - } - }, - "max_boost": { - "description": "Restricts the new score to not exceed the provided limit.", - "type": "number" - }, - "min_score": { - "description": "Excludes documents that do not meet the provided score threshold.", - "type": "number" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "score_mode": { - "$ref": "#/components/schemas/_types.query_dsl:FunctionScoreMode" - } - } - } - ] - }, - "_types.query_dsl:FunctionBoostMode": { - "type": "string", - "enum": [ - "multiply", - "replace", - "sum", - "avg", - "max", - "min" - ] - }, - "_types.query_dsl:FunctionScoreContainer": { - "allOf": [ - { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "weight": { - "type": "number" - } - } - }, - { - "type": "object", - "properties": { - "exp": { - "$ref": "#/components/schemas/_types.query_dsl:DecayFunction" - }, - "gauss": { - "$ref": "#/components/schemas/_types.query_dsl:DecayFunction" - }, - "linear": { - "$ref": "#/components/schemas/_types.query_dsl:DecayFunction" - }, - "field_value_factor": { - "$ref": "#/components/schemas/_types.query_dsl:FieldValueFactorScoreFunction" - }, - "random_score": { - "$ref": "#/components/schemas/_types.query_dsl:RandomScoreFunction" - }, - "script_score": { - "$ref": "#/components/schemas/_types.query_dsl:ScriptScoreFunction" - } - }, - "minProperties": 1, - "maxProperties": 1 - } - ] - }, - "_types.query_dsl:DecayFunction": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:DateDecayFunction" - }, - { - "$ref": "#/components/schemas/_types.query_dsl:NumericDecayFunction" - }, - { - "$ref": "#/components/schemas/_types.query_dsl:GeoDecayFunction" - } - ] - }, - "_types.query_dsl:DateDecayFunction": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:DecayFunctionBase" - }, - { - "type": "object" - } - ] - }, - "_types.query_dsl:DecayFunctionBase": { - "type": "object", - "properties": { - "multi_value_mode": { - "$ref": "#/components/schemas/_types.query_dsl:MultiValueMode" - } - } - }, - "_types.query_dsl:MultiValueMode": { - "type": "string", - "enum": [ - "min", - "max", - "avg", - "sum" - ] - }, - "_types.query_dsl:NumericDecayFunction": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:DecayFunctionBase" - }, - { - "type": "object" - } - ] - }, - "_types.query_dsl:GeoDecayFunction": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:DecayFunctionBase" - }, - { - "type": "object" - } - ] - }, - "_types.query_dsl:FieldValueFactorScoreFunction": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "factor": { - "description": "Optional factor to multiply the field value with.", - "type": "number" - }, - "missing": { - "description": "Value used if the document doesn’t have that field.\nThe modifier and factor are still applied to it as though it were read from the document.", - "type": "number" - }, - "modifier": { - "$ref": "#/components/schemas/_types.query_dsl:FieldValueFactorModifier" - } - }, - "required": [ - "field" - ] - }, - "_types.query_dsl:FieldValueFactorModifier": { - "type": "string", - "enum": [ - "none", - "log", - "log1p", - "log2p", - "ln", - "ln1p", - "ln2p", - "square", - "sqrt", - "reciprocal" - ] - }, - "_types.query_dsl:RandomScoreFunction": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "seed": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - } - } - }, - "_types.query_dsl:ScriptScoreFunction": { - "type": "object", - "properties": { - "script": { - "$ref": "#/components/schemas/_types:Script" - } - }, - "required": [ - "script" - ] - }, - "_types:Script": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:InlineScript" - }, - { - "$ref": "#/components/schemas/_types:StoredScriptId" - } - ] - }, - "_types:InlineScript": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:ScriptBase" - }, - { - "type": "object", - "properties": { - "lang": { - "$ref": "#/components/schemas/_types:ScriptLanguage" - }, - "options": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "source": { - "description": "The script source.", - "type": "string" - } - }, - "required": [ - "source" - ] - } - ] - }, - "_types:ScriptLanguage": { - "type": "string", - "enum": [ - "painless", - "expression", - "mustache", - "java" - ] - }, - "_types:ScriptBase": { - "type": "object", - "properties": { - "params": { - "description": "Specifies any named parameters that are passed into the script as variables.\nUse parameters instead of hard-coded values to decrease compile time.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "_types:StoredScriptId": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:ScriptBase" - }, - { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - } - }, - "required": [ - "id" - ] - } - ] - }, - "_types.query_dsl:FunctionScoreMode": { - "type": "string", - "enum": [ - "multiply", - "sum", - "avg", - "first", - "max", - "min" - ] - }, - "_types.query_dsl:FuzzyQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "max_expansions": { - "description": "Maximum number of variations created.", - "type": "number" - }, - "prefix_length": { - "description": "Number of beginning characters left unchanged when creating expansions.", - "type": "number" - }, - "rewrite": { - "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" - }, - "transpositions": { - "description": "Indicates whether edits include transpositions of two adjacent characters (for example `ab` to `ba`).", - "type": "boolean" - }, - "fuzziness": { - "$ref": "#/components/schemas/_types:Fuzziness" - }, - "value": { - "description": "Term you wish to find in the provided field.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - } - ] - }, - "_types:MultiTermQueryRewrite": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-term-rewrite.html" - }, - "type": "string" - }, - "_types:Fuzziness": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#fuzziness" - }, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "_types.query_dsl:GeoBoundingBoxQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/_types.query_dsl:GeoExecution" - }, - "validation_method": { - "$ref": "#/components/schemas/_types.query_dsl:GeoValidationMethod" - }, - "ignore_unmapped": { - "description": "Set to `true` to ignore an unmapped field and not match any documents for this query.\nSet to `false` to throw an exception if the field is not mapped.", - "type": "boolean" - } - } - } - ] - }, - "_types.query_dsl:GeoExecution": { - "type": "string", - "enum": [ - "memory", - "indexed" - ] - }, - "_types.query_dsl:GeoValidationMethod": { - "type": "string", - "enum": [ - "coerce", - "ignore_malformed", - "strict" - ] - }, - "_types.query_dsl:GeoDistanceQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "distance": { - "$ref": "#/components/schemas/_types:Distance" - }, - "distance_type": { - "$ref": "#/components/schemas/_types:GeoDistanceType" - }, - "validation_method": { - "$ref": "#/components/schemas/_types.query_dsl:GeoValidationMethod" - } - }, - "required": [ - "distance" - ] - } - ] - }, - "_types:GeoDistanceType": { - "type": "string", - "enum": [ - "arc", - "plane" - ] - }, - "_types.query_dsl:GeoPolygonQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "validation_method": { - "$ref": "#/components/schemas/_types.query_dsl:GeoValidationMethod" - }, - "ignore_unmapped": { - "type": "boolean" - } - } - } - ] - }, - "_types.query_dsl:GeoShapeQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "ignore_unmapped": { - "description": "Set to `true` to ignore an unmapped field and not match any documents for this query.\nSet to `false` to throw an exception if the field is not mapped.", - "type": "boolean" - } - } - } - ] - }, - "_types.query_dsl:HasChildQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "ignore_unmapped": { - "description": "Indicates whether to ignore an unmapped `type` and not return any documents instead of an error.", - "type": "boolean" - }, - "inner_hits": { - "$ref": "#/components/schemas/_global.search._types:InnerHits" - }, - "max_children": { - "description": "Maximum number of child documents that match the query allowed for a returned parent document.\nIf the parent document exceeds this limit, it is excluded from the search results.", - "type": "number" - }, - "min_children": { - "description": "Minimum number of child documents that match the query required to match the query for a returned parent document.\nIf the parent document does not meet this limit, it is excluded from the search results.", - "type": "number" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "score_mode": { - "$ref": "#/components/schemas/_types.query_dsl:ChildScoreMode" - }, - "type": { - "$ref": "#/components/schemas/_types:RelationName" - } - }, - "required": [ - "query", - "type" - ] - } - ] - }, - "_global.search._types:InnerHits": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "size": { - "description": "The maximum number of hits to return per `inner_hits`.", - "type": "number" - }, - "from": { - "description": "Inner hit starting document offset.", - "type": "number" - }, - "collapse": { - "$ref": "#/components/schemas/_global.search._types:FieldCollapse" - }, - "docvalue_fields": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" - } - }, - "explain": { - "type": "boolean" - }, - "highlight": { - "$ref": "#/components/schemas/_global.search._types:Highlight" - }, - "ignore_unmapped": { - "type": "boolean" - }, - "script_fields": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ScriptField" - } - }, - "seq_no_primary_term": { - "type": "boolean" - }, - "fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" - }, - "_source": { - "$ref": "#/components/schemas/_global.search._types:SourceConfig" - }, - "stored_field": { - "$ref": "#/components/schemas/_types:Fields" - }, - "track_scores": { - "type": "boolean" - }, - "version": { - "type": "boolean" - } - } - }, - "_types:Name": { - "type": "string" - }, - "_global.search._types:FieldCollapse": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "inner_hits": { - "description": "The number of inner hits and their sort order", - "oneOf": [ - { - "$ref": "#/components/schemas/_global.search._types:InnerHits" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_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": { - "$ref": "#/components/schemas/_global.search._types:FieldCollapse" - } - }, - "required": [ - "field" - ] - }, - "_types.query_dsl:FieldAndFormat": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "format": { - "description": "Format in which the values are returned.", - "type": "string" - }, - "include_unmapped": { - "type": "boolean" - } - }, - "required": [ - "field" - ] - }, - "_global.search._types:Highlight": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.search._types:HighlightBase" - }, - { - "type": "object", - "properties": { - "encoder": { - "$ref": "#/components/schemas/_global.search._types:HighlighterEncoder" - }, - "fields": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_global.search._types:HighlightField" - } - } - }, - "required": [ - "fields" - ] - } - ] - }, - "_global.search._types:HighlighterEncoder": { - "type": "string", - "enum": [ - "default", - "html" - ] - }, - "_global.search._types:HighlightField": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.search._types:HighlightBase" - }, - { - "type": "object", - "properties": { - "fragment_offset": { - "type": "number" - }, - "matched_fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "analyzer": { - "$ref": "#/components/schemas/_types.analysis:Analyzer" - } - } - } - ] - }, - "_types.analysis:Analyzer": { - "discriminator": { - "propertyName": "type" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/_types.analysis:CustomAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:FingerprintAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:KeywordAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:LanguageAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:NoriAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:PatternAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:SimpleAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:StandardAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:StopAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:WhitespaceAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:IcuAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:KuromojiAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:SnowballAnalyzer" - }, - { - "$ref": "#/components/schemas/_types.analysis:DutchAnalyzer" - } - ] - }, - "_types.analysis:CustomAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "custom" - ] - }, - "char_filter": { - "type": "array", - "items": { - "type": "string" - } - }, - "filter": { - "type": "array", - "items": { - "type": "string" - } - }, - "position_increment_gap": { - "type": "number" - }, - "position_offset_gap": { - "type": "number" - }, - "tokenizer": { - "type": "string" - } - }, - "required": [ - "type", - "tokenizer" - ] - }, - "_types.analysis:FingerprintAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "fingerprint" - ] - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "max_output_size": { - "type": "number" - }, - "preserve_original": { - "type": "boolean" - }, - "separator": { - "type": "string" - }, - "stopwords": { - "$ref": "#/components/schemas/_types.analysis:StopWords" - }, - "stopwords_path": { - "type": "string" - } - }, - "required": [ - "type", - "max_output_size", - "preserve_original", - "separator" - ] - }, - "_types.analysis:StopWords": { - "description": "Language value, such as _arabic_ or _thai_. Defaults to _english_.\nEach language value corresponds to a predefined list of stop words in Lucene. See Stop words by language for supported language values and their stop words.\nAlso accepts an array of stop words.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "_types.analysis:KeywordAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "keyword" - ] - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - } - }, - "required": [ - "type" - ] - }, - "_types.analysis:LanguageAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "language" - ] - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "language": { - "$ref": "#/components/schemas/_types.analysis:Language" - }, - "stem_exclusion": { - "type": "array", - "items": { - "type": "string" - } - }, - "stopwords": { - "$ref": "#/components/schemas/_types.analysis:StopWords" - }, - "stopwords_path": { - "type": "string" - } - }, - "required": [ - "type", - "language", - "stem_exclusion" - ] - }, - "_types.analysis:Language": { - "type": "string", - "enum": [ - "Arabic", - "Armenian", - "Basque", - "Brazilian", - "Bulgarian", - "Catalan", - "Chinese", - "Cjk", - "Czech", - "Danish", - "Dutch", - "English", - "Estonian", - "Finnish", - "French", - "Galician", - "German", - "Greek", - "Hindi", - "Hungarian", - "Indonesian", - "Irish", - "Italian", - "Latvian", - "Norwegian", - "Persian", - "Portuguese", - "Romanian", - "Russian", - "Sorani", - "Spanish", - "Swedish", - "Turkish", - "Thai" - ] - }, - "_types.analysis:NoriAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "nori" - ] - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "decompound_mode": { - "$ref": "#/components/schemas/_types.analysis:NoriDecompoundMode" - }, - "stoptags": { - "type": "array", - "items": { - "type": "string" - } - }, - "user_dictionary": { - "type": "string" - } - }, - "required": [ - "type" - ] - }, - "_types.analysis:NoriDecompoundMode": { - "type": "string", - "enum": [ - "discard", - "none", - "mixed" - ] - }, - "_types.analysis:PatternAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "pattern" - ] - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "flags": { - "type": "string" - }, - "lowercase": { - "type": "boolean" - }, - "pattern": { - "type": "string" - }, - "stopwords": { - "$ref": "#/components/schemas/_types.analysis:StopWords" - } - }, - "required": [ - "type", - "pattern" - ] - }, - "_types.analysis:SimpleAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "simple" - ] - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - } - }, - "required": [ - "type" - ] - }, - "_types.analysis:StandardAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "standard" - ] - }, - "max_token_length": { - "type": "number" - }, - "stopwords": { - "$ref": "#/components/schemas/_types.analysis:StopWords" - } - }, - "required": [ - "type" - ] - }, - "_types.analysis:StopAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "stop" - ] - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "stopwords": { - "$ref": "#/components/schemas/_types.analysis:StopWords" - }, - "stopwords_path": { - "type": "string" - } - }, - "required": [ - "type" - ] - }, - "_types.analysis:WhitespaceAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "whitespace" - ] - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - } - }, - "required": [ - "type" - ] - }, - "_types.analysis:IcuAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "icu_analyzer" - ] - }, - "method": { - "$ref": "#/components/schemas/_types.analysis:IcuNormalizationType" - }, - "mode": { - "$ref": "#/components/schemas/_types.analysis:IcuNormalizationMode" - } - }, - "required": [ - "type", - "method", - "mode" - ] - }, - "_types.analysis:IcuNormalizationType": { - "type": "string", - "enum": [ - "nfc", - "nfkc", - "nfkc_cf" - ] - }, - "_types.analysis:IcuNormalizationMode": { - "type": "string", - "enum": [ - "decompose", - "compose" - ] - }, - "_types.analysis:KuromojiAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "kuromoji" - ] - }, - "mode": { - "$ref": "#/components/schemas/_types.analysis:KuromojiTokenizationMode" - }, - "user_dictionary": { - "type": "string" - } - }, - "required": [ - "type", - "mode" - ] - }, - "_types.analysis:KuromojiTokenizationMode": { - "type": "string", - "enum": [ - "normal", - "search", - "extended" - ] - }, - "_types.analysis:SnowballAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "snowball" - ] - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "language": { - "$ref": "#/components/schemas/_types.analysis:SnowballLanguage" - }, - "stopwords": { - "$ref": "#/components/schemas/_types.analysis:StopWords" - } - }, - "required": [ - "type", - "language" - ] - }, - "_types.analysis:SnowballLanguage": { - "type": "string", - "enum": [ - "Armenian", - "Basque", - "Catalan", - "Danish", - "Dutch", - "English", - "Finnish", - "French", - "German", - "German2", - "Hungarian", - "Italian", - "Kp", - "Lovins", - "Norwegian", - "Porter", - "Portuguese", - "Romanian", - "Russian", - "Spanish", - "Swedish", - "Turkish" - ] - }, - "_types.analysis:DutchAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "dutch" - ] - }, - "stopwords": { - "$ref": "#/components/schemas/_types.analysis:StopWords" - } - }, - "required": [ - "type" - ] - }, - "_global.search._types:HighlightBase": { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/_global.search._types:HighlighterType" - }, - "boundary_chars": { - "description": "A string that contains each boundary character.", - "type": "string" - }, - "boundary_max_scan": { - "description": "How far to scan for boundary characters.", - "type": "number" - }, - "boundary_scanner": { - "$ref": "#/components/schemas/_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\"`.", - "type": "string" - }, - "force_source": { - "deprecated": true, - "type": "boolean" - }, - "fragmenter": { - "$ref": "#/components/schemas/_global.search._types:HighlighterFragmenter" - }, - "fragment_size": { - "description": "The size of the highlighted fragment in characters.", - "type": "number" - }, - "highlight_filter": { - "type": "boolean" - }, - "highlight_query": { - "$ref": "#/components/schemas/_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.", - "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.", - "type": "number" - }, - "options": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "order": { - "$ref": "#/components/schemas/_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.", - "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 `` and `` 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 `` and `` 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.", - "type": "boolean" - }, - "tags_schema": { - "$ref": "#/components/schemas/_global.search._types:HighlighterTagsSchema" - } - } - }, - "_global.search._types:HighlighterType": { - "type": "string", - "enum": [ - "plain", - "fvh", - "unified" - ] - }, - "_global.search._types:BoundaryScanner": { - "type": "string", - "enum": [ - "chars", - "sentence", - "word" - ] - }, - "_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" - ] - }, - "_types:ScriptField": { - "type": "object", - "properties": { - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "ignore_failure": { - "type": "boolean" - } - }, - "required": [ - "script" - ] - }, - "_types:Sort": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:SortCombinations" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:SortCombinations" - } - } - ] - }, - "_types:SortCombinations": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Field" - }, - { - "$ref": "#/components/schemas/_types:SortOptions" - } - ] - }, - "_types:SortOptions": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sort-search-results.html" - }, - "type": "object", - "properties": { - "_score": { - "$ref": "#/components/schemas/_types:ScoreSort" - }, - "_doc": { - "$ref": "#/components/schemas/_types:ScoreSort" - }, - "_geo_distance": { - "$ref": "#/components/schemas/_types:GeoDistanceSort" - }, - "_script": { - "$ref": "#/components/schemas/_types:ScriptSort" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "_types:ScoreSort": { - "type": "object", - "properties": { - "order": { - "$ref": "#/components/schemas/_types:SortOrder" - } - } - }, - "_types:SortOrder": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "_types:GeoDistanceSort": { - "type": "object", - "properties": { - "mode": { - "$ref": "#/components/schemas/_types:SortMode" - }, - "distance_type": { - "$ref": "#/components/schemas/_types:GeoDistanceType" - }, - "ignore_unmapped": { - "type": "boolean" - }, - "order": { - "$ref": "#/components/schemas/_types:SortOrder" - }, - "unit": { - "$ref": "#/components/schemas/_types:DistanceUnit" - } - } - }, - "_types:SortMode": { - "type": "string", - "enum": [ - "min", - "max", - "sum", - "avg", - "median" - ] - }, - "_types:DistanceUnit": { - "type": "string", - "enum": [ - "in", - "ft", - "yd", - "mi", - "nmi", - "km", - "m", - "cm", - "mm" - ] - }, - "_types:ScriptSort": { - "type": "object", - "properties": { - "order": { - "$ref": "#/components/schemas/_types:SortOrder" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "type": { - "$ref": "#/components/schemas/_types:ScriptSortType" - }, - "mode": { - "$ref": "#/components/schemas/_types:SortMode" - }, - "nested": { - "$ref": "#/components/schemas/_types:NestedSortValue" - } - }, - "required": [ - "script" - ] - }, - "_types:ScriptSortType": { - "type": "string", - "enum": [ - "string", - "number", - "version" - ] - }, - "_types:NestedSortValue": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "max_children": { - "type": "number" - }, - "nested": { - "$ref": "#/components/schemas/_types:NestedSortValue" - }, - "path": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "path" - ] - }, - "_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": "#/components/schemas/_global.search._types:SourceFilter" - } - ] - }, - "_global.search._types:SourceFilter": { - "type": "object", - "properties": { - "excludes": { - "$ref": "#/components/schemas/_types:Fields" - }, - "includes": { - "$ref": "#/components/schemas/_types:Fields" - } - } - }, - "_types.query_dsl:ChildScoreMode": { - "type": "string", - "enum": [ - "none", - "avg", - "sum", - "max", - "min" - ] - }, - "_types:RelationName": { - "type": "string" - }, - "_types.query_dsl:HasParentQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "ignore_unmapped": { - "description": "Indicates whether to ignore an unmapped `parent_type` and not return any documents instead of an error.\nYou can use this parameter to query multiple indices that may not contain the `parent_type`.", - "type": "boolean" - }, - "inner_hits": { - "$ref": "#/components/schemas/_global.search._types:InnerHits" - }, - "parent_type": { - "$ref": "#/components/schemas/_types:RelationName" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "score": { - "description": "Indicates whether the relevance score of a matching parent document is aggregated into its child documents.", - "type": "boolean" - } - }, - "required": [ - "parent_type", - "query" - ] - } - ] - }, - "_types.query_dsl:IdsQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "values": { - "$ref": "#/components/schemas/_types:Ids" - } - } - } - ] - }, - "_types:Ids": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Id" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Id" - } - } - ] - }, - "_types.query_dsl:IntervalsQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "all_of": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsAllOf" - }, - "any_of": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsAnyOf" - }, - "fuzzy": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsFuzzy" - }, - "match": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsMatch" - }, - "prefix": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsPrefix" - }, - "wildcard": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsWildcard" - } - }, - "minProperties": 1, - "maxProperties": 1 - } - ] - }, - "_types.query_dsl:IntervalsAllOf": { - "type": "object", - "properties": { - "intervals": { - "description": "An array of rules to combine. All rules must produce a match in a document for the overall source to match.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" - } - }, - "max_gaps": { - "description": "Maximum number of positions between the matching terms.\nIntervals produced by the rules further apart than this are not considered matches.", - "type": "number" - }, - "ordered": { - "description": "If `true`, intervals produced by the rules should appear in the order in which they are specified.", - "type": "boolean" - }, - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsFilter" - } - }, - "required": [ - "intervals" - ] - }, - "_types.query_dsl:IntervalsContainer": { - "type": "object", - "properties": { - "all_of": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsAllOf" - }, - "any_of": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsAnyOf" - }, - "fuzzy": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsFuzzy" - }, - "match": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsMatch" - }, - "prefix": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsPrefix" - }, - "wildcard": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsWildcard" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "_types.query_dsl:IntervalsAnyOf": { - "type": "object", - "properties": { - "intervals": { - "description": "An array of rules to match.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" - } - }, - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsFilter" - } - }, - "required": [ - "intervals" - ] - }, - "_types.query_dsl:IntervalsFilter": { - "type": "object", - "properties": { - "after": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" - }, - "before": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" - }, - "contained_by": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" - }, - "containing": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" - }, - "not_contained_by": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" - }, - "not_containing": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" - }, - "not_overlapping": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" - }, - "overlapping": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsContainer" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "_types.query_dsl:IntervalsFuzzy": { - "type": "object", - "properties": { - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" - }, - "description": "Analyzer used to normalize the term.", - "type": "string" - }, - "fuzziness": { - "$ref": "#/components/schemas/_types:Fuzziness" - }, - "prefix_length": { - "description": "Number of beginning characters left unchanged when creating expansions.", - "type": "number" - }, - "term": { - "description": "The term to match.", - "type": "string" - }, - "transpositions": { - "description": "Indicates whether edits include transpositions of two adjacent characters (for example, `ab` to `ba`).", - "type": "boolean" - }, - "use_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "term" - ] - }, - "_types.query_dsl:IntervalsMatch": { - "type": "object", - "properties": { - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" - }, - "description": "Analyzer used to analyze terms in the query.", - "type": "string" - }, - "max_gaps": { - "description": "Maximum number of positions between the matching terms.\nTerms further apart than this are not considered matches.", - "type": "number" - }, - "ordered": { - "description": "If `true`, matching terms must appear in their specified order.", - "type": "boolean" - }, - "query": { - "description": "Text you wish to find in the provided field.", - "type": "string" - }, - "use_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:IntervalsFilter" - } - }, - "required": [ - "query" - ] - }, - "_types.query_dsl:IntervalsPrefix": { - "type": "object", - "properties": { - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" - }, - "description": "Analyzer used to analyze the `prefix`.", - "type": "string" - }, - "prefix": { - "description": "Beginning characters of terms you wish to find in the top-level field.", - "type": "string" - }, - "use_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "prefix" - ] - }, - "_types.query_dsl:IntervalsWildcard": { - "type": "object", - "properties": { - "analyzer": { - "description": "Analyzer used to analyze the `pattern`.\nDefaults to the top-level field's analyzer.", - "type": "string" - }, - "pattern": { - "description": "Wildcard pattern used to find matching terms.", - "type": "string" - }, - "use_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "pattern" - ] - }, - "_types.query_dsl:MatchQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" - }, - "description": "Analyzer used to convert the text in the query value into tokens.", - "type": "string" - }, - "auto_generate_synonyms_phrase_query": { - "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", - "type": "boolean" - }, - "cutoff_frequency": { - "deprecated": true, - "type": "number" - }, - "fuzziness": { - "$ref": "#/components/schemas/_types:Fuzziness" - }, - "fuzzy_rewrite": { - "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" - }, - "fuzzy_transpositions": { - "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).", - "type": "boolean" - }, - "lenient": { - "description": "If `true`, format-based errors, such as providing a text query value for a numeric field, are ignored.", - "type": "boolean" - }, - "max_expansions": { - "description": "Maximum number of terms to which the query will expand.", - "type": "number" - }, - "minimum_should_match": { - "$ref": "#/components/schemas/_types:MinimumShouldMatch" - }, - "operator": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "prefix_length": { - "description": "Number of beginning characters left unchanged for fuzzy matching.", - "type": "number" - }, - "query": { - "description": "Text, number, boolean value or date you wish to find in the provided field.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "zero_terms_query": { - "$ref": "#/components/schemas/_types.query_dsl:ZeroTermsQuery" - } - }, - "required": [ - "query" - ] - } - ] - }, - "_types.query_dsl:ZeroTermsQuery": { - "type": "string", - "enum": [ - "all", - "none" - ] - }, - "_types.query_dsl:MatchAllQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object" - } - ] - }, - "_types.query_dsl:MatchBoolPrefixQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" - }, - "description": "Analyzer used to convert the text in the query value into tokens.", - "type": "string" - }, - "fuzziness": { - "$ref": "#/components/schemas/_types:Fuzziness" - }, - "fuzzy_rewrite": { - "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" - }, - "fuzzy_transpositions": { - "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).\nCan be applied to the term subqueries constructed for all terms but the final term.", - "type": "boolean" - }, - "max_expansions": { - "description": "Maximum number of terms to which the query will expand.\nCan be applied to the term subqueries constructed for all terms but the final term.", - "type": "number" - }, - "minimum_should_match": { - "$ref": "#/components/schemas/_types:MinimumShouldMatch" - }, - "operator": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "prefix_length": { - "description": "Number of beginning characters left unchanged for fuzzy matching.\nCan be applied to the term subqueries constructed for all terms but the final term.", - "type": "number" - }, - "query": { - "description": "Terms you wish to find in the provided field.\nThe last term is used in a prefix query.", - "type": "string" - } - }, - "required": [ - "query" - ] - } - ] - }, - "_types.query_dsl:MatchNoneQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object" - } - ] - }, - "_types.query_dsl:MatchPhraseQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" - }, - "description": "Analyzer used to convert the text in the query value into tokens.", - "type": "string" - }, - "query": { - "description": "Query terms that are analyzed and turned into a phrase query.", - "type": "string" - }, - "slop": { - "description": "Maximum number of positions allowed between matching tokens.", - "type": "number" - }, - "zero_terms_query": { - "$ref": "#/components/schemas/_types.query_dsl:ZeroTermsQuery" - } - }, - "required": [ - "query" - ] - } - ] - }, - "_types.query_dsl:MatchPhrasePrefixQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" - }, - "description": "Analyzer used to convert text in the query value into tokens.", - "type": "string" - }, - "max_expansions": { - "description": "Maximum number of terms to which the last provided term of the query value will expand.", - "type": "number" - }, - "query": { - "description": "Text you wish to find in the provided field.", - "type": "string" - }, - "slop": { - "description": "Maximum number of positions allowed between matching tokens.", - "type": "number" - }, - "zero_terms_query": { - "$ref": "#/components/schemas/_types.query_dsl:ZeroTermsQuery" - } - }, - "required": [ - "query" - ] - } - ] - }, - "_types.query_dsl:MoreLikeThisQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" - }, - "description": "The analyzer that is used to analyze the free form text.\nDefaults to the analyzer associated with the first field in fields.", - "type": "string" - }, - "boost_terms": { - "description": "Each term in the formed query could be further boosted by their tf-idf score.\nThis sets the boost factor to use when using this feature.\nDefaults to deactivated (0).", - "type": "number" - }, - "fail_on_unsupported_field": { - "description": "Controls whether the query should fail (throw an exception) if any of the specified fields are not of the supported types (`text` or `keyword`).", - "type": "boolean" - }, - "fields": { - "description": "A list of fields to fetch and analyze the text from.\nDefaults to the `index.query.default_field` index setting, which has a default value of `*`.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "include": { - "description": "Specifies whether the input documents should also be included in the search results returned.", - "type": "boolean" - }, - "like": { - "description": "Specifies free form text and/or a single or multiple documents for which you want to find similar documents.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:Like" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:Like" - } - } - ] - }, - "max_doc_freq": { - "description": "The maximum document frequency above which the terms are ignored from the input document.", - "type": "number" - }, - "max_query_terms": { - "description": "The maximum number of query terms that can be selected.", - "type": "number" - }, - "max_word_length": { - "description": "The maximum word length above which the terms are ignored.\nDefaults to unbounded (`0`).", - "type": "number" - }, - "min_doc_freq": { - "description": "The minimum document frequency below which the terms are ignored from the input document.", - "type": "number" - }, - "minimum_should_match": { - "$ref": "#/components/schemas/_types:MinimumShouldMatch" - }, - "min_term_freq": { - "description": "The minimum term frequency below which the terms are ignored from the input document.", - "type": "number" - }, - "min_word_length": { - "description": "The minimum word length below which the terms are ignored.", - "type": "number" - }, - "per_field_analyzer": { - "description": "Overrides the default analyzer.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "stop_words": { - "$ref": "#/components/schemas/_types.analysis:StopWords" - }, - "unlike": { - "description": "Used in combination with `like` to exclude documents that match a set of terms.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:Like" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:Like" - } - } - ] - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "version_type": { - "$ref": "#/components/schemas/_types:VersionType" - } - }, - "required": [ - "like" - ] - } - ] - }, - "_types.query_dsl:Like": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-mlt-query.html#_document_input_parameters" - }, - "description": "Text that we want similar documents for or a lookup to a document's field for the text.", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/_types.query_dsl:LikeDocument" - } - ] - }, - "_types.query_dsl:LikeDocument": { - "type": "object", - "properties": { - "doc": { - "description": "A document not present in the index.", - "type": "object" - }, - "fields": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "per_field_analyzer": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "version_type": { - "$ref": "#/components/schemas/_types:VersionType" - } - } - }, - "_types:VersionType": { - "type": "string", - "enum": [ - "internal", - "external", - "external_gte", - "force" - ] - }, - "_types.query_dsl:MultiMatchQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" - }, - "description": "Analyzer used to convert the text in the query value into tokens.", - "type": "string" - }, - "auto_generate_synonyms_phrase_query": { - "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", - "type": "boolean" - }, - "cutoff_frequency": { - "deprecated": true, - "type": "number" - }, - "fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "fuzziness": { - "$ref": "#/components/schemas/_types:Fuzziness" - }, - "fuzzy_rewrite": { - "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" - }, - "fuzzy_transpositions": { - "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).\nCan be applied to the term subqueries constructed for all terms but the final term.", - "type": "boolean" - }, - "lenient": { - "description": "If `true`, format-based errors, such as providing a text query value for a numeric field, are ignored.", - "type": "boolean" - }, - "max_expansions": { - "description": "Maximum number of terms to which the query will expand.", - "type": "number" - }, - "minimum_should_match": { - "$ref": "#/components/schemas/_types:MinimumShouldMatch" - }, - "operator": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "prefix_length": { - "description": "Number of beginning characters left unchanged for fuzzy matching.", - "type": "number" - }, - "query": { - "description": "Text, number, boolean value or date you wish to find in the provided field.", - "type": "string" - }, - "slop": { - "description": "Maximum number of positions allowed between matching tokens.", - "type": "number" - }, - "tie_breaker": { - "description": "Determines how scores for each per-term blended query and scores across groups are combined.", - "type": "number" - }, - "type": { - "$ref": "#/components/schemas/_types.query_dsl:TextQueryType" - }, - "zero_terms_query": { - "$ref": "#/components/schemas/_types.query_dsl:ZeroTermsQuery" - } - }, - "required": [ - "query" - ] - } - ] - }, - "_types.query_dsl:TextQueryType": { - "type": "string", - "enum": [ - "best_fields", - "most_fields", - "cross_fields", - "phrase", - "phrase_prefix", - "bool_prefix" - ] - }, - "_types.query_dsl:NestedQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "ignore_unmapped": { - "description": "Indicates whether to ignore an unmapped path and not return any documents instead of an error.", - "type": "boolean" - }, - "inner_hits": { - "$ref": "#/components/schemas/_global.search._types:InnerHits" - }, - "path": { - "$ref": "#/components/schemas/_types:Field" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "score_mode": { - "$ref": "#/components/schemas/_types.query_dsl:ChildScoreMode" - } - }, - "required": [ - "path", - "query" - ] - } - ] - }, - "_types.query_dsl:ParentIdQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "ignore_unmapped": { - "description": "Indicates whether to ignore an unmapped `type` and not return any documents instead of an error.", - "type": "boolean" - }, - "type": { - "$ref": "#/components/schemas/_types:RelationName" - } - } - } - ] - }, - "_types.query_dsl:PercolateQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "document": { - "description": "The source of the document being percolated.", - "type": "object" - }, - "documents": { - "description": "An array of sources of the documents being percolated.", - "type": "array", - "items": { - "type": "object" - } - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "name": { - "description": "The suffix used for the `_percolator_document_slot` field when multiple `percolate` queries are specified.", - "type": "string" - }, - "preference": { - "description": "Preference used to fetch document to percolate.", - "type": "string" - }, - "routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - } - }, - "required": [ - "field" - ] - } - ] - }, - "_types.query_dsl:PinnedQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "allOf": [ - { - "type": "object", - "properties": { - "organic": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - }, - "required": [ - "organic" - ] - }, - { - "type": "object", - "properties": { - "ids": { - "description": "Document IDs listed in the order they are to appear in results.\nRequired if `docs` is not specified.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Id" - } - }, - "docs": { - "description": "Documents listed in the order they are to appear in results.\nRequired if `ids` is not specified.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:PinnedDoc" - } - } - }, - "minProperties": 1, - "maxProperties": 1 - } - ] - } - ] - }, - "_types.query_dsl:PinnedDoc": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - } - }, - "required": [ - "_id", - "_index" - ] - }, - "_types.query_dsl:PrefixQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "rewrite": { - "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" - }, - "value": { - "description": "Beginning characters of terms you wish to find in the provided field.", - "type": "string" - }, - "case_insensitive": { - "description": "Allows ASCII case insensitive matching of the value with the indexed field values when set to `true`.\nDefault is `false` which means the case sensitivity of matching depends on the underlying field’s mapping.", - "type": "boolean" - } - }, - "required": [ - "value" - ] - } - ] - }, - "_types.query_dsl:QueryStringQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "allow_leading_wildcard": { - "description": "If `true`, the wildcard characters `*` and `?` are allowed as the first character of the query string.", - "type": "boolean" - }, - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" - }, - "description": "Analyzer used to convert text in the query string into tokens.", - "type": "string" - }, - "analyze_wildcard": { - "description": "If `true`, the query attempts to analyze wildcard terms in the query string.", - "type": "boolean" - }, - "auto_generate_synonyms_phrase_query": { - "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", - "type": "boolean" - }, - "default_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "default_operator": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "enable_position_increments": { - "description": "If `true`, enable position increments in queries constructed from a `query_string` search.", - "type": "boolean" - }, - "escape": { - "type": "boolean" - }, - "fields": { - "description": "Array of fields to search. Supports wildcards (`*`).", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "fuzziness": { - "$ref": "#/components/schemas/_types:Fuzziness" - }, - "fuzzy_max_expansions": { - "description": "Maximum number of terms to which the query expands for fuzzy matching.", - "type": "number" - }, - "fuzzy_prefix_length": { - "description": "Number of beginning characters left unchanged for fuzzy matching.", - "type": "number" - }, - "fuzzy_rewrite": { - "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" - }, - "fuzzy_transpositions": { - "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).", - "type": "boolean" - }, - "lenient": { - "description": "If `true`, format-based errors, such as providing a text value for a numeric field, are ignored.", - "type": "boolean" - }, - "max_determinized_states": { - "description": "Maximum number of automaton states required for the query.", - "type": "number" - }, - "minimum_should_match": { - "$ref": "#/components/schemas/_types:MinimumShouldMatch" - }, - "phrase_slop": { - "description": "Maximum number of positions allowed between matching tokens for phrases.", - "type": "number" - }, - "query": { - "description": "Query string you wish to parse and use for search.", - "type": "string" - }, - "quote_analyzer": { - "description": "Analyzer used to convert quoted text in the query string into tokens.\nFor quoted text, this parameter overrides the analyzer specified in the `analyzer` parameter.", - "type": "string" - }, - "quote_field_suffix": { - "description": "Suffix appended to quoted text in the query string.\nYou can use this suffix to use a different analysis method for exact matches.", - "type": "string" - }, - "rewrite": { - "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" - }, - "tie_breaker": { - "description": "How to combine the queries generated from the individual search terms in the resulting `dis_max` query.", - "type": "number" - }, - "time_zone": { - "$ref": "#/components/schemas/_types:TimeZone" - }, - "type": { - "$ref": "#/components/schemas/_types.query_dsl:TextQueryType" - } - }, - "required": [ - "query" - ] - } - ] - }, - "_types:TimeZone": { - "type": "string" - }, - "_types.query_dsl:RangeQuery": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:DateRangeQuery" - }, - { - "$ref": "#/components/schemas/_types.query_dsl:NumberRangeQuery" - } - ] - }, - "_types.query_dsl:DateRangeQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:RangeQueryBase" - }, - { - "type": "object", - "properties": { - "gt": { - "$ref": "#/components/schemas/_types:DateMath" - }, - "gte": { - "$ref": "#/components/schemas/_types:DateMath" - }, - "lt": { - "$ref": "#/components/schemas/_types:DateMath" - }, - "lte": { - "$ref": "#/components/schemas/_types:DateMath" - }, - "from": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:DateMath" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "to": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:DateMath" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "format": { - "$ref": "#/components/schemas/_types:DateFormat" - }, - "time_zone": { - "$ref": "#/components/schemas/_types:TimeZone" - } - } - } - ] - }, - "_types:DateFormat": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-date-format.html" - }, - "type": "string" - }, - "_types.query_dsl:RangeQueryBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "relation": { - "$ref": "#/components/schemas/_types.query_dsl:RangeRelation" - } - } - } - ] - }, - "_types.query_dsl:RangeRelation": { - "type": "string", - "enum": [ - "within", - "contains", - "intersects" - ] - }, - "_types.query_dsl:NumberRangeQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:RangeQueryBase" - }, - { - "type": "object", - "properties": { - "gt": { - "description": "Greater than.", - "type": "number" - }, - "gte": { - "description": "Greater than or equal to.", - "type": "number" - }, - "lt": { - "description": "Less than.", - "type": "number" - }, - "lte": { - "description": "Less than or equal to.", - "type": "number" - }, - "from": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "to": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - } - } - } - ] - }, - "_types.query_dsl:RankFeatureQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "saturation": { - "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunctionSaturation" - }, - "log": { - "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunctionLogarithm" - }, - "linear": { - "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunctionLinear" - }, - "sigmoid": { - "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunctionSigmoid" - } - }, - "required": [ - "field" - ] - } - ] - }, - "_types.query_dsl:RankFeatureFunctionSaturation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunction" - }, - { - "type": "object", - "properties": { - "pivot": { - "description": "Configurable pivot value so that the result will be less than 0.5.", - "type": "number" - } - } - } - ] - }, - "_types.query_dsl:RankFeatureFunction": { - "type": "object" - }, - "_types.query_dsl:RankFeatureFunctionLogarithm": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunction" - }, - { - "type": "object", - "properties": { - "scaling_factor": { - "description": "Configurable scaling factor.", - "type": "number" - } - }, - "required": [ - "scaling_factor" - ] - } - ] - }, - "_types.query_dsl:RankFeatureFunctionLinear": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunction" - }, - { - "type": "object" - } - ] - }, - "_types.query_dsl:RankFeatureFunctionSigmoid": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:RankFeatureFunction" - }, - { - "type": "object", - "properties": { - "pivot": { - "description": "Configurable pivot value so that the result will be less than 0.5.", - "type": "number" - }, - "exponent": { - "description": "Configurable Exponent.", - "type": "number" - } - }, - "required": [ - "pivot", - "exponent" - ] - } - ] - }, - "_types.query_dsl:RegexpQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "case_insensitive": { - "description": "Allows case insensitive matching of the regular expression value with the indexed field values when set to `true`.\nWhen `false`, case sensitivity of matching depends on the underlying field’s mapping.", - "type": "boolean" - }, - "flags": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/regexp-syntax.html" - }, - "description": "Enables optional operators for the regular expression.", - "type": "string" - }, - "max_determinized_states": { - "description": "Maximum number of automaton states required for the query.", - "type": "number" - }, - "rewrite": { - "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" - }, - "value": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/regexp-syntax.html" - }, - "description": "Regular expression for terms you wish to find in the provided field.", - "type": "string" - } - }, - "required": [ - "value" - ] - } - ] - }, - "_types.query_dsl:RuleQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "organic": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "ruleset_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "match_criteria": { - "type": "object" - } - }, - "required": [ - "organic", - "ruleset_id", - "match_criteria" - ] - } - ] - }, - "_types.query_dsl:ScriptQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "script": { - "$ref": "#/components/schemas/_types:Script" - } - }, - "required": [ - "script" - ] - } - ] - }, - "_types.query_dsl:ScriptScoreQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "min_score": { - "description": "Documents with a score lower than this floating point number are excluded from the search results.", - "type": "number" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - } - }, - "required": [ - "query", - "script" - ] - } - ] - }, - "_types.query_dsl:ShapeQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "ignore_unmapped": { - "description": "When set to `true` the query ignores an unmapped field and will not match any documents.", - "type": "boolean" - } - } - } - ] - }, - "_types.query_dsl:SimpleQueryStringQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "analyzer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html" - }, - "description": "Analyzer used to convert text in the query string into tokens.", - "type": "string" - }, - "analyze_wildcard": { - "description": "If `true`, the query attempts to analyze wildcard terms in the query string.", - "type": "boolean" - }, - "auto_generate_synonyms_phrase_query": { - "description": "If `true`, the parser creates a match_phrase query for each multi-position token.", - "type": "boolean" - }, - "default_operator": { - "$ref": "#/components/schemas/_types.query_dsl:Operator" - }, - "fields": { - "description": "Array of fields you wish to search.\nAccepts wildcard expressions.\nYou also can boost relevance scores for matches to particular fields using a caret (`^`) notation.\nDefaults to the `index.query.default_field index` setting, which has a default value of `*`.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "flags": { - "$ref": "#/components/schemas/_types.query_dsl:SimpleQueryStringFlags" - }, - "fuzzy_max_expansions": { - "description": "Maximum number of terms to which the query expands for fuzzy matching.", - "type": "number" - }, - "fuzzy_prefix_length": { - "description": "Number of beginning characters left unchanged for fuzzy matching.", - "type": "number" - }, - "fuzzy_transpositions": { - "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).", - "type": "boolean" - }, - "lenient": { - "description": "If `true`, format-based errors, such as providing a text value for a numeric field, are ignored.", - "type": "boolean" - }, - "minimum_should_match": { - "$ref": "#/components/schemas/_types:MinimumShouldMatch" - }, - "query": { - "description": "Query string in the simple query string syntax you wish to parse and use for search.", - "type": "string" - }, - "quote_field_suffix": { - "description": "Suffix appended to quoted text in the query string.", - "type": "string" - } - }, - "required": [ - "query" - ] - } - ] - }, - "_types.query_dsl:SimpleQueryStringFlags": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-simple-query-string-query.html#supported-flags" - }, - "description": "Query flags can be either a single flag or a combination of flags, e.g. `OR|AND|PREFIX`", - "allOf": [ - { - "$ref": "#/components/schemas/_spec_utils:PipeSeparatedFlagsSimpleQueryStringFlag" - } - ] - }, - "_spec_utils:PipeSeparatedFlagsSimpleQueryStringFlag": { - "description": "A set of flags that can be represented as a single enum value or a set of values that are encoded\nas a pipe-separated string\n\nDepending on the target language, code generators can use this hint to generate language specific\nflags enum constructs and the corresponding (de-)serialization code.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:SimpleQueryStringFlag" - }, - { - "type": "string" - } - ] - }, - "_types.query_dsl:SimpleQueryStringFlag": { - "type": "string", - "enum": [ - "NONE", - "AND", - "NOT", - "OR", - "PREFIX", - "PHRASE", - "PRECEDENCE", - "ESCAPE", - "WHITESPACE", - "FUZZY", - "NEAR", - "SLOP", - "ALL" - ] - }, - "_types.query_dsl:SpanContainingQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "big": { - "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" - }, - "little": { - "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" - } - }, - "required": [ - "big", - "little" - ] - } - ] - }, - "_types.query_dsl:SpanQuery": { - "type": "object", - "properties": { - "span_containing": { - "$ref": "#/components/schemas/_types.query_dsl:SpanContainingQuery" - }, - "field_masking_span": { - "$ref": "#/components/schemas/_types.query_dsl:SpanFieldMaskingQuery" - }, - "span_first": { - "$ref": "#/components/schemas/_types.query_dsl:SpanFirstQuery" - }, - "span_gap": { - "$ref": "#/components/schemas/_types.query_dsl:SpanGapQuery" - }, - "span_multi": { - "$ref": "#/components/schemas/_types.query_dsl:SpanMultiTermQuery" - }, - "span_near": { - "$ref": "#/components/schemas/_types.query_dsl:SpanNearQuery" - }, - "span_not": { - "$ref": "#/components/schemas/_types.query_dsl:SpanNotQuery" - }, - "span_or": { - "$ref": "#/components/schemas/_types.query_dsl:SpanOrQuery" - }, - "span_term": { - "description": "The equivalent of the `term` query but for use with other span queries.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:SpanTermQuery" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "span_within": { - "$ref": "#/components/schemas/_types.query_dsl:SpanWithinQuery" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "_types.query_dsl:SpanFieldMaskingQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" - } - }, - "required": [ - "field", - "query" - ] - } - ] - }, - "_types.query_dsl:SpanFirstQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "end": { - "description": "Controls the maximum end position permitted in a match.", - "type": "number" - }, - "match": { - "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" - } - }, - "required": [ - "end", - "match" - ] - } - ] - }, - "_types.query_dsl:SpanGapQuery": { - "description": "Can only be used as a clause in a span_near query.", - "type": "object", - "additionalProperties": { - "type": "number" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "_types.query_dsl:SpanMultiTermQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "match": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - }, - "required": [ - "match" - ] - } - ] - }, - "_types.query_dsl:SpanNearQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "clauses": { - "description": "Array of one or more other span type queries.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" - } - }, - "in_order": { - "description": "Controls whether matches are required to be in-order.", - "type": "boolean" - }, - "slop": { - "description": "Controls the maximum number of intervening unmatched positions permitted.", - "type": "number" - } - }, - "required": [ - "clauses" - ] - } - ] - }, - "_types.query_dsl:SpanNotQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "dist": { - "description": "The number of tokens from within the include span that can’t have overlap with the exclude span.\nEquivalent to setting both `pre` and `post`.", - "type": "number" - }, - "exclude": { - "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" - }, - "include": { - "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" - }, - "post": { - "description": "The number of tokens after the include span that can’t have overlap with the exclude span.", - "type": "number" - }, - "pre": { - "description": "The number of tokens before the include span that can’t have overlap with the exclude span.", - "type": "number" - } - }, - "required": [ - "exclude", - "include" - ] - } - ] - }, - "_types.query_dsl:SpanOrQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "clauses": { - "description": "Array of one or more other span type queries.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" - } - } - }, - "required": [ - "clauses" - ] - } - ] - }, - "_types.query_dsl:SpanTermQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - ] - }, - "_types.query_dsl:SpanWithinQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "big": { - "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" - }, - "little": { - "$ref": "#/components/schemas/_types.query_dsl:SpanQuery" - } - }, - "required": [ - "big", - "little" - ] - } - ] - }, - "_types.query_dsl:TermQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/_types:FieldValue" - }, - "case_insensitive": { - "description": "Allows ASCII case insensitive matching of the value with the indexed field values when set to `true`.\nWhen `false`, the case sensitivity of matching depends on the underlying field’s mapping.", - "type": "boolean" - } - }, - "required": [ - "value" - ] - } - ] - }, - "_types.query_dsl:TermsQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object" - } - ] - }, - "_types.query_dsl:TermsSetQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "minimum_should_match_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "minimum_should_match_script": { - "$ref": "#/components/schemas/_types:Script" - }, - "terms": { - "description": "Array of terms you wish to find in the provided field.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "terms" - ] - } - ] - }, - "_types.query_dsl:TextExpansionQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "model_id": { - "description": "The text expansion NLP model to use", - "type": "string" - }, - "model_text": { - "description": "The query text", - "type": "string" - } - }, - "required": [ - "model_id", - "model_text" - ] - } - ] - }, - "_types.query_dsl:WildcardQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "case_insensitive": { - "description": "Allows case insensitive matching of the pattern with the indexed field values when set to true. Default is false which means the case sensitivity of matching depends on the underlying field’s mapping.", - "type": "boolean" - }, - "rewrite": { - "$ref": "#/components/schemas/_types:MultiTermQueryRewrite" - }, - "value": { - "description": "Wildcard pattern for terms you wish to find in the provided field. Required, when wildcard is not set.", - "type": "string" - }, - "wildcard": { - "description": "Wildcard pattern for terms you wish to find in the provided field. Required, when value is not set.", - "type": "string" - } - } - } - ] - }, - "_types.query_dsl:WrapperQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "query": { - "description": "A base64 encoded query.\nThe binary data format can be any of JSON, YAML, CBOR or SMILE encodings", - "type": "string" - } - }, - "required": [ - "query" - ] - } - ] - }, - "_types.query_dsl:TypeQuery": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryBase" - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - ] - }, - "_types.aggregations:BucketAggregationBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:Aggregation" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:Aggregation": { - "type": "object", - "properties": { - "meta": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "name": { - "type": "string" - } - } - }, - "_types.aggregations:AutoDateHistogramAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "buckets": { - "description": "The target number of buckets.", - "type": "number" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "format": { - "description": "The date format used to format `key_as_string` in the response.\nIf no `format` is specified, the first date format specified in the field mapping is used.", - "type": "string" - }, - "minimum_interval": { - "$ref": "#/components/schemas/_types.aggregations:MinimumInterval" - }, - "missing": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "offset": { - "description": "Time zone specified as a ISO 8601 UTC offset.", - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "time_zone": { - "$ref": "#/components/schemas/_types:TimeZone" - } - } - } - ] - }, - "_types.aggregations:MinimumInterval": { - "type": "string", - "enum": [ - "second", - "minute", - "hour", - "day", - "month", - "year" - ] - }, - "_types.aggregations:AverageAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:FormatMetricAggregationBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" - }, - { - "type": "object", - "properties": { - "format": { - "type": "string" - } - } - } - ] - }, - "_types.aggregations:MetricAggregationBase": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "missing": { - "$ref": "#/components/schemas/_types.aggregations:Missing" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - } - } - }, - "_types.aggregations:Missing": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "_types.aggregations:AverageBucketAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:PipelineAggregationBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketPathAggregation" - }, - { - "type": "object", - "properties": { - "format": { - "description": "`DecimalFormat` pattern for the output value.\nIf specified, the formatted value is returned in the aggregation’s `value_as_string` property.", - "type": "string" - }, - "gap_policy": { - "$ref": "#/components/schemas/_types.aggregations:GapPolicy" - } - } - } - ] - }, - "_types.aggregations:GapPolicy": { - "type": "string", - "enum": [ - "skip", - "insert_zeros", - "keep_values" - ] - }, - "_types.aggregations:BucketPathAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:Aggregation" - }, - { - "type": "object", - "properties": { - "buckets_path": { - "$ref": "#/components/schemas/_types.aggregations:BucketsPath" - } - } - } - ] - }, - "_types.aggregations:BucketsPath": { - "description": "Buckets path can be expressed in different ways, and an aggregation may accept some or all of these\nforms depending on its type. Please refer to each aggregation's documentation to know what buckets\npath forms they accept.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - ] - }, - "_types.aggregations:BoxplotAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" - }, - { - "type": "object", - "properties": { - "compression": { - "description": "Limits the maximum number of nodes used by the underlying TDigest algorithm to `20 * compression`, enabling control of memory usage and approximation error.", - "type": "number" - } - } - } - ] - }, - "_types.aggregations:BucketScriptAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" - }, - { - "type": "object", - "properties": { - "script": { - "$ref": "#/components/schemas/_types:Script" - } - } - } - ] - }, - "_types.aggregations:BucketSelectorAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" - }, - { - "type": "object", - "properties": { - "script": { - "$ref": "#/components/schemas/_types:Script" - } - } - } - ] - }, - "_types.aggregations:BucketSortAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:Aggregation" - }, - { - "type": "object", - "properties": { - "from": { - "description": "Buckets in positions prior to `from` will be truncated.", - "type": "number" - }, - "gap_policy": { - "$ref": "#/components/schemas/_types.aggregations:GapPolicy" - }, - "size": { - "description": "The number of buckets to return.\nDefaults to all buckets of the parent aggregation.", - "type": "number" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" - } - } - } - ] - }, - "_types.aggregations:BucketKsAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketPathAggregation" - }, - { - "type": "object", - "properties": { - "alternative": { - "description": "A list of string values indicating which K-S test alternative to calculate. The valid values\nare: \"greater\", \"less\", \"two_sided\". This parameter is key for determining the K-S statistic used\nwhen calculating the K-S test. Default value is all possible alternative hypotheses.", - "type": "array", - "items": { - "type": "string" - } - }, - "fractions": { - "description": "A list of doubles indicating the distribution of the samples with which to compare to the `buckets_path` results.\nIn typical usage this is the overall proportion of documents in each bucket, which is compared with the actual\ndocument proportions in each bucket from the sibling aggregation counts. The default is to assume that overall\ndocuments are uniformly distributed on these buckets, which they would be if one used equal percentiles of a\nmetric to define the bucket end points.", - "type": "array", - "items": { - "type": "number" - } - }, - "sampling_method": { - "description": "Indicates the sampling methodology when calculating the K-S test. Note, this is sampling of the returned values.\nThis determines the cumulative distribution function (CDF) points used comparing the two samples. Default is\n`upper_tail`, which emphasizes the upper end of the CDF points. Valid options are: `upper_tail`, `uniform`,\nand `lower_tail`.", - "type": "string" - } - } - } - ] - }, - "_types.aggregations:BucketCorrelationAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketPathAggregation" - }, - { - "type": "object", - "properties": { - "function": { - "$ref": "#/components/schemas/_types.aggregations:BucketCorrelationFunction" - } - }, - "required": [ - "function" - ] - } - ] - }, - "_types.aggregations:BucketCorrelationFunction": { - "type": "object", - "properties": { - "count_correlation": { - "$ref": "#/components/schemas/_types.aggregations:BucketCorrelationFunctionCountCorrelation" - } - }, - "required": [ - "count_correlation" - ] - }, - "_types.aggregations:BucketCorrelationFunctionCountCorrelation": { - "type": "object", - "properties": { - "indicator": { - "$ref": "#/components/schemas/_types.aggregations:BucketCorrelationFunctionCountCorrelationIndicator" - } - }, - "required": [ - "indicator" - ] - }, - "_types.aggregations:BucketCorrelationFunctionCountCorrelationIndicator": { - "type": "object", - "properties": { - "doc_count": { - "description": "The total number of documents that initially created the expectations. It’s required to be greater\nthan or equal to the sum of all values in the buckets_path as this is the originating superset of data\nto which the term values are correlated.", - "type": "number" - }, - "expectations": { - "description": "An array of numbers with which to correlate the configured `bucket_path` values.\nThe length of this value must always equal the number of buckets returned by the `bucket_path`.", - "type": "array", - "items": { - "type": "number" - } - }, - "fractions": { - "description": "An array of fractions to use when averaging and calculating variance. This should be used if\nthe pre-calculated data and the buckets_path have known gaps. The length of fractions, if provided,\nmust equal expectations.", - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "doc_count", - "expectations" - ] - }, - "_types.aggregations:CardinalityAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" - }, - { - "type": "object", - "properties": { - "precision_threshold": { - "description": "A unique count below which counts are expected to be close to accurate.\nThis allows to trade memory for accuracy.", - "type": "number" - }, - "rehash": { - "type": "boolean" - }, - "execution_hint": { - "$ref": "#/components/schemas/_types.aggregations:CardinalityExecutionMode" - } - } - } - ] - }, - "_types.aggregations:CardinalityExecutionMode": { - "type": "string", - "enum": [ - "global_ordinals", - "segment_ordinals", - "direct", - "save_memory_heuristic", - "save_time_heuristic" - ] - }, - "_types.aggregations:CategorizeTextAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:Aggregation" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "max_unique_tokens": { - "description": "The maximum number of unique tokens at any position up to max_matched_tokens. Must be larger than 1.\nSmaller values use less memory and create fewer categories. Larger values will use more memory and\ncreate narrower categories. Max allowed value is 100.", - "type": "number" - }, - "max_matched_tokens": { - "description": "The maximum number of token positions to match on before attempting to merge categories. Larger\nvalues will use more memory and create narrower categories. Max allowed value is 100.", - "type": "number" - }, - "similarity_threshold": { - "description": "The minimum percentage of tokens that must match for text to be added to the category bucket. Must\nbe between 1 and 100. The larger the value the narrower the categories. Larger values will increase memory\nusage and create narrower categories.", - "type": "number" - }, - "categorization_filters": { - "description": "This property expects an array of regular expressions. The expressions are used to filter out matching\nsequences from the categorization field values. You can use this functionality to fine tune the categorization\nby excluding sequences from consideration when categories are defined. For example, you can exclude SQL\nstatements that appear in your log files. This property cannot be used at the same time as categorization_analyzer.\nIf you only want to define simple regular expression filters that are applied prior to tokenization, setting\nthis property is the easiest method. If you also want to customize the tokenizer or post-tokenization filtering,\nuse the categorization_analyzer property instead and include the filters as pattern_replace character filters.", - "type": "array", - "items": { - "type": "string" - } - }, - "categorization_analyzer": { - "$ref": "#/components/schemas/_types.aggregations:CategorizeTextAnalyzer" - }, - "shard_size": { - "description": "The number of categorization buckets to return from each shard before merging all the results.", - "type": "number" - }, - "size": { - "description": "The number of buckets to return.", - "type": "number" - }, - "min_doc_count": { - "description": "The minimum number of documents in a bucket to be returned to the results.", - "type": "number" - }, - "shard_min_doc_count": { - "description": "The minimum number of documents in a bucket to be returned from the shard before merging.", - "type": "number" - } - }, - "required": [ - "field" - ] - } - ] - }, - "_types.aggregations:CategorizeTextAnalyzer": { - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/_types.aggregations:CustomCategorizeTextAnalyzer" - } - ] - }, - "_types.aggregations:CustomCategorizeTextAnalyzer": { - "type": "object", - "properties": { - "char_filter": { - "type": "array", - "items": { - "type": "string" - } - }, - "tokenizer": { - "type": "string" - }, - "filter": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "_types.aggregations:ChildrenAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/_types:RelationName" - } - } - } - ] - }, - "_types.aggregations:CompositeAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "after": { - "$ref": "#/components/schemas/_types.aggregations:CompositeAggregateKey" - }, - "size": { - "description": "The number of composite buckets that should be returned.", - "type": "number" - }, - "sources": { - "description": "The value sources used to build composite buckets.\nKeys are returned in the order of the `sources` definition.", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationSource" - } - } - } - } - } - ] - }, - "_types.aggregations:CompositeAggregationSource": { - "type": "object", - "properties": { - "terms": { - "$ref": "#/components/schemas/_types.aggregations:CompositeTermsAggregation" - }, - "histogram": { - "$ref": "#/components/schemas/_types.aggregations:CompositeHistogramAggregation" - }, - "date_histogram": { - "$ref": "#/components/schemas/_types.aggregations:CompositeDateHistogramAggregation" - }, - "geotile_grid": { - "$ref": "#/components/schemas/_types.aggregations:CompositeGeoTileGridAggregation" - } - } - }, - "_types.aggregations:CompositeTermsAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:CompositeAggregationBase": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "missing_bucket": { - "type": "boolean" - }, - "missing_order": { - "$ref": "#/components/schemas/_types.aggregations:MissingOrder" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "value_type": { - "$ref": "#/components/schemas/_types.aggregations:ValueType" - }, - "order": { - "$ref": "#/components/schemas/_types:SortOrder" - } - } - }, - "_types.aggregations:MissingOrder": { - "type": "string", - "enum": [ - "first", - "last", - "default" - ] - }, - "_types.aggregations:ValueType": { - "type": "string", - "enum": [ - "string", - "long", - "double", - "number", - "date", - "date_nanos", - "ip", - "numeric", - "geo_point", - "boolean" - ] - }, - "_types.aggregations:CompositeHistogramAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationBase" - }, - { - "type": "object", - "properties": { - "interval": { - "type": "number" - } - }, - "required": [ - "interval" - ] - } - ] - }, - "_types.aggregations:CompositeDateHistogramAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationBase" - }, - { - "type": "object", - "properties": { - "format": { - "type": "string" - }, - "calendar_interval": { - "$ref": "#/components/schemas/_types:DurationLarge" - }, - "fixed_interval": { - "$ref": "#/components/schemas/_types:DurationLarge" - }, - "offset": { - "$ref": "#/components/schemas/_types:Duration" - }, - "time_zone": { - "$ref": "#/components/schemas/_types:TimeZone" - } - } - } - ] - }, - "_types.aggregations:CompositeGeoTileGridAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:CompositeAggregationBase" - }, - { - "type": "object", - "properties": { - "precision": { - "type": "number" - }, - "bounds": { - "$ref": "#/components/schemas/_types:GeoBounds" - } - } - } - ] - }, - "_types.aggregations:CumulativeCardinalityAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:CumulativeSumAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:DateHistogramAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "calendar_interval": { - "$ref": "#/components/schemas/_types.aggregations:CalendarInterval" - }, - "extended_bounds": { - "$ref": "#/components/schemas/_types.aggregations:ExtendedBoundsFieldDateMath" - }, - "hard_bounds": { - "$ref": "#/components/schemas/_types.aggregations:ExtendedBoundsFieldDateMath" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "fixed_interval": { - "$ref": "#/components/schemas/_types:Duration" - }, - "format": { - "description": "The date format used to format `key_as_string` in the response.\nIf no `format` is specified, the first date format specified in the field mapping is used.", - "type": "string" - }, - "interval": { - "$ref": "#/components/schemas/_types:Duration" - }, - "min_doc_count": { - "description": "Only returns buckets that have `min_doc_count` number of documents.\nBy default, all buckets between the first bucket that matches documents and the last one are returned.", - "type": "number" - }, - "missing": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "offset": { - "$ref": "#/components/schemas/_types:Duration" - }, - "order": { - "$ref": "#/components/schemas/_types.aggregations:AggregateOrder" - }, - "params": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "time_zone": { - "$ref": "#/components/schemas/_types:TimeZone" - }, - "keyed": { - "description": "Set to `true` to associate a unique string key with each bucket and return the ranges as a hash rather than an array.", - "type": "boolean" - } - } - } - ] - }, - "_types.aggregations:CalendarInterval": { - "type": "string", - "enum": [ - "second", - "minute", - "hour", - "day", - "week", - "month", - "quarter", - "year" - ] - }, - "_types.aggregations:ExtendedBoundsFieldDateMath": { - "type": "object", - "properties": { - "max": { - "$ref": "#/components/schemas/_types.aggregations:FieldDateMath" - }, - "min": { - "$ref": "#/components/schemas/_types.aggregations:FieldDateMath" - } - }, - "required": [ - "max", - "min" - ] - }, - "_types.aggregations:FieldDateMath": { - "description": "A date range limit, represented either as a DateMath expression or a number expressed\naccording to the target field's precision.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:DateMath" - }, - { - "type": "number" - } - ] - }, - "_types.aggregations:AggregateOrder": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:SortOrder" - }, - "minProperties": 1, - "maxProperties": 1 - }, - { - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:SortOrder" - }, - "minProperties": 1, - "maxProperties": 1 - } - } - ] - }, - "_types.aggregations:DateRangeAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "format": { - "description": "The date format used to format `from` and `to` in the response.", - "type": "string" - }, - "missing": { - "$ref": "#/components/schemas/_types.aggregations:Missing" - }, - "ranges": { - "description": "Array of date ranges.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:DateRangeExpression" - } - }, - "time_zone": { - "$ref": "#/components/schemas/_types:TimeZone" - }, - "keyed": { - "description": "Set to `true` to associate a unique string key with each bucket and returns the ranges as a hash rather than an array.", - "type": "boolean" - } - } - } - ] - }, - "_types.aggregations:DateRangeExpression": { - "type": "object", - "properties": { - "from": { - "$ref": "#/components/schemas/_types.aggregations:FieldDateMath" - }, - "key": { - "description": "Custom key to return the range with.", - "type": "string" - }, - "to": { - "$ref": "#/components/schemas/_types.aggregations:FieldDateMath" - } - } - }, - "_types.aggregations:DerivativeAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:DiversifiedSamplerAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "execution_hint": { - "$ref": "#/components/schemas/_types.aggregations:SamplerAggregationExecutionHint" - }, - "max_docs_per_value": { - "description": "Limits how many documents are permitted per choice of de-duplicating value.", - "type": "number" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "shard_size": { - "description": "Limits how many top-scoring documents are collected in the sample processed on each shard.", - "type": "number" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - } - } - } - ] - }, - "_types.aggregations:SamplerAggregationExecutionHint": { - "type": "string", - "enum": [ - "map", - "global_ordinals", - "bytes_hash" - ] - }, - "_types.aggregations:ExtendedStatsAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" - }, - { - "type": "object", - "properties": { - "sigma": { - "description": "The number of standard deviations above/below the mean to display.", - "type": "number" - } - } - } - ] - }, - "_types.aggregations:ExtendedStatsBucketAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" - }, - { - "type": "object", - "properties": { - "sigma": { - "description": "The number of standard deviations above/below the mean to display.", - "type": "number" - } - } - } - ] - }, - "_types.aggregations:FrequentItemSetsAggregation": { - "type": "object", - "properties": { - "fields": { - "description": "Fields to analyze.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:FrequentItemSetsField" - } - }, - "minimum_set_size": { - "description": "The minimum size of one item set.", - "type": "number" - }, - "minimum_support": { - "description": "The minimum support of one item set.", - "type": "number" - }, - "size": { - "description": "The number of top item sets to return.", - "type": "number" - }, - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - }, - "required": [ - "fields" - ] - }, - "_types.aggregations:FrequentItemSetsField": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "exclude": { - "description": "Values to exclude.\nCan be regular expression strings or arrays of strings of exact terms.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "include": { - "description": "Values to include.\nCan be regular expression strings or arrays of strings of exact terms.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - }, - "required": [ - "field" - ] - }, - "_types.aggregations:FiltersAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "filters": { - "$ref": "#/components/schemas/_types.aggregations:BucketsQueryContainer" - }, - "other_bucket": { - "description": "Set to `true` to add a bucket to the response which will contain all documents that do not match any of the given filters.", - "type": "boolean" - }, - "other_bucket_key": { - "description": "The key with which the other bucket is returned.", - "type": "string" - }, - "keyed": { - "description": "By default, the named filters aggregation returns the buckets as an object.\nSet to `false` to return the buckets as an array of objects.", - "type": "boolean" - } - } - } - ] - }, - "_types.aggregations:BucketsQueryContainer": { - "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - } - ] - }, - "_types.aggregations:GeoBoundsAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" - }, - { - "type": "object", - "properties": { - "wrap_longitude": { - "description": "Specifies whether the bounding box should be allowed to overlap the international date line.", - "type": "boolean" - } - } - } - ] - }, - "_types.aggregations:GeoCentroidAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" - }, - { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "location": { - "$ref": "#/components/schemas/_types:GeoLocation" - } - } - } - ] - }, - "_types.aggregations:GeoDistanceAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "distance_type": { - "$ref": "#/components/schemas/_types:GeoDistanceType" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "origin": { - "$ref": "#/components/schemas/_types:GeoLocation" - }, - "ranges": { - "description": "An array of ranges used to bucket documents.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:AggregationRange" - } - }, - "unit": { - "$ref": "#/components/schemas/_types:DistanceUnit" - } - } - } - ] - }, - "_types.aggregations:AggregationRange": { - "type": "object", - "properties": { - "from": { - "description": "Start of the range (inclusive).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "key": { - "description": "Custom key to return the range with.", - "type": "string" - }, - "to": { - "description": "End of the range (exclusive).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - } - } - }, - "_types.aggregations:GeoHashGridAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "bounds": { - "$ref": "#/components/schemas/_types:GeoBounds" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "precision": { - "$ref": "#/components/schemas/_types:GeoHashPrecision" - }, - "shard_size": { - "description": "Allows for more accurate counting of the top cells returned in the final result the aggregation.\nDefaults to returning `max(10,(size x number-of-shards))` buckets from each shard.", - "type": "number" - }, - "size": { - "description": "The maximum number of geohash buckets to return.", - "type": "number" - } - } - } - ] - }, - "_types:GeoHashPrecision": { - "description": "A precision that can be expressed as a geohash length between 1 and 12, or a distance measure like \"1km\", \"10m\".", - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "_types.aggregations:GeoLineAggregation": { - "type": "object", - "properties": { - "point": { - "$ref": "#/components/schemas/_types.aggregations:GeoLinePoint" - }, - "sort": { - "$ref": "#/components/schemas/_types.aggregations:GeoLineSort" - }, - "include_sort": { - "description": "When `true`, returns an additional array of the sort values in the feature properties.", - "type": "boolean" - }, - "sort_order": { - "$ref": "#/components/schemas/_types:SortOrder" - }, - "size": { - "description": "The maximum length of the line represented in the aggregation.\nValid sizes are between 1 and 10000.", - "type": "number" - } - }, - "required": [ - "point", - "sort" - ] - }, - "_types.aggregations:GeoLinePoint": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field" - ] - }, - "_types.aggregations:GeoLineSort": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field" - ] - }, - "_types.aggregations:GeoTileGridAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "precision": { - "$ref": "#/components/schemas/_types:GeoTilePrecision" - }, - "shard_size": { - "description": "Allows for more accurate counting of the top cells returned in the final result the aggregation.\nDefaults to returning `max(10,(size x number-of-shards))` buckets from each shard.", - "type": "number" - }, - "size": { - "description": "The maximum number of buckets to return.", - "type": "number" - }, - "bounds": { - "$ref": "#/components/schemas/_types:GeoBounds" - } - } - } - ] - }, - "_types:GeoTilePrecision": { - "type": "number" - }, - "_types.aggregations:GeohexGridAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "precision": { - "description": "Integer zoom of the key used to defined cells or buckets\nin the results. Value should be between 0-15.", - "type": "number" - }, - "bounds": { - "$ref": "#/components/schemas/_types:GeoBounds" - }, - "size": { - "description": "Maximum number of buckets to return.", - "type": "number" - }, - "shard_size": { - "description": "Number of buckets returned from each shard.", - "type": "number" - } - }, - "required": [ - "field" - ] - } - ] - }, - "_types.aggregations:GlobalAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:HistogramAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "extended_bounds": { - "$ref": "#/components/schemas/_types.aggregations:ExtendedBoundsdouble" - }, - "hard_bounds": { - "$ref": "#/components/schemas/_types.aggregations:ExtendedBoundsdouble" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "interval": { - "description": "The interval for the buckets.\nMust be a positive decimal.", - "type": "number" - }, - "min_doc_count": { - "description": "Only returns buckets that have `min_doc_count` number of documents.\nBy default, the response will fill gaps in the histogram with empty buckets.", - "type": "number" - }, - "missing": { - "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", - "type": "number" - }, - "offset": { - "description": "By default, the bucket keys start with 0 and then continue in even spaced steps of `interval`.\nThe bucket boundaries can be shifted by using the `offset` option.", - "type": "number" - }, - "order": { - "$ref": "#/components/schemas/_types.aggregations:AggregateOrder" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "format": { - "type": "string" - }, - "keyed": { - "description": "If `true`, returns buckets as a hash instead of an array, keyed by the bucket keys.", - "type": "boolean" - } - } - } - ] - }, - "_types.aggregations:ExtendedBoundsdouble": { - "type": "object", - "properties": { - "max": { - "description": "Maximum value for the bound.", - "type": "number" - }, - "min": { - "description": "Minimum value for the bound.", - "type": "number" - } - }, - "required": [ - "max", - "min" - ] - }, - "_types.aggregations:IpRangeAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ranges": { - "description": "Array of IP ranges.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:IpRangeAggregationRange" - } - } - } - } - ] - }, - "_types.aggregations:IpRangeAggregationRange": { - "type": "object", - "properties": { - "from": { - "description": "Start of the range.", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "mask": { - "description": "IP range defined as a CIDR mask.", - "type": "string" - }, - "to": { - "description": "End of the range.", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - } - } - }, - "_types.aggregations:IpPrefixAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "prefix_length": { - "description": "Length of the network prefix. For IPv4 addresses the accepted range is [0, 32].\nFor IPv6 addresses the accepted range is [0, 128].", - "type": "number" - }, - "is_ipv6": { - "description": "Defines whether the prefix applies to IPv6 addresses.", - "type": "boolean" - }, - "append_prefix_length": { - "description": "Defines whether the prefix length is appended to IP address keys in the response.", - "type": "boolean" - }, - "keyed": { - "description": "Defines whether buckets are returned as a hash rather than an array in the response.", - "type": "boolean" - }, - "min_doc_count": { - "description": "Minimum number of documents in a bucket for it to be included in the response.", - "type": "number" - } - }, - "required": [ - "field", - "prefix_length" - ] - } - ] - }, - "_types.aggregations:InferenceAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" - }, - { - "type": "object", - "properties": { - "model_id": { - "$ref": "#/components/schemas/_types:Name" - }, - "inference_config": { - "$ref": "#/components/schemas/_types.aggregations:InferenceConfigContainer" - } - }, - "required": [ - "model_id" - ] - } - ] - }, - "_types.aggregations:InferenceConfigContainer": { - "type": "object", - "properties": { - "regression": { - "$ref": "#/components/schemas/ml._types:RegressionInferenceOptions" - }, - "classification": { - "$ref": "#/components/schemas/ml._types:ClassificationInferenceOptions" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "ml._types:RegressionInferenceOptions": { - "type": "object", - "properties": { - "results_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "num_top_feature_importance_values": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-feature-importance.html" - }, - "description": "Specifies the maximum number of feature importance values per document.", - "type": "number" - } - } - }, - "ml._types:ClassificationInferenceOptions": { - "type": "object", - "properties": { - "num_top_classes": { - "description": "Specifies the number of top class predictions to return. Defaults to 0.", - "type": "number" - }, - "num_top_feature_importance_values": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-feature-importance.html" - }, - "description": "Specifies the maximum number of feature importance values per document.", - "type": "number" - }, - "prediction_field_type": { - "description": "Specifies the type of the predicted field to write. Acceptable values are: string, number, boolean. When boolean is provided 1.0 is transformed to true and 0.0 to false.", - "type": "string" - }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" - }, - "top_classes_results_field": { - "description": "Specifies the field to which the top classes are written. Defaults to top_classes.", - "type": "string" - } - } - }, - "_types.aggregations:MatrixStatsAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MatrixAggregation" - }, - { - "type": "object", - "properties": { - "mode": { - "$ref": "#/components/schemas/_types:SortMode" - } - } - } - ] - }, - "_types.aggregations:MatrixAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:Aggregation" - }, - { - "type": "object", - "properties": { - "fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "missing": { - "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", - "type": "object", - "additionalProperties": { - "type": "number" - } - } - } - } - ] - }, - "_types.aggregations:MaxAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MaxBucketAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MedianAbsoluteDeviationAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" - }, - { - "type": "object", - "properties": { - "compression": { - "description": "Limits the maximum number of nodes used by the underlying TDigest algorithm to `20 * compression`, enabling control of memory usage and approximation error.", - "type": "number" - } - } - } - ] - }, - "_types.aggregations:MinAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MinBucketAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:MissingAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "missing": { - "$ref": "#/components/schemas/_types.aggregations:Missing" - } - } - } - ] - }, - "_types.aggregations:MovingAverageAggregation": { - "discriminator": { - "propertyName": "model" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:LinearMovingAverageAggregation" - }, - { - "$ref": "#/components/schemas/_types.aggregations:SimpleMovingAverageAggregation" - }, - { - "$ref": "#/components/schemas/_types.aggregations:EwmaMovingAverageAggregation" - }, - { - "$ref": "#/components/schemas/_types.aggregations:HoltMovingAverageAggregation" - }, - { - "$ref": "#/components/schemas/_types.aggregations:HoltWintersMovingAverageAggregation" - } - ] - }, - "_types.aggregations:LinearMovingAverageAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" - }, - { - "type": "object", - "properties": { - "model": { - "type": "string", - "enum": [ - "linear" - ] - }, - "settings": { - "$ref": "#/components/schemas/_types:EmptyObject" - } - }, - "required": [ - "model", - "settings" - ] - } - ] - }, - "_types:EmptyObject": { - "type": "object" - }, - "_types.aggregations:MovingAverageAggregationBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" - }, - { - "type": "object", - "properties": { - "minimize": { - "type": "boolean" - }, - "predict": { - "type": "number" - }, - "window": { - "type": "number" - } - } - } - ] - }, - "_types.aggregations:SimpleMovingAverageAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" - }, - { - "type": "object", - "properties": { - "model": { - "type": "string", - "enum": [ - "simple" - ] - }, - "settings": { - "$ref": "#/components/schemas/_types:EmptyObject" - } - }, - "required": [ - "model", - "settings" - ] - } - ] - }, - "_types.aggregations:EwmaMovingAverageAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" - }, - { - "type": "object", - "properties": { - "model": { - "type": "string", - "enum": [ - "ewma" - ] - }, - "settings": { - "$ref": "#/components/schemas/_types.aggregations:EwmaModelSettings" - } - }, - "required": [ - "model", - "settings" - ] - } - ] - }, - "_types.aggregations:EwmaModelSettings": { - "type": "object", - "properties": { - "alpha": { - "type": "number" - } - } - }, - "_types.aggregations:HoltMovingAverageAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" - }, - { - "type": "object", - "properties": { - "model": { - "type": "string", - "enum": [ - "holt" - ] - }, - "settings": { - "$ref": "#/components/schemas/_types.aggregations:HoltLinearModelSettings" - } - }, - "required": [ - "model", - "settings" - ] - } - ] - }, - "_types.aggregations:HoltLinearModelSettings": { - "type": "object", - "properties": { - "alpha": { - "type": "number" - }, - "beta": { - "type": "number" - } - } - }, - "_types.aggregations:HoltWintersMovingAverageAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MovingAverageAggregationBase" - }, - { - "type": "object", - "properties": { - "model": { - "type": "string", - "enum": [ - "holt_winters" - ] - }, - "settings": { - "$ref": "#/components/schemas/_types.aggregations:HoltWintersModelSettings" - } - }, - "required": [ - "model", - "settings" - ] - } - ] - }, - "_types.aggregations:HoltWintersModelSettings": { - "type": "object", - "properties": { - "alpha": { - "type": "number" - }, - "beta": { - "type": "number" - }, - "gamma": { - "type": "number" - }, - "pad": { - "type": "boolean" - }, - "period": { - "type": "number" - }, - "type": { - "$ref": "#/components/schemas/_types.aggregations:HoltWintersType" - } - } - }, - "_types.aggregations:HoltWintersType": { - "type": "string", - "enum": [ - "add", - "mult" - ] - }, - "_types.aggregations:MovingPercentilesAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" - }, - { - "type": "object", - "properties": { - "window": { - "description": "The size of window to \"slide\" across the histogram.", - "type": "number" - }, - "shift": { - "description": "By default, the window consists of the last n values excluding the current bucket.\nIncreasing `shift` by 1, moves the starting window position by 1 to the right.", - "type": "number" - }, - "keyed": { - "type": "boolean" - } - } - } - ] - }, - "_types.aggregations:MovingFunctionAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" - }, - { - "type": "object", - "properties": { - "script": { - "description": "The script that should be executed on each window of data.", - "type": "string" - }, - "shift": { - "description": "By default, the window consists of the last n values excluding the current bucket.\nIncreasing `shift` by 1, moves the starting window position by 1 to the right.", - "type": "number" - }, - "window": { - "description": "The size of window to \"slide\" across the histogram.", - "type": "number" - } - } - } - ] - }, - "_types.aggregations:MultiTermsAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "collect_mode": { - "$ref": "#/components/schemas/_types.aggregations:TermsAggregationCollectMode" - }, - "order": { - "$ref": "#/components/schemas/_types.aggregations:AggregateOrder" - }, - "min_doc_count": { - "description": "The minimum number of documents in a bucket for it to be returned.", - "type": "number" - }, - "shard_min_doc_count": { - "description": "The minimum number of documents in a bucket on each shard for it to be returned.", - "type": "number" - }, - "shard_size": { - "description": "The number of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", - "type": "number" - }, - "show_term_doc_count_error": { - "description": "Calculates the doc count error on per term basis.", - "type": "boolean" - }, - "size": { - "description": "The number of term buckets should be returned out of the overall terms list.", - "type": "number" - }, - "terms": { - "description": "The field from which to generate sets of terms.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:MultiTermLookup" - } - } - }, - "required": [ - "terms" - ] - } - ] - }, - "_types.aggregations:TermsAggregationCollectMode": { - "type": "string", - "enum": [ - "depth_first", - "breadth_first" - ] - }, - "_types.aggregations:MultiTermLookup": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "missing": { - "$ref": "#/components/schemas/_types.aggregations:Missing" - } - }, - "required": [ - "field" - ] - }, - "_types.aggregations:NestedAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "path": { - "$ref": "#/components/schemas/_types:Field" - } - } - } - ] - }, - "_types.aggregations:NormalizeAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" - }, - { - "type": "object", - "properties": { - "method": { - "$ref": "#/components/schemas/_types.aggregations:NormalizeMethod" - } - } - } - ] - }, - "_types.aggregations:NormalizeMethod": { - "type": "string", - "enum": [ - "rescale_0_1", - "rescale_0_100", - "percent_of_sum", - "mean", - "z-score", - "softmax" - ] - }, - "_types.aggregations:ParentAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/_types:RelationName" - } - } - } - ] - }, - "_types.aggregations:PercentileRanksAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" - }, - { - "type": "object", - "properties": { - "keyed": { - "description": "By default, the aggregation associates a unique string key with each bucket and returns the ranges as a hash rather than an array.\nSet to `false` to disable this behavior.", - "type": "boolean" - }, - "values": { - "description": "An array of values for which to calculate the percentile ranks.", - "oneOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "hdr": { - "$ref": "#/components/schemas/_types.aggregations:HdrMethod" - }, - "tdigest": { - "$ref": "#/components/schemas/_types.aggregations:TDigest" - } - } - } - ] - }, - "_types.aggregations:HdrMethod": { - "type": "object", - "properties": { - "number_of_significant_value_digits": { - "description": "Specifies the resolution of values for the histogram in number of significant digits.", - "type": "number" - } - } - }, - "_types.aggregations:TDigest": { - "type": "object", - "properties": { - "compression": { - "description": "Limits the maximum number of nodes used by the underlying TDigest algorithm to `20 * compression`, enabling control of memory usage and approximation error.", - "type": "number" - } - } - }, - "_types.aggregations:PercentilesAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" - }, - { - "type": "object", - "properties": { - "keyed": { - "description": "By default, the aggregation associates a unique string key with each bucket and returns the ranges as a hash rather than an array.\nSet to `false` to disable this behavior.", - "type": "boolean" - }, - "percents": { - "description": "The percentiles to calculate.", - "type": "array", - "items": { - "type": "number" - } - }, - "hdr": { - "$ref": "#/components/schemas/_types.aggregations:HdrMethod" - }, - "tdigest": { - "$ref": "#/components/schemas/_types.aggregations:TDigest" - } - } - } - ] - }, - "_types.aggregations:PercentilesBucketAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" - }, - { - "type": "object", - "properties": { - "percents": { - "description": "The list of percentiles to calculate.", - "type": "array", - "items": { - "type": "number" - } - } - } - } - ] - }, - "_types.aggregations:RangeAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "missing": { - "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", - "type": "number" - }, - "ranges": { - "description": "An array of ranges used to bucket documents.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:AggregationRange" - } - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "keyed": { - "description": "Set to `true` to associate a unique string key with each bucket and return the ranges as a hash rather than an array.", - "type": "boolean" - }, - "format": { - "type": "string" - } - } - } - ] - }, - "_types.aggregations:RareTermsAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "exclude": { - "$ref": "#/components/schemas/_types.aggregations:TermsExclude" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "include": { - "$ref": "#/components/schemas/_types.aggregations:TermsInclude" - }, - "max_doc_count": { - "description": "The maximum number of documents a term should appear in.", - "type": "number" - }, - "missing": { - "$ref": "#/components/schemas/_types.aggregations:Missing" - }, - "precision": { - "description": "The precision of the internal CuckooFilters.\nSmaller precision leads to better approximation, but higher memory usage.", - "type": "number" - }, - "value_type": { - "type": "string" - } - } - } - ] - }, - "_types.aggregations:TermsExclude": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "_types.aggregations:TermsInclude": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/_types.aggregations:TermsPartition" - } - ] - }, - "_types.aggregations:TermsPartition": { - "type": "object", - "properties": { - "num_partitions": { - "description": "The number of partitions.", - "type": "number" - }, - "partition": { - "description": "The partition number for this request.", - "type": "number" - } - }, - "required": [ - "num_partitions", - "partition" - ] - }, - "_types.aggregations:RateAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" - }, - { - "type": "object", - "properties": { - "unit": { - "$ref": "#/components/schemas/_types.aggregations:CalendarInterval" - }, - "mode": { - "$ref": "#/components/schemas/_types.aggregations:RateMode" - } - } - } - ] - }, - "_types.aggregations:RateMode": { - "type": "string", - "enum": [ - "sum", - "value_count" - ] - }, - "_types.aggregations:ReverseNestedAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "path": { - "$ref": "#/components/schemas/_types:Field" - } - } - } - ] - }, - "_types.aggregations:SamplerAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "shard_size": { - "description": "Limits how many top-scoring documents are collected in the sample processed on each shard.", - "type": "number" - } - } - } - ] - }, - "_types.aggregations:ScriptedMetricAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" - }, - { - "type": "object", - "properties": { - "combine_script": { - "$ref": "#/components/schemas/_types:Script" - }, - "init_script": { - "$ref": "#/components/schemas/_types:Script" - }, - "map_script": { - "$ref": "#/components/schemas/_types:Script" - }, - "params": { - "description": "A global object with script parameters for `init`, `map` and `combine` scripts.\nIt is shared between the scripts.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "reduce_script": { - "$ref": "#/components/schemas/_types:Script" - } - } - } - ] - }, - "_types.aggregations:SerialDifferencingAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" - }, - { - "type": "object", - "properties": { - "lag": { - "description": "The historical bucket to subtract from the current value.\nMust be a positive, non-zero integer.", - "type": "number" - } - } - } - ] - }, - "_types.aggregations:SignificantTermsAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "background_filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "chi_square": { - "$ref": "#/components/schemas/_types.aggregations:ChiSquareHeuristic" - }, - "exclude": { - "$ref": "#/components/schemas/_types.aggregations:TermsExclude" - }, - "execution_hint": { - "$ref": "#/components/schemas/_types.aggregations:TermsAggregationExecutionHint" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "gnd": { - "$ref": "#/components/schemas/_types.aggregations:GoogleNormalizedDistanceHeuristic" - }, - "include": { - "$ref": "#/components/schemas/_types.aggregations:TermsInclude" - }, - "jlh": { - "$ref": "#/components/schemas/_types:EmptyObject" - }, - "min_doc_count": { - "description": "Only return terms that are found in more than `min_doc_count` hits.", - "type": "number" - }, - "mutual_information": { - "$ref": "#/components/schemas/_types.aggregations:MutualInformationHeuristic" - }, - "percentage": { - "$ref": "#/components/schemas/_types.aggregations:PercentageScoreHeuristic" - }, - "script_heuristic": { - "$ref": "#/components/schemas/_types.aggregations:ScriptedHeuristic" - }, - "shard_min_doc_count": { - "description": "Regulates the certainty a shard has if the term should actually be added to the candidate list or not with respect to the `min_doc_count`.\nTerms will only be considered if their local shard frequency within the set is higher than the `shard_min_doc_count`.", - "type": "number" - }, - "shard_size": { - "description": "Can be used to control the volumes of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", - "type": "number" - }, - "size": { - "description": "The number of buckets returned out of the overall terms list.", - "type": "number" - } - } - } - ] - }, - "_types.aggregations:ChiSquareHeuristic": { - "type": "object", - "properties": { - "background_is_superset": { - "description": "Set to `false` if you defined a custom background filter that represents a different set of documents that you want to compare to.", - "type": "boolean" - }, - "include_negatives": { - "description": "Set to `false` to filter out the terms that appear less often in the subset than in documents outside the subset.", - "type": "boolean" - } - }, - "required": [ - "background_is_superset", - "include_negatives" - ] - }, - "_types.aggregations:TermsAggregationExecutionHint": { - "type": "string", - "enum": [ - "map", - "global_ordinals", - "global_ordinals_hash", - "global_ordinals_low_cardinality" - ] - }, - "_types.aggregations:GoogleNormalizedDistanceHeuristic": { - "type": "object", - "properties": { - "background_is_superset": { - "description": "Set to `false` if you defined a custom background filter that represents a different set of documents that you want to compare to.", - "type": "boolean" - } - } - }, - "_types.aggregations:MutualInformationHeuristic": { - "type": "object", - "properties": { - "background_is_superset": { - "description": "Set to `false` if you defined a custom background filter that represents a different set of documents that you want to compare to.", - "type": "boolean" - }, - "include_negatives": { - "description": "Set to `false` to filter out the terms that appear less often in the subset than in documents outside the subset.", - "type": "boolean" - } - } - }, - "_types.aggregations:PercentageScoreHeuristic": { - "type": "object" - }, - "_types.aggregations:ScriptedHeuristic": { - "type": "object", - "properties": { - "script": { - "$ref": "#/components/schemas/_types:Script" - } - }, - "required": [ - "script" - ] - }, - "_types.aggregations:SignificantTextAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "background_filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "chi_square": { - "$ref": "#/components/schemas/_types.aggregations:ChiSquareHeuristic" - }, - "exclude": { - "$ref": "#/components/schemas/_types.aggregations:TermsExclude" - }, - "execution_hint": { - "$ref": "#/components/schemas/_types.aggregations:TermsAggregationExecutionHint" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "filter_duplicate_text": { - "description": "Whether to out duplicate text to deal with noisy data.", - "type": "boolean" - }, - "gnd": { - "$ref": "#/components/schemas/_types.aggregations:GoogleNormalizedDistanceHeuristic" - }, - "include": { - "description": "Values to include.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "jlh": { - "$ref": "#/components/schemas/_types:EmptyObject" - }, - "min_doc_count": { - "description": "Only return values that are found in more than `min_doc_count` hits.", - "type": "number" - }, - "mutual_information": { - "$ref": "#/components/schemas/_types.aggregations:MutualInformationHeuristic" - }, - "percentage": { - "$ref": "#/components/schemas/_types.aggregations:PercentageScoreHeuristic" - }, - "script_heuristic": { - "$ref": "#/components/schemas/_types.aggregations:ScriptedHeuristic" - }, - "shard_min_doc_count": { - "description": "Regulates the certainty a shard has if the values should actually be added to the candidate list or not with respect to the min_doc_count.\nValues will only be considered if their local shard frequency within the set is higher than the `shard_min_doc_count`.", - "type": "number" - }, - "shard_size": { - "description": "The number of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", - "type": "number" - }, - "size": { - "description": "The number of buckets returned out of the overall terms list.", - "type": "number" - }, - "source_fields": { - "$ref": "#/components/schemas/_types:Fields" - } - } - } - ] - }, - "_types.aggregations:StatsAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:StatsBucketAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:StringStatsAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" - }, - { - "type": "object", - "properties": { - "show_distribution": { - "description": "Shows the probability distribution for all characters.", - "type": "boolean" - } - } - } - ] - }, - "_types.aggregations:SumAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:FormatMetricAggregationBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:SumBucketAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:PipelineAggregationBase" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:TermsAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:BucketAggregationBase" - }, - { - "type": "object", - "properties": { - "collect_mode": { - "$ref": "#/components/schemas/_types.aggregations:TermsAggregationCollectMode" - }, - "exclude": { - "$ref": "#/components/schemas/_types.aggregations:TermsExclude" - }, - "execution_hint": { - "$ref": "#/components/schemas/_types.aggregations:TermsAggregationExecutionHint" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "include": { - "$ref": "#/components/schemas/_types.aggregations:TermsInclude" - }, - "min_doc_count": { - "description": "Only return values that are found in more than `min_doc_count` hits.", - "type": "number" - }, - "missing": { - "$ref": "#/components/schemas/_types.aggregations:Missing" - }, - "missing_order": { - "$ref": "#/components/schemas/_types.aggregations:MissingOrder" - }, - "missing_bucket": { - "type": "boolean" - }, - "value_type": { - "description": "Coerced unmapped fields into the specified type.", - "type": "string" - }, - "order": { - "$ref": "#/components/schemas/_types.aggregations:AggregateOrder" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "shard_size": { - "description": "The number of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", - "type": "number" - }, - "show_term_doc_count_error": { - "description": "Set to `true` to return the `doc_count_error_upper_bound`, which is an upper bound to the error on the `doc_count` returned by each shard.", - "type": "boolean" - }, - "size": { - "description": "The number of buckets returned out of the overall terms list.", - "type": "number" - }, - "format": { - "type": "string" - } - } - } - ] - }, - "_types.aggregations:TopHitsAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" - }, - { - "type": "object", - "properties": { - "docvalue_fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "explain": { - "description": "If `true`, returns detailed information about score computation as part of a hit.", - "type": "boolean" - }, - "from": { - "description": "Starting document offset.", - "type": "number" - }, - "highlight": { - "$ref": "#/components/schemas/_global.search._types:Highlight" - }, - "script_fields": { - "description": "Returns the result of one or more script evaluations for each hit.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ScriptField" - } - }, - "size": { - "description": "The maximum number of top matching hits to return per bucket.", - "type": "number" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" - }, - "_source": { - "$ref": "#/components/schemas/_global.search._types:SourceConfig" - }, - "stored_fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "track_scores": { - "description": "If `true`, calculates and returns document scores, even if the scores are not used for sorting.", - "type": "boolean" - }, - "version": { - "description": "If `true`, returns document version as part of a hit.", - "type": "boolean" - }, - "seq_no_primary_term": { - "description": "If `true`, returns sequence number and primary term of the last modification of each hit.", - "type": "boolean" - } - } - } - ] - }, - "_types.aggregations:TTestAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:Aggregation" - }, - { - "type": "object", - "properties": { - "a": { - "$ref": "#/components/schemas/_types.aggregations:TestPopulation" - }, - "b": { - "$ref": "#/components/schemas/_types.aggregations:TestPopulation" - }, - "type": { - "$ref": "#/components/schemas/_types.aggregations:TTestType" - } - } - } - ] - }, - "_types.aggregations:TestPopulation": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - }, - "required": [ - "field" - ] - }, - "_types.aggregations:TTestType": { - "type": "string", - "enum": [ - "paired", - "homoscedastic", - "heteroscedastic" - ] - }, - "_types.aggregations:TopMetricsAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" - }, - { - "type": "object", - "properties": { - "metrics": { - "description": "The fields of the top document to return.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:TopMetricsValue" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.aggregations:TopMetricsValue" - } - } - ] - }, - "size": { - "description": "The number of top documents from which to return metrics.", - "type": "number" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" - } - } - } - ] - }, - "_types.aggregations:TopMetricsValue": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field" - ] - }, - "_types.aggregations:ValueCountAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:FormattableMetricAggregation" - }, - { - "type": "object" - } - ] - }, - "_types.aggregations:FormattableMetricAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:MetricAggregationBase" - }, - { - "type": "object", - "properties": { - "format": { - "type": "string" - } - } - } - ] - }, - "_types.aggregations:WeightedAverageAggregation": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.aggregations:Aggregation" - }, - { - "type": "object", - "properties": { - "format": { - "description": "A numeric response formatter.", - "type": "string" - }, - "value": { - "$ref": "#/components/schemas/_types.aggregations:WeightedAverageValue" - }, - "value_type": { - "$ref": "#/components/schemas/_types.aggregations:ValueType" - }, - "weight": { - "$ref": "#/components/schemas/_types.aggregations:WeightedAverageValue" - } - } - } - ] - }, - "_types.aggregations:WeightedAverageValue": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "missing": { - "description": "A value or weight to use if the field is missing.", - "type": "number" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - } - } - }, - "_types.aggregations:VariableWidthHistogramAggregation": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "buckets": { - "description": "The target number of buckets.", - "type": "number" - }, - "shard_size": { - "description": "The number of buckets that the coordinating node will request from each shard.\nDefaults to `buckets * 50`.", - "type": "number" - }, - "initial_buffer": { - "description": "Specifies the number of individual documents that will be stored in memory on a shard before the initial bucketing algorithm is run.\nDefaults to `min(10 * shard_size, 50000)`.", - "type": "number" - } - } - }, - "_types:KnnQuery": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "query_vector": { - "$ref": "#/components/schemas/_types:QueryVector" - }, - "query_vector_builder": { - "$ref": "#/components/schemas/_types:QueryVectorBuilder" - }, - "k": { - "description": "The final number of nearest neighbors to return as top hits", - "type": "number" - }, - "num_candidates": { - "description": "The number of nearest neighbor candidates to consider per shard", - "type": "number" - }, - "boost": { - "description": "Boost value to apply to kNN scores", - "type": "number" - }, - "filter": { - "description": "Filters for the kNN search query", - "oneOf": [ - { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - } - ] - } - }, - "required": [ - "field", - "k", - "num_candidates" - ] - }, - "_types:QueryVector": { - "type": "array", - "items": { - "type": "number" - } - }, - "_types:QueryVectorBuilder": { - "type": "object", - "properties": { - "text_embedding": { - "$ref": "#/components/schemas/_types:TextEmbedding" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "_types:TextEmbedding": { - "type": "object", - "properties": { - "model_id": { - "type": "string" - }, - "model_text": { - "type": "string" - } - }, - "required": [ - "model_id", - "model_text" - ] - }, - "_global.search._types:Rescore": { - "type": "object", - "properties": { - "query": { - "$ref": "#/components/schemas/_global.search._types:RescoreQuery" - }, - "window_size": { - "type": "number" - } - }, - "required": [ - "query" - ] - }, - "_global.search._types:RescoreQuery": { - "type": "object", - "properties": { - "rescore_query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "query_weight": { - "description": "Relative importance of the original query versus the rescore query.", - "type": "number" - }, - "rescore_query_weight": { - "description": "Relative importance of the rescore query versus the original query.", - "type": "number" - }, - "score_mode": { - "$ref": "#/components/schemas/_global.search._types:ScoreMode" - } - }, - "required": [ - "rescore_query" - ] - }, - "_global.search._types:ScoreMode": { - "type": "string", - "enum": [ - "avg", - "max", - "min", - "multiply", - "total" - ] - }, - "_types:SlicedScroll": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "max": { - "type": "number" - } - }, - "required": [ - "id", - "max" - ] - }, - "_global.search._types:Suggester": { - "type": "object", - "properties": { - "text": { - "description": "Global suggest text, to avoid repetition when the same text is used in several suggesters", - "type": "string" - } - } - }, - "_global.search._types:PointInTimeReference": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "keep_alive": { - "$ref": "#/components/schemas/_types:Duration" - } - }, - "required": [ - "id" - ] - }, - "_types.mapping:RuntimeFields": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.mapping:RuntimeField" - } - }, - "_types.mapping:RuntimeField": { - "type": "object", - "properties": { - "fetch_fields": { - "description": "For type `lookup`", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFieldFetchFields" - } - }, - "format": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-date-format.html" - }, - "description": "A custom format for `date` type runtime fields.", - "type": "string" - }, - "input_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "target_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "type": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFieldType" - } - }, - "required": [ - "type" - ] - }, - "_types.mapping:RuntimeFieldFetchFields": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "format": { - "type": "string" - } - }, - "required": [ - "field" - ] - }, - "_types.mapping:RuntimeFieldType": { - "type": "string", - "enum": [ - "boolean", - "date", - "double", - "geo_point", - "ip", - "keyword", - "long", - "lookup" - ] - }, - "autoscaling.get_autoscaling_capacity:AutoscalingDeciders": { - "type": "object", - "properties": { - "required_capacity": { - "$ref": "#/components/schemas/autoscaling.get_autoscaling_capacity:AutoscalingCapacity" - }, - "current_capacity": { - "$ref": "#/components/schemas/autoscaling.get_autoscaling_capacity:AutoscalingCapacity" - }, - "current_nodes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/autoscaling.get_autoscaling_capacity:AutoscalingNode" - } - }, - "deciders": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/autoscaling.get_autoscaling_capacity:AutoscalingDecider" - } - } - }, - "required": [ - "required_capacity", - "current_capacity", - "current_nodes", - "deciders" - ] - }, - "autoscaling.get_autoscaling_capacity:AutoscalingCapacity": { - "type": "object", - "properties": { - "node": { - "$ref": "#/components/schemas/autoscaling.get_autoscaling_capacity:AutoscalingResources" - }, - "total": { - "$ref": "#/components/schemas/autoscaling.get_autoscaling_capacity:AutoscalingResources" - } - }, - "required": [ - "node", - "total" - ] - }, - "autoscaling.get_autoscaling_capacity:AutoscalingResources": { - "type": "object", - "properties": { - "storage": { - "type": "number" - }, - "memory": { - "type": "number" - } - }, - "required": [ - "storage", - "memory" - ] - }, - "autoscaling.get_autoscaling_capacity:AutoscalingNode": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:NodeName" - } - }, - "required": [ - "name" - ] - }, - "_types:NodeName": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html" - }, - "type": "string" - }, - "autoscaling.get_autoscaling_capacity:AutoscalingDecider": { - "type": "object", - "properties": { - "required_capacity": { - "$ref": "#/components/schemas/autoscaling.get_autoscaling_capacity:AutoscalingCapacity" - }, - "reason_summary": { - "type": "string" - }, - "reason_details": { - "type": "object" - } - }, - "required": [ - "required_capacity" - ] - }, - "autoscaling._types:AutoscalingPolicy": { - "type": "object", - "properties": { - "roles": { - "type": "array", - "items": { - "type": "string" - } - }, - "deciders": { - "description": "Decider settings", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - }, - "required": [ - "roles", - "deciders" - ] - }, - "_types:Refresh": { - "type": "string", - "enum": [ - "true", - "false", - "wait_for" - ] - }, - "_types:WaitForActiveShards": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "#/components/schemas/_types:WaitForActiveShardOptions" - } - ] - }, - "_types:WaitForActiveShardOptions": { - "type": "string", - "enum": [ - "all", - "index-setting" - ] - }, - "_global.bulk:OperationContainer": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_global.bulk:IndexOperation" - }, - "create": { - "$ref": "#/components/schemas/_global.bulk:CreateOperation" - }, - "update": { - "$ref": "#/components/schemas/_global.bulk:UpdateOperation" - }, - "delete": { - "$ref": "#/components/schemas/_global.bulk:DeleteOperation" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "_global.bulk:IndexOperation": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.bulk:WriteOperation" - }, - { - "type": "object" - } - ] - }, - "_global.bulk:WriteOperation": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.bulk:OperationBase" - }, - { - "type": "object", - "properties": { - "dynamic_templates": { - "description": "A map from the full name of fields to the name of dynamic templates.\nDefaults to an empty map.\nIf a name matches a dynamic template, then that template will be applied regardless of other match predicates defined in the template.\nIf a field is already defined in the mapping, then this parameter won’t be used.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "pipeline": { - "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", - "type": "string" - }, - "require_alias": { - "description": "If `true`, the request’s actions must target an index alias.", - "type": "boolean" - } - } - } - ] - }, - "_global.bulk:OperationBase": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "if_primary_term": { - "type": "number" - }, - "if_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "version_type": { - "$ref": "#/components/schemas/_types:VersionType" - } - } - }, - "_global.bulk:CreateOperation": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.bulk:WriteOperation" - }, - { - "type": "object" - } - ] - }, - "_global.bulk:UpdateOperation": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.bulk:OperationBase" - }, - { - "type": "object", - "properties": { - "require_alias": { - "description": "If `true`, the request’s actions must target an index alias.", - "type": "boolean" - }, - "retry_on_conflict": { - "type": "number" - } - } - } - ] - }, - "_global.bulk:DeleteOperation": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.bulk:OperationBase" - }, - { - "type": "object" - } - ] - }, - "_global.bulk:UpdateAction": { - "type": "object", - "properties": { - "detect_noop": { - "description": "Set to false to disable setting 'result' in the response\nto 'noop' if no change to the document occurred.", - "type": "boolean" - }, - "doc": { - "description": "A partial update to an existing document.", - "type": "object" - }, - "doc_as_upsert": { - "description": "Set to true to use the contents of 'doc' as the value of 'upsert'", - "type": "boolean" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "scripted_upsert": { - "description": "Set to true to execute the script whether or not the document exists.", - "type": "boolean" - }, - "_source": { - "$ref": "#/components/schemas/_global.search._types:SourceConfig" - }, - "upsert": { - "description": "If the document does not already exist, the contents of 'upsert' are inserted as a\nnew document. If the document exists, the 'script' is executed.", - "type": "object" - } - } - }, - "_global.bulk:ResponseItem": { - "type": "object", - "properties": { - "_id": { - "description": "The document ID associated with the operation.", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "_index": { - "description": "Name of the index associated with the operation.\nIf the operation targeted a data stream, this is the backing index into which the document was written.", - "type": "string" - }, - "status": { - "description": "HTTP status code returned for the operation.", - "type": "number" - }, - "error": { - "$ref": "#/components/schemas/_types:ErrorCause" - }, - "_primary_term": { - "description": "The primary term assigned to the document for the operation.", - "type": "number" - }, - "result": { - "description": "Result of the operation.\nSuccessful values are `created`, `deleted`, and `updated`.", - "type": "string" - }, - "_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "_version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "forced_refresh": { - "type": "boolean" - }, - "get": { - "$ref": "#/components/schemas/_types:InlineGetDictUserDefined" - } - }, - "required": [ - "_index", - "status" - ] - }, - "_types:InlineGetDictUserDefined": { - "type": "object", - "properties": { - "fields": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "found": { - "type": "boolean" - }, - "_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "_primary_term": { - "type": "number" - }, - "_routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "_source": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - }, - "required": [ - "found", - "_source" - ] - }, - "_types:Names": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Name" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Name" - } - } - ] - }, - "cat.aliases:AliasesRecord": { - "type": "object", - "properties": { - "alias": { - "description": "alias name", - "type": "string" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "filter": { - "description": "filter", - "type": "string" - }, - "routing.index": { - "description": "index routing", - "type": "string" - }, - "routing.search": { - "description": "search routing", - "type": "string" - }, - "is_write_index": { - "description": "write index", - "type": "string" - } - } - }, - "_types:NodeIds": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:NodeId" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:NodeId" - } - } - ] - }, - "_types:NodeId": { - "type": "string" - }, - "_types:Bytes": { - "type": "string", - "enum": [ - "b", - "kb", - "mb", - "gb", - "tb", - "pb" - ] - }, - "cat.allocation:AllocationRecord": { - "type": "object", - "properties": { - "shards": { - "description": "Number of primary and replica shards assigned to the node.", - "type": "string" - }, - "disk.indices": { - "description": "Disk space used by the node’s shards. Does not include disk space for the translog or unassigned shards.\nIMPORTANT: This metric double-counts disk space for hard-linked files, such as those created when shrinking, splitting, or cloning an index.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:ByteSize" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "disk.used": { - "description": "Total disk space in use.\nElasticsearch retrieves this metric from the node’s operating system (OS).\nThe metric includes disk space for: Elasticsearch, including the translog and unassigned shards; the node’s operating system; any other applications or files on the node.\nUnlike `disk.indices`, this metric does not double-count disk space for hard-linked files.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:ByteSize" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "disk.avail": { - "description": "Free disk space available to Elasticsearch.\nElasticsearch retrieves this metric from the node’s operating system.\nDisk-based shard allocation uses this metric to assign shards to nodes based on available disk space.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:ByteSize" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "disk.total": { - "description": "Total disk space for the node, including in-use and available space.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:ByteSize" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "disk.percent": { - "description": "Total percentage of disk space in use. Calculated as `disk.used / disk.total`.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Percentage" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "host": { - "description": "Network host for the node. Set using the `network.host` setting.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Host" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "ip": { - "description": "IP address and port for the node.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Ip" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "node": { - "description": "Name for the node. Set using the `node.name` setting.", - "type": "string" - } - } - }, - "_types:ByteSize": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/api-conventions.html#byte-units" - }, - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "_types:Percentage": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "_types:Host": { - "type": "string" - }, - "_types:Ip": { - "type": "string" - }, - "cat.component_templates:ComponentTemplate": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "version": { - "type": "string" - }, - "alias_count": { - "type": "string" - }, - "mapping_count": { - "type": "string" - }, - "settings_count": { - "type": "string" - }, - "metadata_count": { - "type": "string" - }, - "included_in": { - "type": "string" - } - }, - "required": [ - "name", - "version", - "alias_count", - "mapping_count", - "settings_count", - "metadata_count", - "included_in" - ] - }, - "cat.count:CountRecord": { - "type": "object", - "properties": { - "epoch": { - "$ref": "#/components/schemas/_spec_utils:StringifiedEpochTimeUnitSeconds" - }, - "timestamp": { - "$ref": "#/components/schemas/_types:TimeOfDay" - }, - "count": { - "description": "the document count", - "type": "string" - } - } - }, - "_spec_utils:StringifiedEpochTimeUnitSeconds": { - "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:EpochTimeUnitSeconds" - }, - { - "type": "string" - } - ] - }, - "_types:EpochTimeUnitSeconds": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:UnitSeconds" - } - ] - }, - "_types:UnitSeconds": { - "description": "Time unit for seconds", - "type": "number" - }, - "_types:TimeOfDay": { - "description": "Time of day, expressed as HH:MM:SS", - "type": "string" - }, - "cat.fielddata:FielddataRecord": { - "type": "object", - "properties": { - "id": { - "description": "node id", - "type": "string" - }, - "host": { - "description": "host name", - "type": "string" - }, - "ip": { - "description": "ip address", - "type": "string" - }, - "node": { - "description": "node name", - "type": "string" - }, - "field": { - "description": "field name", - "type": "string" - }, - "size": { - "description": "field data usage", - "type": "string" - } - } - }, - "_types:TimeUnit": { - "type": "string", - "enum": [ - "nanos", - "micros", - "ms", - "s", - "m", - "h", - "d" - ] - }, - "cat.health:HealthRecord": { - "type": "object", - "properties": { - "epoch": { - "$ref": "#/components/schemas/_spec_utils:StringifiedEpochTimeUnitSeconds" - }, - "timestamp": { - "$ref": "#/components/schemas/_types:TimeOfDay" - }, - "cluster": { - "description": "cluster name", - "type": "string" - }, - "status": { - "description": "health status", - "type": "string" - }, - "node.total": { - "description": "total number of nodes", - "type": "string" - }, - "node.data": { - "description": "number of nodes that can store data", - "type": "string" - }, - "shards": { - "description": "total number of shards", - "type": "string" - }, - "pri": { - "description": "number of primary shards", - "type": "string" - }, - "relo": { - "description": "number of relocating nodes", - "type": "string" - }, - "init": { - "description": "number of initializing nodes", - "type": "string" - }, - "unassign": { - "description": "number of unassigned shards", - "type": "string" - }, - "pending_tasks": { - "description": "number of pending tasks", - "type": "string" - }, - "max_task_wait_time": { - "description": "wait time of longest task pending", - "type": "string" - }, - "active_shards_percent": { - "description": "active number of shards in percent", - "type": "string" - } - } - }, - "cat.help:HelpRecord": { - "type": "object", - "properties": { - "endpoint": { - "type": "string" - } - }, - "required": [ - "endpoint" - ] - }, - "_types:HealthStatus": { - "type": "string", - "enum": [ - "green", - "yellow", - "red" - ] - }, - "cat.indices:IndicesRecord": { - "type": "object", - "properties": { - "health": { - "description": "current health status", - "type": "string" - }, - "status": { - "description": "open/close status", - "type": "string" - }, - "index": { - "description": "index name", - "type": "string" - }, - "uuid": { - "description": "index uuid", - "type": "string" - }, - "pri": { - "description": "number of primary shards", - "type": "string" - }, - "rep": { - "description": "number of replica shards", - "type": "string" - }, - "docs.count": { - "description": "available docs", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "docs.deleted": { - "description": "deleted docs", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "creation.date": { - "description": "index creation date (millisecond value)", - "type": "string" - }, - "creation.date.string": { - "description": "index creation date (as string)", - "type": "string" - }, - "store.size": { - "description": "store size of primaries & replicas", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "pri.store.size": { - "description": "store size of primaries", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "completion.size": { - "description": "size of completion", - "type": "string" - }, - "pri.completion.size": { - "description": "size of completion", - "type": "string" - }, - "fielddata.memory_size": { - "description": "used fielddata cache", - "type": "string" - }, - "pri.fielddata.memory_size": { - "description": "used fielddata cache", - "type": "string" - }, - "fielddata.evictions": { - "description": "fielddata evictions", - "type": "string" - }, - "pri.fielddata.evictions": { - "description": "fielddata evictions", - "type": "string" - }, - "query_cache.memory_size": { - "description": "used query cache", - "type": "string" - }, - "pri.query_cache.memory_size": { - "description": "used query cache", - "type": "string" - }, - "query_cache.evictions": { - "description": "query cache evictions", - "type": "string" - }, - "pri.query_cache.evictions": { - "description": "query cache evictions", - "type": "string" - }, - "request_cache.memory_size": { - "description": "used request cache", - "type": "string" - }, - "pri.request_cache.memory_size": { - "description": "used request cache", - "type": "string" - }, - "request_cache.evictions": { - "description": "request cache evictions", - "type": "string" - }, - "pri.request_cache.evictions": { - "description": "request cache evictions", - "type": "string" - }, - "request_cache.hit_count": { - "description": "request cache hit count", - "type": "string" - }, - "pri.request_cache.hit_count": { - "description": "request cache hit count", - "type": "string" - }, - "request_cache.miss_count": { - "description": "request cache miss count", - "type": "string" - }, - "pri.request_cache.miss_count": { - "description": "request cache miss count", - "type": "string" - }, - "flush.total": { - "description": "number of flushes", - "type": "string" - }, - "pri.flush.total": { - "description": "number of flushes", - "type": "string" - }, - "flush.total_time": { - "description": "time spent in flush", - "type": "string" - }, - "pri.flush.total_time": { - "description": "time spent in flush", - "type": "string" - }, - "get.current": { - "description": "number of current get ops", - "type": "string" - }, - "pri.get.current": { - "description": "number of current get ops", - "type": "string" - }, - "get.time": { - "description": "time spent in get", - "type": "string" - }, - "pri.get.time": { - "description": "time spent in get", - "type": "string" - }, - "get.total": { - "description": "number of get ops", - "type": "string" - }, - "pri.get.total": { - "description": "number of get ops", - "type": "string" - }, - "get.exists_time": { - "description": "time spent in successful gets", - "type": "string" - }, - "pri.get.exists_time": { - "description": "time spent in successful gets", - "type": "string" - }, - "get.exists_total": { - "description": "number of successful gets", - "type": "string" - }, - "pri.get.exists_total": { - "description": "number of successful gets", - "type": "string" - }, - "get.missing_time": { - "description": "time spent in failed gets", - "type": "string" - }, - "pri.get.missing_time": { - "description": "time spent in failed gets", - "type": "string" - }, - "get.missing_total": { - "description": "number of failed gets", - "type": "string" - }, - "pri.get.missing_total": { - "description": "number of failed gets", - "type": "string" - }, - "indexing.delete_current": { - "description": "number of current deletions", - "type": "string" - }, - "pri.indexing.delete_current": { - "description": "number of current deletions", - "type": "string" - }, - "indexing.delete_time": { - "description": "time spent in deletions", - "type": "string" - }, - "pri.indexing.delete_time": { - "description": "time spent in deletions", - "type": "string" - }, - "indexing.delete_total": { - "description": "number of delete ops", - "type": "string" - }, - "pri.indexing.delete_total": { - "description": "number of delete ops", - "type": "string" - }, - "indexing.index_current": { - "description": "number of current indexing ops", - "type": "string" - }, - "pri.indexing.index_current": { - "description": "number of current indexing ops", - "type": "string" - }, - "indexing.index_time": { - "description": "time spent in indexing", - "type": "string" - }, - "pri.indexing.index_time": { - "description": "time spent in indexing", - "type": "string" - }, - "indexing.index_total": { - "description": "number of indexing ops", - "type": "string" - }, - "pri.indexing.index_total": { - "description": "number of indexing ops", - "type": "string" - }, - "indexing.index_failed": { - "description": "number of failed indexing ops", - "type": "string" - }, - "pri.indexing.index_failed": { - "description": "number of failed indexing ops", - "type": "string" - }, - "merges.current": { - "description": "number of current merges", - "type": "string" - }, - "pri.merges.current": { - "description": "number of current merges", - "type": "string" - }, - "merges.current_docs": { - "description": "number of current merging docs", - "type": "string" - }, - "pri.merges.current_docs": { - "description": "number of current merging docs", - "type": "string" - }, - "merges.current_size": { - "description": "size of current merges", - "type": "string" - }, - "pri.merges.current_size": { - "description": "size of current merges", - "type": "string" - }, - "merges.total": { - "description": "number of completed merge ops", - "type": "string" - }, - "pri.merges.total": { - "description": "number of completed merge ops", - "type": "string" - }, - "merges.total_docs": { - "description": "docs merged", - "type": "string" - }, - "pri.merges.total_docs": { - "description": "docs merged", - "type": "string" - }, - "merges.total_size": { - "description": "size merged", - "type": "string" - }, - "pri.merges.total_size": { - "description": "size merged", - "type": "string" - }, - "merges.total_time": { - "description": "time spent in merges", - "type": "string" - }, - "pri.merges.total_time": { - "description": "time spent in merges", - "type": "string" - }, - "refresh.total": { - "description": "total refreshes", - "type": "string" - }, - "pri.refresh.total": { - "description": "total refreshes", - "type": "string" - }, - "refresh.time": { - "description": "time spent in refreshes", - "type": "string" - }, - "pri.refresh.time": { - "description": "time spent in refreshes", - "type": "string" - }, - "refresh.external_total": { - "description": "total external refreshes", - "type": "string" - }, - "pri.refresh.external_total": { - "description": "total external refreshes", - "type": "string" - }, - "refresh.external_time": { - "description": "time spent in external refreshes", - "type": "string" - }, - "pri.refresh.external_time": { - "description": "time spent in external refreshes", - "type": "string" - }, - "refresh.listeners": { - "description": "number of pending refresh listeners", - "type": "string" - }, - "pri.refresh.listeners": { - "description": "number of pending refresh listeners", - "type": "string" - }, - "search.fetch_current": { - "description": "current fetch phase ops", - "type": "string" - }, - "pri.search.fetch_current": { - "description": "current fetch phase ops", - "type": "string" - }, - "search.fetch_time": { - "description": "time spent in fetch phase", - "type": "string" - }, - "pri.search.fetch_time": { - "description": "time spent in fetch phase", - "type": "string" - }, - "search.fetch_total": { - "description": "total fetch ops", - "type": "string" - }, - "pri.search.fetch_total": { - "description": "total fetch ops", - "type": "string" - }, - "search.open_contexts": { - "description": "open search contexts", - "type": "string" - }, - "pri.search.open_contexts": { - "description": "open search contexts", - "type": "string" - }, - "search.query_current": { - "description": "current query phase ops", - "type": "string" - }, - "pri.search.query_current": { - "description": "current query phase ops", - "type": "string" - }, - "search.query_time": { - "description": "time spent in query phase", - "type": "string" - }, - "pri.search.query_time": { - "description": "time spent in query phase", - "type": "string" - }, - "search.query_total": { - "description": "total query phase ops", - "type": "string" - }, - "pri.search.query_total": { - "description": "total query phase ops", - "type": "string" - }, - "search.scroll_current": { - "description": "open scroll contexts", - "type": "string" - }, - "pri.search.scroll_current": { - "description": "open scroll contexts", - "type": "string" - }, - "search.scroll_time": { - "description": "time scroll contexts held open", - "type": "string" - }, - "pri.search.scroll_time": { - "description": "time scroll contexts held open", - "type": "string" - }, - "search.scroll_total": { - "description": "completed scroll contexts", - "type": "string" - }, - "pri.search.scroll_total": { - "description": "completed scroll contexts", - "type": "string" - }, - "segments.count": { - "description": "number of segments", - "type": "string" - }, - "pri.segments.count": { - "description": "number of segments", - "type": "string" - }, - "segments.memory": { - "description": "memory used by segments", - "type": "string" - }, - "pri.segments.memory": { - "description": "memory used by segments", - "type": "string" - }, - "segments.index_writer_memory": { - "description": "memory used by index writer", - "type": "string" - }, - "pri.segments.index_writer_memory": { - "description": "memory used by index writer", - "type": "string" - }, - "segments.version_map_memory": { - "description": "memory used by version map", - "type": "string" - }, - "pri.segments.version_map_memory": { - "description": "memory used by version map", - "type": "string" - }, - "segments.fixed_bitset_memory": { - "description": "memory used by fixed bit sets for nested object field types and export type filters for types referred in _parent fields", - "type": "string" - }, - "pri.segments.fixed_bitset_memory": { - "description": "memory used by fixed bit sets for nested object field types and export type filters for types referred in _parent fields", - "type": "string" - }, - "warmer.current": { - "description": "current warmer ops", - "type": "string" - }, - "pri.warmer.current": { - "description": "current warmer ops", - "type": "string" - }, - "warmer.total": { - "description": "total warmer ops", - "type": "string" - }, - "pri.warmer.total": { - "description": "total warmer ops", - "type": "string" - }, - "warmer.total_time": { - "description": "time spent in warmers", - "type": "string" - }, - "pri.warmer.total_time": { - "description": "time spent in warmers", - "type": "string" - }, - "suggest.current": { - "description": "number of current suggest ops", - "type": "string" - }, - "pri.suggest.current": { - "description": "number of current suggest ops", - "type": "string" - }, - "suggest.time": { - "description": "time spend in suggest", - "type": "string" - }, - "pri.suggest.time": { - "description": "time spend in suggest", - "type": "string" - }, - "suggest.total": { - "description": "number of suggest ops", - "type": "string" - }, - "pri.suggest.total": { - "description": "number of suggest ops", - "type": "string" - }, - "memory.total": { - "description": "total used memory", - "type": "string" - }, - "pri.memory.total": { - "description": "total user memory", - "type": "string" - }, - "search.throttled": { - "description": "indicates if the index is search throttled", - "type": "string" - }, - "bulk.total_operations": { - "description": "number of bulk shard ops", - "type": "string" - }, - "pri.bulk.total_operations": { - "description": "number of bulk shard ops", - "type": "string" - }, - "bulk.total_time": { - "description": "time spend in shard bulk", - "type": "string" - }, - "pri.bulk.total_time": { - "description": "time spend in shard bulk", - "type": "string" - }, - "bulk.total_size_in_bytes": { - "description": "total size in bytes of shard bulk", - "type": "string" - }, - "pri.bulk.total_size_in_bytes": { - "description": "total size in bytes of shard bulk", - "type": "string" - }, - "bulk.avg_time": { - "description": "average time spend in shard bulk", - "type": "string" - }, - "pri.bulk.avg_time": { - "description": "average time spend in shard bulk", - "type": "string" - }, - "bulk.avg_size_in_bytes": { - "description": "average size in bytes of shard bulk", - "type": "string" - }, - "pri.bulk.avg_size_in_bytes": { - "description": "average size in bytes of shard bulk", - "type": "string" - } - } - }, - "cat.master:MasterRecord": { - "type": "object", - "properties": { - "id": { - "description": "node id", - "type": "string" - }, - "host": { - "description": "host name", - "type": "string" - }, - "ip": { - "description": "ip address", - "type": "string" - }, - "node": { - "description": "node name", - "type": "string" - } - } - }, - "cat._types:CatDfaColumns": { - "oneOf": [ - { - "$ref": "#/components/schemas/cat._types:CatDfaColumn" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat._types:CatDfaColumn" - } - } - ] - }, - "cat._types:CatDfaColumn": { - "type": "string", - "enum": [ - "assignment_explanation", - "create_time", - "description", - "dest_index", - "failure_reason", - "id", - "model_memory_limit", - "node.address", - "node.ephemeral_id", - "node.id", - "node.name", - "progress", - "source_index", - "state", - "type", - "version" - ] - }, - "cat.ml_data_frame_analytics:DataFrameAnalyticsRecord": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "type": { - "description": "The type of analysis that the job performs.", - "type": "string" - }, - "create_time": { - "description": "The time when the job was created.", - "type": "string" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "source_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "dest_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "description": { - "description": "A description of the job.", - "type": "string" - }, - "model_memory_limit": { - "description": "The approximate maximum amount of memory resources that are permitted for the job.", - "type": "string" - }, - "state": { - "description": "The current status of the job.", - "type": "string" - }, - "failure_reason": { - "description": "Messages about the reason why the job failed.", - "type": "string" - }, - "progress": { - "description": "The progress report for the job by phase.", - "type": "string" - }, - "assignment_explanation": { - "description": "Messages related to the selection of a node.", - "type": "string" - }, - "node.id": { - "$ref": "#/components/schemas/_types:Id" - }, - "node.name": { - "$ref": "#/components/schemas/_types:Name" - }, - "node.ephemeral_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "node.address": { - "description": "The network address of the assigned node.", - "type": "string" - } - } - }, - "cat._types:CatDatafeedColumns": { - "oneOf": [ - { - "$ref": "#/components/schemas/cat._types:CatDatafeedColumn" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat._types:CatDatafeedColumn" - } - } - ] - }, - "cat._types:CatDatafeedColumn": { - "type": "string", - "enum": [ - "ae", - "bc", - "id", - "na", - "ne", - "ni", - "nn", - "sba", - "sc", - "seah", - "st", - "s" - ] - }, - "cat.ml_datafeeds:DatafeedsRecord": { - "type": "object", - "properties": { - "id": { - "description": "The datafeed identifier.", - "type": "string" - }, - "state": { - "$ref": "#/components/schemas/ml._types:DatafeedState" - }, - "assignment_explanation": { - "description": "For started datafeeds only, contains messages relating to the selection of a node.", - "type": "string" - }, - "buckets.count": { - "description": "The number of buckets processed.", - "type": "string" - }, - "search.count": { - "description": "The number of searches run by the datafeed.", - "type": "string" - }, - "search.time": { - "description": "The total time the datafeed spent searching, in milliseconds.", - "type": "string" - }, - "search.bucket_avg": { - "description": "The average search time per bucket, in milliseconds.", - "type": "string" - }, - "search.exp_avg_hour": { - "description": "The exponential average search time per hour, in milliseconds.", - "type": "string" - }, - "node.id": { - "description": "The unique identifier of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", - "type": "string" - }, - "node.name": { - "description": "The name of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", - "type": "string" - }, - "node.ephemeral_id": { - "description": "The ephemeral identifier of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", - "type": "string" - }, - "node.address": { - "description": "The network address of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", - "type": "string" - } - } - }, - "ml._types:DatafeedState": { - "type": "string", - "enum": [ - "started", - "stopped", - "starting", - "stopping" - ] - }, - "cat._types:CatAnonalyDetectorColumns": { - "oneOf": [ - { - "$ref": "#/components/schemas/cat._types:CatAnomalyDetectorColumn" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat._types:CatAnomalyDetectorColumn" - } - } - ] - }, - "cat._types:CatAnomalyDetectorColumn": { - "type": "string", - "enum": [ - "assignment_explanation", - "buckets.count", - "buckets.time.exp_avg", - "buckets.time.exp_avg_hour", - "buckets.time.max", - "buckets.time.min", - "buckets.time.total", - "data.buckets", - "data.earliest_record", - "data.empty_buckets", - "data.input_bytes", - "data.input_fields", - "data.input_records", - "data.invalid_dates", - "data.last", - "data.last_empty_bucket", - "data.last_sparse_bucket", - "data.latest_record", - "data.missing_fields", - "data.out_of_order_timestamps", - "data.processed_fields", - "data.processed_records", - "data.sparse_buckets", - "forecasts.memory.avg", - "forecasts.memory.max", - "forecasts.memory.min", - "forecasts.memory.total", - "forecasts.records.avg", - "forecasts.records.max", - "forecasts.records.min", - "forecasts.records.total", - "forecasts.time.avg", - "forecasts.time.max", - "forecasts.time.min", - "forecasts.time.total", - "forecasts.total", - "id", - "model.bucket_allocation_failures", - "model.by_fields", - "model.bytes", - "model.bytes_exceeded", - "model.categorization_status", - "model.categorized_doc_count", - "model.dead_category_count", - "model.failed_category_count", - "model.frequent_category_count", - "model.log_time", - "model.memory_limit", - "model.memory_status", - "model.over_fields", - "model.partition_fields", - "model.rare_category_count", - "model.timestamp", - "model.total_category_count", - "node.address", - "node.ephemeral_id", - "node.id", - "node.name", - "opened_time", - "state" - ] - }, - "cat.ml_jobs:JobsRecord": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "state": { - "$ref": "#/components/schemas/ml._types:JobState" - }, - "opened_time": { - "description": "For open jobs only, the amount of time the job has been opened.", - "type": "string" - }, - "assignment_explanation": { - "description": "For open anomaly detection jobs only, contains messages relating to the selection of a node to run the job.", - "type": "string" - }, - "data.processed_records": { - "description": "The number of input documents that have been processed by the anomaly detection job.\nThis value includes documents with missing fields, since they are nonetheless analyzed.\nIf you use datafeeds and have aggregations in your search query, the `processed_record_count` is the number of aggregation results processed, not the number of Elasticsearch documents.", - "type": "string" - }, - "data.processed_fields": { - "description": "The total number of fields in all the documents that have been processed by the anomaly detection job.\nOnly fields that are specified in the detector configuration object contribute to this count.\nThe timestamp is not included in this count.", - "type": "string" - }, - "data.input_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "data.input_records": { - "description": "The number of input documents posted to the anomaly detection job.", - "type": "string" - }, - "data.input_fields": { - "description": "The total number of fields in input documents posted to the anomaly detection job.\nThis count includes fields that are not used in the analysis.\nHowever, be aware that if you are using a datafeed, it extracts only the required fields from the documents it retrieves before posting them to the job.", - "type": "string" - }, - "data.invalid_dates": { - "description": "The number of input documents with either a missing date field or a date that could not be parsed.", - "type": "string" - }, - "data.missing_fields": { - "description": "The number of input documents that are missing a field that the anomaly detection job is configured to analyze.\nInput documents with missing fields are still processed because it is possible that not all fields are missing.\nIf you are using datafeeds or posting data to the job in JSON format, a high `missing_field_count` is often not an indication of data issues.\nIt is not necessarily a cause for concern.", - "type": "string" - }, - "data.out_of_order_timestamps": { - "description": "The number of input documents that have a timestamp chronologically preceding the start of the current anomaly detection bucket offset by the latency window.\nThis information is applicable only when you provide data to the anomaly detection job by using the post data API.\nThese out of order documents are discarded, since jobs require time series data to be in ascending chronological order.", - "type": "string" - }, - "data.empty_buckets": { - "description": "The number of buckets which did not contain any data.\nIf your data contains many empty buckets, consider increasing your `bucket_span` or using functions that are tolerant to gaps in data such as mean, `non_null_sum` or `non_zero_count`.", - "type": "string" - }, - "data.sparse_buckets": { - "description": "The number of buckets that contained few data points compared to the expected number of data points.\nIf your data contains many sparse buckets, consider using a longer `bucket_span`.", - "type": "string" - }, - "data.buckets": { - "description": "The total number of buckets processed.", - "type": "string" - }, - "data.earliest_record": { - "description": "The timestamp of the earliest chronologically input document.", - "type": "string" - }, - "data.latest_record": { - "description": "The timestamp of the latest chronologically input document.", - "type": "string" - }, - "data.last": { - "description": "The timestamp at which data was last analyzed, according to server time.", - "type": "string" - }, - "data.last_empty_bucket": { - "description": "The timestamp of the last bucket that did not contain any data.", - "type": "string" - }, - "data.last_sparse_bucket": { - "description": "The timestamp of the last bucket that was considered sparse.", - "type": "string" - }, - "model.bytes": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "model.memory_status": { - "$ref": "#/components/schemas/ml._types:MemoryStatus" - }, - "model.bytes_exceeded": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "model.memory_limit": { - "description": "The upper limit for model memory usage, checked on increasing values.", - "type": "string" - }, - "model.by_fields": { - "description": "The number of `by` field values that were analyzed by the models.\nThis value is cumulative for all detectors in the job.", - "type": "string" - }, - "model.over_fields": { - "description": "The number of `over` field values that were analyzed by the models.\nThis value is cumulative for all detectors in the job.", - "type": "string" - }, - "model.partition_fields": { - "description": "The number of `partition` field values that were analyzed by the models.\nThis value is cumulative for all detectors in the job.", - "type": "string" - }, - "model.bucket_allocation_failures": { - "description": "The number of buckets for which new entities in incoming data were not processed due to insufficient model memory.\nThis situation is also signified by a `hard_limit: memory_status` property value.", - "type": "string" - }, - "model.categorization_status": { - "$ref": "#/components/schemas/ml._types:CategorizationStatus" - }, - "model.categorized_doc_count": { - "description": "The number of documents that have had a field categorized.", - "type": "string" - }, - "model.total_category_count": { - "description": "The number of categories created by categorization.", - "type": "string" - }, - "model.frequent_category_count": { - "description": "The number of categories that match more than 1% of categorized documents.", - "type": "string" - }, - "model.rare_category_count": { - "description": "The number of categories that match just one categorized document.", - "type": "string" - }, - "model.dead_category_count": { - "description": "The number of categories created by categorization that will never be assigned again because another category’s definition makes it a superset of the dead category.\nDead categories are a side effect of the way categorization has no prior training.", - "type": "string" - }, - "model.failed_category_count": { - "description": "The number of times that categorization wanted to create a new category but couldn’t because the job had hit its `model_memory_limit`.\nThis count does not track which specific categories failed to be created.\nTherefore you cannot use this value to determine the number of unique categories that were missed.", - "type": "string" - }, - "model.log_time": { - "description": "The timestamp when the model stats were gathered, according to server time.", - "type": "string" - }, - "model.timestamp": { - "description": "The timestamp of the last record when the model stats were gathered.", - "type": "string" - }, - "forecasts.total": { - "description": "The number of individual forecasts currently available for the job.\nA value of one or more indicates that forecasts exist.", - "type": "string" - }, - "forecasts.memory.min": { - "description": "The minimum memory usage in bytes for forecasts related to the anomaly detection job.", - "type": "string" - }, - "forecasts.memory.max": { - "description": "The maximum memory usage in bytes for forecasts related to the anomaly detection job.", - "type": "string" - }, - "forecasts.memory.avg": { - "description": "The average memory usage in bytes for forecasts related to the anomaly detection job.", - "type": "string" - }, - "forecasts.memory.total": { - "description": "The total memory usage in bytes for forecasts related to the anomaly detection job.", - "type": "string" - }, - "forecasts.records.min": { - "description": "The minimum number of `model_forecast` documents written for forecasts related to the anomaly detection job.", - "type": "string" - }, - "forecasts.records.max": { - "description": "The maximum number of `model_forecast` documents written for forecasts related to the anomaly detection job.", - "type": "string" - }, - "forecasts.records.avg": { - "description": "The average number of `model_forecast` documents written for forecasts related to the anomaly detection job.", - "type": "string" - }, - "forecasts.records.total": { - "description": "The total number of `model_forecast` documents written for forecasts related to the anomaly detection job.", - "type": "string" - }, - "forecasts.time.min": { - "description": "The minimum runtime in milliseconds for forecasts related to the anomaly detection job.", - "type": "string" - }, - "forecasts.time.max": { - "description": "The maximum runtime in milliseconds for forecasts related to the anomaly detection job.", - "type": "string" - }, - "forecasts.time.avg": { - "description": "The average runtime in milliseconds for forecasts related to the anomaly detection job.", - "type": "string" - }, - "forecasts.time.total": { - "description": "The total runtime in milliseconds for forecasts related to the anomaly detection job.", - "type": "string" - }, - "node.id": { - "$ref": "#/components/schemas/_types:NodeId" - }, - "node.name": { - "description": "The name of the assigned node.", - "type": "string" - }, - "node.ephemeral_id": { - "$ref": "#/components/schemas/_types:NodeId" - }, - "node.address": { - "description": "The network address of the assigned node.", - "type": "string" - }, - "buckets.count": { - "description": "The number of bucket results produced by the job.", - "type": "string" - }, - "buckets.time.total": { - "description": "The sum of all bucket processing times, in milliseconds.", - "type": "string" - }, - "buckets.time.min": { - "description": "The minimum of all bucket processing times, in milliseconds.", - "type": "string" - }, - "buckets.time.max": { - "description": "The maximum of all bucket processing times, in milliseconds.", - "type": "string" - }, - "buckets.time.exp_avg": { - "description": "The exponential moving average of all bucket processing times, in milliseconds.", - "type": "string" - }, - "buckets.time.exp_avg_hour": { - "description": "The exponential moving average of bucket processing times calculated in a one hour time window, in milliseconds.", - "type": "string" - } - } - }, - "ml._types:JobState": { - "type": "string", - "enum": [ - "closing", - "closed", - "opened", - "failed", - "opening" - ] - }, - "ml._types:MemoryStatus": { - "type": "string", - "enum": [ - "ok", - "soft_limit", - "hard_limit" - ] - }, - "ml._types:CategorizationStatus": { - "type": "string", - "enum": [ - "ok", - "warn" - ] - }, - "cat._types:CatTrainedModelsColumns": { - "oneOf": [ - { - "$ref": "#/components/schemas/cat._types:CatTrainedModelsColumn" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat._types:CatTrainedModelsColumn" - } - } - ] - }, - "cat._types:CatTrainedModelsColumn": { - "type": "string", - "enum": [ - "create_time", - "created_by", - "data_frame_analytics_id", - "description", - "heap_size", - "id", - "ingest.count", - "ingest.current", - "ingest.failed", - "ingest.pipelines", - "ingest.time", - "license", - "operations", - "version" - ] - }, - "cat.ml_trained_models:TrainedModelsRecord": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "created_by": { - "description": "Information about the creator of the model.", - "type": "string" - }, - "heap_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "operations": { - "description": "The estimated number of operations to use the model.\nThis number helps to measure the computational complexity of the model.", - "type": "string" - }, - "license": { - "description": "The license level of the model.", - "type": "string" - }, - "create_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "description": { - "description": "A description of the model.", - "type": "string" - }, - "ingest.pipelines": { - "description": "The number of pipelines that are referencing the model.", - "type": "string" - }, - "ingest.count": { - "description": "The total number of documents that are processed by the model.", - "type": "string" - }, - "ingest.time": { - "description": "The total time spent processing documents with thie model.", - "type": "string" - }, - "ingest.current": { - "description": "The total number of documents that are currently being handled by the model.", - "type": "string" - }, - "ingest.failed": { - "description": "The total number of failed ingest attempts with the model.", - "type": "string" - }, - "data_frame.id": { - "description": "The identifier for the data frame analytics job that created the model.\nOnly displayed if the job is still available.", - "type": "string" - }, - "data_frame.create_time": { - "description": "The time the data frame analytics job was created.", - "type": "string" - }, - "data_frame.source_index": { - "description": "The source index used to train in the data frame analysis.", - "type": "string" - }, - "data_frame.analysis": { - "description": "The analysis used by the data frame to build the model.", - "type": "string" - }, - "type": { - "type": "string" - } - } - }, - "cat.nodeattrs:NodeAttributesRecord": { - "type": "object", - "properties": { - "node": { - "description": "The node name.", - "type": "string" - }, - "id": { - "description": "The unique node identifier.", - "type": "string" - }, - "pid": { - "description": "The process identifier.", - "type": "string" - }, - "host": { - "description": "The host name.", - "type": "string" - }, - "ip": { - "description": "The IP address.", - "type": "string" - }, - "port": { - "description": "The bound transport port.", - "type": "string" - }, - "attr": { - "description": "The attribute name.", - "type": "string" - }, - "value": { - "description": "The attribute value.", - "type": "string" - } - } - }, - "cat.nodes:NodesRecord": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "pid": { - "description": "The process identifier.", - "type": "string" - }, - "ip": { - "description": "The IP address.", - "type": "string" - }, - "port": { - "description": "The bound transport port.", - "type": "string" - }, - "http_address": { - "description": "The bound HTTP address.", - "type": "string" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "flavor": { - "description": "The Elasticsearch distribution flavor.", - "type": "string" - }, - "type": { - "description": "The Elasticsearch distribution type.", - "type": "string" - }, - "build": { - "description": "The Elasticsearch build hash.", - "type": "string" - }, - "jdk": { - "description": "The Java version.", - "type": "string" - }, - "disk.total": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "disk.used": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "disk.avail": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "disk.used_percent": { - "$ref": "#/components/schemas/_types:Percentage" - }, - "heap.current": { - "description": "The used heap.", - "type": "string" - }, - "heap.percent": { - "$ref": "#/components/schemas/_types:Percentage" - }, - "heap.max": { - "description": "The maximum configured heap.", - "type": "string" - }, - "ram.current": { - "description": "The used machine memory.", - "type": "string" - }, - "ram.percent": { - "$ref": "#/components/schemas/_types:Percentage" - }, - "ram.max": { - "description": "The total machine memory.", - "type": "string" - }, - "file_desc.current": { - "description": "The used file descriptors.", - "type": "string" - }, - "file_desc.percent": { - "$ref": "#/components/schemas/_types:Percentage" - }, - "file_desc.max": { - "description": "The maximum number of file descriptors.", - "type": "string" - }, - "cpu": { - "description": "The recent system CPU usage as a percentage.", - "type": "string" - }, - "load_1m": { - "description": "The load average for the most recent minute.", - "type": "string" - }, - "load_5m": { - "description": "The load average for the last five minutes.", - "type": "string" - }, - "load_15m": { - "description": "The load average for the last fifteen minutes.", - "type": "string" - }, - "uptime": { - "description": "The node uptime.", - "type": "string" - }, - "node.role": { - "description": "The roles of the node.\nReturned values include `c`(cold node), `d`(data node), `f`(frozen node), `h`(hot node), `i`(ingest node), `l`(machine learning node), `m` (master eligible node), `r`(remote cluster client node), `s`(content node), `t`(transform node), `v`(voting-only node), `w`(warm node),and `-`(coordinating node only).", - "type": "string" - }, - "master": { - "description": "Indicates whether the node is the elected master node.\nReturned values include `*`(elected master) and `-`(not elected master).", - "type": "string" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "completion.size": { - "description": "The size of completion.", - "type": "string" - }, - "fielddata.memory_size": { - "description": "The used fielddata cache.", - "type": "string" - }, - "fielddata.evictions": { - "description": "The fielddata evictions.", - "type": "string" - }, - "query_cache.memory_size": { - "description": "The used query cache.", - "type": "string" - }, - "query_cache.evictions": { - "description": "The query cache evictions.", - "type": "string" - }, - "query_cache.hit_count": { - "description": "The query cache hit counts.", - "type": "string" - }, - "query_cache.miss_count": { - "description": "The query cache miss counts.", - "type": "string" - }, - "request_cache.memory_size": { - "description": "The used request cache.", - "type": "string" - }, - "request_cache.evictions": { - "description": "The request cache evictions.", - "type": "string" - }, - "request_cache.hit_count": { - "description": "The request cache hit counts.", - "type": "string" - }, - "request_cache.miss_count": { - "description": "The request cache miss counts.", - "type": "string" - }, - "flush.total": { - "description": "The number of flushes.", - "type": "string" - }, - "flush.total_time": { - "description": "The time spent in flush.", - "type": "string" - }, - "get.current": { - "description": "The number of current get ops.", - "type": "string" - }, - "get.time": { - "description": "The time spent in get.", - "type": "string" - }, - "get.total": { - "description": "The number of get ops.", - "type": "string" - }, - "get.exists_time": { - "description": "The time spent in successful gets.", - "type": "string" - }, - "get.exists_total": { - "description": "The number of successful get operations.", - "type": "string" - }, - "get.missing_time": { - "description": "The time spent in failed gets.", - "type": "string" - }, - "get.missing_total": { - "description": "The number of failed gets.", - "type": "string" - }, - "indexing.delete_current": { - "description": "The number of current deletions.", - "type": "string" - }, - "indexing.delete_time": { - "description": "The time spent in deletions.", - "type": "string" - }, - "indexing.delete_total": { - "description": "The number of delete operations.", - "type": "string" - }, - "indexing.index_current": { - "description": "The number of current indexing operations.", - "type": "string" - }, - "indexing.index_time": { - "description": "The time spent in indexing.", - "type": "string" - }, - "indexing.index_total": { - "description": "The number of indexing operations.", - "type": "string" - }, - "indexing.index_failed": { - "description": "The number of failed indexing operations.", - "type": "string" - }, - "merges.current": { - "description": "The number of current merges.", - "type": "string" - }, - "merges.current_docs": { - "description": "The number of current merging docs.", - "type": "string" - }, - "merges.current_size": { - "description": "The size of current merges.", - "type": "string" - }, - "merges.total": { - "description": "The number of completed merge operations.", - "type": "string" - }, - "merges.total_docs": { - "description": "The docs merged.", - "type": "string" - }, - "merges.total_size": { - "description": "The size merged.", - "type": "string" - }, - "merges.total_time": { - "description": "The time spent in merges.", - "type": "string" - }, - "refresh.total": { - "description": "The total refreshes.", - "type": "string" - }, - "refresh.time": { - "description": "The time spent in refreshes.", - "type": "string" - }, - "refresh.external_total": { - "description": "The total external refreshes.", - "type": "string" - }, - "refresh.external_time": { - "description": "The time spent in external refreshes.", - "type": "string" - }, - "refresh.listeners": { - "description": "The number of pending refresh listeners.", - "type": "string" - }, - "script.compilations": { - "description": "The total script compilations.", - "type": "string" - }, - "script.cache_evictions": { - "description": "The total compiled scripts evicted from the cache.", - "type": "string" - }, - "script.compilation_limit_triggered": { - "description": "The script cache compilation limit triggered.", - "type": "string" - }, - "search.fetch_current": { - "description": "The current fetch phase operations.", - "type": "string" - }, - "search.fetch_time": { - "description": "The time spent in fetch phase.", - "type": "string" - }, - "search.fetch_total": { - "description": "The total fetch operations.", - "type": "string" - }, - "search.open_contexts": { - "description": "The open search contexts.", - "type": "string" - }, - "search.query_current": { - "description": "The current query phase operations.", - "type": "string" - }, - "search.query_time": { - "description": "The time spent in query phase.", - "type": "string" - }, - "search.query_total": { - "description": "The total query phase operations.", - "type": "string" - }, - "search.scroll_current": { - "description": "The open scroll contexts.", - "type": "string" - }, - "search.scroll_time": { - "description": "The time scroll contexts held open.", - "type": "string" - }, - "search.scroll_total": { - "description": "The completed scroll contexts.", - "type": "string" - }, - "segments.count": { - "description": "The number of segments.", - "type": "string" - }, - "segments.memory": { - "description": "The memory used by segments.", - "type": "string" - }, - "segments.index_writer_memory": { - "description": "The memory used by the index writer.", - "type": "string" - }, - "segments.version_map_memory": { - "description": "The memory used by the version map.", - "type": "string" - }, - "segments.fixed_bitset_memory": { - "description": "The memory used by fixed bit sets for nested object field types and export type filters for types referred in _parent fields.", - "type": "string" - }, - "suggest.current": { - "description": "The number of current suggest operations.", - "type": "string" - }, - "suggest.time": { - "description": "The time spend in suggest.", - "type": "string" - }, - "suggest.total": { - "description": "The number of suggest operations.", - "type": "string" - }, - "bulk.total_operations": { - "description": "The number of bulk shard operations.", - "type": "string" - }, - "bulk.total_time": { - "description": "The time spend in shard bulk.", - "type": "string" - }, - "bulk.total_size_in_bytes": { - "description": "The total size in bytes of shard bulk.", - "type": "string" - }, - "bulk.avg_time": { - "description": "The average time spend in shard bulk.", - "type": "string" - }, - "bulk.avg_size_in_bytes": { - "description": "The average size in bytes of shard bulk.", - "type": "string" - } - } - }, - "cat.pending_tasks:PendingTasksRecord": { - "type": "object", - "properties": { - "insertOrder": { - "description": "The task insertion order.", - "type": "string" - }, - "timeInQueue": { - "description": "Indicates how long the task has been in queue.", - "type": "string" - }, - "priority": { - "description": "The task priority.", - "type": "string" - }, - "source": { - "description": "The task source.", - "type": "string" - } - } - }, - "cat.plugins:PluginsRecord": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:NodeId" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "component": { - "description": "The component name.", - "type": "string" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "description": { - "description": "The plugin details.", - "type": "string" - }, - "type": { - "description": "The plugin type.", - "type": "string" - } - } - }, - "cat.recovery:RecoveryRecord": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "shard": { - "description": "The shard name.", - "type": "string" - }, - "start_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "start_time_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "stop_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "stop_time_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "type": { - "description": "The recovery type.", - "type": "string" - }, - "stage": { - "description": "The recovery stage.", - "type": "string" - }, - "source_host": { - "description": "The source host.", - "type": "string" - }, - "source_node": { - "description": "The source node name.", - "type": "string" - }, - "target_host": { - "description": "The target host.", - "type": "string" - }, - "target_node": { - "description": "The target node name.", - "type": "string" - }, - "repository": { - "description": "The repository name.", - "type": "string" - }, - "snapshot": { - "description": "The snapshot name.", - "type": "string" - }, - "files": { - "description": "The number of files to recover.", - "type": "string" - }, - "files_recovered": { - "description": "The files recovered.", - "type": "string" - }, - "files_percent": { - "$ref": "#/components/schemas/_types:Percentage" - }, - "files_total": { - "description": "The total number of files.", - "type": "string" - }, - "bytes": { - "description": "The number of bytes to recover.", - "type": "string" - }, - "bytes_recovered": { - "description": "The bytes recovered.", - "type": "string" - }, - "bytes_percent": { - "$ref": "#/components/schemas/_types:Percentage" - }, - "bytes_total": { - "description": "The total number of bytes.", - "type": "string" - }, - "translog_ops": { - "description": "The number of translog operations to recover.", - "type": "string" - }, - "translog_ops_recovered": { - "description": "The translog operations recovered.", - "type": "string" - }, - "translog_ops_percent": { - "$ref": "#/components/schemas/_types:Percentage" - } - } - }, - "cat.repositories:RepositoriesRecord": { - "type": "object", - "properties": { - "id": { - "description": "The unique repository identifier.", - "type": "string" - }, - "type": { - "description": "The repository type.", - "type": "string" - } - } - }, - "cat.segments:SegmentsRecord": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "shard": { - "description": "The shard name.", - "type": "string" - }, - "prirep": { - "description": "The shard type: `primary` or `replica`.", - "type": "string" - }, - "ip": { - "description": "The IP address of the node where it lives.", - "type": "string" - }, - "id": { - "$ref": "#/components/schemas/_types:NodeId" - }, - "segment": { - "description": "The segment name, which is derived from the segment generation and used internally to create file names in the directory of the shard.", - "type": "string" - }, - "generation": { - "description": "The segment generation number.\nElasticsearch increments this generation number for each segment written then uses this number to derive the segment name.", - "type": "string" - }, - "docs.count": { - "description": "The number of documents in the segment.\nThis excludes deleted documents and counts any nested documents separately from their parents.\nIt also excludes documents which were indexed recently and do not yet belong to a segment.", - "type": "string" - }, - "docs.deleted": { - "description": "The number of deleted documents in the segment, which might be higher or lower than the number of delete operations you have performed.\nThis number excludes deletes that were performed recently and do not yet belong to a segment.\nDeleted documents are cleaned up by the automatic merge process if it makes sense to do so.\nAlso, Elasticsearch creates extra deleted documents to internally track the recent history of operations on a shard.", - "type": "string" - }, - "size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "size.memory": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "committed": { - "description": "If `true`, the segment is synced to disk.\nSegments that are synced can survive a hard reboot.\nIf `false`, the data from uncommitted segments is also stored in the transaction log so that Elasticsearch is able to replay changes on the next start.", - "type": "string" - }, - "searchable": { - "description": "If `true`, the segment is searchable.\nIf `false`, the segment has most likely been written to disk but needs a refresh to be searchable.", - "type": "string" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "compound": { - "description": "If `true`, the segment is stored in a compound file.\nThis means Lucene merged all files from the segment in a single file to save file descriptors.", - "type": "string" - } - } - }, - "cat.shards:ShardsRecord": { - "type": "object", - "properties": { - "index": { - "description": "The index name.", - "type": "string" - }, - "shard": { - "description": "The shard name.", - "type": "string" - }, - "prirep": { - "description": "The shard type: `primary` or `replica`.", - "type": "string" - }, - "state": { - "description": "The shard state.\nReturned values include:\n`INITIALIZING`: The shard is recovering from a peer shard or gateway.\n`RELOCATING`: The shard is relocating.\n`STARTED`: The shard has started.\n`UNASSIGNED`: The shard is not assigned to any node.", - "type": "string" - }, - "docs": { - "description": "The number of documents in the shard.", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "store": { - "description": "The disk space used by the shard.", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "ip": { - "description": "The IP address of the node.", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "id": { - "description": "The unique identifier for the node.", - "type": "string" - }, - "node": { - "description": "The name of node.", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "sync_id": { - "description": "The sync identifier.", - "type": "string" - }, - "unassigned.reason": { - "description": "The reason for the last change to the state of an unassigned shard.\nIt does not explain why the shard is currently unassigned; use the cluster allocation explain API for that information.\nReturned values include:\n`ALLOCATION_FAILED`: Unassigned as a result of a failed allocation of the shard.\n`CLUSTER_RECOVERED`: Unassigned as a result of a full cluster recovery.\n`DANGLING_INDEX_IMPORTED`: Unassigned as a result of importing a dangling index.\n`EXISTING_INDEX_RESTORED`: Unassigned as a result of restoring into a closed index.\n`FORCED_EMPTY_PRIMARY`: The shard’s allocation was last modified by forcing an empty primary using the cluster reroute API.\n`INDEX_CLOSED`: Unassigned because the index was closed.\n`INDEX_CREATED`: Unassigned as a result of an API creation of an index.\n`INDEX_REOPENED`: Unassigned as a result of opening a closed index.\n`MANUAL_ALLOCATION`: The shard’s allocation was last modified by the cluster reroute API.\n`NEW_INDEX_RESTORED`: Unassigned as a result of restoring into a new index.\n`NODE_LEFT`: Unassigned as a result of the node hosting it leaving the cluster.\n`NODE_RESTARTING`: Similar to `NODE_LEFT`, except that the node was registered as restarting using the node shutdown API.\n`PRIMARY_FAILED`: The shard was initializing as a replica, but the primary shard failed before the initialization completed.\n`REALLOCATED_REPLICA`: A better replica location is identified and causes the existing replica allocation to be cancelled.\n`REINITIALIZED`: When a shard moves from started back to initializing.\n`REPLICA_ADDED`: Unassigned as a result of explicit addition of a replica.\n`REROUTE_CANCELLED`: Unassigned as a result of explicit cancel reroute command.", - "type": "string" - }, - "unassigned.at": { - "description": "The time at which the shard became unassigned in Coordinated Universal Time (UTC).", - "type": "string" - }, - "unassigned.for": { - "description": "The time at which the shard was requested to be unassigned in Coordinated Universal Time (UTC).", - "type": "string" - }, - "unassigned.details": { - "description": "Additional details as to why the shard became unassigned.\nIt does not explain why the shard is not assigned; use the cluster allocation explain API for that information.", - "type": "string" - }, - "recoverysource.type": { - "description": "The type of recovery source.", - "type": "string" - }, - "completion.size": { - "description": "The size of completion.", - "type": "string" - }, - "fielddata.memory_size": { - "description": "The used fielddata cache memory.", - "type": "string" - }, - "fielddata.evictions": { - "description": "The fielddata cache evictions.", - "type": "string" - }, - "query_cache.memory_size": { - "description": "The used query cache memory.", - "type": "string" - }, - "query_cache.evictions": { - "description": "The query cache evictions.", - "type": "string" - }, - "flush.total": { - "description": "The number of flushes.", - "type": "string" - }, - "flush.total_time": { - "description": "The time spent in flush.", - "type": "string" - }, - "get.current": { - "description": "The number of current get operations.", - "type": "string" - }, - "get.time": { - "description": "The time spent in get operations.", - "type": "string" - }, - "get.total": { - "description": "The number of get operations.", - "type": "string" - }, - "get.exists_time": { - "description": "The time spent in successful get operations.", - "type": "string" - }, - "get.exists_total": { - "description": "The number of successful get operations.", - "type": "string" - }, - "get.missing_time": { - "description": "The time spent in failed get operations.", - "type": "string" - }, - "get.missing_total": { - "description": "The number of failed get operations.", - "type": "string" - }, - "indexing.delete_current": { - "description": "The number of current deletion operations.", - "type": "string" - }, - "indexing.delete_time": { - "description": "The time spent in deletion operations.", - "type": "string" - }, - "indexing.delete_total": { - "description": "The number of delete operations.", - "type": "string" - }, - "indexing.index_current": { - "description": "The number of current indexing operations.", - "type": "string" - }, - "indexing.index_time": { - "description": "The time spent in indexing operations.", - "type": "string" - }, - "indexing.index_total": { - "description": "The number of indexing operations.", - "type": "string" - }, - "indexing.index_failed": { - "description": "The number of failed indexing operations.", - "type": "string" - }, - "merges.current": { - "description": "The number of current merge operations.", - "type": "string" - }, - "merges.current_docs": { - "description": "The number of current merging documents.", - "type": "string" - }, - "merges.current_size": { - "description": "The size of current merge operations.", - "type": "string" - }, - "merges.total": { - "description": "The number of completed merge operations.", - "type": "string" - }, - "merges.total_docs": { - "description": "The nuber of merged documents.", - "type": "string" - }, - "merges.total_size": { - "description": "The size of current merges.", - "type": "string" - }, - "merges.total_time": { - "description": "The time spent merging documents.", - "type": "string" - }, - "refresh.total": { - "description": "The total number of refreshes.", - "type": "string" - }, - "refresh.time": { - "description": "The time spent in refreshes.", - "type": "string" - }, - "refresh.external_total": { - "description": "The total nunber of external refreshes.", - "type": "string" - }, - "refresh.external_time": { - "description": "The time spent in external refreshes.", - "type": "string" - }, - "refresh.listeners": { - "description": "The number of pending refresh listeners.", - "type": "string" - }, - "search.fetch_current": { - "description": "The current fetch phase operations.", - "type": "string" - }, - "search.fetch_time": { - "description": "The time spent in fetch phase.", - "type": "string" - }, - "search.fetch_total": { - "description": "The total number of fetch operations.", - "type": "string" - }, - "search.open_contexts": { - "description": "The number of open search contexts.", - "type": "string" - }, - "search.query_current": { - "description": "The current query phase operations.", - "type": "string" - }, - "search.query_time": { - "description": "The time spent in query phase.", - "type": "string" - }, - "search.query_total": { - "description": "The total number of query phase operations.", - "type": "string" - }, - "search.scroll_current": { - "description": "The open scroll contexts.", - "type": "string" - }, - "search.scroll_time": { - "description": "The time scroll contexts were held open.", - "type": "string" - }, - "search.scroll_total": { - "description": "The number of completed scroll contexts.", - "type": "string" - }, - "segments.count": { - "description": "The number of segments.", - "type": "string" - }, - "segments.memory": { - "description": "The memory used by segments.", - "type": "string" - }, - "segments.index_writer_memory": { - "description": "The memory used by the index writer.", - "type": "string" - }, - "segments.version_map_memory": { - "description": "The memory used by the version map.", - "type": "string" - }, - "segments.fixed_bitset_memory": { - "description": "The memory used by fixed bit sets for nested object field types and export type filters for types referred in `_parent` fields.", - "type": "string" - }, - "seq_no.max": { - "description": "The maximum sequence number.", - "type": "string" - }, - "seq_no.local_checkpoint": { - "description": "The local checkpoint.", - "type": "string" - }, - "seq_no.global_checkpoint": { - "description": "The global checkpoint.", - "type": "string" - }, - "warmer.current": { - "description": "The number of current warmer operations.", - "type": "string" - }, - "warmer.total": { - "description": "The total number of warmer operations.", - "type": "string" - }, - "warmer.total_time": { - "description": "The time spent in warmer operations.", - "type": "string" - }, - "path.data": { - "description": "The shard data path.", - "type": "string" - }, - "path.state": { - "description": "The shard state path.", - "type": "string" - }, - "bulk.total_operations": { - "description": "The number of bulk shard operations.", - "type": "string" - }, - "bulk.total_time": { - "description": "The time spent in shard bulk operations.", - "type": "string" - }, - "bulk.total_size_in_bytes": { - "description": "The total size in bytes of shard bulk operations.", - "type": "string" - }, - "bulk.avg_time": { - "description": "The average time spent in shard bulk operations.", - "type": "string" - }, - "bulk.avg_size_in_bytes": { - "description": "The average size in bytes of shard bulk operations.", - "type": "string" - } - } - }, - "cat.snapshots:SnapshotsRecord": { - "type": "object", - "properties": { - "id": { - "description": "The unique identifier for the snapshot.", - "type": "string" - }, - "repository": { - "description": "The repository name.", - "type": "string" - }, - "status": { - "description": "The state of the snapshot process.\nReturned values include:\n`FAILED`: The snapshot process failed.\n`INCOMPATIBLE`: The snapshot process is incompatible with the current cluster version.\n`IN_PROGRESS`: The snapshot process started but has not completed.\n`PARTIAL`: The snapshot process completed with a partial success.\n`SUCCESS`: The snapshot process completed with a full success.", - "type": "string" - }, - "start_epoch": { - "$ref": "#/components/schemas/_spec_utils:StringifiedEpochTimeUnitSeconds" - }, - "start_time": { - "$ref": "#/components/schemas/watcher._types:ScheduleTimeOfDay" - }, - "end_epoch": { - "$ref": "#/components/schemas/_spec_utils:StringifiedEpochTimeUnitSeconds" - }, - "end_time": { - "$ref": "#/components/schemas/_types:TimeOfDay" - }, - "duration": { - "$ref": "#/components/schemas/_types:Duration" - }, - "indices": { - "description": "The number of indices in the snapshot.", - "type": "string" - }, - "successful_shards": { - "description": "The number of successful shards in the snapshot.", - "type": "string" - }, - "failed_shards": { - "description": "The number of failed shards in the snapshot.", - "type": "string" - }, - "total_shards": { - "description": "The total number of shards in the snapshot.", - "type": "string" - }, - "reason": { - "description": "The reason for any snapshot failures.", - "type": "string" - } - } - }, - "watcher._types:ScheduleTimeOfDay": { - "description": "A time of day, expressed either as `hh:mm`, `noon`, `midnight`, or an hour/minutes structure.", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/watcher._types:HourAndMinute" - } - ] - }, - "watcher._types:HourAndMinute": { - "type": "object", - "properties": { - "hour": { - "type": "array", - "items": { - "type": "number" - } - }, - "minute": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "hour", - "minute" - ] - }, - "cat.tasks:TasksRecord": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "action": { - "description": "The task action.", - "type": "string" - }, - "task_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "parent_task_id": { - "description": "The parent task identifier.", - "type": "string" - }, - "type": { - "description": "The task type.", - "type": "string" - }, - "start_time": { - "description": "The start time in milliseconds.", - "type": "string" - }, - "timestamp": { - "description": "The start time in `HH:MM:SS` format.", - "type": "string" - }, - "running_time_ns": { - "description": "The running time in nanoseconds.", - "type": "string" - }, - "running_time": { - "description": "The running time.", - "type": "string" - }, - "node_id": { - "$ref": "#/components/schemas/_types:NodeId" - }, - "ip": { - "description": "The IP address for the node.", - "type": "string" - }, - "port": { - "description": "The bound transport port for the node.", - "type": "string" - }, - "node": { - "description": "The node name.", - "type": "string" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "x_opaque_id": { - "description": "The X-Opaque-ID header.", - "type": "string" - }, - "description": { - "description": "The task action description.", - "type": "string" - } - } - }, - "cat.templates:TemplatesRecord": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "index_patterns": { - "description": "The template index patterns.", - "type": "string" - }, - "order": { - "description": "The template application order or priority number.", - "type": "string" - }, - "version": { - "description": "The template version.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:VersionString" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "composed_of": { - "description": "The component templates that comprise the index template.", - "type": "string" - } - } - }, - "cat.thread_pool:ThreadPoolRecord": { - "type": "object", - "properties": { - "node_name": { - "description": "The node name.", - "type": "string" - }, - "node_id": { - "$ref": "#/components/schemas/_types:NodeId" - }, - "ephemeral_node_id": { - "description": "The ephemeral node identifier.", - "type": "string" - }, - "pid": { - "description": "The process identifier.", - "type": "string" - }, - "host": { - "description": "The host name for the current node.", - "type": "string" - }, - "ip": { - "description": "The IP address for the current node.", - "type": "string" - }, - "port": { - "description": "The bound transport port for the current node.", - "type": "string" - }, - "name": { - "description": "The thread pool name.", - "type": "string" - }, - "type": { - "description": "The thread pool type.\nReturned values include `fixed`, `fixed_auto_queue_size`, `direct`, and `scaling`.", - "type": "string" - }, - "active": { - "description": "The number of active threads in the current thread pool.", - "type": "string" - }, - "pool_size": { - "description": "The number of threads in the current thread pool.", - "type": "string" - }, - "queue": { - "description": "The number of tasks currently in queue.", - "type": "string" - }, - "queue_size": { - "description": "The maximum number of tasks permitted in the queue.", - "type": "string" - }, - "rejected": { - "description": "The number of rejected tasks.", - "type": "string" - }, - "largest": { - "description": "The highest number of active threads in the current thread pool.", - "type": "string" - }, - "completed": { - "description": "The number of completed tasks.", - "type": "string" - }, - "core": { - "description": "The core number of active threads allowed in a scaling thread pool.", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "max": { - "description": "The maximum number of active threads allowed in a scaling thread pool.", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "size": { - "description": "The number of active threads allowed in a fixed thread pool.", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "keep_alive": { - "description": "The thread keep alive time.", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - } - } - }, - "cat._types:CatTransformColumns": { - "oneOf": [ - { - "$ref": "#/components/schemas/cat._types:CatTransformColumn" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/cat._types:CatTransformColumn" - } - } - ] - }, - "cat._types:CatTransformColumn": { - "type": "string", - "enum": [ - "changes_last_detection_time", - "checkpoint", - "checkpoint_duration_time_exp_avg", - "checkpoint_progress", - "create_time", - "delete_time", - "description", - "dest_index", - "documents_deleted", - "documents_indexed", - "docs_per_second", - "documents_processed", - "frequency", - "id", - "index_failure", - "index_time", - "index_total", - "indexed_documents_exp_avg", - "last_search_time", - "max_page_search_size", - "pages_processed", - "pipeline", - "processed_documents_exp_avg", - "processing_time", - "reason", - "search_failure", - "search_time", - "search_total", - "source_index", - "state", - "transform_type", - "trigger_count", - "version" - ] - }, - "cat.transforms:TransformsRecord": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "state": { - "description": "The status of the transform.\nReturned values include:\n`aborting`: The transform is aborting.\n`failed: The transform failed. For more information about the failure, check the `reason` field.\n`indexing`: The transform is actively processing data and creating new documents.\n`started`: The transform is running but not actively indexing data.\n`stopped`: The transform is stopped.\n`stopping`: The transform is stopping.", - "type": "string" - }, - "checkpoint": { - "description": "The sequence number for the checkpoint.", - "type": "string" - }, - "documents_processed": { - "description": "The number of documents that have been processed from the source index of the transform.", - "type": "string" - }, - "checkpoint_progress": { - "description": "The progress of the next checkpoint that is currently in progress.", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "last_search_time": { - "description": "The timestamp of the last search in the source indices.\nThis field is shown only if the transform is running.", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "changes_last_detection_time": { - "description": "The timestamp when changes were last detected in the source indices.", - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "create_time": { - "description": "The time the transform was created.", - "type": "string" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "source_index": { - "description": "The source indices for the transform.", - "type": "string" - }, - "dest_index": { - "description": "The destination index for the transform.", - "type": "string" - }, - "pipeline": { - "description": "The unique identifier for the ingest pipeline.", - "type": "string" - }, - "description": { - "description": "The description of the transform.", - "type": "string" - }, - "transform_type": { - "description": "The type of transform: `batch` or `continuous`.", - "type": "string" - }, - "frequency": { - "description": "The interval between checks for changes in the source indices when the transform is running continuously.", - "type": "string" - }, - "max_page_search_size": { - "description": "The initial page size that is used for the composite aggregation for each checkpoint.", - "type": "string" - }, - "docs_per_second": { - "description": "The number of input documents per second.", - "type": "string" - }, - "reason": { - "description": "If a transform has a `failed` state, these details describe the reason for failure.", - "type": "string" - }, - "search_total": { - "description": "The total number of search operations on the source index for the transform.", - "type": "string" - }, - "search_failure": { - "description": "The total number of search failures.", - "type": "string" - }, - "search_time": { - "description": "The total amount of search time, in milliseconds.", - "type": "string" - }, - "index_total": { - "description": "The total number of index operations done by the transform.", - "type": "string" - }, - "index_failure": { - "description": "The total number of indexing failures.", - "type": "string" - }, - "index_time": { - "description": "The total time spent indexing documents, in milliseconds.", - "type": "string" - }, - "documents_indexed": { - "description": "The number of documents that have been indexed into the destination index for the transform.", - "type": "string" - }, - "delete_time": { - "description": "The total time spent deleting documents, in milliseconds.", - "type": "string" - }, - "documents_deleted": { - "description": "The number of documents deleted from the destination index due to the retention policy for the transform.", - "type": "string" - }, - "trigger_count": { - "description": "The number of times the transform has been triggered by the scheduler.\nFor example, the scheduler triggers the transform indexer to check for updates or ingest new data at an interval specified in the `frequency` property.", - "type": "string" - }, - "pages_processed": { - "description": "The number of search or bulk index operations processed.\nDocuments are processed in batches instead of individually.", - "type": "string" - }, - "processing_time": { - "description": "The total time spent processing results, in milliseconds.", - "type": "string" - }, - "checkpoint_duration_time_exp_avg": { - "description": "The exponential moving average of the duration of the checkpoint, in milliseconds.", - "type": "string" - }, - "indexed_documents_exp_avg": { - "description": "The exponential moving average of the number of new documents that have been indexed.", - "type": "string" - }, - "processed_documents_exp_avg": { - "description": "The exponential moving average of the number of documents that have been processed.", - "type": "string" - } - } - }, - "ccr.follow_info:FollowerIndex": { - "type": "object", - "properties": { - "follower_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "leader_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "parameters": { - "$ref": "#/components/schemas/ccr.follow_info:FollowerIndexParameters" - }, - "remote_cluster": { - "$ref": "#/components/schemas/_types:Name" - }, - "status": { - "$ref": "#/components/schemas/ccr.follow_info:FollowerIndexStatus" - } - }, - "required": [ - "follower_index", - "leader_index", - "remote_cluster", - "status" - ] - }, - "ccr.follow_info:FollowerIndexParameters": { - "type": "object", - "properties": { - "max_outstanding_read_requests": { - "type": "number" - }, - "max_outstanding_write_requests": { - "type": "number" - }, - "max_read_request_operation_count": { - "type": "number" - }, - "max_read_request_size": { - "type": "string" - }, - "max_retry_delay": { - "$ref": "#/components/schemas/_types:Duration" - }, - "max_write_buffer_count": { - "type": "number" - }, - "max_write_buffer_size": { - "type": "string" - }, - "max_write_request_operation_count": { - "type": "number" - }, - "max_write_request_size": { - "type": "string" - }, - "read_poll_timeout": { - "$ref": "#/components/schemas/_types:Duration" - } - }, - "required": [ - "max_outstanding_read_requests", - "max_outstanding_write_requests", - "max_read_request_operation_count", - "max_read_request_size", - "max_retry_delay", - "max_write_buffer_count", - "max_write_buffer_size", - "max_write_request_operation_count", - "max_write_request_size", - "read_poll_timeout" - ] - }, - "ccr.follow_info:FollowerIndexStatus": { - "type": "string", - "enum": [ - "active", - "paused" - ] - }, - "ccr._types:FollowIndexStats": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "shards": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ccr._types:ShardStats" - } - } - }, - "required": [ - "index", - "shards" - ] - }, - "ccr._types:ShardStats": { - "type": "object", - "properties": { - "bytes_read": { - "type": "number" - }, - "failed_read_requests": { - "type": "number" - }, - "failed_write_requests": { - "type": "number" - }, - "fatal_exception": { - "$ref": "#/components/schemas/_types:ErrorCause" - }, - "follower_aliases_version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "follower_global_checkpoint": { - "type": "number" - }, - "follower_index": { - "type": "string" - }, - "follower_mapping_version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "follower_max_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "follower_settings_version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "last_requested_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "leader_global_checkpoint": { - "type": "number" - }, - "leader_index": { - "type": "string" - }, - "leader_max_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "operations_read": { - "type": "number" - }, - "operations_written": { - "type": "number" - }, - "outstanding_read_requests": { - "type": "number" - }, - "outstanding_write_requests": { - "type": "number" - }, - "read_exceptions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ccr._types:ReadException" - } - }, - "remote_cluster": { - "type": "string" - }, - "shard_id": { - "type": "number" - }, - "successful_read_requests": { - "type": "number" - }, - "successful_write_requests": { - "type": "number" - }, - "time_since_last_read": { - "$ref": "#/components/schemas/_types:Duration" - }, - "time_since_last_read_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "total_read_remote_exec_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "total_read_remote_exec_time_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "total_read_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "total_read_time_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "total_write_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "total_write_time_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "write_buffer_operation_count": { - "type": "number" - }, - "write_buffer_size_in_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" - } - }, - "required": [ - "bytes_read", - "failed_read_requests", - "failed_write_requests", - "follower_aliases_version", - "follower_global_checkpoint", - "follower_index", - "follower_mapping_version", - "follower_max_seq_no", - "follower_settings_version", - "last_requested_seq_no", - "leader_global_checkpoint", - "leader_index", - "leader_max_seq_no", - "operations_read", - "operations_written", - "outstanding_read_requests", - "outstanding_write_requests", - "read_exceptions", - "remote_cluster", - "shard_id", - "successful_read_requests", - "successful_write_requests", - "time_since_last_read_millis", - "total_read_remote_exec_time_millis", - "total_read_time_millis", - "total_write_time_millis", - "write_buffer_operation_count", - "write_buffer_size_in_bytes" - ] - }, - "ccr._types:ReadException": { - "type": "object", - "properties": { - "exception": { - "$ref": "#/components/schemas/_types:ErrorCause" - }, - "from_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "retries": { - "type": "number" - } - }, - "required": [ - "exception", - "from_seq_no", - "retries" - ] - }, - "_types:Uuid": { - "type": "string" - }, - "ccr.get_auto_follow_pattern:AutoFollowPattern": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "pattern": { - "$ref": "#/components/schemas/ccr.get_auto_follow_pattern:AutoFollowPatternSummary" - } - }, - "required": [ - "name", - "pattern" - ] - }, - "ccr.get_auto_follow_pattern:AutoFollowPatternSummary": { - "type": "object", - "properties": { - "active": { - "type": "boolean" - }, - "remote_cluster": { - "description": "The remote cluster containing the leader indices to match against.", - "type": "string" - }, - "follow_index_pattern": { - "$ref": "#/components/schemas/_types:IndexPattern" - }, - "leader_index_patterns": { - "$ref": "#/components/schemas/_types:IndexPatterns" - }, - "leader_index_exclusion_patterns": { - "$ref": "#/components/schemas/_types:IndexPatterns" - }, - "max_outstanding_read_requests": { - "description": "The maximum number of outstanding reads requests from the remote cluster.", - "type": "number" - } - }, - "required": [ - "active", - "remote_cluster", - "leader_index_patterns", - "leader_index_exclusion_patterns", - "max_outstanding_read_requests" - ] - }, - "_types:IndexPattern": { - "type": "string" - }, - "_types:IndexPatterns": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:IndexPattern" - } - }, - "ccr.stats:AutoFollowStats": { - "type": "object", - "properties": { - "auto_followed_clusters": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ccr.stats:AutoFollowedCluster" - } - }, - "number_of_failed_follow_indices": { - "type": "number" - }, - "number_of_failed_remote_cluster_state_requests": { - "type": "number" - }, - "number_of_successful_follow_indices": { - "type": "number" - }, - "recent_auto_follow_errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ErrorCause" - } - } - }, - "required": [ - "auto_followed_clusters", - "number_of_failed_follow_indices", - "number_of_failed_remote_cluster_state_requests", - "number_of_successful_follow_indices", - "recent_auto_follow_errors" - ] - }, - "ccr.stats:AutoFollowedCluster": { - "type": "object", - "properties": { - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "last_seen_metadata_version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "time_since_last_check_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "cluster_name", - "last_seen_metadata_version", - "time_since_last_check_millis" - ] - }, - "ccr.stats:FollowStats": { - "type": "object", - "properties": { - "indices": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ccr._types:FollowIndexStats" - } - } - }, - "required": [ - "indices" - ] - }, - "_types:ScrollIds": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:ScrollId" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ScrollId" - } - } - ] - }, - "cluster.allocation_explain:Decision": { - "type": "string", - "enum": [ - "yes", - "no", - "worse_balance", - "throttled", - "awaiting_info", - "allocation_delayed", - "no_valid_shard_copy", - "no_attempt" - ] - }, - "cluster.allocation_explain:AllocationDecision": { - "type": "object", - "properties": { - "decider": { - "type": "string" - }, - "decision": { - "$ref": "#/components/schemas/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:ClusterInfo": { - "type": "object", - "properties": { - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/cluster.allocation_explain:NodeDiskUsage" - } - }, - "shard_sizes": { - "type": "object", - "additionalProperties": { - "type": "number" - } - }, - "shard_data_set_sizes": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "shard_paths": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "reserved_sizes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.allocation_explain:ReservedSize" - } - } - }, - "required": [ - "nodes", - "shard_sizes", - "shard_paths", - "reserved_sizes" - ] - }, - "cluster.allocation_explain:NodeDiskUsage": { - "type": "object", - "properties": { - "node_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "least_available": { - "$ref": "#/components/schemas/cluster.allocation_explain:DiskUsage" - }, - "most_available": { - "$ref": "#/components/schemas/cluster.allocation_explain:DiskUsage" - } - }, - "required": [ - "node_name", - "least_available", - "most_available" - ] - }, - "cluster.allocation_explain:DiskUsage": { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "total_bytes": { - "type": "number" - }, - "used_bytes": { - "type": "number" - }, - "free_bytes": { - "type": "number" - }, - "free_disk_percent": { - "type": "number" - }, - "used_disk_percent": { - "type": "number" - } - }, - "required": [ - "path", - "total_bytes", - "used_bytes", - "free_bytes", - "free_disk_percent", - "used_disk_percent" - ] - }, - "cluster.allocation_explain:ReservedSize": { - "type": "object", - "properties": { - "node_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "path": { - "type": "string" - }, - "total": { - "type": "number" - }, - "shards": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "node_id", - "path", - "total", - "shards" - ] - }, - "cluster.allocation_explain:CurrentNode": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "attributes": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "transport_address": { - "$ref": "#/components/schemas/_types:TransportAddress" - }, - "weight_ranking": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "attributes", - "transport_address", - "weight_ranking" - ] - }, - "_types:TransportAddress": { - "type": "string" - }, - "cluster.allocation_explain:NodeAllocationExplanation": { - "type": "object", - "properties": { - "deciders": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.allocation_explain:AllocationDecision" - } - }, - "node_attributes": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "node_decision": { - "$ref": "#/components/schemas/cluster.allocation_explain:Decision" - }, - "node_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "node_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "store": { - "$ref": "#/components/schemas/cluster.allocation_explain:AllocationStore" - }, - "transport_address": { - "$ref": "#/components/schemas/_types:TransportAddress" - }, - "weight_ranking": { - "type": "number" - } - }, - "required": [ - "deciders", - "node_attributes", - "node_decision", - "node_id", - "node_name", - "transport_address", - "weight_ranking" - ] - }, - "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:UnassignedInformation": { - "type": "object", - "properties": { - "at": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "last_allocation_status": { - "type": "string" - }, - "reason": { - "$ref": "#/components/schemas/cluster.allocation_explain:UnassignedInformationReason" - }, - "details": { - "type": "string" - }, - "failed_allocation_attempts": { - "type": "number" - }, - "delayed": { - "type": "boolean" - }, - "allocation_status": { - "type": "string" - } - }, - "required": [ - "at", - "reason" - ] - }, - "cluster.allocation_explain:UnassignedInformationReason": { - "type": "string", - "enum": [ - "INDEX_CREATED", - "CLUSTER_RECOVERED", - "INDEX_REOPENED", - "DANGLING_INDEX_IMPORTED", - "NEW_INDEX_RESTORED", - "EXISTING_INDEX_RESTORED", - "REPLICA_ADDED", - "ALLOCATION_FAILED", - "NODE_LEFT", - "REROUTE_CANCELLED", - "REINITIALIZED", - "REALLOCATED_REPLICA", - "PRIMARY_FAILED", - "FORCED_EMPTY_PRIMARY", - "MANUAL_ALLOCATION" - ] - }, - "cluster._types:ComponentTemplate": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "component_template": { - "$ref": "#/components/schemas/cluster._types:ComponentTemplateNode" - } - }, - "required": [ - "name", - "component_template" - ] - }, - "cluster._types:ComponentTemplateNode": { - "type": "object", - "properties": { - "template": { - "$ref": "#/components/schemas/cluster._types:ComponentTemplateSummary" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - } - }, - "required": [ - "template" - ] - }, - "cluster._types:ComponentTemplateSummary": { - "type": "object", - "properties": { - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "settings": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:IndexSettings" - } - }, - "mappings": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" - }, - "aliases": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:AliasDefinition" - } - }, - "lifecycle": { - "$ref": "#/components/schemas/indices._types:DataStreamLifecycleWithRollover" - } - } - }, - "indices._types:IndexSettings": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/indices._types:IndexSettings" - }, - "mode": { - "type": "string" - }, - "routing_path": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "soft_deletes": { - "$ref": "#/components/schemas/indices._types:SoftDeletes" - }, - "sort": { - "$ref": "#/components/schemas/indices._types:IndexSegmentSort" - }, - "number_of_shards": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "number_of_replicas": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "number_of_routing_shards": { - "type": "number" - }, - "check_on_startup": { - "$ref": "#/components/schemas/indices._types:IndexCheckOnStartup" - }, - "codec": { - "type": "string" - }, - "routing_partition_size": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" - }, - "load_fixed_bitset_filters_eagerly": { - "type": "boolean" - }, - "hidden": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "auto_expand_replicas": { - "type": "string" - }, - "merge": { - "$ref": "#/components/schemas/indices._types:Merge" - }, - "search": { - "$ref": "#/components/schemas/indices._types:SettingsSearch" - }, - "refresh_interval": { - "$ref": "#/components/schemas/_types:Duration" - }, - "max_result_window": { - "type": "number" - }, - "max_inner_result_window": { - "type": "number" - }, - "max_rescore_window": { - "type": "number" - }, - "max_docvalue_fields_search": { - "type": "number" - }, - "max_script_fields": { - "type": "number" - }, - "max_ngram_diff": { - "type": "number" - }, - "max_shingle_diff": { - "type": "number" - }, - "blocks": { - "$ref": "#/components/schemas/indices._types:IndexSettingBlocks" - }, - "max_refresh_listeners": { - "type": "number" - }, - "analyze": { - "$ref": "#/components/schemas/indices._types:SettingsAnalyze" - }, - "highlight": { - "$ref": "#/components/schemas/indices._types:SettingsHighlight" - }, - "max_terms_count": { - "type": "number" - }, - "max_regex_length": { - "type": "number" - }, - "routing": { - "$ref": "#/components/schemas/indices._types:IndexRouting" - }, - "gc_deletes": { - "$ref": "#/components/schemas/_types:Duration" - }, - "default_pipeline": { - "$ref": "#/components/schemas/_types:PipelineName" - }, - "final_pipeline": { - "$ref": "#/components/schemas/_types:PipelineName" - }, - "lifecycle": { - "$ref": "#/components/schemas/indices._types:IndexSettingsLifecycle" - }, - "provided_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "creation_date": { - "$ref": "#/components/schemas/_spec_utils:StringifiedEpochTimeUnitMillis" - }, - "creation_date_string": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "uuid": { - "$ref": "#/components/schemas/_types:Uuid" - }, - "version": { - "$ref": "#/components/schemas/indices._types:IndexVersioning" - }, - "verified_before_close": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "format": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "max_slices_per_scroll": { - "type": "number" - }, - "translog": { - "$ref": "#/components/schemas/indices._types:Translog" - }, - "query_string": { - "$ref": "#/components/schemas/indices._types:SettingsQueryString" - }, - "priority": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "top_metrics_max_size": { - "type": "number" - }, - "analysis": { - "$ref": "#/components/schemas/indices._types:IndexSettingsAnalysis" - }, - "settings": { - "$ref": "#/components/schemas/indices._types:IndexSettings" - }, - "time_series": { - "$ref": "#/components/schemas/indices._types:IndexSettingsTimeSeries" - }, - "shards": { - "type": "number" - }, - "queries": { - "$ref": "#/components/schemas/indices._types:Queries" - }, - "similarity": { - "$ref": "#/components/schemas/indices._types:SettingsSimilarity" - }, - "mapping": { - "$ref": "#/components/schemas/indices._types:MappingLimitSettings" - }, - "indexing.slowlog": { - "$ref": "#/components/schemas/indices._types:IndexingSlowlogSettings" - }, - "indexing_pressure": { - "$ref": "#/components/schemas/indices._types:IndexingPressure" - }, - "store": { - "$ref": "#/components/schemas/indices._types:Storage" - } - } - }, - "indices._types:SoftDeletes": { - "type": "object", - "properties": { - "enabled": { - "description": "Indicates whether soft deletes are enabled on the index.", - "type": "boolean" - }, - "retention_lease": { - "$ref": "#/components/schemas/indices._types:RetentionLease" - } - } - }, - "indices._types:RetentionLease": { - "type": "object", - "properties": { - "period": { - "$ref": "#/components/schemas/_types:Duration" - } - }, - "required": [ - "period" - ] - }, - "indices._types:IndexSegmentSort": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Fields" - }, - "order": { - "oneOf": [ - { - "$ref": "#/components/schemas/indices._types:SegmentSortOrder" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices._types:SegmentSortOrder" - } - } - ] - }, - "mode": { - "oneOf": [ - { - "$ref": "#/components/schemas/indices._types:SegmentSortMode" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices._types:SegmentSortMode" - } - } - ] - }, - "missing": { - "oneOf": [ - { - "$ref": "#/components/schemas/indices._types:SegmentSortMissing" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices._types:SegmentSortMissing" - } - } - ] - } - } - }, - "indices._types:SegmentSortOrder": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "indices._types:SegmentSortMode": { - "type": "string", - "enum": [ - "min", - "max" - ] - }, - "indices._types:SegmentSortMissing": { - "type": "string", - "enum": [ - "_last", - "_first" - ] - }, - "indices._types:IndexCheckOnStartup": { - "type": "string", - "enum": [ - "true", - "false", - "checksum" - ] - }, - "_spec_utils:Stringifiedinteger": { - "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "indices._types:Merge": { - "type": "object", - "properties": { - "scheduler": { - "$ref": "#/components/schemas/indices._types:MergeScheduler" - } - } - }, - "indices._types:MergeScheduler": { - "type": "object", - "properties": { - "max_thread_count": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" - }, - "max_merge_count": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" - } - } - }, - "indices._types:SettingsSearch": { - "type": "object", - "properties": { - "idle": { - "$ref": "#/components/schemas/indices._types:SearchIdle" - }, - "slowlog": { - "$ref": "#/components/schemas/indices._types:SlowlogSettings" - } - } - }, - "indices._types:SearchIdle": { - "type": "object", - "properties": { - "after": { - "$ref": "#/components/schemas/_types:Duration" - } - } - }, - "indices._types:SlowlogSettings": { - "type": "object", - "properties": { - "level": { - "type": "string" - }, - "source": { - "type": "number" - }, - "reformat": { - "type": "boolean" - }, - "threshold": { - "$ref": "#/components/schemas/indices._types:SlowlogTresholds" - } - } - }, - "indices._types:SlowlogTresholds": { - "type": "object", - "properties": { - "query": { - "$ref": "#/components/schemas/indices._types:SlowlogTresholdLevels" - }, - "fetch": { - "$ref": "#/components/schemas/indices._types:SlowlogTresholdLevels" - } - } - }, - "indices._types:SlowlogTresholdLevels": { - "type": "object", - "properties": { - "warn": { - "$ref": "#/components/schemas/_types:Duration" - }, - "info": { - "$ref": "#/components/schemas/_types:Duration" - }, - "debug": { - "$ref": "#/components/schemas/_types:Duration" - }, - "trace": { - "$ref": "#/components/schemas/_types:Duration" - } - } - }, - "indices._types:IndexSettingBlocks": { - "type": "object", - "properties": { - "read_only": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" - }, - "read_only_allow_delete": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" - }, - "read": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" - }, - "write": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" - }, - "metadata": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" - } - } - }, - "_spec_utils:Stringifiedboolean": { - "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "indices._types:SettingsAnalyze": { - "type": "object", - "properties": { - "max_token_count": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" - } - } - }, - "indices._types:SettingsHighlight": { - "type": "object", - "properties": { - "max_analyzed_offset": { - "type": "number" - } - } - }, - "indices._types:IndexRouting": { - "type": "object", - "properties": { - "allocation": { - "$ref": "#/components/schemas/indices._types:IndexRoutingAllocation" - }, - "rebalance": { - "$ref": "#/components/schemas/indices._types:IndexRoutingRebalance" - } - } - }, - "indices._types:IndexRoutingAllocation": { - "type": "object", - "properties": { - "enable": { - "$ref": "#/components/schemas/indices._types:IndexRoutingAllocationOptions" - }, - "include": { - "$ref": "#/components/schemas/indices._types:IndexRoutingAllocationInclude" - }, - "initial_recovery": { - "$ref": "#/components/schemas/indices._types:IndexRoutingAllocationInitialRecovery" - }, - "disk": { - "$ref": "#/components/schemas/indices._types:IndexRoutingAllocationDisk" - } - } - }, - "indices._types:IndexRoutingAllocationOptions": { - "type": "string", - "enum": [ - "all", - "primaries", - "new_primaries", - "none" - ] - }, - "indices._types:IndexRoutingAllocationInclude": { - "type": "object", - "properties": { - "_tier_preference": { - "type": "string" - }, - "_id": { - "$ref": "#/components/schemas/_types:Id" - } - } - }, - "indices._types:IndexRoutingAllocationInitialRecovery": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" - } - } - }, - "indices._types:IndexRoutingAllocationDisk": { - "type": "object", - "properties": { - "threshold_enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - } - } - }, - "indices._types:IndexRoutingRebalance": { - "type": "object", - "properties": { - "enable": { - "$ref": "#/components/schemas/indices._types:IndexRoutingRebalanceOptions" - } - }, - "required": [ - "enable" - ] - }, - "indices._types:IndexRoutingRebalanceOptions": { - "type": "string", - "enum": [ - "all", - "primaries", - "replicas", - "none" - ] - }, - "_types:PipelineName": { - "type": "string" - }, - "indices._types:IndexSettingsLifecycle": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "indexing_complete": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" - }, - "origination_date": { - "description": "If specified, this is the timestamp used to calculate the index age for its phase transitions. Use this setting\nif you create a new index that contains old data and want to use the original creation date to calculate the index\nage. Specified as a Unix epoch value in milliseconds.", - "type": "number" - }, - "parse_origination_date": { - "description": "Set to true to parse the origination date from the index name. This origination date is used to calculate the index age\nfor its phase transitions. The index name must match the pattern ^.*-{date_format}-\\\\d+, where the date_format is\nyyyy.MM.dd and the trailing digits are optional. An index that was rolled over would normally match the full format,\nfor example logs-2016.10.31-000002). If the index name doesn’t match the pattern, index creation fails.", - "type": "boolean" - }, - "step": { - "$ref": "#/components/schemas/indices._types:IndexSettingsLifecycleStep" - }, - "rollover_alias": { - "description": "The index alias to update when the index rolls over. Specify when using a policy that contains a rollover action.\nWhen the index rolls over, the alias is updated to reflect that the index is no longer the write index. For more\ninformation about rolling indices, see Rollover.", - "type": "string" - } - }, - "required": [ - "name" - ] - }, - "indices._types:IndexSettingsLifecycleStep": { - "type": "object", - "properties": { - "wait_time_threshold": { - "$ref": "#/components/schemas/_types:Duration" - } - } - }, - "_spec_utils:StringifiedEpochTimeUnitMillis": { - "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - { - "type": "string" - } - ] - }, - "indices._types:IndexVersioning": { - "type": "object", - "properties": { - "created": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "created_string": { - "type": "string" - } - } - }, - "indices._types:Translog": { - "type": "object", - "properties": { - "sync_interval": { - "$ref": "#/components/schemas/_types:Duration" - }, - "durability": { - "$ref": "#/components/schemas/indices._types:TranslogDurability" - }, - "flush_threshold_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "retention": { - "$ref": "#/components/schemas/indices._types:TranslogRetention" - } - } - }, - "indices._types:TranslogDurability": { - "type": "string", - "enum": [ - "request", - "async" - ] - }, - "indices._types:TranslogRetention": { - "type": "object", - "properties": { - "size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "age": { - "$ref": "#/components/schemas/_types:Duration" - } - } - }, - "indices._types:SettingsQueryString": { - "type": "object", - "properties": { - "lenient": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" - } - }, - "required": [ - "lenient" - ] - }, - "indices._types:IndexSettingsAnalysis": { - "type": "object", - "properties": { - "analyzer": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.analysis:Analyzer" - } - }, - "char_filter": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.analysis:CharFilter" - } - }, - "filter": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.analysis:TokenFilter" - } - }, - "normalizer": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.analysis:Normalizer" - } - }, - "tokenizer": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.analysis:Tokenizer" - } - } - } - }, - "_types.analysis:CharFilter": { - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/_types.analysis:CharFilterDefinition" - } - ] - }, - "_types.analysis:CharFilterDefinition": { - "discriminator": { - "propertyName": "type" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/_types.analysis:HtmlStripCharFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:MappingCharFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:PatternReplaceCharFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:IcuNormalizationCharFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:KuromojiIterationMarkCharFilter" - } - ] - }, - "_types.analysis:HtmlStripCharFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:CharFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "html_strip" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:CharFilterBase": { - "type": "object", - "properties": { - "version": { - "$ref": "#/components/schemas/_types:VersionString" - } - } - }, - "_types.analysis:MappingCharFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:CharFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "mapping" - ] - }, - "mappings": { - "type": "array", - "items": { - "type": "string" - } - }, - "mappings_path": { - "type": "string" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:PatternReplaceCharFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:CharFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "pattern_replace" - ] - }, - "flags": { - "type": "string" - }, - "pattern": { - "type": "string" - }, - "replacement": { - "type": "string" - } - }, - "required": [ - "type", - "pattern" - ] - } - ] - }, - "_types.analysis:IcuNormalizationCharFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:CharFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "icu_normalizer" - ] - }, - "mode": { - "$ref": "#/components/schemas/_types.analysis:IcuNormalizationMode" - }, - "name": { - "$ref": "#/components/schemas/_types.analysis:IcuNormalizationType" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:KuromojiIterationMarkCharFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:CharFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "kuromoji_iteration_mark" - ] - }, - "normalize_kana": { - "type": "boolean" - }, - "normalize_kanji": { - "type": "boolean" - } - }, - "required": [ - "type", - "normalize_kana", - "normalize_kanji" - ] - } - ] - }, - "_types.analysis:TokenFilter": { - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterDefinition" - } - ] - }, - "_types.analysis:TokenFilterDefinition": { - "discriminator": { - "propertyName": "type" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/_types.analysis:AsciiFoldingTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:CommonGramsTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:ConditionTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:DelimitedPayloadTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:EdgeNGramTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:ElisionTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:FingerprintTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:HunspellTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:HyphenationDecompounderTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:KeepTypesTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:KeepWordsTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:KeywordMarkerTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:KStemTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:LengthTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:LimitTokenCountTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:LowercaseTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:MultiplexerTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:NGramTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:NoriPartOfSpeechTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:PatternCaptureTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:PatternReplaceTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:PorterStemTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:PredicateTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:RemoveDuplicatesTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:ReverseTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:ShingleTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:SnowballTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:StemmerOverrideTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:StemmerTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:StopTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:SynonymGraphTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:SynonymTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:TrimTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:TruncateTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:UniqueTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:UppercaseTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:WordDelimiterGraphTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:WordDelimiterTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:KuromojiStemmerTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:KuromojiReadingFormTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:KuromojiPartOfSpeechTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:IcuTokenizer" - }, - { - "$ref": "#/components/schemas/_types.analysis:IcuCollationTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:IcuFoldingTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:IcuNormalizationTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:IcuTransformTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:PhoneticTokenFilter" - }, - { - "$ref": "#/components/schemas/_types.analysis:DictionaryDecompounderTokenFilter" - } - ] - }, - "_types.analysis:AsciiFoldingTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "asciifolding" - ] - }, - "preserve_original": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:TokenFilterBase": { - "type": "object", - "properties": { - "version": { - "$ref": "#/components/schemas/_types:VersionString" - } - } - }, - "_types.analysis:CommonGramsTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "common_grams" - ] - }, - "common_words": { - "type": "array", - "items": { - "type": "string" - } - }, - "common_words_path": { - "type": "string" - }, - "ignore_case": { - "type": "boolean" - }, - "query_mode": { - "type": "boolean" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:ConditionTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "condition" - ] - }, - "filter": { - "type": "array", - "items": { - "type": "string" - } - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - } - }, - "required": [ - "type", - "filter", - "script" - ] - } - ] - }, - "_types.analysis:DelimitedPayloadTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "delimited_payload" - ] - }, - "delimiter": { - "type": "string" - }, - "encoding": { - "$ref": "#/components/schemas/_types.analysis:DelimitedPayloadEncoding" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:DelimitedPayloadEncoding": { - "type": "string", - "enum": [ - "int", - "float", - "identity" - ] - }, - "_types.analysis:EdgeNGramTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "edge_ngram" - ] - }, - "max_gram": { - "type": "number" - }, - "min_gram": { - "type": "number" - }, - "side": { - "$ref": "#/components/schemas/_types.analysis:EdgeNGramSide" - }, - "preserve_original": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:EdgeNGramSide": { - "type": "string", - "enum": [ - "front", - "back" - ] - }, - "_types.analysis:ElisionTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "elision" - ] - }, - "articles": { - "type": "array", - "items": { - "type": "string" - } - }, - "articles_path": { - "type": "string" - }, - "articles_case": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:FingerprintTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "fingerprint" - ] - }, - "max_output_size": { - "type": "number" - }, - "separator": { - "type": "string" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:HunspellTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "hunspell" - ] - }, - "dedup": { - "type": "boolean" - }, - "dictionary": { - "type": "string" - }, - "locale": { - "type": "string" - }, - "longest_only": { - "type": "boolean" - } - }, - "required": [ - "type", - "locale" - ] - } - ] - }, - "_types.analysis:HyphenationDecompounderTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:CompoundWordTokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "hyphenation_decompounder" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:CompoundWordTokenFilterBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "hyphenation_patterns_path": { - "type": "string" - }, - "max_subword_size": { - "type": "number" - }, - "min_subword_size": { - "type": "number" - }, - "min_word_size": { - "type": "number" - }, - "only_longest_match": { - "type": "boolean" - }, - "word_list": { - "type": "array", - "items": { - "type": "string" - } - }, - "word_list_path": { - "type": "string" - } - } - } - ] - }, - "_types.analysis:KeepTypesTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "keep_types" - ] - }, - "mode": { - "$ref": "#/components/schemas/_types.analysis:KeepTypesMode" - }, - "types": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:KeepTypesMode": { - "type": "string", - "enum": [ - "include", - "exclude" - ] - }, - "_types.analysis:KeepWordsTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "keep" - ] - }, - "keep_words": { - "type": "array", - "items": { - "type": "string" - } - }, - "keep_words_case": { - "type": "boolean" - }, - "keep_words_path": { - "type": "string" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:KeywordMarkerTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "keyword_marker" - ] - }, - "ignore_case": { - "type": "boolean" - }, - "keywords": { - "type": "array", - "items": { - "type": "string" - } - }, - "keywords_path": { - "type": "string" - }, - "keywords_pattern": { - "type": "string" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:KStemTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "kstem" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:LengthTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "length" - ] - }, - "max": { - "type": "number" - }, - "min": { - "type": "number" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:LimitTokenCountTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "limit" - ] - }, - "consume_all_tokens": { - "type": "boolean" - }, - "max_token_count": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:LowercaseTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "lowercase" - ] - }, - "language": { - "type": "string" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:MultiplexerTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "multiplexer" - ] - }, - "filters": { - "type": "array", - "items": { - "type": "string" - } - }, - "preserve_original": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" - } - }, - "required": [ - "type", - "filters" - ] - } - ] - }, - "_types.analysis:NGramTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "ngram" - ] - }, - "max_gram": { - "type": "number" - }, - "min_gram": { - "type": "number" - }, - "preserve_original": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:NoriPartOfSpeechTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "nori_part_of_speech" - ] - }, - "stoptags": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:PatternCaptureTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "pattern_capture" - ] - }, - "patterns": { - "type": "array", - "items": { - "type": "string" - } - }, - "preserve_original": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" - } - }, - "required": [ - "type", - "patterns" - ] - } - ] - }, - "_types.analysis:PatternReplaceTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "pattern_replace" - ] - }, - "all": { - "type": "boolean" - }, - "flags": { - "type": "string" - }, - "pattern": { - "type": "string" - }, - "replacement": { - "type": "string" - } - }, - "required": [ - "type", - "pattern" - ] - } - ] - }, - "_types.analysis:PorterStemTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "porter_stem" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:PredicateTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "predicate_token_filter" - ] - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - } - }, - "required": [ - "type", - "script" - ] - } - ] - }, - "_types.analysis:RemoveDuplicatesTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "remove_duplicates" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:ReverseTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "reverse" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:ShingleTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "shingle" - ] - }, - "filler_token": { - "type": "string" - }, - "max_shingle_size": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "min_shingle_size": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "output_unigrams": { - "type": "boolean" - }, - "output_unigrams_if_no_shingles": { - "type": "boolean" - }, - "token_separator": { - "type": "string" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:SnowballTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "snowball" - ] - }, - "language": { - "$ref": "#/components/schemas/_types.analysis:SnowballLanguage" - } - }, - "required": [ - "type", - "language" - ] - } - ] - }, - "_types.analysis:StemmerOverrideTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "stemmer_override" - ] - }, - "rules": { - "type": "array", - "items": { - "type": "string" - } - }, - "rules_path": { - "type": "string" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:StemmerTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "stemmer" - ] - }, - "language": { - "type": "string" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:StopTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "stop" - ] - }, - "ignore_case": { - "type": "boolean" - }, - "remove_trailing": { - "type": "boolean" - }, - "stopwords": { - "$ref": "#/components/schemas/_types.analysis:StopWords" - }, - "stopwords_path": { - "type": "string" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:SynonymGraphTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "synonym_graph" - ] - }, - "expand": { - "type": "boolean" - }, - "format": { - "$ref": "#/components/schemas/_types.analysis:SynonymFormat" - }, - "lenient": { - "type": "boolean" - }, - "synonyms": { - "type": "array", - "items": { - "type": "string" - } - }, - "synonyms_path": { - "type": "string" - }, - "tokenizer": { - "type": "string" - }, - "updateable": { - "type": "boolean" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:SynonymFormat": { - "type": "string", - "enum": [ - "solr", - "wordnet" - ] - }, - "_types.analysis:SynonymTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "synonym" - ] - }, - "expand": { - "type": "boolean" - }, - "format": { - "$ref": "#/components/schemas/_types.analysis:SynonymFormat" - }, - "lenient": { - "type": "boolean" - }, - "synonyms": { - "type": "array", - "items": { - "type": "string" - } - }, - "synonyms_path": { - "type": "string" - }, - "tokenizer": { - "type": "string" - }, - "updateable": { - "type": "boolean" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:TrimTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "trim" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:TruncateTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "truncate" - ] - }, - "length": { - "type": "number" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:UniqueTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "unique" - ] - }, - "only_on_same_position": { - "type": "boolean" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:UppercaseTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "uppercase" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:WordDelimiterGraphTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "word_delimiter_graph" - ] - }, - "adjust_offsets": { - "type": "boolean" - }, - "catenate_all": { - "type": "boolean" - }, - "catenate_numbers": { - "type": "boolean" - }, - "catenate_words": { - "type": "boolean" - }, - "generate_number_parts": { - "type": "boolean" - }, - "generate_word_parts": { - "type": "boolean" - }, - "ignore_keywords": { - "type": "boolean" - }, - "preserve_original": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" - }, - "protected_words": { - "type": "array", - "items": { - "type": "string" - } - }, - "protected_words_path": { - "type": "string" - }, - "split_on_case_change": { - "type": "boolean" - }, - "split_on_numerics": { - "type": "boolean" - }, - "stem_english_possessive": { - "type": "boolean" - }, - "type_table": { - "type": "array", - "items": { - "type": "string" - } - }, - "type_table_path": { - "type": "string" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:WordDelimiterTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "word_delimiter" - ] - }, - "catenate_all": { - "type": "boolean" - }, - "catenate_numbers": { - "type": "boolean" - }, - "catenate_words": { - "type": "boolean" - }, - "generate_number_parts": { - "type": "boolean" - }, - "generate_word_parts": { - "type": "boolean" - }, - "preserve_original": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" - }, - "protected_words": { - "type": "array", - "items": { - "type": "string" - } - }, - "protected_words_path": { - "type": "string" - }, - "split_on_case_change": { - "type": "boolean" - }, - "split_on_numerics": { - "type": "boolean" - }, - "stem_english_possessive": { - "type": "boolean" - }, - "type_table": { - "type": "array", - "items": { - "type": "string" - } - }, - "type_table_path": { - "type": "string" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:KuromojiStemmerTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "kuromoji_stemmer" - ] - }, - "minimum_length": { - "type": "number" - } - }, - "required": [ - "type", - "minimum_length" - ] - } - ] - }, - "_types.analysis:KuromojiReadingFormTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "kuromoji_readingform" - ] - }, - "use_romaji": { - "type": "boolean" - } - }, - "required": [ - "type", - "use_romaji" - ] - } - ] - }, - "_types.analysis:KuromojiPartOfSpeechTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "kuromoji_part_of_speech" - ] - }, - "stoptags": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "type", - "stoptags" - ] - } - ] - }, - "_types.analysis:IcuTokenizer": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "icu_tokenizer" - ] - }, - "rule_files": { - "type": "string" - } - }, - "required": [ - "type", - "rule_files" - ] - } - ] - }, - "_types.analysis:TokenizerBase": { - "type": "object", - "properties": { - "version": { - "$ref": "#/components/schemas/_types:VersionString" - } - } - }, - "_types.analysis:IcuCollationTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "icu_collation" - ] - }, - "alternate": { - "$ref": "#/components/schemas/_types.analysis:IcuCollationAlternate" - }, - "caseFirst": { - "$ref": "#/components/schemas/_types.analysis:IcuCollationCaseFirst" - }, - "caseLevel": { - "type": "boolean" - }, - "country": { - "type": "string" - }, - "decomposition": { - "$ref": "#/components/schemas/_types.analysis:IcuCollationDecomposition" - }, - "hiraganaQuaternaryMode": { - "type": "boolean" - }, - "language": { - "type": "string" - }, - "numeric": { - "type": "boolean" - }, - "rules": { - "type": "string" - }, - "strength": { - "$ref": "#/components/schemas/_types.analysis:IcuCollationStrength" - }, - "variableTop": { - "type": "string" - }, - "variant": { - "type": "string" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:IcuCollationAlternate": { - "type": "string", - "enum": [ - "shifted", - "non-ignorable" - ] - }, - "_types.analysis:IcuCollationCaseFirst": { - "type": "string", - "enum": [ - "lower", - "upper" - ] - }, - "_types.analysis:IcuCollationDecomposition": { - "type": "string", - "enum": [ - "no", - "identical" - ] - }, - "_types.analysis:IcuCollationStrength": { - "type": "string", - "enum": [ - "primary", - "secondary", - "tertiary", - "quaternary", - "identical" - ] - }, - "_types.analysis:IcuFoldingTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "icu_folding" - ] - }, - "unicode_set_filter": { - "type": "string" - } - }, - "required": [ - "type", - "unicode_set_filter" - ] - } - ] - }, - "_types.analysis:IcuNormalizationTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "icu_normalizer" - ] - }, - "name": { - "$ref": "#/components/schemas/_types.analysis:IcuNormalizationType" - } - }, - "required": [ - "type", - "name" - ] - } - ] - }, - "_types.analysis:IcuTransformTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "icu_transform" - ] - }, - "dir": { - "$ref": "#/components/schemas/_types.analysis:IcuTransformDirection" - }, - "id": { - "type": "string" - } - }, - "required": [ - "type", - "id" - ] - } - ] - }, - "_types.analysis:IcuTransformDirection": { - "type": "string", - "enum": [ - "forward", - "reverse" - ] - }, - "_types.analysis:PhoneticTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "phonetic" - ] - }, - "encoder": { - "$ref": "#/components/schemas/_types.analysis:PhoneticEncoder" - }, - "languageset": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.analysis:PhoneticLanguage" - } - }, - "max_code_len": { - "type": "number" - }, - "name_type": { - "$ref": "#/components/schemas/_types.analysis:PhoneticNameType" - }, - "replace": { - "type": "boolean" - }, - "rule_type": { - "$ref": "#/components/schemas/_types.analysis:PhoneticRuleType" - } - }, - "required": [ - "type", - "encoder", - "languageset", - "name_type", - "rule_type" - ] - } - ] - }, - "_types.analysis:PhoneticEncoder": { - "type": "string", - "enum": [ - "metaphone", - "double_metaphone", - "soundex", - "refined_soundex", - "caverphone1", - "caverphone2", - "cologne", - "nysiis", - "koelnerphonetik", - "haasephonetik", - "beider_morse", - "daitch_mokotoff" - ] - }, - "_types.analysis:PhoneticLanguage": { - "type": "string", - "enum": [ - "any", - "common", - "cyrillic", - "english", - "french", - "german", - "hebrew", - "hungarian", - "polish", - "romanian", - "russian", - "spanish" - ] - }, - "_types.analysis:PhoneticNameType": { - "type": "string", - "enum": [ - "generic", - "ashkenazi", - "sephardic" - ] - }, - "_types.analysis:PhoneticRuleType": { - "type": "string", - "enum": [ - "approx", - "exact" - ] - }, - "_types.analysis:DictionaryDecompounderTokenFilter": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:CompoundWordTokenFilterBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "dictionary_decompounder" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:Normalizer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-normalizers.html" - }, - "discriminator": { - "propertyName": "type" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/_types.analysis:LowercaseNormalizer" - }, - { - "$ref": "#/components/schemas/_types.analysis:CustomNormalizer" - } - ] - }, - "_types.analysis:LowercaseNormalizer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "lowercase" - ] - } - }, - "required": [ - "type" - ] - }, - "_types.analysis:CustomNormalizer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "custom" - ] - }, - "char_filter": { - "type": "array", - "items": { - "type": "string" - } - }, - "filter": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "type" - ] - }, - "_types.analysis:Tokenizer": { - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/_types.analysis:TokenizerDefinition" - } - ] - }, - "_types.analysis:TokenizerDefinition": { - "discriminator": { - "propertyName": "type" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/_types.analysis:CharGroupTokenizer" - }, - { - "$ref": "#/components/schemas/_types.analysis:EdgeNGramTokenizer" - }, - { - "$ref": "#/components/schemas/_types.analysis:KeywordTokenizer" - }, - { - "$ref": "#/components/schemas/_types.analysis:LetterTokenizer" - }, - { - "$ref": "#/components/schemas/_types.analysis:LowercaseTokenizer" - }, - { - "$ref": "#/components/schemas/_types.analysis:NGramTokenizer" - }, - { - "$ref": "#/components/schemas/_types.analysis:NoriTokenizer" - }, - { - "$ref": "#/components/schemas/_types.analysis:PathHierarchyTokenizer" - }, - { - "$ref": "#/components/schemas/_types.analysis:StandardTokenizer" - }, - { - "$ref": "#/components/schemas/_types.analysis:UaxEmailUrlTokenizer" - }, - { - "$ref": "#/components/schemas/_types.analysis:WhitespaceTokenizer" - }, - { - "$ref": "#/components/schemas/_types.analysis:KuromojiTokenizer" - }, - { - "$ref": "#/components/schemas/_types.analysis:PatternTokenizer" - }, - { - "$ref": "#/components/schemas/_types.analysis:IcuTokenizer" - } - ] - }, - "_types.analysis:CharGroupTokenizer": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "char_group" - ] - }, - "tokenize_on_chars": { - "type": "array", - "items": { - "type": "string" - } - }, - "max_token_length": { - "type": "number" - } - }, - "required": [ - "type", - "tokenize_on_chars" - ] - } - ] - }, - "_types.analysis:EdgeNGramTokenizer": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "edge_ngram" - ] - }, - "custom_token_chars": { - "type": "string" - }, - "max_gram": { - "type": "number" - }, - "min_gram": { - "type": "number" - }, - "token_chars": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.analysis:TokenChar" - } - } - }, - "required": [ - "type", - "max_gram", - "min_gram", - "token_chars" - ] - } - ] - }, - "_types.analysis:TokenChar": { - "type": "string", - "enum": [ - "letter", - "digit", - "whitespace", - "punctuation", - "symbol", - "custom" - ] - }, - "_types.analysis:KeywordTokenizer": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "keyword" - ] - }, - "buffer_size": { - "type": "number" - } - }, - "required": [ - "type", - "buffer_size" - ] - } - ] - }, - "_types.analysis:LetterTokenizer": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "letter" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:LowercaseTokenizer": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "lowercase" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:NGramTokenizer": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "ngram" - ] - }, - "custom_token_chars": { - "type": "string" - }, - "max_gram": { - "type": "number" - }, - "min_gram": { - "type": "number" - }, - "token_chars": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.analysis:TokenChar" - } - } - }, - "required": [ - "type", - "max_gram", - "min_gram", - "token_chars" - ] - } - ] - }, - "_types.analysis:NoriTokenizer": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "nori_tokenizer" - ] - }, - "decompound_mode": { - "$ref": "#/components/schemas/_types.analysis:NoriDecompoundMode" - }, - "discard_punctuation": { - "type": "boolean" - }, - "user_dictionary": { - "type": "string" - }, - "user_dictionary_rules": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:PathHierarchyTokenizer": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "path_hierarchy" - ] - }, - "buffer_size": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" - }, - "delimiter": { - "type": "string" - }, - "replacement": { - "type": "string" - }, - "reverse": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedboolean" - }, - "skip": { - "$ref": "#/components/schemas/_spec_utils:Stringifiedinteger" - } - }, - "required": [ - "type", - "buffer_size", - "delimiter", - "replacement", - "reverse", - "skip" - ] - } - ] - }, - "_types.analysis:StandardTokenizer": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "standard" - ] - }, - "max_token_length": { - "type": "number" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:UaxEmailUrlTokenizer": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "uax_url_email" - ] - }, - "max_token_length": { - "type": "number" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:WhitespaceTokenizer": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "whitespace" - ] - }, - "max_token_length": { - "type": "number" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.analysis:KuromojiTokenizer": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "kuromoji_tokenizer" - ] - }, - "discard_punctuation": { - "type": "boolean" - }, - "mode": { - "$ref": "#/components/schemas/_types.analysis:KuromojiTokenizationMode" - }, - "nbest_cost": { - "type": "number" - }, - "nbest_examples": { - "type": "string" - }, - "user_dictionary": { - "type": "string" - }, - "user_dictionary_rules": { - "type": "array", - "items": { - "type": "string" - } - }, - "discard_compound_token": { - "type": "boolean" - } - }, - "required": [ - "type", - "mode" - ] - } - ] - }, - "_types.analysis:PatternTokenizer": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.analysis:TokenizerBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "pattern" - ] - }, - "flags": { - "type": "string" - }, - "group": { - "type": "number" - }, - "pattern": { - "type": "string" - } - }, - "required": [ - "type" - ] - } - ] - }, - "indices._types:IndexSettingsTimeSeries": { - "type": "object", - "properties": { - "end_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "start_time": { - "$ref": "#/components/schemas/_types:DateTime" - } - } - }, - "indices._types:Queries": { - "type": "object", - "properties": { - "cache": { - "$ref": "#/components/schemas/indices._types:CacheQueries" - } - } - }, - "indices._types:CacheQueries": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - }, - "required": [ - "enabled" - ] - }, - "indices._types:SettingsSimilarity": { - "type": "object", - "properties": { - "bm25": { - "$ref": "#/components/schemas/indices._types:SettingsSimilarityBm25" - }, - "dfi": { - "$ref": "#/components/schemas/indices._types:SettingsSimilarityDfi" - }, - "dfr": { - "$ref": "#/components/schemas/indices._types:SettingsSimilarityDfr" - }, - "ib": { - "$ref": "#/components/schemas/indices._types:SettingsSimilarityIb" - }, - "lmd": { - "$ref": "#/components/schemas/indices._types:SettingsSimilarityLmd" - }, - "lmj": { - "$ref": "#/components/schemas/indices._types:SettingsSimilarityLmj" - }, - "scripted_tfidf": { - "$ref": "#/components/schemas/indices._types:SettingsSimilarityScriptedTfidf" - } - } - }, - "indices._types:SettingsSimilarityBm25": { - "type": "object", - "properties": { - "b": { - "type": "number" - }, - "discount_overlaps": { - "type": "boolean" - }, - "k1": { - "type": "number" - }, - "type": { - "type": "string", - "enum": [ - "BM25" - ] - } - }, - "required": [ - "b", - "discount_overlaps", - "k1", - "type" - ] - }, - "indices._types:SettingsSimilarityDfi": { - "type": "object", - "properties": { - "independence_measure": { - "$ref": "#/components/schemas/_types:DFIIndependenceMeasure" - }, - "type": { - "type": "string", - "enum": [ - "DFI" - ] - } - }, - "required": [ - "independence_measure", - "type" - ] - }, - "_types:DFIIndependenceMeasure": { - "type": "string", - "enum": [ - "standardized", - "saturated", - "chisquared" - ] - }, - "indices._types:SettingsSimilarityDfr": { - "type": "object", - "properties": { - "after_effect": { - "$ref": "#/components/schemas/_types:DFRAfterEffect" - }, - "basic_model": { - "$ref": "#/components/schemas/_types:DFRBasicModel" - }, - "normalization": { - "$ref": "#/components/schemas/_types:Normalization" - }, - "type": { - "type": "string", - "enum": [ - "DFR" - ] - } - }, - "required": [ - "after_effect", - "basic_model", - "normalization", - "type" - ] - }, - "_types:DFRAfterEffect": { - "type": "string", - "enum": [ - "no", - "b", - "l" - ] - }, - "_types:DFRBasicModel": { - "type": "string", - "enum": [ - "be", - "d", - "g", - "if", - "in", - "ine", - "p" - ] - }, - "_types:Normalization": { - "type": "string", - "enum": [ - "no", - "h1", - "h2", - "h3", - "z" - ] - }, - "indices._types:SettingsSimilarityIb": { - "type": "object", - "properties": { - "distribution": { - "$ref": "#/components/schemas/_types:IBDistribution" - }, - "lambda": { - "$ref": "#/components/schemas/_types:IBLambda" - }, - "normalization": { - "$ref": "#/components/schemas/_types:Normalization" - }, - "type": { - "type": "string", - "enum": [ - "IB" - ] - } - }, - "required": [ - "distribution", - "lambda", - "normalization", - "type" - ] - }, - "_types:IBDistribution": { - "type": "string", - "enum": [ - "ll", - "spl" - ] - }, - "_types:IBLambda": { - "type": "string", - "enum": [ - "df", - "ttf" - ] - }, - "indices._types:SettingsSimilarityLmd": { - "type": "object", - "properties": { - "mu": { - "type": "number" - }, - "type": { - "type": "string", - "enum": [ - "LMDirichlet" - ] - } - }, - "required": [ - "mu", - "type" - ] - }, - "indices._types:SettingsSimilarityLmj": { - "type": "object", - "properties": { - "lambda": { - "type": "number" - }, - "type": { - "type": "string", - "enum": [ - "LMJelinekMercer" - ] - } - }, - "required": [ - "lambda", - "type" - ] - }, - "indices._types:SettingsSimilarityScriptedTfidf": { - "type": "object", - "properties": { - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "type": { - "type": "string", - "enum": [ - "scripted" - ] - } - }, - "required": [ - "script", - "type" - ] - }, - "indices._types:MappingLimitSettings": { - "type": "object", - "properties": { - "coerce": { - "type": "boolean" - }, - "total_fields": { - "$ref": "#/components/schemas/indices._types:MappingLimitSettingsTotalFields" - }, - "depth": { - "$ref": "#/components/schemas/indices._types:MappingLimitSettingsDepth" - }, - "nested_fields": { - "$ref": "#/components/schemas/indices._types:MappingLimitSettingsNestedFields" - }, - "nested_objects": { - "$ref": "#/components/schemas/indices._types:MappingLimitSettingsNestedObjects" - }, - "field_name_length": { - "$ref": "#/components/schemas/indices._types:MappingLimitSettingsFieldNameLength" - }, - "dimension_fields": { - "$ref": "#/components/schemas/indices._types:MappingLimitSettingsDimensionFields" - }, - "ignore_malformed": { - "type": "boolean" - } - } - }, - "indices._types:MappingLimitSettingsTotalFields": { - "type": "object", - "properties": { - "limit": { - "description": "The maximum number of fields in an index. Field and object mappings, as well as field aliases count towards this limit.\nThe limit is in place to prevent mappings and searches from becoming too large. Higher values can lead to performance\ndegradations and memory issues, especially in clusters with a high load or few resources.", - "type": "number" - } - } - }, - "indices._types:MappingLimitSettingsDepth": { - "type": "object", - "properties": { - "limit": { - "description": "The maximum depth for a field, which is measured as the number of inner objects. For instance, if all fields are defined\nat the root object level, then the depth is 1. If there is one object mapping, then the depth is 2, etc.", - "type": "number" - } - } - }, - "indices._types:MappingLimitSettingsNestedFields": { - "type": "object", - "properties": { - "limit": { - "description": "The maximum number of distinct nested mappings in an index. The nested type should only be used in special cases, when\narrays of objects need to be queried independently of each other. To safeguard against poorly designed mappings, this\nsetting limits the number of unique nested types per index.", - "type": "number" - } - } - }, - "indices._types:MappingLimitSettingsNestedObjects": { - "type": "object", - "properties": { - "limit": { - "description": "The maximum number of nested JSON objects that a single document can contain across all nested types. This limit helps\nto prevent out of memory errors when a document contains too many nested objects.", - "type": "number" - } - } - }, - "indices._types:MappingLimitSettingsFieldNameLength": { - "type": "object", - "properties": { - "limit": { - "description": "Setting for the maximum length of a field name. This setting isn’t really something that addresses mappings explosion but\nmight still be useful if you want to limit the field length. It usually shouldn’t be necessary to set this setting. The\ndefault is okay unless a user starts to add a huge number of fields with really long names. Default is `Long.MAX_VALUE` (no limit).", - "type": "number" - } - } - }, - "indices._types:MappingLimitSettingsDimensionFields": { - "type": "object", - "properties": { - "limit": { - "description": "[preview] This functionality is in technical preview and may be changed or removed in a future release. Elastic will\napply best effort to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.", - "type": "number" - } - } - }, - "indices._types:IndexingSlowlogSettings": { - "type": "object", - "properties": { - "level": { - "type": "string" - }, - "source": { - "type": "number" - }, - "reformat": { - "type": "boolean" - }, - "threshold": { - "$ref": "#/components/schemas/indices._types:IndexingSlowlogTresholds" - } - } - }, - "indices._types:IndexingSlowlogTresholds": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/indices._types:SlowlogTresholdLevels" - } - } - }, - "indices._types:IndexingPressure": { - "type": "object", - "properties": { - "memory": { - "$ref": "#/components/schemas/indices._types:IndexingPressureMemory" - } - }, - "required": [ - "memory" - ] - }, - "indices._types:IndexingPressureMemory": { - "type": "object", - "properties": { - "limit": { - "description": "Number of outstanding bytes that may be consumed by indexing requests. When this limit is reached or exceeded,\nthe node will reject new coordinating and primary operations. When replica operations consume 1.5x this limit,\nthe node will reject new replica operations. Defaults to 10% of the heap.", - "type": "number" - } - } - }, - "indices._types:Storage": { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/indices._types:StorageType" - }, - "allow_mmap": { - "description": "You can restrict the use of the mmapfs and the related hybridfs store type via the setting node.store.allow_mmap.\nThis is a boolean setting indicating whether or not memory-mapping is allowed. The default is to allow it. This\nsetting is useful, for example, if you are in an environment where you can not control the ability to create a lot\nof memory maps so you need disable the ability to use memory-mapping.", - "type": "boolean" - } - }, - "required": [ - "type" - ] - }, - "indices._types:StorageType": { - "type": "string", - "enum": [ - "fs", - "niofs", - "mmapfs", - "hybridfs" - ] - }, - "_types.mapping:TypeMapping": { - "type": "object", - "properties": { - "all_field": { - "$ref": "#/components/schemas/_types.mapping:AllField" - }, - "date_detection": { - "type": "boolean" - }, - "dynamic": { - "$ref": "#/components/schemas/_types.mapping:DynamicMapping" - }, - "dynamic_date_formats": { - "type": "array", - "items": { - "type": "string" - } - }, - "dynamic_templates": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.mapping:DynamicTemplate" - } - } - }, - "_field_names": { - "$ref": "#/components/schemas/_types.mapping:FieldNamesField" - }, - "index_field": { - "$ref": "#/components/schemas/_types.mapping:IndexField" - }, - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "numeric_detection": { - "type": "boolean" - }, - "properties": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.mapping:Property" - } - }, - "_routing": { - "$ref": "#/components/schemas/_types.mapping:RoutingField" - }, - "_size": { - "$ref": "#/components/schemas/_types.mapping:SizeField" - }, - "_source": { - "$ref": "#/components/schemas/_types.mapping:SourceField" - }, - "runtime": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.mapping:RuntimeField" - } - }, - "enabled": { - "type": "boolean" - }, - "_data_stream_timestamp": { - "$ref": "#/components/schemas/_types.mapping:DataStreamTimestamp" - } - } - }, - "_types.mapping:AllField": { - "type": "object", - "properties": { - "analyzer": { - "type": "string" - }, - "enabled": { - "type": "boolean" - }, - "omit_norms": { - "type": "boolean" - }, - "search_analyzer": { - "type": "string" - }, - "similarity": { - "type": "string" - }, - "store": { - "type": "boolean" - }, - "store_term_vector_offsets": { - "type": "boolean" - }, - "store_term_vector_payloads": { - "type": "boolean" - }, - "store_term_vector_positions": { - "type": "boolean" - }, - "store_term_vectors": { - "type": "boolean" - } - }, - "required": [ - "analyzer", - "enabled", - "omit_norms", - "search_analyzer", - "similarity", - "store", - "store_term_vector_offsets", - "store_term_vector_payloads", - "store_term_vector_positions", - "store_term_vectors" - ] - }, - "_types.mapping:DynamicMapping": { - "type": "string", - "enum": [ - "strict", - "runtime", - "true", - "false" - ] - }, - "_types.mapping:DynamicTemplate": { - "type": "object", - "properties": { - "mapping": { - "$ref": "#/components/schemas/_types.mapping:Property" - }, - "match": { - "type": "string" - }, - "match_mapping_type": { - "type": "string" - }, - "match_pattern": { - "$ref": "#/components/schemas/_types.mapping:MatchType" - }, - "path_match": { - "type": "string" - }, - "path_unmatch": { - "type": "string" - }, - "unmatch": { - "type": "string" - } - } - }, - "_types.mapping:Property": { - "discriminator": { - "propertyName": "type" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/_types.mapping:BinaryProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:BooleanProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:DynamicProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:JoinProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:KeywordProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:MatchOnlyTextProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:PercolatorProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:RankFeatureProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:RankFeaturesProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:SearchAsYouTypeProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:TextProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:VersionProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:WildcardProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:DateNanosProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:DateProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:AggregateMetricDoubleProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:DenseVectorProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:FlattenedProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:NestedProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:ObjectProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:CompletionProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:ConstantKeywordProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:FieldAliasProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:HistogramProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:IpProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:Murmur3HashProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:TokenCountProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:GeoPointProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:GeoShapeProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:PointProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:ShapeProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:ByteNumberProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:DoubleNumberProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:FloatNumberProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:HalfFloatNumberProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:IntegerNumberProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:LongNumberProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:ScaledFloatNumberProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:ShortNumberProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:UnsignedLongNumberProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:DateRangeProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:DoubleRangeProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:FloatRangeProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:IntegerRangeProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:IpRangeProperty" - }, - { - "$ref": "#/components/schemas/_types.mapping:LongRangeProperty" - } - ] - }, - "_types.mapping:BinaryProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "binary" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:DocValuesPropertyBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" - }, - { - "type": "object", - "properties": { - "doc_values": { - "type": "boolean" - } - } - } - ] - }, - "_types.mapping:CorePropertyBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:PropertyBase" - }, - { - "type": "object", - "properties": { - "copy_to": { - "$ref": "#/components/schemas/_types:Fields" - }, - "similarity": { - "type": "string" - }, - "store": { - "type": "boolean" - } - } - } - ] - }, - "_types.mapping:PropertyBase": { - "type": "object", - "properties": { - "meta": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-meta-field.html" - }, - "description": "Metadata about the field.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.mapping:Property" - } - }, - "ignore_above": { - "type": "number" - }, - "dynamic": { - "$ref": "#/components/schemas/_types.mapping:DynamicMapping" - }, - "fields": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.mapping:Property" - } - } - } - }, - "_types.mapping:BooleanProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" - }, - { - "type": "object", - "properties": { - "boost": { - "type": "number" - }, - "fielddata": { - "$ref": "#/components/schemas/indices._types:NumericFielddata" - }, - "index": { - "type": "boolean" - }, - "null_value": { - "type": "boolean" - }, - "type": { - "type": "string", - "enum": [ - "boolean" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "indices._types:NumericFielddata": { - "type": "object", - "properties": { - "format": { - "$ref": "#/components/schemas/indices._types:NumericFielddataFormat" - } - }, - "required": [ - "format" - ] - }, - "indices._types:NumericFielddataFormat": { - "type": "string", - "enum": [ - "array", - "disabled" - ] - }, - "_types.mapping:DynamicProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "{dynamic_property}" - ] - }, - "enabled": { - "type": "boolean" - }, - "null_value": { - "$ref": "#/components/schemas/_types:FieldValue" - }, - "boost": { - "type": "number" - }, - "coerce": { - "type": "boolean" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "on_script_error": { - "$ref": "#/components/schemas/_types.mapping:OnScriptError" - }, - "ignore_malformed": { - "type": "boolean" - }, - "time_series_metric": { - "$ref": "#/components/schemas/_types.mapping:TimeSeriesMetricType" - }, - "analyzer": { - "type": "string" - }, - "eager_global_ordinals": { - "type": "boolean" - }, - "index": { - "type": "boolean" - }, - "index_options": { - "$ref": "#/components/schemas/_types.mapping:IndexOptions" - }, - "index_phrases": { - "type": "boolean" - }, - "index_prefixes": { - "$ref": "#/components/schemas/_types.mapping:TextIndexPrefixes" - }, - "norms": { - "type": "boolean" - }, - "position_increment_gap": { - "type": "number" - }, - "search_analyzer": { - "type": "string" - }, - "search_quote_analyzer": { - "type": "string" - }, - "term_vector": { - "$ref": "#/components/schemas/_types.mapping:TermVectorOption" - }, - "format": { - "type": "string" - }, - "precision_step": { - "type": "number" - }, - "locale": { - "type": "string" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:OnScriptError": { - "type": "string", - "enum": [ - "fail", - "continue" - ] - }, - "_types.mapping:TimeSeriesMetricType": { - "type": "string", - "enum": [ - "gauge", - "counter", - "summary", - "histogram", - "position" - ] - }, - "_types.mapping:IndexOptions": { - "type": "string", - "enum": [ - "docs", - "freqs", - "positions", - "offsets" - ] - }, - "_types.mapping:TextIndexPrefixes": { - "type": "object", - "properties": { - "max_chars": { - "type": "number" - }, - "min_chars": { - "type": "number" - } - }, - "required": [ - "max_chars", - "min_chars" - ] - }, - "_types.mapping:TermVectorOption": { - "type": "string", - "enum": [ - "no", - "yes", - "with_offsets", - "with_positions", - "with_positions_offsets", - "with_positions_offsets_payloads", - "with_positions_payloads" - ] - }, - "_types.mapping:JoinProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:PropertyBase" - }, - { - "type": "object", - "properties": { - "relations": { - "type": "object", - "additionalProperties": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:RelationName" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:RelationName" - } - } - ] - } - }, - "eager_global_ordinals": { - "type": "boolean" - }, - "type": { - "type": "string", - "enum": [ - "join" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:KeywordProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" - }, - { - "type": "object", - "properties": { - "boost": { - "type": "number" - }, - "eager_global_ordinals": { - "type": "boolean" - }, - "index": { - "type": "boolean" - }, - "index_options": { - "$ref": "#/components/schemas/_types.mapping:IndexOptions" - }, - "normalizer": { - "type": "string" - }, - "norms": { - "type": "boolean" - }, - "null_value": { - "type": "string" - }, - "split_queries_on_whitespace": { - "type": "boolean" - }, - "time_series_dimension": { - "description": "For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.", - "type": "boolean" - }, - "type": { - "type": "string", - "enum": [ - "keyword" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:MatchOnlyTextProperty": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "match_only_text" - ] - }, - "fields": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/multi-fields.html" - }, - "description": "Multi-fields allow the same string value to be indexed in multiple ways for different purposes, such as one\nfield for search and a multi-field for sorting and aggregations, or the same string value analyzed by different analyzers.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.mapping:Property" - } - }, - "meta": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-meta-field.html" - }, - "description": "Metadata about the field.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "copy_to": { - "$ref": "#/components/schemas/_types:Fields" - } - }, - "required": [ - "type" - ] - }, - "_types.mapping:PercolatorProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:PropertyBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "percolator" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:RankFeatureProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:PropertyBase" - }, - { - "type": "object", - "properties": { - "positive_score_impact": { - "type": "boolean" - }, - "type": { - "type": "string", - "enum": [ - "rank_feature" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:RankFeaturesProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:PropertyBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "rank_features" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:SearchAsYouTypeProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" - }, - { - "type": "object", - "properties": { - "analyzer": { - "type": "string" - }, - "index": { - "type": "boolean" - }, - "index_options": { - "$ref": "#/components/schemas/_types.mapping:IndexOptions" - }, - "max_shingle_size": { - "type": "number" - }, - "norms": { - "type": "boolean" - }, - "search_analyzer": { - "type": "string" - }, - "search_quote_analyzer": { - "type": "string" - }, - "term_vector": { - "$ref": "#/components/schemas/_types.mapping:TermVectorOption" - }, - "type": { - "type": "string", - "enum": [ - "search_as_you_type" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:TextProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" - }, - { - "type": "object", - "properties": { - "analyzer": { - "type": "string" - }, - "boost": { - "type": "number" - }, - "eager_global_ordinals": { - "type": "boolean" - }, - "fielddata": { - "type": "boolean" - }, - "fielddata_frequency_filter": { - "$ref": "#/components/schemas/indices._types:FielddataFrequencyFilter" - }, - "index": { - "type": "boolean" - }, - "index_options": { - "$ref": "#/components/schemas/_types.mapping:IndexOptions" - }, - "index_phrases": { - "type": "boolean" - }, - "index_prefixes": { - "$ref": "#/components/schemas/_types.mapping:TextIndexPrefixes" - }, - "norms": { - "type": "boolean" - }, - "position_increment_gap": { - "type": "number" - }, - "search_analyzer": { - "type": "string" - }, - "search_quote_analyzer": { - "type": "string" - }, - "term_vector": { - "$ref": "#/components/schemas/_types.mapping:TermVectorOption" - }, - "type": { - "type": "string", - "enum": [ - "text" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "indices._types:FielddataFrequencyFilter": { - "type": "object", - "properties": { - "max": { - "type": "number" - }, - "min": { - "type": "number" - }, - "min_segment_size": { - "type": "number" - } - }, - "required": [ - "max", - "min", - "min_segment_size" - ] - }, - "_types.mapping:VersionProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "version" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:WildcardProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "wildcard" - ] - }, - "null_value": { - "type": "string" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:DateNanosProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" - }, - { - "type": "object", - "properties": { - "boost": { - "type": "number" - }, - "format": { - "type": "string" - }, - "ignore_malformed": { - "type": "boolean" - }, - "index": { - "type": "boolean" - }, - "null_value": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "precision_step": { - "type": "number" - }, - "type": { - "type": "string", - "enum": [ - "date_nanos" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:DateProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" - }, - { - "type": "object", - "properties": { - "boost": { - "type": "number" - }, - "fielddata": { - "$ref": "#/components/schemas/indices._types:NumericFielddata" - }, - "format": { - "type": "string" - }, - "ignore_malformed": { - "type": "boolean" - }, - "index": { - "type": "boolean" - }, - "null_value": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "precision_step": { - "type": "number" - }, - "locale": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "date" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:AggregateMetricDoubleProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:PropertyBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "aggregate_metric_double" - ] - }, - "default_metric": { - "type": "string" - }, - "metrics": { - "type": "array", - "items": { - "type": "string" - } - }, - "time_series_metric": { - "$ref": "#/components/schemas/_types.mapping:TimeSeriesMetricType" - } - }, - "required": [ - "type", - "default_metric", - "metrics" - ] - } - ] - }, - "_types.mapping:DenseVectorProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:PropertyBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "dense_vector" - ] - }, - "dims": { - "type": "number" - }, - "similarity": { - "type": "string" - }, - "index": { - "type": "boolean" - }, - "index_options": { - "$ref": "#/components/schemas/_types.mapping:DenseVectorIndexOptions" - } - }, - "required": [ - "type", - "dims" - ] - } - ] - }, - "_types.mapping:DenseVectorIndexOptions": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "m": { - "type": "number" - }, - "ef_construction": { - "type": "number" - } - }, - "required": [ - "type", - "m", - "ef_construction" - ] - }, - "_types.mapping:FlattenedProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:PropertyBase" - }, - { - "type": "object", - "properties": { - "boost": { - "type": "number" - }, - "depth_limit": { - "type": "number" - }, - "doc_values": { - "type": "boolean" - }, - "eager_global_ordinals": { - "type": "boolean" - }, - "index": { - "type": "boolean" - }, - "index_options": { - "$ref": "#/components/schemas/_types.mapping:IndexOptions" - }, - "null_value": { - "type": "string" - }, - "similarity": { - "type": "string" - }, - "split_queries_on_whitespace": { - "type": "boolean" - }, - "type": { - "type": "string", - "enum": [ - "flattened" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:NestedProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" - }, - { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - }, - "include_in_parent": { - "type": "boolean" - }, - "include_in_root": { - "type": "boolean" - }, - "type": { - "type": "string", - "enum": [ - "nested" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:ObjectProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:CorePropertyBase" - }, - { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - }, - "type": { - "type": "string", - "enum": [ - "object" - ] - } - } - } - ] - }, - "_types.mapping:CompletionProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" - }, - { - "type": "object", - "properties": { - "analyzer": { - "type": "string" - }, - "contexts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.mapping:SuggestContext" - } - }, - "max_input_length": { - "type": "number" - }, - "preserve_position_increments": { - "type": "boolean" - }, - "preserve_separators": { - "type": "boolean" - }, - "search_analyzer": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "completion" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:SuggestContext": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "path": { - "$ref": "#/components/schemas/_types:Field" - }, - "type": { - "type": "string" - }, - "precision": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "name", - "type" - ] - }, - "_types.mapping:ConstantKeywordProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:PropertyBase" - }, - { - "type": "object", - "properties": { - "value": { - "type": "object" - }, - "type": { - "type": "string", - "enum": [ - "constant_keyword" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:FieldAliasProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:PropertyBase" - }, - { - "type": "object", - "properties": { - "path": { - "$ref": "#/components/schemas/_types:Field" - }, - "type": { - "type": "string", - "enum": [ - "alias" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:HistogramProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:PropertyBase" - }, - { - "type": "object", - "properties": { - "ignore_malformed": { - "type": "boolean" - }, - "type": { - "type": "string", - "enum": [ - "histogram" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:IpProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" - }, - { - "type": "object", - "properties": { - "boost": { - "type": "number" - }, - "index": { - "type": "boolean" - }, - "ignore_malformed": { - "type": "boolean" - }, - "null_value": { - "type": "string" - }, - "on_script_error": { - "$ref": "#/components/schemas/_types.mapping:OnScriptError" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "time_series_dimension": { - "description": "For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.", - "type": "boolean" - }, - "type": { - "type": "string", - "enum": [ - "ip" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:Murmur3HashProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "murmur3" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:TokenCountProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" - }, - { - "type": "object", - "properties": { - "analyzer": { - "type": "string" - }, - "boost": { - "type": "number" - }, - "index": { - "type": "boolean" - }, - "null_value": { - "type": "number" - }, - "enable_position_increments": { - "type": "boolean" - }, - "type": { - "type": "string", - "enum": [ - "token_count" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:GeoPointProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" - }, - { - "type": "object", - "properties": { - "ignore_malformed": { - "type": "boolean" - }, - "ignore_z_value": { - "type": "boolean" - }, - "null_value": { - "$ref": "#/components/schemas/_types:GeoLocation" - }, - "type": { - "type": "string", - "enum": [ - "geo_point" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:GeoShapeProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" - }, - { - "type": "object", - "properties": { - "coerce": { - "type": "boolean" - }, - "ignore_malformed": { - "type": "boolean" - }, - "ignore_z_value": { - "type": "boolean" - }, - "orientation": { - "$ref": "#/components/schemas/_types.mapping:GeoOrientation" - }, - "strategy": { - "$ref": "#/components/schemas/_types.mapping:GeoStrategy" - }, - "type": { - "type": "string", - "enum": [ - "geo_shape" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:GeoOrientation": { - "type": "string", - "enum": [ - "right", - "left" - ] - }, - "_types.mapping:GeoStrategy": { - "type": "string", - "enum": [ - "recursive", - "term" - ] - }, - "_types.mapping:PointProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" - }, - { - "type": "object", - "properties": { - "ignore_malformed": { - "type": "boolean" - }, - "ignore_z_value": { - "type": "boolean" - }, - "null_value": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "point" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:ShapeProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" - }, - { - "type": "object", - "properties": { - "coerce": { - "type": "boolean" - }, - "ignore_malformed": { - "type": "boolean" - }, - "ignore_z_value": { - "type": "boolean" - }, - "orientation": { - "$ref": "#/components/schemas/_types.mapping:GeoOrientation" - }, - "type": { - "type": "string", - "enum": [ - "shape" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:ByteNumberProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "byte" - ] - }, - "null_value": { - "$ref": "#/components/schemas/_types:byte" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types:byte": { - "type": "number" - }, - "_types.mapping:NumberPropertyBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" - }, - { - "type": "object", - "properties": { - "boost": { - "type": "number" - }, - "coerce": { - "type": "boolean" - }, - "ignore_malformed": { - "type": "boolean" - }, - "index": { - "type": "boolean" - }, - "on_script_error": { - "$ref": "#/components/schemas/_types.mapping:OnScriptError" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "time_series_metric": { - "$ref": "#/components/schemas/_types.mapping:TimeSeriesMetricType" - }, - "time_series_dimension": { - "description": "For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.", - "type": "boolean" - } - } - } - ] - }, - "_types.mapping:DoubleNumberProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "double" - ] - }, - "null_value": { - "type": "number" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:FloatNumberProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "float" - ] - }, - "null_value": { - "type": "number" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:HalfFloatNumberProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "half_float" - ] - }, - "null_value": { - "type": "number" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:IntegerNumberProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "integer" - ] - }, - "null_value": { - "type": "number" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:LongNumberProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "long" - ] - }, - "null_value": { - "type": "number" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:ScaledFloatNumberProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "scaled_float" - ] - }, - "null_value": { - "type": "number" - }, - "scaling_factor": { - "type": "number" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:ShortNumberProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "short" - ] - }, - "null_value": { - "$ref": "#/components/schemas/_types:short" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types:short": { - "type": "number" - }, - "_types.mapping:UnsignedLongNumberProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:NumberPropertyBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "unsigned_long" - ] - }, - "null_value": { - "$ref": "#/components/schemas/_types:ulong" - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types:ulong": { - "type": "number" - }, - "_types.mapping:DateRangeProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" - }, - { - "type": "object", - "properties": { - "format": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "date_range" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:RangePropertyBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:DocValuesPropertyBase" - }, - { - "type": "object", - "properties": { - "boost": { - "type": "number" - }, - "coerce": { - "type": "boolean" - }, - "index": { - "type": "boolean" - } - } - } - ] - }, - "_types.mapping:DoubleRangeProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "double_range" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:FloatRangeProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "float_range" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:IntegerRangeProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "integer_range" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:IpRangeProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "ip_range" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:LongRangeProperty": { - "allOf": [ - { - "$ref": "#/components/schemas/_types.mapping:RangePropertyBase" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "long_range" - ] - } - }, - "required": [ - "type" - ] - } - ] - }, - "_types.mapping:MatchType": { - "type": "string", - "enum": [ - "simple", - "regex" - ] - }, - "_types.mapping:FieldNamesField": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - }, - "required": [ - "enabled" - ] - }, - "_types.mapping:IndexField": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - }, - "required": [ - "enabled" - ] - }, - "_types.mapping:RoutingField": { - "type": "object", - "properties": { - "required": { - "type": "boolean" - } - }, - "required": [ - "required" - ] - }, - "_types.mapping:SizeField": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - }, - "required": [ - "enabled" - ] - }, - "_types.mapping:SourceField": { - "type": "object", - "properties": { - "compress": { - "type": "boolean" - }, - "compress_threshold": { - "type": "string" - }, - "enabled": { - "type": "boolean" - }, - "excludes": { - "type": "array", - "items": { - "type": "string" - } - }, - "includes": { - "type": "array", - "items": { - "type": "string" - } - }, - "mode": { - "$ref": "#/components/schemas/_types.mapping:SourceFieldMode" - } - } - }, - "_types.mapping:SourceFieldMode": { - "type": "string", - "enum": [ - "disabled", - "stored", - "synthetic" - ] - }, - "_types.mapping:DataStreamTimestamp": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - }, - "required": [ - "enabled" - ] - }, - "indices._types:AliasDefinition": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "index_routing": { - "description": "Value used to route indexing operations to a specific shard.\nIf specified, this overwrites the `routing` value for indexing operations.", - "type": "string" - }, - "is_write_index": { - "description": "If `true`, the index is the write index for the alias.", - "type": "boolean" - }, - "routing": { - "description": "Value used to route indexing and search operations to a specific shard.", - "type": "string" - }, - "search_routing": { - "description": "Value used to route search operations to a specific shard.\nIf specified, this overwrites the `routing` value for search operations.", - "type": "string" - }, - "is_hidden": { - "description": "If `true`, the alias is hidden.\nAll indices for the alias must have the same `is_hidden` value.", - "type": "boolean" - } - } - }, - "indices._types:DataStreamLifecycleWithRollover": { - "type": "object", - "properties": { - "data_retention": { - "$ref": "#/components/schemas/_types:Duration" - }, - "downsampling": { - "$ref": "#/components/schemas/indices._types:DataStreamLifecycleDownsampling" - }, - "rollover": { - "$ref": "#/components/schemas/indices._types:DataStreamLifecycleRolloverConditions" - } - } - }, - "indices._types:DataStreamLifecycleDownsampling": { - "type": "object", - "properties": { - "rounds": { - "description": "The list of downsampling rounds to execute as part of this downsampling configuration", - "type": "array", - "items": { - "$ref": "#/components/schemas/indices._types:DownsamplingRound" - } - } - }, - "required": [ - "rounds" - ] - }, - "indices._types:DownsamplingRound": { - "type": "object", - "properties": { - "after": { - "$ref": "#/components/schemas/_types:Duration" - }, - "config": { - "$ref": "#/components/schemas/indices._types:DownsampleConfig" - } - }, - "required": [ - "after", - "config" - ] - }, - "indices._types:DownsampleConfig": { - "type": "object", - "properties": { - "fixed_interval": { - "$ref": "#/components/schemas/_types:DurationLarge" - } - }, - "required": [ - "fixed_interval" - ] - }, - "indices._types:DataStreamLifecycleRolloverConditions": { - "type": "object", - "properties": { - "min_age": { - "$ref": "#/components/schemas/_types:Duration" - }, - "max_age": { - "type": "string" - }, - "min_docs": { - "type": "number" - }, - "max_docs": { - "type": "number" - }, - "min_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "max_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "min_primary_shard_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "max_primary_shard_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "min_primary_shard_docs": { - "type": "number" - }, - "max_primary_shard_docs": { - "type": "number" - } - } - }, - "_types:Level": { - "type": "string", - "enum": [ - "cluster", - "indices", - "shards" - ] - }, - "_types:WaitForEvents": { - "type": "string", - "enum": [ - "immediate", - "urgent", - "high", - "normal", - "low", - "languid" - ] - }, - "cluster.health:HealthResponseBody": { - "type": "object", - "properties": { - "active_primary_shards": { - "description": "The number of active primary shards.", - "type": "number" - }, - "active_shards": { - "description": "The total number of active primary and replica shards.", - "type": "number" - }, - "active_shards_percent_as_number": { - "$ref": "#/components/schemas/_types:Percentage" - }, - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "delayed_unassigned_shards": { - "description": "The number of shards whose allocation has been delayed by the timeout settings.", - "type": "number" - }, - "indices": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/cluster.health:IndexHealthStats" - } - }, - "initializing_shards": { - "description": "The number of shards that are under initialization.", - "type": "number" - }, - "number_of_data_nodes": { - "description": "The number of nodes that are dedicated data nodes.", - "type": "number" - }, - "number_of_in_flight_fetch": { - "description": "The number of unfinished fetches.", - "type": "number" - }, - "number_of_nodes": { - "description": "The number of nodes within the cluster.", - "type": "number" - }, - "number_of_pending_tasks": { - "description": "The number of cluster-level changes that have not yet been executed.", - "type": "number" - }, - "relocating_shards": { - "description": "The number of shards that are under relocation.", - "type": "number" - }, - "status": { - "$ref": "#/components/schemas/_types:HealthStatus" - }, - "task_max_waiting_in_queue": { - "$ref": "#/components/schemas/_types:Duration" - }, - "task_max_waiting_in_queue_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "timed_out": { - "description": "If false the response returned within the period of time that is specified by the timeout parameter (30s by default)", - "type": "boolean" - }, - "unassigned_shards": { - "description": "The number of shards that are not allocated.", - "type": "number" - } - }, - "required": [ - "active_primary_shards", - "active_shards", - "active_shards_percent_as_number", - "cluster_name", - "delayed_unassigned_shards", - "initializing_shards", - "number_of_data_nodes", - "number_of_in_flight_fetch", - "number_of_nodes", - "number_of_pending_tasks", - "relocating_shards", - "status", - "task_max_waiting_in_queue_millis", - "timed_out", - "unassigned_shards" - ] - }, - "cluster.health:IndexHealthStats": { - "type": "object", - "properties": { - "active_primary_shards": { - "type": "number" - }, - "active_shards": { - "type": "number" - }, - "initializing_shards": { - "type": "number" - }, - "number_of_replicas": { - "type": "number" - }, - "number_of_shards": { - "type": "number" - }, - "relocating_shards": { - "type": "number" - }, - "shards": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/cluster.health:ShardHealthStats" - } - }, - "status": { - "$ref": "#/components/schemas/_types:HealthStatus" - }, - "unassigned_shards": { - "type": "number" - } - }, - "required": [ - "active_primary_shards", - "active_shards", - "initializing_shards", - "number_of_replicas", - "number_of_shards", - "relocating_shards", - "status", - "unassigned_shards" - ] - }, - "cluster.health:ShardHealthStats": { - "type": "object", - "properties": { - "active_shards": { - "type": "number" - }, - "initializing_shards": { - "type": "number" - }, - "primary_active": { - "type": "boolean" - }, - "relocating_shards": { - "type": "number" - }, - "status": { - "$ref": "#/components/schemas/_types:HealthStatus" - }, - "unassigned_shards": { - "type": "number" - } - }, - "required": [ - "active_shards", - "initializing_shards", - "primary_active", - "relocating_shards", - "status", - "unassigned_shards" - ] - }, - "_types:ClusterInfoTargets": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:ClusterInfoTarget" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ClusterInfoTarget" - } - } - ] - }, - "_types:ClusterInfoTarget": { - "type": "string", - "enum": [ - "_all", - "http", - "ingest", - "thread_pool", - "script" - ] - }, - "nodes._types:Http": { - "type": "object", - "properties": { - "current_open": { - "description": "Current number of open HTTP connections for the node.", - "type": "number" - }, - "total_opened": { - "description": "Total number of HTTP connections opened for the node.", - "type": "number" - }, - "clients": { - "description": "Information on current and recently-closed HTTP client connections.\nClients that have been closed longer than the `http.client_stats.closed_channels.max_age` setting will not be represented here.", - "type": "array", - "items": { - "$ref": "#/components/schemas/nodes._types:Client" - } - } - } - }, - "nodes._types:Client": { - "type": "object", - "properties": { - "id": { - "description": "Unique ID for the HTTP client.", - "type": "number" - }, - "agent": { - "description": "Reported agent for the HTTP client.\nIf unavailable, this property is not included in the response.", - "type": "string" - }, - "local_address": { - "description": "Local address for the HTTP connection.", - "type": "string" - }, - "remote_address": { - "description": "Remote address for the HTTP connection.", - "type": "string" - }, - "last_uri": { - "description": "The URI of the client’s most recent request.", - "type": "string" - }, - "opened_time_millis": { - "description": "Time at which the client opened the connection.", - "type": "number" - }, - "closed_time_millis": { - "description": "Time at which the client closed the connection if the connection is closed.", - "type": "number" - }, - "last_request_time_millis": { - "description": "Time of the most recent request from this client.", - "type": "number" - }, - "request_count": { - "description": "Number of requests from this client.", - "type": "number" - }, - "request_size_bytes": { - "description": "Cumulative size in bytes of all requests from this client.", - "type": "number" - }, - "x_opaque_id": { - "description": "Value from the client’s `x-opaque-id` HTTP header.\nIf unavailable, this property is not included in the response.", - "type": "string" - } - } - }, - "nodes._types:Ingest": { - "type": "object", - "properties": { - "pipelines": { - "description": "Contains statistics about ingest pipelines for the node.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:IngestTotal" - } - }, - "total": { - "$ref": "#/components/schemas/nodes._types:IngestTotal" - } - } - }, - "nodes._types:IngestTotal": { - "type": "object", - "properties": { - "count": { - "description": "Total number of documents ingested during the lifetime of this node.", - "type": "number" - }, - "current": { - "description": "Total number of documents currently being ingested.", - "type": "number" - }, - "failed": { - "description": "Total number of failed ingest operations during the lifetime of this node.", - "type": "number" - }, - "processors": { - "description": "Total number of ingest processors.", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:KeyedProcessor" - } - } - }, - "time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - } - }, - "nodes._types:KeyedProcessor": { - "type": "object", - "properties": { - "stats": { - "$ref": "#/components/schemas/nodes._types:Processor" - }, - "type": { - "type": "string" - } - } - }, - "nodes._types:Processor": { - "type": "object", - "properties": { - "count": { - "description": "Number of documents transformed by the processor.", - "type": "number" - }, - "current": { - "description": "Number of documents currently being transformed by the processor.", - "type": "number" - }, - "failed": { - "description": "Number of failed operations for the processor.", - "type": "number" - }, - "time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - } - }, - "nodes._types:ThreadCount": { - "type": "object", - "properties": { - "active": { - "description": "Number of active threads in the thread pool.", - "type": "number" - }, - "completed": { - "description": "Number of tasks completed by the thread pool executor.", - "type": "number" - }, - "largest": { - "description": "Highest number of active threads in the thread pool.", - "type": "number" - }, - "queue": { - "description": "Number of tasks in queue for the thread pool.", - "type": "number" - }, - "rejected": { - "description": "Number of tasks rejected by the thread pool executor.", - "type": "number" - }, - "threads": { - "description": "Number of threads in the thread pool.", - "type": "number" - } - } - }, - "nodes._types:Scripting": { - "type": "object", - "properties": { - "cache_evictions": { - "description": "Total number of times the script cache has evicted old data.", - "type": "number" - }, - "compilations": { - "description": "Total number of inline script compilations performed by the node.", - "type": "number" - }, - "compilations_history": { - "description": "Contains this recent history of script compilations.", - "type": "object", - "additionalProperties": { - "type": "number" - } - }, - "compilation_limit_triggered": { - "description": "Total number of times the script compilation circuit breaker has limited inline script compilations.", - "type": "number" - }, - "contexts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/nodes._types:Context" - } - } - } - }, - "nodes._types:Context": { - "type": "object", - "properties": { - "context": { - "type": "string" - }, - "compilations": { - "type": "number" - }, - "cache_evictions": { - "type": "number" - }, - "compilation_limit_triggered": { - "type": "number" - } - } - }, - "cluster.pending_tasks:PendingTask": { - "type": "object", - "properties": { - "executing": { - "description": "Indicates whether the pending tasks are currently executing or not.", - "type": "boolean" - }, - "insert_order": { - "description": "The number that represents when the task has been inserted into the task queue.", - "type": "number" - }, - "priority": { - "description": "The priority of the pending task.\nThe valid priorities in descending priority order are: `IMMEDIATE` > `URGENT` > `HIGH` > `NORMAL` > `LOW` > `LANGUID`.", - "type": "string" - }, - "source": { - "description": "A general description of the cluster task that may include a reason and origin.", - "type": "string" - }, - "time_in_queue": { - "$ref": "#/components/schemas/_types:Duration" - }, - "time_in_queue_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "executing", - "insert_order", - "priority", - "source", - "time_in_queue_millis" - ] - }, - "indices._types:IndexState": { - "type": "object", - "properties": { - "aliases": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:Alias" - } - }, - "mappings": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" - }, - "settings": { - "$ref": "#/components/schemas/indices._types:IndexSettings" - }, - "defaults": { - "$ref": "#/components/schemas/indices._types:IndexSettings" - }, - "data_stream": { - "$ref": "#/components/schemas/_types:DataStreamName" - }, - "lifecycle": { - "$ref": "#/components/schemas/indices._types:DataStreamLifecycle" - } - } - }, - "indices._types:Alias": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "index_routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "is_hidden": { - "description": "If `true`, the alias is hidden.\nAll indices for the alias must have the same `is_hidden` value.", - "type": "boolean" - }, - "is_write_index": { - "description": "If `true`, the index is the write index for the alias.", - "type": "boolean" - }, - "routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "search_routing": { - "$ref": "#/components/schemas/_types:Routing" - } - } - }, - "_types:DataStreamName": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-data-stream.html#indices-create-data-stream-api-path-params" - }, - "type": "string" - }, - "indices._types:DataStreamLifecycle": { - "type": "object", - "properties": { - "data_retention": { - "$ref": "#/components/schemas/_types:Duration" - }, - "downsampling": { - "$ref": "#/components/schemas/indices._types:DataStreamLifecycleDownsampling" - } - } - }, - "cluster.remote_info:ClusterRemoteInfo": { - "discriminator": { - "propertyName": "mode" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/cluster.remote_info:ClusterRemoteSniffInfo" - }, - { - "$ref": "#/components/schemas/cluster.remote_info:ClusterRemoteProxyInfo" - } - ] - }, - "cluster.remote_info:ClusterRemoteSniffInfo": { - "type": "object", - "properties": { - "mode": { - "type": "string", - "enum": [ - "sniff" - ] - }, - "connected": { - "type": "boolean" - }, - "max_connections_per_cluster": { - "type": "number" - }, - "num_nodes_connected": { - "type": "number" - }, - "initial_connect_timeout": { - "$ref": "#/components/schemas/_types:Duration" - }, - "skip_unavailable": { - "type": "boolean" - }, - "seeds": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "mode", - "connected", - "max_connections_per_cluster", - "num_nodes_connected", - "initial_connect_timeout", - "skip_unavailable", - "seeds" - ] - }, - "cluster.remote_info:ClusterRemoteProxyInfo": { - "type": "object", - "properties": { - "mode": { - "type": "string", - "enum": [ - "proxy" - ] - }, - "connected": { - "type": "boolean" - }, - "initial_connect_timeout": { - "$ref": "#/components/schemas/_types:Duration" - }, - "skip_unavailable": { - "type": "boolean" - }, - "proxy_address": { - "type": "string" - }, - "server_name": { - "type": "string" - }, - "num_proxy_sockets_connected": { - "type": "number" - }, - "max_proxy_socket_connections": { - "type": "number" - } - }, - "required": [ - "mode", - "connected", - "initial_connect_timeout", - "skip_unavailable", - "proxy_address", - "server_name", - "num_proxy_sockets_connected", - "max_proxy_socket_connections" - ] - }, - "_types:Metrics": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "cluster.reroute:Command": { - "type": "object", - "properties": { - "cancel": { - "$ref": "#/components/schemas/cluster.reroute:CommandCancelAction" - }, - "move": { - "$ref": "#/components/schemas/cluster.reroute:CommandMoveAction" - }, - "allocate_replica": { - "$ref": "#/components/schemas/cluster.reroute:CommandAllocateReplicaAction" - }, - "allocate_stale_primary": { - "$ref": "#/components/schemas/cluster.reroute:CommandAllocatePrimaryAction" - }, - "allocate_empty_primary": { - "$ref": "#/components/schemas/cluster.reroute:CommandAllocatePrimaryAction" - } - } - }, - "cluster.reroute:CommandCancelAction": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "shard": { - "type": "number" - }, - "node": { - "type": "string" - }, - "allow_primary": { - "type": "boolean" - } - }, - "required": [ - "index", - "shard", - "node" - ] - }, - "cluster.reroute:CommandMoveAction": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "shard": { - "type": "number" - }, - "from_node": { - "description": "The node to move the shard from", - "type": "string" - }, - "to_node": { - "description": "The node to move the shard to", - "type": "string" - } - }, - "required": [ - "index", - "shard", - "from_node", - "to_node" - ] - }, - "cluster.reroute:CommandAllocateReplicaAction": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "shard": { - "type": "number" - }, - "node": { - "type": "string" - } - }, - "required": [ - "index", - "shard", - "node" - ] - }, - "cluster.reroute:CommandAllocatePrimaryAction": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "shard": { - "type": "number" - }, - "node": { - "type": "string" - }, - "accept_data_loss": { - "description": "If a node which has a copy of the data rejoins the cluster later on, that data will be deleted. To ensure that these implications are well-understood, this command requires the flag accept_data_loss to be explicitly set to true", - "type": "boolean" - } - }, - "required": [ - "index", - "shard", - "node", - "accept_data_loss" - ] - }, - "cluster.reroute:RerouteExplanation": { - "type": "object", - "properties": { - "command": { - "type": "string" - }, - "decisions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.reroute:RerouteDecision" - } - }, - "parameters": { - "$ref": "#/components/schemas/cluster.reroute:RerouteParameters" - } - }, - "required": [ - "command", - "decisions", - "parameters" - ] - }, - "cluster.reroute:RerouteDecision": { - "type": "object", - "properties": { - "decider": { - "type": "string" - }, - "decision": { - "type": "string" - }, - "explanation": { - "type": "string" - } - }, - "required": [ - "decider", - "decision", - "explanation" - ] - }, - "cluster.reroute:RerouteParameters": { - "type": "object", - "properties": { - "allow_primary": { - "type": "boolean" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "node": { - "$ref": "#/components/schemas/_types:NodeName" - }, - "shard": { - "type": "number" - }, - "from_node": { - "$ref": "#/components/schemas/_types:NodeName" - }, - "to_node": { - "$ref": "#/components/schemas/_types:NodeName" - } - }, - "required": [ - "allow_primary", - "index", - "node", - "shard" - ] - }, - "cluster.stats:StatsResponseBase": { - "allOf": [ - { - "$ref": "#/components/schemas/nodes._types:NodesResponseBase" - }, - { - "type": "object", - "properties": { - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "cluster_uuid": { - "$ref": "#/components/schemas/_types:Uuid" - }, - "indices": { - "$ref": "#/components/schemas/cluster.stats:ClusterIndices" - }, - "nodes": { - "$ref": "#/components/schemas/cluster.stats:ClusterNodes" - }, - "status": { - "$ref": "#/components/schemas/_types:HealthStatus" - }, - "timestamp": { - "description": "Unix timestamp, in milliseconds, for the last time the cluster statistics were refreshed.", - "type": "number" - } - }, - "required": [ - "cluster_name", - "cluster_uuid", - "indices", - "nodes", - "status", - "timestamp" - ] - } - ] - }, - "cluster.stats:ClusterIndices": { - "type": "object", - "properties": { - "analysis": { - "$ref": "#/components/schemas/cluster.stats:CharFilterTypes" - }, - "completion": { - "$ref": "#/components/schemas/_types:CompletionStats" - }, - "count": { - "description": "Total number of indices with shards assigned to selected nodes.", - "type": "number" - }, - "docs": { - "$ref": "#/components/schemas/_types:DocStats" - }, - "fielddata": { - "$ref": "#/components/schemas/_types:FielddataStats" - }, - "query_cache": { - "$ref": "#/components/schemas/_types:QueryCacheStats" - }, - "segments": { - "$ref": "#/components/schemas/_types:SegmentsStats" - }, - "shards": { - "$ref": "#/components/schemas/cluster.stats:ClusterIndicesShards" - }, - "store": { - "$ref": "#/components/schemas/_types:StoreStats" - }, - "mappings": { - "$ref": "#/components/schemas/cluster.stats:FieldTypesMappings" - }, - "versions": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/analyzer-anatomy.html" - }, - "description": "Contains statistics about analyzers and analyzer components used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:IndicesVersions" - } - } - }, - "required": [ - "analysis", - "completion", - "count", - "docs", - "fielddata", - "query_cache", - "segments", - "shards", - "store", - "mappings" - ] - }, - "cluster.stats:CharFilterTypes": { - "type": "object", - "properties": { - "analyzer_types": { - "description": "Contains statistics about analyzer types used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } - }, - "built_in_analyzers": { - "description": "Contains statistics about built-in analyzers used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } - }, - "built_in_char_filters": { - "description": "Contains statistics about built-in character filters used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } - }, - "built_in_filters": { - "description": "Contains statistics about built-in token filters used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } - }, - "built_in_tokenizers": { - "description": "Contains statistics about built-in tokenizers used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } - }, - "char_filter_types": { - "description": "Contains statistics about character filter types used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } - }, - "filter_types": { - "description": "Contains statistics about token filter types used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } - }, - "tokenizer_types": { - "description": "Contains statistics about tokenizer types used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } - } - }, - "required": [ - "analyzer_types", - "built_in_analyzers", - "built_in_char_filters", - "built_in_filters", - "built_in_tokenizers", - "char_filter_types", - "filter_types", - "tokenizer_types" - ] - }, - "cluster.stats:FieldTypes": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "count": { - "description": "The number of occurrences of the field type in selected nodes.", - "type": "number" - }, - "index_count": { - "description": "The number of indices containing the field type in selected nodes.", - "type": "number" - }, - "indexed_vector_count": { - "description": "For dense_vector field types, number of indexed vector types in selected nodes.", - "type": "number" - }, - "indexed_vector_dim_max": { - "description": "For dense_vector field types, the maximum dimension of all indexed vector types in selected nodes.", - "type": "number" - }, - "indexed_vector_dim_min": { - "description": "For dense_vector field types, the minimum dimension of all indexed vector types in selected nodes.", - "type": "number" - }, - "script_count": { - "description": "The number of fields that declare a script.", - "type": "number" - } - }, - "required": [ - "name", - "count", - "index_count" - ] - }, - "_types:CompletionStats": { - "type": "object", - "properties": { - "size_in_bytes": { - "description": "Total amount, in bytes, of memory used for completion across all shards assigned to selected nodes.", - "type": "number" - }, - "size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "fields": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:FieldSizeUsage" - } - } - }, - "required": [ - "size_in_bytes" - ] - }, - "_types:FieldSizeUsage": { - "type": "object", - "properties": { - "size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "size_in_bytes": { - "type": "number" - } - }, - "required": [ - "size_in_bytes" - ] - }, - "_types:DocStats": { - "type": "object", - "properties": { - "count": { - "description": "Total number of non-deleted documents across all primary shards assigned to selected nodes.\nThis number is based on documents in Lucene segments and may include documents from nested fields.", - "type": "number" - }, - "deleted": { - "description": "Total number of deleted documents across all primary shards assigned to selected nodes.\nThis number is based on documents in Lucene segments.\nElasticsearch reclaims the disk space of deleted Lucene documents when a segment is merged.", - "type": "number" - } - }, - "required": [ - "count" - ] - }, - "_types:FielddataStats": { - "type": "object", - "properties": { - "evictions": { - "type": "number" - }, - "memory_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "memory_size_in_bytes": { - "type": "number" - }, - "fields": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:FieldMemoryUsage" - } - } - }, - "required": [ - "memory_size_in_bytes" - ] - }, - "_types:FieldMemoryUsage": { - "type": "object", - "properties": { - "memory_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "memory_size_in_bytes": { - "type": "number" - } - }, - "required": [ - "memory_size_in_bytes" - ] - }, - "_types:QueryCacheStats": { - "type": "object", - "properties": { - "cache_count": { - "description": "Total number of entries added to the query cache across all shards assigned to selected nodes.\nThis number includes current and evicted entries.", - "type": "number" - }, - "cache_size": { - "description": "Total number of entries currently in the query cache across all shards assigned to selected nodes.", - "type": "number" - }, - "evictions": { - "description": "Total number of query cache evictions across all shards assigned to selected nodes.", - "type": "number" - }, - "hit_count": { - "description": "Total count of query cache hits across all shards assigned to selected nodes.", - "type": "number" - }, - "memory_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "memory_size_in_bytes": { - "description": "Total amount, in bytes, of memory used for the query cache across all shards assigned to selected nodes.", - "type": "number" - }, - "miss_count": { - "description": "Total count of query cache misses across all shards assigned to selected nodes.", - "type": "number" - }, - "total_count": { - "description": "Total count of hits and misses in the query cache across all shards assigned to selected nodes.", - "type": "number" - } - }, - "required": [ - "cache_count", - "cache_size", - "evictions", - "hit_count", - "memory_size_in_bytes", - "miss_count", - "total_count" - ] - }, - "_types:SegmentsStats": { - "type": "object", - "properties": { - "count": { - "description": "Total number of segments across all shards assigned to selected nodes.", - "type": "number" - }, - "doc_values_memory": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "doc_values_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used for doc values across all shards assigned to selected nodes.", - "type": "number" - }, - "file_sizes": { - "description": "This object is not populated by the cluster stats API.\nTo get information on segment files, use the node stats API.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices.stats:ShardFileSizeInfo" - } - }, - "fixed_bit_set": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "fixed_bit_set_memory_in_bytes": { - "description": "Total amount of memory, in bytes, used by fixed bit sets across all shards assigned to selected nodes.", - "type": "number" - }, - "index_writer_memory": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "index_writer_max_memory_in_bytes": { - "type": "number" - }, - "index_writer_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used by all index writers across all shards assigned to selected nodes.", - "type": "number" - }, - "max_unsafe_auto_id_timestamp": { - "description": "Unix timestamp, in milliseconds, of the most recently retried indexing request.", - "type": "number" - }, - "memory": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "memory_in_bytes": { - "description": "Total amount, in bytes, of memory used for segments across all shards assigned to selected nodes.", - "type": "number" - }, - "norms_memory": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "norms_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used for normalization factors across all shards assigned to selected nodes.", - "type": "number" - }, - "points_memory": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "points_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used for points across all shards assigned to selected nodes.", - "type": "number" - }, - "stored_memory": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "stored_fields_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used for stored fields across all shards assigned to selected nodes.", - "type": "number" - }, - "terms_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used for terms across all shards assigned to selected nodes.", - "type": "number" - }, - "terms_memory": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "term_vectory_memory": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "term_vectors_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used for term vectors across all shards assigned to selected nodes.", - "type": "number" - }, - "version_map_memory": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "version_map_memory_in_bytes": { - "description": "Total amount, in bytes, of memory used by all version maps across all shards assigned to selected nodes.", - "type": "number" - } - }, - "required": [ - "count", - "doc_values_memory_in_bytes", - "file_sizes", - "fixed_bit_set_memory_in_bytes", - "index_writer_memory_in_bytes", - "max_unsafe_auto_id_timestamp", - "memory_in_bytes", - "norms_memory_in_bytes", - "points_memory_in_bytes", - "stored_fields_memory_in_bytes", - "terms_memory_in_bytes", - "term_vectors_memory_in_bytes", - "version_map_memory_in_bytes" - ] - }, - "indices.stats:ShardFileSizeInfo": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "size_in_bytes": { - "type": "number" - }, - "min_size_in_bytes": { - "type": "number" - }, - "max_size_in_bytes": { - "type": "number" - }, - "average_size_in_bytes": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "description", - "size_in_bytes" - ] - }, - "cluster.stats:ClusterIndicesShards": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/cluster.stats:ClusterIndicesShardsIndex" - }, - "primaries": { - "description": "Number of primary shards assigned to selected nodes.", - "type": "number" - }, - "replication": { - "description": "Ratio of replica shards to primary shards across all selected nodes.", - "type": "number" - }, - "total": { - "description": "Total number of shards assigned to selected nodes.", - "type": "number" - } - } - }, - "cluster.stats:ClusterIndicesShardsIndex": { - "type": "object", - "properties": { - "primaries": { - "$ref": "#/components/schemas/cluster.stats:ClusterShardMetrics" - }, - "replication": { - "$ref": "#/components/schemas/cluster.stats:ClusterShardMetrics" - }, - "shards": { - "$ref": "#/components/schemas/cluster.stats:ClusterShardMetrics" - } - }, - "required": [ - "primaries", - "replication", - "shards" - ] - }, - "cluster.stats:ClusterShardMetrics": { - "type": "object", - "properties": { - "avg": { - "description": "Mean number of shards in an index, counting only shards assigned to selected nodes.", - "type": "number" - }, - "max": { - "description": "Maximum number of shards in an index, counting only shards assigned to selected nodes.", - "type": "number" - }, - "min": { - "description": "Minimum number of shards in an index, counting only shards assigned to selected nodes.", - "type": "number" - } - }, - "required": [ - "avg", - "max", - "min" - ] - }, - "_types:StoreStats": { - "type": "object", - "properties": { - "size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "size_in_bytes": { - "description": "Total size, in bytes, of all shards assigned to selected nodes.", - "type": "number" - }, - "reserved": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "reserved_in_bytes": { - "description": "A prediction, in bytes, of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.", - "type": "number" - }, - "total_data_set_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "total_data_set_size_in_bytes": { - "description": "Total data set size, in bytes, of all shards assigned to selected nodes.\nThis includes the size of shards not stored fully on the nodes, such as the cache for partially mounted indices.", - "type": "number" - } - }, - "required": [ - "size_in_bytes", - "reserved_in_bytes" - ] - }, - "cluster.stats:FieldTypesMappings": { - "type": "object", - "properties": { - "field_types": { - "description": "Contains statistics about field data types used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:FieldTypes" - } - }, - "runtime_field_types": { - "description": "Contains statistics about runtime field data types used in selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:RuntimeFieldTypes" - } - }, - "total_field_count": { - "description": "Total number of fields in all non-system indices.", - "type": "number" - }, - "total_deduplicated_field_count": { - "description": "Total number of fields in all non-system indices, accounting for mapping deduplication.", - "type": "number" - }, - "total_deduplicated_mapping_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "total_deduplicated_mapping_size_in_bytes": { - "description": "Total size of all mappings, in bytes, after deduplication and compression.", - "type": "number" - } - }, - "required": [ - "field_types" - ] - }, - "cluster.stats:RuntimeFieldTypes": { - "type": "object", - "properties": { - "chars_max": { - "description": "Maximum number of characters for a single runtime field script.", - "type": "number" - }, - "chars_total": { - "description": "Total number of characters for the scripts that define the current runtime field data type.", - "type": "number" - }, - "count": { - "description": "Number of runtime fields mapped to the field data type in selected nodes.", - "type": "number" - }, - "doc_max": { - "description": "Maximum number of accesses to doc_values for a single runtime field script", - "type": "number" - }, - "doc_total": { - "description": "Total number of accesses to doc_values for the scripts that define the current runtime field data type.", - "type": "number" - }, - "index_count": { - "description": "Number of indices containing a mapping of the runtime field data type in selected nodes.", - "type": "number" - }, - "lang": { - "description": "Script languages used for the runtime fields scripts.", - "type": "array", - "items": { - "type": "string" - } - }, - "lines_max": { - "description": "Maximum number of lines for a single runtime field script.", - "type": "number" - }, - "lines_total": { - "description": "Total number of lines for the scripts that define the current runtime field data type.", - "type": "number" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "scriptless_count": { - "description": "Number of runtime fields that don’t declare a script.", - "type": "number" - }, - "shadowed_count": { - "description": "Number of runtime fields that shadow an indexed field.", - "type": "number" - }, - "source_max": { - "description": "Maximum number of accesses to _source for a single runtime field script.", - "type": "number" - }, - "source_total": { - "description": "Total number of accesses to _source for the scripts that define the current runtime field data type.", - "type": "number" - } - }, - "required": [ - "chars_max", - "chars_total", - "count", - "doc_max", - "doc_total", - "index_count", - "lang", - "lines_max", - "lines_total", - "name", - "scriptless_count", - "shadowed_count", - "source_max", - "source_total" - ] - }, - "cluster.stats:IndicesVersions": { - "type": "object", - "properties": { - "index_count": { - "type": "number" - }, - "primary_shard_count": { - "type": "number" - }, - "total_primary_bytes": { - "type": "number" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - } - }, - "required": [ - "index_count", - "primary_shard_count", - "total_primary_bytes", - "version" - ] - }, - "cluster.stats:ClusterNodes": { - "type": "object", - "properties": { - "count": { - "$ref": "#/components/schemas/cluster.stats:ClusterNodeCount" - }, - "discovery_types": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-hosts-providers.html" - }, - "description": "Contains statistics about the discovery types used by selected nodes.", - "type": "object", - "additionalProperties": { - "type": "number" - } - }, - "fs": { - "$ref": "#/components/schemas/cluster.stats:ClusterFileSystem" - }, - "indexing_pressure": { - "$ref": "#/components/schemas/cluster.stats:IndexingPressure" - }, - "ingest": { - "$ref": "#/components/schemas/cluster.stats:ClusterIngest" - }, - "jvm": { - "$ref": "#/components/schemas/cluster.stats:ClusterJvm" - }, - "network_types": { - "$ref": "#/components/schemas/cluster.stats:ClusterNetworkTypes" - }, - "os": { - "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystem" - }, - "packaging_types": { - "description": "Contains statistics about Elasticsearch distributions installed on selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:NodePackagingType" - } - }, - "plugins": { - "description": "Contains statistics about installed plugins and modules by selected nodes.\nIf no plugins or modules are installed, this array is empty.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:PluginStats" - } - }, - "process": { - "$ref": "#/components/schemas/cluster.stats:ClusterProcess" - }, - "versions": { - "description": "Array of Elasticsearch versions used on selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:VersionString" - } - } - }, - "required": [ - "count", - "discovery_types", - "fs", - "indexing_pressure", - "ingest", - "jvm", - "network_types", - "os", - "packaging_types", - "plugins", - "process", - "versions" - ] - }, - "cluster.stats:ClusterNodeCount": { - "type": "object", - "properties": { - "coordinating_only": { - "type": "number" - }, - "data": { - "type": "number" - }, - "data_cold": { - "type": "number" - }, - "data_content": { - "type": "number" - }, - "data_frozen": { - "type": "number" - }, - "data_hot": { - "type": "number" - }, - "data_warm": { - "type": "number" - }, - "ingest": { - "type": "number" - }, - "master": { - "type": "number" - }, - "ml": { - "type": "number" - }, - "remote_cluster_client": { - "type": "number" - }, - "total": { - "type": "number" - }, - "transform": { - "type": "number" - }, - "voting_only": { - "type": "number" - } - }, - "required": [ - "coordinating_only", - "data", - "data_cold", - "data_content", - "data_hot", - "data_warm", - "ingest", - "master", - "ml", - "remote_cluster_client", - "total", - "transform", - "voting_only" - ] - }, - "cluster.stats:ClusterFileSystem": { - "type": "object", - "properties": { - "available_in_bytes": { - "description": "Total number of bytes available to JVM in file stores across all selected nodes.\nDepending on operating system or process-level restrictions, this number may be less than `nodes.fs.free_in_byes`.\nThis is the actual amount of free disk space the selected Elasticsearch nodes can use.", - "type": "number" - }, - "free_in_bytes": { - "description": "Total number of unallocated bytes in file stores across all selected nodes.", - "type": "number" - }, - "total_in_bytes": { - "description": "Total size, in bytes, of all file stores across all selected nodes.", - "type": "number" - } - }, - "required": [ - "available_in_bytes", - "free_in_bytes", - "total_in_bytes" - ] - }, - "cluster.stats:IndexingPressure": { - "type": "object", - "properties": { - "memory": { - "$ref": "#/components/schemas/cluster.stats:IndexingPressureMemory" - } - }, - "required": [ - "memory" - ] - }, - "cluster.stats:IndexingPressureMemory": { - "type": "object", - "properties": { - "current": { - "$ref": "#/components/schemas/cluster.stats:IndexingPressureMemorySummary" - }, - "limit_in_bytes": { - "type": "number" - }, - "total": { - "$ref": "#/components/schemas/cluster.stats:IndexingPressureMemorySummary" - } - }, - "required": [ - "current", - "limit_in_bytes", - "total" - ] - }, - "cluster.stats:IndexingPressureMemorySummary": { - "type": "object", - "properties": { - "all_in_bytes": { - "type": "number" - }, - "combined_coordinating_and_primary_in_bytes": { - "type": "number" - }, - "coordinating_in_bytes": { - "type": "number" - }, - "coordinating_rejections": { - "type": "number" - }, - "primary_in_bytes": { - "type": "number" - }, - "primary_rejections": { - "type": "number" - }, - "replica_in_bytes": { - "type": "number" - }, - "replica_rejections": { - "type": "number" - } - }, - "required": [ - "all_in_bytes", - "combined_coordinating_and_primary_in_bytes", - "coordinating_in_bytes", - "primary_in_bytes", - "replica_in_bytes" - ] - }, - "cluster.stats:ClusterIngest": { - "type": "object", - "properties": { - "number_of_pipelines": { - "type": "number" - }, - "processor_stats": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/cluster.stats:ClusterProcessor" - } - } - }, - "required": [ - "number_of_pipelines", - "processor_stats" - ] - }, - "cluster.stats:ClusterProcessor": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "current": { - "type": "number" - }, - "failed": { - "type": "number" - }, - "time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "count", - "current", - "failed", - "time_in_millis" - ] - }, - "cluster.stats:ClusterJvm": { - "type": "object", - "properties": { - "max_uptime_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "mem": { - "$ref": "#/components/schemas/cluster.stats:ClusterJvmMemory" - }, - "threads": { - "description": "Number of active threads in use by JVM across all selected nodes.", - "type": "number" - }, - "versions": { - "description": "Contains statistics about the JVM versions used by selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:ClusterJvmVersion" - } - } - }, - "required": [ - "max_uptime_in_millis", - "mem", - "threads", - "versions" - ] - }, - "cluster.stats:ClusterJvmMemory": { - "type": "object", - "properties": { - "heap_max_in_bytes": { - "description": "Maximum amount of memory, in bytes, available for use by the heap across all selected nodes.", - "type": "number" - }, - "heap_used_in_bytes": { - "description": "Memory, in bytes, currently in use by the heap across all selected nodes.", - "type": "number" - } - }, - "required": [ - "heap_max_in_bytes", - "heap_used_in_bytes" - ] - }, - "cluster.stats:ClusterJvmVersion": { - "type": "object", - "properties": { - "bundled_jdk": { - "description": "Always `true`. All distributions come with a bundled Java Development Kit (JDK).", - "type": "boolean" - }, - "count": { - "description": "Total number of selected nodes using JVM.", - "type": "number" - }, - "using_bundled_jdk": { - "description": "If `true`, a bundled JDK is in use by JVM.", - "type": "boolean" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "vm_name": { - "description": "Name of the JVM.", - "type": "string" - }, - "vm_vendor": { - "description": "Vendor of the JVM.", - "type": "string" - }, - "vm_version": { - "$ref": "#/components/schemas/_types:VersionString" - } - }, - "required": [ - "bundled_jdk", - "count", - "using_bundled_jdk", - "version", - "vm_name", - "vm_vendor", - "vm_version" - ] - }, - "cluster.stats:ClusterNetworkTypes": { - "type": "object", - "properties": { - "http_types": { - "description": "Contains statistics about the HTTP network types used by selected nodes.", - "type": "object", - "additionalProperties": { - "type": "number" - } - }, - "transport_types": { - "description": "Contains statistics about the transport network types used by selected nodes.", - "type": "object", - "additionalProperties": { - "type": "number" - } - } - }, - "required": [ - "http_types", - "transport_types" - ] - }, - "cluster.stats:ClusterOperatingSystem": { - "type": "object", - "properties": { - "allocated_processors": { - "description": "Number of processors used to calculate thread pool size across all selected nodes.\nThis number can be set with the processors setting of a node and defaults to the number of processors reported by the operating system.\nIn both cases, this number will never be larger than 32.", - "type": "number" - }, - "architectures": { - "description": "Contains statistics about processor architectures (for example, x86_64 or aarch64) used by selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystemArchitecture" - } - }, - "available_processors": { - "description": "Number of processors available to JVM across all selected nodes.", - "type": "number" - }, - "mem": { - "$ref": "#/components/schemas/cluster.stats:OperatingSystemMemoryInfo" - }, - "names": { - "description": "Contains statistics about operating systems used by selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystemName" - } - }, - "pretty_names": { - "description": "Contains statistics about operating systems used by selected nodes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/cluster.stats:ClusterOperatingSystemPrettyName" - } - } - }, - "required": [ - "allocated_processors", - "available_processors", - "mem", - "names", - "pretty_names" - ] - }, - "cluster.stats:ClusterOperatingSystemArchitecture": { - "type": "object", - "properties": { - "arch": { - "description": "Name of an architecture used by one or more selected nodes.", - "type": "string" - }, - "count": { - "description": "Number of selected nodes using the architecture.", - "type": "number" - } - }, - "required": [ - "arch", - "count" - ] - }, - "cluster.stats:OperatingSystemMemoryInfo": { - "type": "object", - "properties": { - "adjusted_total_in_bytes": { - "description": "Total amount, in bytes, of memory across all selected nodes, but using the value specified using the `es.total_memory_bytes` system property instead of measured total memory for those nodes where that system property was set.", - "type": "number" - }, - "free_in_bytes": { - "description": "Amount, in bytes, of free physical memory across all selected nodes.", - "type": "number" - }, - "free_percent": { - "description": "Percentage of free physical memory across all selected nodes.", - "type": "number" - }, - "total_in_bytes": { - "description": "Total amount, in bytes, of physical memory across all selected nodes.", - "type": "number" - }, - "used_in_bytes": { - "description": "Amount, in bytes, of physical memory in use across all selected nodes.", - "type": "number" - }, - "used_percent": { - "description": "Percentage of physical memory in use across all selected nodes.", - "type": "number" - } - }, - "required": [ - "free_in_bytes", - "free_percent", - "total_in_bytes", - "used_in_bytes", - "used_percent" - ] - }, - "cluster.stats:ClusterOperatingSystemName": { - "type": "object", - "properties": { - "count": { - "description": "Number of selected nodes using the operating system.", - "type": "number" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "required": [ - "count", - "name" - ] - }, - "cluster.stats:ClusterOperatingSystemPrettyName": { - "type": "object", - "properties": { - "count": { - "description": "Number of selected nodes using the operating system.", - "type": "number" - }, - "pretty_name": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "required": [ - "count", - "pretty_name" - ] - }, - "cluster.stats:NodePackagingType": { - "type": "object", - "properties": { - "count": { - "description": "Number of selected nodes using the distribution flavor and file type.", - "type": "number" - }, - "flavor": { - "description": "Type of Elasticsearch distribution. This is always `default`.", - "type": "string" - }, - "type": { - "description": "File type (such as `tar` or `zip`) used for the distribution package.", - "type": "string" - } - }, - "required": [ - "count", - "flavor", - "type" - ] - }, - "_types:PluginStats": { - "type": "object", - "properties": { - "classname": { - "type": "string" - }, - "description": { - "type": "string" - }, - "elasticsearch_version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "extended_plugins": { - "type": "array", - "items": { - "type": "string" - } - }, - "has_native_controller": { - "type": "boolean" - }, - "java_version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "licensed": { - "type": "boolean" - } - }, - "required": [ - "classname", - "description", - "elasticsearch_version", - "extended_plugins", - "has_native_controller", - "java_version", - "name", - "version", - "licensed" - ] - }, - "cluster.stats:ClusterProcess": { - "type": "object", - "properties": { - "cpu": { - "$ref": "#/components/schemas/cluster.stats:ClusterProcessCpu" - }, - "open_file_descriptors": { - "$ref": "#/components/schemas/cluster.stats:ClusterProcessOpenFileDescriptors" - } - }, - "required": [ - "cpu", - "open_file_descriptors" - ] - }, - "cluster.stats:ClusterProcessCpu": { - "type": "object", - "properties": { - "percent": { - "description": "Percentage of CPU used across all selected nodes.\nReturns `-1` if not supported.", - "type": "number" - } - }, - "required": [ - "percent" - ] - }, - "cluster.stats:ClusterProcessOpenFileDescriptors": { - "type": "object", - "properties": { - "avg": { - "description": "Average number of concurrently open file descriptors.\nReturns `-1` if not supported.", - "type": "number" - }, - "max": { - "description": "Maximum number of concurrently open file descriptors allowed across all selected nodes.\nReturns `-1` if not supported.", - "type": "number" - }, - "min": { - "description": "Minimum number of concurrently open file descriptors across all selected nodes.\nReturns -1 if not supported.", - "type": "number" - } - }, - "required": [ - "avg", - "max", - "min" - ] - }, - "nodes._types:NodesResponseBase": { - "type": "object", - "properties": { - "_nodes": { - "$ref": "#/components/schemas/_types:NodeStatistics" - } - } - }, - "_types:NodeStatistics": { - "type": "object", - "properties": { - "failures": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ErrorCause" - } - }, - "total": { - "description": "Total number of nodes selected by the request.", - "type": "number" - }, - "successful": { - "description": "Number of nodes that responded successfully to the request.", - "type": "number" - }, - "failed": { - "description": "Number of nodes that rejected the request or failed to respond. If this value is not 0, a reason for the rejection or failure is included in the response.", - "type": "number" - } - }, - "required": [ - "total", - "successful", - "failed" - ] - }, - "_types:WriteResponseBase": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "_primary_term": { - "type": "number" - }, - "result": { - "$ref": "#/components/schemas/_types:Result" - }, - "_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "_version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "forced_refresh": { - "type": "boolean" - } - }, - "required": [ - "_id", - "_index", - "_primary_term", - "result", - "_seq_no", - "_shards", - "_version" - ] - }, - "_types:Result": { - "type": "string", - "enum": [ - "created", - "updated", - "deleted", - "not_found", - "noop" - ] - }, - "dangling_indices.list_dangling_indices:DanglingIndex": { - "type": "object", - "properties": { - "index_name": { - "type": "string" - }, - "index_uuid": { - "type": "string" - }, - "creation_date_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "node_ids": { - "$ref": "#/components/schemas/_types:Ids" - } - }, - "required": [ - "index_name", - "index_uuid", - "creation_date_millis", - "node_ids" - ] - }, - "_types:Conflicts": { - "type": "string", - "enum": [ - "abort", - "proceed" - ] - }, - "_types:Slices": { - "description": "Slices configuration used to parallelize a process.", - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "#/components/schemas/_types:SlicesCalculation" - } - ] - }, - "_types:SlicesCalculation": { - "type": "string", - "enum": [ - "auto" - ] - }, - "_types:BulkIndexByScrollFailure": { - "type": "object", - "properties": { - "cause": { - "$ref": "#/components/schemas/_types:ErrorCause" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "status": { - "type": "number" - }, - "type": { - "type": "string" - } - }, - "required": [ - "cause", - "id", - "index", - "status", - "type" - ] - }, - "_types:Retries": { - "type": "object", - "properties": { - "bulk": { - "type": "number" - }, - "search": { - "type": "number" - } - }, - "required": [ - "bulk", - "search" - ] - }, - "_types:TaskId": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "tasks._types:TaskListResponseBase": { - "type": "object", - "properties": { - "node_failures": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ErrorCause" - } - }, - "task_failures": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:TaskFailure" - } - }, - "nodes": { - "description": "Task information grouped by node, if `group_by` was set to `node` (the default).", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/tasks._types:NodeTasks" - } - }, - "tasks": { - "$ref": "#/components/schemas/tasks._types:TaskInfos" - } - } - }, - "_types:TaskFailure": { - "type": "object", - "properties": { - "task_id": { - "type": "number" - }, - "node_id": { - "$ref": "#/components/schemas/_types:NodeId" - }, - "status": { - "type": "string" - }, - "reason": { - "$ref": "#/components/schemas/_types:ErrorCause" - } - }, - "required": [ - "task_id", - "node_id", - "status", - "reason" - ] - }, - "tasks._types:NodeTasks": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:NodeId" - }, - "transport_address": { - "$ref": "#/components/schemas/_types:TransportAddress" - }, - "host": { - "$ref": "#/components/schemas/_types:Host" - }, - "ip": { - "$ref": "#/components/schemas/_types:Ip" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - }, - "attributes": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "tasks": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/tasks._types:TaskInfo" - } - } - }, - "required": [ - "tasks" - ] - }, - "tasks._types:TaskInfo": { - "type": "object", - "properties": { - "action": { - "type": "string" - }, - "cancelled": { - "type": "boolean" - }, - "cancellable": { - "type": "boolean" - }, - "description": { - "type": "string" - }, - "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "id": { - "type": "number" - }, - "node": { - "$ref": "#/components/schemas/_types:NodeId" - }, - "running_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "running_time_in_nanos": { - "$ref": "#/components/schemas/_types:DurationValueUnitNanos" - }, - "start_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "status": { - "description": "Task status information can vary wildly from task to task.", - "type": "object" - }, - "type": { - "type": "string" - }, - "parent_task_id": { - "$ref": "#/components/schemas/_types:TaskId" - } - }, - "required": [ - "action", - "cancellable", - "headers", - "id", - "node", - "running_time_in_nanos", - "start_time_in_millis", - "type" - ] - }, - "tasks._types:TaskInfos": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/tasks._types:TaskInfo" - } - }, - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/tasks._types:ParentTaskInfo" - } - } - ] - }, - "tasks._types:ParentTaskInfo": { - "allOf": [ - { - "$ref": "#/components/schemas/tasks._types:TaskInfo" - }, - { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/tasks._types:TaskInfo" - } - } - } - } - ] - }, - "enrich.execute_policy:ExecuteEnrichPolicyStatus": { - "type": "object", - "properties": { - "phase": { - "$ref": "#/components/schemas/enrich.execute_policy:EnrichPolicyPhase" - } - }, - "required": [ - "phase" - ] - }, - "enrich.execute_policy:EnrichPolicyPhase": { - "type": "string", - "enum": [ - "SCHEDULED", - "RUNNING", - "COMPLETE", - "FAILED" - ] - }, - "enrich._types:Summary": { - "type": "object", - "properties": { - "config": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/enrich._types:Policy" - }, - "minProperties": 1, - "maxProperties": 1 - } - }, - "required": [ - "config" - ] - }, - "enrich._types:Policy": { - "type": "object", - "properties": { - "enrich_fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "match_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "query": { - "type": "string" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "elasticsearch_version": { - "type": "string" - } - }, - "required": [ - "enrich_fields", - "indices", - "match_field" - ] - }, - "enrich.stats:CoordinatorStats": { - "type": "object", - "properties": { - "executed_searches_total": { - "type": "number" - }, - "node_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "queue_size": { - "type": "number" - }, - "remote_requests_current": { - "type": "number" - }, - "remote_requests_total": { - "type": "number" - } - }, - "required": [ - "executed_searches_total", - "node_id", - "queue_size", - "remote_requests_current", - "remote_requests_total" - ] - }, - "enrich.stats:ExecutingPolicy": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "task": { - "$ref": "#/components/schemas/tasks._types:TaskInfo" - } - }, - "required": [ - "name", - "task" - ] - }, - "enrich.stats:CacheStats": { - "type": "object", - "properties": { - "node_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "count": { - "type": "number" - }, - "hits": { - "type": "number" - }, - "misses": { - "type": "number" - }, - "evictions": { - "type": "number" - } - }, - "required": [ - "node_id", - "count", - "hits", - "misses", - "evictions" - ] - }, - "eql._types:EqlSearchResponseBase": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "is_partial": { - "description": "If true, the response does not contain complete search results.", - "type": "boolean" - }, - "is_running": { - "description": "If true, the search request is still executing.", - "type": "boolean" - }, - "took": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "timed_out": { - "description": "If true, the request timed out before completion.", - "type": "boolean" - }, - "hits": { - "$ref": "#/components/schemas/eql._types:EqlHits" - } - }, - "required": [ - "hits" - ] - }, - "eql._types:EqlHits": { - "type": "object", - "properties": { - "total": { - "$ref": "#/components/schemas/_global.search._types:TotalHits" - }, - "events": { - "description": "Contains events matching the query. Each object represents a matching event.", - "type": "array", - "items": { - "$ref": "#/components/schemas/eql._types:HitsEvent" - } - }, - "sequences": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-syntax.html#eql-sequences" - }, - "description": "Contains event sequences matching the query. Each object represents a matching sequence. This parameter is only returned for EQL queries containing a sequence.", - "type": "array", - "items": { - "$ref": "#/components/schemas/eql._types:HitsSequence" - } - } - } - }, - "eql._types:HitsEvent": { - "type": "object", - "properties": { - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_source": { - "description": "Original JSON body passed for the event at index time.", - "type": "object" - }, - "fields": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "object" - } - } - } - }, - "required": [ - "_index", - "_id", - "_source" - ] - }, - "eql._types:HitsSequence": { - "type": "object", - "properties": { - "events": { - "description": "Contains events matching the query. Each object represents a matching event.", - "type": "array", - "items": { - "$ref": "#/components/schemas/eql._types:HitsEvent" - } - }, - "join_keys": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-syntax.html#eql-sequences" - }, - "description": "Shared field values used to constrain matches in the sequence. These are defined using the by keyword in the EQL query syntax.", - "type": "array", - "items": { - "type": "object" - } - } - }, - "required": [ - "events", - "join_keys" - ] - }, - "eql.search:ResultPosition": { - "type": "string", - "enum": [ - "tail", - "head" - ] - }, - "_types:InlineGet": { - "type": "object", - "properties": { - "fields": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "found": { - "type": "boolean" - }, - "_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "_primary_term": { - "type": "number" - }, - "_routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "_source": { - "type": "object" - } - }, - "required": [ - "found", - "_source" - ] - }, - "features._types:Feature": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "description": { - "type": "string" - } - }, - "required": [ - "name", - "description" - ] - }, - "_global.field_caps:FieldCapability": { - "type": "object", - "properties": { - "aggregatable": { - "description": "Whether this field can be aggregated on all indices.", - "type": "boolean" - }, - "indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "meta": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "non_aggregatable_indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "non_searchable_indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "searchable": { - "description": "Whether this field is indexed for search on all indices.", - "type": "boolean" - }, - "type": { - "type": "string" - }, - "metadata_field": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-fields.html" - }, - "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.", - "type": "boolean" - }, - "time_series_metric": { - "$ref": "#/components/schemas/_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.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_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.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:IndexName" - } - } - }, - "required": [ - "aggregatable", - "searchable", - "type" - ] - }, - "_types:IndexAlias": { - "type": "string" - }, - "fleet._types:Checkpoint": { - "type": "number" - }, - "_global.msearch:RequestItem": { - "oneOf": [ - { - "$ref": "#/components/schemas/_global.msearch:MultisearchHeader" - }, - { - "$ref": "#/components/schemas/_global.msearch:MultisearchBody" - } - ] - }, - "_global.msearch:MultisearchHeader": { - "type": "object", - "properties": { - "allow_no_indices": { - "type": "boolean" - }, - "expand_wildcards": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "ignore_unavailable": { - "type": "boolean" - }, - "index": { - "$ref": "#/components/schemas/_types:Indices" - }, - "preference": { - "type": "string" - }, - "request_cache": { - "type": "boolean" - }, - "routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "search_type": { - "$ref": "#/components/schemas/_types:SearchType" - }, - "ccs_minimize_roundtrips": { - "type": "boolean" - }, - "allow_partial_search_results": { - "type": "boolean" - }, - "ignore_throttled": { - "type": "boolean" - } - } - }, - "_global.msearch:MultisearchBody": { - "type": "object", - "properties": { - "aggregations": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "collapse": { - "$ref": "#/components/schemas/_global.search._types:FieldCollapse" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "explain": { - "description": "If true, returns detailed information about score computation as part of a hit.", - "type": "boolean" - }, - "ext": { - "description": "Configuration of search extensions defined by Elasticsearch plugins.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "stored_fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "docvalue_fields": { - "description": "Array of wildcard (*) patterns. The request returns doc values for field\nnames matching these patterns in the hits.fields property of the response.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" - } - }, - "knn": { - "description": "Defines the approximate kNN search to run.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:KnnQuery" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:KnnQuery" - } - } - ] - }, - "from": { - "description": "Starting document offset. By default, you cannot page through more than 10,000\nhits using the from and size parameters. To page through more hits, use the\nsearch_after parameter.", - "type": "number" - }, - "highlight": { - "$ref": "#/components/schemas/_global.search._types:Highlight" - }, - "indices_boost": { - "description": "Boosts the _score of documents from specified indices.", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "number" - } - } - }, - "min_score": { - "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in the search results.", - "type": "number" - }, - "post_filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "profile": { - "type": "boolean" - }, - "rescore": { - "oneOf": [ - { - "$ref": "#/components/schemas/_global.search._types:Rescore" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:Rescore" - } - } - ] - }, - "script_fields": { - "description": "Retrieve a script evaluation (based on different fields) for each hit.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ScriptField" - } - }, - "search_after": { - "$ref": "#/components/schemas/_types:SortResults" - }, - "size": { - "description": "The number of hits to return. By default, you cannot page through more\nthan 10,000 hits using the from and size parameters. To page through more\nhits, use the search_after parameter.", - "type": "number" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" - }, - "_source": { - "$ref": "#/components/schemas/_global.search._types:SourceConfig" - }, - "fields": { - "description": "Array of wildcard (*) patterns. The request returns values for field names\nmatching these patterns in the hits.fields property of the response.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:FieldAndFormat" - } - }, - "terminate_after": { - "description": "Maximum number of documents to collect for each shard. If a query reaches this\nlimit, Elasticsearch terminates the query early. Elasticsearch collects documents\nbefore sorting. Defaults to 0, which does not terminate query execution early.", - "type": "number" - }, - "stats": { - "description": "Stats groups to associate with the search. Each group maintains a statistics\naggregation for its associated searches. You can retrieve these stats using\nthe indices stats API.", - "type": "array", - "items": { - "type": "string" - } - }, - "timeout": { - "description": "Specifies the period of time to wait for a response from each shard. If no response\nis 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.", - "type": "boolean" - }, - "track_total_hits": { - "$ref": "#/components/schemas/_global.search._types:TrackHits" - }, - "version": { - "description": "If true, returns document version as part of a hit.", - "type": "boolean" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - }, - "seq_no_primary_term": { - "description": "If true, returns sequence number and primary term of the last modification\nof each hit. See Optimistic concurrency control.", - "type": "boolean" - }, - "pit": { - "$ref": "#/components/schemas/_global.search._types:PointInTimeReference" - }, - "suggest": { - "$ref": "#/components/schemas/_global.search._types:Suggester" - } - } - }, - "_global.msearch:ResponseItem": { - "oneOf": [ - { - "$ref": "#/components/schemas/_global.msearch:MultiSearchItem" - }, - { - "$ref": "#/components/schemas/_types:ErrorResponseBase" - } - ] - }, - "_global.msearch:MultiSearchItem": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.search:ResponseBody" - }, - { - "type": "object", - "properties": { - "status": { - "type": "number" - } - } - } - ] - }, - "_global.search:ResponseBody": { - "type": "object", - "properties": { - "took": { - "type": "number" - }, - "timed_out": { - "type": "boolean" - }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "hits": { - "$ref": "#/components/schemas/_global.search._types:HitsMetadata" - }, - "aggregations": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:Aggregate" - } - }, - "_clusters": { - "$ref": "#/components/schemas/_types:ClusterStatistics" - }, - "fields": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "max_score": { - "type": "number" - }, - "num_reduce_phases": { - "type": "number" - }, - "profile": { - "$ref": "#/components/schemas/_global.search._types:Profile" - }, - "pit_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_scroll_id": { - "$ref": "#/components/schemas/_types:ScrollId" - }, - "suggest": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.search._types:Suggest" - } - } - }, - "terminated_early": { - "type": "boolean" - } - }, - "required": [ - "took", - "timed_out", - "_shards", - "hits" - ] - }, - "_types:ErrorResponseBase": { - "type": "object", - "properties": { - "error": { - "$ref": "#/components/schemas/_types:ErrorCause" - }, - "status": { - "type": "number" - } - }, - "required": [ - "error", - "status" - ] - }, - "_global.get:GetResult": { - "type": "object", - "properties": { - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "fields": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "found": { - "type": "boolean" - }, - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_primary_term": { - "type": "number" - }, - "_routing": { - "type": "string" - }, - "_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "_source": { - "type": "object" - }, - "_version": { - "$ref": "#/components/schemas/_types:VersionNumber" - } - }, - "required": [ - "_index", - "found", - "_id" - ] - }, - "_types:StoredScript": { - "type": "object", - "properties": { - "lang": { - "$ref": "#/components/schemas/_types:ScriptLanguage" - }, - "options": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "source": { - "description": "The script source.", - "type": "string" - } - }, - "required": [ - "lang", - "source" - ] - }, - "_global.get_script_context:Context": { - "type": "object", - "properties": { - "methods": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.get_script_context:ContextMethod" - } - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "required": [ - "methods", - "name" - ] - }, - "_global.get_script_context:ContextMethod": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "return_type": { - "type": "string" - }, - "params": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.get_script_context:ContextMethodParam" - } - } - }, - "required": [ - "name", - "return_type", - "params" - ] - }, - "_global.get_script_context:ContextMethodParam": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name", - "type" - ] - }, - "_global.get_script_languages:LanguageContext": { - "type": "object", - "properties": { - "contexts": { - "type": "array", - "items": { - "type": "string" - } - }, - "language": { - "$ref": "#/components/schemas/_types:ScriptLanguage" - } - }, - "required": [ - "contexts", - "language" - ] - }, - "graph._types:Hop": { - "type": "object", - "properties": { - "connections": { - "$ref": "#/components/schemas/graph._types:Hop" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "vertices": { - "description": "Contains the fields you are interested in.", - "type": "array", - "items": { - "$ref": "#/components/schemas/graph._types:VertexDefinition" - } - } - }, - "required": [ - "query", - "vertices" - ] - }, - "graph._types:VertexDefinition": { - "type": "object", - "properties": { - "exclude": { - "description": "Prevents the specified terms from being included in the results.", - "type": "array", - "items": { - "type": "string" - } - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "include": { - "description": "Identifies the terms of interest that form the starting points from which you want to spider out.", - "type": "array", - "items": { - "$ref": "#/components/schemas/graph._types:VertexInclude" - } - }, - "min_doc_count": { - "description": "Specifies how many documents must contain a pair of terms before it is considered to be a useful connection.\nThis setting acts as a certainty threshold.", - "type": "number" - }, - "shard_min_doc_count": { - "description": "Controls how many documents on a particular shard have to contain a pair of terms before the connection is returned for global consideration.", - "type": "number" - }, - "size": { - "description": "Specifies the maximum number of vertex terms returned for each field.", - "type": "number" - } - }, - "required": [ - "field" - ] - }, - "graph._types:VertexInclude": { - "type": "object", - "properties": { - "boost": { - "type": "number" - }, - "term": { - "type": "string" - } - }, - "required": [ - "boost", - "term" - ] - }, - "graph._types:ExploreControls": { - "type": "object", - "properties": { - "sample_diversity": { - "$ref": "#/components/schemas/graph._types:SampleDiversity" - }, - "sample_size": { - "description": "Each hop considers a sample of the best-matching documents on each shard.\nUsing samples improves the speed of execution and keeps exploration focused on meaningfully-connected terms.\nVery small values (less than 50) might not provide sufficient weight-of-evidence to identify significant connections between terms.\nVery large sample sizes can dilute the quality of the results and increase execution times.", - "type": "number" - }, - "timeout": { - "$ref": "#/components/schemas/_types:Duration" - }, - "use_significance": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-significantterms-aggregation.html" - }, - "description": "Filters associated terms so only those that are significantly associated with your query are included.", - "type": "boolean" - } - }, - "required": [ - "use_significance" - ] - }, - "graph._types:SampleDiversity": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "max_docs_per_value": { - "type": "number" - } - }, - "required": [ - "field", - "max_docs_per_value" - ] - }, - "graph._types:Connection": { - "type": "object", - "properties": { - "doc_count": { - "type": "number" - }, - "source": { - "type": "number" - }, - "target": { - "type": "number" - }, - "weight": { - "type": "number" - } - }, - "required": [ - "doc_count", - "source", - "target", - "weight" - ] - }, - "graph._types:Vertex": { - "type": "object", - "properties": { - "depth": { - "type": "number" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "term": { - "type": "string" - }, - "weight": { - "type": "number" - } - }, - "required": [ - "depth", - "field", - "term", - "weight" - ] - }, - "_global.health_report:Indicators": { - "type": "object", - "properties": { - "master_is_stable": { - "$ref": "#/components/schemas/_global.health_report:MasterIsStableIndicator" - }, - "shards_availability": { - "$ref": "#/components/schemas/_global.health_report:ShardsAvailabilityIndicator" - }, - "disk": { - "$ref": "#/components/schemas/_global.health_report:DiskIndicator" - }, - "repository_integrity": { - "$ref": "#/components/schemas/_global.health_report:RepositoryIntegrityIndicator" - }, - "ilm": { - "$ref": "#/components/schemas/_global.health_report:IlmIndicator" - }, - "slm": { - "$ref": "#/components/schemas/_global.health_report:SlmIndicator" - }, - "shards_capacity": { - "$ref": "#/components/schemas/_global.health_report:ShardsCapacityIndicator" - } - } - }, - "_global.health_report:MasterIsStableIndicator": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.health_report:BaseIndicator" - }, - { - "type": "object", - "properties": { - "details": { - "$ref": "#/components/schemas/_global.health_report:MasterIsStableIndicatorDetails" - } - } - } - ] - }, - "_global.health_report:MasterIsStableIndicatorDetails": { - "type": "object", - "properties": { - "current_master": { - "$ref": "#/components/schemas/_global.health_report:IndicatorNode" - }, - "recent_masters": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.health_report:IndicatorNode" - } - }, - "exception_fetching_history": { - "$ref": "#/components/schemas/_global.health_report:MasterIsStableIndicatorExceptionFetchingHistory" - }, - "cluster_formation": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.health_report:MasterIsStableIndicatorClusterFormationNode" - } - } - }, - "required": [ - "current_master", - "recent_masters" - ] - }, - "_global.health_report:IndicatorNode": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "node_id": { - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - } - }, - "required": [ - "name", - "node_id" - ] - }, - "_global.health_report:MasterIsStableIndicatorExceptionFetchingHistory": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "stack_trace": { - "type": "string" - } - }, - "required": [ - "message", - "stack_trace" - ] - }, - "_global.health_report:MasterIsStableIndicatorClusterFormationNode": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "cluster_formation_message": { - "type": "string" - } - }, - "required": [ - "node_id", - "cluster_formation_message" - ] - }, - "_global.health_report:BaseIndicator": { - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/_global.health_report:IndicatorHealthStatus" - }, - "symptom": { - "type": "string" - }, - "impacts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.health_report:Impact" - } - }, - "diagnosis": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.health_report:Diagnosis" - } - } - }, - "required": [ - "status", - "symptom" - ] - }, - "_global.health_report:IndicatorHealthStatus": { - "type": "string", - "enum": [ - "green", - "yellow", - "red", - "unknown" - ] - }, - "_global.health_report:Impact": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "impact_areas": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.health_report:ImpactArea" - } - }, - "severity": { - "type": "number" - } - }, - "required": [ - "description", - "id", - "impact_areas", - "severity" - ] - }, - "_global.health_report:ImpactArea": { - "type": "string", - "enum": [ - "search", - "ingest", - "backup", - "deployment_management" - ] - }, - "_global.health_report:Diagnosis": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "action": { - "type": "string" - }, - "affected_resources": { - "$ref": "#/components/schemas/_global.health_report:DiagnosisAffectedResources" - }, - "cause": { - "type": "string" - }, - "help_url": { - "type": "string" - } - }, - "required": [ - "id", - "action", - "affected_resources", - "cause", - "help_url" - ] - }, - "_global.health_report:DiagnosisAffectedResources": { - "type": "object", - "properties": { - "indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "nodes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.health_report:IndicatorNode" - } - }, - "slm_policies": { - "type": "array", - "items": { - "type": "string" - } - }, - "feature_states": { - "type": "array", - "items": { - "type": "string" - } - }, - "snapshot_repositories": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "_global.health_report:ShardsAvailabilityIndicator": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.health_report:BaseIndicator" - }, - { - "type": "object", - "properties": { - "details": { - "$ref": "#/components/schemas/_global.health_report:ShardsAvailabilityIndicatorDetails" - } - } - } - ] - }, - "_global.health_report:ShardsAvailabilityIndicatorDetails": { - "type": "object", - "properties": { - "creating_primaries": { - "type": "number" - }, - "initializing_primaries": { - "type": "number" - }, - "initializing_replicas": { - "type": "number" - }, - "restarting_primaries": { - "type": "number" - }, - "restarting_replicas": { - "type": "number" - }, - "started_primaries": { - "type": "number" - }, - "started_replicas": { - "type": "number" - }, - "unassigned_primaries": { - "type": "number" - }, - "unassigned_replicas": { - "type": "number" - } - }, - "required": [ - "creating_primaries", - "initializing_primaries", - "initializing_replicas", - "restarting_primaries", - "restarting_replicas", - "started_primaries", - "started_replicas", - "unassigned_primaries", - "unassigned_replicas" - ] - }, - "_global.health_report:DiskIndicator": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.health_report:BaseIndicator" - }, - { - "type": "object", - "properties": { - "details": { - "$ref": "#/components/schemas/_global.health_report:DiskIndicatorDetails" - } - } - } - ] - }, - "_global.health_report:DiskIndicatorDetails": { - "type": "object", - "properties": { - "indices_with_readonly_block": { - "type": "number" - }, - "nodes_with_enough_disk_space": { - "type": "number" - }, - "nodes_over_high_watermark": { - "type": "number" - }, - "nodes_over_flood_stage_watermark": { - "type": "number" - }, - "nodes_with_unknown_disk_status": { - "type": "number" - } - }, - "required": [ - "indices_with_readonly_block", - "nodes_with_enough_disk_space", - "nodes_over_high_watermark", - "nodes_over_flood_stage_watermark", - "nodes_with_unknown_disk_status" - ] - }, - "_global.health_report:RepositoryIntegrityIndicator": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.health_report:BaseIndicator" - }, - { - "type": "object", - "properties": { - "details": { - "$ref": "#/components/schemas/_global.health_report:RepositoryIntegrityIndicatorDetails" - } - } - } - ] - }, - "_global.health_report:RepositoryIntegrityIndicatorDetails": { - "type": "object", - "properties": { - "total_repositories": { - "type": "number" - }, - "corrupted_repositories": { - "type": "number" - }, - "corrupted": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "_global.health_report:IlmIndicator": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.health_report:BaseIndicator" - }, - { - "type": "object", - "properties": { - "details": { - "$ref": "#/components/schemas/_global.health_report:IlmIndicatorDetails" - } - } - } - ] - }, - "_global.health_report:IlmIndicatorDetails": { - "type": "object", - "properties": { - "ilm_status": { - "$ref": "#/components/schemas/_types:LifecycleOperationMode" - }, - "policies": { - "type": "number" - } - }, - "required": [ - "ilm_status", - "policies" - ] - }, - "_types:LifecycleOperationMode": { - "type": "string", - "enum": [ - "RUNNING", - "STOPPING", - "STOPPED" - ] - }, - "_global.health_report:SlmIndicator": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.health_report:BaseIndicator" - }, - { - "type": "object", - "properties": { - "details": { - "$ref": "#/components/schemas/_global.health_report:SlmIndicatorDetails" - } - } - } - ] - }, - "_global.health_report:SlmIndicatorDetails": { - "type": "object", - "properties": { - "slm_status": { - "$ref": "#/components/schemas/_types:LifecycleOperationMode" - }, - "policies": { - "type": "number" - }, - "unhealthy_policies": { - "$ref": "#/components/schemas/_global.health_report:SlmIndicatorUnhealthyPolicies" - } - }, - "required": [ - "slm_status", - "policies", - "unhealthy_policies" - ] - }, - "_global.health_report:SlmIndicatorUnhealthyPolicies": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "invocations_since_last_success": { - "type": "object", - "additionalProperties": { - "type": "number" - } - } - }, - "required": [ - "count" - ] - }, - "_global.health_report:ShardsCapacityIndicator": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.health_report:BaseIndicator" - }, - { - "type": "object", - "properties": { - "details": { - "$ref": "#/components/schemas/_global.health_report:ShardsCapacityIndicatorDetails" - } - } - } - ] - }, - "_global.health_report:ShardsCapacityIndicatorDetails": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/_global.health_report:ShardsCapacityIndicatorTierDetail" - }, - "frozen": { - "$ref": "#/components/schemas/_global.health_report:ShardsCapacityIndicatorTierDetail" - } - }, - "required": [ - "data", - "frozen" - ] - }, - "_global.health_report:ShardsCapacityIndicatorTierDetail": { - "type": "object", - "properties": { - "max_shards_in_cluster": { - "type": "number" - }, - "current_used_shards": { - "type": "number" - } - }, - "required": [ - "max_shards_in_cluster" - ] - }, - "ilm.explain_lifecycle:LifecycleExplain": { - "discriminator": { - "propertyName": "managed" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/ilm.explain_lifecycle:LifecycleExplainManaged" - }, - { - "$ref": "#/components/schemas/ilm.explain_lifecycle:LifecycleExplainUnmanaged" - } - ] - }, - "ilm.explain_lifecycle:LifecycleExplainManaged": { - "type": "object", - "properties": { - "action": { - "$ref": "#/components/schemas/_types:Name" - }, - "action_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "action_time_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "age": { - "$ref": "#/components/schemas/_types:Duration" - }, - "failed_step": { - "$ref": "#/components/schemas/_types:Name" - }, - "failed_step_retry_count": { - "type": "number" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "index_creation_date": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "index_creation_date_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "is_auto_retryable_error": { - "type": "boolean" - }, - "lifecycle_date": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "lifecycle_date_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "managed": { - "type": "string", - "enum": [ - "true" - ] - }, - "phase": { - "$ref": "#/components/schemas/_types:Name" - }, - "phase_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "phase_time_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "policy": { - "$ref": "#/components/schemas/_types:Name" - }, - "step": { - "$ref": "#/components/schemas/_types:Name" - }, - "step_info": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "step_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "step_time_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "phase_execution": { - "$ref": "#/components/schemas/ilm.explain_lifecycle:LifecycleExplainPhaseExecution" - }, - "time_since_index_creation": { - "$ref": "#/components/schemas/_types:Duration" - } - }, - "required": [ - "managed", - "phase", - "policy" - ] - }, - "ilm.explain_lifecycle:LifecycleExplainPhaseExecution": { - "type": "object", - "properties": { - "policy": { - "$ref": "#/components/schemas/_types:Name" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "modified_date_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - } - }, - "required": [ - "policy", - "version", - "modified_date_in_millis" - ] - }, - "ilm.explain_lifecycle:LifecycleExplainUnmanaged": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "managed": { - "type": "string", - "enum": [ - "false" - ] - } - }, - "required": [ - "index", - "managed" - ] - }, - "ilm.get_lifecycle:Lifecycle": { - "type": "object", - "properties": { - "modified_date": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "policy": { - "$ref": "#/components/schemas/ilm._types:Policy" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - } - }, - "required": [ - "modified_date", - "policy", - "version" - ] - }, - "ilm._types:Policy": { - "type": "object", - "properties": { - "phases": { - "$ref": "#/components/schemas/ilm._types:Phases" - }, - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - } - }, - "required": [ - "phases" - ] - }, - "ilm._types:Phases": { - "type": "object", - "properties": { - "cold": { - "$ref": "#/components/schemas/ilm._types:Phase" - }, - "delete": { - "$ref": "#/components/schemas/ilm._types:Phase" - }, - "frozen": { - "$ref": "#/components/schemas/ilm._types:Phase" - }, - "hot": { - "$ref": "#/components/schemas/ilm._types:Phase" - }, - "warm": { - "$ref": "#/components/schemas/ilm._types:Phase" - } - } - }, - "ilm._types:Phase": { - "type": "object", - "properties": { - "actions": { - "$ref": "#/components/schemas/ilm._types:Actions" - }, - "min_age": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Duration" - }, - { - "type": "number" - } - ] - }, - "configurations": { - "$ref": "#/components/schemas/ilm._types:Configurations" - } - } - }, - "ilm._types:Actions": { - "type": "object" - }, - "ilm._types:Configurations": { - "type": "object", - "properties": { - "rollover": { - "$ref": "#/components/schemas/indices.rollover:RolloverConditions" - }, - "forcemerge": { - "$ref": "#/components/schemas/ilm._types:ForceMergeConfiguration" - }, - "shrink": { - "$ref": "#/components/schemas/ilm._types:ShrinkConfiguration" - } - } - }, - "indices.rollover:RolloverConditions": { - "type": "object", - "properties": { - "min_age": { - "$ref": "#/components/schemas/_types:Duration" - }, - "max_age": { - "$ref": "#/components/schemas/_types:Duration" - }, - "max_age_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "min_docs": { - "type": "number" - }, - "max_docs": { - "type": "number" - }, - "max_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "max_size_bytes": { - "type": "number" - }, - "min_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "min_size_bytes": { - "type": "number" - }, - "max_primary_shard_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "max_primary_shard_size_bytes": { - "type": "number" - }, - "min_primary_shard_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "min_primary_shard_size_bytes": { - "type": "number" - }, - "max_primary_shard_docs": { - "type": "number" - }, - "min_primary_shard_docs": { - "type": "number" - } - } - }, - "ilm._types:ForceMergeConfiguration": { - "type": "object", - "properties": { - "max_num_segments": { - "type": "number" - } - }, - "required": [ - "max_num_segments" - ] - }, - "ilm._types:ShrinkConfiguration": { - "type": "object", - "properties": { - "number_of_shards": { - "type": "number" - } - }, - "required": [ - "number_of_shards" - ] - }, - "ilm.move_to_step:StepKey": { - "type": "object", - "properties": { - "action": { - "type": "string" - }, - "name": { - "type": "string" - }, - "phase": { - "type": "string" - } - }, - "required": [ - "action", - "name", - "phase" - ] - }, - "_types:OpType": { - "type": "string", - "enum": [ - "index", - "create" - ] - }, - "indices.add_block:IndicesBlockOptions": { - "type": "string", - "enum": [ - "metadata", - "read", - "read_only", - "write" - ] - }, - "indices.add_block:IndicesBlockStatus": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "blocked": { - "type": "boolean" - } - }, - "required": [ - "name", - "blocked" - ] - }, - "indices.analyze:TextToAnalyze": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "indices.analyze:AnalyzeDetail": { - "type": "object", - "properties": { - "analyzer": { - "$ref": "#/components/schemas/indices.analyze:AnalyzerDetail" - }, - "charfilters": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.analyze:CharFilterDetail" - } - }, - "custom_analyzer": { - "type": "boolean" - }, - "tokenfilters": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.analyze:TokenDetail" - } - }, - "tokenizer": { - "$ref": "#/components/schemas/indices.analyze:TokenDetail" - } - }, - "required": [ - "custom_analyzer" - ] - }, - "indices.analyze:AnalyzerDetail": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "tokens": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.analyze:ExplainAnalyzeToken" - } - } - }, - "required": [ - "name", - "tokens" - ] - }, - "indices.analyze:ExplainAnalyzeToken": { - "type": "object", - "properties": { - "bytes": { - "type": "string" - }, - "end_offset": { - "type": "number" - }, - "keyword": { - "type": "boolean" - }, - "position": { - "type": "number" - }, - "positionLength": { - "type": "number" - }, - "start_offset": { - "type": "number" - }, - "termFrequency": { - "type": "number" - }, - "token": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "bytes", - "end_offset", - "position", - "positionLength", - "start_offset", - "termFrequency", - "token", - "type" - ] - }, - "indices.analyze:CharFilterDetail": { - "type": "object", - "properties": { - "filtered_text": { - "type": "array", - "items": { - "type": "string" - } - }, - "name": { - "type": "string" - } - }, - "required": [ - "filtered_text", - "name" - ] - }, - "indices.analyze:TokenDetail": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "tokens": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.analyze:ExplainAnalyzeToken" - } - } - }, - "required": [ - "name", - "tokens" - ] - }, - "indices.analyze:AnalyzeToken": { - "type": "object", - "properties": { - "end_offset": { - "type": "number" - }, - "position": { - "type": "number" - }, - "positionLength": { - "type": "number" - }, - "start_offset": { - "type": "number" - }, - "token": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "end_offset", - "position", - "start_offset", - "token", - "type" - ] - }, - "_types:ShardsOperationResponseBase": { - "type": "object", - "properties": { - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - } - }, - "required": [ - "_shards" - ] - }, - "indices.close:CloseIndexResult": { - "type": "object", - "properties": { - "closed": { - "type": "boolean" - }, - "shards": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices.close:CloseShardResult" - } - } - }, - "required": [ - "closed" - ] - }, - "indices.close:CloseShardResult": { - "type": "object", - "properties": { - "failures": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:ShardFailure" - } - } - }, - "required": [ - "failures" - ] - }, - "indices.data_streams_stats:DataStreamsStatsItem": { - "type": "object", - "properties": { - "backing_indices": { - "description": "Current number of backing indices for the data stream.", - "type": "number" - }, - "data_stream": { - "$ref": "#/components/schemas/_types:Name" - }, - "maximum_timestamp": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "store_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "store_size_bytes": { - "description": "Total size, in bytes, of all shards for the data stream’s backing indices.", - "type": "number" - } - }, - "required": [ - "backing_indices", - "data_stream", - "maximum_timestamp", - "store_size_bytes" - ] - }, - "_types:IndicesResponseBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - }, - { - "type": "object", - "properties": { - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - } - } - } - ] - }, - "_types:DataStreamNames": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:DataStreamName" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:DataStreamName" - } - } - ] - }, - "indices.explain_data_lifecycle:DataStreamLifecycleExplain": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "managed_by_lifecycle": { - "type": "boolean" - }, - "index_creation_date_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "time_since_index_creation": { - "$ref": "#/components/schemas/_types:Duration" - }, - "rollover_date_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "time_since_rollover": { - "$ref": "#/components/schemas/_types:Duration" - }, - "lifecycle": { - "$ref": "#/components/schemas/indices._types:DataStreamLifecycleWithRollover" - }, - "generation_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "error": { - "type": "string" - } - }, - "required": [ - "index", - "managed_by_lifecycle" - ] - }, - "indices.field_usage_stats:FieldsUsageBody": { - "type": "object", - "properties": { - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - } - }, - "required": [ - "_shards" - ] - }, - "indices.forcemerge._types:ForceMergeResponseBody": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:ShardsOperationResponseBase" - }, - { - "type": "object", - "properties": { - "task": { - "description": "task contains a task id returned when wait_for_completion=false,\nyou can use the task_id to get the status of the task at _tasks/", - "type": "string" - } - } - } - ] - }, - "indices.get:Features": { - "oneOf": [ - { - "$ref": "#/components/schemas/indices.get:Feature" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.get:Feature" - } - } - ] - }, - "indices.get:Feature": { - "type": "string", - "enum": [ - "aliases", - "mappings", - "settings" - ] - }, - "indices.get_alias:IndexAliases": { - "type": "object", - "properties": { - "aliases": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:AliasDefinition" - } - } - }, - "required": [ - "aliases" - ] - }, - "indices.get_data_lifecycle:DataStreamWithLifecycle": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:DataStreamName" - }, - "lifecycle": { - "$ref": "#/components/schemas/indices._types:DataStreamLifecycle" - } - }, - "required": [ - "name" - ] - }, - "indices._types:DataStream": { - "type": "object", - "properties": { - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "allow_custom_routing": { - "description": "If `true`, the data stream allows custom routing on write request.", - "type": "boolean" - }, - "generation": { - "description": "Current generation for the data stream. This number acts as a cumulative count of the stream’s rollovers, starting at 1.", - "type": "number" - }, - "hidden": { - "description": "If `true`, the data stream is hidden.", - "type": "boolean" - }, - "ilm_policy": { - "$ref": "#/components/schemas/_types:Name" - }, - "indices": { - "description": "Array of objects containing information about the data stream’s backing indices.\nThe last item in this array contains information about the stream’s current write index.", - "type": "array", - "items": { - "$ref": "#/components/schemas/indices._types:DataStreamIndex" - } - }, - "lifecycle": { - "$ref": "#/components/schemas/indices._types:DataStreamLifecycleWithRollover" - }, - "name": { - "$ref": "#/components/schemas/_types:DataStreamName" - }, - "replicated": { - "description": "If `true`, the data stream is created and managed by cross-cluster replication and the local cluster can not write into this data stream or change its mappings.", - "type": "boolean" - }, - "status": { - "$ref": "#/components/schemas/_types:HealthStatus" - }, - "system": { - "description": "If `true`, the data stream is created and managed by an Elastic stack component and cannot be modified through normal user interaction.", - "type": "boolean" - }, - "template": { - "$ref": "#/components/schemas/_types:Name" - }, - "timestamp_field": { - "$ref": "#/components/schemas/indices._types:DataStreamTimestampField" - } - }, - "required": [ - "generation", - "hidden", - "indices", - "name", - "status", - "template", - "timestamp_field" - ] - }, - "indices._types:DataStreamIndex": { - "type": "object", - "properties": { - "index_name": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "index_uuid": { - "$ref": "#/components/schemas/_types:Uuid" - } - }, - "required": [ - "index_name", - "index_uuid" - ] - }, - "indices._types:DataStreamTimestampField": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "name" - ] - }, - "indices.get_field_mapping:TypeFieldMappings": { - "type": "object", - "properties": { - "mappings": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.mapping:FieldMapping" - } - } - }, - "required": [ - "mappings" - ] - }, - "_types.mapping:FieldMapping": { - "type": "object", - "properties": { - "full_name": { - "type": "string" - }, - "mapping": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.mapping:Property" - }, - "minProperties": 1, - "maxProperties": 1 - } - }, - "required": [ - "full_name", - "mapping" - ] - }, - "indices.get_index_template:IndexTemplateItem": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "index_template": { - "$ref": "#/components/schemas/indices._types:IndexTemplate" - } - }, - "required": [ - "name", - "index_template" - ] - }, - "indices._types:IndexTemplate": { - "type": "object", - "properties": { - "index_patterns": { - "$ref": "#/components/schemas/_types:Names" - }, - "composed_of": { - "description": "An ordered list of component template names.\nComponent templates are merged in the order specified, meaning that the last component template specified has the highest precedence.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "template": { - "$ref": "#/components/schemas/indices._types:IndexTemplateSummary" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "priority": { - "description": "Priority to determine index template precedence when a new data stream or index is created.\nThe index template with the highest priority is chosen.\nIf no priority is specified the template is treated as though it is of priority 0 (lowest priority).\nThis number is not automatically generated by Elasticsearch.", - "type": "number" - }, - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "allow_auto_create": { - "type": "boolean" - }, - "data_stream": { - "$ref": "#/components/schemas/indices._types:IndexTemplateDataStreamConfiguration" - } - }, - "required": [ - "index_patterns", - "composed_of" - ] - }, - "indices._types:IndexTemplateSummary": { - "type": "object", - "properties": { - "aliases": { - "description": "Aliases to add.\nIf the index template includes a `data_stream` object, these are data stream aliases.\nOtherwise, these are index aliases.\nData stream aliases ignore the `index_routing`, `routing`, and `search_routing` options.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:Alias" - } - }, - "mappings": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" - }, - "settings": { - "$ref": "#/components/schemas/indices._types:IndexSettings" - }, - "lifecycle": { - "$ref": "#/components/schemas/indices._types:DataStreamLifecycleWithRollover" - } - } - }, - "indices._types:IndexTemplateDataStreamConfiguration": { - "type": "object", - "properties": { - "hidden": { - "description": "If true, the data stream is hidden.", - "type": "boolean" - }, - "allow_custom_routing": { - "description": "If true, the data stream supports custom routing.", - "type": "boolean" - } - } - }, - "indices.get_mapping:IndexMappingRecord": { - "type": "object", - "properties": { - "item": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" - }, - "mappings": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" - } - }, - "required": [ - "mappings" - ] - }, - "indices._types:TemplateMapping": { - "type": "object", - "properties": { - "aliases": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:Alias" - } - }, - "index_patterns": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "mappings": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" - }, - "order": { - "type": "number" - }, - "settings": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - } - }, - "required": [ - "aliases", - "index_patterns", - "mappings", - "order", - "settings" - ] - }, - "indices.modify_data_stream:Action": { - "type": "object", - "properties": { - "add_backing_index": { - "$ref": "#/components/schemas/indices.modify_data_stream:IndexAndDataStreamAction" - }, - "remove_backing_index": { - "$ref": "#/components/schemas/indices.modify_data_stream:IndexAndDataStreamAction" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "indices.modify_data_stream:IndexAndDataStreamAction": { - "type": "object", - "properties": { - "data_stream": { - "$ref": "#/components/schemas/_types:DataStreamName" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - } - }, - "required": [ - "data_stream", - "index" - ] - }, - "indices.put_index_template:IndexTemplateMapping": { - "type": "object", - "properties": { - "aliases": { - "description": "Aliases to add.\nIf the index template includes a `data_stream` object, these are data stream aliases.\nOtherwise, these are index aliases.\nData stream aliases ignore the `index_routing`, `routing`, and `search_routing` options.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:Alias" - } - }, - "mappings": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" - }, - "settings": { - "$ref": "#/components/schemas/indices._types:IndexSettings" - }, - "lifecycle": { - "$ref": "#/components/schemas/indices._types:DataStreamLifecycle" - } - } - }, - "indices._types:DataStreamVisibility": { - "type": "object", - "properties": { - "hidden": { - "type": "boolean" - } - } - }, - "indices.recovery:RecoveryStatus": { - "type": "object", - "properties": { - "shards": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.recovery:ShardRecovery" - } - } - }, - "required": [ - "shards" - ] - }, - "indices.recovery:ShardRecovery": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "index": { - "$ref": "#/components/schemas/indices.recovery:RecoveryIndexStatus" - }, - "primary": { - "type": "boolean" - }, - "source": { - "$ref": "#/components/schemas/indices.recovery:RecoveryOrigin" - }, - "stage": { - "type": "string" - }, - "start": { - "$ref": "#/components/schemas/indices.recovery:RecoveryStartStatus" - }, - "start_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "start_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "stop_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "stop_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "target": { - "$ref": "#/components/schemas/indices.recovery:RecoveryOrigin" - }, - "total_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "total_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "translog": { - "$ref": "#/components/schemas/indices.recovery:TranslogStatus" - }, - "type": { - "type": "string" - }, - "verify_index": { - "$ref": "#/components/schemas/indices.recovery:VerifyIndex" - } - }, - "required": [ - "id", - "index", - "primary", - "source", - "stage", - "start_time_in_millis", - "target", - "total_time_in_millis", - "translog", - "type", - "verify_index" - ] - }, - "indices.recovery:RecoveryIndexStatus": { - "type": "object", - "properties": { - "bytes": { - "$ref": "#/components/schemas/indices.recovery:RecoveryBytes" - }, - "files": { - "$ref": "#/components/schemas/indices.recovery:RecoveryFiles" - }, - "size": { - "$ref": "#/components/schemas/indices.recovery:RecoveryBytes" - }, - "source_throttle_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "source_throttle_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "target_throttle_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "target_throttle_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "total_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "total_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "files", - "size", - "source_throttle_time_in_millis", - "target_throttle_time_in_millis", - "total_time_in_millis" - ] - }, - "indices.recovery:RecoveryBytes": { - "type": "object", - "properties": { - "percent": { - "$ref": "#/components/schemas/_types:Percentage" - }, - "recovered": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "recovered_in_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "recovered_from_snapshot": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "recovered_from_snapshot_in_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "reused": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "reused_in_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "total": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "total_in_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" - } - }, - "required": [ - "percent", - "recovered_in_bytes", - "reused_in_bytes", - "total_in_bytes" - ] - }, - "indices.recovery:RecoveryFiles": { - "type": "object", - "properties": { - "details": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.recovery:FileDetails" - } - }, - "percent": { - "$ref": "#/components/schemas/_types:Percentage" - }, - "recovered": { - "type": "number" - }, - "reused": { - "type": "number" - }, - "total": { - "type": "number" - } - }, - "required": [ - "percent", - "recovered", - "reused", - "total" - ] - }, - "indices.recovery:FileDetails": { - "type": "object", - "properties": { - "length": { - "type": "number" - }, - "name": { - "type": "string" - }, - "recovered": { - "type": "number" - } - }, - "required": [ - "length", - "name", - "recovered" - ] - }, - "indices.recovery:RecoveryOrigin": { - "type": "object", - "properties": { - "hostname": { - "type": "string" - }, - "host": { - "$ref": "#/components/schemas/_types:Host" - }, - "transport_address": { - "$ref": "#/components/schemas/_types:TransportAddress" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "ip": { - "$ref": "#/components/schemas/_types:Ip" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "bootstrap_new_history_uuid": { - "type": "boolean" - }, - "repository": { - "$ref": "#/components/schemas/_types:Name" - }, - "snapshot": { - "$ref": "#/components/schemas/_types:Name" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "restoreUUID": { - "$ref": "#/components/schemas/_types:Uuid" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - } - } - }, - "indices.recovery:RecoveryStartStatus": { - "type": "object", - "properties": { - "check_index_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "check_index_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "total_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "total_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "check_index_time_in_millis", - "total_time_in_millis" - ] - }, - "indices.recovery:TranslogStatus": { - "type": "object", - "properties": { - "percent": { - "$ref": "#/components/schemas/_types:Percentage" - }, - "recovered": { - "type": "number" - }, - "total": { - "type": "number" - }, - "total_on_start": { - "type": "number" - }, - "total_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "total_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "percent", - "recovered", - "total", - "total_on_start", - "total_time_in_millis" - ] - }, - "indices.recovery:VerifyIndex": { - "type": "object", - "properties": { - "check_index_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "check_index_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "total_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "total_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "check_index_time_in_millis", - "total_time_in_millis" - ] - }, - "indices.reload_search_analyzers:ReloadResult": { - "type": "object", - "properties": { - "reload_details": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.reload_search_analyzers:ReloadDetails" - } - }, - "_shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - } - }, - "required": [ - "reload_details", - "_shards" - ] - }, - "indices.reload_search_analyzers:ReloadDetails": { - "type": "object", - "properties": { - "index": { - "type": "string" - }, - "reloaded_analyzers": { - "type": "array", - "items": { - "type": "string" - } - }, - "reloaded_node_ids": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "index", - "reloaded_analyzers", - "reloaded_node_ids" - ] - }, - "indices.resolve_index:ResolveIndexItem": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "aliases": { - "type": "array", - "items": { - "type": "string" - } - }, - "attributes": { - "type": "array", - "items": { - "type": "string" - } - }, - "data_stream": { - "$ref": "#/components/schemas/_types:DataStreamName" - } - }, - "required": [ - "name", - "attributes" - ] - }, - "indices.resolve_index:ResolveIndexAliasItem": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "indices": { - "$ref": "#/components/schemas/_types:Indices" - } - }, - "required": [ - "name", - "indices" - ] - }, - "indices.resolve_index:ResolveIndexDataStreamsItem": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:DataStreamName" - }, - "timestamp_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "backing_indices": { - "$ref": "#/components/schemas/_types:Indices" - } - }, - "required": [ - "name", - "timestamp_field", - "backing_indices" - ] - }, - "indices.segments:IndexSegment": { - "type": "object", - "properties": { - "shards": { - "type": "object", - "additionalProperties": { - "oneOf": [ - { - "$ref": "#/components/schemas/indices.segments:ShardsSegment" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.segments:ShardsSegment" - } - } - ] - } - } - }, - "required": [ - "shards" - ] - }, - "indices.segments:ShardsSegment": { - "type": "object", - "properties": { - "num_committed_segments": { - "type": "number" - }, - "routing": { - "$ref": "#/components/schemas/indices.segments:ShardSegmentRouting" - }, - "num_search_segments": { - "type": "number" - }, - "segments": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices.segments:Segment" - } - } - }, - "required": [ - "num_committed_segments", - "routing", - "num_search_segments", - "segments" - ] - }, - "indices.segments:ShardSegmentRouting": { - "type": "object", - "properties": { - "node": { - "type": "string" - }, - "primary": { - "type": "boolean" - }, - "state": { - "type": "string" - } - }, - "required": [ - "node", - "primary", - "state" - ] - }, - "indices.segments:Segment": { - "type": "object", - "properties": { - "attributes": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "committed": { - "type": "boolean" - }, - "compound": { - "type": "boolean" - }, - "deleted_docs": { - "type": "number" - }, - "generation": { - "type": "number" - }, - "search": { - "type": "boolean" - }, - "size_in_bytes": { - "type": "number" - }, - "num_docs": { - "type": "number" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - } - }, - "required": [ - "attributes", - "committed", - "compound", - "deleted_docs", - "generation", - "search", - "size_in_bytes", - "num_docs", - "version" - ] - }, - "indices.shard_stores:ShardStoreStatus": { - "type": "string", - "enum": [ - "green", - "yellow", - "red", - "all" - ] - }, - "indices.shard_stores:IndicesShardStores": { - "type": "object", - "properties": { - "shards": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices.shard_stores:ShardStoreWrapper" - } - } - }, - "required": [ - "shards" - ] - }, - "indices.shard_stores:ShardStoreWrapper": { - "type": "object", - "properties": { - "stores": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.shard_stores:ShardStore" - } - } - }, - "required": [ - "stores" - ] - }, - "indices.shard_stores:ShardStore": { - "type": "object", - "properties": { - "allocation": { - "$ref": "#/components/schemas/indices.shard_stores:ShardStoreAllocation" - }, - "allocation_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "store_exception": { - "$ref": "#/components/schemas/indices.shard_stores:ShardStoreException" - } - }, - "required": [ - "allocation" - ] - }, - "indices.shard_stores:ShardStoreAllocation": { - "type": "string", - "enum": [ - "primary", - "replica", - "unused" - ] - }, - "indices.shard_stores:ShardStoreException": { - "type": "object", - "properties": { - "reason": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "reason", - "type" - ] - }, - "indices.simulate_template:Overlapping": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "index_patterns": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "name", - "index_patterns" - ] - }, - "indices.simulate_template:Template": { - "type": "object", - "properties": { - "aliases": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/indices._types:Alias" - } - }, - "mappings": { - "$ref": "#/components/schemas/_types.mapping:TypeMapping" - }, - "settings": { - "$ref": "#/components/schemas/indices._types:IndexSettings" - } - }, - "required": [ - "aliases", - "mappings", - "settings" - ] - }, - "indices.stats:IndicesStats": { - "type": "object", - "properties": { - "primaries": { - "$ref": "#/components/schemas/indices.stats:IndexStats" - }, - "shards": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.stats:ShardStats" - } - } - }, - "total": { - "$ref": "#/components/schemas/indices.stats:IndexStats" - }, - "uuid": { - "$ref": "#/components/schemas/_types:Uuid" - }, - "health": { - "$ref": "#/components/schemas/_types:HealthStatus" - }, - "status": { - "$ref": "#/components/schemas/indices.stats:IndexMetadataState" - } - } - }, - "indices.stats:IndexStats": { - "type": "object", - "properties": { - "completion": { - "$ref": "#/components/schemas/_types:CompletionStats" - }, - "docs": { - "$ref": "#/components/schemas/_types:DocStats" - }, - "fielddata": { - "$ref": "#/components/schemas/_types:FielddataStats" - }, - "flush": { - "$ref": "#/components/schemas/_types:FlushStats" - }, - "get": { - "$ref": "#/components/schemas/_types:GetStats" - }, - "indexing": { - "$ref": "#/components/schemas/_types:IndexingStats" - }, - "indices": { - "$ref": "#/components/schemas/indices.stats:IndicesStats" - }, - "merges": { - "$ref": "#/components/schemas/_types:MergesStats" - }, - "query_cache": { - "$ref": "#/components/schemas/_types:QueryCacheStats" - }, - "recovery": { - "$ref": "#/components/schemas/_types:RecoveryStats" - }, - "refresh": { - "$ref": "#/components/schemas/_types:RefreshStats" - }, - "request_cache": { - "$ref": "#/components/schemas/_types:RequestCacheStats" - }, - "search": { - "$ref": "#/components/schemas/_types:SearchStats" - }, - "segments": { - "$ref": "#/components/schemas/_types:SegmentsStats" - }, - "store": { - "$ref": "#/components/schemas/_types:StoreStats" - }, - "translog": { - "$ref": "#/components/schemas/_types:TranslogStats" - }, - "warmer": { - "$ref": "#/components/schemas/_types:WarmerStats" - }, - "bulk": { - "$ref": "#/components/schemas/_types:BulkStats" - }, - "shard_stats": { - "$ref": "#/components/schemas/indices.stats:ShardsTotalStats" - } - } - }, - "_types:FlushStats": { - "type": "object", - "properties": { - "periodic": { - "type": "number" - }, - "total": { - "type": "number" - }, - "total_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "total_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "periodic", - "total", - "total_time_in_millis" - ] - }, - "_types:GetStats": { - "type": "object", - "properties": { - "current": { - "type": "number" - }, - "exists_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "exists_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "exists_total": { - "type": "number" - }, - "missing_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "missing_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "missing_total": { - "type": "number" - }, - "time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "total": { - "type": "number" - } - }, - "required": [ - "current", - "exists_time_in_millis", - "exists_total", - "missing_time_in_millis", - "missing_total", - "time_in_millis", - "total" - ] - }, - "_types:IndexingStats": { - "type": "object", - "properties": { - "index_current": { - "type": "number" - }, - "delete_current": { - "type": "number" - }, - "delete_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "delete_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "delete_total": { - "type": "number" - }, - "is_throttled": { - "type": "boolean" - }, - "noop_update_total": { - "type": "number" - }, - "throttle_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "throttle_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "index_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "index_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "index_total": { - "type": "number" - }, - "index_failed": { - "type": "number" - }, - "types": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:IndexingStats" - } - }, - "write_load": { - "type": "number" - } - }, - "required": [ - "index_current", - "delete_current", - "delete_time_in_millis", - "delete_total", - "is_throttled", - "noop_update_total", - "throttle_time_in_millis", - "index_time_in_millis", - "index_total", - "index_failed" - ] - }, - "_types:MergesStats": { - "type": "object", - "properties": { - "current": { - "type": "number" - }, - "current_docs": { - "type": "number" - }, - "current_size": { - "type": "string" - }, - "current_size_in_bytes": { - "type": "number" - }, - "total": { - "type": "number" - }, - "total_auto_throttle": { - "type": "string" - }, - "total_auto_throttle_in_bytes": { - "type": "number" - }, - "total_docs": { - "type": "number" - }, - "total_size": { - "type": "string" - }, - "total_size_in_bytes": { - "type": "number" - }, - "total_stopped_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "total_stopped_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "total_throttled_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "total_throttled_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "total_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "total_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "current", - "current_docs", - "current_size_in_bytes", - "total", - "total_auto_throttle_in_bytes", - "total_docs", - "total_size_in_bytes", - "total_stopped_time_in_millis", - "total_throttled_time_in_millis", - "total_time_in_millis" - ] - }, - "_types:RecoveryStats": { - "type": "object", - "properties": { - "current_as_source": { - "type": "number" - }, - "current_as_target": { - "type": "number" - }, - "throttle_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "throttle_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "current_as_source", - "current_as_target", - "throttle_time_in_millis" - ] - }, - "_types:RefreshStats": { - "type": "object", - "properties": { - "external_total": { - "type": "number" - }, - "external_total_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "listeners": { - "type": "number" - }, - "total": { - "type": "number" - }, - "total_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "total_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "external_total", - "external_total_time_in_millis", - "listeners", - "total", - "total_time_in_millis" - ] - }, - "_types:RequestCacheStats": { - "type": "object", - "properties": { - "evictions": { - "type": "number" - }, - "hit_count": { - "type": "number" - }, - "memory_size": { - "type": "string" - }, - "memory_size_in_bytes": { - "type": "number" - }, - "miss_count": { - "type": "number" - } - }, - "required": [ - "evictions", - "hit_count", - "memory_size_in_bytes", - "miss_count" - ] - }, - "_types:SearchStats": { - "type": "object", - "properties": { - "fetch_current": { - "type": "number" - }, - "fetch_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "fetch_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "fetch_total": { - "type": "number" - }, - "open_contexts": { - "type": "number" - }, - "query_current": { - "type": "number" - }, - "query_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "query_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "query_total": { - "type": "number" - }, - "scroll_current": { - "type": "number" - }, - "scroll_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "scroll_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "scroll_total": { - "type": "number" - }, - "suggest_current": { - "type": "number" - }, - "suggest_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "suggest_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "suggest_total": { - "type": "number" - }, - "groups": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:SearchStats" - } - } - }, - "required": [ - "fetch_current", - "fetch_time_in_millis", - "fetch_total", - "query_current", - "query_time_in_millis", - "query_total", - "scroll_current", - "scroll_time_in_millis", - "scroll_total", - "suggest_current", - "suggest_time_in_millis", - "suggest_total" - ] - }, - "_types:TranslogStats": { - "type": "object", - "properties": { - "earliest_last_modified_age": { - "type": "number" - }, - "operations": { - "type": "number" - }, - "size": { - "type": "string" - }, - "size_in_bytes": { - "type": "number" - }, - "uncommitted_operations": { - "type": "number" - }, - "uncommitted_size": { - "type": "string" - }, - "uncommitted_size_in_bytes": { - "type": "number" - } - }, - "required": [ - "earliest_last_modified_age", - "operations", - "size_in_bytes", - "uncommitted_operations", - "uncommitted_size_in_bytes" - ] - }, - "_types:WarmerStats": { - "type": "object", - "properties": { - "current": { - "type": "number" - }, - "total": { - "type": "number" - }, - "total_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "total_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "current", - "total", - "total_time_in_millis" - ] - }, - "_types:BulkStats": { - "type": "object", - "properties": { - "total_operations": { - "type": "number" - }, - "total_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "total_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "total_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "total_size_in_bytes": { - "type": "number" - }, - "avg_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "avg_time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "avg_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "avg_size_in_bytes": { - "type": "number" - } - }, - "required": [ - "total_operations", - "total_time_in_millis", - "total_size_in_bytes", - "avg_time_in_millis", - "avg_size_in_bytes" - ] - }, - "indices.stats:ShardsTotalStats": { - "type": "object", - "properties": { - "total_count": { - "type": "number" - } - }, - "required": [ - "total_count" - ] - }, - "indices.stats:ShardStats": { - "type": "object", - "properties": { - "commit": { - "$ref": "#/components/schemas/indices.stats:ShardCommit" - }, - "completion": { - "$ref": "#/components/schemas/_types:CompletionStats" - }, - "docs": { - "$ref": "#/components/schemas/_types:DocStats" - }, - "fielddata": { - "$ref": "#/components/schemas/_types:FielddataStats" - }, - "flush": { - "$ref": "#/components/schemas/_types:FlushStats" - }, - "get": { - "$ref": "#/components/schemas/_types:GetStats" - }, - "indexing": { - "$ref": "#/components/schemas/_types:IndexingStats" - }, - "mappings": { - "$ref": "#/components/schemas/indices.stats:MappingStats" - }, - "merges": { - "$ref": "#/components/schemas/_types:MergesStats" - }, - "shard_path": { - "$ref": "#/components/schemas/indices.stats:ShardPath" - }, - "query_cache": { - "$ref": "#/components/schemas/indices.stats:ShardQueryCache" - }, - "recovery": { - "$ref": "#/components/schemas/_types:RecoveryStats" - }, - "refresh": { - "$ref": "#/components/schemas/_types:RefreshStats" - }, - "request_cache": { - "$ref": "#/components/schemas/_types:RequestCacheStats" - }, - "retention_leases": { - "$ref": "#/components/schemas/indices.stats:ShardRetentionLeases" - }, - "routing": { - "$ref": "#/components/schemas/indices.stats:ShardRouting" - }, - "search": { - "$ref": "#/components/schemas/_types:SearchStats" - }, - "segments": { - "$ref": "#/components/schemas/_types:SegmentsStats" - }, - "seq_no": { - "$ref": "#/components/schemas/indices.stats:ShardSequenceNumber" - }, - "store": { - "$ref": "#/components/schemas/_types:StoreStats" - }, - "translog": { - "$ref": "#/components/schemas/_types:TranslogStats" - }, - "warmer": { - "$ref": "#/components/schemas/_types:WarmerStats" - }, - "bulk": { - "$ref": "#/components/schemas/_types:BulkStats" - }, - "shards": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "shard_stats": { - "$ref": "#/components/schemas/indices.stats:ShardsTotalStats" - }, - "indices": { - "$ref": "#/components/schemas/indices.stats:IndicesStats" - } - } - }, - "indices.stats:ShardCommit": { - "type": "object", - "properties": { - "generation": { - "type": "number" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "num_docs": { - "type": "number" - }, - "user_data": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "required": [ - "generation", - "id", - "num_docs", - "user_data" - ] - }, - "indices.stats:MappingStats": { - "type": "object", - "properties": { - "total_count": { - "type": "number" - }, - "total_estimated_overhead": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "total_estimated_overhead_in_bytes": { - "type": "number" - } - }, - "required": [ - "total_count", - "total_estimated_overhead_in_bytes" - ] - }, - "indices.stats:ShardPath": { - "type": "object", - "properties": { - "data_path": { - "type": "string" - }, - "is_custom_data_path": { - "type": "boolean" - }, - "state_path": { - "type": "string" - } - }, - "required": [ - "data_path", - "is_custom_data_path", - "state_path" - ] - }, - "indices.stats:ShardQueryCache": { - "type": "object", - "properties": { - "cache_count": { - "type": "number" - }, - "cache_size": { - "type": "number" - }, - "evictions": { - "type": "number" - }, - "hit_count": { - "type": "number" - }, - "memory_size_in_bytes": { - "type": "number" - }, - "miss_count": { - "type": "number" - }, - "total_count": { - "type": "number" - } - }, - "required": [ - "cache_count", - "cache_size", - "evictions", - "hit_count", - "memory_size_in_bytes", - "miss_count", - "total_count" - ] - }, - "indices.stats:ShardRetentionLeases": { - "type": "object", - "properties": { - "primary_term": { - "type": "number" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "leases": { - "type": "array", - "items": { - "$ref": "#/components/schemas/indices.stats:ShardLease" - } - } - }, - "required": [ - "primary_term", - "version", - "leases" - ] - }, - "indices.stats:ShardLease": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "retaining_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - }, - "timestamp": { - "type": "number" - }, - "source": { - "type": "string" - } - }, - "required": [ - "id", - "retaining_seq_no", - "timestamp", - "source" - ] - }, - "indices.stats:ShardRouting": { - "type": "object", - "properties": { - "node": { - "type": "string" - }, - "primary": { - "type": "boolean" - }, - "relocating_node": { - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "state": { - "$ref": "#/components/schemas/indices.stats:ShardRoutingState" - } - }, - "required": [ - "node", - "primary", - "state" - ] - }, - "indices.stats:ShardRoutingState": { - "type": "string", - "enum": [ - "UNASSIGNED", - "INITIALIZING", - "STARTED", - "RELOCATING" - ] - }, - "indices.stats:ShardSequenceNumber": { - "type": "object", - "properties": { - "global_checkpoint": { - "type": "number" - }, - "local_checkpoint": { - "type": "number" - }, - "max_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - } - }, - "required": [ - "global_checkpoint", - "local_checkpoint", - "max_seq_no" - ] - }, - "indices.stats:IndexMetadataState": { - "type": "string", - "enum": [ - "open", - "close" - ] - }, - "indices.update_aliases:Action": { - "type": "object", - "properties": { - "add": { - "$ref": "#/components/schemas/indices.update_aliases:AddAction" - }, - "remove": { - "$ref": "#/components/schemas/indices.update_aliases:RemoveAction" - }, - "remove_index": { - "$ref": "#/components/schemas/indices.update_aliases:RemoveIndexAction" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "indices.update_aliases:AddAction": { - "type": "object", - "properties": { - "alias": { - "$ref": "#/components/schemas/_types:IndexAlias" - }, - "aliases": { - "description": "Aliases for the action.\nIndex alias names support date math.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:IndexAlias" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:IndexAlias" - } - } - ] - }, - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "index_routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "is_hidden": { - "description": "If `true`, the alias is hidden.", - "type": "boolean" - }, - "is_write_index": { - "description": "If `true`, sets the write index or data stream for the alias.", - "type": "boolean" - }, - "routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "search_routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "must_exist": { - "description": "If `true`, the alias must exist to perform the action.", - "type": "boolean" - } - } - }, - "indices.update_aliases:RemoveAction": { - "type": "object", - "properties": { - "alias": { - "$ref": "#/components/schemas/_types:IndexAlias" - }, - "aliases": { - "description": "Aliases for the action.\nIndex alias names support date math.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:IndexAlias" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:IndexAlias" - } - } - ] - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "must_exist": { - "description": "If `true`, the alias must exist to perform the action.", - "type": "boolean" - } - } - }, - "indices.update_aliases:RemoveIndexAction": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "must_exist": { - "description": "If `true`, the alias must exist to perform the action.", - "type": "boolean" - } - } - }, - "indices.validate_query:IndicesValidationExplanation": { - "type": "object", - "properties": { - "error": { - "type": "string" - }, - "explanation": { - "type": "string" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "valid": { - "type": "boolean" - } - }, - "required": [ - "index", - "valid" - ] - }, - "_types:ElasticsearchVersionInfo": { - "type": "object", - "properties": { - "build_date": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "build_flavor": { - "type": "string" - }, - "build_hash": { - "type": "string" - }, - "build_snapshot": { - "type": "boolean" - }, - "build_type": { - "type": "string" - }, - "lucene_version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "minimum_index_compatibility_version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "minimum_wire_compatibility_version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "number": { - "type": "string" - } - }, - "required": [ - "build_date", - "build_flavor", - "build_hash", - "build_snapshot", - "build_type", - "lucene_version", - "minimum_index_compatibility_version", - "minimum_wire_compatibility_version", - "number" - ] - }, - "ingest.geo_ip_stats:GeoIpDownloadStatistics": { - "type": "object", - "properties": { - "successful_downloads": { - "description": "Total number of successful database downloads.", - "type": "number" - }, - "failed_downloads": { - "description": "Total number of failed database downloads.", - "type": "number" - }, - "total_download_time": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "database_count": { - "description": "Current number of databases available for use.", - "type": "number" - }, - "skipped_updates": { - "description": "Total number of database updates skipped.", - "type": "number" - } - }, - "required": [ - "successful_downloads", - "failed_downloads", - "total_download_time", - "database_count", - "skipped_updates" - ] - }, - "ingest.geo_ip_stats:GeoIpNodeDatabases": { - "type": "object", - "properties": { - "databases": { - "description": "Downloaded databases for the node.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ingest.geo_ip_stats:GeoIpNodeDatabaseName" - } - }, - "files_in_temp": { - "description": "Downloaded database files, including related license files. Elasticsearch stores these files in the node’s temporary directory: $ES_TMPDIR/geoip-databases/.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "databases", - "files_in_temp" - ] - }, - "ingest.geo_ip_stats:GeoIpNodeDatabaseName": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "required": [ - "name" - ] - }, - "ingest._types:Pipeline": { - "type": "object", - "properties": { - "description": { - "description": "Description of the ingest pipeline.", - "type": "string" - }, - "on_failure": { - "description": "Processors to run immediately after a processor failure.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ingest._types:ProcessorContainer" - } - }, - "processors": { - "description": "Processors used to perform transformations on documents before indexing.\nProcessors run sequentially in the order specified.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ingest._types:ProcessorContainer" - } - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - } - } - }, - "ingest._types:ProcessorContainer": { - "type": "object", - "properties": { - "attachment": { - "$ref": "#/components/schemas/ingest._types:AttachmentProcessor" - }, - "append": { - "$ref": "#/components/schemas/ingest._types:AppendProcessor" - }, - "csv": { - "$ref": "#/components/schemas/ingest._types:CsvProcessor" - }, - "convert": { - "$ref": "#/components/schemas/ingest._types:ConvertProcessor" - }, - "date": { - "$ref": "#/components/schemas/ingest._types:DateProcessor" - }, - "date_index_name": { - "$ref": "#/components/schemas/ingest._types:DateIndexNameProcessor" - }, - "dot_expander": { - "$ref": "#/components/schemas/ingest._types:DotExpanderProcessor" - }, - "enrich": { - "$ref": "#/components/schemas/ingest._types:EnrichProcessor" - }, - "fail": { - "$ref": "#/components/schemas/ingest._types:FailProcessor" - }, - "foreach": { - "$ref": "#/components/schemas/ingest._types:ForeachProcessor" - }, - "json": { - "$ref": "#/components/schemas/ingest._types:JsonProcessor" - }, - "user_agent": { - "$ref": "#/components/schemas/ingest._types:UserAgentProcessor" - }, - "kv": { - "$ref": "#/components/schemas/ingest._types:KeyValueProcessor" - }, - "geoip": { - "$ref": "#/components/schemas/ingest._types:GeoIpProcessor" - }, - "grok": { - "$ref": "#/components/schemas/ingest._types:GrokProcessor" - }, - "gsub": { - "$ref": "#/components/schemas/ingest._types:GsubProcessor" - }, - "join": { - "$ref": "#/components/schemas/ingest._types:JoinProcessor" - }, - "lowercase": { - "$ref": "#/components/schemas/ingest._types:LowercaseProcessor" - }, - "remove": { - "$ref": "#/components/schemas/ingest._types:RemoveProcessor" - }, - "rename": { - "$ref": "#/components/schemas/ingest._types:RenameProcessor" - }, - "script": { - "$ref": "#/components/schemas/_types:Script" - }, - "set": { - "$ref": "#/components/schemas/ingest._types:SetProcessor" - }, - "sort": { - "$ref": "#/components/schemas/ingest._types:SortProcessor" - }, - "split": { - "$ref": "#/components/schemas/ingest._types:SplitProcessor" - }, - "trim": { - "$ref": "#/components/schemas/ingest._types:TrimProcessor" - }, - "uppercase": { - "$ref": "#/components/schemas/ingest._types:UppercaseProcessor" - }, - "urldecode": { - "$ref": "#/components/schemas/ingest._types:UrlDecodeProcessor" - }, - "bytes": { - "$ref": "#/components/schemas/ingest._types:BytesProcessor" - }, - "dissect": { - "$ref": "#/components/schemas/ingest._types:DissectProcessor" - }, - "set_security_user": { - "$ref": "#/components/schemas/ingest._types:SetSecurityUserProcessor" - }, - "pipeline": { - "$ref": "#/components/schemas/ingest._types:PipelineProcessor" - }, - "drop": { - "$ref": "#/components/schemas/ingest._types:DropProcessor" - }, - "circle": { - "$ref": "#/components/schemas/ingest._types:CircleProcessor" - }, - "inference": { - "$ref": "#/components/schemas/ingest._types:InferenceProcessor" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "ingest._types:AttachmentProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and field does not exist, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "indexed_chars": { - "description": "The number of chars being used for extraction to prevent huge fields.\nUse `-1` for no limit.", - "type": "number" - }, - "indexed_chars_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "properties": { - "description": "Array of properties to select to be stored.\nCan be `content`, `title`, `name`, `author`, `keywords`, `date`, `content_type`, `content_length`, `language`.", - "type": "array", - "items": { - "type": "string" - } - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "resource_name": { - "description": "Field containing the name of the resource to decode.\nIf specified, the processor passes this resource name to the underlying Tika library to enable Resource Name Based Detection.", - "type": "string" - } - }, - "required": [ - "field" - ] - } - ] - }, - "ingest._types:ProcessorBase": { - "type": "object", - "properties": { - "description": { - "description": "Description of the processor.\nUseful for describing the purpose of the processor or its configuration.", - "type": "string" - }, - "if": { - "description": "Conditionally execute the processor.", - "type": "string" - }, - "ignore_failure": { - "description": "Ignore failures for the processor.", - "type": "boolean" - }, - "on_failure": { - "description": "Handle failures for the processor.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ingest._types:ProcessorContainer" - } - }, - "tag": { - "description": "Identifier for the processor.\nUseful for debugging and metrics.", - "type": "string" - } - } - }, - "ingest._types:AppendProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "value": { - "description": "The value to be appended. Supports template snippets.", - "type": "array", - "items": { - "type": "object" - } - }, - "allow_duplicates": { - "description": "If `false`, the processor does not append values already present in the field.", - "type": "boolean" - } - }, - "required": [ - "field", - "value" - ] - } - ] - }, - "ingest._types:CsvProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "empty_value": { - "description": "Value used to fill empty fields.\nEmpty fields are skipped if this is not provided.\nAn empty field is one with no value (2 consecutive separators) or empty quotes (`\"\"`).", - "type": "object" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "quote": { - "description": "Quote used in CSV, has to be single character string.", - "type": "string" - }, - "separator": { - "description": "Separator used in CSV, has to be single character string.", - "type": "string" - }, - "target_fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "trim": { - "description": "Trim whitespaces in unquoted fields.", - "type": "boolean" - } - }, - "required": [ - "field", - "target_fields" - ] - } - ] - }, - "ingest._types:ConvertProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "type": { - "$ref": "#/components/schemas/ingest._types:ConvertType" - } - }, - "required": [ - "field", - "type" - ] - } - ] - }, - "ingest._types:ConvertType": { - "type": "string", - "enum": [ - "integer", - "long", - "float", - "double", - "string", - "boolean", - "auto" - ] - }, - "ingest._types:DateProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "formats": { - "description": "An array of the expected date formats.\nCan be a java time pattern or one of the following formats: ISO8601, UNIX, UNIX_MS, or TAI64N.", - "type": "array", - "items": { - "type": "string" - } - }, - "locale": { - "description": "The locale to use when parsing the date, relevant when parsing month names or week days.\nSupports template snippets.", - "type": "string" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "timezone": { - "description": "The timezone to use when parsing the date.\nSupports template snippets.", - "type": "string" - } - }, - "required": [ - "field", - "formats" - ] - } - ] - }, - "ingest._types:DateIndexNameProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "date_formats": { - "description": "An array of the expected date formats for parsing dates / timestamps in the document being preprocessed.\nCan be a java time pattern or one of the following formats: ISO8601, UNIX, UNIX_MS, or TAI64N.", - "type": "array", - "items": { - "type": "string" - } - }, - "date_rounding": { - "description": "How to round the date when formatting the date into the index name. Valid values are:\n`y` (year), `M` (month), `w` (week), `d` (day), `h` (hour), `m` (minute) and `s` (second).\nSupports template snippets.", - "type": "string" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "index_name_format": { - "description": "The format to be used when printing the parsed date into the index name.\nA valid java time pattern is expected here.\nSupports template snippets.", - "type": "string" - }, - "index_name_prefix": { - "description": "A prefix of the index name to be prepended before the printed date.\nSupports template snippets.", - "type": "string" - }, - "locale": { - "description": "The locale to use when parsing the date from the document being preprocessed, relevant when parsing month names or week days.", - "type": "string" - }, - "timezone": { - "description": "The timezone to use when parsing the date and when date math index supports resolves expressions into concrete index names.", - "type": "string" - } - }, - "required": [ - "date_formats", - "date_rounding", - "field" - ] - } - ] - }, - "ingest._types:DotExpanderProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "path": { - "description": "The field that contains the field to expand.\nOnly required if the field to expand is part another object field, because the `field` option can only understand leaf fields.", - "type": "string" - } - }, - "required": [ - "field" - ] - } - ] - }, - "ingest._types:EnrichProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "max_matches": { - "description": "The maximum number of matched documents to include under the configured target field.\nThe `target_field` will be turned into a json array if `max_matches` is higher than 1, otherwise `target_field` will become a json object.\nIn order to avoid documents getting too large, the maximum allowed value is 128.", - "type": "number" - }, - "override": { - "description": "If processor will update fields with pre-existing non-null-valued field.\nWhen set to `false`, such fields will not be touched.", - "type": "boolean" - }, - "policy_name": { - "description": "The name of the enrich policy to use.", - "type": "string" - }, - "shape_relation": { - "$ref": "#/components/schemas/_types:GeoShapeRelation" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field", - "policy_name", - "target_field" - ] - } - ] - }, - "_types:GeoShapeRelation": { - "type": "string", - "enum": [ - "intersects", - "disjoint", - "within", - "contains" - ] - }, - "ingest._types:FailProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "message": { - "description": "The error message thrown by the processor.\nSupports template snippets.", - "type": "string" - } - }, - "required": [ - "message" - ] - } - ] - }, - "ingest._types:ForeachProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true`, the processor silently exits without changing the document if the `field` is `null` or missing.", - "type": "boolean" - }, - "processor": { - "$ref": "#/components/schemas/ingest._types:ProcessorContainer" - } - }, - "required": [ - "field", - "processor" - ] - } - ] - }, - "ingest._types:JsonProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "add_to_root": { - "description": "Flag that forces the parsed JSON to be added at the top level of the document.\n`target_field` must not be set when this option is chosen.", - "type": "boolean" - }, - "add_to_root_conflict_strategy": { - "$ref": "#/components/schemas/ingest._types:JsonProcessorConflictStrategy" - }, - "allow_duplicate_keys": { - "description": "When set to `true`, the JSON parser will not fail if the JSON contains duplicate keys.\nInstead, the last encountered value for any duplicate key wins.", - "type": "boolean" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field" - ] - } - ] - }, - "ingest._types:JsonProcessorConflictStrategy": { - "type": "string", - "enum": [ - "replace", - "merge" - ] - }, - "ingest._types:UserAgentProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "options": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ingest._types:UserAgentProperty" - } - }, - "regex_file": { - "description": "The name of the file in the `config/ingest-user-agent` directory containing the regular expressions for parsing the user agent string. Both the directory and the file have to be created before starting Elasticsearch. If not specified, ingest-user-agent will use the `regexes.yaml` from uap-core it ships with.", - "type": "string" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field" - ] - } - ] - }, - "ingest._types:UserAgentProperty": { - "type": "string", - "enum": [ - "NAME", - "MAJOR", - "MINOR", - "PATCH", - "OS", - "OS_NAME", - "OS_MAJOR", - "OS_MINOR", - "DEVICE", - "BUILD" - ] - }, - "ingest._types:KeyValueProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "exclude_keys": { - "description": "List of keys to exclude from document.", - "type": "array", - "items": { - "type": "string" - } - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "field_split": { - "description": "Regex pattern to use for splitting key-value pairs.", - "type": "string" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "include_keys": { - "description": "List of keys to filter and insert into document.\nDefaults to including all keys.", - "type": "array", - "items": { - "type": "string" - } - }, - "prefix": { - "description": "Prefix to be added to extracted keys.", - "type": "string" - }, - "strip_brackets": { - "description": "If `true`. strip brackets `()`, `<>`, `[]` as well as quotes `'` and `\"` from extracted values.", - "type": "boolean" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "trim_key": { - "description": "String of characters to trim from extracted keys.", - "type": "string" - }, - "trim_value": { - "description": "String of characters to trim from extracted values.", - "type": "string" - }, - "value_split": { - "description": "Regex pattern to use for splitting the key from the value within a key-value pair.", - "type": "string" - } - }, - "required": [ - "field", - "field_split", - "value_split" - ] - } - ] - }, - "ingest._types:GeoIpProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "database_file": { - "description": "The database filename referring to a database the module ships with (GeoLite2-City.mmdb, GeoLite2-Country.mmdb, or GeoLite2-ASN.mmdb) or a custom database in the ingest-geoip config directory.", - "type": "string" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "first_only": { - "description": "If `true`, only the first found geoip data will be returned, even if the field contains an array.", - "type": "boolean" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "properties": { - "description": "Controls what properties are added to the `target_field` based on the geoip lookup.", - "type": "array", - "items": { - "type": "string" - } - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field" - ] - } - ] - }, - "ingest._types:GrokProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "pattern_definitions": { - "description": "A map of pattern-name and pattern tuples defining custom patterns to be used by the current processor.\nPatterns matching existing names will override the pre-existing definition.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "patterns": { - "description": "An ordered list of grok expression to match and extract named captures with.\nReturns on the first expression in the list that matches.", - "type": "array", - "items": { - "type": "string" - } - }, - "trace_match": { - "description": "When `true`, `_ingest._grok_match_index` will be inserted into your matched document’s metadata with the index into the pattern found in `patterns` that matched.", - "type": "boolean" - } - }, - "required": [ - "field", - "patterns" - ] - } - ] - }, - "ingest._types:GsubProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "pattern": { - "description": "The pattern to be replaced.", - "type": "string" - }, - "replacement": { - "description": "The string to replace the matching patterns with.", - "type": "string" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field", - "pattern", - "replacement" - ] - } - ] - }, - "ingest._types:JoinProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "separator": { - "description": "The separator character.", - "type": "string" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field", - "separator" - ] - } - ] - }, - "ingest._types:LowercaseProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field" - ] - } - ] - }, - "ingest._types:RemoveProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Fields" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", - "type": "boolean" - } - }, - "required": [ - "field" - ] - } - ] - }, - "ingest._types:RenameProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field", - "target_field" - ] - } - ] - }, - "ingest._types:SetProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "copy_from": { - "$ref": "#/components/schemas/_types:Field" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_empty_value": { - "description": "If `true` and `value` is a template snippet that evaluates to `null` or the empty string, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "media_type": { - "description": "The media type for encoding `value`.\nApplies only when value is a template snippet.\nMust be one of `application/json`, `text/plain`, or `application/x-www-form-urlencoded`.", - "type": "string" - }, - "override": { - "description": "If `true` processor will update fields with pre-existing non-null-valued field.\nWhen set to `false`, such fields will not be touched.", - "type": "boolean" - }, - "value": { - "description": "The value to be set for the field.\nSupports template snippets.\nMay specify only one of `value` or `copy_from`.", - "type": "object" - } - }, - "required": [ - "field" - ] - } - ] - }, - "ingest._types:SortProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "order": { - "$ref": "#/components/schemas/_types:SortOrder" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field" - ] - } - ] - }, - "ingest._types:SplitProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "preserve_trailing": { - "description": "Preserves empty trailing fields, if any.", - "type": "boolean" - }, - "separator": { - "description": "A regex which matches the separator, for example, `,` or `\\s+`.", - "type": "string" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field", - "separator" - ] - } - ] - }, - "ingest._types:TrimProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field" - ] - } - ] - }, - "ingest._types:UppercaseProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field" - ] - } - ] - }, - "ingest._types:UrlDecodeProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field" - ] - } - ] - }, - "ingest._types:BytesProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field" - ] - } - ] - }, - "ingest._types:DissectProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "append_separator": { - "description": "The character(s) that separate the appended fields.", - "type": "string" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "pattern": { - "description": "The pattern to apply to the field.", - "type": "string" - } - }, - "required": [ - "field", - "pattern" - ] - } - ] - }, - "ingest._types:SetSecurityUserProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "properties": { - "description": "Controls what user related properties are added to the field.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "field" - ] - } - ] - }, - "ingest._types:PipelineProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "ignore_missing_pipeline": { - "description": "Whether to ignore missing pipelines instead of failing.", - "type": "boolean" - } - }, - "required": [ - "name" - ] - } - ] - }, - "ingest._types:DropProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object" - } - ] - }, - "ingest._types:CircleProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "error_distance": { - "description": "The difference between the resulting inscribed distance from center to side and the circle’s radius (measured in meters for `geo_shape`, unit-less for `shape`).", - "type": "number" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "ignore_missing": { - "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", - "type": "boolean" - }, - "shape_type": { - "$ref": "#/components/schemas/ingest._types:ShapeType" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "error_distance", - "field", - "shape_type" - ] - } - ] - }, - "ingest._types:ShapeType": { - "type": "string", - "enum": [ - "geo_shape", - "shape" - ] - }, - "ingest._types:InferenceProcessor": { - "allOf": [ - { - "$ref": "#/components/schemas/ingest._types:ProcessorBase" - }, - { - "type": "object", - "properties": { - "model_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "target_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "field_map": { - "description": "Maps the document field names to the known field names of the model.\nThis mapping takes precedence over any default mappings provided in the model configuration.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "inference_config": { - "$ref": "#/components/schemas/ingest._types:InferenceConfig" - } - }, - "required": [ - "model_id" - ] - } - ] - }, - "ingest._types:InferenceConfig": { - "type": "object", - "properties": { - "regression": { - "$ref": "#/components/schemas/ingest._types:InferenceConfigRegression" - }, - "classification": { - "$ref": "#/components/schemas/ingest._types:InferenceConfigClassification" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "ingest._types:InferenceConfigRegression": { - "type": "object", - "properties": { - "results_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "num_top_feature_importance_values": { - "description": "Specifies the maximum number of feature importance values per document.", - "type": "number" - } - } - }, - "ingest._types:InferenceConfigClassification": { - "type": "object", - "properties": { - "num_top_classes": { - "description": "Specifies the number of top class predictions to return.", - "type": "number" - }, - "num_top_feature_importance_values": { - "description": "Specifies the maximum number of feature importance values per document.", - "type": "number" - }, - "results_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "top_classes_results_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "prediction_field_type": { - "description": "Specifies the type of the predicted field to write.\nValid values are: `string`, `number`, `boolean`.", - "type": "string" - } - } - }, - "ingest.simulate:Document": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "_source": { - "description": "JSON body for the document.", - "type": "object" - } - }, - "required": [ - "_source" - ] - }, - "ingest.simulate:PipelineSimulation": { - "type": "object", - "properties": { - "doc": { - "$ref": "#/components/schemas/ingest.simulate:DocumentSimulation" - }, - "processor_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ingest.simulate:PipelineSimulation" - } - }, - "tag": { - "type": "string" - }, - "processor_type": { - "type": "string" - }, - "status": { - "$ref": "#/components/schemas/watcher._types:ActionStatusOptions" - } - } - }, - "ingest.simulate:DocumentSimulation": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "_ingest": { - "$ref": "#/components/schemas/ingest.simulate:Ingest" - }, - "_routing": { - "description": "Value used to send the document to a specific primary shard.", - "type": "string" - }, - "_source": { - "description": "JSON body for the document.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "_version": { - "$ref": "#/components/schemas/_spec_utils:StringifiedVersionNumber" - }, - "_version_type": { - "$ref": "#/components/schemas/_types:VersionType" - } - }, - "required": [ - "_id", - "_index", - "_ingest", - "_source" - ] - }, - "ingest.simulate:Ingest": { - "type": "object", - "properties": { - "timestamp": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "pipeline": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "required": [ - "timestamp" - ] - }, - "_spec_utils:StringifiedVersionNumber": { - "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - { - "type": "string" - } - ] - }, - "watcher._types:ActionStatusOptions": { - "type": "string", - "enum": [ - "success", - "failure", - "simulated", - "throttled" - ] - }, - "_global.knn_search._types:Query": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "query_vector": { - "$ref": "#/components/schemas/_types:QueryVector" - }, - "k": { - "description": "The final number of nearest neighbors to return as top hits", - "type": "number" - }, - "num_candidates": { - "description": "The number of nearest neighbor candidates to consider per shard", - "type": "number" - } - }, - "required": [ - "field", - "query_vector", - "k", - "num_candidates" - ] - }, - "license.get:LicenseInformation": { - "type": "object", - "properties": { - "expiry_date": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "expiry_date_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "issue_date": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "issue_date_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "issued_to": { - "type": "string" - }, - "issuer": { - "type": "string" - }, - "max_nodes": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "max_resource_units": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "status": { - "$ref": "#/components/schemas/license._types:LicenseStatus" - }, - "type": { - "$ref": "#/components/schemas/license._types:LicenseType" - }, - "uid": { - "$ref": "#/components/schemas/_types:Uuid" - }, - "start_date_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - } - }, - "required": [ - "issue_date", - "issue_date_in_millis", - "issued_to", - "issuer", - "max_nodes", - "status", - "type", - "uid", - "start_date_in_millis" - ] - }, - "license._types:LicenseStatus": { - "type": "string", - "enum": [ - "active", - "valid", - "invalid", - "expired" - ] - }, - "license._types:LicenseType": { - "type": "string", - "enum": [ - "missing", - "trial", - "basic", - "standard", - "dev", - "silver", - "gold", - "platinum", - "enterprise" - ] - }, - "license._types:License": { - "type": "object", - "properties": { - "expiry_date_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "issue_date_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "start_date_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "issued_to": { - "type": "string" - }, - "issuer": { - "type": "string" - }, - "max_nodes": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "max_resource_units": { - "type": "number" - }, - "signature": { - "type": "string" - }, - "type": { - "$ref": "#/components/schemas/license._types:LicenseType" - }, - "uid": { - "type": "string" - } - }, - "required": [ - "expiry_date_in_millis", - "issue_date_in_millis", - "issued_to", - "issuer", - "signature", - "type", - "uid" - ] - }, - "license.post:Acknowledgement": { - "type": "object", - "properties": { - "license": { - "type": "array", - "items": { - "type": "string" - } - }, - "message": { - "type": "string" - } - }, - "required": [ - "license", - "message" - ] - }, - "logstash._types:Pipeline": { - "type": "object", - "properties": { - "description": { - "description": "Description of the pipeline.\nThis description is not used by Elasticsearch or Logstash.", - "type": "string" - }, - "last_modified": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "pipeline_metadata": { - "$ref": "#/components/schemas/logstash._types:PipelineMetadata" - }, - "username": { - "description": "User who last updated the pipeline.", - "type": "string" - }, - "pipeline": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/logstash/current/configuration-file-structure.html" - }, - "description": "Configuration for the pipeline.", - "type": "string" - }, - "pipeline_settings": { - "$ref": "#/components/schemas/logstash._types:PipelineSettings" - } - }, - "required": [ - "description", - "last_modified", - "pipeline_metadata", - "username", - "pipeline", - "pipeline_settings" - ] - }, - "logstash._types:PipelineMetadata": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "version": { - "type": "string" - } - }, - "required": [ - "type", - "version" - ] - }, - "logstash._types:PipelineSettings": { - "type": "object", - "properties": { - "pipeline.workers": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/logstash/current/logstash-settings-file.html" - }, - "description": "The number of workers that will, in parallel, execute the filter and output stages of the pipeline.", - "type": "number" - }, - "pipeline.batch.size": { - "description": "The maximum number of events an individual worker thread will collect from inputs before attempting to execute its filters and outputs.", - "type": "number" - }, - "pipeline.batch.delay": { - "description": "When creating pipeline event batches, how long in milliseconds to wait for each event before dispatching an undersized batch to pipeline workers.", - "type": "number" - }, - "queue.type": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/logstash/current/logstash-settings-file.html" - }, - "description": "The internal queuing model to use for event buffering.", - "type": "string" - }, - "queue.max_bytes.number": { - "description": "The total capacity of the queue (`queue.type: persisted`) in number of bytes.", - "type": "number" - }, - "queue.max_bytes.units": { - "description": "The total capacity of the queue (`queue.type: persisted`) in terms of units of bytes.", - "type": "string" - }, - "queue.checkpoint.writes": { - "description": "The maximum number of written events before forcing a checkpoint when persistent queues are enabled (`queue.type: persisted`).", - "type": "number" - } - }, - "required": [ - "pipeline.workers", - "pipeline.batch.size", - "pipeline.batch.delay", - "queue.type", - "queue.max_bytes.number", - "queue.max_bytes.units", - "queue.checkpoint.writes" - ] - }, - "_global.mget:Operation": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "_source": { - "$ref": "#/components/schemas/_global.search._types:SourceConfig" - }, - "stored_fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "version_type": { - "$ref": "#/components/schemas/_types:VersionType" - } - }, - "required": [ - "_id" - ] - }, - "_global.mget:ResponseItem": { - "oneOf": [ - { - "$ref": "#/components/schemas/_global.get:GetResult" - }, - { - "$ref": "#/components/schemas/_global.mget:MultiGetError" - } - ] - }, - "_global.mget:MultiGetError": { - "type": "object", - "properties": { - "error": { - "$ref": "#/components/schemas/_types:ErrorCause" - }, - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - } - }, - "required": [ - "error", - "_id", - "_index" - ] - }, - "migration.deprecations:Deprecation": { - "type": "object", - "properties": { - "details": { - "type": "string" - }, - "level": { - "$ref": "#/components/schemas/migration.deprecations:DeprecationLevel" - }, - "message": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": [ - "details", - "level", - "message", - "url" - ] - }, - "migration.deprecations:DeprecationLevel": { - "type": "string", - "enum": [ - "none", - "info", - "warning", - "critical" - ] - }, - "migration.get_feature_upgrade_status:MigrationFeature": { - "type": "object", - "properties": { - "feature_name": { - "type": "string" - }, - "minimum_index_version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "migration_status": { - "$ref": "#/components/schemas/migration.get_feature_upgrade_status:MigrationStatus" - }, - "indices": { - "type": "array", - "items": { - "$ref": "#/components/schemas/migration.get_feature_upgrade_status:MigrationFeatureIndexInfo" - } - } - }, - "required": [ - "feature_name", - "minimum_index_version", - "migration_status", - "indices" - ] - }, - "migration.get_feature_upgrade_status:MigrationStatus": { - "type": "string", - "enum": [ - "NO_MIGRATION_NEEDED", - "MIGRATION_NEEDED", - "IN_PROGRESS", - "ERROR" - ] - }, - "migration.get_feature_upgrade_status:MigrationFeatureIndexInfo": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "failure_cause": { - "$ref": "#/components/schemas/_types:ErrorCause" - } - }, - "required": [ - "index", - "version" - ] - }, - "migration.post_feature_upgrade:MigrationFeature": { - "type": "object", - "properties": { - "feature_name": { - "type": "string" - } - }, - "required": [ - "feature_name" - ] - }, - "ml._types:AnalysisConfig": { - "type": "object", - "properties": { - "bucket_span": { - "$ref": "#/components/schemas/_types:Duration" - }, - "categorization_analyzer": { - "$ref": "#/components/schemas/ml._types:CategorizationAnalyzer" - }, - "categorization_field_name": { - "$ref": "#/components/schemas/_types:Field" - }, - "categorization_filters": { - "description": "If `categorization_field_name` is specified, you can also define optional filters. This property expects an array of regular expressions. The expressions are used to filter out matching sequences from the categorization field values. You can use this functionality to fine tune the categorization by excluding sequences from consideration when categories are defined. For example, you can exclude SQL statements that appear in your log files. This property cannot be used at the same time as `categorization_analyzer`. If you only want to define simple regular expression filters that are applied prior to tokenization, setting this property is the easiest method. If you also want to customize the tokenizer or post-tokenization filtering, use the `categorization_analyzer` property instead and include the filters as pattern_replace character filters. The effect is exactly the same.", - "type": "array", - "items": { - "type": "string" - } - }, - "detectors": { - "description": "Detector configuration objects specify which data fields a job analyzes. They also specify which analytical functions are used. You can specify multiple detectors for a job. If the detectors array does not contain at least one detector, no analysis can occur and an error is returned.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:Detector" - } - }, - "influencers": { - "description": "A comma separated list of influencer field names. Typically these can be the by, over, or partition fields that are used in the detector configuration. You might also want to use a field name that is not specifically named in a detector, but is available as part of the input data. When you use multiple detectors, the use of influencers is recommended as it aggregates results for each influencer entity.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "latency": { - "$ref": "#/components/schemas/_types:Duration" - }, - "model_prune_window": { - "$ref": "#/components/schemas/_types:Duration" - }, - "multivariate_by_fields": { - "description": "This functionality is reserved for internal use. It is not supported for use in customer environments and is not subject to the support SLA of official GA features. If set to `true`, the analysis will automatically find correlations between metrics for a given by field value and report anomalies when those correlations cease to hold. For example, suppose CPU and memory usage on host A is usually highly correlated with the same metrics on host B. Perhaps this correlation occurs because they are running a load-balanced application. If you enable this property, anomalies will be reported when, for example, CPU usage on host A is high and the value of CPU usage on host B is low. That is to say, you’ll see an anomaly when the CPU of host A is unusual given the CPU of host B. To use the `multivariate_by_fields` property, you must also specify `by_field_name` in your detector.", - "type": "boolean" - }, - "per_partition_categorization": { - "$ref": "#/components/schemas/ml._types:PerPartitionCategorization" - }, - "summary_count_field_name": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "detectors" - ] - }, - "ml._types:CategorizationAnalyzer": { - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/ml._types:CategorizationAnalyzerDefinition" - } - ] - }, - "ml._types:CategorizationAnalyzerDefinition": { - "type": "object", - "properties": { - "char_filter": { - "description": "One or more character filters. In addition to the built-in character filters, other plugins can provide more character filters. If this property is not specified, no character filters are applied prior to categorization. If you are customizing some other aspect of the analyzer and you need to achieve the equivalent of `categorization_filters` (which are not permitted when some other aspect of the analyzer is customized), add them here as pattern replace character filters.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.analysis:CharFilter" - } - }, - "filter": { - "description": "One or more token filters. In addition to the built-in token filters, other plugins can provide more token filters. If this property is not specified, no token filters are applied prior to categorization.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.analysis:TokenFilter" - } - }, - "tokenizer": { - "$ref": "#/components/schemas/_types.analysis:Tokenizer" - } - } - }, - "ml._types:Detector": { - "type": "object", - "properties": { - "by_field_name": { - "$ref": "#/components/schemas/_types:Field" - }, - "custom_rules": { - "description": "Custom rules enable you to customize the way detectors operate. For example, a rule may dictate conditions under which results should be skipped. Kibana refers to custom rules as job rules.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:DetectionRule" - } - }, - "detector_description": { - "description": "A description of the detector.", - "type": "string" - }, - "detector_index": { - "description": "A unique identifier for the detector. This identifier is based on the order of the detectors in the `analysis_config`, starting at zero. If you specify a value for this property, it is ignored.", - "type": "number" - }, - "exclude_frequent": { - "$ref": "#/components/schemas/ml._types:ExcludeFrequent" - }, - "field_name": { - "$ref": "#/components/schemas/_types:Field" - }, - "function": { - "description": "The analysis function that is used. For example, `count`, `rare`, `mean`, `min`, `max`, or `sum`.", - "type": "string" - }, - "over_field_name": { - "$ref": "#/components/schemas/_types:Field" - }, - "partition_field_name": { - "$ref": "#/components/schemas/_types:Field" - }, - "use_null": { - "description": "Defines whether a new series is used as the null series when there is no value for the by or partition fields.", - "type": "boolean" - } - } - }, - "ml._types:DetectionRule": { - "type": "object", - "properties": { - "actions": { - "description": "The set of actions to be triggered when the rule applies. If more than one action is specified the effects of all actions are combined.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:RuleAction" - } - }, - "conditions": { - "description": "An array of numeric conditions when the rule applies. A rule must either have a non-empty scope or at least one condition. Multiple conditions are combined together with a logical AND.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:RuleCondition" - } - }, - "scope": { - "description": "A scope of series where the rule applies. A rule must either have a non-empty scope or at least one condition. By default, the scope includes all series. Scoping is allowed for any of the fields that are also specified in `by_field_name`, `over_field_name`, or `partition_field_name`.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/ml._types:FilterRef" - } - } - } - }, - "ml._types:RuleAction": { - "type": "string", - "enum": [ - "skip_result", - "skip_model_update" - ] - }, - "ml._types:RuleCondition": { - "type": "object", - "properties": { - "applies_to": { - "$ref": "#/components/schemas/ml._types:AppliesTo" - }, - "operator": { - "$ref": "#/components/schemas/ml._types:ConditionOperator" - }, - "value": { - "description": "The value that is compared against the `applies_to` field using the operator.", - "type": "number" - } - }, - "required": [ - "applies_to", - "operator", - "value" - ] - }, - "ml._types:AppliesTo": { - "type": "string", - "enum": [ - "actual", - "typical", - "diff_from_typical", - "time" - ] - }, - "ml._types:ConditionOperator": { - "type": "string", - "enum": [ - "gt", - "gte", - "lt", - "lte" - ] - }, - "ml._types:FilterRef": { - "type": "object", - "properties": { - "filter_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "filter_type": { - "$ref": "#/components/schemas/ml._types:FilterType" - } - }, - "required": [ - "filter_id" - ] - }, - "ml._types:FilterType": { - "type": "string", - "enum": [ - "include", - "exclude" - ] - }, - "ml._types:ExcludeFrequent": { - "type": "string", - "enum": [ - "all", - "none", - "by", - "over" - ] - }, - "ml._types:PerPartitionCategorization": { - "type": "object", - "properties": { - "enabled": { - "description": "To enable this setting, you must also set the `partition_field_name` property to the same value in every detector that uses the keyword `mlcategory`. Otherwise, job creation fails.", - "type": "boolean" - }, - "stop_on_warn": { - "description": "This setting can be set to true only if per-partition categorization is enabled. If true, both categorization and subsequent anomaly detection stops for partitions where the categorization status changes to warn. This setting makes it viable to have a job where it is expected that categorization works well for some partitions but not others; you do not pay the cost of bad categorization forever in the partitions where it works badly.", - "type": "boolean" - } - } - }, - "ml._types:DataframeEvaluationContainer": { - "type": "object", - "properties": { - "classification": { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationClassification" - }, - "outlier_detection": { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationOutlierDetection" - }, - "regression": { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationRegression" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "ml._types:DataframeEvaluationClassification": { - "type": "object", - "properties": { - "actual_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "predicted_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "top_classes_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "metrics": { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationClassificationMetrics" - } - }, - "required": [ - "actual_field" - ] - }, - "ml._types:DataframeEvaluationClassificationMetrics": { - "allOf": [ - { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationMetrics" - }, - { - "type": "object", - "properties": { - "accuracy": { - "description": "Accuracy of predictions (per-class and overall).", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "multiclass_confusion_matrix": { - "description": "Multiclass confusion matrix.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - } - ] - }, - "ml._types:DataframeEvaluationMetrics": { - "type": "object", - "properties": { - "auc_roc": { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationClassificationMetricsAucRoc" - }, - "precision": { - "description": "Precision of predictions (per-class and average).", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "recall": { - "description": "Recall of predictions (per-class and average).", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "ml._types:DataframeEvaluationClassificationMetricsAucRoc": { - "type": "object", - "properties": { - "class_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "include_curve": { - "description": "Whether or not the curve should be returned in addition to the score. Default value is false.", - "type": "boolean" - } - } - }, - "ml._types:DataframeEvaluationOutlierDetection": { - "type": "object", - "properties": { - "actual_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "predicted_probability_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "metrics": { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationOutlierDetectionMetrics" - } - }, - "required": [ - "actual_field", - "predicted_probability_field" - ] - }, - "ml._types:DataframeEvaluationOutlierDetectionMetrics": { - "allOf": [ - { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationMetrics" - }, - { - "type": "object", - "properties": { - "confusion_matrix": { - "description": "Accuracy of predictions (per-class and overall).", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - } - ] - }, - "ml._types:DataframeEvaluationRegression": { - "type": "object", - "properties": { - "actual_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "predicted_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "metrics": { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationRegressionMetrics" - } - }, - "required": [ - "actual_field", - "predicted_field" - ] - }, - "ml._types:DataframeEvaluationRegressionMetrics": { - "type": "object", - "properties": { - "mse": { - "externalDocs": { - "url": "https://en.wikipedia.org/wiki/Mean_squared_error" - }, - "description": "Average squared difference between the predicted values and the actual (ground truth) value. For more information, read this wiki article.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "msle": { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationRegressionMetricsMsle" - }, - "huber": { - "$ref": "#/components/schemas/ml._types:DataframeEvaluationRegressionMetricsHuber" - }, - "r_squared": { - "externalDocs": { - "url": "https://en.wikipedia.org/wiki/Coefficient_of_determination" - }, - "description": "Proportion of the variance in the dependent variable that is predictable from the independent variables.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "ml._types:DataframeEvaluationRegressionMetricsMsle": { - "type": "object", - "properties": { - "offset": { - "description": "Defines the transition point at which you switch from minimizing quadratic error to minimizing quadratic log error. Defaults to 1.", - "type": "number" - } - } - }, - "ml._types:DataframeEvaluationRegressionMetricsHuber": { - "type": "object", - "properties": { - "delta": { - "description": "Approximates 1/2 (prediction - actual)2 for values much less than delta and approximates a straight line with slope delta for values much larger than delta. Defaults to 1. Delta needs to be greater than 0.", - "type": "number" - } - } - }, - "ml.evaluate_data_frame:DataframeClassificationSummary": { - "type": "object", - "properties": { - "auc_roc": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationSummaryAucRoc" - }, - "accuracy": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummaryAccuracy" - }, - "multiclass_confusion_matrix": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummaryMulticlassConfusionMatrix" - }, - "precision": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummaryPrecision" - }, - "recall": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeClassificationSummaryRecall" - } - } - }, - "ml.evaluate_data_frame:DataframeEvaluationSummaryAucRoc": { - "allOf": [ - { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" - }, - { - "type": "object", - "properties": { - "curve": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationSummaryAucRocCurveItem" - } - } - } - } - ] - }, - "ml.evaluate_data_frame:DataframeEvaluationSummaryAucRocCurveItem": { - "type": "object", - "properties": { - "tpr": { - "type": "number" - }, - "fpr": { - "type": "number" - }, - "threshold": { - "type": "number" - } - }, - "required": [ - "tpr", - "fpr", - "threshold" - ] - }, - "ml.evaluate_data_frame:DataframeEvaluationValue": { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ] - }, - "ml.evaluate_data_frame:DataframeClassificationSummaryAccuracy": { - "type": "object", - "properties": { - "classes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationClass" - } - }, - "overall_accuracy": { - "type": "number" - } - }, - "required": [ - "classes", - "overall_accuracy" - ] - }, - "ml.evaluate_data_frame:DataframeEvaluationClass": { - "allOf": [ - { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" - }, - { - "type": "object", - "properties": { - "class_name": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "required": [ - "class_name" - ] - } - ] - }, - "ml.evaluate_data_frame:DataframeClassificationSummaryMulticlassConfusionMatrix": { - "type": "object", - "properties": { - "confusion_matrix": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:ConfusionMatrixItem" - } - }, - "other_actual_class_count": { - "type": "number" - } - }, - "required": [ - "confusion_matrix", - "other_actual_class_count" - ] - }, - "ml.evaluate_data_frame:ConfusionMatrixItem": { - "type": "object", - "properties": { - "actual_class": { - "$ref": "#/components/schemas/_types:Name" - }, - "actual_class_doc_count": { - "type": "number" - }, - "predicted_classes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:ConfusionMatrixPrediction" - } - }, - "other_predicted_class_doc_count": { - "type": "number" - } - }, - "required": [ - "actual_class", - "actual_class_doc_count", - "predicted_classes", - "other_predicted_class_doc_count" - ] - }, - "ml.evaluate_data_frame:ConfusionMatrixPrediction": { - "type": "object", - "properties": { - "predicted_class": { - "$ref": "#/components/schemas/_types:Name" - }, - "count": { - "type": "number" - } - }, - "required": [ - "predicted_class", - "count" - ] - }, - "ml.evaluate_data_frame:DataframeClassificationSummaryPrecision": { - "type": "object", - "properties": { - "classes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationClass" - } - }, - "avg_precision": { - "type": "number" - } - }, - "required": [ - "classes", - "avg_precision" - ] - }, - "ml.evaluate_data_frame:DataframeClassificationSummaryRecall": { - "type": "object", - "properties": { - "classes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationClass" - } - }, - "avg_recall": { - "type": "number" - } - }, - "required": [ - "classes", - "avg_recall" - ] - }, - "ml.evaluate_data_frame:DataframeOutlierDetectionSummary": { - "type": "object", - "properties": { - "auc_roc": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationSummaryAucRoc" - }, - "precision": { - "description": "Set the different thresholds of the outlier score at where the metric is calculated.", - "type": "object", - "additionalProperties": { - "type": "number" - } - }, - "recall": { - "description": "Set the different thresholds of the outlier score at where the metric is calculated.", - "type": "object", - "additionalProperties": { - "type": "number" - } - }, - "confusion_matrix": { - "description": "Set the different thresholds of the outlier score at where the metrics (`tp` - true positive, `fp` - false positive, `tn` - true negative, `fn` - false negative) are calculated.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:ConfusionMatrixThreshold" - } - } - } - }, - "ml.evaluate_data_frame:ConfusionMatrixThreshold": { - "type": "object", - "properties": { - "tp": { - "description": "True Positive", - "type": "number" - }, - "fp": { - "description": "False Positive", - "type": "number" - }, - "tn": { - "description": "True Negative", - "type": "number" - }, - "fn": { - "description": "False Negative", - "type": "number" - } - }, - "required": [ - "tp", - "fp", - "tn", - "fn" - ] - }, - "ml.evaluate_data_frame:DataframeRegressionSummary": { - "type": "object", - "properties": { - "huber": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" - }, - "mse": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" - }, - "msle": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" - }, - "r_squared": { - "$ref": "#/components/schemas/ml.evaluate_data_frame:DataframeEvaluationValue" - } - } - }, - "ml._types:DataframeAnalyticsSource": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:Indices" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - }, - "_source": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" - } - }, - "required": [ - "index" - ] - }, - "ml._types:DataframeAnalysisAnalyzedFields": { - "type": "object", - "properties": { - "includes": { - "description": "An array of strings that defines the fields that will be excluded from the analysis. You do not need to add fields with unsupported data types to excludes, these fields are excluded from the analysis automatically.", - "type": "array", - "items": { - "type": "string" - } - }, - "excludes": { - "description": "An array of strings that defines the fields that will be included in the analysis.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "includes", - "excludes" - ] - }, - "ml._types:DataframeAnalyticsDestination": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "results_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "index" - ] - }, - "ml._types:DataframeAnalysisContainer": { - "type": "object", - "properties": { - "classification": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisClassification" - }, - "outlier_detection": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisOutlierDetection" - }, - "regression": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisRegression" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "ml._types:DataframeAnalysisClassification": { - "allOf": [ - { - "$ref": "#/components/schemas/ml._types:DataframeAnalysis" - }, - { - "type": "object", - "properties": { - "class_assignment_objective": { - "type": "string" - }, - "num_top_classes": { - "description": "Defines the number of categories for which the predicted probabilities are reported. It must be non-negative or -1. If it is -1 or greater than the total number of categories, probabilities are reported for all categories; if you have a large number of categories, there could be a significant effect on the size of your destination index. NOTE: To use the AUC ROC evaluation method, `num_top_classes` must be set to -1 or a value greater than or equal to the total number of categories.", - "type": "number" - } - } - } - ] - }, - "ml._types:DataframeAnalysis": { - "type": "object", - "properties": { - "alpha": { - "description": "Advanced configuration option. Machine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly. This parameter affects loss calculations by acting as a multiplier of the tree depth. Higher alpha values result in shallower trees and faster training times. By default, this value is calculated during hyperparameter optimization. It must be greater than or equal to zero.", - "type": "number" - }, - "dependent_variable": { - "description": "Defines which field of the document is to be predicted. It must match one of the fields in the index being used to train. If this field is missing from a document, then that document will not be used for training, but a prediction with the trained model will be generated for it. It is also known as continuous target variable.\nFor classification analysis, the data type of the field must be numeric (`integer`, `short`, `long`, `byte`), categorical (`ip` or `keyword`), or `boolean`. There must be no more than 30 different values in this field.\nFor regression analysis, the data type of the field must be numeric.", - "type": "string" - }, - "downsample_factor": { - "description": "Advanced configuration option. Controls the fraction of data that is used to compute the derivatives of the loss function for tree training. A small value results in the use of a small fraction of the data. If this value is set to be less than 1, accuracy typically improves. However, too small a value may result in poor convergence for the ensemble and so require more trees. By default, this value is calculated during hyperparameter optimization. It must be greater than zero and less than or equal to 1.", - "type": "number" - }, - "early_stopping_enabled": { - "description": "Advanced configuration option. Specifies whether the training process should finish if it is not finding any better performing models. If disabled, the training process can take significantly longer and the chance of finding a better performing model is unremarkable.", - "type": "boolean" - }, - "eta": { - "description": "Advanced configuration option. The shrinkage applied to the weights. Smaller values result in larger forests which have a better generalization error. However, larger forests cause slower training. By default, this value is calculated during hyperparameter optimization. It must be a value between 0.001 and 1.", - "type": "number" - }, - "eta_growth_rate_per_tree": { - "description": "Advanced configuration option. Specifies the rate at which `eta` increases for each new tree that is added to the forest. For example, a rate of 1.05 increases `eta` by 5% for each extra tree. By default, this value is calculated during hyperparameter optimization. It must be between 0.5 and 2.", - "type": "number" - }, - "feature_bag_fraction": { - "description": "Advanced configuration option. Defines the fraction of features that will be used when selecting a random bag for each candidate split. By default, this value is calculated during hyperparameter optimization.", - "type": "number" - }, - "feature_processors": { - "description": "Advanced configuration option. A collection of feature preprocessors that modify one or more included fields. The analysis uses the resulting one or more features instead of the original document field. However, these features are ephemeral; they are not stored in the destination index. Multiple `feature_processors` entries can refer to the same document fields. Automatic categorical feature encoding still occurs for the fields that are unprocessed by a custom processor or that have categorical values. Use this property only if you want to override the automatic feature encoding of the specified fields.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessor" - } - }, - "gamma": { - "description": "Advanced configuration option. Regularization parameter to prevent overfitting on the training data set. Multiplies a linear penalty associated with the size of individual trees in the forest. A high gamma value causes training to prefer small trees. A small gamma value results in larger individual trees and slower training. By default, this value is calculated during hyperparameter optimization. It must be a nonnegative value.", - "type": "number" - }, - "lambda": { - "description": "Advanced configuration option. Regularization parameter to prevent overfitting on the training data set. Multiplies an L2 regularization term which applies to leaf weights of the individual trees in the forest. A high lambda value causes training to favor small leaf weights. This behavior makes the prediction function smoother at the expense of potentially not being able to capture relevant relationships between the features and the dependent variable. A small lambda value results in large individual trees and slower training. By default, this value is calculated during hyperparameter optimization. It must be a nonnegative value.", - "type": "number" - }, - "max_optimization_rounds_per_hyperparameter": { - "description": "Advanced configuration option. A multiplier responsible for determining the maximum number of hyperparameter optimization steps in the Bayesian optimization procedure. The maximum number of steps is determined based on the number of undefined hyperparameters times the maximum optimization rounds per hyperparameter. By default, this value is calculated during hyperparameter optimization.", - "type": "number" - }, - "max_trees": { - "description": "Advanced configuration option. Defines the maximum number of decision trees in the forest. The maximum value is 2000. By default, this value is calculated during hyperparameter optimization.", - "type": "number" - }, - "num_top_feature_importance_values": { - "description": "Advanced configuration option. Specifies the maximum number of feature importance values per document to return. By default, no feature importance calculation occurs.", - "type": "number" - }, - "prediction_field_name": { - "$ref": "#/components/schemas/_types:Field" - }, - "randomize_seed": { - "description": "Defines the seed for the random generator that is used to pick training data. By default, it is randomly generated. Set it to a specific value to use the same training data each time you start a job (assuming other related parameters such as `source` and `analyzed_fields` are the same).", - "type": "number" - }, - "soft_tree_depth_limit": { - "description": "Advanced configuration option. Machine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly. This soft limit combines with the `soft_tree_depth_tolerance` to penalize trees that exceed the specified depth; the regularized loss increases quickly beyond this depth. By default, this value is calculated during hyperparameter optimization. It must be greater than or equal to 0.", - "type": "number" - }, - "soft_tree_depth_tolerance": { - "description": "Advanced configuration option. This option controls how quickly the regularized loss increases when the tree depth exceeds `soft_tree_depth_limit`. By default, this value is calculated during hyperparameter optimization. It must be greater than or equal to 0.01.", - "type": "number" - }, - "training_percent": { - "$ref": "#/components/schemas/_types:Percentage" - } - }, - "required": [ - "dependent_variable" - ] - }, - "ml._types:DataframeAnalysisFeatureProcessor": { - "type": "object", - "properties": { - "frequency_encoding": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorFrequencyEncoding" - }, - "multi_encoding": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorMultiEncoding" - }, - "n_gram_encoding": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorNGramEncoding" - }, - "one_hot_encoding": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorOneHotEncoding" - }, - "target_mean_encoding": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisFeatureProcessorTargetMeanEncoding" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "ml._types:DataframeAnalysisFeatureProcessorFrequencyEncoding": { - "type": "object", - "properties": { - "feature_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "frequency_map": { - "description": "The resulting frequency map for the field value. If the field value is missing from the frequency_map, the resulting value is 0.", - "type": "object", - "additionalProperties": { - "type": "number" - } - } - }, - "required": [ - "feature_name", - "field", - "frequency_map" - ] - }, - "ml._types:DataframeAnalysisFeatureProcessorMultiEncoding": { - "type": "object", - "properties": { - "processors": { - "description": "The ordered array of custom processors to execute. Must be more than 1.", - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "processors" - ] - }, - "ml._types:DataframeAnalysisFeatureProcessorNGramEncoding": { - "type": "object", - "properties": { - "feature_prefix": { - "description": "The feature name prefix. Defaults to ngram__.", - "type": "string" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "length": { - "description": "Specifies the length of the n-gram substring. Defaults to 50. Must be greater than 0.", - "type": "number" - }, - "n_grams": { - "description": "Specifies which n-grams to gather. It’s an array of integer values where the minimum value is 1, and a maximum value is 5.", - "type": "array", - "items": { - "type": "number" - } - }, - "start": { - "description": "Specifies the zero-indexed start of the n-gram substring. Negative values are allowed for encoding n-grams of string suffixes. Defaults to 0.", - "type": "number" - }, - "custom": { - "type": "boolean" - } - }, - "required": [ - "field", - "n_grams" - ] - }, - "ml._types:DataframeAnalysisFeatureProcessorOneHotEncoding": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "hot_map": { - "description": "The one hot map mapping the field value with the column name.", - "type": "string" - } - }, - "required": [ - "field", - "hot_map" - ] - }, - "ml._types:DataframeAnalysisFeatureProcessorTargetMeanEncoding": { - "type": "object", - "properties": { - "default_value": { - "description": "The default value if field value is not found in the target_map.", - "type": "number" - }, - "feature_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "target_map": { - "description": "The field value to target mean transition map.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - }, - "required": [ - "default_value", - "feature_name", - "field", - "target_map" - ] - }, - "ml._types:DataframeAnalysisOutlierDetection": { - "type": "object", - "properties": { - "compute_feature_influence": { - "description": "Specifies whether the feature influence calculation is enabled.", - "type": "boolean" - }, - "feature_influence_threshold": { - "description": "The minimum outlier score that a document needs to have in order to calculate its feature influence score. Value range: 0-1.", - "type": "number" - }, - "method": { - "description": "The method that outlier detection uses. Available methods are `lof`, `ldof`, `distance_kth_nn`, `distance_knn`, and `ensemble`. The default value is ensemble, which means that outlier detection uses an ensemble of different methods and normalises and combines their individual outlier scores to obtain the overall outlier score.", - "type": "string" - }, - "n_neighbors": { - "description": "Defines the value for how many nearest neighbors each method of outlier detection uses to calculate its outlier score. When the value is not set, different values are used for different ensemble members. This default behavior helps improve the diversity in the ensemble; only override it if you are confident that the value you choose is appropriate for the data set.", - "type": "number" - }, - "outlier_fraction": { - "description": "The proportion of the data set that is assumed to be outlying prior to outlier detection. For example, 0.05 means it is assumed that 5% of values are real outliers and 95% are inliers.", - "type": "number" - }, - "standardization_enabled": { - "description": "If true, the following operation is performed on the columns before computing outlier scores: `(x_i - mean(x_i)) / sd(x_i)`.", - "type": "boolean" - } - } - }, - "ml._types:DataframeAnalysisRegression": { - "allOf": [ - { - "$ref": "#/components/schemas/ml._types:DataframeAnalysis" - }, - { - "type": "object", - "properties": { - "loss_function": { - "description": "The loss function used during regression. Available options are `mse` (mean squared error), `msle` (mean squared logarithmic error), `huber` (Pseudo-Huber loss).", - "type": "string" - }, - "loss_function_parameter": { - "description": "A positive number that is used as a parameter to the `loss_function`.", - "type": "number" - } - } - } - ] - }, - "ml._types:DataframeAnalyticsFieldSelection": { - "type": "object", - "properties": { - "is_included": { - "description": "Whether the field is selected to be included in the analysis.", - "type": "boolean" - }, - "is_required": { - "description": "Whether the field is required.", - "type": "boolean" - }, - "feature_type": { - "description": "The feature type of this field for the analysis. May be categorical or numerical.", - "type": "string" - }, - "mapping_types": { - "description": "The mapping types of the field.", - "type": "array", - "items": { - "type": "string" - } - }, - "name": { - "$ref": "#/components/schemas/_types:Field" - }, - "reason": { - "description": "The reason a field is not selected to be included in the analysis.", - "type": "string" - } - }, - "required": [ - "is_included", - "is_required", - "mapping_types", - "name" - ] - }, - "ml._types:DataframeAnalyticsMemoryEstimation": { - "type": "object", - "properties": { - "expected_memory_with_disk": { - "description": "Estimated memory usage under the assumption that overflowing to disk is allowed during data frame analytics. expected_memory_with_disk is usually smaller than expected_memory_without_disk as using disk allows to limit the main memory needed to perform data frame analytics.", - "type": "string" - }, - "expected_memory_without_disk": { - "description": "Estimated memory usage under the assumption that the whole data frame analytics should happen in memory (i.e. without overflowing to disk).", - "type": "string" - } - }, - "required": [ - "expected_memory_with_disk", - "expected_memory_without_disk" - ] - }, - "ml._types:Page": { - "type": "object", - "properties": { - "from": { - "description": "Skips the specified number of items.", - "type": "number" - }, - "size": { - "description": "Specifies the maximum number of items to obtain.", - "type": "number" - } - } - }, - "ml._types:BucketSummary": { - "type": "object", - "properties": { - "anomaly_score": { - "description": "The maximum anomaly score, between 0-100, for any of the bucket influencers. This is an overall, rate-limited\nscore for the job. All the anomaly records in the bucket contribute to this score. This value might be updated as\nnew data is analyzed.", - "type": "number" - }, - "bucket_influencers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:BucketInfluencer" - } - }, - "bucket_span": { - "$ref": "#/components/schemas/_types:DurationValueUnitSeconds" - }, - "event_count": { - "description": "The number of input data records processed in this bucket.", - "type": "number" - }, - "initial_anomaly_score": { - "description": "The maximum anomaly score for any of the bucket influencers. This is the initial value that was calculated at the\ntime the bucket was processed.", - "type": "number" - }, - "is_interim": { - "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", - "type": "boolean" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "processing_time_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "result_type": { - "description": "Internal. This value is always set to bucket.", - "type": "string" - }, - "timestamp": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "timestamp_string": { - "$ref": "#/components/schemas/_types:DateTime" - } - }, - "required": [ - "anomaly_score", - "bucket_influencers", - "bucket_span", - "event_count", - "initial_anomaly_score", - "is_interim", - "job_id", - "processing_time_ms", - "result_type", - "timestamp" - ] - }, - "ml._types:BucketInfluencer": { - "type": "object", - "properties": { - "anomaly_score": { - "description": "A normalized score between 0-100, which is calculated for each bucket influencer. This score might be updated as\nnewer data is analyzed.", - "type": "number" - }, - "bucket_span": { - "$ref": "#/components/schemas/_types:DurationValueUnitSeconds" - }, - "influencer_field_name": { - "$ref": "#/components/schemas/_types:Field" - }, - "initial_anomaly_score": { - "description": "The score between 0-100 for each bucket influencer. This score is the initial value that was calculated at the\ntime the bucket was processed.", - "type": "number" - }, - "is_interim": { - "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", - "type": "boolean" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "probability": { - "description": "The probability that the bucket has this behavior, in the range 0 to 1. This value can be held to a high precision\nof over 300 decimal places, so the `anomaly_score` is provided as a human-readable and friendly interpretation of\nthis.", - "type": "number" - }, - "raw_anomaly_score": { - "description": "Internal.", - "type": "number" - }, - "result_type": { - "description": "Internal. This value is always set to `bucket_influencer`.", - "type": "string" - }, - "timestamp": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "timestamp_string": { - "$ref": "#/components/schemas/_types:DateTime" - } - }, - "required": [ - "anomaly_score", - "bucket_span", - "influencer_field_name", - "initial_anomaly_score", - "is_interim", - "job_id", - "probability", - "raw_anomaly_score", - "result_type", - "timestamp" - ] - }, - "_types:DurationValueUnitSeconds": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:UnitSeconds" - } - ] - }, - "ml._types:CalendarEvent": { - "type": "object", - "properties": { - "calendar_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "event_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "description": { - "description": "A description of the scheduled event.", - "type": "string" - }, - "end_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "start_time": { - "$ref": "#/components/schemas/_types:DateTime" - } - }, - "required": [ - "description", - "end_time", - "start_time" - ] - }, - "ml.get_calendars:Calendar": { - "type": "object", - "properties": { - "calendar_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "description": { - "description": "A description of the calendar.", - "type": "string" - }, - "job_ids": { - "description": "An array of anomaly detection job identifiers.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Id" - } - } - }, - "required": [ - "calendar_id", - "job_ids" - ] - }, - "_types:CategoryId": { - "type": "string" - }, - "ml._types:Category": { - "type": "object", - "properties": { - "category_id": { - "$ref": "#/components/schemas/_types:ulong" - }, - "examples": { - "description": "A list of examples of actual values that matched the category.", - "type": "array", - "items": { - "type": "string" - } - }, - "grok_pattern": { - "description": "[experimental] A Grok pattern that could be used in Logstash or an ingest pipeline to extract fields from messages that match the category. This field is experimental and may be changed or removed in a future release. The Grok patterns that are found are not optimal, but are often a good starting point for manual tweaking.", - "type": "string" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "max_matching_length": { - "$ref": "#/components/schemas/_types:ulong" - }, - "partition_field_name": { - "description": "If per-partition categorization is enabled, this property identifies the field used to segment the categorization. It is not present when per-partition categorization is disabled.", - "type": "string" - }, - "partition_field_value": { - "description": "If per-partition categorization is enabled, this property identifies the value of the partition_field_name for the category. It is not present when per-partition categorization is disabled.", - "type": "string" - }, - "regex": { - "description": "A regular expression that is used to search for values that match the category.", - "type": "string" - }, - "terms": { - "description": "A space separated list of the common tokens that are matched in values of the category.", - "type": "string" - }, - "num_matches": { - "description": "The number of messages that have been matched by this category. This is only guaranteed to have the latest accurate count after a job _flush or _close", - "type": "number" - }, - "preferred_to_categories": { - "description": "A list of category_id entries that this current category encompasses. Any new message that is processed by the categorizer will match against this category and not any of the categories in this list. This is only guaranteed to have the latest accurate list of categories after a job _flush or _close", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Id" - } - }, - "p": { - "type": "string" - }, - "result_type": { - "type": "string" - }, - "mlcategory": { - "type": "string" - } - }, - "required": [ - "category_id", - "examples", - "job_id", - "max_matching_length", - "regex", - "terms", - "result_type", - "mlcategory" - ] - }, - "ml._types:DataframeAnalyticsSummary": { - "type": "object", - "properties": { - "allow_lazy_start": { - "type": "boolean" - }, - "analysis": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" - }, - "analyzed_fields": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" - }, - "authorization": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsAuthorization" - }, - "create_time": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "description": { - "type": "string" - }, - "dest": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsDestination" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "max_num_threads": { - "type": "number" - }, - "model_memory_limit": { - "type": "string" - }, - "source": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - } - }, - "required": [ - "analysis", - "dest", - "id", - "source" - ] - }, - "ml._types:DataframeAnalyticsAuthorization": { - "type": "object", - "properties": { - "api_key": { - "$ref": "#/components/schemas/ml._types:ApiKeyAuthorization" - }, - "roles": { - "description": "If a user ID was used for the most recent update to the job, its roles at the time of the update are listed in the response.", - "type": "array", - "items": { - "type": "string" - } - }, - "service_account": { - "description": "If a service account was used for the most recent update to the job, the account name is listed in the response.", - "type": "string" - } - } - }, - "ml._types:ApiKeyAuthorization": { - "type": "object", - "properties": { - "id": { - "description": "The identifier for the API key.", - "type": "string" - }, - "name": { - "description": "The name of the API key.", - "type": "string" - } - }, - "required": [ - "id", - "name" - ] - }, - "ml._types:DataframeAnalytics": { - "type": "object", - "properties": { - "analysis_stats": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsContainer" - }, - "assignment_explanation": { - "description": "For running jobs only, contains messages relating to the selection of a node to run the job.", - "type": "string" - }, - "data_counts": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsDataCounts" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "memory_usage": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsMemoryUsage" - }, - "node": { - "$ref": "#/components/schemas/_types:NodeAttributes" - }, - "progress": { - "description": "The progress report of the data frame analytics job by phase.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsProgress" - } - }, - "state": { - "$ref": "#/components/schemas/ml._types:DataframeState" - } - }, - "required": [ - "data_counts", - "id", - "memory_usage", - "progress", - "state" - ] - }, - "ml._types:DataframeAnalyticsStatsContainer": { - "type": "object", - "properties": { - "classification_stats": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsHyperparameters" - }, - "outlier_detection_stats": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsOutlierDetection" - }, - "regression_stats": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsStatsHyperparameters" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "ml._types:DataframeAnalyticsStatsHyperparameters": { - "type": "object", - "properties": { - "hyperparameters": { - "$ref": "#/components/schemas/ml._types:Hyperparameters" - }, - "iteration": { - "description": "The number of iterations on the analysis.", - "type": "number" - }, - "timestamp": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "timing_stats": { - "$ref": "#/components/schemas/ml._types:TimingStats" - }, - "validation_loss": { - "$ref": "#/components/schemas/ml._types:ValidationLoss" - } - }, - "required": [ - "hyperparameters", - "iteration", - "timestamp", - "timing_stats", - "validation_loss" - ] - }, - "ml._types:Hyperparameters": { - "type": "object", - "properties": { - "alpha": { - "description": "Advanced configuration option.\nMachine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly.\nThis parameter affects loss calculations by acting as a multiplier of the tree depth.\nHigher alpha values result in shallower trees and faster training times.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than or equal to zero.", - "type": "number" - }, - "lambda": { - "description": "Advanced configuration option.\nRegularization parameter to prevent overfitting on the training data set.\nMultiplies an L2 regularization term which applies to leaf weights of the individual trees in the forest.\nA high lambda value causes training to favor small leaf weights.\nThis behavior makes the prediction function smoother at the expense of potentially not being able to capture relevant relationships between the features and the dependent variable.\nA small lambda value results in large individual trees and slower training.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be a nonnegative value.", - "type": "number" - }, - "gamma": { - "description": "Advanced configuration option.\nRegularization parameter to prevent overfitting on the training data set.\nMultiplies a linear penalty associated with the size of individual trees in the forest.\nA high gamma value causes training to prefer small trees.\nA small gamma value results in larger individual trees and slower training.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be a nonnegative value.", - "type": "number" - }, - "eta": { - "description": "Advanced configuration option.\nThe shrinkage applied to the weights.\nSmaller values result in larger forests which have a better generalization error.\nHowever, larger forests cause slower training.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be a value between `0.001` and `1`.", - "type": "number" - }, - "eta_growth_rate_per_tree": { - "description": "Advanced configuration option.\nSpecifies the rate at which `eta` increases for each new tree that is added to the forest.\nFor example, a rate of 1.05 increases `eta` by 5% for each extra tree.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be between `0.5` and `2`.", - "type": "number" - }, - "feature_bag_fraction": { - "description": "Advanced configuration option.\nDefines the fraction of features that will be used when selecting a random bag for each candidate split.\nBy default, this value is calculated during hyperparameter optimization.", - "type": "number" - }, - "downsample_factor": { - "description": "Advanced configuration option.\nControls the fraction of data that is used to compute the derivatives of the loss function for tree training.\nA small value results in the use of a small fraction of the data.\nIf this value is set to be less than 1, accuracy typically improves.\nHowever, too small a value may result in poor convergence for the ensemble and so require more trees.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than zero and less than or equal to 1.", - "type": "number" - }, - "max_attempts_to_add_tree": { - "description": "If the algorithm fails to determine a non-trivial tree (more than a single leaf), this parameter determines how many of such consecutive failures are tolerated.\nOnce the number of attempts exceeds the threshold, the forest training stops.", - "type": "number" - }, - "max_optimization_rounds_per_hyperparameter": { - "description": "Advanced configuration option.\nA multiplier responsible for determining the maximum number of hyperparameter optimization steps in the Bayesian optimization procedure.\nThe maximum number of steps is determined based on the number of undefined hyperparameters times the maximum optimization rounds per hyperparameter.\nBy default, this value is calculated during hyperparameter optimization.", - "type": "number" - }, - "max_trees": { - "description": "Advanced configuration option.\nDefines the maximum number of decision trees in the forest.\nThe maximum value is 2000.\nBy default, this value is calculated during hyperparameter optimization.", - "type": "number" - }, - "num_folds": { - "description": "The maximum number of folds for the cross-validation procedure.", - "type": "number" - }, - "num_splits_per_feature": { - "description": "Determines the maximum number of splits for every feature that can occur in a decision tree when the tree is trained.", - "type": "number" - }, - "soft_tree_depth_limit": { - "description": "Advanced configuration option.\nMachine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly.\nThis soft limit combines with the `soft_tree_depth_tolerance` to penalize trees that exceed the specified depth; the regularized loss increases quickly beyond this depth.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than or equal to 0.", - "type": "number" - }, - "soft_tree_depth_tolerance": { - "description": "Advanced configuration option.\nThis option controls how quickly the regularized loss increases when the tree depth exceeds `soft_tree_depth_limit`.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than or equal to 0.01.", - "type": "number" - } - } - }, - "ml._types:TimingStats": { - "type": "object", - "properties": { - "elapsed_time": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "iteration_time": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "elapsed_time" - ] - }, - "ml._types:ValidationLoss": { - "type": "object", - "properties": { - "fold_values": { - "description": "Validation loss values for every added decision tree during the forest growing procedure.", - "type": "array", - "items": { - "type": "string" - } - }, - "loss_type": { - "description": "The type of the loss metric. For example, binomial_logistic.", - "type": "string" - } - }, - "required": [ - "fold_values", - "loss_type" - ] - }, - "ml._types:DataframeAnalyticsStatsOutlierDetection": { - "type": "object", - "properties": { - "parameters": { - "$ref": "#/components/schemas/ml._types:OutlierDetectionParameters" - }, - "timestamp": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "timing_stats": { - "$ref": "#/components/schemas/ml._types:TimingStats" - } - }, - "required": [ - "parameters", - "timestamp", - "timing_stats" - ] - }, - "ml._types:OutlierDetectionParameters": { - "type": "object", - "properties": { - "compute_feature_influence": { - "description": "Specifies whether the feature influence calculation is enabled.", - "type": "boolean" - }, - "feature_influence_threshold": { - "description": "The minimum outlier score that a document needs to have in order to calculate its feature influence score.\nValue range: 0-1", - "type": "number" - }, - "method": { - "description": "The method that outlier detection uses.\nAvailable methods are `lof`, `ldof`, `distance_kth_nn`, `distance_knn`, and `ensemble`.\nThe default value is ensemble, which means that outlier detection uses an ensemble of different methods and normalises and combines their individual outlier scores to obtain the overall outlier score.", - "type": "string" - }, - "n_neighbors": { - "description": "Defines the value for how many nearest neighbors each method of outlier detection uses to calculate its outlier score.\nWhen the value is not set, different values are used for different ensemble members.\nThis default behavior helps improve the diversity in the ensemble; only override it if you are confident that the value you choose is appropriate for the data set.", - "type": "number" - }, - "outlier_fraction": { - "description": "The proportion of the data set that is assumed to be outlying prior to outlier detection.\nFor example, 0.05 means it is assumed that 5% of values are real outliers and 95% are inliers.", - "type": "number" - }, - "standardization_enabled": { - "description": "If `true`, the following operation is performed on the columns before computing outlier scores: (x_i - mean(x_i)) / sd(x_i).", - "type": "boolean" - } - } - }, - "ml._types:DataframeAnalyticsStatsDataCounts": { - "type": "object", - "properties": { - "skipped_docs_count": { - "description": "The number of documents that are skipped during the analysis because they contained values that are not supported by the analysis. For example, outlier detection does not support missing fields so it skips documents with missing fields. Likewise, all types of analysis skip documents that contain arrays with more than one element.", - "type": "number" - }, - "test_docs_count": { - "description": "The number of documents that are not used for training the model and can be used for testing.", - "type": "number" - }, - "training_docs_count": { - "description": "The number of documents that are used for training the model.", - "type": "number" - } - }, - "required": [ - "skipped_docs_count", - "test_docs_count", - "training_docs_count" - ] - }, - "ml._types:DataframeAnalyticsStatsMemoryUsage": { - "type": "object", - "properties": { - "memory_reestimate_bytes": { - "description": "This value is present when the status is hard_limit and it is a new estimate of how much memory the job needs.", - "type": "number" - }, - "peak_usage_bytes": { - "description": "The number of bytes used at the highest peak of memory usage.", - "type": "number" - }, - "status": { - "description": "The memory usage status.", - "type": "string" - }, - "timestamp": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - } - }, - "required": [ - "peak_usage_bytes", - "status" - ] - }, - "_types:NodeAttributes": { - "type": "object", - "properties": { - "attributes": { - "description": "Lists node attributes.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "ephemeral_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "id": { - "$ref": "#/components/schemas/_types:NodeId" - }, - "name": { - "$ref": "#/components/schemas/_types:NodeName" - }, - "transport_address": { - "$ref": "#/components/schemas/_types:TransportAddress" - }, - "roles": { - "$ref": "#/components/schemas/_types:NodeRoles" - }, - "external_id": { - "type": "string" - } - }, - "required": [ - "attributes", - "ephemeral_id", - "name", - "transport_address" - ] - }, - "_types:NodeRoles": { - "description": "* @doc_id node-roles", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:NodeRole" - } - }, - "_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" - ] - }, - "ml._types:DataframeAnalyticsStatsProgress": { - "type": "object", - "properties": { - "phase": { - "description": "Defines the phase of the data frame analytics job.", - "type": "string" - }, - "progress_percent": { - "description": "The progress that the data frame analytics job has made expressed in percentage.", - "type": "number" - } - }, - "required": [ - "phase", - "progress_percent" - ] - }, - "ml._types:DataframeState": { - "type": "string", - "enum": [ - "started", - "stopped", - "starting", - "stopping", - "failed" - ] - }, - "ml._types:DatafeedStats": { - "type": "object", - "properties": { - "assignment_explanation": { - "description": "For started datafeeds only, contains messages relating to the selection of a node.", - "type": "string" - }, - "datafeed_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "node": { - "$ref": "#/components/schemas/ml._types:DiscoveryNode" - }, - "state": { - "$ref": "#/components/schemas/ml._types:DatafeedState" - }, - "timing_stats": { - "$ref": "#/components/schemas/ml._types:DatafeedTimingStats" - }, - "running_state": { - "$ref": "#/components/schemas/ml._types:DatafeedRunningState" - } - }, - "required": [ - "datafeed_id", - "state", - "timing_stats" - ] - }, - "ml._types:DiscoveryNode": { - "type": "object", - "properties": { - "attributes": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "ephemeral_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "transport_address": { - "$ref": "#/components/schemas/_types:TransportAddress" - } - }, - "required": [ - "attributes", - "ephemeral_id", - "id", - "name", - "transport_address" - ] - }, - "ml._types:DatafeedTimingStats": { - "type": "object", - "properties": { - "bucket_count": { - "description": "The number of buckets processed.", - "type": "number" - }, - "exponential_average_search_time_per_hour_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "search_count": { - "description": "The number of searches run by the datafeed.", - "type": "number" - }, - "total_search_time_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" - }, - "average_search_time_per_bucket_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" - } - }, - "required": [ - "bucket_count", - "exponential_average_search_time_per_hour_ms", - "job_id", - "search_count", - "total_search_time_ms" - ] - }, - "_types:DurationValueUnitFloatMillis": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:UnitFloatMillis" - } - ] - }, - "_types:UnitFloatMillis": { - "description": "Time unit for fractional milliseconds", - "type": "number" - }, - "ml._types:DatafeedRunningState": { - "type": "object", - "properties": { - "real_time_configured": { - "description": "Indicates if the datafeed is \"real-time\"; meaning that the datafeed has no configured `end` time.", - "type": "boolean" - }, - "real_time_running": { - "description": "Indicates whether the datafeed has finished running on the available past data.\nFor datafeeds without a configured `end` time, this means that the datafeed is now running on \"real-time\" data.", - "type": "boolean" - }, - "search_interval": { - "$ref": "#/components/schemas/ml._types:RunningStateSearchInterval" - } - }, - "required": [ - "real_time_configured", - "real_time_running" - ] - }, - "ml._types:RunningStateSearchInterval": { - "type": "object", - "properties": { - "end": { - "$ref": "#/components/schemas/_types:Duration" - }, - "end_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "start": { - "$ref": "#/components/schemas/_types:Duration" - }, - "start_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "end_ms", - "start_ms" - ] - }, - "ml._types:Datafeed": { - "type": "object", - "properties": { - "aggregations": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "authorization": { - "$ref": "#/components/schemas/ml._types:DatafeedAuthorization" - }, - "chunking_config": { - "$ref": "#/components/schemas/ml._types:ChunkingConfig" - }, - "datafeed_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "frequency": { - "$ref": "#/components/schemas/_types:Duration" - }, - "indices": { - "type": "array", - "items": { - "type": "string" - } - }, - "indexes": { - "type": "array", - "items": { - "type": "string" - } - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "max_empty_searches": { - "type": "number" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "query_delay": { - "$ref": "#/components/schemas/_types:Duration" - }, - "script_fields": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ScriptField" - } - }, - "scroll_size": { - "type": "number" - }, - "delayed_data_check_config": { - "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - }, - "indices_options": { - "$ref": "#/components/schemas/_types:IndicesOptions" - } - }, - "required": [ - "datafeed_id", - "indices", - "job_id", - "query", - "delayed_data_check_config" - ] - }, - "ml._types:DatafeedAuthorization": { - "type": "object", - "properties": { - "api_key": { - "$ref": "#/components/schemas/ml._types:ApiKeyAuthorization" - }, - "roles": { - "description": "If a user ID was used for the most recent update to the datafeed, its roles at the time of the update are listed in the response.", - "type": "array", - "items": { - "type": "string" - } - }, - "service_account": { - "description": "If a service account was used for the most recent update to the datafeed, the account name is listed in the response.", - "type": "string" - } - } - }, - "ml._types:ChunkingConfig": { - "type": "object", - "properties": { - "mode": { - "$ref": "#/components/schemas/ml._types:ChunkingMode" - }, - "time_span": { - "$ref": "#/components/schemas/_types:Duration" - } - }, - "required": [ - "mode" - ] - }, - "ml._types:ChunkingMode": { - "type": "string", - "enum": [ - "auto", - "manual", - "off" - ] - }, - "ml._types:DelayedDataCheckConfig": { - "type": "object", - "properties": { - "check_window": { - "$ref": "#/components/schemas/_types:Duration" - }, - "enabled": { - "description": "Specifies whether the datafeed periodically checks for delayed data.", - "type": "boolean" - } - }, - "required": [ - "enabled" - ] - }, - "_types:IndicesOptions": { - "type": "object", - "properties": { - "allow_no_indices": { - "description": "If false, the request returns an error if any wildcard expression, index alias, or `_all` value targets only\nmissing or closed indices. This behavior applies even if the request targets other open indices. For example,\na request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", - "type": "boolean" - }, - "expand_wildcards": { - "$ref": "#/components/schemas/_types:ExpandWildcards" - }, - "ignore_unavailable": { - "description": "If true, missing or closed indices are not included in the response.", - "type": "boolean" - }, - "ignore_throttled": { - "description": "If true, concrete, expanded or aliased indices are ignored when frozen.", - "type": "boolean" - } - } - }, - "ml._types:Filter": { - "type": "object", - "properties": { - "description": { - "description": "A description of the filter.", - "type": "string" - }, - "filter_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "items": { - "description": "An array of strings which is the filter item list.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "filter_id", - "items" - ] - }, - "ml._types:Influencer": { - "type": "object", - "properties": { - "bucket_span": { - "$ref": "#/components/schemas/_types:DurationValueUnitSeconds" - }, - "influencer_score": { - "description": "A normalized score between 0-100, which is based on the probability of the influencer in this bucket aggregated\nacross detectors. Unlike `initial_influencer_score`, this value is updated by a re-normalization process as new\ndata is analyzed.", - "type": "number" - }, - "influencer_field_name": { - "$ref": "#/components/schemas/_types:Field" - }, - "influencer_field_value": { - "description": "The entity that influenced, contributed to, or was to blame for the anomaly.", - "type": "string" - }, - "initial_influencer_score": { - "description": "A normalized score between 0-100, which is based on the probability of the influencer aggregated across detectors.\nThis is the initial value that was calculated at the time the bucket was processed.", - "type": "number" - }, - "is_interim": { - "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", - "type": "boolean" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "probability": { - "description": "The probability that the influencer has this behavior, in the range 0 to 1. This value can be held to a high\nprecision of over 300 decimal places, so the `influencer_score` is provided as a human-readable and friendly\ninterpretation of this value.", - "type": "number" - }, - "result_type": { - "description": "Internal. This value is always set to `influencer`.", - "type": "string" - }, - "timestamp": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "foo": { - "description": "Additional influencer properties are added, depending on the fields being analyzed. For example, if it’s\nanalyzing `user_name` as an influencer, a field `user_name` is added to the result document. This\ninformation enables you to filter the anomaly results more easily.", - "type": "string" - } - }, - "required": [ - "bucket_span", - "influencer_score", - "influencer_field_name", - "influencer_field_value", - "initial_influencer_score", - "is_interim", - "job_id", - "probability", - "result_type", - "timestamp" - ] - }, - "ml._types:JobStats": { - "type": "object", - "properties": { - "assignment_explanation": { - "description": "For open anomaly detection jobs only, contains messages relating to the selection of a node to run the job.", - "type": "string" - }, - "data_counts": { - "$ref": "#/components/schemas/ml._types:DataCounts" - }, - "forecasts_stats": { - "$ref": "#/components/schemas/ml._types:JobForecastStatistics" - }, - "job_id": { - "description": "Identifier for the anomaly detection job.", - "type": "string" - }, - "model_size_stats": { - "$ref": "#/components/schemas/ml._types:ModelSizeStats" - }, - "node": { - "$ref": "#/components/schemas/ml._types:DiscoveryNode" - }, - "open_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "state": { - "$ref": "#/components/schemas/ml._types:JobState" - }, - "timing_stats": { - "$ref": "#/components/schemas/ml._types:JobTimingStats" - }, - "deleting": { - "description": "Indicates that the process of deleting the job is in progress but not yet completed. It is only reported when `true`.", - "type": "boolean" - } - }, - "required": [ - "data_counts", - "forecasts_stats", - "job_id", - "model_size_stats", - "state", - "timing_stats" - ] - }, - "ml._types:DataCounts": { - "type": "object", - "properties": { - "bucket_count": { - "type": "number" - }, - "earliest_record_timestamp": { - "type": "number" - }, - "empty_bucket_count": { - "type": "number" - }, - "input_bytes": { - "type": "number" - }, - "input_field_count": { - "type": "number" - }, - "input_record_count": { - "type": "number" - }, - "invalid_date_count": { - "type": "number" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "last_data_time": { - "type": "number" - }, - "latest_empty_bucket_timestamp": { - "type": "number" - }, - "latest_record_timestamp": { - "type": "number" - }, - "latest_sparse_bucket_timestamp": { - "type": "number" - }, - "latest_bucket_timestamp": { - "type": "number" - }, - "log_time": { - "type": "number" - }, - "missing_field_count": { - "type": "number" - }, - "out_of_order_timestamp_count": { - "type": "number" - }, - "processed_field_count": { - "type": "number" - }, - "processed_record_count": { - "type": "number" - }, - "sparse_bucket_count": { - "type": "number" - } - }, - "required": [ - "bucket_count", - "empty_bucket_count", - "input_bytes", - "input_field_count", - "input_record_count", - "invalid_date_count", - "job_id", - "missing_field_count", - "out_of_order_timestamp_count", - "processed_field_count", - "processed_record_count", - "sparse_bucket_count" - ] - }, - "ml._types:JobForecastStatistics": { - "type": "object", - "properties": { - "memory_bytes": { - "$ref": "#/components/schemas/ml._types:JobStatistics" - }, - "processing_time_ms": { - "$ref": "#/components/schemas/ml._types:JobStatistics" - }, - "records": { - "$ref": "#/components/schemas/ml._types:JobStatistics" - }, - "status": { - "type": "object", - "additionalProperties": { - "type": "number" - } - }, - "total": { - "type": "number" - }, - "forecasted_jobs": { - "type": "number" - } - }, - "required": [ - "total", - "forecasted_jobs" - ] - }, - "ml._types:JobStatistics": { - "type": "object", - "properties": { - "avg": { - "type": "number" - }, - "max": { - "type": "number" - }, - "min": { - "type": "number" - }, - "total": { - "type": "number" - } - }, - "required": [ - "avg", - "max", - "min", - "total" - ] - }, - "ml._types:ModelSizeStats": { - "type": "object", - "properties": { - "bucket_allocation_failures_count": { - "type": "number" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "log_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "memory_status": { - "$ref": "#/components/schemas/ml._types:MemoryStatus" - }, - "model_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "model_bytes_exceeded": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "model_bytes_memory_limit": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "peak_model_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "assignment_memory_basis": { - "type": "string" - }, - "result_type": { - "type": "string" - }, - "total_by_field_count": { - "type": "number" - }, - "total_over_field_count": { - "type": "number" - }, - "total_partition_field_count": { - "type": "number" - }, - "categorization_status": { - "$ref": "#/components/schemas/ml._types:CategorizationStatus" - }, - "categorized_doc_count": { - "type": "number" - }, - "dead_category_count": { - "type": "number" - }, - "failed_category_count": { - "type": "number" - }, - "frequent_category_count": { - "type": "number" - }, - "rare_category_count": { - "type": "number" - }, - "total_category_count": { - "type": "number" - }, - "timestamp": { - "type": "number" - } - }, - "required": [ - "bucket_allocation_failures_count", - "job_id", - "log_time", - "memory_status", - "model_bytes", - "result_type", - "total_by_field_count", - "total_over_field_count", - "total_partition_field_count", - "categorization_status", - "categorized_doc_count", - "dead_category_count", - "failed_category_count", - "frequent_category_count", - "rare_category_count", - "total_category_count" - ] - }, - "ml._types:JobTimingStats": { - "type": "object", - "properties": { - "average_bucket_processing_time_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" - }, - "bucket_count": { - "type": "number" - }, - "exponential_average_bucket_processing_time_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" - }, - "exponential_average_bucket_processing_time_per_hour_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "total_bucket_processing_time_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" - }, - "maximum_bucket_processing_time_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" - }, - "minimum_bucket_processing_time_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" - } - }, - "required": [ - "bucket_count", - "exponential_average_bucket_processing_time_per_hour_ms", - "job_id", - "total_bucket_processing_time_ms" - ] - }, - "ml._types:Job": { - "type": "object", - "properties": { - "allow_lazy_open": { - "description": "Advanced configuration option.\nSpecifies whether this job can open when there is insufficient machine learning node capacity for it to be immediately assigned to a node.", - "type": "boolean" - }, - "analysis_config": { - "$ref": "#/components/schemas/ml._types:AnalysisConfig" - }, - "analysis_limits": { - "$ref": "#/components/schemas/ml._types:AnalysisLimits" - }, - "background_persist_interval": { - "$ref": "#/components/schemas/_types:Duration" - }, - "blocked": { - "$ref": "#/components/schemas/ml._types:JobBlocked" - }, - "create_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "custom_settings": { - "$ref": "#/components/schemas/ml._types:CustomSettings" - }, - "daily_model_snapshot_retention_after_days": { - "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies a period of time (in days) after which only the first snapshot per day is retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.\nValid values range from 0 to `model_snapshot_retention_days`.", - "type": "number" - }, - "data_description": { - "$ref": "#/components/schemas/ml._types:DataDescription" - }, - "datafeed_config": { - "$ref": "#/components/schemas/ml._types:Datafeed" - }, - "deleting": { - "description": "Indicates that the process of deleting the job is in progress but not yet completed.\nIt is only reported when `true`.", - "type": "boolean" - }, - "description": { - "description": "A description of the job.", - "type": "string" - }, - "finished_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "groups": { - "description": "A list of job groups.\nA job can belong to no groups or many.", - "type": "array", - "items": { - "type": "string" - } - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "job_type": { - "description": "Reserved for future use, currently set to `anomaly_detector`.", - "type": "string" - }, - "job_version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "model_plot_config": { - "$ref": "#/components/schemas/ml._types:ModelPlotConfig" - }, - "model_snapshot_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "model_snapshot_retention_days": { - "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies the maximum period of time (in days) that snapshots are retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.\nBy default, snapshots ten days older than the newest snapshot are deleted.", - "type": "number" - }, - "renormalization_window_days": { - "description": "Advanced configuration option.\nThe period over which adjustments to the score are applied, as new data is seen.\nThe default value is the longer of 30 days or 100 `bucket_spans`.", - "type": "number" - }, - "results_index_name": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "results_retention_days": { - "description": "Advanced configuration option.\nThe period of time (in days) that results are retained.\nAge is calculated relative to the timestamp of the latest bucket result.\nIf this property has a non-null value, once per day at 00:30 (server time), results that are the specified number of days older than the latest bucket result are deleted from Elasticsearch.\nThe default value is null, which means all results are retained.\nAnnotations generated by the system also count as results for retention purposes; they are deleted after the same number of days as results.\nAnnotations added by users are retained forever.", - "type": "number" - } - }, - "required": [ - "allow_lazy_open", - "analysis_config", - "data_description", - "job_id", - "model_snapshot_retention_days", - "results_index_name" - ] - }, - "ml._types:AnalysisLimits": { - "type": "object", - "properties": { - "categorization_examples_limit": { - "description": "The maximum number of examples stored per category in memory and in the results data store. If you increase this value, more examples are available, however it requires that you have more storage available. If you set this value to 0, no examples are stored. NOTE: The `categorization_examples_limit` applies only to analysis that uses categorization.", - "type": "number" - }, - "model_memory_limit": { - "description": "The approximate maximum amount of memory resources that are required for analytical processing. Once this limit is approached, data pruning becomes more aggressive. Upon exceeding this limit, new entities are not modeled. If the `xpack.ml.max_model_memory_limit` setting has a value greater than 0 and less than 1024mb, that value is used instead of the default. The default value is relatively small to ensure that high resource usage is a conscious decision. If you have jobs that are expected to analyze high cardinality fields, you will likely need to use a higher value. If you specify a number instead of a string, the units are assumed to be MiB. Specifying a string is recommended for clarity. If you specify a byte size unit of `b` or `kb` and the number does not equate to a discrete number of megabytes, it is rounded down to the closest MiB. The minimum valid value is 1 MiB. If you specify a value less than 1 MiB, an error occurs. If you specify a value for the `xpack.ml.max_model_memory_limit` setting, an error occurs when you try to create jobs that have `model_memory_limit` values greater than that setting value.", - "type": "string" - } - } - }, - "ml._types:JobBlocked": { - "type": "object", - "properties": { - "reason": { - "$ref": "#/components/schemas/ml._types:JobBlockedReason" - }, - "task_id": { - "$ref": "#/components/schemas/_types:TaskId" - } - }, - "required": [ - "reason" - ] - }, - "ml._types:JobBlockedReason": { - "type": "string", - "enum": [ - "delete", - "reset", - "revert" - ] - }, - "ml._types:CustomSettings": { - "description": "Custom metadata about the job", - "type": "object" - }, - "ml._types:DataDescription": { - "type": "object", - "properties": { - "format": { - "description": "Only JSON format is supported at this time.", - "type": "string" - }, - "time_field": { - "$ref": "#/components/schemas/_types:Field" - }, - "time_format": { - "description": "The time format, which can be `epoch`, `epoch_ms`, or a custom pattern. The value `epoch` refers to UNIX or Epoch time (the number of seconds since 1 Jan 1970). The value `epoch_ms` indicates that time is measured in milliseconds since the epoch. The `epoch` and `epoch_ms` time formats accept either integer or real values. Custom patterns must conform to the Java DateTimeFormatter class. When you use date-time formatting patterns, it is recommended that you provide the full date, time and time zone. For example: `yyyy-MM-dd'T'HH:mm:ssX`. If the pattern that you specify is not sufficient to produce a complete timestamp, job creation fails.", - "type": "string" - }, - "field_delimiter": { - "type": "string" - } - } - }, - "ml._types:ModelPlotConfig": { - "type": "object", - "properties": { - "annotations_enabled": { - "description": "If true, enables calculation and storage of the model change annotations for each entity that is being analyzed.", - "type": "boolean" - }, - "enabled": { - "description": "If true, enables calculation and storage of the model bounds for each entity that is being analyzed.", - "type": "boolean" - }, - "terms": { - "$ref": "#/components/schemas/_types:Field" - } - } - }, - "ml.get_memory_stats:Memory": { - "type": "object", - "properties": { - "attributes": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "jvm": { - "$ref": "#/components/schemas/ml.get_memory_stats:JvmStats" - }, - "mem": { - "$ref": "#/components/schemas/ml.get_memory_stats:MemStats" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "roles": { - "description": "Roles assigned to the node.", - "type": "array", - "items": { - "type": "string" - } - }, - "transport_address": { - "$ref": "#/components/schemas/_types:TransportAddress" - }, - "ephemeral_id": { - "$ref": "#/components/schemas/_types:Id" - } - }, - "required": [ - "attributes", - "jvm", - "mem", - "name", - "roles", - "transport_address", - "ephemeral_id" - ] - }, - "ml.get_memory_stats:JvmStats": { - "type": "object", - "properties": { - "heap_max": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "heap_max_in_bytes": { - "description": "Maximum amount of memory, in bytes, available for use by the heap.", - "type": "number" - }, - "java_inference": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "java_inference_in_bytes": { - "description": "Amount of Java heap, in bytes, currently being used for caching inference models.", - "type": "number" - }, - "java_inference_max": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "java_inference_max_in_bytes": { - "description": "Maximum amount of Java heap, in bytes, to be used for caching inference models.", - "type": "number" - } - }, - "required": [ - "heap_max_in_bytes", - "java_inference_in_bytes", - "java_inference_max_in_bytes" - ] - }, - "ml.get_memory_stats:MemStats": { - "type": "object", - "properties": { - "adjusted_total": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "adjusted_total_in_bytes": { - "description": "If the amount of physical memory has been overridden using the `es.total_memory_bytes` system property\nthen this reports the overridden value in bytes. Otherwise it reports the same value as `total_in_bytes`.", - "type": "number" - }, - "total": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "total_in_bytes": { - "description": "Total amount of physical memory in bytes.", - "type": "number" - }, - "ml": { - "$ref": "#/components/schemas/ml.get_memory_stats:MemMlStats" - } - }, - "required": [ - "adjusted_total_in_bytes", - "total_in_bytes", - "ml" - ] - }, - "ml.get_memory_stats:MemMlStats": { - "type": "object", - "properties": { - "anomaly_detectors": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "anomaly_detectors_in_bytes": { - "description": "Amount of native memory, in bytes, set aside for anomaly detection jobs.", - "type": "number" - }, - "data_frame_analytics": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "data_frame_analytics_in_bytes": { - "description": "Amount of native memory, in bytes, set aside for data frame analytics jobs.", - "type": "number" - }, - "max": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "max_in_bytes": { - "description": "Maximum amount of native memory (separate to the JVM heap), in bytes, that may be used by machine learning native processes.", - "type": "number" - }, - "native_code_overhead": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "native_code_overhead_in_bytes": { - "description": "Amount of native memory, in bytes, set aside for loading machine learning native code shared libraries.", - "type": "number" - }, - "native_inference": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "native_inference_in_bytes": { - "description": "Amount of native memory, in bytes, set aside for trained models that have a PyTorch model_type.", - "type": "number" - } - }, - "required": [ - "anomaly_detectors_in_bytes", - "data_frame_analytics_in_bytes", - "max_in_bytes", - "native_code_overhead_in_bytes", - "native_inference_in_bytes" - ] - }, - "ml._types:ModelSnapshotUpgrade": { - "type": "object", - "properties": { - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "snapshot_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "state": { - "$ref": "#/components/schemas/ml._types:SnapshotUpgradeState" - }, - "node": { - "$ref": "#/components/schemas/ml._types:DiscoveryNode" - }, - "assignment_explanation": { - "type": "string" - } - }, - "required": [ - "job_id", - "snapshot_id", - "state", - "node", - "assignment_explanation" - ] - }, - "ml._types:SnapshotUpgradeState": { - "type": "string", - "enum": [ - "loading_old_state", - "saving_new_state", - "stopped", - "failed" - ] - }, - "ml._types:ModelSnapshot": { - "type": "object", - "properties": { - "description": { - "description": "An optional description of the job.", - "type": "string" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "latest_record_time_stamp": { - "description": "The timestamp of the latest processed record.", - "type": "number" - }, - "latest_result_time_stamp": { - "description": "The timestamp of the latest bucket result.", - "type": "number" - }, - "min_version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "model_size_stats": { - "$ref": "#/components/schemas/ml._types:ModelSizeStats" - }, - "retain": { - "description": "If true, this snapshot will not be deleted during automatic cleanup of snapshots older than model_snapshot_retention_days. However, this snapshot will be deleted when the job is deleted. The default value is false.", - "type": "boolean" - }, - "snapshot_doc_count": { - "description": "For internal use only.", - "type": "number" - }, - "snapshot_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "timestamp": { - "description": "The creation timestamp for the snapshot.", - "type": "number" - } - }, - "required": [ - "job_id", - "min_version", - "retain", - "snapshot_doc_count", - "snapshot_id", - "timestamp" - ] - }, - "ml._types:OverallBucket": { - "type": "object", - "properties": { - "bucket_span": { - "$ref": "#/components/schemas/_types:DurationValueUnitSeconds" - }, - "is_interim": { - "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", - "type": "boolean" - }, - "jobs": { - "description": "An array of objects that contain the max_anomaly_score per job_id.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:OverallBucketJob" - } - }, - "overall_score": { - "description": "The top_n average of the maximum bucket anomaly_score per job.", - "type": "number" - }, - "result_type": { - "description": "Internal. This is always set to overall_bucket.", - "type": "string" - }, - "timestamp": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "timestamp_string": { - "$ref": "#/components/schemas/_types:DateTime" - } - }, - "required": [ - "bucket_span", - "is_interim", - "jobs", - "overall_score", - "result_type", - "timestamp", - "timestamp_string" - ] - }, - "ml._types:OverallBucketJob": { - "type": "object", - "properties": { - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "max_anomaly_score": { - "type": "number" - } - }, - "required": [ - "job_id", - "max_anomaly_score" - ] - }, - "ml._types:Anomaly": { - "type": "object", - "properties": { - "actual": { - "description": "The actual value for the bucket.", - "type": "array", - "items": { - "type": "number" - } - }, - "anomaly_score_explanation": { - "$ref": "#/components/schemas/ml._types:AnomalyExplanation" - }, - "bucket_span": { - "$ref": "#/components/schemas/_types:DurationValueUnitSeconds" - }, - "by_field_name": { - "description": "The field used to split the data. In particular, this property is used for analyzing the splits with respect to their own history. It is used for finding unusual values in the context of the split.", - "type": "string" - }, - "by_field_value": { - "description": "The value of `by_field_name`.", - "type": "string" - }, - "causes": { - "description": "For population analysis, an over field must be specified in the detector. This property contains an array of anomaly records that are the causes for the anomaly that has been identified for the over field. This sub-resource contains the most anomalous records for the `over_field_name`. For scalability reasons, a maximum of the 10 most significant causes of the anomaly are returned. As part of the core analytical modeling, these low-level anomaly records are aggregated for their parent over field record. The `causes` resource contains similar elements to the record resource, namely `actual`, `typical`, `geo_results.actual_point`, `geo_results.typical_point`, `*_field_name` and `*_field_value`. Probability and scores are not applicable to causes.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:AnomalyCause" - } - }, - "detector_index": { - "description": "A unique identifier for the detector.", - "type": "number" - }, - "field_name": { - "description": "Certain functions require a field to operate on, for example, `sum()`. For those functions, this value is the name of the field to be analyzed.", - "type": "string" - }, - "function": { - "description": "The function in which the anomaly occurs, as specified in the detector configuration. For example, `max`.", - "type": "string" - }, - "function_description": { - "description": "The description of the function in which the anomaly occurs, as specified in the detector configuration.", - "type": "string" - }, - "geo_results": { - "$ref": "#/components/schemas/ml._types:GeoResults" - }, - "influencers": { - "description": "If influencers were specified in the detector configuration, this array contains influencers that contributed to or were to blame for an anomaly.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:Influence" - } - }, - "initial_record_score": { - "description": "A normalized score between 0-100, which is based on the probability of the anomalousness of this record. This is the initial value that was calculated at the time the bucket was processed.", - "type": "number" - }, - "is_interim": { - "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", - "type": "boolean" - }, - "job_id": { - "description": "Identifier for the anomaly detection job.", - "type": "string" - }, - "over_field_name": { - "description": "The field used to split the data. In particular, this property is used for analyzing the splits with respect to the history of all splits. It is used for finding unusual values in the population of all splits.", - "type": "string" - }, - "over_field_value": { - "description": "The value of `over_field_name`.", - "type": "string" - }, - "partition_field_name": { - "description": "The field used to segment the analysis. When you use this property, you have completely independent baselines for each value of this field.", - "type": "string" - }, - "partition_field_value": { - "description": "The value of `partition_field_name`.", - "type": "string" - }, - "probability": { - "description": "The probability of the individual anomaly occurring, in the range 0 to 1. For example, `0.0000772031`. This value can be held to a high precision of over 300 decimal places, so the `record_score` is provided as a human-readable and friendly interpretation of this.", - "type": "number" - }, - "record_score": { - "description": "A normalized score between 0-100, which is based on the probability of the anomalousness of this record. Unlike `initial_record_score`, this value will be updated by a re-normalization process as new data is analyzed.", - "type": "number" - }, - "result_type": { - "description": "Internal. This is always set to `record`.", - "type": "string" - }, - "timestamp": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "typical": { - "description": "The typical value for the bucket, according to analytical modeling.", - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "bucket_span", - "detector_index", - "initial_record_score", - "is_interim", - "job_id", - "probability", - "record_score", - "result_type", - "timestamp" - ] - }, - "ml._types:AnomalyExplanation": { - "type": "object", - "properties": { - "anomaly_characteristics_impact": { - "description": "Impact from the duration and magnitude of the detected anomaly relative to the historical average.", - "type": "number" - }, - "anomaly_length": { - "description": "Length of the detected anomaly in the number of buckets.", - "type": "number" - }, - "anomaly_type": { - "description": "Type of the detected anomaly: `spike` or `dip`.", - "type": "string" - }, - "high_variance_penalty": { - "description": "Indicates reduction of anomaly score for the bucket with large confidence intervals. If a bucket has large confidence intervals, the score is reduced.", - "type": "boolean" - }, - "incomplete_bucket_penalty": { - "description": "If the bucket contains fewer samples than expected, the score is reduced.", - "type": "boolean" - }, - "lower_confidence_bound": { - "description": "Lower bound of the 95% confidence interval.", - "type": "number" - }, - "multi_bucket_impact": { - "description": "Impact of the deviation between actual and typical values in the past 12 buckets.", - "type": "number" - }, - "single_bucket_impact": { - "description": "Impact of the deviation between actual and typical values in the current bucket.", - "type": "number" - }, - "typical_value": { - "description": "Typical (expected) value for this bucket.", - "type": "number" - }, - "upper_confidence_bound": { - "description": "Upper bound of the 95% confidence interval.", - "type": "number" - } - } - }, - "ml._types:AnomalyCause": { - "type": "object", - "properties": { - "actual": { - "type": "array", - "items": { - "type": "number" - } - }, - "by_field_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "by_field_value": { - "type": "string" - }, - "correlated_by_field_value": { - "type": "string" - }, - "field_name": { - "$ref": "#/components/schemas/_types:Field" - }, - "function": { - "type": "string" - }, - "function_description": { - "type": "string" - }, - "influencers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:Influence" - } - }, - "over_field_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "over_field_value": { - "type": "string" - }, - "partition_field_name": { - "type": "string" - }, - "partition_field_value": { - "type": "string" - }, - "probability": { - "type": "number" - }, - "typical": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "actual", - "by_field_name", - "by_field_value", - "correlated_by_field_value", - "field_name", - "function", - "function_description", - "influencers", - "over_field_name", - "over_field_value", - "partition_field_name", - "partition_field_value", - "probability", - "typical" - ] - }, - "ml._types:Influence": { - "type": "object", - "properties": { - "influencer_field_name": { - "type": "string" - }, - "influencer_field_values": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "influencer_field_name", - "influencer_field_values" - ] - }, - "ml._types:GeoResults": { - "type": "object", - "properties": { - "actual_point": { - "description": "The actual value for the bucket formatted as a `geo_point`.", - "type": "string" - }, - "typical_point": { - "description": "The typical value for the bucket formatted as a `geo_point`.", - "type": "string" - } - }, - "required": [ - "actual_point", - "typical_point" - ] - }, - "ml._types:Include": { - "type": "string", - "enum": [ - "definition", - "feature_importance_baseline", - "hyperparameters", - "total_feature_importance", - "definition_status" - ] - }, - "ml._types:TrainedModelConfig": { - "type": "object", - "properties": { - "model_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "model_type": { - "$ref": "#/components/schemas/ml._types:TrainedModelType" - }, - "tags": { - "description": "A comma delimited string of tags. A trained model can have many tags, or none.", - "type": "array", - "items": { - "type": "string" - } - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "compressed_definition": { - "type": "string" - }, - "created_by": { - "description": "Information on the creator of the trained model.", - "type": "string" - }, - "create_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "default_field_map": { - "description": "Any field map described in the inference configuration takes precedence.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "description": { - "description": "The free-text description of the trained model.", - "type": "string" - }, - "estimated_heap_memory_usage_bytes": { - "description": "The estimated heap usage in bytes to keep the trained model in memory.", - "type": "number" - }, - "estimated_operations": { - "description": "The estimated number of operations to use the trained model.", - "type": "number" - }, - "fully_defined": { - "description": "True if the full model definition is present.", - "type": "boolean" - }, - "inference_config": { - "$ref": "#/components/schemas/ml._types:InferenceConfigCreateContainer" - }, - "input": { - "$ref": "#/components/schemas/ml._types:TrainedModelConfigInput" - }, - "license_level": { - "description": "The license level of the trained model.", - "type": "string" - }, - "metadata": { - "$ref": "#/components/schemas/ml._types:TrainedModelConfigMetadata" - }, - "model_size_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "location": { - "$ref": "#/components/schemas/ml._types:TrainedModelLocation" - } - }, - "required": [ - "model_id", - "tags", - "input" - ] - }, - "ml._types:TrainedModelType": { - "type": "string", - "enum": [ - "tree_ensemble", - "lang_ident", - "pytorch" - ] - }, - "ml._types:InferenceConfigCreateContainer": { - "description": "Inference configuration provided when storing the model config", - "type": "object", - "properties": { - "regression": { - "$ref": "#/components/schemas/ml._types:RegressionInferenceOptions" - }, - "classification": { - "$ref": "#/components/schemas/ml._types:ClassificationInferenceOptions" - }, - "text_classification": { - "$ref": "#/components/schemas/ml._types:TextClassificationInferenceOptions" - }, - "zero_shot_classification": { - "$ref": "#/components/schemas/ml._types:ZeroShotClassificationInferenceOptions" - }, - "fill_mask": { - "$ref": "#/components/schemas/ml._types:FillMaskInferenceOptions" - }, - "ner": { - "$ref": "#/components/schemas/ml._types:NerInferenceOptions" - }, - "pass_through": { - "$ref": "#/components/schemas/ml._types:PassThroughInferenceOptions" - }, - "text_embedding": { - "$ref": "#/components/schemas/ml._types:TextEmbeddingInferenceOptions" - }, - "text_expansion": { - "$ref": "#/components/schemas/ml._types:TextExpansionInferenceOptions" - }, - "question_answering": { - "$ref": "#/components/schemas/ml._types:QuestionAnsweringInferenceOptions" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "ml._types:TextClassificationInferenceOptions": { - "type": "object", - "properties": { - "num_top_classes": { - "description": "Specifies the number of top class predictions to return. Defaults to 0.", - "type": "number" - }, - "tokenization": { - "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" - }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" - }, - "classification_labels": { - "description": "Classification labels to apply other than the stored labels. Must have the same deminsions as the default configured labels", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "ml._types:TokenizationConfigContainer": { - "description": "Tokenization options stored in inference configuration", - "type": "object", - "properties": { - "bert": { - "$ref": "#/components/schemas/ml._types:NlpBertTokenizationConfig" - }, - "mpnet": { - "$ref": "#/components/schemas/ml._types:NlpBertTokenizationConfig" - }, - "roberta": { - "$ref": "#/components/schemas/ml._types:NlpRobertaTokenizationConfig" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "ml._types:NlpBertTokenizationConfig": { - "type": "object", - "properties": { - "do_lower_case": { - "description": "Should the tokenizer lower case the text", - "type": "boolean" - }, - "with_special_tokens": { - "description": "Is tokenization completed with special tokens", - "type": "boolean" - }, - "max_sequence_length": { - "description": "Maximum input sequence length for the model", - "type": "number" - }, - "truncate": { - "$ref": "#/components/schemas/ml._types:TokenizationTruncate" - }, - "span": { - "description": "Tokenization spanning options. Special value of -1 indicates no spanning takes place", - "type": "number" - } - } - }, - "ml._types:TokenizationTruncate": { - "type": "string", - "enum": [ - "first", - "second", - "none" - ] - }, - "ml._types:NlpRobertaTokenizationConfig": { - "type": "object", - "properties": { - "add_prefix_space": { - "description": "Should the tokenizer prefix input with a space character", - "type": "boolean" - }, - "with_special_tokens": { - "description": "Is tokenization completed with special tokens", - "type": "boolean" - }, - "max_sequence_length": { - "description": "Maximum input sequence length for the model", - "type": "number" - }, - "truncate": { - "$ref": "#/components/schemas/ml._types:TokenizationTruncate" - }, - "span": { - "description": "Tokenization spanning options. Special value of -1 indicates no spanning takes place", - "type": "number" - } - } - }, - "ml._types:ZeroShotClassificationInferenceOptions": { - "type": "object", - "properties": { - "tokenization": { - "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" - }, - "hypothesis_template": { - "description": "Hypothesis template used when tokenizing labels for prediction", - "type": "string" - }, - "classification_labels": { - "description": "The zero shot classification labels indicating entailment, neutral, and contradiction\nMust contain exactly and only entailment, neutral, and contradiction", - "type": "array", - "items": { - "type": "string" - } - }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" - }, - "multi_label": { - "description": "Indicates if more than one true label exists.", - "type": "boolean" - }, - "labels": { - "description": "The labels to predict.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "classification_labels" - ] - }, - "ml._types:FillMaskInferenceOptions": { - "type": "object", - "properties": { - "mask_token": { - "description": "The string/token which will be removed from incoming documents and replaced with the inference prediction(s).\nIn a response, this field contains the mask token for the specified model/tokenizer. Each model and tokenizer\nhas a predefined mask token which cannot be changed. Thus, it is recommended not to set this value in requests.\nHowever, if this field is present in a request, its value must match the predefined value for that model/tokenizer,\notherwise the request will fail.", - "type": "string" - }, - "num_top_classes": { - "description": "Specifies the number of top class predictions to return. Defaults to 0.", - "type": "number" - }, - "tokenization": { - "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" - }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" - } - } - }, - "ml._types:NerInferenceOptions": { - "type": "object", - "properties": { - "tokenization": { - "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" - }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" - }, - "classification_labels": { - "description": "The token classification labels. Must be IOB formatted tags", - "type": "array", - "items": { - "type": "string" - } - }, - "vocabulary": { - "$ref": "#/components/schemas/ml._types:Vocabulary" - } - } - }, - "ml._types:Vocabulary": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - } - }, - "required": [ - "index" - ] - }, - "ml._types:PassThroughInferenceOptions": { - "type": "object", - "properties": { - "tokenization": { - "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" - }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" - }, - "vocabulary": { - "$ref": "#/components/schemas/ml._types:Vocabulary" - } - } - }, - "ml._types:TextEmbeddingInferenceOptions": { - "type": "object", - "properties": { - "embedding_size": { - "description": "The number of dimensions in the embedding output", - "type": "number" - }, - "tokenization": { - "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" - }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" - } - } - }, - "ml._types:TextExpansionInferenceOptions": { - "type": "object", - "properties": { - "tokenization": { - "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" - }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" - } - } - }, - "ml._types:QuestionAnsweringInferenceOptions": { - "type": "object", - "properties": { - "num_top_classes": { - "description": "Specifies the number of top class predictions to return. Defaults to 0.", - "type": "number" - }, - "tokenization": { - "$ref": "#/components/schemas/ml._types:TokenizationConfigContainer" - }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" - }, - "max_answer_length": { - "description": "The maximum answer length to consider", - "type": "number" - } - } - }, - "ml._types:TrainedModelConfigInput": { - "type": "object", - "properties": { - "field_names": { - "description": "An array of input field names for the model.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Field" - } - } - }, - "required": [ - "field_names" - ] - }, - "ml._types:TrainedModelConfigMetadata": { - "type": "object", - "properties": { - "model_aliases": { - "type": "array", - "items": { - "type": "string" - } - }, - "feature_importance_baseline": { - "description": "An object that contains the baseline for feature importance values. For regression analysis, it is a single value. For classification analysis, there is a value for each class.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "hyperparameters": { - "description": "List of the available hyperparameters optimized during the fine_parameter_tuning phase as well as specified by the user.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:Hyperparameter" - } - }, - "total_feature_importance": { - "description": "An array of the total feature importance for each feature used from the training data set. This array of objects is returned if data frame analytics trained the model and the request includes total_feature_importance in the include request parameter.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:TotalFeatureImportance" - } - } - } - }, - "ml._types:Hyperparameter": { - "type": "object", - "properties": { - "absolute_importance": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/machine-learning/current/dfa-regression-lossfunction.html" - }, - "description": "A positive number showing how much the parameter influences the variation of the loss function. For hyperparameters with values that are not specified by the user but tuned during hyperparameter optimization.", - "type": "number" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "relative_importance": { - "description": "A number between 0 and 1 showing the proportion of influence on the variation of the loss function among all tuned hyperparameters. For hyperparameters with values that are not specified by the user but tuned during hyperparameter optimization.", - "type": "number" - }, - "supplied": { - "description": "Indicates if the hyperparameter is specified by the user (true) or optimized (false).", - "type": "boolean" - }, - "value": { - "description": "The value of the hyperparameter, either optimized or specified by the user.", - "type": "number" - } - }, - "required": [ - "name", - "supplied", - "value" - ] - }, - "ml._types:TotalFeatureImportance": { - "type": "object", - "properties": { - "feature_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "importance": { - "description": "A collection of feature importance statistics related to the training data set for this particular feature.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:TotalFeatureImportanceStatistics" - } - }, - "classes": { - "description": "If the trained model is a classification model, feature importance statistics are gathered per target class value.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:TotalFeatureImportanceClass" - } - } - }, - "required": [ - "feature_name", - "importance", - "classes" - ] - }, - "ml._types:TotalFeatureImportanceStatistics": { - "type": "object", - "properties": { - "mean_magnitude": { - "description": "The average magnitude of this feature across all the training data. This value is the average of the absolute values of the importance for this feature.", - "type": "number" - }, - "max": { - "description": "The maximum importance value across all the training data for this feature.", - "type": "number" - }, - "min": { - "description": "The minimum importance value across all the training data for this feature.", - "type": "number" - } - }, - "required": [ - "mean_magnitude", - "max", - "min" - ] - }, - "ml._types:TotalFeatureImportanceClass": { - "type": "object", - "properties": { - "class_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "importance": { - "description": "A collection of feature importance statistics related to the training data set for this particular feature.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:TotalFeatureImportanceStatistics" - } - } - }, - "required": [ - "class_name", - "importance" - ] - }, - "ml._types:TrainedModelLocation": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/ml._types:TrainedModelLocationIndex" - } - }, - "required": [ - "index" - ] - }, - "ml._types:TrainedModelLocationIndex": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:IndexName" - } - }, - "required": [ - "name" - ] - }, - "ml._types:TrainedModelStats": { - "type": "object", - "properties": { - "deployment_stats": { - "$ref": "#/components/schemas/ml._types:TrainedModelDeploymentStats" - }, - "inference_stats": { - "$ref": "#/components/schemas/ml._types:TrainedModelInferenceStats" - }, - "ingest": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" - }, - "description": "A collection of ingest stats for the model across all nodes.\nThe values are summations of the individual node statistics.\nThe format matches the ingest section in the nodes stats API.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "model_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "model_size_stats": { - "$ref": "#/components/schemas/ml._types:TrainedModelSizeStats" - }, - "pipeline_count": { - "description": "The number of ingest pipelines that currently refer to the model.", - "type": "number" - } - }, - "required": [ - "model_id", - "model_size_stats", - "pipeline_count" - ] - }, - "ml._types:TrainedModelDeploymentStats": { - "type": "object", - "properties": { - "allocation_status": { - "$ref": "#/components/schemas/ml._types:TrainedModelDeploymentAllocationStatus" - }, - "cache_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "deployment_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "error_count": { - "description": "The sum of `error_count` for all nodes in the deployment.", - "type": "number" - }, - "inference_count": { - "description": "The sum of `inference_count` for all nodes in the deployment.", - "type": "number" - }, - "model_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "nodes": { - "$ref": "#/components/schemas/ml._types:TrainedModelDeploymentNodesStats" - }, - "number_of_allocations": { - "description": "The number of allocations requested.", - "type": "number" - }, - "queue_capacity": { - "description": "The number of inference requests that can be queued before new requests are rejected.", - "type": "number" - }, - "rejected_execution_count": { - "description": "The sum of `rejected_execution_count` for all nodes in the deployment.\nIndividual nodes reject an inference request if the inference queue is full.\nThe queue size is controlled by the `queue_capacity` setting in the start\ntrained model deployment API.", - "type": "number" - }, - "reason": { - "description": "The reason for the current deployment state. Usually only populated when\nthe model is not deployed to a node.", - "type": "string" - }, - "start_time": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "state": { - "$ref": "#/components/schemas/ml._types:DeploymentState" - }, - "threads_per_allocation": { - "description": "The number of threads used be each allocation during inference.", - "type": "number" - }, - "timeout_count": { - "description": "The sum of `timeout_count` for all nodes in the deployment.", - "type": "number" - } - }, - "required": [ - "allocation_status", - "deployment_id", - "error_count", - "inference_count", - "model_id", - "nodes", - "number_of_allocations", - "queue_capacity", - "rejected_execution_count", - "reason", - "start_time", - "state", - "threads_per_allocation", - "timeout_count" - ] - }, - "ml._types:TrainedModelDeploymentAllocationStatus": { - "type": "object", - "properties": { - "allocation_count": { - "description": "The current number of nodes where the model is allocated.", - "type": "number" - }, - "state": { - "$ref": "#/components/schemas/ml._types:DeploymentAllocationState" - }, - "target_allocation_count": { - "description": "The desired number of nodes for model allocation.", - "type": "number" - } - }, - "required": [ - "allocation_count", - "state", - "target_allocation_count" - ] - }, - "ml._types:DeploymentAllocationState": { - "type": "string", - "enum": [ - "started", - "starting", - "fully_allocated" - ] - }, - "ml._types:TrainedModelDeploymentNodesStats": { - "type": "object", - "properties": { - "average_inference_time_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" - }, - "error_count": { - "description": "The number of errors when evaluating the trained model.", - "type": "number" - }, - "inference_count": { - "description": "The total number of inference calls made against this node for this model.", - "type": "number" - }, - "last_access": { - "description": "The epoch time stamp of the last inference call for the model on this node.", - "type": "number" - }, - "node": { - "$ref": "#/components/schemas/ml._types:DiscoveryNode" - }, - "number_of_allocations": { - "description": "The number of allocations assigned to this node.", - "type": "number" - }, - "number_of_pending_requests": { - "description": "The number of inference requests queued to be processed.", - "type": "number" - }, - "rejection_execution_count": { - "description": "The number of inference requests that were not processed because the queue was full.", - "type": "number" - }, - "routing_state": { - "$ref": "#/components/schemas/ml._types:TrainedModelAssignmentRoutingTable" - }, - "start_time": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "threads_per_allocation": { - "description": "The number of threads used by each allocation during inference.", - "type": "number" - }, - "timeout_count": { - "description": "The number of inference requests that timed out before being processed.", - "type": "number" - } - }, - "required": [ - "average_inference_time_ms", - "error_count", - "inference_count", - "last_access", - "node", - "number_of_allocations", - "number_of_pending_requests", - "rejection_execution_count", - "routing_state", - "start_time", - "threads_per_allocation", - "timeout_count" - ] - }, - "ml._types:TrainedModelAssignmentRoutingTable": { - "type": "object", - "properties": { - "reason": { - "description": "The reason for the current state. It is usually populated only when the\n`routing_state` is `failed`.", - "type": "string" - }, - "routing_state": { - "$ref": "#/components/schemas/ml._types:RoutingState" - }, - "current_allocations": { - "description": "Current number of allocations.", - "type": "number" - }, - "target_allocations": { - "description": "Target number of allocations.", - "type": "number" - } - }, - "required": [ - "reason", - "routing_state", - "current_allocations", - "target_allocations" - ] - }, - "ml._types:RoutingState": { - "type": "string", - "enum": [ - "failed", - "started", - "starting", - "stopped", - "stopping" - ] - }, - "ml._types:DeploymentState": { - "type": "string", - "enum": [ - "started", - "starting", - "stopping" - ] - }, - "ml._types:TrainedModelInferenceStats": { - "type": "object", - "properties": { - "cache_miss_count": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-settings.html" - }, - "description": "The number of times the model was loaded for inference and was not retrieved from the cache.\nIf this number is close to the `inference_count`, the cache is not being appropriately used.\nThis can be solved by increasing the cache size or its time-to-live (TTL).\nRefer to general machine learning settings for the appropriate settings.", - "type": "number" - }, - "failure_count": { - "description": "The number of failures when using the model for inference.", - "type": "number" - }, - "inference_count": { - "description": "The total number of times the model has been called for inference.\nThis is across all inference contexts, including all pipelines.", - "type": "number" - }, - "missing_all_fields_count": { - "description": "The number of inference calls where all the training features for the model were missing.", - "type": "number" - }, - "timestamp": { - "$ref": "#/components/schemas/_types:DateTime" - } - }, - "required": [ - "cache_miss_count", - "failure_count", - "inference_count", - "missing_all_fields_count", - "timestamp" - ] - }, - "ml._types:TrainedModelSizeStats": { - "type": "object", - "properties": { - "model_size_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "required_native_memory_bytes": { - "description": "The amount of memory required to load the model in bytes.", - "type": "number" - } - }, - "required": [ - "model_size_bytes", - "required_native_memory_bytes" - ] - }, - "ml._types:InferenceConfigUpdateContainer": { - "type": "object", - "properties": { - "regression": { - "$ref": "#/components/schemas/ml._types:RegressionInferenceOptions" - }, - "classification": { - "$ref": "#/components/schemas/ml._types:ClassificationInferenceOptions" - }, - "text_classification": { - "$ref": "#/components/schemas/ml._types:TextClassificationInferenceUpdateOptions" - }, - "zero_shot_classification": { - "$ref": "#/components/schemas/ml._types:ZeroShotClassificationInferenceUpdateOptions" - }, - "fill_mask": { - "$ref": "#/components/schemas/ml._types:FillMaskInferenceUpdateOptions" - }, - "ner": { - "$ref": "#/components/schemas/ml._types:NerInferenceUpdateOptions" - }, - "pass_through": { - "$ref": "#/components/schemas/ml._types:PassThroughInferenceUpdateOptions" - }, - "text_embedding": { - "$ref": "#/components/schemas/ml._types:TextEmbeddingInferenceUpdateOptions" - }, - "text_expansion": { - "$ref": "#/components/schemas/ml._types:TextExpansionInferenceUpdateOptions" - }, - "question_answering": { - "$ref": "#/components/schemas/ml._types:QuestionAnsweringInferenceUpdateOptions" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "ml._types:TextClassificationInferenceUpdateOptions": { - "type": "object", - "properties": { - "num_top_classes": { - "description": "Specifies the number of top class predictions to return. Defaults to 0.", - "type": "number" - }, - "tokenization": { - "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" - }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" - }, - "classification_labels": { - "description": "Classification labels to apply other than the stored labels. Must have the same deminsions as the default configured labels", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "ml._types:NlpTokenizationUpdateOptions": { - "type": "object", - "properties": { - "truncate": { - "$ref": "#/components/schemas/ml._types:TokenizationTruncate" - }, - "span": { - "description": "Span options to apply", - "type": "number" - } - } - }, - "ml._types:ZeroShotClassificationInferenceUpdateOptions": { - "type": "object", - "properties": { - "tokenization": { - "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" - }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" - }, - "multi_label": { - "description": "Update the configured multi label option. Indicates if more than one true label exists. Defaults to the configured value.", - "type": "boolean" - }, - "labels": { - "description": "The labels to predict.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "labels" - ] - }, - "ml._types:FillMaskInferenceUpdateOptions": { - "type": "object", - "properties": { - "num_top_classes": { - "description": "Specifies the number of top class predictions to return. Defaults to 0.", - "type": "number" - }, - "tokenization": { - "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" - }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" - } - } - }, - "ml._types:NerInferenceUpdateOptions": { - "type": "object", - "properties": { - "tokenization": { - "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" - }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" - } - } - }, - "ml._types:PassThroughInferenceUpdateOptions": { - "type": "object", - "properties": { - "tokenization": { - "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" - }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" - } - } - }, - "ml._types:TextEmbeddingInferenceUpdateOptions": { - "type": "object", - "properties": { - "tokenization": { - "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" - }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" - } - } - }, - "ml._types:TextExpansionInferenceUpdateOptions": { - "type": "object", - "properties": { - "tokenization": { - "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" - }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" - } - } - }, - "ml._types:QuestionAnsweringInferenceUpdateOptions": { - "type": "object", - "properties": { - "question": { - "description": "The question to answer given the inference context", - "type": "string" - }, - "num_top_classes": { - "description": "Specifies the number of top class predictions to return. Defaults to 0.", - "type": "number" - }, - "tokenization": { - "$ref": "#/components/schemas/ml._types:NlpTokenizationUpdateOptions" - }, - "results_field": { - "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", - "type": "string" - }, - "max_answer_length": { - "description": "The maximum answer length to consider for extraction", - "type": "number" - } - }, - "required": [ - "question" - ] - }, - "ml._types:InferenceResponseResult": { - "type": "object", - "properties": { - "entities": { - "description": "If the model is trained for named entity recognition (NER) tasks, the response contains the recognized entities.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:TrainedModelEntities" - } - }, - "is_truncated": { - "description": "Indicates whether the input text was truncated to meet the model's maximum sequence length limit. This property\nis present only when it is true.", - "type": "boolean" - }, - "predicted_value": { - "description": "If the model is trained for a text classification or zero shot classification task, the response is the\npredicted class.\nFor named entity recognition (NER) tasks, it contains the annotated text output.\nFor fill mask tasks, it contains the top prediction for replacing the mask token.\nFor text embedding tasks, it contains the raw numerical text embedding values.\nFor regression models, its a numerical value\nFor classification models, it may be an integer, double, boolean or string depending on prediction type", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:PredictedValue" - } - }, - "predicted_value_sequence": { - "description": "For fill mask tasks, the response contains the input text sequence with the mask token replaced by the predicted\nvalue.\nAdditionally", - "type": "string" - }, - "prediction_probability": { - "description": "Specifies a probability for the predicted value.", - "type": "number" - }, - "prediction_score": { - "description": "Specifies a confidence score for the predicted value.", - "type": "number" - }, - "top_classes": { - "description": "For fill mask, text classification, and zero shot classification tasks, the response contains a list of top\nclass entries.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:TopClassEntry" - } - }, - "warning": { - "description": "If the request failed, the response contains the reason for the failure.", - "type": "string" - }, - "feature_importance": { - "description": "The feature importance for the inference results. Relevant only for classification or regression models", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:TrainedModelInferenceFeatureImportance" - } - } - } - }, - "ml._types:TrainedModelEntities": { - "type": "object", - "properties": { - "class_name": { - "type": "string" - }, - "class_probability": { - "type": "number" - }, - "entity": { - "type": "string" - }, - "start_pos": { - "type": "number" - }, - "end_pos": { - "type": "number" - } - }, - "required": [ - "class_name", - "class_probability", - "entity", - "start_pos", - "end_pos" - ] - }, - "ml._types:PredictedValue": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "number" - } - ] - }, - "ml._types:TopClassEntry": { - "type": "object", - "properties": { - "class_name": { - "type": "string" - }, - "class_probability": { - "type": "number" - }, - "class_score": { - "type": "number" - } - }, - "required": [ - "class_name", - "class_probability", - "class_score" - ] - }, - "ml._types:TrainedModelInferenceFeatureImportance": { - "type": "object", - "properties": { - "feature_name": { - "type": "string" - }, - "importance": { - "type": "number" - }, - "classes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:TrainedModelInferenceClassImportance" - } - } - }, - "required": [ - "feature_name" - ] - }, - "ml._types:TrainedModelInferenceClassImportance": { - "type": "object", - "properties": { - "class_name": { - "type": "string" - }, - "importance": { - "type": "number" - } - }, - "required": [ - "class_name", - "importance" - ] - }, - "ml.info:Defaults": { - "type": "object", - "properties": { - "anomaly_detectors": { - "$ref": "#/components/schemas/ml.info:AnomalyDetectors" - }, - "datafeeds": { - "$ref": "#/components/schemas/ml.info:Datafeeds" - } - }, - "required": [ - "anomaly_detectors", - "datafeeds" - ] - }, - "ml.info:AnomalyDetectors": { - "type": "object", - "properties": { - "categorization_analyzer": { - "$ref": "#/components/schemas/ml._types:CategorizationAnalyzer" - }, - "categorization_examples_limit": { - "type": "number" - }, - "model_memory_limit": { - "type": "string" - }, - "model_snapshot_retention_days": { - "type": "number" - }, - "daily_model_snapshot_retention_after_days": { - "type": "number" - } - }, - "required": [ - "categorization_analyzer", - "categorization_examples_limit", - "model_memory_limit", - "model_snapshot_retention_days", - "daily_model_snapshot_retention_after_days" - ] - }, - "ml.info:Datafeeds": { - "type": "object", - "properties": { - "scroll_size": { - "type": "number" - } - }, - "required": [ - "scroll_size" - ] - }, - "ml.info:Limits": { - "type": "object", - "properties": { - "max_model_memory_limit": { - "type": "string" - }, - "effective_max_model_memory_limit": { - "type": "string" - }, - "total_ml_memory": { - "type": "string" - } - }, - "required": [ - "effective_max_model_memory_limit", - "total_ml_memory" - ] - }, - "ml.info:NativeCode": { - "type": "object", - "properties": { - "build_hash": { - "type": "string" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - } - }, - "required": [ - "build_hash", - "version" - ] - }, - "ml.preview_data_frame_analytics:DataframePreviewConfig": { - "type": "object", - "properties": { - "source": { - "$ref": "#/components/schemas/ml._types:DataframeAnalyticsSource" - }, - "analysis": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisContainer" - }, - "model_memory_limit": { - "type": "string" - }, - "max_num_threads": { - "type": "number" - }, - "analyzed_fields": { - "$ref": "#/components/schemas/ml._types:DataframeAnalysisAnalyzedFields" - } - }, - "required": [ - "source", - "analysis" - ] - }, - "ml._types:DatafeedConfig": { - "type": "object", - "properties": { - "aggregations": { - "description": "If set, the datafeed performs aggregation searches. Support for aggregations is limited and should be used only with low cardinality data.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "chunking_config": { - "$ref": "#/components/schemas/ml._types:ChunkingConfig" - }, - "datafeed_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "delayed_data_check_config": { - "$ref": "#/components/schemas/ml._types:DelayedDataCheckConfig" - }, - "frequency": { - "$ref": "#/components/schemas/_types:Duration" - }, - "indices": { - "description": "An array of index names. Wildcards are supported. If any indices are in remote clusters, the machine learning nodes must have the `remote_cluster_client` role.", - "type": "array", - "items": { - "type": "string" - } - }, - "indices_options": { - "$ref": "#/components/schemas/_types:IndicesOptions" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "max_empty_searches": { - "description": "If a real-time datafeed has never seen any data (including during any initial training period) then it will automatically stop itself and close its associated job after this many real-time searches that return no documents. In other words, it will stop after `frequency` times `max_empty_searches` of real-time operation. If not set then a datafeed with no end time that sees no data will remain started until it is explicitly stopped.", - "type": "number" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "query_delay": { - "$ref": "#/components/schemas/_types:Duration" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - }, - "script_fields": { - "description": "Specifies scripts that evaluate custom expressions and returns script fields to the datafeed. The detector configuration objects in a job can contain functions that use these script fields.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ScriptField" - } - }, - "scroll_size": { - "description": "The size parameter that is used in Elasticsearch searches when the datafeed does not use aggregations. The maximum value is the value of `index.max_result_window`, which is 10,000 by default.", - "type": "number" - } - } - }, - "ml._types:JobConfig": { - "type": "object", - "properties": { - "allow_lazy_open": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html" - }, - "description": "Advanced configuration option. Specifies whether this job can open when there is insufficient machine learning node capacity for it to be immediately assigned to a node.", - "type": "boolean" - }, - "analysis_config": { - "$ref": "#/components/schemas/ml._types:AnalysisConfig" - }, - "analysis_limits": { - "$ref": "#/components/schemas/ml._types:AnalysisLimits" - }, - "background_persist_interval": { - "$ref": "#/components/schemas/_types:Duration" - }, - "custom_settings": { - "$ref": "#/components/schemas/ml._types:CustomSettings" - }, - "daily_model_snapshot_retention_after_days": { - "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies a period of time (in days) after which only the first snapshot per day is retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.", - "type": "number" - }, - "data_description": { - "$ref": "#/components/schemas/ml._types:DataDescription" - }, - "datafeed_config": { - "$ref": "#/components/schemas/ml._types:DatafeedConfig" - }, - "description": { - "description": "A description of the job.", - "type": "string" - }, - "groups": { - "description": "A list of job groups. A job can belong to no groups or many.", - "type": "array", - "items": { - "type": "string" - } - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "job_type": { - "description": "Reserved for future use, currently set to `anomaly_detector`.", - "type": "string" - }, - "model_plot_config": { - "$ref": "#/components/schemas/ml._types:ModelPlotConfig" - }, - "model_snapshot_retention_days": { - "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies the maximum period of time (in days) that snapshots are retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.\nThe default value is `10`, which means snapshots ten days older than the newest snapshot are deleted.", - "type": "number" - }, - "renormalization_window_days": { - "description": "Advanced configuration option.\nThe period over which adjustments to the score are applied, as new data is seen.\nThe default value is the longer of 30 days or 100 `bucket_spans`.", - "type": "number" - }, - "results_index_name": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "results_retention_days": { - "description": "Advanced configuration option.\nThe period of time (in days) that results are retained.\nAge is calculated relative to the timestamp of the latest bucket result.\nIf this property has a non-null value, once per day at 00:30 (server time), results that are the specified number of days older than the latest bucket result are deleted from Elasticsearch.\nThe default value is null, which means all results are retained.\nAnnotations generated by the system also count as results for retention purposes; they are deleted after the same number of days as results.\nAnnotations added by users are retained forever.", - "type": "number" - } - }, - "required": [ - "analysis_config", - "data_description" - ] - }, - "_types:HttpHeaders": { - "type": "object", - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - }, - "ml._types:AnalysisConfigRead": { - "type": "object", - "properties": { - "bucket_span": { - "$ref": "#/components/schemas/_types:Duration" - }, - "categorization_analyzer": { - "$ref": "#/components/schemas/ml._types:CategorizationAnalyzer" - }, - "categorization_field_name": { - "$ref": "#/components/schemas/_types:Field" - }, - "categorization_filters": { - "description": "If `categorization_field_name` is specified, you can also define optional filters.\nThis property expects an array of regular expressions.\nThe expressions are used to filter out matching sequences from the categorization field values.", - "type": "array", - "items": { - "type": "string" - } - }, - "detectors": { - "description": "An array of detector configuration objects.\nDetector configuration objects specify which data fields a job analyzes.\nThey also specify which analytical functions are used.\nYou can specify multiple detectors for a job.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:DetectorRead" - } - }, - "influencers": { - "description": "A comma separated list of influencer field names.\nTypically these can be the by, over, or partition fields that are used in the detector configuration.\nYou might also want to use a field name that is not specifically named in a detector, but is available as part of the input data.\nWhen you use multiple detectors, the use of influencers is recommended as it aggregates results for each influencer entity.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "model_prune_window": { - "$ref": "#/components/schemas/_types:Duration" - }, - "latency": { - "$ref": "#/components/schemas/_types:Duration" - }, - "multivariate_by_fields": { - "description": "This functionality is reserved for internal use.\nIt is not supported for use in customer environments and is not subject to the support SLA of official GA features.\nIf set to `true`, the analysis will automatically find correlations between metrics for a given by field value and report anomalies when those correlations cease to hold.", - "type": "boolean" - }, - "per_partition_categorization": { - "$ref": "#/components/schemas/ml._types:PerPartitionCategorization" - }, - "summary_count_field_name": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "bucket_span", - "detectors", - "influencers" - ] - }, - "ml._types:DetectorRead": { - "type": "object", - "properties": { - "by_field_name": { - "$ref": "#/components/schemas/_types:Field" - }, - "custom_rules": { - "description": "An array of custom rule objects, which enable you to customize the way detectors operate.\nFor example, a rule may dictate to the detector conditions under which results should be skipped.\nKibana refers to custom rules as job rules.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml._types:DetectionRule" - } - }, - "detector_description": { - "description": "A description of the detector.", - "type": "string" - }, - "detector_index": { - "description": "A unique identifier for the detector.\nThis identifier is based on the order of the detectors in the `analysis_config`, starting at zero.", - "type": "number" - }, - "exclude_frequent": { - "$ref": "#/components/schemas/ml._types:ExcludeFrequent" - }, - "field_name": { - "$ref": "#/components/schemas/_types:Field" - }, - "function": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-functions.html" - }, - "description": "The analysis function that is used.\nFor example, `count`, `rare`, `mean`, `min`, `max`, and `sum`.", - "type": "string" - }, - "over_field_name": { - "$ref": "#/components/schemas/_types:Field" - }, - "partition_field_name": { - "$ref": "#/components/schemas/_types:Field" - }, - "use_null": { - "description": "Defines whether a new series is used as the null series when there is no value for the by or partition fields.", - "type": "boolean" - } - }, - "required": [ - "function" - ] - }, - "ml.put_trained_model:Definition": { - "type": "object", - "properties": { - "preprocessors": { - "description": "Collection of preprocessors", - "type": "array", - "items": { - "$ref": "#/components/schemas/ml.put_trained_model:Preprocessor" - } - }, - "trained_model": { - "$ref": "#/components/schemas/ml.put_trained_model:TrainedModel" - } - }, - "required": [ - "trained_model" - ] - }, - "ml.put_trained_model:Preprocessor": { - "type": "object", - "properties": { - "frequency_encoding": { - "$ref": "#/components/schemas/ml.put_trained_model:FrequencyEncodingPreprocessor" - }, - "one_hot_encoding": { - "$ref": "#/components/schemas/ml.put_trained_model:OneHotEncodingPreprocessor" - }, - "target_mean_encoding": { - "$ref": "#/components/schemas/ml.put_trained_model:TargetMeanEncodingPreprocessor" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "ml.put_trained_model:FrequencyEncodingPreprocessor": { - "type": "object", - "properties": { - "field": { - "type": "string" - }, - "feature_name": { - "type": "string" - }, - "frequency_map": { - "type": "object", - "additionalProperties": { - "type": "number" - } - } - }, - "required": [ - "field", - "feature_name", - "frequency_map" - ] - }, - "ml.put_trained_model:OneHotEncodingPreprocessor": { - "type": "object", - "properties": { - "field": { - "type": "string" - }, - "hot_map": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "required": [ - "field", - "hot_map" - ] - }, - "ml.put_trained_model:TargetMeanEncodingPreprocessor": { - "type": "object", - "properties": { - "field": { - "type": "string" - }, - "feature_name": { - "type": "string" - }, - "target_map": { - "type": "object", - "additionalProperties": { - "type": "number" - } - }, - "default_value": { - "type": "number" - } - }, - "required": [ - "field", - "feature_name", - "target_map", - "default_value" - ] - }, - "ml.put_trained_model:TrainedModel": { - "type": "object", - "properties": { - "tree": { - "$ref": "#/components/schemas/ml.put_trained_model:TrainedModelTree" - }, - "tree_node": { - "$ref": "#/components/schemas/ml.put_trained_model:TrainedModelTreeNode" - }, - "ensemble": { - "$ref": "#/components/schemas/ml.put_trained_model:Ensemble" - } - } - }, - "ml.put_trained_model:TrainedModelTree": { - "type": "object", - "properties": { - "classification_labels": { - "type": "array", - "items": { - "type": "string" - } - }, - "feature_names": { - "type": "array", - "items": { - "type": "string" - } - }, - "target_type": { - "type": "string" - }, - "tree_structure": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml.put_trained_model:TrainedModelTreeNode" - } - } - }, - "required": [ - "feature_names", - "tree_structure" - ] - }, - "ml.put_trained_model:TrainedModelTreeNode": { - "type": "object", - "properties": { - "decision_type": { - "type": "string" - }, - "default_left": { - "type": "boolean" - }, - "leaf_value": { - "type": "number" - }, - "left_child": { - "type": "number" - }, - "node_index": { - "type": "number" - }, - "right_child": { - "type": "number" - }, - "split_feature": { - "type": "number" - }, - "split_gain": { - "type": "number" - }, - "threshold": { - "type": "number" - } - }, - "required": [ - "node_index" - ] - }, - "ml.put_trained_model:Ensemble": { - "type": "object", - "properties": { - "aggregate_output": { - "$ref": "#/components/schemas/ml.put_trained_model:AggregateOutput" - }, - "classification_labels": { - "type": "array", - "items": { - "type": "string" - } - }, - "feature_names": { - "type": "array", - "items": { - "type": "string" - } - }, - "target_type": { - "type": "string" - }, - "trained_models": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ml.put_trained_model:TrainedModel" - } - } - }, - "required": [ - "trained_models" - ] - }, - "ml.put_trained_model:AggregateOutput": { - "type": "object", - "properties": { - "logistic_regression": { - "$ref": "#/components/schemas/ml.put_trained_model:Weights" - }, - "weighted_sum": { - "$ref": "#/components/schemas/ml.put_trained_model:Weights" - }, - "weighted_mode": { - "$ref": "#/components/schemas/ml.put_trained_model:Weights" - }, - "exponent": { - "$ref": "#/components/schemas/ml.put_trained_model:Weights" - } - } - }, - "ml.put_trained_model:Weights": { - "type": "object", - "properties": { - "weights": { - "type": "number" - } - }, - "required": [ - "weights" - ] - }, - "ml.put_trained_model:Input": { - "type": "object", - "properties": { - "field_names": { - "$ref": "#/components/schemas/_types:Names" - } - }, - "required": [ - "field_names" - ] - }, - "ml._types:TrainingPriority": { - "type": "string", - "enum": [ - "normal", - "low" - ] - }, - "ml._types:TrainedModelAssignment": { - "type": "object", - "properties": { - "assignment_state": { - "$ref": "#/components/schemas/ml._types:DeploymentAssignmentState" - }, - "max_assigned_allocations": { - "type": "number" - }, - "routing_table": { - "description": "The allocation state for each node.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/ml._types:TrainedModelAssignmentRoutingTable" - } - }, - "start_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "task_parameters": { - "$ref": "#/components/schemas/ml._types:TrainedModelAssignmentTaskParameters" - } - }, - "required": [ - "assignment_state", - "routing_table", - "start_time", - "task_parameters" - ] - }, - "ml._types:DeploymentAssignmentState": { - "type": "string", - "enum": [ - "starting", - "started", - "stopping", - "failed" - ] - }, - "ml._types:TrainedModelAssignmentTaskParameters": { - "type": "object", - "properties": { - "model_bytes": { - "description": "The size of the trained model in bytes.", - "type": "number" - }, - "model_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "deployment_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "cache_size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "number_of_allocations": { - "description": "The total number of allocations this model is assigned across ML nodes.", - "type": "number" - }, - "priority": { - "$ref": "#/components/schemas/ml._types:TrainingPriority" - }, - "queue_capacity": { - "description": "Number of inference requests are allowed in the queue at a time.", - "type": "number" - }, - "threads_per_allocation": { - "description": "Number of threads per allocation.", - "type": "number" - } - }, - "required": [ - "model_bytes", - "model_id", - "deployment_id", - "cache_size", - "number_of_allocations", - "priority", - "queue_capacity", - "threads_per_allocation" - ] - }, - "ml._types:AnalysisMemoryLimit": { - "type": "object", - "properties": { - "model_memory_limit": { - "description": "Limits can be applied for the resources required to hold the mathematical models in memory. These limits are approximate and can be set per job. They do not control the memory used by other processes, for example the Elasticsearch Java processes.", - "type": "string" - } - }, - "required": [ - "model_memory_limit" - ] - }, - "_global.msearch:MultiSearchResult": { - "type": "object", - "properties": { - "took": { - "type": "number" - }, - "responses": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.msearch:ResponseItem" - } - } - }, - "required": [ - "took", - "responses" - ] - }, - "_global.msearch_template:RequestItem": { - "oneOf": [ - { - "$ref": "#/components/schemas/_global.msearch:MultisearchHeader" - }, - { - "$ref": "#/components/schemas/_global.msearch_template:TemplateConfig" - } - ] - }, - "_global.msearch_template:TemplateConfig": { - "type": "object", - "properties": { - "explain": { - "description": "If `true`, returns detailed information about score calculation as part of each hit.", - "type": "boolean" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "params": { - "description": "Key-value pairs used to replace Mustache variables in the template.\nThe key is the variable name.\nThe value is the variable value.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "profile": { - "description": "If `true`, the query execution is profiled.", - "type": "boolean" - }, - "source": { - "description": "An inline search template. Supports the same parameters as the search API's\nrequest body. Also supports Mustache variables. If no id is specified, this\nparameter is required.", - "type": "string" - } - } - }, - "_global.mtermvectors:Operation": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "doc": { - "description": "An artificial document (a document not present in the index) for which you want to retrieve term vectors.", - "type": "object" - }, - "fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "field_statistics": { - "description": "If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies.", - "type": "boolean" - }, - "filter": { - "$ref": "#/components/schemas/_global.termvectors:Filter" - }, - "offsets": { - "description": "If `true`, the response includes term offsets.", - "type": "boolean" - }, - "payloads": { - "description": "If `true`, the response includes term payloads.", - "type": "boolean" - }, - "positions": { - "description": "If `true`, the response includes term positions.", - "type": "boolean" - }, - "routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "term_statistics": { - "description": "If true, the response includes term frequency and document frequency.", - "type": "boolean" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "version_type": { - "$ref": "#/components/schemas/_types:VersionType" - } - }, - "required": [ - "_id" - ] - }, - "_global.termvectors:Filter": { - "type": "object", - "properties": { - "max_doc_freq": { - "description": "Ignore words which occur in more than this many docs.\nDefaults to unbounded.", - "type": "number" - }, - "max_num_terms": { - "description": "Maximum number of terms that must be returned per field.", - "type": "number" - }, - "max_term_freq": { - "description": "Ignore words with more than this frequency in the source doc.\nDefaults to unbounded.", - "type": "number" - }, - "max_word_length": { - "description": "The maximum word length above which words will be ignored.\nDefaults to unbounded.", - "type": "number" - }, - "min_doc_freq": { - "description": "Ignore terms which do not occur in at least this many docs.", - "type": "number" - }, - "min_term_freq": { - "description": "Ignore words with less than this frequency in the source doc.", - "type": "number" - }, - "min_word_length": { - "description": "The minimum word length below which words will be ignored.", - "type": "number" - } - } - }, - "_global.mtermvectors:TermVectorsResult": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "_version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "took": { - "type": "number" - }, - "found": { - "type": "boolean" - }, - "term_vectors": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_global.termvectors:TermVector" - } - }, - "error": { - "$ref": "#/components/schemas/_types:ErrorCause" - } - }, - "required": [ - "_id", - "_index" - ] - }, - "_global.termvectors:TermVector": { - "type": "object", - "properties": { - "field_statistics": { - "$ref": "#/components/schemas/_global.termvectors:FieldStatistics" - }, - "terms": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_global.termvectors:Term" - } - } - }, - "required": [ - "field_statistics", - "terms" - ] - }, - "_global.termvectors:FieldStatistics": { - "type": "object", - "properties": { - "doc_count": { - "type": "number" - }, - "sum_doc_freq": { - "type": "number" - }, - "sum_ttf": { - "type": "number" - } - }, - "required": [ - "doc_count", - "sum_doc_freq", - "sum_ttf" - ] - }, - "_global.termvectors:Term": { - "type": "object", - "properties": { - "doc_freq": { - "type": "number" - }, - "score": { - "type": "number" - }, - "term_freq": { - "type": "number" - }, - "tokens": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.termvectors:Token" - } - }, - "ttf": { - "type": "number" - } - }, - "required": [ - "term_freq" - ] - }, - "_global.termvectors:Token": { - "type": "object", - "properties": { - "end_offset": { - "type": "number" - }, - "payload": { - "type": "string" - }, - "position": { - "type": "number" - }, - "start_offset": { - "type": "number" - } - }, - "required": [ - "position" - ] - }, - "nodes.clear_repositories_metering_archive:ResponseBase": { - "allOf": [ - { - "$ref": "#/components/schemas/nodes._types:NodesResponseBase" - }, - { - "type": "object", - "properties": { - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "nodes": { - "description": "Contains repositories metering information for the nodes selected by the request.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:RepositoryMeteringInformation" - } - } - }, - "required": [ - "cluster_name", - "nodes" - ] - } - ] - }, - "nodes._types:RepositoryMeteringInformation": { - "type": "object", - "properties": { - "repository_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "repository_type": { - "description": "Repository type.", - "type": "string" - }, - "repository_location": { - "$ref": "#/components/schemas/nodes._types:RepositoryLocation" - }, - "repository_ephemeral_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "repository_started_at": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "repository_stopped_at": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "archived": { - "description": "A flag that tells whether or not this object has been archived. When a repository is closed or updated the\nrepository metering information is archived and kept for a certain period of time. This allows retrieving the\nrepository metering information of previous repository instantiations.", - "type": "boolean" - }, - "cluster_version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "request_counts": { - "$ref": "#/components/schemas/nodes._types:RequestCounts" - } - }, - "required": [ - "repository_name", - "repository_type", - "repository_location", - "repository_ephemeral_id", - "repository_started_at", - "archived", - "request_counts" - ] - }, - "nodes._types:RepositoryLocation": { - "type": "object", - "properties": { - "base_path": { - "type": "string" - }, - "container": { - "description": "Container name (Azure)", - "type": "string" - }, - "bucket": { - "description": "Bucket name (GCP, S3)", - "type": "string" - } - }, - "required": [ - "base_path" - ] - }, - "nodes._types:RequestCounts": { - "type": "object", - "properties": { - "GetBlobProperties": { - "description": "Number of Get Blob Properties requests (Azure)", - "type": "number" - }, - "GetBlob": { - "description": "Number of Get Blob requests (Azure)", - "type": "number" - }, - "ListBlobs": { - "description": "Number of List Blobs requests (Azure)", - "type": "number" - }, - "PutBlob": { - "description": "Number of Put Blob requests (Azure)", - "type": "number" - }, - "PutBlock": { - "description": "Number of Put Block (Azure)", - "type": "number" - }, - "PutBlockList": { - "description": "Number of Put Block List requests", - "type": "number" - }, - "GetObject": { - "description": "Number of get object requests (GCP, S3)", - "type": "number" - }, - "ListObjects": { - "description": "Number of list objects requests (GCP, S3)", - "type": "number" - }, - "InsertObject": { - "description": "Number of insert object requests, including simple, multipart and resumable uploads. Resumable uploads\ncan perform multiple http requests to insert a single object but they are considered as a single request\nsince they are billed as an individual operation. (GCP)", - "type": "number" - }, - "PutObject": { - "description": "Number of PutObject requests (S3)", - "type": "number" - }, - "PutMultipartObject": { - "description": "Number of Multipart requests, including CreateMultipartUpload, UploadPart and CompleteMultipartUpload requests (S3)", - "type": "number" - } - } - }, - "nodes.get_repositories_metering_info:ResponseBase": { - "allOf": [ - { - "$ref": "#/components/schemas/nodes._types:NodesResponseBase" - }, - { - "type": "object", - "properties": { - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "nodes": { - "description": "Contains repositories metering information for the nodes selected by the request.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:RepositoryMeteringInformation" - } - } - }, - "required": [ - "cluster_name", - "nodes" - ] - } - ] - }, - "_types:ThreadType": { - "type": "string", - "enum": [ - "cpu", - "wait", - "block", - "gpu", - "mem" - ] - }, - "nodes.hot_threads:HotThread": { - "type": "object", - "properties": { - "hosts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Host" - } - }, - "node_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "node_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "threads": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "hosts", - "node_id", - "node_name", - "threads" - ] - }, - "nodes.info:ResponseBase": { - "allOf": [ - { - "$ref": "#/components/schemas/nodes._types:NodesResponseBase" - }, - { - "type": "object", - "properties": { - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes.info:NodeInfo" - } - } - }, - "required": [ - "cluster_name", - "nodes" - ] - } - ] - }, - "nodes.info:NodeInfo": { - "type": "object", - "properties": { - "attributes": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "build_flavor": { - "type": "string" - }, - "build_hash": { - "description": "Short hash of the last git commit in this release.", - "type": "string" - }, - "build_type": { - "type": "string" - }, - "host": { - "$ref": "#/components/schemas/_types:Host" - }, - "http": { - "$ref": "#/components/schemas/nodes.info:NodeInfoHttp" - }, - "ip": { - "$ref": "#/components/schemas/_types:Ip" - }, - "jvm": { - "$ref": "#/components/schemas/nodes.info:NodeJvmInfo" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "network": { - "$ref": "#/components/schemas/nodes.info:NodeInfoNetwork" - }, - "os": { - "$ref": "#/components/schemas/nodes.info:NodeOperatingSystemInfo" - }, - "plugins": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:PluginStats" - } - }, - "process": { - "$ref": "#/components/schemas/nodes.info:NodeProcessInfo" - }, - "roles": { - "$ref": "#/components/schemas/_types:NodeRoles" - }, - "settings": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSettings" - }, - "thread_pool": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes.info:NodeThreadPoolInfo" - } - }, - "total_indexing_buffer": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/indexing-buffer.html" - }, - "description": "Total heap allowed to be used to hold recently indexed documents before they must be written to disk. This size is a shared pool across all shards on this node, and is controlled by Indexing Buffer settings.", - "type": "number" - }, - "total_indexing_buffer_in_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "transport": { - "$ref": "#/components/schemas/nodes.info:NodeInfoTransport" - }, - "transport_address": { - "$ref": "#/components/schemas/_types:TransportAddress" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "modules": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:PluginStats" - } - }, - "ingest": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngest" - }, - "aggregations": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes.info:NodeInfoAggregation" - } - } - }, - "required": [ - "attributes", - "build_flavor", - "build_hash", - "build_type", - "host", - "ip", - "name", - "roles", - "transport_address", - "version" - ] - }, - "nodes.info:NodeInfoHttp": { - "type": "object", - "properties": { - "bound_address": { - "type": "array", - "items": { - "type": "string" - } - }, - "max_content_length": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "max_content_length_in_bytes": { - "type": "number" - }, - "publish_address": { - "type": "string" - } - }, - "required": [ - "bound_address", - "max_content_length_in_bytes", - "publish_address" - ] - }, - "nodes.info:NodeJvmInfo": { - "type": "object", - "properties": { - "gc_collectors": { - "type": "array", - "items": { - "type": "string" - } - }, - "mem": { - "$ref": "#/components/schemas/nodes.info:NodeInfoJvmMemory" - }, - "memory_pools": { - "type": "array", - "items": { - "type": "string" - } - }, - "pid": { - "type": "number" - }, - "start_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "vm_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "vm_vendor": { - "type": "string" - }, - "vm_version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "using_bundled_jdk": { - "type": "boolean" - }, - "using_compressed_ordinary_object_pointers": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "input_arguments": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "gc_collectors", - "mem", - "memory_pools", - "pid", - "start_time_in_millis", - "version", - "vm_name", - "vm_vendor", - "vm_version", - "using_bundled_jdk", - "input_arguments" - ] - }, - "nodes.info:NodeInfoJvmMemory": { - "type": "object", - "properties": { - "direct_max": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "direct_max_in_bytes": { - "type": "number" - }, - "heap_init": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "heap_init_in_bytes": { - "type": "number" - }, - "heap_max": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "heap_max_in_bytes": { - "type": "number" - }, - "non_heap_init": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "non_heap_init_in_bytes": { - "type": "number" - }, - "non_heap_max": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "non_heap_max_in_bytes": { - "type": "number" - } - }, - "required": [ - "direct_max_in_bytes", - "heap_init_in_bytes", - "heap_max_in_bytes", - "non_heap_init_in_bytes", - "non_heap_max_in_bytes" - ] - }, - "nodes.info:NodeInfoNetwork": { - "type": "object", - "properties": { - "primary_interface": { - "$ref": "#/components/schemas/nodes.info:NodeInfoNetworkInterface" - }, - "refresh_interval": { - "type": "number" - } - }, - "required": [ - "primary_interface", - "refresh_interval" - ] - }, - "nodes.info:NodeInfoNetworkInterface": { - "type": "object", - "properties": { - "address": { - "type": "string" - }, - "mac_address": { - "type": "string" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "required": [ - "address", - "mac_address", - "name" - ] - }, - "nodes.info:NodeOperatingSystemInfo": { - "type": "object", - "properties": { - "arch": { - "description": "Name of the JVM architecture (ex: amd64, x86)", - "type": "string" - }, - "available_processors": { - "description": "Number of processors available to the Java virtual machine", - "type": "number" - }, - "allocated_processors": { - "description": "The number of processors actually used to calculate thread pool size. This number can be set with the node.processors setting of a node and defaults to the number of processors reported by the OS.", - "type": "number" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "pretty_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "refresh_interval_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "cpu": { - "$ref": "#/components/schemas/nodes.info:NodeInfoOSCPU" - }, - "mem": { - "$ref": "#/components/schemas/nodes.info:NodeInfoMemory" - }, - "swap": { - "$ref": "#/components/schemas/nodes.info:NodeInfoMemory" - } - }, - "required": [ - "arch", - "available_processors", - "name", - "pretty_name", - "refresh_interval_in_millis", - "version" - ] - }, - "nodes.info:NodeInfoOSCPU": { - "type": "object", - "properties": { - "cache_size": { - "type": "string" - }, - "cache_size_in_bytes": { - "type": "number" - }, - "cores_per_socket": { - "type": "number" - }, - "mhz": { - "type": "number" - }, - "model": { - "type": "string" - }, - "total_cores": { - "type": "number" - }, - "total_sockets": { - "type": "number" - }, - "vendor": { - "type": "string" - } - }, - "required": [ - "cache_size", - "cache_size_in_bytes", - "cores_per_socket", - "mhz", - "model", - "total_cores", - "total_sockets", - "vendor" - ] - }, - "nodes.info:NodeInfoMemory": { - "type": "object", - "properties": { - "total": { - "type": "string" - }, - "total_in_bytes": { - "type": "number" - } - }, - "required": [ - "total", - "total_in_bytes" - ] - }, - "nodes.info:NodeProcessInfo": { - "type": "object", - "properties": { - "id": { - "description": "Process identifier (PID)", - "type": "number" - }, - "mlockall": { - "description": "Indicates if the process address space has been successfully locked in memory", - "type": "boolean" - }, - "refresh_interval_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "id", - "mlockall", - "refresh_interval_in_millis" - ] - }, - "nodes.info:NodeInfoSettings": { - "type": "object", - "properties": { - "cluster": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsCluster" - }, - "node": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsNode" - }, - "path": { - "$ref": "#/components/schemas/nodes.info:NodeInfoPath" - }, - "repositories": { - "$ref": "#/components/schemas/nodes.info:NodeInfoRepositories" - }, - "discovery": { - "$ref": "#/components/schemas/nodes.info:NodeInfoDiscover" - }, - "action": { - "$ref": "#/components/schemas/nodes.info:NodeInfoAction" - }, - "client": { - "$ref": "#/components/schemas/nodes.info:NodeInfoClient" - }, - "http": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsHttp" - }, - "bootstrap": { - "$ref": "#/components/schemas/nodes.info:NodeInfoBootstrap" - }, - "transport": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsTransport" - }, - "network": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsNetwork" - }, - "xpack": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpack" - }, - "script": { - "$ref": "#/components/schemas/nodes.info:NodeInfoScript" - }, - "search": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSearch" - }, - "ingest": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsIngest" - } - }, - "required": [ - "cluster", - "node", - "path", - "client", - "http", - "transport" - ] - }, - "nodes.info:NodeInfoSettingsCluster": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "routing": { - "$ref": "#/components/schemas/indices._types:IndexRouting" - }, - "election": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsClusterElection" - }, - "initial_master_nodes": { - "type": "string" - }, - "deprecation_indexing": { - "$ref": "#/components/schemas/nodes.info:DeprecationIndexing" - } - }, - "required": [ - "name", - "election" - ] - }, - "nodes.info:NodeInfoSettingsClusterElection": { - "type": "object", - "properties": { - "strategy": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "required": [ - "strategy" - ] - }, - "nodes.info:DeprecationIndexing": { - "type": "object", - "properties": { - "enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "enabled" - ] - }, - "nodes.info:NodeInfoSettingsNode": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "attr": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "max_local_storage_nodes": { - "type": "string" - } - }, - "required": [ - "name", - "attr" - ] - }, - "nodes.info:NodeInfoPath": { - "type": "object", - "properties": { - "logs": { - "type": "string" - }, - "home": { - "type": "string" - }, - "repo": { - "type": "array", - "items": { - "type": "string" - } - }, - "data": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "logs", - "home", - "repo" - ] - }, - "nodes.info:NodeInfoRepositories": { - "type": "object", - "properties": { - "url": { - "$ref": "#/components/schemas/nodes.info:NodeInfoRepositoriesUrl" - } - }, - "required": [ - "url" - ] - }, - "nodes.info:NodeInfoRepositoriesUrl": { - "type": "object", - "properties": { - "allowed_urls": { - "type": "string" - } - }, - "required": [ - "allowed_urls" - ] - }, - "nodes.info:NodeInfoDiscover": { - "type": "object", - "properties": { - "seed_hosts": { - "type": "string" - } - }, - "required": [ - "seed_hosts" - ] - }, - "nodes.info:NodeInfoAction": { - "type": "object", - "properties": { - "destructive_requires_name": { - "type": "string" - } - }, - "required": [ - "destructive_requires_name" - ] - }, - "nodes.info:NodeInfoClient": { - "type": "object", - "properties": { - "type": { - "type": "string" - } - }, - "required": [ - "type" - ] - }, - "nodes.info:NodeInfoSettingsHttp": { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsHttpType" - }, - "type.default": { - "type": "string" - }, - "compression": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "port": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "type" - ] - }, - "nodes.info:NodeInfoSettingsHttpType": { - "type": "object", - "properties": { - "default": { - "type": "string" - } - }, - "required": [ - "default" - ] - }, - "nodes.info:NodeInfoBootstrap": { - "type": "object", - "properties": { - "memory_lock": { - "type": "string" - } - }, - "required": [ - "memory_lock" - ] - }, - "nodes.info:NodeInfoSettingsTransport": { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsTransportType" - }, - "type.default": { - "type": "string" - }, - "features": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSettingsTransportFeatures" - } - }, - "required": [ - "type" - ] - }, - "nodes.info:NodeInfoSettingsTransportType": { - "type": "object", - "properties": { - "default": { - "type": "string" - } - }, - "required": [ - "default" - ] - }, - "nodes.info:NodeInfoSettingsTransportFeatures": { - "type": "object", - "properties": { - "x-pack": { - "type": "string" - } - }, - "required": [ - "x-pack" - ] - }, - "nodes.info:NodeInfoSettingsNetwork": { - "type": "object", - "properties": { - "host": { - "$ref": "#/components/schemas/_types:Host" - } - }, - "required": [ - "host" - ] - }, - "nodes.info:NodeInfoXpack": { - "type": "object", - "properties": { - "license": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpackLicense" - }, - "security": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurity" - }, - "notification": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - }, - "required": [ - "security" - ] - }, - "nodes.info:NodeInfoXpackLicense": { - "type": "object", - "properties": { - "self_generated": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpackLicenseType" - } - }, - "required": [ - "self_generated" - ] - }, - "nodes.info:NodeInfoXpackLicenseType": { - "type": "object", - "properties": { - "type": { - "type": "string" - } - }, - "required": [ - "type" - ] - }, - "nodes.info:NodeInfoXpackSecurity": { - "type": "object", - "properties": { - "http": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecuritySsl" - }, - "enabled": { - "type": "string" - }, - "transport": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecuritySsl" - }, - "authc": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthc" - } - }, - "required": [ - "http", - "enabled" - ] - }, - "nodes.info:NodeInfoXpackSecuritySsl": { - "type": "object", - "properties": { - "ssl": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "required": [ - "ssl" - ] - }, - "nodes.info:NodeInfoXpackSecurityAuthc": { - "type": "object", - "properties": { - "realms": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthcRealms" - }, - "token": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthcToken" - } - }, - "required": [ - "realms", - "token" - ] - }, - "nodes.info:NodeInfoXpackSecurityAuthcRealms": { - "type": "object", - "properties": { - "file": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthcRealmsStatus" - } - }, - "native": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthcRealmsStatus" - } - }, - "pki": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes.info:NodeInfoXpackSecurityAuthcRealmsStatus" - } - } - } - }, - "nodes.info:NodeInfoXpackSecurityAuthcRealmsStatus": { - "type": "object", - "properties": { - "enabled": { - "type": "string" - }, - "order": { - "type": "string" - } - }, - "required": [ - "order" - ] - }, - "nodes.info:NodeInfoXpackSecurityAuthcToken": { - "type": "object", - "properties": { - "enabled": { - "type": "string" - } - }, - "required": [ - "enabled" - ] - }, - "nodes.info:NodeInfoScript": { - "type": "object", - "properties": { - "allowed_types": { - "type": "string" - }, - "disable_max_compilations_rate": { - "type": "string" - } - }, - "required": [ - "allowed_types", - "disable_max_compilations_rate" - ] - }, - "nodes.info:NodeInfoSearch": { - "type": "object", - "properties": { - "remote": { - "$ref": "#/components/schemas/nodes.info:NodeInfoSearchRemote" - } - }, - "required": [ - "remote" - ] - }, - "nodes.info:NodeInfoSearchRemote": { - "type": "object", - "properties": { - "connect": { - "type": "string" - } - }, - "required": [ - "connect" - ] - }, - "nodes.info:NodeInfoSettingsIngest": { - "type": "object", - "properties": { - "attachment": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "append": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "csv": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "convert": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "date": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "date_index_name": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "dot_expander": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "enrich": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "fail": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "foreach": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "json": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "user_agent": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "kv": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "geoip": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "grok": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "gsub": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "join": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "lowercase": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "remove": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "rename": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "script": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "set": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "sort": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "split": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "trim": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "uppercase": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "urldecode": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "bytes": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "dissect": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "set_security_user": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "pipeline": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "drop": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "circle": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - }, - "inference": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestInfo" - } - } - }, - "nodes.info:NodeInfoIngestInfo": { - "type": "object", - "properties": { - "downloader": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestDownloader" - } - }, - "required": [ - "downloader" - ] - }, - "nodes.info:NodeInfoIngestDownloader": { - "type": "object", - "properties": { - "enabled": { - "type": "string" - } - }, - "required": [ - "enabled" - ] - }, - "nodes.info:NodeThreadPoolInfo": { - "type": "object", - "properties": { - "core": { - "type": "number" - }, - "keep_alive": { - "$ref": "#/components/schemas/_types:Duration" - }, - "max": { - "type": "number" - }, - "queue_size": { - "type": "number" - }, - "size": { - "type": "number" - }, - "type": { - "type": "string" - } - }, - "required": [ - "queue_size", - "type" - ] - }, - "nodes.info:NodeInfoTransport": { - "type": "object", - "properties": { - "bound_address": { - "type": "array", - "items": { - "type": "string" - } - }, - "publish_address": { - "type": "string" - }, - "profiles": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "required": [ - "bound_address", - "publish_address", - "profiles" - ] - }, - "nodes.info:NodeInfoIngest": { - "type": "object", - "properties": { - "processors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/nodes.info:NodeInfoIngestProcessor" - } - } - }, - "required": [ - "processors" - ] - }, - "nodes.info:NodeInfoIngestProcessor": { - "type": "object", - "properties": { - "type": { - "type": "string" - } - }, - "required": [ - "type" - ] - }, - "nodes.info:NodeInfoAggregation": { - "type": "object", - "properties": { - "types": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "types" - ] - }, - "_types:Password": { - "type": "string" - }, - "nodes.reload_secure_settings:ResponseBase": { - "allOf": [ - { - "$ref": "#/components/schemas/nodes._types:NodesResponseBase" - }, - { - "type": "object", - "properties": { - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:NodeReloadResult" - } - } - }, - "required": [ - "cluster_name", - "nodes" - ] - } - ] - }, - "nodes._types:NodeReloadResult": { - "oneOf": [ - { - "$ref": "#/components/schemas/nodes._types:Stats" - }, - { - "$ref": "#/components/schemas/nodes._types:NodeReloadError" - } - ] - }, - "nodes._types:Stats": { - "type": "object", - "properties": { - "adaptive_selection": { - "description": "Statistics about adaptive replica selection.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:AdaptiveSelection" - } - }, - "breakers": { - "description": "Statistics about the field data circuit breaker.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:Breaker" - } - }, - "fs": { - "$ref": "#/components/schemas/nodes._types:FileSystem" - }, - "host": { - "$ref": "#/components/schemas/_types:Host" - }, - "http": { - "$ref": "#/components/schemas/nodes._types:Http" - }, - "ingest": { - "$ref": "#/components/schemas/nodes._types:Ingest" - }, - "ip": { - "description": "IP address and port for the node.", - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Ip" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Ip" - } - } - ] - }, - "jvm": { - "$ref": "#/components/schemas/nodes._types:Jvm" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "os": { - "$ref": "#/components/schemas/nodes._types:OperatingSystem" - }, - "process": { - "$ref": "#/components/schemas/nodes._types:Process" - }, - "roles": { - "$ref": "#/components/schemas/_types:NodeRoles" - }, - "script": { - "$ref": "#/components/schemas/nodes._types:Scripting" - }, - "script_cache": { - "type": "object", - "additionalProperties": { - "oneOf": [ - { - "$ref": "#/components/schemas/nodes._types:ScriptCache" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/nodes._types:ScriptCache" - } - } - ] - } - }, - "thread_pool": { - "description": "Statistics about each thread pool, including current size, queue and rejected tasks.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:ThreadCount" - } - }, - "timestamp": { - "type": "number" - }, - "transport": { - "$ref": "#/components/schemas/nodes._types:Transport" - }, - "transport_address": { - "$ref": "#/components/schemas/_types:TransportAddress" - }, - "attributes": { - "description": "Contains a list of attributes for the node.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "discovery": { - "$ref": "#/components/schemas/nodes._types:Discovery" - }, - "indexing_pressure": { - "$ref": "#/components/schemas/nodes._types:IndexingPressure" - }, - "indices": { - "$ref": "#/components/schemas/indices.stats:ShardStats" - } - } - }, - "nodes._types:AdaptiveSelection": { - "type": "object", - "properties": { - "avg_queue_size": { - "description": "The exponentially weighted moving average queue size of search requests on the keyed node.", - "type": "number" - }, - "avg_response_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "avg_response_time_ns": { - "description": "The exponentially weighted moving average response time, in nanoseconds, of search requests on the keyed node.", - "type": "number" - }, - "avg_service_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "avg_service_time_ns": { - "description": "The exponentially weighted moving average service time, in nanoseconds, of search requests on the keyed node.", - "type": "number" - }, - "outgoing_searches": { - "description": "The number of outstanding search requests to the keyed node from the node these stats are for.", - "type": "number" - }, - "rank": { - "description": "The rank of this node; used for shard selection when routing search requests.", - "type": "string" - } - } - }, - "nodes._types:Breaker": { - "type": "object", - "properties": { - "estimated_size": { - "description": "Estimated memory used for the operation.", - "type": "string" - }, - "estimated_size_in_bytes": { - "description": "Estimated memory used, in bytes, for the operation.", - "type": "number" - }, - "limit_size": { - "description": "Memory limit for the circuit breaker.", - "type": "string" - }, - "limit_size_in_bytes": { - "description": "Memory limit, in bytes, for the circuit breaker.", - "type": "number" - }, - "overhead": { - "description": "A constant that all estimates for the circuit breaker are multiplied with to calculate a final estimate.", - "type": "number" - }, - "tripped": { - "description": "Total number of times the circuit breaker has been triggered and prevented an out of memory error.", - "type": "number" - } - } - }, - "nodes._types:FileSystem": { - "type": "object", - "properties": { - "data": { - "description": "List of all file stores.", - "type": "array", - "items": { - "$ref": "#/components/schemas/nodes._types:DataPathStats" - } - }, - "timestamp": { - "description": "Last time the file stores statistics were refreshed.\nRecorded in milliseconds since the Unix Epoch.", - "type": "number" - }, - "total": { - "$ref": "#/components/schemas/nodes._types:FileSystemTotal" - }, - "io_stats": { - "$ref": "#/components/schemas/nodes._types:IoStats" - } - } - }, - "nodes._types:DataPathStats": { - "type": "object", - "properties": { - "available": { - "description": "Total amount of disk space available to this Java virtual machine on this file store.", - "type": "string" - }, - "available_in_bytes": { - "description": "Total number of bytes available to this Java virtual machine on this file store.", - "type": "number" - }, - "disk_queue": { - "type": "string" - }, - "disk_reads": { - "type": "number" - }, - "disk_read_size": { - "type": "string" - }, - "disk_read_size_in_bytes": { - "type": "number" - }, - "disk_writes": { - "type": "number" - }, - "disk_write_size": { - "type": "string" - }, - "disk_write_size_in_bytes": { - "type": "number" - }, - "free": { - "description": "Total amount of unallocated disk space in the file store.", - "type": "string" - }, - "free_in_bytes": { - "description": "Total number of unallocated bytes in the file store.", - "type": "number" - }, - "mount": { - "description": "Mount point of the file store (for example: `/dev/sda2`).", - "type": "string" - }, - "path": { - "description": "Path to the file store.", - "type": "string" - }, - "total": { - "description": "Total size of the file store.", - "type": "string" - }, - "total_in_bytes": { - "description": "Total size of the file store in bytes.", - "type": "number" - }, - "type": { - "description": "Type of the file store (ex: ext4).", - "type": "string" - } - } - }, - "nodes._types:FileSystemTotal": { - "type": "object", - "properties": { - "available": { - "description": "Total disk space available to this Java virtual machine on all file stores.\nDepending on OS or process level restrictions, this might appear less than `free`.\nThis is the actual amount of free disk space the Elasticsearch node can utilise.", - "type": "string" - }, - "available_in_bytes": { - "description": "Total number of bytes available to this Java virtual machine on all file stores.\nDepending on OS or process level restrictions, this might appear less than `free_in_bytes`.\nThis is the actual amount of free disk space the Elasticsearch node can utilise.", - "type": "number" - }, - "free": { - "description": "Total unallocated disk space in all file stores.", - "type": "string" - }, - "free_in_bytes": { - "description": "Total number of unallocated bytes in all file stores.", - "type": "number" - }, - "total": { - "description": "Total size of all file stores.", - "type": "string" - }, - "total_in_bytes": { - "description": "Total size of all file stores in bytes.", - "type": "number" - } - } - }, - "nodes._types:IoStats": { - "type": "object", - "properties": { - "devices": { - "description": "Array of disk metrics for each device that is backing an Elasticsearch data path.\nThese disk metrics are probed periodically and averages between the last probe and the current probe are computed.", - "type": "array", - "items": { - "$ref": "#/components/schemas/nodes._types:IoStatDevice" - } - }, - "total": { - "$ref": "#/components/schemas/nodes._types:IoStatDevice" - } - } - }, - "nodes._types:IoStatDevice": { - "type": "object", - "properties": { - "device_name": { - "description": "The Linux device name.", - "type": "string" - }, - "operations": { - "description": "The total number of read and write operations for the device completed since starting Elasticsearch.", - "type": "number" - }, - "read_kilobytes": { - "description": "The total number of kilobytes read for the device since starting Elasticsearch.", - "type": "number" - }, - "read_operations": { - "description": "The total number of read operations for the device completed since starting Elasticsearch.", - "type": "number" - }, - "write_kilobytes": { - "description": "The total number of kilobytes written for the device since starting Elasticsearch.", - "type": "number" - }, - "write_operations": { - "description": "The total number of write operations for the device completed since starting Elasticsearch.", - "type": "number" - } - } - }, - "nodes._types:Jvm": { - "type": "object", - "properties": { - "buffer_pools": { - "description": "Contains statistics about JVM buffer pools for the node.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:NodeBufferPool" - } - }, - "classes": { - "$ref": "#/components/schemas/nodes._types:JvmClasses" - }, - "gc": { - "$ref": "#/components/schemas/nodes._types:GarbageCollector" - }, - "mem": { - "$ref": "#/components/schemas/nodes._types:JvmMemoryStats" - }, - "threads": { - "$ref": "#/components/schemas/nodes._types:JvmThreads" - }, - "timestamp": { - "description": "Last time JVM statistics were refreshed.", - "type": "number" - }, - "uptime": { - "description": "Human-readable JVM uptime.\nOnly returned if the `human` query parameter is `true`.", - "type": "string" - }, - "uptime_in_millis": { - "description": "JVM uptime in milliseconds.", - "type": "number" - } - } - }, - "nodes._types:NodeBufferPool": { - "type": "object", - "properties": { - "count": { - "description": "Number of buffer pools.", - "type": "number" - }, - "total_capacity": { - "description": "Total capacity of buffer pools.", - "type": "string" - }, - "total_capacity_in_bytes": { - "description": "Total capacity of buffer pools in bytes.", - "type": "number" - }, - "used": { - "description": "Size of buffer pools.", - "type": "string" - }, - "used_in_bytes": { - "description": "Size of buffer pools in bytes.", - "type": "number" - } - } - }, - "nodes._types:JvmClasses": { - "type": "object", - "properties": { - "current_loaded_count": { - "description": "Number of classes currently loaded by JVM.", - "type": "number" - }, - "total_loaded_count": { - "description": "Total number of classes loaded since the JVM started.", - "type": "number" - }, - "total_unloaded_count": { - "description": "Total number of classes unloaded since the JVM started.", - "type": "number" - } - } - }, - "nodes._types:GarbageCollector": { - "type": "object", - "properties": { - "collectors": { - "description": "Contains statistics about JVM garbage collectors for the node.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:GarbageCollectorTotal" - } - } - } - }, - "nodes._types:GarbageCollectorTotal": { - "type": "object", - "properties": { - "collection_count": { - "description": "Total number of JVM garbage collectors that collect objects.", - "type": "number" - }, - "collection_time": { - "description": "Total time spent by JVM collecting objects.", - "type": "string" - }, - "collection_time_in_millis": { - "description": "Total time, in milliseconds, spent by JVM collecting objects.", - "type": "number" - } - } - }, - "nodes._types:JvmMemoryStats": { - "type": "object", - "properties": { - "heap_used_in_bytes": { - "description": "Memory, in bytes, currently in use by the heap.", - "type": "number" - }, - "heap_used_percent": { - "description": "Percentage of memory currently in use by the heap.", - "type": "number" - }, - "heap_committed_in_bytes": { - "description": "Amount of memory, in bytes, available for use by the heap.", - "type": "number" - }, - "heap_max_in_bytes": { - "description": "Maximum amount of memory, in bytes, available for use by the heap.", - "type": "number" - }, - "non_heap_used_in_bytes": { - "description": "Non-heap memory used, in bytes.", - "type": "number" - }, - "non_heap_committed_in_bytes": { - "description": "Amount of non-heap memory available, in bytes.", - "type": "number" - }, - "pools": { - "description": "Contains statistics about heap memory usage for the node.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:Pool" - } - } - } - }, - "nodes._types:Pool": { - "type": "object", - "properties": { - "used_in_bytes": { - "description": "Memory, in bytes, used by the heap.", - "type": "number" - }, - "max_in_bytes": { - "description": "Maximum amount of memory, in bytes, available for use by the heap.", - "type": "number" - }, - "peak_used_in_bytes": { - "description": "Largest amount of memory, in bytes, historically used by the heap.", - "type": "number" - }, - "peak_max_in_bytes": { - "description": "Largest amount of memory, in bytes, historically used by the heap.", - "type": "number" - } - } - }, - "nodes._types:JvmThreads": { - "type": "object", - "properties": { - "count": { - "description": "Number of active threads in use by JVM.", - "type": "number" - }, - "peak_count": { - "description": "Highest number of threads used by JVM.", - "type": "number" - } - } - }, - "nodes._types:OperatingSystem": { - "type": "object", - "properties": { - "cpu": { - "$ref": "#/components/schemas/nodes._types:Cpu" - }, - "mem": { - "$ref": "#/components/schemas/nodes._types:ExtendedMemoryStats" - }, - "swap": { - "$ref": "#/components/schemas/nodes._types:MemoryStats" - }, - "cgroup": { - "$ref": "#/components/schemas/nodes._types:Cgroup" - }, - "timestamp": { - "type": "number" - } - } - }, - "nodes._types:Cpu": { - "type": "object", - "properties": { - "percent": { - "type": "number" - }, - "sys": { - "$ref": "#/components/schemas/_types:Duration" - }, - "sys_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "total": { - "$ref": "#/components/schemas/_types:Duration" - }, - "total_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "user": { - "$ref": "#/components/schemas/_types:Duration" - }, - "user_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "load_average": { - "type": "object", - "additionalProperties": { - "type": "number" - } - } - } - }, - "nodes._types:ExtendedMemoryStats": { - "allOf": [ - { - "$ref": "#/components/schemas/nodes._types:MemoryStats" - }, - { - "type": "object", - "properties": { - "free_percent": { - "description": "Percentage of free memory.", - "type": "number" - }, - "used_percent": { - "description": "Percentage of used memory.", - "type": "number" - } - } - } - ] - }, - "nodes._types:MemoryStats": { - "type": "object", - "properties": { - "adjusted_total_in_bytes": { - "description": "If the amount of physical memory has been overridden using the `es`.`total_memory_bytes` system property then this reports the overridden value in bytes.\nOtherwise it reports the same value as `total_in_bytes`.", - "type": "number" - }, - "resident": { - "type": "string" - }, - "resident_in_bytes": { - "type": "number" - }, - "share": { - "type": "string" - }, - "share_in_bytes": { - "type": "number" - }, - "total_virtual": { - "type": "string" - }, - "total_virtual_in_bytes": { - "type": "number" - }, - "total_in_bytes": { - "description": "Total amount of physical memory in bytes.", - "type": "number" - }, - "free_in_bytes": { - "description": "Amount of free physical memory in bytes.", - "type": "number" - }, - "used_in_bytes": { - "description": "Amount of used physical memory in bytes.", - "type": "number" - } - } - }, - "nodes._types:Cgroup": { - "type": "object", - "properties": { - "cpuacct": { - "$ref": "#/components/schemas/nodes._types:CpuAcct" - }, - "cpu": { - "$ref": "#/components/schemas/nodes._types:CgroupCpu" - }, - "memory": { - "$ref": "#/components/schemas/nodes._types:CgroupMemory" - } - } - }, - "nodes._types:CpuAcct": { - "type": "object", - "properties": { - "control_group": { - "description": "The `cpuacct` control group to which the Elasticsearch process belongs.", - "type": "string" - }, - "usage_nanos": { - "$ref": "#/components/schemas/_types:DurationValueUnitNanos" - } - } - }, - "nodes._types:CgroupCpu": { - "type": "object", - "properties": { - "control_group": { - "description": "The `cpu` control group to which the Elasticsearch process belongs.", - "type": "string" - }, - "cfs_period_micros": { - "description": "The period of time, in microseconds, for how regularly all tasks in the same cgroup as the Elasticsearch process should have their access to CPU resources reallocated.", - "type": "number" - }, - "cfs_quota_micros": { - "description": "The total amount of time, in microseconds, for which all tasks in the same cgroup as the Elasticsearch process can run during one period `cfs_period_micros`.", - "type": "number" - }, - "stat": { - "$ref": "#/components/schemas/nodes._types:CgroupCpuStat" - } - } - }, - "nodes._types:CgroupCpuStat": { - "type": "object", - "properties": { - "number_of_elapsed_periods": { - "description": "The number of reporting periods (as specified by `cfs_period_micros`) that have elapsed.", - "type": "number" - }, - "number_of_times_throttled": { - "description": "The number of times all tasks in the same cgroup as the Elasticsearch process have been throttled.", - "type": "number" - }, - "time_throttled_nanos": { - "$ref": "#/components/schemas/_types:DurationValueUnitNanos" - } - } - }, - "nodes._types:CgroupMemory": { - "type": "object", - "properties": { - "control_group": { - "description": "The `memory` control group to which the Elasticsearch process belongs.", - "type": "string" - }, - "limit_in_bytes": { - "description": "The maximum amount of user memory (including file cache) allowed for all tasks in the same cgroup as the Elasticsearch process.\nThis value can be too big to store in a `long`, so is returned as a string so that the value returned can exactly match what the underlying operating system interface returns.\nAny value that is too large to parse into a `long` almost certainly means no limit has been set for the cgroup.", - "type": "string" - }, - "usage_in_bytes": { - "description": "The total current memory usage by processes in the cgroup, in bytes, by all tasks in the same cgroup as the Elasticsearch process.\nThis value is stored as a string for consistency with `limit_in_bytes`.", - "type": "string" - } - } - }, - "nodes._types:Process": { - "type": "object", - "properties": { - "cpu": { - "$ref": "#/components/schemas/nodes._types:Cpu" - }, - "mem": { - "$ref": "#/components/schemas/nodes._types:MemoryStats" - }, - "open_file_descriptors": { - "description": "Number of opened file descriptors associated with the current or `-1` if not supported.", - "type": "number" - }, - "max_file_descriptors": { - "description": "Maximum number of file descriptors allowed on the system, or `-1` if not supported.", - "type": "number" - }, - "timestamp": { - "description": "Last time the statistics were refreshed.\nRecorded in milliseconds since the Unix Epoch.", - "type": "number" - } - } - }, - "nodes._types:ScriptCache": { - "type": "object", - "properties": { - "cache_evictions": { - "description": "Total number of times the script cache has evicted old data.", - "type": "number" - }, - "compilation_limit_triggered": { - "description": "Total number of times the script compilation circuit breaker has limited inline script compilations.", - "type": "number" - }, - "compilations": { - "description": "Total number of inline script compilations performed by the node.", - "type": "number" - }, - "context": { - "type": "string" - } - } - }, - "nodes._types:Transport": { - "type": "object", - "properties": { - "inbound_handling_time_histogram": { - "description": "The distribution of the time spent handling each inbound message on a transport thread, represented as a histogram.", - "type": "array", - "items": { - "$ref": "#/components/schemas/nodes._types:TransportHistogram" - } - }, - "outbound_handling_time_histogram": { - "description": "The distribution of the time spent sending each outbound transport message on a transport thread, represented as a histogram.", - "type": "array", - "items": { - "$ref": "#/components/schemas/nodes._types:TransportHistogram" - } - }, - "rx_count": { - "description": "Total number of RX (receive) packets received by the node during internal cluster communication.", - "type": "number" - }, - "rx_size": { - "description": "Size of RX packets received by the node during internal cluster communication.", - "type": "string" - }, - "rx_size_in_bytes": { - "description": "Size, in bytes, of RX packets received by the node during internal cluster communication.", - "type": "number" - }, - "server_open": { - "description": "Current number of inbound TCP connections used for internal communication between nodes.", - "type": "number" - }, - "tx_count": { - "description": "Total number of TX (transmit) packets sent by the node during internal cluster communication.", - "type": "number" - }, - "tx_size": { - "description": "Size of TX packets sent by the node during internal cluster communication.", - "type": "string" - }, - "tx_size_in_bytes": { - "description": "Size, in bytes, of TX packets sent by the node during internal cluster communication.", - "type": "number" - }, - "total_outbound_connections": { - "description": "The cumulative number of outbound transport connections that this node has opened since it started.\nEach transport connection may comprise multiple TCP connections but is only counted once in this statistic.\nTransport connections are typically long-lived so this statistic should remain constant in a stable cluster.", - "type": "number" - } - } - }, - "nodes._types:TransportHistogram": { - "type": "object", - "properties": { - "count": { - "description": "The number of times a transport thread took a period of time within the bounds of this bucket to handle an inbound message.", - "type": "number" - }, - "lt_millis": { - "description": "The exclusive upper bound of the bucket in milliseconds.\nMay be omitted on the last bucket if this bucket has no upper bound.", - "type": "number" - }, - "ge_millis": { - "description": "The inclusive lower bound of the bucket in milliseconds. May be omitted on the first bucket if this bucket has no lower bound.", - "type": "number" - } - } - }, - "nodes._types:Discovery": { - "type": "object", - "properties": { - "cluster_state_queue": { - "$ref": "#/components/schemas/nodes._types:ClusterStateQueue" - }, - "published_cluster_states": { - "$ref": "#/components/schemas/nodes._types:PublishedClusterStates" - }, - "cluster_state_update": { - "description": "Contains low-level statistics about how long various activities took during cluster state updates while the node was the elected master.\nOmitted if the node is not master-eligible.\nEvery field whose name ends in `_time` within this object is also represented as a raw number of milliseconds in a field whose name ends in `_time_millis`.\nThe human-readable fields with a `_time` suffix are only returned if requested with the `?human=true` query parameter.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:ClusterStateUpdate" - } - }, - "serialized_cluster_states": { - "$ref": "#/components/schemas/nodes._types:SerializedClusterState" - }, - "cluster_applier_stats": { - "$ref": "#/components/schemas/nodes._types:ClusterAppliedStats" - } - } - }, - "nodes._types:ClusterStateQueue": { - "type": "object", - "properties": { - "total": { - "description": "Total number of cluster states in queue.", - "type": "number" - }, - "pending": { - "description": "Number of pending cluster states in queue.", - "type": "number" - }, - "committed": { - "description": "Number of committed cluster states in queue.", - "type": "number" - } - } - }, - "nodes._types:PublishedClusterStates": { - "type": "object", - "properties": { - "full_states": { - "description": "Number of published cluster states.", - "type": "number" - }, - "incompatible_diffs": { - "description": "Number of incompatible differences between published cluster states.", - "type": "number" - }, - "compatible_diffs": { - "description": "Number of compatible differences between published cluster states.", - "type": "number" - } - } - }, - "nodes._types:ClusterStateUpdate": { - "type": "object", - "properties": { - "count": { - "description": "The number of cluster state update attempts that did not change the cluster state since the node started.", - "type": "number" - }, - "computation_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "computation_time_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "publication_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "publication_time_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "context_construction_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "context_construction_time_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "commit_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "commit_time_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "completion_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "completion_time_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "master_apply_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "master_apply_time_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "notification_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "notification_time_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "count" - ] - }, - "nodes._types:SerializedClusterState": { - "type": "object", - "properties": { - "full_states": { - "$ref": "#/components/schemas/nodes._types:SerializedClusterStateDetail" - }, - "diffs": { - "$ref": "#/components/schemas/nodes._types:SerializedClusterStateDetail" - } - } - }, - "nodes._types:SerializedClusterStateDetail": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "uncompressed_size": { - "type": "string" - }, - "uncompressed_size_in_bytes": { - "type": "number" - }, - "compressed_size": { - "type": "string" - }, - "compressed_size_in_bytes": { - "type": "number" - } - } - }, - "nodes._types:ClusterAppliedStats": { - "type": "object", - "properties": { - "recordings": { - "type": "array", - "items": { - "$ref": "#/components/schemas/nodes._types:Recording" - } - } - } - }, - "nodes._types:Recording": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "cumulative_execution_count": { - "type": "number" - }, - "cumulative_execution_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "cumulative_execution_time_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - } - }, - "nodes._types:IndexingPressure": { - "type": "object", - "properties": { - "memory": { - "$ref": "#/components/schemas/nodes._types:IndexingPressureMemory" - } - } - }, - "nodes._types:IndexingPressureMemory": { - "type": "object", - "properties": { - "limit": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "limit_in_bytes": { - "description": "Configured memory limit, in bytes, for the indexing requests.\nReplica requests have an automatic limit that is 1.5x this value.", - "type": "number" - }, - "current": { - "$ref": "#/components/schemas/nodes._types:PressureMemory" - }, - "total": { - "$ref": "#/components/schemas/nodes._types:PressureMemory" - } - } - }, - "nodes._types:PressureMemory": { - "type": "object", - "properties": { - "all": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "all_in_bytes": { - "description": "Memory consumed, in bytes, by indexing requests in the coordinating, primary, or replica stage.", - "type": "number" - }, - "combined_coordinating_and_primary": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "combined_coordinating_and_primary_in_bytes": { - "description": "Memory consumed, in bytes, by indexing requests in the coordinating or primary stage.\nThis value is not the sum of coordinating and primary as a node can reuse the coordinating memory if the primary stage is executed locally.", - "type": "number" - }, - "coordinating": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "coordinating_in_bytes": { - "description": "Memory consumed, in bytes, by indexing requests in the coordinating stage.", - "type": "number" - }, - "primary": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "primary_in_bytes": { - "description": "Memory consumed, in bytes, by indexing requests in the primary stage.", - "type": "number" - }, - "replica": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "replica_in_bytes": { - "description": "Memory consumed, in bytes, by indexing requests in the replica stage.", - "type": "number" - }, - "coordinating_rejections": { - "description": "Number of indexing requests rejected in the coordinating stage.", - "type": "number" - }, - "primary_rejections": { - "description": "Number of indexing requests rejected in the primary stage.", - "type": "number" - }, - "replica_rejections": { - "description": "Number of indexing requests rejected in the replica stage.", - "type": "number" - } - } - }, - "nodes._types:NodeReloadError": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "reload_exception": { - "$ref": "#/components/schemas/_types:ErrorCause" - } - }, - "required": [ - "name" - ] - }, - "nodes.stats:ResponseBase": { - "allOf": [ - { - "$ref": "#/components/schemas/nodes._types:NodesResponseBase" - }, - { - "type": "object", - "properties": { - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes._types:Stats" - } - } - }, - "required": [ - "nodes" - ] - } - ] - }, - "nodes.usage:ResponseBase": { - "allOf": [ - { - "$ref": "#/components/schemas/nodes._types:NodesResponseBase" - }, - { - "type": "object", - "properties": { - "cluster_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/nodes.usage:NodeUsage" - } - } - }, - "required": [ - "cluster_name", - "nodes" - ] - } - ] - }, - "nodes.usage:NodeUsage": { - "type": "object", - "properties": { - "rest_actions": { - "type": "object", - "additionalProperties": { - "type": "number" - } - }, - "since": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "timestamp": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "aggregations": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - }, - "required": [ - "rest_actions", - "since", - "timestamp", - "aggregations" - ] - }, - "query_ruleset._types:QueryRuleset": { - "type": "object", - "properties": { - "ruleset_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "rules": { - "description": "Rules associated with the query ruleset", - "type": "array", - "items": { - "$ref": "#/components/schemas/query_ruleset._types:QueryRule" - } - } - }, - "required": [ - "ruleset_id", - "rules" - ] - }, - "query_ruleset._types:QueryRule": { - "type": "object", - "properties": { - "rule_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "type": { - "$ref": "#/components/schemas/query_ruleset._types:QueryRuleType" - }, - "criteria": { - "type": "array", - "items": { - "$ref": "#/components/schemas/query_ruleset._types:QueryRuleCriteria" - } - }, - "actions": { - "$ref": "#/components/schemas/query_ruleset._types:QueryRuleActions" - } - }, - "required": [ - "rule_id", - "type", - "criteria", - "actions" - ] - }, - "query_ruleset._types:QueryRuleType": { - "type": "string", - "enum": [ - "pinned" - ] - }, - "query_ruleset._types:QueryRuleCriteria": { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/query_ruleset._types:QueryRuleCriteriaType" - }, - "metadata": { - "type": "string" - }, - "values": { - "type": "array", - "items": { - "type": "object" - } - } - }, - "required": [ - "type", - "metadata" - ] - }, - "query_ruleset._types:QueryRuleCriteriaType": { - "type": "string", - "enum": [ - "global", - "exact", - "exact_fuzzy", - "prefix", - "suffix", - "contains", - "lt", - "lte", - "gt", - "gte" - ] - }, - "query_ruleset._types:QueryRuleActions": { - "type": "object", - "properties": { - "ids": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Id" - } - }, - "docs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.query_dsl:PinnedDoc" - } - } - } - }, - "query_ruleset.list:QueryRulesetListItem": { - "type": "object", - "properties": { - "ruleset_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "rules_count": { - "description": "The number of rules associated with this ruleset", - "type": "number" - } - }, - "required": [ - "ruleset_id", - "rules_count" - ] - }, - "_global.rank_eval:RankEvalRequestItem": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "request": { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalQuery" - }, - "ratings": { - "description": "List of document ratings", - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.rank_eval:DocumentRating" - } - }, - "template_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "params": { - "description": "The search template parameters.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - }, - "required": [ - "id", - "ratings" - ] - }, - "_global.rank_eval:RankEvalQuery": { - "type": "object", - "properties": { - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "size": { - "type": "number" - } - }, - "required": [ - "query" - ] - }, - "_global.rank_eval:DocumentRating": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "rating": { - "description": "The document’s relevance with regard to this search request.", - "type": "number" - } - }, - "required": [ - "_id", - "_index", - "rating" - ] - }, - "_global.rank_eval:RankEvalMetric": { - "type": "object", - "properties": { - "precision": { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricPrecision" - }, - "recall": { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricRecall" - }, - "mean_reciprocal_rank": { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricMeanReciprocalRank" - }, - "dcg": { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricDiscountedCumulativeGain" - }, - "expected_reciprocal_rank": { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricExpectedReciprocalRank" - } - } - }, - "_global.rank_eval:RankEvalMetricPrecision": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricRatingTreshold" - }, - { - "type": "object", - "properties": { - "ignore_unlabeled": { - "description": "Controls how unlabeled documents in the search results are counted. If set to true, unlabeled documents are ignored and neither count as relevant or irrelevant. Set to false (the default), they are treated as irrelevant.", - "type": "boolean" - } - } - } - ] - }, - "_global.rank_eval:RankEvalMetricRatingTreshold": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricBase" - }, - { - "type": "object", - "properties": { - "relevant_rating_threshold": { - "description": "Sets the rating threshold above which documents are considered to be \"relevant\".", - "type": "number" - } - } - } - ] - }, - "_global.rank_eval:RankEvalMetricBase": { - "type": "object", - "properties": { - "k": { - "description": "Sets the maximum number of documents retrieved per query. This value will act in place of the usual size parameter in the query.", - "type": "number" - } - } - }, - "_global.rank_eval:RankEvalMetricRecall": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricRatingTreshold" - }, - { - "type": "object" - } - ] - }, - "_global.rank_eval:RankEvalMetricMeanReciprocalRank": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricRatingTreshold" - }, - { - "type": "object" - } - ] - }, - "_global.rank_eval:RankEvalMetricDiscountedCumulativeGain": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricBase" - }, - { - "type": "object", - "properties": { - "normalize": { - "externalDocs": { - "url": "https://en.wikipedia.org/wiki/Discounted_cumulative_gain#Normalized_DCG" - }, - "description": "If set to true, this metric will calculate the Normalized DCG.", - "type": "boolean" - } - } - } - ] - }, - "_global.rank_eval:RankEvalMetricExpectedReciprocalRank": { - "allOf": [ - { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalMetricBase" - }, - { - "type": "object", - "properties": { - "maximum_relevance": { - "description": "The highest relevance grade used in the user-supplied relevance judgments.", - "type": "number" - } - }, - "required": [ - "maximum_relevance" - ] - } - ] - }, - "_global.rank_eval:RankEvalMetricDetail": { - "type": "object", - "properties": { - "metric_score": { - "description": "The metric_score in the details section shows the contribution of this query to the global quality metric score", - "type": "number" - }, - "unrated_docs": { - "description": "The unrated_docs section contains an _index and _id entry for each document in the search result for this query that didn’t have a ratings value. This can be used to ask the user to supply ratings for these documents", - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.rank_eval:UnratedDocument" - } - }, - "hits": { - "description": "The hits section shows a grouping of the search results with their supplied ratings", - "type": "array", - "items": { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalHitItem" - } - }, - "metric_details": { - "description": "The metric_details give additional information about the calculated quality metric (e.g. how many of the retrieved documents were relevant). The content varies for each metric but allows for better interpretation of the results", - "type": "object", - "additionalProperties": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "required": [ - "metric_score", - "unrated_docs", - "hits", - "metric_details" - ] - }, - "_global.rank_eval:UnratedDocument": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - } - }, - "required": [ - "_id", - "_index" - ] - }, - "_global.rank_eval:RankEvalHitItem": { - "type": "object", - "properties": { - "hit": { - "$ref": "#/components/schemas/_global.rank_eval:RankEvalHit" - }, - "rating": { - "oneOf": [ - { - "type": "number" - }, - { - "nullable": true, - "type": "string" - } - ] - } - }, - "required": [ - "hit" - ] - }, - "_global.rank_eval:RankEvalHit": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "_score": { - "type": "number" - } - }, - "required": [ - "_id", - "_index", - "_score" - ] - }, - "_global.reindex:Destination": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "op_type": { - "$ref": "#/components/schemas/_types:OpType" - }, - "pipeline": { - "description": "The name of the pipeline to use.", - "type": "string" - }, - "routing": { - "$ref": "#/components/schemas/_types:Routing" - }, - "version_type": { - "$ref": "#/components/schemas/_types:VersionType" - } - }, - "required": [ - "index" - ] - }, - "_global.reindex:Source": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:Indices" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "remote": { - "$ref": "#/components/schemas/_global.reindex:RemoteSource" - }, - "size": { - "description": "The number of documents to index per batch.\nUse when indexing from remote to ensure that the batches fit within the on-heap buffer, which defaults to a maximum size of 100 MB.", - "type": "number" - }, - "slice": { - "$ref": "#/components/schemas/_types:SlicedScroll" - }, - "sort": { - "$ref": "#/components/schemas/_types:Sort" - }, - "_source": { - "$ref": "#/components/schemas/_types:Fields" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - } - }, - "required": [ - "index" - ] - }, - "_global.reindex:RemoteSource": { - "type": "object", - "properties": { - "connect_timeout": { - "$ref": "#/components/schemas/_types:Duration" - }, - "headers": { - "description": "An object containing the headers of the request.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "host": { - "$ref": "#/components/schemas/_types:Host" - }, - "username": { - "$ref": "#/components/schemas/_types:Username" - }, - "password": { - "$ref": "#/components/schemas/_types:Password" - }, - "socket_timeout": { - "$ref": "#/components/schemas/_types:Duration" - } - }, - "required": [ - "host" - ] - }, - "_types:Username": { - "type": "string" - }, - "_global.reindex_rethrottle:ReindexNode": { - "allOf": [ - { - "$ref": "#/components/schemas/_spec_utils:BaseNode" - }, - { - "type": "object", - "properties": { - "tasks": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_global.reindex_rethrottle:ReindexTask" - } - } - }, - "required": [ - "tasks" - ] - } - ] - }, - "_global.reindex_rethrottle:ReindexTask": { - "type": "object", - "properties": { - "action": { - "type": "string" - }, - "cancellable": { - "type": "boolean" - }, - "description": { - "type": "string" - }, - "id": { - "type": "number" - }, - "node": { - "$ref": "#/components/schemas/_types:Name" - }, - "running_time_in_nanos": { - "$ref": "#/components/schemas/_types:DurationValueUnitNanos" - }, - "start_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "status": { - "$ref": "#/components/schemas/_global.reindex_rethrottle:ReindexStatus" - }, - "type": { - "type": "string" - }, - "headers": { - "$ref": "#/components/schemas/_types:HttpHeaders" - } - }, - "required": [ - "action", - "cancellable", - "description", - "id", - "node", - "running_time_in_nanos", - "start_time_in_millis", - "status", - "type", - "headers" - ] - }, - "_global.reindex_rethrottle:ReindexStatus": { - "type": "object", - "properties": { - "batches": { - "description": "The number of scroll responses pulled back by the reindex.", - "type": "number" - }, - "created": { - "description": "The number of documents that were successfully created.", - "type": "number" - }, - "deleted": { - "description": "The number of documents that were successfully deleted.", - "type": "number" - }, - "noops": { - "description": "The number of documents that were ignored because the script used for the reindex returned a `noop` value for `ctx.op`.", - "type": "number" - }, - "requests_per_second": { - "description": "The number of requests per second effectively executed during the reindex.", - "type": "number" - }, - "retries": { - "$ref": "#/components/schemas/_types:Retries" - }, - "throttled": { - "$ref": "#/components/schemas/_types:Duration" - }, - "throttled_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "throttled_until": { - "$ref": "#/components/schemas/_types:Duration" - }, - "throttled_until_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "total": { - "description": "The number of documents that were successfully processed.", - "type": "number" - }, - "updated": { - "description": "The number of documents that were successfully updated, for example, a document with same ID already existed prior to reindex updating it.", - "type": "number" - }, - "version_conflicts": { - "description": "The number of version conflicts that reindex hits.", - "type": "number" - } - }, - "required": [ - "batches", - "created", - "deleted", - "noops", - "requests_per_second", - "retries", - "throttled_millis", - "throttled_until_millis", - "total", - "updated", - "version_conflicts" - ] - }, - "_spec_utils:BaseNode": { - "type": "object", - "properties": { - "attributes": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "host": { - "$ref": "#/components/schemas/_types:Host" - }, - "ip": { - "$ref": "#/components/schemas/_types:Ip" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "roles": { - "$ref": "#/components/schemas/_types:NodeRoles" - }, - "transport_address": { - "$ref": "#/components/schemas/_types:TransportAddress" - } - }, - "required": [ - "attributes", - "host", - "ip", - "name", - "transport_address" - ] - }, - "rollup.get_jobs:RollupJob": { - "type": "object", - "properties": { - "config": { - "$ref": "#/components/schemas/rollup.get_jobs:RollupJobConfiguration" - }, - "stats": { - "$ref": "#/components/schemas/rollup.get_jobs:RollupJobStats" - }, - "status": { - "$ref": "#/components/schemas/rollup.get_jobs:RollupJobStatus" - } - }, - "required": [ - "config", - "stats", - "status" - ] - }, - "rollup.get_jobs:RollupJobConfiguration": { - "type": "object", - "properties": { - "cron": { - "type": "string" - }, - "groups": { - "$ref": "#/components/schemas/rollup._types:Groupings" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "index_pattern": { - "type": "string" - }, - "metrics": { - "type": "array", - "items": { - "$ref": "#/components/schemas/rollup._types:FieldMetric" - } - }, - "page_size": { - "type": "number" - }, - "rollup_index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "timeout": { - "$ref": "#/components/schemas/_types:Duration" - } - }, - "required": [ - "cron", - "groups", - "id", - "index_pattern", - "metrics", - "page_size", - "rollup_index", - "timeout" - ] - }, - "rollup._types:Groupings": { - "type": "object", - "properties": { - "date_histogram": { - "$ref": "#/components/schemas/rollup._types:DateHistogramGrouping" - }, - "histogram": { - "$ref": "#/components/schemas/rollup._types:HistogramGrouping" - }, - "terms": { - "$ref": "#/components/schemas/rollup._types:TermsGrouping" - } - } - }, - "rollup._types:DateHistogramGrouping": { - "type": "object", - "properties": { - "delay": { - "$ref": "#/components/schemas/_types:Duration" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "format": { - "type": "string" - }, - "interval": { - "$ref": "#/components/schemas/_types:Duration" - }, - "calendar_interval": { - "$ref": "#/components/schemas/_types:Duration" - }, - "fixed_interval": { - "$ref": "#/components/schemas/_types:Duration" - }, - "time_zone": { - "$ref": "#/components/schemas/_types:TimeZone" - } - }, - "required": [ - "field" - ] - }, - "rollup._types:HistogramGrouping": { - "type": "object", - "properties": { - "fields": { - "$ref": "#/components/schemas/_types:Fields" - }, - "interval": { - "description": "The interval of histogram buckets to be generated when rolling up.\nFor example, a value of `5` creates buckets that are five units wide (`0-5`, `5-10`, etc).\nNote that only one interval can be specified in the histogram group, meaning that all fields being grouped via the histogram must share the same interval.", - "type": "number" - } - }, - "required": [ - "fields", - "interval" - ] - }, - "rollup._types:TermsGrouping": { - "type": "object", - "properties": { - "fields": { - "$ref": "#/components/schemas/_types:Fields" - } - }, - "required": [ - "fields" - ] - }, - "rollup._types:FieldMetric": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "metrics": { - "description": "An array of metrics to collect for the field. At least one metric must be configured.", - "type": "array", - "items": { - "$ref": "#/components/schemas/rollup._types:Metric" - } - } - }, - "required": [ - "field", - "metrics" - ] - }, - "rollup._types:Metric": { - "type": "string", - "enum": [ - "min", - "max", - "sum", - "avg", - "value_count" - ] - }, - "rollup.get_jobs:RollupJobStats": { - "type": "object", - "properties": { - "documents_processed": { - "type": "number" - }, - "index_failures": { - "type": "number" - }, - "index_time_in_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "index_total": { - "type": "number" - }, - "pages_processed": { - "type": "number" - }, - "rollups_indexed": { - "type": "number" - }, - "search_failures": { - "type": "number" - }, - "search_time_in_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "search_total": { - "type": "number" - }, - "trigger_count": { - "type": "number" - }, - "processing_time_in_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "processing_total": { - "type": "number" - } - }, - "required": [ - "documents_processed", - "index_failures", - "index_time_in_ms", - "index_total", - "pages_processed", - "rollups_indexed", - "search_failures", - "search_time_in_ms", - "search_total", - "trigger_count", - "processing_time_in_ms", - "processing_total" - ] - }, - "rollup.get_jobs:RollupJobStatus": { - "type": "object", - "properties": { - "current_position": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "job_state": { - "$ref": "#/components/schemas/rollup.get_jobs:IndexingJobState" - }, - "upgraded_doc_id": { - "type": "boolean" - } - }, - "required": [ - "job_state" - ] - }, - "rollup.get_jobs:IndexingJobState": { - "type": "string", - "enum": [ - "started", - "indexing", - "stopping", - "stopped", - "aborting" - ] - }, - "rollup.get_rollup_caps:RollupCapabilities": { - "type": "object", - "properties": { - "rollup_jobs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/rollup.get_rollup_caps:RollupCapabilitySummary" - } - } - }, - "required": [ - "rollup_jobs" - ] - }, - "rollup.get_rollup_caps:RollupCapabilitySummary": { - "type": "object", - "properties": { - "fields": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/components/schemas/rollup.get_rollup_caps:RollupFieldSummary" - } - } - }, - "index_pattern": { - "type": "string" - }, - "job_id": { - "type": "string" - }, - "rollup_index": { - "type": "string" - } - }, - "required": [ - "fields", - "index_pattern", - "job_id", - "rollup_index" - ] - }, - "rollup.get_rollup_caps:RollupFieldSummary": { - "type": "object", - "properties": { - "agg": { - "type": "string" - }, - "calendar_interval": { - "$ref": "#/components/schemas/_types:Duration" - }, - "time_zone": { - "$ref": "#/components/schemas/_types:TimeZone" - } - }, - "required": [ - "agg" - ] - }, - "rollup.get_rollup_index_caps:IndexCapabilities": { - "type": "object", - "properties": { - "rollup_jobs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/rollup.get_rollup_index_caps:RollupJobSummary" - } - } - }, - "required": [ - "rollup_jobs" - ] - }, - "rollup.get_rollup_index_caps:RollupJobSummary": { - "type": "object", - "properties": { - "fields": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/components/schemas/rollup.get_rollup_index_caps:RollupJobSummaryField" - } - } - }, - "index_pattern": { - "type": "string" - }, - "job_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "rollup_index": { - "$ref": "#/components/schemas/_types:IndexName" - } - }, - "required": [ - "fields", - "index_pattern", - "job_id", - "rollup_index" - ] - }, - "rollup.get_rollup_index_caps:RollupJobSummaryField": { - "type": "object", - "properties": { - "agg": { - "type": "string" - }, - "time_zone": { - "$ref": "#/components/schemas/_types:TimeZone" - }, - "calendar_interval": { - "$ref": "#/components/schemas/_types:Duration" - } - }, - "required": [ - "agg" - ] - }, - "_global.scripts_painless_execute:PainlessContextSetup": { - "type": "object", - "properties": { - "document": { - "description": "Document that’s temporarily indexed in-memory and accessible from the script.", - "type": "object" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - }, - "required": [ - "document", - "index", - "query" - ] - }, - "_types:RankContainer": { - "type": "object", - "properties": { - "rrf": { - "$ref": "#/components/schemas/_types:RrfRank" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "_types:RrfRank": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:RankBase" - }, - { - "type": "object", - "properties": { - "rank_constant": { - "description": "How much influence documents in individual result sets per query have over the final ranked result set", - "type": "number" - }, - "window_size": { - "description": "Size of the individual result sets per query", - "type": "number" - } - } - } - ] - }, - "_types:RankBase": { - "type": "object" - }, - "search_application._types:SearchApplication": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "indices": { - "description": "Indices that are part of the Search Application.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:IndexName" - } - }, - "updated_at_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "analytics_collection_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "template": { - "$ref": "#/components/schemas/search_application._types:SearchApplicationTemplate" - } - }, - "required": [ - "name", - "indices", - "updated_at_millis" - ] - }, - "search_application._types:SearchApplicationTemplate": { - "type": "object", - "properties": { - "script": { - "$ref": "#/components/schemas/_types:InlineScript" - } - }, - "required": [ - "script" - ] - }, - "search_application._types:AnalyticsCollection": { - "type": "object", - "properties": { - "event_data_stream": { - "$ref": "#/components/schemas/search_application._types:EventDataStream" - } - }, - "required": [ - "event_data_stream" - ] - }, - "search_application._types:EventDataStream": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:IndexName" - } - }, - "required": [ - "name" - ] - }, - "search_application.list:SearchApplicationListItem": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "indices": { - "description": "Indices that are part of the Search Application", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:IndexName" - } - }, - "updated_at_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "analytics_collection_name": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "required": [ - "name", - "indices", - "updated_at_millis" - ] - }, - "search_application.put_behavioral_analytics:AnalyticsAcknowledgeResponseBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:AcknowledgedResponseBase" - }, - { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "required": [ - "name" - ] - } - ] - }, - "_global.search_mvt._types:ZoomLevel": { - "type": "number" - }, - "_global.search_mvt._types:Coordinate": { - "type": "number" - }, - "_global.search_mvt._types:GridAggregationType": { - "type": "string", - "enum": [ - "geotile", - "geohex" - ] - }, - "_global.search_mvt._types:GridType": { - "type": "string", - "enum": [ - "grid", - "point", - "centroid" - ] - }, - "_types:MapboxVectorTiles": { - "type": "object" - }, - "_types:NodeShard": { - "type": "object", - "properties": { - "state": { - "$ref": "#/components/schemas/indices.stats:ShardRoutingState" - }, - "primary": { - "type": "boolean" - }, - "node": { - "$ref": "#/components/schemas/_types:NodeName" - }, - "shard": { - "type": "number" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "allocation_id": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:Id" - } - }, - "recovery_source": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:Id" - } - }, - "unassigned_info": { - "$ref": "#/components/schemas/cluster.allocation_explain:UnassignedInformation" - }, - "relocating_node": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:NodeId" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "relocation_failure_info": { - "$ref": "#/components/schemas/_types:RelocationFailureInfo" - } - }, - "required": [ - "state", - "primary", - "shard", - "index" - ] - }, - "_types:RelocationFailureInfo": { - "type": "object", - "properties": { - "failed_attempts": { - "type": "number" - } - }, - "required": [ - "failed_attempts" - ] - }, - "_global.search_shards:ShardStoreIndex": { - "type": "object", - "properties": { - "aliases": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "filter": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - } - }, - "searchable_snapshots.cache_stats:Node": { - "type": "object", - "properties": { - "shared_cache": { - "$ref": "#/components/schemas/searchable_snapshots.cache_stats:Shared" - } - }, - "required": [ - "shared_cache" - ] - }, - "searchable_snapshots.cache_stats:Shared": { - "type": "object", - "properties": { - "reads": { - "type": "number" - }, - "bytes_read_in_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "writes": { - "type": "number" - }, - "bytes_written_in_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "evictions": { - "type": "number" - }, - "num_regions": { - "type": "number" - }, - "size_in_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "region_size_in_bytes": { - "$ref": "#/components/schemas/_types:ByteSize" - } - }, - "required": [ - "reads", - "bytes_read_in_bytes", - "writes", - "bytes_written_in_bytes", - "evictions", - "num_regions", - "size_in_bytes", - "region_size_in_bytes" - ] - }, - "searchable_snapshots.mount:MountedSnapshot": { - "type": "object", - "properties": { - "snapshot": { - "$ref": "#/components/schemas/_types:Name" - }, - "indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - } - }, - "required": [ - "snapshot", - "indices", - "shards" - ] - }, - "searchable_snapshots._types:StatsLevel": { - "type": "string", - "enum": [ - "cluster", - "indices", - "shards" - ] - }, - "security._types:GrantType": { - "type": "string", - "enum": [ - "password", - "access_token" - ] - }, - "security._types:UserProfileWithMetadata": { - "allOf": [ - { - "$ref": "#/components/schemas/security._types:UserProfile" - }, - { - "type": "object", - "properties": { - "last_synchronized": { - "type": "number" - }, - "_doc": { - "$ref": "#/components/schemas/security._types:UserProfileHitMetadata" - } - }, - "required": [ - "last_synchronized", - "_doc" - ] - } - ] - }, - "security._types:UserProfileHitMetadata": { - "type": "object", - "properties": { - "_primary_term": { - "type": "number" - }, - "_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - } - }, - "required": [ - "_primary_term", - "_seq_no" - ] - }, - "security._types:UserProfile": { - "type": "object", - "properties": { - "uid": { - "$ref": "#/components/schemas/security._types:UserProfileId" - }, - "user": { - "$ref": "#/components/schemas/security._types:UserProfileUser" - }, - "data": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "labels": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "enabled": { - "type": "boolean" - } - }, - "required": [ - "uid", - "user", - "data", - "labels" - ] - }, - "security._types:UserProfileId": { - "type": "string" - }, - "security._types:UserProfileUser": { - "type": "object", - "properties": { - "email": { - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "full_name": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Name" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "realm_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "realm_domain": { - "$ref": "#/components/schemas/_types:Name" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - }, - "username": { - "$ref": "#/components/schemas/_types:Username" - } - }, - "required": [ - "realm_name", - "roles", - "username" - ] - }, - "security._types:ApiKey": { - "type": "object", - "properties": { - "creation": { - "description": "Creation time for the API key in milliseconds.", - "type": "number" - }, - "expiration": { - "description": "Expiration time for the API key in milliseconds.", - "type": "number" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "invalidated": { - "description": "Invalidation status for the API key.\nIf the key has been invalidated, it has a value of `true`. Otherwise, it is `false`.", - "type": "boolean" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "realm": { - "description": "Realm name of the principal for which this API key was created.", - "type": "string" - }, - "username": { - "$ref": "#/components/schemas/_types:Username" - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "role_descriptors": { - "description": "The role descriptors assigned to this API key when it was created or last updated.\nAn empty role descriptor means the API key inherits the owner user’s permissions.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:RoleDescriptor" - } - }, - "limited_by": { - "description": "The owner user’s permissions associated with the API key.\nIt is a point-in-time snapshot captured at creation and subsequent updates.\nAn API key’s effective permissions are an intersection of its assigned privileges and the owner user’s permissions.", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:RoleDescriptor" - } - } - }, - "_sort": { - "$ref": "#/components/schemas/_types:SortResults" - } - }, - "required": [ - "id", - "name" - ] - }, - "security._types:RoleDescriptor": { - "type": "object", - "properties": { - "cluster": { - "description": "A list of cluster privileges. These privileges define the cluster level actions that API keys are able to execute.", - "type": "array", - "items": { - "type": "string" - } - }, - "indices": { - "description": "A list of indices permissions entries.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:IndicesPrivileges" - } - }, - "global": { - "description": "An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware. Support for global privileges is currently limited to the management of application privileges.", - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:GlobalPrivilege" - } - }, - { - "$ref": "#/components/schemas/security._types:GlobalPrivilege" - } - ] - }, - "applications": { - "description": "A list of application privilege entries", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:ApplicationPrivileges" - } - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "run_as": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/run-as-privilege.html" - }, - "description": "A list of users that the API keys can impersonate.", - "type": "array", - "items": { - "type": "string" - } - }, - "transient_metadata": { - "$ref": "#/components/schemas/security._types:TransientMetadataConfig" - } - } - }, - "security._types:IndicesPrivileges": { - "type": "object", - "properties": { - "field_security": { - "$ref": "#/components/schemas/security._types:FieldSecurity" - }, - "names": { - "$ref": "#/components/schemas/_types:Indices" - }, - "privileges": { - "description": "The index level privileges that owners of the role have on the specified indices.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:IndexPrivilege" - } - }, - "query": { - "$ref": "#/components/schemas/security._types:IndicesPrivilegesQuery" - }, - "allow_restricted_indices": { - "description": "Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`.", - "type": "boolean" - } - }, - "required": [ - "names", - "privileges" - ] - }, - "security._types:FieldSecurity": { - "type": "object", - "properties": { - "except": { - "$ref": "#/components/schemas/_types:Fields" - }, - "grant": { - "$ref": "#/components/schemas/_types:Fields" - } - } - }, - "security._types:IndexPrivilege": { - "type": "string", - "enum": [ - "none", - "all", - "auto_configure", - "create", - "create_doc", - "create_index", - "delete", - "delete_index", - "index", - "maintenance", - "manage", - "manage_follow_index", - "manage_ilm", - "manage_leader_index", - "monitor", - "read", - "read_cross_cluster", - "view_index_metadata", - "write" - ] - }, - "security._types:IndicesPrivilegesQuery": { - "description": "While creating or updating a role you can provide either a JSON structure or a string to the API.\nHowever, the response provided by Elasticsearch will only be string with a json-as-text content.\n\nSince this is embedded in `IndicesPrivileges`, the same structure is used for clarity in both contexts.", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - { - "$ref": "#/components/schemas/security._types:RoleTemplateQuery" - } - ] - }, - "security._types:RoleTemplateQuery": { - "type": "object", - "properties": { - "template": { - "$ref": "#/components/schemas/security._types:RoleTemplateScript" - } - } - }, - "security._types:RoleTemplateScript": { - "oneOf": [ - { - "$ref": "#/components/schemas/security._types:RoleTemplateInlineScript" - }, - { - "$ref": "#/components/schemas/_types:StoredScriptId" - } - ] - }, - "security._types:RoleTemplateInlineScript": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:ScriptBase" - }, - { - "type": "object", - "properties": { - "lang": { - "$ref": "#/components/schemas/_types:ScriptLanguage" - }, - "options": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "source": { - "$ref": "#/components/schemas/security._types:RoleTemplateInlineQuery" - } - }, - "required": [ - "source" - ] - } - ] - }, - "security._types:RoleTemplateInlineQuery": { - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - ] - }, - "security._types:GlobalPrivilege": { - "type": "object", - "properties": { - "application": { - "$ref": "#/components/schemas/security._types:ApplicationGlobalUserPrivileges" - } - }, - "required": [ - "application" - ] - }, - "security._types:ApplicationGlobalUserPrivileges": { - "type": "object", - "properties": { - "manage": { - "$ref": "#/components/schemas/security._types:ManageUserPrivileges" - } - }, - "required": [ - "manage" - ] - }, - "security._types:ManageUserPrivileges": { - "type": "object", - "properties": { - "applications": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "applications" - ] - }, - "security._types:ApplicationPrivileges": { - "type": "object", - "properties": { - "application": { - "description": "The name of the application to which this entry applies.", - "type": "string" - }, - "privileges": { - "description": "A list of strings, where each element is the name of an application privilege or action.", - "type": "array", - "items": { - "type": "string" - } - }, - "resources": { - "description": "A list resources to which the privileges are applied.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "application", - "privileges", - "resources" - ] - }, - "security._types:TransientMetadataConfig": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - }, - "required": [ - "enabled" - ] - }, - "security._types:RealmInfo": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name", - "type" - ] - }, - "security.authenticate:Token": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name" - ] - }, - "security._types:ClusterNode": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "required": [ - "name" - ] - }, - "_types:Namespace": { - "type": "string" - }, - "_types:Service": { - "type": "string" - }, - "security.create_service_token:Token": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "value": { - "type": "string" - } - }, - "required": [ - "name", - "value" - ] - }, - "security.delete_privileges:FoundStatus": { - "type": "object", - "properties": { - "found": { - "type": "boolean" - } - }, - "required": [ - "found" - ] - }, - "security.enroll_kibana:Token": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "name", - "value" - ] - }, - "security.put_privileges:Actions": { - "type": "object", - "properties": { - "actions": { - "type": "array", - "items": { - "type": "string" - } - }, - "application": { - "type": "string" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - } - }, - "required": [ - "actions" - ] - }, - "security.get_role:Role": { - "type": "object", - "properties": { - "cluster": { - "type": "array", - "items": { - "type": "string" - } - }, - "indices": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:IndicesPrivileges" - } - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "run_as": { - "type": "array", - "items": { - "type": "string" - } - }, - "transient_metadata": { - "$ref": "#/components/schemas/security._types:TransientMetadataConfig" - }, - "applications": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:ApplicationPrivileges" - } - }, - "role_templates": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security.get_role:RoleTemplate" - } - }, - "global": { - "type": "object", - "additionalProperties": { - "type": "object", - "additionalProperties": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - }, - "required": [ - "cluster", - "indices", - "metadata", - "run_as", - "transient_metadata", - "applications" - ] - }, - "security.get_role:RoleTemplate": { - "type": "object", - "properties": { - "format": { - "$ref": "#/components/schemas/security.get_role:TemplateFormat" - }, - "template": { - "$ref": "#/components/schemas/_types:Script" - } - }, - "required": [ - "template" - ] - }, - "security.get_role:TemplateFormat": { - "type": "string", - "enum": [ - "string", - "json" - ] - }, - "security._types:RoleMapping": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - }, - "rules": { - "$ref": "#/components/schemas/security._types:RoleMappingRule" - }, - "role_templates": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security.get_role:RoleTemplate" - } - } - }, - "required": [ - "enabled", - "metadata", - "roles", - "rules" - ] - }, - "security._types:RoleMappingRule": { - "type": "object", - "properties": { - "any": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:RoleMappingRule" - } - }, - "all": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:RoleMappingRule" - } - }, - "field": { - "$ref": "#/components/schemas/security._types:FieldRule" - }, - "except": { - "$ref": "#/components/schemas/security._types:RoleMappingRule" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "security._types:FieldRule": { - "type": "object", - "properties": { - "username": { - "$ref": "#/components/schemas/_types:Name" - }, - "dn": { - "$ref": "#/components/schemas/_types:Names" - }, - "groups": { - "$ref": "#/components/schemas/_types:Names" - }, - "metadata": { - "type": "object" - }, - "realm": { - "$ref": "#/components/schemas/security._types:Realm" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "security._types:Realm": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "required": [ - "name" - ] - }, - "security.get_service_accounts:RoleDescriptorWrapper": { - "type": "object", - "properties": { - "role_descriptor": { - "$ref": "#/components/schemas/security._types:RoleDescriptorRead" - } - }, - "required": [ - "role_descriptor" - ] - }, - "security._types:RoleDescriptorRead": { - "type": "object", - "properties": { - "cluster": { - "description": "A list of cluster privileges. These privileges define the cluster level actions that API keys are able to execute.", - "type": "array", - "items": { - "type": "string" - } - }, - "indices": { - "description": "A list of indices permissions entries.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:IndicesPrivileges" - } - }, - "global": { - "description": "An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware. Support for global privileges is currently limited to the management of application privileges.", - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:GlobalPrivilege" - } - }, - { - "$ref": "#/components/schemas/security._types:GlobalPrivilege" - } - ] - }, - "applications": { - "description": "A list of application privilege entries", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:ApplicationPrivileges" - } - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "run_as": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/run-as-privilege.html" - }, - "description": "A list of users that the API keys can impersonate.", - "type": "array", - "items": { - "type": "string" - } - }, - "transient_metadata": { - "$ref": "#/components/schemas/security._types:TransientMetadataConfig" - } - }, - "required": [ - "cluster", - "indices" - ] - }, - "security.get_service_credentials:NodesCredentials": { - "type": "object", - "properties": { - "_nodes": { - "$ref": "#/components/schemas/_types:NodeStatistics" - }, - "file_tokens": { - "description": "File-backed tokens collected from all nodes", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security.get_service_credentials:NodesCredentialsFileToken" - } - } - }, - "required": [ - "_nodes", - "file_tokens" - ] - }, - "security.get_service_credentials:NodesCredentialsFileToken": { - "type": "object", - "properties": { - "nodes": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "nodes" - ] - }, - "security.get_token:AccessTokenGrantType": { - "type": "string", - "enum": [ - "password", - "client_credentials", - "_kerberos", - "refresh_token" - ] - }, - "security.get_token:AuthenticatedUser": { - "allOf": [ - { - "$ref": "#/components/schemas/security._types:User" - }, - { - "type": "object", - "properties": { - "authentication_realm": { - "$ref": "#/components/schemas/security.get_token:UserRealm" - }, - "lookup_realm": { - "$ref": "#/components/schemas/security.get_token:UserRealm" - }, - "authentication_provider": { - "$ref": "#/components/schemas/security.get_token:AuthenticationProvider" - }, - "authentication_type": { - "type": "string" - } - }, - "required": [ - "authentication_realm", - "lookup_realm", - "authentication_type" - ] - } - ] - }, - "security.get_token:UserRealm": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name", - "type" - ] - }, - "security.get_token:AuthenticationProvider": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "required": [ - "type", - "name" - ] - }, - "security._types:User": { - "type": "object", - "properties": { - "email": { - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "full_name": { - "oneOf": [ - { - "$ref": "#/components/schemas/_types:Name" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - }, - "username": { - "$ref": "#/components/schemas/_types:Username" - }, - "enabled": { - "type": "boolean" - }, - "profile_uid": { - "$ref": "#/components/schemas/security._types:UserProfileId" - } - }, - "required": [ - "metadata", - "roles", - "username", - "enabled" - ] - }, - "security._types:UserIndicesPrivileges": { - "type": "object", - "properties": { - "field_security": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/field-and-document-access-control.html" - }, - "description": "The document fields that the owners of the role have read access to.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:FieldSecurity" - } - }, - "names": { - "$ref": "#/components/schemas/_types:Indices" - }, - "privileges": { - "description": "The index level privileges that owners of the role have on the specified indices.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:IndexPrivilege" - } - }, - "query": { - "description": "Search queries that define the documents the user has access to. A document within the specified indices must match these queries for it to be accessible by the owners of the role.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:IndicesPrivilegesQuery" - } - }, - "allow_restricted_indices": { - "description": "Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`.", - "type": "boolean" - } - }, - "required": [ - "names", - "privileges", - "allow_restricted_indices" - ] - }, - "security.get_user_profile:GetUserProfileErrors": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "details": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ErrorCause" - } - } - }, - "required": [ - "count", - "details" - ] - }, - "security.grant_api_key:GrantApiKey": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "expiration": { - "$ref": "#/components/schemas/_types:DurationLarge" - }, - "role_descriptors": { - "description": "The role descriptors for this API key.\nThis parameter is optional.\nWhen it is not specified or is an empty array, the API key has a point in time snapshot of permissions of the specified user or access token.\nIf you supply role descriptors, the resultant permissions are an intersection of API keys permissions and the permissions of the user or access token.", - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:RoleDescriptor" - } - }, - { - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security._types:RoleDescriptor" - } - } - } - ] - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - } - }, - "required": [ - "name" - ] - }, - "security.grant_api_key:ApiKeyGrantType": { - "type": "string", - "enum": [ - "access_token", - "password" - ] - }, - "security.has_privileges:ApplicationPrivilegesCheck": { - "type": "object", - "properties": { - "application": { - "description": "The name of the application.", - "type": "string" - }, - "privileges": { - "description": "A list of the privileges that you want to check for the specified resources. May be either application privilege names, or the names of actions that are granted by those privileges", - "type": "array", - "items": { - "type": "string" - } - }, - "resources": { - "description": "A list of resource names against which the privileges should be checked", - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "application", - "privileges", - "resources" - ] - }, - "security._types:ClusterPrivilege": { - "type": "string", - "enum": [ - "all", - "cancel_task", - "create_snapshot", - "grant_api_key", - "manage", - "manage_api_key", - "manage_ccr", - "manage_enrich", - "manage_ilm", - "manage_index_templates", - "manage_ingest_pipelines", - "manage_logstash_pipelines", - "manage_ml", - "manage_oidc", - "manage_own_api_key", - "manage_pipeline", - "manage_rollup", - "manage_saml", - "manage_security", - "manage_service_account", - "manage_slm", - "manage_token", - "manage_transform", - "manage_user_profile", - "manage_watcher", - "monitor", - "monitor_ml", - "monitor_rollup", - "monitor_snapshot", - "monitor_text_structure", - "monitor_transform", - "monitor_watcher", - "read_ccr", - "read_ilm", - "read_pipeline", - "read_slm", - "transport_client" - ] - }, - "security.has_privileges:IndexPrivilegesCheck": { - "type": "object", - "properties": { - "names": { - "$ref": "#/components/schemas/_types:Indices" - }, - "privileges": { - "description": "A list of the privileges that you want to check for the specified indices.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:IndexPrivilege" - } - }, - "allow_restricted_indices": { - "description": "This needs to be set to true (default is false) if using wildcards or regexps for patterns that cover restricted indices.\nImplicitly, restricted indices do not match index patterns because restricted indices usually have limited privileges and including them in pattern tests would render most such tests false.\nIf restricted indices are explicitly included in the names list, privileges will be checked against them regardless of the value of allow_restricted_indices.", - "type": "boolean" - } - }, - "required": [ - "names", - "privileges" - ] - }, - "security.has_privileges:ApplicationsPrivileges": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security.has_privileges:ResourcePrivileges" - } - }, - "security.has_privileges:ResourcePrivileges": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/security.has_privileges:Privileges" - } - }, - "security.has_privileges:Privileges": { - "type": "object", - "additionalProperties": { - "type": "boolean" - } - }, - "security.has_privileges_user_profile:PrivilegesCheck": { - "type": "object", - "properties": { - "application": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security.has_privileges:ApplicationPrivilegesCheck" - } - }, - "cluster": { - "description": "A list of the cluster privileges that you want to check.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:ClusterPrivilege" - } - }, - "index": { - "type": "array", - "items": { - "$ref": "#/components/schemas/security.has_privileges:IndexPrivilegesCheck" - } - } - } - }, - "security.has_privileges_user_profile:HasPrivilegesUserProfileErrors": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "details": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:ErrorCause" - } - } - }, - "required": [ - "count", - "details" - ] - }, - "security._types:CreatedStatus": { - "type": "object", - "properties": { - "created": { - "type": "boolean" - } - }, - "required": [ - "created" - ] - }, - "security.suggest_user_profiles:Hint": { - "type": "object", - "properties": { - "uids": { - "description": "A list of Profile UIDs to match against.", - "type": "array", - "items": { - "$ref": "#/components/schemas/security._types:UserProfileId" - } - }, - "labels": { - "description": "A single key-value pair to match against the labels section\nof a profile. A profile is considered matching if it matches\nat least one of the strings.", - "type": "object", - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - } - }, - "security.suggest_user_profiles:TotalUserProfiles": { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "relation": { - "$ref": "#/components/schemas/_types:RelationName" - } - }, - "required": [ - "value", - "relation" - ] - }, - "shutdown.get_node:NodeShutdownStatus": { - "type": "object", - "properties": { - "node_id": { - "$ref": "#/components/schemas/_types:NodeId" - }, - "type": { - "$ref": "#/components/schemas/shutdown.get_node:ShutdownType" - }, - "reason": { - "type": "string" - }, - "shutdown_startedmillis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "status": { - "$ref": "#/components/schemas/shutdown.get_node:ShutdownStatus" - }, - "shard_migration": { - "$ref": "#/components/schemas/shutdown.get_node:ShardMigrationStatus" - }, - "persistent_tasks": { - "$ref": "#/components/schemas/shutdown.get_node:PersistentTaskStatus" - }, - "plugins": { - "$ref": "#/components/schemas/shutdown.get_node:PluginsStatus" - } - }, - "required": [ - "node_id", - "type", - "reason", - "shutdown_startedmillis", - "status", - "shard_migration", - "persistent_tasks", - "plugins" - ] - }, - "shutdown.get_node:ShutdownType": { - "type": "string", - "enum": [ - "remove", - "restart" - ] - }, - "shutdown.get_node:ShutdownStatus": { - "type": "string", - "enum": [ - "not_started", - "in_progress", - "stalled", - "complete" - ] - }, - "shutdown.get_node:ShardMigrationStatus": { - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/shutdown.get_node:ShutdownStatus" - } - }, - "required": [ - "status" - ] - }, - "shutdown.get_node:PersistentTaskStatus": { - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/shutdown.get_node:ShutdownStatus" - } - }, - "required": [ - "status" - ] - }, - "shutdown.get_node:PluginsStatus": { - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/shutdown.get_node:ShutdownStatus" - } - }, - "required": [ - "status" - ] - }, - "shutdown._types:Type": { - "type": "string", - "enum": [ - "restart", - "remove", - "replace" - ] - }, - "slm._types:SnapshotLifecycle": { - "type": "object", - "properties": { - "in_progress": { - "$ref": "#/components/schemas/slm._types:InProgress" - }, - "last_failure": { - "$ref": "#/components/schemas/slm._types:Invocation" - }, - "last_success": { - "$ref": "#/components/schemas/slm._types:Invocation" - }, - "modified_date": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "modified_date_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "next_execution": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "next_execution_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "policy": { - "$ref": "#/components/schemas/slm._types:Policy" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "stats": { - "$ref": "#/components/schemas/slm._types:Statistics" - } - }, - "required": [ - "modified_date_millis", - "next_execution_millis", - "policy", - "version", - "stats" - ] - }, - "slm._types:InProgress": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "start_time_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "state": { - "type": "string" - }, - "uuid": { - "$ref": "#/components/schemas/_types:Uuid" - } - }, - "required": [ - "name", - "start_time_millis", - "state", - "uuid" - ] - }, - "slm._types:Invocation": { - "type": "object", - "properties": { - "snapshot_name": { - "$ref": "#/components/schemas/_types:Name" - }, - "time": { - "$ref": "#/components/schemas/_types:DateTime" - } - }, - "required": [ - "snapshot_name", - "time" - ] - }, - "slm._types:Policy": { - "type": "object", - "properties": { - "config": { - "$ref": "#/components/schemas/slm._types:Configuration" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "repository": { - "type": "string" - }, - "retention": { - "$ref": "#/components/schemas/slm._types:Retention" - }, - "schedule": { - "$ref": "#/components/schemas/watcher._types:CronExpression" - } - }, - "required": [ - "name", - "repository", - "schedule" - ] - }, - "slm._types:Configuration": { - "type": "object", - "properties": { - "ignore_unavailable": { - "description": "If false, the snapshot fails if any data stream or index in indices is missing or closed. If true, the snapshot ignores missing or closed data streams and indices.", - "type": "boolean" - }, - "indices": { - "$ref": "#/components/schemas/_types:Indices" - }, - "include_global_state": { - "description": "If true, the current global state is included in the snapshot.", - "type": "boolean" - }, - "feature_states": { - "description": "A list of feature states to be included in this snapshot. A list of features available for inclusion in the snapshot and their descriptions be can be retrieved using the get features API.\nEach feature state includes one or more system indices containing data necessary for the function of that feature. Providing an empty array will include no feature states in the snapshot, regardless of the value of include_global_state. By default, all available feature states will be included in the snapshot if include_global_state is true, or no feature states if include_global_state is false.", - "type": "array", - "items": { - "type": "string" - } - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "partial": { - "description": "If false, the entire snapshot will fail if one or more indices included in the snapshot do not have all primary shards available.", - "type": "boolean" - } - } - }, - "slm._types:Retention": { - "type": "object", - "properties": { - "expire_after": { - "$ref": "#/components/schemas/_types:Duration" - }, - "max_count": { - "description": "Maximum number of snapshots to retain, even if the snapshots have not yet expired. If the number of snapshots in the repository exceeds this limit, the policy retains the most recent snapshots and deletes older snapshots.", - "type": "number" - }, - "min_count": { - "description": "Minimum number of snapshots to retain, even if the snapshots have expired.", - "type": "number" - } - }, - "required": [ - "expire_after", - "max_count", - "min_count" - ] - }, - "watcher._types:CronExpression": { - "externalDocs": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/api-conventions.html#api-cron-expressions" - }, - "type": "string" - }, - "slm._types:Statistics": { - "type": "object", - "properties": { - "retention_deletion_time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "retention_deletion_time_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "retention_failed": { - "type": "number" - }, - "retention_runs": { - "type": "number" - }, - "retention_timed_out": { - "type": "number" - }, - "policy": { - "$ref": "#/components/schemas/_types:Id" - }, - "total_snapshots_deleted": { - "type": "number" - }, - "total_snapshot_deletion_failures": { - "type": "number" - }, - "total_snapshots_failed": { - "type": "number" - }, - "total_snapshots_taken": { - "type": "number" - } - } - }, - "snapshot.cleanup_repository:CleanupRepositoryResults": { - "type": "object", - "properties": { - "deleted_blobs": { - "description": "Number of binary large objects (blobs) removed during cleanup.", - "type": "number" - }, - "deleted_bytes": { - "description": "Number of bytes freed by cleanup operations.", - "type": "number" - } - }, - "required": [ - "deleted_blobs", - "deleted_bytes" - ] - }, - "snapshot._types:SnapshotInfo": { - "type": "object", - "properties": { - "data_streams": { - "type": "array", - "items": { - "type": "string" - } - }, - "duration": { - "$ref": "#/components/schemas/_types:Duration" - }, - "duration_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "end_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "end_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "failures": { - "type": "array", - "items": { - "$ref": "#/components/schemas/snapshot._types:SnapshotShardFailure" - } - }, - "include_global_state": { - "type": "boolean" - }, - "indices": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:IndexName" - } - }, - "index_details": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/snapshot._types:IndexDetails" - } - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "reason": { - "type": "string" - }, - "repository": { - "$ref": "#/components/schemas/_types:Name" - }, - "snapshot": { - "$ref": "#/components/schemas/_types:Name" - }, - "shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - }, - "start_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "start_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "state": { - "type": "string" - }, - "uuid": { - "$ref": "#/components/schemas/_types:Uuid" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "version_id": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "feature_states": { - "type": "array", - "items": { - "$ref": "#/components/schemas/snapshot._types:InfoFeatureState" - } - } - }, - "required": [ - "data_streams", - "snapshot", - "uuid" - ] - }, - "snapshot._types:SnapshotShardFailure": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "node_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "reason": { - "type": "string" - }, - "shard_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "status": { - "type": "string" - } - }, - "required": [ - "index", - "reason", - "shard_id", - "status" - ] - }, - "snapshot._types:IndexDetails": { - "type": "object", - "properties": { - "shard_count": { - "type": "number" - }, - "size": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "size_in_bytes": { - "type": "number" - }, - "max_segments_per_shard": { - "type": "number" - } - }, - "required": [ - "shard_count", - "size_in_bytes", - "max_segments_per_shard" - ] - }, - "snapshot._types:InfoFeatureState": { - "type": "object", - "properties": { - "feature_name": { - "type": "string" - }, - "indices": { - "$ref": "#/components/schemas/_types:Indices" - } - }, - "required": [ - "feature_name", - "indices" - ] - }, - "snapshot._types:Repository": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "uuid": { - "$ref": "#/components/schemas/_types:Uuid" - }, - "settings": { - "$ref": "#/components/schemas/snapshot._types:RepositorySettings" - } - }, - "required": [ - "type", - "settings" - ] - }, - "snapshot._types:RepositorySettings": { - "type": "object", - "properties": { - "chunk_size": { - "type": "string" - }, - "compress": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "boolean" - } - ] - }, - "concurrent_streams": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "location": { - "type": "string" - }, - "read_only": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "location" - ] - }, - "snapshot._types:SnapshotSort": { - "type": "string", - "enum": [ - "start_time", - "duration", - "name", - "index_count", - "repository", - "shard_count", - "failed_shard_count" - ] - }, - "snapshot.get:SnapshotResponseItem": { - "type": "object", - "properties": { - "repository": { - "$ref": "#/components/schemas/_types:Name" - }, - "snapshots": { - "type": "array", - "items": { - "$ref": "#/components/schemas/snapshot._types:SnapshotInfo" - } - }, - "error": { - "$ref": "#/components/schemas/_types:ErrorCause" - } - }, - "required": [ - "repository" - ] - }, - "snapshot.restore:SnapshotRestore": { - "type": "object", - "properties": { - "indices": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:IndexName" - } - }, - "snapshot": { - "type": "string" - }, - "shards": { - "$ref": "#/components/schemas/_types:ShardStatistics" - } - }, - "required": [ - "indices", - "snapshot", - "shards" - ] - }, - "snapshot._types:Status": { - "type": "object", - "properties": { - "include_global_state": { - "type": "boolean" - }, - "indices": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/snapshot._types:SnapshotIndexStats" - } - }, - "repository": { - "type": "string" - }, - "shards_stats": { - "$ref": "#/components/schemas/snapshot._types:ShardsStats" - }, - "snapshot": { - "type": "string" - }, - "state": { - "type": "string" - }, - "stats": { - "$ref": "#/components/schemas/snapshot._types:SnapshotStats" - }, - "uuid": { - "$ref": "#/components/schemas/_types:Uuid" - } - }, - "required": [ - "include_global_state", - "indices", - "repository", - "shards_stats", - "snapshot", - "state", - "stats", - "uuid" - ] - }, - "snapshot._types:SnapshotIndexStats": { - "type": "object", - "properties": { - "shards": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/snapshot._types:SnapshotShardsStatus" - } - }, - "shards_stats": { - "$ref": "#/components/schemas/snapshot._types:ShardsStats" - }, - "stats": { - "$ref": "#/components/schemas/snapshot._types:SnapshotStats" - } - }, - "required": [ - "shards", - "shards_stats", - "stats" - ] - }, - "snapshot._types:SnapshotShardsStatus": { - "type": "object", - "properties": { - "stage": { - "$ref": "#/components/schemas/snapshot._types:ShardsStatsStage" - }, - "stats": { - "$ref": "#/components/schemas/snapshot._types:ShardsStatsSummary" - } - }, - "required": [ - "stage", - "stats" - ] - }, - "snapshot._types:ShardsStatsStage": { - "type": "string", - "enum": [ - "DONE", - "FAILURE", - "FINALIZE", - "INIT", - "STARTED" - ] - }, - "snapshot._types:ShardsStatsSummary": { - "type": "object", - "properties": { - "incremental": { - "$ref": "#/components/schemas/snapshot._types:ShardsStatsSummaryItem" - }, - "total": { - "$ref": "#/components/schemas/snapshot._types:ShardsStatsSummaryItem" - }, - "start_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "incremental", - "total", - "start_time_in_millis", - "time_in_millis" - ] - }, - "snapshot._types:ShardsStatsSummaryItem": { - "type": "object", - "properties": { - "file_count": { - "type": "number" - }, - "size_in_bytes": { - "type": "number" - } - }, - "required": [ - "file_count", - "size_in_bytes" - ] - }, - "snapshot._types:ShardsStats": { - "type": "object", - "properties": { - "done": { - "type": "number" - }, - "failed": { - "type": "number" - }, - "finalizing": { - "type": "number" - }, - "initializing": { - "type": "number" - }, - "started": { - "type": "number" - }, - "total": { - "type": "number" - } - }, - "required": [ - "done", - "failed", - "finalizing", - "initializing", - "started", - "total" - ] - }, - "snapshot._types:SnapshotStats": { - "type": "object", - "properties": { - "incremental": { - "$ref": "#/components/schemas/snapshot._types:FileCountSnapshotStats" - }, - "start_time_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "time": { - "$ref": "#/components/schemas/_types:Duration" - }, - "time_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "total": { - "$ref": "#/components/schemas/snapshot._types:FileCountSnapshotStats" - } - }, - "required": [ - "incremental", - "start_time_in_millis", - "time_in_millis", - "total" - ] - }, - "snapshot._types:FileCountSnapshotStats": { - "type": "object", - "properties": { - "file_count": { - "type": "number" - }, - "size_in_bytes": { - "type": "number" - } - }, - "required": [ - "file_count", - "size_in_bytes" - ] - }, - "snapshot.verify_repository:CompactNodeInfo": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - } - }, - "required": [ - "name" - ] - }, - "sql:Column": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name", - "type" - ] - }, - "sql:Row": { - "type": "array", - "items": { - "type": "object" - } - }, - "ssl.certificates:CertificateInformation": { - "type": "object", - "properties": { - "alias": { - "oneOf": [ - { - "type": "string" - }, - { - "nullable": true, - "type": "string" - } - ] - }, - "expiry": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "format": { - "type": "string" - }, - "has_private_key": { - "type": "boolean" - }, - "issuer": { - "type": "string" - }, - "path": { - "type": "string" - }, - "serial_number": { - "type": "string" - }, - "subject_dn": { - "type": "string" - } - }, - "required": [ - "alias", - "expiry", - "format", - "has_private_key", - "path", - "serial_number", - "subject_dn" - ] - }, - "synonyms._types:SynonymsUpdateResult": { - "type": "object", - "properties": { - "result": { - "$ref": "#/components/schemas/_types:Result" - }, - "reload_analyzers_details": { - "$ref": "#/components/schemas/indices.reload_search_analyzers:ReloadResult" - } - }, - "required": [ - "result", - "reload_analyzers_details" - ] - }, - "synonyms._types:SynonymRuleRead": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "synonyms": { - "$ref": "#/components/schemas/synonyms._types:SynonymString" - } - }, - "required": [ - "id", - "synonyms" - ] - }, - "synonyms._types:SynonymString": { - "type": "string" - }, - "synonyms.get_synonyms_sets:SynonymsSetItem": { - "type": "object", - "properties": { - "synonyms_set": { - "$ref": "#/components/schemas/_types:Id" - }, - "count": { - "description": "Number of synonym rules that the synonym set contains", - "type": "number" - } - }, - "required": [ - "synonyms_set", - "count" - ] - }, - "synonyms._types:SynonymRule": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "synonyms": { - "$ref": "#/components/schemas/synonyms._types:SynonymString" - } - }, - "required": [ - "synonyms" - ] - }, - "tasks._types:GroupBy": { - "type": "string", - "enum": [ - "nodes", - "parents", - "none" - ] - }, - "text_structure.find_structure:FieldStat": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "cardinality": { - "type": "number" - }, - "top_hits": { - "type": "array", - "items": { - "$ref": "#/components/schemas/text_structure.find_structure:TopHit" - } - }, - "mean_value": { - "type": "number" - }, - "median_value": { - "type": "number" - }, - "max_value": { - "type": "number" - }, - "min_value": { - "type": "number" - }, - "earliest": { - "type": "string" - }, - "latest": { - "type": "string" - } - }, - "required": [ - "count", - "cardinality", - "top_hits" - ] - }, - "text_structure.find_structure:TopHit": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "value": { - "type": "object" - } - }, - "required": [ - "count", - "value" - ] - }, - "ingest._types:PipelineConfig": { - "type": "object", - "properties": { - "description": { - "description": "Description of the ingest pipeline.", - "type": "string" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "processors": { - "description": "Processors used to perform transformations on documents before indexing.\nProcessors run sequentially in the order specified.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ingest._types:ProcessorContainer" - } - } - }, - "required": [ - "processors" - ] - }, - "transform.get_transform:TransformSummary": { - "type": "object", - "properties": { - "authorization": { - "$ref": "#/components/schemas/ml._types:TransformAuthorization" - }, - "create_time": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "description": { - "description": "Free text description of the transform.", - "type": "string" - }, - "dest": { - "$ref": "#/components/schemas/_global.reindex:Destination" - }, - "frequency": { - "$ref": "#/components/schemas/_types:Duration" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "latest": { - "$ref": "#/components/schemas/transform._types:Latest" - }, - "pivot": { - "$ref": "#/components/schemas/transform._types:Pivot" - }, - "retention_policy": { - "$ref": "#/components/schemas/transform._types:RetentionPolicyContainer" - }, - "settings": { - "$ref": "#/components/schemas/transform._types:Settings" - }, - "source": { - "$ref": "#/components/schemas/transform._types:Source" - }, - "sync": { - "$ref": "#/components/schemas/transform._types:SyncContainer" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "_meta": { - "$ref": "#/components/schemas/_types:Metadata" - } - }, - "required": [ - "dest", - "id", - "source" - ] - }, - "ml._types:TransformAuthorization": { - "type": "object", - "properties": { - "api_key": { - "$ref": "#/components/schemas/ml._types:ApiKeyAuthorization" - }, - "roles": { - "description": "If a user ID was used for the most recent update to the transform, its roles at the time of the update are listed in the response.", - "type": "array", - "items": { - "type": "string" - } - }, - "service_account": { - "description": "If a service account was used for the most recent update to the transform, the account name is listed in the response.", - "type": "string" - } - } - }, - "transform._types:Latest": { - "type": "object", - "properties": { - "sort": { - "$ref": "#/components/schemas/_types:Field" - }, - "unique_key": { - "description": "Specifies an array of one or more fields that are used to group the data.", - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:Field" - } - } - }, - "required": [ - "sort", - "unique_key" - ] - }, - "transform._types:Pivot": { - "type": "object", - "properties": { - "aggregations": { - "description": "Defines how to aggregate the grouped data. The following aggregations are currently supported: average, bucket\nscript, bucket selector, cardinality, filter, geo bounds, geo centroid, geo line, max, median absolute deviation,\nmin, missing, percentiles, rare terms, scripted metric, stats, sum, terms, top metrics, value count, weighted\naverage.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types.aggregations:AggregationContainer" - } - }, - "group_by": { - "description": "Defines how to group the data. More than one grouping can be defined per pivot. The following groupings are\ncurrently supported: date histogram, geotile grid, histogram, terms.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/transform._types:PivotGroupByContainer" - } - } - } - }, - "transform._types:PivotGroupByContainer": { - "type": "object", - "properties": { - "date_histogram": { - "$ref": "#/components/schemas/_types.aggregations:DateHistogramAggregation" - }, - "geotile_grid": { - "$ref": "#/components/schemas/_types.aggregations:GeoTileGridAggregation" - }, - "histogram": { - "$ref": "#/components/schemas/_types.aggregations:HistogramAggregation" - }, - "terms": { - "$ref": "#/components/schemas/_types.aggregations:TermsAggregation" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "transform._types:RetentionPolicyContainer": { - "type": "object", - "properties": { - "time": { - "$ref": "#/components/schemas/transform._types:RetentionPolicy" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "transform._types:RetentionPolicy": { - "type": "object", - "properties": { - "field": { - "$ref": "#/components/schemas/_types:Field" - }, - "max_age": { - "$ref": "#/components/schemas/_types:Duration" - } - }, - "required": [ - "field", - "max_age" - ] - }, - "transform._types:Settings": { - "type": "object", - "properties": { - "align_checkpoints": { - "description": "Specifies whether the transform checkpoint ranges should be optimized for performance. Such optimization can align\ncheckpoint ranges with the date histogram interval when date histogram is specified as a group source in the\ntransform config. As a result, less document updates in the destination index will be performed thus improving\noverall performance.", - "type": "boolean" - }, - "dates_as_epoch_millis": { - "description": "Defines if dates in the ouput should be written as ISO formatted string or as millis since epoch. epoch_millis was\nthe default for transforms created before version 7.11. For compatible output set this value to `true`.", - "type": "boolean" - }, - "deduce_mappings": { - "description": "Specifies whether the transform should deduce the destination index mappings from the transform configuration.", - "type": "boolean" - }, - "docs_per_second": { - "description": "Specifies a limit on the number of input documents per second. This setting throttles the transform by adding a\nwait time between search requests. The default value is null, which disables throttling.", - "type": "number" - }, - "max_page_search_size": { - "description": "Defines the initial page size to use for the composite aggregation for each checkpoint. If circuit breaker\nexceptions occur, the page size is dynamically adjusted to a lower value. The minimum value is `10` and the\nmaximum is `65,536`.", - "type": "number" - }, - "unattended": { - "description": "If `true`, the transform runs in unattended mode. In unattended mode, the transform retries indefinitely in case\nof an error which means the transform never fails. Setting the number of retries other than infinite fails in\nvalidation.", - "type": "boolean" - } - } - }, - "transform._types:Source": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:Indices" - }, - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - }, - "runtime_mappings": { - "$ref": "#/components/schemas/_types.mapping:RuntimeFields" - } - }, - "required": [ - "index" - ] - }, - "transform._types:SyncContainer": { - "type": "object", - "properties": { - "time": { - "$ref": "#/components/schemas/transform._types:TimeSync" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "transform._types:TimeSync": { - "type": "object", - "properties": { - "delay": { - "$ref": "#/components/schemas/_types:Duration" - }, - "field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "field" - ] - }, - "transform.get_transform_stats:TransformStats": { - "type": "object", - "properties": { - "checkpointing": { - "$ref": "#/components/schemas/transform.get_transform_stats:Checkpointing" - }, - "health": { - "$ref": "#/components/schemas/transform.get_transform_stats:TransformStatsHealth" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "node": { - "$ref": "#/components/schemas/_types:NodeAttributes" - }, - "reason": { - "type": "string" - }, - "state": { - "type": "string" - }, - "stats": { - "$ref": "#/components/schemas/transform.get_transform_stats:TransformIndexerStats" - } - }, - "required": [ - "checkpointing", - "id", - "state", - "stats" - ] - }, - "transform.get_transform_stats:Checkpointing": { - "type": "object", - "properties": { - "changes_last_detected_at": { - "type": "number" - }, - "changes_last_detected_at_date_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "last": { - "$ref": "#/components/schemas/transform.get_transform_stats:CheckpointStats" - }, - "next": { - "$ref": "#/components/schemas/transform.get_transform_stats:CheckpointStats" - }, - "operations_behind": { - "type": "number" - }, - "last_search_time": { - "type": "number" - } - }, - "required": [ - "last" - ] - }, - "transform.get_transform_stats:CheckpointStats": { - "type": "object", - "properties": { - "checkpoint": { - "type": "number" - }, - "checkpoint_progress": { - "$ref": "#/components/schemas/transform.get_transform_stats:TransformProgress" - }, - "timestamp": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "timestamp_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "time_upper_bound": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "time_upper_bound_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - } - }, - "required": [ - "checkpoint" - ] - }, - "transform.get_transform_stats:TransformProgress": { - "type": "object", - "properties": { - "docs_indexed": { - "type": "number" - }, - "docs_processed": { - "type": "number" - }, - "docs_remaining": { - "type": "number" - }, - "percent_complete": { - "type": "number" - }, - "total_docs": { - "type": "number" - } - }, - "required": [ - "docs_indexed", - "docs_processed", - "docs_remaining", - "percent_complete", - "total_docs" - ] - }, - "transform.get_transform_stats:TransformStatsHealth": { - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/_types:HealthStatus" - } - }, - "required": [ - "status" - ] - }, - "transform.get_transform_stats:TransformIndexerStats": { - "type": "object", - "properties": { - "delete_time_in_ms": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "documents_indexed": { - "type": "number" - }, - "documents_deleted": { - "type": "number" - }, - "documents_processed": { - "type": "number" - }, - "exponential_avg_checkpoint_duration_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitFloatMillis" - }, - "exponential_avg_documents_indexed": { - "type": "number" - }, - "exponential_avg_documents_processed": { - "type": "number" - }, - "index_failures": { - "type": "number" - }, - "index_time_in_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "index_total": { - "type": "number" - }, - "pages_processed": { - "type": "number" - }, - "processing_time_in_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "processing_total": { - "type": "number" - }, - "search_failures": { - "type": "number" - }, - "search_time_in_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "search_total": { - "type": "number" - }, - "trigger_count": { - "type": "number" - } - }, - "required": [ - "documents_indexed", - "documents_processed", - "exponential_avg_checkpoint_duration_ms", - "exponential_avg_documents_indexed", - "exponential_avg_documents_processed", - "index_failures", - "index_time_in_ms", - "index_total", - "pages_processed", - "processing_time_in_ms", - "processing_total", - "search_failures", - "search_time_in_ms", - "search_total", - "trigger_count" - ] - }, - "transform._types:Destination": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "pipeline": { - "description": "The unique identifier for an ingest pipeline.", - "type": "string" - } - } - }, - "_global.update:UpdateWriteResponseBase": { - "allOf": [ - { - "$ref": "#/components/schemas/_types:WriteResponseBase" - }, - { - "type": "object", - "properties": { - "get": { - "$ref": "#/components/schemas/_types:InlineGet" - } - } - } - ] - }, - "_global.update_by_query_rethrottle:UpdateByQueryRethrottleNode": { - "allOf": [ - { - "$ref": "#/components/schemas/_spec_utils:BaseNode" - }, - { - "type": "object", - "properties": { - "tasks": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/tasks._types:TaskInfo" - } - } - }, - "required": [ - "tasks" - ] - } - ] - }, - "watcher._types:WatchStatus": { - "type": "object", - "properties": { - "actions": { - "$ref": "#/components/schemas/watcher._types:Actions" - }, - "last_checked": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "last_met_condition": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "state": { - "$ref": "#/components/schemas/watcher._types:ActivationState" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - }, - "execution_state": { - "type": "string" - } - }, - "required": [ - "actions", - "state", - "version" - ] - }, - "watcher._types:Actions": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/watcher._types:ActionStatus" - } - }, - "watcher._types:ActionStatus": { - "type": "object", - "properties": { - "ack": { - "$ref": "#/components/schemas/watcher._types:AcknowledgeState" - }, - "last_execution": { - "$ref": "#/components/schemas/watcher._types:ExecutionState" - }, - "last_successful_execution": { - "$ref": "#/components/schemas/watcher._types:ExecutionState" - }, - "last_throttle": { - "$ref": "#/components/schemas/watcher._types:ThrottleState" - } - }, - "required": [ - "ack" - ] - }, - "watcher._types:AcknowledgeState": { - "type": "object", - "properties": { - "state": { - "$ref": "#/components/schemas/watcher._types:AcknowledgementOptions" - }, - "timestamp": { - "$ref": "#/components/schemas/_types:DateTime" - } - }, - "required": [ - "state", - "timestamp" - ] - }, - "watcher._types:AcknowledgementOptions": { - "type": "string", - "enum": [ - "awaits_successful_execution", - "ackable", - "acked" - ] - }, - "watcher._types:ExecutionState": { - "type": "object", - "properties": { - "successful": { - "type": "boolean" - }, - "timestamp": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "reason": { - "type": "string" - } - }, - "required": [ - "successful", - "timestamp" - ] - }, - "watcher._types:ThrottleState": { - "type": "object", - "properties": { - "reason": { - "type": "string" - }, - "timestamp": { - "$ref": "#/components/schemas/_types:DateTime" - } - }, - "required": [ - "reason", - "timestamp" - ] - }, - "watcher._types:ActivationState": { - "type": "object", - "properties": { - "active": { - "type": "boolean" - }, - "timestamp": { - "$ref": "#/components/schemas/_types:DateTime" - } - }, - "required": [ - "active", - "timestamp" - ] - }, - "watcher._types:ActivationStatus": { - "type": "object", - "properties": { - "actions": { - "$ref": "#/components/schemas/watcher._types:Actions" - }, - "state": { - "$ref": "#/components/schemas/watcher._types:ActivationState" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - } - }, - "required": [ - "actions", - "state", - "version" - ] - }, - "watcher._types:ActionExecutionMode": { - "type": "string", - "enum": [ - "simulate", - "force_simulate", - "execute", - "force_execute", - "skip" - ] - }, - "watcher._types:SimulatedActions": { - "type": "object", - "properties": { - "actions": { - "type": "array", - "items": { - "type": "string" - } - }, - "all": { - "$ref": "#/components/schemas/watcher._types:SimulatedActions" - }, - "use_all": { - "type": "boolean" - } - }, - "required": [ - "actions", - "all", - "use_all" - ] - }, - "watcher._types:ScheduleTriggerEvent": { - "type": "object", - "properties": { - "scheduled_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "triggered_time": { - "$ref": "#/components/schemas/_types:DateTime" - } - }, - "required": [ - "scheduled_time" - ] - }, - "watcher._types:Watch": { - "type": "object", - "properties": { - "actions": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/watcher._types:Action" - } - }, - "condition": { - "$ref": "#/components/schemas/watcher._types:ConditionContainer" - }, - "input": { - "$ref": "#/components/schemas/watcher._types:InputContainer" - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "status": { - "$ref": "#/components/schemas/watcher._types:WatchStatus" - }, - "throttle_period": { - "$ref": "#/components/schemas/_types:Duration" - }, - "throttle_period_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "transform": { - "$ref": "#/components/schemas/_types:TransformContainer" - }, - "trigger": { - "$ref": "#/components/schemas/watcher._types:TriggerContainer" - } - }, - "required": [ - "actions", - "condition", - "input", - "trigger" - ] - }, - "watcher._types:Action": { - "type": "object", - "properties": { - "action_type": { - "$ref": "#/components/schemas/watcher._types:ActionType" - }, - "condition": { - "$ref": "#/components/schemas/watcher._types:ConditionContainer" - }, - "foreach": { - "type": "string" - }, - "max_iterations": { - "type": "number" - }, - "name": { - "$ref": "#/components/schemas/_types:Name" - }, - "throttle_period": { - "$ref": "#/components/schemas/_types:Duration" - }, - "throttle_period_in_millis": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "transform": { - "$ref": "#/components/schemas/_types:TransformContainer" - }, - "index": { - "$ref": "#/components/schemas/watcher._types:IndexAction" - }, - "logging": { - "$ref": "#/components/schemas/watcher._types:LoggingAction" - }, - "email": { - "$ref": "#/components/schemas/watcher._types:EmailAction" - }, - "pagerduty": { - "$ref": "#/components/schemas/watcher._types:PagerDutyAction" - }, - "slack": { - "$ref": "#/components/schemas/watcher._types:SlackAction" - }, - "webhook": { - "$ref": "#/components/schemas/watcher._types:WebhookAction" - } - } - }, - "watcher._types:ActionType": { - "type": "string", - "enum": [ - "email", - "webhook", - "index", - "logging", - "slack", - "pagerduty" - ] - }, - "watcher._types:ConditionContainer": { - "type": "object", - "properties": { - "always": { - "$ref": "#/components/schemas/watcher._types:AlwaysCondition" - }, - "array_compare": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/watcher._types:ArrayCompareCondition" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "compare": { - "type": "object", - "additionalProperties": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/_types:FieldValue" - }, - "minProperties": 1, - "maxProperties": 1 - }, - "minProperties": 1, - "maxProperties": 1 - }, - "never": { - "$ref": "#/components/schemas/watcher._types:NeverCondition" - }, - "script": { - "$ref": "#/components/schemas/watcher._types:ScriptCondition" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "watcher._types:AlwaysCondition": { - "type": "object" - }, - "watcher._types:ArrayCompareCondition": { - "type": "object", - "properties": { - "path": { - "type": "string" - } - }, - "required": [ - "path" - ] - }, - "watcher._types:NeverCondition": { - "type": "object" - }, - "watcher._types:ScriptCondition": { - "type": "object", - "properties": { - "lang": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "source": { - "type": "string" - }, - "id": { - "type": "string" - } - } - }, - "_types:TransformContainer": { - "type": "object", - "properties": { - "chain": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:TransformContainer" - } - }, - "script": { - "$ref": "#/components/schemas/_types:ScriptTransform" - }, - "search": { - "$ref": "#/components/schemas/_types:SearchTransform" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "_types:ScriptTransform": { - "type": "object", - "properties": { - "lang": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "source": { - "type": "string" - }, - "id": { - "type": "string" - } - } - }, - "_types:SearchTransform": { - "type": "object", - "properties": { - "request": { - "$ref": "#/components/schemas/watcher._types:SearchInputRequestDefinition" - }, - "timeout": { - "$ref": "#/components/schemas/_types:Duration" - } - }, - "required": [ - "request", - "timeout" - ] - }, - "watcher._types:SearchInputRequestDefinition": { - "type": "object", - "properties": { - "body": { - "$ref": "#/components/schemas/watcher._types:SearchInputRequestBody" - }, - "indices": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types:IndexName" - } - }, - "indices_options": { - "$ref": "#/components/schemas/_types:IndicesOptions" - }, - "search_type": { - "$ref": "#/components/schemas/_types:SearchType" - }, - "template": { - "$ref": "#/components/schemas/watcher._types:SearchTemplateRequestBody" - }, - "rest_total_hits_as_int": { - "type": "boolean" - } - } - }, - "watcher._types:SearchInputRequestBody": { - "type": "object", - "properties": { - "query": { - "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" - } - }, - "required": [ - "query" - ] - }, - "watcher._types:SearchTemplateRequestBody": { - "type": "object", - "properties": { - "explain": { - "type": "boolean" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "params": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "profile": { - "type": "boolean" - }, - "source": { - "description": "An inline search template. Supports the same parameters as the search API's\nrequest body. Also supports Mustache variables. If no id is specified, this\nparameter is required.", - "type": "string" - } - } - }, - "watcher._types:IndexAction": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "doc_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "refresh": { - "$ref": "#/components/schemas/_types:Refresh" - }, - "op_type": { - "$ref": "#/components/schemas/_types:OpType" - }, - "timeout": { - "$ref": "#/components/schemas/_types:Duration" - }, - "execution_time_field": { - "$ref": "#/components/schemas/_types:Field" - } - }, - "required": [ - "index" - ] - }, - "watcher._types:LoggingAction": { - "type": "object", - "properties": { - "level": { - "type": "string" - }, - "text": { - "type": "string" - }, - "category": { - "type": "string" - } - }, - "required": [ - "text" - ] - }, - "watcher._types:EmailAction": { - "allOf": [ - { - "$ref": "#/components/schemas/watcher._types:Email" - }, - { - "type": "object" - } - ] - }, - "watcher._types:Email": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "bcc": { - "type": "array", - "items": { - "type": "string" - } - }, - "body": { - "$ref": "#/components/schemas/watcher._types:EmailBody" - }, - "cc": { - "type": "array", - "items": { - "type": "string" - } - }, - "from": { - "type": "string" - }, - "priority": { - "$ref": "#/components/schemas/watcher._types:EmailPriority" - }, - "reply_to": { - "type": "array", - "items": { - "type": "string" - } - }, - "sent_date": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "subject": { - "type": "string" - }, - "to": { - "type": "array", - "items": { - "type": "string" - } - }, - "attachments": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/watcher._types:EmailAttachmentContainer" - } - } - }, - "required": [ - "subject", - "to" - ] - }, - "watcher._types:EmailBody": { - "type": "object", - "properties": { - "html": { - "type": "string" - }, - "text": { - "type": "string" - } - } - }, - "watcher._types:EmailPriority": { - "type": "string", - "enum": [ - "lowest", - "low", - "normal", - "high", - "highest" - ] - }, - "watcher._types:EmailAttachmentContainer": { - "type": "object", - "properties": { - "http": { - "$ref": "#/components/schemas/watcher._types:HttpEmailAttachment" - }, - "reporting": { - "$ref": "#/components/schemas/watcher._types:ReportingEmailAttachment" - }, - "data": { - "$ref": "#/components/schemas/watcher._types:DataEmailAttachment" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "watcher._types:HttpEmailAttachment": { - "type": "object", - "properties": { - "content_type": { - "type": "string" - }, - "inline": { - "type": "boolean" - }, - "request": { - "$ref": "#/components/schemas/watcher._types:HttpInputRequestDefinition" - } - } - }, - "watcher._types:HttpInputRequestDefinition": { - "type": "object", - "properties": { - "auth": { - "$ref": "#/components/schemas/watcher._types:HttpInputAuthentication" - }, - "body": { - "type": "string" - }, - "connection_timeout": { - "$ref": "#/components/schemas/_types:Duration" - }, - "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "host": { - "$ref": "#/components/schemas/_types:Host" - }, - "method": { - "$ref": "#/components/schemas/watcher._types:HttpInputMethod" - }, - "params": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "path": { - "type": "string" - }, - "port": { - "$ref": "#/components/schemas/_types:uint" - }, - "proxy": { - "$ref": "#/components/schemas/watcher._types:HttpInputProxy" - }, - "read_timeout": { - "$ref": "#/components/schemas/_types:Duration" - }, - "scheme": { - "$ref": "#/components/schemas/watcher._types:ConnectionScheme" - }, - "url": { - "type": "string" - } - } - }, - "watcher._types:HttpInputAuthentication": { - "type": "object", - "properties": { - "basic": { - "$ref": "#/components/schemas/watcher._types:HttpInputBasicAuthentication" - } - }, - "required": [ - "basic" - ] - }, - "watcher._types:HttpInputBasicAuthentication": { - "type": "object", - "properties": { - "password": { - "$ref": "#/components/schemas/_types:Password" - }, - "username": { - "$ref": "#/components/schemas/_types:Username" - } - }, - "required": [ - "password", - "username" - ] - }, - "watcher._types:HttpInputMethod": { - "type": "string", - "enum": [ - "head", - "get", - "post", - "put", - "delete" - ] - }, - "watcher._types:HttpInputProxy": { - "type": "object", - "properties": { - "host": { - "$ref": "#/components/schemas/_types:Host" - }, - "port": { - "$ref": "#/components/schemas/_types:uint" - } - }, - "required": [ - "host", - "port" - ] - }, - "watcher._types:ConnectionScheme": { - "type": "string", - "enum": [ - "http", - "https" - ] - }, - "watcher._types:ReportingEmailAttachment": { - "type": "object", - "properties": { - "url": { - "type": "string" - }, - "inline": { - "type": "boolean" - }, - "retries": { - "type": "number" - }, - "interval": { - "$ref": "#/components/schemas/_types:Duration" - }, - "request": { - "$ref": "#/components/schemas/watcher._types:HttpInputRequestDefinition" - } - }, - "required": [ - "url" - ] - }, - "watcher._types:DataEmailAttachment": { - "type": "object", - "properties": { - "format": { - "$ref": "#/components/schemas/watcher._types:DataAttachmentFormat" - } - } - }, - "watcher._types:DataAttachmentFormat": { - "type": "string", - "enum": [ - "json", - "yaml" - ] - }, - "watcher._types:PagerDutyAction": { - "allOf": [ - { - "$ref": "#/components/schemas/watcher._types:PagerDutyEvent" - }, - { - "type": "object" - } - ] - }, - "watcher._types:PagerDutyEvent": { - "type": "object", - "properties": { - "account": { - "type": "string" - }, - "attach_payload": { - "type": "boolean" - }, - "client": { - "type": "string" - }, - "client_url": { - "type": "string" - }, - "contexts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/watcher._types:PagerDutyContext" - } - }, - "description": { - "type": "string" - }, - "event_type": { - "$ref": "#/components/schemas/watcher._types:PagerDutyEventType" - }, - "incident_key": { - "type": "string" - }, - "proxy": { - "$ref": "#/components/schemas/watcher._types:PagerDutyEventProxy" - } - }, - "required": [ - "attach_payload", - "description", - "incident_key" - ] - }, - "watcher._types:PagerDutyContext": { - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "src": { - "type": "string" - }, - "type": { - "$ref": "#/components/schemas/watcher._types:PagerDutyContextType" - } - }, - "required": [ - "type" - ] - }, - "watcher._types:PagerDutyContextType": { - "type": "string", - "enum": [ - "link", - "image" - ] - }, - "watcher._types:PagerDutyEventType": { - "type": "string", - "enum": [ - "trigger", - "resolve", - "acknowledge" - ] - }, - "watcher._types:PagerDutyEventProxy": { - "type": "object", - "properties": { - "host": { - "$ref": "#/components/schemas/_types:Host" - }, - "port": { - "type": "number" - } - } - }, - "watcher._types:SlackAction": { - "type": "object", - "properties": { - "account": { - "type": "string" - }, - "message": { - "$ref": "#/components/schemas/watcher._types:SlackMessage" - } - }, - "required": [ - "message" - ] - }, - "watcher._types:SlackMessage": { - "type": "object", - "properties": { - "attachments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/watcher._types:SlackAttachment" - } - }, - "dynamic_attachments": { - "$ref": "#/components/schemas/watcher._types:SlackDynamicAttachment" - }, - "from": { - "type": "string" - }, - "icon": { - "type": "string" - }, - "text": { - "type": "string" - }, - "to": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "attachments", - "from", - "text", - "to" - ] - }, - "watcher._types:SlackAttachment": { - "type": "object", - "properties": { - "author_icon": { - "type": "string" - }, - "author_link": { - "type": "string" - }, - "author_name": { - "type": "string" - }, - "color": { - "type": "string" - }, - "fallback": { - "type": "string" - }, - "fields": { - "type": "array", - "items": { - "$ref": "#/components/schemas/watcher._types:SlackAttachmentField" - } - }, - "footer": { - "type": "string" - }, - "footer_icon": { - "type": "string" - }, - "image_url": { - "type": "string" - }, - "pretext": { - "type": "string" - }, - "text": { - "type": "string" - }, - "thumb_url": { - "type": "string" - }, - "title": { - "type": "string" - }, - "title_link": { - "type": "string" - }, - "ts": { - "$ref": "#/components/schemas/_types:EpochTimeUnitSeconds" - } - }, - "required": [ - "author_name", - "title" - ] - }, - "watcher._types:SlackAttachmentField": { - "type": "object", - "properties": { - "short": { - "type": "boolean" - }, - "title": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "short", - "title", - "value" - ] - }, - "watcher._types:SlackDynamicAttachment": { - "type": "object", - "properties": { - "attachment_template": { - "$ref": "#/components/schemas/watcher._types:SlackAttachment" - }, - "list_path": { - "type": "string" - } - }, - "required": [ - "attachment_template", - "list_path" - ] - }, - "watcher._types:WebhookAction": { - "allOf": [ - { - "$ref": "#/components/schemas/watcher._types:HttpInputRequestDefinition" - }, - { - "type": "object" - } - ] - }, - "watcher._types:InputContainer": { - "type": "object", - "properties": { - "chain": { - "$ref": "#/components/schemas/watcher._types:ChainInput" - }, - "http": { - "$ref": "#/components/schemas/watcher._types:HttpInput" - }, - "search": { - "$ref": "#/components/schemas/watcher._types:SearchInput" - }, - "simple": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "watcher._types:ChainInput": { - "type": "object", - "properties": { - "inputs": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/watcher._types:InputContainer" - }, - "minProperties": 1, - "maxProperties": 1 - } - } - }, - "required": [ - "inputs" - ] - }, - "watcher._types:HttpInput": { - "type": "object", - "properties": { - "extract": { - "type": "array", - "items": { - "type": "string" - } - }, - "request": { - "$ref": "#/components/schemas/watcher._types:HttpInputRequestDefinition" - }, - "response_content_type": { - "$ref": "#/components/schemas/watcher._types:ResponseContentType" - } - } - }, - "watcher._types:ResponseContentType": { - "type": "string", - "enum": [ - "json", - "yaml", - "text" - ] - }, - "watcher._types:SearchInput": { - "type": "object", - "properties": { - "extract": { - "type": "array", - "items": { - "type": "string" - } - }, - "request": { - "$ref": "#/components/schemas/watcher._types:SearchInputRequestDefinition" - }, - "timeout": { - "$ref": "#/components/schemas/_types:Duration" - } - }, - "required": [ - "request" - ] - }, - "watcher._types:TriggerContainer": { - "type": "object", - "properties": { - "schedule": { - "$ref": "#/components/schemas/watcher._types:ScheduleContainer" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "watcher._types:ScheduleContainer": { - "type": "object", - "properties": { - "cron": { - "$ref": "#/components/schemas/watcher._types:CronExpression" - }, - "daily": { - "$ref": "#/components/schemas/watcher._types:DailySchedule" - }, - "hourly": { - "$ref": "#/components/schemas/watcher._types:HourlySchedule" - }, - "interval": { - "$ref": "#/components/schemas/_types:Duration" - }, - "monthly": { - "oneOf": [ - { - "$ref": "#/components/schemas/watcher._types:TimeOfMonth" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/watcher._types:TimeOfMonth" - } - } - ] - }, - "weekly": { - "oneOf": [ - { - "$ref": "#/components/schemas/watcher._types:TimeOfWeek" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/watcher._types:TimeOfWeek" - } - } - ] - }, - "yearly": { - "oneOf": [ - { - "$ref": "#/components/schemas/watcher._types:TimeOfYear" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/watcher._types:TimeOfYear" - } - } - ] - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "watcher._types:DailySchedule": { - "type": "object", - "properties": { - "at": { - "type": "array", - "items": { - "$ref": "#/components/schemas/watcher._types:ScheduleTimeOfDay" - } - } - }, - "required": [ - "at" - ] - }, - "watcher._types:HourlySchedule": { - "type": "object", - "properties": { - "minute": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "minute" - ] - }, - "watcher._types:TimeOfMonth": { - "type": "object", - "properties": { - "at": { - "type": "array", - "items": { - "type": "string" - } - }, - "on": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "at", - "on" - ] - }, - "watcher._types:TimeOfWeek": { - "type": "object", - "properties": { - "at": { - "type": "array", - "items": { - "type": "string" - } - }, - "on": { - "type": "array", - "items": { - "$ref": "#/components/schemas/watcher._types:Day" - } - } - }, - "required": [ - "at", - "on" - ] - }, - "watcher._types:Day": { - "type": "string", - "enum": [ - "sunday", - "monday", - "tuesday", - "wednesday", - "thursday", - "friday", - "saturday" - ] - }, - "watcher._types:TimeOfYear": { - "type": "object", - "properties": { - "at": { - "type": "array", - "items": { - "type": "string" - } - }, - "int": { - "type": "array", - "items": { - "$ref": "#/components/schemas/watcher._types:Month" - } - }, - "on": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "at", - "int", - "on" - ] - }, - "watcher._types:Month": { - "type": "string", - "enum": [ - "january", - "february", - "march", - "april", - "may", - "june", - "july", - "august", - "september", - "october", - "november", - "december" - ] - }, - "watcher.execute_watch:WatchRecord": { - "type": "object", - "properties": { - "condition": { - "$ref": "#/components/schemas/watcher._types:ConditionContainer" - }, - "input": { - "$ref": "#/components/schemas/watcher._types:InputContainer" - }, - "messages": { - "type": "array", - "items": { - "type": "string" - } - }, - "metadata": { - "$ref": "#/components/schemas/_types:Metadata" - }, - "node": { - "type": "string" - }, - "result": { - "$ref": "#/components/schemas/watcher._types:ExecutionResult" - }, - "state": { - "$ref": "#/components/schemas/watcher._types:ExecutionStatus" - }, - "trigger_event": { - "$ref": "#/components/schemas/watcher._types:TriggerEventResult" - }, - "user": { - "$ref": "#/components/schemas/_types:Username" - }, - "watch_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "status": { - "$ref": "#/components/schemas/watcher._types:WatchStatus" - } - }, - "required": [ - "condition", - "input", - "messages", - "node", - "result", - "state", - "trigger_event", - "user", - "watch_id" - ] - }, - "watcher._types:ExecutionResult": { - "type": "object", - "properties": { - "actions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/watcher._types:ExecutionResultAction" - } - }, - "condition": { - "$ref": "#/components/schemas/watcher._types:ExecutionResultCondition" - }, - "execution_duration": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - }, - "execution_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "input": { - "$ref": "#/components/schemas/watcher._types:ExecutionResultInput" - } - }, - "required": [ - "actions", - "condition", - "execution_duration", - "execution_time", - "input" - ] - }, - "watcher._types:ExecutionResultAction": { - "type": "object", - "properties": { - "email": { - "$ref": "#/components/schemas/watcher._types:EmailResult" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "index": { - "$ref": "#/components/schemas/watcher._types:IndexResult" - }, - "logging": { - "$ref": "#/components/schemas/watcher._types:LoggingResult" - }, - "pagerduty": { - "$ref": "#/components/schemas/watcher._types:PagerDutyResult" - }, - "reason": { - "type": "string" - }, - "slack": { - "$ref": "#/components/schemas/watcher._types:SlackResult" - }, - "status": { - "$ref": "#/components/schemas/watcher._types:ActionStatusOptions" - }, - "type": { - "$ref": "#/components/schemas/watcher._types:ActionType" - }, - "webhook": { - "$ref": "#/components/schemas/watcher._types:WebhookResult" - }, - "error": { - "$ref": "#/components/schemas/_types:ErrorCause" - } - }, - "required": [ - "id", - "status", - "type" - ] - }, - "watcher._types:EmailResult": { - "type": "object", - "properties": { - "account": { - "type": "string" - }, - "message": { - "$ref": "#/components/schemas/watcher._types:Email" - }, - "reason": { - "type": "string" - } - }, - "required": [ - "message" - ] - }, - "watcher._types:IndexResult": { - "type": "object", - "properties": { - "response": { - "$ref": "#/components/schemas/watcher._types:IndexResultSummary" - } - }, - "required": [ - "response" - ] - }, - "watcher._types:IndexResultSummary": { - "type": "object", - "properties": { - "created": { - "type": "boolean" - }, - "id": { - "$ref": "#/components/schemas/_types:Id" - }, - "index": { - "$ref": "#/components/schemas/_types:IndexName" - }, - "result": { - "$ref": "#/components/schemas/_types:Result" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionNumber" - } - }, - "required": [ - "created", - "id", - "index", - "result", - "version" - ] - }, - "watcher._types:LoggingResult": { - "type": "object", - "properties": { - "logged_text": { - "type": "string" - } - }, - "required": [ - "logged_text" - ] - }, - "watcher._types:PagerDutyResult": { - "type": "object", - "properties": { - "event": { - "$ref": "#/components/schemas/watcher._types:PagerDutyEvent" - }, - "reason": { - "type": "string" - }, - "request": { - "$ref": "#/components/schemas/watcher._types:HttpInputRequestResult" - }, - "response": { - "$ref": "#/components/schemas/watcher._types:HttpInputResponseResult" - } - }, - "required": [ - "event" - ] - }, - "watcher._types:HttpInputRequestResult": { - "allOf": [ - { - "$ref": "#/components/schemas/watcher._types:HttpInputRequestDefinition" - }, - { - "type": "object" - } - ] - }, - "watcher._types:HttpInputResponseResult": { - "type": "object", - "properties": { - "body": { - "type": "string" - }, - "headers": { - "$ref": "#/components/schemas/_types:HttpHeaders" - }, - "status": { - "type": "number" - } - }, - "required": [ - "body", - "headers", - "status" - ] - }, - "watcher._types:SlackResult": { - "type": "object", - "properties": { - "account": { - "type": "string" - }, - "message": { - "$ref": "#/components/schemas/watcher._types:SlackMessage" - } - }, - "required": [ - "message" - ] - }, - "watcher._types:WebhookResult": { - "type": "object", - "properties": { - "request": { - "$ref": "#/components/schemas/watcher._types:HttpInputRequestResult" - }, - "response": { - "$ref": "#/components/schemas/watcher._types:HttpInputResponseResult" - } - }, - "required": [ - "request" - ] - }, - "watcher._types:ExecutionResultCondition": { - "type": "object", - "properties": { - "met": { - "type": "boolean" - }, - "status": { - "$ref": "#/components/schemas/watcher._types:ActionStatusOptions" - }, - "type": { - "$ref": "#/components/schemas/watcher._types:ConditionType" - } - }, - "required": [ - "met", - "status", - "type" - ] - }, - "watcher._types:ConditionType": { - "type": "string", - "enum": [ - "always", - "never", - "script", - "compare", - "array_compare" - ] - }, - "watcher._types:ExecutionResultInput": { - "type": "object", - "properties": { - "payload": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "status": { - "$ref": "#/components/schemas/watcher._types:ActionStatusOptions" - }, - "type": { - "$ref": "#/components/schemas/watcher._types:InputType" - } - }, - "required": [ - "payload", - "status", - "type" - ] - }, - "watcher._types:InputType": { - "type": "string", - "enum": [ - "http", - "search", - "simple" - ] - }, - "watcher._types:ExecutionStatus": { - "type": "string", - "enum": [ - "awaits_execution", - "checking", - "execution_not_needed", - "throttled", - "executed", - "failed", - "deleted_while_queued", - "not_executed_already_queued" - ] - }, - "watcher._types:TriggerEventResult": { - "type": "object", - "properties": { - "manual": { - "$ref": "#/components/schemas/watcher._types:TriggerEventContainer" - }, - "triggered_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "type": { - "type": "string" - } - }, - "required": [ - "manual", - "triggered_time", - "type" - ] - }, - "watcher._types:TriggerEventContainer": { - "type": "object", - "properties": { - "schedule": { - "$ref": "#/components/schemas/watcher._types:ScheduleTriggerEvent" - } - }, - "minProperties": 1, - "maxProperties": 1 - }, - "watcher._types:QueryWatch": { - "type": "object", - "properties": { - "_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "status": { - "$ref": "#/components/schemas/watcher._types:WatchStatus" - }, - "watch": { - "$ref": "#/components/schemas/watcher._types:Watch" - }, - "_primary_term": { - "type": "number" - }, - "_seq_no": { - "$ref": "#/components/schemas/_types:SequenceNumber" - } - }, - "required": [ - "_id" - ] - }, - "watcher.stats:WatcherMetric": { - "type": "string", - "enum": [ - "_all", - "queued_watches", - "current_watches", - "pending_watches" - ] - }, - "watcher.stats:WatcherNodeStats": { - "type": "object", - "properties": { - "current_watches": { - "type": "array", - "items": { - "$ref": "#/components/schemas/watcher.stats:WatchRecordStats" - } - }, - "execution_thread_pool": { - "$ref": "#/components/schemas/watcher._types:ExecutionThreadPool" - }, - "queued_watches": { - "type": "array", - "items": { - "$ref": "#/components/schemas/watcher.stats:WatchRecordQueuedStats" - } - }, - "watch_count": { - "type": "number" - }, - "watcher_state": { - "$ref": "#/components/schemas/watcher.stats:WatcherState" - }, - "node_id": { - "$ref": "#/components/schemas/_types:Id" - } - }, - "required": [ - "execution_thread_pool", - "watch_count", - "watcher_state", - "node_id" - ] - }, - "watcher.stats:WatchRecordStats": { - "allOf": [ - { - "$ref": "#/components/schemas/watcher.stats:WatchRecordQueuedStats" - }, - { - "type": "object", - "properties": { - "execution_phase": { - "$ref": "#/components/schemas/watcher._types:ExecutionPhase" - }, - "triggered_time": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "executed_actions": { - "type": "array", - "items": { - "type": "string" - } - }, - "watch_id": { - "$ref": "#/components/schemas/_types:Id" - }, - "watch_record_id": { - "$ref": "#/components/schemas/_types:Id" - } - }, - "required": [ - "execution_phase", - "triggered_time", - "watch_id", - "watch_record_id" - ] - } - ] - }, - "watcher._types:ExecutionPhase": { - "type": "string", - "enum": [ - "awaits_execution", - "started", - "input", - "condition", - "actions", - "watch_transform", - "aborted", - "finished" - ] - }, - "watcher.stats:WatchRecordQueuedStats": { - "type": "object", - "properties": { - "execution_time": { - "$ref": "#/components/schemas/_types:DateTime" - } - }, - "required": [ - "execution_time" - ] - }, - "watcher._types:ExecutionThreadPool": { - "type": "object", - "properties": { - "max_size": { - "type": "number" - }, - "queue_size": { - "type": "number" - } - }, - "required": [ - "max_size", - "queue_size" - ] - }, - "watcher.stats:WatcherState": { - "type": "string", - "enum": [ - "stopped", - "starting", - "started", - "stopping" - ] - }, - "xpack.info:BuildInformation": { - "type": "object", - "properties": { - "date": { - "$ref": "#/components/schemas/_types:DateTime" - }, - "hash": { - "type": "string" - } - }, - "required": [ - "date", - "hash" - ] - }, - "xpack.info:Features": { - "type": "object", - "properties": { - "aggregate_metric": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "analytics": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "ccr": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "data_frame": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "data_science": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "data_streams": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "data_tiers": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "enrich": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "eql": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "flattened": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "frozen_indices": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "graph": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "ilm": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "logstash": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "ml": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "monitoring": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "rollup": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "runtime_fields": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "searchable_snapshots": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "security": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "slm": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "spatial": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "sql": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "transform": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "vectors": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "voting_only": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "watcher": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, - "archive": { - "$ref": "#/components/schemas/xpack.info:Feature" - } - }, - "required": [ - "aggregate_metric", - "analytics", - "ccr", - "data_streams", - "data_tiers", - "enrich", - "eql", - "frozen_indices", - "graph", - "ilm", - "logstash", - "ml", - "monitoring", - "rollup", - "searchable_snapshots", - "security", - "slm", - "spatial", - "sql", - "transform", - "voting_only", - "watcher", - "archive" - ] - }, - "xpack.info:Feature": { - "type": "object", - "properties": { - "available": { - "type": "boolean" - }, - "description": { - "type": "string" - }, - "enabled": { - "type": "boolean" - }, - "native_code_info": { - "$ref": "#/components/schemas/xpack.info:NativeCodeInformation" - } - }, - "required": [ - "available", - "enabled" - ] - }, - "xpack.info:NativeCodeInformation": { - "type": "object", - "properties": { - "build_hash": { - "type": "string" - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - } - }, - "required": [ - "build_hash", - "version" - ] - }, - "xpack.info:MinimalLicenseInformation": { - "type": "object", - "properties": { - "expiry_date_in_millis": { - "$ref": "#/components/schemas/_types:EpochTimeUnitMillis" - }, - "mode": { - "$ref": "#/components/schemas/license._types:LicenseType" - }, - "status": { - "$ref": "#/components/schemas/license._types:LicenseStatus" - }, - "type": { - "$ref": "#/components/schemas/license._types:LicenseType" - }, - "uid": { - "type": "string" - } - }, - "required": [ - "expiry_date_in_millis", - "mode", - "status", - "type", - "uid" - ] - }, - "xpack.usage:Base": { - "type": "object", - "properties": { - "available": { - "type": "boolean" - }, - "enabled": { - "type": "boolean" - } - }, - "required": [ - "available", - "enabled" - ] - }, - "xpack.usage:Analytics": { - "allOf": [ - { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - { - "type": "object", - "properties": { - "stats": { - "$ref": "#/components/schemas/xpack.usage:AnalyticsStatistics" - } - }, - "required": [ - "stats" - ] - } - ] - }, - "xpack.usage:AnalyticsStatistics": { - "type": "object", - "properties": { - "boxplot_usage": { - "type": "number" - }, - "cumulative_cardinality_usage": { - "type": "number" - }, - "string_stats_usage": { - "type": "number" - }, - "top_metrics_usage": { - "type": "number" - }, - "t_test_usage": { - "type": "number" - }, - "moving_percentiles_usage": { - "type": "number" - }, - "normalize_usage": { - "type": "number" - }, - "rate_usage": { - "type": "number" - }, - "multi_terms_usage": { - "type": "number" - } - }, - "required": [ - "boxplot_usage", - "cumulative_cardinality_usage", - "string_stats_usage", - "top_metrics_usage", - "t_test_usage", - "moving_percentiles_usage", - "normalize_usage", - "rate_usage" - ] - }, - "xpack.usage:Archive": { - "allOf": [ - { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - { - "type": "object", - "properties": { - "indices_count": { - "type": "number" - } - }, - "required": [ - "indices_count" - ] - } - ] - }, - "xpack.usage:Watcher": { - "allOf": [ - { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - { - "type": "object", - "properties": { - "execution": { - "$ref": "#/components/schemas/xpack.usage:WatcherActions" - }, - "watch": { - "$ref": "#/components/schemas/xpack.usage:WatcherWatch" - }, - "count": { - "$ref": "#/components/schemas/xpack.usage:Counter" - } - }, - "required": [ - "execution", - "watch", - "count" - ] - } - ] - }, - "xpack.usage:WatcherActions": { - "type": "object", - "properties": { - "actions": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/xpack.usage:WatcherActionTotals" - } - } - }, - "required": [ - "actions" - ] - }, - "xpack.usage:WatcherActionTotals": { - "type": "object", - "properties": { - "total": { - "$ref": "#/components/schemas/_types:Duration" - }, - "total_time_in_ms": { - "$ref": "#/components/schemas/_types:DurationValueUnitMillis" - } - }, - "required": [ - "total", - "total_time_in_ms" - ] - }, - "xpack.usage:WatcherWatch": { - "type": "object", - "properties": { - "input": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/xpack.usage:Counter" - } - }, - "condition": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/xpack.usage:Counter" - } - }, - "action": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/xpack.usage:Counter" - } - }, - "trigger": { - "$ref": "#/components/schemas/xpack.usage:WatcherWatchTrigger" - } - }, - "required": [ - "input", - "trigger" - ] - }, - "xpack.usage:Counter": { - "type": "object", - "properties": { - "active": { - "type": "number" - }, - "total": { - "type": "number" - } - }, - "required": [ - "active", - "total" - ] - }, - "xpack.usage:WatcherWatchTrigger": { - "type": "object", - "properties": { - "schedule": { - "$ref": "#/components/schemas/xpack.usage:WatcherWatchTriggerSchedule" - }, - "_all": { - "$ref": "#/components/schemas/xpack.usage:Counter" - } - }, - "required": [ - "_all" - ] - }, - "xpack.usage:WatcherWatchTriggerSchedule": { - "allOf": [ - { - "$ref": "#/components/schemas/xpack.usage:Counter" - }, - { - "type": "object", - "properties": { - "cron": { - "$ref": "#/components/schemas/xpack.usage:Counter" - }, - "_all": { - "$ref": "#/components/schemas/xpack.usage:Counter" - } - }, - "required": [ - "cron", - "_all" - ] - } - ] - }, - "xpack.usage:Ccr": { - "allOf": [ - { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - { - "type": "object", - "properties": { - "auto_follow_patterns_count": { - "type": "number" - }, - "follower_indices_count": { - "type": "number" - } - }, - "required": [ - "auto_follow_patterns_count", - "follower_indices_count" - ] - } - ] - }, - "xpack.usage:DataStreams": { - "allOf": [ - { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - { - "type": "object", - "properties": { - "data_streams": { - "type": "number" - }, - "indices_count": { - "type": "number" - } - }, - "required": [ - "data_streams", - "indices_count" - ] - } - ] - }, - "xpack.usage:DataTiers": { - "allOf": [ - { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - { - "type": "object", - "properties": { - "data_warm": { - "$ref": "#/components/schemas/xpack.usage:DataTierPhaseStatistics" - }, - "data_frozen": { - "$ref": "#/components/schemas/xpack.usage:DataTierPhaseStatistics" - }, - "data_cold": { - "$ref": "#/components/schemas/xpack.usage:DataTierPhaseStatistics" - }, - "data_content": { - "$ref": "#/components/schemas/xpack.usage:DataTierPhaseStatistics" - }, - "data_hot": { - "$ref": "#/components/schemas/xpack.usage:DataTierPhaseStatistics" - } - }, - "required": [ - "data_warm", - "data_cold", - "data_content", - "data_hot" - ] - } - ] - }, - "xpack.usage:DataTierPhaseStatistics": { - "type": "object", - "properties": { - "node_count": { - "type": "number" - }, - "index_count": { - "type": "number" - }, - "total_shard_count": { - "type": "number" - }, - "primary_shard_count": { - "type": "number" - }, - "doc_count": { - "type": "number" - }, - "total_size_bytes": { - "type": "number" - }, - "primary_size_bytes": { - "type": "number" - }, - "primary_shard_size_avg_bytes": { - "type": "number" - }, - "primary_shard_size_median_bytes": { - "type": "number" - }, - "primary_shard_size_mad_bytes": { - "type": "number" - } - }, - "required": [ - "node_count", - "index_count", - "total_shard_count", - "primary_shard_count", - "doc_count", - "total_size_bytes", - "primary_size_bytes", - "primary_shard_size_avg_bytes", - "primary_shard_size_median_bytes", - "primary_shard_size_mad_bytes" - ] - }, - "xpack.usage:Eql": { - "allOf": [ - { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - { - "type": "object", - "properties": { - "features": { - "$ref": "#/components/schemas/xpack.usage:EqlFeatures" - }, - "queries": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/xpack.usage:Query" - } - } - }, - "required": [ - "features", - "queries" - ] - } - ] - }, - "xpack.usage:EqlFeatures": { - "type": "object", - "properties": { - "join": { - "$ref": "#/components/schemas/_types:uint" - }, - "joins": { - "$ref": "#/components/schemas/xpack.usage:EqlFeaturesJoin" - }, - "keys": { - "$ref": "#/components/schemas/xpack.usage:EqlFeaturesKeys" - }, - "event": { - "$ref": "#/components/schemas/_types:uint" - }, - "pipes": { - "$ref": "#/components/schemas/xpack.usage:EqlFeaturesPipes" - }, - "sequence": { - "$ref": "#/components/schemas/_types:uint" - }, - "sequences": { - "$ref": "#/components/schemas/xpack.usage:EqlFeaturesSequences" - } - }, - "required": [ - "join", - "joins", - "keys", - "event", - "pipes", - "sequence", - "sequences" - ] - }, - "xpack.usage:EqlFeaturesJoin": { - "type": "object", - "properties": { - "join_queries_two": { - "$ref": "#/components/schemas/_types:uint" - }, - "join_queries_three": { - "$ref": "#/components/schemas/_types:uint" - }, - "join_until": { - "$ref": "#/components/schemas/_types:uint" - }, - "join_queries_five_or_more": { - "$ref": "#/components/schemas/_types:uint" - }, - "join_queries_four": { - "$ref": "#/components/schemas/_types:uint" - } - }, - "required": [ - "join_queries_two", - "join_queries_three", - "join_until", - "join_queries_five_or_more", - "join_queries_four" - ] - }, - "xpack.usage:EqlFeaturesKeys": { - "type": "object", - "properties": { - "join_keys_two": { - "$ref": "#/components/schemas/_types:uint" - }, - "join_keys_one": { - "$ref": "#/components/schemas/_types:uint" - }, - "join_keys_three": { - "$ref": "#/components/schemas/_types:uint" - }, - "join_keys_five_or_more": { - "$ref": "#/components/schemas/_types:uint" - }, - "join_keys_four": { - "$ref": "#/components/schemas/_types:uint" - } - }, - "required": [ - "join_keys_two", - "join_keys_one", - "join_keys_three", - "join_keys_five_or_more", - "join_keys_four" - ] - }, - "xpack.usage:EqlFeaturesPipes": { - "type": "object", - "properties": { - "pipe_tail": { - "$ref": "#/components/schemas/_types:uint" - }, - "pipe_head": { - "$ref": "#/components/schemas/_types:uint" - } - }, - "required": [ - "pipe_tail", - "pipe_head" - ] - }, - "xpack.usage:EqlFeaturesSequences": { - "type": "object", - "properties": { - "sequence_queries_three": { - "$ref": "#/components/schemas/_types:uint" - }, - "sequence_queries_four": { - "$ref": "#/components/schemas/_types:uint" - }, - "sequence_queries_two": { - "$ref": "#/components/schemas/_types:uint" - }, - "sequence_until": { - "$ref": "#/components/schemas/_types:uint" - }, - "sequence_queries_five_or_more": { - "$ref": "#/components/schemas/_types:uint" - }, - "sequence_maxspan": { - "$ref": "#/components/schemas/_types:uint" - } - }, - "required": [ - "sequence_queries_three", - "sequence_queries_four", - "sequence_queries_two", - "sequence_until", - "sequence_queries_five_or_more", - "sequence_maxspan" - ] - }, - "xpack.usage:Query": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "failed": { - "type": "number" - }, - "paging": { - "type": "number" - }, - "total": { - "type": "number" - } - } - }, - "xpack.usage:Flattened": { - "allOf": [ - { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - { - "type": "object", - "properties": { - "field_count": { - "type": "number" - } - }, - "required": [ - "field_count" - ] - } - ] - }, - "xpack.usage:FrozenIndices": { - "allOf": [ - { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - { - "type": "object", - "properties": { - "indices_count": { - "type": "number" - } - }, - "required": [ - "indices_count" - ] - } - ] - }, - "xpack.usage:HealthStatistics": { - "allOf": [ - { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - { - "type": "object", - "properties": { - "invocations": { - "$ref": "#/components/schemas/xpack.usage:Invocations" - } - }, - "required": [ - "invocations" - ] - } - ] - }, - "xpack.usage:Invocations": { - "type": "object", - "properties": { - "total": { - "type": "number" - } - }, - "required": [ - "total" - ] - }, - "xpack.usage:Ilm": { - "type": "object", - "properties": { - "policy_count": { - "type": "number" - }, - "policy_stats": { - "type": "array", - "items": { - "$ref": "#/components/schemas/xpack.usage:IlmPolicyStatistics" - } - } - }, - "required": [ - "policy_count", - "policy_stats" - ] - }, - "xpack.usage:IlmPolicyStatistics": { - "type": "object", - "properties": { - "indices_managed": { - "type": "number" - }, - "phases": { - "$ref": "#/components/schemas/ilm._types:Phases" - } - }, - "required": [ - "indices_managed", - "phases" - ] - }, - "xpack.usage:MachineLearning": { - "allOf": [ - { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - { - "type": "object", - "properties": { - "datafeeds": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/xpack.usage:Datafeed" - } - }, - "jobs": { - "description": "Job usage statistics. The `_all` entry is always present and gathers statistics for all jobs.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/xpack.usage:JobUsage" - } - }, - "node_count": { - "type": "number" - }, - "data_frame_analytics_jobs": { - "$ref": "#/components/schemas/xpack.usage:MlDataFrameAnalyticsJobs" - }, - "inference": { - "$ref": "#/components/schemas/xpack.usage:MlInference" - } - }, - "required": [ - "datafeeds", - "jobs", - "node_count", - "data_frame_analytics_jobs", - "inference" - ] - } - ] - }, - "xpack.usage:Datafeed": { - "type": "object", - "properties": { - "count": { - "type": "number" - } - }, - "required": [ - "count" - ] - }, - "xpack.usage:JobUsage": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "created_by": { - "type": "object", - "additionalProperties": { - "type": "number" - } - }, - "detectors": { - "$ref": "#/components/schemas/ml._types:JobStatistics" - }, - "forecasts": { - "$ref": "#/components/schemas/xpack.usage:MlJobForecasts" - }, - "model_size": { - "$ref": "#/components/schemas/ml._types:JobStatistics" - } - }, - "required": [ - "count", - "created_by", - "detectors", - "forecasts", - "model_size" - ] - }, - "xpack.usage:MlJobForecasts": { - "type": "object", - "properties": { - "total": { - "type": "number" - }, - "forecasted_jobs": { - "type": "number" - } - }, - "required": [ - "total", - "forecasted_jobs" - ] - }, - "xpack.usage:MlDataFrameAnalyticsJobs": { - "type": "object", - "properties": { - "memory_usage": { - "$ref": "#/components/schemas/xpack.usage:MlDataFrameAnalyticsJobsMemory" - }, - "_all": { - "$ref": "#/components/schemas/xpack.usage:MlDataFrameAnalyticsJobsCount" - }, - "analysis_counts": { - "$ref": "#/components/schemas/xpack.usage:MlDataFrameAnalyticsJobsAnalysis" - }, - "stopped": { - "$ref": "#/components/schemas/xpack.usage:MlDataFrameAnalyticsJobsCount" - } - }, - "required": [ - "_all" - ] - }, - "xpack.usage:MlDataFrameAnalyticsJobsMemory": { - "type": "object", - "properties": { - "peak_usage_bytes": { - "$ref": "#/components/schemas/ml._types:JobStatistics" - } - }, - "required": [ - "peak_usage_bytes" - ] - }, - "xpack.usage:MlDataFrameAnalyticsJobsCount": { - "type": "object", - "properties": { - "count": { - "type": "number" - } - }, - "required": [ - "count" - ] - }, - "xpack.usage:MlDataFrameAnalyticsJobsAnalysis": { - "type": "object", - "properties": { - "classification": { - "type": "number" - }, - "outlier_detection": { - "type": "number" - }, - "regression": { - "type": "number" - } - } - }, - "xpack.usage:MlInference": { - "type": "object", - "properties": { - "ingest_processors": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/xpack.usage:MlInferenceIngestProcessor" - } - }, - "trained_models": { - "$ref": "#/components/schemas/xpack.usage:MlInferenceTrainedModels" - }, - "deployments": { - "$ref": "#/components/schemas/xpack.usage:MlInferenceDeployments" - } - }, - "required": [ - "ingest_processors", - "trained_models" - ] - }, - "xpack.usage:MlInferenceIngestProcessor": { - "type": "object", - "properties": { - "num_docs_processed": { - "$ref": "#/components/schemas/xpack.usage:MlInferenceIngestProcessorCount" - }, - "pipelines": { - "$ref": "#/components/schemas/xpack.usage:MlCounter" - }, - "num_failures": { - "$ref": "#/components/schemas/xpack.usage:MlInferenceIngestProcessorCount" - }, - "time_ms": { - "$ref": "#/components/schemas/xpack.usage:MlInferenceIngestProcessorCount" - } - }, - "required": [ - "num_docs_processed", - "pipelines", - "num_failures", - "time_ms" - ] - }, - "xpack.usage:MlInferenceIngestProcessorCount": { - "type": "object", - "properties": { - "max": { - "type": "number" - }, - "sum": { - "type": "number" - }, - "min": { - "type": "number" - } - }, - "required": [ - "max", - "sum", - "min" - ] - }, - "xpack.usage:MlCounter": { - "type": "object", - "properties": { - "count": { - "type": "number" - } - }, - "required": [ - "count" - ] - }, - "xpack.usage:MlInferenceTrainedModels": { - "type": "object", - "properties": { - "estimated_operations": { - "$ref": "#/components/schemas/ml._types:JobStatistics" - }, - "estimated_heap_memory_usage_bytes": { - "$ref": "#/components/schemas/ml._types:JobStatistics" - }, - "count": { - "$ref": "#/components/schemas/xpack.usage:MlInferenceTrainedModelsCount" - }, - "_all": { - "$ref": "#/components/schemas/xpack.usage:MlCounter" - }, - "model_size_bytes": { - "$ref": "#/components/schemas/ml._types:JobStatistics" - } - }, - "required": [ - "_all" - ] - }, - "xpack.usage:MlInferenceTrainedModelsCount": { - "type": "object", - "properties": { - "total": { - "type": "number" - }, - "prepackaged": { - "type": "number" - }, - "other": { - "type": "number" - }, - "pass_through": { - "type": "number" - }, - "regression": { - "type": "number" - }, - "classification": { - "type": "number" - }, - "ner": { - "type": "number" - }, - "text_embedding": { - "type": "number" - } - }, - "required": [ - "total", - "prepackaged", - "other" - ] - }, - "xpack.usage:MlInferenceDeployments": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "inference_counts": { - "$ref": "#/components/schemas/ml._types:JobStatistics" - }, - "model_sizes_bytes": { - "$ref": "#/components/schemas/ml._types:JobStatistics" - }, - "time_ms": { - "$ref": "#/components/schemas/xpack.usage:MlInferenceDeploymentsTimeMs" - } - }, - "required": [ - "count", - "inference_counts", - "model_sizes_bytes", - "time_ms" - ] - }, - "xpack.usage:MlInferenceDeploymentsTimeMs": { - "type": "object", - "properties": { - "avg": { - "type": "number" - } - }, - "required": [ - "avg" - ] - }, - "xpack.usage:Monitoring": { - "allOf": [ - { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - { - "type": "object", - "properties": { - "collection_enabled": { - "type": "boolean" - }, - "enabled_exporters": { - "type": "object", - "additionalProperties": { - "type": "number" - } - } - }, - "required": [ - "collection_enabled", - "enabled_exporters" - ] - } - ] - }, - "xpack.usage:RuntimeFieldTypes": { - "allOf": [ - { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - { - "type": "object", - "properties": { - "field_types": { - "type": "array", - "items": { - "$ref": "#/components/schemas/xpack.usage:RuntimeFieldsType" - } - } - }, - "required": [ - "field_types" - ] - } - ] - }, - "xpack.usage:RuntimeFieldsType": { - "type": "object", - "properties": { - "chars_max": { - "type": "number" - }, - "chars_total": { - "type": "number" - }, - "count": { - "type": "number" - }, - "doc_max": { - "type": "number" - }, - "doc_total": { - "type": "number" - }, - "index_count": { - "type": "number" - }, - "lang": { - "type": "array", - "items": { - "type": "string" - } - }, - "lines_max": { - "type": "number" - }, - "lines_total": { - "type": "number" - }, - "name": { - "$ref": "#/components/schemas/_types:Field" - }, - "scriptless_count": { - "type": "number" - }, - "shadowed_count": { - "type": "number" - }, - "source_max": { - "type": "number" - }, - "source_total": { - "type": "number" - } - }, - "required": [ - "chars_max", - "chars_total", - "count", - "doc_max", - "doc_total", - "index_count", - "lang", - "lines_max", - "lines_total", - "name", - "scriptless_count", - "shadowed_count", - "source_max", - "source_total" - ] - }, - "xpack.usage:SearchableSnapshots": { - "allOf": [ - { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - { - "type": "object", - "properties": { - "indices_count": { - "type": "number" - }, - "full_copy_indices_count": { - "type": "number" - }, - "shared_cache_indices_count": { - "type": "number" - } - }, - "required": [ - "indices_count" - ] - } - ] - }, - "xpack.usage:Security": { - "allOf": [ - { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - { - "type": "object", - "properties": { - "api_key_service": { - "$ref": "#/components/schemas/xpack.usage:FeatureToggle" - }, - "anonymous": { - "$ref": "#/components/schemas/xpack.usage:FeatureToggle" - }, - "audit": { - "$ref": "#/components/schemas/xpack.usage:Audit" - }, - "fips_140": { - "$ref": "#/components/schemas/xpack.usage:FeatureToggle" - }, - "ipfilter": { - "$ref": "#/components/schemas/xpack.usage:IpFilter" - }, - "realms": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/xpack.usage:Realm" - } - }, - "role_mapping": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/xpack.usage:RoleMapping" - } - }, - "roles": { - "$ref": "#/components/schemas/xpack.usage:SecurityRoles" - }, - "ssl": { - "$ref": "#/components/schemas/xpack.usage:Ssl" - }, - "system_key": { - "$ref": "#/components/schemas/xpack.usage:FeatureToggle" - }, - "token_service": { - "$ref": "#/components/schemas/xpack.usage:FeatureToggle" - }, - "operator_privileges": { - "$ref": "#/components/schemas/xpack.usage:Base" - } - }, - "required": [ - "api_key_service", - "anonymous", - "audit", - "fips_140", - "ipfilter", - "realms", - "role_mapping", - "roles", - "ssl", - "token_service", - "operator_privileges" - ] - } - ] - }, - "xpack.usage:FeatureToggle": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - }, - "required": [ - "enabled" - ] - }, - "xpack.usage:Audit": { - "allOf": [ - { - "$ref": "#/components/schemas/xpack.usage:FeatureToggle" - }, - { - "type": "object", - "properties": { - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - ] - }, - "xpack.usage:IpFilter": { - "type": "object", - "properties": { - "http": { - "type": "boolean" - }, - "transport": { - "type": "boolean" - } - }, - "required": [ - "http", - "transport" - ] - }, - "xpack.usage:Realm": { - "allOf": [ - { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - { - "type": "object", - "properties": { - "name": { - "type": "array", - "items": { - "type": "string" - } - }, - "order": { - "type": "array", - "items": { - "type": "number" - } - }, - "size": { - "type": "array", - "items": { - "type": "number" - } - }, - "cache": { - "type": "array", - "items": { - "$ref": "#/components/schemas/xpack.usage:RealmCache" - } - }, - "has_authorization_realms": { - "type": "array", - "items": { - "type": "boolean" - } - }, - "has_default_username_pattern": { - "type": "array", - "items": { - "type": "boolean" - } - }, - "has_truststore": { - "type": "array", - "items": { - "type": "boolean" - } - }, - "is_authentication_delegated": { - "type": "array", - "items": { - "type": "boolean" - } - } - } - } - ] - }, - "xpack.usage:RealmCache": { - "type": "object", - "properties": { - "size": { - "type": "number" - } - }, - "required": [ - "size" - ] - }, - "xpack.usage:RoleMapping": { - "type": "object", - "properties": { - "enabled": { - "type": "number" - }, - "size": { - "type": "number" - } - }, - "required": [ - "enabled", - "size" - ] - }, - "xpack.usage:SecurityRoles": { - "type": "object", - "properties": { - "native": { - "$ref": "#/components/schemas/xpack.usage:SecurityRolesNative" - }, - "dls": { - "$ref": "#/components/schemas/xpack.usage:SecurityRolesDls" - }, - "file": { - "$ref": "#/components/schemas/xpack.usage:SecurityRolesFile" - } - }, - "required": [ - "native", - "dls", - "file" - ] - }, - "xpack.usage:SecurityRolesNative": { - "type": "object", - "properties": { - "dls": { - "type": "boolean" - }, - "fls": { - "type": "boolean" - }, - "size": { - "type": "number" - } - }, - "required": [ - "dls", - "fls", - "size" - ] - }, - "xpack.usage:SecurityRolesDls": { - "type": "object", - "properties": { - "bit_set_cache": { - "$ref": "#/components/schemas/xpack.usage:SecurityRolesDlsBitSetCache" - } - }, - "required": [ - "bit_set_cache" - ] - }, - "xpack.usage:SecurityRolesDlsBitSetCache": { - "type": "object", - "properties": { - "count": { - "type": "number" - }, - "memory": { - "$ref": "#/components/schemas/_types:ByteSize" - }, - "memory_in_bytes": { - "$ref": "#/components/schemas/_types:ulong" - } - }, - "required": [ - "count", - "memory_in_bytes" - ] - }, - "xpack.usage:SecurityRolesFile": { - "type": "object", - "properties": { - "dls": { - "type": "boolean" - }, - "fls": { - "type": "boolean" - }, - "size": { - "type": "number" - } - }, - "required": [ - "dls", - "fls", - "size" - ] - }, - "xpack.usage:Ssl": { - "type": "object", - "properties": { - "http": { - "$ref": "#/components/schemas/xpack.usage:FeatureToggle" - }, - "transport": { - "$ref": "#/components/schemas/xpack.usage:FeatureToggle" - } - }, - "required": [ - "http", - "transport" - ] - }, - "xpack.usage:Slm": { - "allOf": [ - { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - { - "type": "object", - "properties": { - "policy_count": { - "type": "number" - }, - "policy_stats": { - "$ref": "#/components/schemas/slm._types:Statistics" - } - } - } - ] - }, - "xpack.usage:Sql": { - "allOf": [ - { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - { - "type": "object", - "properties": { - "features": { - "type": "object", - "additionalProperties": { - "type": "number" - } - }, - "queries": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/xpack.usage:Query" - } - } - }, - "required": [ - "features", - "queries" - ] - } - ] - }, - "xpack.usage:Vector": { - "allOf": [ - { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - { - "type": "object", - "properties": { - "dense_vector_dims_avg_count": { - "type": "number" - }, - "dense_vector_fields_count": { - "type": "number" - }, - "sparse_vector_fields_count": { - "type": "number" - } - }, - "required": [ - "dense_vector_dims_avg_count", - "dense_vector_fields_count" - ] - } - ] - } - } - } -} \ No newline at end of file From 0b24a09bc10145dff3aaeefa93292cfa401b5357 Mon Sep 17 00:00:00 2001 From: Sylvain Wallez Date: Mon, 23 Oct 2023 11:31:26 +0200 Subject: [PATCH 14/17] Update openapi schema --- .../elasticsearch-serverless-openapi.json | 61 ++++++++++++++++++- 1 file changed, 58 insertions(+), 3 deletions(-) diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index ab3674c366..559c8b5978 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -30601,6 +30601,15 @@ "total": { "type": "number" }, + "running": { + "type": "number" + }, + "partial": { + "type": "number" + }, + "failed": { + "type": "number" + }, "details": { "type": "object", "additionalProperties": { @@ -30611,7 +30620,10 @@ "required": [ "skipped", "successful", - "total" + "total", + "running", + "partial", + "failed" ] }, "_types:ClusterDetails": { @@ -32189,7 +32201,7 @@ "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-text-expansion-query.html" }, - "description": "Uses a natural language processing model to convert the query text into a list of token-weight pairs which are then used in a query against a rank features field.", + "description": "Uses a natural language processing model to convert the query text into a list of token-weight pairs which are then used in a query against a sparse vector or rank features field.", "type": "object", "additionalProperties": { "$ref": "#/components/schemas/_types.query_dsl:TextExpansionQuery" @@ -48459,6 +48471,13 @@ "ilm_policy": { "$ref": "#/components/schemas/_types:Name" }, + "next_generation_managed_by": { + "$ref": "#/components/schemas/_types:ManagedBy" + }, + "prefer_ilm": { + "description": "Indicates if ILM should take precedence over DSL in case both are configured to managed this data stream.", + "type": "boolean" + }, "indices": { "description": "Array of objects containing information about the data stream’s backing indices.\nThe last item in this array contains information about the stream’s current write index.", "type": "array", @@ -48493,6 +48512,8 @@ "required": [ "generation", "hidden", + "next_generation_managed_by", + "prefer_ilm", "indices", "name", "status", @@ -48500,6 +48521,28 @@ "timestamp_field" ] }, + "_types:ManagedBy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Index Lifecycle Management" + ] + }, + { + "type": "string", + "enum": [ + "Data stream lifecycle" + ] + }, + { + "type": "string", + "enum": [ + "Unmanaged" + ] + } + ] + }, "indices._types:DataStreamIndex": { "type": "object", "properties": { @@ -48508,11 +48551,23 @@ }, "index_uuid": { "$ref": "#/components/schemas/_types:Uuid" + }, + "ilm_policy": { + "$ref": "#/components/schemas/_types:Name" + }, + "managed_by": { + "$ref": "#/components/schemas/_types:ManagedBy" + }, + "prefer_ilm": { + "description": "Indicates if ILM should take precedence over DSL in case both are configured to manage this index.", + "type": "boolean" } }, "required": [ "index_name", - "index_uuid" + "index_uuid", + "managed_by", + "prefer_ilm" ] }, "indices._types:DataStreamTimestampField": { From 11d15f378a8ca4ad11b1745d2c7b78241c737a0d Mon Sep 17 00:00:00 2001 From: Sylvain Wallez Date: Mon, 23 Oct 2023 11:35:47 +0200 Subject: [PATCH 15/17] Lint TS code --- compiler/src/transform/schema-to-openapi.ts | 22 ++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/compiler/src/transform/schema-to-openapi.ts b/compiler/src/transform/schema-to-openapi.ts index d039d2d8f0..31a4adfd2d 100644 --- a/compiler/src/transform/schema-to-openapi.ts +++ b/compiler/src/transform/schema-to-openapi.ts @@ -17,23 +17,23 @@ * under the License. */ -import {convert_schema_to_openapi} from 'schema-wasm-lib'; -import {argv} from "zx"; -import {join} from "path"; -import {readFileSync, writeFileSync} from "fs"; +import { convert_schema_to_openapi } from 'schema-wasm-lib' +import { argv } from 'zx' +import { join } from 'path' +import { readFileSync, writeFileSync } from 'fs' const inputPath = argv.input ?? join(__dirname, '..', '..', '..', 'output', 'schema', 'schema.json') const outputPath = argv.output ?? join(__dirname, '..', '..', '..', 'output', 'openapi', 'elasticsearch-serverless-openapi.json') const inputText = readFileSync( - inputPath, - { encoding: 'utf8' } -); + inputPath, + { encoding: 'utf8' } +) -const output = convert_schema_to_openapi(inputText, "serverless"); +const output = convert_schema_to_openapi(inputText, 'serverless') writeFileSync( - outputPath, - output, - 'utf8' + outputPath, + output, + 'utf8' ) From 1efe7d408a9d253111bd3a08803f597670af1aac Mon Sep 17 00:00:00 2001 From: Sylvain Wallez Date: Mon, 23 Oct 2023 13:43:08 +0200 Subject: [PATCH 16/17] Add build instruction --- openapi-converter/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi-converter/README.md b/openapi-converter/README.md index 046224c186..5b1fd1606b 100644 --- a/openapi-converter/README.md +++ b/openapi-converter/README.md @@ -11,4 +11,4 @@ This directory contains a set of Rust crates to manipulate and transform the API ## Building -The output of this directory is the `schema-wasm-lib` WebAssembly library. It must be built and committed in this repository every time the Rust code is changed. +The output of this directory is the `schema-wasm-lib` WebAssembly library. It must be built and committed in this repository every time the Rust code is changed. Use `make schema-wasm-lib` to build it. From 5efdd1c506c197a83e6ab5d65e42fb515f0e4613 Mon Sep 17 00:00:00 2001 From: Sylvain Wallez Date: Mon, 23 Oct 2023 16:55:53 +0200 Subject: [PATCH 17/17] Rename openapi-converter to compiler-rs --- .github/check-license-headers.sh | 4 +-- {openapi-converter => compiler-rs}/.gitignore | 0 {openapi-converter => compiler-rs}/Cargo.lock | 28 +++++++++--------- {openapi-converter => compiler-rs}/Cargo.toml | 2 +- compiler-rs/Makefile | 17 +++++++++++ {openapi-converter => compiler-rs}/README.md | 4 +-- .../clients_schema/Cargo.toml | 0 .../clients_schema/src/builtins.rs | 0 .../clients_schema/src/lib.rs | 0 .../src/transform/availability.rs | 0 .../src/transform/expand_generics.rs | 0 .../clients_schema/src/transform/mod.rs | 0 .../clients_schema_to_openapi/.gitignore | 0 .../clients_schema_to_openapi/.spectral.yaml | 0 .../clients_schema_to_openapi/Cargo.toml | 0 .../clients_schema_to_openapi/README.md | 0 .../package-lock.json | 0 .../clients_schema_to_openapi/package.json | 0 .../src/components.rs | 0 .../clients_schema_to_openapi/src/lib.rs | 0 .../clients_schema_to_openapi/src/main.rs | 0 .../clients_schema_to_openapi/src/paths.rs | 0 .../clients_schema_to_openapi/src/schemas.rs | 0 .../clients_schema_to_openapi/src/utils.rs | 0 .../compiler-wasm-lib}/Cargo.toml | 2 +- .../pkg/compiler_wasm_lib.js | 2 +- .../pkg/compiler_wasm_lib_bg.wasm | Bin 1473564 -> 1473607 bytes .../compiler-wasm-lib/pkg/package.json | 12 ++++++++ .../compiler-wasm-lib}/src/lib.rs | 0 .../openapi_to_clients_schema/Cargo.toml | 0 .../fixtures/enterprise-search.json | 0 .../fixtures/tests/enums.json | 0 .../fixtures/tests/flatten-union.json | 0 .../fixtures/tests/names.json | 0 .../fixtures/tests/recursive-refs.json | 0 .../fixtures/tests/scalars.json | 0 .../fixtures/tests/structural-union.json | 0 ...-of-variants-external-with-properties.json | 0 .../tests/union-of-variants-external.json | 0 .../tests/union-of-variants-internal.json | 0 .../fixtures/tests/xof.json | 0 .../fixtures/workplace-search.json | 0 .../src/endpoints.rs | 0 .../openapi_to_clients_schema/src/lib.rs | 0 .../openapi_to_clients_schema/src/main.rs | 0 .../openapi_to_clients_schema/src/openapi.rs | 0 .../openapi_to_clients_schema/src/types.rs | 0 compiler/package-lock.json | 18 +++++------ compiler/package.json | 2 +- compiler/src/transform/schema-to-openapi.ts | 2 +- openapi-converter/Makefile | 10 ------- .../schema-wasm-lib/pkg/package.json | 12 -------- 52 files changed, 61 insertions(+), 54 deletions(-) rename {openapi-converter => compiler-rs}/.gitignore (100%) rename {openapi-converter => compiler-rs}/Cargo.lock (99%) rename {openapi-converter => compiler-rs}/Cargo.toml (89%) create mode 100644 compiler-rs/Makefile rename {openapi-converter => compiler-rs}/README.md (70%) rename {openapi-converter => compiler-rs}/clients_schema/Cargo.toml (100%) rename {openapi-converter => compiler-rs}/clients_schema/src/builtins.rs (100%) rename {openapi-converter => compiler-rs}/clients_schema/src/lib.rs (100%) rename {openapi-converter => compiler-rs}/clients_schema/src/transform/availability.rs (100%) rename {openapi-converter => compiler-rs}/clients_schema/src/transform/expand_generics.rs (100%) rename {openapi-converter => compiler-rs}/clients_schema/src/transform/mod.rs (100%) rename {openapi-converter => compiler-rs}/clients_schema_to_openapi/.gitignore (100%) rename {openapi-converter => compiler-rs}/clients_schema_to_openapi/.spectral.yaml (100%) rename {openapi-converter => compiler-rs}/clients_schema_to_openapi/Cargo.toml (100%) rename {openapi-converter => compiler-rs}/clients_schema_to_openapi/README.md (100%) rename {openapi-converter => compiler-rs}/clients_schema_to_openapi/package-lock.json (100%) rename {openapi-converter => compiler-rs}/clients_schema_to_openapi/package.json (100%) rename {openapi-converter => compiler-rs}/clients_schema_to_openapi/src/components.rs (100%) rename {openapi-converter => compiler-rs}/clients_schema_to_openapi/src/lib.rs (100%) rename {openapi-converter => compiler-rs}/clients_schema_to_openapi/src/main.rs (100%) rename {openapi-converter => compiler-rs}/clients_schema_to_openapi/src/paths.rs (100%) rename {openapi-converter => compiler-rs}/clients_schema_to_openapi/src/schemas.rs (100%) rename {openapi-converter => compiler-rs}/clients_schema_to_openapi/src/utils.rs (100%) rename {openapi-converter/schema-wasm-lib => compiler-rs/compiler-wasm-lib}/Cargo.toml (95%) rename openapi-converter/schema-wasm-lib/pkg/schema_wasm_lib.js => compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib.js (98%) rename openapi-converter/schema-wasm-lib/pkg/schema_wasm_lib_bg.wasm => compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib_bg.wasm (95%) create mode 100644 compiler-rs/compiler-wasm-lib/pkg/package.json rename {openapi-converter/schema-wasm-lib => compiler-rs/compiler-wasm-lib}/src/lib.rs (100%) rename {openapi-converter => compiler-rs}/openapi_to_clients_schema/Cargo.toml (100%) rename {openapi-converter => compiler-rs}/openapi_to_clients_schema/fixtures/enterprise-search.json (100%) rename {openapi-converter => compiler-rs}/openapi_to_clients_schema/fixtures/tests/enums.json (100%) rename {openapi-converter => compiler-rs}/openapi_to_clients_schema/fixtures/tests/flatten-union.json (100%) rename {openapi-converter => compiler-rs}/openapi_to_clients_schema/fixtures/tests/names.json (100%) rename {openapi-converter => compiler-rs}/openapi_to_clients_schema/fixtures/tests/recursive-refs.json (100%) rename {openapi-converter => compiler-rs}/openapi_to_clients_schema/fixtures/tests/scalars.json (100%) rename {openapi-converter => compiler-rs}/openapi_to_clients_schema/fixtures/tests/structural-union.json (100%) rename {openapi-converter => compiler-rs}/openapi_to_clients_schema/fixtures/tests/union-of-variants-external-with-properties.json (100%) rename {openapi-converter => compiler-rs}/openapi_to_clients_schema/fixtures/tests/union-of-variants-external.json (100%) rename {openapi-converter => compiler-rs}/openapi_to_clients_schema/fixtures/tests/union-of-variants-internal.json (100%) rename {openapi-converter => compiler-rs}/openapi_to_clients_schema/fixtures/tests/xof.json (100%) rename {openapi-converter => compiler-rs}/openapi_to_clients_schema/fixtures/workplace-search.json (100%) rename {openapi-converter => compiler-rs}/openapi_to_clients_schema/src/endpoints.rs (100%) rename {openapi-converter => compiler-rs}/openapi_to_clients_schema/src/lib.rs (100%) rename {openapi-converter => compiler-rs}/openapi_to_clients_schema/src/main.rs (100%) rename {openapi-converter => compiler-rs}/openapi_to_clients_schema/src/openapi.rs (100%) rename {openapi-converter => compiler-rs}/openapi_to_clients_schema/src/types.rs (100%) delete mode 100644 openapi-converter/Makefile delete mode 100644 openapi-converter/schema-wasm-lib/pkg/package.json diff --git a/.github/check-license-headers.sh b/.github/check-license-headers.sh index 094775c8f6..ebc7d61e82 100755 --- a/.github/check-license-headers.sh +++ b/.github/check-license-headers.sh @@ -27,13 +27,13 @@ function check_license_header { cd "$TOP" nErrors=0 -for f in $(git ls-files | grep -v schema-wasm-lib/pkg | grep '\.ts$'); do +for f in $(git ls-files | grep -v compiler-wasm-lib/pkg | grep '\.ts$'); do if ! check_license_header $f; then nErrors=$((nErrors+1)) fi done -for f in $(git ls-files | grep -v schema-wasm-lib/pkg |grep '\.js$'); do +for f in $(git ls-files | grep -v compiler-wasm-lib/pkg |grep '\.js$'); do if ! check_license_header $f; then nErrors=$((nErrors+1)) fi diff --git a/openapi-converter/.gitignore b/compiler-rs/.gitignore similarity index 100% rename from openapi-converter/.gitignore rename to compiler-rs/.gitignore diff --git a/openapi-converter/Cargo.lock b/compiler-rs/Cargo.lock similarity index 99% rename from openapi-converter/Cargo.lock rename to compiler-rs/Cargo.lock index c783e69e44..43b2451532 100644 --- a/openapi-converter/Cargo.lock +++ b/compiler-rs/Cargo.lock @@ -176,6 +176,20 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" +[[package]] +name = "compiler-wasm-lib" +version = "0.1.0" +dependencies = [ + "anyhow", + "clients_schema", + "clients_schema_to_openapi", + "console_error_panic_hook", + "serde_json", + "wasm-bindgen", + "wasm-bindgen-test", + "web-sys", +] + [[package]] name = "console_error_panic_hook" version = "0.1.7" @@ -382,20 +396,6 @@ version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041" -[[package]] -name = "schema-wasm-lib" -version = "0.1.0" -dependencies = [ - "anyhow", - "clients_schema", - "clients_schema_to_openapi", - "console_error_panic_hook", - "serde_json", - "wasm-bindgen", - "wasm-bindgen-test", - "web-sys", -] - [[package]] name = "scoped-tls" version = "1.0.1" diff --git a/openapi-converter/Cargo.toml b/compiler-rs/Cargo.toml similarity index 89% rename from openapi-converter/Cargo.toml rename to compiler-rs/Cargo.toml index e2d603c0a5..4ef4ce4ed0 100644 --- a/openapi-converter/Cargo.toml +++ b/compiler-rs/Cargo.toml @@ -4,7 +4,7 @@ members = [ "clients_schema", "openapi_to_clients_schema", "clients_schema_to_openapi", - "schema-wasm-lib", + "compiler-wasm-lib", ] [profile.release] diff --git a/compiler-rs/Makefile b/compiler-rs/Makefile new file mode 100644 index 0000000000..7a7a4da694 --- /dev/null +++ b/compiler-rs/Makefile @@ -0,0 +1,17 @@ +REQUIRED_BINS := wasm-pack cargo +$(foreach bin,$(REQUIRED_BINS),\ + $(if $(shell command -v $(bin) 2> /dev/null),,$(error Please install `$(bin)`))) + +.PHONY: compiler-wasm-lib + +compiler-wasm-lib: ## Compile the WASM library + wasm-pack build --release -t nodejs compiler-wasm-lib + # we do commit the result in git + rm compiler-wasm-lib/pkg/.gitignore + + +help: ## Display help + @awk 'BEGIN {FS = ":.*##"; printf "Usage:\n make \033[36m\033[0m\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST) +#------------- -------------- + +.DEFAULT_GOAL := help diff --git a/openapi-converter/README.md b/compiler-rs/README.md similarity index 70% rename from openapi-converter/README.md rename to compiler-rs/README.md index 5b1fd1606b..602fae211e 100644 --- a/openapi-converter/README.md +++ b/compiler-rs/README.md @@ -6,9 +6,9 @@ This directory contains a set of Rust crates to manipulate and transform the API * [`clients_schema`](./clients_schema/): a Rust implementation of the [Elasticsearch specification schema](https://github.com/elastic/elasticsearch-specification/blob/main/compiler/src/model/metamodel.ts) metamodel. * [`clients_schema_to_openapi`](./clients_schema_to_openapi): conversion of the `schema.json` format to OpenAPI. Supersedes [elasticsearch-openapi](https://github.com/elastic/elasticsearch-openapi). -* [`schema-wasm-lib`](./schema-wasm-lib): a WebAssembly library that exposes features of this workspace, to allow its use from the larger [schema toolchain](../compiler). +* [`compiler-wasm-lib`](./schema-wasm-lib): a WebAssembly library that exposes features of this workspace, to allow its use from the larger [schema toolchain](../compiler). * [`openapi_to_clients_schema`](./openapi_to_clients_schema): experimental, incomplete, work in progress: translate an OpenAPI specification to an Elasticsearch schema that can be used as input for code generation. ## Building -The output of this directory is the `schema-wasm-lib` WebAssembly library. It must be built and committed in this repository every time the Rust code is changed. Use `make schema-wasm-lib` to build it. +The output of this directory is the `compiler-wasm-lib` WebAssembly library. It must be built and committed in this repository every time the Rust code is changed. Use `make compiler-wasm-lib` to build it. diff --git a/openapi-converter/clients_schema/Cargo.toml b/compiler-rs/clients_schema/Cargo.toml similarity index 100% rename from openapi-converter/clients_schema/Cargo.toml rename to compiler-rs/clients_schema/Cargo.toml diff --git a/openapi-converter/clients_schema/src/builtins.rs b/compiler-rs/clients_schema/src/builtins.rs similarity index 100% rename from openapi-converter/clients_schema/src/builtins.rs rename to compiler-rs/clients_schema/src/builtins.rs diff --git a/openapi-converter/clients_schema/src/lib.rs b/compiler-rs/clients_schema/src/lib.rs similarity index 100% rename from openapi-converter/clients_schema/src/lib.rs rename to compiler-rs/clients_schema/src/lib.rs diff --git a/openapi-converter/clients_schema/src/transform/availability.rs b/compiler-rs/clients_schema/src/transform/availability.rs similarity index 100% rename from openapi-converter/clients_schema/src/transform/availability.rs rename to compiler-rs/clients_schema/src/transform/availability.rs diff --git a/openapi-converter/clients_schema/src/transform/expand_generics.rs b/compiler-rs/clients_schema/src/transform/expand_generics.rs similarity index 100% rename from openapi-converter/clients_schema/src/transform/expand_generics.rs rename to compiler-rs/clients_schema/src/transform/expand_generics.rs diff --git a/openapi-converter/clients_schema/src/transform/mod.rs b/compiler-rs/clients_schema/src/transform/mod.rs similarity index 100% rename from openapi-converter/clients_schema/src/transform/mod.rs rename to compiler-rs/clients_schema/src/transform/mod.rs diff --git a/openapi-converter/clients_schema_to_openapi/.gitignore b/compiler-rs/clients_schema_to_openapi/.gitignore similarity index 100% rename from openapi-converter/clients_schema_to_openapi/.gitignore rename to compiler-rs/clients_schema_to_openapi/.gitignore diff --git a/openapi-converter/clients_schema_to_openapi/.spectral.yaml b/compiler-rs/clients_schema_to_openapi/.spectral.yaml similarity index 100% rename from openapi-converter/clients_schema_to_openapi/.spectral.yaml rename to compiler-rs/clients_schema_to_openapi/.spectral.yaml diff --git a/openapi-converter/clients_schema_to_openapi/Cargo.toml b/compiler-rs/clients_schema_to_openapi/Cargo.toml similarity index 100% rename from openapi-converter/clients_schema_to_openapi/Cargo.toml rename to compiler-rs/clients_schema_to_openapi/Cargo.toml diff --git a/openapi-converter/clients_schema_to_openapi/README.md b/compiler-rs/clients_schema_to_openapi/README.md similarity index 100% rename from openapi-converter/clients_schema_to_openapi/README.md rename to compiler-rs/clients_schema_to_openapi/README.md diff --git a/openapi-converter/clients_schema_to_openapi/package-lock.json b/compiler-rs/clients_schema_to_openapi/package-lock.json similarity index 100% rename from openapi-converter/clients_schema_to_openapi/package-lock.json rename to compiler-rs/clients_schema_to_openapi/package-lock.json diff --git a/openapi-converter/clients_schema_to_openapi/package.json b/compiler-rs/clients_schema_to_openapi/package.json similarity index 100% rename from openapi-converter/clients_schema_to_openapi/package.json rename to compiler-rs/clients_schema_to_openapi/package.json diff --git a/openapi-converter/clients_schema_to_openapi/src/components.rs b/compiler-rs/clients_schema_to_openapi/src/components.rs similarity index 100% rename from openapi-converter/clients_schema_to_openapi/src/components.rs rename to compiler-rs/clients_schema_to_openapi/src/components.rs diff --git a/openapi-converter/clients_schema_to_openapi/src/lib.rs b/compiler-rs/clients_schema_to_openapi/src/lib.rs similarity index 100% rename from openapi-converter/clients_schema_to_openapi/src/lib.rs rename to compiler-rs/clients_schema_to_openapi/src/lib.rs diff --git a/openapi-converter/clients_schema_to_openapi/src/main.rs b/compiler-rs/clients_schema_to_openapi/src/main.rs similarity index 100% rename from openapi-converter/clients_schema_to_openapi/src/main.rs rename to compiler-rs/clients_schema_to_openapi/src/main.rs diff --git a/openapi-converter/clients_schema_to_openapi/src/paths.rs b/compiler-rs/clients_schema_to_openapi/src/paths.rs similarity index 100% rename from openapi-converter/clients_schema_to_openapi/src/paths.rs rename to compiler-rs/clients_schema_to_openapi/src/paths.rs diff --git a/openapi-converter/clients_schema_to_openapi/src/schemas.rs b/compiler-rs/clients_schema_to_openapi/src/schemas.rs similarity index 100% rename from openapi-converter/clients_schema_to_openapi/src/schemas.rs rename to compiler-rs/clients_schema_to_openapi/src/schemas.rs diff --git a/openapi-converter/clients_schema_to_openapi/src/utils.rs b/compiler-rs/clients_schema_to_openapi/src/utils.rs similarity index 100% rename from openapi-converter/clients_schema_to_openapi/src/utils.rs rename to compiler-rs/clients_schema_to_openapi/src/utils.rs diff --git a/openapi-converter/schema-wasm-lib/Cargo.toml b/compiler-rs/compiler-wasm-lib/Cargo.toml similarity index 95% rename from openapi-converter/schema-wasm-lib/Cargo.toml rename to compiler-rs/compiler-wasm-lib/Cargo.toml index de3d780d4d..dd7e197cee 100644 --- a/openapi-converter/schema-wasm-lib/Cargo.toml +++ b/compiler-rs/compiler-wasm-lib/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "schema-wasm-lib" +name = "compiler-wasm-lib" version = "0.1.0" edition = "2021" description = "WASM library to manipulate and convert schema.json files" diff --git a/openapi-converter/schema-wasm-lib/pkg/schema_wasm_lib.js b/compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib.js similarity index 98% rename from openapi-converter/schema-wasm-lib/pkg/schema_wasm_lib.js rename to compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib.js index 92ee4b198d..70bf745913 100644 --- a/openapi-converter/schema-wasm-lib/pkg/schema_wasm_lib.js +++ b/compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib.js @@ -181,7 +181,7 @@ module.exports.__wbindgen_object_drop_ref = function(arg0) { takeObject(arg0); }; -const path = require('path').join(__dirname, 'schema_wasm_lib_bg.wasm'); +const path = require('path').join(__dirname, 'compiler_wasm_lib_bg.wasm'); const bytes = require('fs').readFileSync(path); const wasmModule = new WebAssembly.Module(bytes); diff --git a/openapi-converter/schema-wasm-lib/pkg/schema_wasm_lib_bg.wasm b/compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib_bg.wasm similarity index 95% rename from openapi-converter/schema-wasm-lib/pkg/schema_wasm_lib_bg.wasm rename to compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib_bg.wasm index b1e8a72a8d992c7b55c223695f4ece87fca5e9d3..628035e4af7e06d1feb6c44048dcbe13c44eaae3 100644 GIT binary patch delta 9634 zcma)h34Bf06L99-`||F7FA`Z~c~V=cHELI$E=mxpsHlCbC~2sz)yhUs z#C}j~5kWMzYQ$2iYALnvD&O4qB3=I9|Mz{#@4mTn&di)SbIzHWGk3wG?)x8gU(-bd zmeECQBuG9!8R=rpj2+@DvPg(1iK4jvuK1OMIjsy-PE072?;7`vndW^X!Avr~FuymC z>R*|&%><*^m|;FL?iiEIbTi5P)0k*JHJ%vHjA>?~nPxsWCY#gES>{9IcIp4$-~YSS z+xyV?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EGaa7~j*FOhHTf8NWbW(LxBoX1$CL zNzs&E24zBK@}j=Rbo(9<)8C*hRtA0?V@!ct{7j4y4)}N|=_&6vT)bX#lzh%)===jD2Vn8VbI; z%jk^n7tojw<{9*+7{l_7zIc9@(FZH-r=P3>VhSiUdfS{ES%QFJyNq6Jx`4w9X|~=O zYy@G%ZsR&!;pO(w+!9^1*9Zliyx&O0Ab_c>6yI7IZWJqFpw#yBQThJ&q=rD;we3O=fwVv(fB`b2pg* zn6k;NuFMflmHI<{hL<*)E$OvL^d|E)Ox|dg=XsmVCaO%CB#(x)XLp)y84fEj{jsb4 zlTu)IBU5&vzzm~|G?(_6AqFi(mE&fbH*n7XH0wz4gkQO0rrI}~Q?i=HD_=LiG|84N zcxqKkJ-kJ5_N1U>6N+U(2c*k-L_j&6iEz z+D+EW;_=l~EQbpstpFTT%QD$Sj^}Dw)e)(H`H_|xamEHH_p-;nY$}$2S)Ac1;)qDA zD*S{sBdw5#Rknz~B|cbBMdM|Mi+0h%=8@Lx-b+^5oH(wQ72rL`BLJEd;ezm;V>>PQa)5<(6dt*w!ic$wJR8d3(ve`;?{VZ2T|YdGVzKe2ptG9YjF zwgd~jalkOE7WN-T7x6}zG|UQxrg(%19v)^{P!BH-v)V!hY%tua1!34}xE1Q->*eLu qg1+`2(6=?t&!Rc*8*6n<3K?P1*N494=v$t?zV!9uAtNfhCjB2cv&2XM diff --git a/compiler-rs/compiler-wasm-lib/pkg/package.json b/compiler-rs/compiler-wasm-lib/pkg/package.json new file mode 100644 index 0000000000..b54f35b006 --- /dev/null +++ b/compiler-rs/compiler-wasm-lib/pkg/package.json @@ -0,0 +1,12 @@ +{ + "name": "compiler-wasm-lib", + "description": "WASM library to manipulate and convert schema.json files", + "version": "0.1.0", + "files": [ + "compiler_wasm_lib_bg.wasm", + "compiler_wasm_lib.js", + "compiler_wasm_lib.d.ts" + ], + "main": "compiler_wasm_lib.js", + "types": "compiler_wasm_lib.d.ts" +} \ No newline at end of file diff --git a/openapi-converter/schema-wasm-lib/src/lib.rs b/compiler-rs/compiler-wasm-lib/src/lib.rs similarity index 100% rename from openapi-converter/schema-wasm-lib/src/lib.rs rename to compiler-rs/compiler-wasm-lib/src/lib.rs diff --git a/openapi-converter/openapi_to_clients_schema/Cargo.toml b/compiler-rs/openapi_to_clients_schema/Cargo.toml similarity index 100% rename from openapi-converter/openapi_to_clients_schema/Cargo.toml rename to compiler-rs/openapi_to_clients_schema/Cargo.toml diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/enterprise-search.json b/compiler-rs/openapi_to_clients_schema/fixtures/enterprise-search.json similarity index 100% rename from openapi-converter/openapi_to_clients_schema/fixtures/enterprise-search.json rename to compiler-rs/openapi_to_clients_schema/fixtures/enterprise-search.json diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/tests/enums.json b/compiler-rs/openapi_to_clients_schema/fixtures/tests/enums.json similarity index 100% rename from openapi-converter/openapi_to_clients_schema/fixtures/tests/enums.json rename to compiler-rs/openapi_to_clients_schema/fixtures/tests/enums.json diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/tests/flatten-union.json b/compiler-rs/openapi_to_clients_schema/fixtures/tests/flatten-union.json similarity index 100% rename from openapi-converter/openapi_to_clients_schema/fixtures/tests/flatten-union.json rename to compiler-rs/openapi_to_clients_schema/fixtures/tests/flatten-union.json diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/tests/names.json b/compiler-rs/openapi_to_clients_schema/fixtures/tests/names.json similarity index 100% rename from openapi-converter/openapi_to_clients_schema/fixtures/tests/names.json rename to compiler-rs/openapi_to_clients_schema/fixtures/tests/names.json diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/tests/recursive-refs.json b/compiler-rs/openapi_to_clients_schema/fixtures/tests/recursive-refs.json similarity index 100% rename from openapi-converter/openapi_to_clients_schema/fixtures/tests/recursive-refs.json rename to compiler-rs/openapi_to_clients_schema/fixtures/tests/recursive-refs.json diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/tests/scalars.json b/compiler-rs/openapi_to_clients_schema/fixtures/tests/scalars.json similarity index 100% rename from openapi-converter/openapi_to_clients_schema/fixtures/tests/scalars.json rename to compiler-rs/openapi_to_clients_schema/fixtures/tests/scalars.json diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/tests/structural-union.json b/compiler-rs/openapi_to_clients_schema/fixtures/tests/structural-union.json similarity index 100% rename from openapi-converter/openapi_to_clients_schema/fixtures/tests/structural-union.json rename to compiler-rs/openapi_to_clients_schema/fixtures/tests/structural-union.json diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/tests/union-of-variants-external-with-properties.json b/compiler-rs/openapi_to_clients_schema/fixtures/tests/union-of-variants-external-with-properties.json similarity index 100% rename from openapi-converter/openapi_to_clients_schema/fixtures/tests/union-of-variants-external-with-properties.json rename to compiler-rs/openapi_to_clients_schema/fixtures/tests/union-of-variants-external-with-properties.json diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/tests/union-of-variants-external.json b/compiler-rs/openapi_to_clients_schema/fixtures/tests/union-of-variants-external.json similarity index 100% rename from openapi-converter/openapi_to_clients_schema/fixtures/tests/union-of-variants-external.json rename to compiler-rs/openapi_to_clients_schema/fixtures/tests/union-of-variants-external.json diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/tests/union-of-variants-internal.json b/compiler-rs/openapi_to_clients_schema/fixtures/tests/union-of-variants-internal.json similarity index 100% rename from openapi-converter/openapi_to_clients_schema/fixtures/tests/union-of-variants-internal.json rename to compiler-rs/openapi_to_clients_schema/fixtures/tests/union-of-variants-internal.json diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/tests/xof.json b/compiler-rs/openapi_to_clients_schema/fixtures/tests/xof.json similarity index 100% rename from openapi-converter/openapi_to_clients_schema/fixtures/tests/xof.json rename to compiler-rs/openapi_to_clients_schema/fixtures/tests/xof.json diff --git a/openapi-converter/openapi_to_clients_schema/fixtures/workplace-search.json b/compiler-rs/openapi_to_clients_schema/fixtures/workplace-search.json similarity index 100% rename from openapi-converter/openapi_to_clients_schema/fixtures/workplace-search.json rename to compiler-rs/openapi_to_clients_schema/fixtures/workplace-search.json diff --git a/openapi-converter/openapi_to_clients_schema/src/endpoints.rs b/compiler-rs/openapi_to_clients_schema/src/endpoints.rs similarity index 100% rename from openapi-converter/openapi_to_clients_schema/src/endpoints.rs rename to compiler-rs/openapi_to_clients_schema/src/endpoints.rs diff --git a/openapi-converter/openapi_to_clients_schema/src/lib.rs b/compiler-rs/openapi_to_clients_schema/src/lib.rs similarity index 100% rename from openapi-converter/openapi_to_clients_schema/src/lib.rs rename to compiler-rs/openapi_to_clients_schema/src/lib.rs diff --git a/openapi-converter/openapi_to_clients_schema/src/main.rs b/compiler-rs/openapi_to_clients_schema/src/main.rs similarity index 100% rename from openapi-converter/openapi_to_clients_schema/src/main.rs rename to compiler-rs/openapi_to_clients_schema/src/main.rs diff --git a/openapi-converter/openapi_to_clients_schema/src/openapi.rs b/compiler-rs/openapi_to_clients_schema/src/openapi.rs similarity index 100% rename from openapi-converter/openapi_to_clients_schema/src/openapi.rs rename to compiler-rs/openapi_to_clients_schema/src/openapi.rs diff --git a/openapi-converter/openapi_to_clients_schema/src/types.rs b/compiler-rs/openapi_to_clients_schema/src/types.rs similarity index 100% rename from openapi-converter/openapi_to_clients_schema/src/types.rs rename to compiler-rs/openapi_to_clients_schema/src/types.rs diff --git a/compiler/package-lock.json b/compiler/package-lock.json index bffd34c2ba..205bcd2e81 100644 --- a/compiler/package-lock.json +++ b/compiler/package-lock.json @@ -10,10 +10,10 @@ "license": "Apache-2.0", "dependencies": { "chalk": "^4.1.2", + "compiler-wasm-lib": "file:../compiler-rs/compiler-wasm-lib/pkg", "fastest-levenshtein": "^1.0.12", "ora": "^5.4.1", "safe-stable-stringify": "^2.3.1", - "schema-wasm-lib": "file:../openapi-converter/schema-wasm-lib/pkg", "semver": "^7.5.2", "ts-morph": "^13.0.3", "zx": "^4.3.0" @@ -32,7 +32,7 @@ "node": ">=14" } }, - "../openapi-converter/schema-wasm-lib/pkg": { + "../compiler-rs/compiler-wasm-lib/pkg": { "version": "0.1.0" }, "node_modules/@babel/code-frame": { @@ -1541,6 +1541,10 @@ "integrity": "sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w==", "dev": true }, + "node_modules/compiler-wasm-lib": { + "resolved": "../compiler-rs/compiler-wasm-lib/pkg", + "link": true + }, "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -4495,10 +4499,6 @@ "node": ">=10" } }, - "node_modules/schema-wasm-lib": { - "resolved": "../openapi-converter/schema-wasm-lib/pkg", - "link": true - }, "node_modules/semver": { "version": "7.5.2", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.2.tgz", @@ -6460,6 +6460,9 @@ "integrity": "sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w==", "dev": true }, + "compiler-wasm-lib": { + "version": "file:../compiler-rs/compiler-wasm-lib/pkg" + }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -8552,9 +8555,6 @@ "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.3.1.tgz", "integrity": "sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg==" }, - "schema-wasm-lib": { - "version": "file:../openapi-converter/schema-wasm-lib/pkg" - }, "semver": { "version": "7.5.2", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.2.tgz", diff --git a/compiler/package.json b/compiler/package.json index 80db325d8e..ab6e6f33f4 100644 --- a/compiler/package.json +++ b/compiler/package.json @@ -37,7 +37,7 @@ "fastest-levenshtein": "^1.0.12", "ora": "^5.4.1", "safe-stable-stringify": "^2.3.1", - "schema-wasm-lib": "file:../openapi-converter/schema-wasm-lib/pkg", + "compiler-wasm-lib": "file:../compiler-rs/compiler-wasm-lib/pkg", "semver": "^7.5.2", "ts-morph": "^13.0.3", "zx": "^4.3.0" diff --git a/compiler/src/transform/schema-to-openapi.ts b/compiler/src/transform/schema-to-openapi.ts index 31a4adfd2d..d90e09c01d 100644 --- a/compiler/src/transform/schema-to-openapi.ts +++ b/compiler/src/transform/schema-to-openapi.ts @@ -17,7 +17,7 @@ * under the License. */ -import { convert_schema_to_openapi } from 'schema-wasm-lib' +import { convert_schema_to_openapi } from 'compiler-wasm-lib' import { argv } from 'zx' import { join } from 'path' import { readFileSync, writeFileSync } from 'fs' diff --git a/openapi-converter/Makefile b/openapi-converter/Makefile deleted file mode 100644 index ff23e54cef..0000000000 --- a/openapi-converter/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -REQUIRED_BINS := wasm-pack cargo -$(foreach bin,$(REQUIRED_BINS),\ - $(if $(shell command -v $(bin) 2> /dev/null),,$(error Please install `$(bin)`))) - -.PHONY: schema-wasm-lib - -schema-wasm-lib: - wasm-pack build --release -t nodejs schema-wasm-lib - # we do commit the result in git - rm schema-wasm-lib/pkg/.gitignore diff --git a/openapi-converter/schema-wasm-lib/pkg/package.json b/openapi-converter/schema-wasm-lib/pkg/package.json deleted file mode 100644 index 798da995f1..0000000000 --- a/openapi-converter/schema-wasm-lib/pkg/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "schema-wasm-lib", - "description": "WASM library to manipulate and convert schema.json files", - "version": "0.1.0", - "files": [ - "schema_wasm_lib_bg.wasm", - "schema_wasm_lib.js", - "schema_wasm_lib.d.ts" - ], - "main": "schema_wasm_lib.js", - "types": "schema_wasm_lib.d.ts" -} \ No newline at end of file